From 0f353593af4ced3383cacca954a734b0e8d37027 Mon Sep 17 00:00:00 2001 From: pahimar Date: Sat, 3 Nov 2012 22:11:41 -0400 Subject: [PATCH] Updated the EE3 link thread in the localizations, finally fixed the derp in the pl_PL.xml localization (missing /), and fixed my own derp in keybinding localization (I wasn't doing it properly). --- ee3_client/ee3/client/core/ClientProxy.java | 2 +- .../ee3/client/core/handlers/KeyBindingHandler.java | 5 ++++- ee3_common/ee3/common/network/PacketKeyPressed.java | 2 +- resources/ee3/lang/cs_CZ.xml | 2 +- resources/ee3/lang/cy_GB.xml | 2 +- resources/ee3/lang/de_DE.xml | 2 +- resources/ee3/lang/en_US.xml | 2 +- resources/ee3/lang/es_ES.xml | 2 +- resources/ee3/lang/fr_FR.xml | 2 +- resources/ee3/lang/ja_JP.xml | 2 +- resources/ee3/lang/nl_NL.xml | 2 +- resources/ee3/lang/pl_PL.xml | 8 ++++---- resources/ee3/lang/pt_PT.xml | 2 +- resources/ee3/lang/ru_RU.xml | 2 +- resources/ee3/lang/sr_RS.xml | 2 +- resources/ee3/lang/sv_SE.xml | 2 +- resources/ee3/lang/zh_CN.xml | 2 +- 17 files changed, 23 insertions(+), 20 deletions(-) diff --git a/ee3_client/ee3/client/core/ClientProxy.java b/ee3_client/ee3/client/core/ClientProxy.java index 9bd196ff..c5063c27 100644 --- a/ee3_client/ee3/client/core/ClientProxy.java +++ b/ee3_client/ee3/client/core/ClientProxy.java @@ -41,7 +41,7 @@ public class ClientProxy extends CommonProxy { @Override public void setKeyBinding(String name, int value) { - KeyBindingHelper.addKeyBinding(LanguageRegistry.instance().getStringLocalization(name), value); + KeyBindingHelper.addKeyBinding(name, value); KeyBindingHelper.addIsRepeating(false); } diff --git a/ee3_client/ee3/client/core/handlers/KeyBindingHandler.java b/ee3_client/ee3/client/core/handlers/KeyBindingHandler.java index d0dc277d..e53a60ae 100644 --- a/ee3_client/ee3/client/core/handlers/KeyBindingHandler.java +++ b/ee3_client/ee3/client/core/handlers/KeyBindingHandler.java @@ -1,6 +1,7 @@ package ee3.client.core.handlers; import java.util.EnumSet; +import java.util.logging.Level; import net.minecraft.src.EntityClientPlayerMP; import net.minecraft.src.Item; @@ -13,6 +14,7 @@ import cpw.mods.fml.common.network.PacketDispatcher; import cpw.mods.fml.common.registry.LanguageRegistry; import ee3.client.core.helper.KeyBindingHelper; import ee3.common.EquivalentExchange3; +import ee3.common.core.helper.LogHelper; import ee3.common.item.ITransmutationStone; import ee3.common.item.ModItems; import ee3.common.lib.GuiIds; @@ -47,7 +49,8 @@ public class KeyBindingHandler extends KeyBindingRegistry.KeyHandler { if (tickEnd) { // If we are not in a GUI of any kind, continue execution if (FMLClientHandler.instance().getClient().currentScreen == null) { - if (kb.keyDescription == getLocalizedKey(Reference.KEYBINDING_EXTRA)) { + System.out.println(kb.keyDescription); + if (kb.keyDescription == Reference.KEYBINDING_EXTRA) { ItemStack currentItem = FMLClientHandler.instance().getClient().thePlayer.getCurrentEquippedItem(); if (currentItem != null) { diff --git a/ee3_common/ee3/common/network/PacketKeyPressed.java b/ee3_common/ee3/common/network/PacketKeyPressed.java index 2251de71..f7978b4d 100644 --- a/ee3_common/ee3/common/network/PacketKeyPressed.java +++ b/ee3_common/ee3/common/network/PacketKeyPressed.java @@ -54,7 +54,7 @@ public class PacketKeyPressed extends PacketEE { public void execute(INetworkManager manager, Player player) { EntityPlayer thePlayer = (EntityPlayer) player; - if ((this.key.equals(LanguageRegistry.instance().getStringLocalization(Reference.KEYBINDING_EXTRA))) && (thePlayer.getCurrentEquippedItem().getItem() instanceof ITransmutationStone)) { + if ((this.key.equals(Reference.KEYBINDING_EXTRA)) && (thePlayer.getCurrentEquippedItem().getItem() instanceof ITransmutationStone)) { thePlayer.openGui(EquivalentExchange3.instance, GuiIds.PORTABLE_CRAFTING, thePlayer.worldObj, (int)thePlayer.posX, (int)thePlayer.posY, (int)thePlayer.posZ); } } diff --git a/resources/ee3/lang/cs_CZ.xml b/resources/ee3/lang/cs_CZ.xml index 4ff2ff33..9b6233a6 100644 --- a/resources/ee3/lang/cs_CZ.xml +++ b/resources/ee3/lang/cs_CZ.xml @@ -20,7 +20,7 @@ Provádím kontrolu verze, vzdálený soubor umístěn na Kontrola verze neproběhla úspěšně (nezdařila se inicializace) Používáte nejaktuálnější verzi, která je pro vaši verzi Minecraftu - Používáte neaktuální verzi; zvažte aktualizaci - http://goo.gl/sNcGl + Používáte neaktuální verzi; zvažte aktualizaci - http://goo.gl/Ria2V Chyba při připojování k servru poskytujícímu informace o verzi (je v pořádku vaše připojení k Internetu?) Kontrola verze deaktivována, přeskakuji diff --git a/resources/ee3/lang/cy_GB.xml b/resources/ee3/lang/cy_GB.xml index ffcaf745..2d56d5a9 100644 --- a/resources/ee3/lang/cy_GB.xml +++ b/resources/ee3/lang/cy_GB.xml @@ -17,7 +17,7 @@ Ymgychwynnu gwiriad fersiwn yn erbyn y ffeil awdurdod fersiwn o bell, a leolir ar Ni gyflawnwyd y gwiriad fersiwn yn llwyddiannus (ni ymgychwynodd y gwiriad fersiwn yn briodol) Rydych yn defnyddio y fersiwn diweddaraf ar gyfer eich fersiwn o Minecraft - Rydych yn defnyddio fersiwn wedi dyddio; cysidrwch diweddaru yma - http://goo.gl/sNcGl + Rydych yn defnyddio fersiwn wedi dyddio; cysidrwch diweddaru yma - http://goo.gl/Ria2V Gwall wrth drio cysylltu gyda'r ffeil awdurdod fersiwn o bell (Gwiriwch eich cysylltiad rhwydwaith) Gwiriad fersiwn o bell wedi'i ddiffodd, esgusodid diff --git a/resources/ee3/lang/de_DE.xml b/resources/ee3/lang/de_DE.xml index 06fef7d7..738f0a53 100644 --- a/resources/ee3/lang/de_DE.xml +++ b/resources/ee3/lang/de_DE.xml @@ -18,7 +18,7 @@ Initialisiere Versionsvergleich mit der Remotedatei, die sich auf folgendem Server befindet Die Versionsprüfung wurde nicht erfolgreich abgeschlossen (Versionsprüfung wurde nicht entsprechend initialisiert) Du benutzt gerade die aktuellste Version für deine Minecraft-Version - Du benutzt gerade eine veraltete Version; bitte ziehe es in Betracht sie hier zu updaten - http://goo.gl/sNcGl + Du benutzt gerade eine veraltete Version; bitte ziehe es in Betracht sie hier zu updaten - http://goo.gl/Ria2V Fehler bei der Verbindung zur Remotedatei(überprüfe bitte deine Internetverbindung) Versionsvergleich mit der Remotedatei deaktiviert, überspringe diff --git a/resources/ee3/lang/en_US.xml b/resources/ee3/lang/en_US.xml index d291d238..00ec7c95 100644 --- a/resources/ee3/lang/en_US.xml +++ b/resources/ee3/lang/en_US.xml @@ -18,7 +18,7 @@ Initializing version check against the remote version authority file, located at The version check did not complete successfully (version check did not initialize properly) You are currently using the most up to date version for your version of Minecraft - You are currently using an out of date version; consider updating here - http://goo.gl/sNcGl + You are currently using an out of date version; consider updating here - http://goo.gl/Ria2V Error connecting to the remote version authority file (check your Internet connection?) Remote version check disabled, skipping diff --git a/resources/ee3/lang/es_ES.xml b/resources/ee3/lang/es_ES.xml index 2a8fa9b4..02bfc87c 100644 --- a/resources/ee3/lang/es_ES.xml +++ b/resources/ee3/lang/es_ES.xml @@ -17,7 +17,7 @@ Inicializando chequeo de versión contra el archivo autoritario remoto, ubicado en El chequeo de versiones no se completó exitosamente (el chequeo de versiones no se inicializó correctamente) Actualmente estás usando la versión más actualizada para tu versión de Minecraft - Actualmente estás usando una versión desactualizada; considera actualizarla aquí - http://goo.gl/sNcGl + Actualmente estás usando una versión desactualizada; considera actualizarla aquí - http://goo.gl/Ria2V Error al conectar con el archivo autoritario remoto (¿Comprueba tu conexión a internet?) Chequeo remoto de versiones desactivado, omitiendo diff --git a/resources/ee3/lang/fr_FR.xml b/resources/ee3/lang/fr_FR.xml index 8dab7323..b30ec8d1 100644 --- a/resources/ee3/lang/fr_FR.xml +++ b/resources/ee3/lang/fr_FR.xml @@ -15,7 +15,7 @@ Lancement de la vérification de votre version par rapport à cette de reference : Le lancement de la vérification a échoué Vous utilisez la version la plus à jour pour votre version de Minecraft - Vous utilisez une verison obsolète, pensez à effecuter une mise a jour ici - http://goo.gl/sNcGl + Vous utilisez une verison obsolète, pensez à effecuter une mise a jour ici - http://goo.gl/Ria2V Erreur de connexion vers la version de référence (vérifiez votre connexion internet ?) Verification de version désactiée diff --git a/resources/ee3/lang/ja_JP.xml b/resources/ee3/lang/ja_JP.xml index 307b9b42..ba060be5 100644 --- a/resources/ee3/lang/ja_JP.xml +++ b/resources/ee3/lang/ja_JP.xml @@ -18,7 +18,7 @@ オンラインバージョンチェックの初期化中。場所: バージョンチェックに失敗しました。 (初期化に失敗しました。) Minecraft本体に適合する最新バージョンです。 - 古いバージョンが使用されています。 http://goo.gl/sNcGl からアップデートしてください。 + 古いバージョンが使用されています。 http://goo.gl/Ria2V からアップデートしてください。 リモートのバージョン情報ファイルへ接続中にエラーが発生しました。インターネット接続を確認してください。 オンラインバージョンチェックは無効化されています。処理をスキップします。 \ No newline at end of file diff --git a/resources/ee3/lang/nl_NL.xml b/resources/ee3/lang/nl_NL.xml index 7d04cd4b..ee1acef0 100644 --- a/resources/ee3/lang/nl_NL.xml +++ b/resources/ee3/lang/nl_NL.xml @@ -16,7 +16,7 @@ Initialisatie versiecontrole tegen extern versie bestand, te vinden op De versiecontrole is niet geslaagd (versiecontrole niet correct gestart) Je gebruikt momenteel de meest recente versie voor jouw Minecraft versie - Je gebruikt momenteel een verouderde versie; overweeg om up te daten - http://goo.gl/sNcGl + Je gebruikt momenteel een verouderde versie; overweeg om up te daten - http://goo.gl/Ria2V Fout bij het verbinden met het extern versiecontrole bestand (controleer je internetverbinding) Externe versiecontrole uitgeschakeld, wordt overgeslagen diff --git a/resources/ee3/lang/pl_PL.xml b/resources/ee3/lang/pl_PL.xml index 540be5c8..38a4957a 100644 --- a/resources/ee3/lang/pl_PL.xml +++ b/resources/ee3/lang/pl_PL.xml @@ -4,8 +4,8 @@ Polish (PL) Localization File Dodatkowa funkcja Wypuść - Przełączanie - \U0141aduj + Przełączanie + Ładuj Odłamek Minium Kamień Inercyjny Kamień Minium @@ -15,10 +15,10 @@ Kalcynator Kalcynator Equivalent Exchange 3 - Inicjowanie sprawdzania wersji względem zdalnego pliku autoryzacji, umieszczonego na + Inicjowanie sprawdzania wersji względem zdalnego pliku autoryzacji, umieszczonego na Sprawdzenie wersji nie zakończyło się sukcesem (Sprawdzanie wersji nie zostało poprawnie zainicjowane) Korzystasz aktualnie z najaktualniejszej wersji dla Twojej wersji Minecraft - Korzystasz aktualnie ze starszej wersji moda; Pomyśl nad aktualizacją tutaj - http://goo.gl/sNcGl + Korzystasz aktualnie ze starszej wersji moda; Pomyśl nad aktualizacją tutaj - http://goo.gl/Ria2V Wystąpił bład podczas łaczenia ze zdalnym plikiem wersji (sprawdź Twoje połączenie z Internetem?) Zdalne sprawdzanie wersji wyłączone, pomijanie diff --git a/resources/ee3/lang/pt_PT.xml b/resources/ee3/lang/pt_PT.xml index afb079ee..d0162bdd 100644 --- a/resources/ee3/lang/pt_PT.xml +++ b/resources/ee3/lang/pt_PT.xml @@ -18,7 +18,7 @@ A inicializar verificação da versão contra o ficheiro autoritário de versão remoto, localizado em A verificação da versão não concluiu com sucesso (a verificação da versão não inicializou correctamente) Estás actualmente a usar a versão mais actualizada para a tua versão do Minecraft - Estás actualmente a usar uma versão desactualizada; considera actualizar aqui - http://goo.gl/sNcGl + Estás actualmente a usar uma versão desactualizada; considera actualizar aqui - http://goo.gl/Ria2V Erro ao ligar ao ficheiro autoritário de versão remoto (verifica a tua ligação de Internet?) Verificação de versão remota desactivada, a ignorar diff --git a/resources/ee3/lang/ru_RU.xml b/resources/ee3/lang/ru_RU.xml index 1bd7ded2..d649b7bc 100644 --- a/resources/ee3/lang/ru_RU.xml +++ b/resources/ee3/lang/ru_RU.xml @@ -17,7 +17,7 @@ Инициализация проверки версии в удаленном файле, находящемся на Проверка версии не была завершена успешно (проверка версии не инициализирована правильно) Вы используете самую последнюю версию для вашей версии Minecraft - Вы используете устаревшую версию, обновите здесь - http://goo.gl/sNcGl + Вы используете устаревшую версию, обновите здесь - http://goo.gl/Ria2V Ошибка подключения к удаленному файлу (проверьте подключение к Интернету) Удаленная проверка версии отключена, пропуск diff --git a/resources/ee3/lang/sr_RS.xml b/resources/ee3/lang/sr_RS.xml index 2898e36a..6baf87c7 100644 --- a/resources/ee3/lang/sr_RS.xml +++ b/resources/ee3/lang/sr_RS.xml @@ -18,7 +18,7 @@ Покретање верзије провера према Приступу удаљеним фајловима верзије ауторитета, који се налази у Провера Верзије није успешно завршена (верзија провере није покренута правилно) Ви тренутно користите најновију верзију за мајнкрафт - Ви тренутно користите застарелу верзију; Размотрити надоградљу на - http://goo.gl/sNcGl + Ви тренутно користите застарелу верзију; Размотрити надоградљу на - http://goo.gl/Ria2V Грешка у повезивању удаљене верзије ауторетета податка (Погледајте вашу конекцију?) Провера верзије је искључено, Прескочено \ No newline at end of file diff --git a/resources/ee3/lang/sv_SE.xml b/resources/ee3/lang/sv_SE.xml index a2d93f19..d8223cae 100644 --- a/resources/ee3/lang/sv_SE.xml +++ b/resources/ee3/lang/sv_SE.xml @@ -17,7 +17,7 @@ Initierar versionskontroll mot fjärrversions auktoritetsfil, lokaliserad vid Versionskontrollen misslyckades (Versionskontrollen initierades inte korrekt) Du använder den mest uppdaterade versionen för din version av Minecraft - Du använder en utdaterad version; överväg att uppdatera här - http://goo.gl/sNcGl + Du använder en utdaterad version; överväg att uppdatera här - http://goo.gl/Ria2V Misslyckades med att ansluta till fjärrversions auktoritetsfil (Kontrollera din internetanslutning?) Fjärrversions versionskontroll inaktiverad, hoppar över diff --git a/resources/ee3/lang/zh_CN.xml b/resources/ee3/lang/zh_CN.xml index 288497f6..cb378b2c 100644 --- a/resources/ee3/lang/zh_CN.xml +++ b/resources/ee3/lang/zh_CN.xml @@ -18,7 +18,7 @@ Initializing version check against the remote version authority file, located at The version check did not complete successfully (version check did not initialize properly) You are currently using the most up to date version for your version of Minecraft - You are currently using an out of date version; consider updating here - http://goo.gl/sNcGl + You are currently using an out of date version; consider updating here - http://goo.gl/Ria2V Error connecting to the remote version authority file (check your Internet connection?) Remote version check disabled, skipping \ No newline at end of file