Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions lib/l10n/l10n.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import 'l10n_fo.dart';
import 'l10n_fr.dart';
import 'l10n_ga.dart';
import 'l10n_gl.dart';
import 'l10n_gsw.dart';
import 'l10n_he.dart';
import 'l10n_hi.dart';
import 'l10n_hr.dart';
Expand Down Expand Up @@ -56,13 +57,10 @@ import 'l10n_sq.dart';
import 'l10n_sr.dart';
import 'l10n_sv.dart';
import 'l10n_tr.dart';
import 'l10n_tt.dart';
import 'l10n_uk.dart';
import 'l10n_vi.dart';
import 'l10n_zh.dart';

// ignore_for_file: type=lint

/// Callers can lookup localized strings with an instance of AppLocalizations
/// returned by `AppLocalizations.of(context)`.
///
Expand Down Expand Up @@ -169,6 +167,7 @@ abstract class AppLocalizations {
Locale('fr'),
Locale('ga'),
Locale('gl'),
Locale('gsw'),
Locale('he'),
Locale('hi'),
Locale('hr'),
Expand Down Expand Up @@ -197,7 +196,6 @@ abstract class AppLocalizations {
Locale('sr'),
Locale('sv'),
Locale('tr'),
Locale('tt'),
Locale('uk'),
Locale('vi'),
Locale('zh'),
Expand Down Expand Up @@ -8110,7 +8108,7 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations>
}

@override
bool isSupported(Locale locale) => <String>['en', 'af', 'ar', 'az', 'be', 'bg', 'bn', 'br', 'bs', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fo', 'fr', 'ga', 'gl', 'he', 'hi', 'hr', 'hu', 'hy', 'id', 'it', 'ja', 'kk', 'ko', 'lb', 'lt', 'lv', 'mk', 'nb', 'nl', 'nn', 'pl', 'pt', 'ro', 'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'tr', 'tt', 'uk', 'vi', 'zh'].contains(locale.languageCode);
bool isSupported(Locale locale) => <String>['en', 'af', 'ar', 'az', 'be', 'bg', 'bn', 'br', 'bs', 'ca', 'cs', 'da', 'de', 'el', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fo', 'fr', 'ga', 'gl', 'gsw', 'he', 'hi', 'hr', 'hu', 'hy', 'id', 'it', 'ja', 'kk', 'ko', 'lb', 'lt', 'lv', 'mk', 'nb', 'nl', 'nn', 'pl', 'pt', 'ro', 'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'tr', 'uk', 'vi', 'zh'].contains(locale.languageCode);

@override
bool shouldReload(_AppLocalizationsDelegate old) => false;
Expand Down Expand Up @@ -8166,6 +8164,7 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
case 'fr': return AppLocalizationsFr();
case 'ga': return AppLocalizationsGa();
case 'gl': return AppLocalizationsGl();
case 'gsw': return AppLocalizationsGsw();
case 'he': return AppLocalizationsHe();
case 'hi': return AppLocalizationsHi();
case 'hr': return AppLocalizationsHr();
Expand Down Expand Up @@ -8193,7 +8192,6 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
case 'sr': return AppLocalizationsSr();
case 'sv': return AppLocalizationsSv();
case 'tr': return AppLocalizationsTr();
case 'tt': return AppLocalizationsTt();
case 'uk': return AppLocalizationsUk();
case 'vi': return AppLocalizationsVi();
case 'zh': return AppLocalizationsZh();
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_af.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Afrikaans (`af`).
class AppLocalizationsAf extends AppLocalizations {
AppLocalizationsAf([String locale = 'af']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Arabic (`ar`).
class AppLocalizationsAr extends AppLocalizations {
AppLocalizationsAr([String locale = 'ar']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_az.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Azerbaijani (`az`).
class AppLocalizationsAz extends AppLocalizations {
AppLocalizationsAz([String locale = 'az']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_be.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Belarusian (`be`).
class AppLocalizationsBe extends AppLocalizations {
AppLocalizationsBe([String locale = 'be']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_bg.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Bulgarian (`bg`).
class AppLocalizationsBg extends AppLocalizations {
AppLocalizationsBg([String locale = 'bg']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_bn.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Bengali Bangla (`bn`).
class AppLocalizationsBn extends AppLocalizations {
AppLocalizationsBn([String locale = 'bn']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_br.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Breton (`br`).
class AppLocalizationsBr extends AppLocalizations {
AppLocalizationsBr([String locale = 'br']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_bs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Bosnian (`bs`).
class AppLocalizationsBs extends AppLocalizations {
AppLocalizationsBs([String locale = 'bs']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_ca.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Catalan Valencian (`ca`).
class AppLocalizationsCa extends AppLocalizations {
AppLocalizationsCa([String locale = 'ca']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_cs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Czech (`cs`).
class AppLocalizationsCs extends AppLocalizations {
AppLocalizationsCs([String locale = 'cs']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_da.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Danish (`da`).
class AppLocalizationsDa extends AppLocalizations {
AppLocalizationsDa([String locale = 'da']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for German (`de`).
class AppLocalizationsDe extends AppLocalizations {
AppLocalizationsDe([String locale = 'de']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_el.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Modern Greek (`el`).
class AppLocalizationsEl extends AppLocalizations {
AppLocalizationsEl([String locale = 'el']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for English (`en`).
class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_eo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Esperanto (`eo`).
class AppLocalizationsEo extends AppLocalizations {
AppLocalizationsEo([String locale = 'eo']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Spanish Castilian (`es`).
class AppLocalizationsEs extends AppLocalizations {
AppLocalizationsEs([String locale = 'es']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_et.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Estonian (`et`).
class AppLocalizationsEt extends AppLocalizations {
AppLocalizationsEt([String locale = 'et']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_eu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Basque (`eu`).
class AppLocalizationsEu extends AppLocalizations {
AppLocalizationsEu([String locale = 'eu']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_fa.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Persian (`fa`).
class AppLocalizationsFa extends AppLocalizations {
AppLocalizationsFa([String locale = 'fa']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_fi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Finnish (`fi`).
class AppLocalizationsFi extends AppLocalizations {
AppLocalizationsFi([String locale = 'fi']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_fo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Faroese (`fo`).
class AppLocalizationsFo extends AppLocalizations {
AppLocalizationsFo([String locale = 'fo']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_fr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for French (`fr`).
class AppLocalizationsFr extends AppLocalizations {
AppLocalizationsFr([String locale = 'fr']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_ga.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Irish (`ga`).
class AppLocalizationsGa extends AppLocalizations {
AppLocalizationsGa([String locale = 'ga']) : super(locale);
Expand Down
2 changes: 0 additions & 2 deletions lib/l10n/l10n_gl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'package:intl/intl.dart' as intl;

import 'l10n.dart';

// ignore_for_file: type=lint

/// The translations for Galician (`gl`).
class AppLocalizationsGl extends AppLocalizations {
AppLocalizationsGl([String locale = 'gl']) : super(locale);
Expand Down
Loading