feat: 完成对游戏当前内容的翻译

This commit is contained in:
2026-04-01 09:33:43 +08:00
parent feb5d4b030
commit 42f36a142e
4 changed files with 12 additions and 7 deletions
+6
View File
@@ -2,8 +2,14 @@ keys,en,zh-cn
en,English,English en,English,English
zh-cn,简体中文,简体中文 zh-cn,简体中文,简体中文
MAINMENU_TITLE,Paper Chemis Community,纸片化学社区版 MAINMENU_TITLE,Paper Chemis Community,纸片化学社区版
UI_CONFIRM,Confirm,确定
MAINMENU_CREATEGAME,Create LAN Game,创建局域网游戏 MAINMENU_CREATEGAME,Create LAN Game,创建局域网游戏
MAINMENU_INPUTPLAYERNUM,Please Input max Player Number (2~4),请输入最大玩家数24
MAINMENU_PLAYERNUMERROR,Error! Please Input an integer between 2 and 4,输入数据错误请输入24之间的整数
MAINMENU_CREATEROOM,Create Room,创建房间
MAINMENU_JOINGAME,Join LAN Game,加入局域网游戏 MAINMENU_JOINGAME,Join LAN Game,加入局域网游戏
MAINMENU_INPUTSERVERIP,Please Input IP Address (No Port),请输入服务器IP无需加端口
MAINMENU_JOINROOM,Join Room,加入房间
MAINMENU_QUITGAME,Quit Game,退出游戏 MAINMENU_QUITGAME,Quit Game,退出游戏
MAINMENU_SETTINGS,Settings,设置 MAINMENU_SETTINGS,Settings,设置
SETTINGS_SETSOURCE,Set Data Source,数据源设置 SETTINGS_SETSOURCE,Set Data Source,数据源设置
1 keys en zh-cn
2 en English English
3 zh-cn 简体中文 简体中文
4 MAINMENU_TITLE Paper Chemis Community 纸片化学社区版
5 UI_CONFIRM Confirm 确定
6 MAINMENU_CREATEGAME Create LAN Game 创建局域网游戏
7 MAINMENU_INPUTPLAYERNUM Please Input max Player Number (2~4) 请输入最大玩家数(2~4)
8 MAINMENU_PLAYERNUMERROR Error! Please Input an integer between 2 and 4 输入数据错误!请输入2~4之间的整数!
9 MAINMENU_CREATEROOM Create Room 创建房间
10 MAINMENU_JOINGAME Join LAN Game 加入局域网游戏
11 MAINMENU_INPUTSERVERIP Please Input IP Address (No Port) 请输入服务器IP(无需加端口)
12 MAINMENU_JOINROOM Join Room 加入房间
13 MAINMENU_QUITGAME Quit Game 退出游戏
14 MAINMENU_SETTINGS Settings 设置
15 SETTINGS_SETSOURCE Set Data Source 数据源设置
Binary file not shown.
Binary file not shown.
+6 -7
View File
@@ -77,7 +77,7 @@ offset_right = 330.81818
offset_bottom = 224.0 offset_bottom = 224.0
theme_override_fonts/font = ExtResource("1_l6cm7") theme_override_fonts/font = ExtResource("1_l6cm7")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 36
text = "创建房间" text = "MAINMENU_CREATEROOM"
[node name="Label" type="Label" parent="CreateGameUI" unique_id=1494594728] [node name="Label" type="Label" parent="CreateGameUI" unique_id=1494594728]
offset_left = 131.0 offset_left = 131.0
@@ -85,7 +85,7 @@ offset_top = 88.0
offset_right = 326.0 offset_right = 326.0
offset_bottom = 126.0 offset_bottom = 126.0
theme_override_fonts/font = ExtResource("1_l6cm7") theme_override_fonts/font = ExtResource("1_l6cm7")
text = "请输入最大玩家数24" text = "MAINMENU_INPUTPLAYERNUM"
[node name="Warn" type="Node2D" parent="CreateGameUI" unique_id=961920457] [node name="Warn" type="Node2D" parent="CreateGameUI" unique_id=961920457]
visible = false visible = false
@@ -102,7 +102,7 @@ offset_left = 167.0
offset_top = 125.0 offset_top = 125.0
offset_right = 279.0 offset_right = 279.0
offset_bottom = 188.0 offset_bottom = 188.0
text = "确定" text = "UI_CONFIRM"
[node name="WarnLabel" type="Label" parent="CreateGameUI/Warn" unique_id=320937650] [node name="WarnLabel" type="Label" parent="CreateGameUI/Warn" unique_id=320937650]
offset_left = 126.0 offset_left = 126.0
@@ -110,8 +110,7 @@ offset_top = 64.0
offset_right = 316.0 offset_right = 316.0
offset_bottom = 107.0 offset_bottom = 107.0
theme_override_fonts/font = ExtResource("1_l6cm7") theme_override_fonts/font = ExtResource("1_l6cm7")
text = "输入数据错误! text = "MAINMENU_PLAYERNUMERROR"
请输入24之间的整数"
horizontal_alignment = 1 horizontal_alignment = 1
[node name="JoinGameUI" type="Node2D" parent="." unique_id=1134060090] [node name="JoinGameUI" type="Node2D" parent="." unique_id=1134060090]
@@ -138,7 +137,7 @@ offset_right = 330.81818
offset_bottom = 224.0 offset_bottom = 224.0
theme_override_fonts/font = ExtResource("1_l6cm7") theme_override_fonts/font = ExtResource("1_l6cm7")
theme_override_font_sizes/font_size = 36 theme_override_font_sizes/font_size = 36
text = "加入房间" text = "MAINMENU_JOINROOM"
[node name="Label" type="Label" parent="JoinGameUI" unique_id=1927653368] [node name="Label" type="Label" parent="JoinGameUI" unique_id=1927653368]
offset_left = 131.0 offset_left = 131.0
@@ -146,7 +145,7 @@ offset_top = 88.0
offset_right = 326.0 offset_right = 326.0
offset_bottom = 126.0 offset_bottom = 126.0
theme_override_fonts/font = ExtResource("1_l6cm7") theme_override_fonts/font = ExtResource("1_l6cm7")
text = "请输入服务器IP无需加端口" text = "MAINMENU_INPUTSERVERIP"
[node name="SettingButton" type="Button" parent="." unique_id=1367541903] [node name="SettingButton" type="Button" parent="." unique_id=1367541903]
offset_left = 1998.0 offset_left = 1998.0