2020-10-29 16:36:59 +00:00
|
|
|
private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayName)];
|
|
|
|
|
2018-01-06 06:52:57 +00:00
|
|
|
[
|
|
|
|
QGVAR(moveRestriction), "LIST",
|
|
|
|
[LSTRING(MoveRestriction), LSTRING(MoveRestriction_Description)],
|
2020-10-29 16:36:59 +00:00
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
2018-01-06 06:52:57 +00:00
|
|
|
[
|
|
|
|
[
|
|
|
|
MOVE_RESTRICTION_NOBODY,
|
|
|
|
MOVE_RESTRICTION_ALL,
|
|
|
|
MOVE_RESTRICTION_ADMINS,
|
|
|
|
MOVE_RESTRICTION_GROUP_LEADERS,
|
2019-01-03 19:31:21 +00:00
|
|
|
MOVE_RESTRICTION_GROUP_LEADERS_ADMINS,
|
|
|
|
MOVE_RESTRICTION_OWNER
|
2018-01-06 06:52:57 +00:00
|
|
|
],
|
|
|
|
[
|
|
|
|
LSTRING(MoveRestriction_Nobody),
|
|
|
|
LSTRING(MoveRestriction_All),
|
|
|
|
LSTRING(MoveRestriction_Admins),
|
|
|
|
LSTRING(MoveRestriction_GroupLeaders),
|
2019-01-03 19:31:21 +00:00
|
|
|
LSTRING(MoveRestriction_GroupLeadersAndAdmins),
|
|
|
|
LSTRING(MoveRestriction_Owner)
|
2018-01-06 06:52:57 +00:00
|
|
|
],
|
|
|
|
1
|
|
|
|
]
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2020-10-29 16:36:59 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(timestampEnabled), "CHECKBOX",
|
|
|
|
[LSTRING(TimestampEnabled), LSTRING(TimestampEnabledDescription)],
|
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2024-01-07 18:06:35 +00:00
|
|
|
[
|
|
|
|
QGVAR(timestampTimezone), "LIST",
|
|
|
|
[LSTRING(TimestampTimezone), LSTRING(TimestampTimezoneDescription)],
|
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
|
|
[
|
|
|
|
[0, 1, 2],
|
|
|
|
[LSTRING(TimestampTimezoneIngameTime), LSTRING(TimestampTimezoneSystemTime), LSTRING(TimestampTimezoneUTCTime)],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(timestampUTCOffset), "SLIDER",
|
|
|
|
[LSTRING(TimestampUTCOffset), LSTRING(TimestampUTCOffsetDescription)],
|
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
|
|
[-12, 14, 0, 0],
|
|
|
|
true
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(TimestampUTCMinutesOffset), "LIST",
|
|
|
|
[LSTRING(TimestampUTCMinutesOffset), LSTRING(TimestampUTCMinutesOffsetDescription)],
|
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
|
|
[
|
|
|
|
[0, 15, 30, 45],
|
|
|
|
[0, 15, 30, 45],
|
|
|
|
0
|
|
|
|
]
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2020-10-29 16:36:59 +00:00
|
|
|
[
|
|
|
|
QGVAR(timestampHourFormat), "LIST",
|
|
|
|
[LSTRING(TimestampHourFormat), LSTRING(TimestampHourFormatDescription)],
|
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
|
|
[
|
2021-02-26 23:17:00 +00:00
|
|
|
[24, 12],
|
|
|
|
[LSTRING(TimestampHourFormat24), LSTRING(TimestampHourFormat12)],
|
2020-10-29 16:36:59 +00:00
|
|
|
0
|
|
|
|
]
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
private _formatDescription = [
|
|
|
|
LLSTRING(TimestampFormatDescription0),
|
|
|
|
LLSTRING(TimestampFormatDescription1),
|
|
|
|
LLSTRING(TimestampFormatDescription2),
|
|
|
|
LLSTRING(TimestampFormatDescription3),
|
2024-01-07 18:26:10 +00:00
|
|
|
LLSTRING(TimestampFormatDescription4),
|
|
|
|
LLSTRING(TimestampFormatDescription5)
|
2021-02-26 23:17:00 +00:00
|
|
|
] joinString endl;
|
2020-10-29 16:36:59 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(timestampFormat), "LIST",
|
|
|
|
[LSTRING(timestampFormat), _formatDescription],
|
|
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
|
|
[
|
2024-01-07 18:26:10 +00:00
|
|
|
["HH", "HH:MM", "HH:MM:SS", "HH:MM:SS:MM", "HH:MM:SS.mmm"],
|
|
|
|
["HH", "HH:MM", "HH:MM:SS", "HH:MM:SS:MM", "HH:MM:SS.mmm"],
|
2020-10-29 16:36:59 +00:00
|
|
|
1
|
|
|
|
]
|
|
|
|
] call CBA_fnc_addSetting;
|