Kornel Benko
47146ab8a3
Amend 12557b09
: Checking po-files (shortcut handling)
2020-10-24 18:40:15 +02:00
Kornel Benko
12557b094c
Checking po-files (shortcut handling)
...
1.) Allow ' ' as a menu shortcut (corrected for missing/unexpected spaces at message end)
2.) Adapt for utf-8 shortcuts (corrected chacking for missing/unexpected shortcuts)
2020-10-24 14:05:19 +02:00
Kornel Benko
626f607db7
pocheck.pl: In checking for period at end, treat '...' be equivalent to '…'
2017-12-26 10:45:44 +01:00
Kornel Benko
a012e41549
pocheck.pl: checking for shortcuts using '&'
...
'&&' is not a shorcut
2017-12-21 12:01:14 +01:00
Kornel Benko
f8e62a94d9
Make pocheck.pl handle also non-ascii lowercase
...
1.) The command for lowercase (lc) does not make a good job for German, Slovak, etc..
For example lc("BÄR") gives "bÄr".
2.) Don't discard [[...]] when checking for uniform translation
2017-11-07 17:12:03 +01:00
Kornel Benko
f4c3dc6668
Add the perl-mode-line for emacs to perl scripts
2016-12-03 11:39:28 +01:00
Vincent van Ravesteijn
8a0b9b39f4
pocheck: Set the exit value
2013-10-12 02:37:55 +02:00
Kornel Benko
8881a443fb
1.) Typo in checking for spaces <=> menu shortcuts
...
2.) Do not use [[...]] strings in msgid to be checked
2012-07-03 14:36:44 +02:00
Pavel Sanda
fa674176fd
* pocheck.pl, allow synoptical check for critical bugs in translations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38275 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 10:17:51 +00:00
Richard Heck
de5f7dde5b
Add option for ignoring fuzzy translations, per Pavel's request.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38273 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 00:38:55 +00:00
Richard Heck
2fd9eec0da
Slightly better warning reporting.
...
OK, done for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38270 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 23:02:12 +00:00
Richard Heck
c1217970d1
Add option to get just a summary of the errors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38269 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:58:08 +00:00
Richard Heck
4ca1b1b86c
Slight simplification.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38268 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:40:17 +00:00
Richard Heck
98a2a87ae7
More line numbers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38267 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:37:44 +00:00
Richard Heck
ff6680a99d
Add line numbers to error messages.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38266 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:36:30 +00:00
Richard Heck
89bb06a23e
Add option processing to pocheck.pl so that we can selectively check for certain problems, rather than having to sort through everything manually.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38265 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:32:32 +00:00
Richard Heck
c294f1f623
Use strict and warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38264 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:13:48 +00:00
Richard Heck
1856b0a6df
Have pocheck.pl check for missing arguments, like %1$s, etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38263 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 22:11:06 +00:00
Richard Heck
772262ca3d
Clean up and add soem comments to pocheck.pl.
...
It wouldn't be a bad thing to port this to Python....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38262 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 21:48:55 +00:00
Michael Schmitt
66662d3f26
* pocheck.pl: re-introduce check for '|' shortcuts
...
which are not only used by the former xforms frontend
but also in the menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14484 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-18 21:06:47 +00:00
Michael Schmitt
4eccc22119
remove xforms relicts
...
* src/frontends/qt3/QPrefs.C:
* src/frontends/controllers/BCView.tmpl:
* src/support/package.h: fix/remove comment
* po/pocheck.pl: no longer check for xforms shortcuts
* development/Win32/lyx.vcproj: ignore ControlPreamble.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14372 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 09:40:15 +00:00
Michael Schmitt
39fe2ed0c1
Michael Schmitt => Michael Gerz
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10414 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-06 17:20:44 +00:00
Angus Leeming
46ee486bda
Whitespace, only whitespace. Part II.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9138 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 14:35:53 +00:00
Jean-Marc Lasgouttes
1dcf372174
german and pocheck update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 14:16:24 +00:00
Jean-Marc Lasgouttes
be647db7c0
another pocheck update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6871 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 14:30:50 +00:00
Jean-Marc Lasgouttes
8acbaf9565
pocheck update from Michael
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6869 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 14:03:28 +00:00
Jean-Marc Lasgouttes
f791a6c4d1
new pocheck.pl script
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6419 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 12:57:57 +00:00