Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
v1.3 Update to add new language inject event
- Loading branch information
Showing
9 changed files
with
314 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/main/java/net/doubledoordev/d3core/events/D3LanguageInjectEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (c) 2014-2016, Dries007 & DoubleDoorDevelopment | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are met: | ||
* | ||
* Redistributions of source code must retain the above copyright notice, this | ||
* list of conditions and the following disclaimer. | ||
* | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
* this list of conditions and the following disclaimer in the documentation | ||
* and/or other materials provided with the distribution. | ||
* | ||
* Neither the name of DoubleDoorDevelopment nor the names of its | ||
* contributors may be used to endorse or promote products derived from | ||
* this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
* | ||
*/ | ||
|
||
package net.doubledoordev.d3core.events; | ||
|
||
import net.minecraft.client.resources.I18n; | ||
import net.minecraftforge.fml.common.eventhandler.Event; | ||
|
||
import java.util.Map; | ||
|
||
public class D3LanguageInjectEvent extends Event | ||
{ | ||
public final Map<String, String> map; | ||
|
||
public D3LanguageInjectEvent() | ||
{ | ||
this.map = I18n.i18nLocale.properties; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
d3.core.config.title=D³ configuration screen | ||
|
||
d3.core.config.core=Core config | ||
d3.core.config.core.tooltip=Applies to all D³ mods | ||
|
||
d3.core.config.debug=Debug mode | ||
d3.core.config.debug.tooltip=Please enable before making a bug report. | ||
|
||
d3.core.config.printDeathCoords=Print your death coordinates in chat (client side) | ||
d3.core.config.printDeathCoords.tooltip=Contains a clickable TP command thing too! | ||
|
||
d3.core.config.Silliness=Enable silliness | ||
d3.core.config.Silliness.tooltip=Please don't disable, unless you want to piss off the D³ crew :p But seriously, you can disable name changes, drops and block helmets with this setting. | ||
|
||
d3.core.config.achievementFireworks=Achievement is Fireworks! | ||
d3.core.config.achievementFireworks.tooltip=I made this just to annoy Clay & James. Have fun with it! | ||
|
||
d3.core.config.tooltips=Tooltips | ||
d3.core.config.tooltips.tooltip=Item hover options, toggle with F3 + H | ||
|
||
d3.core.config.tooltips.enableStringID=Enable StringID | ||
d3.core.config.tooltips.enableStringID.tooltip=Example: minecraft:gold_ore | ||
|
||
d3.core.config.tooltips.enableUnlocalizedName=Enable Unlocalized Name | ||
d3.core.config.tooltips.enableUnlocalizedName.tooltip=Example: tile.oreGold | ||
|
||
d3.core.config.tooltips.enableOreDictionary=Enable OreDictionary | ||
d3.core.config.tooltips.enableOreDictionary.tooltip=Example: oreGold | ||
|
||
d3.core.config.EndermanGriefing=Enderman Griefing | ||
d3.core.config.EndermanGriefing.tooltip=Modify Enderman griefing | ||
|
||
d3.core.config.EndermanGriefing.disable=Disable | ||
d3.core.config.EndermanGriefing.disable.tooltip=Disable Enderman griefing completely. | ||
|
||
d3.core.config.EndermanGriefing.dropCarrying=Drop Carrying | ||
d3.core.config.EndermanGriefing.dropCarrying.tooltip=Made Enderman drop there carrying block on death. | ||
|
||
d3.core.config.EndermanGriefing.blacklist=Blacklist | ||
d3.core.config.EndermanGriefing.blacklist.tooltip=List of blocks (minecraft:stone) that will never be allowed to be picked up. | ||
|
||
d3.core.config.EndermanGriefing.addlist=Addlist | ||
d3.core.config.EndermanGriefing.addlist.tooltip=List of blocks (minecraft:stone) that will be added to the list of blocks Enderman pick up. | ||
|
||
commands.d3group.usage='/d3group help' for help | ||
commands.d3group.help.new=/d3group new <group> [parent group] | ||
commands.d3group.help.remove=/d3group remove <group> | ||
commands.d3group.help.node.add=/d3group node <group> add <permission node> | ||
commands.d3group.help.node.remove=/d3group node <group> remove <permission node> | ||
commands.d3group.help.parent.set=/d3group parent <group> set <parent group> | ||
commands.d3group.help.parent.clear=/d3group parent <group> clear | ||
|
||
d3.core.cmd.setloginmessage.success=Set login message! | ||
d3.core.cmd.setloginmessage.removed=Removed login message! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
d3.core.config.title=Ekran konfiguracji D³ | ||
|
||
d3.core.config.core=Konfiguracja rdzenia | ||
d3.core.config.core.tooltip=Działa na wszystkie mody D³ | ||
|
||
d3.core.config.debug=Tryb debugowania | ||
d3.core.config.debug.tooltip=Proszę włączyć przed reportowaniem bugów. | ||
|
||
d3.core.config.silliness=Włącz głupoty | ||
d3.core.config.silliness.tooltip=Proszę nie wyłączać, chyba, że chcesz wkurzyć ekipę D³ :p Ale poważnie, możesz wyłączyć zmiany nazw, wypadające przedmioty i blokować hełmy tym ustawieniem. | ||
|
||
d3.core.config.updateWarning=Ostrzeżenia o uaktualnieniach | ||
d3.core.config.updateWarning.tooltip=Proszę nie wyłączać, chyba, że używasz paczki modów. | ||
|
||
commands.d3group.usage='/d3group help' dla pomocy | ||
commands.d3group.help.new=/d3group new <grupa> [grupa nadrzędna] | ||
commands.d3group.help.remove=/d3group remove <grupa> | ||
commands.d3group.help.node.add=/d3group node <grupa> add <węzeł uprawnień> | ||
commands.d3group.help.node.remove=/d3group node <grupa> remove <węzeł uprawnień> | ||
commands.d3group.help.parent.set=/d3group parent <grupa> set <grupa nadrzędna> | ||
commands.d3group.help.parent.clear=/d3group parent <grupa> clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
d3.core.config.title=Конфигурация D³ | ||
|
||
d3.core.config.core=Главная конфигурация | ||
d3.core.config.core.tooltip=Применяется для всех модов D³ | ||
|
||
d3.core.config.debug=Режим отладки | ||
d3.core.config.debug.tooltip=Пожалуйста, включите, прежде чем отправить отчёт об ошибке. | ||
|
||
d3.core.config.silliness=Включение примочек | ||
d3.core.config.silliness.tooltip=Пожалуйста не отключайте, если Вы не хотите позлить команду D³ :p А если серьезно, Вы можете отключить изменения имени, выпадение предметов и шлемы-блоки этой настройкой. | ||
|
||
d3.core.config.updateWarning=Предупреждения об обновлениях | ||
d3.core.config.updateWarning.tooltip=Пожалуйста, не отключайте, если только Вы не используете пакет модов. | ||
|
||
d3.core.config.tooltips=Подсказки | ||
d3.core.config.tooltips.tooltip=Подсказки к предметам, переключаются с помощью F3 + H | ||
|
||
d3.core.config.tooltips.enableStringID=Включение StringID | ||
d3.core.config.tooltips.enableStringID.tooltip=Пример: minecraft:gold_ore | ||
|
||
d3.core.config.tooltips.enableUnlocalizedName=Включение Unlocalized Name | ||
d3.core.config.tooltips.enableUnlocalizedName.tooltip=Пример: tile.oreGold | ||
|
||
d3.core.config.tooltips.enableOreDictionary=Включение словаря руд | ||
d3.core.config.tooltips.enableOreDictionary.tooltip=Пример: oreGold | ||
|
||
d3.core.config.EndermanGriefing=Взаимодействие странника Края с миром | ||
d3.core.config.EndermanGriefing.tooltip=Изменение взаимодействия странника Края с миром | ||
|
||
d3.core.config.EndermanGriefing.disable=Отключить | ||
d3.core.config.EndermanGriefing.disable.tooltip=Полностью отключает взаимодействие странника Края с миром. | ||
|
||
d3.core.config.EndermanGriefing.dropCarrying=Бросать блок в руке | ||
d3.core.config.EndermanGriefing.dropCarrying.tooltip=Заставляет странника Края бросить переносимый блок при смерти. | ||
|
||
d3.core.config.EndermanGriefing.blacklist=Чёрный список | ||
d3.core.config.EndermanGriefing.blacklist.tooltip=Список блоков (minecraft:stone), которые странник Края не может подбирать. | ||
|
||
d3.core.config.EndermanGriefing.addlist=Белый список | ||
d3.core.config.EndermanGriefing.addlist.tooltip=Список блоков (minecraft:stone), которые странник Края сможет подбирать. | ||
|
||
commands.d3group.usage='/d3group help' для помощи | ||
commands.d3group.help.new=/d3group new <группа> [исходная группа] | ||
commands.d3group.help.remove=/d3group remove <группа> | ||
commands.d3group.help.node.add=/d3group node <группа> add <узел разрешений> | ||
commands.d3group.help.node.remove=/d3group node <группа> remove <узел разрешений> | ||
commands.d3group.help.parent.set=/d3group parent <группа> set <исходная группа> | ||
commands.d3group.help.parent.clear=/d3group parent <группа> clear |
Oops, something went wrong.