filter: some small filter adjustments
This commit is contained in:
parent
d30e34e49c
commit
709d5a5263
@ -118,8 +118,13 @@ filter.register_filter({
|
||||
return ret
|
||||
end,
|
||||
get_keyword = function(self, group)
|
||||
-- hide groups
|
||||
if group.name == "group:not_in_creative_inventory" then
|
||||
return
|
||||
end
|
||||
|
||||
local keyword = self:_get_keyword(group)
|
||||
if txt_usage and keyword then
|
||||
if txt_usage and keyword and txt[group.name] then
|
||||
return keyword.." "..group.group_desc
|
||||
else
|
||||
return keyword
|
||||
|
@ -56,7 +56,7 @@ return {
|
||||
["group:coal"] = {label = "Kohle" },
|
||||
["group:water_bucket"] = {label = "Eimer"},
|
||||
["group:dye"] = {label = "Farbstoff"},
|
||||
["group:food"] = {label = "Nahrung (Gruppe)"},
|
||||
["group:food"] = {label = "Nahrung"},
|
||||
|
||||
["group:stair"] = {label = "Treppe"},
|
||||
["group:door"] = {label = "Tür"},
|
||||
|
@ -56,7 +56,7 @@ return {
|
||||
["group:coal"] = {label = "Coal" },
|
||||
["group:water_bucket"] = {label = "Bucket"},
|
||||
["group:dye"] = {label = "Dye"},
|
||||
["group:food"] = {label = "Food group"},
|
||||
["group:food"] = {label = "Food"},
|
||||
|
||||
["group:stair"] = {label = "Stair"},
|
||||
["group:door"] = {label = "Door"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user