123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- import 'package:flutter/material.dart';
- import 'package:intl/intl.dart';
- import 'intl/messages_all.dart';
- // **************************************************************************
- // Generator: Flutter Intl IDE plugin
- // Made by Localizely
- // **************************************************************************
- // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars
- // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each
- // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes
- class S {
- S();
- static S? _current;
- static S get current {
- assert(_current != null,
- 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.');
- return _current!;
- }
- static const AppLocalizationDelegate delegate = AppLocalizationDelegate();
- static Future<S> load(Locale locale) {
- final name = (locale.countryCode?.isEmpty ?? false)
- ? locale.languageCode
- : locale.toString();
- final localeName = Intl.canonicalizedLocale(name);
- return initializeMessages(localeName).then((_) {
- Intl.defaultLocale = localeName;
- final instance = S();
- S._current = instance;
- return instance;
- });
- }
- static S of(BuildContext context) {
- final instance = S.maybeOf(context);
- assert(instance != null,
- 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?');
- return instance!;
- }
- static S? maybeOf(BuildContext context) {
- return Localizations.of<S>(context, S);
- }
- /// `Payment`
- String get payment {
- return Intl.message(
- 'Payment',
- name: 'payment',
- desc: '',
- args: [],
- );
- }
- /// `Rewards`
- String get rewards {
- return Intl.message(
- 'Rewards',
- name: 'rewards',
- desc: '',
- args: [],
- );
- }
- /// `Notification`
- String get notification {
- return Intl.message(
- 'Notification',
- name: 'notification',
- desc: '',
- args: [],
- );
- }
- /// `Facility`
- String get facility {
- return Intl.message(
- 'Facility',
- name: 'facility',
- desc: '',
- args: [],
- );
- }
- /// `Form`
- String get form {
- return Intl.message(
- 'Form',
- name: 'form',
- desc: '',
- args: [],
- );
- }
- /// `Notice Board`
- String get notice_board {
- return Intl.message(
- 'Notice Board',
- name: 'notice_board',
- desc: '',
- args: [],
- );
- }
- /// `Phone/Email`
- String get phone_email {
- return Intl.message(
- 'Phone/Email',
- name: 'phone_email',
- desc: '',
- args: [],
- );
- }
- /// `Password`
- String get password {
- return Intl.message(
- 'Password',
- name: 'password',
- desc: '',
- args: [],
- );
- }
- /// `Log In`
- String get login {
- return Intl.message(
- 'Log In',
- name: 'login',
- desc: '',
- args: [],
- );
- }
- /// `Forgot Password?`
- String get forgot_password {
- return Intl.message(
- 'Forgot Password?',
- name: 'forgot_password',
- desc: '',
- args: [],
- );
- }
- /// `Create New YY Home Account`
- String get create_new_yy_home_account {
- return Intl.message(
- 'Create New YY Home Account',
- name: 'create_new_yy_home_account',
- desc: '',
- args: [],
- );
- }
- /// `Agree to`
- String get agree_to {
- return Intl.message(
- 'Agree to',
- name: 'agree_to',
- desc: '',
- args: [],
- );
- }
- /// `Terms of Service`
- String get terms_of_service {
- return Intl.message(
- 'Terms of Service',
- name: 'terms_of_service',
- desc: '',
- args: [],
- );
- }
- /// `Enter your email and mobile phone number`
- String get forgot_text {
- return Intl.message(
- 'Enter your email and mobile phone number',
- name: 'forgot_text',
- desc: '',
- args: [],
- );
- }
- /// `Email`
- String get email {
- return Intl.message(
- 'Email',
- name: 'email',
- desc: '',
- args: [],
- );
- }
- /// `Mobile Phone`
- String get mobile_phone {
- return Intl.message(
- 'Mobile Phone',
- name: 'mobile_phone',
- desc: '',
- args: [],
- );
- }
- /// `Next`
- String get next {
- return Intl.message(
- 'Next',
- name: 'next',
- desc: '',
- args: [],
- );
- }
- /// `Verification Code`
- String get verification_code {
- return Intl.message(
- 'Verification Code',
- name: 'verification_code',
- desc: '',
- args: [],
- );
- }
- /// `Reset Password`
- String get reset_password {
- return Intl.message(
- 'Reset Password',
- name: 'reset_password',
- desc: '',
- args: [],
- );
- }
- /// `Confirm Password`
- String get confirm_password {
- return Intl.message(
- 'Confirm Password',
- name: 'confirm_password',
- desc: '',
- args: [],
- );
- }
- /// `8 Digits Alphanumeric`
- String get password_format {
- return Intl.message(
- '8 Digits Alphanumeric',
- name: 'password_format',
- desc: '',
- args: [],
- );
- }
- /// `Get Code`
- String get get_code {
- return Intl.message(
- 'Get Code',
- name: 'get_code',
- desc: '',
- args: [],
- );
- }
- /// `First Name`
- String get first_name {
- return Intl.message(
- 'First Name',
- name: 'first_name',
- desc: '',
- args: [],
- );
- }
- /// `Last Name`
- String get last_name {
- return Intl.message(
- 'Last Name',
- name: 'last_name',
- desc: '',
- args: [],
- );
- }
- /// `We have sent you an SMS verification code Please enter it below`
- String get sign_up_verify_txt {
- return Intl.message(
- 'We have sent you an SMS verification code Please enter it below',
- name: 'sign_up_verify_txt',
- desc: '',
- args: [],
- );
- }
- /// `Did Not Receive?`
- String get did_not_receive {
- return Intl.message(
- 'Did Not Receive?',
- name: 'did_not_receive',
- desc: '',
- args: [],
- );
- }
- /// `Resend Code`
- String get resend_code {
- return Intl.message(
- 'Resend Code',
- name: 'resend_code',
- desc: '',
- args: [],
- );
- }
- /// `You have`
- String get you_have {
- return Intl.message(
- 'You have',
- name: 'you_have',
- desc: '',
- args: [],
- );
- }
- /// `Tries Left`
- String get tries_left {
- return Intl.message(
- 'Tries Left',
- name: 'tries_left',
- desc: '',
- args: [],
- );
- }
- /// `Welcome {name}`
- String welcome_name(Object name) {
- return Intl.message(
- 'Welcome $name',
- name: 'welcome_name',
- desc: '',
- args: [name],
- );
- }
- /// `You have successfully created an YY Home account`
- String get sign_up_success_txt1 {
- return Intl.message(
- 'You have successfully created an YY Home account',
- name: 'sign_up_success_txt1',
- desc: '',
- args: [],
- );
- }
- /// `Your username is your email address and please keep your password safe`
- String get sign_up_success_txt2 {
- return Intl.message(
- 'Your username is your email address and please keep your password safe',
- name: 'sign_up_success_txt2',
- desc: '',
- args: [],
- );
- }
- /// `Now, let's get you connected to your estate and community`
- String get sign_up_success_txt3 {
- return Intl.message(
- 'Now, let\'s get you connected to your estate and community',
- name: 'sign_up_success_txt3',
- desc: '',
- args: [],
- );
- }
- /// `let's get started`
- String get get_started {
- return Intl.message(
- 'let\'s get started',
- name: 'get_started',
- desc: '',
- args: [],
- );
- }
- /// `Other`
- String get other {
- return Intl.message(
- 'Other',
- name: 'other',
- desc: '',
- args: [],
- );
- }
- }
- class AppLocalizationDelegate extends LocalizationsDelegate<S> {
- const AppLocalizationDelegate();
- List<Locale> get supportedLocales {
- return const <Locale>[
- Locale.fromSubtags(languageCode: 'en'),
- Locale.fromSubtags(languageCode: 'zh', countryCode: 'CN'),
- Locale.fromSubtags(languageCode: 'zh', countryCode: 'HK'),
- ];
- }
- @override
- bool isSupported(Locale locale) => _isSupported(locale);
- @override
- Future<S> load(Locale locale) => S.load(locale);
- @override
- bool shouldReload(AppLocalizationDelegate old) => false;
- bool _isSupported(Locale locale) {
- for (var supportedLocale in supportedLocales) {
- if (supportedLocale.languageCode == locale.languageCode) {
- return true;
- }
- }
- return false;
- }
- }
|