From: Fabrice Bellingard Date: Wed, 4 Jul 2012 13:21:21 +0000 (+0200) Subject: SONAR-1608 Update labels X-Git-Tag: 3.2~257 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=68e2d32eab695583d34826b3ba11e294acdbc938;p=sonarqube.git SONAR-1608 Update labels --- diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index bc17add3c72..e06725d0d83 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -957,6 +957,7 @@ project_history.event_already_exists=Event "{0}" already exists. # #------------------------------------------------------------------------------ update_key.update_resource_key=Update Key +update_key.description=This administration page allows to change the key of a project and of its modules. Those changes must be done BEFORE analyzing the project with the new keys otherwise this operation will fail. update_key.bulk_update=Bulk Update update_key.fine_grained_key_update=Fine-grained Update update_key.old_key=Old key @@ -969,7 +970,7 @@ update_key.cant_update_x_because_resource_already_exist_with_key_x="{0}" can not update_key.error_occured_while_renaming_key_of_x=An error occurred while renaming the key "{0}": {1} update_key.key_updated=The key has successfully been updated for all required resources. update_key.fieds_cant_be_blank_for_bulk_update=The two fields can not be blank for the bulk update. -update_key.bulk_change_description=The bulk update allows to replace the beginning of the current key by another string on the current project and all its submodules - if applicable. +update_key.bulk_change_description=The bulk update allows to replace a part of the current key(s) by another string on the current project and all its submodules - if applicable. update_key.current_key_for_project_x_is_x=The key of the "{0}" project is currently "{1}". update_key.are_you_sure_to_rename_x=Are you sure you want to rename "{0}", as well as all its modules and resources ? update_key.replace=Replace @@ -979,6 +980,7 @@ update_key.by_example=Ex.: "com.myNewCompany" update_key.cant_update_because_duplicate_keys=The replacement of "{0}" by "{1}" is impossible as it would result in duplicate keys (in red below): update_key.keys_will_be_updated_as_follows=The resources will be updated as follows (updated keys in bold): update_key.duplicate_key=Duplicate key +update_key.bulk_update_confirmation_page=Do you really want to perform the bulk update on project keys? #------------------------------------------------------------------------------ diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb index aa2bd82a763..1dd74cc78c3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb @@ -4,16 +4,20 @@ reset_cycle 'modules_tree' %> - + + +

<%= message('update_key.update_resource_key') -%>

+ +

<%= message('update_key.description') -%>

<% if has_modules %> -

<%= message('update_key.bulk_update') -%>

+

<%= message('update_key.bulk_update') -%>


<%= message('update_key.bulk_change_description') -%> @@ -46,10 +50,10 @@ <% end %>

+

<%= message('update_key.fine_grained_key_update') -%>

+
<% end %> -

<%= has_modules ? message('update_key.fine_grained_key_update') : message('update_key.update_resource_key') -%>

-
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/prepare_key_bulk_update.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/prepare_key_bulk_update.html.erb index 7d03a1af676..bbdb6d43631 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/prepare_key_bulk_update.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/prepare_key_bulk_update.html.erb @@ -12,7 +12,7 @@ } -

<%= message('update_key.bulk_update') -%>

+

<%= message('update_key.bulk_update_confirmation_page') -%>


<%= @can_update ? message('update_key.keys_will_be_updated_as_follows') : message('update_key.cant_update_because_duplicate_keys', :params => [@old_prefix, @new_prefix]) -%>