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
@@ -499,7 +499,6 @@
|
||||
<data name="Tooltips.Server.Sync.SyncSettings" xml:space="preserve"><value>发送或采用在某一方更改的设置</value></data>
|
||||
<data name="Tooltips.Server.Sync.TakeServer" xml:space="preserve"><value>用服务器副本替换此电脑的设置</value></data>
|
||||
<data name="Tooltips.Server.Sync.Upload" xml:space="preserve"><value>将原始文件和设置复制到服务器({0})</value></data>
|
||||
<data name="Tooltips.Server.Sync.UploadAll" xml:space="preserve"><value>将所有仅在本地的序列发送到服务器({0} 个序列,{1})</value></data>
|
||||
<data name="Tooltips.Server.Sync.UploadAll.NoRight" xml:space="preserve"><value>你的账户无法上传到此服务器</value></data>
|
||||
<data name="Tooltips.Server.Sync.UploadAll.NotConnected" xml:space="preserve"><value>请连接到服务器以上传</value></data>
|
||||
<data name="Tooltips.Server.Sync.UploadAll.Nothing" xml:space="preserve"><value>没有仅在此电脑上的序列</value></data>
|
||||
|
||||
Reference in new issue
Block a user