Commit Graph

38 Commits

Author SHA1 Message Date
John Ralls
fecf9e4e19 Fix platform detection on OSX
'darwin' is returned by sys.platform, not os.name.

svn: r21180
2013-01-20 19:35:35 +00:00
Jérôme Rapinat
d5870ff1f4 new location for tips.xml
svn: r21005
2013-01-05 14:41:54 +00:00
Jérôme Rapinat
c2443c74d4 update and add more comments
svn: r20782
2012-12-13 20:43:32 +00:00
Jérôme Rapinat
01676a58a4 only use one -letter as flag (3 characters) when use choice list; sys.argv[2:] issue
svn: r20748
2012-12-02 17:29:13 +00:00
Jérôme Rapinat
6f6c3845f0 add "all" argument for check and update flag (maintenance and tests)
svn: r20747
2012-12-02 17:22:40 +00:00
Jérôme Rapinat
870f54c733 typo
svn: r20745
2012-12-02 14:09:44 +00:00
Jérôme Rapinat
fbac0193af upgrade deprecated "optparse" module to "argparse" for a python2.7/3.2 support; skip fuzzy by default because it is ignored on .mo generation and not yet reviewed by translators; only check and print a summary
svn: r20742
2012-12-02 13:52:37 +00:00
Jérôme Rapinat
bbcb1dd406 better print statement (if need)
svn: r20718
2012-12-01 10:36:36 +00:00
Jérôme Rapinat
3845dfb304 po files selector for displaying content of translation file
svn: r20717
2012-12-01 10:16:44 +00:00
Jérôme Rapinat
2ca04af319 start to use choice lists (argsparser)
svn: r20716
2012-12-01 10:10:44 +00:00
Jérôme Rapinat
f4abcb7f66 check defaults
svn: r20715
2012-12-01 09:45:14 +00:00
Jérôme Rapinat
9e381f2ad5 start to upgrade deprecated "optparse" module to "argparse" (python 2.7/3.2)
svn: r20713
2012-11-30 20:33:44 +00:00
Jérôme Rapinat
1a7862e848 6096: update POTFILES.in, try to handle entries on python script
svn: r20567
2012-10-16 18:39:40 +00:00
Jérôme Rapinat
1445ea7f0d 6086 6096: add comments about usage
svn: r20560
2012-10-16 08:51:05 +00:00
Jérôme Rapinat
a9bf135c65 6096: check missing references; ignore "python" comments for translation (update_po)
svn: r20534
2012-10-08 09:17:33 +00:00
Jérôme Rapinat
98d91fc626 #6086: do not need work around for some tips anymore
svn: r20532
2012-10-07 16:45:58 +00:00
Jérôme Rapinat
5ac9aaa3f4 get rid of intltool (in progress...)
svn: r20522
2012-10-04 18:35:40 +00:00
Benny Malengier
e97bf17488 update_po: do po correct for glade files
svn: r20511
2012-10-03 15:55:36 +00:00
Benny Malengier
c754eb02f2 remove tmp file used for translation
svn: r20508
2012-10-03 15:38:42 +00:00
Benny Malengier
c87343eb61 update_po: automatically determine py and glade files to translate
svn: r20507
2012-10-03 15:37:44 +00:00
Benny Malengier
54f78b6358 update_po allow comment in the list of files to translate
svn: r20502
2012-10-03 12:33:32 +00:00
Benny Malengier
2411f22310 update_po, correctly see pt_PT type of languages
svn: r20501
2012-10-03 12:23:31 +00:00
Benny Malengier
6fc289a956 Update po generating file, make sure py.in is present
svn: r20500
2012-10-03 12:16:06 +00:00
Jérôme Rapinat
adac46441d try to support python 2.7 for iteration with ElementTree
svn: r20477
2012-10-01 09:51:47 +00:00
Jérôme Rapinat
bc06218642 update alternate script for handling template and translations (from 'src' to 'gramps')
svn: r20476
2012-10-01 09:30:35 +00:00
Jérôme Rapinat
da29ed5238 5621: cleanup
svn: r19170
2012-03-29 09:19:54 +00:00
Jérôme Rapinat
ac5875c38f 5621: alternative to use of 'intltool-extract'
svn: r19168
2012-03-29 06:29:55 +00:00
Jérôme Rapinat
c0acdd678d 5621: add a comment about getiterator if python version > 2.6
svn: r19152
2012-03-25 15:24:14 +00:00
Jérôme Rapinat
1722a36829 5621: minor change
svn: r19104
2012-03-20 11:13:39 +00:00
Jérôme Rapinat
30a25b7b7f 5621: add '--skip-fuzzy' flag with check_po; try to get correct path for win32 (Peter contribution)
svn: r19098
2012-03-19 18:46:50 +00:00
Jérôme Rapinat
8161e7a5ff 5621: wrong name for msgattrib under Windows OS
svn: r19097
2012-03-19 16:08:47 +00:00
Jérôme Rapinat
ab781b635f 5621: quick XML parsing and tool displays more informations
svn: r19093
2012-03-19 16:00:19 +00:00
Jérôme Rapinat
516f94fdd8 5621: os.unlink sounds better than 'rm' command
svn: r19074
2012-03-17 06:00:16 +00:00
Jérôme Rapinat
8ced6ca00a 5621: cleanup on 'update_po.py'
svn: r19072
2012-03-16 18:35:35 +00:00
Jérôme Rapinat
c094b007e0 5621: start an alternative tool for translation stuff
svn: r19067
2012-03-15 17:11:31 +00:00
Jérôme Rapinat
6645dee5dd 5621: improve update_po.py
svn: r19062
2012-03-14 14:10:21 +00:00
Jérôme Rapinat
17b27c8f2d start to test Rob's command for updating without Makefile and specific class for distutils
svn: r19061
2012-03-14 11:28:40 +00:00
Jérôme Rapinat
3de03c51ef 5621: cleanup, add an experimental script for merging translations
svn: r19050
2012-03-12 16:43:12 +00:00