Fix a unlocalized string.

This commit is contained in:
huanghongxun 2015-06-27 14:00:15 +08:00
parent 2f0d80cb26
commit 42ef2fe128
7 changed files with 15 additions and 12 deletions

View File

@ -1,8 +1,3 @@
import java.util.jar.JarOutputStream
import java.util.zip.ZipEntry
import java.util.zip.ZipFile
/* /*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com> * Copyright 2013 huangyuhui <huanghongxun2008@126.com>
* *
@ -19,6 +14,10 @@ import java.util.zip.ZipFile
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. * along with this program.
*/ */
import java.util.jar.JarOutputStream
import java.util.zip.ZipEntry
import java.util.zip.ZipFile
apply plugin: 'launch4j' apply plugin: 'launch4j'
apply plugin: 'me.tatarka.retrolambda' apply plugin: 'me.tatarka.retrolambda'
@ -85,7 +84,6 @@ task proguard(type: proguard.gradle.ProGuardTask, dependsOn: jar) {
injars injar injars injar
outjars outjar outjars outjar
printusage "shrinking_" + version + ".map"
printmapping "obfuscate_" + version + ".map" printmapping "obfuscate_" + version + ".map"
configuration 'proguard.pro' configuration 'proguard.pro'

View File

@ -18,6 +18,7 @@ package org.jackhuang.hellominecraft.launcher.utils.installers.optifine.vanilla;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.jackhuang.hellominecraft.C;
import org.jackhuang.hellominecraft.tasks.Task; import org.jackhuang.hellominecraft.tasks.Task;
import org.jackhuang.hellominecraft.tasks.communication.PreviousResult; import org.jackhuang.hellominecraft.tasks.communication.PreviousResult;
import org.jackhuang.hellominecraft.utils.NetUtils; import org.jackhuang.hellominecraft.utils.NetUtils;
@ -50,7 +51,7 @@ public class OptiFineDownloadFormatter extends Task implements PreviousResult<St
@Override @Override
public String getInfo() { public String getInfo() {
return "Get OptiFine Download Link."; return C.i18n("install.optifine.get_download_link");
} }
@Override @Override

View File

@ -86,7 +86,7 @@ public final class Settings {
System.exit(1); System.exit(1);
} }
} }
isFirstLoad = StrUtils.isBlank(settings.getUsername()); isFirstLoad = StrUtils.isBlank(c.getUsername());
} else { } else {
HMCLog.log("No settings file here, may be first loading."); HMCLog.log("No settings file here, may be first loading.");
isFirstLoad = true; isFirstLoad = true;

View File

@ -36,8 +36,9 @@ install.forge.get_list=\u83b7\u53d6Forge\u5217\u8868
install.forge.install=\u5b89\u88c5Forge install.forge.install=\u5b89\u88c5Forge
install.forge.get_changelogs=\u83b7\u53d6Forge\u66f4\u65b0\u8bb0\u5f55 install.forge.get_changelogs=\u83b7\u53d6Forge\u66f4\u65b0\u8bb0\u5f55
install.optifine.install=\u5b89\u88c5Optifine install.optifine.install=\u5b89\u88c5OptiFine
install.optifine.get_list=\u83b7\u53d6Optifine\u5217\u8868 install.optifine.get_list=\u83b7\u53d6OptiFine\u5217\u8868
install.optifine.get_download_link=\u83b7\u53d6OptiFine\u4e0b\u8f7d\u5730\u5740
install.failed_forge=\u5b89\u88c5Forge\u5931\u8d25 install.failed_forge=\u5b89\u88c5Forge\u5931\u8d25
install.failed_optifine=\u5b89\u88c5Optifine\u5931\u8d25 install.failed_optifine=\u5b89\u88c5Optifine\u5931\u8d25

View File

@ -36,8 +36,9 @@ install.forge.get_list=Get Forge List
install.forge.install=Install Forge install.forge.install=Install Forge
install.forge.get_changelogs=Get Forge Changelogs install.forge.get_changelogs=Get Forge Changelogs
install.optifine.install=Install Optifine install.optifine.install=Install OptiFine
install.optifine.get_list=Get OptifineList install.optifine.get_list=Get OptiFine Download List
install.optifine.get_download_link=Get the Download Link of OptiFine
install.failed_forge=Failed to Install Forge install.failed_forge=Failed to Install Forge
install.failed_optifine=Failed to Install Optifine install.failed_optifine=Failed to Install Optifine

View File

@ -38,6 +38,7 @@ install.forge.get_changelogs=\u83b7\u53d6Forge\u66f4\u65b0\u8bb0\u5f55
install.optifine.install=\u5b89\u88c5Optifine install.optifine.install=\u5b89\u88c5Optifine
install.optifine.get_list=\u83b7\u53d6Optifine\u5217\u8868 install.optifine.get_list=\u83b7\u53d6Optifine\u5217\u8868
install.optifine.get_download_link=\u83b7\u53d6OptiFine\u4e0b\u8f7d\u5730\u5740
install.failed_forge=\u5b89\u88c5Forge\u5931\u8d25 install.failed_forge=\u5b89\u88c5Forge\u5931\u8d25
install.failed_optifine=\u5b89\u88c5Optifine\u5931\u8d25 install.failed_optifine=\u5b89\u88c5Optifine\u5931\u8d25

View File

@ -38,6 +38,7 @@ install.forge.get_changelogs=\u7372\u53d6Forge\u66f4\u65b0\u8a18\u9304
install.optifine.install=\u5b89\u88ddOptifine install.optifine.install=\u5b89\u88ddOptifine
install.optifine.get_list=\u7372\u53d6Optifine\u5217\u8868 install.optifine.get_list=\u7372\u53d6Optifine\u5217\u8868
install.optifine.get_download_link=\u7372\u53d6OptiFine\u4e0b\u8f7d\u5730\u5740
install.failed_forge=\u5b89\u88ddForge\u5931\u6557 install.failed_forge=\u5b89\u88ddForge\u5931\u6557
install.failed_optifine=\u5b89\u88ddOptifine\u5931\u6557 install.failed_optifine=\u5b89\u88ddOptifine\u5931\u6557