We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30309ab commit 41eb179Copy full SHA for 41eb179
app/models/repository_git_extra.rb
@@ -2,11 +2,12 @@
2
3
class RepositoryGitExtra < RedmineGitHosting.old_redmine? ? ActiveRecord::Base : ApplicationRecord
4
include Redmine::SafeAttributes
5
+ include Redmine::I18n
6
- SMART_HTTP_OPTIONS = [[I18n.t(:label_disabled), '0'],
7
- [I18n.t(:label_http_only), '3'],
8
- [I18n.t(:label_https_only), '1'],
9
- [I18n.t(:label_https_and_http), '2']].freeze
+ SMART_HTTP_OPTIONS = [[l(:label_disabled), '0'],
+ [l(:label_http_only), '3'],
+ [l(:label_https_only), '1'],
10
+ [l(:label_https_and_http), '2']].freeze
11
12
ALLOWED_URLS = %w[ssh http https go git git_annex].freeze
13
0 commit comments