Skip to content

Commit

Permalink
feat(locale): add locale for new version ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Jan 5, 2022
1 parent d95ff6b commit 445e97c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
18 changes: 15 additions & 3 deletions src/renderer/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,11 @@
"fabric": {
"disable": "Disable Fabric",
"noVersion": "No Fabric Version for Minecraft {version}",
"showStableOnly": "Show Stable Only"
"showStableOnly": "Show Stable Only",
"version": {
"stable": "Stable",
"unstable": "Unstable"
}
},
"feedback": {
"": "Feedback",
Expand Down Expand Up @@ -268,7 +272,11 @@
"recommended": "Recommended",
"recommendedAndLatestOnly": "Recommended and Latest Only",
"showBuggy": "Show Buggy",
"version": "Forge Version"
"version": "Forge Version",
"versions": {
"latest": "Latest",
"recommended": "Recommended"
}
},
"gamesetting": {
"anaglyph3d": {
Expand Down Expand Up @@ -536,7 +544,11 @@
"noVersion": "Cannot load Minecraft versions",
"settings": "Minecraft Settings",
"showAlpha": "Show Snapshot",
"version": "Minecraft Version"
"version": "Minecraft Version",
"versions": {
"release": "Release",
"snapshot": "Snapshot"
}
},
"mod": {
"acceptVersion": "Accept Minecraft {version}",
Expand Down
18 changes: 15 additions & 3 deletions src/renderer/assets/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,11 @@
"fabric": {
"disable": "不启用 Fabric",
"noVersion": "在 Minecraft {version} 下未找到任何 Fabric 版本",
"showStableOnly": "只显示稳定版"
"showStableOnly": "只显示稳定版",
"version": {
"stable": "稳定版",
"unstable": "预览版"
}
},
"feedback": {
"": "反馈",
Expand Down Expand Up @@ -251,7 +255,11 @@
"recommended": "稳定版",
"recommendedAndLatestOnly": "只显示最新版和稳定版",
"showBuggy": "显示Buggy版",
"version": "Forge"
"version": "Forge",
"versions": {
"latest": "最新版",
"recommended": "稳定版"
}
},
"gamesetting": {
"anaglyph3d": {
Expand Down Expand Up @@ -518,7 +526,11 @@
"noVersion": "无法加载 Minecraft 版本列表",
"settings": "Minecraft设置",
"showAlpha": "显示快照版",
"version": "Minecraft 版本"
"version": "Minecraft 版本",
"versions": {
"release": "正式版",
"snapshot": "快照版"
}
},
"mod": {
"acceptVersion": "需要 Minecraft {version}",
Expand Down

0 comments on commit 445e97c

Please sign in to comment.