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

@ -24,7 +24,7 @@ All From Vendor=Todo desde la tienda
All To Vendor=Todo a la tienda
Automatically sort inventory.=Ordenar automaticamente
Buy=Comprar
Buy worn tools.=Comprar herramientas usadas
Buy worn tools.=Comprar objetos usados
Craft a copy tool.=Crear herramienta de copiado
Craft a fancy vendor.=Crear tienda
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
Input From Vendor=Entrada desde tienda
Input item=Objeto que entra
Message: =Mensaje:
Output To Vendor=Salida desde tienda
Output item=Objeto que sale
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 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
Split incoming stacks.=Separar stacks entrantes
Toggle vendor inactivity.=Tienda inactiva
Trade successful=Comprado
Unconfigured Player Vendor=Tienda sin configurar
Vending Machine=Maquina de Vender
Vendor will not accept worn tools.=La tienda no acepta herramientas gastadas
Vendor will not sell worn tools.=La tienda no vende herramientas gastadas
for:=para:
lots.=cantidad
Vendor has insufficient resources=La tienda no tiene suficientes productos
Vendor has insufficient space=La tienda no tiene espacio
Vendor initialized=Tienda activada
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 ###
### shop.lua ###

@ -42,6 +42,7 @@ Geminio Wand (For copying vendor settings, right click to save settings, left cl
Getting Fancy=
Input From Vendor=
Input item=
Message: =
Output To Vendor=
Output item=
Owner wants:=
@ -52,10 +53,22 @@ Shop Upgrade (Try and place to upgrade)=
Sort Inventory=
Split incoming stacks.=
Toggle vendor inactivity.=
Trade successful=
Unconfigured Player Vendor=
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 sell worn tools.=
You have insufficient funds=
You have insufficient space=
active=
for:=
inactive=
lots.=
### fancyshop.lua ###