diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-01-29 20:49:00 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-02-06 10:05:02 +0100 |
commit | 0ecd759d73abaee5c08adbd8ab3db651c2522b14 (patch) | |
tree | 31dcf79cdeff9c040ede502b1d3cefa2769f9cf9 /app/models/project_services | |
parent | 84bda43a3c0ce13a436748d0bc0ea943f6ebccb3 (diff) | |
download | gitlab-ce-0ecd759d73abaee5c08adbd8ab3db651c2522b14.tar.gz |
Replace "cluster" with "Kubernetes cluster"winh-kubernetes-clusters
Diffstat (limited to 'app/models/project_services')
-rw-r--r-- | app/models/project_services/kubernetes_service.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/models/project_services/kubernetes_service.rb b/app/models/project_services/kubernetes_service.rb index e42fd802b92..ad4ad7903ad 100644 --- a/app/models/project_services/kubernetes_service.rb +++ b/app/models/project_services/kubernetes_service.rb @@ -150,9 +150,10 @@ class KubernetesService < DeploymentService end def deprecation_message - content = <<-MESSAGE.strip_heredoc - Kubernetes service integration has been deprecated. #{deprecated_message_content} your clusters using the new <a href=\'#{Gitlab::Routing.url_helpers.project_clusters_path(project)}'/>Clusters</a> page - MESSAGE + content = _("Kubernetes service integration has been deprecated. %{deprecated_message_content} your Kubernetes clusters using the new <a href=\"%{url}\"/>Kubernetes Clusters</a> page") % { + deprecated_message_content: deprecated_message_content, + url: Gitlab::Routing.url_helpers.project_clusters_path(project) + } content.html_safe end @@ -248,9 +249,9 @@ class KubernetesService < DeploymentService def deprecated_message_content if active? - "Your cluster information on this page is still editable, but you are advised to disable and reconfigure" + _("Your Kubernetes cluster information on this page is still editable, but you are advised to disable and reconfigure") else - "Fields on this page are now uneditable, you can configure" + _("Fields on this page are now uneditable, you can configure") end end end |