Revision 592 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.swing/org.gvsig.scripting.swing.impl/src/main/java/org/gvsig/scripting/swing/impl/composer/DefaultJScriptingComposer.java
DefaultJScriptingComposer.java | ||
---|---|---|
1186 | 1186 |
scriptEditors.repaint(); |
1187 | 1187 |
return; |
1188 | 1188 |
} |
1189 |
|
|
1189 |
I18nManager i18nManager = ToolsLocator.getI18nManager(); |
|
1190 | 1190 |
scriptEdit(script); |
1191 | 1191 |
respuesta = JOptionPane.showConfirmDialog( |
1192 | 1192 |
scriptEditors, |
1193 |
"'" + title.substring(1) + "' " + this.uimanager.getTranslation("project_modified"), |
|
1194 |
this.uimanager.getTranslation("projects_modified_title"), |
|
1193 |
i18nManager.getTranslation("_The_script_XscriptnameX_is_modified", |
|
1194 |
new String[] { title }) |
|
1195 |
+ "\n\n" |
|
1196 |
+ i18nManager.getTranslation("_Do_you_want_to_save_changes_XquestionX"), |
|
1197 |
i18nManager.getTranslation("_Save_changes_XquestionX"), |
|
1195 | 1198 |
JOptionPane.YES_NO_CANCEL_OPTION |
1196 | 1199 |
); |
1197 | 1200 |
switch (respuesta) { |
Also available in: Unified diff