From 00b34b49e567d4c7019bd71260d026cc3f6bf942 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Tue, 8 Aug 2023 18:14:51 +0100 Subject: [PATCH] remove intllib --- depends.txt | 3 --- description.txt | 1 - init.lua | 2 -- locale/template.txt | 39 +++++++++++++++++++-------------------- mod.conf | 2 +- 5 files changed, 20 insertions(+), 27 deletions(-) delete mode 100644 depends.txt delete mode 100644 description.txt diff --git a/depends.txt b/depends.txt deleted file mode 100644 index 53a9e75..0000000 --- a/depends.txt +++ /dev/null @@ -1,3 +0,0 @@ -default -intllib? -lucky_block? diff --git a/description.txt b/description.txt deleted file mode 100644 index 76b67a7..0000000 --- a/description.txt +++ /dev/null @@ -1 +0,0 @@ -Adds bees and hives to Minetest. diff --git a/init.lua b/init.lua index ba7d546..3356f79 100644 --- a/init.lua +++ b/init.lua @@ -7,8 +7,6 @@ local S if minetest.get_translator then S = minetest.get_translator("bees") -elseif minetest.global_exists("intllib") then - S = intllib.Getter() else S = function(s) return s end end diff --git a/locale/template.txt b/locale/template.txt index b9be40c..bbe3a90 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -1,22 +1,21 @@ # Template -Bees = -Honey Extractor = -Wild Bee Hive = -Artificial Bee Hive = -Industrial Bee Hive = -Colony died, not enough flowers in area! = -Requires Queen bee to function = -Progress = -Does not have empty frame(s) = -Queen inserted, now for empty frames = -Bees are aclimating = -Empty hive frame = -Filled hive frame = -Honey Bottle = -Bees wax = -Honey comb = -Queen Bee = -Smoker = -Grafting tool = -[MOD] Bees Loaded! = +Bees= +Honey Extractor= +Wild Bee Hive= +Artificial Bee Hive= +Industrial Bee Hive= +Colony died, not enough flowers in area!= +Requires Queen bee to function= +Progress= +Does not have empty frame(s)= +Queen inserted, now for empty frames= +Bees are aclimating= +Empty hive frame= +Filled hive frame= +Honey Bottle= +Bees wax= +Honey comb= +Queen Bee= +Smoker= +Grafting tool= diff --git a/mod.conf b/mod.conf index 8d0be1e..d82e170 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1,4 @@ name = bees depends = default -optional_depends = intllib, lucky_block +optional_depends = lucky_block description = Adds bees and hives to Minetest.