forked from mtcontrib/homedecor_modpack
I18N fixes.
* Make xgettext not output line numbers * Remove line numbers from existing catalogs. * Re-add missing localizations.
This commit is contained in:
parent
6cadc7cf26
commit
ac9927d035
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,7 @@ xgettext --from-code=UTF-8 \
|
||||
--keyword=NS:1,2 \
|
||||
--keyword=N_ \
|
||||
--add-comments='Translators:' \
|
||||
--add-location=file \
|
||||
-o locale/template.pot \
|
||||
$(find .. -name '*.lua')
|
||||
|
||||
|
@ -9,7 +9,7 @@ local armchair_cbox = {
|
||||
}
|
||||
|
||||
minetest.register_node("lrfurn:armchair", {
|
||||
description = "Armchair",
|
||||
description = S("Armchair"),
|
||||
drawtype = "mesh",
|
||||
mesh = "lrfurn_armchair.obj",
|
||||
tiles = {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user