Fix wind info keybind string

This commit is contained in:
jonpas 2016-06-07 02:22:53 +02:00
parent fe03272dc6
commit 89db8bef5a
2 changed files with 6 additions and 5 deletions

View File

@ -29,7 +29,7 @@ GVAR(ACE_rain) = rain;
};
GVAR(WindInfo) = false;
["ACE3 Common", QGVAR(WindInfoKey), localize LSTRING(WindInfoKey),
["ACE3 Common", QGVAR(WindInfoKey), localize LSTRING(WindInfoKeyToggle),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
@ -39,7 +39,8 @@ GVAR(WindInfo) = false;
},
{false},
[37, [true, false, false]], false, 0] call CBA_fnc_addKeybind; // (SHIFT + K)
["ACE3 Common", QGVAR(WindInfoKey_hold), localize LSTRING(WindInfoKey_hold),
["ACE3 Common", QGVAR(WindInfoKey_hold), localize LSTRING(WindInfoKeyHold),
{
// Conditions: canInteract
if !([ACE_player, ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="Weather">
<Key ID="STR_ACE_Weather_WindInfoKey">
<Key ID="STR_ACE_Weather_WindInfoKeyHold">
<English>Show Wind Info</English>
<Polish>Pokaż inf. o wietrze</Polish>
<Russian>Показать информацию о ветре</Russian>
@ -13,7 +13,7 @@
<Czech>Zobrazit údaje o větru</Czech>
<Portuguese>Mostrar informação do vento</Portuguese>
</Key>
<Key ID="STR_ACE_Weather_WindInfoKey_hold">
<Key ID="STR_ACE_Weather_WindInfoKeyToggle">
<English>Show Wind Info (Toggle)</English>
<Polish>Pokaż inf. o wietrze (przełącz)</Polish>
<Russian>Показать информацию о ветре (перекл.)</Russian>
@ -194,4 +194,4 @@
<Italian>Definisce l'intervallo (in secondi) tra aggiornamenti del meteo</Italian>
</Key>
</Package>
</Project>
</Project>