Skip to content

Commit

Permalink
backguard compatibility and reusage of i18n from 3d_armor
Browse files Browse the repository at this point in the history
  • Loading branch information
mckaygerhard committed Jan 12, 2023
1 parent e408ce2 commit 4723a16
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

-- Use 3d_armor translator to take advantage of existing translations for armor parts
local S = minetest.get_translator("3d_armor")
local S = armor_i18n.gettext
local F = armor_i18n.fgettext

if not minetest.get_modpath("technic_worldgen") then
minetest.log("warning", S("[technic_armor]: Mod loaded but unused."))
return
end

local materials = {}

Expand Down

1 comment on commit 4723a16

@mckaygerhard
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this closed stujones11#1

Please sign in to comment.