mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
Localize hardcoded 'Price to' string
Thanks @dreamforceinc
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
private ["_backPackCount","_backPackCount_raw","_backPackSlots","_formattedText","_magazineCount","_magazineCount_raw","_magazineSlots","_name","_picture","_price","_text","_typeOf","_weaponSlots","_weaponsCount","_weaponsCount_raw"];
|
||||
private ["_backPackCount","_backPackCount_raw","_backPackSlots","_formattedText","_magazineCount","_magazineCount_raw","_magazineSlots","_name","_picture","_price","_typeOf","_weaponSlots","_weaponsCount","_weaponsCount_raw"];
|
||||
|
||||
if (vkc_action == "claim") then {
|
||||
ctrlShow[4850,true];
|
||||
_text = localize "STR_CL_VKC_CLAIM";
|
||||
_price = vkc_claimPrice;
|
||||
} else {
|
||||
ctrlShow[4851,true];
|
||||
_text = localize "STR_CL_VKC_CHANGE";
|
||||
_price = vkc_changePrice;
|
||||
};
|
||||
|
||||
@@ -37,7 +35,7 @@ _formattedText = format [
|
||||
"<t color='#33BFFF' size='0.7'>%2: </t><t color='#ffffff' size='0.7'>%3</t><br />" +
|
||||
"<t color='#33BFFF' size='0.7'>%4: </t><t color='#ffffff' size='0.7'>%5</t><br />" +
|
||||
"<t color='#33BFFF' size='0.7'>%6: </t><t color='#ffffff' size='0.7'><img image='%7'/> %13/%10 <img image='%8'/> %14/%11 <img image='%9'/> %15/%12</t><br />" +
|
||||
"<t color='#33BFFF' size='0.7'>Price to %16: </t><t color='#ffffff' size='0.7'>%17</t><br />",
|
||||
"<t color='#33BFFF' size='0.7'>%16: </t><t color='#ffffff' size='0.7'>%17</t><br />",
|
||||
_picture,
|
||||
localize "STR_EPOCH_NAME",
|
||||
_name,
|
||||
@@ -53,9 +51,9 @@ _formattedText = format [
|
||||
_weaponsCount,
|
||||
_magazineCount,
|
||||
_backPackCount,
|
||||
toLower (_text),
|
||||
_price
|
||||
localize "STR_CL_VKC_PRICE",
|
||||
_price
|
||||
];
|
||||
|
||||
((findDisplay 4800) displayCtrl 4803) ctrlSetStructuredText parseText _formattedText;
|
||||
ctrlShow [4803,true];
|
||||
ctrlShow [4803,true];
|
||||
@@ -38029,6 +38029,13 @@
|
||||
<Russian>Сменить ключ</Russian>
|
||||
<Spanish>Cambiar llave del vehículo</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_CL_VKC_PRICE">
|
||||
<English>Price</English>
|
||||
<German>Preis</German>
|
||||
<Russian>Стоимость</Russian>
|
||||
<Spanish>Coste</Spanish>
|
||||
<French>Frais</French>
|
||||
</Key>
|
||||
</Package>
|
||||
|
||||
<Package name="servicePoints">
|
||||
|
||||
Reference in New Issue
Block a user