Skip to content

Commit 2f377ef

Browse files
authored
🌐 翻译更新,package 更新 (#916)
* package更新 * translation 85b48e2 * fix: 修复GM_download无法下载filename为非法字符的文件 2518722 * 参数类型中的"minetype"应该是"mimetype" fb3d132 * normal.tpl & i18n修正 * 修正 * `@grant 冲突校验` 修正,增加 meta重复声明 错误提示 5089b2a * 翻译更新
1 parent c4f8ddc commit 2f377ef

19 files changed

Lines changed: 1739 additions & 653 deletions

File tree

package-lock.json

Lines changed: 463 additions & 178 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,34 @@
2020
"i18n": "concurrently \"webpack --mode development --config ./webpack/webpack.i18n.ts\" \"webpack --mode development --config ./webpack/webpack.inject.dev.ts\""
2121
},
2222
"dependencies": {
23-
"@arco-design/web-react": "^2.51.1",
23+
"@arco-design/web-react": "^2.66.1",
2424
"@crowdin/cli": "^4.9.0",
25-
"@dnd-kit/core": "^6.0.5",
26-
"@dnd-kit/sortable": "^7.0.1",
27-
"@dnd-kit/utilities": "^3.2.0",
25+
"@dnd-kit/core": "^6.3.1",
26+
"@dnd-kit/modifiers": "^9.0.0",
27+
"@dnd-kit/sortable": "^10.0.0",
28+
"@dnd-kit/utilities": "^3.2.2",
2829
"@emotion/react": "^11.10.4",
2930
"@emotion/styled": "^11.10.4",
3031
"axios": "^1.4.0",
31-
"cron": "^2.4.3",
32+
"cron": "^2.4.4",
3233
"crx": "^5.0.1",
33-
"crypto-js": "^4.1.1",
34-
"dayjs": "^1.11.4",
34+
"crypto-js": "^4.2.0",
35+
"dayjs": "^1.11.13",
3536
"dexie": "^3.2.3",
3637
"dotenv": "^17.1.0",
37-
"i18next": "^23.4.4",
38+
"i18next": "^23.16.4",
3839
"jszip": "^3.10.1",
3940
"lodash": "^4.17.21",
4041
"monaco-editor": "^0.37.1",
4142
"monaco-vim": "^0.3.4",
4243
"pako": "^2.0.4",
43-
"react": "^18.2.0",
44-
"react-dom": "^18.2.0",
44+
"react": "^18.3.1",
45+
"react-dom": "^18.3.1",
4546
"react-i18next": "^13.1.0",
46-
"react-icons": "^5.2.1",
47-
"react-joyride": "^2.5.5",
47+
"react-icons": "^5.5.0",
48+
"react-joyride": "^2.9.3",
4849
"react-router-dom": "^6.3.0",
49-
"semver": "^7.7.2",
50+
"semver": "^7.7.3",
5051
"uuid": "^8.3.2",
5152
"webdav": "^4.11.0",
5253
"yaml": "^2.8.0"
@@ -58,16 +59,16 @@
5859
"@babel/preset-env": "^7.18.9",
5960
"@babel/preset-react": "^7.18.6",
6061
"@babel/preset-typescript": "^7.18.6",
61-
"@types/chrome": "^0.0.193",
62+
"@types/chrome": "^0.1.1",
6263
"@types/cron": "^2.0.0",
63-
"@types/crypto-js": "^4.1.1",
64+
"@types/crypto-js": "^4.2.2",
6465
"@types/eslint": "^8.4.10",
6566
"@types/jest": "^28.1.6",
6667
"@types/lodash": "^4.17.6",
67-
"@types/pako": "^2.0.0",
68-
"@types/react": "^18.0.15",
69-
"@types/react-dom": "^18.0.6",
70-
"@types/semver": "^7.3.12",
68+
"@types/pako": "^2.0.3",
69+
"@types/react": "^18.3.1",
70+
"@types/react-dom": "^18.3.1",
71+
"@types/semver": "^7.5.8",
7172
"@types/uuid": "^8.3.4",
7273
"@types/webpack-bundle-analyzer": "^4.4.1",
7374
"@typescript-eslint/eslint-plugin": "^5.30.7",
@@ -87,11 +88,11 @@
8788
"eslint-plugin-react": "^7.30.1",
8889
"eslint-plugin-userscripts": "^0.2.12",
8990
"eslint-webpack-plugin": "^3.2.0",
90-
"fake-indexeddb": "^4.0.0",
91+
"fake-indexeddb": "^4.0.2",
9192
"html-webpack-plugin": "^5.5.0",
9293
"jest": "^29.3.1",
9394
"jest-environment-jsdom": "^29.3.1",
94-
"mock-xmlhttprequest": "^8.1.0",
95+
"mock-xmlhttprequest": "^8.4.1",
9596
"monaco-editor-locales-plugin": "^0.0.3",
9697
"node-polyfill-webpack-plugin": "^2.0.1",
9798
"prettier": "^2.7.1",

src/locales/ach-UG/translation.json

Lines changed: 93 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@
131131
"scheduled_script_tooltip": "crwdns8136:0crwdne8136:0",
132132
"running": "crwdns8138:0crwdne8138:0",
133133
"completed": "crwdns8140:0crwdne8140:0",
134-
"subscription_link": "crwdns8142:0crwdne8142:0",
135-
"subscription_installation": "crwdns8144:0crwdne8144:0",
136-
"manually_created": "crwdns8146:0crwdne8146:0",
137-
"script_link": "crwdns8148:0crwdne8148:0",
138-
"user_installation": "crwdns8150:0crwdne8150:0",
134+
"source_subscribe_link": "crwdns12786:0crwdne12786:0",
135+
"source_local_script": "crwdns12788:0crwdne12788:0",
136+
"source_script_link": "crwdns12790:0crwdne12790:0",
137+
"by_manual_creation": "crwdns12792:0crwdne12792:0",
139138
"confirm_delete_script": "crwdns8152:0crwdne8152:0",
140139
"confirm_delete_script_content": "crwdns8154:0{{name}}crwdne8154:0",
141140
"delete_failed": "crwdns8156:0crwdne8156:0",
@@ -313,6 +312,7 @@
313312
"antifeature_tracking_description": "crwdns8492:0crwdne8492:0",
314313
"script_info_load_failed": "crwdns8494:0crwdne8494:0",
315314
"script_status_tooltip": "crwdns8496:0crwdne8496:0",
315+
"subscribe_source_tooltip": "crwdns12828:0crwdne12828:0",
316316
"get_script": "crwdns8498:0crwdne8498:0",
317317
"report_issue": "crwdns8500:0crwdne8500:0",
318318
"project_docs": "crwdns8502:0crwdne8502:0",
@@ -417,5 +417,92 @@
417417
"sync_status": "crwdns8696:0crwdne8696:0",
418418
"search_scripts": "crwdns8698:0crwdne8698:0",
419419
"ext_update_notification": "crwdns8700:0crwdne8700:0",
420-
"ext_update_notification_desc": "crwdns8702:0{{version}}crwdne8702:0"
420+
"ext_update_notification_desc": "crwdns8702:0{{version}}crwdne8702:0",
421+
"watch_file_description": "crwdns8852:0crwdne8852:0",
422+
"watch_file": "crwdns8854:0crwdne8854:0",
423+
"stop_watch_file": "crwdns8856:0crwdne8856:0",
424+
"script_menu_display": "crwdns8858:0crwdne8858:0",
425+
"badge_type_none": "crwdns8860:0crwdne8860:0",
426+
"badge_type_run_count": "crwdns8862:0crwdne8862:0",
427+
"badge_type_script_count": "crwdns8864:0crwdne8864:0",
428+
"interface_settings": "crwdns8872:0crwdne8872:0",
429+
"select_interface_language": "crwdns8874:0crwdne8874:0",
430+
"extension_icon_badge": "crwdns8876:0crwdne8876:0",
431+
"display_type": "crwdns8878:0crwdne8878:0",
432+
"extension_icon_badge_type": "crwdns8880:0crwdne8880:0",
433+
"background_color": "crwdns8882:0crwdne8882:0",
434+
"badge_background_color_desc": "crwdns8884:0crwdne8884:0",
435+
"text_color": "crwdns8886:0crwdne8886:0",
436+
"badge_text_color_desc": "crwdns8888:0crwdne8888:0",
437+
"script_menu": "crwdns8890:0crwdne8890:0",
438+
"display_right_click_menu": "crwdns8916:0crwdne8916:0",
439+
"display_right_click_menu_desc": "crwdns8918:0crwdne8918:0",
440+
"expand_count": "crwdns8896:0crwdne8896:0",
441+
"auto_collapse_when_exceeds": "crwdns8898:0crwdne8898:0",
442+
"check_frequency": "crwdns8900:0crwdne8900:0",
443+
"script_auto_update_frequency": "crwdns8902:0crwdne8902:0",
444+
"update_options": "crwdns8904:0crwdne8904:0",
445+
"control_script_update_behavior": "crwdns8906:0crwdne8906:0",
446+
"blacklist_pages_desc": "crwdns8908:0crwdne8908:0",
447+
"development_tools": "crwdns8910:0crwdne8910:0",
448+
"check_script_code_quality": "crwdns8912:0crwdne8912:0",
449+
"custom_eslint_rules_config": "crwdns8914:0crwdne8914:0",
450+
"light": "crwdns10794:0crwdne10794:0",
451+
"dark": "crwdns10796:0crwdne10796:0",
452+
"individual_edit": "crwdns10798:0crwdne10798:0",
453+
"batch_edit": "crwdns10800:0crwdne10800:0",
454+
"script_code": "crwdns10804:0crwdne10804:0",
455+
"enter_search_value": "crwdns10806:0{{search}}crwdne10806:0",
456+
"script_run_env": {
457+
"title": "crwdns10808:0crwdne10808:0",
458+
"default": "crwdns10810:0crwdne10810:0",
459+
"all": "crwdns10812:0crwdne10812:0",
460+
"normal-tabs": "crwdns10814:0crwdne10814:0",
461+
"incognito-tabs": "crwdns10816:0crwdne10816:0"
462+
},
463+
"editor_config": "crwdns10818:0crwdne10818:0",
464+
"editor_config_description": "crwdns10820:0crwdne10820:0",
465+
"editor_type_definition": "crwdns10822:0crwdne10822:0",
466+
"editor_type_definition_description": "crwdns10824:0crwdne10824:0",
467+
"eslint_rules_reset": "crwdns10826:0crwdne10826:0",
468+
"eslint_rules_saved": "crwdns10828:0crwdne10828:0",
469+
"editor_config_reset": "crwdns10830:0crwdne10830:0",
470+
"editor_config_saved": "crwdns10832:0crwdne10832:0",
471+
"editor_config_format_error": "crwdns10834:0crwdne10834:0",
472+
"editor_type_definition_reset": "crwdns10836:0crwdne10836:0",
473+
"editor_type_definition_saved": "crwdns10838:0crwdne10838:0",
474+
"layout": "crwdns12780:0crwdne12780:0",
475+
"hide_script_list": "crwdns12782:0crwdne12782:0",
476+
"script_list": {
477+
"sidebar": {
478+
"stopped": "crwdns12794:0crwdne12794:0",
479+
"all": "crwdns12796:0crwdne12796:0",
480+
"normal_script": "crwdns12798:0crwdne12798:0",
481+
"status": "crwdns12800:0crwdne12800:0"
482+
}
483+
},
484+
"tags": "crwdns12802:0crwdne12802:0",
485+
"install_source": "crwdns12804:0crwdne12804:0",
486+
"input_tags_placeholder": "crwdns12806:0crwdne12806:0",
487+
"switch_to_card_mode": "crwdns12808:0crwdne12808:0",
488+
"switch_to_table_mode": "crwdns12810:0crwdne12810:0",
489+
"open_sidebar": "crwdns12812:0crwdne12812:0",
490+
"close_sidebar": "crwdns12814:0crwdne12814:0",
491+
"no_message_content": "crwdns12830:0crwdne12830:0",
492+
"error_metadata_invalid": "crwdns12832:0crwdne12832:0",
493+
"error_script_name_required": "crwdns12834:0crwdne12834:0",
494+
"error_script_version_required": "crwdns12836:0crwdne12836:0",
495+
"error_script_namespace_required": "crwdns12838:0crwdne12838:0",
496+
"error_cron_invalid": "crwdns12840:0{{expr}}crwdne12840:0",
497+
"error_script_type_mismatch": "crwdns12842:0crwdne12842:0",
498+
"error_old_script_code_missing": "crwdns12844:0crwdne12844:0",
499+
"error_subscribe_name_required": "crwdns12846:0crwdne12846:0",
500+
"error_grant_conflict": "crwdns12848:0crwdne12848:0",
501+
"notification": {
502+
"script_sync_delete": "crwdns12850:0crwdne12850:0",
503+
"script_sync_delete_desc": "crwdns12852:0{{scriptName}}crwdne12852:0",
504+
"subscribe_update": "crwdns12854:0{{subscribeName}}crwdne12854:0",
505+
"subscribe_update_desc": "crwdns12856:0{{newScripts}}crwdnd12856:0{{deletedScripts}}crwdne12856:0"
506+
},
507+
"loading": "crwdns12870:0crwdne12870:0"
421508
}

