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

Update translation.json for Chinese translation #18

Merged
merged 1 commit into from
Apr 8, 2020
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
28 changes: 28 additions & 0 deletions locales/zh/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"Turnip Calculator": "大头菜计算器",
"ACNH Turnip Calculator": "动物森友会大头菜计算器",
"Buy Price": "购买价格",
"Daily Price": "每日价格",
"Guaranteed Min": "保底价格",
"Average": "平均价格",
"Maximum": "最高价格",
"Minimum": "最低价格",
"Mon Tue Wed Thu Fri Sat": "周一 周二 周三 周四 周五 周六",
"AM": "上午",
"PM": "下午",
"Clear All Data!": "清除全部数据!",
"Usage": "使用方法",
"buyPriceInfo": "- <1>购买价格</1>是指自己岛上的的价格,在其他岛上购买大头菜不会影响此数值",
"priceChangeInfo": "- 价格<1>每天变动两次。</1>请确保记录下它们(这些数据将保存在你的设备上)。",
"guaranteedMinInfo": "- <1>保底价格</1>是指在本周的某个时间段里,你一定能遇到此价格或更高价格",
"Changelog": "更新日志",
"changelog1.1": "1.1: 清除数据按钮! 谨慎使用!",
"changelog1.2a": "1.2a: 修复模型范围",
"changelog1.3": "1.3: 动画修复。新的图标(<1>@mtaylor76</1>)。新的购买价格标记(<3>@pudquick</3>)!",
"changelog1.4": "1.4: 保底价格(<1>@capoferro & @nanoNago</1>)。本地化支持(<3>@mtaylor76</3>。法语本地化(<5>@Ekaekale</5>)。新的货币图标(<7>@alyphen</7>)。BUG反馈(<9>@FoxFireX</9>)。",
"About": "关于",
"about1": "没有<2>@_Ninji</2>的努力,这一切都不可能实现。",
"about2": "我从<2>mikebryant</2>的工作得到了灵感。",
"about3": "最后但并非不重要的一点,感谢我的兄弟帮忙设计,他是一名游戏开发者! 在Twitter上关注他:<2>@Consalv0</2>。",
"about4": "发现一个BUG?在<2>这里</2>反馈。"
}
4 changes: 4 additions & 0 deletions src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import translationEn from "../locales/en/translation.json";
import translationEs from "../locales/es/translation.json";
import translationDe from "../locales/de/translation.json";
import translationFr from "../locales/fr/translation.json";
import translationZh from "../locales/zh/translation.json";

i18n
.use(XHR)
Expand Down Expand Up @@ -40,6 +41,9 @@ i18n
},
fr: {
translations: translationFr
},
zh: {
translations: translationZh
}
},

Expand Down