changeset 18539:625b642df80d

Mention new mphelp_check.py script.
author diego
date Wed, 17 May 2006 22:02:26 +0000
parents 739849dfb699
children fb07cde79487
files DOCS/tech/translations.txt
diffstat 1 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/translations.txt	Wed May 17 21:10:11 2006 +0000
+++ b/DOCS/tech/translations.txt	Wed May 17 22:02:26 2006 +0000
@@ -37,15 +37,21 @@
 
 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.
+
+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
 
-  help_diff.sh help_mp-XX.h < help_mp-en.h
+  mphelp_check.py help_mp-en.h help_mp-XX.h
+
+will output errors to the screen, just substitute XX with your language code.
 
-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 -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