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:
242 files changed
+348
-2036
No files matched your search
@@ -129,11 +129,11 @@
|
||||
<data name="Archive.Log.ImagesDone" xml:space="preserve"><value>{0}: {1} made, {2} reused, {3} unreadable</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.ImportDone" xml:space="preserve"><value>{0} copied, {1} skipped, {2} failed</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.ImportFailed" xml:space="preserve"><value>Not copied: {0} ({1})</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.MaintenanceDone" xml:space="preserve"><value>{0} stale locks, {1} temporary files, {2} packs compacted, {3} duplicate flags changed</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.Orphans" xml:space="preserve"><value>{0} unindexed photos, {1} missing photos</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.ScanDone" xml:space="preserve"><value>{0} folders, {1} indexed, {2} adopted, {3} removed</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.MaintenanceDone" xml:space="preserve"><value>Stale locks: {0}, temporary files: {1}, packs compacted: {2}, duplicate flags changed: {3}</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.Orphans" xml:space="preserve"><value>Unindexed photos: {0}, missing photos: {1}</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.ScanDone" xml:space="preserve"><value>Folders: {0}, indexed: {1}, adopted: {2}, removed: {3}</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.SequenceMissing" xml:space="preserve"><value>Sequence not found: {0}</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.VerifyDone" xml:space="preserve"><value>{0} photos checked, {1} intact, {2} hashed, {3} with problems</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Log.VerifyDone" xml:space="preserve"><value>Photos checked: {0}, intact: {1}, hashed: {2}, with problems: {3}</value><comment>long: job log line</comment></data>
|
||||
<data name="Archive.Maintenance.Backup" xml:space="preserve"><value>Back up database</value></data>
|
||||
<data name="Archive.Maintenance.DryRun" xml:space="preserve"><value>Dry run</value></data>
|
||||
<data name="Archive.Maintenance.Proxies" xml:space="preserve"><value>Rebuild proxies</value></data>
|
||||
|
||||
Reference in new issue
Block a user