Skip to content

Commit

Permalink
Merge pull request #8 from NethServer/dev6853
Browse files Browse the repository at this point in the history
Update hostname format validation and add translations for host pattern and host format NethServer/dev#6853
  • Loading branch information
stephdl authored Feb 22, 2024
2 parents 080fe2c + 8124060 commit 560e179
Show file tree
Hide file tree
Showing 3 changed files with 639 additions and 636 deletions.
3 changes: 2 additions & 1 deletion imageroot/actions/configure-module/validate-input.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"host": {
"type": "string",
"description": "Host name for the application, like 'postgresql.domain.org'",
"format": "idn-hostname"
"format": "hostname",
"pattern": "\\."
},
"lets_encrypt": {
"type": "boolean",
Expand Down
4 changes: 3 additions & 1 deletion ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"instance_configuration": "Configure postgresql",
"tcp_port_pgsql": "TCP port for postgresql",
"tcp_port_pgsql_tcp_port_tips": "TCP port restricted to the node localhost",
"domain_already_used_in_traefik": "Domain already used in traefik"
"domain_already_used_in_traefik": "Domain already used in traefik",
"host_pattern": "Must be a valid fully qualified domain name",
"host_format": "Must be a valid fully qualified domain name"
},
"about": {
"title": "About"
Expand Down
Loading

0 comments on commit 560e179

Please sign in to comment.