多语言模块

This commit is contained in:
2025-08-12 19:49:50 +08:00
parent 83370bd0ef
commit 707946304e
43 changed files with 1977 additions and 1305 deletions
+135 -111
View File
@@ -28,23 +28,23 @@
"__id__": 112
},
{
"__id__": 211
"__id__": 213
}
],
"_active": true,
"_components": [
{
"__id__": 241
},
{
"__id__": 243
},
{
"__id__": 245
},
{
"__id__": 247
}
],
"_prefab": {
"__id__": 247
"__id__": 249
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -103,23 +103,23 @@
"__id__": 150
},
{
"__id__": 196
"__id__": 198
}
],
"_active": true,
"_components": [
{
"__id__": 204
},
{
"__id__": 206
},
{
"__id__": 208
},
{
"__id__": 210
}
],
"_prefab": {
"__id__": 210
"__id__": 212
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3410,23 +3410,23 @@
"__id__": 151
},
{
"__id__": 174
"__id__": 176
}
],
"_active": true,
"_components": [
{
"__id__": 189
},
{
"__id__": 191
},
{
"__id__": 193
},
{
"__id__": 195
}
],
"_prefab": {
"__id__": 195
"__id__": 197
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3475,9 +3475,6 @@
],
"_active": true,
"_components": [
{
"__id__": 164
},
{
"__id__": 166
},
@@ -3485,11 +3482,14 @@
"__id__": 168
},
{
"__id__": 171
"__id__": 170
},
{
"__id__": 173
}
],
"_prefab": {
"__id__": 173
"__id__": 175
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3695,10 +3695,13 @@
},
{
"__id__": 161
},
{
"__id__": 163
}
],
"_prefab": {
"__id__": 163
"__id__": 165
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -3825,6 +3828,27 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "c7ZJkEwKRCTajinGWIDefs"
},
{
"__type__": "d7e4fOii5xNLqH2PF6de4pP",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 158
},
"_enabled": true,
"__prefab": {
"__id__": 164
},
"languageKey": "chatpanel.inputplaceholder",
"defaultText": "",
"autoUpdate": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "47FCHFhs9Hur4PavpxytHf"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -3848,7 +3872,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 165
"__id__": 167
},
"_contentSize": {
"__type__": "cc.Size",
@@ -3876,7 +3900,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 167
"__id__": 169
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -3921,14 +3945,14 @@
},
"_enabled": true,
"__prefab": {
"__id__": 169
"__id__": 171
},
"editingDidBegan": [],
"textChanged": [],
"editingDidEnded": [],
"editingReturn": [
{
"__id__": 170
"__id__": 172
}
],
"_textLabel": {
@@ -3973,7 +3997,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 172
"__id__": 174
},
"_alignFlags": 44,
"_target": null,
@@ -4022,23 +4046,23 @@
},
"_children": [
{
"__id__": 175
"__id__": 177
}
],
"_active": true,
"_components": [
{
"__id__": 181
},
{
"__id__": 183
},
{
"__id__": 185
},
{
"__id__": 187
}
],
"_prefab": {
"__id__": 188
"__id__": 190
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4075,20 +4099,20 @@
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 174
"__id__": 176
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 176
"__id__": 178
},
{
"__id__": 178
"__id__": 180
}
],
"_prefab": {
"__id__": 180
"__id__": 182
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4125,11 +4149,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 175
"__id__": 177
},
"_enabled": true,
"__prefab": {
"__id__": 177
"__id__": 179
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4153,11 +4177,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 175
"__id__": 177
},
"_enabled": true,
"__prefab": {
"__id__": 179
"__id__": 181
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4234,11 +4258,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 174
"__id__": 176
},
"_enabled": true,
"__prefab": {
"__id__": 182
"__id__": 184
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4262,11 +4286,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 174
"__id__": 176
},
"_enabled": true,
"__prefab": {
"__id__": 184
"__id__": 186
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4307,15 +4331,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 174
"__id__": 176
},
"_enabled": true,
"__prefab": {
"__id__": 186
"__id__": 188
},
"clickEvents": [
{
"__id__": 187
"__id__": 189
}
],
"_interactable": true,
@@ -4367,7 +4391,7 @@
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": {
"__id__": 174
"__id__": 176
},
"_id": ""
},
@@ -4408,7 +4432,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 190
"__id__": 192
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4436,7 +4460,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 192
"__id__": 194
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4481,7 +4505,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 194
"__id__": 196
},
"_alignFlags": 44,
"_target": null,
@@ -4531,18 +4555,18 @@
"_children": [],
"_active": true,
"_components": [
{
"__id__": 197
},
{
"__id__": 199
},
{
"__id__": 201
},
{
"__id__": 203
}
],
"_prefab": {
"__id__": 203
"__id__": 205
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4579,11 +4603,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 196
"__id__": 198
},
"_enabled": true,
"__prefab": {
"__id__": 198
"__id__": 200
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4607,11 +4631,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 196
"__id__": 198
},
"_enabled": true,
"__prefab": {
"__id__": 200
"__id__": 202
},
"_alignFlags": 45,
"_target": null,
@@ -4643,11 +4667,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 196
"__id__": 198
},
"_enabled": true,
"__prefab": {
"__id__": 202
"__id__": 204
},
"_resourceType": 1,
"_remoteURL": "",
@@ -4690,7 +4714,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 205
"__id__": 207
},
"_contentSize": {
"__type__": "cc.Size",
@@ -4718,7 +4742,7 @@
},
"_enabled": false,
"__prefab": {
"__id__": 207
"__id__": 209
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -4763,7 +4787,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 209
"__id__": 211
},
"_alignFlags": 45,
"_target": null,
@@ -4812,20 +4836,20 @@
},
"_children": [
{
"__id__": 212
"__id__": 214
}
],
"_active": true,
"_components": [
{
"__id__": 236
"__id__": 238
},
{
"__id__": 238
"__id__": 240
}
],
"_prefab": {
"__id__": 240
"__id__": 242
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4862,24 +4886,24 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 211
"__id__": 213
},
"_children": [
{
"__id__": 213
"__id__": 215
}
],
"_active": true,
"_components": [
{
"__id__": 231
"__id__": 233
},
{
"__id__": 233
"__id__": 235
}
],
"_prefab": {
"__id__": 235
"__id__": 237
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4916,27 +4940,27 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 212
"__id__": 214
},
"_children": [
{
"__id__": 214
"__id__": 216
}
],
"_active": true,
"_components": [
{
"__id__": 224
},
{
"__id__": 226
},
{
"__id__": 228
},
{
"__id__": 230
}
],
"_prefab": {
"__id__": 230
"__id__": 232
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -4973,14 +4997,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 213
"__id__": 215
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 215
},
{
"__id__": 217
},
@@ -4989,10 +5010,13 @@
},
{
"__id__": 221
},
{
"__id__": 223
}
],
"_prefab": {
"__id__": 223
"__id__": 225
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -5029,11 +5053,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 214
"__id__": 216
},
"_enabled": true,
"__prefab": {
"__id__": 216
"__id__": 218
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5057,11 +5081,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 214
"__id__": 216
},
"_enabled": true,
"__prefab": {
"__id__": 218
"__id__": 220
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5102,11 +5126,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 214
"__id__": 216
},
"_enabled": true,
"__prefab": {
"__id__": 220
"__id__": 222
},
"_alignFlags": 12,
"_target": null,
@@ -5138,11 +5162,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 214
"__id__": 216
},
"_enabled": true,
"__prefab": {
"__id__": 222
"__id__": 224
},
"clickEvents": [],
"_interactable": true,
@@ -5207,11 +5231,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 213
"__id__": 215
},
"_enabled": true,
"__prefab": {
"__id__": 225
"__id__": 227
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5235,11 +5259,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 213
"__id__": 215
},
"_enabled": true,
"__prefab": {
"__id__": 227
"__id__": 229
},
"_type": 3,
"_inverted": false,
@@ -5257,11 +5281,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 213
"__id__": 215
},
"_enabled": true,
"__prefab": {
"__id__": 229
"__id__": 231
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5315,11 +5339,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 212
"__id__": 214
},
"_enabled": true,
"__prefab": {
"__id__": 232
"__id__": 234
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5343,11 +5367,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 212
"__id__": 214
},
"_enabled": true,
"__prefab": {
"__id__": 234
"__id__": 236
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -5401,11 +5425,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 211
"__id__": 213
},
"_enabled": true,
"__prefab": {
"__id__": 237
"__id__": 239
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5429,14 +5453,14 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 211
"__id__": 213
},
"_enabled": true,
"__prefab": {
"__id__": 239
"__id__": 241
},
"image": {
"__id__": 217
"__id__": 219
},
"_id": ""
},
@@ -5467,7 +5491,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 242
"__id__": 244
},
"_contentSize": {
"__type__": "cc.Size",
@@ -5495,7 +5519,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 244
"__id__": 246
},
"_alignFlags": 45,
"_target": null,
@@ -5531,11 +5555,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 246
"__id__": 248
},
"m_rootNode": null,
"editBox": {
"__id__": 168
"__id__": 170
},
"girlName": {
"__id__": 24
@@ -5547,7 +5571,7 @@
"__id__": 77
},
"popUpImage": {
"__id__": 238
"__id__": 240
},
"_id": ""
},