Showing
7 changed files
with
85 additions
and
2 deletions
... | @@ -22,6 +22,8 @@ class MessageLookup extends MessageLookupByLibrary { | ... | @@ -22,6 +22,8 @@ class MessageLookup extends MessageLookupByLibrary { |
22 | 22 | ||
23 | final messages = _notInlinedMessages(_notInlinedMessages); | 23 | final messages = _notInlinedMessages(_notInlinedMessages); |
24 | static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ | 24 | static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ |
25 | + "categoryBottomNavigationBarItemTitle": | ||
26 | + MessageLookupByLibrary.simpleMessage("category"), | ||
25 | "confirm": MessageLookupByLibrary.simpleMessage("Confirm"), | 27 | "confirm": MessageLookupByLibrary.simpleMessage("Confirm"), |
26 | "forgotPasswordLink": | 28 | "forgotPasswordLink": |
27 | MessageLookupByLibrary.simpleMessage("Forgot Password"), | 29 | MessageLookupByLibrary.simpleMessage("Forgot Password"), |
... | @@ -40,14 +42,20 @@ class MessageLookup extends MessageLookupByLibrary { | ... | @@ -40,14 +42,20 @@ class MessageLookup extends MessageLookupByLibrary { |
40 | "login": MessageLookupByLibrary.simpleMessage("Login"), | 42 | "login": MessageLookupByLibrary.simpleMessage("Login"), |
41 | "noAccountRegisterLink": MessageLookupByLibrary.simpleMessage( | 43 | "noAccountRegisterLink": MessageLookupByLibrary.simpleMessage( |
42 | "No account yet? Register now"), | 44 | "No account yet? Register now"), |
45 | + "onePoemBottomNavigationBarItemTitle": | ||
46 | + MessageLookupByLibrary.simpleMessage("Poem"), | ||
43 | "openYourAccount": | 47 | "openYourAccount": |
44 | MessageLookupByLibrary.simpleMessage("Open your account"), | 48 | MessageLookupByLibrary.simpleMessage("Open your account"), |
45 | "passwordLogin": MessageLookupByLibrary.simpleMessage("Password Login"), | 49 | "passwordLogin": MessageLookupByLibrary.simpleMessage("Password Login"), |
50 | + "profileBottomNavigationBarItemTitle": | ||
51 | + MessageLookupByLibrary.simpleMessage("profile"), | ||
46 | "register": MessageLookupByLibrary.simpleMessage("Register"), | 52 | "register": MessageLookupByLibrary.simpleMessage("Register"), |
47 | "registeredTips": MessageLookupByLibrary.simpleMessage( | 53 | "registeredTips": MessageLookupByLibrary.simpleMessage( |
48 | "Unregistered mobile phone number, please "), | 54 | "Unregistered mobile phone number, please "), |
49 | "resetLoginPassword": | 55 | "resetLoginPassword": |
50 | MessageLookupByLibrary.simpleMessage("Reset Login Password"), | 56 | MessageLookupByLibrary.simpleMessage("Reset Login Password"), |
57 | + "timelineBottomNavigationBarItemTitle": | ||
58 | + MessageLookupByLibrary.simpleMessage("timeline"), | ||
51 | "title": MessageLookupByLibrary.simpleMessage("One Poem"), | 59 | "title": MessageLookupByLibrary.simpleMessage("One Poem"), |
52 | "verificationButton": MessageLookupByLibrary.simpleMessage( | 60 | "verificationButton": MessageLookupByLibrary.simpleMessage( |
53 | "Not really sent, just log in!"), | 61 | "Not really sent, just log in!"), | ... | ... |
... | @@ -22,6 +22,8 @@ class MessageLookup extends MessageLookupByLibrary { | ... | @@ -22,6 +22,8 @@ class MessageLookup extends MessageLookupByLibrary { |
22 | 22 | ||
23 | final messages = _notInlinedMessages(_notInlinedMessages); | 23 | final messages = _notInlinedMessages(_notInlinedMessages); |
24 | static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ | 24 | static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ |
25 | + "categoryBottomNavigationBarItemTitle": | ||
26 | + MessageLookupByLibrary.simpleMessage("众妙"), | ||
25 | "confirm": MessageLookupByLibrary.simpleMessage("确认"), | 27 | "confirm": MessageLookupByLibrary.simpleMessage("确认"), |
26 | "forgotPasswordLink": MessageLookupByLibrary.simpleMessage("忘记密码"), | 28 | "forgotPasswordLink": MessageLookupByLibrary.simpleMessage("忘记密码"), |
27 | "getVerificationCode": MessageLookupByLibrary.simpleMessage("获取验证码"), | 29 | "getVerificationCode": MessageLookupByLibrary.simpleMessage("获取验证码"), |
... | @@ -34,12 +36,18 @@ class MessageLookup extends MessageLookupByLibrary { | ... | @@ -34,12 +36,18 @@ class MessageLookup extends MessageLookupByLibrary { |
34 | "login": MessageLookupByLibrary.simpleMessage("登录"), | 36 | "login": MessageLookupByLibrary.simpleMessage("登录"), |
35 | "noAccountRegisterLink": | 37 | "noAccountRegisterLink": |
36 | MessageLookupByLibrary.simpleMessage("还没账号?快去注册"), | 38 | MessageLookupByLibrary.simpleMessage("还没账号?快去注册"), |
39 | + "onePoemBottomNavigationBarItemTitle": | ||
40 | + MessageLookupByLibrary.simpleMessage("一言"), | ||
37 | "openYourAccount": MessageLookupByLibrary.simpleMessage("开启你的账号"), | 41 | "openYourAccount": MessageLookupByLibrary.simpleMessage("开启你的账号"), |
38 | "passwordLogin": MessageLookupByLibrary.simpleMessage("密码登录"), | 42 | "passwordLogin": MessageLookupByLibrary.simpleMessage("密码登录"), |
43 | + "profileBottomNavigationBarItemTitle": | ||
44 | + MessageLookupByLibrary.simpleMessage("我在"), | ||
39 | "register": MessageLookupByLibrary.simpleMessage("注册"), | 45 | "register": MessageLookupByLibrary.simpleMessage("注册"), |
40 | "registeredTips": | 46 | "registeredTips": |
41 | MessageLookupByLibrary.simpleMessage("提示:未注册账号的手机号,请先"), | 47 | MessageLookupByLibrary.simpleMessage("提示:未注册账号的手机号,请先"), |
42 | "resetLoginPassword": MessageLookupByLibrary.simpleMessage("重置登录密码"), | 48 | "resetLoginPassword": MessageLookupByLibrary.simpleMessage("重置登录密码"), |
49 | + "timelineBottomNavigationBarItemTitle": | ||
50 | + MessageLookupByLibrary.simpleMessage("临境"), | ||
43 | "title": MessageLookupByLibrary.simpleMessage("一言"), | 51 | "title": MessageLookupByLibrary.simpleMessage("一言"), |
44 | "verificationButton": | 52 | "verificationButton": |
45 | MessageLookupByLibrary.simpleMessage("并没有真正发送哦,直接登录吧!"), | 53 | MessageLookupByLibrary.simpleMessage("并没有真正发送哦,直接登录吧!"), | ... | ... |
... | @@ -229,6 +229,46 @@ class S { | ... | @@ -229,6 +229,46 @@ class S { |
229 | args: [], | 229 | args: [], |
230 | ); | 230 | ); |
231 | } | 231 | } |
232 | + | ||
233 | + /// `Poem` | ||
234 | + String get onePoemBottomNavigationBarItemTitle { | ||
235 | + return Intl.message( | ||
236 | + 'Poem', | ||
237 | + name: 'onePoemBottomNavigationBarItemTitle', | ||
238 | + desc: 'One Poem', | ||
239 | + args: [], | ||
240 | + ); | ||
241 | + } | ||
242 | + | ||
243 | + /// `timeline` | ||
244 | + String get timelineBottomNavigationBarItemTitle { | ||
245 | + return Intl.message( | ||
246 | + 'timeline', | ||
247 | + name: 'timelineBottomNavigationBarItemTitle', | ||
248 | + desc: 'One Poem', | ||
249 | + args: [], | ||
250 | + ); | ||
251 | + } | ||
252 | + | ||
253 | + /// `category` | ||
254 | + String get categoryBottomNavigationBarItemTitle { | ||
255 | + return Intl.message( | ||
256 | + 'category', | ||
257 | + name: 'categoryBottomNavigationBarItemTitle', | ||
258 | + desc: 'One Poem', | ||
259 | + args: [], | ||
260 | + ); | ||
261 | + } | ||
262 | + | ||
263 | + /// `profile` | ||
264 | + String get profileBottomNavigationBarItemTitle { | ||
265 | + return Intl.message( | ||
266 | + 'profile', | ||
267 | + name: 'profileBottomNavigationBarItemTitle', | ||
268 | + desc: 'One Poem', | ||
269 | + args: [], | ||
270 | + ); | ||
271 | + } | ||
232 | } | 272 | } |
233 | 273 | ||
234 | class AppLocalizationDelegate extends LocalizationsDelegate<S> { | 274 | class AppLocalizationDelegate extends LocalizationsDelegate<S> { | ... | ... |
... | @@ -106,5 +106,29 @@ | ... | @@ -106,5 +106,29 @@ |
106 | "description": "Registered Tips", | 106 | "description": "Registered Tips", |
107 | "type": "text", | 107 | "type": "text", |
108 | "placeholders": {} | 108 | "placeholders": {} |
109 | + }, | ||
110 | + "onePoemBottomNavigationBarItemTitle": "Poem", | ||
111 | + "@onePoemBottomNavigationBarItemTitle": { | ||
112 | + "description": "One Poem", | ||
113 | + "type": "text", | ||
114 | + "placeholders": {} | ||
115 | + }, | ||
116 | + "timelineBottomNavigationBarItemTitle": "timeline", | ||
117 | + "@timelineBottomNavigationBarItemTitle": { | ||
118 | + "description": "One Poem", | ||
119 | + "type": "text", | ||
120 | + "placeholders": {} | ||
121 | + }, | ||
122 | + "categoryBottomNavigationBarItemTitle": "category", | ||
123 | + "@categoryBottomNavigationBarItemTitle": { | ||
124 | + "description": "One Poem", | ||
125 | + "type": "text", | ||
126 | + "placeholders": {} | ||
127 | + }, | ||
128 | + "profileBottomNavigationBarItemTitle": "profile", | ||
129 | + "@profileBottomNavigationBarItemTitle": { | ||
130 | + "description": "One Poem", | ||
131 | + "type": "text", | ||
132 | + "placeholders": {} | ||
109 | } | 133 | } |
110 | } | 134 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -16,5 +16,9 @@ | ... | @@ -16,5 +16,9 @@ |
16 | "getVerificationCode": "获取验证码", | 16 | "getVerificationCode": "获取验证码", |
17 | "confirm": "确认", | 17 | "confirm": "确认", |
18 | "resetLoginPassword": "重置登录密码", | 18 | "resetLoginPassword": "重置登录密码", |
19 | - "registeredTips": "提示:未注册账号的手机号,请先" | 19 | + "registeredTips": "提示:未注册账号的手机号,请先", |
20 | + "onePoemBottomNavigationBarItemTitle" : "一言", | ||
21 | + "timelineBottomNavigationBarItemTitle" : "临境", | ||
22 | + "categoryBottomNavigationBarItemTitle" : "众妙", | ||
23 | + "profileBottomNavigationBarItemTitle" : "我在" | ||
20 | } | 24 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | - | ||
2 | import 'package:flutter/material.dart'; | 1 | import 'package:flutter/material.dart'; |
3 | import 'package:one_poem/res/resources.dart'; | 2 | import 'package:one_poem/res/resources.dart'; |
4 | import 'package:one_poem/routers/fluro_navigator.dart'; | 3 | import 'package:one_poem/routers/fluro_navigator.dart'; | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment