Commit Graph

17 Commits

Author SHA1 Message Date
Pavel Sanda
70ab623c6e * postats.py 2024-09-06 23:06:52 +02:00
Pavel Sanda
aaf6e47563 * postats.py description 2024-08-22 23:00:50 +02:00
Pavel Sanda
0dd09c131e * postats.py 2022-11-23 23:29:11 +01:00
Günter Milde
6b88e4bf3b Fix wrong output of po statistics script. 2019-07-15 23:32:22 +02:00
Günter Milde
d3f6ec003d Make po statistics script work with Python 3. 2019-07-15 18:10:01 +02:00
José Matos
3f03f0a447 Move all python shebangs from /usr/bin/env to python3.
The change is only relevant to development as all the call to python scripts is done
calling C++ os::python that invoques the appropriate python version.

The change is two fold, on one hand remove all the uses of /usr/bin/env for python.

On the other hand rename all the calls to python from python to python3 making it explicit
and being compliant with PEP 394 -- The "python" Command on Unix-Like Systems:
https://www.python.org/dev/peps/pep-0394/

Remove the sheebang from src/graphics/GraphicsConverter.cpp because it is not necessary.

Some small whitespace changes.
2018-12-29 19:14:41 +00:00
José Matos
0a03528376 First step to make po python files to support both python 2 and python 3 (3.3+)
Most of the changes are related with dictionaries returning iterators instead of
    lists. (Iterators and not views as I wrote in the previous commit message)

    xrange -> range (since xrange is gone in python 3)
2015-03-11 13:41:10 +00:00
Vincent van Ravesteijn
2db3153417 Port postats.py from branch 2.0.x 2013-05-30 20:10:39 +02:00
Jürgen Spitzmüller
98342571db * postats.py: remove extra blank line at the end of i18n.inc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28954 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:03:28 +00:00
Jürgen Spitzmüller
103e8fdd90 * postats.py: skip en.po, which falls off the stats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-07 10:55:03 +00:00
Pavel Sanda
ad91a16657 This script should be also executable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27289 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 22:38:38 +00:00
José Matox
66a1e2cb3d Make postats.py independent of the environment locale (2nd try)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23080 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-20 16:31:50 +00:00
Jean-Marc Lasgouttes
1dd68530a6 set version automatically when computing po stats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 17:01:08 +00:00
José Matox
4fa8163a2d scramble email addresses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 08:23:39 +00:00
José Matox
d3752672b3 reset the locale
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20970 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 08:57:42 +00:00
José Matox
3fb603e66d no need to escape $ in python :-D
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20415 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 13:52:52 +00:00
José Matox
f99c05426a Convert postats to python
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:37:38 +00:00