Compare commits

..

4 Commits

Author SHA1 Message Date
dependabot[bot] 114ffef8da
Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-29 17:34:19 +00:00
Harvey Tindall 04329bf171
fix issue with light mode colors 2022-12-29 17:32:59 +00:00
Harvey Tindall 3d56b6864e
Merge pull request #234 from HackingHackers/main
Fix Chinese translation issues
2022-12-29 16:51:25 +00:00
undy e2e675e469
Fix Chinese translation errors 2022-11-30 15:45:45 -05:00
4 changed files with 72 additions and 48 deletions

View File

@ -27,17 +27,26 @@
background-color: #101010;
}
html:not(.dark) body {
background-color: #fff;
}
.dark select, .dark option, .dark input {
background: #202020;
}
html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical) {
--color-fill: va(--color-fill);
--color-content: var(--color-content);
--color-accent: var(--color-accent);
--color-muted: var(--color-muted);
html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical),
html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\~warning):not(.\~info):not(.\~critical) > * {
/* Colors from ~neutral */
--color-fill-high: #64748b;
--color-fill-low: #e2e8f0;
--color-content-high: #f8fafc;
--color-content-low: #1e293b;
--color-accent-high: #475569;
--color-accent-low: #cbd5e1;
--color-muted-high: #475569;
--color-muted-low: #f1f5f9;
background-color: #fff;
color: inherit;
}
.light-only {

View File

@ -4,46 +4,46 @@
},
"strings": {
"ifItWasNotYou": "如果这不是您,请忽略本邮件。",
"helloUser": "你好{username}",
"helloUser": "你好 {username}",
"reason": "原因"
},
"userCreated": {
"name": "创建用户",
"title": "注意:用户已创建",
"aUserWasCreated": "使用代码{code}创建了一个用户。",
"name": "用户创建",
"title": "通知:用户已创建",
"aUserWasCreated": "使用邀请码 {code} 创建了一个用户。",
"time": "时间",
"notificationNotice": "注意:通知邮件可以在管理仪表板上进行切换。"
"notificationNotice": "提示:您可以在管理面板上开关邮件通知。"
},
"inviteExpiry": {
"name": "邀请到期",
"title": "注意:邀请已过期",
"title": "通知:邀请已过期",
"inviteExpired": "邀请已过期。",
"expiredAt": "码 {code} 已于 {time} 过期。",
"notificationNotice": "注意:通知邮件可以在管理仪表板上进行切换。"
"expiredAt": "邀请码 {code} 已于 {time} 过期。",
"notificationNotice": "提示:您可以在管理面板上开关邮件通知。"
},
"passwordReset": {
"name": "重设密码",
"title": "要求重设密码 - Jellyfin",
"someoneHasRequestedReset": "最近在Jellyfin上有一个重设密码的请求。",
"ifItWasYou": "如果是您请在提示中输入下面的PIN。",
"ifItWasYouLink": "如果是您,请单击下面的链接。",
"codeExpiry": "该代码将在UTC时间{日期} {时间}到期,也就是{expires In Minutes}。",
"pin": "PIN"
"name": "密码重置",
"title": "忘记密码 - Jellyfin",
"someoneHasRequestedReset": "刚刚在 Jellyfin 上有一个密码重置请求。",
"ifItWasYou": "如果是您本人,请在密码重置提示中输入下面的 PIN。",
"ifItWasYouLink": "如果是您本人,请单击下面的链接。",
"codeExpiry": "该 PIN 码将在 {expiresInMinutes} 内到期UTC 时间 {date} {time}。",
"pin": "PIN"
},
"userDeleted": {
"name": "删除用户",
"title": "您的账已被删除 - Jellyfin",
"yourAccountWasDeleted": "您的 Jellyfin 帐户已被删除。"
"name": "用户删除",
"title": "您的账已被删除 - Jellyfin",
"yourAccountWasDeleted": "您的 Jellyfin 账号已被删除。"
},
"userDisabled": {
"name": "用户禁用",
"title": "您的帐户已被禁用 - Jellyfin",
"yourAccountWasDisabled": "您的帐户已被禁用。"
"title": "您的账号已被禁用 - Jellyfin",
"yourAccountWasDisabled": "您的账号已被禁用。"
},
"userEnabled": {
"name": "用户启用",
"title": "您的帐户已重新启用 - Jellyfin",
"yourAccountWasEnabled": "您的帐户已重新启用。"
"name": "用户重新启用",
"title": "您的账号已被重新启用 - Jellyfin",
"yourAccountWasEnabled": "您的账号已被重新启用。"
},
"inviteEmail": {
"name": "邀请邮件",
@ -51,15 +51,15 @@
"hello": "您好",
"youHaveBeenInvited": "您已受邀注册 Jellyfin。",
"toJoin": "若要加入,请点击以下链接。",
"inviteExpiry": "此邀请将于 {date} 的 {time} 到期,即 {expires In Minutes},因此请迅速行动。",
"linkButton": "设置您的帐户"
"inviteExpiry": "此邀请将于 {date} {time} 到期,即 {expires In Minutes} 内,请尽快注册。",
"linkButton": "设置您的账号"
},
"welcomeEmail": {
"name": "欢迎",
"title": "欢迎使用Jellyfin",
"welcome": "欢迎使用Jellyfin",
"title": "欢迎使用 Jellyfin",
"welcome": "欢迎使用 Jellyfin",
"youCanLoginWith": "您可以使用以下信息登录",
"yourAccountWillExpire": "您的帐户将于 {date}到期。",
"yourAccountWillExpire": "您的账号将于 {date} 到期。",
"jellyfinURL": "链接"
},
"emailConfirmation": {
@ -70,8 +70,8 @@
},
"userExpired": {
"name": "用户到期",
"title": "您的帐户已过期 - Jellyfin",
"yourAccountHasExpired": "您的帐户已过期。",
"title": "您的账号已过期 - Jellyfin",
"yourAccountHasExpired": "您的账号已过期。",
"contactTheAdmin": "请联系管理员了解更多信息。"
}
}

