From f09280dd98b9fe7eb8c710adb3d91f0b908298b5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 6 Mar 2017 01:47:07 +0100 Subject: [PATCH] Achievements are GOTTEN, not UNLOCKED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This abuse of the word “unlock” is so annoying. --- mods/HUD/awards/api.lua | 22 +++++++++++----------- mods/HUD/awards/locale/de.txt | 16 ++++++++-------- mods/HUD/awards/locale/template.txt | 16 ++++++++-------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/mods/HUD/awards/api.lua b/mods/HUD/awards/api.lua index 9726b6ef1..a54a48b58 100644 --- a/mods/HUD/awards/api.lua +++ b/mods/HUD/awards/api.lua @@ -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("%s’s awards:"), name)) diff --git a/mods/HUD/awards/locale/de.txt b/mods/HUD/awards/locale/de.txt index 6564eff6b..3396a34f0 100644 --- a/mods/HUD/awards/locale/de.txt +++ b/mods/HUD/awards/locale/de.txt @@ -136,14 +136,14 @@ You’re a copper = Du Kupfer! %s (got) = %s (erhalten) %s’s 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. = = diff --git a/mods/HUD/awards/locale/template.txt b/mods/HUD/awards/locale/template.txt index 454f153a6..eecb0c5f8 100644 --- a/mods/HUD/awards/locale/template.txt +++ b/mods/HUD/awards/locale/template.txt @@ -11,9 +11,9 @@ = = 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. = You’re a copper = [c|clear|disable|enable] =