diff --git a/lib/generated/intl/messages_all.dart b/lib/generated/intl/messages_all.dart index d93832d20..d75407cb6 100644 --- a/lib/generated/intl/messages_all.dart +++ b/lib/generated/intl/messages_all.dart @@ -23,6 +23,7 @@ import 'messages_fa.dart' as messages_fa; import 'messages_fr.dart' as messages_fr; import 'messages_hi.dart' as messages_hi; import 'messages_it.dart' as messages_it; +import 'messages_ja.dart' as messages_ja; import 'messages_ko.dart' as messages_ko; import 'messages_ms.dart' as messages_ms; import 'messages_nl.dart' as messages_nl; @@ -42,6 +43,7 @@ Map _deferredLibraries = { 'fr': () => new Future.value(null), 'hi': () => new Future.value(null), 'it': () => new Future.value(null), + 'ja': () => new Future.value(null), 'ko': () => new Future.value(null), 'ms': () => new Future.value(null), 'nl': () => new Future.value(null), @@ -70,6 +72,8 @@ MessageLookupByLibrary? _findExact(String localeName) { return messages_hi.messages; case 'it': return messages_it.messages; + case 'ja': + return messages_ja.messages; case 'ko': return messages_ko.messages; case 'ms': diff --git a/lib/generated/intl/messages_ja.dart b/lib/generated/intl/messages_ja.dart new file mode 100644 index 000000000..7a6b07d60 --- /dev/null +++ b/lib/generated/intl/messages_ja.dart @@ -0,0 +1,63 @@ +// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart +// This is a library that provides messages for a ja 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 args); + +class MessageLookup extends MessageLookupByLibrary { + String get localeName => 'ja'; + + final messages = _notInlinedMessages(_notInlinedMessages); + static Map _notInlinedMessages(_) => { + "am": MessageLookupByLibrary.simpleMessage("午前"), + "backButtonTooltip": MessageLookupByLibrary.simpleMessage("戻る"), + "clickToSearch": MessageLookupByLibrary.simpleMessage("クリックして検索"), + "closeButtonLabel": MessageLookupByLibrary.simpleMessage("閉じる"), + "closeNavigationTooltip": + MessageLookupByLibrary.simpleMessage("メニューを閉じる"), + "closeTabLabelSuffix": MessageLookupByLibrary.simpleMessage("タブを閉じる"), + "closeWindowTooltip": MessageLookupByLibrary.simpleMessage("閉じる"), + "copyActionLabel": MessageLookupByLibrary.simpleMessage("コピー"), + "copyActionTooltip": + MessageLookupByLibrary.simpleMessage("選択した内容をクリップボードにコピー"), + "cutActionLabel": MessageLookupByLibrary.simpleMessage("切り取り"), + "cutActionTooltip": + MessageLookupByLibrary.simpleMessage("選択した内容を切り取ってクリップボードに追加"), + "day": MessageLookupByLibrary.simpleMessage("日"), + "dialogLabel": MessageLookupByLibrary.simpleMessage("ダイアログ"), + "hour": MessageLookupByLibrary.simpleMessage("時"), + "minimizeWindowTooltip": MessageLookupByLibrary.simpleMessage("最小化"), + "minute": MessageLookupByLibrary.simpleMessage("分"), + "modalBarrierDismissLabel": MessageLookupByLibrary.simpleMessage("閉じる"), + "month": MessageLookupByLibrary.simpleMessage("月"), + "newTabLabel": MessageLookupByLibrary.simpleMessage("新しいタブを追加"), + "noResultsFoundLabel": + MessageLookupByLibrary.simpleMessage("検索結果はありません"), + "openNavigationTooltip": + MessageLookupByLibrary.simpleMessage("メニューを開く"), + "pasteActionLabel": MessageLookupByLibrary.simpleMessage("貼り付け"), + "pasteActionTooltip": + MessageLookupByLibrary.simpleMessage("クリップボードの内容をここに貼り付け"), + "pm": MessageLookupByLibrary.simpleMessage("午後"), + "restoreWindowTooltip": MessageLookupByLibrary.simpleMessage("元に戻す"), + "scrollTabBackwardLabel": MessageLookupByLibrary.simpleMessage("前のタブへ"), + "scrollTabForwardLabel": MessageLookupByLibrary.simpleMessage("次のタブへ"), + "searchLabel": MessageLookupByLibrary.simpleMessage("検索"), + "selectAllActionLabel": MessageLookupByLibrary.simpleMessage("全て選択"), + "selectAllActionTooltip": MessageLookupByLibrary.simpleMessage("全て選択"), + "year": MessageLookupByLibrary.simpleMessage("年") + }; +} diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index cf5af9979..7d21544f5 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -304,6 +304,7 @@ class AppLocalizationDelegate extends LocalizationsDelegate { Locale.fromSubtags(languageCode: 'fr'), Locale.fromSubtags(languageCode: 'hi'), Locale.fromSubtags(languageCode: 'it'), + Locale.fromSubtags(languageCode: 'ja'), Locale.fromSubtags(languageCode: 'ko'), Locale.fromSubtags(languageCode: 'ms'), Locale.fromSubtags(languageCode: 'nl'), diff --git a/lib/l10n/intl_ja.arb b/lib/l10n/intl_ja.arb new file mode 100644 index 000000000..25fce0601 --- /dev/null +++ b/lib/l10n/intl_ja.arb @@ -0,0 +1,34 @@ +{ + "@@locale": "ja", + "backButtonTooltip": "戻る", + "closeButtonLabel": "閉じる", + "searchLabel": "検索", + "closeNavigationTooltip": "メニューを閉じる", + "openNavigationTooltip": "メニューを開く", + "clickToSearch": "クリックして検索", + "modalBarrierDismissLabel": "閉じる", + "minimizeWindowTooltip": "最小化", + "restoreWindowTooltip": "元に戻す", + "closeWindowTooltip": "閉じる", + "dialogLabel": "ダイアログ", + "cutActionLabel": "切り取り", + "copyActionLabel": "コピー", + "pasteActionLabel": "貼り付け", + "selectAllActionLabel": "全て選択", + "newTabLabel": "新しいタブを追加", + "closeTabLabelSuffix": "タブを閉じる", + "scrollTabBackwardLabel": "前のタブへ", + "scrollTabForwardLabel": "次のタブへ", + "noResultsFoundLabel": "検索結果はありません", + "copyActionTooltip": "選択した内容をクリップボードにコピー", + "cutActionTooltip": "選択した内容を切り取ってクリップボードに追加", + "pasteActionTooltip": "クリップボードの内容をここに貼り付け", + "selectAllActionTooltip": "全て選択", + "hour": "時", + "minute": "分", + "am": "午前", + "pm": "午後", + "month": "月", + "day": "日", + "year": "年" +} diff --git a/lib/src/localization.dart b/lib/src/localization.dart index 9b7979f4a..8fecfc1a2 100644 --- a/lib/src/localization.dart +++ b/lib/src/localization.dart @@ -137,6 +137,7 @@ const List defaultSupportedLocales = [ Locale('fr'), Locale('hi'), Locale('it'), + Locale('ja'), Locale('ko'), Locale('ms'), Locale('nl'),