Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/ai/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = format ["ACE %1", LLSTRING(DisplayName)];
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(DisplayName)];

[
QGVAR(assignNVG), "CHECKBOX",
Expand Down
6 changes: 4 additions & 2 deletions addons/casings/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
private _category = [ELSTRING(common,ACEKeybindCategoryWeapons), LSTRING(Settings_DisplayName)];

[
QGVAR(enabled), "CHECKBOX",
[LSTRING(displayName), LSTRING(description)],
LSTRING(Settings_DisplayName),
_category,
true,
false,
{},
Expand All @@ -11,7 +13,7 @@
[
QGVAR(maxCasings), "SLIDER",
[LSTRING(maxCasings_displayName), LSTRING(maxCasings_description)],
LSTRING(Settings_DisplayName),
_category,
[100, 500, 250, -1],
false
] call CBA_fnc_addSetting;
24 changes: 12 additions & 12 deletions addons/casings/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<Project name="ACE">
<Package name="Casings">
<Key ID="STR_ACE_Casings_Settings_DisplayName">
<English>ACE Casings</English>
<French>ACE Douilles</French>
<Spanish>ACE Casquillos</Spanish>
<Italian>ACE Bossoli</Italian>
<Polish>ACE Łuski</Polish>
<Portuguese>ACE Cartuchos</Portuguese>
<Russian>ACE Гильзы</Russian>
<German>ACE Patronenhülsen</German>
<Korean>ACE 탄피</Korean>
<Japanese>ACE 薬莢</Japanese>
<Chinesesimp>ACE 弹壳</Chinesesimp>
<Ukrainian>ACE Гільзи</Ukrainian>
<English>Casings</English>
<French>Douilles</French>
<Spanish>Casquillos</Spanish>
<Italian>Bossoli</Italian>
<Polish>Łuski</Polish>
<Portuguese>Cartuchos</Portuguese>
<Russian>Гильзы</Russian>
<German>Patronenhülsen</German>
<Korean>탄피</Korean>
<Japanese>薬莢</Japanese>
<Chinesesimp>弹壳</Chinesesimp>
<Ukrainian>Гільзи</Ukrainian>
</Key>
<Key ID="STR_ACE_Casings_description">
<English>Enable persistent casings (POTENTIAL performance impact on old/weak systems)</English>
Expand Down
8 changes: 5 additions & 3 deletions addons/common/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
private _category = format ["ACE %1", LLSTRING(DisplayName)];
private _categoryColors = [_category, LSTRING(subcategory_colors)];
private _categorySway = [_category, LSTRING(subcategory_sway)];
private _categoryEquipment = LLSTRING(ACEKeybindCategoryEquipment);
private _categoryWeapons = LSTRING(ACEKeybindCategoryWeapons);
private _categorySway = [_categoryWeapons, LSTRING(subcategory_sway)];

[
QGVAR(checkPBOsAction),
Expand Down Expand Up @@ -78,7 +80,7 @@ private _categorySway = [_category, LSTRING(subcategory_sway)];
QGVAR(persistentLaserEnabled),
"CHECKBOX",
[LSTRING(SettingPersistentLaserName), LSTRING(SettingPersistentLaserDesc)],
LSTRING(ACEKeybindCategoryWeapons),
_categoryWeapons,
false,
false,
LINKFUNC(switchPersistentLaser)
Expand Down Expand Up @@ -115,7 +117,7 @@ private _categorySway = [_category, LSTRING(subcategory_sway)];
QGVAR(magneticDeclination),
"CHECKBOX",
[LSTRING(magneticDeclination), LSTRING(magneticDeclinationooltip)],
_category,
_categoryEquipment,
false,
1,
{call FUNC(getMagneticBearingOffset)}
Expand Down
2 changes: 1 addition & 1 deletion addons/flags/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(SettingCategory)];
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(SettingCategory)];

[
QGVAR(enablePlacing),
Expand Down
10 changes: 6 additions & 4 deletions addons/goggles/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(SettingsName)];

[
QGVAR(effects), "LIST",
LSTRING(effects_displayName),
localize LSTRING(SettingsName),
_category,
[[0, 1, 2, 3], [ELSTRING(common,Disabled), LSTRING(effects_tintOnly), LSTRING(enabled_tintAndEffects), LSTRING(effects_effectsOnly)], 2],
0,
{[QGVAR(effects), _this] call EFUNC(common,cbaSettings_settingChanged)},
Expand All @@ -11,23 +13,23 @@
[
QGVAR(showInThirdPerson), "CHECKBOX",
LSTRING(ShowInThirdPerson),
localize LSTRING(SettingsName),
_category,
false,
0
] call CBA_fnc_addSetting;

[
QGVAR(showClearGlasses), "CHECKBOX",
[LSTRING(SettingShowClearGlasses), LELSTRING(common,showActionInSelfInteraction)],
localize LSTRING(SettingsName),
_category,
false, // default value
0 // isGlobal
] call CBA_fnc_addSetting;

[
QGVAR(drawOverlay), "CHECKBOX",
LSTRING(SettingDrawOverlay),
localize LSTRING(SettingsName),
_category,
true,
0
] call CBA_fnc_addSetting;
30 changes: 15 additions & 15 deletions addons/goggles/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@
<Ukrainian>Показувати дію Протерти окуляри</Ukrainian>
</Key>
<Key ID="STR_ACE_Goggles_SettingsName">
<English>ACE Goggles</English>
<Czech>ACE Brýle</Czech>
<French>ACE Lunettes</French>
<Spanish>[ACE] Gafas</Spanish>
<Italian>ACE Occhiali</Italian>
<Polish>ACE Gogle</Polish>
<Portuguese>ACE Óculos</Portuguese>
<Russian>ACE Очки</Russian>
<German>ACE Schutzbrille</German>
<Korean>ACE 고글</Korean>
<Japanese>ACE ゴーグル</Japanese>
<Chinese>ACE 護目鏡</Chinese>
<Chinesesimp>ACE 护目镜</Chinesesimp>
<Turkish>ACE Gözlük</Turkish>
<Ukrainian>ACE Окуляри</Ukrainian>
<English>Goggles</English>
<Czech>Brýle</Czech>
<French>Lunettes</French>
<Spanish>Gafas</Spanish>
<Italian>Occhiali</Italian>
<Polish>Gogle</Polish>
<Portuguese>Óculos</Portuguese>
<Russian>Очки</Russian>
<German>Schutzbrille</German>
<Korean>고글</Korean>
<Japanese>ゴーグル</Japanese>
<Chinese>護目鏡</Chinese>
<Chinesesimp>护目镜</Chinesesimp>
<Turkish>Gözlük</Turkish>
<Ukrainian>Окуляри</Ukrainian>
</Key>
<Key ID="STR_ACE_Goggles_ShowInThirdPerson">
<English>Show Goggle Effects in Third Person</English>
Expand Down
2 changes: 1 addition & 1 deletion addons/grenades/initSettings.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
QGVAR(convertExplosives),
"CHECKBOX",
[LSTRING(convertExplosives_DisplayName), LSTRING(convertExplosives_Description)],
LSTRING(Settings_DisplayName),
[ELSTRING(common,ACEKeybindCategoryWeapons), LSTRING(Settings_DisplayName)],
true,
1,
{[QGVAR(convertExplosives), _this] call EFUNC(common,cbaSettings_settingChanged)},
Expand Down
30 changes: 15 additions & 15 deletions addons/grenades/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -625,21 +625,21 @@
<Ukrainian>Ранець із вибухівкою (метальний)</Ukrainian>
</Key>
<Key ID="STR_ACE_Grenades_Settings_DisplayName">
<English>ACE Grenades</English>
<Czech>ACE Granáty</Czech>
<French>ACE Grenades</French>
<Spanish>ACE Granadas</Spanish>
<Italian>ACE Granate</Italian>
<Polish>ACE Granaty</Polish>
<Portuguese>ACE Granadas</Portuguese>
<Russian>ACE Гранаты</Russian>
<German>ACE Granaten</German>
<Korean>ACE 수류탄</Korean>
<Japanese>ACE 手榴弾</Japanese>
<Chinese>ACE 手榴彈</Chinese>
<Chinesesimp>ACE 手榴弹</Chinesesimp>
<Turkish>ACE Bombalar</Turkish>
<Ukrainian>ACE Гранати</Ukrainian>
<English>Grenades</English>
<Czech>Granáty</Czech>
<French>Grenades</French>
<Spanish>Granadas</Spanish>
<Italian>Granate</Italian>
<Polish>Granaty</Polish>
<Portuguese>Granadas</Portuguese>
<Russian>Гранаты</Russian>
<German>Granaten</German>
<Korean>수류탄</Korean>
<Japanese>手榴弾</Japanese>
<Chinese>手榴彈</Chinese>
<Chinesesimp>手榴弹</Chinesesimp>
<Turkish>Bombalar</Turkish>
<Ukrainian>Гранати</Ukrainian>
</Key>
<Key ID="STR_ACE_Grenades_SwitchGrenadeMode">
<English>Switch Grenade Mode</English>
Expand Down
2 changes: 1 addition & 1 deletion addons/gunbag/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(DisplayName_Settings)];
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(DisplayName_Settings)];

