Done and "implemented" locales

Language for now is called 1 time and hardcoded.
Solved error on todo and made a coment on every lenguage.
This commit is contained in:
bizcochito
2022-01-31 11:03:58 +01:00
parent ed253ddb92
commit 1759196f26
6 changed files with 18 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ function MenuInit(menu)
{false,true},
1,
{
text = "Resume",
text = Locale.ui.pause_screen_resume,
color = {0,0,0.5},
color2 = {1,1,1}
}
@@ -80,7 +80,7 @@ function MenuInit(menu)
{false,true},
1,
{
text = "Options",
text = Locale.ui.pause_screen_options,
color = {0,0,0.5},
color2 = {1,1,1}
}
@@ -93,7 +93,7 @@ function MenuInit(menu)
{false,true},
1,
{
text = "Exit",
text = Locale.ui.pause_screen_exit,
color = {0,0,0.5},
color2 = {1,1,1}
}
@@ -101,4 +101,5 @@ function MenuInit(menu)
end
end
UIElement = {}
require "data/scripts/ui/button"