Opened 11 years ago

Last modified 4 years ago

#9587 new enhancement

[PATCH] Localizing libprint.a

Reported by: mt Owned by: phoudoin
Priority: normal Milestone: R1.1
Component: Drivers/Printers Version: R1/Development
Keywords: Localization Cc: zooey, bug5lay4r@…
Blocked By: Blocking:
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 11 years ago.
en.catkeys.txt (3.4 KB ) - added by mt 11 years ago.
Sample en.catkeys

Download all attachments as: .zip

Change History (7)

comment:1 by mt, 11 years ago

patch: 01

by mt, 11 years ago

Attachment: en.catkeys.txt added

Sample en.catkeys

comment:2 by anevilyak, 11 years ago

Cc: zooey added

comment:3 by zzzzz, 11 years ago

Cc: bug5lay4r@… added

comment:4 by pulkomandy, 7 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.

comment:5 by pulkomandy, 4 years ago

Milestone: R1R1.1
Note: See TracTickets for help on using tickets.