Achievements are GOTTEN, not UNLOCKED

This abuse of the word “unlock” is so annoying.
This commit is contained in:
Wuzzy 2017-03-06 01:47:07 +01:00
parent 5c673dac7e
commit f09280dd98
3 changed files with 27 additions and 27 deletions

View File

@ -210,8 +210,8 @@ function awards.unlock(name, award)
return
end
-- Unlock Award
minetest.log("action", name.." has unlocked award "..name)
-- Get award
minetest.log("action", name.." has gotten award "..name)
data.unlocked[award] = award
awards.save()
@ -251,9 +251,9 @@ function awards.unlock(name, award)
local custom_announce = awdef.custom_announce
if not custom_announce then
if awdef.secret then
custom_announce = S("Secret Achievement Unlocked:")
custom_announce = S("Secret achievement gotten:")
else
custom_announce = S("Achievement Unlocked:")
custom_announce = S("Achievement gotten:")
end
end
@ -277,9 +277,9 @@ function awards.unlock(name, award)
elseif awards.show_mode == "chat" then
local chat_announce
if awdef.secret == true then
chat_announce = S("Secret Achievement Unlocked: %s")
chat_announce = S("Secret achievement gotten: %s")
else
chat_announce = S("Achievement Unlocked: %s")
chat_announce = S("Achievement gotten: %s")
end
-- use the chat console to send it
minetest.chat_send_player(name, string.format(chat_announce, title))
@ -299,9 +299,9 @@ function awards.unlock(name, award)
})
local hud_announce
if awdef.secret == true then
hud_announce = S("Secret Achievement Unlocked!")
hud_announce = S("Secret achievement gotten!")
else
hud_announce = S("Achievement Unlocked!")
hud_announce = S("Achievement gotten!")
end
local two = player:hud_add({
hud_elem_type = "text",
@ -375,10 +375,10 @@ function awards.getFormspec(name, to, sid)
local def = awards.def[item.name]
if def and def.secret and not item.got then
formspec = formspec .. "label[1,2.75;"..minetest.formspec_escape(S("(Secret Award)")).."]"..
formspec = formspec .. "label[1,2.75;"..minetest.formspec_escape(S("(Secret achievement)")).."]"..
"image[1,0;3,3;awards_unknown.png]"
if def and def.description then
formspec = formspec .. "textarea[0.25,3.25;4.8,1.7;;"..minetest.formspec_escape(S("Unlock this award to find out what it is."))..";]"
formspec = formspec .. "textarea[0.25,3.25;4.8,1.7;;"..minetest.formspec_escape(S("Get this achievement to find out what it is."))..";]"
end
else
local title = item.name
@ -462,7 +462,7 @@ function awards.show_to(name, to, sid, text)
minetest.chat_send_player(to, S("Error: No awards available."))
return
elseif not awards.players[name] or not awards.players[name].unlocked then
minetest.chat_send_player(to, S("You have not unlocked any awards."))
minetest.chat_send_player(to, S("You have not gotten any awards."))
return
end
minetest.chat_send_player(to, string.format(S("%ss awards:"), name))

View File

@ -136,14 +136,14 @@ Youre a copper = Du Kupfer!
%s (got) = %s (erhalten)
%ss awards: = %ss Auszeichnungen:
(Secret Award) = (Geheime Auszeichnung)
Achievement Unlocked! = Auszeichnung erhalten!
Achievement Unlocked: = Auszeichnung erhalten:
Achievement Unlocked: %s = Auszeichnung erhalten: %s
Secret Achievement Unlocked! = Geheime Auszeichnung erhalten!
Secret Achievement Unlocked: = Geheime Auszeichnung erhalten:
Secret Achievement Unlocked: %s = Geheime Auszeichnung erhalten: %s
Unlock this award to find out what it is. = Verdienen Sie sich diese Auszeichnung, um herauszufinden, was sie ist.
You have not unlocked any awards. = Sie haben noch keine Auszeichnungen.
Achievement gotten! = Auszeichnung erhalten!
Achievement gotten: = Auszeichnung erhalten:
Achievement gotten: %s = Auszeichnung erhalten: %s
Secret achievement gotten! = Geheime Auszeichnung erhalten!
Secret achievement gotten: = Geheime Auszeichnung erhalten:
Secret achievement gotten: %s = Geheime Auszeichnung erhalten: %s
Get this achievement to find out what it is. = Verdienen Sie sich diese Auszeichnung, um herauszufinden, was sie ist.
You have not gotten any awards. = Sie haben noch keine Auszeichnungen.
You've disabled awards. Type /awards enable to reenable. = Sie haben die Auszeichnungen deaktiviert. Geben Sie »/awards enable« ein, um sie wieder zu aktivieren.
<achievement ID> = <Auszeichnungs-ID>
<name> = <Name>

View File

@ -11,9 +11,9 @@
<achievement ID> =
<name> =
A Cat in a Pop-Tart?! =
Achievement Unlocked! =
Achievement Unlocked: =
Achievement Unlocked: %s =
Achievement gotten! =
Achievement gotten: =
Achievement gotten: %s =
Achievement not found. =
All your awards and statistics have been cleared. You can now start again. =
Aspiring Farmer =
@ -151,15 +151,15 @@ Roses Are Red =
Saint-Maclou =
Sam the Trapper =
Savannah Discoverer =
Secret Achievement Unlocked! =
Secret Achievement Unlocked: =
Secret Achievement Unlocked: %s =
Secret Achievement gotten! =
Secret Achievement gotten: =
Secret Achievement gotten: %s =
Semi-pro Lumberjack =
Show details of an achievement =
Show, clear, disable or enable your achievements =
Smelter =
Treasurer =
Unlock this award to find out what it is. =
Get this achievement to find out what it is. =
Very Simple Snow Man =
Watchtower =
Well Lit =
@ -171,7 +171,7 @@ Write %d chat messages. =
Write something in chat. =
You have disabled your achievements. =
You have enabled your achievements. =
You have not unlocked any awards. =
You have not gotten any awards. =
You've disabled awards. Type /awards enable to reenable. =
Youre a copper =
[c|clear|disable|enable] =