diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-25 23:11:09 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-25 23:11:09 +0500 |
| commit | 0e03261f3d732a0722c328ebe7a7e1f05b8ec19d (patch) | |
| tree | ba1295c9a85f2b77273a0e334c270766bfe9ba25 | |
| parent | e5cae1fd2ae2c9ba9b8c7836f210e5c5fef402bf (diff) | |
upd: line for 'new game'
| -rw-r--r-- | assets/i18n/en_us.json | 1 | ||||
| -rw-r--r-- | assets/i18n/ru_ru.json | 1 | ||||
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/localization/LineId.java | 1 | ||||
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/assets/i18n/en_us.json b/assets/i18n/en_us.json index d3894ef..b72f8a3 100644 --- a/assets/i18n/en_us.json +++ b/assets/i18n/en_us.json @@ -1,6 +1,7 @@ { "updater.info": "A new update is available!", + "menu.new_game": "New Game", "menu.continue": "CONTINUE", "menu.reset": "RESET", diff --git a/assets/i18n/ru_ru.json b/assets/i18n/ru_ru.json index 146eb21..b3d740c 100644 --- a/assets/i18n/ru_ru.json +++ b/assets/i18n/ru_ru.json @@ -1,6 +1,7 @@ { "updater.info": "Доступно новое обновление!", + "menu.new_game": "Новая игра", "menu.continue": "ПРОДОЛЖИТЬ", "menu.reset": "СБРОСИТЬ", diff --git a/core/src/kz/ilotterytea/maxon/localization/LineId.java b/core/src/kz/ilotterytea/maxon/localization/LineId.java index b38eca7..6ae3000 100644 --- a/core/src/kz/ilotterytea/maxon/localization/LineId.java +++ b/core/src/kz/ilotterytea/maxon/localization/LineId.java @@ -7,6 +7,7 @@ import java.util.Locale; public enum LineId { UpdaterInfo, + MenuNewgame, MenuContinue, MenuReset, diff --git a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java index 364a793..677f0ca 100644 --- a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java +++ b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java @@ -60,7 +60,7 @@ public class SavegameWidget extends Table implements Disposable { private void createEmpty() { Table body = new Table(); - Label label = new Label("New Game", skin, styleName); + Label label = new Label(game.getLocale().getLine(LineId.MenuNewgame), skin, styleName); label.setAlignment(Align.center); body.add(label).grow().row(); |
