Localize the 'show effect duration' option

add_additional_osg_plugins
Andrei Kortunov 2 years ago
parent 1859c6eded
commit 6ec9616ddd

@ -21,6 +21,7 @@
Feature #6945: Support S3TC-compressed and BGR/BGRA NiPixelData
Feature #6979: Add support of loading and displaying LOD assets purely based on their filename extension
Feature #6983: PCVisionBonus script functions
Feature #6995: Localize the "show effect duration" option
0.48.0
------

@ -729,29 +729,29 @@ namespace MWGui
if (years)
{
units++;
ret += toString(years) + " y ";
ret += toString(years) + " #{Interface:DurationYear} ";
}
if (months)
{
units++;
ret += toString(months) + " mo ";
ret += toString(months) + " #{Interface:DurationMonth} ";
}
if (units < 2 && days)
{
units++;
ret += toString(days) + " d ";
ret += toString(days) + " #{Interface:DurationDay} ";
}
if (units < 2 && hours)
{
units++;
ret += toString(hours) + " h ";
ret += toString(hours) + " #{Interface:DurationHour} ";
}
if (units >= 2)
return ret;
if (minutes)
ret += toString(minutes) + " min ";
ret += toString(minutes) + " #{Interface:DurationMinute} ";
if (seconds)
ret += toString(seconds) + " s ";
ret += toString(seconds) + " #{Interface:DurationSecond} ";
return ret;
}

@ -1,3 +1,9 @@
DurationDay: "d"
DurationHour: "h"
DurationMinute: "min"
DurationMonth: "mo"
DurationSecond: "s"
DurationYear: "y"
No: "No"
NotAvailableShort: "N/A"
Reset: "Reset"

@ -1,3 +1,9 @@
DurationDay: "д"
DurationHour: "ч"
DurationMinute: "мин"
DurationMonth: "мес"
DurationSecond: "с"
DurationYear: "л"
No: "Нет"
NotAvailableShort: "Н/Д"
Reset: "Обнулить"

Loading…
Cancel
Save