diff options
author | Enrique Alcantara <ealcantara@gitlab.com> | 2019-04-01 18:40:31 -0400 |
---|---|---|
committer | Enrique Alcantara <ealcantara@gitlab.com> | 2019-04-03 15:23:04 -0400 |
commit | 842203ff3393ec451159c41ac02addac79214da8 (patch) | |
tree | 399e2969df38be446d83013f6ac1674ce803eb3e | |
parent | 0a2edb292bba3efe665efc45cdf03e41c346f938 (diff) | |
download | gitlab-ce-842203ff3393ec451159c41ac02addac79214da8.tar.gz |
Improve API URL validation message
-rw-r--r-- | app/views/clusters/clusters/user/_form.html.haml | 2 | ||||
-rw-r--r-- | locale/gitlab.pot | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/clusters/clusters/user/_form.html.haml b/app/views/clusters/clusters/user/_form.html.haml index bcd7f00bd7c..27b11e8469f 100644 --- a/app/views/clusters/clusters/user/_form.html.haml +++ b/app/views/clusters/clusters/user/_form.html.haml @@ -12,7 +12,7 @@ = field.fields_for :platform_kubernetes, @user_cluster.platform_kubernetes do |platform_kubernetes_field| = platform_kubernetes_field.url_field :api_url, required: true, - title: s_('ClusterIntegration|API URL must use http or https protocol.'), + title: s_('ClusterIntegration|API URL should be a valid http/https url.'), label: s_('ClusterIntegration|API URL'), label_class: 'label-bold' = platform_kubernetes_field.text_area :ca_cert, placeholder: s_('ClusterIntegration|Certificate Authority bundle (PEM format)'), diff --git a/locale/gitlab.pot b/locale/gitlab.pot index aac6a6d22be..48a77b6f257 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -1710,7 +1710,7 @@ msgstr "" msgid "ClusterIntegration|API URL" msgstr "" -msgid "ClusterIntegration|API URL must use http or https protocol." +msgid "ClusterIntegration|API URL should be a valid http/https url." msgstr "" msgid "ClusterIntegration|Add Kubernetes cluster" |