From: <jum...@li...> - 2015-07-02 05:47:52
|
Revision: 4522 http://sourceforge.net/p/jump-pilot/code/4522 Author: ma15569 Date: 2015-07-02 05:47:50 +0000 (Thu, 02 Jul 2015) Log Message: ----------- Add warning messages to Close Project and Close OpenJUMP application Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java core/trunk/src/language/jump.properties core/trunk/src/language/jump_cz.properties core/trunk/src/language/jump_de.properties core/trunk/src/language/jump_es.properties core/trunk/src/language/jump_fi.properties core/trunk/src/language/jump_fr.properties core/trunk/src/language/jump_hu.properties core/trunk/src/language/jump_it.properties core/trunk/src/language/jump_ja_JP.properties core/trunk/src/language/jump_ml.properties core/trunk/src/language/jump_pt.properties core/trunk/src/language/jump_pt_BR.properties core/trunk/src/language/jump_ta_IN.properties core/trunk/src/language/jump_te.properties core/trunk/src/language/jump_zh_CN.properties core/trunk/src/language/jump_zh_HK.properties Modified: core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java 2015-07-02 05:47:50 UTC (rev 4522) @@ -134,6 +134,7 @@ import com.vividsolutions.jump.workbench.ui.images.IconLoader; import com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller; import com.vividsolutions.jump.workbench.ui.plugin.PersistentBlackboardPlugIn; +import com.vividsolutions.jump.workbench.ui.plugin.SaveProjectPlugIn; import com.vividsolutions.jump.workbench.ui.plugin.ViewAttributesPlugIn.ViewAttributesFrame; import com.vividsolutions.jump.workbench.ui.renderer.style.ChoosableStyle; import com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager; @@ -145,6 +146,16 @@ public class WorkbenchFrame extends JFrame implements LayerViewPanelContext, ViewportListener, ErrorHandlerV2 { + private String EXIT_OPENJUMP = I18N.get("ui.WorkbenchFrame.exit-jump"); + private String CLOSE_PROJECT = I18N.get("ui.WorkbenchFrame.close-task"); + private String CLOSE_PROJECT_QUESTION = I18N + .get("ui.WorkbenchFrame.do-you-want-to-close-project"); + private String SAVE_PROJECT = I18N + .get("ui.WorkbenchFrame.save-project-before-closing-openjump"); + private String PROJECT_SAVED = I18N + .get("ui.WorkbenchFrame.save-project-saved"); + private static final Logger LOGGER = Logger.getLogger(WorkbenchFrame.class); + BorderLayout borderLayout1 = new BorderLayout(); JMenuBar menuBar = new JMenuBar() { @@ -1684,9 +1695,41 @@ private class DefaultApplicationExitHandler implements ApplicationExitHandler { public void exitApplication(JFrame mainFrame) { + PlugInContext context = getContext().createPlugInContext(); if (confirmClose(I18N.get("ui.WorkbenchFrame.exit-jump"), getLayersWithModifiedFeatureCollections(), getGeneratedLayers(), WorkbenchFrame.this)) { + + // Giuseppe Aruta -June 30 2015 - warning to save selected + // project before closing Openjump + try { + int res = JOptionPane.showConfirmDialog(null, SAVE_PROJECT, + EXIT_OPENJUMP, JOptionPane.YES_NO_CANCEL_OPTION, + JOptionPane.DEFAULT_OPTION, null); + + if (res == JOptionPane.YES_OPTION) { + SaveProjectPlugIn saveProjectPlugIn = new SaveProjectPlugIn(); + saveProjectPlugIn.initialize(context); + if (saveProjectPlugIn.execute(context)) { + saveProjectPlugIn.initialize(context); + String projectName = context.getTask() + .getProjectFile().getAbsolutePath(); + + JOptionPane.showMessageDialog(null, PROJECT_SAVED + + projectName, EXIT_OPENJUMP, + JOptionPane.PLAIN_MESSAGE); + + } else { + return; + } + } else if (res == JOptionPane.CANCEL_OPTION) { + return; + } + + } catch (Exception e) { + LOGGER.error("", e); //$NON-NLS-1$ + } + // PersistentBlackboardPlugIn listens for when the workbench is // hidden [Jon Aquino] saveWindowState(); @@ -1718,6 +1761,21 @@ .getLayersWithNullDataSource(); if (confirmClose(I18N.get("ui.WorkbenchFrame.close-task"), modifiedItems, generatedItems, taskFrame)) { + + // Giuseppe Aruta -June 30 2015 - simple warning that a project + // is being closed + try { + int res = JOptionPane.showConfirmDialog(null, + CLOSE_PROJECT_QUESTION, CLOSE_PROJECT, + JOptionPane.OK_CANCEL_OPTION, + JOptionPane.DEFAULT_OPTION, null); + if (res == JOptionPane.CANCEL_OPTION) { + return; + } + } catch (Exception e) { + LOGGER.error("", e); //$NON-NLS-1$ + } + // There are other internal frames associated with this task if (associatedFrames.size() != 0) { // Confirm you want to close them first @@ -1780,32 +1838,30 @@ JOptionPane pane = new JOptionPane(); String message = null; - /* [2015-01-03] Giuseppe Aruta - * Generate a string with the list of layers with no datasource - - ///[2015-01-03] Giuseppe Aruta - * Deactivated as it works even if there are no layers with no datasource + /* + * [2015-01-03] Giuseppe Aruta Generate a string with the list of + * layers with no datasource * - String numLayer = "\n (" - + ((generatedLayers.size() > 3) ? "e.g. " : "") - + StringUtil.toCommaDelimitedString(new ArrayList( - generatedLayers).subList(0, - Math.min(3, generatedLayers.size()))) + ")"; - */ + * ///[2015-01-03] Giuseppe Aruta Deactivated as it works even if + * there are no layers with no datasource + * + * String numLayer = "\n (" + ((generatedLayers.size() > 3) ? + * "e.g. " : "") + StringUtil.toCommaDelimitedString(new ArrayList( + * generatedLayers).subList(0, Math.min(3, generatedLayers.size()))) + * + ")"; + */ if (container instanceof WorkbenchFrame) { message = I18N .getMessage( "ui.WorkbenchFrame.do-you-really-want-to-close-openjump", new Object[] { Integer.valueOf(generatedLayers - .size()) }) - ; + .size()) }); } else if (container instanceof TaskFrame) { message = I18N .getMessage( "ui.WorkbenchFrame.do-you-really-want-to-close-the-project", new Object[] { Integer.valueOf(generatedLayers - .size()) }) - ; + .size()) }); } pane.setMessage(message); pane.setMessageType(JOptionPane.QUESTION_MESSAGE); Modified: core/trunk/src/language/jump.properties =================================================================== --- core/trunk/src/language/jump.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1908,6 +1908,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = Point style\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = Restore default settings ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Insert vertex if none in segment +ui.WorkbenchFrame.save-project-before-closing-openjump= Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved=Project file has been saved +ui.WorkbenchFrame.do-you-want-to-close-project= Do you want to close the project? ui.WorkbenchFrame.cancel = Cancel ui.WorkbenchFrame.check-for-invalid-geometries = Check for invalid geometries. ui.WorkbenchFrame.close-all = Close all Modified: core/trunk/src/language/jump_cz.properties =================================================================== --- core/trunk/src/language/jump_cz.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_cz.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1848,6 +1848,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = Styl bodu\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = Obnovit implicitn\u00ED nastaven\u00ED ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Vlo\u017Eit vertex, pokud nen\u00ED \u017E\u00E1dn\u00FD jin\u00FD v segmentu +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = Zru\u0161it ui.WorkbenchFrame.check-for-invalid-geometries = Zkontrolovat neplatnou geometrii. ui.WorkbenchFrame.close-all = Zav\u0159\u00EDt v\u0161e Modified: core/trunk/src/language/jump_de.properties =================================================================== --- core/trunk/src/language/jump_de.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_de.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1849,6 +1849,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = Punktdarstellung\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = Standardeinstellungen wiederherstellen ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Punkt einf\u00fcgen (falls keiner im Segment vorhanden) +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = Abbruch ui.WorkbenchFrame.check-for-invalid-geometries = Auf ung\u00fcltige Geometrien pr\u00fcfen. ui.WorkbenchFrame.close-all = Alles schliessen Modified: core/trunk/src/language/jump_es.properties =================================================================== --- core/trunk/src/language/jump_es.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_es.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -2419,6 +2419,9 @@ ui.WorkbenchFrame.do-you-really-want-to-close-openjump=\u00BFUsted realmente quiere cerrar OpenJUMP?\n{0} capas generadas autom\u00E1ticamente no se han guardadas todav\u00EDa. ui.WorkbenchFrame.do-you-really-want-to-close-the-project=\u00BFUsted realmente quiere cerrar el proyecto?\n{0} capas generadas autom\u00E1ticamente no se han guardadas todav\u00EDa. ui.WorkbenchFrame.do-you-want-to-close-them-also=Quieres cerrarlos tambi\u00E9n? +ui.WorkbenchFrame.save-project-before-closing-openjump=Quiere guardar el projecto seleccionado antes de salir OpenJUMP?? +ui.WorkbenchFrame.save-project-saved=El projecto esta guardado a fichero\n +ui.WorkbenchFrame.do-you-want-to-close-project= Quiere salir del projecto? ui.WorkbenchFrame.exit=Salir ui.WorkbenchFrame.exit-jump=Salir de OpenJUMP ui.WorkbenchFrame.has-been-modified=ha sido modificado Modified: core/trunk/src/language/jump_fi.properties =================================================================== --- core/trunk/src/language/jump_fi.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_fi.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -2473,6 +2473,9 @@ ui.wizard.WizardDialog.finish=Valmis ui.wizard.WizardDialog.next=Seuraava ui.wizard.WizardDialog.required-panel-missing=Pakollinen valikko puuttuu\: +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel=Peru ui.WorkbenchFrame.check-for-invalid-geometries=Virheellisten geometrioiden etsint\u00E4. ui.WorkbenchFrame.close-all=Sulje kaikki Modified: core/trunk/src/language/jump_fr.properties =================================================================== --- core/trunk/src/language/jump_fr.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_fr.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1857,6 +1857,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = Symbole des points\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = Options par d\u00e9faut ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Ins\u00e9rer un sommet dans le segment si n\u00e9cessaire +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = Annuler ui.WorkbenchFrame.check-for-invalid-geometries = D\u00e9tecte les g\u00e9om\u00e9tries non valides ui.WorkbenchFrame.close-all = Tout fermer Modified: core/trunk/src/language/jump_hu.properties =================================================================== --- core/trunk/src/language/jump_hu.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_hu.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1848,6 +1848,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = Pont st\u00EDlus\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = Alap\u00E9rtelmez\u00E9sek vissza\u00E1ll\u00EDt\u00E1sa ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = T\u00F6r\u00E9spont beill\u00E9szt\u00E9s, ha nincs a szakaszon +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = M\u00E9gsem ui.WorkbenchFrame.check-for-invalid-geometries = \u00C9rv\u00E9nytelen geometri\u00E1k ellen\u0151rz\u00E9se. ui.WorkbenchFrame.close-all = Mindent bez\u00E1r Modified: core/trunk/src/language/jump_it.properties =================================================================== --- core/trunk/src/language/jump_it.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_it.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -2408,6 +2408,9 @@ ui.wizard.WizardDialog.finish=OK ui.wizard.WizardDialog.next=Avanti ui.wizard.WizardDialog.required-panel-missing=Manca il menu necessario\: +ui.WorkbenchFrame.save-project-before-closing-openjump=Vuoi salvare il progetto selezionato prima di uscire da OpenJUMP? +ui.WorkbenchFrame.save-project-saved= Il progetto \xE8 stato salvato\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel=Annulla ui.WorkbenchFrame.check-for-invalid-geometries=Riconosce geometrie invalide. ui.WorkbenchFrame.close-all=Chiudi Tutto Modified: core/trunk/src/language/jump_ja_JP.properties =================================================================== --- core/trunk/src/language/jump_ja_JP.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_ja_JP.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1848,6 +1848,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \#T\:Point style\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \#T\:Restore default settings ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = \u7DDA\u5206\u306B\u30D0\u30FC\u30C6\u30C3\u30AF\u30B9\u304C\u306A\u3051\u308C\u3070\u5185\u633F\u3059\u308B +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = \u53D6\u308A\u6D88\u3057 ui.WorkbenchFrame.check-for-invalid-geometries = \u7121\u52B9\u306A\u30B8\u30AA\u30E1\u30C8\u30EA\u306E\u30C1\u30A7\u30C3\u30AF. ui.WorkbenchFrame.close-all = \u3059\u3079\u3066\u3092\u9589\u3058\u308B Modified: core/trunk/src/language/jump_ml.properties =================================================================== --- core/trunk/src/language/jump_ml.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_ml.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -2778,6 +2778,9 @@ #T:ui.SelectionStyllingOptionsPanel.PointStyle = Point style\: #T:ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = Restore default settings #T:ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Insert vertex if none in segment +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = \u0d31\u0d26\u0d4d\u0d26\u0d3e\u0d15\u0d4d\u0d15\u0d41\u0d15 ui.WorkbenchFrame.check-for-invalid-geometries = Check for invalid geometries. ui.WorkbenchFrame.close-all = \u0d0e\u0d32\u0d4d\u0d32\u0d3e\u0d02 \u0d05\u0d1f\u0d15\u0d4d\u0d15\u0d41\u0d15 Modified: core/trunk/src/language/jump_pt.properties =================================================================== --- core/trunk/src/language/jump_pt.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_pt.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1848,6 +1848,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \#T\:Point style\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \#T\:Restore default settings ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Insira um vertex se n\u00e3o existir nenhum no segimento +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = Cancelar ui.WorkbenchFrame.check-for-invalid-geometries = Checar geometrias inv\u00e1lidas. ui.WorkbenchFrame.close-all = Fechar tudo Modified: core/trunk/src/language/jump_pt_BR.properties =================================================================== --- core/trunk/src/language/jump_pt_BR.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_pt_BR.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1848,6 +1848,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \#T\:Point style\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \#T\:Restore default settings ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Inserir um v\u00e9rtice se o segmento tiver nenhum +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = Cancelar ui.WorkbenchFrame.check-for-invalid-geometries = Checar geometrias inv\u00e1lidas. ui.WorkbenchFrame.close-all = Fechar tudo Modified: core/trunk/src/language/jump_ta_IN.properties =================================================================== --- core/trunk/src/language/jump_ta_IN.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_ta_IN.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1846,6 +1846,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \u0BAA\u0BC1\u0BB3\u0BCD\u0BB3\u0BBF \u0BAA\u0BBE\u0BA3\u0BBF \: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \u0B87\u0BAF\u0BB2\u0BCD\u0BAA\u0BC1\u0BA8\u0BBF\u0BB2\u0BC8 \u0B85\u0BAE\u0BC8\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BC8 \u0BAE\u0BC0\u0B9F\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = Insert vertex if none in segment +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = \u0BB0\u0BA4\u0BCD\u0BA4\u0BC1\u0B9A\u0BC6\u0BAF\u0BCD ui.WorkbenchFrame.check-for-invalid-geometries = \u0B9A\u0BC6\u0BB2\u0BCD\u0BB2\u0BC1\u0BAA\u0B9F\u0BBF\u0BAF\u0BBE\u0B95\u0BBE\u0BA4 \u0BB5\u0B9F\u0BBF\u0BB5\u0BB5\u0BBF\u0BAF\u0BB2\u0BCD\u0B95\u0BB3\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD\u0BAF \u0B9A\u0BB0\u0BBF\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD. ui.WorkbenchFrame.close-all = \u0B85\u0BA9\u0BC8\u0BA4\u0BCD\u0BA4\u0BC1 \u0BAE\u0BC2\u0B9F\u0BB5\u0BC1\u0BAE\u0BCD Modified: core/trunk/src/language/jump_te.properties =================================================================== --- core/trunk/src/language/jump_te.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_te.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -2106,6 +2106,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \#T\: ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \#T\: ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = \#T\: +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = \#T\: ui.WorkbenchFrame.check-for-invalid-geometries = \#T\: ui.WorkbenchFrame.close-all = \#T\: Modified: core/trunk/src/language/jump_zh_CN.properties =================================================================== --- core/trunk/src/language/jump_zh_CN.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_zh_CN.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1987,6 +1987,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \u70b9\u578b\uff1a ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \u6062\u590d\u9ed8\u8ba4\u8bbe\u7f6e ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = \u5982\u679c\u6ca1\u6709\u63d2\u5165\u9876\u70b9\u5728\u6bb5 +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = \u53d6\u6d88 ui.WorkbenchFrame.check-for-invalid-geometries = \u68c0\u67e5\u65e0\u6548\u7684\u51e0\u4f55\u5f62\u72b6\u3002 ui.WorkbenchFrame.close-all = \u5173\u95ed\u6240\u6709 Modified: core/trunk/src/language/jump_zh_HK.properties =================================================================== --- core/trunk/src/language/jump_zh_HK.properties 2015-06-28 14:52:08 UTC (rev 4521) +++ core/trunk/src/language/jump_zh_HK.properties 2015-07-02 05:47:50 UTC (rev 4522) @@ -1985,6 +1985,9 @@ ui.SelectionStyllingOptionsPanel.PointStyle = \u9EDE\u578B\uFF1A ui.SelectionStyllingOptionsPanel.RestoreDefaultsSettings = \u6062\u5FA9\u9ED8\u8A8D\u8A2D\u7F6E ui.SnapVerticeToolsOptionsPanel.insert-vertex-if-none-in-segment = \u5982\u679C\u6C92\u6709\u63D2\u5165\u9802\u9EDE\u5728\u6BB5 +ui.WorkbenchFrame.save-project-before-closing-openjump= \#T\:Do you want to save selected project to file before closing OpenJUMP? +ui.WorkbenchFrame.save-project-saved= \#T\:Project file has been saved\n +ui.WorkbenchFrame.do-you-want-to-close-project= \#T\:Do you want to close the project? ui.WorkbenchFrame.cancel = \u53D6\u6D88 ui.WorkbenchFrame.check-for-invalid-geometries = \u6AA2\u67E5\u7121\u6548\u7684\u5E7E\u4F55\u5F62\u72C0\u3002 ui.WorkbenchFrame.close-all = \u95DC\u9589\u6240\u6709 |