translations: for .h files to be treated as C++

Otherwise xgettext will recognize them as C files and complain about
the usage of digit separators.
This commit is contained in:
Moritz Bunkus 2019-04-11 09:12:35 +02:00
parent e64d15e663
commit a7f6a21d3c
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -459,7 +459,7 @@ file "po/mkvtoolnix.pot" => $all_sources + $all_headers + $gui_ui_h_files + %w{R
flags = %w{Y NY YT QTR QY QNY QYH}.map { |func| "--flag=#{func}:1:no-c-format --flag=#{func}:1:no-boost-format" }.join(" ")
options = %w{--default-domain=mkvtoolnix --from-code=UTF-8 --sort-output}
options = %w{--default-domain=mkvtoolnix --from-code=UTF-8 --sort-output --language=c++}
options += ["'--msgid-bugs-address=Moritz Bunkus <moritz@bunkus.org>'"]
options += ["'--copyright-holder=Moritz Bunkus <moritz@bunkus.org>'", "--package-name=MKVToolNix", "--package-version=#{c(:PACKAGE_VERSION)}", "--foreign-user"]