diff --git a/locales/en.po b/locales/en.po index b8c597f..e5284a2 100644 --- a/locales/en.po +++ b/locales/en.po @@ -35,3 +35,9 @@ msgstr "Lead Artist -- VAILLANT Aurélien" msgid "ABOUT_SOURCE_GAME" msgstr "Source code of game : https://dev.stilobique.com/Athena/game-source" + +msgid "SCENE_WARCRAFT_DIALOG_QUIT_TITLE" +msgstr "Exit ?" + +msgid "SCENE_WARCRAFT_DIALOG_QUIT_QUESTION" +msgstr "Are you sure to quit ?" diff --git a/locales/fr.po b/locales/fr.po index 9a3eaa9..ad25b42 100644 --- a/locales/fr.po +++ b/locales/fr.po @@ -34,3 +34,9 @@ msgstr "Lead Artist -- VAILLANT Aurélien" msgid "ABOUT_SOURCE_GAME" msgstr "Code source du jeux : https://dev.stilobique.com/Athena/game-source" + +msgid "SCENE_WARCRAFT_DIALOG_QUIT_TITLE" +msgstr "Quit ?" + +msgid "SCENE_WARCRAFT_DIALOG_QUIT_QUESTION" +msgstr "Voulez vous vraiement quitté ?" diff --git a/locales/model.pot b/locales/model.pot index 92e8c1e..cc02f60 100644 --- a/locales/model.pot +++ b/locales/model.pot @@ -35,3 +35,9 @@ msgstr "Lead Artist -- VAILLANT Aurélien" msgid "ABOUT_SOURCE_GAME" msgstr "Source code of game : https://dev.stilobique.com/Athena/game-source" + +msgid "SCENE_WARCRAFT_DIALOG_QUIT_TITLE" +msgstr "Exit ?" + +msgid "SCENE_WARCRAFT_DIALOG_QUIT_QUESTION" +msgstr "Are you sure to quit ?" diff --git a/scenes/levels/warcraft/WarCraft.gd b/scenes/levels/warcraft/WarCraft.gd index e16a279..6e83d15 100644 --- a/scenes/levels/warcraft/WarCraft.gd +++ b/scenes/levels/warcraft/WarCraft.gd @@ -13,8 +13,8 @@ onready var meshes = { } func _ready(): - $Dialog/ConfirmEscape.set_title("Quit ?") - $Dialog/ConfirmEscape.set_text("Voulez vous vraiment quitté ?") + $Dialog/ConfirmEscape.set_title(tr("SCENE_WARCRAFT_DIALOG_QUIT_TITLE")) + $Dialog/ConfirmEscape.set_text(tr("SCENE_WARCRAFT_DIALOG_QUIT_QUESTION")) func _process(_delta): # Event key "escape" and "godot event" ui_end