mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -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:
|
||||
cpp.write(",\n QString()")
|
||||
|
||||
cpp.write(",\n QStringList()")
|
||||
if 'tags' in v:
|
||||
cpp.write(",\n QStringList()")
|
||||
|
||||
for t in v['tags']:
|
||||
cpp.write("\n << QStringLiteral( \"{0}\" ) << tr( \"{0}\" )".format(t))
|
||||
cpp.write("\n << tr( \"{0}\" )".format(",".join(v['tags'])))
|
||||
|
||||
cpp.write("\n )")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user