Skip to content
Open
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
17 changes: 13 additions & 4 deletions lib/l10n/generated/intl/messages_all.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';

import 'messages_ar.dart' as messages_ar;
import 'messages_de.dart' as messages_de;
import 'messages_en.dart' as messages_en;
import 'messages_es.dart' as messages_es;
import 'messages_it.dart' as messages_it;

typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
'ar': () => new SynchronousFuture(null),
'de': () => new SynchronousFuture(null),
'en': () => new SynchronousFuture(null),
'es': () => new SynchronousFuture(null),
Expand All @@ -31,6 +33,8 @@ Map<String, LibraryLoader> _deferredLibraries = {

MessageLookupByLibrary? _findExact(String localeName) {
switch (localeName) {
case 'ar':
return messages_ar.messages;
case 'de':
return messages_de.messages;
case 'en':
Expand All @@ -47,8 +51,10 @@ MessageLookupByLibrary? _findExact(String localeName) {
/// User programs should call this before using [localeName] for messages.
Future<bool> initializeMessages(String localeName) {
var availableLocale = Intl.verifiedLocale(
localeName, (locale) => _deferredLibraries[locale] != null,
onFailure: (_) => null);
localeName,
(locale) => _deferredLibraries[locale] != null,
onFailure: (_) => null,
);
if (availableLocale == null) {
return new SynchronousFuture(false);
}
Expand All @@ -68,8 +74,11 @@ bool _messagesExistFor(String locale) {
}

MessageLookupByLibrary? _findGeneratedMessagesFor(String locale) {
var actualLocale =
Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
var actualLocale = Intl.verifiedLocale(
locale,
_messagesExistFor,
onFailure: (_) => null,
);
if (actualLocale == null) return null;
return _findExact(actualLocale);
}
60 changes: 60 additions & 0 deletions lib/l10n/generated/intl/messages_ar.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a ar locale. All the
// messages from the main program should be duplicated here with the same
// function name.

// Ignore issues from commonly used lints in this file.
// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new
// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering
// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases
// ignore_for_file:unused_import, file_names, avoid_escaping_inner_quotes
// ignore_for_file:unnecessary_string_interpolations, unnecessary_string_escapes

import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';

final messages = new MessageLookup();

typedef String MessageIfAbsent(String messageStr, List<dynamic> args);

class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'ar';

static String m0(currentPage) => "صفحة ${currentPage}";

static String m1(time) => "آخر تحديث في ${time}";

static String m2(totalElements) => "عرض ${totalElements} عنصر";

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"applyFilterButtonText": MessageLookupByLibrary.simpleMessage("تطبيق"),
"cancelFilteringButtonText": MessageLookupByLibrary.simpleMessage("إلغاء"),
"editableColumnCancelButtonText": MessageLookupByLibrary.simpleMessage(
"إلغاء",
),
"editableColumnSaveChangesButtonText": MessageLookupByLibrary.simpleMessage(
"حفظ التغييرات",
),
"filterByTitle": MessageLookupByLibrary.simpleMessage("تصفية حسب"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage(
"الصفحة التالية",
),
"noItemsFoundText": MessageLookupByLibrary.simpleMessage(
"لم يتم العثور على عناصر",
),
"pageIndicatorText": m0,
"previousPageButtonText": MessageLookupByLibrary.simpleMessage(
"الصفحة السابقة",
),
"refreshText": MessageLookupByLibrary.simpleMessage("تحديث"),
"refreshedAtText": m1,
"removeAllFiltersButtonText": MessageLookupByLibrary.simpleMessage("إزالة"),
"removeFilterButtonText": MessageLookupByLibrary.simpleMessage(
"إزالة هذا الفلتر",
),
"rowsPerPageText": MessageLookupByLibrary.simpleMessage("صفوف لكل صفحة"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("تصفية"),
"totalElementsText": m2,
};
}
58 changes: 31 additions & 27 deletions lib/l10n/generated/intl/messages_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,35 @@ class MessageLookup extends MessageLookupByLibrary {

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"applyFilterButtonText":
MessageLookupByLibrary.simpleMessage("Anwenden"),
"cancelFilteringButtonText":
MessageLookupByLibrary.simpleMessage("Abbrechen"),
"editableColumnCancelButtonText":
MessageLookupByLibrary.simpleMessage("Abbrechen"),
"editableColumnSaveChangesButtonText":
MessageLookupByLibrary.simpleMessage("Änderungen speichern"),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filtern nach"),
"nextPageButtonText":
MessageLookupByLibrary.simpleMessage("Nächste Seite"),
"noItemsFoundText":
MessageLookupByLibrary.simpleMessage("Keine Elemente gefunden"),
"pageIndicatorText": m0,
"previousPageButtonText":
MessageLookupByLibrary.simpleMessage("Vorherige Seite"),
"refreshText": MessageLookupByLibrary.simpleMessage("Aktualisieren"),
"refreshedAtText": m1,
"removeAllFiltersButtonText":
MessageLookupByLibrary.simpleMessage("Entfernen"),
"removeFilterButtonText":
MessageLookupByLibrary.simpleMessage("Diesen Filter entfernen"),
"rowsPerPageText":
MessageLookupByLibrary.simpleMessage("Zeilen pro Seite"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filter"),
"totalElementsText": m2
};
"applyFilterButtonText": MessageLookupByLibrary.simpleMessage("Anwenden"),
"cancelFilteringButtonText": MessageLookupByLibrary.simpleMessage(
"Abbrechen",
),
"editableColumnCancelButtonText": MessageLookupByLibrary.simpleMessage(
"Abbrechen",
),
"editableColumnSaveChangesButtonText": MessageLookupByLibrary.simpleMessage(
"Änderungen speichern",
),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filtern nach"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage("Nächste Seite"),
"noItemsFoundText": MessageLookupByLibrary.simpleMessage(
"Keine Elemente gefunden",
),
"pageIndicatorText": m0,
"previousPageButtonText": MessageLookupByLibrary.simpleMessage(
"Vorherige Seite",
),
"refreshText": MessageLookupByLibrary.simpleMessage("Aktualisieren"),
"refreshedAtText": m1,
"removeAllFiltersButtonText": MessageLookupByLibrary.simpleMessage(
"Entfernen",
),
"removeFilterButtonText": MessageLookupByLibrary.simpleMessage(
"Diesen Filter entfernen",
),
"rowsPerPageText": MessageLookupByLibrary.simpleMessage("Zeilen pro Seite"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filter"),
"totalElementsText": m2,
};
}
52 changes: 27 additions & 25 deletions lib/l10n/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,31 @@ class MessageLookup extends MessageLookupByLibrary {

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"applyFilterButtonText": MessageLookupByLibrary.simpleMessage("Apply"),
"cancelFilteringButtonText":
MessageLookupByLibrary.simpleMessage("Cancel"),
"editableColumnCancelButtonText":
MessageLookupByLibrary.simpleMessage("Cancel"),
"editableColumnSaveChangesButtonText":
MessageLookupByLibrary.simpleMessage("Save changes"),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filter by"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage("Next page"),
"noItemsFoundText":
MessageLookupByLibrary.simpleMessage("No items found"),
"pageIndicatorText": m0,
"previousPageButtonText":
MessageLookupByLibrary.simpleMessage("Previous page"),
"refreshText": MessageLookupByLibrary.simpleMessage("Refresh"),
"refreshedAtText": m1,
"removeAllFiltersButtonText":
MessageLookupByLibrary.simpleMessage("Remove"),
"removeFilterButtonText":
MessageLookupByLibrary.simpleMessage("Remove this filter"),
"rowsPerPageText":
MessageLookupByLibrary.simpleMessage("Rows per page"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filter"),
"totalElementsText": m2
};
"applyFilterButtonText": MessageLookupByLibrary.simpleMessage("Apply"),
"cancelFilteringButtonText": MessageLookupByLibrary.simpleMessage("Cancel"),
"editableColumnCancelButtonText": MessageLookupByLibrary.simpleMessage(
"Cancel",
),
"editableColumnSaveChangesButtonText": MessageLookupByLibrary.simpleMessage(
"Save changes",
),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filter by"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage("Next page"),
"noItemsFoundText": MessageLookupByLibrary.simpleMessage("No items found"),
"pageIndicatorText": m0,
"previousPageButtonText": MessageLookupByLibrary.simpleMessage(
"Previous page",
),
"refreshText": MessageLookupByLibrary.simpleMessage("Refresh"),
"refreshedAtText": m1,
"removeAllFiltersButtonText": MessageLookupByLibrary.simpleMessage(
"Remove",
),
"removeFilterButtonText": MessageLookupByLibrary.simpleMessage(
"Remove this filter",
),
"rowsPerPageText": MessageLookupByLibrary.simpleMessage("Rows per page"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filter"),
"totalElementsText": m2,
};
}
56 changes: 29 additions & 27 deletions lib/l10n/generated/intl/messages_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,33 @@ class MessageLookup extends MessageLookupByLibrary {

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"applyFilterButtonText":
MessageLookupByLibrary.simpleMessage("Aplicar"),
"cancelFilteringButtonText":
MessageLookupByLibrary.simpleMessage("Cancelar"),
"editableColumnCancelButtonText":
MessageLookupByLibrary.simpleMessage("Cancelar"),
"editableColumnSaveChangesButtonText":
MessageLookupByLibrary.simpleMessage("Guardar cambios"),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filtrar por"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage("Siguiente"),
"noItemsFoundText": MessageLookupByLibrary.simpleMessage(
"No se han encontrado elementos"),
"pageIndicatorText": m0,
"previousPageButtonText":
MessageLookupByLibrary.simpleMessage("Anterior"),
"refreshText": MessageLookupByLibrary.simpleMessage("Actualizar"),
"refreshedAtText": m1,
"removeAllFiltersButtonText":
MessageLookupByLibrary.simpleMessage("Borrar"),
"removeFilterButtonText":
MessageLookupByLibrary.simpleMessage("Quitar este filtro"),
"rowsPerPageText":
MessageLookupByLibrary.simpleMessage("Filas por página"),
"showFilterMenuTooltip":
MessageLookupByLibrary.simpleMessage("Filtrar"),
"totalElementsText": m2
};
"applyFilterButtonText": MessageLookupByLibrary.simpleMessage("Aplicar"),
"cancelFilteringButtonText": MessageLookupByLibrary.simpleMessage(
"Cancelar",
),
"editableColumnCancelButtonText": MessageLookupByLibrary.simpleMessage(
"Cancelar",
),
"editableColumnSaveChangesButtonText": MessageLookupByLibrary.simpleMessage(
"Guardar cambios",
),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filtrar por"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage("Siguiente"),
"noItemsFoundText": MessageLookupByLibrary.simpleMessage(
"No se han encontrado elementos",
),
"pageIndicatorText": m0,
"previousPageButtonText": MessageLookupByLibrary.simpleMessage("Anterior"),
"refreshText": MessageLookupByLibrary.simpleMessage("Actualizar"),
"refreshedAtText": m1,
"removeAllFiltersButtonText": MessageLookupByLibrary.simpleMessage(
"Borrar",
),
"removeFilterButtonText": MessageLookupByLibrary.simpleMessage(
"Quitar este filtro",
),
"rowsPerPageText": MessageLookupByLibrary.simpleMessage("Filas por página"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filtrar"),
"totalElementsText": m2,
};
}
60 changes: 33 additions & 27 deletions lib/l10n/generated/intl/messages_it.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,37 @@ class MessageLookup extends MessageLookupByLibrary {

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"applyFilterButtonText":
MessageLookupByLibrary.simpleMessage("Applica"),
"cancelFilteringButtonText":
MessageLookupByLibrary.simpleMessage("Annulla"),
"editableColumnCancelButtonText":
MessageLookupByLibrary.simpleMessage("Annulla"),
"editableColumnSaveChangesButtonText":
MessageLookupByLibrary.simpleMessage("Salva"),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filtra per"),
"nextPageButtonText":
MessageLookupByLibrary.simpleMessage("Pagina successiva"),
"noItemsFoundText":
MessageLookupByLibrary.simpleMessage("Nessun elemento trovato"),
"pageIndicatorText": m0,
"previousPageButtonText":
MessageLookupByLibrary.simpleMessage("Pagina precedente"),
"refreshText": MessageLookupByLibrary.simpleMessage("Aggiorna"),
"refreshedAtText": m1,
"removeAllFiltersButtonText":
MessageLookupByLibrary.simpleMessage("Rimuovi"),
"removeFilterButtonText":
MessageLookupByLibrary.simpleMessage("Rimuovi filtro"),
"rowsPerPageText":
MessageLookupByLibrary.simpleMessage("Righe per pagina"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filtro"),
"totalElementsText": m2
};
"applyFilterButtonText": MessageLookupByLibrary.simpleMessage("Applica"),
"cancelFilteringButtonText": MessageLookupByLibrary.simpleMessage(
"Annulla",
),
"editableColumnCancelButtonText": MessageLookupByLibrary.simpleMessage(
"Annulla",
),
"editableColumnSaveChangesButtonText": MessageLookupByLibrary.simpleMessage(
"Salva",
),
"filterByTitle": MessageLookupByLibrary.simpleMessage("Filtra per"),
"nextPageButtonText": MessageLookupByLibrary.simpleMessage(
"Pagina successiva",
),
"noItemsFoundText": MessageLookupByLibrary.simpleMessage(
"Nessun elemento trovato",
),
"pageIndicatorText": m0,
"previousPageButtonText": MessageLookupByLibrary.simpleMessage(
"Pagina precedente",
),
"refreshText": MessageLookupByLibrary.simpleMessage("Aggiorna"),
"refreshedAtText": m1,
"removeAllFiltersButtonText": MessageLookupByLibrary.simpleMessage(
"Rimuovi",
),
"removeFilterButtonText": MessageLookupByLibrary.simpleMessage(
"Rimuovi filtro",
),
"rowsPerPageText": MessageLookupByLibrary.simpleMessage("Righe per pagina"),
"showFilterMenuTooltip": MessageLookupByLibrary.simpleMessage("Filtro"),
"totalElementsText": m2,
};
}
Loading