From 4b52a71c0914bda6c831d8f637a5934f7bcf8fcb Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sun, 25 Jun 2023 10:29:49 +0600 Subject: [PATCH] feat(translation): add Japanase locale --- lib/collections/language_codes.dart | 8 ++++---- lib/l10n/app_ja.arb | 2 +- lib/l10n/l10n.dart | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/collections/language_codes.dart b/lib/collections/language_codes.dart index 89b7df771..e06d42097 100644 --- a/lib/collections/language_codes.dart +++ b/lib/collections/language_codes.dart @@ -296,10 +296,10 @@ abstract class LanguageLocals { // name: "Inuktitut", // nativeName: "ᐃᓄᒃᑎᑐᑦ", // ), - // "ja": const ISOLanguageName( - // name: "Japanese", - // nativeName: "日本語 (にほんご/にっぽんご)", - // ), + "ja": const ISOLanguageName( + name: "Japanese", + nativeName: "日本語 (にほんご/にっぽんご)", + ), // "jv": const ISOLanguageName( // name: "Javanese", // nativeName: "basa Jawa", diff --git a/lib/l10n/app_ja.arb b/lib/l10n/app_ja.arb index 380bf4842..c5342bba8 100644 --- a/lib/l10n/app_ja.arb +++ b/lib/l10n/app_ja.arb @@ -23,7 +23,7 @@ "liked_tracks": "いいねした曲", "liked_tracks_description": "いいねしたすべての曲", "create_playlist": "再生リストの作成", - "create_a_playlist": "再生リストの作成, + "create_a_playlist": "再生リストの作成", "create": "作成", "cancel": "キャンセル", "playlist_name": "再生リスト名", diff --git a/lib/l10n/l10n.dart b/lib/l10n/l10n.dart index 5635013ff..d4368b0dc 100644 --- a/lib/l10n/l10n.dart +++ b/lib/l10n/l10n.dart @@ -2,6 +2,7 @@ /// /// Kingkor Roy Tirtho => English, Bengali /// ChatGPT (GPT 3.5) XD => Hindi, French +/// maboroshin@github => Japanese import 'package:flutter/material.dart'; class L10n { @@ -10,5 +11,6 @@ class L10n { const Locale('bn', 'BD'), const Locale('fr', 'FR'), const Locale('hi', 'IN'), + const Locale('ja', 'JA'), ]; }