Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Function argument name should not be translatable
  • Loading branch information
nyalldawson committed Apr 4, 2016
1 parent ae00eb9 commit 54d093e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/process_function_template.py
Expand Up @@ -86,7 +86,7 @@ def quote(v):

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",
Expand Down

0 comments on commit 54d093e

Please sign in to comment.