Skip to content

Commit

Permalink
Provide German translations batch 2
Browse files Browse the repository at this point in the history
  • Loading branch information
estralis committed Jul 18, 2024
1 parent 1b77e4b commit 29dd502
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions craft/gathering/egggathering.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ M.skill = "husbandry"

M.nestList = {
{id = Item.chickenNest, depletedId = Item.emptyChickenNest, productId = Item.whiteEgg, maxAmount = 20, monster = 622, monsterName = {english = "chicken", german = "Hühnchen"}},
{id = Item.pigeonNest, depletedId = Item.emptyPigeonNest, productId = Item.pigeonEgg, maxAmount = 20, monster = 391, monsterName = {english = "wolf", german = "GERMAN TRANSLATION"}},
{id = Item.seagullNest, depletedId = Item.emptySeagullNest, productId = Item.seagullEgg, maxAmount = 10, monster = 1171, monsterName = {english = "ettin", german = "GERMAN TRANSLATION"}},
{id = Item.pigeonNest, depletedId = Item.emptyPigeonNest, productId = Item.pigeonEgg, maxAmount = 20, monster = 391, monsterName = {english = "wolf", german = "Wolf"}},
{id = Item.seagullNest, depletedId = Item.emptySeagullNest, productId = Item.seagullEgg, maxAmount = 10, monster = 1171, monsterName = {english = "ettin", german = "Ettin"}},
{id = Item.raptorNest, depletedId = Item.emptyRaptorNest, productId = Item.raptorEgg, maxAmount = 5, monster = 521, monsterName = {english = "raptor", german = "Raptor"}},
{id = Item.spiderNest, depletedId = Item.emptySpiderNest, productId = Item.spiderEgg, maxAmount = 5, monster = 193, monsterName = {english = "spider", german = "GERMAN TRANSLATION"}},
{id = Item.dragonNest, depletedId = Item.emptyDragonNest, productId = Item.dragonEgg, maxAmount = 5, monster = 1121, monsterName = {english = "dragon", german = "GERMAN TRANSLATION"}}
{id = Item.spiderNest, depletedId = Item.emptySpiderNest, productId = Item.spiderEgg, maxAmount = 5, monster = 193, monsterName = {english = "spider", german = "Spinne"}},
{id = Item.dragonNest, depletedId = Item.emptyDragonNest, productId = Item.dragonEgg, maxAmount = 5, monster = 1121, monsterName = {english = "dragon", german = "Drache"}}
}

local nestList = M.nestList
Expand Down
14 changes: 7 additions & 7 deletions housing/utility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ function M.allowBuilding(user, alternatePosition)
local deed = M.getPropertyDeed(propertyName)

if deed:getData("demolishmentInProgress") == "true" then
user:inform("GERMAN TRANSLATION", "You can not build at an estate that is being demolished.")
user:inform("Du kannst nicht auf einem Grundstück bauen, wo alles zum Abriss vorgesehen ist.", "You can not build at an estate that is being demolished.")
return false, true
end

