aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-22 18:37:48 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-22 18:37:48 +0200
commite2b9b0e7720f05cfb80c2c3dc62c88c02d27697a (patch)
treebcb8cf975f98c11e60602de598776f65349c6664
parenta14f013dfcf360b5b75d1f0c1b3ed0041be1f81b (diff)
downloadsonarqube-e2b9b0e7720f05cfb80c2c3dc62c88c02d27697a.tar.gz
sonarqube-e2b9b0e7720f05cfb80c2c3dc62c88c02d27697a.zip
SONAR-3392 Applied normalization rules to modal windows labels
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_default_templates_form.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb2
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
index 4a32ebe769a..38febb52930 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
@@ -2261,7 +2261,7 @@ projects_role.codeviewer=Code Viewers
projects_role.codeviewer.desc=Ability to view the source code of the project.
projects_role.bulk_change=Bulk Change
projects_role.apply_template=Apply Permission Template
-projects_role.apply_template_to_xxx=Apply Permission Template to "{0}"
+projects_role.apply_template_to_xxx=Apply Permission Template To "{0}"
projects_role.no_projects=There are currently no results to apply the permission template to.
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_default_templates_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_default_templates_form.html.erb
index 950a07da449..b7d7f2be32e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_default_templates_form.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_default_templates_form.html.erb
@@ -7,7 +7,7 @@
<div class="modal-error"/>
<% @root_qualifiers.each do |qualifier| %>
<div class="modal-field">
- <%= label_tag("default_template_#{qualifier}", " For #{message('qualifier.' + qualifier).downcase}s:") %>
+ <%= label_tag("default_template_#{qualifier}", " For #{message('qualifier.' + qualifier).downcase}s") %>
<%= select_tag("default_template_#{qualifier}", options_for_select(@permission_templates_options, @default_templates[qualifier])) %>
</div>
<% end %>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb
index 4b9d4d4c5a5..bab848223da 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_apply_template_form.html.erb
@@ -19,7 +19,7 @@
</div>
<% else %>
<div class="modal-field">
- <%= label_tag 'template_key', 'Permission Template:' %>
+ <%= label_tag 'template_key', 'Permission Template' %>
<%= select_tag('template_key', options_for_select(@permission_templates, -1), :style => 'width: 250px;') %>
<% unless params[:project_name] %>
<span style="float:right" class="note">(<%= "#{components.size} #{message('qualifier.' + qualifier)}s" %>)</span><br/>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb
index 0a060683c5d..b33f02316b6 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_groups.html.erb
@@ -8,7 +8,7 @@
<input name="role" value="<%= @role -%>" type="hidden"/>
<fieldset>
<div class="modal-head">
- <h2><%= @project ? 'Edit Permissions for: ' + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
+ <h2><%= @project ? 'Edit Permissions For: ' + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
</div>
<div class="modal-body">
<div class="modal-error"/>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb
index c2703c220db..07a4e2bf1f9 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/_edit_users.html.erb
@@ -8,7 +8,7 @@
<input name="role" value="<%= @role -%>" type="hidden" />
<fieldset>
<div class="modal-head">
- <h2><%= @project ? 'Edit Permissions for: ' + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
+ <h2><%= @project ? 'Edit Permissions For: ' + h(@project.name) : "Edit Global Permission: #{message("global_permissions.#{@role}")}" -%></h2>
</div>
<div class="modal-body">
<div class="modal-error"/>