[Jsxe-cvs] SF.net SVN: jsxe: [909] trunk/jsxe
Status: Inactive
Brought to you by:
ian_lewis
From: <ian...@us...> - 2006-06-07 03:42:26
|
Revision: 909 Author: ian_lewis Date: 2006-06-06 20:42:19 -0700 (Tue, 06 Jun 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=909&view=rev Log Message: ----------- Updated the file dialog to use localized messages in the title Modified Paths: -------------- trunk/jsxe/Changelog trunk/jsxe/messages/messages.en trunk/jsxe/src/net/sourceforge/jsxe/gui/jsxeFileDialog.java Modified: trunk/jsxe/Changelog =================================================================== --- trunk/jsxe/Changelog 2006-06-07 03:32:15 UTC (rev 908) +++ trunk/jsxe/Changelog 2006-06-07 03:42:19 UTC (rev 909) @@ -7,6 +7,7 @@ * Updated the DirtyFilesDialog so that it selects the first entry by default. * Updated EnhancedDialogs to be resizable by default. + * Updated the file dialog to use localized messages in the title 05/31/2006 Ian Lewis <Ian...@me...> Modified: trunk/jsxe/messages/messages.en =================================================================== --- trunk/jsxe/messages/messages.en 2006-06-07 03:32:15 UTC (rev 908) +++ trunk/jsxe/messages/messages.en 2006-06-07 03:42:19 UTC (rev 909) @@ -8,6 +8,9 @@ common.ok=OK common.cancel=Cancel +common.open=Open +common.save=Save +common.save.as=Save As common.close=Close common.apply=Apply common.more=More Modified: trunk/jsxe/src/net/sourceforge/jsxe/gui/jsxeFileDialog.java =================================================================== --- trunk/jsxe/src/net/sourceforge/jsxe/gui/jsxeFileDialog.java 2006-06-07 03:32:15 UTC (rev 908) +++ trunk/jsxe/src/net/sourceforge/jsxe/gui/jsxeFileDialog.java 2006-06-07 03:42:19 UTC (rev 909) @@ -76,14 +76,14 @@ //{{{ showOpenDialog() public int showOpenDialog(Component parent) { - setDialogTitle("Open"); + setDialogTitle(Messages.getMessage("common.open")); return super.showOpenDialog(parent); }//}}} //{{{ showSaveDialog() public int showSaveDialog(Component parent) { - setDialogTitle("Save As"); + setDialogTitle(Messages.getMessage("common.save.as")); return super.showSaveDialog(parent); }//}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |