summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-15 18:04:16 +0100
committerWuzzy <almikes@aol.com>2016-12-15 18:04:16 +0100
commitedf39274c4852edef751425ec765392e5991af0b (patch)
treeb4cdfbe71a9cc1a5330cf1a7040c5e2ad31978f8
parentd16c7d17435405a6e561010d8e246e7e6d6a8d95 (diff)
Rename “mining level” to “toughness level”
-rw-r--r--init.lua12
-rw-r--r--locale/de.txt5
-rw-r--r--locale/template.txt5
3 files changed, 10 insertions, 12 deletions
diff --git a/init.lua b/init.lua
index e677ebf..f3ba7f0 100644
--- a/init.lua
+++ b/init.lua
@@ -224,7 +224,7 @@ local factoid_toolcaps = function(tool_capabilities, check_uses)
end
if caplines > 0 then
formstring = formstring .. S("This tool is capable of mining.") .. "\n"
- formstring = formstring .. S("Maximum mining levels:") .. "\n"
+ formstring = formstring .. S("Maximum toughness levels:") .. "\n"
formstring = formstring .. miningcapstr
formstring = newline(formstring)
end
@@ -645,7 +645,7 @@ doc.new_category("nodes", {
-- Expose “ordinary” mining groups (crumbly, cracky, etc.) and level group
-- Skip this for immediate digging to avoid redundancy
if data.def.groups.dig_immediate ~= 3 then
- local mstring = S("This block can be mined by mining tools which match any of the following mining ratings and its mining level.").."\n"
+ local mstring = S("This block can be mined by mining tools which match any of the following mining ratings and its toughness level.").."\n"
mstring = mstring .. S("Mining ratings:").."\n"
local minegroupcount = 0
for group,_ in pairs(mininggroups) do
@@ -655,11 +655,11 @@ doc.new_category("nodes", {
minegroupcount = minegroupcount + 1
end
end
- if data.def.groups.level ~= nil then
- mstring = mstring .. S("Mining level: @1", data.def.groups.level).."\n"
- else
- mstring = mstring .. S("Mining level: 0").."\n"
+ local level = data.def.groups.level
+ if not level then
+ level = 0
end
+ mstring = mstring .. S("Toughness level: @1", level).."\n"
if minegroupcount > 0 then
datastring = datastring .. mstring
diff --git a/locale/de.txt b/locale/de.txt
index 201e232..38df8da 100644
--- a/locale/de.txt
+++ b/locale/de.txt
@@ -31,7 +31,6 @@ Item reference of items which are neither blocks, tools or weapons (esp. craftin
Liquids can flow into this block and destroy it. = Flüssigkeiten können in diesen Block hereinfließen und ihn zerstören.
Maximum stack size: @1 = Maximale Stapelgröße: @1
Mining level: @1 = Grabestufe: @1
-Mining level: 0 = Grabestufe: 0
Mining ratings: = Grabewertungen:
• @1, rating @2: @3 s - @4 s = • @1, Wertung @2: @3 s - @4 s
• @1, rating @2: @3 s = • @1, Wertung @2: @3 s
@@ -64,7 +63,7 @@ This block can be destroyed by any mining tool immediately. = Dieser Block kann
This block can be destroyed by any mining tool in half a second. = Dieser Block kann von einem beliebigen Grabewerkzeug in einer halben Sekunde zerstört werden.
This block can be mined by any mining tool immediately. = Dieser Block kann von einem beliebigen Grabewerkzeug sofort abgebaut werden.
This block can be mined by any mining tool in half a second. = Dieser Block kann von einem beliebigen Grabewerkzeug in einer halben Sekunde abgebaut werden.
-This block can be mined by mining tools which match any of the following mining ratings and its mining level. = Dieser Block kann von Grabewerkzeugen abgebaut werden, falls sie auf eine der folgenden Grabewertungen sowie seiner Grabestufe passen.
+This block can be mined by mining tools which match any of the following mining ratings and its toughness level. = Dieser Block kann von Grabewerkzeugen abgebaut werden, falls sie auf eine der folgenden Grabewertungen sowie seinem Härtegrad passen.
This block can not be destroyed by ordinary mining tools. = Dieser Block kann nicht von Grabewerkzeugen zerstört werden.
This block can not be mined by ordinary mining tools. = Dieser Block kann nicht von gewöhnlichen Grabewerkzeugen abgebaut werden.
This block can serve as a smelting fuel with a burning time of @1. = Dieser Block kann als Brennstoff mit einer Brenndauer von @1 dienen.
@@ -113,7 +112,7 @@ This tool belongs to the @1 group. = Dieses Werkzeug gehört zur Gruppe »@1«.
This tool belongs to these groups: @1. = Dieses Werkzeug gehört zu den folgenden Gruppen: @1.
This tool can serve as a smelting fuel with a burning time of @1. = Dieses Werkzeug kann als Brennstoff mit einer Brenndauer von @1 dienen.
This tool is capable of mining. = Dies ist ein Grabewerkzeug.
-Maximum mining levels: = Maximale Grabestufen:
+Maximum toughness levels: = Maximale Härtegrade:
This tool points to liquids. = Mit diesem Werkzeug zeigt man auf Flüssigkeiten.
Tools and weapons = Werkzeuge und Waffen
Unknown Node = Unbekannter Node
diff --git a/locale/template.txt b/locale/template.txt
index 6430c98..453e49f 100644
--- a/locale/template.txt
+++ b/locale/template.txt
@@ -31,7 +31,6 @@ Item reference of items which are neither blocks, tools or weapons (esp. craftin
Liquids can flow into this block and destroy it. =
Maximum stack size: @1 =
Mining level: @1 =
-Mining level: 0 =
Mining ratings: =
• @1, rating @2: @3 s - @4 s =
• @1, rating @2: @3 s =
@@ -65,7 +64,7 @@ This block can be destroyed by any mining tool immediately. =
This block can be destroyed by any mining tool in half a second. =
This block can be mined by any mining tool immediately. =
This block can be mined by any mining tool in half a second. =
-This block can be mined by mining tools which match any of the following mining ratings and its mining level. =
+This block can be mined by mining tools which match any of the following mining ratings and its toughness level. =
This block can not be destroyed by ordinary mining tools. =
This block can not be mined by ordinary mining tools. =
This block can serve as a smelting fuel with a burning time of @1. =
@@ -114,7 +113,7 @@ This tool belongs to the @1 group. =
This tool belongs to these groups: @1. =
This tool can serve as a smelting fuel with a burning time of @1. =
This tool is capable of mining. =
-Maximum mining levels: =
+Maximum toughness levels: =
This tool points to liquids. =
Tools and weapons =
Unknown Node =