mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
fix: framerate setting values not translated
This commit is contained in:
parent
63d0c8b01a
commit
a2f79e979e
2 changed files with 3 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
local tostring_overrides = {}
|
local tostring_overrides = {}
|
||||||
tostring_overrides["display.framerate"] = function(x)
|
tostring_overrides["display.framerate"] = function(x)
|
||||||
if x == -1 then
|
if x == -1 then
|
||||||
return "V-Sync"
|
return gui.str("V-Sync")
|
||||||
elseif x == 0 then
|
elseif x == 0 then
|
||||||
return "Unlimited"
|
return gui.str("Unlimited")
|
||||||
else
|
else
|
||||||
return tostring(x)
|
return tostring(x)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ Creator=Автор
|
||||||
Dependencies=Зависимости
|
Dependencies=Зависимости
|
||||||
Description=Описание
|
Description=Описание
|
||||||
Converting world...=Выполняется конвертация мира...
|
Converting world...=Выполняется конвертация мира...
|
||||||
|
Unlimited=Неограниченно
|
||||||
|
|
||||||
error.pack-not-found=Не удалось найти пакет
|
error.pack-not-found=Не удалось найти пакет
|
||||||
error.dependency-not-found=Используемая зависимость не найдена
|
error.dependency-not-found=Используемая зависимость не найдена
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue