Quellcode durchsuchen

chore: update locale

Lucas.Xu vor 2 Jahren
Ursprung
Commit
8895430d9e

+ 4 - 0
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/intl/messages_all.dart

@@ -22,6 +22,7 @@ import 'messages_en.dart' as messages_en;
 import 'messages_es-VE.dart' as messages_es_ve;
 import 'messages_fr-CA.dart' as messages_fr_ca;
 import 'messages_fr-FR.dart' as messages_fr_fr;
+import 'messages_hi-IN.dart' as messages_hi_in;
 import 'messages_hu-HU.dart' as messages_hu_hu;
 import 'messages_id-ID.dart' as messages_id_id;
 import 'messages_it-IT.dart' as messages_it_it;
@@ -45,6 +46,7 @@ Map<String, LibraryLoader> _deferredLibraries = {
   'es_VE': () => new Future.value(null),
   'fr_CA': () => new Future.value(null),
   'fr_FR': () => new Future.value(null),
+  'hi_IN': () => new Future.value(null),
   'hu_HU': () => new Future.value(null),
   'id_ID': () => new Future.value(null),
   'it_IT': () => new Future.value(null),
@@ -76,6 +78,8 @@ MessageLookupByLibrary? _findExact(String localeName) {
       return messages_fr_ca.messages;
     case 'fr_FR':
       return messages_fr_fr.messages;
+    case 'hi_IN':
+      return messages_hi_in.messages;
     case 'hu_HU':
       return messages_hu_hu.messages;
     case 'id_ID':

+ 19 - 16
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/intl/messages_de-DE.dart

@@ -22,21 +22,24 @@ class MessageLookup extends MessageLookupByLibrary {
 
   final messages = _notInlinedMessages(_notInlinedMessages);
   static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-        "bold": MessageLookupByLibrary.simpleMessage(""),
-        "bulletedList": MessageLookupByLibrary.simpleMessage(""),
-        "checkbox": MessageLookupByLibrary.simpleMessage(""),
-        "embedCode": MessageLookupByLibrary.simpleMessage(""),
-        "heading1": MessageLookupByLibrary.simpleMessage(""),
-        "heading2": MessageLookupByLibrary.simpleMessage(""),
-        "heading3": MessageLookupByLibrary.simpleMessage(""),
-        "highlight": MessageLookupByLibrary.simpleMessage(""),
-        "image": MessageLookupByLibrary.simpleMessage(""),
-        "italic": MessageLookupByLibrary.simpleMessage(""),
-        "link": MessageLookupByLibrary.simpleMessage(""),
-        "numberedList": MessageLookupByLibrary.simpleMessage(""),
-        "quote": MessageLookupByLibrary.simpleMessage(""),
-        "strikethrough": MessageLookupByLibrary.simpleMessage(""),
-        "text": MessageLookupByLibrary.simpleMessage(""),
-        "underline": MessageLookupByLibrary.simpleMessage("")
+        "bold": MessageLookupByLibrary.simpleMessage("Fett gedruckt"),
+        "bulletedList":
+            MessageLookupByLibrary.simpleMessage("Aufzählungsliste"),
+        "checkbox": MessageLookupByLibrary.simpleMessage("Kontrollkästchen"),
+        "embedCode": MessageLookupByLibrary.simpleMessage("Code einbetten"),
+        "heading1": MessageLookupByLibrary.simpleMessage("Überschrift 1"),
+        "heading2": MessageLookupByLibrary.simpleMessage("Überschrift 2"),
+        "heading3": MessageLookupByLibrary.simpleMessage("Überschrift 3"),
+        "highlight": MessageLookupByLibrary.simpleMessage("Markieren"),
+        "image": MessageLookupByLibrary.simpleMessage("Bild"),
+        "italic": MessageLookupByLibrary.simpleMessage("kursiv"),
+        "link": MessageLookupByLibrary.simpleMessage("Verknüpfung"),
+        "numberedList":
+            MessageLookupByLibrary.simpleMessage("NummerierteListe"),
+        "quote": MessageLookupByLibrary.simpleMessage("zitieren"),
+        "strikethrough":
+            MessageLookupByLibrary.simpleMessage("durchgestrichen"),
+        "text": MessageLookupByLibrary.simpleMessage("Text"),
+        "underline": MessageLookupByLibrary.simpleMessage("unterstreichen")
       };
 }

+ 43 - 0
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/intl/messages_hi-IN.dart

@@ -0,0 +1,43 @@
+// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
+// This is a library that provides messages for a hi_IN 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 => 'hi_IN';
+
+  final messages = _notInlinedMessages(_notInlinedMessages);
+  static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
+        "bold": MessageLookupByLibrary.simpleMessage("बोल्ड"),
+        "bulletedList": MessageLookupByLibrary.simpleMessage("बुलेटेड सूची"),
+        "checkbox": MessageLookupByLibrary.simpleMessage("चेक बॉक्स"),
+        "embedCode":
+            MessageLookupByLibrary.simpleMessage("लागु किया गया संहिता"),
+        "heading1": MessageLookupByLibrary.simpleMessage("शीर्षक 1"),
+        "heading2": MessageLookupByLibrary.simpleMessage("शीर्षक 2"),
+        "heading3": MessageLookupByLibrary.simpleMessage("शीर्षक 3"),
+        "highlight": MessageLookupByLibrary.simpleMessage("प्रमुखता से दिखाना"),
+        "image": MessageLookupByLibrary.simpleMessage("छवि"),
+        "italic": MessageLookupByLibrary.simpleMessage("तिरछा"),
+        "link": MessageLookupByLibrary.simpleMessage("संपर्क"),
+        "numberedList": MessageLookupByLibrary.simpleMessage("क्रमांकित सूची"),
+        "quote": MessageLookupByLibrary.simpleMessage("उद्धरण"),
+        "strikethrough": MessageLookupByLibrary.simpleMessage("स्ट्राइकथ्रू"),
+        "text": MessageLookupByLibrary.simpleMessage("मूलपाठ"),
+        "underline": MessageLookupByLibrary.simpleMessage("रेखांकन")
+      };
+}

+ 18 - 16
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/intl/messages_ru-RU.dart

@@ -22,21 +22,23 @@ class MessageLookup extends MessageLookupByLibrary {
 
   final messages = _notInlinedMessages(_notInlinedMessages);
   static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-        "bold": MessageLookupByLibrary.simpleMessage(""),
-        "bulletedList": MessageLookupByLibrary.simpleMessage(""),
-        "checkbox": MessageLookupByLibrary.simpleMessage(""),
-        "embedCode": MessageLookupByLibrary.simpleMessage(""),
-        "heading1": MessageLookupByLibrary.simpleMessage(""),
-        "heading2": MessageLookupByLibrary.simpleMessage(""),
-        "heading3": MessageLookupByLibrary.simpleMessage(""),
-        "highlight": MessageLookupByLibrary.simpleMessage(""),
-        "image": MessageLookupByLibrary.simpleMessage(""),
-        "italic": MessageLookupByLibrary.simpleMessage(""),
-        "link": MessageLookupByLibrary.simpleMessage(""),
-        "numberedList": MessageLookupByLibrary.simpleMessage(""),
-        "quote": MessageLookupByLibrary.simpleMessage(""),
-        "strikethrough": MessageLookupByLibrary.simpleMessage(""),
-        "text": MessageLookupByLibrary.simpleMessage(""),
-        "underline": MessageLookupByLibrary.simpleMessage("")
+        "bold": MessageLookupByLibrary.simpleMessage("смелый"),
+        "bulletedList":
+            MessageLookupByLibrary.simpleMessage("маркированный список"),
+        "checkbox": MessageLookupByLibrary.simpleMessage("флажок"),
+        "embedCode": MessageLookupByLibrary.simpleMessage("код для вставки"),
+        "heading1": MessageLookupByLibrary.simpleMessage("заголовок1"),
+        "heading2": MessageLookupByLibrary.simpleMessage("заголовок2"),
+        "heading3": MessageLookupByLibrary.simpleMessage("заголовок3"),
+        "highlight": MessageLookupByLibrary.simpleMessage("выделять"),
+        "image": MessageLookupByLibrary.simpleMessage("изображение"),
+        "italic": MessageLookupByLibrary.simpleMessage("курсив"),
+        "link": MessageLookupByLibrary.simpleMessage("ссылка на сайт"),
+        "numberedList":
+            MessageLookupByLibrary.simpleMessage("нумерованный список"),
+        "quote": MessageLookupByLibrary.simpleMessage("цитировать"),
+        "strikethrough": MessageLookupByLibrary.simpleMessage("зачеркнутый"),
+        "text": MessageLookupByLibrary.simpleMessage("текст"),
+        "underline": MessageLookupByLibrary.simpleMessage("подчеркнуть")
       };
 }

+ 1 - 0
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/l10n.dart

@@ -225,6 +225,7 @@ class AppLocalizationDelegate
       Locale.fromSubtags(languageCode: 'es', countryCode: 'VE'),
       Locale.fromSubtags(languageCode: 'fr', countryCode: 'CA'),
       Locale.fromSubtags(languageCode: 'fr', countryCode: 'FR'),
+      Locale.fromSubtags(languageCode: 'hi', countryCode: 'IN'),
       Locale.fromSubtags(languageCode: 'hu', countryCode: 'HU'),
       Locale.fromSubtags(languageCode: 'id', countryCode: 'ID'),
       Locale.fromSubtags(languageCode: 'it', countryCode: 'IT'),