[Rt-devel] a patch for rt-message-catalog to translate local/ stuff; usage added
Václav Ovsík
vaclav.ovsik at i.cz
Tue Mar 15 19:42:15 EDT 2011
Hi,
I have a wish please. It could be fine to have chance to use
localizations for customizations under local/ directory. That is
extracting strings from local/ tree and updating local/po/XX.po
lexicons. A patch for 3.8-trunk branch is attached. The patch also
solves to not overwrite local translations written into local/po/XX.po
while merging from Rosetta. The patch adds usage subroutine missing in
the rt-message-catalog.
I can do now:
rt2:/opt/RT# ./sbin/rt-message-catalog extract local/po/*.po
Looking at bin/mason_handler.svc
Looking at bin/webmux.pl
Looking at bin/rt-remind
...
Looking at etc/RT_SiteConfig.pm
Looking at etc/schema.mysql-4.1
Looking at etc/acl.Oracle
Looking at etc/schema.Sybase
Looking at etc/RT_Config.pm
Updating cs...
or
rt2:/opt/RT# sbin/rt-message-catalog rosetta /home/zito/migration/translation/ local/po/*.po
/home/zito/migration/translation//rt_rt-cs.po -> local/po/cs.po
Looking at bin/mason_handler.svc
Looking at bin/webmux.pl
Looking at bin/rt-remind
...
Looking at etc/schema.mysql-4.1
Looking at etc/acl.Oracle
Looking at etc/schema.Sybase
Looking at etc/RT_Config.pm
Updating cs...
Can someone review the patch please?
Best Regards
--
Zito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-usage-added-i18n-directory-parametrised.patch
Type: text/x-diff
Size: 4576 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20110316/9af571ca/attachment.patch>
More information about the rt-devel
mailing list