Configure locales for main scene
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,24 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: \n"
|
||||||
|
"PO-Revision-Date: \n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: en\n"
|
||||||
|
"X-Generator: Poedit 2.4.1\n"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_NEW"
|
||||||
|
msgstr "Start game"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_CONTINUE"
|
||||||
|
msgstr "Continue"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_ABOUT"
|
||||||
|
msgstr "About"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_QUIT"
|
||||||
|
msgstr "Exit"
|
||||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: \n"
|
||||||
|
"PO-Revision-Date: \n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Language: fr\n"
|
||||||
|
"X-Generator: Poedit 2.4.1\n"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_NEW"
|
||||||
|
msgstr "Commencer"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_CONTINUE"
|
||||||
|
msgstr "Continue"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_ABOUT"
|
||||||
|
msgstr "Credit"
|
||||||
|
|
||||||
|
msgid "MAIN_BUTTON_QUIT"
|
||||||
|
msgstr "Quit"
|
||||||
@@ -33,6 +33,11 @@ ui_end={
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[locale]
|
||||||
|
|
||||||
|
translations=PoolStringArray( "res://locales/fr.po", "res://locales/en.po" )
|
||||||
|
locale_filter=[ 0, [ "en_US", "fr_FR" ] ]
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
|
||||||
common/enable_pause_aware_picking=true
|
common/enable_pause_aware_picking=true
|
||||||
|
|||||||
@@ -5,6 +5,13 @@ export (PackedScene) var scenes = load("res://scenes/UI/ChooseScene.tscn")
|
|||||||
|
|
||||||
var current_scene = null
|
var current_scene = null
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
print(tr("MESSAGE_READY"))
|
||||||
|
$Grid/Menu/Action/New.text = tr("MAIN_BUTTON_NEW")
|
||||||
|
$Grid/Menu/Action/Continue.text = tr("MAIN_BUTTON_CONTINUE")
|
||||||
|
$Grid/Menu/Action/About.text = tr("MAIN_BUTTON_ABOUT")
|
||||||
|
$Grid/Menu/Action/Quit.text = tr("MAIN_BUTTON_QUIT")
|
||||||
|
|
||||||
# Quit the game
|
# Quit the game
|
||||||
func _on_Quit_pressed():
|
func _on_Quit_pressed():
|
||||||
get_tree().quit(0)
|
get_tree().quit(0)
|
||||||
|
|||||||
+1
-1
@@ -82,7 +82,7 @@ margin_top = 30.0
|
|||||||
margin_right = 130.0
|
margin_right = 130.0
|
||||||
margin_bottom = 64.0
|
margin_bottom = 64.0
|
||||||
custom_fonts/font = ExtResource( 3 )
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Nouveau"
|
text = "new"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user