missing translations

This commit is contained in:
Honfika
2014-01-26 16:42:19 +01:00
parent 8578493b95
commit 11f6baebed
6 changed files with 26 additions and 8 deletions

View File

@@ -285,10 +285,10 @@ public class LoadFromMemoryFrame extends AppFrame implements ActionListener {
return false;
}
};
resTableModel.addColumn("Version");
resTableModel.addColumn("FileSize");
resTableModel.addColumn("PID");
resTableModel.addColumn("ProcessName");
resTableModel.addColumn(translate("column.version"));
resTableModel.addColumn(translate("column.fileSize"));
resTableModel.addColumn(translate("column.pid"));
resTableModel.addColumn(translate("column.processName"));
tableRes = new JTable(resTableModel);
TableRowSorter<DefaultTableModel> sorter = new TableRowSorter<>(resTableModel);
tableRes.setRowSorter(sorter);

View File

@@ -453,7 +453,7 @@ public class Main {
try {
File file = new File(swfFile);
if (!file.exists()) {
View.showMessageDialog(null, "File not found", "Error", JOptionPane.ERROR_MESSAGE);
View.showMessageDialog(null, AppStrings.translate("open.error.fileNotFound"), AppStrings.translate("open.error"), JOptionPane.ERROR_MESSAGE);
return OpenFileResult.NOT_FOUND;
}
swfFile = file.getCanonicalPath();
@@ -462,7 +462,7 @@ public class Main {
OpenFileResult openResult = openFile(sourceInfo);
return openResult;
} catch (IOException ex) {
View.showMessageDialog(null, "Cannot open file", "Error", JOptionPane.ERROR_MESSAGE);
View.showMessageDialog(null, AppStrings.translate("open.error.cannotOpen"), AppStrings.translate("open.error"), JOptionPane.ERROR_MESSAGE);
return OpenFileResult.ERROR;
}
}

View File

@@ -23,4 +23,9 @@ swfitem = [SWF version %version% size %size%]
notfound = No SWF found
#after version 1.7.1:
button.save = Save
button.save = Save
column.version = Version
column.fileSize = File Size
column.pid = PID
column.processName = Process Name

View File

@@ -24,3 +24,8 @@ notfound = Nem tal\u00e1lhat\u00f3 SWF
#after version 1.7.1:
button.save = Ment\u00e9s
column.version = Verzi\u00f3
column.fileSize = F\u00e1jl m\u00e9ret
column.pid = PID
column.processName = Folyamat neve

View File

@@ -428,3 +428,7 @@ contextmenu.moveTag = Move tag to
filter.swc = SWC component files (*.swc)
filter.zip = ZIP compressed files (*.zip)
filter.binary = Binary search - all files (*.*)
open.error = Error
open.error.fileNotFound = File not found
open.error.cannotOpen = Cannot open file

View File

@@ -423,4 +423,8 @@ decompilation.unsupported = Visszaford\u00edt\u00e1s nem t\u00e1mogatott
decompilerMark = visszaford\u00edt\u00e1si jel
fontNotFound = Bet\u0171t\u00edpus (id=%fontId%) nem tal\u00e1lhat\u00f3.
contextmenu.moveTag = \u00c1thelyez\u00e9s ide
contextmenu.moveTag = \u00c1thelyez\u00e9s ide
open.error = Hiba
open.error.fileNotFound = F\u00e1jl nem tal\u00e1lhat\u00f3
open.error.cannotOpen = Nem lehet megnyitni a f\u00e1jlt