Skip to content

Commit 12353eb

Browse files
committed
Add Chinese localization
1 parent 6ce5696 commit 12353eb

2 files changed

Lines changed: 9 additions & 26 deletions

File tree

lib/design/dimensions.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ class CustomString {
4646
"disconnecting": "กำลังตัดการเชื่อมต่อ",
4747
"all_apps": "แอปทั้งหมด",
4848
}[key]!;
49+
case 'zh':
50+
return {
51+
"connected": "已连接",
52+
"disconnected": "已断开",
53+
"connecting": "正在连接",
54+
"disconnecting": "正在断开",
55+
"all_apps": "所有应用",
56+
}[key]!;
4957
case 'en':
5058
default:
5159
return {
@@ -59,6 +67,7 @@ class CustomString {
5967
}
6068
}
6169

70+
6271
// style
6372
const double elevation0 = 0;
6473

lib/l10n/app_zh_cn.arb

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)