+++ /dev/null
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
- */
-package org.sonar.plugins.surefire;
-
-import org.junit.Test;
-import org.junit.experimental.runners.Enclosed;
-import org.junit.runner.RunWith;
-
-@RunWith(Enclosed.class)
-public class FooTest {
-
- @RunWith(Enclosed.class)
- public static class Inner1 {
-
- public static class Run {
- @Test
- public void test1() {}
- }
- }
-
- @RunWith(Enclosed.class)
- public static class Inner2 {
-
- public static class Run {
- @Test
- public void test2() {}
- }
- }
-}
\ No newline at end of file
unless @properties_per_category[category].empty?
%>
<tr class="select <%= cycle('even', 'odd', :name => 'category') -%> <%= 'selected' if @category==category -%>" id="select_<%= category -%>">
- <td><%= link_to h(category), :overwrite_params => {:category => category} -%></td>
+ <td><%= link_to message("property.category.#{category}", :default => category), :overwrite_params => {:category => category} -%></td>
</tr>
<% end
end
<td class="column">
<% if @category
- category_name = message("settings.category.#{@category}", :default => @category)
+ category_name = message("property.category.#{@category}", :default => @category)
%>
<% form_tag :controller => :settings, :action => :update do %>
<tr class="<%= cycle('even', 'odd', :name => 'properties') -%>">
<td style="padding: 10px">
<h3>
- <%= h(property.name()) -%>
+ <%= message("property.#{property.key()}.name", :default => property.name()) -%>
<% if property.project() %>
<br/><span class="note"><%= property.key() -%></span>
<% end %>
</h3>
- <% if property.description.present? %>
- <p class="marginbottom10"><%= property.description -%></p>
+ <%
+ desc=message("property.#{property.key()}.description", :default => property.description())
+ if desc.present? %>
+ <p class="marginbottom10"><%= desc -%></p>
<% end %>
<p>
<% span_id = "text_" + property.key().gsub('.', '_') %>