Commit Graph

23 Commits

Author SHA1 Message Date
John Ralls
46e9edaf59 [r20933]Bug 6268: Fix check_po for python3
svn: r20940
2013-01-02 17:27:39 +00:00
Jérôme Rapinat
0caf61b805 avoid specific case with decimal comparison
svn: r20882
2012-12-30 15:28:48 +00:00
Jérôme Rapinat
5b8da49bae do not need to check untranslated and fuzzy strings because they have not been reviewed yet; warning this script uses tab for the bloc indentation...
svn: r20804
2012-12-20 17:41:09 +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
8a1995be75 only use one -letter as flag (3 characters) when use choice list; sys.argv[2:] issue
svn: r20749
2012-12-02 17:39:25 +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
Benny Malengier
9b5f320c93 updated check to allow some xml in tips
svn: r14362
2010-02-14 07:54:32 +00:00
Jérôme Rapinat
b3b8237b8a print more text if gettext file does not use last gramps.pot
svn: r12228
2009-03-05 12:20:02 +00:00
Kees Bakker
47be81a5c1 Solved a problem with counting untranslated entries in po.
* po/check_po


svn: r11882
2009-02-06 10:08:24 +00:00
Kees Bakker
6e7e4706b6 First attempt to have plural support. Tested with one input file (nl.po)
and it didn't crash. Ship it.
        * po/check_po


svn: r11878
2009-02-05 21:06:39 +00:00
Kees Bakker
634e9940de Do a bit more error checking for missing quotes at start and end of
line. This change makes it run a lot faster too.


svn: r7684
2006-11-24 19:47:50 +00:00
Kees Bakker
d88c6bf987 Added a new check to find shortcut in translation when there is no
shortcut in the program text.


svn: r7662
2006-11-21 07:17:45 +00:00
Kees Bakker
9a3ef222be Another correction of the options, the default of skip_fuzzy must be
false of course.
Corrected the reported message number, which should now be the same as
the one KBabel uses.


svn: r7660
2006-11-20 20:57:31 +00:00
Kees Bakker
6fb5bf806b Oops. The default of only_summary must be false, of course.
svn: r7651
2006-11-19 19:33:00 +00:00
Kees Bakker
ce4b2d55d8 Added commandline options, use -h to see help text.
Option --skip-fuzzies, skips fuzzies in the detailed reports.
Option --only-summary, skips detailed reports.


svn: r7629
2006-11-15 21:00:24 +00:00
Kees Bakker
8baec444e8 Reorganized all the checks into class objects. This
makes it easier to add new checks. So, a new check was
added to look for %d mismatches.



svn: r7614
2006-11-11 20:03:53 +00:00
Kees Bakker
a8cf335f79 In the reported messages show if they are fuzzy or not.
svn: r7612
2006-11-11 08:24:47 +00:00
Kees Bakker
506df2212c New check added: last character of translation must be somewhat
identical. For example a newline or a period or a space.
Changed to format of the reported lines.


svn: r7595
2006-11-09 10:55:08 +00:00
Kees Bakker
0d321299c9 This is a rewrite of the check_po script.
A few checks have been improved and a new check was added.
The new check is for XML special characters.


svn: r7583
2006-11-08 19:22:08 +00:00
Alex Roitman
6e7ed9f8e5 2006-07-15 Alex Roitman <shura@gramps-project.org>
* check_po: Open correct file.



svn: r7029
2006-07-15 23:53:31 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
ad6d530e4c Updtae
svn: r6149
2006-03-16 18:38:26 +00:00
Alex Roitman
c6ea05e24d * various: intltoolize and gettextize properly.
svn: r6144
2006-03-15 23:58:23 +00:00