本地化

dev_chengFeng
jiaoyangna 2021-03-07 17:00:50 +08:00
parent d62263859c
commit 6d985b13e2
4 changed files with 31 additions and 30 deletions

View File

@ -34,7 +34,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 91, y: -52.5}
m_AnchoredPosition: {x: 95.6, y: -52.5}
m_SizeDelta: {x: 210.9, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &95890888
@ -2844,7 +2844,7 @@ MonoBehaviour:
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 11.15-11.28
@ -2882,8 +2882,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100.24, y: -52.5}
m_SizeDelta: {x: 543.53, y: 50}
m_AnchoredPosition: {x: 124, y: -52.5}
m_SizeDelta: {x: 210.9, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5141270839687492266
CanvasRenderer:
@ -2923,7 +2923,7 @@ MonoBehaviour:
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_HorizontalOverflow: 1
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\uFF08\u5269\u4F59\u65F6\u95F4\uFF1A05:02:53\uFF09"

View File

@ -559,8 +559,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 1.5999999, y: -80.600006}
m_SizeDelta: {x: 150, y: 31.18}
m_AnchoredPosition: {x: 1.5999999, y: -93}
m_SizeDelta: {x: 150, y: 56}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &798116320357788934
CanvasRenderer:
@ -594,15 +594,15 @@ MonoBehaviour:
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 1
m_BestFit: 1
m_MinSize: 14
m_MaxSize: 30
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 0.7
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: lv 1
--- !u!1 &576510005279015588
GameObject:
@ -1093,8 +1093,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 1.5999999, y: -80.600006}
m_SizeDelta: {x: 81.99, y: 31.18}
m_AnchoredPosition: {x: 1.6, y: -88.2}
m_SizeDelta: {x: 153.2, y: 52.7}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &797259421257327180
CanvasRenderer:
@ -1128,14 +1128,14 @@ MonoBehaviour:
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 1
m_BestFit: 1
m_MinSize: 14
m_MaxSize: 30
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "d\u7B49\u7EA71"
LanguageIndex: 0

View File

@ -1988,8 +1988,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 122.402466, y: 37.29016}
m_SizeDelta: {x: 94, y: 34.5}
m_AnchoredPosition: {x: 228.2, y: 33.2}
m_SizeDelta: {x: 320.8, y: 42.7}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2878907979627942363
CanvasRenderer:
@ -2023,14 +2023,14 @@ MonoBehaviour:
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
m_FontSize: 28
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 6
m_BestFit: 1
m_MinSize: 14
m_MaxSize: 28
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 0
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u5171\u9E23\u6548\u679C\u8BE6\u60C5"
LanguageIndex: 10145

View File

@ -21,7 +21,7 @@ function RoleAwakeSuccessPanel:InitComponent()
this.proImage = Util.GetGameObject(self.transform, "heroInfo/nameAndPossLayout/proImage/proImage"):GetComponent("Image")
this.starGrid = Util.GetGameObject(self.transform, "heroInfo/sartAndLvLayout")
this.posBgImage=Util.GetGameObject(self.transform,"Pos"):GetComponent("Image")
this.posText=Util.GetGameObject(self.transform,"Pos/PosText"):GetComponent("Text")
this.posText=Util.GetGameObject(this.posBgImage.gameObject,"PosText"):GetComponent("Text")
this.lvEndInfo=Util.GetGameObject(self.transform, "proInfo/lvEndText"):GetComponent("Text")
@ -76,6 +76,7 @@ function RoleAwakeSuccessPanel:OnOpen(_curHeroData,_nextHeroUpStarId,_curHeroRan
this.heroName.text =GetLanguageStrById(curHeroData.heroConfig.ReadingName)
this.posBgImage.sprite=Util.LoadSprite(GetHeroPosBgStr(curHeroData.heroConfig.Profession))
this.posText.text=GetLanguageStrById(curHeroData.heroConfig.HeroLocation)
SetTextVerTial(this.posText.transform,Vector3.New(70,0,0))
this.lvEndInfo.text=string.format(Language[11791],curHeroRankUpConfigOpenLevel)
local TalentData = this.GetNewTalentDataShow()
LogPink("TalentData "..#TalentData)