mirror of
				https://github.com/mt-mods/basic_signs.git
				synced 2025-10-28 22:55:22 +01:00 
			
		
		
		
	Compare commits
	
		
			11 Commits
		
	
	
		
			2019-10-12
			...
			70a5c787ba
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 70a5c787ba | ||
|  | cf9474409a | ||
|  | ba05a4c983 | ||
|  | 58c223675d | ||
|  | 3f0ffe0b52 | ||
|  | 6f4f80bdc6 | ||
|  | 239442ed1c | ||
|  | 275d3e7207 | ||
| e588072095 | |||
| 472f977779 | |||
|  | 29c8051b96 | 
							
								
								
									
										10
									
								
								.github/workflows/luacheck.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/luacheck.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | name: luacheck | ||||||
|  | on: [push, pull_request] | ||||||
|  | jobs: | ||||||
|  |   lint: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@master | ||||||
|  |       - uses: Roang-zero1/factorio-mod-luacheck@master | ||||||
|  |         with: | ||||||
|  |           luacheckrc_url: "" | ||||||
							
								
								
									
										9
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | read_globals = { | ||||||
|  |     "minetest", | ||||||
|  |     "signs_lib", | ||||||
|  |     "default" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | globals = { | ||||||
|  |     "basic_signs" | ||||||
|  | } | ||||||
							
								
								
									
										126
									
								
								crafting.lua
									
									
									
									
									
								
							
							
						
						
									
										126
									
								
								crafting.lua
									
									
									
									
									
								
							| @@ -12,172 +12,108 @@ minetest.register_craft({ | |||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_green", | 	output = "basic_signs:sign_wall_steel_green", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:dark_green", "dye:white", "dye:dark_green" }, | 		{"dye:dark_green", "dye:white", "dye:dark_green"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_green 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:dark_green", "dye:white", "dye:dark_green" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_yellow", | 	output = "basic_signs:sign_wall_steel_yellow", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:yellow", "dye:black", "dye:yellow" }, | 		{"dye:yellow", "dye:black", "dye:yellow"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_yellow 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:yellow", "dye:black", "dye:yellow" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_red", | 	output = "basic_signs:sign_wall_steel_red", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:red", "dye:white", "dye:red" }, | 		{"dye:red", "dye:white", "dye:red"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_red 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:red", "dye:white", "dye:red" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_white_red", | 	output = "basic_signs:sign_wall_steel_white_red", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:white", "dye:red", "dye:white" }, | 		{"dye:white", "dye:red", "dye:white"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_white_red 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:white", "dye:red", "dye:white" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_white_black", | 	output = "basic_signs:sign_wall_steel_white_black", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:white", "dye:black", "dye:white" }, | 		{"dye:white", "dye:black", "dye:white"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_white_black 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:white", "dye:black", "dye:white" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_orange", | 	output = "basic_signs:sign_wall_steel_orange", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:orange", "dye:black", "dye:orange" }, | 		{"dye:orange", "dye:black", "dye:orange"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_orange 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:orange", "dye:black", "dye:orange" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_blue", | 	output = "basic_signs:sign_wall_steel_blue", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:blue", "dye:white", "dye:blue" }, | 		{"dye:blue", "dye:white", "dye:blue"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_blue 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:blue", "dye:white", "dye:blue" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_steel_brown", | 	output = "basic_signs:sign_wall_steel_brown", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "dye:brown", "dye:white", "dye:brown" }, | 		{"dye:brown", "dye:white", "dye:brown"}, | ||||||
| 			{ "", "default:sign_wall_steel", "" } | 		{"", "default:sign_wall_steel", ""} | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft( { |  | ||||||
| 	output = "basic_signs:sign_wall_steel_brown 2", |  | ||||||
| 	recipe = { |  | ||||||
| 			{ "dye:brown", "dye:white", "dye:brown" }, |  | ||||||
| 			{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" } |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_glass 8", | 	output = "basic_signs:sign_wall_glass 8", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "default:glass", "default:glass", "default:glass" }, | 		{"default:glass", "default:glass", "default:glass"}, | ||||||
| 			{ "default:glass", "default:glass", "default:glass" }, | 		{"default:glass", "default:glass", "default:glass"}, | ||||||
| 			{ "",              "default:glass", "" } | 		{"",              "default:glass", ""} | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_obsidian_glass 8", | 	output = "basic_signs:sign_wall_obsidian_glass 8", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass" }, | 		{"default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass"}, | ||||||
| 			{ "default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass" }, | 		{"default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass"}, | ||||||
| 			{ "",                       "default:obsidian_glass", "" } | 		{"", "default:obsidian_glass", ""} | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_glass 3", | 	output = "basic_signs:sign_wall_glass 3", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "xpanes:pane_flat", "xpanes:pane_flat", "xpanes:pane_flat" }, | 		{"xpanes:pane_flat", "xpanes:pane_flat", "xpanes:pane_flat"}, | ||||||
| 			{ "xpanes:pane_flat", "xpanes:pane_flat", "xpanes:pane_flat" }, | 		{"xpanes:pane_flat", "xpanes:pane_flat", "xpanes:pane_flat"}, | ||||||
| 			{ "",                 "xpanes:pane_flat", "" } | 		{"", "xpanes:pane_flat", ""} | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_obsidian_glass 3", | 	output = "basic_signs:sign_wall_obsidian_glass 3", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat" }, | 		{"xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat"}, | ||||||
| 			{ "xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat" }, | 		{"xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat", "xpanes:obsidian_pane_flat"}, | ||||||
| 			{ "",                       "xpanes:obsidian_pane_flat", "" } | 		{"", "xpanes:obsidian_pane_flat", ""} | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft( { | minetest.register_craft( { | ||||||
| 	output = "basic_signs:sign_wall_plastic 3", | 	output = "basic_signs:sign_wall_plastic 3", | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 			{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, | 		{"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"}, | ||||||
| 			{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, | 		{"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"}, | ||||||
| 			{ "",                              "default:steel_ingot",           "" } | 		{"", "default:steel_ingot", ""} | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|   | |||||||
| @@ -1,3 +0,0 @@ | |||||||
| default |  | ||||||
| signs_lib |  | ||||||
| basic_materials |  | ||||||
							
								
								
									
										29
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								init.lua
									
									
									
									
									
								
							| @@ -6,8 +6,7 @@ basic_signs.path = minetest.get_modpath(minetest.get_current_modname()) | |||||||
|  |  | ||||||
| dofile(basic_signs.path .. "/crafting.lua") | dofile(basic_signs.path .. "/crafting.lua") | ||||||
|  |  | ||||||
| local S, NS = dofile(basic_signs.path .. "/intllib.lua") | local S = minetest.get_translator(minetest.get_current_modname()) | ||||||
| basic_signs.gettext = S |  | ||||||
|  |  | ||||||
| signs_lib.register_sign("basic_signs:sign_wall_locked", { | signs_lib.register_sign("basic_signs:sign_wall_locked", { | ||||||
| 	description = S("Locked Sign"), | 	description = S("Locked Sign"), | ||||||
| @@ -23,13 +22,14 @@ signs_lib.register_sign("basic_signs:sign_wall_locked", { | |||||||
| 	allow_onpole = true, | 	allow_onpole = true, | ||||||
| 	allow_onpole_horizontal = true, | 	allow_onpole_horizontal = true, | ||||||
| 	allow_yard = true, | 	allow_yard = true, | ||||||
|  | 	use_texture_alpha = "clip", | ||||||
| }) | }) | ||||||
|  |  | ||||||
| signs_lib.register_sign("basic_signs:sign_wall_glass", { | signs_lib.register_sign("basic_signs:sign_wall_glass", { | ||||||
| 	description = S("Glass Sign"), | 	description = S("Glass Sign"), | ||||||
| 	yard_mesh = "signs_lib_standard_sign_yard_two_sticks.obj", | 	yard_mesh = "signs_lib_standard_sign_yard_two_sticks.obj", | ||||||
| 	tiles = { | 	tiles = { | ||||||
| 		{ name = "basic_signs_sign_wall_glass.png", backface_culling = true}, | 		{name = "basic_signs_sign_wall_glass.png", backface_culling = true}, | ||||||
| 		"basic_signs_sign_wall_glass_edges.png", | 		"basic_signs_sign_wall_glass_edges.png", | ||||||
| 		"basic_signs_pole_mount_glass.png", | 		"basic_signs_pole_mount_glass.png", | ||||||
| 		nil, | 		nil, | ||||||
| @@ -45,14 +45,14 @@ signs_lib.register_sign("basic_signs:sign_wall_glass", { | |||||||
| 	allow_onpole = true, | 	allow_onpole = true, | ||||||
| 	allow_onpole_horizontal = true, | 	allow_onpole_horizontal = true, | ||||||
| 	allow_yard = true, | 	allow_yard = true, | ||||||
| 	use_texture_alpha = true, | 	use_texture_alpha = "blend", | ||||||
| }) | }) | ||||||
|  |  | ||||||
| signs_lib.register_sign("basic_signs:sign_wall_obsidian_glass", { | signs_lib.register_sign("basic_signs:sign_wall_obsidian_glass", { | ||||||
| 	description = S("Obsidian Glass Sign"), | 	description = S("Obsidian Glass Sign"), | ||||||
| 	yard_mesh = "signs_lib_standard_sign_yard_two_sticks.obj", | 	yard_mesh = "signs_lib_standard_sign_yard_two_sticks.obj", | ||||||
| 	tiles = { | 	tiles = { | ||||||
| 		{ name = "basic_signs_sign_wall_obsidian_glass.png", backface_culling = true}, | 		{name = "basic_signs_sign_wall_obsidian_glass.png", backface_culling = true}, | ||||||
| 		"basic_signs_sign_wall_obsidian_glass_edges.png", | 		"basic_signs_sign_wall_obsidian_glass_edges.png", | ||||||
| 		"basic_signs_pole_mount_obsidian_glass.png", | 		"basic_signs_pole_mount_obsidian_glass.png", | ||||||
| 		nil, | 		nil, | ||||||
| @@ -68,7 +68,7 @@ signs_lib.register_sign("basic_signs:sign_wall_obsidian_glass", { | |||||||
| 	allow_onpole = true, | 	allow_onpole = true, | ||||||
| 	allow_onpole_horizontal = true, | 	allow_onpole_horizontal = true, | ||||||
| 	allow_yard = true, | 	allow_yard = true, | ||||||
| 	use_texture_alpha = true, | 	use_texture_alpha = "blend", | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_alias("locked_sign:sign_wall_locked", "basic_signs:sign_wall_locked") | minetest.register_alias("locked_sign:sign_wall_locked", "basic_signs:sign_wall_locked") | ||||||
| @@ -93,7 +93,7 @@ signs_lib.register_sign("basic_signs:sign_wall_plastic", { | |||||||
| 	allow_onpole = true, | 	allow_onpole = true, | ||||||
| 	allow_onpole_horizontal = true, | 	allow_onpole_horizontal = true, | ||||||
| 	allow_yard = true, | 	allow_yard = true, | ||||||
| 	use_texture_alpha = true, | 	use_texture_alpha = "clip", | ||||||
| }) | }) | ||||||
|  |  | ||||||
| -- array : color, translated color, default text color | -- array : color, translated color, default text color | ||||||
| @@ -111,7 +111,7 @@ local sign_colors = { | |||||||
|  |  | ||||||
| local cbox = signs_lib.make_selection_boxes(35, 25, true, 0, 0, 0, true) | local cbox = signs_lib.make_selection_boxes(35, 25, true, 0, 0, 0, true) | ||||||
|  |  | ||||||
| for i, color in ipairs(sign_colors) do | for _, color in ipairs(sign_colors) do | ||||||
| 	signs_lib.register_sign("basic_signs:sign_wall_steel_"..color[1], { | 	signs_lib.register_sign("basic_signs:sign_wall_steel_"..color[1], { | ||||||
| 		description = S("Sign (@1, steel)", color[2]), | 		description = S("Sign (@1, steel)", color[2]), | ||||||
| 		paramtype2 = "facedir", | 		paramtype2 = "facedir", | ||||||
| @@ -137,12 +137,17 @@ for i, color in ipairs(sign_colors) do | |||||||
| 		allow_onpole = true, | 		allow_onpole = true, | ||||||
| 		allow_onpole_horizontal = true, | 		allow_onpole_horizontal = true, | ||||||
| 		allow_yard = true, | 		allow_yard = true, | ||||||
|  | 		use_texture_alpha = "clip", | ||||||
| 	}) | 	}) | ||||||
|  |  | ||||||
| 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole",       "basic_signs:sign_steel_"..color[1].."_onpole") | 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole", | ||||||
| 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole_horiz", "basic_signs:sign_steel_"..color[1].."_onpole_horiz") | 		"basic_signs:sign_steel_"..color[1].."_onpole") | ||||||
| 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_hanging",      "basic_signs:sign_steel_"..color[1].."_hanging") | 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_onpole_horiz", | ||||||
| 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_yard",         "basic_signs:sign_steel_"..color[1].."_yard") | 		"basic_signs:sign_steel_"..color[1].."_onpole_horiz") | ||||||
|  | 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_hanging", | ||||||
|  | 		"basic_signs:sign_steel_"..color[1].."_hanging") | ||||||
|  | 	minetest.register_alias("basic_signs:sign_wall_steel_"..color[1].."_yard", | ||||||
|  | 		"basic_signs:sign_steel_"..color[1].."_yard") | ||||||
|  |  | ||||||
| 	table.insert(signs_lib.lbm_restore_nodes, "signs:sign_wall_"..color[1]) | 	table.insert(signs_lib.lbm_restore_nodes, "signs:sign_wall_"..color[1]) | ||||||
| 	minetest.register_alias("signs:sign_wall_"..color[1],                  "basic_signs:sign_wall_steel_"..color[1]) | 	minetest.register_alias("signs:sign_wall_"..color[1],                  "basic_signs:sign_wall_steel_"..color[1]) | ||||||
|   | |||||||
							
								
								
									
										45
									
								
								intllib.lua
									
									
									
									
									
								
							
							
						
						
									
										45
									
								
								intllib.lua
									
									
									
									
									
								
							| @@ -1,45 +0,0 @@ | |||||||
|  |  | ||||||
| -- Fallback functions for when `intllib` is not installed. |  | ||||||
| -- Code released under Unlicense <http://unlicense.org>. |  | ||||||
|  |  | ||||||
| -- Get the latest version of this file at: |  | ||||||
| --   https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua |  | ||||||
|  |  | ||||||
| local function format(str, ...) |  | ||||||
| 	local args = { ... } |  | ||||||
| 	local function repl(escape, open, num, close) |  | ||||||
| 		if escape == "" then |  | ||||||
| 			local replacement = tostring(args[tonumber(num)]) |  | ||||||
| 			if open == "" then |  | ||||||
| 				replacement = replacement..close |  | ||||||
| 			end |  | ||||||
| 			return replacement |  | ||||||
| 		else |  | ||||||
| 			return "@"..open..num..close |  | ||||||
| 		end |  | ||||||
| 	end |  | ||||||
| 	return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl)) |  | ||||||
| end |  | ||||||
|  |  | ||||||
| local gettext, ngettext |  | ||||||
| if minetest.get_modpath("intllib") then |  | ||||||
| 	if intllib.make_gettext_pair then |  | ||||||
| 		-- New method using gettext. |  | ||||||
| 		gettext, ngettext = intllib.make_gettext_pair() |  | ||||||
| 	else |  | ||||||
| 		-- Old method using text files. |  | ||||||
| 		gettext = intllib.Getter() |  | ||||||
| 	end |  | ||||||
| end |  | ||||||
|  |  | ||||||
| -- Fill in missing functions. |  | ||||||
|  |  | ||||||
| gettext = gettext or function(msgid, ...) |  | ||||||
| 	return format(msgid, ...) |  | ||||||
| end |  | ||||||
|  |  | ||||||
| ngettext = ngettext or function(msgid, msgid_plural, n, ...) |  | ||||||
| 	return format(n==1 and msgid or msgid_plural, ...) |  | ||||||
| end |  | ||||||
|  |  | ||||||
| return gettext, ngettext |  | ||||||
							
								
								
									
										14
									
								
								locale/basic_signs.de.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								locale/basic_signs.de.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign=Abgeschlossenes Schild | ||||||
|  | Glass Sign=Glasschild | ||||||
|  | Obsidian Glass Sign=Obsidianglasschild | ||||||
|  | Plastic Sign=Plastikschild | ||||||
|  | green=grün | ||||||
|  | yellow=gelb | ||||||
|  | red=rot | ||||||
|  | white_red=weiß-rot | ||||||
|  | white_black=weiß-schwarz | ||||||
|  | orange=orange | ||||||
|  | blue=blau | ||||||
|  | brown=braun | ||||||
|  | Sign (@1, steel)=Schild (@1, Stahl) | ||||||
							
								
								
									
										14
									
								
								locale/basic_signs.es.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								locale/basic_signs.es.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign=Cartel privado | ||||||
|  | Glass Sign=Cartel de vidrio | ||||||
|  | Obsidian Glass Sign=Cartel de obsidiana | ||||||
|  | Plastic Sign=Cartel de plástico | ||||||
|  | green=verde | ||||||
|  | yellow=amarillo | ||||||
|  | red=rojo | ||||||
|  | white_red=blanco y rojo | ||||||
|  | white_black=blanco y negro | ||||||
|  | orange=naranja | ||||||
|  | blue=azul | ||||||
|  | brown=marrón | ||||||
|  | Sign (@1, steel)=Cartel (@1, acero) | ||||||
							
								
								
									
										14
									
								
								locale/basic_signs.fr.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								locale/basic_signs.fr.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign=Panneau (verrouillé) | ||||||
|  | Glass Sign= | ||||||
|  | Obsidian Glass Sign= | ||||||
|  | Plastic Sign= | ||||||
|  | green=vert | ||||||
|  | yellow=jaune | ||||||
|  | red=rouge | ||||||
|  | white_red=rouge et blanc | ||||||
|  | white_black=noir et blanc | ||||||
|  | orange=orange | ||||||
|  | blue=bleu | ||||||
|  | brown=marron | ||||||
|  | Sign (@1, steel)= | ||||||
							
								
								
									
										14
									
								
								locale/basic_signs.id.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								locale/basic_signs.id.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign=Penanda Terkunci | ||||||
|  | Glass Sign=Penanda Kaca | ||||||
|  | Obsidian Glass Sign=Penanda Kaca Obsidian | ||||||
|  | Plastic Sign=Penanda Plastik | ||||||
|  | green=hijau | ||||||
|  | yellow=kuning | ||||||
|  | red=merah | ||||||
|  | white_red=putih_merah | ||||||
|  | white_black=putih_hitam | ||||||
|  | orange=oranye | ||||||
|  | blue=biru | ||||||
|  | brown=cokelat | ||||||
|  | Sign (@1, steel)=Penanda (@1, baja) | ||||||
							
								
								
									
										14
									
								
								locale/basic_signs.ms.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								locale/basic_signs.ms.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign=Papan Tanda Berkunci | ||||||
|  | Glass Sign= | ||||||
|  | Obsidian Glass Sign= | ||||||
|  | Plastic Sign= | ||||||
|  | green=hijau | ||||||
|  | yellow=kuning | ||||||
|  | red=merah | ||||||
|  | white_red=putih_merah | ||||||
|  | white_black=putih_hitam | ||||||
|  | orange=jingga | ||||||
|  | blue=biru | ||||||
|  | brown=perang | ||||||
|  | Sign (@1, steel)= | ||||||
							
								
								
									
										15
									
								
								locale/basic_signs.ru.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								locale/basic_signs.ru.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign=защищенная табличка | ||||||
|  | Glass Sign= | ||||||
|  | Obsidian Glass Sign= | ||||||
|  | Plastic Sign= | ||||||
|  | green=зеленая | ||||||
|  | yellow=желтая | ||||||
|  | red=красная | ||||||
|  | white_red=краснобелая | ||||||
|  | white_black=чернобелая | ||||||
|  | orange=оранжевая | ||||||
|  | blue=синея | ||||||
|  | brown=коричневая | ||||||
|  | Sign (@1, steel)= | ||||||
|  |  | ||||||
							
								
								
									
										16
									
								
								locale/basic_signs.uk.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								locale/basic_signs.uk.tr
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Basic Signs=Базові таблички | ||||||
|  | A small selection of metal wall signs, and a few kinds of wooden signs.=Невеликий набір металевих настінних табличок і кілька видів дерев'яних табличок. | ||||||
|  | Locked Sign=Заблокована табличка | ||||||
|  | Glass Sign=Скляна табличка | ||||||
|  | Obsidian Glass Sign=Обсидіанова скляна табличка | ||||||
|  | Plastic Sign=Пластикова табличка | ||||||
|  | green=зелена | ||||||
|  | yellow=жовта | ||||||
|  | red=червона | ||||||
|  | white_red=біло-червона | ||||||
|  | white_black=чорно-біла | ||||||
|  | orange=помаранчева | ||||||
|  | blue=блакитна | ||||||
|  | brown=коричнева | ||||||
|  | Sign (@1, steel)=Табличка (@1, сталева) | ||||||
							
								
								
									
										97
									
								
								locale/de.po
									
									
									
									
									
								
							
							
						
						
									
										97
									
								
								locale/de.po
									
									
									
									
									
								
							| @@ -1,97 +0,0 @@ | |||||||
| # German Translation for the signs_lib mod. |  | ||||||
| # Copyright (C) 2018 Vanessa Ezekowitz |  | ||||||
| # This file is distributed under the same license as the signs_lib package. |  | ||||||
| # Xanthin, 2017. |  | ||||||
| # CodeXP <codexp@gmx.net>, 2018. |  | ||||||
| # |  | ||||||
| msgid "" |  | ||||||
| msgstr "" |  | ||||||
| "Project-Id-Version: \n" |  | ||||||
| "Report-Msgid-Bugs-To: \n" |  | ||||||
| "POT-Creation-Date: 2017-07-31 18:31+0200\n" |  | ||||||
| "PO-Revision-Date: 2018-03-24 22:00+0100\n" |  | ||||||
| "Last-Translator: CodeXP <codexp@gmx.net>\n" |  | ||||||
| "Language-Team: \n" |  | ||||||
| "Language: de\n" |  | ||||||
| "MIME-Version: 1.0\n" |  | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" |  | ||||||
| "Content-Transfer-Encoding: 8bit\n" |  | ||||||
| "X-Generator: Poedit 1.8.12\n" |  | ||||||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Write" |  | ||||||
| msgstr "schreiben" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked sign, owned by @1\n" |  | ||||||
| msgstr "gesperrter Schild, gehört @1\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "locked " |  | ||||||
| msgstr "gesperrt " |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| #, fuzzy |  | ||||||
| msgid "@1 wrote \"@2\" to @3sign at @4" |  | ||||||
| msgstr "@1 schrieb \"@2\" auf das @3Schild bei @4" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign" |  | ||||||
| msgstr "Schild" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Can edit all locked signs" |  | ||||||
| msgstr "Kann alle gesperrte Schilder bearbeiten" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked Sign" |  | ||||||
| msgstr "gesperrter Schild" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "green" |  | ||||||
| msgstr "grün" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "yellow" |  | ||||||
| msgstr "gelb" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "red" |  | ||||||
| msgstr "rot" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_red" |  | ||||||
| msgstr "weißrot" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_black" |  | ||||||
| msgstr "schwarzweiß" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "orange" |  | ||||||
| msgstr "orange" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "blue" |  | ||||||
| msgstr "blau" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "brown" |  | ||||||
| msgstr "braun" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign (@1, metal)" |  | ||||||
| msgstr "Schild (@1, Metall)" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Attempt to register unknown node as fence" |  | ||||||
| msgstr "Versuch ein unbekanntes Element als Zaun zu registrieren" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Registered @1 and @2" |  | ||||||
| msgstr "Registrierte @1 und @2" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "[MOD] signs loaded" |  | ||||||
| msgstr "[MOD] Schilder-Mod geladen" |  | ||||||
							
								
								
									
										95
									
								
								locale/es.po
									
									
									
									
									
								
							
							
						
						
									
										95
									
								
								locale/es.po
									
									
									
									
									
								
							| @@ -1,95 +0,0 @@ | |||||||
| # SOME DESCRIPTIVE TITLE. |  | ||||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |  | ||||||
| # This file is distributed under the same license as the PACKAGE package. |  | ||||||
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |  | ||||||
| # |  | ||||||
| msgid "" |  | ||||||
| msgstr "" |  | ||||||
| "Project-Id-Version: \n" |  | ||||||
| "Report-Msgid-Bugs-To: \n" |  | ||||||
| "POT-Creation-Date: 2017-07-31 18:22+0200\n" |  | ||||||
| "PO-Revision-Date: 2017-07-31 18:30+0200\n" |  | ||||||
| "Language-Team: \n" |  | ||||||
| "MIME-Version: 1.0\n" |  | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" |  | ||||||
| "Content-Transfer-Encoding: 8bit\n" |  | ||||||
| "X-Generator: Poedit 1.8.12\n" |  | ||||||
| "Last-Translator: Carlos Barraza\n" |  | ||||||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" |  | ||||||
| "Language: es\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked sign, owned by @1\n" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "locked " |  | ||||||
| msgstr "bloqueada " |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "@1 wrote \"@2\" to @3sign at @4" |  | ||||||
| msgstr "@1 escribio \"@2\" en el cartel @3en @4" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign" |  | ||||||
| msgstr "Letrero" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Can edit all locked signs" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| #, fuzzy |  | ||||||
| msgid "Locked Sign" |  | ||||||
| msgstr "Letrero bloqueada" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "green" |  | ||||||
| msgstr "verde" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "yellow" |  | ||||||
| msgstr "amarillo" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "red" |  | ||||||
| msgstr "rojo" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| #, fuzzy |  | ||||||
| msgid "white_red" |  | ||||||
| msgstr "rojo y blanco" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| #, fuzzy |  | ||||||
| msgid "white_black" |  | ||||||
| msgstr "negro y blanco" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "orange" |  | ||||||
| msgstr "naranja" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "blue" |  | ||||||
| msgstr "azul" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "brown" |  | ||||||
| msgstr "marrón" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| #, fuzzy |  | ||||||
| msgid "Sign (@1, metal)" |  | ||||||
| msgstr "Letrero (@1, metal)" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Attempt to register unknown node as fence" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Registered @1 and @2" |  | ||||||
| msgstr "Registrado @1 y @2" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "[MOD] signs loaded" |  | ||||||
| msgstr "[MOD] signs cargados" |  | ||||||
							
								
								
									
										91
									
								
								locale/fr.po
									
									
									
									
									
								
							
							
						
						
									
										91
									
								
								locale/fr.po
									
									
									
									
									
								
							| @@ -1,91 +0,0 @@ | |||||||
| # SOME DESCRIPTIVE TITLE. |  | ||||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |  | ||||||
| # This file is distributed under the same license as the PACKAGE package. |  | ||||||
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |  | ||||||
| # |  | ||||||
| msgid "" |  | ||||||
| msgstr "" |  | ||||||
| "Project-Id-Version: \n" |  | ||||||
| "Report-Msgid-Bugs-To: \n" |  | ||||||
| "POT-Creation-Date: 2017-07-31 18:13+0200\n" |  | ||||||
| "PO-Revision-Date: 2017-07-31 18:22+0200\n" |  | ||||||
| "Language-Team: \n" |  | ||||||
| "MIME-Version: 1.0\n" |  | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" |  | ||||||
| "Content-Transfer-Encoding: 8bit\n" |  | ||||||
| "X-Generator: Poedit 1.8.12\n" |  | ||||||
| "Last-Translator: fat115 <fat115@framasoft.org>\n" |  | ||||||
| "Plural-Forms: nplurals=2; plural=(n > 1);\n" |  | ||||||
| "Language: fr\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked sign, owned by @1\n" |  | ||||||
| msgstr "Panneau verrouillé, appartient à @1\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "locked " |  | ||||||
| msgstr "verrouillé " |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "@1 wrote \"@2\" to @3sign at @4" |  | ||||||
| msgstr "@1 a écrit \"@2\" sur le panneau @3en @4" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign" |  | ||||||
| msgstr "Panneau" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Can edit all locked signs" |  | ||||||
| msgstr "Peut modifier les panneaux verrouillés" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked Sign" |  | ||||||
| msgstr "Panneau (verrouillé)" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "green" |  | ||||||
| msgstr "vert" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "yellow" |  | ||||||
| msgstr "jaune" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "red" |  | ||||||
| msgstr "rouge" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_red" |  | ||||||
| msgstr "rouge et blanc" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_black" |  | ||||||
| msgstr "noir et blanc" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "orange" |  | ||||||
| msgstr "orange" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "blue" |  | ||||||
| msgstr "bleu" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "brown" |  | ||||||
| msgstr "marron" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign (@1, metal)" |  | ||||||
| msgstr "Panneau (@1, métal)" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Attempt to register unknown node as fence" |  | ||||||
| msgstr "Tentative d'enregistrer un nœud inconnu comme barrière" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Registered @1 and @2" |  | ||||||
| msgstr "Enregistrement de @1 et @" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "[MOD] signs loaded" |  | ||||||
| msgstr "[MOD] signs chargé" |  | ||||||
							
								
								
									
										91
									
								
								locale/ms.po
									
									
									
									
									
								
							
							
						
						
									
										91
									
								
								locale/ms.po
									
									
									
									
									
								
							| @@ -1,91 +0,0 @@ | |||||||
| # SOME DESCRIPTIVE TITLE. |  | ||||||
| # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |  | ||||||
| # This file is distributed under the same license as the PACKAGE package. |  | ||||||
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |  | ||||||
| # |  | ||||||
| msgid "" |  | ||||||
| msgstr "" |  | ||||||
| "Project-Id-Version: \n" |  | ||||||
| "Report-Msgid-Bugs-To: \n" |  | ||||||
| "POT-Creation-Date: 2017-07-31 18:00+0200\n" |  | ||||||
| "PO-Revision-Date: 2017-11-17 02:38+0800\n" |  | ||||||
| "Language-Team: \n" |  | ||||||
| "MIME-Version: 1.0\n" |  | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" |  | ||||||
| "Content-Transfer-Encoding: 8bit\n" |  | ||||||
| "X-Generator: Poedit 2.0.4\n" |  | ||||||
| "Last-Translator: \n" |  | ||||||
| "Plural-Forms: nplurals=1; plural=0;\n" |  | ||||||
| "Language: ms\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked sign, owned by @1\n" |  | ||||||
| msgstr "Papan tanda berkunci, milik @1\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "locked " |  | ||||||
| msgstr "berkunci " |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "@1 wrote \"@2\" to @3sign at @4" |  | ||||||
| msgstr "@1 menulis \"@2\" atas papan tanda @3dekat @4" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign" |  | ||||||
| msgstr "Papan Tanda" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Can edit all locked signs" |  | ||||||
| msgstr "Boleh sunting semua papan tanda berkunci" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked Sign" |  | ||||||
| msgstr "Papan Tanda Berkunci" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "green" |  | ||||||
| msgstr "hijau" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "yellow" |  | ||||||
| msgstr "kuning" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "red" |  | ||||||
| msgstr "merah" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_red" |  | ||||||
| msgstr "putih_merah" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_black" |  | ||||||
| msgstr "putih_hitam" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "orange" |  | ||||||
| msgstr "jingga" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "blue" |  | ||||||
| msgstr "biru" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "brown" |  | ||||||
| msgstr "perang" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign (@1, metal)" |  | ||||||
| msgstr "Papan Tanda (@1, logam)" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Attempt to register unknown node as fence" |  | ||||||
| msgstr "Cuba untuk mendaftar nod tidak diketahui sebagai pagar" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Registered @1 and @2" |  | ||||||
| msgstr "Telah daftar @1 dan @2" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "[MOD] signs loaded" |  | ||||||
| msgstr "[MODS] signs telah dimuatkan" |  | ||||||
							
								
								
									
										94
									
								
								locale/ru.po
									
									
									
									
									
								
							
							
						
						
									
										94
									
								
								locale/ru.po
									
									
									
									
									
								
							| @@ -1,94 +0,0 @@ | |||||||
| # Russian Translation for the signs_lib mod. |  | ||||||
| # Copyright (C) 2018 Vanessa Ezekowitz |  | ||||||
| # This file is distributed under the same license as the signs_lib package. |  | ||||||
| # CodeXP <codexp@gmx.net>, 2018. |  | ||||||
| # |  | ||||||
| #, fuzzy |  | ||||||
| msgid "" |  | ||||||
| msgstr "" |  | ||||||
| "Project-Id-Version: signs_lib\n" |  | ||||||
| "Report-Msgid-Bugs-To: \n" |  | ||||||
| "POT-Creation-Date: 2018-03-24 22:23+0100\n" |  | ||||||
| "PO-Revision-Date: \n" |  | ||||||
| "Last-Translator: CodeXP <codexp@gmx.net>\n" |  | ||||||
| "Language-Team: \n" |  | ||||||
| "Language: ru\n" |  | ||||||
| "MIME-Version: 1.0\n" |  | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" |  | ||||||
| "Content-Transfer-Encoding: 8bit\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Write" |  | ||||||
| msgstr "записать" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked sign, owned by @1\n" |  | ||||||
| msgstr "защищенная табличка, пренадлежит @1\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "locked " |  | ||||||
| msgstr "защищенный " |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "@1 wrote \"@2\" to @3sign at @4" |  | ||||||
| msgstr "@1 записал \"@2\" в @3sign на @4" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign" |  | ||||||
| msgstr "табличка" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Can edit all locked signs" |  | ||||||
| msgstr "Может редактировать все защищенные таблички" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked Sign" |  | ||||||
| msgstr "защищенная табличка" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "green" |  | ||||||
| msgstr "зеленая" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "yellow" |  | ||||||
| msgstr "желтая" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "red" |  | ||||||
| msgstr "красная" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_red" |  | ||||||
| msgstr "краснобелая" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_black" |  | ||||||
| msgstr "чернобелая" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "orange" |  | ||||||
| msgstr "оранжевая" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "blue" |  | ||||||
| msgstr "синея" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "brown" |  | ||||||
| msgstr "коричневая" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign (@1, metal)" |  | ||||||
| msgstr "Табличка (@1, металл)" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Attempt to register unknown node as fence" |  | ||||||
| msgstr "Попытка зарегистрировать неизвестный узел как забор" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Registered @1 and @2" |  | ||||||
| msgstr "Зарегистрировано @1 для @2" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "[MOD] signs loaded" |  | ||||||
| msgstr "[MOD] мод табличек загружен" |  | ||||||
| @@ -1,94 +0,0 @@ | |||||||
| # LANGUAGE Translation for the signs_lib mod. |  | ||||||
| # Copyright (C) 2018 Vanessa Ezekowitz |  | ||||||
| # This file is distributed under the same license as the signs_lib package. |  | ||||||
| # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |  | ||||||
| # |  | ||||||
| #, fuzzy |  | ||||||
| msgid "" |  | ||||||
| msgstr "" |  | ||||||
| "Project-Id-Version: signs_lib\n" |  | ||||||
| "Report-Msgid-Bugs-To: \n" |  | ||||||
| "POT-Creation-Date: 2018-03-24 22:23+0100\n" |  | ||||||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |  | ||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |  | ||||||
| "Language-Team: LANGUAGE <LL@li.org>\n" |  | ||||||
| "Language: \n" |  | ||||||
| "MIME-Version: 1.0\n" |  | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" |  | ||||||
| "Content-Transfer-Encoding: 8bit\n" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Write" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked sign, owned by @1\n" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "locked " |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "@1 wrote \"@2\" to @3sign at @4" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Can edit all locked signs" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Locked Sign" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "green" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "yellow" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "red" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_red" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "white_black" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "orange" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "blue" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "brown" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Sign (@1, metal)" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Attempt to register unknown node as fence" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "Registered @1 and @2" |  | ||||||
| msgstr "" |  | ||||||
|  |  | ||||||
| #: init.lua |  | ||||||
| msgid "[MOD] signs loaded" |  | ||||||
| msgstr "" |  | ||||||
							
								
								
									
										14
									
								
								locale/template.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								locale/template.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | # textdomain: basic_signs | ||||||
|  | Locked Sign= | ||||||
|  | Glass Sign= | ||||||
|  | Obsidian Glass Sign= | ||||||
|  | Plastic Sign= | ||||||
|  | green= | ||||||
|  | yellow= | ||||||
|  | red= | ||||||
|  | white_red= | ||||||
|  | white_black= | ||||||
|  | orange= | ||||||
|  | blue= | ||||||
|  | brown= | ||||||
|  | Sign (@1, steel)= | ||||||
		Reference in New Issue
	
	Block a user