svn commit: r19469 - trunk/src/argouml-app/src/org/argouml: i18n ui

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2011-05-19 14:38:26-0700
New Revision: 19469

Modified:
   trunk/src/argouml-app/src/org/argouml/i18n/tab.properties
   trunk/src/argouml-app/src/org/argouml/ui/HelpBox.java

Log:
Localization of Manual tabs.

Patch by Harald Braun.

Modified: trunk/src/argouml-app/src/org/argouml/i18n/tab.properties
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/i18n/tab.properties?view=diff&pathrev=19469&r1=19468&r2=19469
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/i18n/tab.properties	(original)
+++ trunk/src/argouml-app/src/org/argouml/i18n/tab.properties	2011-05-19 14:38:26-0700
@@ -46,6 +46,10 @@
 tab.documentation = Documentation
 tab.environment = Environment
 tab.diagramappearance = Diagram Appearance
+tab.help.manual = Manual
+tab.help.tip.manual = The ArgoUML online manual
+tab.help.support = Support
+tab.help.tip.support = The ArgoUML support page
 tab.history = History
 tab.layout = Layout
 tab.notation = Notations

Modified: trunk/src/argouml-app/src/org/argouml/ui/HelpBox.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/HelpBox.java?view=diff&pathrev=19469&r1=19468&r2=19469
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/HelpBox.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/ui/HelpBox.java	2011-05-19 14:38:26-0700
@@ -54,6 +54,7 @@
 
 import org.apache.log4j.Logger;
 import org.argouml.application.helpers.ApplicationVersion;
+import org.argouml.cognitive.Translator;
 
 /**
  * This is what you see after you activate the "Help->Help" menu-item.
@@ -75,12 +76,12 @@
     /**
      * The names and URLs for the pages.
      */
-    private String pages[][] = {{"Manual",
+    private String pages[][] = {{Translator.localize("tab.help.manual"),
             ApplicationVersion.getOnlineManual() ,
-            "The ArgoUML online manual"},
-        {"Support",
+            Translator.localize("tab.help.tip.manual")},
+        {Translator.localize("tab.help.support"),
             ApplicationVersion.getOnlineSupport(),
-            "The ArgoUML support page" }};
+            Translator.localize("tab.help.tip.support") }};
 
 
     /**

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2741530

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.