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
@@ -4,7 +4,6 @@
|
||||
<resheader name="version"><value>2.0</value></resheader>
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<data name="Errors.Analysis.Failed" xml:space="preserve"><value>วิเคราะห์ {0} จาก {1} ซีเควนซ์ไม่ได้ ดูรายละเอียดในบันทึกงาน</value></data>
|
||||
<data name="Errors.Archive.Open" xml:space="preserve"><value>เปิดคลังภาพไม่ได้</value></data>
|
||||
<data name="Errors.Number.Range" xml:space="preserve"><value>ป้อนจำนวนเต็มตั้งแต่ {0} ถึง {1}</value></data>
|
||||
<data name="Errors.Path.Empty" xml:space="preserve"><value>ป้อนโฟลเดอร์</value></data>
|
||||
@@ -13,7 +12,6 @@
|
||||
<data name="Errors.Path.NoDrive" xml:space="preserve"><value>ไดรฟ์ของโฟลเดอร์นี้ไม่พร้อมใช้งาน</value></data>
|
||||
<data name="Errors.Path.NotAbsolute" xml:space="preserve"><value>ป้อนพาธแบบเต็มที่ขึ้นต้นด้วยไดรฟ์หรือโฟลเดอร์ที่แชร์บนเครือข่าย</value></data>
|
||||
<data name="Errors.Render.Download" xml:space="preserve"><value>ดาวน์โหลด {0} ให้สมบูรณ์ไม่ได้</value></data>
|
||||
<data name="Errors.Render.Failed" xml:space="preserve"><value>การส่งออก {0} จาก {1} รายการล้มเหลว ดูรายละเอียดในบันทึกงาน</value></data>
|
||||
<data name="Errors.Render.NodeBatch" xml:space="preserve"><value>โหนดเรนเดอร์ส่งไฟล์กลับมาหนึ่งไฟล์ต่องาน โปรดส่งพรีเซ็ตแต่ละรายการในชุดเรนเดอร์เป็นงานแยกกัน</value></data>
|
||||
<data name="Errors.Render.NodeSequence" xml:space="preserve"><value>โหนดเรนเดอร์ส่งไฟล์กลับมาหนึ่งไฟล์ต่องาน ลำดับภาพจะเรนเดอร์ในเครื่องที่มีคลังภาพ</value></data>
|
||||
<data name="Errors.Render.Parameters" xml:space="preserve"><value>งานเรนเดอร์ไม่มีการตั้งค่าการส่งออกที่ถูกต้อง</value></data>
|
||||
|
||||
Reference in new issue
Block a user