Opened 5 years ago
Closed 4 years ago
#15520 closed bug (fixed)
Context menus are not translated in some applications
Reported by: | bitigchi | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta3 |
Component: | Kits/Interface Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
For instance, in StyledEdit and WebPositive, right-click menus still contain untranslated strings. See screenshot
Attachments (1)
Change History (6)
by , 5 years ago
Attachment: | screenshot4.png added |
---|
comment:1 by , 5 years ago
For WebPositive, this (and a few other things) has to be translated directly in WebKit, for which I did not write the appropriate support code yet. The translations will then be at KapiX 3rd-party translation tool, not in Haiku.
comment:2 by , 5 years ago
That StyledEdit context menu being not translated is a bit odd...
Same goes for Backgrounds etc. where there's a ColorControl.
The strings from the above and more end up at Pootle in the src/kits/interface/xx.catkeys file (e.g. de.catkeys). That file gets correctly exported to trunk, so the bug has to be somewhere else...
Could it be the B_TRANSLATE_MARK thingie e.g. at https://git.haiku-os.org/haiku/tree/src/kits/interface/TextView.cpp#n70 ?
comment:3 by , 5 years ago
Component: | - General → Kits/Interface Kit |
---|
comment:4 by , 5 years ago
No, that is correct, it allows the string to be "collected" for the system catalog, but not translated using the normal B_TRANSLATE, as we need to use the gSystemCatalog here.
This used to work at least for BColorControl, so the gSystemCatalog initialization must be broken in some way.
comment:5 by , 4 years ago
Milestone: | Unscheduled → R1/beta3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
The translations in context menus in StyledEdit and colour controls seem to work fine now. Web+, as PulkoMandy said, has to be fixed in webkit with the translations being managed at Polyglot. Closing ticket.
StyledEdit Context Menu