Skip to content

Commit

Permalink
add chinese to the laguage dropdown (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreacot authored Nov 28, 2024
1 parent 5c2808a commit c039915
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/page/start_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func (sp *startPage) initPage() {
{Text: titler.String(values.StrEnglish)},
{Text: titler.String(values.StrFrench)},
{Text: titler.String(values.StrSpanish)},
{Text: titler.String(values.StrChinese)},
}, nil, values.MarginPadding120, values.StartPageDropdownGroup, false)

sp.onBoardingScreens = []onBoardingScreen{
Expand Down
1 change: 1 addition & 0 deletions ui/preference/list_preference.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var (
{Key: localizable.ENGLISH, Value: values.StrEnglish},
{Key: localizable.FRENCH, Value: values.StrFrench},
{Key: localizable.SPANISH, Value: values.StrSpanish},
{Key: localizable.CHINESE, Value: values.StrChinese},
}

// LogOptions are the selectable debug levels.
Expand Down
1 change: 1 addition & 0 deletions ui/values/localizable/en.go
Original file line number Diff line number Diff line change
Expand Up @@ -959,4 +959,5 @@ const EN = `
"removeRecipientWarning" = "Are you sure you want to proceed with removing the recipient?"
"unexpectedErrorMsgFmt" = "Something unexpected happened: %s"
"unexpectedError" = "Unexpected Error"
"chinese" = "Chinese"
`
1 change: 1 addition & 0 deletions ui/values/localizable/es.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,4 +526,5 @@ syncCompTime" = "Est. sync completion time"
"mixedAccHidden" = "La cuenta mixta está oculta"
"mixedAccDisabled" = "La recepción en una cuenta mixta está deshabilitada por la configuración de StakeShuffle para proteger su privacidad"
"totalValue" = "Total Value" //TODO
"chinese" = "Chinese"
`
1 change: 1 addition & 0 deletions ui/values/localizable/fr.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,4 +503,5 @@ const FR = `
"mixedAccHidden" = "Le compte mixte est caché"
"mixedAccDisabled" = "La réception sur un compte mixte est désactivée par les paramètres StakeShuffle pour protéger votre vie privée"
"totalValue" = "Total Value" //TODO
"chinese" = "Chinese"
`
1 change: 1 addition & 0 deletions ui/values/localizable/zh.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,4 +904,5 @@ const ZH = `
"removeRecipientWarning" = "您确定要继续移除该收款人吗?"
"unexpectedErrorMsgFmt" = "发生了意外的错误:%s"
"unexpectedError" = "意外错误"
"chinese" = "Chinese"
`
1 change: 1 addition & 0 deletions ui/values/strings.go
Original file line number Diff line number Diff line change
Expand Up @@ -1068,4 +1068,5 @@ const (
StrRemoveRecipientWarning = "removeRecipientWarning"
StrUnexpectedErrorMsgFmt = "unexpectedErrorMsgFmt"
StrUnexpectedError = "unexpectedError"
StrChinese = "chinese"
)

0 comments on commit c039915

Please sign in to comment.