2 ################################ Update ################################
3 wget -O cups.pot http://svn.easysw.com/public/cups/trunk/locale/cups.pot
4 wget -O cups-1.2.x.pot http://svn.easysw.com/public/cups/branches/branch-1.2/locale/cups.pot
6 wget -O cups-1.2.x-zh_TW.po http://svn.easysw.com/public/cups/branches/branch-1.2/locale/cups_zh_TW.po
7 wget -O cups-zh_TW.po http://svn.easysw.com/public/cups/trunk/locale/cups_zh_TW.po
10 ################################ Check ################################
11 msgfmt -c cups-zh_CN.po
12 msgfmt -c cups-1.2.x-zh_CN.po
15 ################################ Format ################################
17 msgmerge --no-wrap -o cups-zh_CN-new.po cups-zh_CN.po cups.pot
18 diff cups-zh_CN.po cups-zh_CN-new.po
19 mv -f cups-zh_CN-new.po cups-zh_CN.po
22 msgmerge --no-wrap -o cups-1.2.x-zh_CN-new.po cups-1.2.x-zh_CN.po cups-1.2.x.pot
23 diff cups-1.2.x-zh_CN.po cups-1.2.x-zh_CN-new.po
24 mv -f cups-1.2.x-zh_CN-new.po cups-1.2.x-zh_CN.po
27 ################################ Merge ################################
28 msgmerge --no-wrap -o cups-1.2.x-zh_CN-new.po cups-zh_CN.po cups-1.2.x-zh_CN.po
29 mv -f cups-1.2.x-zh_CN-new.po cups-1.2.x-zh_CN.po