mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Localize some Advanced Trading strings
This commit is contained in:
@@ -21,11 +21,11 @@ if (Z_Selling) then {
|
||||
if (Z_SingleCurrency) then {
|
||||
_formattedText = format [
|
||||
"<img image='%1' size='3' align='center'/><br />" +
|
||||
"<t color='#33BFFF'>Name: </t><t color='#ffffff'>%2</t><br />" +
|
||||
"<t color='#33BFFF'>Class: </t><t color='#ffffff'>%3</t><br />" +
|
||||
"<t color='#33BFFF'>Sell: </t><t color='#ffffff'>%5 %7</t><br />" +
|
||||
"<t color='#33BFFF'>Buy: </t><t color='#ffffff'>%6 %7</t><br />"
|
||||
, _picture, _display, _class, 'lazy', _sellPrice, _buyPrice, CurrencyName
|
||||
"<t color='#33BFFF'>%8: </t><t color='#ffffff'>%2</t><br />" +
|
||||
"<t color='#33BFFF'>%9: </t><t color='#ffffff'>%3</t><br />" +
|
||||
"<t color='#33BFFF'>%10: </t><t color='#ffffff'>%5 %7</t><br />" +
|
||||
"<t color='#33BFFF'>%11: </t><t color='#ffffff'>%6 %7</t><br />"
|
||||
, _picture, _display, _class, 'lazy', _sellPrice, _buyPrice, CurrencyName, localize "STR_EPOCH_NAME", localize "STR_EPOCH_CLASS", localize "STR_EPOCH_PLAYER_292", localize "STR_EPOCH_PLAYER_291"
|
||||
];
|
||||
} else {
|
||||
_picSell = getText (configFile >> 'CfgMagazines' >> _sellCurrency >> 'picture');
|
||||
@@ -34,11 +34,11 @@ if (Z_SingleCurrency) then {
|
||||
_buyCurrency = getText (configFile >> 'CfgMagazines' >> _buyCurrency >> 'displayName');
|
||||
_formattedText = format [
|
||||
"<img image='%1' size='3' align='center'/><br />" +
|
||||
"<t color='#33BFFF'>Name: </t><t color='#ffffff'>%2</t><br />" +
|
||||
"<t color='#33BFFF'>Class: </t><t color='#ffffff'>%3</t><br />" +
|
||||
"<t color='#33BFFF'>Sell: </t><t color='#ffffff'>%5 <img image='%8' /> %7</t><br />" +
|
||||
"<t color='#33BFFF'>Buy: </t><t color='#ffffff'>%6 <img image='%10' /> %9</t><br />"
|
||||
, _picture, _display, _class, 'lazy', _sellPrice, _buyPrice, _sellCurrency , _picSell , _buyCurrency, _picBuy
|
||||
"<t color='#33BFFF'>%11: </t><t color='#ffffff'>%2</t><br />" +
|
||||
"<t color='#33BFFF'>%12: </t><t color='#ffffff'>%3</t><br />" +
|
||||
"<t color='#33BFFF'>%13: </t><t color='#ffffff'>%5 <img image='%8' /> %7</t><br />" +
|
||||
"<t color='#33BFFF'>%14: </t><t color='#ffffff'>%6 <img image='%10' /> %9</t><br />"
|
||||
, _picture, _display, _class, 'lazy', _sellPrice, _buyPrice, _sellCurrency , _picSell , _buyCurrency, _picBuy, localize "STR_EPOCH_NAME", localize "STR_EPOCH_CLASS", localize "STR_EPOCH_PLAYER_292", localize "STR_EPOCH_PLAYER_291"
|
||||
];
|
||||
};
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_ITEMINFO) ctrlSetStructuredText parseText _formattedText;
|
||||
|
||||
Reference in New Issue
Block a user