Mercurial > kallithea
changeset 5179:6e1bd83552d8
Refer to “remote repository” and “clone” consistently in templates.
Modified by Mads Kiilerich.
author | Ben Finney <ben@benfinney.id.au> |
---|---|
date | Wed, 22 Apr 2015 09:55:46 +1000 |
parents | 221d6a002601 |
children | ab01e0a5d240 |
files | kallithea/templates/admin/repos/repo_add_base.html kallithea/templates/admin/repos/repo_edit_remote.html kallithea/templates/admin/repos/repo_edit_settings.html |
diffstat | 3 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/admin/repos/repo_add_base.html Tue Jun 09 22:53:24 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_add_base.html Wed Apr 22 09:55:46 2015 +1000 @@ -14,12 +14,12 @@ </div> <div id="remote_clone" class="field"> <div class="label"> - <label for="clone_uri">${_('Clone from')}:</label> + <label for="clone_uri">${_('Clone remote repository')}:</label> </div> <div class="input"> ${h.text('clone_uri',class_="small")} <span class="help-block"> - ${_('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.')} </span> </div> </div>
--- a/kallithea/templates/admin/repos/repo_edit_remote.html Tue Jun 09 22:53:24 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_edit_remote.html Wed Apr 22 09:55:46 2015 +1000 @@ -1,19 +1,19 @@ %if c.repo_info.clone_uri: <div style="font-size: 20px; padding: 0px 0px 10px 0px"> - ${_('Remote URL')}: <a href="${c.repo_info.clone_uri}">${c.repo_info.clone_uri_hidden}</a></li> + ${_('Remote repository URL')}: <a href="${c.repo_info.clone_uri}">${c.repo_info.clone_uri_hidden}</a></li> </div> ${h.form(url('edit_repo_remote', repo_name=c.repo_name), method='put')} <div class="form"> <div class="fields"> ${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.')+"');")} </div> </div> ${h.end_form()} %else: <div style="font-size: 20px"> - ${_('This repository does not have a remote URL set.')} + ${_('This repository does not have a remote repository URL.')} </div> %endif
--- a/kallithea/templates/admin/repos/repo_edit_settings.html Tue Jun 09 22:53:24 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_edit_settings.html Wed Apr 22 09:55:46 2015 +1000 @@ -18,7 +18,7 @@ </div> <div class="field"> <div class="label"> - <label for="clone_uri">${_('Clone URL')}:</label> + <label for="clone_uri">${_('Remote repository')}:</label> </div> <div class="input"> %if c.repo_info.clone_uri: @@ -35,7 +35,7 @@ ${h.hidden('clone_uri_change', 'NEW')} %endif <span id="alter_clone_uri_help_block" class="help-block"> - ${_('URL used for doing remote pulls.')} + ${_('Optional: URL of a remote repository. If set, the repository can be pulled from this URL.')} </span> </div> </div>