// 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 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(context, S); } /// `Settings` String get settings { return Intl.message( 'Settings', name: 'settings', desc: '', args: [], ); } /// `Remove Banner and Pop-up Ads` String get removeBannerAndPopupAds { return Intl.message( 'Remove Banner and Pop-up Ads', name: 'removeBannerAndPopupAds', desc: '', args: [], ); } /// `PREFERENCE` String get preference { return Intl.message( 'PREFERENCE', name: 'preference', desc: '', args: [], ); } /// `Sound Effects` String get soundEffects { return Intl.message( 'Sound Effects', name: 'soundEffects', desc: '', args: [], ); } /// `Vibration` String get vibration { return Intl.message( 'Vibration', name: 'vibration', desc: '', args: [], ); } /// `Theme` String get theme { return Intl.message( 'Theme', name: 'theme', desc: '', args: [], ); } /// `INFORMATION` String get information { return Intl.message( 'INFORMATION', name: 'information', desc: '', args: [], ); } /// `Share App` String get shareApp { return Intl.message( 'Share App', name: 'shareApp', desc: '', args: [], ); } /// `Contact Us` String get contactUs { return Intl.message( 'Contact Us', name: 'contactUs', desc: '', args: [], ); } /// `Become a Volunteer Translator` String get becomeAVolunteerTranslator { return Intl.message( 'Become a Volunteer Translator', name: 'becomeAVolunteerTranslator', desc: '', args: [], ); } /// `Privacy Policy` String get privacyPolicy { return Intl.message( 'Privacy Policy', name: 'privacyPolicy', desc: '', args: [], ); } /// `Terms of Service` String get termsOfService { return Intl.message( 'Terms of Service', name: 'termsOfService', desc: '', args: [], ); } /// `Store` String get store { return Intl.message( 'Store', name: 'store', desc: '', args: [], ); } } class AppLocalizationDelegate extends LocalizationsDelegate { const AppLocalizationDelegate(); List get supportedLocales { return const [ Locale.fromSubtags(languageCode: 'en'), Locale.fromSubtags(languageCode: 'af'), Locale.fromSubtags(languageCode: 'am'), Locale.fromSubtags(languageCode: 'ar'), Locale.fromSubtags(languageCode: 'az', countryCode: 'AZ'), Locale.fromSubtags(languageCode: 'be'), Locale.fromSubtags(languageCode: 'bg'), Locale.fromSubtags(languageCode: 'bn', countryCode: 'BD'), Locale.fromSubtags(languageCode: 'ca'), Locale.fromSubtags(languageCode: 'cs', countryCode: 'CZ'), Locale.fromSubtags(languageCode: 'da', countryCode: 'DK'), Locale.fromSubtags(languageCode: 'de', countryCode: 'DE'), Locale.fromSubtags(languageCode: 'el', countryCode: 'GR'), Locale.fromSubtags(languageCode: 'es', countryCode: '419'), Locale.fromSubtags(languageCode: 'es', countryCode: 'ES'), Locale.fromSubtags(languageCode: 'es', countryCode: 'US'), Locale.fromSubtags(languageCode: 'et'), Locale.fromSubtags(languageCode: 'eu', countryCode: 'ES'), Locale.fromSubtags(languageCode: 'fa'), Locale.fromSubtags(languageCode: 'fi', countryCode: 'FI'), Locale.fromSubtags(languageCode: 'fil'), Locale.fromSubtags(languageCode: 'fr', countryCode: 'CA'), Locale.fromSubtags(languageCode: 'fr', countryCode: 'FR'), Locale.fromSubtags(languageCode: 'gl', countryCode: 'ES'), Locale.fromSubtags(languageCode: 'gu'), Locale.fromSubtags(languageCode: 'he', countryCode: 'IL'), Locale.fromSubtags(languageCode: 'hi', countryCode: 'IN'), Locale.fromSubtags(languageCode: 'hr'), Locale.fromSubtags(languageCode: 'hu', countryCode: 'HU'), Locale.fromSubtags(languageCode: 'hy', countryCode: 'AM'), Locale.fromSubtags(languageCode: 'id'), Locale.fromSubtags(languageCode: 'is', countryCode: 'IS'), Locale.fromSubtags(languageCode: 'it', countryCode: 'IT'), Locale.fromSubtags(languageCode: 'ja', countryCode: 'JP'), Locale.fromSubtags(languageCode: 'ka', countryCode: 'GE'), Locale.fromSubtags(languageCode: 'kk'), Locale.fromSubtags(languageCode: 'km', countryCode: 'KH'), Locale.fromSubtags(languageCode: 'kn', countryCode: 'IN'), Locale.fromSubtags(languageCode: 'ko', countryCode: 'KR'), Locale.fromSubtags(languageCode: 'ky', countryCode: 'KG'), Locale.fromSubtags(languageCode: 'lo', countryCode: 'LA'), Locale.fromSubtags(languageCode: 'lt'), Locale.fromSubtags(languageCode: 'lv'), Locale.fromSubtags(languageCode: 'mk', countryCode: 'MK'), Locale.fromSubtags(languageCode: 'ml', countryCode: 'IN'), Locale.fromSubtags(languageCode: 'mn', countryCode: 'MN'), Locale.fromSubtags(languageCode: 'mr', countryCode: 'IN'), Locale.fromSubtags(languageCode: 'ms'), Locale.fromSubtags(languageCode: 'ms', countryCode: 'MY'), Locale.fromSubtags(languageCode: 'my', countryCode: 'MM'), Locale.fromSubtags(languageCode: 'nb', countryCode: 'NO'), Locale.fromSubtags(languageCode: 'ne', countryCode: 'NP'), Locale.fromSubtags(languageCode: 'nl', countryCode: 'NL'), Locale.fromSubtags(languageCode: 'pa'), Locale.fromSubtags(languageCode: 'pl', countryCode: 'PL'), Locale.fromSubtags(languageCode: 'pt', countryCode: 'BR'), Locale.fromSubtags(languageCode: 'pt', countryCode: 'PT'), Locale.fromSubtags(languageCode: 'ro'), Locale.fromSubtags(languageCode: 'ru', countryCode: 'RU'), Locale.fromSubtags(languageCode: 'si', countryCode: 'LK'), Locale.fromSubtags(languageCode: 'sk'), Locale.fromSubtags(languageCode: 'sl'), Locale.fromSubtags(languageCode: 'sq'), Locale.fromSubtags(languageCode: 'sr'), Locale.fromSubtags(languageCode: 'sv', countryCode: 'SE'), Locale.fromSubtags(languageCode: 'sw'), Locale.fromSubtags(languageCode: 'ta', countryCode: 'IN'), Locale.fromSubtags(languageCode: 'te', countryCode: 'IN'), Locale.fromSubtags(languageCode: 'th'), Locale.fromSubtags(languageCode: 'tl'), Locale.fromSubtags(languageCode: 'tr', countryCode: 'TR'), Locale.fromSubtags(languageCode: 'uk'), Locale.fromSubtags(languageCode: 'ur'), Locale.fromSubtags(languageCode: 'vi'), Locale.fromSubtags(languageCode: 'zh', countryCode: 'CN'), Locale.fromSubtags(languageCode: 'zh', countryCode: 'HK'), Locale.fromSubtags(languageCode: 'zh', countryCode: 'TW'), Locale.fromSubtags(languageCode: 'zu'), ]; } @override bool isSupported(Locale locale) => _isSupported(locale); @override Future 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; } }