aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/qt.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-11-03 21:40:40 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2020-11-04 17:23:34 +0200
commit478feb39ed1a6458b5ace9ead1e403d6a6025b49 (patch)
tree9a6416cfbe86786dee98752cd03592ae8b7833a9 /mesonbuild/modules/qt.py
parent63814543de6f46fc8aee7d3884a8746c968806ca (diff)
downloadmeson-478feb39ed1a6458b5ace9ead1e403d6a6025b49.zip
meson-478feb39ed1a6458b5ace9ead1e403d6a6025b49.tar.gz
meson-478feb39ed1a6458b5ace9ead1e403d6a6025b49.tar.bz2
qt module: fix error message typo, translation qresource accepts qm not ts
Fixes #7925
Diffstat (limited to 'mesonbuild/modules/qt.py')
-rw-r--r--mesonbuild/modules/qt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py
index 32ff6af..00c7c7a 100644
--- a/mesonbuild/modules/qt.py
+++ b/mesonbuild/modules/qt.py
@@ -236,7 +236,7 @@ class QtBaseModule(ExtensionModule):
if c.endswith('.qm'):
ts_files.append(c.rstrip('.qm')+'.ts')
else:
- raise MesonException('qt.compile_translations: qresource can only contain ts files, found {}'.format(c))
+ raise MesonException('qt.compile_translations: qresource can only contain qm files, found {}'.format(c))
results = self.preprocess(state, [], {'qresources': qresource, 'rcc_extra_arguments': kwargs.get('rcc_extra_arguments', [])})
self._detect_tools(state.environment, kwargs.get('method', 'auto'))
translations = []