Use translation for dialog quit
This commit is contained in:
@@ -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 ?"
|
||||
|
||||
@@ -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é ?"
|
||||
|
||||
@@ -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 ?"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user