mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 07:12:55 +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 {
|
if (vkc_action == "claim") then {
|
||||||
ctrlShow[4850,true];
|
ctrlShow[4850,true];
|
||||||
_text = localize "STR_CL_VKC_CLAIM";
|
|
||||||
_price = vkc_claimPrice;
|
_price = vkc_claimPrice;
|
||||||
} else {
|
} else {
|
||||||
ctrlShow[4851,true];
|
ctrlShow[4851,true];
|
||||||
_text = localize "STR_CL_VKC_CHANGE";
|
|
||||||
_price = vkc_changePrice;
|
_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'>%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'>%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'>%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,
|
_picture,
|
||||||
localize "STR_EPOCH_NAME",
|
localize "STR_EPOCH_NAME",
|
||||||
_name,
|
_name,
|
||||||
@@ -53,7 +51,7 @@ _formattedText = format [
|
|||||||
_weaponsCount,
|
_weaponsCount,
|
||||||
_magazineCount,
|
_magazineCount,
|
||||||
_backPackCount,
|
_backPackCount,
|
||||||
toLower (_text),
|
localize "STR_CL_VKC_PRICE",
|
||||||
_price
|
_price
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -38029,6 +38029,13 @@
|
|||||||
<Russian>Сменить ключ</Russian>
|
<Russian>Сменить ключ</Russian>
|
||||||
<Spanish>Cambiar llave del vehículo</Spanish>
|
<Spanish>Cambiar llave del vehículo</Spanish>
|
||||||
</Key>
|
</Key>
|
||||||
|
<Key ID="STR_CL_VKC_PRICE">
|
||||||
|
<English>Price</English>
|
||||||
|
<German>Preis</German>
|
||||||
|
<Russian>Стоимость</Russian>
|
||||||
|
<Spanish>Coste</Spanish>
|
||||||
|
<French>Frais</French>
|
||||||
|
</Key>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package name="servicePoints">
|
<Package name="servicePoints">
|
||||||
|
|||||||
Reference in New Issue
Block a user