@hoardodile/i18n 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/workbench.d.ts +213 -69
- package/dist/catalogs/workbench.js +185 -65
- package/dist/catalogs/workbench.js.map +1 -1
- package/dist/{catalogs-DhL0jLaW.d.ts → catalogs-P15rGrmg.d.ts} +90 -12
- package/dist/catalogs.d.ts +1 -1
- package/dist/catalogs.js +130 -65
- package/dist/catalogs.js.map +1 -1
- package/dist/core.d.ts +14 -1
- package/dist/core.js +8 -1
- package/dist/core.js.map +1 -1
- package/dist/create-i18n.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +138 -66
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/catalogs/de.json +26 -13
- package/src/catalogs/en.json +25 -12
- package/src/catalogs/es.json +26 -13
- package/src/catalogs/ja.json +26 -13
- package/src/catalogs/zh.json +27 -14
- package/src/core.ts +14 -0
- package/src/index.ts +1 -0
- package/src/workbench/de.json +37 -13
- package/src/workbench/en.json +37 -13
- package/src/workbench/es.json +37 -13
- package/src/workbench/ja.json +37 -13
- package/src/workbench/zh.json +37 -13
package/package.json
CHANGED
package/src/catalogs/de.json
CHANGED
|
@@ -428,16 +428,16 @@
|
|
|
428
428
|
"updatePhaseSwapping": "Serverdateien werden ersetzt…",
|
|
429
429
|
"updatePhaseStarting": "Lokaler Server wird gestartet…",
|
|
430
430
|
"shellCache": {
|
|
431
|
-
"title": "
|
|
432
|
-
"description": "
|
|
431
|
+
"title": "Temporäre App-Dateien",
|
|
432
|
+
"description": "Temporäre Dateien, die die App auf deinem Gerät speichert, während sie läuft — etwa die Bilder und Dateien, die in der Oberfläche verwendet werden — sowie heruntergeladene Updates. Beim Löschen holt sich die App einfach wieder, was sie braucht: dein Anmeldestatus, dein Aussehen und Offline-Daten bleiben unberührt. Ein heruntergeladenes, installationsbereites Update bleibt erhalten.",
|
|
433
433
|
"currentSize": "{{size}}",
|
|
434
434
|
"unavailable": "Nicht verfügbar",
|
|
435
|
-
"clear": "
|
|
436
|
-
"clearing": "
|
|
437
|
-
"confirmTitle": "
|
|
438
|
-
"confirmDescription": "
|
|
439
|
-
"toastCleared": "
|
|
440
|
-
"clearFailed": "
|
|
435
|
+
"clear": "Temporäre Dateien löschen",
|
|
436
|
+
"clearing": "Löschen…",
|
|
437
|
+
"confirmTitle": "Temporäre App-Dateien löschen?",
|
|
438
|
+
"confirmDescription": "Die App holt sich beim nächsten Verwenden einfach wieder, was sie braucht. Dein Anmeldestatus, dein Aussehen und Offline-Daten bleiben unberührt. Ein heruntergeladenes, installationsbereites Update bleibt erhalten.",
|
|
439
|
+
"toastCleared": "Temporäre App-Dateien gelöscht — {{bytes}} freigegeben.",
|
|
440
|
+
"clearFailed": "Die temporären App-Dateien konnten nicht gelöscht werden."
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"usage": {
|
|
@@ -480,13 +480,13 @@
|
|
|
480
480
|
"confirmDescription": "Dies löscht alle Systemeinstellungen einschließlich Design, Sprache, Schriftart und Datumsformat. Die Seite wird mit Standardwerten neu geladen. Dies kann nicht rückgängig gemacht werden."
|
|
481
481
|
},
|
|
482
482
|
"systemCache": {
|
|
483
|
-
"title": "
|
|
484
|
-
"description": "
|
|
483
|
+
"title": "Browserdaten",
|
|
484
|
+
"description": "App-Daten, die in deinem Browser gespeichert sind — Aussehen (Design, Sprache), Offline-Nutzungsdaten und gespeicherte Dokumententwürfe. Beim Löschen wird die Seite neu geladen und das Aussehen auf die Standardeinstellungen zurückgesetzt; Ressourcen und Sammlungen auf dem Server bleiben unberührt.",
|
|
485
485
|
"clear": "Alles leeren",
|
|
486
486
|
"clearing": "Leeren…",
|
|
487
|
-
"resetting": "
|
|
488
|
-
"confirmTitle": "
|
|
489
|
-
"confirmDescription": "Dies löscht alle
|
|
487
|
+
"resetting": "Browserdaten gelöscht. Die Seite wird neu geladen…",
|
|
488
|
+
"confirmTitle": "Browserdaten löschen?",
|
|
489
|
+
"confirmDescription": "Dies löscht alle im Browser gespeicherten App-Daten, einschließlich Aussehen (Design, Sprache), Offline-Nutzungsdaten und Dokumententwürfe, und lädt die Seite anschließend mit den Standardeinstellungen neu. Ressourcen und Sammlungen auf dem Server bleiben unberührt. Dies kann nicht rückgängig gemacht werden."
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"plugin": {
|
|
@@ -614,6 +614,7 @@
|
|
|
614
614
|
"notInstalled": "Nicht installiert",
|
|
615
615
|
"reportIssue": "Problem melden",
|
|
616
616
|
"reportSecurity": "Sicherheitslücke melden",
|
|
617
|
+
"requestFeature": "Feature anfragen",
|
|
617
618
|
"intro": "Einführung",
|
|
618
619
|
"languages": "Sprachen",
|
|
619
620
|
"noIntro": "Diese Version enthält keine Einführung",
|
|
@@ -1920,6 +1921,18 @@
|
|
|
1920
1921
|
}
|
|
1921
1922
|
},
|
|
1922
1923
|
"tags": {
|
|
1924
|
+
"edit": {
|
|
1925
|
+
"linkLabel": "Weblink",
|
|
1926
|
+
"linkPlaceholder": "https://…",
|
|
1927
|
+
"linkHint": "Optionaler Link zur kanonischen Seite des Tags — erscheint in der Hover-Vorschau.",
|
|
1928
|
+
"uploadImage": "Bild hochladen…",
|
|
1929
|
+
"editImage": "Bild bearbeiten…",
|
|
1930
|
+
"imageDialogTitle": "Tag-Bild"
|
|
1931
|
+
},
|
|
1932
|
+
"card": {
|
|
1933
|
+
"openLink": "Link öffnen",
|
|
1934
|
+
"aria": "Tag-Vorschau: {{name}}"
|
|
1935
|
+
},
|
|
1923
1936
|
"picker": {
|
|
1924
1937
|
"noCategories": "Noch keine Kategorien.",
|
|
1925
1938
|
"selectedHeader": "Ausgewählt:",
|
package/src/catalogs/en.json
CHANGED
|
@@ -428,16 +428,16 @@
|
|
|
428
428
|
"updatePhaseSwapping": "Replacing server files…",
|
|
429
429
|
"updatePhaseStarting": "Starting the local server…",
|
|
430
430
|
"shellCache": {
|
|
431
|
-
"title": "
|
|
432
|
-
"description": "
|
|
431
|
+
"title": "App temporary files",
|
|
432
|
+
"description": "Temporary files the app saves on your device as it runs — like the images and code used in the interface — plus any downloaded update. Clearing just means the app fetches what it needs again: your signed-in status, appearance preferences and offline data are never touched. A downloaded update that is ready to install stays untouched.",
|
|
433
433
|
"currentSize": "{{size}}",
|
|
434
434
|
"unavailable": "Unavailable",
|
|
435
|
-
"clear": "Clear
|
|
435
|
+
"clear": "Clear temporary files",
|
|
436
436
|
"clearing": "Clearing…",
|
|
437
|
-
"confirmTitle": "Clear the
|
|
438
|
-
"confirmDescription": "The app
|
|
439
|
-
"toastCleared": "
|
|
440
|
-
"clearFailed": "Could not clear the
|
|
437
|
+
"confirmTitle": "Clear the app's temporary files?",
|
|
438
|
+
"confirmDescription": "The app will fetch what it needs again the next time it is used. Your signed-in status, appearance preferences and offline data are never touched. A downloaded update that is ready to install stays untouched.",
|
|
439
|
+
"toastCleared": "App temporary files cleared — {{bytes}} freed.",
|
|
440
|
+
"clearFailed": "Could not clear the app's temporary files."
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"usage": {
|
|
@@ -480,13 +480,13 @@
|
|
|
480
480
|
"confirmDescription": "This will delete every system preference including theme, language, font, and date format. The page will reload with default values. This cannot be undone."
|
|
481
481
|
},
|
|
482
482
|
"systemCache": {
|
|
483
|
-
"title": "Browser
|
|
484
|
-
"description": "
|
|
483
|
+
"title": "Browser data",
|
|
484
|
+
"description": "App data kept in your browser — appearance preferences (theme, language), offline usage records and saved document drafts. Clearing reloads the page and restores the default interface; resources and collections on the server are never touched.",
|
|
485
485
|
"clear": "Clear all",
|
|
486
486
|
"clearing": "Clearing…",
|
|
487
|
-
"resetting": "Browser
|
|
488
|
-
"confirmTitle": "Clear browser
|
|
489
|
-
"confirmDescription": "This
|
|
487
|
+
"resetting": "Browser data cleared. Reloading…",
|
|
488
|
+
"confirmTitle": "Clear browser data?",
|
|
489
|
+
"confirmDescription": "This deletes every piece of app data kept in your browser, including appearance preferences (theme, language), offline usage records and saved document drafts, then reloads the page with the default interface. Resources and collections on the server are never touched. This cannot be undone."
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"plugin": {
|
|
@@ -614,6 +614,7 @@
|
|
|
614
614
|
"notInstalled": "Not installed",
|
|
615
615
|
"reportIssue": "Report an issue",
|
|
616
616
|
"reportSecurity": "Report a security vulnerability",
|
|
617
|
+
"requestFeature": "Request a feature",
|
|
617
618
|
"intro": "Intro",
|
|
618
619
|
"languages": "Languages",
|
|
619
620
|
"noIntro": "This release ships no introduction",
|
|
@@ -1920,6 +1921,18 @@
|
|
|
1920
1921
|
}
|
|
1921
1922
|
},
|
|
1922
1923
|
"tags": {
|
|
1924
|
+
"edit": {
|
|
1925
|
+
"linkLabel": "Website link",
|
|
1926
|
+
"linkPlaceholder": "https://…",
|
|
1927
|
+
"linkHint": "Optional link to the tag's canonical page — shown in the hover preview.",
|
|
1928
|
+
"uploadImage": "Upload image…",
|
|
1929
|
+
"editImage": "Edit image…",
|
|
1930
|
+
"imageDialogTitle": "Tag image"
|
|
1931
|
+
},
|
|
1932
|
+
"card": {
|
|
1933
|
+
"openLink": "Open link",
|
|
1934
|
+
"aria": "Tag preview: {{name}}"
|
|
1935
|
+
},
|
|
1923
1936
|
"picker": {
|
|
1924
1937
|
"noCategories": "No categories yet.",
|
|
1925
1938
|
"selectedHeader": "Selected:",
|
package/src/catalogs/es.json
CHANGED
|
@@ -428,16 +428,16 @@
|
|
|
428
428
|
"updatePhaseSwapping": "Reemplazando los archivos del servidor…",
|
|
429
429
|
"updatePhaseStarting": "Iniciando el servidor local…",
|
|
430
430
|
"shellCache": {
|
|
431
|
-
"title": "
|
|
432
|
-
"description": "
|
|
431
|
+
"title": "Archivos temporales de la app",
|
|
432
|
+
"description": "Archivos temporales que la app guarda en tu equipo mientras se ejecuta, como las imágenes y el código usados en la interfaz, además de cualquier actualización descargada. Al borrarlos, la app simplemente vuelve a obtener lo que necesita: tu sesión iniciada, la apariencia y los datos sin conexión no se tocan. Una actualización descargada lista para instalar se mantiene.",
|
|
433
433
|
"currentSize": "{{size}}",
|
|
434
434
|
"unavailable": "No disponible",
|
|
435
|
-
"clear": "
|
|
436
|
-
"clearing": "
|
|
437
|
-
"confirmTitle": "¿
|
|
438
|
-
"confirmDescription": "La
|
|
439
|
-
"toastCleared": "
|
|
440
|
-
"clearFailed": "No se
|
|
435
|
+
"clear": "Borrar archivos temporales",
|
|
436
|
+
"clearing": "Borrando…",
|
|
437
|
+
"confirmTitle": "¿Borrar los archivos temporales de la app?",
|
|
438
|
+
"confirmDescription": "La app volverá a obtener lo que necesite la próxima vez que la uses. Tu sesión iniciada, la apariencia y los datos sin conexión no se tocan. Una actualización descargada lista para instalar se mantiene.",
|
|
439
|
+
"toastCleared": "Archivos temporales de la app borrados — {{bytes}} liberados.",
|
|
440
|
+
"clearFailed": "No se pudieron borrar los archivos temporales de la app."
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"usage": {
|
|
@@ -480,13 +480,13 @@
|
|
|
480
480
|
"confirmDescription": "Esto eliminará todas las preferencias del sistema, incluidos tema, idioma, fuente y formato de fecha. La página se recargará con valores predeterminados. Esto no se puede deshacer."
|
|
481
481
|
},
|
|
482
482
|
"systemCache": {
|
|
483
|
-
"title": "
|
|
484
|
-
"description": "
|
|
483
|
+
"title": "Datos en el navegador",
|
|
484
|
+
"description": "Lo que la app guarda en tu navegador: preferencias de apariencia (tema, idioma), registros de uso sin conexión y borradores de documentos guardados. Al borrarlos, la página se recarga y la interfaz vuelve a los valores predeterminados; los recursos y las colecciones del servidor no se tocan.",
|
|
485
485
|
"clear": "Limpiar todo",
|
|
486
486
|
"clearing": "Limpiando…",
|
|
487
|
-
"resetting": "
|
|
488
|
-
"confirmTitle": "¿
|
|
489
|
-
"confirmDescription": "Esto
|
|
487
|
+
"resetting": "Datos del navegador borrados. Recargando…",
|
|
488
|
+
"confirmTitle": "¿Borrar los datos del navegador?",
|
|
489
|
+
"confirmDescription": "Esto borra todos los datos que la app guarda en tu navegador, incluidas las preferencias de apariencia (tema, idioma), los registros de uso sin conexión y los borradores de documentos guardados, y luego recarga la página con la interfaz en los valores predeterminados. Los recursos y las colecciones del servidor no se tocan. Esto no se puede deshacer."
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"plugin": {
|
|
@@ -614,6 +614,7 @@
|
|
|
614
614
|
"notInstalled": "No instalado",
|
|
615
615
|
"reportIssue": "Informar de un problema",
|
|
616
616
|
"reportSecurity": "Informar de una vulnerabilidad",
|
|
617
|
+
"requestFeature": "Solicitar una función",
|
|
617
618
|
"intro": "Introducción",
|
|
618
619
|
"languages": "Idiomas",
|
|
619
620
|
"noIntro": "Esta versión no incluye una introducción",
|
|
@@ -1920,6 +1921,18 @@
|
|
|
1920
1921
|
}
|
|
1921
1922
|
},
|
|
1922
1923
|
"tags": {
|
|
1924
|
+
"edit": {
|
|
1925
|
+
"linkLabel": "Enlace del sitio",
|
|
1926
|
+
"linkPlaceholder": "https://…",
|
|
1927
|
+
"linkHint": "Enlace opcional a la página canónica de la etiqueta — se muestra en la vista previa al pasar el cursor.",
|
|
1928
|
+
"uploadImage": "Subir imagen…",
|
|
1929
|
+
"editImage": "Editar imagen…",
|
|
1930
|
+
"imageDialogTitle": "Imagen de la etiqueta"
|
|
1931
|
+
},
|
|
1932
|
+
"card": {
|
|
1933
|
+
"openLink": "Abrir enlace",
|
|
1934
|
+
"aria": "Vista previa de la etiqueta: {{name}}"
|
|
1935
|
+
},
|
|
1923
1936
|
"picker": {
|
|
1924
1937
|
"noCategories": "Aún no hay categorías.",
|
|
1925
1938
|
"selectedHeader": "Seleccionadas:",
|
package/src/catalogs/ja.json
CHANGED
|
@@ -428,16 +428,16 @@
|
|
|
428
428
|
"updatePhaseSwapping": "サーバーファイルを置き換えています…",
|
|
429
429
|
"updatePhaseStarting": "ローカルサーバーを起動しています…",
|
|
430
430
|
"shellCache": {
|
|
431
|
-
"title": "
|
|
432
|
-
"description": "
|
|
431
|
+
"title": "アプリの一時ファイル",
|
|
432
|
+
"description": "アプリの実行中に端末に自動で保存される一時ファイル(画面で使う画像やコードなど)と、ダウンロード済みの更新プログラム。消去しても、必要なファイルはアプリが自動で取得し直します。ログイン状態、外観設定、オフラインデータには影響しません。インストール準備ができた更新プログラムはそのまま残ります。",
|
|
433
433
|
"currentSize": "{{size}}",
|
|
434
434
|
"unavailable": "利用不可",
|
|
435
|
-
"clear": "
|
|
436
|
-
"clearing": "
|
|
437
|
-
"confirmTitle": "
|
|
438
|
-
"confirmDescription": "
|
|
439
|
-
"toastCleared": "
|
|
440
|
-
"clearFailed": "
|
|
435
|
+
"clear": "一時ファイルを消去",
|
|
436
|
+
"clearing": "消去中…",
|
|
437
|
+
"confirmTitle": "アプリの一時ファイルを消去しますか?",
|
|
438
|
+
"confirmDescription": "次回使用時に、アプリが必要なファイルを自動で取得し直します。ログイン状態、外観設定、オフラインデータには影響しません。インストール準備ができた更新プログラムはそのまま残ります。",
|
|
439
|
+
"toastCleared": "アプリの一時ファイルを消去しました — {{bytes}} 解放。",
|
|
440
|
+
"clearFailed": "アプリの一時ファイルを消去できませんでした。"
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"usage": {
|
|
@@ -480,13 +480,13 @@
|
|
|
480
480
|
"confirmDescription": "テーマ、言語、フォント、日付形式を含むすべてのシステム設定を削除します。ページは既定値で再読み込みされます。これは元に戻せません。"
|
|
481
481
|
},
|
|
482
482
|
"systemCache": {
|
|
483
|
-
"title": "
|
|
484
|
-
"description": "
|
|
483
|
+
"title": "ブラウザ内のデータ",
|
|
484
|
+
"description": "アプリがブラウザに保存するデータ — 外観設定(テーマ、言語)、オフラインの利用記録、保存したドキュメントの下書き。消去するとページが再読み込みされ、外観は既定の設定に戻ります。サーバー上のリソースとコレクションには影響しません。",
|
|
485
485
|
"clear": "すべてクリア",
|
|
486
486
|
"clearing": "クリア中…",
|
|
487
|
-
"resetting": "
|
|
488
|
-
"confirmTitle": "
|
|
489
|
-
"confirmDescription": "
|
|
487
|
+
"resetting": "ブラウザ内のデータを消去しました。再読み込み中…",
|
|
488
|
+
"confirmTitle": "ブラウザ内のデータを消去しますか?",
|
|
489
|
+
"confirmDescription": "アプリがブラウザに保存しているすべてのデータ(テーマや言語などの外観設定、オフラインの利用記録、保存したドキュメントの下書き)を削除し、ページを再読み込みして外観を既定の設定に戻します。サーバー上のリソースとコレクションには影響しません。これは元に戻せません。"
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"plugin": {
|
|
@@ -614,6 +614,7 @@
|
|
|
614
614
|
"notInstalled": "未インストール",
|
|
615
615
|
"reportIssue": "問題を報告",
|
|
616
616
|
"reportSecurity": "脆弱性を報告",
|
|
617
|
+
"requestFeature": "機能リクエスト",
|
|
617
618
|
"intro": "紹介",
|
|
618
619
|
"languages": "言語",
|
|
619
620
|
"noIntro": "このリリースには紹介がありません",
|
|
@@ -1920,6 +1921,18 @@
|
|
|
1920
1921
|
}
|
|
1921
1922
|
},
|
|
1922
1923
|
"tags": {
|
|
1924
|
+
"edit": {
|
|
1925
|
+
"linkLabel": "ウェブリンク",
|
|
1926
|
+
"linkPlaceholder": "https://…",
|
|
1927
|
+
"linkHint": "タグの正典ページへの任意リンク — ホバープレビューに表示されます。",
|
|
1928
|
+
"uploadImage": "画像をアップロード…",
|
|
1929
|
+
"editImage": "画像を編集…",
|
|
1930
|
+
"imageDialogTitle": "タグ画像"
|
|
1931
|
+
},
|
|
1932
|
+
"card": {
|
|
1933
|
+
"openLink": "リンクを開く",
|
|
1934
|
+
"aria": "タグプレビュー: {{name}}"
|
|
1935
|
+
},
|
|
1923
1936
|
"picker": {
|
|
1924
1937
|
"noCategories": "まだカテゴリがありません。",
|
|
1925
1938
|
"selectedHeader": "選択中:",
|
package/src/catalogs/zh.json
CHANGED
|
@@ -309,8 +309,8 @@
|
|
|
309
309
|
"openLogsFolder": "打开服务器日志文件夹",
|
|
310
310
|
"openLogsFailed": "无法打开日志文件夹。",
|
|
311
311
|
"featureTitle": "功能建议",
|
|
312
|
-
"featureDescription": "
|
|
313
|
-
"featureAction": "
|
|
312
|
+
"featureDescription": "缺少什么功能?告诉我。",
|
|
313
|
+
"featureAction": "告诉我",
|
|
314
314
|
"developerTitle": "开发者",
|
|
315
315
|
"checkUpdate": "检查更新",
|
|
316
316
|
"checking": "正在检查…",
|
|
@@ -428,16 +428,16 @@
|
|
|
428
428
|
"updatePhaseSwapping": "正在替换服务文件…",
|
|
429
429
|
"updatePhaseStarting": "正在启动本地服务…",
|
|
430
430
|
"shellCache": {
|
|
431
|
-
"title": "
|
|
432
|
-
"description": "
|
|
431
|
+
"title": "应用临时文件",
|
|
432
|
+
"description": "应用运行时在设备上自动保存的临时文件,例如界面用到的图片和代码,以及已下载的更新包。清除后应用会自动重新获取所需文件;登录状态、界面外观和离线数据不受影响。已下载、等待安装的更新包会保留。",
|
|
433
433
|
"currentSize": "{{size}}",
|
|
434
434
|
"unavailable": "无法获取",
|
|
435
|
-
"clear": "
|
|
435
|
+
"clear": "清除临时文件",
|
|
436
436
|
"clearing": "正在清除…",
|
|
437
|
-
"confirmTitle": "
|
|
438
|
-
"confirmDescription": "
|
|
439
|
-
"toastCleared": "
|
|
440
|
-
"clearFailed": "
|
|
437
|
+
"confirmTitle": "清除应用临时文件?",
|
|
438
|
+
"confirmDescription": "应用会在下次使用时自动重新获取所需文件。登录状态、界面外观和离线数据不受影响。已下载、等待安装的更新包会保留。",
|
|
439
|
+
"toastCleared": "应用临时文件已清除,释放 {{bytes}}。",
|
|
440
|
+
"clearFailed": "清除应用临时文件失败。"
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"usage": {
|
|
@@ -480,13 +480,13 @@
|
|
|
480
480
|
"confirmDescription": "这将删除所有系统偏好,包括主题、语言、字体和日期格式。页面将使用默认值重新加载。此操作无法撤销。"
|
|
481
481
|
},
|
|
482
482
|
"systemCache": {
|
|
483
|
-
"title": "
|
|
484
|
-
"description": "
|
|
483
|
+
"title": "浏览器本地数据",
|
|
484
|
+
"description": "应用保存在浏览器中的界面偏好(主题、语言)、离线使用记录和文档草稿。清空后页面会重新加载、界面恢复默认外观;服务器上的资源和收藏不受影响。",
|
|
485
485
|
"clear": "全部清空",
|
|
486
486
|
"clearing": "清空中…",
|
|
487
|
-
"resetting": "
|
|
488
|
-
"confirmTitle": "
|
|
489
|
-
"confirmDescription": "
|
|
487
|
+
"resetting": "浏览器本地数据已清空,正在重新加载…",
|
|
488
|
+
"confirmTitle": "清空浏览器本地数据?",
|
|
489
|
+
"confirmDescription": "这将删除应用保存在浏览器中的全部数据,包括主题与语言等界面偏好、离线使用记录和文档草稿,然后重新加载页面、恢复默认外观。服务器上的资源和收藏不受影响。此操作无法撤销。"
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
"plugin": {
|
|
@@ -614,6 +614,7 @@
|
|
|
614
614
|
"notInstalled": "未安装",
|
|
615
615
|
"reportIssue": "报告问题",
|
|
616
616
|
"reportSecurity": "报告安全漏洞",
|
|
617
|
+
"requestFeature": "申请新功能",
|
|
617
618
|
"intro": "介绍",
|
|
618
619
|
"languages": "语言",
|
|
619
620
|
"noIntro": "该版本未随发布提供介绍",
|
|
@@ -1920,6 +1921,18 @@
|
|
|
1920
1921
|
}
|
|
1921
1922
|
},
|
|
1922
1923
|
"tags": {
|
|
1924
|
+
"edit": {
|
|
1925
|
+
"linkLabel": "网页链接",
|
|
1926
|
+
"linkPlaceholder": "https://…",
|
|
1927
|
+
"linkHint": "标签对应权威页面的可选链接——在悬停预览中展示。",
|
|
1928
|
+
"uploadImage": "上传图片…",
|
|
1929
|
+
"editImage": "编辑图片…",
|
|
1930
|
+
"imageDialogTitle": "标签图片"
|
|
1931
|
+
},
|
|
1932
|
+
"card": {
|
|
1933
|
+
"openLink": "打开链接",
|
|
1934
|
+
"aria": "标签预览:{{name}}"
|
|
1935
|
+
},
|
|
1923
1936
|
"picker": {
|
|
1924
1937
|
"noCategories": "暂无分类。",
|
|
1925
1938
|
"selectedHeader": "选中:",
|
package/src/core.ts
CHANGED
|
@@ -23,6 +23,20 @@ export function isSupportedLanguage(value: string): value is SupportedLanguage {
|
|
|
23
23
|
return (SUPPORTED_LANGUAGES as readonly string[]).includes(value)
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Catalog key for each supported language's display name in its own
|
|
28
|
+
* script (`language.english` → "English", `language.chinese` → "中文", …).
|
|
29
|
+
* The `language.*` catalog keys are named (not BCP-47 codes), so build the
|
|
30
|
+
* `t()` key through this map rather than interpolating the code.
|
|
31
|
+
*/
|
|
32
|
+
export const LANGUAGE_LABEL_KEYS = {
|
|
33
|
+
en: "language.english",
|
|
34
|
+
zh: "language.chinese",
|
|
35
|
+
ja: "language.japanese",
|
|
36
|
+
de: "language.german",
|
|
37
|
+
es: "language.spanish",
|
|
38
|
+
} as const satisfies Record<SupportedLanguage, string>
|
|
39
|
+
|
|
26
40
|
/**
|
|
27
41
|
* Map a BCP-47 locale string (e.g. `navigator.language`,
|
|
28
42
|
* `app.getLocale()`, a stored pref) onto the supported set, taking the
|
package/src/index.ts
CHANGED
package/src/workbench/de.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"plugin": "Plugin",
|
|
4
4
|
"reloadAria": "Plugin neu laden",
|
|
5
5
|
"reloadHint": "Neu laden — mit dem aktuellen Build neu einbinden",
|
|
6
|
-
"resource": "Ressource"
|
|
6
|
+
"resource": "Ressource",
|
|
7
|
+
"enterFullscreen": "Vollbild aktivieren",
|
|
8
|
+
"exitFullscreen": "Vollbild beenden"
|
|
7
9
|
},
|
|
8
10
|
"popover": {
|
|
9
11
|
"configure": "Konfigurieren",
|
|
@@ -15,7 +17,7 @@
|
|
|
15
17
|
"sectionIcons": "Symbole",
|
|
16
18
|
"sectionLanguage": "Sprache",
|
|
17
19
|
"sectionFont": "Schriftart",
|
|
18
|
-
"
|
|
20
|
+
"sectionPresentation": "Darstellung",
|
|
19
21
|
"mode": "Modus",
|
|
20
22
|
"palette": "Palette",
|
|
21
23
|
"style": "Stil",
|
|
@@ -23,18 +25,40 @@
|
|
|
23
25
|
"fontFamily": "Schriftfamilie",
|
|
24
26
|
"fontFamilyPlaceholder": "App-Standard (System-Schriftstapel)",
|
|
25
27
|
"fontFamilyHint": "Leer lassen für den App-Standard-System-Schriftstapel.",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
28
|
+
"system": "System",
|
|
29
|
+
"infoTitle": "Plugin-Info",
|
|
30
|
+
"infoAria": "Plugin-Info",
|
|
31
|
+
"infoTooltip": "Details zu Plugin, Ressource und Hooks",
|
|
32
|
+
"infoDescription": "Details zum gemounteten Plugin und zur ausgewählten Ressource.",
|
|
33
|
+
"sectionPlugin": "Plugin",
|
|
34
|
+
"sectionResource": "Ressource",
|
|
35
|
+
"sectionHook": "Hooks",
|
|
36
|
+
"sectionCapabilities": "Funktionen",
|
|
37
|
+
"pluginName": "Name",
|
|
38
|
+
"pluginId": "ID",
|
|
39
|
+
"permissionDownload": "Herunterladen",
|
|
40
|
+
"resourceName": "Name",
|
|
41
|
+
"resourceId": "ID",
|
|
42
|
+
"contentPlugin": "Inhalts-Plugin",
|
|
43
|
+
"hookDetect": "Erkennung",
|
|
44
|
+
"hookFiles": "Dateien",
|
|
45
|
+
"hookCover": "Cover",
|
|
46
|
+
"hookHashes": "Hashes",
|
|
47
|
+
"hookProvided": "bereitgestellt",
|
|
48
|
+
"hookFailed": "fehlgeschlagen",
|
|
49
|
+
"hookOk": "ok",
|
|
50
|
+
"hookMiss": "nicht erkannt",
|
|
51
|
+
"hookMissReasons": "nicht erkannt ({{reasons}})",
|
|
52
|
+
"emptyHookSnapshot": "Kein Hook-Snapshot",
|
|
53
|
+
"capPreview": "Vorschau-Rendering",
|
|
54
|
+
"capFrame": "Frame-Rendering",
|
|
55
|
+
"yes": "Ja",
|
|
56
|
+
"no": "Nein"
|
|
31
57
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"small": "Klein",
|
|
37
|
-
"wide": "Breit"
|
|
58
|
+
"mode": {
|
|
59
|
+
"bare": "Pur",
|
|
60
|
+
"desktop": "Desktop",
|
|
61
|
+
"mobile": "Mobil"
|
|
38
62
|
},
|
|
39
63
|
"app": {
|
|
40
64
|
"loading": "Wird geladen…",
|
package/src/workbench/en.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"plugin": "plugin",
|
|
4
4
|
"reloadAria": "Reload plugin",
|
|
5
5
|
"reloadHint": "Reload — re-mount with the current build",
|
|
6
|
-
"resource": "Resource"
|
|
6
|
+
"resource": "Resource",
|
|
7
|
+
"enterFullscreen": "Enter fullscreen",
|
|
8
|
+
"exitFullscreen": "Exit fullscreen"
|
|
7
9
|
},
|
|
8
10
|
"popover": {
|
|
9
11
|
"configure": "Configure",
|
|
@@ -15,7 +17,7 @@
|
|
|
15
17
|
"sectionIcons": "Icons",
|
|
16
18
|
"sectionLanguage": "Language",
|
|
17
19
|
"sectionFont": "Font",
|
|
18
|
-
"
|
|
20
|
+
"sectionPresentation": "Presentation",
|
|
19
21
|
"mode": "Mode",
|
|
20
22
|
"palette": "Palette",
|
|
21
23
|
"style": "Style",
|
|
@@ -23,18 +25,40 @@
|
|
|
23
25
|
"fontFamily": "Font family",
|
|
24
26
|
"fontFamilyPlaceholder": "App default (system stack)",
|
|
25
27
|
"fontFamilyHint": "Leave empty for the app default system stack.",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
28
|
+
"system": "System",
|
|
29
|
+
"infoTitle": "Plugin info",
|
|
30
|
+
"infoAria": "Plugin info",
|
|
31
|
+
"infoTooltip": "Plugin, resource and hook details",
|
|
32
|
+
"infoDescription": "Details for the mounted plugin and the selected resource.",
|
|
33
|
+
"sectionPlugin": "Plugin",
|
|
34
|
+
"sectionResource": "Resource",
|
|
35
|
+
"sectionHook": "Hooks",
|
|
36
|
+
"sectionCapabilities": "Capabilities",
|
|
37
|
+
"pluginName": "Name",
|
|
38
|
+
"pluginId": "ID",
|
|
39
|
+
"permissionDownload": "Download",
|
|
40
|
+
"resourceName": "Name",
|
|
41
|
+
"resourceId": "ID",
|
|
42
|
+
"contentPlugin": "Content plugin",
|
|
43
|
+
"hookDetect": "Detect",
|
|
44
|
+
"hookFiles": "Files",
|
|
45
|
+
"hookCover": "Cover",
|
|
46
|
+
"hookHashes": "Hashes",
|
|
47
|
+
"hookProvided": "provided",
|
|
48
|
+
"hookFailed": "failed",
|
|
49
|
+
"hookOk": "ok",
|
|
50
|
+
"hookMiss": "miss",
|
|
51
|
+
"hookMissReasons": "miss ({{reasons}})",
|
|
52
|
+
"emptyHookSnapshot": "No hook snapshot",
|
|
53
|
+
"capPreview": "Preview render",
|
|
54
|
+
"capFrame": "Frame render",
|
|
55
|
+
"yes": "Yes",
|
|
56
|
+
"no": "No"
|
|
31
57
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"small": "Small",
|
|
37
|
-
"wide": "Wide"
|
|
58
|
+
"mode": {
|
|
59
|
+
"bare": "Bare",
|
|
60
|
+
"desktop": "Desktop",
|
|
61
|
+
"mobile": "Mobile"
|
|
38
62
|
},
|
|
39
63
|
"app": {
|
|
40
64
|
"loading": "loading…",
|