[
QGVAR(swapGunbagEnabled), "CHECKBOX",
Expand Down
2 changes: 1 addition & 1 deletion addons/inventory/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), localize "str_a3_gear1"];
private _category = [format ["ACE %1", LELSTRING(ui,Category)], localize "str_a3_gear1"];

[
QGVAR(inventoryDisplaySize), "LIST",
Expand Down
2 changes: 1 addition & 1 deletion addons/magazinerepack/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = format ["ACE %1", localize LSTRING(DisplayName)];
private _category = [ELSTRING(common,ACEKeybindCategoryWeapons), LLSTRING(DisplayName)];

[
QGVAR(timePerAmmo), "SLIDER",
Expand Down
2 changes: 1 addition & 1 deletion addons/maptools/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = format ["ACE %1", LLSTRING(Name)];
private _category = [format ["ACE %1", LELSTRING(map,Module_DisplayName)], LLSTRING(Name)];

[
QGVAR(rotateModifierKey), "LIST",
Expand Down
2 changes: 1 addition & 1 deletion addons/marker_flags/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(DisplayName_Settings)];
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(DisplayName_Settings)];

[
QGVAR(placeAnywhere), "CHECKBOX",
Expand Down
18 changes: 9 additions & 9 deletions addons/markers/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayName)];
private _category = [format ["ACE %1", LELSTRING(map,Module_DisplayName)], LLSTRING(Module_DisplayName)];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

