Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#6742 closed bug (fixed)

Catkey strings for the Tracker Kit in HTA have the wrong context

Reported by: citi324 Owned by: VinDuv
Priority: normal Milestone: R1
Component: Website/Userguide Translator Version:
Keywords: HTA, i18n Cc: tdreed@…, rq@…
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Many of the catkey strings for the Tracker Kit in HTA have the wrong context. Specifically...

http://hta.polytect.org/catalogs/view/75/ja

...shows all strings under libtracker, when in reality numerous strings belong to several different contexts as can be seen, for example, from the changes made in hrev38691.

The context needs to be corrected in HTA, so that the catkeys generated by this system can work (interestingly, the Tracker catkeys for Russian committed in hrev38809 have the correct context).

Change History (7)

comment:1 Changed 9 years ago by diver

Many of the catkey strings for the Tracker Kit in HTA have the wrong context.

It's one of several bugs in HTA.

The context needs to be corrected in HTA, so that the catkeys generated by this system can work (interestingly, the Tracker catkeys for Russian committed in hrev38809 have the correct context).

That's because context for Russian tracker catkeys were corrected manually.

Last edited 9 years ago by diver (previous) (diff)

comment:2 in reply to:  1 Changed 9 years ago by citi324

Replying to diver:

Many of the catkey strings for the Tracker Kit in HTA have the wrong context.

It's one of several bugs in HTA.

Is Tracker the only catalog that has catkeys out of context or is this a pervasive problem in HTA?

The context needs to be corrected in HTA, so that the catkeys generated by this system can work (interestingly, the Tracker catkeys for Russian committed in hrev38809 have the correct context).

That's because context for Russian tracker catkeys were corrected manually.

I see. Should we then avoid HTA for now and translate off-line? If that's the case, is there a way to extract the catkeys with the right context from the source code?

Thanks!

comment:3 Changed 9 years ago by mmadia

Cc: tdreed@… rq@… added

As of hrev39130, there's (3) new targets which relate to localization:

  • LocalizedTargets -- all applications, libraries, etc. that are localized
  • catkeys -- just the generated en.catkeys, which reside in $(HAIKU_OUTPUT_DIR)/object/catalogs
  • catalogs -- the compiled *.catalog files (and en.catkeys as it's a dependency), which reside in $(HAIKU_OUTPUT_DIR)/object/catalogs

for example jam -q catkeys is what will interest you (and the translation websites).

comment:4 Changed 9 years ago by citi324

Thank you mmadia. I will try this.

comment:5 in reply to:  description Changed 8 years ago by taos

Replying to citi324:

...shows all strings under libtracker

Seems fixed, All strings with context "libtracker" are marked as obsolete in HTA and replaced by strings with different contexts.

comment:6 Changed 8 years ago by diver

Resolution: fixed
Status: newclosed

Fixed in hrev38691

comment:7 Changed 8 years ago by diver

Actually, this was fixed on the HTA side.

Note: See TracTickets for help on using tickets.