Commit Graph

65 Commits

Author SHA1 Message Date
Safihre
7e5a43e95c Revert "Code-formatting: optimize imports"
This reverts commit db5ff8c7e1.

Does not work on Python 3.4/3.6. Not really sure why, but don't want to investigate right now.
2020-06-14 11:29:54 +02:00
Safihre
db5ff8c7e1 Code-formatting: optimize imports 2020-06-14 10:21:33 +02:00
Safihre
233ab2ee6e Restore Windows Service functionality 2020-05-05 11:14:53 +02:00
Safihre
6d8c264e90 Update copyright year to 2020 2020-04-25 16:30:38 +02:00
Safihre
b0a50a2eac Remove deprecated parameter from gettext 2020-02-28 16:57:26 +01:00
Safihre
441cb042a2 Py3: Restore translating of Windows-installer file 2020-02-21 16:25:31 +01:00
Safihre
a9185b4aee Py3: Add pygettext to repo and basic test of POT extraction
Python is deprecating pygettext.py so we better have our own, just like msgfmt.py
2019-03-06 08:54:22 +01:00
Safihre
20ea1d0284 Py3: Code-format tools-files 2019-02-26 08:29:00 +01:00
Safihre
dbff981050 Py3: Rework Email notification
Also applied code-formatter on it.
2019-02-17 16:09:20 +01:00
Safihre
0d49dbc6e9 Py3: Remove unicoder-function 2019-02-01 20:19:24 +01:00
Safihre
2c095e97c9 Py3: Encoding-parameter of POpen is not available in Python 3.5 2019-01-29 09:26:29 +01:00
Safihre
d7bea6f134 Merge branch 'develop' into py3 2018-12-25 10:54:56 +01:00
Safihre
60afb7f444 Update copyright year to 2019 2018-12-24 11:51:48 +01:00
Safihre
0ae5c7f8aa Code improvements 2018-11-28 09:23:11 +01:00
svms
24cef0b5aa Fix locale compilation in Python 3 (#1176)
* fix locale generation for Python 3

* remove unused import

* Fix compilation on Windows
2018-10-12 21:48:19 +02:00
Safihre
2341ea44ec Py3: Fixes after merge from develop
And set the shebang to Python 3 specifc
2018-10-12 21:05:19 +02:00
Safihre
579e07adc3 Merge branch 'develop' into py3 2018-10-12 10:10:10 +02:00
Safihre
01bd0bdce0 Small cleanup of generated POT file 2018-09-07 10:11:00 +02:00
Safihre
7a7ce47769 Remove redundant parentheses 2018-09-05 11:26:38 +02:00
Safihre
6cf701599c Merge branch 'develop' into py3 2018-05-30 15:07:10 +02:00
Safihre
2cdf284578 Update copyright to 2018 2018-03-15 13:14:08 +01:00
Safihre
c6054e622c Py3: First 2to3 conversion 2017-10-28 14:53:31 +02:00
Safihre
f19b60bd41 Also don't list line numbers for NSIS pot file 2017-06-22 21:46:55 +02:00
Safihre
3f1a5ff5e0 Fix typo in extract_pot.py 2017-06-22 09:32:59 +02:00
Safihre
49cd956d4c Do not list line-number for POT files
To avoid commit-overhead when updating texts
2017-06-21 22:17:49 +02:00
Safihre
5b3fd812d8 Don't break MO-creation on missing Email templates 2017-06-13 14:40:47 +02:00
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!
2017-06-13 11:43:18 +02:00
Safihre
f1b139d55d Make extract_pot also work on Windows 2017-03-07 17:25:03 +01:00
Safihre
cbe4840ce2 Update Copyright year to 2017 2016-12-16 10:30:15 +01:00
shypike
4225e1a9eb make_mo.py now detects warnings about missing arguments in texts.
Program exit code will be 2 when any warning is detected.
2016-08-10 10:30:02 +02:00
shypike
9e46f8adbc A lot of nonfunctional changes from PyLint advice.
One functional change: failed close file due to missing parenthesis.
2016-08-09 22:55:21 +02:00
shypike
e6887e8a0d extract_pot.py: Make NSIS file presence optional. 2016-03-20 18:32:52 +01:00
Jonathon Saine
565f5fd762 Some pep8 cleanup (whitespace/docstring only), focus on root dir along with scripts/tools/util. 2015-09-23 08:47:18 -05:00
shypike
687ab5d4f5 Update text files and copyright year. 2015-04-11 19:16:17 +02:00
shypike
7e5ce06e12 Update language templates. 2013-05-05 12:13:44 +02:00
shypike
620e10a69f Convert to Unicode application.
This breaks compatibility with existing 0.7.x queues.
Polish and Romanian no longer need conversion to latin1.
2013-03-10 23:15:30 +01:00
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