Function argument name should not be translatable

This commit is contained in:
Nyall Dawson 2016-04-04 12:19:27 +10:00
parent ae00eb965c
commit 54d093ed48

View File

@ -86,7 +86,7 @@ for f in sorted(glob.glob('resources/function_help/json/*')):
if 'arguments' in v:
for a in v['arguments']:
cpp.write("\n << HelpArg( tr( \"{0}\" ), tr( \"{1}\" ), {2}, {3} )".format(
cpp.write("\n << HelpArg( \"{0}\", tr( \"{1}\" ), {2}, {3} )".format(
a['arg'],
a.get('description', ''),
"true" if a.get('descOnly', False) else "false",