Skip to content

Commit

Permalink
fix: Weblate simplified Chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBursch committed Aug 8, 2023
1 parent c69eb66 commit 8da209d
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 62 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ android {
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
resConfigs 'en', 'be', 'cs', 'da', 'de', 'el', 'es', 'fi', 'fr', 'hu', 'id', 'it', 'nb', 'nl', 'pa', 'pl', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh_Hans'
resConfigs 'en', 'be', 'cs', 'da', 'de', 'el', 'es', 'fi', 'fr', 'hu', 'id', 'it', 'nb', 'nl', 'pa', 'pl', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
}

signingConfigs {
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/xml/locales_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
<locale android:name="ru"/>
<locale android:name="sv"/>
<locale android:name="tr"/>
<locale android:name="zh-Hans"/>
<locale android:name="zh"/>
</locale-config>
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<string>ru</string>
<string>sv</string>
<string>tr</string>
<string>zh-Hans</string>
<string>zh</string>
</array>
<key>CFBundleName</key>
<string>kitchenowl</string>
Expand Down
59 changes: 58 additions & 1 deletion lib/l10n/app_zh.arb
Original file line number Diff line number Diff line change
@@ -1 +1,58 @@
{}
{
"accountCreateTitle": "新建你的 KitchenOwl 账号",
"@accountCreateTitle": {},
"accountDelete": "删除账号",
"@accountDelete": {},
"accountDeleteConfirmation": "确定要删除你的账号吗?",
"@accountDeleteConfirmation": {},
"add": "新增",
"@add": {},
"addCategory": "新增分类",
"@addCategory": {},
"addDescriptionFromSource": "新增来自来源处的描述",
"@addDescriptionFromSource": {},
"addedBy": "由 {name} 添加",
"@addedBy": {
"placeholders": {
"name": {}
}
},
"addItemTitle": "新增物品",
"@addItemTitle": {},
"addLanguage": "新增语言",
"@addLanguage": {},
"addNumberIngredients": "新增 {number} 个原料",
"@addNumberIngredients": {
"placeholders": {
"number": {}
}
},
"addRecipeToPlanner": "添加到膳食计划({number}份)",
"@addRecipeToPlanner": {
"placeholders": {
"number": {}
}
},
"about": "关于",
"@about": {},
"accountCreate": "新建账号",
"@accountCreate": {},
"addLanguageConfirm": "确定要将语言设置为 '{lang}' 吗?这个操作不能被撤销,并且会在你的房屋中新增物品和分类。",
"@addLanguageConfirm": {
"placeholders": {
"lang": {}
}
},
"addRecipeToPlannerShort": "添加到膳食计划",
"@addRecipeToPlannerShort": {
"description": "A shorter title/button text used wherever the space is limited. Excludes the number of yields."
},
"address": "地址",
"@address": {},
"addShoppingList": "新增购物清单",
"@addShoppingList": {},
"addTag": "新增标签",
"@addTag": {},
"admin": "管理员",
"@admin": {}
}
58 changes: 0 additions & 58 deletions lib/l10n/app_zh_Hans.arb

This file was deleted.

0 comments on commit 8da209d

Please sign in to comment.