Add Spanish translation (#19)
This commit is contained in:
parent
cbeb67ba8f
commit
8ace6437bc
@ -1,9 +1,8 @@
|
||||
|
||||
local name = "boat"
|
||||
local definition = ...
|
||||
local craft_check = minetest.settings:get_bool("vehicle_mash.enable_crafts")
|
||||
|
||||
definition.description = "BoatA"
|
||||
definition.description = vehicle_mash.S("BoatA")
|
||||
definition.inventory_image = "boat_inventory.png"
|
||||
definition.wield_image = "boat_wield.png"
|
||||
definition.mesh = "boats_boat.obj"
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local name = "rowboat"
|
||||
local definition = ...
|
||||
local craft_check = minetest.settings:get_bool("vehicle_mash.enable_crafts")
|
||||
|
||||
definition.description = "Rowboat"
|
||||
definition.description = vehicle_mash.S("Rowboat")
|
||||
definition.inventory_image = "rowboat_inventory.png"
|
||||
definition.wield_image = "rowboat_wield.png"
|
||||
definition.mesh = "rowboat.x"
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_black"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Black car"
|
||||
definition.description = vehicle_mash.S("Black car")
|
||||
definition.inventory_image = "inv_car_black.png"
|
||||
definition.wield_image = "inv_car_black.png"
|
||||
definition.textures = {"car_black.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_blue"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Blue car"
|
||||
definition.description = vehicle_mash.S("Blue car")
|
||||
definition.inventory_image = "inv_car_blue.png"
|
||||
definition.wield_image = "inv_car_blue.png"
|
||||
definition.textures = {"car_blue.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_brown"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Brown car"
|
||||
definition.description = vehicle_mash.S("Brown car")
|
||||
definition.inventory_image = "inv_car_brown.png"
|
||||
definition.wield_image = "inv_car_brown.png"
|
||||
definition.textures = {"car_brown.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_cyan"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Cyan car"
|
||||
definition.description = vehicle_mash.S("Cyan car")
|
||||
definition.inventory_image = "inv_car_cyan.png"
|
||||
definition.wield_image = "inv_car_cyan.png"
|
||||
definition.textures = {"car_cyan.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_dark_green"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Dark green car"
|
||||
definition.description = vehicle_mash.S("Dark green car")
|
||||
definition.inventory_image = "inv_car_dark_green.png"
|
||||
definition.wield_image = "inv_car_dark_green.png"
|
||||
definition.textures = {"car_dark_green.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_dark_grey"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Dark grey car"
|
||||
definition.description = vehicle_mash.S("Dark grey car")
|
||||
definition.inventory_image = "inv_car_dark_grey.png"
|
||||
definition.wield_image = "inv_car_dark_grey.png"
|
||||
definition.textures = {"car_dark_grey.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_green"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Green car"
|
||||
definition.description = vehicle_mash.S("Green car")
|
||||
definition.inventory_image = "inv_car_green.png"
|
||||
definition.wield_image = "inv_car_green.png"
|
||||
definition.textures = {"car_green.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_grey"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Grey car"
|
||||
definition.description = vehicle_mash.S("Grey car")
|
||||
definition.inventory_image = "inv_car_grey.png"
|
||||
definition.wield_image = "inv_car_grey.png"
|
||||
definition.textures = {"car_grey.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_hot_rod"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Hot Rod car"
|
||||
definition.description = vehicle_mash.S("Hot Rod car")
|
||||
definition.inventory_image = "inv_car_red.png"
|
||||
definition.wield_image = "inv_car_red.png"
|
||||
definition.textures = {"hot_rod.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_magenta"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Magenta car"
|
||||
definition.description = vehicle_mash.S("Magenta car")
|
||||
definition.inventory_image = "inv_car_magenta.png"
|
||||
definition.wield_image = "inv_car_magenta.png"
|
||||
definition.textures = {"car_magenta.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_nyan_ride"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Nyan Ride car"
|
||||
definition.description = vehicle_mash.S("Nyan Ride car")
|
||||
definition.inventory_image = "inv_car_pink.png"
|
||||
definition.wield_image = "inv_car_pink.png"
|
||||
definition.textures = {"nyan_ride.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_oerkki_bliss"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Oerkki Bliss car"
|
||||
definition.description = vehicle_mash.S("Oerkki Bliss car")
|
||||
definition.inventory_image = "inv_car_black.png"
|
||||
definition.wield_image = "inv_car_black.png"
|
||||
definition.textures = {"oerkki_bliss.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_orange"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Orange car"
|
||||
definition.description = vehicle_mash.S("Orange car")
|
||||
definition.inventory_image = "inv_car_orange.png"
|
||||
definition.wield_image = "inv_car_orange.png"
|
||||
definition.textures = {"car_orange.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_pink"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Pink car"
|
||||
definition.description = vehicle_mash.S("Pink car")
|
||||
definition.inventory_image = "inv_car_pink.png"
|
||||
definition.wield_image = "inv_car_pink.png"
|
||||
definition.textures = {"car_pink.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_red"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Red car"
|
||||
definition.description = vehicle_mash.S("Red car")
|
||||
definition.inventory_image = "inv_car_red.png"
|
||||
definition.wield_image = "inv_car_red.png"
|
||||
definition.textures = {"car_red.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_road_master"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Road Master car"
|
||||
definition.description = vehicle_mash.S("Road Master car")
|
||||
definition.inventory_image = "inv_car_brown.png"
|
||||
definition.wield_image = "inv_car_brown.png"
|
||||
definition.textures = {"road_master.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_violet"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Violet car"
|
||||
definition.description = vehicle_mash.S("Violet car")
|
||||
definition.inventory_image = "inv_car_violet.png"
|
||||
definition.wield_image = "inv_car_violet.png"
|
||||
definition.textures = {"car_violet.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_white"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "White car"
|
||||
definition.description = vehicle_mash.S("White car")
|
||||
definition.inventory_image = "inv_car_white.png"
|
||||
definition.wield_image = "inv_car_white.png"
|
||||
definition.textures = {"car_white.png"}
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "car_yellow"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Yellow car"
|
||||
definition.description = vehicle_mash.S("Yellow car")
|
||||
definition.inventory_image = "inv_car_yellow.png"
|
||||
definition.wield_image = "inv_car_yellow.png"
|
||||
definition.textures = {"car_yellow.png"}
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local name = "hover_blue"
|
||||
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Blue hovercraft"
|
||||
definition.description = vehicle_mash.S("Blue hovercraft")
|
||||
definition.inventory_image = "hovercraft_blue_inv.png"
|
||||
definition.wield_image = "hovercraft_blue_inv.png"
|
||||
definition.textures = {"hovercraft_blue.png"}
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local name = "hover_green"
|
||||
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Green hovercraft"
|
||||
definition.description = vehicle_mash.S("Green hovercraft")
|
||||
definition.inventory_image = "hovercraft_green_inv.png"
|
||||
definition.wield_image = "hovercraft_green_inv.png"
|
||||
definition.textures = {"hovercraft_green.png"}
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local name = "hover_red"
|
||||
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Red hovercraft"
|
||||
definition.description = vehicle_mash.S("Red hovercraft")
|
||||
definition.inventory_image = "hovercraft_red_inv.png"
|
||||
definition.wield_image = "hovercraft_red_inv.png"
|
||||
definition.textures = {"hovercraft_red.png"}
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local name = "hover_yellow"
|
||||
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Yellow hovercraft"
|
||||
definition.description = vehicle_mash.S("Yellow hovercraft")
|
||||
definition.inventory_image = "hovercraft_yellow_inv.png"
|
||||
definition.wield_image = "hovercraft_yellow_inv.png"
|
||||
definition.textures = {"hovercraft_yellow.png"}
|
||||
|
4
init.lua
4
init.lua
@ -1,4 +1,6 @@
|
||||
vehicle_mash = { }
|
||||
vehicle_mash = {
|
||||
S = minetest.get_translator(minetest.get_current_modname())
|
||||
}
|
||||
|
||||
-- Fix `player_api` eye height model if desired
|
||||
if minetest.settings:get_bool("vehicle_mash.player_api_fix") == true or minetest.settings:get_bool("vehicle_mash.player_api_fix") == nil
|
||||
|
35
locale/template.txt
Normal file
35
locale/template.txt
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: vehicle_mash
|
||||
|
||||
Motor=
|
||||
Tire=
|
||||
Wind Shield=
|
||||
Car battery=
|
||||
BoatA=
|
||||
Rowboat=
|
||||
Black car=
|
||||
Blue car=
|
||||
Brown car=
|
||||
Cyan car=
|
||||
Dark green car=
|
||||
Dark grey car=
|
||||
Green car=
|
||||
Grey car=
|
||||
Hot Rod car=
|
||||
Magenta car=
|
||||
Nyan Ride car=
|
||||
Oerkki Bliss car=
|
||||
Orange car=
|
||||
Pink car=
|
||||
Red car=
|
||||
Road Master car=
|
||||
Violet car=
|
||||
White car=
|
||||
Yellow car=
|
||||
Blue hovercraft=
|
||||
Green hovercraft=
|
||||
Red hovercraft=
|
||||
Yellow hovercraft=
|
||||
Blue Mesecar=
|
||||
Pink Mesecar=
|
||||
Purple Mesecar=
|
||||
Yellow Mesecar=
|
35
locale/vehicle_mash.es.tr
Normal file
35
locale/vehicle_mash.es.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: vehicle_mash
|
||||
|
||||
Motor=Motor
|
||||
Tire=Lanta
|
||||
Wind Shield=
|
||||
Car battery=Batería de Carro
|
||||
BoatA=BoteA
|
||||
Rowboat=Bote de remos
|
||||
Black car=Carro negro
|
||||
Blue car=Carro azul
|
||||
Brown car=Carro cáfe
|
||||
Cyan car=Carro celeste
|
||||
Dark green car=Carro verde oscuro
|
||||
Dark grey car=Carro gris oscuro
|
||||
Green car=Carro verde
|
||||
Grey car=Carro gris
|
||||
Hot Rod car=Carro de carreras
|
||||
Magenta car=Carro magenta
|
||||
Nyan Ride car=Carro de Nyan
|
||||
Oerkki Bliss car=Carro de Oerkki
|
||||
Orange car=Carro naranja
|
||||
Pink car=Carro rosa
|
||||
Red car=Carro rojo
|
||||
Road Master car=Carro Maestro
|
||||
Violet car=Carro violeta
|
||||
White car=Carro blanco
|
||||
Yellow car=Carro amarillo
|
||||
Blue hovercraft=Aerodeslizador azul
|
||||
Green hovercraft=Aerodeslizador verde
|
||||
Red hovercraft=Aerodeslizador rojo
|
||||
Yellow hovercraft=Aerodeslizador amarillo
|
||||
Blue Mesecar=Carro de Mese azul
|
||||
Pink Mesecar=Carro de Mese Rosa
|
||||
Purple Mesecar=Carro de Mese Morado
|
||||
Yellow Mesecar=Carro de Mese amarillo
|
@ -1,8 +1,7 @@
|
||||
|
||||
local name = "mesecar_blue"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Blue Mesecar"
|
||||
definition.description = vehicle_mash.S("Blue Mesecar")
|
||||
definition.inventory_image = "mesecar_car1front.png"
|
||||
definition.wield_image = "mesecar_car1front.png"
|
||||
definition.textures = {
|
||||
|
@ -2,7 +2,7 @@
|
||||
local name = "mesecar_pink"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Pink Mesecar"
|
||||
definition.description = vehicle_mash.S("Pink Mesecar")
|
||||
definition.inventory_image = "mesecar_car3front.png"
|
||||
definition.wield_image = "mesecar_car3front.png"
|
||||
definition.textures = {
|
||||
|
@ -2,7 +2,7 @@
|
||||
local name = "mesecar_purple"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Purple Mesecar"
|
||||
definition.description = vehicle_mash.S("Purple Mesecar")
|
||||
definition.inventory_image = "mesecar_car2front.png"
|
||||
definition.wield_image = "mesecar_car2front.png"
|
||||
definition.textures = {
|
||||
|
@ -2,7 +2,7 @@
|
||||
local name = "mesecar_yellow"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Yellow Mesecar"
|
||||
definition.description = vehicle_mash.S("Yellow Mesecar")
|
||||
definition.inventory_image = "mesecar_car4front.png"
|
||||
definition.wield_image = "mesecar_car4front.png"
|
||||
definition.textures = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user