Expand Down Expand Up @@ -768,7 +768,7 @@ local function createLockForStairTrapDoor(user, trapDoor, category, theId, prope
local stairDoor = M.getStairsTrapDoor(thePosition, trapDoor)

if not stairDoor then
user:inform("GERMAN TRANSLATION", "Something is obstructing the stair or trap door. Make sure no items are on top of either, then try again.")
user:inform("Irgendetwas versperrt die Treppe oder die Falltür. Versuche es noch mal, nachdem du alle Gegenstände dort entfernt hast.", "Something is obstructing the stair or trap door. Make sure no items are on top of either, then try again.")
return false
end

Expand All @@ -794,7 +794,7 @@ function M.createLock(user)
local TargetItem, category = M.checkIfLockable(user)

if not common.IsNilOrEmpty(TargetItem:getData("lockId")) then
user:inform("GERMAN TRANSLATION", "There's already a lock in place.")
user:inform("Hier ist schon ein Schloss.", "There's already a lock in place.")
return
end

Expand All @@ -818,7 +818,7 @@ function M.createLock(user)
end
end
else
user:inform("Du kannst nur auf deinem Grundstück Schlösser in Türen und Tore einsetzen. GERMAN TRANSLATION","You can only create locks for doors, gates, stairs or trap doors that are on your property.")
user:inform("Du kannst nur auf deinem Grundstück Schlösser in Türen, Tore, Treppen und Falltüren einsetzen.","You can only create locks for doors, gates, stairs or trap doors that are on your property.")
end
end

Expand Down Expand Up @@ -851,13 +851,13 @@ local function scheduleDemolishment(user, propertyName)

world:changeItem(deed)

user:inform("GERMAN TRANSLATION", "Upon your request of a demolition, a bunch of dwarves appear to demolish the estate. One by one they scurry off with the broken down material as their payment, at this rate they should be done in no time. ")
user:inform("Auf deine Bitte um einen Abriss hin tauchen ein Haufen Zwerge auf, um das Anwesen abzureißen. Einer nach dem anderen huschen sie mit dem abgerissenen Material als Bezahlung davon. Bei diesem Tempo sollten sie schnell fertig sein.", "Upon your request of a demolition, a bunch of dwarves appear to demolish the estate. One by one they scurry off with the broken down material as their payment, at this rate they should be done in no time.")
else
return
end
end

local dialog = SelectionDialog(common.GetNLS(user,"Bestätigung","Confirmation Check"), common.GetNLS(user,"GERMAN TRANSLATION", "Are you certain that you are absolutely positively sure you want to go through with this? This is the final warning. The demolition can not be stopped or undone after this, and will destroy everything on your property including items you made static or items that are not static!"), callback)
local dialog = SelectionDialog(common.GetNLS(user,"Bestätigung","Confirmation Check"), common.GetNLS(user,"Bist du dir absolut sicher, dass du das wirklich durchziehen willst? Das ist die letzte Warnung. Der Abriss kann danach nicht mehr gestoppt oder rückgängig gemacht werden und wird alles auf deinem Grundstück zerstören, einschließlich der Dinge, die du statisch gemacht hast oder die nicht statisch sind!", "Are you certain that you are absolutely positively sure you want to go through with this? This is the final warning. The demolition can not be stopped or undone after this, and will destroy everything on your property including items you made static or items that are not static!"), callback)
dialog:addOption(0,common.GetNLS(user,"Ja","Yes"))
dialog:addOption(0,common.GetNLS(user,"Nein, das ist Kunst.","No, I changed my mind."))
dialog:setCloseOnMove()
Expand All @@ -881,7 +881,7 @@ function M.demolishConfirmation(user, propertyName)
end
end

local dialog = SelectionDialog(common.GetNLS(user,"Bestätigung","Confirmation Check"), common.GetNLS(user,"GERMAN TRANSLATION", "Are you certain you want to demolish your estate property? This can not be undone and once initiated, it can not stop."), callback)
local dialog = SelectionDialog(common.GetNLS(user,"Bestätigung","Confirmation Check"), common.GetNLS(user,"Bist du sicher, dass du dein Anwesen abreißen willst? Das kann nicht rückgängig gemacht werden, und einmal gestartet, kann es nicht mehr gestoppt werden.", "Are you certain you want to demolish your estate property? This can not be undone and once initiated, it can not stop."), callback)
dialog:addOption(0,common.GetNLS(user,"Ja","Yes"))
dialog:addOption(0,common.GetNLS(user,"Nein, das ist Kunst.","No, I changed my mind."))
dialog:setCloseOnMove()
Expand Down
2 changes: 1 addition & 1 deletion item/stairs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function M.LookAtItem(user, sourceItem)
local theLookat = lookat.GenerateLookAt(user, sourceItem)

if sourceItem:getData("doorLock") == "locked" then
theLookat.description = common.GetNLS(user, "GERMAN TRANSLATION", "The trapdoor above appears to be locked, making it futile to attempt an ascent.")
theLookat.description = common.GetNLS(user, "Die Falltür weiter oben ist abgeschlossen, so dass du hier nicht hochkommst.", "The trapdoor above appears to be locked, making it futile to attempt an ascent.")
end

return theLookat
Expand Down

0 comments on commit 29dd502

Please sign in to comment.