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

Dave Thompson <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: dthompson
Date: 2009-04-04 16:48:03-0700
New Revision: 17033

Modified:
   trunk/src/argouml-app/src/org/argouml/i18n/optionpane.properties
   trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java

Log:
Added more helpful message box for when file is read only.

Modified: trunk/src/argouml-app/src/org/argouml/i18n/optionpane.properties
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/i18n/optionpane.properties?view=diff&pathrev=17033&r1=17032&r2=17033
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/i18n/optionpane.properties	(original)
+++ trunk/src/argouml-app/src/org/argouml/i18n/optionpane.properties	2009-04-04 16:48:03-0700
@@ -48,6 +48,9 @@
 optionpane.confirm-overwrite.overwrite-all = Overwrite All
 optionpane.confirm-overwrite.skip-this-one = Skip this one
 optionpane.confirm-overwrite.cancel = Cancel
+optionpane.save-project-read-only = Project file is read only. To save \
+        to a different file, select "Save Project As" from the File menu. 
+optionpane.save-project-read-only-title = File read-only
 optionpane.save-project-cant-write = A problem occurred while saving: \
         file cannot be written.
 optionpane.save-project-cant-write-title = File not writable

Modified: trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java?view=diff&pathrev=17033&r1=17032&r2=17033
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java	2009-04-04 16:48:03-0700
@@ -1243,9 +1243,9 @@
             if (this.isFileReadonly(file)) {
                 JOptionPane.showMessageDialog(this, 
                         Translator.localize(
-                                "optionpane.save-project-cant-write"),
+                                "optionpane.save-project-read-only"),
                         Translator.localize(
-                                "optionpane.save-project-cant-write-title"),
+                                "optionpane.save-project-read-only-title"),
                               JOptionPane.INFORMATION_MESSAGE);
                 
                 return false;

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

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.