의 미러
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-10-23 16:35:43 +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:
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
Load Diff
@@ -11,6 +11,7 @@ xgettext --from-code=UTF-8 \
|
|||||||
--keyword=NS:1,2 \
|
--keyword=NS:1,2 \
|
||||||
--keyword=N_ \
|
--keyword=N_ \
|
||||||
--add-comments='Translators:' \
|
--add-comments='Translators:' \
|
||||||
|
--add-location=file \
|
||||||
-o locale/template.pot \
|
-o locale/template.pot \
|
||||||
$(find .. -name '*.lua')
|
$(find .. -name '*.lua')
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ local armchair_cbox = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node("lrfurn:armchair", {
|
minetest.register_node("lrfurn:armchair", {
|
||||||
description = "Armchair",
|
description = S("Armchair"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "lrfurn_armchair.obj",
|
mesh = "lrfurn_armchair.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
|
@@ -7,7 +7,7 @@ local longsofa_cbox = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node("lrfurn:longsofa", {
|
minetest.register_node("lrfurn:longsofa", {
|
||||||
description = "Long Sofa",
|
description = S("Long Sofa"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "lrfurn_sofa_long.obj",
|
mesh = "lrfurn_sofa_long.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
@@ -32,7 +32,7 @@ minetest.register_node("lrfurn:longsofa", {
|
|||||||
if lrfurn.check_forward(pos, fdir, true, placer) then
|
if lrfurn.check_forward(pos, fdir, true, placer) then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
else
|
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" })
|
minetest.set_node(pos, { name = "air" })
|
||||||
end
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
|
@@ -7,7 +7,7 @@ local sofa_cbox = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node("lrfurn:sofa", {
|
minetest.register_node("lrfurn:sofa", {
|
||||||
description = "Sofa",
|
description = S("Sofa"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "lrfurn_sofa_short.obj",
|
mesh = "lrfurn_sofa_short.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
@@ -32,7 +32,7 @@ minetest.register_node("lrfurn:sofa", {
|
|||||||
if lrfurn.check_forward(pos, fdir, false, placer) then
|
if lrfurn.check_forward(pos, fdir, false, placer) then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
else
|
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" })
|
minetest.set_node(pos, { name = "air" })
|
||||||
end
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
|
Reference in New Issue
Block a user