# HG changeset patch # User Ben Finney # Date 2015-04-22 01:55:46 # Node ID 6e1bd83552d8e0a09c2b1c15886a0776fd58d45f # Parent 221d6a002601a22eb49c46db73e3dfe621eb40f6 Refer to “remote repository” and “clone” consistently in templates. Modified by Mads Kiilerich. diff --git a/kallithea/templates/admin/repos/repo_add_base.html b/kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html +++ b/kallithea/templates/admin/repos/repo_add_base.html @@ -14,12 +14,12 @@ ${h.form(url('repos'))}
- +
${h.text('clone_uri',class_="small")} - ${_('Optional URL from which repository should be cloned.')} + ${_('Optional: URL of a remote repository. If set, the repository will be created as a clone from this URL.')}
diff --git a/kallithea/templates/admin/repos/repo_edit_remote.html b/kallithea/templates/admin/repos/repo_edit_remote.html --- a/kallithea/templates/admin/repos/repo_edit_remote.html +++ b/kallithea/templates/admin/repos/repo_edit_remote.html @@ -1,19 +1,19 @@ %if c.repo_info.clone_uri:
- ${_('Remote URL')}: ${c.repo_info.clone_uri_hidden} + ${_('Remote repository URL')}: ${c.repo_info.clone_uri_hidden}
${h.form(url('edit_repo_remote', repo_name=c.repo_name), method='put')}
${h.submit('remote_pull_%s' % c.repo_info.repo_name, - _('Pull Changes from Remote Location'), + _('Pull Changes from Remote Repository'), class_="btn btn-small", - onclick="return confirm('"+_('Confirm to pull changes from remote side.')+"');")} + onclick="return confirm('"+_('Confirm to pull changes from remote repository.')+"');")}
${h.end_form()} %else:
- ${_('This repository does not have a remote URL set.')} + ${_('This repository does not have a remote repository URL.')}
%endif diff --git a/kallithea/templates/admin/repos/repo_edit_settings.html b/kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html +++ b/kallithea/templates/admin/repos/repo_edit_settings.html @@ -18,7 +18,7 @@ ${h.form(url('repo', repo_name=c.repo_in
- +
%if c.repo_info.clone_uri: @@ -35,7 +35,7 @@ ${h.form(url('repo', repo_name=c.repo_in ${h.hidden('clone_uri_change', 'NEW')} %endif - ${_('URL used for doing remote pulls.')} + ${_('Optional: URL of a remote repository. If set, the repository can be pulled from this URL.')}