Commit Graph
29 Commits
Author SHA1 Message Date
ShyPike 1545f7a4ef Handle newline idiosyncrasies of gettext for NSIS template. 2012-05-17 14:24:59 +02:00
ShyPike 2133092402 Add Polish translation (with reduced character set). 2012-05-14 17:58:08 +02:00
ShyPike 04c74be144 Don't patch translations into the NSIS_Installer.nsi file, but create a temporary file to be used by the packager. 2012-04-30 14:14:20 +02:00
ShyPike 3afb1e37cb Some more fixes for Brazilian Portuguese support. 2012-04-29 14:31:18 +02:00
ShyPike 3667e7e596 Add Portuguese (Brasil) to translations. 2012-04-29 12:04:02 +02:00
ShyPike 595fbc4313 Replace "Spanish Castilian" with "Spanish" in make_mo.py, because NSIS can only handle "Spanish". 2012-04-04 21:02:54 +02:00
ShyPike b9efcaa5a1 Update copyright stuff. 2012-03-26 19:29:29 +02:00
shypike 05ab19b5a6 Email notification for failed URL fetches. 2012-02-25 12:42:27 +01:00
ShyPike bd94148648 Remove all embedded newlines in translated texts that contain HTML elements. 2011-12-31 13:24:21 +01:00
shypike b362ae3d8a Don't let make_mo.py depend on having executable .py files on Windows. 2011-09-13 20:51:31 +02:00
shypike a39cfa485b Work-around for Python bug when dealing with space in script path on Windows. 2011-09-13 20:00:49 +02:00
shypike b4ae208943 Support spaces in the current path when running tools/make_mo.py 2011-09-13 18:56:56 +02:00
ShyPike 6442391589 Output po/nsis/SABnsis.pot in Unix format too. 2011-06-25 09:49:06 +02:00
ShyPike 4025087f89 msgfmt.py : add detection of %s mismatches between original and translated texts.
Print warning and skip text.
2011-06-08 19:55:29 +02:00
ShyPike 68c65f8568 Remove debug statement from make_mo.py. 2011-05-11 23:18:42 +02:00
ShyPike 7381d1a25e Add Romanian translation.
Romanian requires characters outside the Latin-1 set, so some characters will be transposed to characters within Latin-1.
The Romanian PO files are archived as PX file, so that they don't disturb the Launchpad Translation database.
The transposed files are PO files and are not under version control.
Fix missing #encoding header fror some email templates.
2011-05-11 23:16:57 +02:00
ShyPike 2b6411efb0 tools/extract_pot.py should convert NSIS's $\n and $\r to POT's \\n and \\r 2011-03-13 00:50:48 +01:00
ShyPike cd0d486edb Add support for extracting translator instructions info from source files.
These instructions should go into #. records in POT files.
Since Launchpad ignores #. records, add the info to the #: record instead.

Add first batch of translator instructions to various sourcefiles.
2011-02-12 15:17:38 +01:00
ShyPike e2b98a1a7c Update packaging. 2011-01-02 15:13:23 +01:00
ShyPike 4bb4de11b3 Update copyrights to 2011. 2011-01-01 14:33:41 +01:00
ShyPike 735ec3665d Add msgfmt.py (from Python for Windows distro) to compile i18n files on systems without proper gettext support tools. 2010-12-28 21:53:43 +01:00
ShyPike e8e35d1d19 For NSIS map languages 'nb' and 'nn' both to 'no', because NSIS only knows 'no'. 2010-10-09 16:18:46 +02:00
ShyPike 24a7f699e5 make_mo.py patched language names in the wrong encoding into NSIS_Installer.nsi. 2010-10-09 16:11:30 +02:00
ShyPike d0fff37d9d make_mo.py must create email templates by default.
INSTALL.txt: add instructions about gettext and need to compile translations.
2010-09-30 22:04:34 +02:00
ShyPike d769dc3184 Fix generation of source tarbal.
Make sure only tools/make_mo.py is added to source tarbal.
Give make_mo.py an 'all' paramter to generate templates (default just the SABnzbd.mo files).
2010-09-24 19:09:19 +02:00
shypike@sabnzbd.org 5b07f47dfd make_mo.py: stop if msgfmt command is not available.
Set x-bit for tools extract_pot.py and make_mo.py.
2010-09-20 20:49:40 +02:00
ShyPike 68810e7aa7 Add language code to each PO file.
Remove the use of the language marker file.
Use tables to map language codes to readable names.
Fix error in NSIS patcher.
2010-09-12 15:49:32 +02:00
ShyPike 8622469d3a Fix extract_pot.py and make_mo.py for Unix usage.
Use Tx() in api.py skin_text translator.
Update POT files.
2010-09-06 00:07:51 +02:00
ShyPike 9dc50b5c41 Convert to GNU gettext following the Launchpad translation guidelines.
Implements blueprints "go-gettext" and "code-gettext".

Use tools/extract_pot.py to create new POT files.
Use tools/make_mo.py to create MO files, email template translations and patch the NSIS_Installer.nsi script.
2010-09-05 21:35:47 +02:00