summaryrefslogtreecommitdiff
path: root/lib/gitlab/setup_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/setup_helper.rb')
-rw-r--r--lib/gitlab/setup_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/setup_helper.rb b/lib/gitlab/setup_helper.rb
index 2b7e12639be..1109c5dcd63 100644
--- a/lib/gitlab/setup_helper.rb
+++ b/lib/gitlab/setup_helper.rb
@@ -20,10 +20,10 @@ module Gitlab
Gitlab.config.repositories.storages.each do |key, val|
if address
if address != val['gitaly_address']
- raise ArgumentError, "Your gitlab.yml contains more than one gitaly_address."
+ raise ArgumentError, _("Your gitlab.yml contains more than one gitaly_address.")
end
elsif URI(val['gitaly_address']).scheme != 'unix'
- raise ArgumentError, "Automatic config.toml generation only supports 'unix:' addresses."
+ raise ArgumentError, _("Automatic config.toml generation only supports 'unix:' addresses.")
else
address = val['gitaly_address']
end
@@ -57,7 +57,7 @@ module Gitlab
end
rescue Errno::EEXIST
puts "Skipping config.toml generation:"
- puts "A configuration file already exists."
+ puts _("A configuration file already exists.")
rescue ArgumentError => e
puts "Skipping config.toml generation:"
puts e.message