Translatable archievement chat messages

This commit is contained in:
kay27 2021-02-27 22:16:29 +04:00
parent e5263d854e
commit bf81bb7f07
3 changed files with 3 additions and 1 deletions

@ -214,7 +214,7 @@ function awards.unlock(name, award)
-- Get award
minetest.log("action", name.." has gotten award "..award)
minetest.chat_send_all(name .. " has made the archievement " .. minetest.colorize("#51EF4E", "[" .. (awdef.title or award) .. "]"))
minetest.chat_send_all(S("@1 has made the archievement @2", name, minetest.colorize("#51EF4E", "[" .. (awdef.title or award) .. "]")))
data.unlocked[award] = award
awards.save()

@ -59,3 +59,4 @@ Invalid action.=Непредусмотренное действие.
Player is not online.=Игрок не подключён.
Done.=Сделано.
Achievement “@1” does not exist.=Достижения “@1” не существует.
@1 has made the archievement @2=@1 получил(а) достижение @2

@ -59,3 +59,4 @@ Invalid action.=
Player is not online.=
Done.=
Achievement “@1” does not exist.=
@1 has made the archievement @2=