src/locales/de-DE/translation.json

Lines changed: 98 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@
131131
"scheduled_script_tooltip": "Geplantes Skript, nächste Ausführungszeit:",
132132
"running": "Wird ausgeführt",
133133
"completed": "Ausführung abgeschlossen",
134-
"subscription_link": "Abonnement-Link",
135-
"subscription_installation": "Abonnement-Installation",
136-
"manually_created": "Manuell erstellt",
137-
"script_link": "Skript-Link",
138-
"user_installation": "Benutzer-Installation",
134+
"source_subscribe_link": "Abonnement-Link",
135+
"source_local_script": "Lokales Skript",
136+
"source_script_link": "Skript-Link",
137+
"by_manual_creation": "Lokal durch Code-Bearbeitung erstellt",
139138
"confirm_delete_script": "Möchten Sie dieses Skript wirklich löschen?",
140139
"confirm_delete_script_content": "Möchten Sie das Skript „{{name}}“ wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
141140
"delete_failed": "Löschen fehlgeschlagen",
@@ -312,7 +311,8 @@
312311
"antifeature_tracking_title": "Informationsverfolgung",
313312
"antifeature_tracking_description": "Dieses Skript verfolgt Ihre Benutzerinformationen",
314313
"script_info_load_failed": "Skript-Informationen laden fehlgeschlagen!",
315-
"script_status_tooltip": "Kann den Aktivierungsstatus des Skripts steuern. Normale Userscripts sind standardmäßig aktiviert, Hintergrund- und geplante Skripte sind standardmäßig deaktiviert",
314+
"script_status_tooltip": "Sie können den Aktivierungsstatus von Skripten steuern. Gewöhnliche Tampermonkey-Skripte sind standardmäßig aktiviert, während Hintergrund- und geplante Skripte standardmäßig deaktiviert sind.",
315+
"subscribe_source_tooltip": "Dies ist eine Abonnementquelle. Wenn Sie das Abonnement öffnen, wird das Abonnementskript automatisch installiert.",
316316
"get_script": "Skript abrufen",
317317
"report_issue": "Bug/Problem-Feedback",
318318
"project_docs": "Projektdokumentation",
@@ -349,7 +349,7 @@
349349
"start_guide_content": "Als nächstes stellen wir Ihnen die grundlegende Verwendung von ScriptCat vor",
350350
"guide_installed_scripts": "Ihre installierten Skripte werden hier angezeigt",
351351
"guide_script_list_title": "Skript-Markt",
352-
"guide_script_list_content": "Sie können Skripte aus dem <Link href=\"https://scriptcat.org/search\">Skript-Markt</Link> installieren. ScriptCat unterstützt neben Benutzerskripten auch <Link href=\"https://docs.scriptcat.org/en/docs/dev/backgroud/\">Hintergrundskripte</Link>",
352+
"guide_script_list_content": "Sie können Skripte aus dem <Link href=\"https://scriptcat.org/search\">Skript-Markt</Link> installieren. ScriptCat unterstützt neben Benutzerskripten auch <Link href=\"https://docs.scriptcat.org/en/docs/dev/background/\">Hintergrundskripte</Link>",
353353
"guide_script_list_enable_title": "Skript-Aktivierung",
354354
"guide_script_list_enable_content": "Skripte müssen aktiviert werden, um verwendet zu werden. Seitenskripte sind bei der Installation standardmäßig aktiviert, Hintergrundskripte sind bei der Installation standardmäßig deaktiviert",
355355
"guide_script_list_apply_to_run_status_title": "Anwenden auf und Ausführungsstatus",
@@ -414,5 +414,95 @@
414414
"build_failed": "Build fehlgeschlagen",
415415
"drag_script_here_to_upload": "Skript hierher ziehen zum Hochladen",
416416
"sync_status": "Synchronisierungsstatus",
417-
"search_scripts": "Suchskripte"
417+
"search_scripts": "Suchskripte",
418+
"ext_update_notification": "ScriptCat-Erweiterung wurde aktualisiert",
419+
"ext_update_notification_desc": "Aktuelle Version: {{version}}, Details finden Sie im Changelog",
420+
"watch_file_description": "Überwachen Sie Dateiänderungen und aktualisieren Sie Skripte automatisch. Beim Gebrauch stellen Sie sicher, dass der Skriptdateipfad unverändert bleibt und die Seite nicht geschlossen werden kann",
421+
"watch_file": "Datei überwachen",
422+
"stop_watch_file": "Überwachung stoppen",
423+
"script_menu_display": "Von Skript registrierte Menüs",
424+
"badge_type_none": "Nicht anzeigen",
425+
"badge_type_run_count": "Ausführungsanzahl",
426+
"badge_type_script_count": "Skriptanzahl",
427+
"interface_settings": "Benutzeroberfläche",
428+
"select_interface_language": "Sprache der Benutzeroberfläche auswählen",
429+
"extension_icon_badge": "Erweiterungs-Icon-Badge",
430+
"display_type": "Anzeigetyp",
431+
"extension_icon_badge_type": "Zahlentyp der auf dem Erweiterungs-Icon angezeigten Badge",
432+
"background_color": "Hintergrundfarbe",
433+
"badge_background_color_desc": "Badge-Hintergrundfarbe",
434+
"text_color": "Textfarbe",
435+
"badge_text_color_desc": "Badge-Textfarbe",
436+
"script_menu": "Skriptmenü",
437+
"display_right_click_menu": "Rechtsklickmenü anzeigen",
438+
"display_right_click_menu_desc": "Skriptmenü im Rechtsklickmenü des Browsers anzeigen",
439+
"expand_count": "Erweiterte Anzahl",
440+
"auto_collapse_when_exceeds": "Automatisch einklappen, wenn diese Anzahl überschritten wird",
441+
"check_frequency": "Prüffrequenz",
442+
"script_auto_update_frequency": "Frequenz der automatischen Skript-Update-Prüfung",
443+
"update_options": "Update-Optionen",
444+
"control_script_update_behavior": "Skript-Update-Verhalten kontrollieren",
445+
"blacklist_pages_desc": "Verbietet Skripts auf bestimmten Seiten zu laufen, unterstützt Wildcards",
446+
"development_tools": "Entwicklertools",
447+
"check_script_code_quality": "Skriptcode-Qualität und Fehler prüfen",
448+
"custom_eslint_rules_config": "Benutzerdefinierte ESLint-Regelkonfiguration (JSON-Format)",
449+
"light": "Heller Modus",
450+
"dark": "Dunkler Modus",
451+
"individual_edit": "Einzelbearbeitung",
452+
"batch_edit": "Stapelbearbeitung",
453+
"script_code": "Skriptcode",
454+
"enter_search_value": "Bitte geben Sie {{search}} für die Suche ein",
455+
"script_run_env": {
456+
"title": "Laufzeitumgebung",
457+
"default": "default",
458+
"all": "Alle Bezeichnungen",
459+
"normal-tabs": "Normale Tabs",
460+
"incognito-tabs": "Inkognito-Tabs"
461+
},
462+
"editor_config": "Editor-Konfiguration",
463+
"editor_config_description": "Sie können sich an den compilerOptions in <Link href=\"https://code.visualstudio.com/docs/languages/jsconfig\">jsconfig.js</Link> orientieren, um die Konfiguration vorzunehmen",
464+
"editor_type_definition": "Editor-Typdefinitionen",
465+
"editor_type_definition_description": "Sie können Ihre eigenen Typdefinitionen anpassen, der Skript-Editor wird diese automatisch laden",
466+
"eslint_rules_reset": "ESLint-Regeln wurden zurückgesetzt",
467+
"eslint_rules_saved": "ESLint-Regeln wurden gespeichert",
468+
"editor_config_reset": "Editor-Konfiguration wurde zurückgesetzt",
469+
"editor_config_saved": "Editor-Konfiguration wurde gespeichert",
470+
"editor_config_format_error": "Editor-Konfiguration Formatfehler",
471+
"editor_type_definition_reset": "Editor-Typdefinitionen wurden zurückgesetzt",
472+
"editor_type_definition_saved": "Editor-Typdefinitionen wurden gespeichert",
473+
"layout": "Layout",
474+
"hide_script_list": "Skriptliste ausblenden",
475+
"script_list": {
476+
"sidebar": {
477+
"stopped": "Gestoppt",
478+
"all": "Alle",
479+
"normal_script": "Normales Skript",
480+
"status": "Status"
481+
}
482+
},
483+
"tags": "Tags",
484+
"install_source": "Installationsquelle",
485+
"input_tags_placeholder": "Tags eingeben, Enter drücken um zu bestätigen",
486+
"switch_to_card_mode": "Wechseln Sie in den Kartenmodus",
487+
"switch_to_table_mode": "In den Tabellenmodus wechseln",
488+
"open_sidebar": "Öffne die Seitenleiste",
489+
"close_sidebar": "Schließe die Seitenleiste",
490+
"no_message_content": "Kein Nachrichteninhalt",
491+
"error_metadata_invalid": "MetaData-Block ist ungültig",
492+
"error_script_name_required": "Skriptname ist erforderlich",
493+
"error_script_version_required": "Skript @version ist erforderlich",
494+
"error_script_namespace_required": "Skript @namespace ist erforderlich",
495+
"error_cron_invalid": "Ungültiger Cron-Ausdruck: {{expr}}",
496+
"error_script_type_mismatch": "Skripttyp stimmt nicht überein: Normale und Hintergrundskripte können nicht konvertiert werden",
497+
"error_old_script_code_missing": "Alter Skriptcode nicht gefunden",
498+
"error_subscribe_name_required": "Abonnementname ist erforderlich",
499+
"error_grant_conflict": "@grant deklariert sowohl 'none' als auch GM API",
500+
"error_metadata_line_duplicated": "In den Metadaten befinden sich doppelte Deklarationen.",
501+
"notification": {
502+
"script_sync_delete": "Skript-Löschsynchronisation",
503+
"script_sync_delete_desc": "Skript {{scriptName}} wurde gelöscht",
504+
"subscribe_update": "Abonnement {{subscribeName}} wurde aktualisiert",
505+
"subscribe_update_desc": "Neue Skripte: {{newScripts}}\nGelöschte Skripte: {{deletedScripts}}"
506+
},
507+
"loading": "Wird geladen..."
418508
}

0 commit comments

Comments
 (0)