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'; String get replyToMessageLabel => 'Reply to Message';
@override @override
String attachmentLimitExceedError(int limit) => String get slowModeOnLabel => 'Slow mode ON';
'Attachment limit exceeded, limit: $limit';
@override @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'; String get replyToMessageLabel => 'Responder al Mensaje';
@override @override
String attachmentLimitExceedError(int limit) { String attachmentLimitExceedError(int limit) => '''
// TODO: implement attachmentLimitExceedError No es posible añadir más de $limit archivos adjuntos
throw UnimplementedError(); ''';
}
@override @override
String get slowModeOnLabel => 'Modo lento activado'; String get slowModeOnLabel => 'Modo lento activado';
@@ -365,10 +365,9 @@ class StreamChatLocalizationsFr extends GlobalStreamChatLocalizations {
String get replyToMessageLabel => 'Répondre au Message'; String get replyToMessageLabel => 'Répondre au Message';
@override @override
String attachmentLimitExceedError(int limit) { String attachmentLimitExceedError(int limit) => '''
// TODO: implement attachmentLimitExceedError Limite de pièces jointes dépassée : il n'est pas possible d'ajouter plus de $limit pièces jointes
throw UnimplementedError(); ''';
}
@override @override
String get slowModeOnLabel => 'Mode lent activé'; String get slowModeOnLabel => 'Mode lent activé';
@@ -360,10 +360,9 @@ class StreamChatLocalizationsHi extends GlobalStreamChatLocalizations {
String get replyToMessageLabel => 'संदेश का जवाब'; String get replyToMessageLabel => 'संदेश का जवाब';
@override @override
String attachmentLimitExceedError(int limit) { String attachmentLimitExceedError(int limit) => '''
// TODO: implement attachmentLimitExceedError अटैचमेंट लिमिट: $limit अटैचमेंट से अधिक जोड़ना संभव नहीं है
throw UnimplementedError(); ''';
}
@override @override
String get slowModeOnLabel => 'स्लो मोड चालू'; 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'; String get replyToMessageLabel => 'Rispondi al messaggio';
@override @override
String attachmentLimitExceedError(int limit) { String attachmentLimitExceedError(int limit) => '''
// TODO: implement attachmentLimitExceedError Attenzione: il limite massimo di $limit file è stato superato.
throw UnimplementedError(); ''';
}
@override @override
String get slowModeOnLabel => 'Slowmode attiva'; String get slowModeOnLabel => 'Slowmode attiva';
@@ -351,8 +351,7 @@ class StreamChatLocalizationsJa extends GlobalStreamChatLocalizations {
String get slowModeOnLabel => 'スローモードオン'; String get slowModeOnLabel => 'スローモードオン';
@override @override
String attachmentLimitExceedError(int limit) { String attachmentLimitExceedError(int limit) => '''
// TODO: implement attachmentLimitExceedError 添付ファイルの制限を超えました:$limit個のファイル以上を添付することはできません
throw UnimplementedError(); ''';
}
} }
@@ -349,8 +349,6 @@ class StreamChatLocalizationsKo extends GlobalStreamChatLocalizations {
String get slowModeOnLabel => '슬로모드 켜짐'; String get slowModeOnLabel => '슬로모드 켜짐';
@override @override
String attachmentLimitExceedError(int limit) { String attachmentLimitExceedError(int limit) =>
// TODO: implement attachmentLimitExceedError '첨부 파일 제한 초과: $limit 이상의 첨부 파일을 추가할 수 없습니다';
throw UnimplementedError();
}
} }