mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #697 from YunoHost/manifest_texte_argument
[mod] use ask key for display_text instead and support i18n
This commit is contained in:
commit
1c7aaddbe4
1 changed files with 1 additions and 1 deletions
|
@ -2206,7 +2206,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