es locale update

This commit is contained in:
Freeman 2023-08-29 20:09:14 +02:00
parent 4763f3567a
commit e96994bd98
3 changed files with 47 additions and 21 deletions

@ -692,21 +692,21 @@ local function make_purchase(pos, player, lots)
-- Run mail mod checks -- Run mail mod checks
alert_owner_if_empty(pos) alert_owner_if_empty(pos)
return true, "Trade successful" return true, S("Trade successful")
else else
return false, "Vendor has insufficient space" return false, S("Vendor has insufficient space")
end end
else else
return false, "Vendor has insufficient resources" return false, S("Vendor has insufficient resources")
end end
else else
return false, "You have insufficient space" return false, S("You have insufficient space")
end end
else else
return false, "You have insufficient funds" return false, S("You have insufficient funds")
end end
else else
return false, "Vendor is inactive"..make_inactive_string(errorcode) return false, S("Vendor is inactive")..make_inactive_string(errorcode)
end end
end end
@ -740,14 +740,14 @@ local function get_vendor_buyer_fs(pos, player, lots)
local status_str local status_str
if status then if status then
status_str = "active" status_str = S("active")
else else
status_str = "inactive"..make_inactive_string(errorcode) status_str = S("inactive")..make_inactive_string(errorcode)
end end
local status_fs = local status_fs =
"label[4,0.4;Vendor status: "..status_str.."]".. "label[4,0.4;"..S("Vendor status: ")..status_str.."]"..
"label[4,0.8;Message: "..meta:get_string("message").."]".. "label[4,0.8;"..S("Message: ")..meta:get_string("message").."]"..
"label[4,0;Vendor owned by: "..meta:get_string("owner").."]" "label[4,0;"..S("Vendor owned by: ")..meta:get_string("owner").."]"
local setting_specific = "" local setting_specific = ""
if not settings.accept_worn_input then if not settings.accept_worn_input then
@ -1239,8 +1239,8 @@ local vendor_template = {
drop = drop_vendor, drop = drop_vendor,
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
meta:set_string("infotext", "Unconfigured Player Vendor") meta:set_string("infotext", S("Unconfigured Player Vendor"))
meta:set_string("message", "Vendor initialized") meta:set_string("message", S("Vendor initialized"))
meta:set_string("owner", "") meta:set_string("owner", "")
local inv = meta:get_inventory() local inv = meta:get_inventory()
inv:set_size("main", 15*6) inv:set_size("main", 15*6)

@ -24,7 +24,7 @@ All From Vendor=Todo desde la tienda
All To Vendor=Todo a la tienda All To Vendor=Todo a la tienda
Automatically sort inventory.=Ordenar automaticamente Automatically sort inventory.=Ordenar automaticamente
Buy=Comprar Buy=Comprar
Buy worn tools.=Comprar herramientas usadas Buy worn tools.=Comprar objetos usados
Craft a copy tool.=Crear herramienta de copiado Craft a copy tool.=Crear herramienta de copiado
Craft a fancy vendor.=Crear tienda Craft a fancy vendor.=Crear tienda
Digiline Channel:=Canal de Digiline Digiline Channel:=Canal de Digiline
@ -42,21 +42,34 @@ Geminio Wand (For copying vendor settings, right click to save settings, left cl
Getting Fancy=Tiendeando Getting Fancy=Tiendeando
Input From Vendor=Entrada desde tienda Input From Vendor=Entrada desde tienda
Input item=Objeto que entra Input item=Objeto que entra
Message: =Mensaje:
Output To Vendor=Salida desde tienda Output To Vendor=Salida desde tienda
Output item=Objeto que sale Output item=Objeto que sale
Owner wants:=El dueño quiere: Owner wants:=El dueño quiere:
Sell worn tools.=Vender herramientas gastadas Sell worn tools.=Vender objetos gastados
Set this vendor to a Depositor.=Tienda para comprar Set this vendor to a Depositor.=Tienda para comprar
Set vendor to an admin vendor.=Tienda de Admin Set vendor to an admin vendor.=Tienda de Admin
Shop Upgrade (Try and place to upgrade)= Shop Upgrade (Try and place to upgrade)=Tienda actualizada (colocala para actualizarla)
Sort Inventory=Ordenar inventario Sort Inventory=Ordenar inventario
Split incoming stacks.=Separar stacks entrantes Split incoming stacks.=Separar stacks entrantes
Toggle vendor inactivity.=Tienda inactiva Toggle vendor inactivity.=Tienda inactiva
Trade successful=Comprado
Unconfigured Player Vendor=Tienda sin configurar
Vending Machine=Maquina de Vender Vending Machine=Maquina de Vender
Vendor will not accept worn tools.=La tienda no acepta herramientas gastadas Vendor has insufficient resources=La tienda no tiene suficientes productos
Vendor will not sell worn tools.=La tienda no vende herramientas gastadas Vendor has insufficient space=La tienda no tiene espacio
for:=para: Vendor initialized=Tienda activada
lots.=cantidad Vendor is inactive=La tienda esta desactivada
Vendor owned by: =Dueño:
Vendor status: =Estado:
Vendor will not accept worn tools.=La tienda no acepta objetos gastados
Vendor will not sell worn tools.=La tienda no vende objetos gastados
You have insufficient funds=No tienes fondos suficientes
You have insufficient space=No tienes espacio en el inv
active=activada
for:=por:
inactive=desactivada
lots.=lotes
### fancyshop.lua ### ### fancyshop.lua ###
### shop.lua ### ### shop.lua ###

@ -42,6 +42,7 @@ Geminio Wand (For copying vendor settings, right click to save settings, left cl
Getting Fancy= Getting Fancy=
Input From Vendor= Input From Vendor=
Input item= Input item=
Message: =
Output To Vendor= Output To Vendor=
Output item= Output item=
Owner wants:= Owner wants:=
@ -52,10 +53,22 @@ Shop Upgrade (Try and place to upgrade)=
Sort Inventory= Sort Inventory=
Split incoming stacks.= Split incoming stacks.=
Toggle vendor inactivity.= Toggle vendor inactivity.=
Trade successful=
Unconfigured Player Vendor=
Vending Machine= Vending Machine=
Vendor has insufficient resources=
Vendor has insufficient space=
Vendor initialized=
Vendor is inactive=
Vendor owned by: =
Vendor status: =
Vendor will not accept worn tools.= Vendor will not accept worn tools.=
Vendor will not sell worn tools.= Vendor will not sell worn tools.=
You have insufficient funds=
You have insufficient space=
active=
for:= for:=
inactive=
lots.= lots.=
### fancyshop.lua ### ### fancyshop.lua ###