Opened 14 years ago

Closed 14 years ago

Last modified 14 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:
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 by diver, 14 years ago

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 14 years ago by diver (previous) (diff)

in reply to:  1 comment:2 by citi324, 14 years ago

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 by mmadia, 14 years ago

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 by citi324, 14 years ago

Thank you mmadia. I will try this.

in reply to:  description comment:5 by taos, 14 years ago

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 by diver, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev38691

comment:7 by diver, 14 years ago

Actually, this was fixed on the HTA side.

Note: See TracTickets for help on using tickets.