l10n.dart 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. import 'package:flutter/material.dart';
  3. import 'package:intl/intl.dart';
  4. import 'intl/messages_all.dart';
  5. // **************************************************************************
  6. // Generator: Flutter Intl IDE plugin
  7. // Made by Localizely
  8. // **************************************************************************
  9. // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars
  10. // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each
  11. // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes
  12. class S {
  13. S();
  14. static S? _current;
  15. static S get current {
  16. assert(_current != null,
  17. 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.');
  18. return _current!;
  19. }
  20. static const AppLocalizationDelegate delegate = AppLocalizationDelegate();
  21. static Future<S> load(Locale locale) {
  22. final name = (locale.countryCode?.isEmpty ?? false)
  23. ? locale.languageCode
  24. : locale.toString();
  25. final localeName = Intl.canonicalizedLocale(name);
  26. return initializeMessages(localeName).then((_) {
  27. Intl.defaultLocale = localeName;
  28. final instance = S();
  29. S._current = instance;
  30. return instance;
  31. });
  32. }
  33. static S of(BuildContext context) {
  34. final instance = S.maybeOf(context);
  35. assert(instance != null,
  36. 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?');
  37. return instance!;
  38. }
  39. static S? maybeOf(BuildContext context) {
  40. return Localizations.of<S>(context, S);
  41. }
  42. /// `Payment`
  43. String get payment {
  44. return Intl.message(
  45. 'Payment',
  46. name: 'payment',
  47. desc: '',
  48. args: [],
  49. );
  50. }
  51. /// `Rewards`
  52. String get rewards {
  53. return Intl.message(
  54. 'Rewards',
  55. name: 'rewards',
  56. desc: '',
  57. args: [],
  58. );
  59. }
  60. /// `Notification`
  61. String get notification {
  62. return Intl.message(
  63. 'Notification',
  64. name: 'notification',
  65. desc: '',
  66. args: [],
  67. );
  68. }
  69. /// `Facility`
  70. String get facility {
  71. return Intl.message(
  72. 'Facility',
  73. name: 'facility',
  74. desc: '',
  75. args: [],
  76. );
  77. }
  78. /// `Form`
  79. String get form {
  80. return Intl.message(
  81. 'Form',
  82. name: 'form',
  83. desc: '',
  84. args: [],
  85. );
  86. }
  87. /// `Notice Board`
  88. String get notice_board {
  89. return Intl.message(
  90. 'Notice Board',
  91. name: 'notice_board',
  92. desc: '',
  93. args: [],
  94. );
  95. }
  96. /// `Phone/Email`
  97. String get phone_email {
  98. return Intl.message(
  99. 'Phone/Email',
  100. name: 'phone_email',
  101. desc: '',
  102. args: [],
  103. );
  104. }
  105. /// `Password`
  106. String get password {
  107. return Intl.message(
  108. 'Password',
  109. name: 'password',
  110. desc: '',
  111. args: [],
  112. );
  113. }
  114. /// `Log In`
  115. String get login {
  116. return Intl.message(
  117. 'Log In',
  118. name: 'login',
  119. desc: '',
  120. args: [],
  121. );
  122. }
  123. /// `Forgot Password?`
  124. String get forgot_password {
  125. return Intl.message(
  126. 'Forgot Password?',
  127. name: 'forgot_password',
  128. desc: '',
  129. args: [],
  130. );
  131. }
  132. /// `Create New YY Home Account`
  133. String get create_new_yy_home_account {
  134. return Intl.message(
  135. 'Create New YY Home Account',
  136. name: 'create_new_yy_home_account',
  137. desc: '',
  138. args: [],
  139. );
  140. }
  141. /// `Agree to`
  142. String get agree_to {
  143. return Intl.message(
  144. 'Agree to',
  145. name: 'agree_to',
  146. desc: '',
  147. args: [],
  148. );
  149. }
  150. /// `Terms of Service`
  151. String get terms_of_service {
  152. return Intl.message(
  153. 'Terms of Service',
  154. name: 'terms_of_service',
  155. desc: '',
  156. args: [],
  157. );
  158. }
  159. /// `Enter your email and mobile phone number`
  160. String get forgot_text {
  161. return Intl.message(
  162. 'Enter your email and mobile phone number',
  163. name: 'forgot_text',
  164. desc: '',
  165. args: [],
  166. );
  167. }
  168. /// `Email`
  169. String get email {
  170. return Intl.message(
  171. 'Email',
  172. name: 'email',
  173. desc: '',
  174. args: [],
  175. );
  176. }
  177. /// `Mobile Phone`
  178. String get mobile_phone {
  179. return Intl.message(
  180. 'Mobile Phone',
  181. name: 'mobile_phone',
  182. desc: '',
  183. args: [],
  184. );
  185. }
  186. /// `Next`
  187. String get next {
  188. return Intl.message(
  189. 'Next',
  190. name: 'next',
  191. desc: '',
  192. args: [],
  193. );
  194. }
  195. /// `Verification Code`
  196. String get verification_code {
  197. return Intl.message(
  198. 'Verification Code',
  199. name: 'verification_code',
  200. desc: '',
  201. args: [],
  202. );
  203. }
  204. /// `Reset Password`
  205. String get reset_password {
  206. return Intl.message(
  207. 'Reset Password',
  208. name: 'reset_password',
  209. desc: '',
  210. args: [],
  211. );
  212. }
  213. /// `Confirm Password`
  214. String get confirm_password {
  215. return Intl.message(
  216. 'Confirm Password',
  217. name: 'confirm_password',
  218. desc: '',
  219. args: [],
  220. );
  221. }
  222. /// `8 Digits Alphanumeric`
  223. String get password_format {
  224. return Intl.message(
  225. '8 Digits Alphanumeric',
  226. name: 'password_format',
  227. desc: '',
  228. args: [],
  229. );
  230. }
  231. /// `Get Code`
  232. String get get_code {
  233. return Intl.message(
  234. 'Get Code',
  235. name: 'get_code',
  236. desc: '',
  237. args: [],
  238. );
  239. }
  240. /// `First Name`
  241. String get first_name {
  242. return Intl.message(
  243. 'First Name',
  244. name: 'first_name',
  245. desc: '',
  246. args: [],
  247. );
  248. }
  249. /// `Last Name`
  250. String get last_name {
  251. return Intl.message(
  252. 'Last Name',
  253. name: 'last_name',
  254. desc: '',
  255. args: [],
  256. );
  257. }
  258. /// `We have sent you an SMS verification code Please enter it below`
  259. String get sign_up_verify_txt {
  260. return Intl.message(
  261. 'We have sent you an SMS verification code Please enter it below',
  262. name: 'sign_up_verify_txt',
  263. desc: '',
  264. args: [],
  265. );
  266. }
  267. /// `Did Not Receive?`
  268. String get did_not_receive {
  269. return Intl.message(
  270. 'Did Not Receive?',
  271. name: 'did_not_receive',
  272. desc: '',
  273. args: [],
  274. );
  275. }
  276. /// `Resend Code`
  277. String get resend_code {
  278. return Intl.message(
  279. 'Resend Code',
  280. name: 'resend_code',
  281. desc: '',
  282. args: [],
  283. );
  284. }
  285. /// `You have`
  286. String get you_have {
  287. return Intl.message(
  288. 'You have',
  289. name: 'you_have',
  290. desc: '',
  291. args: [],
  292. );
  293. }
  294. /// `Tries Left`
  295. String get tries_left {
  296. return Intl.message(
  297. 'Tries Left',
  298. name: 'tries_left',
  299. desc: '',
  300. args: [],
  301. );
  302. }
  303. /// `Welcome {name}`
  304. String welcome_name(Object name) {
  305. return Intl.message(
  306. 'Welcome $name',
  307. name: 'welcome_name',
  308. desc: '',
  309. args: [name],
  310. );
  311. }
  312. /// `You have successfully created an YY Home account`
  313. String get sign_up_success_txt1 {
  314. return Intl.message(
  315. 'You have successfully created an YY Home account',
  316. name: 'sign_up_success_txt1',
  317. desc: '',
  318. args: [],
  319. );
  320. }
  321. /// `Your username is your email address and please keep your password safe`
  322. String get sign_up_success_txt2 {
  323. return Intl.message(
  324. 'Your username is your email address and please keep your password safe',
  325. name: 'sign_up_success_txt2',
  326. desc: '',
  327. args: [],
  328. );
  329. }
  330. /// `Now, let's get you connected to your estate and community`
  331. String get sign_up_success_txt3 {
  332. return Intl.message(
  333. 'Now, let\'s get you connected to your estate and community',
  334. name: 'sign_up_success_txt3',
  335. desc: '',
  336. args: [],
  337. );
  338. }
  339. /// `let's get started`
  340. String get get_started {
  341. return Intl.message(
  342. 'let\'s get started',
  343. name: 'get_started',
  344. desc: '',
  345. args: [],
  346. );
  347. }
  348. /// `Other`
  349. String get other {
  350. return Intl.message(
  351. 'Other',
  352. name: 'other',
  353. desc: '',
  354. args: [],
  355. );
  356. }
  357. }
  358. class AppLocalizationDelegate extends LocalizationsDelegate<S> {
  359. const AppLocalizationDelegate();
  360. List<Locale> get supportedLocales {
  361. return const <Locale>[
  362. Locale.fromSubtags(languageCode: 'en'),
  363. Locale.fromSubtags(languageCode: 'zh', countryCode: 'CN'),
  364. Locale.fromSubtags(languageCode: 'zh', countryCode: 'HK'),
  365. ];
  366. }
  367. @override
  368. bool isSupported(Locale locale) => _isSupported(locale);
  369. @override
  370. Future<S> load(Locale locale) => S.load(locale);
  371. @override
  372. bool shouldReload(AppLocalizationDelegate old) => false;
  373. bool _isSupported(Locale locale) {
  374. for (var supportedLocale in supportedLocales) {
  375. if (supportedLocale.languageCode == locale.languageCode) {
  376. return true;
  377. }
  378. }
  379. return false;
  380. }
  381. }