strings.dart
6.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
class Ids {
static const String titleHome = 'title_home';
static const String titleEvents = 'title_events';
static const String titleRepos = 'title_repos';
static const String titleSystem = 'title_system';
static const String titleBookmarks = 'title_bookmarks';
static const String titleCollection = 'title_collection';
static const String titleSetting = 'title_setting';
static const String titleAbout = 'title_about';
static const String titleShare = 'title_share';
static const String titleSignOut = 'title_signout';
static const String titleLanguage = 'title_language';
static const String titleTheme = 'title_theme';
static const String titleAuthor = 'title_author';
static const String titleOther = 'title_other';
static const String languageAuto = 'language_auto';
static const String languageZH = 'language_zh';
static const String languageTW = 'language_tw';
static const String languageHK = 'language_hk';
static const String languageEN = 'language_en';
static const String save = 'save';
static const String more = 'more';
static const String recRepos = 'rec_repos';
static const String recWxArticle = 'rec_wxarticle';
static const String titleReposTree = 'title_repos_tree';
static const String titleWxArticleTree = 'title_wxarticle_tree';
static const String titleSystemTree = 'title_system_tree';
static const String user_name = 'user_name';
static const String user_pwd = 'user_pwd';
static const String user_re_pwd = 'user_re_pwd';
static const String user_login = 'user_login';
static const String user_register = 'user_register';
static const String user_forget_pwd = 'user_forget_pwd';
static const String user_new_user_hint = 'user_new_user_hint';
static const String confirm = 'confirm';
static const String cancel = 'cancel';
static const String jump_count = 'jump_count';
}
Map<String, Map<String, String>> localizedSimpleValues = {
'en': {
Ids.titleHome: 'Home',
Ids.titleRepos: 'Repos',
Ids.titleEvents: 'Events',
Ids.titleSystem: 'System',
Ids.titleBookmarks: 'Bookmarks',
Ids.titleSetting: 'Setting',
Ids.titleAbout: 'About',
Ids.titleShare: 'Share',
Ids.titleSignOut: 'Sign Out',
Ids.titleLanguage: 'Language',
Ids.languageAuto: 'Auto',
},
'zh': {
Ids.titleHome: '主页',
Ids.titleRepos: '项目',
Ids.titleEvents: '动态',
Ids.titleSystem: '体系',
Ids.titleBookmarks: '书签',
Ids.titleSetting: '设置',
Ids.titleAbout: '关于',
Ids.titleShare: '分享',
Ids.titleSignOut: '注销',
Ids.titleLanguage: '多语言',
Ids.languageAuto: '跟随系统',
},
};
Map<String, Map<String, Map<String, String>>> localizedValues = {
'en': {
'US': {
Ids.titleHome: 'Home',
Ids.titleRepos: 'Repos',
Ids.titleEvents: 'Events',
Ids.titleSystem: 'System',
Ids.titleBookmarks: 'Bookmarks',
Ids.titleCollection: 'Collection',
Ids.titleSetting: 'Setting',
Ids.titleAbout: 'About',
Ids.titleShare: 'Share',
Ids.titleSignOut: 'Sign Out',
Ids.titleLanguage: 'Language',
Ids.languageAuto: 'Auto',
Ids.save: 'Save',
Ids.more: 'More',
Ids.recRepos: 'Reco Repos',
Ids.recWxArticle: 'Reco WxArticle',
Ids.titleReposTree: 'Repos Tree',
Ids.titleWxArticleTree: 'Wx Article',
Ids.titleTheme: 'Theme',
Ids.user_name: 'user name',
Ids.user_pwd: 'password',
Ids.user_re_pwd: 'confirm password',
Ids.user_login: 'Login',
Ids.user_register: 'Register',
Ids.user_forget_pwd: 'Forget the password?',
Ids.user_new_user_hint: 'New users? ',
Ids.confirm: 'Confirm',
Ids.cancel: 'Cancel',
Ids.jump_count: 'Jump %\$0\$s',
}
},
'zh': {
'CN': {
Ids.titleHome: '主页',
Ids.titleRepos: '项目',
Ids.titleEvents: '动态',
Ids.titleSystem: '体系',
Ids.titleBookmarks: '书签',
Ids.titleCollection: '收藏',
Ids.titleSetting: '设置',
Ids.titleAbout: '关于',
Ids.titleShare: '分享',
Ids.titleSignOut: '注销',
Ids.titleLanguage: '多语言',
Ids.languageAuto: '跟随系统',
Ids.languageZH: '简体中文',
Ids.languageTW: '繁體中文(台灣)',
Ids.languageHK: '繁體中文(香港)',
Ids.languageEN: 'English',
Ids.save: '保存',
Ids.more: '更多',
Ids.recRepos: '推荐项目',
Ids.recWxArticle: '推荐公众号',
Ids.titleReposTree: '项目分类',
Ids.titleWxArticleTree: '公众号',
Ids.titleTheme: '主题',
Ids.user_name: '用户名',
Ids.user_pwd: '密码',
Ids.user_re_pwd: '确认密码',
Ids.user_login: '登录',
Ids.user_register: '注册',
Ids.user_forget_pwd: '忘记密码?',
Ids.user_new_user_hint: '新用户?',
Ids.confirm: '确认',
Ids.cancel: '取消',
Ids.jump_count: '跳过 %\$0\$s',
},
'HK': {
Ids.titleHome: '主頁',
Ids.titleRepos: '項目',
Ids.titleEvents: '動態',
Ids.titleSystem: '體系',
Ids.titleBookmarks: '書簽',
Ids.titleCollection: '收藏',
Ids.titleSetting: '設置',
Ids.titleAbout: '關於',
Ids.titleShare: '分享',
Ids.titleSignOut: '註銷',
Ids.titleLanguage: '語言',
Ids.languageAuto: '與系統同步',
Ids.save: '儲存',
Ids.more: '更多',
Ids.recRepos: '推荐项目',
Ids.recWxArticle: '推荐公众号',
Ids.titleReposTree: '项目分类',
Ids.titleWxArticleTree: '公众号',
Ids.titleTheme: '主題',
Ids.user_name: '用户名',
Ids.user_pwd: '密码',
Ids.user_re_pwd: '确认密码',
Ids.user_login: '登录',
Ids.user_register: '注册',
Ids.user_forget_pwd: '忘记密码?',
Ids.user_new_user_hint: '新用户?',
Ids.confirm: '确认',
Ids.cancel: '取消',
Ids.jump_count: '跳过 %\$0\$s',
},
'TW': {
Ids.titleHome: '主頁',
Ids.titleRepos: '項目',
Ids.titleEvents: '動態',
Ids.titleSystem: '體系',
Ids.titleBookmarks: '書簽',
Ids.titleCollection: '收藏',
Ids.titleSetting: '設置',
Ids.titleAbout: '關於',
Ids.titleShare: '分享',
Ids.titleSignOut: '註銷',
Ids.titleLanguage: '語言',
Ids.languageAuto: '與系統同步',
Ids.save: '儲存',
Ids.more: '更多',
Ids.recRepos: '推荐项目',
Ids.recWxArticle: '推荐公众号',
Ids.titleReposTree: '项目分类',
Ids.titleWxArticleTree: '公众号',
Ids.titleTheme: '主題',
Ids.user_name: '用户名',
Ids.user_pwd: '密码',
Ids.user_re_pwd: '确认密码',
Ids.user_login: '登录',
Ids.user_register: '注册',
Ids.user_forget_pwd: '忘记密码?',
Ids.user_new_user_hint: '新用户?',
Ids.confirm: '确认',
Ids.cancel: '取消',
Ids.jump_count: '跳过 %\$0\$s',
}
}
};