From eb5248d8d14f07d9efca72236b7f582e8f4f9573 Mon Sep 17 00:00:00 2001
From: "allcontributors[bot]"
<46447321+allcontributors[bot]@users.noreply.github.com>
Date: Sat, 28 May 2022 19:13:54 +0900
Subject: [PATCH 01/98] docs: add sambartik as a contributor for code (#2783)
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
---
.all-contributorsrc | 9 +++++++++
README.md | 3 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index a230a4685..da00cf331 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -665,6 +665,15 @@
"contributions": [
"translation"
]
+ },
+ {
+ "login": "sambartik",
+ "name": "Samuel Bartík",
+ "avatar_url": "https://avatars.githubusercontent.com/u/63553146?v=4",
+ "profile": "https://github.com/sambartik",
+ "contributions": [
+ "code"
+ ]
}
],
"badgeTemplate": "-orange.svg\"/>",
diff --git a/README.md b/README.md
index 6bca69eb0..7e9c7cee7 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
-
+
{appDataPath} 资料夹連通,才能保存 Jellyseerr 的配置和数据。",
- "components.PersonDetails.ascharacter": "饰演 {character}",
- "pages.somethingwentwrong": "出了点问题",
- "pages.serviceunavailable": "服务器无法使用",
- "pages.returnHome": "返回首页",
- "pages.pagenotfound": "页面不存在",
- "pages.oops": "哎呀",
- "pages.internalservererror": "內部服务器错误",
- "pages.errormessagewithcode": "{statusCode}-{error}",
- "i18n.view": "查看",
- "i18n.usersettings": "用户设定",
- "i18n.unavailable": "不可观看",
- "i18n.tvshows": "电视节目",
- "i18n.tvshow": "电视节目",
- "i18n.testing": "测试中…",
- "i18n.test": "测试",
- "i18n.status": "状态",
- "i18n.showingresults": "{from}-{to} 列(共 {total} 列)",
- "i18n.settings": "设定",
- "i18n.saving": "保存中…",
- "i18n.save": "保存",
- "i18n.retrying": "重试中…",
- "i18n.retry": "重试",
- "i18n.resultsperpage": "每页显示 {pageSize} 列",
- "i18n.requesting": "提交请求中…",
- "i18n.requested": "已经有请求",
- "i18n.request4k": "提交 4K 请求",
- "i18n.request": "提交请求",
- "i18n.processing": "处理中",
- "i18n.previous": "上一页",
- "i18n.pending": "待处理",
- "i18n.partiallyavailable": "部分可观看",
- "i18n.notrequested": "没有请求",
- "i18n.noresults": "没有結果。",
- "i18n.next": "下一页",
- "i18n.movies": "电影",
- "i18n.movie": "电影",
- "i18n.loading": "载入中…",
- "i18n.failed": "失败",
- "i18n.experimental": "实验性",
- "i18n.edit": "编辑",
- "i18n.delimitedlist": "{a}、{b}",
- "i18n.deleting": "刪除中…",
- "i18n.delete": "刪除",
- "i18n.declined": "已拒绝",
- "i18n.decline": "拒绝",
- "i18n.close": "关闭",
- "i18n.canceling": "取消中…",
- "i18n.cancel": "取消",
- "i18n.back": "返回",
- "i18n.available": "可观看",
- "i18n.areyousure": "确定吗?",
- "i18n.approved": "已批准",
- "i18n.approve": "批准",
- "i18n.all": "所有",
- "i18n.advanced": "进阶",
- "components.UserProfile.unlimited": "无限",
- "components.UserProfile.totalrequests": "请求总数",
- "components.UserProfile.seriesrequest": "电视节目请求",
- "components.UserProfile.requestsperdays": "剩余 {limit}",
- "components.UserProfile.recentrequests": "最新请求",
- "components.UserProfile.pastdays": "{type}(前 {days} 天)",
- "components.UserProfile.norequests": "没有请求。",
- "components.UserProfile.movierequests": "电影请求",
- "components.UserProfile.limit": "{limit} 之 {remaining}",
- "components.UserProfile.UserSettings.unauthorizedDescription": "你无权编辑此用户的设置。",
- "components.UserProfile.UserSettings.menuPermissions": "权限",
- "components.UserProfile.UserSettings.menuNotifications": "通知",
- "components.UserProfile.UserSettings.menuGeneralSettings": "一般",
- "components.UserProfile.UserSettings.menuChangePass": "密码",
- "components.UserProfile.UserSettings.UserPermissions.unauthorizedDescription": "你不能编辑自己的权限。",
- "components.UserProfile.UserSettings.UserPermissions.toastSettingsSuccess": "权限设置保存成功!",
- "components.UserProfile.UserSettings.UserPermissions.toastSettingsFailure": "保存设置中出了点问题。",
- "components.UserProfile.UserSettings.UserPermissions.permissions": "权限设置",
- "components.UserProfile.UserSettings.UserPasswordChange.validationNewPasswordLength": "密码必须至少包含八个字符",
- "components.UserProfile.UserSettings.UserPasswordChange.validationNewPassword": "请输入新密码",
- "components.UserProfile.UserSettings.UserPasswordChange.validationCurrentPassword": "请输入当前的密码",
- "components.UserProfile.UserSettings.UserPasswordChange.validationConfirmPasswordSame": "密码必须匹配",
- "components.UserProfile.UserSettings.UserPasswordChange.validationConfirmPassword": "密码必须匹配",
- "components.UserProfile.UserSettings.UserPasswordChange.toastSettingsSuccess": "密码设置成功!",
- "components.UserProfile.UserSettings.UserPasswordChange.toastSettingsFailureVerifyCurrent": "重设密码中出了点问题。你确定输入的当前密码是正确的吗?",
- "components.UserProfile.UserSettings.UserPasswordChange.toastSettingsFailure": "重设密码中出了点问题。",
- "components.UserProfile.UserSettings.UserPasswordChange.password": "密码设置",
- "components.UserProfile.UserSettings.UserPasswordChange.nopermissionDescription": "你无权设置此用户的密码。",
- "components.UserProfile.UserSettings.UserPasswordChange.noPasswordSetOwnAccount": "你的帐户目前没有设置密码。在下方配置密码,使你能够作为“本地用户”登录。",
- "components.UserProfile.UserSettings.UserPasswordChange.noPasswordSet": "此用户帐户目前没有设置密码。在下方配置密码,使该帐户能够作为“本地用户”登录。",
- "components.UserProfile.UserSettings.UserPasswordChange.newpassword": "新密码",
- "components.UserProfile.UserSettings.UserPasswordChange.currentpassword": "当前的密码",
- "components.UserProfile.UserSettings.UserPasswordChange.confirmpassword": "确认密码",
- "components.UserProfile.UserSettings.UserNotificationSettings.webpushsettingssaved": "网络推送知设置保存成功!",
- "components.UserProfile.UserSettings.UserNotificationSettings.webpushsettingsfailed": "网络推送知设置保存失败。",
- "components.UserProfile.UserSettings.UserNotificationSettings.webpush": "网络推送",
- "components.UserProfile.UserSettings.UserNotificationSettings.validationTelegramChatId": "请输入聊天室 ID",
- "components.UserProfile.UserSettings.UserNotificationSettings.validationPgpPublicKey": "请输入有效的 PGP 公钥",
- "components.UserProfile.UserSettings.UserNotificationSettings.validationDiscordId": "请输入有效的用户 ID",
- "components.UserProfile.UserSettings.UserNotificationSettings.telegramsettingssaved": "Telegram 通知设置保存成功!",
- "components.UserProfile.UserSettings.UserNotificationSettings.telegramsettingsfailed": "Telegram 通知设置保存失败。",
- "components.UserProfile.UserSettings.UserNotificationSettings.telegramChatIdTipLong": "先/my_id 命令",
- "components.UserProfile.UserSettings.UserNotificationSettings.telegramChatId": "聊天室 ID",
- "components.UserProfile.UserSettings.UserNotificationSettings.sendSilentlyDescription": "发送没有声音警报的通知",
- "components.UserProfile.UserSettings.UserNotificationSettings.sendSilently": "无声通知",
- "components.UserProfile.UserSettings.UserNotificationSettings.pgpPublicKeyTip": "使用 stdout, 或者打开 {appDataPath}/logs/overseerr.log。",
- "components.Settings.SettingsLogs.logs": "日志",
- "components.Settings.SettingsLogs.logDetails": "日志详細信息",
- "components.Settings.SettingsLogs.level": "等級",
- "components.Settings.SettingsLogs.label": "标签",
- "components.Settings.SettingsLogs.filterWarn": "警告",
- "components.Settings.SettingsLogs.filterInfo": "消息",
- "components.Settings.SettingsLogs.filterError": "错误",
- "components.Settings.SettingsLogs.filterDebug": "除错",
- "components.Settings.SettingsLogs.extraData": "附加数据",
- "components.Settings.SettingsLogs.copyToClipboard": "复制到剪贴板",
- "components.Settings.SettingsLogs.copiedLogMessage": "日志消息已复制到剪贴板。",
- "components.Settings.SettingsJobsCache.unknownJob": "未知作业",
- "components.Settings.SettingsJobsCache.sonarr-scan": "Sonarr 扫描",
- "components.Settings.SettingsJobsCache.runnow": "执行",
- "components.Settings.SettingsJobsCache.radarr-scan": "Radarr 扫描",
- "components.Settings.SettingsJobsCache.process": "程序",
- "components.Settings.SettingsJobsCache.plex-recently-added-scan": "Plex 最新添加扫描",
- "components.Settings.SettingsJobsCache.plex-full-scan": "Plex 媒体库扫描",
- "components.Settings.SettingsJobsCache.nextexecution": "下一次执行时间",
- "components.Settings.SettingsJobsCache.jobtype": "作业类型",
- "components.Settings.SettingsJobsCache.jobstarted": "{jobname} 已开始运行。",
- "components.Settings.SettingsJobsCache.jobsandcache": "作业和缓存",
- "components.Settings.SettingsJobsCache.jobsDescription": "Jellyseerr 将定时运行以下的維護任務。手动执行工作不会影响它正常的时间表。",
- "components.Settings.SettingsJobsCache.jobs": "作业",
- "components.Settings.SettingsJobsCache.jobname": "作业名",
- "components.Settings.SettingsJobsCache.jobcancelled": "{jobname}已被取消。",
- "components.Settings.SettingsJobsCache.flushcache": "清除缓存",
- "components.Settings.SettingsJobsCache.download-sync-reset": "下载状态同步复位",
- "components.Settings.SettingsJobsCache.download-sync": "下载状态同步",
- "components.Settings.SettingsJobsCache.command": "命令",
- "components.Settings.SettingsJobsCache.canceljob": "取消作业",
- "components.Settings.SettingsJobsCache.cachevsize": "值储存大小",
- "components.Settings.SettingsJobsCache.cachename": "缓存名",
- "components.Settings.SettingsJobsCache.cachemisses": "失误数",
- "components.Settings.SettingsJobsCache.cacheksize": "键储存大小",
- "components.Settings.SettingsJobsCache.cachekeys": "键数",
- "components.Settings.SettingsJobsCache.cachehits": "击中数",
- "components.Settings.SettingsJobsCache.cacheflushed": "{cachename} 缓存已清除。",
- "components.Settings.SettingsJobsCache.cacheDescription": "外部应用程序介面(external API)请求将存到缓存,以減少 API 呼叫次数。",
- "components.Settings.SettingsJobsCache.cache": "缓存",
- "components.Settings.SettingsAbout.version": "软件版本",
- "components.Settings.SettingsAbout.uptodate": "最新",
- "components.Settings.SettingsAbout.totalrequests": "请求数",
- "components.Settings.SettingsAbout.totalmedia": "媒体数",
- "components.Settings.SettingsAbout.timezone": "时区",
- "components.Settings.SettingsAbout.supportoverseerr": "支持 Jellyseerr",
- "components.Settings.SettingsAbout.preferredmethod": "首选",
- "components.Settings.SettingsAbout.overseerrinformation": "关于 Jellyseerr",
- "components.Settings.SettingsAbout.outofdate": "過时",
- "components.Settings.SettingsAbout.helppaycoffee": "请开发者喝咖啡",
- "components.Settings.SettingsAbout.githubdiscussions": "GitHub 讨论区",
- "components.Settings.SettingsAbout.gettingsupport": "支援",
- "components.Settings.SettingsAbout.documentation": "文档",
- "components.Settings.SettingsAbout.betawarning": "这是测试版软件,所以可能会不稳定或被破坏。请向 GitHub 报告问题!",
- "components.Settings.SettingsAbout.about": "关于 Jellyseerr",
- "components.Settings.SettingsAbout.Releases.viewongithub": "在 GitHub 上查看",
- "components.Settings.SettingsAbout.Releases.viewchangelog": "查看变更日志",
- "components.Settings.SettingsAbout.Releases.versionChangelog": "{version} 更新日志",
- "components.Settings.SettingsAbout.Releases.releases": "软件版本",
- "components.Settings.SettingsAbout.Releases.releasedataMissing": "软件发行数据当前不可用。",
- "components.Settings.SettingsAbout.Releases.latestversion": "最新软件版本",
- "components.Settings.SettingsAbout.Releases.currentversion": "当前版本",
- "components.Settings.RadarrModal.validationRootFolderRequired": "必须设置根目录",
- "components.Settings.RadarrModal.validationProfileRequired": "必须设置质量",
- "components.Settings.RadarrModal.validationPortRequired": "请输入有效的端口",
- "components.Settings.RadarrModal.validationNameRequired": "请输入服务器名称",
- "components.Settings.RadarrModal.validationMinimumAvailabilityRequired": "必须设置最低状态",
- "components.Settings.RadarrModal.validationHostnameRequired": "你必须提供有效的主机名或 IP 地址",
- "components.Settings.RadarrModal.validationBaseUrlTrailingSlash": "URL base 不能以尾部斜杠结束",
- "components.Settings.RadarrModal.validationBaseUrlLeadingSlash": "URL base 必须有前置斜杠",
- "components.Settings.RadarrModal.validationApplicationUrlTrailingSlash": "必须刪除結尾斜線",
- "components.Settings.RadarrModal.validationApplicationUrl": "请输入有效的网址",
- "components.Settings.RadarrModal.validationApiKeyRequired": "请输入应用程序密钥",
- "components.Settings.RadarrModal.toastRadarrTestSuccess": "Radarr 服务器连线成功!",
- "components.Settings.RadarrModal.toastRadarrTestFailure": "Radarr 服务器连线失败。",
- "components.Settings.RadarrModal.testFirstTags": "请先测试连线",
- "components.Settings.RadarrModal.testFirstRootFolders": "请先测试连线",
- "components.Settings.RadarrModal.testFirstQualityProfiles": "请先测试连线",
- "components.Settings.RadarrModal.tags": "标签",
- "components.Settings.RadarrModal.syncEnabled": "启用扫描",
- "components.Settings.RadarrModal.ssl": "使用安全通訊协议(SSL)",
- "components.Settings.RadarrModal.servername": "服务器名称",
- "components.Settings.RadarrModal.server4k": "4K 服务器",
- "components.Settings.RadarrModal.selecttags": "设定标签",
- "components.Settings.RadarrModal.selectRootFolder": "设定根目录",
- "components.Settings.RadarrModal.selectQualityProfile": "设定质量",
- "components.Settings.RadarrModal.selectMinimumAvailability": "设定最低状态",
- "components.Settings.RadarrModal.rootfolder": "根目录",
- "components.Settings.RadarrModal.qualityprofile": "质量设置",
- "components.Settings.RadarrModal.port": "端口",
- "components.Settings.RadarrModal.notagoptions": "没有标签。",
- "components.Settings.RadarrModal.minimumAvailability": "最低状态",
- "components.Settings.RadarrModal.loadingrootfolders": "载入中…",
- "components.Settings.RadarrModal.loadingprofiles": "载入中…",
- "components.Settings.RadarrModal.loadingTags": "载入中…",
- "components.Settings.RadarrModal.hostname": "主机名称或 IP 地址",
- "components.Settings.RadarrModal.externalUrl": "外部网址(URL)",
- "components.Settings.RadarrModal.enableSearch": "启用自动搜索",
- "components.Settings.RadarrModal.editradarr": "编辑 Radarr 服务器",
- "components.Settings.RadarrModal.edit4kradarr": "编辑 4K Radarr 服务器",
- "components.Settings.RadarrModal.defaultserver": "默认服务器",
- "components.Settings.RadarrModal.default4kserver": "默认 4K 服务器",
- "components.Settings.RadarrModal.createradarr": "添加 Radarr 服务器",
- "components.Settings.RadarrModal.create4kradarr": "添加 4K Radarr 服务器",
- "components.Settings.RadarrModal.baseUrl": "网站根目录",
- "components.Settings.RadarrModal.apiKey": "应用程序密钥",
- "components.Settings.RadarrModal.add": "添加服务器",
- "components.Settings.Notifications.webhookUrlTip": "在你的服务器里创建一个default 默认设定档才必须输入",
- "components.Settings.Notifications.NotificationsLunaSea.profileName": "设定档名",
- "components.Settings.Notifications.NotificationsLunaSea.agentenabled": "启用通知",
- "components.Search.searchresults": "搜索結果",
- "components.Search.search": "搜索",
- "components.ResetPassword.validationpasswordrequired": "请输入密码",
- "components.ResetPassword.validationpasswordminchars": "密码必须至少包含八个字符",
- "components.ResetPassword.validationpasswordmatch": "密码必须匹配",
- "components.ResetPassword.validationemailrequired": "请输入有效的电子邮件地址",
- "components.ResetPassword.resetpasswordsuccessmessage": "密码重设成功!",
- "components.ResetPassword.resetpassword": "重设密码",
- "components.ResetPassword.requestresetlinksuccessmessage": "通過电子邮件发送了密码重设鏈接。",
- "components.ResetPassword.passwordreset": "密码重设",
- "components.ResetPassword.password": "密码",
- "components.ResetPassword.gobacklogin": "返回",
- "components.ResetPassword.emailresetlink": "发送密码重设电子邮件",
- "components.ResetPassword.email": "电子邮件地址",
- "components.ResetPassword.confirmpassword": "确认密码",
- "components.RequestModal.selectseason": "季数选择",
- "components.RequestModal.seasonnumber": "第 {number} 季",
- "components.RequestModal.season": "季数",
- "components.RequestModal.requesttitle": "为 {title} 提交请求",
- "components.RequestModal.requestseasons": "提交请求",
- "components.RequestModal.requestfrom": "{username} 的请求待处理。",
- "components.RequestModal.requesterror": "提交请求中出了点问题。",
- "components.RequestModal.requestedited": "{title} 的请求编辑成功!",
- "components.RequestModal.requestcancelled": "{title} 的请求已被取消。",
- "components.RequestModal.requestadmin": "此请求将自动被批准。",
- "components.RequestModal.requestSuccess": "为 {title} 提交请求成功!",
- "components.RequestModal.requestCancel": "{title} 的请求已被取消。",
- "components.RequestModal.request4ktitle": "为 {title} 提交 4K 请求",
- "components.RequestModal.pendingrequest": "{title} 的请求",
- "components.RequestModal.pendingapproval": "你的请求正在等待管理员批准。",
- "components.RequestModal.pending4krequest": "{title} 的 4K 请求",
- "components.RequestModal.numberofepisodes": "集数",
- "components.RequestModal.extras": "特輯",
- "components.RequestModal.errorediting": "编辑请求中出了点问题。",
- "components.RequestModal.edit": "编辑请求",
- "components.RequestModal.cancel": "取消请求",
- "components.RequestModal.autoapproval": "自动批准",
- "components.RequestModal.alreadyrequested": "已经有请求",
- "components.RequestModal.SearchByNameModal.notvdbiddescription": "无法自动配對你的请求。请从以下列表中选择正确的媒体项。",
- "components.RequestModal.SearchByNameModal.nosummary": "没有简介。",
- "components.RequestModal.QuotaDisplay.seasonlimit": "个季数",
- "components.RequestModal.QuotaDisplay.season": "电视节目季数",
- "components.RequestModal.QuotaDisplay.requiredquotaUser": "此用户的电视节目请求数量必须至少剩余 {seasons} 个季数才能为此节目提交请求。",
- "components.RequestModal.QuotaDisplay.requiredquota": "你的电视节目请求数量必须至少剩余 {seasons} 个季数才能为此节目提交请求。",
- "components.RequestModal.QuotaDisplay.requestsremaining": "{remaining, plural, =0 {电影请求剩余数不足} other {剩余 # 个{type}请求}}",
- "components.RequestModal.QuotaDisplay.quotaLinkUser": "访问此用户的/my_id 命令",
- "components.Settings.Notifications.chatId": "聊天室 ID",
- "components.Settings.Notifications.botUsernameTip": "允许用户也把机器人加到自己的聊天室以及设定自己的通知",
- "components.Settings.Notifications.botUsername": "Bot 机器人名",
- "components.Settings.Notifications.botAvatarUrl": "Bot 机器人頭像网址(URL)",
- "components.Settings.Notifications.botApiTip": "建立一个 Jellyseerr 专用的/my_id 命令",
+ "components.Settings.Notifications.discordsettingsfailed": "Discord 通知设置保存失败。",
+ "components.Settings.Notifications.discordsettingssaved": "Discord 通知设置保存成功!",
+ "components.Settings.Notifications.emailsender": "发件人电子邮件地址",
+ "components.Settings.Notifications.emailsettingsfailed": "电子邮件通知设置保存失败。",
+ "components.Settings.Notifications.emailsettingssaved": "电子邮件通知设置保存成功!",
+ "components.Settings.Notifications.encryption": "加密方式",
+ "components.Settings.Notifications.encryptionDefault": "盡可能使用 STARTTLS",
+ "components.Settings.Notifications.encryptionImplicitTls": "使用传输层安全标准(TLS)",
+ "components.Settings.Notifications.encryptionNone": "不使用加密",
+ "components.Settings.Notifications.encryptionOpportunisticTls": "始終使用 STARTTLS",
+ "components.Settings.Notifications.encryptionTip": "TLS 通常会使用端口 465,而 STARTTLS 通常会使用端口 587",
+ "components.Settings.Notifications.NotificationsLunaSea.agentenabled": "启用通知",
+ "components.Settings.Notifications.NotificationsLunaSea.profileName": "设定档名",
+ "components.Settings.Notifications.NotificationsLunaSea.profileNameTip": "不使用 default 默认设定档才必须输入",
+ "components.Settings.Notifications.NotificationsLunaSea.settingsFailed": "LunaSea 通知设置保存失败。",
+ "components.Settings.Notifications.NotificationsLunaSea.settingsSaved": "LunaSea 通知设置保存成功!",
+ "components.Settings.Notifications.NotificationsLunaSea.toastLunaSeaTestFailed": "LunaSea 测试通知发送失败。",
+ "components.Settings.Notifications.NotificationsLunaSea.toastLunaSeaTestSending": "发送 LunaSea 测试通知中…",
+ "components.Settings.Notifications.NotificationsLunaSea.toastLunaSeaTestSuccess": "LunaSea 测试通知已发送!",
+ "components.Settings.Notifications.NotificationsLunaSea.validationTypes": "请选择通知类型",
+ "components.Settings.Notifications.NotificationsLunaSea.validationWebhookUrl": "请输入有效的网址",
+ "components.Settings.Notifications.NotificationsLunaSea.webhookUrl": "网络钩子网址(URL)",
+ "components.Settings.Notifications.NotificationsLunaSea.webhookUrlTip": "用户或设備通知的stdout, 或者打开 {appDataPath}/logs/overseerr.log。",
+ "components.Settings.SettingsLogs.message": "消息",
+ "components.Settings.SettingsLogs.pauseLogs": "暫停",
+ "components.Settings.SettingsLogs.resumeLogs": "恢复",
+ "components.Settings.SettingsLogs.showall": "查看所有日志",
+ "components.Settings.SettingsLogs.time": "时间戳",
+ "components.Settings.SettingsUsers.defaultPermissions": "默认权限",
+ "components.Settings.SettingsUsers.defaultPermissionsTip": "授予给新用户的权限",
+ "components.Settings.SettingsUsers.localLogin": "允许本地登录",
+ "components.Settings.SettingsUsers.localLoginTip": "让用户使用电子邮件地址和密码登录",
+ "components.Settings.SettingsUsers.movieRequestLimitLabel": "电影请求全局限制",
+ "components.Settings.SettingsUsers.newPlexLogin": "允许新的 {mediaServerName} 登录",
+ "components.Settings.SettingsUsers.newPlexLoginTip": "让还没导入的 {mediaServerName} 用户登录",
+ "components.Settings.SettingsUsers.toastSettingsFailure": "保存设置中出了点问题。",
+ "components.Settings.SettingsUsers.toastSettingsSuccess": "用户设置保存成功!",
+ "components.Settings.SettingsUsers.tvRequestLimitLabel": "电视节目请求全局限制",
+ "components.Settings.SettingsUsers.users": "用户",
+ "components.Settings.SettingsUsers.userSettings": "用户设置",
+ "components.Settings.SettingsUsers.userSettingsDescription": "关于用户的全局和默认设置。",
+ "components.Settings.settingUpPlexDescription": "你可以手动输入你的 Plex 服务器资料,或从 /my_id 命令",
+ "components.UserProfile.UserSettings.UserNotificationSettings.telegramsettingsfailed": "Telegram 通知设置保存失败。",
+ "components.UserProfile.UserSettings.UserNotificationSettings.telegramsettingssaved": "Telegram 通知设置保存成功!",
+ "components.UserProfile.UserSettings.UserNotificationSettings.validationDiscordId": "请输入有效的用户 ID",
+ "components.UserProfile.UserSettings.UserNotificationSettings.validationPgpPublicKey": "请输入有效的 PGP 公钥",
+ "components.UserProfile.UserSettings.UserNotificationSettings.validationPushbulletAccessToken": "You must provide an access token",
+ "components.UserProfile.UserSettings.UserNotificationSettings.validationPushoverApplicationToken": "You must provide a valid application token",
+ "components.UserProfile.UserSettings.UserNotificationSettings.validationPushoverUserKey": "You must provide a valid user or group key",
+ "components.UserProfile.UserSettings.UserNotificationSettings.validationTelegramChatId": "请输入聊天室 ID",
+ "components.UserProfile.UserSettings.UserNotificationSettings.webpush": "网络推送",
+ "components.UserProfile.UserSettings.UserNotificationSettings.webpushsettingsfailed": "网络推送知设置保存失败。",
+ "components.UserProfile.UserSettings.UserNotificationSettings.webpushsettingssaved": "网络推送知设置保存成功!",
+ "components.UserProfile.UserSettings.UserPasswordChange.confirmpassword": "确认密码",
+ "components.UserProfile.UserSettings.UserPasswordChange.currentpassword": "当前的密码",
+ "components.UserProfile.UserSettings.UserPasswordChange.newpassword": "新密码",
+ "components.UserProfile.UserSettings.UserPasswordChange.noPasswordSet": "此用户帐户目前没有设置密码。在下方配置密码,使该帐户能够作为“本地用户”登录。",
+ "components.UserProfile.UserSettings.UserPasswordChange.noPasswordSetOwnAccount": "你的帐户目前没有设置密码。在下方配置密码,使你能够作为“本地用户”登录。",
+ "components.UserProfile.UserSettings.UserPasswordChange.nopermissionDescription": "你无权设置此用户的密码。",
+ "components.UserProfile.UserSettings.UserPasswordChange.password": "密码设置",
+ "components.UserProfile.UserSettings.UserPasswordChange.toastSettingsFailure": "重设密码中出了点问题。",
+ "components.UserProfile.UserSettings.UserPasswordChange.toastSettingsFailureVerifyCurrent": "重设密码中出了点问题。你确定输入的当前密码是正确的吗?",
+ "components.UserProfile.UserSettings.UserPasswordChange.toastSettingsSuccess": "密码设置成功!",
+ "components.UserProfile.UserSettings.UserPasswordChange.validationConfirmPassword": "密码必须匹配",
+ "components.UserProfile.UserSettings.UserPasswordChange.validationConfirmPasswordSame": "密码必须匹配",
+ "components.UserProfile.UserSettings.UserPasswordChange.validationCurrentPassword": "请输入当前的密码",
+ "components.UserProfile.UserSettings.UserPasswordChange.validationNewPassword": "请输入新密码",
+ "components.UserProfile.UserSettings.UserPasswordChange.validationNewPasswordLength": "密码必须至少包含八个字符",
+ "components.UserProfile.UserSettings.UserPermissions.permissions": "权限设置",
+ "components.UserProfile.UserSettings.UserPermissions.toastSettingsFailure": "保存设置中出了点问题。",
+ "components.UserProfile.UserSettings.UserPermissions.toastSettingsSuccess": "权限设置保存成功!",
+ "components.UserProfile.UserSettings.UserPermissions.unauthorizedDescription": "你不能编辑自己的权限。",
+ "i18n.advanced": "进阶",
+ "i18n.all": "所有",
+ "i18n.approve": "批准",
+ "i18n.approved": "已批准",
+ "i18n.areyousure": "确定吗?",
+ "i18n.available": "可观看",
+ "i18n.back": "返回",
+ "i18n.cancel": "取消",
+ "i18n.canceling": "取消中…",
+ "i18n.close": "关闭",
+ "i18n.decline": "拒绝",
+ "i18n.declined": "已拒绝",
+ "i18n.delete": "刪除",
+ "i18n.deleting": "刪除中…",
+ "i18n.delimitedlist": "{a}、{b}",
+ "i18n.edit": "编辑",
+ "i18n.experimental": "实验性",
+ "i18n.failed": "失败",
+ "i18n.import": "导入",
+ "i18n.importing": "导入中…",
+ "i18n.loading": "载入中…",
+ "i18n.movie": "电影",
+ "i18n.movies": "电影",
+ "i18n.next": "下一页",
+ "i18n.noresults": "没有結果。",
+ "i18n.notrequested": "没有请求",
+ "i18n.open": "打开",
+ "i18n.partiallyavailable": "部分可观看",
+ "i18n.pending": "待处理",
+ "i18n.previous": "上一页",
+ "i18n.processing": "处理中",
+ "i18n.request": "提交请求",
+ "i18n.request4k": "提交 4K 请求",
+ "i18n.requested": "已经有请求",
+ "i18n.requesting": "提交请求中…",
+ "i18n.resolved": "已解决",
+ "i18n.resultsperpage": "每页显示 {pageSize} 列",
+ "i18n.retry": "重试",
+ "i18n.retrying": "重试中…",
+ "i18n.save": "保存",
+ "i18n.saving": "保存中…",
+ "i18n.settings": "设定",
+ "i18n.showingresults": "{from}-{to} 列(共 {total} 列)",
+ "i18n.status": "状态",
+ "i18n.test": "测试",
+ "i18n.testing": "测试中…",
+ "i18n.tvshow": "电视节目",
+ "i18n.tvshows": "电视节目",
+ "i18n.unavailable": "不可观看",
+ "i18n.usersettings": "用户设定",
+ "i18n.view": "查看",
+ "pages.errormessagewithcode": "{statusCode}-{error}",
+ "pages.internalservererror": "內部服务器错误",
+ "pages.oops": "哎呀",
+ "pages.pagenotfound": "页面不存在",
+ "pages.returnHome": "返回首页",
+ "pages.serviceunavailable": "服务器无法使用",
+ "pages.somethingwentwrong": "出了点问题",
}
From a3b620efb3bae3c429f07cd8bd99bd0bc3949d8d Mon Sep 17 00:00:00 2001
From: Sean <34902361+seanzhang98@users.noreply.github.com>
Date: Mon, 25 Jul 2022 14:37:31 +0800
Subject: [PATCH 05/98] Update zh_Hans.json
---
src/i18n/locale/zh_Hans.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/i18n/locale/zh_Hans.json b/src/i18n/locale/zh_Hans.json
index 17dc75e81..c6b2d0c60 100644
--- a/src/i18n/locale/zh_Hans.json
+++ b/src/i18n/locale/zh_Hans.json
@@ -74,7 +74,7 @@
"components.IssueList.IssueItem.episodes": "集数",
"components.IssueList.IssueItem.issuestatus": "状态",
"components.IssueList.IssueItem.issuetype": "类型",
- "components.IssueList.IssueItem.opened": "打开"
+ "components.IssueList.IssueItem.opened": "打开",
"components.IssueList.IssueItem.openeduserdate": "{date} by {user}",
"components.IssueList.IssueItem.problemepisode": "受影响的剧集",
"components.IssueList.IssueItem.seasons": "{seasonCount, plural, one {Season} other {Seasons}}",
@@ -90,7 +90,7 @@
"components.IssueModal.CreateIssueModal.extras": "额外集",
"components.IssueModal.CreateIssueModal.issomethingwrong": "{title} 有问题吗?",
"components.IssueModal.CreateIssueModal.problemepisode": "受影响的集",
- "components.IssueModal.CreateIssueModal.problemseason": "受影响的季,
+ "components.IssueModal.CreateIssueModal.problemseason": "受影响的季",
"components.IssueModal.CreateIssueModal.providedetail": "请提供你所遇到问题的详情",
"components.IssueModal.CreateIssueModal.reportissue": "报告问题",
"components.IssueModal.CreateIssueModal.season": "第 {seasonNumber} 季",
@@ -986,5 +986,5 @@
"pages.pagenotfound": "页面不存在",
"pages.returnHome": "返回首页",
"pages.serviceunavailable": "服务器无法使用",
- "pages.somethingwentwrong": "出了点问题",
+ "pages.somethingwentwrong": "出了点问题"
}
From 575da306b03eea3561de8d7dbe1b4b69674c7b2b Mon Sep 17 00:00:00 2001
From: Brandon Cohen {msg};
- },
+ code: (msg: React.ReactNode) => (
+ {msg}
+ ),
})}
diff --git a/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx b/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx
index 1aa631c97..c6ec8432e 100644
--- a/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx
+++ b/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx
@@ -28,7 +28,7 @@ const messages = defineMessages({
validationTypes: 'You must select at least one notification type',
});
-const NotificationsPushbullet: React.FC = () => {
+const NotificationsPushbullet = () => {
const intl = useIntl();
const { addToast, removeToast } = useToasts();
const [isTesting, setIsTesting] = useState(false);
@@ -154,20 +154,16 @@ const NotificationsPushbullet: React.FC = () => {
*
{intl.formatMessage(messages.accessTokenTip, {
- PushbulletSettingsLink: function PushbulletSettingsLink(
- msg
- ) {
- return (
-
- {msg}
-
- );
- },
+ PushbulletSettingsLink: (msg: React.ReactNode) => (
+
+ {msg}
+
+ ),
})}
@@ -180,9 +176,11 @@ const NotificationsPushbullet: React.FC = () => {
autoComplete="one-time-code"
/>
{msg};
- },
+ CreateBotLink: (msg: React.ReactNode) => (
+
+ {msg}
+
+ ),
+ GetIdBotLink: (msg: React.ReactNode) => (
+
+ {msg}
+
+ ),
+ code: (msg: React.ReactNode) => (
+ {msg}
+ ),
})}
@@ -218,9 +214,11 @@ const NotificationsTelegram: React.FC = () => {
autoComplete="one-time-code"
/>
- {errors.botAPI && touched.botAPI && (
- {msg};
- },
+ GetIdBotLink: (msg: React.ReactNode) => (
+
+ {msg}
+
+ ),
+ code: (msg: React.ReactNode) => {msg},
})}
@@ -266,9 +262,11 @@ const NotificationsTelegram: React.FC = () => {
develop branch of Overseerr, which is only recommended for those contributing to development or assisting with bleeding-edge testing.',
});
-const SettingsAbout: React.FC = () => {
+const SettingsAbout = () => {
const intl = useIntl();
const { data, error } = useSWR{msg}
+ ),
})}
/>
)}
diff --git a/src/components/Settings/SettingsJobsCache/index.tsx b/src/components/Settings/SettingsJobsCache/index.tsx
index 38403a16b..eaaf57934 100644
--- a/src/components/Settings/SettingsJobsCache/index.tsx
+++ b/src/components/Settings/SettingsJobsCache/index.tsx
@@ -70,7 +70,7 @@ interface Job {
running: boolean;
}
-const SettingsJobs: React.FC = () => {
+const SettingsJobs = () => {
const intl = useIntl();
const { addToast } = useToasts();
const {
diff --git a/src/components/Settings/SettingsLayout.tsx b/src/components/Settings/SettingsLayout.tsx
index 4a366cbc5..f5bdb6f3e 100644
--- a/src/components/Settings/SettingsLayout.tsx
+++ b/src/components/Settings/SettingsLayout.tsx
@@ -16,7 +16,11 @@ const messages = defineMessages({
menuAbout: 'About',
});
-const SettingsLayout: React.FC = ({ children }) => {
+type SettingsLayoutProps = {
+ children: React.ReactNode;
+};
+
+const SettingsLayout = ({ children }: SettingsLayoutProps) => {
const intl = useIntl();
const settingsRoutes: SettingsRoute[] = [
diff --git a/src/components/Settings/SettingsLogs/index.tsx b/src/components/Settings/SettingsLogs/index.tsx
index a42bb820b..412941771 100644
--- a/src/components/Settings/SettingsLogs/index.tsx
+++ b/src/components/Settings/SettingsLogs/index.tsx
@@ -51,7 +51,7 @@ const messages = defineMessages({
type Filter = 'debug' | 'info' | 'warn' | 'error';
-const SettingsLogs: React.FC = () => {
+const SettingsLogs = () => {
const router = useRouter();
const intl = useIntl();
const { addToast } = useToasts();
@@ -232,9 +232,9 @@ const SettingsLogs: React.FC = () => {
{intl.formatMessage(messages.logsDescription, {
- code: function code(msg) {
- return {msg};
- },
+ code: (msg: React.ReactNode) => (
+ {msg}
+ ),
appDataPath: appData ? appData.appDataPath : '/app/config',
})}
{msg};
- },
+ TelegramBotLink: (msg: React.ReactNode) => (
+
+ {msg}
+
+ ),
+ GetIdBotLink: (msg: React.ReactNode) => (
+
+ {msg}
+
+ ),
+ code: (msg: React.ReactNode) => {msg},
})}
)}
@@ -149,9 +143,11 @@ const UserTelegramSettings: React.FC = () => {
type="text"
/>
- {errors.telegramChatId && touched.telegramChatId && (
-