Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add chinese to the language dropdown #707

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
)
Loading