Localise module messages

This commit is contained in:
SilentSpike 2015-05-18 23:06:21 +01:00
parent 4c1641b64a
commit bfce854be3
5 changed files with 58 additions and 56 deletions

View File

@ -157,42 +157,6 @@
<Hungarian>Megadás abbahagyása</Hungarian> <Hungarian>Megadás abbahagyása</Hungarian>
<Italian>Smetti di arrenderti</Italian> <Italian>Smetti di arrenderti</Italian>
</Key> </Key>
<Key ID="STR_ACE_Captives_Zeus_OnlyAlive">
<English>Only use on alive units</English>
<French>Utiliser uniquement sur une unité vivante</French>
<German>Nur bei lebenden Einheiten verwendbar</German>
<Spanish>Utilizar solo en unidades vivas</Spanish>
<Czech>Použitelné jen na živé jednotky</Czech>
<Polish>Używaj tylko na żywych jednostkach</Polish>
<Russian>Применимо только к живым юнитам</Russian>
<Hungarian>Csak élő egységeken használni</Hungarian>
<Italian>Si può fare solo su persone vive</Italian>
<Portuguese>Usar somente em unidades vivas</Portuguese>
</Key>
<Key ID="STR_ACE_Captives_Zeus_OnlyInfantry">
<English>Only use on dismounted inf</English>
<French>Utiliser uniquement sur du personnel à pied</French>
<German>Nur bei abgesessener Infanterie verwendbar</German>
<Spanish>Utilizar solo en infanteria desmontada</Spanish>
<Czech>Použitelné jen na pěsích jednotkách</Czech>
<Polish>Używaj tylko na piechocie poza wszelkimi pojazdami</Polish>
<Russian>Применимо только к пехоте вне техники</Russian>
<Hungarian>Csak járműben kívül lévő egységeken használni</Hungarian>
<Italian>Si può usare solo su fanteria a piedi</Italian>
<Portuguese>Usar somente em infantaria desmontada</Portuguese>
</Key>
<Key ID="STR_ACE_Captives_Zeus_NothingSelected">
<English>Nothing under mouse</English>
<French>Rien sous le curseur</French>
<German>Es wurde nichts ausgewählt</German>
<Spanish>Nada bajo el ratón</Spanish>
<Portuguese>Nada debaixo do mouse</Portuguese>
<Czech>Nic není vybráno</Czech>
<Polish>Nie ma nic pod kursorem</Polish>
<Russian>Ничего не выделено</Russian>
<Hungarian>Semmi sincs az egér alatt</Hungarian>
<Italian>Nessuna selezione</Italian>
</Key>
<Key ID="STR_ACE_Captives_ModuleSurrender_DisplayName"> <Key ID="STR_ACE_Captives_ModuleSurrender_DisplayName">
<English>Make Unit Surrender</English> <English>Make Unit Surrender</English>
<Polish>Poddaj się!</Polish> <Polish>Poddaj się!</Polish>

View File

@ -21,18 +21,18 @@ private ["_unit","_captive"];
if (!_activated) exitWith {}; if (!_activated) exitWith {};
if (isNil QEFUNC(captives,setHandcuffed)) then { if (isNil QEFUNC(captives,setHandcuffed)) then {
["Requires ACE_Captives"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured);
} else { } else {
_unit = attachedTo _logic; _unit = attachedTo _logic;
if (isNull _unit) then { if (isNull _unit) then {
["Place on a unit"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
} else { } else {
if !(_unit isKindOf "CAManBase") then { if !(_unit isKindOf "CAManBase") then {
["Unit must be infantry"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
} else { } else {
if !(alive _unit) then { if !(alive _unit) then {
["Unit must be alive"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
} else { } else {
_captive = GETVAR(_unit,EGVAR(captives,isHandcuffed),false); _captive = GETVAR(_unit,EGVAR(captives,isHandcuffed),false);
// Event initalized by ACE_Captives // Event initalized by ACE_Captives

View File

@ -21,18 +21,18 @@ private ["_unit","_conscious"];
if (!_activated) exitWith {}; if (!_activated) exitWith {};
if (isNil QEFUNC(medical,setUnconscious)) then { if (isNil QEFUNC(medical,setUnconscious)) then {
["Requires ACE_Medical"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured);
} else { } else {
_unit = attachedTo _logic; _unit = attachedTo _logic;
if (isNull _unit) then { if (isNull _unit) then {
["Place on a unit"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
} else { } else {
if !(_unit isKindOf "CAManBase") then { if !(_unit isKindOf "CAManBase") then {
["Unit must be infantry"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
} else { } else {
if !(alive _unit) then { if !(alive _unit) then {
["Unit must be alive"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
} else { } else {
_conscious = GETVAR(_unit,ACE_isUnconscious,false); _conscious = GETVAR(_unit,ACE_isUnconscious,false);
// Function handles locality for me // Function handles locality for me

View File

@ -21,21 +21,21 @@ private ["_unit","_surrendering"];
if (!_activated) exitWith {}; if (!_activated) exitWith {};
if (isNil QEFUNC(captives,setSurrendered)) then { if (isNil QEFUNC(captives,setSurrendered)) then {
["Requires ACE_Captives"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured);
} else { } else {
_unit = attachedTo _logic; _unit = attachedTo _logic;
if (isNull _unit) then { if (isNull _unit) then {
["Place on a unit"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured);
} else { } else {
if !(_unit isKindOf "CAManBase") then { if !(_unit isKindOf "CAManBase") then {
["Unit must be infantry"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured);
} else { } else {
if !(alive _unit) then { if !(alive _unit) then {
["Unit must be alive"] call EFUNC(common,displayTextStructured); ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured);
} else { } else {
if (GETVAR(_unit,EGVAR(captives,isHandcuffed),false)) then { 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 { } else {
_surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false); _surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false);
// Event initalized by ACE_Captives // Event initalized by ACE_Captives

View File

@ -2,8 +2,8 @@
<Project name="ACE"> <Project name="ACE">
<Package name="Zeus"> <Package name="Zeus">
<Key ID="STR_ACE_Zeus_Module_DisplayName"> <Key ID="STR_ACE_Zeus_Module_DisplayName">
<English>Zeus Settings [ACE]</English> <English>Zeus Settings</English>
<Polish>Ustawienia Zeusa [ACE]</Polish> <Polish>Ustawienia Zeusa</Polish>
</Key> </Key>
<Key ID="STR_ACE_Zeus_Module_Description"> <Key ID="STR_ACE_Zeus_Module_Description">
<English>Provides control over various aspects of Zeus.</English> <English>Provides control over various aspects of Zeus.</English>
@ -46,8 +46,8 @@
<Polish>Pokazuj miny</Polish> <Polish>Pokazuj miny</Polish>
</Key> </Key>
<Key ID="STR_ACE_Zeus_revealMines_Description"> <Key ID="STR_ACE_Zeus_revealMines_Description">
<English>Reveal mines to allies and/or place map markers.</English> <English>Reveal mines to allies and place map markers.</English>
<Polish>Pokazuj znaczniki min dla sojuszników i/lub twórz markery na mapie w miejscu min.</Polish> <Polish>Pokazuj znaczniki min dla sojuszników i twórz markery na mapie w miejscu min.</Polish>
</Key> </Key>
<Key ID="STR_ACE_Zeus_revealMines_disable"> <Key ID="STR_ACE_Zeus_revealMines_disable">
<English>Disabled</English> <English>Disabled</English>
@ -61,9 +61,47 @@
<English>Allies + Map Markers</English> <English>Allies + Map Markers</English>
<Polish>Sojusznicy + markery na mapie</Polish> <Polish>Sojusznicy + markery na mapie</Polish>
</Key> </Key>
<Key ID="STR_ACE_Zeus_category"> <Key ID="STR_ACE_Zeus_OnlyAlive">
<English>ACE Zeus</English> <English>Unit must be alive</English>
<Polish>ACE Zeus</Polish> <French>Utiliser uniquement sur une unité vivante</French>
<German>Nur bei lebenden Einheiten verwendbar</German>
<Spanish>Utilizar solo en unidades vivas</Spanish>
<Czech>Použitelné jen na živé jednotky</Czech>
<Polish>Używaj tylko na żywych jednostkach</Polish>
<Russian>Применимо только к живым юнитам</Russian>
<Hungarian>Csak élő egységeken használni</Hungarian>
<Italian>Si può fare solo su persone vive</Italian>
<Portuguese>Usar somente em unidades vivas</Portuguese>
</Key>
<Key ID="STR_ACE_Zeus_OnlyInfantry">
<English>Unit must be infantry</English>
<French>Utiliser uniquement sur du personnel à pied</French>
<German>Nur bei abgesessener Infanterie verwendbar</German>
<Spanish>Utilizar solo en infanteria desmontada</Spanish>
<Czech>Použitelné jen na pěsích jednotkách</Czech>
<Polish>Używaj tylko na piechocie poza wszelkimi pojazdami</Polish>
<Russian>Применимо только к пехоте вне техники</Russian>
<Hungarian>Csak járműben kívül lévő egységeken használni</Hungarian>
<Italian>Si può usare solo su fanteria a piedi</Italian>
<Portuguese>Usar somente em infantaria desmontada</Portuguese>
</Key>
<Key ID="STR_ACE_Zeus_OnlyNonCaptive">
<English>Unit must not be captive</English>
</Key>
<Key ID="STR_ACE_Zeus_NothingSelected">
<English>Place on a unit</English>
<French>Rien sous le curseur</French>
<German>Es wurde nichts ausgewählt</German>
<Spanish>Nada bajo el ratón</Spanish>
<Portuguese>Nada debaixo do mouse</Portuguese>
<Czech>Nic není vybráno</Czech>
<Polish>Nie ma nic pod kursorem</Polish>
<Russian>Ничего не выделено</Russian>
<Hungarian>Semmi sincs az egér alatt</Hungarian>
<Italian>Nessuna selezione</Italian>
</Key>
<Key ID="STR_ACE_Zeus_RequiresAddon">
<English>Requires an addon that is not present</English>
</Key> </Key>
</Package> </Package>
</Project> </Project>