Skip to content

Commit

Permalink
docs: generate more translations
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Nov 30, 2024
1 parent 904e01d commit 659ec05
Show file tree
Hide file tree
Showing 7 changed files with 1,138 additions and 8 deletions.
2 changes: 1 addition & 1 deletion localization/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
"AskDownloadLocation": "Ask where to save each file before downloading",
"RememberLastVisitState": "Remember last page visited, restore last visit state on open",
"Network": "Network",
"AntiAntiLeech": "Anti-Leech will prevent some images from being displayed on your wiki, we use anti-anti-leech to bypass this protection.",
"AntiAntiLeech": "Some website has Anti-Leech, will prevent some images from being displayed on your wiki, we simulate a request header that looks like visiting that website to bypass this protection.",
"DisableAntiAntiLeech": "Disable Anti-Anti-Leech",
"DisableAntiAntiLeechDetail": "Enable this option to completely disable anti-anti-leech functionality.",
"DisableAntiAntiLeechForUrls": "Disable Anti-Anti-Leech for URLs",
Expand Down
500 changes: 500 additions & 0 deletions localization/locales/fr/translation.json

Large diffs are not rendered by default.

305 changes: 300 additions & 5 deletions localization/locales/ja/translation.json

Large diffs are not rendered by default.

331 changes: 331 additions & 0 deletions localization/locales/ru/translation.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion localization/locales/zh_CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"IgnoreCertificateErrors": "忽略网络证书错误",
"ItIsWorking": "好使的!",
"Network": "网络",
"AntiAntiLeech": "防盗链会阻止某些图片在你的Wiki上显示,我们使用反防盗链来绕过这种保护",
"AntiAntiLeech": "有的网站做了防盗链,会阻止某些图片在你的Wiki上显示,我们通过模拟访问该网站的请求头来绕过这种限制",
"DisableAntiAntiLeech": "禁用反防盗链",
"DisableAntiAntiLeechDetail": "勾选以完全禁用反防盗链功能",
"DisableAntiAntiLeechForUrls": "为以下网址禁用反防盗链",
Expand Down
5 changes: 4 additions & 1 deletion localization/supportedLanguages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"en": "English",
"zh_CN": "简中"
"zh_CN": "简中",
"ja": "日本語",
"fr": "Français",
"ru": "Русский"
}
1 change: 1 addition & 0 deletions src/pages/Preferences/sections/Network.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function Network(props: ISectionProps): JSX.Element {
<ListItem>
<TextField
label={t('Preference.DisableAntiAntiLeechForUrls')}
helperText={t('Preference.AntiAntiLeech')}
multiline
fullWidth
minRows={3}
Expand Down

0 comments on commit 659ec05

Please sign in to comment.