1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 12:56:01 +02:00

I18N fixes.

* Make xgettext not output line numbers
* Remove line numbers from existing catalogs.
* Re-add missing localizations.
This commit is contained in:
Diego Martínez
2017-01-30 21:37:32 -03:00
parent 6cadc7cf26
commit ac9927d035
11 changed files with 2945 additions and 3080 deletions

View File

@ -9,7 +9,7 @@ local armchair_cbox = {
}
minetest.register_node("lrfurn:armchair", {
description = "Armchair",
description = S("Armchair"),
drawtype = "mesh",
mesh = "lrfurn_armchair.obj",
tiles = {

View File

@ -7,7 +7,7 @@ local longsofa_cbox = {
}
minetest.register_node("lrfurn:longsofa", {
description = "Long Sofa",
description = S("Long Sofa"),
drawtype = "mesh",
mesh = "lrfurn_sofa_long.obj",
tiles = {
@ -32,7 +32,7 @@ minetest.register_node("lrfurn:longsofa", {
if lrfurn.check_forward(pos, fdir, true, placer) then
itemstack:take_item()
else
minetest.chat_send_player(placer:get_player_name(), "No room to place the sofa!")
minetest.chat_send_player(placer:get_player_name(), S("No room to place the sofa!"))
minetest.set_node(pos, { name = "air" })
end
return itemstack

View File

@ -7,7 +7,7 @@ local sofa_cbox = {
}
minetest.register_node("lrfurn:sofa", {
description = "Sofa",
description = S("Sofa"),
drawtype = "mesh",
mesh = "lrfurn_sofa_short.obj",
tiles = {
@ -32,7 +32,7 @@ minetest.register_node("lrfurn:sofa", {
if lrfurn.check_forward(pos, fdir, false, placer) then
itemstack:take_item()
else
minetest.chat_send_player(placer:get_player_name(), "No room to place the sofa!")
minetest.chat_send_player(placer:get_player_name(), S("No room to place the sofa!"))
minetest.set_node(pos, { name = "air" })
end
return itemstack