i18n: translate huggingfaceApiKey settings strings in all locales

Fill the six settings.huggingfaceApiKey* placeholders left by the HF
access-token feature in all 9 locales, reusing each locale's existing
civitaiApiKey* status renderings; document the new terminology
(access token, gated repository) in the translation guidelines.
This commit is contained in:
Will Miao
2026-09-25 18:46:31 +08:00
parent 8b7ba59263
commit c4676183b5
10 changed files with 68 additions and 54 deletions
+14
View File
@@ -365,6 +365,20 @@ in `en`, not "Enrich HF Metadata": they cover ModelScope as well, so no locale m
an `HF` qualifier in `loras.contextMenu.enrichHfAgent` / `loras.bulkOperations.enrichHfAgent` an `HF` qualifier in `loras.contextMenu.enrichHfAgent` / `loras.bulkOperations.enrichHfAgent`
(the key names keep the historical `Hf`; only the values changed). (the key names keep the historical `Hf`; only the values changed).
The gated/private-repository download support added `settings.huggingfaceApiKey*` (label,
placeholder, help, and the three status strings). "Access token" renderings, and the status
strings reuse each locale's existing `civitaiApiKey*` forms ("Configured" / "Not configured" /
"Set up") verbatim:
| Term | Rendering |
|---|---|
| access token | zh-CN 访问令牌 · zh-TW 存取權杖 · ja アクセストークン · ko 액세스 토큰 · fr jeton d'accès · de Access Token (Latin, like `CivitAI API Key`) · es token de acceso · ru токен доступа · he אסימון גישה |
| gated repository | zh-CN 受限(gated)仓库 · zh-TW 受限(gated)倉庫 · ja ゲート付きリポジトリ · ko 게이트가 설정된 저장소 · fr dépôt restreint (gated) · de gated Repository (loanword) · es repositorio restringido (gated) · ru закрытый (gated) репозиторий · he מאגר מוגבל (gated) |
The help text tells the user to create a **read-only** token at
`huggingface.co/settings/tokens` and to accept the repository's terms on its page first —
keep both clauses: a token alone does not unlock a gated repository.
### Folder sidebar feature (create / rename / delete folders, empty folders, view options) ### Folder sidebar feature (create / rename / delete folders, empty folders, view options)
The model-root sidebar manages on-disk folders. "Folder" reuses the noun already fixed in §2 The model-root sidebar manages on-disk folders. "Folder" reuses the noun already fixed in §2
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "Konfiguriert", "civitaiApiKeyConfigured": "Konfiguriert",
"civitaiApiKeyNotConfigured": "Nicht konfiguriert", "civitaiApiKeyNotConfigured": "Nicht konfiguriert",
"civitaiApiKeySet": "Einrichten", "civitaiApiKeySet": "Einrichten",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Hugging Face Access Token",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "Geben Sie Ihren Hugging Face Access Token ein",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "Erforderlich für Downloads aus gated oder privaten Hugging Face Repositories. Erstellen Sie ein Read-only-Token unter huggingface.co/settings/tokens und akzeptieren Sie zuerst die Nutzungsbedingungen des Repositories auf dessen Seite.",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "Konfiguriert",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "Nicht konfiguriert",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "Einrichten",
"civitaiHost": { "civitaiHost": {
"label": "CivitAI-Host", "label": "CivitAI-Host",
"help": "Wählen Sie aus, welche CivitAI-Seite geöffnet wird, wenn Sie „View on CivitAI“-Links verwenden.", "help": "Wählen Sie aus, welche CivitAI-Seite geöffnet wird, wenn Sie „View on CivitAI“-Links verwenden.",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "Configurado", "civitaiApiKeyConfigured": "Configurado",
"civitaiApiKeyNotConfigured": "No configurado", "civitaiApiKeyNotConfigured": "No configurado",
"civitaiApiKeySet": "Configurar", "civitaiApiKeySet": "Configurar",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Token de acceso de Hugging Face",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "Introduce tu token de acceso de Hugging Face",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "Necesario para descargar de repositorios de Hugging Face restringidos (gated) o privados. Crea un token de solo lectura en huggingface.co/settings/tokens y acepta primero los términos del repositorio en su página.",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "Configurado",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "No configurado",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "Configurar",
"civitaiHost": { "civitaiHost": {
"label": "Host de CivitAI", "label": "Host de CivitAI",
"help": "Elige qué sitio de CivitAI se abre al usar los enlaces de \"View on CivitAI\".", "help": "Elige qué sitio de CivitAI se abre al usar los enlaces de \"View on CivitAI\".",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "Configuré", "civitaiApiKeyConfigured": "Configuré",
"civitaiApiKeyNotConfigured": "Non configuré", "civitaiApiKeyNotConfigured": "Non configuré",
"civitaiApiKeySet": "Configurer", "civitaiApiKeySet": "Configurer",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Jeton d'accès Hugging Face",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "Entrez votre jeton d'accès Hugging Face",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "Nécessaire pour télécharger depuis des dépôts Hugging Face restreints (gated) ou privés. Créez un jeton en lecture seule sur huggingface.co/settings/tokens, puis acceptez d'abord les conditions du dépôt sur sa page.",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "Configuré",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "Non configuré",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "Configurer",
"civitaiHost": { "civitaiHost": {
"label": "Hôte CivitAI", "label": "Hôte CivitAI",
"help": "Choisissez quel site CivitAI s'ouvre lorsque vous utilisez les liens « View on CivitAI ».", "help": "Choisissez quel site CivitAI s'ouvre lorsque vous utilisez les liens « View on CivitAI ».",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "מוגדר", "civitaiApiKeyConfigured": "מוגדר",
"civitaiApiKeyNotConfigured": "לא מוגדר", "civitaiApiKeyNotConfigured": "לא מוגדר",
"civitaiApiKeySet": "הגדר", "civitaiApiKeySet": "הגדר",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "אסימון גישה של Hugging Face",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "הזן את אסימון הגישה שלך מ-Hugging Face",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "נדרש להורדה ממאגרי Hugging Face מוגבלים (gated) או פרטיים. צור אסימון לקריאה-בלבד בכתובת huggingface.co/settings/tokens ואשר תחילה את תנאי המאגר בעמוד שלו.",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "מוגדר",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "לא מוגדר",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "הגדר",
"civitaiHost": { "civitaiHost": {
"label": "מארח CivitAI", "label": "מארח CivitAI",
"help": "בחר איזה אתר של CivitAI ייפתח בעת שימוש בקישורי \"View on CivitAI\".", "help": "בחר איזה אתר של CivitAI ייפתח בעת שימוש בקישורי \"View on CivitAI\".",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "設定済み", "civitaiApiKeyConfigured": "設定済み",
"civitaiApiKeyNotConfigured": "未設定", "civitaiApiKeyNotConfigured": "未設定",
"civitaiApiKeySet": "設定", "civitaiApiKeySet": "設定",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Hugging Face アクセストークン",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "Hugging Face アクセストークンを入力してください",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "ゲート付きまたはプライベートな Hugging Face リポジトリからダウンロードする際に必要です。huggingface.co/settings/tokens で読み取り専用トークンを作成し、先にリポジトリのページで利用条件に同意してください。",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "設定済み",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "未設定",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "設定",
"civitaiHost": { "civitaiHost": {
"label": "CivitAI ホスト", "label": "CivitAI ホスト",
"help": "「View on CivitAI」リンクを使うときに開く CivitAI サイトを選択します。", "help": "「View on CivitAI」リンクを使うときに開く CivitAI サイトを選択します。",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "설정됨", "civitaiApiKeyConfigured": "설정됨",
"civitaiApiKeyNotConfigured": "설정되지 않음", "civitaiApiKeyNotConfigured": "설정되지 않음",
"civitaiApiKeySet": "설정", "civitaiApiKeySet": "설정",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Hugging Face 액세스 토큰",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "Hugging Face 액세스 토큰을 입력하세요",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "게이트가 설정된 또는 비공개 Hugging Face 저장소에서 다운로드할 때 필요합니다. huggingface.co/settings/tokens에서 읽기 전용 토큰을 만들고, 먼저 저장소 페이지에서 이용 약관에 동의하세요.",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "설정됨",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "설정되지 않음",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "설정",
"civitaiHost": { "civitaiHost": {
"label": "CivitAI 호스트", "label": "CivitAI 호스트",
"help": "\"View on CivitAI\" 링크를 사용할 때 어떤 CivitAI 사이트를 열지 선택합니다.", "help": "\"View on CivitAI\" 링크를 사용할 때 어떤 CivitAI 사이트를 열지 선택합니다.",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "Настроен", "civitaiApiKeyConfigured": "Настроен",
"civitaiApiKeyNotConfigured": "Не настроен", "civitaiApiKeyNotConfigured": "Не настроен",
"civitaiApiKeySet": "Настроить", "civitaiApiKeySet": "Настроить",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Токен доступа Hugging Face",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "Введите ваш токен доступа Hugging Face",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "Требуется для загрузки из закрытых (gated) или приватных репозиториев Hugging Face. Создайте токен только для чтения на huggingface.co/settings/tokens и сначала примите условия репозитория на его странице.",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "Настроен",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "Не настроен",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "Настроить",
"civitaiHost": { "civitaiHost": {
"label": "Хост CivitAI", "label": "Хост CivitAI",
"help": "Выберите, какой сайт CivitAI будет открываться при использовании ссылок «View on CivitAI».", "help": "Выберите, какой сайт CivitAI будет открываться при использовании ссылок «View on CivitAI».",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "已配置", "civitaiApiKeyConfigured": "已配置",
"civitaiApiKeyNotConfigured": "未配置", "civitaiApiKeyNotConfigured": "未配置",
"civitaiApiKeySet": "设置", "civitaiApiKeySet": "设置",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Hugging Face 访问令牌",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "请输入你的 Hugging Face 访问令牌",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "从受限(gated)或私有 Hugging Face 仓库下载时需要。请在 huggingface.co/settings/tokens 创建只读令牌,并先在该仓库页面同意其条款。",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "已配置",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "未配置",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "设置",
"civitaiHost": { "civitaiHost": {
"label": "CivitAI 站点", "label": "CivitAI 站点",
"help": "选择使用“在 CivitAI 中查看”时默认打开的 CivitAI 站点。", "help": "选择使用“在 CivitAI 中查看”时默认打开的 CivitAI 站点。",
+6 -6
View File
@@ -325,12 +325,12 @@
"civitaiApiKeyConfigured": "已設定", "civitaiApiKeyConfigured": "已設定",
"civitaiApiKeyNotConfigured": "未設定", "civitaiApiKeyNotConfigured": "未設定",
"civitaiApiKeySet": "設定", "civitaiApiKeySet": "設定",
"huggingfaceApiKey": "[TODO: Translate] Hugging Face Access Token", "huggingfaceApiKey": "Hugging Face 存取權杖",
"huggingfaceApiKeyPlaceholder": "[TODO: Translate] Enter your Hugging Face access token", "huggingfaceApiKeyPlaceholder": "請輸入您的 Hugging Face 存取權杖",
"huggingfaceApiKeyHelp": "[TODO: Translate] Required to download from gated or private Hugging Face repositories. Create a read-only token at huggingface.co/settings/tokens, and accept the repository's terms on its page first.", "huggingfaceApiKeyHelp": "從受限(gated)或私有 Hugging Face 倉庫下載時需要。請在 huggingface.co/settings/tokens 建立唯讀權杖,並先在該倉庫頁面同意其條款。",
"huggingfaceApiKeyConfigured": "[TODO: Translate] Configured", "huggingfaceApiKeyConfigured": "已設定",
"huggingfaceApiKeyNotConfigured": "[TODO: Translate] Not configured", "huggingfaceApiKeyNotConfigured": "未設定",
"huggingfaceApiKeySet": "[TODO: Translate] Set up", "huggingfaceApiKeySet": "設定",
"civitaiHost": { "civitaiHost": {
"label": "CivitAI 站點", "label": "CivitAI 站點",
"help": "選擇使用「在 CivitAI 中查看」時預設開啟的 CivitAI 站點。", "help": "選擇使用「在 CivitAI 中查看」時預設開啟的 CivitAI 站點。",