chore: fix simplified chinese

This commit is contained in:
Kingkor Roy Tirtho 2023-07-11 22:23:51 +06:00
parent 26dbd52373
commit e5839b6980
3 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,7 @@ class ISOLanguageName {
}
// Uncomment the languages as we add support for them
// Currently supported: bn,en,fr,hi,zh-cn
// Currently supported: bn,en,fr,hi,zh
abstract class LanguageLocals {
static final Map isoLangs = {
// "ab": const ISOLanguageName(
@ -128,7 +128,7 @@ abstract class LanguageLocals {
// name: "Chichewa",
// nativeName: "chiCheŵa",
// ),
"zh-cn": const ISOLanguageName(
"zh": const ISOLanguageName(
name: "Simplified Chinese",
nativeName: "简体中文",
),

View File

@ -79,7 +79,7 @@
"removed_track_from_queue": "将 {track} 从播放队列中移除",
"remove_from_queue": "从播放队列移除",
"remove_from_favorites": "取消点赞",
"save_as_favorite": 点赞",
"save_as_favorite": "点赞",
"add_to_playlist": "添加到歌单",
"remove_from_playlist": "从歌单中移除",
"add_to_blacklist": "添加到屏蔽列表",
@ -249,5 +249,5 @@
"developers": "开发者",
"not_logged_in": "你尚未登录",
"search_mode": "搜索模式",
"youtube_api_type": "YouTube API 类型"
"youtube_api_type": "API 类型"
}

View File

@ -3,6 +3,7 @@
/// Kingkor Roy Tirtho => English, Bengali
/// ChatGPT (GPT 3.5) XD => Hindi, French
/// maboroshin@github => Japanese
/// iceyear@github => Simplified Chinese
import 'package:flutter/material.dart';
class L10n {
@ -13,6 +14,6 @@ class L10n {
const Locale('hi', 'IN'),
const Locale('de', 'GE'),
const Locale('ja', 'JP'),
const Locale('zh-cn', 'CN'),
const Locale('zh', 'CN'),
];
}