From bfce854be3dcd754413f4641b35f0024aa0e3710 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Mon, 18 May 2015 23:06:21 +0100 Subject: [PATCH] Localise module messages --- addons/captives/stringtable.xml | 36 ------------- addons/zeus/functions/fnc_moduleCapture.sqf | 8 +-- addons/zeus/functions/fnc_moduleKnockout.sqf | 8 +-- addons/zeus/functions/fnc_moduleSurrender.sqf | 10 ++-- addons/zeus/stringtable.xml | 52 ++++++++++++++++--- 5 files changed, 58 insertions(+), 56 deletions(-) diff --git a/addons/captives/stringtable.xml b/addons/captives/stringtable.xml index c987e75641..4e329675d1 100644 --- a/addons/captives/stringtable.xml +++ b/addons/captives/stringtable.xml @@ -157,42 +157,6 @@ Megadás abbahagyása Smetti di arrenderti - - Only use on alive units - Utiliser uniquement sur une unité vivante - Nur bei lebenden Einheiten verwendbar - Utilizar solo en unidades vivas - Použitelné jen na živé jednotky - Używaj tylko na żywych jednostkach - Применимо только к живым юнитам - Csak élő egységeken használni - Si può fare solo su persone vive - Usar somente em unidades vivas - - - Only use on dismounted inf - Utiliser uniquement sur du personnel à pied - Nur bei abgesessener Infanterie verwendbar - Utilizar solo en infanteria desmontada - Použitelné jen na pěsích jednotkách - Używaj tylko na piechocie poza wszelkimi pojazdami - Применимо только к пехоте вне техники - Csak járműben kívül lévő egységeken használni - Si può usare solo su fanteria a piedi - Usar somente em infantaria desmontada - - - Nothing under mouse - Rien sous le curseur - Es wurde nichts ausgewählt - Nada bajo el ratón - Nada debaixo do mouse - Nic není vybráno - Nie ma nic pod kursorem - Ничего не выделено - Semmi sincs az egér alatt - Nessuna selezione - Make Unit Surrender Poddaj się! diff --git a/addons/zeus/functions/fnc_moduleCapture.sqf b/addons/zeus/functions/fnc_moduleCapture.sqf index 8d3a83e6c9..624117ed03 100644 --- a/addons/zeus/functions/fnc_moduleCapture.sqf +++ b/addons/zeus/functions/fnc_moduleCapture.sqf @@ -21,18 +21,18 @@ private ["_unit","_captive"]; if (!_activated) exitWith {}; if (isNil QEFUNC(captives,setHandcuffed)) then { - ["Requires ACE_Captives"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured); } else { _unit = attachedTo _logic; if (isNull _unit) then { - ["Place on a unit"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); } else { if !(_unit isKindOf "CAManBase") then { - ["Unit must be infantry"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); } else { if !(alive _unit) then { - ["Unit must be alive"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); } else { _captive = GETVAR(_unit,EGVAR(captives,isHandcuffed),false); // Event initalized by ACE_Captives diff --git a/addons/zeus/functions/fnc_moduleKnockout.sqf b/addons/zeus/functions/fnc_moduleKnockout.sqf index 19fb1574a2..cf44b3e07e 100644 --- a/addons/zeus/functions/fnc_moduleKnockout.sqf +++ b/addons/zeus/functions/fnc_moduleKnockout.sqf @@ -21,18 +21,18 @@ private ["_unit","_conscious"]; if (!_activated) exitWith {}; if (isNil QEFUNC(medical,setUnconscious)) then { - ["Requires ACE_Medical"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured); } else { _unit = attachedTo _logic; if (isNull _unit) then { - ["Place on a unit"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); } else { if !(_unit isKindOf "CAManBase") then { - ["Unit must be infantry"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); } else { if !(alive _unit) then { - ["Unit must be alive"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); } else { _conscious = GETVAR(_unit,ACE_isUnconscious,false); // Function handles locality for me diff --git a/addons/zeus/functions/fnc_moduleSurrender.sqf b/addons/zeus/functions/fnc_moduleSurrender.sqf index 0a5d3e9f3d..094ece0979 100644 --- a/addons/zeus/functions/fnc_moduleSurrender.sqf +++ b/addons/zeus/functions/fnc_moduleSurrender.sqf @@ -21,21 +21,21 @@ private ["_unit","_surrendering"]; if (!_activated) exitWith {}; if (isNil QEFUNC(captives,setSurrendered)) then { - ["Requires ACE_Captives"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured); } else { _unit = attachedTo _logic; if (isNull _unit) then { - ["Place on a unit"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); } else { if !(_unit isKindOf "CAManBase") then { - ["Unit must be infantry"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); } else { if !(alive _unit) then { - ["Unit must be alive"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); } else { if (GETVAR(_unit,EGVAR(captives,isHandcuffed),false)) then { - ["Unit is a captive"] call EFUNC(common,displayTextStructured); + ["STR_ACE_Zeus_OnlyNonCaptive"] call EFUNC(common,displayTextStructured); } else { _surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false); // Event initalized by ACE_Captives diff --git a/addons/zeus/stringtable.xml b/addons/zeus/stringtable.xml index e756d5d085..51febe0cc8 100644 --- a/addons/zeus/stringtable.xml +++ b/addons/zeus/stringtable.xml @@ -2,8 +2,8 @@ - Zeus Settings [ACE] - Ustawienia Zeusa [ACE] + Zeus Settings + Ustawienia Zeusa Provides control over various aspects of Zeus. @@ -46,8 +46,8 @@ Pokazuj miny - Reveal mines to allies and/or place map markers. - Pokazuj znaczniki min dla sojuszników i/lub twórz markery na mapie w miejscu min. + Reveal mines to allies and place map markers. + Pokazuj znaczniki min dla sojuszników i twórz markery na mapie w miejscu min. Disabled @@ -61,9 +61,47 @@ Allies + Map Markers Sojusznicy + markery na mapie - - ACE Zeus - ACE Zeus + + Unit must be alive + Utiliser uniquement sur une unité vivante + Nur bei lebenden Einheiten verwendbar + Utilizar solo en unidades vivas + Použitelné jen na živé jednotky + Używaj tylko na żywych jednostkach + Применимо только к живым юнитам + Csak élő egységeken használni + Si può fare solo su persone vive + Usar somente em unidades vivas + + + Unit must be infantry + Utiliser uniquement sur du personnel à pied + Nur bei abgesessener Infanterie verwendbar + Utilizar solo en infanteria desmontada + Použitelné jen na pěsích jednotkách + Używaj tylko na piechocie poza wszelkimi pojazdami + Применимо только к пехоте вне техники + Csak járműben kívül lévő egységeken használni + Si può usare solo su fanteria a piedi + Usar somente em infantaria desmontada + + + Unit must not be captive + + + Place on a unit + Rien sous le curseur + Es wurde nichts ausgewählt + Nada bajo el ratón + Nada debaixo do mouse + Nic není vybráno + Nie ma nic pod kursorem + Ничего не выделено + Semmi sincs az egér alatt + Nessuna selezione + + + Requires an addon that is not present