X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=po%2FMakevars;h=65d531c56a55230fe977871e87caec683a4feb9a;hb=fe2fb5d35cfb033bbd1b3f2b588de34653677c2c;hp=47814770c0503f0212c2895ee0cdfcd1667f8a4b;hpb=a26f01987fde1cefee77eadeadac89d7ae5f7ccd;p=vlc diff --git a/po/Makevars b/po/Makevars index 47814770c0..65d531c56a 100644 --- a/po/Makevars +++ b/po/Makevars @@ -1,5 +1,7 @@ # Makefile variables for PO directory in any package using GNU gettext. +VPATH += ../modules/gui ../modules/gui/qt4 ../modules/gui/qt4/ui + # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) @@ -8,7 +10,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=_NS --keyword=_ANS --keyword=qtr --language=C++ +XGETTEXT_OPTIONS = --directory=.. --keyword=_ --keyword=N_ --keyword=_NS --keyword=_ANS --keyword=qtr --keyword=Q_ --language=C++ --keyword=vlc_pgettext:1c,2 --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