1
0
mirror of https://github.com/TeTpaAka/quests.git synced 2024-12-22 08:40:40 +01:00

Update translation

This commit is contained in:
TeTpaAka 2015-07-15 17:59:16 +02:00
parent f69ca0062d
commit ed5b33947b
3 changed files with 9 additions and 3 deletions

View File

@ -58,7 +58,7 @@ function quests.start_quest(playername, questname, metadata)
quests.active_quests[playername][questname] = {value = 0, metadata = metadata}
quests.update_hud(playername)
quests.show_message("new", playername, S("New quest: ") .. quests.registered_quests[questname].title)
quests.show_message("new", playername, S("New quest:") .. " " .. quests.registered_quests[questname].title)
return true
end
@ -121,7 +121,7 @@ function quests.accept_quest(playername, questname)
player:hud_change(quest.id, "number", quests.colors.success)
end
end
quests.show_message("success", playername, S("Quest completed: ") .. quests.registered_quests[questname].title)
quests.show_message("success", playername, S("Quest completed:") .. " " .. quests.registered_quests[questname].title)
minetest.after(3, function(playername, questname)
quests.active_quests[playername][questname] = nil
quests.update_hud(playername)
@ -159,7 +159,7 @@ function quests.abort_quest(playername, questname)
player:hud_change(quest.id, "number", quests.colors.failed)
end
end
quests.show_message("failed", playername, S("Quest failed: ") .. quests.registered_quests[questname].title)
quests.show_message("failed", playername, S("Quest failed:") .. " " .. quests.registered_quests[questname].title)
minetest.after(3, function(playername, questname)
quests.active_quests[playername][questname] = nil
quests.update_hud(playername)

View File

@ -15,3 +15,6 @@ Open quests = Offene Quests
Return = Zurück
Show all open quests = Zeige alle offenen Quests
There are no quests in this category. = Es gibt keine Quests in dieser Kategorie.
New quest: = Neue Quest:
Quest completed: = Quest beendet:
Quest failed: = Quest gescheitert:

View File

@ -15,3 +15,6 @@ Open quests =
Return =
Show all open quests =
There are no quests in this category. =
New quest: =
Quest completed: =
Quest failed: =