##// END OF EJS Templates
scm: use i18n string at path encoding setting note (#2274, #2664, #3462, #5251)....
Toshi MARUYAMA -
r5403:2a2e6d71e38e
parent child
Show More
@@ -213,8 +213,9 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 => l("field_scm_path_encoding")) +
216 :label => l("field_scm_path_encoding")
217 '<br />Default: UTF-8')
217 ) +
218 '<br />' + l("text_scm_path_encoding_note"))
218 end
219 end
219
220
220 def git_field_tags(form, repository)
221 def git_field_tags(form, repository)
@@ -224,8 +225,9 module RepositoriesHelper
224 '<br />Bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
225 '<br />Bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
225 content_tag('p', form.select(
226 content_tag('p', form.select(
226 :path_encoding, [nil] + Setting::ENCODINGS,
227 :path_encoding, [nil] + Setting::ENCODINGS,
227 :label => l("field_scm_path_encoding")) +
228 :label => l("field_scm_path_encoding")
228 '<br />Default: UTF-8')
229 ) +
230 '<br />' + l("text_scm_path_encoding_note"))
229 end
231 end
230
232
231 def cvs_field_tags(form, repository)
233 def cvs_field_tags(form, repository)
@@ -240,8 +242,9 module RepositoriesHelper
240 :label => l("field_commit_logs_encoding"), :required => true)) +
242 :label => l("field_commit_logs_encoding"), :required => true)) +
241 content_tag('p', form.select(
243 content_tag('p', form.select(
242 :path_encoding, [nil] + Setting::ENCODINGS,
244 :path_encoding, [nil] + Setting::ENCODINGS,
243 :label => l("field_scm_path_encoding")) +
245 :label => l("field_scm_path_encoding")
244 '<br />Default: UTF-8')
246 ) +
247 '<br />' + l("text_scm_path_encoding_note"))
245 end
248 end
246
249
247 def bazaar_field_tags(form, repository)
250 def bazaar_field_tags(form, repository)
@@ -259,7 +262,8 module RepositoriesHelper
259 :disabled => (repository && !repository.root_url.blank?))) +
262 :disabled => (repository && !repository.root_url.blank?))) +
260 content_tag('p', form.select(
263 content_tag('p', form.select(
261 :path_encoding, [nil] + Setting::ENCODINGS,
264 :path_encoding, [nil] + Setting::ENCODINGS,
262 :label => l("field_scm_path_encoding")) +
265 :label => l("field_scm_path_encoding")
263 '<br />Default: UTF-8')
266 ) +
267 '<br />' + l("text_scm_path_encoding_note"))
264 end
268 end
265 end
269 end
@@ -936,6 +936,7 en:
936 text_zoom_in: Zoom in
936 text_zoom_in: Zoom in
937 text_zoom_out: Zoom out
937 text_zoom_out: Zoom out
938 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
938 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
939 text_scm_path_encoding_note: "Default: UTF-8"
939
940
940 default_role_manager: Manager
941 default_role_manager: Manager
941 default_role_developer: Developer
942 default_role_developer: Developer
General Comments 0
You need to be logged in to leave comments. Login now