map not in requiredAddons, but unrelated to this PR


[
QGVAR(moveRestriction), "LIST",
[LSTRING(MoveRestriction), LSTRING(MoveRestriction_Description)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[
[
MOVE_RESTRICTION_NOBODY,
Expand All @@ -28,14 +28,14 @@ private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayNa
[
QGVAR(timestampEnabled), "CHECKBOX",
[LSTRING(TimestampEnabled), LSTRING(TimestampEnabledDescription)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
true
] call CBA_fnc_addSetting;

[
QGVAR(timestampTimezone), "LIST",
[LSTRING(TimestampTimezone), LSTRING(TimestampTimezoneDescription)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[
[0, 1, 2],
[LSTRING(TimestampTimezoneIngameTime), LSTRING(TimestampTimezoneSystemTime), LSTRING(TimestampTimezoneUTCTime)],
Expand All @@ -47,15 +47,15 @@ private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayNa
[
QGVAR(timestampUTCOffset), "SLIDER",
[LSTRING(TimestampUTCOffset), LSTRING(TimestampUTCOffsetDescription)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[-12, 14, 0, 0],
true
] call CBA_fnc_addSetting;

[
QGVAR(TimestampUTCMinutesOffset), "LIST",
[LSTRING(TimestampUTCMinutesOffset), LSTRING(TimestampUTCMinutesOffsetDescription)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[
[0, 15, 30, 45],
[0, 15, 30, 45],
Expand All @@ -66,7 +66,7 @@ private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayNa
[
QGVAR(timestampHourFormat), "LIST",
[LSTRING(TimestampHourFormat), LSTRING(TimestampHourFormatDescription)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[
[24, 12],
[LSTRING(TimestampHourFormat24), LSTRING(TimestampHourFormat12)],
Expand All @@ -86,7 +86,7 @@ private _formatDescription = [
[
QGVAR(timestampFormat), "LIST",
[LSTRING(timestampFormat), _formatDescription],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[
["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"],
Expand All @@ -97,6 +97,6 @@ private _formatDescription = [
[
QGVAR(quickNumberMarks), "LIST",
[LSTRING(quickNumberMarks), LSTRING(quickNumberMarksDescription)],
[_categoryName, LLSTRING(Module_DisplayName)],
_category,
[[0,1,2], [disabled, "STR_cba_settings_ButtonLocal", LSTRING(quickNumberMarksSideSync)], 2]
] call CBA_fnc_addSetting;
2 changes: 1 addition & 1 deletion addons/microdagr/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(itemName)];
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(itemName)];

[
QGVAR(mapDataAvailable), "LIST",
Expand Down
2 changes: 1 addition & 1 deletion addons/minedetector/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
QGVAR(BoostRadius), "SLIDER",
[LSTRING(BoostRadius), LSTRING(BoostRadius_Desc)],
format ["ACE %1", localize LSTRING(Category)],
[LELSTRING(common,ACEKeybindCategoryEquipment), LLSTRING(Category)],
[0, 5, 0, 1],
1
] call CBA_fnc_addSetting;
2 changes: 1 addition & 1 deletion addons/optionsmenu/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(aceNews)];
private _category = format ["ACE %1", LELSTRING(common,DisplayName)];

[
QGVAR(showNewsOnMainMenu), "CHECKBOX",
Expand Down
2 changes: 1 addition & 1 deletion addons/overheating/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = format ["ACE %1", localize LSTRING(DisplayName)];
private _category = [ELSTRING(common,ACEKeybindCategoryWeapons), LSTRING(DisplayName)];

[
QGVAR(enabled), "CHECKBOX",
Expand Down
2 changes: 1 addition & 1 deletion addons/parachute/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _category = [LELSTRING(common,categoryUncategorized), localize "str_dn_parachute"];
private _category = [LELSTRING(common,ACEKeybindCategoryEquipment), localize "str_dn_parachute"];

[
QGVAR(hideAltimeter),
Expand Down
12 changes: 7 additions & 5 deletions addons/quickmount/initSettings.inc.sqf
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
private _category = [ELSTRING(common,ACEKeybindCategoryVehicles), LLSTRING(Category)];

[
QGVAR(enabled),
"CHECKBOX",
[ELSTRING(common,Enabled), LSTRING(EnabledDescription)],
format ["ACE %1", LLSTRING(Category)],
_category,
true,
true
] call CBA_fnc_addSetting;
Expand All @@ -11,7 +13,7 @@
QGVAR(distance),
"SLIDER",
[LSTRING(Distance), LSTRING(DistanceDescription)],
format ["ACE %1", LLSTRING(Category)],
_category,
[0, 10, DEFAULT_DISTANCE, 0],
true
] call CBA_fnc_addSetting;
Expand All @@ -20,7 +22,7 @@
QGVAR(speed),
"SLIDER",
[LSTRING(Speed), LSTRING(SpeedDescription)],
format ["ACE %1", LLSTRING(Category)],
_category,
[0, 30, DEFAULT_SPEED, 0],
true
] call CBA_fnc_addSetting;
Expand All @@ -29,7 +31,7 @@
QGVAR(priority),
"LIST",
[LSTRING(Priority), LSTRING(PriorityDescription)],
format ["ACE %1", LLSTRING(Category)],
_category,
[[0, 1, 2, 3], ["str_getin_pos_driver", "str_getin_pos_gunn", "str_getin_pos_comm", "str_getin_pos_passenger"], DEFAULT_PRIORITY],
false
] call CBA_fnc_addSetting;
Expand All @@ -38,7 +40,7 @@
QGVAR(enableMenu),
"LIST",
ELSTRING(interact_menu,Category_InteractionMenu),
format ["ACE %1", LLSTRING(Category)],
_category,
[
[0,1,2,3],
[
Expand Down
Loading
Loading