diff --git a/addons/arsenal/functions/fnc_buttonLoadoutsDelete.sqf b/addons/arsenal/functions/fnc_buttonLoadoutsDelete.sqf index abb794d42e..1c412aa7ae 100644 --- a/addons/arsenal/functions/fnc_buttonLoadoutsDelete.sqf +++ b/addons/arsenal/functions/fnc_buttonLoadoutsDelete.sqf @@ -36,7 +36,7 @@ if (GVAR(currentLoadoutsTab) != IDC_buttonSharedLoadouts) then { _contentPanelCtrl lnbDeleteRow _contentPanelCursSel; _contentPanelCtrl lnbSetCurSelRow (_contentPanelCursSel); - [(findDisplay IDD_ace_arsenal), format ["Loadout '%1' was deleted", _loadoutName]] call FUNC(message); // TBL + [(findDisplay IDD_ace_arsenal), [localize LSTRING(loadoutDeleted), _loadoutName] joinString " "] call FUNC(message); } else { private _profileName = profileName; // GVAR(center) could be a remote unit @@ -52,5 +52,5 @@ if (GVAR(currentLoadoutsTab) != IDC_buttonSharedLoadouts) then { [QGVAR(loadoutUnshared), [_contentPanelCtrl, profileName, _loadoutName]] call CBA_fnc_remoteEvent; - [(findDisplay IDD_ace_arsenal), format ["Loadout '%1' was unshared", _loadoutName]] call FUNC(message); // TBL + [(findDisplay IDD_ace_arsenal), [localize LSTRING(loadoutUnshared), _loadoutName] joinString " "] call FUNC(message); }; diff --git a/addons/arsenal/stringtable.xml b/addons/arsenal/stringtable.xml index 73d6546b4a..bd52832460 100644 --- a/addons/arsenal/stringtable.xml +++ b/addons/arsenal/stringtable.xml @@ -154,5 +154,13 @@ Loadout imported from clipboard Équipement importé depuis le presse papier + + The following loadout was deleted: + L'équipement suivant fut supprimé: + + + The following loadout is not public anymore: + L'équipement suivant n'est plus public: + diff --git a/addons/arsenal/ui/RscAttributes.hpp b/addons/arsenal/ui/RscAttributes.hpp index e51cd8f8a0..f2983a8fa2 100644 --- a/addons/arsenal/ui/RscAttributes.hpp +++ b/addons/arsenal/ui/RscAttributes.hpp @@ -781,9 +781,9 @@ class GVAR(loadoutsDisplay) { }; class buttonSave: ctrlButton { idc = IDC_buttonSave; - x = QUOTE((safezoneW * 0.5) + safezoneX - (75 * GRID_W)); + x = QUOTE((safezoneW * 0.5) + safezoneX - (80 * GRID_W)); y = QUOTE(safezoneH + safezoneY - 39 * GRID_H); - w = QUOTE(25 * GRID_W); + w = QUOTE(30 * GRID_W); h = QUOTE(10 * GRID_H); text= CSTRING(buttonSaveText); tooltip= CSTRING(buttonSaveTooltip); @@ -792,7 +792,7 @@ class GVAR(loadoutsDisplay) { }; class buttonRename: buttonSave { idc = IDC_buttonRename; - x = QUOTE((safezoneW * 0.5) + safezoneX - (45 * GRID_W)); + x = QUOTE((safezoneW * 0.5) + safezoneX - (47.5 * GRID_W)); text= CSTRING(buttonRenameText); tooltip= CSTRING(buttonRenameTooltip); onButtonClick = QUOTE([ARR_2(ctrlparent (_this select 0), _this select 0)] call FUNC(buttonLoadoutsRename)); @@ -806,14 +806,14 @@ class GVAR(loadoutsDisplay) { }; class buttonShare: buttonSave { idc = IDC_buttonShare; - x = QUOTE((safezoneW * 0.5) + safezoneX + (15 * GRID_W)); + x = QUOTE((safezoneW * 0.5) + safezoneX + (17.5 * GRID_W)); text= CSTRING(buttonSharePrivateText); tooltip= CSTRING(buttonShareTooltip); onButtonClick = QUOTE([ARR_2(ctrlparent (_this select 0), _this select 0)] call FUNC(buttonLoadoutsShare)); }; class buttonDelete: buttonSave { idc = IDC_buttonDelete; - x = QUOTE((safezoneW * 0.5) + safezoneX + (45 * GRID_W)); + x = QUOTE((safezoneW * 0.5) + safezoneX + (50 * GRID_W)); text= CSTRING(buttonDeleteText); tooltip= CSTRING(buttonDeleteTooltip); onButtonClick = QUOTE([ARR_2(ctrlparent (_this select 0), _this select 0)] call FUNC(buttonLoadoutsDelete)); @@ -832,9 +832,9 @@ class GVAR(loadoutsDisplay) { }; class buttonBar: ctrlControlsGroupNoScrollbars { idc = -1; - x = QUOTE((safezoneW * 0.5) + safezoneX - (61 * GRID_W)); + x = QUOTE((safezoneW * 0.5) + safezoneX - (63 * GRID_W)); y = QUOTE(safezoneH + safezoneY - 12 * GRID_H); - w = QUOTE(122 * GRID_W); + w = QUOTE(126 * GRID_W); h = QUOTE(10 * GRID_H); class controls { class buttonMyLoadoutsBackground: ctrlStaticBackground { @@ -859,21 +859,21 @@ class GVAR(loadoutsDisplay) { }; class buttonDefaultLoadoutsBackground: buttonMyLoadoutsBackground { idc = IDC_buttonDefaultLoadoutsBackground; - x = QUOTE(41 * GRID_W); + x = QUOTE(42 * GRID_W); }; class buttonDefaultLoadouts: buttonMyLoadouts { idc = IDC_buttonDefaultLoadouts; - x = QUOTE(41 * GRID_W); + x = QUOTE(42 * GRID_W); text= CSTRING(tabDefaultLoadoutsText); tooltip= CSTRING(tabDefaultLoadoutsTooltip); }; class buttonSharedLoadoutsBackground: buttonMyLoadoutsBackground { idc = IDC_buttonSharedLoadoutsBackground; - x = QUOTE(82 * GRID_W); + x = QUOTE(84 * GRID_W); }; class buttonSharedLoadouts: buttonMyLoadouts { idc = IDC_buttonSharedLoadouts; - x = QUOTE(82 * GRID_W); + x = QUOTE(84 * GRID_W); text= CSTRING(tabSharedLoadoutsText); tooltip= CSTRING(tabSharedLoadoutsTooltip); };