feat(localization): 注册 Params 本地化表并更新 Addressables 配置

This commit is contained in:
2026-05-01 16:46:51 +08:00
parent 6679cc1fbd
commit ff7cb41c47
24 changed files with 249 additions and 463 deletions
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 489d5ad21acd0fd4aa46382764bfc4bb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,56 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5b11a58205ec3474ca216360e9fa74a8, type: 3}
m_Name: Params Shared Data
m_EditorClassIdentifier:
m_TableCollectionName: Params
m_TableCollectionNameGuidString: 4a2d391471bd9cd439150c52659e9846
m_Entries:
- m_Id: 8060407808
m_Key: "\u5929\u7A7A"
m_Metadata:
m_Items: []
- m_Id: 186687426560
m_Key: "\u6D77\u62A5"
m_Metadata:
m_Items: []
- m_Id: 203737272320
m_Key: "\u690D\u7269"
m_Metadata:
m_Items: []
- m_Id: 232321454080
m_Key: "\u670B\u53CB"
m_Metadata:
m_Items: []
- m_Id: 38228265868734464
m_Key: "\u60C5\u7EEA"
m_Metadata:
m_Items: []
- m_Id: 38228311804751872
m_Key: "\u8BB0\u5FC6"
m_Metadata:
m_Items: []
- m_Id: 38228890660646912
m_Key: "\u903B\u8F91"
m_Metadata:
m_Items: []
m_Metadata:
m_Items: []
m_KeyGenerator:
rid: 6481190724515659778
references:
version: 2
RefIds:
- rid: 6481190724515659778
type: {class: DistributedUIDGenerator, ns: UnityEngine.Localization.Tables, asm: Unity.Localization}
data:
m_CustomEpoch: 1777552912829
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4a2d391471bd9cd439150c52659e9846
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+24
View File
@@ -0,0 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5be51871efa6c3e4eae1703925c8f5ac, type: 3}
m_Name: Params
m_EditorClassIdentifier:
m_SharedTableData: {fileID: 11400000, guid: 4a2d391471bd9cd439150c52659e9846, type: 2}
m_Tables:
- {fileID: 11400000, guid: 9248cb179e7aafa4c903f1fc54b41ef7, type: 2}
- {fileID: 11400000, guid: aeb318c895d57014b89d5540c6baff95, type: 2}
- {fileID: 11400000, guid: 9ed23d1d910a1a147ba5c316a87cbad4, type: 2}
m_Extensions: []
m_Group: String Table
references:
version: 2
RefIds: []
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2621138114828134c921e6ec88ed82bf
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+51
View File
@@ -0,0 +1,51 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e9620f8c34305754d8cc9a7e49e852d9, type: 3}
m_Name: Params_en
m_EditorClassIdentifier:
m_LocaleId:
m_Code: en
m_SharedData: {fileID: 11400000, guid: 4a2d391471bd9cd439150c52659e9846, type: 2}
m_Metadata:
m_Items: []
m_TableData:
- m_Id: 8060407808
m_Localized: Sky
m_Metadata:
m_Items: []
- m_Id: 186687426560
m_Localized: Poster
m_Metadata:
m_Items: []
- m_Id: 203737272320
m_Localized: Plant
m_Metadata:
m_Items: []
- m_Id: 232321454080
m_Localized: Friend
m_Metadata:
m_Items: []
- m_Id: 38228265868734464
m_Localized: Emo
m_Metadata:
m_Items: []
- m_Id: 38228311804751872
m_Localized: Memory
m_Metadata:
m_Items: []
- m_Id: 38228890660646912
m_Localized: Logic
m_Metadata:
m_Items: []
references:
version: 2
RefIds: []
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9248cb179e7aafa4c903f1fc54b41ef7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+1 -1
View File
@@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_LocaleId:
m_Code: ja-JP
m_SharedData: {fileID: 11400000, guid: 011b21a8c75449e4a982549cebc1a6ca, type: 2}
m_SharedData: {fileID: 11400000, guid: 4a2d391471bd9cd439150c52659e9846, type: 2}
m_Metadata:
m_Items: []
m_TableData:
@@ -0,0 +1,51 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e9620f8c34305754d8cc9a7e49e852d9, type: 3}
m_Name: Params_zh-Hans
m_EditorClassIdentifier:
m_LocaleId:
m_Code: zh-Hans
m_SharedData: {fileID: 11400000, guid: 4a2d391471bd9cd439150c52659e9846, type: 2}
m_Metadata:
m_Items: []
m_TableData:
- m_Id: 8060407808
m_Localized: "\u5929\u7A7A"
m_Metadata:
m_Items: []
- m_Id: 186687426560
m_Localized: "\u6D77\u62A5"
m_Metadata:
m_Items: []
- m_Id: 203737272320
m_Localized: "\u690D\u7269"
m_Metadata:
m_Items: []
- m_Id: 232321454080
m_Localized: "\u670B\u53CB"
m_Metadata:
m_Items: []
- m_Id: 38228265868734464
m_Localized: "\u60C5\u7EEA"
m_Metadata:
m_Items: []
- m_Id: 38228311804751872
m_Localized: "\u8BB0\u5FC6"
m_Metadata:
m_Items: []
- m_Id: 38228890660646912
m_Localized: "\u903B\u8F91"
m_Metadata:
m_Items: []
references:
version: 2
RefIds: []
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: aeb318c895d57014b89d5540c6baff95
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -43,7 +43,6 @@ MonoBehaviour:
m_TableCodes:
- en
- zh-Hans
- ja-JP
- m_KeyId: 28253191807176704
m_TableCodes:
- en
@@ -22,10 +22,6 @@ MonoBehaviour:
m_Localized: 4b7004709baa3f942998e7994b48bd38[SignHere]
m_Metadata:
m_Items: []
- m_Id: 112653754368
m_Localized: 032b1b5e09139ae45b6de51d35baae79[discord-square-color-icon]
m_Metadata:
m_Items: []
references:
version: 2
RefIds: []