dialog icon and titles

This commit is contained in:
Honfika
2014-01-02 23:28:53 +01:00
parent ba3bbc9710
commit 55b4b5c381
9 changed files with 37 additions and 12 deletions

View File

@@ -287,7 +287,7 @@ public class TagNode implements TreeNode {
return new ArrayList<>();
}
public static List<File> exportNodeAS(AbortRetryIgnoreHandler handler, List<TagNode> nodeList, String outdir, ExportMode exportMode, AtomicInteger index, int count, EventListener ev) throws IOException {
private static List<File> exportNodeAS(AbortRetryIgnoreHandler handler, List<TagNode> nodeList, String outdir, ExportMode exportMode, AtomicInteger index, int count, EventListener ev) throws IOException {
File dir = new File(outdir);
List<File> ret = new ArrayList<>();
if (!outdir.endsWith(File.separator)) {

View File

@@ -3,6 +3,9 @@
<Form version="1.5" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="2"/>
<Property name="title" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jpexs/decompiler/flash/gui/locales/AdvancedSettingsDialog.properties" key="advancedSettings.dialog.title" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
</Property>
<Property name="modal" type="boolean" value="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[600, 400]"/>

View File

@@ -84,6 +84,8 @@ public class AdvancedSettingsDialog extends AppDialog {
btnReset = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("com/jpexs/decompiler/flash/gui/locales/AdvancedSettingsDialog"); // NOI18N
setTitle(bundle.getString("advancedSettings.dialog.title")); // NOI18N
setModal(true);
setPreferredSize(new java.awt.Dimension(600, 400));

View File

@@ -3,6 +3,12 @@
<Form version="1.3" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="2"/>
<Property name="title" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jpexs/decompiler/flash/gui/locales/FontPreviewDialog.properties" key="fontPreview.dialog.title" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
</Property>
<Property name="iconImage" type="java.awt.Image" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="default"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[1024, 512]"/>
</Property>

View File

@@ -42,6 +42,8 @@ public class FontPreviewDialog extends AppDialog {
super();
setModal(true);
initComponents();
View.setWindowIcon(this);
labelSample12.setFont(font.deriveFont(Font.PLAIN, 12));
labelSample18.setFont(font.deriveFont(Font.PLAIN, 18));
labelSample24.setFont(font.deriveFont(Font.PLAIN, 24));
@@ -118,6 +120,8 @@ public class FontPreviewDialog extends AppDialog {
labelFontName = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("com/jpexs/decompiler/flash/gui/locales/FontPreviewDialog"); // NOI18N
setTitle(bundle.getString("fontPreview.dialog.title")); // NOI18N
setPreferredSize(new java.awt.Dimension(1024, 512));
addComponentListener(new java.awt.event.ComponentAdapter() {
public void componentMoved(java.awt.event.ComponentEvent evt) {
@@ -231,8 +235,8 @@ public class FontPreviewDialog extends AppDialog {
}
});
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("com/jpexs/decompiler/flash/gui/locales/MainFrame"); // NOI18N
jLabel1.setText(bundle.getString("font.name")); // NOI18N
java.util.ResourceBundle bundle1 = java.util.ResourceBundle.getBundle("com/jpexs/decompiler/flash/gui/locales/MainFrame"); // NOI18N
jLabel1.setText(bundle1.getString("font.name")); // NOI18N
labelFontName.setText("-");

View File

@@ -13,4 +13,5 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
advancedSettings.dialog.title = Advanced Settings
advancedSettings.restartConfirmation = You must restart the program for some modifications to take effect. Do you want to restart it now?

View File

@@ -13,4 +13,5 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
advancedSettings.dialog.title = Halad\u00f3 be\u00e1ll\u00edt\u00e1sok
advancedSettings.restartConfirmation = N\u00e9h\u00e1ny m\u00f3dos\u00edt\u00e1s \u00e9rv\u00e9nybel\u00e9p\u00e9s\u00e9het a programot \u00fajra kell ind\u00edtani. Szeretn\u00e9 \u00fajraind\u00edtani most?

View File

@@ -13,12 +13,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
version = version
by = by
button.ok = OK
dialog.title = About
contributors = Contributors:
#In the translation, replace "english" with target language name
translation.author.label = Author of english translation:
#In the translation, insert your name here
translation.author = JPEXS
fontPreview.dialog.title = Font preview

View File

@@ -0,0 +1,16 @@
# Copyright (C) 2013 JPEXS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
fontPreview.dialog.title = Bet\u0171t\u00edpus el\u0151n\u00e9zet