feat(localization): add localized strings

This commit is contained in:
Salvatore Giordano
2021-08-24 09:46:29 +02:00
parent f0976f0aab
commit 02066e3bfb
7 changed files with 20 additions and 27 deletions
@@ -676,9 +676,9 @@ class DefaultTranslations implements Translations {
String get replyToMessageLabel => 'Reply to Message';
@override
String attachmentLimitExceedError(int limit) =>
'Attachment limit exceeded, limit: $limit';
String get slowModeOnLabel => 'Slow mode ON';
@override
String get slowModeOnLabel => 'Slow mode ON';
String attachmentLimitExceedError(int limit) => """
Attachment limit exceeded: it's not possible to add more than $limit attachments""";
}
@@ -366,10 +366,9 @@ class StreamChatLocalizationsEs extends GlobalStreamChatLocalizations {
String get replyToMessageLabel => 'Responder al Mensaje';
@override
String attachmentLimitExceedError(int limit) {
// TODO: implement attachmentLimitExceedError
throw UnimplementedError();
}
String attachmentLimitExceedError(int limit) => '''
No es posible añadir más de $limit archivos adjuntos
''';
@override
String get slowModeOnLabel => 'Modo lento activado';
@@ -365,10 +365,9 @@ class StreamChatLocalizationsFr extends GlobalStreamChatLocalizations {
String get replyToMessageLabel => 'Répondre au Message';
@override
String attachmentLimitExceedError(int limit) {
// TODO: implement attachmentLimitExceedError
throw UnimplementedError();
}
String attachmentLimitExceedError(int limit) => '''
Limite de pièces jointes dépassée : il n'est pas possible d'ajouter plus de $limit pièces jointes
''';
@override
String get slowModeOnLabel => 'Mode lent activé';
@@ -360,10 +360,9 @@ class StreamChatLocalizationsHi extends GlobalStreamChatLocalizations {
String get replyToMessageLabel => 'संदेश का जवाब';
@override
String attachmentLimitExceedError(int limit) {
// TODO: implement attachmentLimitExceedError
throw UnimplementedError();
}
String attachmentLimitExceedError(int limit) => '''
अटैचमेंट लिमिट: $limit अटैचमेंट से अधिक जोड़ना संभव नहीं है
''';
@override
String get slowModeOnLabel => 'स्लो मोड चालू';
@@ -362,10 +362,9 @@ Il file è troppo grande per essere caricato. Il limite è di $limitInMB MB.''';
String get replyToMessageLabel => 'Rispondi al messaggio';
@override
String attachmentLimitExceedError(int limit) {
// TODO: implement attachmentLimitExceedError
throw UnimplementedError();
}
String attachmentLimitExceedError(int limit) => '''
Attenzione: il limite massimo di $limit file è stato superato.
''';
@override
String get slowModeOnLabel => 'Slowmode attiva';
@@ -351,8 +351,7 @@ class StreamChatLocalizationsJa extends GlobalStreamChatLocalizations {
String get slowModeOnLabel => 'スローモードオン';
@override
String attachmentLimitExceedError(int limit) {
// TODO: implement attachmentLimitExceedError
throw UnimplementedError();
}
String attachmentLimitExceedError(int limit) => '''
添付ファイルの制限を超えました:$limit個のファイル以上を添付することはできません
''';
}
@@ -349,8 +349,6 @@ class StreamChatLocalizationsKo extends GlobalStreamChatLocalizations {
String get slowModeOnLabel => '슬로모드 켜짐';
@override
String attachmentLimitExceedError(int limit) {
// TODO: implement attachmentLimitExceedError
throw UnimplementedError();
}
String attachmentLimitExceedError(int limit) =>
'첨부 파일 제한 초과: $limit 이상의 첨부 파일을 추가할 수 없습니다';
}