Commit ab241c2d authored by Louis Matthijssen's avatar Louis Matthijssen

Add NL translation

Signed-off-by: Louis Matthijssen's avatarLouis Matthijssen <louis@u5r.nl>
parent 86e2fa31
......@@ -186,6 +186,7 @@ class App extends StatelessWidget {
],
supportedLocales: [
const Locale('en', 'US'),
const Locale('nl', 'NL')
],
initialRoute: Routes.root,
onGenerateRoute: (settings) {
......
{
"@@last_modified": "2020-03-25T20:06:47.053234",
"@@last_modified": "2020-05-08T23:54:31.209369",
"appName": "Pattle",
"@appName": {
"type": "text",
......@@ -248,6 +248,11 @@
"type": "text",
"placeholders": {}
},
"_Chats_newChannel": "New channel",
"@_Chats_newChannel": {
"type": "text",
"placeholders": {}
},
"_ChatsNewGroup_title": "New group",
"@_ChatsNewGroup_title": {
"type": "text",
......
This diff is collapsed.
......@@ -27,7 +27,7 @@ class PattleLocalizationsDelegate
const PattleLocalizationsDelegate();
@override
bool isSupported(Locale locale) => ['en'].contains(locale.languageCode);
bool isSupported(Locale locale) => ['en', 'nl'].contains(locale.languageCode);
@override
Future<PattleLocalizations> load(Locale locale) {
......
......@@ -16,16 +16,20 @@ import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';
import 'messages_en.dart' as messages_en;
import 'messages_nl.dart' as messages_nl;
typedef LibraryLoader = Future<dynamic> Function();
Map<String, LibraryLoader> _deferredLibraries = {
'en': () => Future.value(null),
'nl': () => Future.value(null),
};
MessageLookupByLibrary _findExact(String localeName) {
switch (localeName) {
case 'en':
return messages_en.messages;
case 'nl':
return messages_nl.messages;
default:
return null;
}
......
......@@ -107,6 +107,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("New group"),
"_Chats_channels": MessageLookupByLibrary.simpleMessage("Channels"),
"_Chats_chats": MessageLookupByLibrary.simpleMessage("Chats"),
"_Chats_newChannel":
MessageLookupByLibrary.simpleMessage("New channel"),
"_Common_confirm": MessageLookupByLibrary.simpleMessage("Confirm"),
"_Common_name": MessageLookupByLibrary.simpleMessage("Name"),
"_Common_next": MessageLookupByLibrary.simpleMessage("Next"),
......
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a nl 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
import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
final messages = MessageLookup();
typedef MessageIfAbsent = String Function(
String messageStr, List<dynamic> args);
class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'nl';
static m0(count) => "${count} meer";
static m1(count) =>
"${Intl.plural(count, zero: 'Geen deelnemers', one: '${count} deelnemer', other: '${count} deelnemers')}";
static m2(person, bannee, banner) => "${Intl.select(person, {
'secondOnSecond': 'Jij bent door jezelf verbannen',
'secondOnThird': 'Jij bent verbannen door ${banner}',
'thirdOnThird': '${bannee} is verbannen door ${banner}',
'thirdOnSecond': '${bannee} is verbannen door jou',
})}";
static m3(person, name) => "${Intl.select(person, {
'second': 'Jij hebt deze groep gemaakt',
'third': '${name} heeft deze groep gemaakt',
})}";
static m4(person, name) => "${Intl.select(person, {
'second': 'Jij hebt dit bericht verwijderd',
'third': '${name} heeft dit bericht verwijderd',
})}";
static m5(person, name) => "${Intl.select(person, {
'second': 'Jij hebt de beschrijving van de groep aangepast',
'third': '${name} heeft de beschrijving van de groep aangepast',
})}";
static m6(person, invitee, inviter) => "${Intl.select(person, {
'secondOnSecond': 'Jij bent door jezelf uitgenodigd',
'secondOnThird': 'Jij bent uitgenodigd door ${inviter}',
'thirdOnThird': '${invitee} is uitgenodigd door ${inviter}',
'thirdOnSecond': '${invitee} is uitgenodigd door jou',
})}";
static m7(person, name) => "${Intl.select(person, {
'second': 'Jij bent aan het gesprek toegevoegd',
'third': '${name} is aan het gesprek toegevoegd',
})}";
static m8(person, name) => "${Intl.select(person, {
'second': 'Jij hebt het gesprek verlaten',
'third': '${name} heeft het gesprek verlaten',
})}";
static m9(person, name) => "${Intl.select(person, {
'second': 'Jij hebt deze groep geüpgraded',
'third': '${name} heeft deze groep geüpgraded',
})}";
static m10(andMore, first, second) => "${Intl.select(andMore, {
'false': '${first} en ${second} typen...',
'true': '${first}, ${second} en meer typen...',
})}";
static m11(name) => "${name} typt...";
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function>{
"Participants": MessageLookupByLibrary.simpleMessage("Deelnemers"),
"Profile": MessageLookupByLibrary.simpleMessage("Profiel"),
"_ChatDetails_description":
MessageLookupByLibrary.simpleMessage("Beschrijving"),
"_ChatDetails_more": m0,
"_ChatDetails_noDescriptionSet": MessageLookupByLibrary.simpleMessage(
"Er is geen beschrijving ingesteld"),
"_ChatDetails_participants": m1,
"_ChatMessage_ban": m2,
"_ChatMessage_creation": m3,
"_ChatMessage_deletion": m4,
"_ChatMessage_descriptionChange": m5,
"_ChatMessage_invite": m6,
"_ChatMessage_join": m7,
"_ChatMessage_leave": m8,
"_ChatMessage_upgrade": m9,
"_Chat_areTyping": m10,
"_Chat_cantSendMessages": MessageLookupByLibrary.simpleMessage(
"Je kan geen berichten naar deze groep sturen omdat je geen deelnemer meer bent."),
"_Chat_isTyping": m11,
"_Chat_typeAMessage":
MessageLookupByLibrary.simpleMessage("Typ een bericht"),
"_Chat_typing":
MessageLookupByLibrary.simpleMessage("aan het typen..."),
"_ChatsNewGroup_groupName":
MessageLookupByLibrary.simpleMessage("Groepnaam"),
"_ChatsNewGroup_title":
MessageLookupByLibrary.simpleMessage("Nieuwe groep"),
"_Chats_channels": MessageLookupByLibrary.simpleMessage("Kanalen"),
"_Chats_chats": MessageLookupByLibrary.simpleMessage("Chats"),
"_Chats_newChannel":
MessageLookupByLibrary.simpleMessage("Nieuw kanaal"),
"_Common_confirm": MessageLookupByLibrary.simpleMessage("Bevestigen"),
"_Common_name": MessageLookupByLibrary.simpleMessage("Naam"),
"_Common_next": MessageLookupByLibrary.simpleMessage("Volgende"),
"_Common_password": MessageLookupByLibrary.simpleMessage("Wachtwoord"),
"_Common_photo": MessageLookupByLibrary.simpleMessage("Foto"),
"_Common_username":
MessageLookupByLibrary.simpleMessage("Gebruikersnaam"),
"_Common_you": MessageLookupByLibrary.simpleMessage("Jij"),
"_Error_anErrorHasOccurred":
MessageLookupByLibrary.simpleMessage("Er is een fout opgetreden:"),
"_Error_connectionFailed": MessageLookupByLibrary.simpleMessage(
"Verbinding mislukt. Controleer je internetverbinding"),
"_Error_connectionFailedServerOverloaded":
MessageLookupByLibrary.simpleMessage(
"Verbinding mislukt. De server is waarschijnlijk overbelast."),
"_Error_connectionLost": MessageLookupByLibrary.simpleMessage(
"De verbinding is verloren.\nControleer of je telefoon een actieve internetverbinding heeft."),
"_Error_thisErrorHasBeenReported": MessageLookupByLibrary.simpleMessage(
"Deze fout is verstuurd. Herstart alsjeblieft Pattle."),
"_Settings_accountTileSubtitle": MessageLookupByLibrary.simpleMessage(
"Privacy, beveiling, wachtwoord veranderen"),
"_Settings_accountTileTitle":
MessageLookupByLibrary.simpleMessage("Account"),
"_Settings_appearanceTileSubtitle":
MessageLookupByLibrary.simpleMessage("Thema, lettergrootte"),
"_Settings_appearanceTileTitle":
MessageLookupByLibrary.simpleMessage("Uiterlijk"),
"_Settings_brightnessTileOptionDark":
MessageLookupByLibrary.simpleMessage("Donker"),
"_Settings_brightnessTileOptionLight":
MessageLookupByLibrary.simpleMessage("Licht"),
"_Settings_brightnessTileTitle":
MessageLookupByLibrary.simpleMessage("Helderheid"),
"_Settings_editNameDescription": MessageLookupByLibrary.simpleMessage(
"Dit is niet jouw gebruikersnaam. Deze naam is zichtbaar voor anderen."),
"_Settings_title": MessageLookupByLibrary.simpleMessage("Instellingen"),
"_StartUsername_hostnameInvalidError":
MessageLookupByLibrary.simpleMessage("Ongeldige hostnaam"),
"_StartUsername_title":
MessageLookupByLibrary.simpleMessage("Vul gebruikersnaam in"),
"_StartUsername_unknownError": MessageLookupByLibrary.simpleMessage(
"Er is een onbekende fout opgetreden"),
"_StartUsername_userIdInvalidError": MessageLookupByLibrary.simpleMessage(
"Ongeldige gebruikers-ID. Moet in het formaat \'@naam:server.tld\'"),
"_StartUsername_usernameInvalidError": MessageLookupByLibrary.simpleMessage(
"Ongeldige gebruikersnaam. Mag alleen letters, nummers, -, ., =, _ en / bevatten"),
"_StartUsername_wrongPasswordError":
MessageLookupByLibrary.simpleMessage(
"Verkeerd wachtwoord. Probeer het opnieuw"),
"_Start_advanced": MessageLookupByLibrary.simpleMessage("Geavanceerd"),
"_Start_homeserver": MessageLookupByLibrary.simpleMessage("Homeserver"),
"_Start_identityServer":
MessageLookupByLibrary.simpleMessage("Identiteitserver"),
"_Start_login": MessageLookupByLibrary.simpleMessage("Inloggen"),
"_Start_loginWithEmail":
MessageLookupByLibrary.simpleMessage("Inloggen met e-mail"),
"_Start_loginWithPhone":
MessageLookupByLibrary.simpleMessage("Inloggen met telefoonnummer"),
"_Start_loginWithUsername":
MessageLookupByLibrary.simpleMessage("Inloggen met gebruikersnaam"),
"_Start_register": MessageLookupByLibrary.simpleMessage("Registreren"),
"_Start_reportErrorsDescription": MessageLookupByLibrary.simpleMessage(
"Sta Pattle toe om crashrapporten te sturen om ontikkeling te helpen"),
"_Time_today": MessageLookupByLibrary.simpleMessage("Vandaag"),
"_Time_yesterday": MessageLookupByLibrary.simpleMessage("Gisteren"),
"appName": MessageLookupByLibrary.simpleMessage("Pattle")
};
}
// ignore_for_file: avoid_catches_without_on_clauses,type_annotate_public_apis,lines_longer_than_80_chars
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment