mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[i18n] Add translations of missing strings in the actions map
This commit is contained in:
parent
be8451e95f
commit
18bbdd9628
3 changed files with 39 additions and 24 deletions
|
@ -249,7 +249,7 @@ domain:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
||||||
- "Must be a valid domain name (e.g. my-domain.org)"
|
- pattern_domain
|
||||||
-m:
|
-m:
|
||||||
full: --main
|
full: --main
|
||||||
help: Is the main domain
|
help: Is the main domain
|
||||||
|
@ -272,7 +272,7 @@ domain:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
||||||
- "Must be a valid domain name (e.g. my-domain.org)"
|
- pattern_domain
|
||||||
|
|
||||||
### domain_info()
|
### domain_info()
|
||||||
# info:
|
# info:
|
||||||
|
@ -305,6 +305,10 @@ app:
|
||||||
-n:
|
-n:
|
||||||
full: --name
|
full: --name
|
||||||
help: Name of the list (default fapp)
|
help: Name of the list (default fapp)
|
||||||
|
extra:
|
||||||
|
pattern:
|
||||||
|
- '^[a-z0-9_]+$'
|
||||||
|
- pattern_listname
|
||||||
|
|
||||||
### app_listlists()
|
### app_listlists()
|
||||||
listlists:
|
listlists:
|
||||||
|
@ -316,14 +320,13 @@ app:
|
||||||
action_help: Remove list from the repositories
|
action_help: Remove list from the repositories
|
||||||
api: DELETE /appslists
|
api: DELETE /appslists
|
||||||
arguments:
|
arguments:
|
||||||
-n:
|
name:
|
||||||
full: --name
|
|
||||||
help: Name of the list to remove
|
help: Name of the list to remove
|
||||||
extra:
|
extra:
|
||||||
ask: "List to remove"
|
ask: ask_list_to_remove
|
||||||
pattern:
|
pattern:
|
||||||
- '^[a-z0-9_]+$'
|
- '^[a-z0-9_]+$'
|
||||||
- "Must be alphanumeric and underscore characters only"
|
- pattern_listname
|
||||||
|
|
||||||
### app_list()
|
### app_list()
|
||||||
list:
|
list:
|
||||||
|
@ -374,8 +377,7 @@ app:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^[a-z0-9_]+$'
|
- '^[a-z0-9_]+$'
|
||||||
- "Must be alphanumeric and underscore characters only"
|
- pattern_username
|
||||||
|
|
||||||
|
|
||||||
### app_install() TODO: Write help
|
### app_install() TODO: Write help
|
||||||
install:
|
install:
|
||||||
|
@ -453,7 +455,7 @@ app:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
|
- '^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
|
||||||
- "Must be a valid port number (i.e. 0-65535)"
|
- pattern_port
|
||||||
|
|
||||||
### app_checkurl()
|
### app_checkurl()
|
||||||
checkurl:
|
checkurl:
|
||||||
|
@ -795,11 +797,8 @@ service:
|
||||||
-n:
|
-n:
|
||||||
full: --number
|
full: --number
|
||||||
help: Number of lines to display
|
help: Number of lines to display
|
||||||
default: "50"
|
default: 50
|
||||||
extra:
|
type: int
|
||||||
pattern:
|
|
||||||
- '^[0-9]+$'
|
|
||||||
- "Must be a valid number"
|
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
|
@ -834,7 +833,7 @@ firewall:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
|
- '^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
|
||||||
- "Must be a valid port number (i.e. 0-65535)"
|
- pattern_port
|
||||||
protocol:
|
protocol:
|
||||||
help: Protocol associated with port
|
help: Protocol associated with port
|
||||||
choices:
|
choices:
|
||||||
|
@ -860,7 +859,7 @@ firewall:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
|
- '^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
|
||||||
- "Must be a valid port number (i.e. 0-65535)"
|
- pattern_port
|
||||||
protocol:
|
protocol:
|
||||||
help: Protocol associated with port
|
help: Protocol associated with port
|
||||||
choices:
|
choices:
|
||||||
|
@ -967,11 +966,13 @@ tools:
|
||||||
-o:
|
-o:
|
||||||
full: --old-password
|
full: --old-password
|
||||||
extra:
|
extra:
|
||||||
password: "Current admin password"
|
password: ask_current_admin_password
|
||||||
|
required: True
|
||||||
-n:
|
-n:
|
||||||
full: --new-password
|
full: --new-password
|
||||||
extra:
|
extra:
|
||||||
password: "New admin password"
|
password: ask_new_admin_password
|
||||||
|
required: True
|
||||||
|
|
||||||
### tools_maindomain()
|
### tools_maindomain()
|
||||||
maindomain:
|
maindomain:
|
||||||
|
@ -985,13 +986,13 @@ tools:
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
||||||
- "Must be a valid domain name (e.g. my-domain.org)"
|
- pattern_domain
|
||||||
-n:
|
-n:
|
||||||
full: --new-domain
|
full: --new-domain
|
||||||
extra:
|
extra:
|
||||||
pattern:
|
pattern:
|
||||||
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
||||||
- "Must be a valid domain name (e.g. my-domain.org)"
|
- pattern_domain
|
||||||
|
|
||||||
### tools_postinstall()
|
### tools_postinstall()
|
||||||
postinstall:
|
postinstall:
|
||||||
|
@ -1008,12 +1009,14 @@ tools:
|
||||||
ask: "Main domain"
|
ask: "Main domain"
|
||||||
pattern:
|
pattern:
|
||||||
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
- '^([a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)(\.[a-zA-Z0-9]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)*(\.[a-zA-Z]{1}([a-zA-Z0-9\-]*[a-zA-Z0-9])*)$'
|
||||||
- "Must be a valid domain name (e.g. my-domain.org)"
|
- pattern_domain
|
||||||
|
required: True
|
||||||
-p:
|
-p:
|
||||||
full: --password
|
full: --password
|
||||||
help: YunoHost admin password
|
help: YunoHost admin password
|
||||||
extra:
|
extra:
|
||||||
password: "New admin password"
|
password: ask_new_admin_password
|
||||||
|
required: True
|
||||||
--dyndns:
|
--dyndns:
|
||||||
help: Subscribe domain to a DynDNS service
|
help: Subscribe domain to a DynDNS service
|
||||||
action: store_true
|
action: store_true
|
||||||
|
|
|
@ -142,9 +142,15 @@
|
||||||
"ask_lastname" : "Last name",
|
"ask_lastname" : "Last name",
|
||||||
"ask_email" : "Email address",
|
"ask_email" : "Email address",
|
||||||
"ask_password" : "Password",
|
"ask_password" : "Password",
|
||||||
|
"ask_current_admin_password" : "Current administration password",
|
||||||
|
"ask_new_admin_password" : "New administration password",
|
||||||
|
"ask_list_to_remove" : "List to remove",
|
||||||
"pattern_username" : "Must be alphanumeric and underscore characters only",
|
"pattern_username" : "Must be alphanumeric and underscore characters only",
|
||||||
"pattern_firstname" : "Must be a valid first name",
|
"pattern_firstname" : "Must be a valid first name",
|
||||||
"pattern_lastname" : "Must be a valid last name",
|
"pattern_lastname" : "Must be a valid last name",
|
||||||
"pattern_email" : "Must be a valid email address (e.g. someone@domain.org)"
|
"pattern_email" : "Must be a valid email address (e.g. someone@domain.org)",
|
||||||
|
"pattern_domain" : "Must be a valid domain name (e.g. my-domain.org)",
|
||||||
|
"pattern_listname" : "Must be alphanumeric and underscore characters only",
|
||||||
|
"pattern_port" : "Must be a valid port number (i.e. 0-65535)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -142,9 +142,15 @@
|
||||||
"ask_lastname" : "Nom",
|
"ask_lastname" : "Nom",
|
||||||
"ask_email" : "Adresse mail",
|
"ask_email" : "Adresse mail",
|
||||||
"ask_password" : "Mot de passe",
|
"ask_password" : "Mot de passe",
|
||||||
|
"ask_current_admin_password" : "Mot de passe d'administration actuel",
|
||||||
|
"ask_new_admin_password" : "Nouveau mot de passe d'administration",
|
||||||
|
"ask_list_to_remove" : "Liste à supprimer",
|
||||||
"pattern_username" : "Doit être composé uniquement de caractères alphanumérique et de tiret bas",
|
"pattern_username" : "Doit être composé uniquement de caractères alphanumérique et de tiret bas",
|
||||||
"pattern_firstname" : "Doit être un prénom valide",
|
"pattern_firstname" : "Doit être un prénom valide",
|
||||||
"pattern_lastname" : "Doit être un nom valide",
|
"pattern_lastname" : "Doit être un nom valide",
|
||||||
"pattern_email" : "Doit être une adresse mail valide (ex. : someone@domain.org)"
|
"pattern_email" : "Doit être une adresse mail valide (ex. : someone@domain.org)",
|
||||||
|
"pattern_domain" : "Doit être un nom de domaine valide (ex : mon-domaine.org)",
|
||||||
|
"pattern_listname" : "Doit être composé uniquement de caractères alphanumérique et de tiret bas",
|
||||||
|
"pattern_port" : "Doit être un numéro de port valide (0-65535)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue