]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: use i18n text of repository note in setting.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Apr 2011 09:24:23 +0000 (09:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Apr 2011 09:24:23 +0000 (09:24 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5541 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb
config/locales/en.yml

index 1a824779526f34e4e37af607469689b0fdd28186..793302e251a9170c9af46898b92048cf1b4a8b0b 100644 (file)
@@ -213,7 +213,7 @@ module RepositoriesHelper
                        :size => 60, :required => true,
                        :disabled => (repository && !repository.root_url.blank?)
                          ) +
-                     '<br />Local repository (e.g. /hgrepo, c:\hgrepo)' ) +
+                     '<br />' + l("text_mercurial_repository_note")) +
     content_tag('p', form.select(
                         :path_encoding, [nil] + Setting::ENCODINGS,
                         :label => l("field_scm_path_encoding")
index 69fe30ae6d15641e59a5824dbc0b2aad37521a5a..f441b5bcda69bb655760032f999a51b5118f0c80 100644 (file)
@@ -942,6 +942,7 @@ en:
   text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
   text_scm_path_encoding_note: "Default: UTF-8"
   text_git_repository_note: "Bare and local repository (e.g. /gitrepo, c:\gitrepo)"
+  text_mercurial_repository_note: "Local repository (e.g. /hgrepo, c:\hgrepo)"
 
   default_role_manager: Manager
   default_role_developer: Developer