[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spacewalk-devel
Subject:    [Spacewalk-devel] [PATCH 10/10] Add translation strings for crash information
From:       Richard Marko <rmarko () redhat ! com>
Date:       2012-07-18 13:38:18
Message-ID: 1342618698-18572-11-git-send-email-rmarko () redhat ! com
[Download RAW message or body]


Signed-off-by: Richard Marko <rmarko@redhat.com>
---
 .../frontend/strings/jsp/StringResource_en_US.xml  |   28 ++++++++++++++++++++
 .../webapp/WEB-INF/pages/systems/sdc/overview.jsp  |    8 +++---
 2 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml \
b/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml index \
                a70da57..8172c4d 100644
--- a/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml
+++ b/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml
@@ -17890,6 +17890,34 @@ The Tree Path, Kickstart RPM, Base Channel, and Installer \
Generation should alwa  </context-group>
          </trans-unit>
 
+         <trans-unit id="sdc.details.overview.crashes.application">
+            <source>Application crashes</source>
+            <context-group name="ctx">
+            <context \
context-type="sourcefile">/systems/details/Overview.do</context> +            \
</context-group> +         </trans-unit>
+
+         <trans-unit id="sdc.details.overview.crashes.nodata">
+            <source>To get application crash data install spacewalk-abrt on this \
system.</source> +            <context-group name="ctx">
+            <context \
context-type="sourcefile">/systems/details/Overview.do</context> +            \
</context-group> +         </trans-unit>
+
+         <trans-unit id="sdc.details.overview.crashes.lastreport">
+            <source>Last report</source>
+            <context-group name="ctx">
+            <context \
context-type="sourcefile">/systems/details/Overview.do</context> +            \
</context-group> +         </trans-unit>
+
+         <trans-unit id="sdc.details.overview.crashes.crashcount">
+            <source>Crash count</source>
+            <context-group name="ctx">
+            <context \
context-type="sourcefile">/systems/details/Overview.do</context> +            \
</context-group> +         </trans-unit>
+
          <trans-unit id="sdc.details.migrate.header">
             <source>Migrate System Between Organizations</source>
             <context-group name="ctx">
diff --git a/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp \
b/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp index afed8cb..123bddf \
                100644
--- a/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp
+++ b/java/code/webapp/WEB-INF/pages/systems/sdc/overview.jsp
@@ -346,19 +346,19 @@
     </table>
   </div>
   <div style="width: 45%; float: left;">
-    <h2>Application crashes</h2>
+    <h2><bean:message key="sdc.details.overview.crashes.application"/></h2>
     <table class="details">
       <c:choose>
         <c:when test="${system.crashes.created == null}">
-          To get application crash data install spacewalk-abrt on this system.
+          <bean:message key="sdc.details.overview.crashes.nodata"/>
         </c:when>
         <c:otherwise>
           <tr>
-            <th>Last report</th>
+            <th><bean:message key="sdc.details.overview.crashes.lastreport"/></th>
             <td><fmt:formatDate value="${system.crashes.created}" type="both" \
dateStyle="short" timeStyle="long"/></td>  </tr>
           <tr>
-            <th>Crash count</th>
+            <th><bean:message key="sdc.details.overview.crashes.crashcount"/></th>
             <td><c:out value="${system.crashes.crashCount}"/></td>
           </tr>
         </c:otherwise>
-- 
1.7.10.4


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic