Add localization for basic treatments and actions

This commit is contained in:
KoffeinFlummi 2015-03-20 18:21:03 +01:00
parent 9082712ff7
commit 33d4bf2f5a
3 changed files with 184 additions and 15 deletions

View File

@ -1,10 +1,9 @@
class ACE_Medical_Actions {
class Basic {
// @todo: localization
class Bandage {
displayName = "Bandage";
displayNameProgress = "Bandaging ...";
displayName = "$STR_ACE_Medical_Bandage";
displayNameProgress = "$STR_ACE_Medical_Bandaging";
treatmentLocations[] = {"All"};
requiredMedic = 0;
@ -25,16 +24,16 @@ class ACE_Medical_Actions {
animationCallerSelfProne = "AinvPpneMstpSlayW[wpn]Dnon_medic";
};
class Morphine: Bandage {
displayName = "Morphine";
displayNameProgress = "Injecting Morphine ...";
displayName = "$STR_ACE_Medical_Inject_Morphine";
displayNameProgress = "$STR_ACE_Medical_Injecting_Morphine";
treatmentTime = 2;
items[] = {QGVAR(morphine)};
callbackSuccess = QUOTE(DFUNC(treatmentBasic_morphine));
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
};
class Epipen: Bandage {
displayName = "Epinephrine";
displayNameProgress = "Injecting Epinephrine ...";
displayName = "$STR_ACE_Medical_Inject_Epinephrine";
displayNameProgress = "$STR_ACE_Medical_Injecting_Epinephrine";
requiredMedic = 1;
treatmentTime = 3;
items[] = {QGVAR(epipen)};
@ -42,8 +41,8 @@ class ACE_Medical_Actions {
animationCaller = "AinvPknlMstpSnonWnonDnon_medic1";
};
class BloodIV: Bandage {
displayName = "Blood Bag";
displayNameProgress = "Transfusing Blood ...";
displayName = "$STR_ACE_Medical_Transfuse_Blood";
displayNameProgress = "$STR_ACE_Medical_Transfusing_Blood";
requiredMedic = 1;
treatmentTime = 20;
items[] = {{QGVAR(bloodIV), QGVAR(bloodIV_500), QGVAR(bloodIV_250)}};

View File

@ -352,7 +352,7 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
class Bandage_Head {
displayName = "Bandage Head";
displayName = "$STR_ACE_Medical_Bandage_HitHead";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(canTreat));
statement = QUOTE([ARR_4(_player, _target, 'head', 'Bandage')] call DFUNC(treatment));
@ -415,7 +415,7 @@ class CfgVehicles {
hotkey = "M";
enableInside = 1;
class Bandage_Torso {
displayName = "Bandage Torso";
displayName = "$STR_ACE_Medical_Bandage_HitBody";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(canTreat));
statement = QUOTE([ARR_4(_player, _target, 'body', 'Bandage')] call DFUNC(treatment));
@ -488,7 +488,7 @@ class CfgVehicles {
statement = QUOTE([ARR_3(_target, true, 2)] call DFUNC(displayPatientInformation));
class Bandage_LeftArm {
displayName = "Bandage Left Arm";
displayName = "$STR_ACE_Medical_Bandage_HitLeftArm";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(canTreat));
statement = QUOTE([ARR_4(_player, _target, 'hand_l', 'Bandage')] call DFUNC(treatment));
@ -609,7 +609,7 @@ class CfgVehicles {
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 3)] call DFUNC(displayPatientInformation));
class Bandage_RightArm {
displayName = "Bandage Right Arm";
displayName = "$STR_ACE_Medical_Bandage_HitRightArm";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(canTreat));
statement = QUOTE([ARR_4(_player, _target, 'hand_r', 'Bandage')] call DFUNC(treatment));
@ -731,7 +731,7 @@ class CfgVehicles {
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 4)] call DFUNC(displayPatientInformation));
class Bandage_LeftLeg {
displayName = "Bandage Left Leg";
displayName = "$STR_ACE_Medical_Bandage_HitLeftLeg";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(canTreat));
statement = QUOTE([ARR_4(_player, _target, 'leg_l', 'Bandage')] call DFUNC(treatment));
@ -843,7 +843,7 @@ class CfgVehicles {
runOnHover = 1;
statement = QUOTE([ARR_3(_target, true, 5)] call DFUNC(displayPatientInformation));
class Bandage_RightLeg {
displayName = "Bandage Right Leg";
displayName = "STR_ACE_Medical_Bandage_HitRightLeg";
distance = 2.0;
condition = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(canTreat));
statement = QUOTE([ARR_4(_player, _target, 'leg_r', 'Bandage')] call DFUNC(treatment));

View File

@ -1,6 +1,176 @@
<?xml version="1.0"encoding="UTF-8"?>
<Project name="ACE">
<Package name="Medical">
<Container name="Basic">
<Key ID="STR_ACE_Medical_Inject_Morphine">
<English>Inject Morphine</English>
<German>Morphin injizieren</German>
<Spanish>Inyectar Morfina</Spanish>
<Polish>Wstrzyknij morfinę</Polish>
<Czech>Aplikovat Morfin</Czech>
<Russian>Ввести морфин</Russian>
<French>Morphine</French>
<Hungarian>Morfium</Hungarian>
<Portuguese>Injetar Morfina</Portuguese>
<Italian>Inietta Morfina</Italian>
</Key>
<Key ID="STR_ACE_Medical_Inject_Epinephrine">
<English>Inject Epinephrine</English>
<German>Epinephrine injizieren</German>
<Spanish>Inyectar Epinefrina</Spanish>
<Polish>Wtrzyknij adrenalinę</Polish>
<Czech>Aplikovat Adrenalin</Czech>
<Russian>Ввести андреналил</Russian>
<French>Adrénaline</French>
<Hungarian>Adrenalin</Hungarian>
<Portuguese>Injetar Epinefrina</Portuguese>
<Italian>Inietta Epinefrina</Italian>
</Key>
<Key ID="STR_ACE_Medical_Transfuse_Blood">
<English>Transfuse Blood</English>
<German>Bluttransfusion</German>
<Spanish>Transfundir sangre</Spanish>
<Polish>Przetocz krew</Polish>
<Czech>Transfúze krve</Czech>
<Russian>Перелить кровь</Russian>
<French>Transfusion</French>
<Hungarian>Infúzió</Hungarian>
<Portuguese>Transfundir Sangue</Portuguese>
<Italian>Effettua Trasfusione</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandage">
<English>Bandage</English>
<German>Verbinden</German>
<Spanish>Venda</Spanish>
<Polish>Bandaż</Polish>
<Czech>Obvázat</Czech>
<French>Pansement</French>
<Italian>Benda</Italian>
<Hungarian>Kötözés</Hungarian>
<Portuguese>Atadura</Portuguese>
<Russian>Перевязать</Russian>
</Key>
<Key ID="STR_ACE_Medical_Bandage_HitHead">
<English>Bandage Head</English>
<German>Kopf verbinden</German>
<Spanish>Vendar la cabeza</Spanish>
<Polish>Bandażuj głowę</Polish>
<Czech>Obvázat hlavu</Czech>
<Russian>Перевязать голову</Russian>
<French>Pansement Tête</French>
<Hungarian>Fej kötözése</Hungarian>
<Portuguese>Atar Cabeça</Portuguese>
<Italian>Benda la testa</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandage_HitBody">
<English>Bandage Torso</English>
<German>Torso verbinden</German>
<Spanish>Vendar el torso</Spanish>
<Polish>Bandażuj tors</Polish>
<Czech>Obvázat hruď</Czech>
<Russian>Перевязать торс</Russian>
<French>Pansement Torse</French>
<Hungarian>Felsőtest kötözése</Hungarian>
<Portuguese>Atar Tronco</Portuguese>
<Italian>Benda il torso</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandage_HitLeftArm">
<English>Bandage Left Arm</English>
<German>Arm links verbinden</German>
<Spanish>Vendar el brazo izquierdo</Spanish>
<Polish>Bandażuj lewe ramię</Polish>
<Czech>Obvázat levou ruku</Czech>
<Russian>Перевязать левую руку</Russian>
<French>Pansement Bras Gauche</French>
<Hungarian>Bal kar kötözése</Hungarian>
<Portuguese>Atar Braço Esquerdo</Portuguese>
<Italian>Benda il braccio sinistro</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandage_HitRightArm">
<English>Bandage Right Arm</English>
<German>Arm rechts verbinden</German>
<Spanish>Vendar el brazo derecho</Spanish>
<Polish>Bandażuj prawe ramię</Polish>
<Czech>Obvázat pravou ruku</Czech>
<Russian>Перевязать правую руку</Russian>
<French>Pansement Bras Droit</French>
<Hungarian>Jobb kar kötözése</Hungarian>
<Portuguese>Atar Braço Direito</Portuguese>
<Italian>Benda il braccio destro</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandage_HitLeftLeg">
<English>Bandage Left Leg</English>
<German>Bein links verbinden</German>
<Spanish>Vendar la pierna izquierda</Spanish>
<Polish>Bandażuj lewą nogę</Polish>
<Czech>Obvázat levou nohu</Czech>
<Russian>Перевязать левую ногу</Russian>
<French>Pansement Jambe Gauche</French>
<Hungarian>Bal láb kötözése</Hungarian>
<Portuguese>Atar Perna Esquerda</Portuguese>
<Italian>Benda la gamba sinistra</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandage_HitRightLeg">
<English>Bandage Right Leg</English>
<German>Bein rechts verbinden</German>
<Spanish>Vendar la pierna derecha</Spanish>
<Polish>Bandażuj prawą nogę</Polish>
<Czech>Obvázat pravou nohu</Czech>
<Russian>Перевязать правую ногу</Russian>
<French>Pansement Jambe Droite</French>
<Hungarian>Jobb láb kötözése</Hungarian>
<Portuguese>Atar Perna Direita</Portuguese>
<Italian>Benda la gamba destra</Italian>
</Key>
<Key ID="STR_ACE_Medical_Injecting_Morphine">
<English>Injecting Morphine ...</English>
<German>Morphin injizieren ...</German>
<Spanish>Inyectando Morfina ...</Spanish>
<Polish>Wstrzykiwanie morfiny ...</Polish>
<Czech>Aplikuju Morfin ...</Czech>
<Russian>Введение морфина...</Russian>
<French>Injection de Morphine...</French>
<Hungarian>Morfium beadása...</Hungarian>
<Portuguese>Injetando Morfina ...</Portuguese>
<Italian>Inietto la morfina ...</Italian>
</Key>
<Key ID="STR_ACE_Medical_Injecting_Epinephrine">
<English>Injecting Epinephrine ...</English>
<German>Epinephrine injizieren ...</German>
<Spanish>Inyectando Epinefrina ...</Spanish>
<Polish>Wstrzykiwanie adrenaliny ...</Polish>
<Czech>Aplikuju Adrenalin ...</Czech>
<Russian>Введение андреналина</Russian>
<French>Injection d'Adrénaline ...</French>
<Hungarian>Adrenalin beadása...</Hungarian>
<Portuguese>Injetando Epinefrina ...</Portuguese>
<Italian>Inietto l'epinefrina ...</Italian>
</Key>
<Key ID="STR_ACE_Medical_Transfusing_Blood">
<English>Transfusing Blood ...</English>
<German>Bluttransfusion ...</German>
<Spanish>Realizando transfusión ...</Spanish>
<Polish>Przetaczanie krwi ...</Polish>
<Czech>Probíhá transfúze krve ...</Czech>
<Russian>Переливание крови...</Russian>
<French>Transfusion Sanguine ...</French>
<Hungarian>Infúzió...</Hungarian>
<Portuguese>Transfundindo Sangue ...</Portuguese>
<Italian>Effettuo la trasfusione ...</Italian>
</Key>
<Key ID="STR_ACE_Medical_Bandaging">
<English>Bandaging ...</English>
<German>Verbinden ...</German>
<Spanish>Vendando ...</Spanish>
<Polish>Bandażowanie ...</Polish>
<Czech>Obvazuji ...</Czech>
<French>Pansement ...</French>
<Italian>Sto applicando la benda ...</Italian>
<Hungarian>Bekötözés...</Hungarian>
<Portuguese>Atando ...</Portuguese>
<Russian>Перевязывание....</Russian>
</Key>
</Container>
<Container name="UI">
<Key ID="STR_ACE_MEDICAL_TRIAGE_STATUS_MINOR">
<English>Minor</English>