svn commit: r18646 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-08-16 13:17:06-0700
New Revision: 18646

Modified:
   trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java

Log:
Localize the delete button

Modified: trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java?view=diff&pathrev=18646&r1=18645&r2=18646
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java	(original)
+++ trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java	2010-08-16 13:17:06-0700
@@ -338,7 +338,7 @@
             moveTopAction = null;
             moveBottomAction = null;
             if (!readonly) {
-                // Create popup toolbutton if we have a single row
+                // Create popup tool if we have a single row
     
                 for (Object meta : metaTypes) {
                     if (Model.getUmlFactory().isContainmentValid(
@@ -752,7 +752,7 @@
          * Construct the Action
          */
         public DeleteAction() {
-            super("button.delete",
+            super(Translator.localize("menu.popup.delete"),
                     ResourceLoaderWrapper.lookupIconResource("DeleteFromModel"));
             setEnabled(false);
         }
@@ -932,7 +932,7 @@
 
 
     /**
-     * This action deletes the model elements that are selected in the JList
+     * This action moves up the model elements that are selected in the JList
      */
     private class MoveBottomAction extends UndoableAction
             implements ListSelectionListener {

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

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.