diff --git a/assets/translations/strings_zh-TW.i18n.json b/assets/translations/strings_zh-TW.i18n.json index 12dc52a0..b4df05ab 100644 --- a/assets/translations/strings_zh-TW.i18n.json +++ b/assets/translations/strings_zh-TW.i18n.json @@ -14,7 +14,7 @@ "addToClipboard": "新增到剪貼簿" }, "intro": { - "termsAndPolicyCaution(rich)": "繼續即表示您同意 ${tap( @:about .termsAndConditions)}", + "termsAndPolicyCaution(rich)": "繼續即表示您同意 ${tap(@:about.termsAndConditions)}", "start": "開始" }, "home": { @@ -45,7 +45,7 @@ "nonActiveProfileBtnSemanticLabel": "選擇“${name}”作為活動設定檔。", "subscription": { "traffic": "流量", - "updatedTimeAgo": "更新${時間前}", + "updatedTimeAgo": "更新${timeago}", "remainingDuration": "剩餘 ${duration} 天", "remainingTrafficSemanticLabel": "已使用 ${consumed} 流量,總共 ${total} 流量。", "expired": "已到期", @@ -271,7 +271,7 @@ "appUpdate": { "notAvailableMsg": "已經是最新版本", "dialogTitle": "有可用更新", - "updateMsg": "@:general .appTitle 的更新版本現已推出。您想現在更新嗎?", + "updateMsg": "@:general.appTitle 的更新版本現已推出。您想現在更新嗎?", "currentVersionLbl": "目前版本", "newVersionLbl": "新版本", "updateNowBtnTxt": "現在更新", diff --git a/lib/core/localization/locale_extensions.dart b/lib/core/localization/locale_extensions.dart index 96de1686..99b2d977 100644 --- a/lib/core/localization/locale_extensions.dart +++ b/lib/core/localization/locale_extensions.dart @@ -9,7 +9,8 @@ extension AppLocaleX on AppLocale { "en" => "English", "fa" => "فارسی", "ru" => "Русский", - "zh" || "zh_CN" => "中文", + "zh" || "zh_CN" => "中文 (中国)", + "zh_TW" => "中文 (台湾)", "tr" => "Türkçe", "es" => "Spanish", _ => "Unknown",