Update of /cvsroot/squirrel-sql/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28839/app/src/net/sourceforge/squirrel_sql/client/mainframe/action
Modified Files:
SavePreferencesCommand.java I18NStrings.properties
Log Message:
Bugfix : 2946165 (Fixed missing translation string).
Index: I18NStrings.properties
===================================================================
RCS file: /cvsroot/squirrel-sql/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/I18NStrings.properties,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** I18NStrings.properties 25 Dec 2008 19:09:30 -0000 1.10
--- I18NStrings.properties 6 Feb 2010 21:42:57 -0000 1.11
***************
*** 62,65 ****
--- 62,67 ----
ModifyDriverAction.error.selectingwindow=Error selecting window
+ SavePreferencesCommand.allPrefsSavedMsg=All Preferences have been saved.
+
ShowDriverWebsiteCommand.comfirm=No WebSite URL for the specified driver. Would you like to add one?
Index: SavePreferencesCommand.java
===================================================================
RCS file: /cvsroot/squirrel-sql/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/SavePreferencesCommand.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SavePreferencesCommand.java 2 Jul 2007 10:22:58 -0000 1.1
--- SavePreferencesCommand.java 6 Feb 2010 21:42:57 -0000 1.2
***************
*** 23,26 ****
--- 23,28 ----
import net.sourceforge.squirrel_sql.fw.gui.IDialogUtils;
import net.sourceforge.squirrel_sql.fw.util.ICommand;
+ import net.sourceforge.squirrel_sql.fw.util.StringManager;
+ import net.sourceforge.squirrel_sql.fw.util.StringManagerFactory;
/**
***************
*** 39,42 ****
--- 41,48 ----
private IDialogUtils dialogUtils = null;
+ /** Internationalized strings for this class. */
+ private static final StringManager s_stringMgr =
+ StringManagerFactory.getStringManager(SavePreferencesCommand.class);
+
/**
* Ctor.
***************
*** 75,79 ****
{
_app.saveApplicationState();
! dialogUtils.showOk(_frame, "All Preferences have been saved.");
}
}
--- 81,85 ----
{
_app.saveApplicationState();
! dialogUtils.showOk(_frame, s_stringMgr.getString("SavePreferencesCommand.allPrefsSavedMsg"));
}
}
|