##// END OF EJS Templates
scm: use i18n string at path encoding setting (#2274, #2664, #3462, #5251)....
Toshi MARUYAMA -
r5400:379503b59111
parent child
Show More
@@ -213,7 +213,7 module RepositoriesHelper
213 '<br />Local repository (e.g. /hgrepo, c:\hgrepo)' ) +
213 '<br />Local repository (e.g. /hgrepo, c:\hgrepo)' ) +
214 content_tag('p', form.select(
214 content_tag('p', form.select(
215 :path_encoding, [nil] + Setting::ENCODINGS,
215 :path_encoding, [nil] + Setting::ENCODINGS,
216 :label => 'Path encoding') +
216 :label => l("field_scm_path_encoding")) +
217 '<br />Default: UTF-8')
217 '<br />Default: UTF-8')
218 end
218 end
219
219
@@ -224,7 +224,7 module RepositoriesHelper
224 '<br />Bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
224 '<br />Bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
225 content_tag('p', form.select(
225 content_tag('p', form.select(
226 :path_encoding, [nil] + Setting::ENCODINGS,
226 :path_encoding, [nil] + Setting::ENCODINGS,
227 :label => 'Path encoding') +
227 :label => l("field_scm_path_encoding")) +
228 '<br />Default: UTF-8')
228 '<br />Default: UTF-8')
229 end
229 end
230
230
@@ -240,7 +240,7 module RepositoriesHelper
240 :label => l("field_commit_logs_encoding"), :required => true)) +
240 :label => l("field_commit_logs_encoding"), :required => true)) +
241 content_tag('p', form.select(
241 content_tag('p', form.select(
242 :path_encoding, [nil] + Setting::ENCODINGS,
242 :path_encoding, [nil] + Setting::ENCODINGS,
243 :label => 'Path encoding') +
243 :label => l("field_scm_path_encoding")) +
244 '<br />Default: UTF-8')
244 '<br />Default: UTF-8')
245 end
245 end
246
246
@@ -258,8 +258,8 module RepositoriesHelper
258 :size => 60, :required => true,
258 :size => 60, :required => true,
259 :disabled => (repository && !repository.root_url.blank?))) +
259 :disabled => (repository && !repository.root_url.blank?))) +
260 content_tag('p', form.select(
260 content_tag('p', form.select(
261 :path_encoding, [nil] + Setting::ENCODINGS,
261 :path_encoding, [nil] + Setting::ENCODINGS,
262 :label => 'Path encoding') +
262 :label => l("field_scm_path_encoding")) +
263 '<br />Default: UTF-8')
263 '<br />Default: UTF-8')
264 end
264 end
265 end
265 end
@@ -310,6 +310,7 en:
310 field_issues_visibility: Issues visibility
310 field_issues_visibility: Issues visibility
311 field_is_private: Private
311 field_is_private: Private
312 field_commit_logs_encoding: Commit messages encoding
312 field_commit_logs_encoding: Commit messages encoding
313 field_scm_path_encoding: Path encoding
313
314
314 setting_app_title: Application title
315 setting_app_title: Application title
315 setting_app_subtitle: Application subtitle
316 setting_app_subtitle: Application subtitle
General Comments 0
You need to be logged in to leave comments. Login now