Commit Graph

4 Commits

Author SHA1 Message Date
Ali c57de8e6fa Translate UOM Category (az, ru) + fix extras override
Add UOM Category to the translated-doctype pipeline so its values (shown
as the `category` column of UOM Conversion Factor) render in az/ru:
- force translated_doctype=1 on the DocType JSON (update_doctype.py)
- list-view subject formatter (translate_listview_subjects.js + hooks)
- 11 missing category names + override of two upstream mistranslations:
  "Force" (was a verb) and "Area" (was "region") in extras.po (az, ru)

Fix _merge_extras: babel's Catalog.__setitem__ only merges metadata for an
existing key and never overwrites the translation string, so extras could
add new msgids but never correct an existing upstream one. Force the string
so "extras wins on conflict" actually holds (this is what made the "Area"
override take effect).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 10:08:51 +00:00
Ali 78f4b34954 feat(listview): centralize subject translator across translated doctypes
Replace per-doctype scorecard list scripts with one shared
translate_listview_subjects.js covering Activity Type, Market Segment,
Role, Role Profile, UOM, Territory, Price List, and the supplier
scorecards. Add missing az/ru translations for Communication and
Azerbaijan.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 11:46:07 +00:00
Ali 62b4fdbea5 added new translations for fixtures 2026-06-11 10:12:48 +00:00
Ali 7cc48ba534 feat: Initialize App 2025-03-04 17:32:00 +04:00