mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] use ask key for display_text instead and support i18n
This commit is contained in:
parent
b8c5e9f1b6
commit
0a3f12ed58
1 changed files with 1 additions and 1 deletions
|
@ -2204,7 +2204,7 @@ def _parse_action_args_in_yunohost_format(args, action_args, auth=None):
|
|||
|
||||
# do not print for webadmin
|
||||
if arg_type == 'display_text' and msettings.get('interface') != 'api':
|
||||
print(arg["text"])
|
||||
print(_value_for_locale(arg['ask']))
|
||||
continue
|
||||
|
||||
# Attempt to retrieve argument value
|
||||
|
|
Loading…
Add table
Reference in a new issue