forked from mtcontrib/homedecor_modpack
		
	MT5 translation for homedecor_tables
- Fix luacheck warnings
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| -- formerly lrfurn coffee table component | ||||
|  | ||||
| local S = homedecor.gettext | ||||
| local S = minetest.get_translator("homedecor_tables") | ||||
|  | ||||
| local fdir_to_right = { | ||||
| 	{  1,  0 }, | ||||
| @@ -20,9 +20,10 @@ local function check_right(pos, fdir, long, placer) | ||||
| 		return false | ||||
| 	elseif minetest.is_protected(pos2, placer:get_player_name()) then | ||||
| 		if not long then | ||||
| 			minetest.chat_send_player(placer:get_player_name(), S("Someone else owns the spot where other end goes!")) | ||||
| 			minetest.chat_send_player(placer:get_player_name(), S("Someone else owns the spot where the other end goes!")) | ||||
| 		else | ||||
| 			minetest.chat_send_player(placer:get_player_name(), S("Someone else owns the spot where the middle or far end goes!")) | ||||
| 			minetest.chat_send_player(placer:get_player_name(), | ||||
| 				S("Someone else owns the spot where the middle or far end goes!")) | ||||
| 		end | ||||
| 		return false | ||||
| 	end | ||||
| @@ -46,7 +47,14 @@ minetest.register_alias("lrfurn:coffeetable_front", "air") | ||||
| minetest.register_node(":lrfurn:coffeetable", { | ||||
| 	description = S("Coffee Table"), | ||||
| 	drawtype = "nodebox", | ||||
| 	tiles = {"lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png"}, | ||||
| 	tiles = { | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png" | ||||
| 	}, | ||||
| 	paramtype = "light", | ||||
| 	paramtype2 = "facedir", | ||||
| 	groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, | ||||
| @@ -114,5 +122,5 @@ minetest.register_craft({ | ||||
| }) | ||||
|  | ||||
| if minetest.settings:get("log_mods") then | ||||
| 	minetest.log("action", "[lrfurn/coffeetable] "..S("Loaded!")) | ||||
| 	minetest.log("action", "[lrfurn/coffeetable] Loaded!") | ||||
| end | ||||
|   | ||||
| @@ -1,3 +0,0 @@ | ||||
| homedecor_common | ||||
| default | ||||
| basic_materials | ||||
| @@ -1,11 +1,18 @@ | ||||
| -- formerly lrfurn endtable component | ||||
|  | ||||
| local S = homedecor.gettext | ||||
| local S = minetest.get_translator("homedecor_tables") | ||||
|  | ||||
| minetest.register_node(":lrfurn:endtable", { | ||||
| 	description = S("End Table"), | ||||
| 	drawtype = "nodebox", | ||||
| 	tiles = {"lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png",  "lrfurn_coffeetable_back.png"}, | ||||
| 	tiles = { | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png", | ||||
| 		"lrfurn_coffeetable_back.png" | ||||
| 	}, | ||||
| 	paramtype = "light", | ||||
| 	paramtype2 = "facedir", | ||||
| 	groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, | ||||
| @@ -50,5 +57,5 @@ minetest.register_craft({ | ||||
| }) | ||||
|  | ||||
| if minetest.settings:get("log_mods") then | ||||
| 	minetest.log("action", "[lrfurn/endtable] "..S("Loaded!")) | ||||
| 	minetest.log("action", "[lrfurn/endtable] Loaded!") | ||||
| end | ||||
|   | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.de.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.de.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Kaffeetisch | ||||
| No room to place the coffee table!=Kein Platz, um den Kaffeetisch zu platzieren! | ||||
| Someone else owns the spot where the middle or far end goes!=Jemanden gehört schon die Stelle, wo das mittlere oder ferne Stück hingehen würde. | ||||
| Someone else owns the spot where the other end goes!=Jemanden gehört schon die Stelle, wo das andere Ende hingehen würde. | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Beitisch | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Großes Glastischteil | ||||
| Large wooden table piece=Großes Holztischteil | ||||
| Legs for Utility Table=Tischbeine für Werkzeugtisch | ||||
| Small round glass table=Kleiner runder Glastisch | ||||
| Small round wooden table=Kleiner runder Holztisch | ||||
| Small square glass table=Kleiner quadratischer Glastisch | ||||
| Small square wooden table=Kleiner quadratischer Holztisch | ||||
| Table Legs (@1)=Tischbeine (@1) | ||||
| Utility Table=Werkzeugtisch | ||||
| brass=Messing | ||||
| wrought iron=Schmiedeeisen | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.es.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.es.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Mesa de café | ||||
| No room to place the coffee table!=¡No hay lugar para colocar la mesa de café! | ||||
| Someone else owns the spot where the middle or far end goes!=Alguien ya es dueño del lugar donde va la cabecera. | ||||
| Someone else owns the spot where the other end goes!=Alguien ya es dueño del lugar donde va la cabecera. | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Mesa final | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Mesa grande de vídrio | ||||
| Large wooden table piece=Mesa grande de madera | ||||
| Legs for Utility Table=Patas para mesa utilitaria | ||||
| Small round glass table=Mesa redonda pequeña de vídrio | ||||
| Small round wooden table=Mesa redonda pequeña de madera | ||||
| Small square glass table=Mesa cuadrada pequeña de vídrio | ||||
| Small square wooden table=Mesa cuadrada pequeña de madera | ||||
| Table Legs (@1)=Patas de mesa (@1) | ||||
| Utility Table=Mesa utilitaria | ||||
| brass=latón | ||||
| wrought iron=hierro forjado | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.fr.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.fr.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Table basse | ||||
| No room to place the coffee table!=Pas assez de place pour poser la table basse ! | ||||
| Someone else owns the spot where the middle or far end goes!=Quelqu'un d'autre est propriétaire de l'endroit où va le milieu ou l'autre bout ! | ||||
| Someone else owns the spot where the other end goes!=Quelqu'un d'autre est propriétaire de l'endroit où va l'autre bout ! | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Extrémité de table | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Élément de grande table en verre | ||||
| Large wooden table piece=Élément de grande table en bois | ||||
| Legs for Utility Table=Pieds pour plan de travail | ||||
| Small round glass table=Petite table ronde en verre | ||||
| Small round wooden table=Petite table ronde en bois | ||||
| Small square glass table=Petite table carrée en verre | ||||
| Small square wooden table=Petite table carrée en bois | ||||
| Table Legs (@1)=Pieds de table (@1) | ||||
| Utility Table=Plan de travail | ||||
| brass=laiton | ||||
| wrought iron=fer forgé | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.it.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.it.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Tavolo | ||||
| No room to place the coffee table!= | ||||
| Someone else owns the spot where the middle or far end goes!= | ||||
| Someone else owns the spot where the other end goes!= | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Tavolo | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece= | ||||
| Large wooden table piece= | ||||
| Legs for Utility Table=Gambe per il tavolo da lavoro | ||||
| Small round glass table=Altoparlante audio surround piccolo | ||||
| Small round wooden table=Altoparlante audio surround piccolo | ||||
| Small square glass table= | ||||
| Small square wooden table=Bauletto in legno | ||||
| Table Legs (@1)=Gambe in ottone del tavolo | ||||
| Utility Table=Tavolo di lavoro | ||||
| brass= | ||||
| wrought iron=Palo di ferro battuto | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.ms.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.ms.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Meja Kopi | ||||
| No room to place the coffee table!=Tiada ruang untuk letak meja kopi! | ||||
| Someone else owns the spot where the middle or far end goes!=Tempat untuk letak pertengahan atau hujung objek itu kawasan kepunyaan orang lain! | ||||
| Someone else owns the spot where the other end goes!=Tempat untuk letak hujung objek itu kawasan kepunyaan orang lain! | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Meja Hujung | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Kepingan Kaca Meja Besar | ||||
| Large wooden table piece=Kepingan Meja Kayu Besar | ||||
| Legs for Utility Table=Kaki untuk Meja Utiliti | ||||
| Small round glass table=Kaca Meja Bulat Kecil | ||||
| Small round wooden table=Kepingan Meja Kayu Bulat Kecil | ||||
| Small square glass table=Kaca Meja Segi Empat Kecil | ||||
| Small square wooden table=Kepingan Meja Kayu Segi Empat Kecil | ||||
| Table Legs (@1)=Kaki Meja (@1) | ||||
| Utility Table=Kepingan Meja Utiliti | ||||
| brass=Loyang | ||||
| wrought iron=Besi Tempaan | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.pt.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.pt.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Mesa de Café | ||||
| No room to place the coffee table!=Sem espaço para colocar a mesa de café | ||||
| Someone else owns the spot where the middle or far end goes!=Alguém já é proprietário do local onde a cabeceira vai. | ||||
| Someone else owns the spot where the other end goes!=Alguém já é proprietário do local onde a cabeceira vai. | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Mesa | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Mesa grande de vidro | ||||
| Large wooden table piece=Mesa grande de madeira | ||||
| Legs for Utility Table=Pernas para Mesa de Trabalho | ||||
| Small round glass table=Mesa pequena circular de vidro | ||||
| Small round wooden table=Mesa pequena circular de madeira | ||||
| Small square glass table=Mesa pequena quadrada de vidro | ||||
| Small square wooden table=Mesa pequena quadrada de madeira | ||||
| Table Legs (@1)=Pernas de Mesa (@1) | ||||
| Utility Table=Mesa de Trabalho | ||||
| brass=latão | ||||
| wrought iron=ferro forjado | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.pt_BR.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.pt_BR.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Mesa de Café | ||||
| No room to place the coffee table!=Sem espaço para colocar a mesa de café | ||||
| Someone else owns the spot where the middle or far end goes!=Alguém já é proprietário do local onde a cabeceira vai. | ||||
| Someone else owns the spot where the other end goes!=Alguém já é proprietário do local onde a cabeceira vai. | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Mesa | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Mesa grande de vidro | ||||
| Large wooden table piece=Mesa grande de madeira | ||||
| Legs for Utility Table=Pernas para Mesa de Trabalho | ||||
| Small round glass table=Mesa pequena circular de vidro | ||||
| Small round wooden table=Mesa pequena circular de madeira | ||||
| Small square glass table=Mesa pequena quadrada de vidro | ||||
| Small square wooden table=Mesa pequena quadrada de madeira | ||||
| Table Legs (@1)=Pernas de Mesa (@1) | ||||
| Utility Table=Mesa de Trabalho | ||||
| brass=latão | ||||
| wrought iron=ferro forjado | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.ru.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.ru.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=Кофейный столик | ||||
| No room to place the coffee table!=Нет места для установки кофейного столика! | ||||
| Someone else owns the spot where the middle or far end goes!=Кому-то другому принадлежит точка, куда выходит средний или дальний конец! | ||||
| Someone else owns the spot where the other end goes!=Кому-то другому принадлежит точка, где выходит другой конец! | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=Оконечный стол | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=Большая стеклянная столешница | ||||
| Large wooden table piece=Большая деревянная столешница | ||||
| Legs for Utility Table=Ножки вспомогательного стола | ||||
| Small round glass table=Маленький круглый стеклянный столик | ||||
| Small round wooden table=Маленький круглый деревянный столик | ||||
| Small square glass table=Маленький квадратный стеклянный столик | ||||
| Small square wooden table=Маленький квадратный деревянный столик | ||||
| Table Legs (@1)=Ножки стола (@1) | ||||
| Utility Table=Вспомогательный стол | ||||
| brass=латунь | ||||
| wrought iron=кованное железо | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.zh_CN.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/homedecor_tables.zh_CN.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table=咖啡桌 | ||||
| No room to place the coffee table!=没有地方放咖啡桌! | ||||
| Someone else owns the spot where the middle or far end goes!=中间或远端去的地方是别人的! | ||||
| Someone else owns the spot where the other end goes!=另一端去的地方是别人的! | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table=结束表 | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece=大玻璃桌片 | ||||
| Large wooden table piece=大木桌片 | ||||
| Legs for Utility Table=通用桌腿 | ||||
| Small round glass table=小圆形玻璃桌 | ||||
| Small round wooden table=小圆桌 | ||||
| Small square glass table=小方形玻璃桌 | ||||
| Small square wooden table=小方木桌 | ||||
| Table Legs (@1)=桌腿(@1) | ||||
| Utility Table=效用表 | ||||
| brass=黄铜 | ||||
| wrought iron=锻铁 | ||||
							
								
								
									
										27
									
								
								homedecor_tables/locale/template.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								homedecor_tables/locale/template.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # textdomain: homedecor_tables | ||||
|  | ||||
|  | ||||
| ### coffeetable.lua ### | ||||
|  | ||||
| Coffee Table= | ||||
| No room to place the coffee table!= | ||||
| Someone else owns the spot where the middle or far end goes!= | ||||
| Someone else owns the spot where the other end goes!= | ||||
|  | ||||
| ### endtable.lua ### | ||||
|  | ||||
| End Table= | ||||
|  | ||||
| ### misc.lua ### | ||||
|  | ||||
| Large glass table piece= | ||||
| Large wooden table piece= | ||||
| Legs for Utility Table= | ||||
| Small round glass table= | ||||
| Small round wooden table= | ||||
| Small square glass table= | ||||
| Small square wooden table= | ||||
| Table Legs (@1)= | ||||
| Utility Table= | ||||
| brass= | ||||
| wrought iron= | ||||
| @@ -1,6 +1,6 @@ | ||||
| -- formerly homedecor's misc tables component | ||||
|  | ||||
| local S = homedecor.gettext | ||||
| local S = minetest.get_translator("homedecor_tables") | ||||
|  | ||||
| local materials = { | ||||
| 	{ "glass", | ||||
|   | ||||
							
								
								
									
										3
									
								
								homedecor_tables/mod.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								homedecor_tables/mod.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| name = homedecor_tables | ||||
| description = Homedecor mod: tables | ||||
| depends = homedecor_common, default, basic_materials | ||||
		Reference in New Issue
	
	Block a user