Make X Bows tab-name translatable
This commit is contained in:
parent
6948bc2a94
commit
ec1fecdf36
6
api.lua
6
api.lua
|
@ -2243,7 +2243,7 @@ end
|
|||
---@param self XBowsQuiver
|
||||
function XBowsQuiver.sfinv_register_page(self)
|
||||
sfinv.register_page('x_bows:quiver_page', {
|
||||
title = 'X Bows',
|
||||
title = S('X Bows'),
|
||||
get = function(this, player, context)
|
||||
local formspec = {
|
||||
---arrow
|
||||
|
@ -2300,7 +2300,7 @@ end
|
|||
---Register i3 page
|
||||
function XBowsQuiver.i3_register_page(self)
|
||||
i3.new_tab('x_bows_quiver_page', {
|
||||
description = 'X Bows',
|
||||
description = S('X Bows'),
|
||||
slots = true,
|
||||
formspec = function(player, data, fs)
|
||||
local formspec = {
|
||||
|
@ -2410,7 +2410,7 @@ function XBowsQuiver.ui_register_page(self)
|
|||
unified_inventory.register_button('x_bows:quiver_page', {
|
||||
type = 'image',
|
||||
image = "x_bows_bow_wood_charged.png",
|
||||
tooltip = 'X Bows',
|
||||
tooltip = S('X Bows'),
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ Charge Time=
|
|||
Faster Arrows=
|
||||
Arrow Damage=
|
||||
No Ammo=
|
||||
X Bows=
|
||||
Arrows=
|
||||
Quiver=
|
||||
Empty=
|
||||
|
|
|
@ -8,6 +8,7 @@ Charge Time=Doba nabíjania
|
|||
Faster Arrows=Rýchlejšie šípy
|
||||
Arrow Damage=Poškodenie šípom
|
||||
No Ammo=Žiadne strelivo
|
||||
X Bows=
|
||||
Arrows=Šípy
|
||||
Quiver=Púzdro
|
||||
Empty=Prázdne
|
||||
|
|
Ŝarĝante…
Reference in New Issue