From 54d093ed48be8ecab0d53c4e5c2f8dc9432223d5 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 4 Apr 2016 12:19:27 +1000 Subject: [PATCH] Function argument name should not be translatable --- scripts/process_function_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process_function_template.py b/scripts/process_function_template.py index 32ebbc042b3..92e885dce1c 100644 --- a/scripts/process_function_template.py +++ b/scripts/process_function_template.py @@ -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",