Translate achievement string
This commit is contained in:
parent
0d61fddb13
commit
4fd187a528
@ -89,8 +89,9 @@ function achievements.trigger_achievement(player, aname, times)
|
|||||||
minetest.chat_send_all(
|
minetest.chat_send_all(
|
||||||
minetest.colorize(
|
minetest.colorize(
|
||||||
"#0f0",
|
"#0f0",
|
||||||
"*** " .. name .." has earned the achievement [" ..
|
"*** " .. S("@1 has earned the achievement “@2”.",
|
||||||
achievements.registered_achievements[aname].title .. "]"))
|
name,
|
||||||
|
achievements.registered_achievements[aname].title)))
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -214,7 +215,7 @@ function achievements.get_formspec(name, row)
|
|||||||
progress = S("Gotten")
|
progress = S("Gotten")
|
||||||
amt_gotten = amt_gotten + 1
|
amt_gotten = amt_gotten + 1
|
||||||
else
|
else
|
||||||
progress = achievements.achievements[name][aname] .. "/" .. def.times
|
progress = S("@1/@2", achievements.achievements[name][aname], def.times)
|
||||||
amt_progress = amt_progress + 1
|
amt_progress = amt_progress + 1
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
Gotten=Erhalten
|
Gotten=Erhalten
|
||||||
Missing=Fehlt
|
Missing=Fehlt
|
||||||
@1 of @2 achievements gotten, @3 in progress=@1 von @2 Errungenschaften erhalten, @3 in Arbeit
|
@1 of @2 achievements gotten, @3 in progress=@1 von @2 Errungenschaften erhalten, @3 in Arbeit
|
||||||
|
@1 has earned the achievement “@2”.=@1 hat die Errungenschaft „@2“ erhalten.
|
||||||
|
@1/@2=@1/@2
|
||||||
Off to Battle=Auf in die Schlacht
|
Off to Battle=Auf in die Schlacht
|
||||||
Craft a Broadsword=Fertigen Sie ein Breitschwert
|
Craft a Broadsword=Fertigen Sie ein Breitschwert
|
||||||
Hardened Miner=Abgehärteter Bergarbeiter
|
Hardened Miner=Abgehärteter Bergarbeiter
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
Gotten=
|
Gotten=
|
||||||
Missing=
|
Missing=
|
||||||
@1 of @2 achievements gotten, @3 in progress=
|
@1 of @2 achievements gotten, @3 in progress=
|
||||||
|
@1 has earned the achievement “@2”.=
|
||||||
|
@1/@2=
|
||||||
Off to Battle=
|
Off to Battle=
|
||||||
Craft a Broadsword=
|
Craft a Broadsword=
|
||||||
Hardened Miner=
|
Hardened Miner=
|
||||||
|
Loading…
Reference in New Issue
Block a user