diff --git a/i18n.ts b/i18n.ts index 99ba26a7..973b1268 100644 --- a/i18n.ts +++ b/i18n.ts @@ -9,6 +9,7 @@ import it from "./translations/it.json"; import ja from "./translations/ja.json"; import nl from "./translations/nl.json"; import sv from "./translations/sv.json"; +import zhCN from './translations/zh-CN.json'; import zhTW from './translations/zh-TW.json'; import { getLocales } from "expo-localization"; @@ -21,6 +22,7 @@ export const APP_LANGUAGES = [ { label: "日本語", value: "ja" }, { label: "Nederlands", value: "nl" }, { label: "Svenska", value: "sv" }, + { label: "简体中文", value: "zh-CN" }, { label: "繁體中文", value: "zh-TW" }, ]; @@ -35,6 +37,7 @@ i18n.use(initReactI18next).init({ ja: { translation: ja }, nl: { translation: nl }, sv: { translation: sv }, + "zh-CN": { translation: zhCN }, "zh-TW": { translation: zhTW }, }, diff --git a/translations/zh-CN.json b/translations/zh-CN.json new file mode 100644 index 00000000..4e04ad6f --- /dev/null +++ b/translations/zh-CN.json @@ -0,0 +1,457 @@ +{ + "login": { + "username_required": "需要用户名", + "error_title": "错误", + "login_title": "登录", + "login_to_title": "登录至", + "username_placeholder": "用户名", + "password_placeholder": "密码", + "login_button": "登录", + "quick_connect": "快速连接", + "enter_code_to_login": "输入代码 {{code}} 以登录", + "failed_to_initiate_quick_connect": "无法启动快速连接", + "got_it": "了解", + "connection_failed": "连接失败", + "could_not_connect_to_server": "无法连接到服务器。请检查 URL 和您的网络连接。", + "an_unexpected_error_occured": "发生意外错误", + "change_server": "更改服务器", + "invalid_username_or_password": "无效的用户名或密码", + "user_does_not_have_permission_to_log_in": "用户没有登录权限", + "server_is_taking_too_long_to_respond_try_again_later": "服务器长时间未响应,请稍后再试", + "server_received_too_many_requests_try_again_later": "服务器收到过多请求,请稍后再试。", + "there_is_a_server_error": "服务器出错", + "an_unexpected_error_occured_did_you_enter_the_correct_url": "发生意外错误。您是否正确输入了服务器 URL?" + }, + "server": { + "enter_url_to_jellyfin_server": "输入您的 Jellyfin 服务器 URL", + "server_url_placeholder": "http(s)://your-server.com", + "connect_button": "连接", + "previous_servers": "上一个服务器", + "clear_button": "清除", + "search_for_local_servers": "搜索本地服务器", + "searching": "搜索中...", + "servers": "服务器" + }, + "home": { + "no_internet": "无网络", + "no_items": "无项目", + "no_internet_message": "别担心,您仍可以观看\n已下载的项目。", + "go_to_downloads": "前往下载", + "oops": "哎呀!", + "error_message": "出错了。\n请注销重新登录。", + "continue_watching": "继续观看", + "next_up": "下一个", + "recently_added_in": "最近添加于 {{libraryName}}", + "suggested_movies": "推荐电影", + "suggested_episodes": "推荐剧集", + "intro": { + "welcome_to_streamyfin": "欢迎来到 Streamyfin", + "a_free_and_open_source_client_for_jellyfin": "一个免费且开源的 Jellyfin 客户端。", + "features_title": "功能", + "features_description": "Streamyfin 拥有许多功能,并与多种服务整合,您可以在设置菜单中找到这些功能,包括:", + "jellyseerr_feature_description": "连接到您的 Jellyseerr 实例并直接在应用中请求电影。", + "downloads_feature_title": "下载", + "downloads_feature_description": "下载电影和节目以离线观看。使用默认方法或安装 Optimized Server 以在后台下载文件。", + "chromecast_feature_description": "将电影和节目投屏到您的 Chromecast 设备。", + "centralised_settings_plugin_title": "统一设置插件", + "centralised_settings_plugin_description": "从 Jellyfin 服务器上的统一位置改变设置。所有用户的所有客户端设置将会自动同步。", + "done_button": "完成", + "go_to_settings_button": "前往设置", + "read_more": "了解更多" + }, + "settings": { + "settings_title": "设置", + "log_out_button": "登出", + "user_info": { + "user_info_title": "用户信息", + "user": "用户", + "server": "服务器", + "token": "密钥", + "app_version": "应用版本" + }, + "quick_connect": { + "quick_connect_title": "快速连接", + "authorize_button": "授权快速连接", + "enter_the_quick_connect_code": "输入快速连接代码...", + "success": "成功", + "quick_connect_autorized": "快速连接已授权", + "error": "错误", + "invalid_code": "无效代码", + "authorize": "授权" + }, + "media_controls": { + "media_controls_title": "媒体控制", + "forward_skip_length": "快进时长", + "rewind_length": "快退时长", + "seconds_unit": "秒" + }, + "audio": { + "audio_title": "音频", + "set_audio_track": "从上一个项目设置音轨", + "audio_language": "音频语言", + "audio_hint": "选择默认音频语言。", + "none": "无", + "language": "语言" + }, + "subtitles": { + "subtitle_title": "字幕", + "subtitle_language": "字幕语言", + "subtitle_mode": "字幕模式", + "set_subtitle_track": "从上一个项目设置字幕", + "subtitle_size": "字幕大小", + "subtitle_hint": "设置字幕偏好。", + "none": "无", + "language": "语言", + "loading": "加载中", + "modes": { + "Default": "默认", + "Smart": "智能", + "Always": "总是", + "None": "无", + "OnlyForced": "仅强制字幕" + } + }, + "other": { + "other_title": "其他", + "auto_rotate": "自动旋转", + "video_orientation": "视频方向", + "orientation": "方向", + "orientations": { + "DEFAULT": "默认", + "ALL": "全部", + "PORTRAIT": "纵向", + "PORTRAIT_UP": "纵向向上", + "PORTRAIT_DOWN": "纵向向下", + "LANDSCAPE": "横向", + "LANDSCAPE_LEFT": "横向左", + "LANDSCAPE_RIGHT": "横向右", + "OTHER": "其他", + "UNKNOWN": "未知" + }, + "safe_area_in_controls": "控制中的安全区域", + "show_custom_menu_links": "显示自定义菜单链接", + "hide_libraries": "隐藏媒体库", + "select_liraries_you_want_to_hide": "选择您想从媒体库页面和主页隐藏的媒体库。", + "disable_haptic_feedback": "禁用触觉反馈" + }, + "downloads": { + "downloads_title": "下载", + "download_method": "下载方法", + "remux_max_download": "Remux 最大下载", + "auto_download": "自动下载", + "optimized_versions_server": "Optimized Version 服务器", + "save_button": "保存", + "optimized_server": "Optimized Server", + "optimized": "已优化", + "default": "默认", + "optimized_version_hint": "输入 Optimized Server 的 URL。URL 应包括 http(s) 和端口 (可选)。", + "read_more_about_optimized_server": "查看更多关于 Optimized Server 的信息。", + "url": "URL", + "server_url_placeholder": "http(s)://domain.org:port" + }, + "plugins": { + "plugins_title": "插件", + "jellyseerr": { + "jellyseerr_warning": "此插件处于早期阶段,功能可能会有变化。", + "server_url": "服务器 URL", + "server_url_hint": "示例:http(s)://your-host.url\n(如果需要,添加端口)", + "server_url_placeholder": "Jellyseerr URL...", + "password": "密码", + "password_placeholder": "输入 Jellyfin 用户 {{username}} 的密码", + "save_button": "保存", + "clear_button": "清除", + "login_button": "登录", + "total_media_requests": "总媒体请求", + "movie_quota_limit": "电影配额限制", + "movie_quota_days": "电影配额天数", + "tv_quota_limit": "剧集配额限制", + "tv_quota_days": "剧集配额天数", + "reset_jellyseerr_config_button": "重置 Jellyseerr 设置", + "unlimited": "无限制" + }, + "marlin_search": { + "enable_marlin_search": "启用 Marlin 搜索", + "url": "URL", + "server_url_placeholder": "http(s)://domain.org:port", + "marlin_search_hint": "输入 Marlin 服务器的 URL。URL 应包括 http(s) 和端口 (可选)。", + "read_more_about_marlin": "查看更多关于 Marlin 的信息。", + "save_button": "保存", + "toasts": { + "saved": "已保存" + } + } + }, + "storage": { + "storage_title": "存储", + "app_usage": "应用 {{usedSpace}}%", + "device_usage": "设备 {{availableSpace}}%", + "size_used": "已使用 {{used}} / {{total}}", + "delete_all_downloaded_files": "删除所有已下载文件" + }, + "intro": { + "show_intro": "显示介绍", + "reset_intro": "重置介绍" + }, + "logs": { + "logs_title": "日志", + "no_logs_available": "无可用日志", + "delete_all_logs": "删除所有日志" + }, + "languages": { + "title": "语言", + "app_language": "应用语言", + "app_language_description": "选择应用的语言。", + "system": "系统" + }, + "toasts": { + "error_deleting_files": "删除文件时出错", + "background_downloads_enabled": "后台下载已启用", + "background_downloads_disabled": "后台下载已禁用", + "connected": "已连接", + "could_not_connect": "无法连接", + "invalid_url": "无效 URL" + } + }, + "downloads": { + "downloads_title": "下载", + "tvseries": "剧集", + "movies": "电影", + "queue": "队列", + "queue_hint": "应用重启后队列和下载将会丢失", + "no_items_in_queue": "队列中无项目", + "no_downloaded_items": "无已下载项目", + "delete_all_movies_button": "删除所有电影", + "delete_all_tvseries_button": "删除所有剧集", + "delete_all_button": "删除全部", + "active_download": "活跃下载", + "no_active_downloads": "无活跃下载", + "active_downloads": "活跃下载", + "new_app_version_requires_re_download": "更新版本需要重新下载", + "new_app_version_requires_re_download_description": "更新版本需要重新下载内容。请删除所有已下载项后重试。", + "back": "返回", + "delete": "删除", + "something_went_wrong": "出现问题", + "could_not_get_stream_url_from_jellyfin": "无法从 Jellyfin 获取串流 URL", + "eta": "预计完成时间 {{eta}}", + "methods": "方法", + "toasts": { + "you_are_not_allowed_to_download_files": "您无权下载文件。", + "deleted_all_movies_successfully": "成功删除所有电影!", + "failed_to_delete_all_movies": "删除所有电影失败", + "deleted_all_tvseries_successfully": "成功删除所有剧集!", + "failed_to_delete_all_tvseries": "删除所有剧集失败", + "download_cancelled": "下载已取消", + "could_not_cancel_download": "无法取消下载", + "download_completed": "下载完成", + "download_started_for": "开始下载 {{item}}", + "item_is_ready_to_be_downloaded": "{{item}} 准备好下载", + "download_stated_for_item": "开始下载 {{item}}", + "download_failed_for_item": "下载失败 {{item}} - {{error}}", + "download_completed_for_item": "下载完成 {{item}}", + "queued_item_for_optimization": "已将 {{item}} 队列进行优化", + "failed_to_start_download_for_item": "无法开始下载 {{item}}: {{message}}", + "server_responded_with_status_code": "服务器响应状态 {{statusCode}}", + "no_response_received_from_server": "未收到服务器响应", + "error_setting_up_the_request": "设置请求时出错", + "failed_to_start_download_for_item_unexpected_error": "无法开始下载 {{item}}: 发生意外错误", + "all_files_folders_and_jobs_deleted_successfully": "所有文件、文件夹和任务成功删除", + "an_error_occured_while_deleting_files_and_jobs": "删除文件和任务时发生错误", + "go_to_downloads": "前往下载" + } + } + }, + "search": { + "search_here": "在此搜索...", + "search": "搜索...", + "x_items": "{{count}} 项目", + "library": "媒体库", + "discover": "发现", + "no_results": "没有结果", + "no_results_found_for": "未找到结果", + "movies": "电影", + "series": "剧集", + "episodes": "单集", + "collections": "收藏", + "actors": "演员", + "request_movies": "请求电影", + "request_series": "请求系列", + "recently_added": "最近添加", + "recent_requests": "最近请求", + "plex_watchlist": "Plex 观影清单", + "trending": "趋势", + "popular_movies": "热门电影", + "movie_genres": "电影类型", + "upcoming_movies": "即将上映的电影", + "studios": "工作室", + "popular_tv": "热门电影", + "tv_genres": "剧集类型", + "upcoming_tv": "即将上映的剧集", + "networks": "网络", + "tmdb_movie_keyword": "TMDB 电影关键词", + "tmdb_movie_genre": "TMDB 电影类型", + "tmdb_tv_keyword": "TMDB 剧集关键词", + "tmdb_tv_genre": "TMDB 剧集类型", + "tmdb_search": "TMDB 搜索", + "tmdb_studio": "TMDB 工作室", + "tmdb_network": "TMDB 网络", + "tmdb_movie_streaming_services": "TMDB 电影流媒体服务", + "tmdb_tv_streaming_services": "TMDB 剧集流媒体服务" + }, + "library": { + "no_items_found": "未找到项目", + "no_results": "没有结果", + "no_libraries_found": "未找到媒体库", + "item_types": { + "movies": "电影", + "series": "剧集", + "boxsets": "套装", + "items": "项" + }, + "options": { + "display": "显示", + "row": "行", + "list": "列表", + "image_style": "图片样式", + "poster": "海报", + "cover": "封面", + "show_titles": "显示标题", + "show_stats": "显示统计" + }, + "filters": { + "genres": "类型", + "years": "年份", + "sort_by": "排序依据", + "sort_order": "排序顺序", + "tags": "标签" + } + }, + "favorites": { + "series": "剧集", + "movies": "电影", + "episodes": "单集", + "videos": "视频", + "boxsets": "套装", + "playlists": "播放列表" + }, + "custom_links": { + "no_links": "无链接" + }, + "player": { + "error": "错误", + "failed_to_get_stream_url": "无法获取流 URL", + "an_error_occured_while_playing_the_video": "播放视频时发生错误。请检查设置中的日志。", + "client_error": "客户端错误", + "could_not_create_stream_for_chromecast": "无法为 Chromecast 建立串流", + "message_from_server": "来自服务器的消息:{{message}}", + "video_has_finished_playing": "视频播放完成!", + "no_video_source": "无视频来源...", + "next_episode": "下一集", + "refresh_tracks": "刷新轨道", + "subtitle_tracks": "字幕轨道:", + "audio_tracks": "音频轨道:", + "playback_state": "播放状态:", + "no_data_available": "无可用数据", + "index": "索引:" + }, + "item_card": { + "next_up": "下一个", + "no_items_to_display": "无项目显示", + "cast_and_crew": "演员和工作人员", + "series": "剧集", + "seasons": "季", + "season": "季", + "no_episodes_for_this_season": "本季无剧集", + "overview": "概览", + "more_with": "更多 {{name}} 的作品", + "similar_items": "类似项目", + "no_similar_items_found": "未找到类似项目", + "video": "视频", + "more_details": "更多详情", + "quality": "质量", + "audio": "音频", + "subtitles": "字幕", + "show_more": "显示更多", + "show_less": "显示更少", + "appeared_in": "出现于", + "could_not_load_item": "无法加载项目", + "none": "无", + "download": { + "download_season": "下载季", + "download_series": "下载剧集", + "download_episode": "下载单集", + "download_movie": "下载电影", + "download_x_item": "下载 {{item_count}} 项目", + "download_button": "下载", + "using_optimized_server": "使用 Optimized Server", + "using_default_method": "使用默认方法" + } + }, + "live_tv": { + "next": "下一个", + "previous": "上一个", + "live_tv": "直播电视", + "coming_soon": "即将播出", + "on_now": "正在播放", + "shows": "节目", + "movies": "电影", + "sports": "体育", + "for_kids": "儿童", + "news": "新闻" + }, + "jellyseerr": { + "confirm": "确认", + "cancel": "取消", + "yes": "是", + "whats_wrong": "出了什么问题?", + "issue_type": "问题类型", + "select_an_issue": "选择一个问题", + "types": "类型", + "describe_the_issue": "(可选)描述问题...", + "submit_button": "提交", + "report_issue_button": "报告问题", + "request_button": "请求", + "are_you_sure_you_want_to_request_all_seasons": "您确定要请求所有季度的剧集吗?", + "failed_to_login": "登录失败", + "cast": "演员", + "details": "详情", + "status": "状态", + "original_title": "原标题", + "series_type": "剧集类型", + "release_dates": "发行日期", + "first_air_date": "首次播出日期", + "next_air_date": "下次播出日期", + "revenue": "收入", + "budget": "预算", + "original_language": "原始语言", + "production_country": "制作国家/地区", + "studios": "工作室", + "network": "网络", + "currently_streaming_on": "目前在以下流媒体上播放", + "advanced": "高级设置", + "request_as": "选择用户以请求", + "tags": "标签", + "quality_profile": "质量配置文件", + "root_folder": "根文件夹", + "season_x": "第 {{seasons}} 季", + "season_number": "第 {{season_number}} 季", + "number_episodes": "{{episode_number}} 集", + "born": "出生", + "appearances": "出场", + "toasts": { + "jellyseer_does_not_meet_requirements": "Jellyseerr 服务器不符合最低版本要求!请使用 2.0.0 及以上版本", + "jellyseerr_test_failed": "Jellyseerr 测试失败。请重试。", + "failed_to_test_jellyseerr_server_url": "无法测试 Jellyseerr 服务器 URL", + "issue_submitted": "问题已提交!", + "requested_item": "已请求 {{item}}!", + "you_dont_have_permission_to_request": "您无权请求媒体!", + "something_went_wrong_requesting_media": "请求媒体时出了些问题!" + } + }, + "tabs": { + "home": "主页", + "search": "搜索", + "library": "媒体库", + "custom_links": "自定义链接", + "favorites": "收藏" + } +}