# HG changeset patch # User Chris Cannam # Date 1300901781 0 # Node ID 4d4acbad872832728769c1c7e2a23b8a939430c5 # Parent c87ed8a009e5965475d2124ba49f802ecb195bf6 Textual changes diff -r c87ed8a009e5 -r 4d4acbad8728 app/views/projects/settings/_repository.rhtml --- 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 @@
- +

<% if @repository %> + <%= l(:text_settings_repo_explanation) %> <% if @repository.is_external %> - <%= l(:text_settings_repo_is_external) %> +

<%= l(:text_settings_repo_is_external) %> <% else %> - <%= l(:text_settings_repo_is_internal) %> +

<%= l(:text_settings_repo_is_internal) %> <% end %> <% else %> <%= l(:text_settings_repo_creation) %> <% end %> - +

+ @@ -28,16 +30,17 @@

<%= label_tag('repository_is_external', l(:label_is_external_repository)) %> <%= check_box :repository, :is_external, :onclick => "toggle_ext_url()" %> - <%= l(:setting_external_repository) %> +
<%= l(:setting_external_repository) %>

<%= 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 %> +
<%= l(:setting_external_repository_url) %>

+

<%= l(:text_settings_repo_need_help) %>

diff -r c87ed8a009e5 -r 4d4acbad8728 config/locales/en.yml --- 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.
You should not have to adjust any settings here.
Please check again in ten minutes, and contact us 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.

You should not have to adjust any settings here, unless you wish to use this repository only to track a repository hosted elsewhere.

Please check again in ten minutes, and contact us if there is any problem. + text_settings_repo_explanation: Normally your project's primary repository will be the Mercurial repository hosted at this site.

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 contact us if you need help deciding how best to set this up.
We can also import complete revision history from other systems into a new primary repository for you if you wish.