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.colorize(
|
||||
"#0f0",
|
||||
"*** " .. name .." has earned the achievement [" ..
|
||||
achievements.registered_achievements[aname].title .. "]"))
|
||||
"*** " .. S("@1 has earned the achievement “@2”.",
|
||||
name,
|
||||
achievements.registered_achievements[aname].title)))
|
||||
end)
|
||||
end
|
||||
|
||||
@ -214,7 +215,7 @@ function achievements.get_formspec(name, row)
|
||||
progress = S("Gotten")
|
||||
amt_gotten = amt_gotten + 1
|
||||
else
|
||||
progress = achievements.achievements[name][aname] .. "/" .. def.times
|
||||
progress = S("@1/@2", achievements.achievements[name][aname], def.times)
|
||||
amt_progress = amt_progress + 1
|
||||
end
|
||||
else
|
||||
|
@ -2,6 +2,8 @@
|
||||
Gotten=Erhalten
|
||||
Missing=Fehlt
|
||||
@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
|
||||
Craft a Broadsword=Fertigen Sie ein Breitschwert
|
||||
Hardened Miner=Abgehärteter Bergarbeiter
|
||||
|
@ -2,6 +2,8 @@
|
||||
Gotten=
|
||||
Missing=
|
||||
@1 of @2 achievements gotten, @3 in progress=
|
||||
@1 has earned the achievement “@2”.=
|
||||
@1/@2=
|
||||
Off to Battle=
|
||||
Craft a Broadsword=
|
||||
Hardened Miner=
|
||||
|
Loading…
Reference in New Issue
Block a user