mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-28 07:35:42 +00:00
Add enUS localization
This commit is contained in:
1 parent
faec0bbeb8
commit
10781e4362
2 files changed
+11
-8
No files matched your search
@@ -177,9 +177,10 @@ class GuiAdvancedMemoryCard(msg: S2CListP2P) : GuiScreen(), TextureBound {
|
||||
|
||||
init {
|
||||
hoverText = if (type == null) {
|
||||
listOf("Any")
|
||||
mutableListOf(I18n.format("gui.advanced_memory_card.types.any"))
|
||||
} else {
|
||||
listOf(type!!.stack.displayName)
|
||||
mutableListOf(
|
||||
I18n.format("gui.advanced_memory_card.types.filtered", "§a" + type!!.stack.displayName))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,12 +202,12 @@ class GuiAdvancedMemoryCard(msg: S2CListP2P) : GuiScreen(), TextureBound {
|
||||
} else {
|
||||
type = nextType(false)
|
||||
}
|
||||
hoverText =
|
||||
if (type == null) {
|
||||
listOf("Any")
|
||||
} else {
|
||||
listOf(type!!.stack.displayName)
|
||||
}
|
||||
if (type == null) {
|
||||
(hoverText as MutableList)[0] = I18n.format("gui.advanced_memory_card.types.any")
|
||||
} else {
|
||||
(hoverText as MutableList)[0] =
|
||||
I18n.format("gui.advanced_memory_card.types.filtered", "§a" + type!!.stack.displayName)
|
||||
}
|
||||
requestRefresh()
|
||||
super.func_146113_a(mc.soundHandler)
|
||||
}
|
||||
|
||||
@@ -42,3 +42,5 @@ gui.advanced_memory_card.p2p_status.unbound=Unbound
|
||||
gui.advanced_memory_card.p2p_status.input=Input
|
||||
gui.advanced_memory_card.p2p_status.output=Output
|
||||
gui.advanced_memory_card.p2p_status.offline=Offline
|
||||
gui.advanced_memory_card.types.filtered=Showing: %s
|
||||
gui.advanced_memory_card.types.any=Showing: §aAll
|
||||
Reference in new issue
Block a user