feat: 完成本地化代码并部分翻译
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ offset_right = 255.0
|
||||
offset_bottom = 63.0
|
||||
theme_override_fonts/font = ExtResource("1_uwrxv")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "啊啊啊啊啊:啊啊啊啊"
|
||||
text = "GAMEUI_URNULL"
|
||||
|
||||
[node name="IPLabel" type="Label" parent="." unique_id=2017838611]
|
||||
offset_left = 54.0
|
||||
|
||||
@@ -23,7 +23,7 @@ offset_bottom = 207.0
|
||||
size_flags_horizontal = 4
|
||||
theme_override_fonts/font = ExtResource("1_l6cm7")
|
||||
theme_override_font_sizes/font_size = 84
|
||||
text = "纸片化学社区版"
|
||||
text = "MAINMENU_TITLE"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="StartGame" type="Button" parent="." unique_id=1933485497]
|
||||
@@ -33,7 +33,7 @@ offset_right = 1247.0385
|
||||
offset_bottom = 632.0
|
||||
theme_override_fonts/font = ExtResource("1_l6cm7")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "创建局域网游戏"
|
||||
text = "MAINMENU_CREATEGAME"
|
||||
|
||||
[node name="JoinGame" type="Button" parent="." unique_id=1061477634]
|
||||
offset_left = 932.0
|
||||
@@ -42,7 +42,7 @@ offset_right = 1248.0385
|
||||
offset_bottom = 847.0
|
||||
theme_override_fonts/font = ExtResource("1_l6cm7")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "加入局域网游戏"
|
||||
text = "MAINMENU_JOINGAME"
|
||||
|
||||
[node name="QuitGame" type="Button" parent="." unique_id=70898198]
|
||||
offset_left = 932.0
|
||||
@@ -51,7 +51,7 @@ offset_right = 1248.0386
|
||||
offset_bottom = 1058.0
|
||||
theme_override_fonts/font = ExtResource("1_l6cm7")
|
||||
theme_override_font_sizes/font_size = 36
|
||||
text = "退出游戏"
|
||||
text = "MAINMENU_QUITGAME"
|
||||
|
||||
[node name="CreateGameUI" type="Node2D" parent="." unique_id=462604530]
|
||||
visible = false
|
||||
@@ -155,7 +155,7 @@ offset_right = 2106.0
|
||||
offset_bottom = 200.0
|
||||
theme_override_fonts/font = ExtResource("1_l6cm7")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "设置"
|
||||
text = "MAINMENU_SETTINGS"
|
||||
|
||||
[connection signal="pressed" from="StartGame" to="." method="_on_start_game_pressed"]
|
||||
[connection signal="pressed" from="JoinGame" to="." method="_on_join_game_pressed"]
|
||||
|
||||
+36
-11
@@ -23,7 +23,7 @@ offset_right = 193.0
|
||||
offset_bottom = 90.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "数据源设置"
|
||||
text = "SETTINGS_SETSOURCE"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="DataSetting" unique_id=34011310]
|
||||
offset_left = 217.0
|
||||
@@ -44,7 +44,7 @@ offset_right = 193.0
|
||||
offset_bottom = 90.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "自动识别IP地址的起始部分"
|
||||
text = "SETTINGS_IPBEGIN"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="IPBeginSetting" unique_id=1179342188]
|
||||
offset_left = 424.0
|
||||
@@ -65,7 +65,7 @@ offset_right = 193.0
|
||||
offset_bottom = 90.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "局内显示昵称"
|
||||
text = "SETTINGS_NICKNAME"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="UsernameSetting" unique_id=694430941]
|
||||
offset_left = 424.0
|
||||
@@ -86,7 +86,7 @@ offset_right = 132.0
|
||||
offset_bottom = 40.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "加载本地数据"
|
||||
text = "SETTINGS_LOADDATA"
|
||||
|
||||
[node name="ChooseSource" type="OptionButton" parent="LoadSource" unique_id=1045074926]
|
||||
offset_left = 381.0
|
||||
@@ -95,14 +95,39 @@ offset_right = 830.0
|
||||
offset_bottom = 60.0
|
||||
theme_override_font_sizes/font_size = 25
|
||||
|
||||
[node name="ChooseLanguage" type="Node2D" parent="." unique_id=323270128]
|
||||
position = Vector2(39, 405)
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="ChooseLanguageLabel" type="Label" parent="ChooseLanguage" unique_id=1719434618]
|
||||
offset_left = 9.0
|
||||
offset_top = 10.0
|
||||
offset_right = 132.0
|
||||
offset_bottom = 40.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "SETTINGS_CHOOSELANG"
|
||||
|
||||
[node name="ChooseLanguage" type="OptionButton" parent="ChooseLanguage" unique_id=476490830]
|
||||
offset_left = 381.0
|
||||
offset_top = 5.0
|
||||
offset_right = 830.0
|
||||
offset_bottom = 60.0
|
||||
theme_override_font_sizes/font_size = 25
|
||||
item_count = 2
|
||||
popup/item_0/text = "en"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "zh-cn"
|
||||
popup/item_1/id = 1
|
||||
|
||||
[node name="SaveButton" type="Button" parent="." unique_id=1377249836]
|
||||
offset_left = 147.0
|
||||
offset_left = 132.0
|
||||
offset_top = 1315.0
|
||||
offset_right = 311.0
|
||||
offset_right = 338.0
|
||||
offset_bottom = 1392.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "保存设置"
|
||||
text = "SETTINGS_SAVESETTINGS"
|
||||
|
||||
[node name="DownloadButton" type="Button" parent="." unique_id=315804661]
|
||||
offset_left = 598.0
|
||||
@@ -111,7 +136,7 @@ offset_right = 774.0
|
||||
offset_bottom = 1405.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "下载文件"
|
||||
text = "SETTINGS_DOWNLOAD"
|
||||
|
||||
[node name="CancelButton" type="Button" parent="." unique_id=135993345]
|
||||
offset_left = 371.0
|
||||
@@ -120,7 +145,7 @@ offset_right = 550.0
|
||||
offset_bottom = 1394.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "返回"
|
||||
text = "SETTINGS_BACK"
|
||||
|
||||
[node name="LoadButton" type="Button" parent="." unique_id=2015694853]
|
||||
offset_left = 135.0
|
||||
@@ -129,7 +154,7 @@ offset_right = 311.0
|
||||
offset_bottom = 1287.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "加载数据"
|
||||
text = "SETTINGS_LOAD"
|
||||
|
||||
[node name="Tips" type="Label" parent="." unique_id=1777076648]
|
||||
offset_left = 893.0
|
||||
@@ -138,7 +163,7 @@ offset_right = 1920.0
|
||||
offset_bottom = 1388.0
|
||||
theme_override_fonts/font = ExtResource("2_6wm04")
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "提示:无"
|
||||
text = "SETTINGS_TIP_NULL"
|
||||
|
||||
[connection signal="pressed" from="SaveButton" to="." method="_on_save_button_pressed"]
|
||||
[connection signal="pressed" from="DownloadButton" to="." method="_on_download_button_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user