38
package-lock.json generated
View File

@ -20,6 +20,7 @@
"jsdom": "^19.0.0",
"lodash": "^4.17.21",
"mjml": "^4.12.0",
"nightwind": "github:yonson2/nightwind",
"perl-regex": "^1.0.4",
"postcss": "^8.4.5",
"remixicon": "^2.5.0",
@ -701,9 +702,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001436",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001436.tgz",
"integrity": "sha512-ZmWkKsnC2ifEPoWUvSAIGyOYwT+keAaaWPHiQ9DfMqS1t6tfuyFYoWR78TeZtznkEQ64+vGXH9cZrElwR2Mrxg==",
"version": "1.0.30001441",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz",
"integrity": "sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg==",
"funding": [
{
"type": "opencollective",
@ -4123,6 +4124,14 @@
"node": ">= 0.6"
}
},
"node_modules/nightwind": {
"version": "1.1.12",
"resolved": "git+ssh://git@github.com/yonson2/nightwind.git#755e4b34e0cd782291822b88ad969c69404900da",
"license": "MIT",
"peerDependencies": {
"tailwindcss": ">= 2.0.0"
}
},
"node_modules/no-case": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",
@ -4170,9 +4179,9 @@
}
},
"node_modules/node-releases": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
"integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg=="
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz",
"integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A=="
},
"node_modules/nopt": {
"version": "5.0.0",
@ -7568,9 +7577,9 @@
"integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="
},
"caniuse-lite": {
"version": "1.0.30001436",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001436.tgz",
"integrity": "sha512-ZmWkKsnC2ifEPoWUvSAIGyOYwT+keAaaWPHiQ9DfMqS1t6tfuyFYoWR78TeZtznkEQ64+vGXH9cZrElwR2Mrxg=="
"version": "1.0.30001441",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz",
"integrity": "sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg=="
},
"caseless": {
"version": "0.12.0",
@ -10263,6 +10272,11 @@
"integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
"dev": true
},
"nightwind": {
"version": "git+ssh://git@github.com/yonson2/nightwind.git#755e4b34e0cd782291822b88ad969c69404900da",
"from": "nightwind@github:yonson2/nightwind",
"requires": {}
},
"no-case": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",
@ -10301,9 +10315,9 @@
}
},
"node-releases": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
"integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg=="
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz",
"integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A=="
},
"nopt": {
"version": "5.0.0",

View File

@ -28,6 +28,7 @@
"jsdom": "^19.0.0",
"lodash": "^4.17.21",
"mjml": "^4.12.0",
"nightwind": "github:yonson2/nightwind",
"perl-regex": "^1.0.4",
"postcss": "^8.4.5",
"remixicon": "^2.5.0",