Achievements are GOTTEN, not UNLOCKED
This abuse of the word “unlock” is so annoying.
This commit is contained in:
parent
5c673dac7e
commit
f09280dd98
|
@ -210,8 +210,8 @@ function awards.unlock(name, award)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Unlock Award
|
-- Get award
|
||||||
minetest.log("action", name.." has unlocked award "..name)
|
minetest.log("action", name.." has gotten award "..name)
|
||||||
data.unlocked[award] = award
|
data.unlocked[award] = award
|
||||||
awards.save()
|
awards.save()
|
||||||
|
|
||||||
|
@ -251,9 +251,9 @@ function awards.unlock(name, award)
|
||||||
local custom_announce = awdef.custom_announce
|
local custom_announce = awdef.custom_announce
|
||||||
if not custom_announce then
|
if not custom_announce then
|
||||||
if awdef.secret then
|
if awdef.secret then
|
||||||
custom_announce = S("Secret Achievement Unlocked:")
|
custom_announce = S("Secret achievement gotten:")
|
||||||
else
|
else
|
||||||
custom_announce = S("Achievement Unlocked:")
|
custom_announce = S("Achievement gotten:")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -277,9 +277,9 @@ function awards.unlock(name, award)
|
||||||
elseif awards.show_mode == "chat" then
|
elseif awards.show_mode == "chat" then
|
||||||
local chat_announce
|
local chat_announce
|
||||||
if awdef.secret == true then
|
if awdef.secret == true then
|
||||||
chat_announce = S("Secret Achievement Unlocked: %s")
|
chat_announce = S("Secret achievement gotten: %s")
|
||||||
else
|
else
|
||||||
chat_announce = S("Achievement Unlocked: %s")
|
chat_announce = S("Achievement gotten: %s")
|
||||||
end
|
end
|
||||||
-- use the chat console to send it
|
-- use the chat console to send it
|
||||||
minetest.chat_send_player(name, string.format(chat_announce, title))
|
minetest.chat_send_player(name, string.format(chat_announce, title))
|
||||||
|
@ -299,9 +299,9 @@ function awards.unlock(name, award)
|
||||||
})
|
})
|
||||||
local hud_announce
|
local hud_announce
|
||||||
if awdef.secret == true then
|
if awdef.secret == true then
|
||||||
hud_announce = S("Secret Achievement Unlocked!")
|
hud_announce = S("Secret achievement gotten!")
|
||||||
else
|
else
|
||||||
hud_announce = S("Achievement Unlocked!")
|
hud_announce = S("Achievement gotten!")
|
||||||
end
|
end
|
||||||
local two = player:hud_add({
|
local two = player:hud_add({
|
||||||
hud_elem_type = "text",
|
hud_elem_type = "text",
|
||||||
|
@ -375,10 +375,10 @@ function awards.getFormspec(name, to, sid)
|
||||||
local def = awards.def[item.name]
|
local def = awards.def[item.name]
|
||||||
|
|
||||||
if def and def.secret and not item.got then
|
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]"
|
"image[1,0;3,3;awards_unknown.png]"
|
||||||
if def and def.description then
|
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
|
end
|
||||||
else
|
else
|
||||||
local title = item.name
|
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."))
|
minetest.chat_send_player(to, S("Error: No awards available."))
|
||||||
return
|
return
|
||||||
elseif not awards.players[name] or not awards.players[name].unlocked then
|
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
|
return
|
||||||
end
|
end
|
||||||
minetest.chat_send_player(to, string.format(S("%s’s awards:"), name))
|
minetest.chat_send_player(to, string.format(S("%s’s awards:"), name))
|
||||||
|
|
|
@ -136,14 +136,14 @@ You’re a copper = Du Kupfer!
|
||||||
%s (got) = %s (erhalten)
|
%s (got) = %s (erhalten)
|
||||||
%s’s awards: = %ss Auszeichnungen:
|
%s’s awards: = %ss Auszeichnungen:
|
||||||
(Secret Award) = (Geheime Auszeichnung)
|
(Secret Award) = (Geheime Auszeichnung)
|
||||||
Achievement Unlocked! = Auszeichnung erhalten!
|
Achievement gotten! = Auszeichnung erhalten!
|
||||||
Achievement Unlocked: = Auszeichnung erhalten:
|
Achievement gotten: = Auszeichnung erhalten:
|
||||||
Achievement Unlocked: %s = Auszeichnung erhalten: %s
|
Achievement gotten: %s = Auszeichnung erhalten: %s
|
||||||
Secret Achievement Unlocked! = Geheime Auszeichnung erhalten!
|
Secret achievement gotten! = Geheime Auszeichnung erhalten!
|
||||||
Secret Achievement Unlocked: = Geheime Auszeichnung erhalten:
|
Secret achievement gotten: = Geheime Auszeichnung erhalten:
|
||||||
Secret Achievement Unlocked: %s = Geheime Auszeichnung erhalten: %s
|
Secret achievement gotten: %s = Geheime Auszeichnung erhalten: %s
|
||||||
Unlock this award to find out what it is. = Verdienen Sie sich diese Auszeichnung, um herauszufinden, was sie ist.
|
Get this achievement 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.
|
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.
|
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>
|
<achievement ID> = <Auszeichnungs-ID>
|
||||||
<name> = <Name>
|
<name> = <Name>
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
<achievement ID> =
|
<achievement ID> =
|
||||||
<name> =
|
<name> =
|
||||||
A Cat in a Pop-Tart?! =
|
A Cat in a Pop-Tart?! =
|
||||||
Achievement Unlocked! =
|
Achievement gotten! =
|
||||||
Achievement Unlocked: =
|
Achievement gotten: =
|
||||||
Achievement Unlocked: %s =
|
Achievement gotten: %s =
|
||||||
Achievement not found. =
|
Achievement not found. =
|
||||||
All your awards and statistics have been cleared. You can now start again. =
|
All your awards and statistics have been cleared. You can now start again. =
|
||||||
Aspiring Farmer =
|
Aspiring Farmer =
|
||||||
|
@ -151,15 +151,15 @@ Roses Are Red =
|
||||||
Saint-Maclou =
|
Saint-Maclou =
|
||||||
Sam the Trapper =
|
Sam the Trapper =
|
||||||
Savannah Discoverer =
|
Savannah Discoverer =
|
||||||
Secret Achievement Unlocked! =
|
Secret Achievement gotten! =
|
||||||
Secret Achievement Unlocked: =
|
Secret Achievement gotten: =
|
||||||
Secret Achievement Unlocked: %s =
|
Secret Achievement gotten: %s =
|
||||||
Semi-pro Lumberjack =
|
Semi-pro Lumberjack =
|
||||||
Show details of an achievement =
|
Show details of an achievement =
|
||||||
Show, clear, disable or enable your achievements =
|
Show, clear, disable or enable your achievements =
|
||||||
Smelter =
|
Smelter =
|
||||||
Treasurer =
|
Treasurer =
|
||||||
Unlock this award to find out what it is. =
|
Get this achievement to find out what it is. =
|
||||||
Very Simple Snow Man =
|
Very Simple Snow Man =
|
||||||
Watchtower =
|
Watchtower =
|
||||||
Well Lit =
|
Well Lit =
|
||||||
|
@ -171,7 +171,7 @@ Write %d chat messages. =
|
||||||
Write something in chat. =
|
Write something in chat. =
|
||||||
You have disabled your achievements. =
|
You have disabled your achievements. =
|
||||||
You have enabled 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. =
|
You've disabled awards. Type /awards enable to reenable. =
|
||||||
You’re a copper =
|
You’re a copper =
|
||||||
[c|clear|disable|enable] =
|
[c|clear|disable|enable] =
|
||||||
|
|
Loading…
Reference in New Issue