[fix] we need language type in yunohost format

This commit is contained in:
Laurent Peuch 2020-05-02 22:21:39 +02:00
parent 02b80a83dd
commit 86d58e93fd
2 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ accepted_return_codes = [0, 1, 2, 3] # optional otherwise only "0" will be a no
# here, you put a list of arguments exactly like in manifest.toml/json # here, you put a list of arguments exactly like in manifest.toml/json
[first_action.arguments.first_argument] [first_action.arguments.first_argument]
type = "string" type = "string"
ask = "service to restart" ask.en = "service to restart"
example = "nginx" example = "nginx"
... # add more arguments here if needed ... # add more arguments here if needed
@ -85,7 +85,7 @@ command = "systemctl restart some_service"
[another_action.arguments] [another_action.arguments]
[another_action.arguments.argument_one] [another_action.arguments.argument_one]
type = "string" type = "string"
ask = "some stuff" ask.en = "some stuff"
example = "stuff" example = "stuff"
... # add more arguments here if needed ... # add more arguments here if needed

View file

@ -77,7 +77,7 @@ name = "name of the section that will be displayed"
# those arguments are in yunohost argument format like manifest.json # those arguments are in yunohost argument format like manifest.json
[section_id.sub_section_id.option_id] [section_id.sub_section_id.option_id]
ask = "the text displayed for the option" ask.en = "the text displayed for the option"
type = "argument_option" type = "argument_option"
default = true default = true
help = "A public Leed will be accessible for third party apps.<br>By turning on 'anonymous readers' in Leed configuration, you can made your feeds public." help = "A public Leed will be accessible for third party apps.<br>By turning on 'anonymous readers' in Leed configuration, you can made your feeds public."
@ -113,7 +113,7 @@ name = "Leed configuration"
# those arguments are in yunohost argument format # those arguments are in yunohost argument format
[main.is_public.is_public] [main.is_public.is_public]
ask = "Is it a public website ?" ask.en = "Is it a public website ?"
type = "boolean" type = "boolean"
default = true default = true
help = "A public Leed will be accessible for third party apps.<br>By turning on 'anonymous readers' in Leed configuration, you can made your feeds public." help = "A public Leed will be accessible for third party apps.<br>By turning on 'anonymous readers' in Leed configuration, you can made your feeds public."
@ -123,13 +123,13 @@ name = "Leed configuration"
name = "Overwriting config files" name = "Overwriting config files"
[main.overwrite_files.overwrite_nginx] [main.overwrite_files.overwrite_nginx]
ask = "Overwrite the nginx config file ?" ask.en = "Overwrite the nginx config file ?"
type = "boolean" type = "boolean"
default = true default = true
help = "If the file is overwritten, a backup will be created." help = "If the file is overwritten, a backup will be created."
[main.overwrite_files.overwrite_phpfpm] [main.overwrite_files.overwrite_phpfpm]
ask = "Overwrite the php-fpm config file ?" ask.en = "Overwrite the php-fpm config file ?"
type = "boolean" type = "boolean"
default = true default = true
help = "If the file is overwritten, a backup will be created." help = "If the file is overwritten, a backup will be created."