]> git.sesse.net Git - vlc/commitdiff
Allow to pass comments to translators
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 18 Apr 2009 00:30:57 +0000 (01:30 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 18 Apr 2009 00:42:49 +0000 (01:42 +0100)
Comment blocks starting by 'xgettext:' will find there way to vlc.pot and
the .po. You can use it to pass instructions or context to the translators

po/Makevars

index 1dbb57e36cb085584bc05f951c5f9c1d6a152168..3c558e9f5143beb035044178e0855360332329cf 100644 (file)
@@ -10,7 +10,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --directory=.. --keyword=_ --keyword=N_ --keyword=_NS --keyword=_ANS --keyword=qtr --keyword=Q_ --language=C++
+XGETTEXT_OPTIONS = --directory=.. --keyword=_ --keyword=N_ --keyword=_NS --keyword=_ANS --keyword=qtr --keyword=Q_ --language=C++ --add-comments=xgettext:
 
 # This is the copyright holder that gets inserted into the header of the
 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding