mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Do not split expression functions tags list into single words for translation
Fixes #47486
This commit is contained in:
parent
7119976ece
commit
a3a0ebf07e
@ -117,11 +117,9 @@ for f in sorted(glob.glob('resources/function_help/json/*')):
|
|||||||
else:
|
else:
|
||||||
cpp.write(",\n QString()")
|
cpp.write(",\n QString()")
|
||||||
|
|
||||||
|
cpp.write(",\n QStringList()")
|
||||||
if 'tags' in v:
|
if 'tags' in v:
|
||||||
cpp.write(",\n QStringList()")
|
cpp.write("\n << tr( \"{0}\" )".format(",".join(v['tags'])))
|
||||||
|
|
||||||
for t in v['tags']:
|
|
||||||
cpp.write("\n << QStringLiteral( \"{0}\" ) << tr( \"{0}\" )".format(t))
|
|
||||||
|
|
||||||
cpp.write("\n )")
|
cpp.write("\n )")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user