Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ yarn-debug.log*
yarn-error.log*

.vscode
.github/copilot-instructions.md
1 change: 0 additions & 1 deletion docs/change/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Beta 版本更新日志请查看 [Beta 更新日志](./beta.md)
### Added

- ✨ 优化日志打印 [[8693b93](https://github.com/scriptscat/scriptcat/commit/8693b9338bdd916ffad58572949e67d14cc2c109)]
- ✨ 实现异步 GM 函数 ([8caebe9](https://github.com/scriptscat/scriptcat/commit/8caebe9ae4f6f6b304b54cbb870a4cebd6341704))
Comment on lines 132 to -133
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you mis-deleted the lines?

- ✨ 链接导入脚本时可以按回车键确定 ([#537](https://github.com/scriptscat/scriptcat/issues/537)) [[45a17df](https://github.com/scriptscat/scriptcat/commit/45a17df8f35a943a489c0f5980ac3f65fb0e8e5f)] (by @TC999)
- ✨ 增加 Prettier 的 ESLint 统一代码格式化风格 [[0f84a19](https://github.com/scriptscat/scriptcat/commit/0f84a19c42823baab60f2b379d187073be7879f9)]
- ✨ 安装/更新脚本时增加下拉框 [#508](https://github.com/scriptscat/scriptcat/issues/508) [[790584d](https://github.com/scriptscat/scriptcat/commit/790584d078eb4bbf2179aec5297c5574d7b30167)]
Expand Down
52 changes: 51 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "zh-Hans",
locales: ["zh-Hans", "en"],
locales: ["zh-Hans", "en", "ja", "ru", "vi", "de", "zh-Hant", "es", "fr", "ar", "it", "pt"],
localeConfigs: {
"zh-Hans": {
label: "简体中文",
Expand All @@ -38,6 +38,56 @@ const config = {
direction: "ltr",
htmlLang: "en",
},
ja: {
label: "日本語",
direction: "ltr",
htmlLang: "ja",
},
ru: {
label: "Русский",
direction: "ltr",
htmlLang: "ru",
},
vi: {
label: "Tiếng Việt",
direction: "ltr",
htmlLang: "vi",
},
de: {
label: "Deutsch",
direction: "ltr",
htmlLang: "de",
},
"zh-Hant": {
label: "繁體中文",
direction: "ltr",
htmlLang: "zh-Hant",
},
es: {
label: "Español",
direction: "ltr",
htmlLang: "es",
},
fr: {
label: "Français",
direction: "ltr",
htmlLang: "fr",
},
ar: {
label: "العربية",
direction: "rtl",
htmlLang: "ar",
},
it: {
label: "Italiano",
direction: "ltr",
htmlLang: "it",
},
pt: {
label: "Português",
direction: "ltr",
htmlLang: "pt",
},
},
},

Expand Down
170 changes: 170 additions & 0 deletions i18n/ar/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
{
"theme.ErrorPageContent.title": {
"message": "هذه الصفحة تعطلت.",
"description": "The title of the fallback page when the page crashed"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "العودة إلى الأعلى",
"description": "The ARIA label for the back to top button"
},
"theme.blog.archive.title": {
"message": "الأرشيف",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "الأرشيف",
"description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "التنقل في قائمة مقالات المدونة",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "المقالات الأحدث",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "المقالات الأقدم",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "التنقل في مقالات المدونة",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "المقال الأحدث",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "المقال الأقدم",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.post.plurals": {
"message": "{count} مقالات",
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.tagTitle": {
"message": "{nPosts} مقالات مُعلَّمة بـ \"{tagName}\"",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "عرض جميع العلامات",
"description": "The label of the link targeting the tag list page"
},
"homepage.hero.title": {
"message": "ScriptCat",
"description": "The hero title on the homepage"
},
"homepage.hero.subtitle": {
"message": "إضافة متصفح يمكنها تشغيل سكريبتات المستخدم، كل شيء يمكن برمجته، اجعل متصفحك يفعل المزيد!",
"description": "The hero subtitle on the homepage"
},
"homepage.features.powerful.title": {
"message": "ميزات قوية",
"description": "Title for powerful features section"
},
"homepage.features.powerful.description": {
"message": "متوافق تماماً مع Tampermonkey، سكريبتات الخلفية، سكريبتات مجدولة، واجهة برمجة تطبيقات غنية",
"description": "Description for powerful features section"
},
"homepage.features.easy.title": {
"message": "سهل الاستخدام",
"description": "Title for easy to use section"
},
"homepage.features.easy.description": {
"message": "محرر مدمج، إكمال تلقائي ذكي، فحص بناء الجملة، تطوير سكريبتات أكثر كفاءة",
"description": "Description for easy to use section"
},
"homepage.features.secure.title": {
"message": "آمن وموثوق",
"description": "Title for secure and reliable section"
},
"homepage.features.secure.description": {
"message": "آلية الحماية، إدارة الأذونات، ضمان تشغيل آمن للسكريبتات",
"description": "Description for secure and reliable section"
},
"homepage.comments.lihengdao.username": {
"message": "لي هينغداو",
"description": "اسم المستخدم لي هينغداو في تعليقات المجتمع"
},
"homepage.comments.lihengdao.description": {
"message": "مؤسس مشارك لـ Tampermonkey CN",
"description": "وصف لي هينغداو في تعليقات المجتمع"
},
"homepage.comments.lihengdao.content": {
"message": "ScriptCat رائع تماماً!",
"description": "محتوى تعليق لي هينغداو"
},
"homepage.comments.student.username": {
"message": "قلق بشأن الامتحانات",
"description": "اسم المستخدم الطالب في تعليقات المجتمع"
},
"homepage.comments.student.description": {
"message": "طالب",
"description": "وصف الطالب في تعليقات المجتمع"
},
"homepage.comments.student.content": {
"message": "شكراً لموارد التعلم الغنية في المجتمع، لقد تعلمت الكثير وتمكنت من تطوير مهاراتي التقنية بشكل أفضل. ScriptCat إضافة متصفح مفيدة جداً توفر لي وظائف مريحة وفعالة.",
"description": "محتوى تعليق الطالب"
},
"homepage.comments.enncy.username": {
"message": "يان شياوشي (enncy)",
"description": "اسم المستخدم enncy في تعليقات المجتمع"
},
"homepage.comments.enncy.description": {
"message": "مؤلف سكريبتات مشهور",
"description": "وصف enncy في تعليقات المجتمع"
},
"homepage.comments.enncy.content": {
"message": "شكر صادق للمجتمع",
"description": "محتوى تعليق enncy"
},
"homepage.comments.qianyu.username": {
"message": "تشيان يو",
"description": "اسم المستخدم تشيان يو في تعليقات المجتمع"
},
"homepage.comments.qianyu.description": {
"message": "مستخدم Chrome",
"description": "وصف تشيان يو في تعليقات المجتمع"
},
"homepage.comments.qianyu.content": {
"message": "في البداية، اعتقد الناس أن هذا مكون إضافي JS متخصص... حتى...",
"description": "محتوى تعليق تشيان يو"
},
"homepage.comments.wwwwwllllk.username": {
"message": "wwwwwllllk",
"description": "اسم المستخدم wwwwwllllk في تعليقات المجتمع"
},
"homepage.comments.wwwwwllllk.description": {
"message": "مطور واجهة أمامية",
"description": "وصف wwwwwllllk في تعليقات المجتمع"
},
"homepage.comments.wwwwwllllk.content": {
"message": "استخدام ScriptCat لتحسين تجربتي على الإنترنت، مقابلة أشخاص متشابهين في التفكير في المجتمع.",
"description": "محتوى تعليق wwwwwllllk"
},
"homepage.comments.oraer.username": {
"message": "Oraer",
"description": "اسم المستخدم Oraer في تعليقات المجتمع"
},
"homepage.comments.oraer.description": {
"message": "مستخدم Chrome",
"description": "وصف Oraer في تعليقات المجتمع"
},
"homepage.comments.oraer.content": {
"message": "أول لقاء مع Tampermonkey! تعلم Tampermonkey! تجاوز Tampermonkey!",
"description": "محتوى تعليق Oraer"
},
"homepage.comments.bigonion.username": {
"message": "bigonion",
"description": "اسم المستخدم bigonion في تعليقات المجتمع"
},
"homepage.comments.bigonion.description": {
"message": "مطور ScriptCat",
"description": "وصف bigonion في تعليقات المجتمع"
},
"homepage.comments.bigonion.content": {
"message": "ScriptCat هو المستقبل.",
"description": "محتوى تعليق bigonion"
}
}
134 changes: 134 additions & 0 deletions i18n/de/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"theme.ErrorPageContent.title": {
"message": "Diese Seite ist abgestürzt.",
"description": "The title of the fallback page when the page crashed"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "Zurück nach oben",
"description": "The ARIA label for the back to top button"
},
"theme.blog.archive.title": {
"message": "Archiv",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "Archiv",
"description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "Navigation der Blog-Beiträge",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "Neuere Einträge",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "Ältere Einträge",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "Navigation der Blog-Beiträge",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "Neuerer Beitrag",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "Älterer Beitrag",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.post.plurals": {
"message": "{count} Beiträge",
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.tagTitle": {
"message": "{nPosts} Beiträge mit dem Tag \"{tagName}\"",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "Alle Tags anzeigen",
"description": "The label of the link targeting the tag list page"
},
"homepage.hero.title": {
"message": "ScriptCat",
"description": "The hero title on the homepage"
},
"homepage.hero.subtitle": {
"message": "Eine Browser-Erweiterung, die Benutzerskripte ausführen kann, alles kann geskriptet werden, lassen Sie Ihren Browser mehr tun!",
"description": "The hero subtitle on the homepage"
},
"homepage.features.powerful.title": {
"message": "Leistungsstarke Funktionen",
"description": "Title for powerful features section"
},
"homepage.features.powerful.description": {
"message": "Vollständig kompatibel mit Tampermonkey, Hintergrundskripte, geplante Skripte, umfangreiche API",
"description": "Description for powerful features section"
},
"homepage.features.easy.title": {
"message": "Einfach zu verwenden",
"description": "Title for easy to use section"
},
"homepage.features.easy.description": {
"message": "Integrierter Editor, intelligente Vervollständigung, Syntaxprüfung, effizientere Skriptentwicklung",
"description": "Description for easy to use section"
},
"homepage.features.secure.title": {
"message": "Sicher und zuverlässig",
"description": "Title for secure and reliable section"
},
"homepage.features.secure.description": {
"message": "Sandbox-Mechanismus, Berechtigungsverwaltung, sichere Skriptausführung gewährleisten",
"description": "Description for secure and reliable section"
},
"homepage.comments.lihengdao.username": {
"message": "Li Hengdao",
"description": "Li Hengdaos Benutzername in Community-Kommentaren"
},
"homepage.comments.lihengdao.description": {
"message": "Mitbegründer von Tampermonkey CN",
"description": "Li Hengdaos Beschreibung in Community-Kommentaren"
},
"homepage.comments.lihengdao.content": {
"message": "ScriptCat ist absolut fantastisch!",
"description": "Li Hengdaos Kommentarinhalt"
},
"homepage.comments.student.username": {
"message": "Sorgen wegen Prüfungen",
"description": "Studentischer Benutzername in Community-Kommentaren"
},
"homepage.comments.student.description": {
"message": "Student",
"description": "Studentische Beschreibung in Community-Kommentaren"
},
"homepage.comments.student.content": {
"message": "Danke an die Community für die reichen Lernressourcen, ich habe viel gelernt und konnte meine technischen Fähigkeiten besser entwickeln. ScriptCat ist eine sehr nützliche Browser-Erweiterung, die mir praktische und effiziente Funktionen bietet.",
"description": "Studentischer Kommentarinhalt"
},
"homepage.comments.enncy.username": {
"message": "Yan Xiaoxi (enncy)",
"description": "enncys Benutzername in Community-Kommentaren"
},
"homepage.comments.enncy.description": {
"message": "Berühmter Skript-Autor",
"description": "enncys Beschreibung in Community-Kommentaren"
},
"homepage.comments.enncy.content": {
"message": "Herzlichen Dank an die Community",
"description": "enncys Kommentarinhalt"
},
"homepage.comments.qianyu.username": {
"message": "Qian Yu",
"description": "Qian Yus Benutzername in Community-Kommentaren"
},
"homepage.comments.qianyu.description": {
"message": "Chrome-Benutzer",
"description": "Qian Yus Beschreibung in Community-Kommentaren"
},
"homepage.comments.qianyu.content": {
"message": "Anfangs dachten die Leute, das sei ein Nischen-JS-Plugin... bis...",
"description": "Qian Yus Kommentarinhalt"
}
}
Loading