Added Translator tool for easier localization

This commit is contained in:
Jindra Petřík
2022-11-30 22:58:35 +01:00
parent 5a2d75933d
commit 4f4c22006d
15 changed files with 2457 additions and 17 deletions
@@ -216,6 +216,7 @@ import java.util.concurrent.atomic.AtomicInteger;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.jpexs.decompiler.flash.Bundle;
import com.jpexs.decompiler.flash.gui.translator.Translator;
/**
*
@@ -908,7 +909,9 @@ public class CommandLineArgumentParser {
command = nextParam.substring(1);
}
if (command.equals("swf2exe")) {
if (command.equals("translator")) {
Translator.main(new String[]{});
} else if (command.equals("swf2exe")) {
parseSwf2Exe(args, charset);
} else if (command.equals("abcmerge")) {
parseAbcMerge(args, charset);
+1 -1
View File
@@ -152,7 +152,7 @@ public class View {
* Sets windows Look and Feel
*/
public static void setLookAndFeel() {
// Save default font for Chinese characters
final Font defaultFont = (new JLabel()).getFont();
try {
File diff suppressed because it is too large Load Diff