Changes between Version 9 and Version 10 of Development/Translation


Ignore:
Timestamp:
09/12/2015 10:53:08 AM (7 years ago)
Author:
Cas
Comment:

simpler rename command

Legend:

Unmodified
Added
Removed
Modified
  • Development/Translation

    v9 v10  
    2727 * Upload `deluge.pot` located in `deluge/i18n/` to [https://translations.launchpad.net/deluge/ translation site] 
    2828 * Wait for the translators to translate the text. 
    29  * Download the updated `PO` files for each language from the translation site, extract to `deluge/i18n/` and strip the `deluge-` prefix:    
    30   [[br]]  {{{for i in deluge-*.po; do j=`echo $i | cut -d - -f2`; cp $i $j; rm $i; done}}} 
     29 * Download from the translation site the updated `PO` files, extract to `deluge/i18n/` and strip the `deluge-` prefix: {{{rename -f 's/^deluge-//' deluge-*.po}}} 
    3130 * The binary `MO` files for each language are generated in `setup.py` by using the `msgfmt.py` script. 
    3231