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

fix: Add i18n key #427

Merged
merged 1 commit into from
Aug 6, 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
4 changes: 4 additions & 0 deletions presets/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type Messages struct {
NotFoundPageNotice string
ButtonLabelActionsMenu string
Save string
AddRow string
}

func (msgr *Messages) DeleteConfirmationText(id string) string {
Expand Down Expand Up @@ -149,6 +150,7 @@ var Messages_en_US = &Messages{
NotFoundPageNotice: "Sorry, the requested page cannot be found. Please check the URL.",
ButtonLabelActionsMenu: "Actions",
Save: "Save",
AddRow: "Add Row",
}

var Messages_zh_CN = &Messages{
Expand Down Expand Up @@ -205,6 +207,7 @@ var Messages_zh_CN = &Messages{
NotFoundPageNotice: "很抱歉,所请求的页面不存在,请检查URL。",
ButtonLabelActionsMenu: "菜单",
Save: "保存",
AddRow: "新增",
}

var Messages_ja_JP = &Messages{
Expand Down Expand Up @@ -260,4 +263,5 @@ var Messages_ja_JP = &Messages{
NotFoundPageNotice: "申し訳ありませんが、リクエストされたページは見つかりませんでした。URLを確認してください。",
ButtonLabelActionsMenu: "メニュー",
Save: "Save (need JP translation)",
AddRow: "Add Row (need JP translation)",
}
1 change: 1 addition & 0 deletions publish/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ var Messages_ja_JP = &Messages{
NamedVersions: "名付け済みバージョン",
RenameVersion: "バージョンの名前を変更する",
DeleteVersionConfirmationTextTemplate: "このバージョン {VersionName} を削除してもよろしいですか?",
Duplicate: "Duplicate(need JP translation)",

FilterTabAllVersions: "全てのバージョン",
FilterTabOnlineVersion: "オンラインバージョン",
Expand Down
Loading