##// 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 213 '<br />Local repository (e.g. /hgrepo, c:\hgrepo)' ) +
214 214 content_tag('p', form.select(
215 215 :path_encoding, [nil] + Setting::ENCODINGS,
216 :label => l("field_scm_path_encoding")) +
217 '<br />Default: UTF-8')
216 :label => l("field_scm_path_encoding")
217 ) +
218 '<br />' + l("text_scm_path_encoding_note"))
218 219 end
219 220
220 221 def git_field_tags(form, repository)
@@ -224,8 +225,9 module RepositoriesHelper
224 225 '<br />Bare and local repository (e.g. /gitrepo, c:\gitrepo)') +
225 226 content_tag('p', form.select(
226 227 :path_encoding, [nil] + Setting::ENCODINGS,
227 :label => l("field_scm_path_encoding")) +
228 '<br />Default: UTF-8')
228 :label => l("field_scm_path_encoding")
229 ) +
230 '<br />' + l("text_scm_path_encoding_note"))
229 231 end
230 232
231 233 def cvs_field_tags(form, repository)
@@ -239,9 +241,10 module RepositoriesHelper
239 241 :log_encoding, [nil] + Setting::ENCODINGS,
240 242 :label => l("field_commit_logs_encoding"), :required => true)) +
241 243 content_tag('p', form.select(
242 :path_encoding, [nil] + Setting::ENCODINGS,
243 :label => l("field_scm_path_encoding")) +
244 '<br />Default: UTF-8')
244 :path_encoding, [nil] + Setting::ENCODINGS,
245 :label => l("field_scm_path_encoding")
246 ) +
247 '<br />' + l("text_scm_path_encoding_note"))
245 248 end
246 249
247 250 def bazaar_field_tags(form, repository)
@@ -258,8 +261,9 module RepositoriesHelper
258 261 :size => 60, :required => true,
259 262 :disabled => (repository && !repository.root_url.blank?))) +
260 263 content_tag('p', form.select(
261 :path_encoding, [nil] + Setting::ENCODINGS,
262 :label => l("field_scm_path_encoding")) +
263 '<br />Default: UTF-8')
264 :path_encoding, [nil] + Setting::ENCODINGS,
265 :label => l("field_scm_path_encoding")
266 ) +
267 '<br />' + l("text_scm_path_encoding_note"))
264 268 end
265 269 end
@@ -936,7 +936,8 en:
936 936 text_zoom_in: Zoom in
937 937 text_zoom_out: Zoom out
938 938 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
939
939 text_scm_path_encoding_note: "Default: UTF-8"
940
940 941 default_role_manager: Manager
941 942 default_role_developer: Developer
942 943 default_role_reporter: Reporter
General Comments 0
You need to be logged in to leave comments. Login now