Safihre
dbff981050
Py3: Rework Email notification
Also applied code-formatter on it.
6 years ago
Safihre
0d49dbc6e9
Py3: Remove unicoder-function
6 years ago
Safihre
2c095e97c9
Py3: Encoding-parameter of POpen is not available in Python 3.5
6 years ago
Safihre
60afb7f444
Update copyright year to 2019
6 years ago
Safihre
0ae5c7f8aa
Code improvements
7 years ago
svms
24cef0b5aa
Fix locale compilation in Python 3 ( #1176 )
* fix locale generation for Python 3
* remove unused import
* Fix compilation on Windows
7 years ago
Safihre
2341ea44ec
Py3: Fixes after merge from develop
And set the shebang to Python 3 specifc
7 years ago
Safihre
2cdf284578
Update copyright to 2018
7 years ago
Safihre
c6054e622c
Py3: First 2to3 conversion
8 years ago
Safihre
5b3fd812d8
Don't break MO-creation on missing Email templates
8 years ago
Safihre
b497fe1444
Add Hebrew as language
This is an experiment, since Hebrew is LTR language. But a translator translated almost all the texts, so we want to use his efforts!
8 years ago
Safihre
cbe4840ce2
Update Copyright year to 2017
9 years ago
shypike
4225e1a9eb
make_mo.py now detects warnings about missing arguments in texts.
Program exit code will be 2 when any warning is detected.
9 years ago
shypike
9e46f8adbc
A lot of nonfunctional changes from PyLint advice.
One functional change: failed close file due to missing parenthesis.
9 years ago
Jonathon Saine
565f5fd762
Some pep8 cleanup (whitespace/docstring only), focus on root dir along with scripts/tools/util.
10 years ago
shypike
687ab5d4f5
Update text files and copyright year.
10 years ago
shypike
620e10a69f
Convert to Unicode application.
This breaks compatibility with existing 0.7.x queues.
Polish and Romanian no longer need conversion to latin1.
12 years ago
ShyPike
1545f7a4ef
Handle newline idiosyncrasies of gettext for NSIS template.
13 years ago
ShyPike
2133092402
Add Polish translation (with reduced character set).
13 years ago
ShyPike
04c74be144
Don't patch translations into the NSIS_Installer.nsi file, but create a temporary file to be used by the packager.
13 years ago
ShyPike
3afb1e37cb
Some more fixes for Brazilian Portuguese support.
13 years ago
ShyPike
3667e7e596
Add Portuguese (Brasil) to translations.
13 years ago
ShyPike
595fbc4313
Replace "Spanish Castilian" with "Spanish" in make_mo.py, because NSIS can only handle "Spanish".
13 years ago
shypike
05ab19b5a6
Email notification for failed URL fetches.
13 years ago
ShyPike
bd94148648
Remove all embedded newlines in translated texts that contain HTML elements.
14 years ago
shypike
b362ae3d8a
Don't let make_mo.py depend on having executable .py files on Windows.
14 years ago
shypike
a39cfa485b
Work-around for Python bug when dealing with space in script path on Windows.
14 years ago
shypike
b4ae208943
Support spaces in the current path when running tools/make_mo.py
14 years ago
ShyPike
68c65f8568
Remove debug statement from make_mo.py.
14 years ago
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.
14 years ago
ShyPike
e2b98a1a7c
Update packaging.
15 years ago
ShyPike
4bb4de11b3
Update copyrights to 2011.
15 years ago
ShyPike
735ec3665d
Add msgfmt.py (from Python for Windows distro) to compile i18n files on systems without proper gettext support tools.
15 years ago
ShyPike
e8e35d1d19
For NSIS map languages 'nb' and 'nn' both to 'no', because NSIS only knows 'no'.
15 years ago
ShyPike
24a7f699e5
make_mo.py patched language names in the wrong encoding into NSIS_Installer.nsi.
15 years ago
ShyPike
d0fff37d9d
make_mo.py must create email templates by default.
INSTALL.txt: add instructions about gettext and need to compile translations.
15 years ago
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).
15 years ago
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.
15 years ago
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.
15 years ago
ShyPike
8622469d3a
Fix extract_pot.py and make_mo.py for Unix usage.
Use Tx() in api.py skin_text translator.
Update POT files.
15 years ago
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.
15 years ago