fix(i18n): tallies of participles read as labels
Texts that count with participles or adjectives still put a bare number in
front of a word that agrees with it in Italian, so one failure read "1 non
riuscite": the import result and its Done toast, the archive health line and
the thumbnail and import job log lines. They now read as labels in English and
Italian ("Copied: 40 · failed: 1"), like the scan and verify log lines; their
old translations leave the other 36 catalogs until the next translation pass.
The uploader's progress keeps the mockup's English and uses labels in Italian,
and the admin dashboard's upload total no longer agrees with the number.
`i18n check` now also fails on an English text that tallies two or more counts
with participles or adjectives. A single "{0} failed" is left alone, since the
placeholder there is as often a name or a size as a count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
84 files changed
+76
-162
No files matched your search
@@ -93,7 +93,6 @@
|
||||
<data name="Archive.Find.Searching" xml:space="preserve"><value>正在搜尋…</value></data>
|
||||
<data name="Archive.Health.AllVerified" xml:space="preserve"><value>所有序列皆已驗證</value></data>
|
||||
<data name="Archive.Health.AnalysedOk" xml:space="preserve"><value>所有序列皆已分析</value></data>
|
||||
<data name="Archive.Health.Damaged" xml:space="preserve"><value>遺失 {0} 個 · 損毀 {1} 個</value></data>
|
||||
<data name="Archive.Health.DuplicateGroups.one" xml:space="preserve"><value>{0:N0} 個重複群組</value></data>
|
||||
<data name="Archive.Health.DuplicateGroups.other" xml:space="preserve"><value>{0:N0} 個重複群組</value></data>
|
||||
<data name="Archive.Health.Duplicates.one" xml:space="preserve"><value>{0:N0} 個重複影格</value></data>
|
||||
@@ -121,8 +120,6 @@
|
||||
<data name="Archive.Log.FrameChanged" xml:space="preserve"><value>已變更:{0}</value></data>
|
||||
<data name="Archive.Log.FrameCorrupt" xml:space="preserve"><value>已損毀:{0}</value></data>
|
||||
<data name="Archive.Log.FrameMissing" xml:space="preserve"><value>遺失:{0}</value></data>
|
||||
<data name="Archive.Log.ImagesDone" xml:space="preserve"><value>{0}:已產生 {1} 個,重複使用 {2} 個,{3} 個無法讀取</value></data>
|
||||
<data name="Archive.Log.ImportDone" xml:space="preserve"><value>已複製 {0} 個,略過 {1} 個,失敗 {2} 個</value></data>
|
||||
<data name="Archive.Log.ImportFailed" xml:space="preserve"><value>未複製:{0}({1})</value></data>
|
||||
<data name="Archive.Log.SequenceMissing" xml:space="preserve"><value>找不到序列:{0}</value></data>
|
||||
<data name="Archive.Maintenance.Backup" xml:space="preserve"><value>備份資料庫</value></data>
|
||||
|
||||
@@ -150,7 +150,6 @@
|
||||
<data name="Import.Result.Library" xml:space="preserve"><value>在圖庫中開啟</value></data>
|
||||
<data name="Import.Result.New" xml:space="preserve"><value>新增匯入</value></data>
|
||||
<data name="Import.Result.NotCommitted" xml:space="preserve"><value>匯入後典藏庫中沒有副本;請參閱工作記錄。</value></data>
|
||||
<data name="Import.Result.Partial" xml:space="preserve"><value>已複製 {0} 個 · 失敗 {1} 個</value></data>
|
||||
<data name="Import.Result.Skipped.one" xml:space="preserve"><value>已略過 {0:N0} 個</value></data>
|
||||
<data name="Import.Result.Skipped.other" xml:space="preserve"><value>已略過 {0:N0} 個</value></data>
|
||||
<data name="Import.Result.Verified.one" xml:space="preserve"><value>已複製並驗證 {0:N0} 個</value></data>
|
||||
|
||||
Reference in new issue
Block a user