Re: Merging translations to a newly created repository



On Fri, 2011-05-06 at 05:18 -0600, Vibha Yadav wrote:
> I am contributing for evolution* packages. Recently we have splitted up
> the code for groupwise connector from evolution-data-server and
> evolution to new repository namely evolution-groupwise. 
> 
> I just wanted to inquire on how can we merge up the translations from
> eds/evo to evolution-groupwise package.

For some ideas, see
http://mail.gnome.org/archives/gnome-i18n/2009-August/msg00150.html
http://mail.gnome.org/archives/gnome-i18n/2010-August/msg00043.html

Basically when having recent git master checkouts of evolution,
evolution-data-server and evolution-groupwise available
in /home/foo/gnome-checkout/ :
$> cd /home/foo/gnome-checkout/evolution-groupwise/po/
$> intltool-update -pot
and then for each translation file ("cs" in this example):
$> touch cs.po
$> msgmerge -U cs.po evolution-groupwise.pot -C ../../evolution/po/cs.po
$> msgmerge -U cs.po evolution-groupwise.pot -C ../../evolution-data-server/po/cs.po
$> git add cs.po
$> git commit -m "Add initial cs translation (merged from evolution and evolution-data-server)" cs.po
$> git push

Replacing cs by a variable and adding a loop around (based on files in
gnome-checkout/evolution/po/) shouldn't be too hard, but I'm lazy. :)

andre
-- 
mailto:ak-47 gmx net | failed
http://blogs.gnome.org/aklapper | http://www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]