mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #273 from YunoHost/allow_underscore_backup
Allow underscore in backup name
This commit is contained in:
commit
11bcdabbc0
2 changed files with 2 additions and 2 deletions
|
@ -678,7 +678,7 @@ backup:
|
|||
help: Name of the backup archive
|
||||
extra:
|
||||
pattern: &pattern_backup_archive_name
|
||||
- !!str ^[\w\-\.]{1,30}(?<!\.)$
|
||||
- !!str ^[\w\-\._]{1,30}(?<!\.)$
|
||||
- "pattern_backup_archive_name"
|
||||
-d:
|
||||
full: --description
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
"packages_upgrade_critical_later": "Critical packages ({packages:s}) will be upgraded later",
|
||||
"packages_upgrade_failed": "Unable to upgrade all of the packages",
|
||||
"path_removal_failed": "Unable to remove path {:s}",
|
||||
"pattern_backup_archive_name": "Must be a valid filename with alphanumeric and -_. characters only",
|
||||
"pattern_backup_archive_name": "Must be a valid filename with max 30 characters, and alphanumeric and -_. characters only",
|
||||
"pattern_domain": "Must be a valid domain name (e.g. my-domain.org)",
|
||||
"pattern_email": "Must be a valid email address (e.g. someone@domain.org)",
|
||||
"pattern_firstname": "Must be a valid first name",
|
||||
|
|
Loading…
Add table
Reference in a new issue