i18n(sidebar): translate the folder-scan strings

The sidebar's "Scan this folder" entry and its vanished-folder warning were the
last 2 [TODO: Translate] keys, so grep -c "TODO: Translate" locales/*.json is 0
everywhere again.

  scanFolder              zh-CN 扫描此文件夹 · zh-TW 掃描此資料夾 · ja このフォルダをスキャン
                          ko 이 폴더 스캔 · fr Analyser ce dossier · de Diesen Ordner scannen
                          es Escanear esta carpeta · ru Сканировать эту папку · he סרוק תיקייה זו
  scanFolderResult.missing
                          reused verbatim from each locale's existing
                          renameFolderResult.missing / deleteFolderResult.missing — the situation
                          is identical ("the folder vanished before the action ran"), so a third
                          variant of the same sentence would only be a translation drift risk.

The label follows each locale's "Check for updates in this folder" phrasing
(检查此文件夹的更新 → 扫描此文件夹, Vérifier les mises à jour dans ce dossier → Analyser ce
dossier) so the two refresh entries in the same menu read as a pair.
docs/i18n-translation-guidelines.md gains the two rows in "Scoped scan and root
availability" plus the updated status note.

Verified: python scripts/sync_translation_keys.py --dry-run reports no pending
changes, pytest tests/i18n 20 passed, frontend 1495 passed.
This commit is contained in:
Will Miao
2026-10-07 15:26:08 +08:00
parent 12930ce78c
commit 0941f99226
10 changed files with 24 additions and 19 deletions
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "Alle {type}s in diesem Ordner sind aktuell",
"error": "Fehler beim Prüfen des Ordners auf {type}-Updates: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "Diesen Ordner scannen",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "Dieser Ordner existiert nicht mehr auf dem Datenträger. Aktualisieren Sie die Seitenleiste und versuchen Sie es erneut."
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "Todos los {type}s en esta carpeta están actualizados",
"error": "Error al buscar actualizaciones de {type} en la carpeta: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "Escanear esta carpeta",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "Esta carpeta ya no existe en el disco. Actualiza la barra lateral e inténtalo de nuevo."
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "Tous les {type}s dans ce dossier sont à jour",
"error": "Échec de la vérification des mises à jour {type} dans ce dossier : {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "Analyser ce dossier",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "Ce dossier n’existe plus sur le disque. Actualisez la barre latérale et réessayez."
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "כל ה-{type}s בתיקייה זו מעודכנים",
"error": "נכשל בבדיקת עדכוני {type} בתיקייה: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "סרוק תיקייה זו",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "תיקייה זו אינה קיימת עוד בדיסק. רענן את סרגל הצד ונסה שוב."
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "このフォルダのすべての{type}sは最新です",
"error": "フォルダの{type}アップデート確認に失敗しました: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "このフォルダをスキャン",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "このフォルダはディスク上に存在しません。サイドバーを再読み込みしてからもう一度お試しください。"
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "이 폴더의 모든 {type}s가 최신 상태입니다",
"error": "폴더의 {type} 업데이트 확인 실패: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "이 폴더 스캔",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "이 폴더는 디스크에 더 이상 존재하지 않습니다. 사이드바를 새로 고친 후 다시 시도하세요."
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "Все {type}s в этой папке актуальны",
"error": "Не удалось проверить папку на наличие обновлений {type}: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "Сканировать эту папку",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "Эта папка больше не существует на диске. Обновите боковую панель и повторите попытку."
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "此文件夹中的所有{type}都是最新版本",
"error": "检查文件夹{type}更新失败: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "扫描此文件夹",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "该文件夹在磁盘上已不存在,请刷新侧边栏后重试。"
}
},
"statistics": {
+2 -2
View File
@@ -1483,9 +1483,9 @@
"none": "此資料夾中的所有{type}都是最新版本",
"error": "檢查資料夾{type}更新失敗: {message}"
},
"scanFolder": "[TODO: Translate] Scan this folder",
"scanFolder": "掃描此資料夾",
"scanFolderResult": {
"missing": "[TODO: Translate] This folder no longer exists on disk. Refresh the sidebar and try again."
"missing": "該資料夾在磁碟上已不存在,請重新整理側邊欄後再試。"
}
},
"statistics": {