Mercurial > hg > soundsoftware-site
changeset 290:4d4acbad8728 feature_73
Textual changes
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 23 Mar 2011 17:36:21 +0000 |
parents | c87ed8a009e5 |
children | defe55be97b9 |
files | app/views/projects/settings/_repository.rhtml config/locales/en.yml |
diffstat | 2 files changed, 20 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/projects/settings/_repository.rhtml Mon Mar 21 16:03:47 2011 +0000 +++ b/app/views/projects/settings/_repository.rhtml Wed Mar 23 17:36:21 2011 +0000 @@ -10,17 +10,19 @@ <div class="box tabular"> - +<p> <% if @repository %> + <%= l(:text_settings_repo_explanation) %></ br> <% if @repository.is_external %> - <%= l(:text_settings_repo_is_external) %></ br> + <p><%= l(:text_settings_repo_is_external) %></ br> <% else %> - <%= l(:text_settings_repo_is_internal) %></ br> + <p><%= l(:text_settings_repo_is_internal) %></ br> <% end %> <% else %> <%= l(:text_settings_repo_creation) %></ br> <% end %> - +</p> + @@ -28,16 +30,17 @@ <p> <%= label_tag('repository_is_external', l(:label_is_external_repository)) %> <%= check_box :repository, :is_external, :onclick => "toggle_ext_url()" %> - <%= l(:setting_external_repository) %> + <br/><em><%= l(:setting_external_repository) %></em> </p> <p> <%= label_tag('repository_external_url', l(:label_repository_external_url)) %> - <%= text_field :repository, :external_url, :disabled => true %> - <%= l(:setting_external_repository_url) %> + <%= text_field :repository, :external_url, :disabled => !@repository.is_external %> + <br/><em><%= l(:setting_external_repository_url) %></em> </p> +<p><%= l(:text_settings_repo_need_help) %></p> </div>
--- a/config/locales/en.yml Mon Mar 21 16:03:47 2011 +0000 +++ b/config/locales/en.yml Wed Mar 23 17:36:21 2011 +0000 @@ -306,9 +306,9 @@ field_text: Text field field_visible: Visible - setting_external_repository: "In the case you wish to follow an external repository" - setting_external_repository_url: "The external repository URL" - label_repository_external_url: "External rep URL" + setting_external_repository: "Select this if the project's main repository is hosted somewhere else" + setting_external_repository_url: "The URL of the existing external repository" + label_repository_external_url: "External repository URL" setting_tipoftheday_text: Tip of the Day setting_notifications_text: Notifications field_terms_and_conditions: 'Terms and Conditions:' @@ -636,7 +636,7 @@ label_not_contains: doesn't contain label_day_plural: days label_repository: Repository - label_is_external_repository: External? + label_is_external_repository: Track an external repository label_repository_plural: Repositories label_browse: Browse label_modification: "{{count}} change" @@ -919,7 +919,7 @@ text_enumeration_destroy_question: "{{count}} objects are assigned to this value." text_enumeration_category_reassign_to: 'Reassign them to this value:' text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them." - text_repository_usernames_mapping: "Select or update the Redmine user mapped to each username found in the repository log.\nUsers with the same Redmine and repository username or email are automatically mapped." + text_repository_usernames_mapping: "Select the project member associated with each username found in the repository log.\nUsers whose name or email matches that in the repository are mapped automatically." text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' text_custom_field_possible_values_info: 'One line for each value' text_wiki_page_destroy_question: "This page has {{descendants}} child page(s) and descendant(s). What do you want to do?" @@ -929,9 +929,11 @@ text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?" text_zoom_in: Zoom in text_zoom_out: Zoom out - text_settings_repo_creation: The repository for a project should be set up automatically within a few minutes of the project being created.<br>You should not have to adjust any settings here.<br>Please check again in ten minutes, and <a href="/projects/soundsoftware-site/wiki/Help">contact us</a> if there is any problem. - text_settings_repo_is_internal: The repository for this project is an internal Mercurial Repository, hosted by SoundSoftware.ac.uk. - text_settings_repo_is_external: You are tracking an external repository, with a mirror Mercurial repository hosted by SoundSoftware.ac.uk. + text_settings_repo_creation: The repository for a project should be set up automatically within a few minutes of the project being created.</p><p>You should not have to adjust any settings here, unless you wish to use this repository only to track a repository hosted elsewhere.</p><p>Please check again in ten minutes, and <a href="/projects/soundsoftware-site/wiki/Help">contact us</a> if there is any problem. + text_settings_repo_explanation: Normally your project's primary repository will be the Mercurial repository hosted at this site.<p>However, if you already have your project hosted somewhere else, you can specify here your existing external repository's URL – then this site will track that repository in a read-only “mirror” copy. External Mercurial, git and Subversion repositories can be tracked. Note that you cannot switch to an external repository if you have already made any commits to the repository hosted here. + text_settings_repo_is_internal: Currently the repository hosted at this site is the primary repository for this project. + text_settings_repo_is_external: Currently the repository hosted at this site is a read-only copy of an external repository. + text_settings_repo_need_help: Please <a href="mailto:info@soundsoftware.ac.uk">contact us</a> if you need help deciding how best to set this up.<br>We can also import complete revision history from other systems into a new primary repository for you if you wish.