diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 71021571c..9f23b7b72 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -213,7 +213,7 @@ module RepositoriesHelper '
Local repository (e.g. /hgrepo, c:\hgrepo)' ) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, - :label => 'Path encoding') + + :label => l("field_scm_path_encoding")) + '
Default: UTF-8') end @@ -224,7 +224,7 @@ module RepositoriesHelper '
Bare and local repository (e.g. /gitrepo, c:\gitrepo)') + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, - :label => 'Path encoding') + + :label => l("field_scm_path_encoding")) + '
Default: UTF-8') end @@ -240,7 +240,7 @@ module RepositoriesHelper :label => l("field_commit_logs_encoding"), :required => true)) + content_tag('p', form.select( :path_encoding, [nil] + Setting::ENCODINGS, - :label => 'Path encoding') + + :label => l("field_scm_path_encoding")) + '
Default: UTF-8') end @@ -258,8 +258,8 @@ module RepositoriesHelper :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?))) + content_tag('p', form.select( - :path_encoding, [nil] + Setting::ENCODINGS, - :label => 'Path encoding') + - '
Default: UTF-8') + :path_encoding, [nil] + Setting::ENCODINGS, + :label => l("field_scm_path_encoding")) + + '
Default: UTF-8') end end diff --git a/config/locales/en.yml b/config/locales/en.yml index 7ea417384..ca5d4800a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -310,6 +310,7 @@ en: field_issues_visibility: Issues visibility field_is_private: Private field_commit_logs_encoding: Commit messages encoding + field_scm_path_encoding: Path encoding setting_app_title: Application title setting_app_subtitle: Application subtitle