mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 23:50:46 +00:00
Added Translator tool for easier localization
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user