Opened 7 years ago

Last modified 3 years ago

#9587 new enhancement

[PATCH] Localizing libprint.a

Reported by: mt Owned by: phoudoin
Priority: normal Milestone: R1
Component: Drivers/Printers Version: R1/Development
Keywords: Localization Cc: zooey, bug5lay4r@…
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

Hi, I tried to localize libprint.a, but my patch forces to translate same strings (over 80 strings !) for each drivers. any idea for translating static library?

Attachments (2)

0001-Localizing-libprint.a.patch (36.5 KB ) - added by mt 7 years ago.
en.catkeys.txt (3.4 KB ) - added by mt 7 years ago.
Sample en.catkeys

Download all attachments as: .zip

Change History (6)

comment:1 by mt, 7 years ago

Has a Patch: set

by mt, 7 years ago

Attachment: en.catkeys.txt added

Sample en.catkeys

comment:2 by anevilyak, 7 years ago

Cc: zooey added

comment:3 by zzzzz, 7 years ago

Cc: bug5lay4r@… added

comment:4 by pulkomandy, 3 years ago

We could make it so the drivers load the string from a shared catalog by loading it manually (skipping the B_TRANSLATE macros and using BCatalog API directly). Do we want to do that, however? The point of the static library is that it is bundled inside the driver, so it is independant. If the catalog is shared, then this feature (self contained driver) is lost because it needs to be used with the right version of the shared catalog.

Unfortunately the patch does not apply cleanly anymore.

Note: See TracTickets for help on using tickets.