summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-17 22:02:26 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-17 22:02:26 +0000
commit5b0a4c9e9ffd6b9b8cf33214e197b8fee0ece9c2 (patch)
treeb9ee46e53daa76704daff0da18a8a25f3c148237
parentc9ad9700c373ceee8de52abeaa7719a1e7b1e53e (diff)
downloadmpv-5b0a4c9e9ffd6b9b8cf33214e197b8fee0ece9c2.tar.bz2
mpv-5b0a4c9e9ffd6b9b8cf33214e197b8fee0ece9c2.tar.xz
Mention new mphelp_check.py script.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18540 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/tech/translations.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/DOCS/tech/translations.txt b/DOCS/tech/translations.txt
index e18e82c12d..19552312ea 100644
--- a/DOCS/tech/translations.txt
+++ b/DOCS/tech/translations.txt
@@ -37,15 +37,21 @@ http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/help/
help_mp-en.h is the master file that you should use as a base for translations.
If you are adopting an already existing translation, please check it from top
-to bottom once. Later it should suffice to just translate missing messages. If
-you want to check for untranslated messages the help/help-diff.sh script comes
-in handy:
+to bottom once. Later it should suffice to just translate missing messages.
+Additionally, please make sure that your translated messages fit on an 80
+character wide display to avoid overflowing output.
- help_diff.sh help_mp-XX.h < help_mp-en.h
+TOOLS/mphelp_check.py is a small tool to check translated files. It will report
+conflicting arguments, strings not present in the master file and (optionally)
+strings missing from the translation. Running it as
-will print untranslated messages to the screen, just substitute XX with your
-language code. Additionally, please make sure that your translated messages fit
-on an 80 character wide display to avoid overflowing output.
+ mphelp_check.py help_mp-en.h help_mp-XX.h
+
+will output errors to the screen, just substitute XX with your language code.
+
+ mphelp_check.py -missing help_mp-en.h help_mp-XX.h
+
+will additionally print untranslated messages to the screen.
If you do not translate all messages at once, please do not leave untranslated
messages in your translated file, just leave them out instead. The MPlayer