mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
50578a2463
* Fix Multiple Issues With Timestamps * simplify * improve parsing of timestamps Co-authored-by: PabstMirror <pabstmirror@gmail.com>
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayName)];
|
|
|
|
[
|
|
QGVAR(moveRestriction), "LIST",
|
|
[LSTRING(MoveRestriction), LSTRING(MoveRestriction_Description)],
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
[
|
|
[
|
|
MOVE_RESTRICTION_NOBODY,
|
|
MOVE_RESTRICTION_ALL,
|
|
MOVE_RESTRICTION_ADMINS,
|
|
MOVE_RESTRICTION_GROUP_LEADERS,
|
|
MOVE_RESTRICTION_GROUP_LEADERS_ADMINS,
|
|
MOVE_RESTRICTION_OWNER
|
|
],
|
|
[
|
|
LSTRING(MoveRestriction_Nobody),
|
|
LSTRING(MoveRestriction_All),
|
|
LSTRING(MoveRestriction_Admins),
|
|
LSTRING(MoveRestriction_GroupLeaders),
|
|
LSTRING(MoveRestriction_GroupLeadersAndAdmins),
|
|
LSTRING(MoveRestriction_Owner)
|
|
],
|
|
1
|
|
]
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(timestampEnabled), "CHECKBOX",
|
|
[LSTRING(TimestampEnabled), LSTRING(TimestampEnabledDescription)],
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
true
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(timestampHourFormat), "LIST",
|
|
[LSTRING(TimestampHourFormat), LSTRING(TimestampHourFormatDescription)],
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
[
|
|
[24, 12],
|
|
[LSTRING(TimestampHourFormat24), LSTRING(TimestampHourFormat12)],
|
|
0
|
|
]
|
|
] call CBA_fnc_addSetting;
|
|
|
|
private _formatDescription = [
|
|
LLSTRING(TimestampFormatDescription0),
|
|
LLSTRING(TimestampFormatDescription1),
|
|
LLSTRING(TimestampFormatDescription2),
|
|
LLSTRING(TimestampFormatDescription3),
|
|
LLSTRING(TimestampFormatDescription4)
|
|
] joinString endl;
|
|
|
|
[
|
|
QGVAR(timestampFormat), "LIST",
|
|
[LSTRING(timestampFormat), _formatDescription],
|
|
[_categoryName, LLSTRING(Module_DisplayName)],
|
|
[
|
|
["HH", "HH:MM", "HH:MM:SS", "HH:MM:SS:MM"],
|
|
["HH", "HH:MM", "HH:MM:SS", "HH:MM:SS:MM"],
|
|
1
|
|
]
|
|
] call CBA_fnc_addSetting;
|