Показать сообщение отдельно
  #2  
Старый 14.05.2014, 17:19
Аватар для bopozhej
bopozhej bopozhej вне форума
Щит Миробеля
За помощь локализаторам За отличную работу в преддверии Хельмовой Пади Переживший конец света 
 
Регистрация: 23.01.2009
Адрес: Гдетотамское царство
Сообщений: 1,882
Post CurrencyTracker (отслеживание валют и предметов)

Эх, как всегда забугорные программисты не всё выносят в модуль локализации, что требуется:

в файле CTFunctions.lua для полной руссификации надо:

Код:

if tonumber(_moneyComp.G) ~= 0 then sOutput = sOutput .. comma_value(_moneyComp.G) .. "g " end;
if tonumber(_moneyComp.S) ~= 0 then sOutput = sOutput .. _moneyComp.S .. "s " end;
if tonumber(_moneyComp.C) ~= 0 then sOutput = sOutput .. _moneyComp.C .. "c " end;
if sOutput == "" then sOutput = "0g" end;

заменить на:

Код:

if tonumber(_moneyComp.G) ~= 0 then sOutput = sOutput .. comma_value(_moneyComp.G) .. "з " end;
if tonumber(_moneyComp.S) ~= 0 then sOutput = sOutput .. _moneyComp.S .. "с " end;
if tonumber(_moneyComp.C) ~= 0 then sOutput = sOutput .. _moneyComp.C .. "м " end;
if sOutput == "" then sOutput = "0з" end;
Ответить с цитированием