forked from mtcontrib/plantlife_modpack
		
	Add intllib support and spanish translation.
This commit is contained in:
		
				
					committed by
					
						
						Diego Martínez
					
				
			
			
				
	
			
			
			
						parent
						
							eaa716df76
						
					
				
				
					commit
					5212a756f5
				
			@@ -1,4 +1,9 @@
 | 
			
		||||
local S = biome_lib.intllib
 | 
			
		||||
local S
 | 
			
		||||
if minetest.get_modpath("intllib") then
 | 
			
		||||
	S = intllib.Getter()
 | 
			
		||||
else
 | 
			
		||||
	S = function(s) return s end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
-- Basket
 | 
			
		||||
 | 
			
		||||
@@ -71,7 +76,7 @@ for i, berry in ipairs(bushes_classic.bushes) do
 | 
			
		||||
 | 
			
		||||
		else
 | 
			
		||||
			minetest.register_craftitem(":bushes:"..berry, {
 | 
			
		||||
				description = desc,
 | 
			
		||||
				description = S(desc),
 | 
			
		||||
				inventory_image = "bushes_"..berry..".png",
 | 
			
		||||
				groups = {berry = 1, [berry] = 1},
 | 
			
		||||
				on_use = minetest.item_eat(1),
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,12 @@
 | 
			
		||||
--
 | 
			
		||||
-- License:  WTFPL
 | 
			
		||||
 | 
			
		||||
local S = biome_lib.intllib
 | 
			
		||||
local S
 | 
			
		||||
if minetest.get_modpath("intllib") then
 | 
			
		||||
	S = intllib.Getter()
 | 
			
		||||
else
 | 
			
		||||
	S = function(s) return s end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
bushes_classic = {}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										43
									
								
								bushes_classic/locale/es.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								bushes_classic/locale/es.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
# Traducido por Carlos Barraza
 | 
			
		||||
 | 
			
		||||
Strawberry = Frutilla
 | 
			
		||||
Blackberry = Mora
 | 
			
		||||
Blueberry = Arándano
 | 
			
		||||
Raspberry = Frambuesa
 | 
			
		||||
Gooseberry = Grosella
 | 
			
		||||
Mixed Berry = Mezcla de Baya
 | 
			
		||||
Basket with Strawberry Pies = Cesta con Pasteles de Frutilla
 | 
			
		||||
Basket with Blackberry Pies = Cesta con Pasteles de Mora
 | 
			
		||||
Basket with Blueberry Pies = Cesta con Pasteles de Arándano
 | 
			
		||||
Basket with Raspberry Pies = Cesta con Pasteles de Frambuesa
 | 
			
		||||
Basket with Gooseberry Pies = Cesta con Pasteles de Grosella
 | 
			
		||||
Basket with Mixed Berry Pies = Cesta con Pasteles de Mezcla de Baya
 | 
			
		||||
currently fruitless = Actualmente infructuoso
 | 
			
		||||
Strawberry Bush = Arbusto de Frutilla
 | 
			
		||||
Blackberry Bush = Arbusto de Mora
 | 
			
		||||
Blueberry Bush = Arbusto de Arándano
 | 
			
		||||
Raspberry Bush = Arbusto de Frambuesa
 | 
			
		||||
Gooseberry Bush = Arbusto de Grosella
 | 
			
		||||
Mixed Berry Bush = Arbusto de Mezcla de Baya
 | 
			
		||||
Basket = Cesta
 | 
			
		||||
Sugar = Azúcar
 | 
			
		||||
Raw Strawberry pie = Pastel de Frutilla Crudo
 | 
			
		||||
Raw Blackberry pie = Pastel de Mora Crudo
 | 
			
		||||
Raw Blueberry pie = Pastel de Arándano Crudo
 | 
			
		||||
Raw Raspberry pie = Pastel de Frambuesa Crudo
 | 
			
		||||
Raw Gooseberry pie = Pastel de Grosella Crudo
 | 
			
		||||
Raw Mixed Berry pie = Pastel de Mezcla de Bayas Cruda
 | 
			
		||||
Cooked Strawberry pie = Pastel de Frutilla Cocido
 | 
			
		||||
Cooked Blackberry pie = Pastel de Mora Cocido
 | 
			
		||||
Cooked Blueberry pie = Pastel de Arándano Cocido
 | 
			
		||||
Cooked Raspberry pie = Pastel de Frambuesa Cocido
 | 
			
		||||
Cooked Gooseberry pie = Pastel de Grosella Cocido
 | 
			
		||||
Cooked Mixed Berry pie = Pastel de Mezcla de Bayas Cocido
 | 
			
		||||
Slice of Strawberry pie = Rebanada de Pastel de Frutilla
 | 
			
		||||
Slice of Blackberry pie = Rebanada de Pastel de Mora
 | 
			
		||||
Slice of Blueberry pie = Rebanada de Pastel de Arándano
 | 
			
		||||
Slice of Raspberry pie = Rebanada de Pastel de Frambuesa
 | 
			
		||||
Slice of Gooseberry pie = Rebanada de Pastel de Grosella
 | 
			
		||||
Slice of Mixed Berry pie = Rebanada de Pastel de Mezcla de Bayas
 | 
			
		||||
 | 
			
		||||
[Bushes] Loaded. = [Arbustos] Cargado.
 | 
			
		||||
@@ -1,4 +1,9 @@
 | 
			
		||||
local S = biome_lib.intllib
 | 
			
		||||
local S
 | 
			
		||||
if minetest.get_modpath("intllib") then
 | 
			
		||||
	S = intllib.Getter()
 | 
			
		||||
else
 | 
			
		||||
	S = function(s) return s end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
plantlife_bushes = {}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,9 @@
 | 
			
		||||
local S = biome_lib.intllib
 | 
			
		||||
local S
 | 
			
		||||
if minetest.get_modpath("intllib") then
 | 
			
		||||
	S = intllib.Getter()
 | 
			
		||||
else
 | 
			
		||||
	S = function(s) return s end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
-- This file supplies a few additional plants and some related crafts
 | 
			
		||||
-- for the plantlife modpack.  Last revision:  2013-04-24
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										13
									
								
								flowers_plus/locale/es.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								flowers_plus/locale/es.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
# Traducido por Carlos Barraza
 | 
			
		||||
 | 
			
		||||
Waterlily = Lirio de agua
 | 
			
		||||
Seaweed = Algas marinas
 | 
			
		||||
Potted Rose = Rosa en maceta
 | 
			
		||||
Potted Tulip = Tulipán en maceta
 | 
			
		||||
Potted Yellow Dandelion = Diente de león amarillo en maceta
 | 
			
		||||
Potted White Dandelion = Diente de león blanco en maceta
 | 
			
		||||
Potted Blue Geranium = Geranio azul en maceta
 | 
			
		||||
Potted Viola = Viola en maceta
 | 
			
		||||
Flower Pot = Florero
 | 
			
		||||
 | 
			
		||||
[Flowers] Loaded. = [Flores] Cargado.
 | 
			
		||||
@@ -1,7 +1,12 @@
 | 
			
		||||
-- This file supplies poison ivy for the plantlife modpack
 | 
			
		||||
-- Last revision:  2013-01-24
 | 
			
		||||
 | 
			
		||||
local S = biome_lib.intllib
 | 
			
		||||
local S
 | 
			
		||||
if minetest.get_modpath("intllib") then
 | 
			
		||||
	S = intllib.Getter()
 | 
			
		||||
else
 | 
			
		||||
	S = function(s) return s end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
local SPAWN_DELAY = 1000
 | 
			
		||||
local SPAWN_CHANCE = 200
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										7
									
								
								poisonivy/locale/es.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								poisonivy/locale/es.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
# Traducido por Carlos Barraza
 | 
			
		||||
 | 
			
		||||
Poison ivy (seedling) = Hiedra venenosa (retoño)
 | 
			
		||||
Poison ivy (sproutling) = Hiedra venenosa (brotes)
 | 
			
		||||
Poison ivy (climbing plant) = Hiedra venenosa (planta trepadora)
 | 
			
		||||
 | 
			
		||||
[Poison Ivy] Loaded. = [Hiedra venenosa] Cargado.
 | 
			
		||||
		Reference in New Issue
	
	Block a user