Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Simplified Chinese translation. #556

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/collections/language_codes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ISOLanguageName {
}

// Uncomment the languages as we add support for them
// Currently supported: bn,en,fr,hi
// Currently supported: bn,en,fr,hi,zh-cn
abstract class LanguageLocals {
static final Map isoLangs = {
// "ab": const ISOLanguageName(
Expand Down Expand Up @@ -128,10 +128,10 @@ abstract class LanguageLocals {
// name: "Chichewa",
// nativeName: "chiCheŵa",
// ),
// "zh": const ISOLanguageName(
// name: "Chinese",
// nativeName: "汉语",
// ),
"zh-cn": const ISOLanguageName(
name: "Simplified Chinese",
nativeName: "简体中文",
),
// "cv": const ISOLanguageName(
// name: "Chuvash",
// nativeName: "чӑваш чӗлхи",
Expand Down
253 changes: 253 additions & 0 deletions lib/l10n/app_zh-cn.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
{
"guest": "访客",
"browse": "浏览",
"search": "搜索",
"library": "音乐库",
"lyrics": "歌词",
"settings": "设置",
"genre_categories_filter": "筛选类别...",
"genre": "探索歌单",
"personalized": "为你打造",
"featured": "推荐",
"new_releases": "新歌热播",
"songs": "歌曲",
"playing_track": "播放 {track}",
"queue_clear_alert": "这将清空当前的播放队列。{track_length} 首歌曲将被移除\n你确定要继续吗?",
"load_more": "加载更多",
"playlists": "歌单",
"artists": "艺人",
"albums": "专辑",
"tracks": "歌曲",
"downloads": "下载",
"filter_playlists": "筛选歌单...",
"liked_tracks": "已点赞的歌曲",
"liked_tracks_description": "你点赞过的所有歌曲",
"create_playlist": "创建歌单",
"create_a_playlist": "创建一个歌单",
"create": "创建",
"cancel": "取消",
"playlist_name": "歌单名称",
"name_of_playlist": "歌单的名称",
"description": "描述",
"public": "公开",
"collaborative": "共享协作",
"search_local_tracks": "搜索本地歌曲...",
"play": "播放",
"delete": "删除",
"none": "无",
"sort_a_z": "按字母正序",
"sort_z_a": "按字母倒序",
"sort_artist": "按艺人",
"sort_album": "按专辑",
"sort_tracks": "排序方式",
"currently_downloading": "正在下载 ({tracks_length})",
"cancel_all": "取消全部",
"filter_artist": "筛选艺人...",
"followers": "{followers} 名关注者",
"add_artist_to_blacklist": "屏蔽该艺人",
"top_tracks": "热门歌曲",
"fans_also_like": "粉丝也喜欢",
"loading": "加载中...",
"artist": "艺人",
"blacklisted": "已屏蔽",
"following": "关注中",
"follow": "关注",
"artist_url_copied": "艺人的分享链接已复制至剪贴板",
"added_to_queue": "已添加 {tracks} 首歌曲到播放队列",
"filter_albums": "筛选专辑...",
"synced": "同步",
"plain": "无同步",
"shuffle": "随机播放",
"search_tracks": "搜索歌曲...",
"released": "发行时间",
"error": "错误 {error}",
"title": "标题",
"time": "时长",
"more_actions": "更多操作",
"download_count": "下载 ({count}) 首歌曲",
"add_count_to_playlist": "添加 ({count}) 首歌曲到歌单中",
"add_count_to_queue": "添加 ({count}) 首歌曲到播放队列中",
"play_count_next": "接下来播放 ({count}) 首歌曲",
"album": "专辑",
"copied_to_clipboard": "已将 {data} 复制至剪贴板",
"add_to_following_playlists": "添加 {track} 到以下播放列表",
"add": "添加",
"added_track_to_queue": "添加 {track} 到播放队列",
"add_to_queue": "添加到播放队列",
"track_will_play_next": "{track} 将在下一首播放",
"play_next": "下一首播放",
"removed_track_from_queue": "将 {track} 从播放队列中移除",
"remove_from_queue": "从播放队列移除",
"remove_from_favorites": "取消点赞",
"save_as_favorite": 点赞",
"add_to_playlist": "添加到歌单",
"remove_from_playlist": "从歌单中移除",
"add_to_blacklist": "添加到屏蔽列表",
"remove_from_blacklist": "从屏蔽列表中移除",
"share": "分享",
"mini_player": "小窗模式",
"slide_to_seek": "滑动以前进或后退",
"shuffle_playlist": "随机播放歌单",
"unshuffle_playlist": "取消随机播放歌单",
"previous_track": "上一首歌曲",
"next_track": "下一首歌曲",
"pause_playback": "暂停播放",
"resume_playback": "恢复播放",
"loop_track": "单曲循环",
"repeat_playlist": "歌单循环",
"queue": "播放队列",
"alternative_track_sources": "其它音源",
"download_track": "下载歌曲",
"tracks_in_queue": "{tracks} 首歌曲在播放队列中",
"clear_all": "清除全部",
"show_hide_ui_on_hover": "悬停时显示/隐藏控制栏",
"always_on_top": "置顶",
"exit_mini_player": "退出小窗模式",
"download_location": "下载路径",
"account": "账户",
"login_with_spotify": "使用 Spotify 登录",
"connect_with_spotify": "与 Spotify 账户连接",
"logout": "退出",
"logout_of_this_account": "退出该账户",
"language_region": "语言和地区",
"language": "语言",
"system_default": "系统默认",
"market_place_region": "市场地区",
"recommendation_country": "选择国家与地区以获取对应推荐",
"appearance": "外观",
"layout_mode": "布局类型",
"override_layout_settings": "将覆盖响应式布局设置",
"adaptive": "自适应",
"compact": "紧凑",
"extended": "宽广",
"theme": "主题",
"dark": "深色",
"light": "浅色",
"system": "系统",
"accent_color": "主色调",
"sync_album_color": "匹配封面颜色",
"sync_album_color_description": "选取专辑封面主题色作为主色调",
"playback": "播放",
"audio_quality": "音质",
"high": "高",
"low": "低",
"pre_download_play": "先下后播",
"pre_download_play_description": "先下载歌曲后再播放而非流式播放(推荐带宽较高用户使用)",
"skip_non_music": "跳过非音乐片段(屏蔽赞助商)",
"blacklist_description": "已屏蔽的歌曲与艺人",
"wait_for_download_to_finish": "请等待当前下载任务完成",
"download_lyrics": "下载歌曲时同时下载歌词",
"desktop": "桌面端设置",
"close_behavior": "点击关闭按钮行为",
"close": "关闭",
"minimize_to_tray": "最小化到托盘",
"show_tray_icon": "显示托盘图标",
"about": "关于",
"u_love_spotube": "我们明白你喜欢 Spotube",
"check_for_updates": "检查更新",
"about_spotube": "关于 Spotube",
"blacklist": "屏蔽列表",
"please_sponsor": "请赞助/捐赠",
"spotube_description": "Spotube,一个轻量、跨平台且完全免费的 Spotify 客户端。",
"version": "版本",
"build_number": "构建代码",
"founder": "发起人",
"repository": "源码",
"bug_issues": "缺陷和问题报告",
"made_with": "于孟加拉🇧🇩用 ❤️ 发电",
"kingkor_roy_tirtho": "Kingkor Roy Tirtho",
"copyright": "© 2021-{current_year} Kingkor Roy Tirtho",
"license": "许可证",
"add_spotify_credentials": "添加你的 Spotify 登录信息以开始使用",
"credentials_will_not_be_shared_disclaimer": "不用担心,软件不会收集或分享任何个人数据给第三方",
"know_how_to_login": "不知道该怎么做?",
"follow_step_by_step_guide": "请按照以下指南进行",
"spotify_cookie": "Spotify {name} Cookie",
"cookie_name_cookie": "{name} Cookie",
"fill_in_all_fields": "请填写所有栏目",
"submit": "提交",
"exit": "退出",
"previous": "上一步",
"next": "下一步",
"done": "完成",
"step_1": "步骤 1",
"first_go_to": "首先,前往",
"login_if_not_logged_in": "如果尚未登录,请登录或者注册一个账户",
"step_2": "步骤 2",
"step_2_steps": "1. 一旦你已经完成登录, 按 F12 键或者鼠标右击网页空白区域 > 选择“检查”以打开浏览器开发者工具(DevTools)\n2. 然后选择 \"应用(Application)\" 标签页(Chrome, Edge, Brave 等基于 Chromium 的浏览器) 或 \"存储(Storage)\" 标签页 (Firefox, Palemoon 等基于 Firefox 的浏览器))\n3. 选择 \"Cookies\" 栏目然后选择 \"https://accounts.spotify.com\" 子栏目",
"step_3": "步骤 3",
"step_3_steps": "复制名称为 \"sp_dc\" 和 \"sp_key\" 的值(Cookie Value)",
"success_emoji": "成功🥳",
"success_message": "你已经成功使用 Spotify 登录。干得漂亮!",
"step_4": "步骤 4",
"step_4_steps": "将 \"sp_dc\" 与 \"sp_key\" 的值分别复制后粘贴到对应的区域",
"something_went_wrong": "某些地方出现了问题",
"piped_instance": "管道服务器实例",
"piped_description": "管道服务器实例用于匹配歌曲\n它们中的一部分可能并不能正常工作。使用时请自行承担风险",
"generate_playlist": "生成歌单",
"track_exists": "歌曲 {track} 已存在",
"replace_downloaded_tracks": "替换已下载的歌曲",
"skip_download_tracks": "下载时跳过已下载的歌曲",
"do_you_want_to_replace": "你确定要替换已下载的歌曲吗??",
"replace": "替换",
"skip": "跳过",
"select_up_to_count_type": "选择多达 {count} 种的类型 {type}",
"select_genres": "选择曲风",
"add_genres": "添加曲风",
"country": "国家和地区",
"number_of_tracks_generate": "生成歌曲的数目",
"acousticness": "原声程度",
"danceability": "律动感",
"energy": "冲击感",
"instrumentalness": "歌唱部分占比",
"liveness": "现场感",
"loudness": "响度",
"speechiness": "朗诵比例",
"valence": "心理感受",
"popularity": "流行度",
"key": "曲调",
"duration": "歌曲时长 (s)",
"tempo": "分钟节拍数 (BPM)",
"mode": "旋律重复度",
"time_signature": "音符时值",
"short": "短",
"medium": "中",
"long": "长",
"min": "最低",
"max": "最高",
"target": "目标",
"moderate": "中",
"deselect_all": "取消全选",
"select_all": "全选",
"are_you_sure": "你确定吗?",
"generating_playlist": "正在生成你的自定义歌单...",
"selected_count_tracks": "已选择 {count} 首歌曲",
"download_warning": "如果你大量下载这些歌曲,你显然在侵犯音乐的版权并对音乐创作社区造成了伤害。我希望你能意识到这一点。永远要尊重并支持艺术家们的辛勤工作",
"download_ip_ban_warning": "小心,如果出现超出正常的下载请求那你的 IP 可能会被 YouTube 封禁,这意味着你的设备将在长达 2-3 个月的时间内无法使用该 IP 访问 YouTube(即使你没登录)。Spotube 对此不承担任何责任",
"by_clicking_accept_terms": "点击 '同意' 代表着你同意以下的条款",
"download_agreement_1": "我明白侵犯音乐版权是一件不好的事情",
"download_agreement_2": "我将尽可能支持艺术家的工作。我现在之所以做不到是因为缺乏资金来购买正版",
"download_agreement_3": "我完全了解我的 IP 存在被 YouTube的风险。我同意 Spotube 的所有者与贡献者们无须对我目前的行为所导致的任何后果负责",
"decline": "拒绝",
"accept": "同意",
"details": "详情",
"youtube": "YouTube",
"channel": "频道",
"likes": "赞",
"dislikes": "踩",
"views": "浏览次数",
"streamUrl": "播放流 URL",
"stop": "停止",
"sort_newest": "按添加日期正序",
"sort_oldest": "按添加日期倒序",
"sleep_timer": "睡眠定时器",
"mins": "{minutes} 分",
"hours": "{hours} 时",
"hour": "{hours} 时",
"custom_hours": "自定义时间",
"logs": "日志",
"developers": "开发者",
"not_logged_in": "你尚未登录",
"search_mode": "搜索模式",
"youtube_api_type": "YouTube API 类型"
}
1 change: 1 addition & 0 deletions lib/l10n/l10n.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ class L10n {
const Locale('hi', 'IN'),
const Locale('de', 'GE'),
const Locale('ja', 'JP'),
const Locale('zh-cn', 'CN'),
];
}