feat: 實作語言切換功能
This commit is contained in:
43
lib/l10n/intl_en.arb
Normal file
43
lib/l10n/intl_en.arb
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"email_label": "Email/Username",
|
||||
"password_label": "Password",
|
||||
"login_button": "Login",
|
||||
"logout_button": "Logout",
|
||||
"register_button": "Register",
|
||||
"forgot_password": "Forgot password",
|
||||
"realtime_video": "Live View",
|
||||
"fall_record": "Fall Record",
|
||||
"switch_camera": "Switch View",
|
||||
"additional_information": "Knowledge",
|
||||
"personal_information": "Profile",
|
||||
|
||||
"home": "Home",
|
||||
|
||||
"basic_information_setting": "Basic Information",
|
||||
"account_setting": "Account",
|
||||
"language_setting": "Language",
|
||||
"call_phone": "Call Emergency Phone",
|
||||
|
||||
"name": "Name",
|
||||
"phone" : "Phone Number",
|
||||
"gender": "Gender",
|
||||
"address": "Address",
|
||||
"edit": "Edit",
|
||||
"save": "Save",
|
||||
|
||||
"email": "Email",
|
||||
|
||||
"fall_id": "ID: {displayIndex}",
|
||||
"fall_detail": "Time: {time}\nReason: {reason},\nLocation: {location}\n",
|
||||
"fall_detail_title": "Fall Detail",
|
||||
"fall_detail_reason": "Reason: {reason}",
|
||||
"fall_detail_location": "Location: {location}",
|
||||
"fall_detail_time": "Time: {time}",
|
||||
"fall_record_empty": "No fall record",
|
||||
|
||||
"language_setting_alert_title": "Language Setting",
|
||||
"language_alert": "Return to the home page to complete the language setting(Confirm to redirect), otherwise some languages will not be updated in real time!",
|
||||
"language_alert_android": "Reopen the APP to complete the language setting, otherwise some languages will not be updated in real time!",
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Confirm"
|
||||
}
|
||||
45
lib/l10n/intl_zh_Hant.arb
Normal file
45
lib/l10n/intl_zh_Hant.arb
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"email_label": "電子信箱/帳號",
|
||||
"password_label": "密碼",
|
||||
"login_button": "登入",
|
||||
"logout_button": "登出",
|
||||
"register_button": "立即註冊",
|
||||
"forgot_password": "忘記密碼",
|
||||
|
||||
"realtime_video": "即時畫面",
|
||||
"fall_record": "跌倒紀錄",
|
||||
"switch_camera": "切換畫面",
|
||||
"additional_information": "知識補充",
|
||||
"personal_information": "個人資料",
|
||||
|
||||
"home": "首頁",
|
||||
|
||||
"basic_information_setting": "基本資料",
|
||||
"account_setting": "帳號設定",
|
||||
"language_setting": "語言設定",
|
||||
"call_phone": "撥打電話",
|
||||
|
||||
"name": "姓名",
|
||||
"phone": "電話",
|
||||
"gender": "性別",
|
||||
"address": "地址",
|
||||
"edit": "修改資料",
|
||||
"save": "儲存變更",
|
||||
|
||||
"email": "電子信箱",
|
||||
|
||||
"fall_id": "編號: {displayIndex}",
|
||||
"fall_detail": "跌倒時間: {time}\n跌倒原因: {reason},\n跌倒地點: {location}\n",
|
||||
"fall_detail_title": "詳細資料",
|
||||
"fall_detail_reason": "跌倒原因: {reason}",
|
||||
"fall_detail_location": "跌倒地點: {location}",
|
||||
"fall_detail_time": "跌倒時間: {time}",
|
||||
"fall_record_empty": "尚無跌倒紀錄",
|
||||
|
||||
"language_setting_alert_title": "語言設定",
|
||||
"language_alert": "跳轉回首頁以完成語言設定,否則會有部分語言無法即時更新!",
|
||||
"language_alert_android": "重新開啟APP以完成語言設定,否則會有部分語言無法即時更新!",
|
||||
"cancel": "取消",
|
||||
"confirm": "確認"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user