fix(i18n): plural forms for every text that counts

Findings, advisor reasons and a few UI texts put a count before a plural noun
without plural forms, so English and Italian read "1 frames are black". Each
such key is now a plural stem (.one/.other) whose count is its first argument;
findings and reasons, which travel as data, resolve through the new Loc.Text,
which picks the form from that argument (a fraction takes "other"), so stored
deep reports and project reasons keep their keys and arguments. Texts with two
or more counts (job log lines, "frames with a capture time: 12 of 300") read as
labels, which agree with no number. A single exposure change gets its own
finding instead of "1 exposure changes, typically 0 frames apart".

The converted and reworded keys leave the 36 other catalogs until they are
translated again; the dead plain Shell.JobBar.Ready goes too. `i18n check` now
fails on an English text that counts a noun without plural forms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-12 10:13:46 +00:00
1 parent f7a7506fe7
commit 579ffd446d
242 files changed
+348 -2036

No files matched your search

-4
View File
@@ -124,11 +124,7 @@
<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.MaintenanceDone" xml:space="preserve"><value>{0} 個過時鎖定、{1} 個暫存檔、壓縮 {2} 個套件、變更 {3} 個重複標記</value></data>
<data name="Archive.Log.Orphans" xml:space="preserve"><value>{0} 張未建立索引的相片,{1} 張遺失的相片</value></data>
<data name="Archive.Log.ScanDone" xml:space="preserve"><value>{0} 個資料夾,已建立索引 {1} 個,已納入 {2} 個,已移除 {3} 個</value></data>
<data name="Archive.Log.SequenceMissing" xml:space="preserve"><value>找不到序列:{0}</value></data>
<data name="Archive.Log.VerifyDone" xml:space="preserve"><value>已檢查 {0} 張相片,{1} 張完好,{2} 張已計算雜湊值,{3} 張有問題</value></data>
<data name="Archive.Maintenance.Backup" xml:space="preserve"><value>備份資料庫</value></data>
<data name="Archive.Maintenance.DryRun" xml:space="preserve"><value>試執行</value></data>
<data name="Archive.Maintenance.Proxies" xml:space="preserve"><value>重建代理檔</value></data>