diff --git a/depends.txt b/depends.txt index 077a565..0a98ec2 100644 --- a/depends.txt +++ b/depends.txt @@ -1,6 +1,5 @@ default farming? treasurer? -intllib? doc_items? awards? diff --git a/locale/de.txt b/locale/de.txt deleted file mode 100644 index 7649f72..0000000 --- a/locale/de.txt +++ /dev/null @@ -1,19 +0,0 @@ -Cracked Desert Sandstone Brick = Rissiger Wüstensandsteinziegel -Cracked Sandstone Brick = Rissiger Sandsteinziegel -Desert Sandstone with Ankh Engraving = Wüstensandstein mit Ankh-Gravur -Desert Sandstone with Cactus Engraving = Wüstensandstein mit Kaktusgravur -Desert Sandstone with Scarab Engraving = Wüstensandstein mit Skarabäusgravur -Falling Cracked Sandstone Brick = Fallender rissiger Sandsteinziegel -Falling Cracked Desert Sandstone Brick = Fallender rissiger Wüstensandsteinziegel -Mummy Spawn Egg = Mumien-Spawn-Ei -Mummy Spawner = Mumien-Spawner -Sandstone with Eye Engraving = Sandstein mit Augengravur -Sandstone with Man Engraving = Sandstein mit Manngravur -Sandstone with Sun Engraving = Sandstein mit Sonnengravur -A mummy spawner causes hostile mummies to appear in its vicinity as long it exists. = Ein Mumien-Spawner lässt feindliche Mumien in seiner näheren Umgebung auftauchen, solange er existiert. -Can be used to create a hostile mummy. = Kann benutzt werden, um eine feindliche Mumie zu erzeugen (auch »spawnen« genannt). -Place the egg to create a mummy on this spot. Careful, it will probably attack immediately! = Platzieren Sie das Ei, um dort eine Mumie zu erzeugen. Vorsicht, sie wird wahrscheinlich sofort angreifen! -This brick is old, porous and unstable and is barely able to hold itself. One should be careful not to disturb it. = Dieser Ziegel ist alt, porös und instabil und kann sich so gerade noch selbst stützen. Man sollte vorsichtig sein, ihn nicht zu belasten. -This old porous brick falls under its own weight. = Dieser alte poröse Ziegel fällt unter seinem eigenem Gewicht. -No more mummies! = Keine Mumien mehr! -Destroy a mummy spawner by digging. = Zerstören Sie einen Mumien-Spawner, indem Sie ihn graben. diff --git a/locale/template.txt b/locale/template.txt index f81430e..bf4ef47 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -1,19 +1,20 @@ -Cracked Desert Sandstone Brick = -Cracked Sandstone Brick = -Desert Sandstone with Ankh Engraving = -Desert Sandstone with Cactus Engraving = -Desert Sandstone with Scarab Engraving = -Falling Cracked Sandstone Brick = -Falling Cracked Desert Sandstone Brick = -Mummy Spawn Egg = -Mummy Spawner = -Sandstone with Eye Engraving = -Sandstone with Man Engraving = -Sandstone with Sun Engraving = -A mummy spawner causes hostile mummies to appear in its vicinity as long it exists. = -Can be used to create a hostile mummy. = -Place the egg to create a mummy on this spot. Careful, it will probably attack immediately! = -This brick is old, porous and unstable and is barely able to hold itself. One should be careful not to disturb it. = -This old porous brick falls under its own weight. = -No more mummies! = -Destroy a mummy spawner by digging. = +# textdomain:tsm_pyramids +Cracked Desert Sandstone Brick= +Cracked Sandstone Brick= +Desert Sandstone with Ankh Engraving= +Desert Sandstone with Cactus Engraving= +Desert Sandstone with Scarab Engraving= +Falling Cracked Sandstone Brick= +Falling Cracked Desert Sandstone Brick= +Mummy Spawn Egg= +Mummy Spawner= +Sandstone with Eye Engraving= +Sandstone with Man Engraving= +Sandstone with Sun Engraving= +A mummy spawner causes hostile mummies to appear in its vicinity as long it exists.= +Can be used to create a hostile mummy.= +Place the egg to create a mummy on this spot. Careful, it will probably attack immediately!= +This brick is old, porous and unstable and is barely able to hold itself. One should be careful not to disturb it.= +This old porous brick falls under its own weight.= +No more mummies!= +Destroy a mummy spawner by digging.= diff --git a/locale/tsm_pyramids.de.tr b/locale/tsm_pyramids.de.tr new file mode 100644 index 0000000..71a8fe8 --- /dev/null +++ b/locale/tsm_pyramids.de.tr @@ -0,0 +1,20 @@ +# textdomain:tsm_pyramids +Cracked Desert Sandstone Brick=Rissiger Wüstensandsteinziegel +Cracked Sandstone Brick=Rissiger Sandsteinziegel +Desert Sandstone with Ankh Engraving=Wüstensandstein mit Ankh-Gravur +Desert Sandstone with Cactus Engraving=Wüstensandstein mit Kaktusgravur +Desert Sandstone with Scarab Engraving=Wüstensandstein mit Skarabäusgravur +Falling Cracked Sandstone Brick=Fallender rissiger Sandsteinziegel +Falling Cracked Desert Sandstone Brick=Fallender rissiger Wüstensandsteinziegel +Mummy Spawn Egg=Mumien-Spawn-Ei +Mummy Spawner=Mumien-Spawner +Sandstone with Eye Engraving=Sandstein mit Augengravur +Sandstone with Man Engraving=Sandstein mit Manngravur +Sandstone with Sun Engraving=Sandstein mit Sonnengravur +A mummy spawner causes hostile mummies to appear in its vicinity as long it exists.=Ein Mumien-Spawner lässt feindliche Mumien in seiner näheren Umgebung auftauchen, solange er existiert. +Can be used to create a hostile mummy.=Kann benutzt werden, um eine feindliche Mumie zu erzeugen (auch »spawnen« genannt). +Place the egg to create a mummy on this spot. Careful, it will probably attack immediately!=Platzieren Sie das Ei, um dort eine Mumie zu erzeugen. Vorsicht, sie wird wahrscheinlich sofort angreifen! +This brick is old, porous and unstable and is barely able to hold itself. One should be careful not to disturb it.=Dieser Ziegel ist alt, porös und instabil und kann sich so gerade noch selbst stützen. Man sollte vorsichtig sein, ihn nicht zu belasten. +This old porous brick falls under its own weight.=Dieser alte poröse Ziegel fällt unter seinem eigenem Gewicht. +No more mummies!=Keine Mumien mehr! +Destroy a mummy spawner by digging.=Zerstören Sie einen Mumien-Spawner, indem Sie ihn graben. diff --git a/mummy.lua b/mummy.lua index 640354b..6b5e6b3 100644 --- a/mummy.lua +++ b/mummy.lua @@ -1,10 +1,4 @@ --- Boilerplate to support localized strings if intllib mod is installed. -local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() -else - S = function(s) return s end -end +local S = minetest.get_translator("tsm_pyramids") local mummy_walk_limit = 1 local mummy_chillaxin_speed = 1 diff --git a/nodes.lua b/nodes.lua index c404862..bc6b10b 100644 --- a/nodes.lua +++ b/nodes.lua @@ -1,10 +1,4 @@ --- Boilerplate to support localized strings if intllib mod is installed. -local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() -else - S = function(s) return s end -end +local S = minetest.get_translator("tsm_pyramids") local img = { "eye", "men", "sun",