forked from mtcontrib/plantlife_modpack
Remove translations in minetest.log output
because they are not translated anyway
This commit is contained in:
committed by
Vanessa Dannenberg
parent
31e0066238
commit
47c20dc550
@ -1,7 +0,0 @@
|
||||
default
|
||||
biome_lib
|
||||
plantlife_i18n
|
||||
bushes?
|
||||
ferns?
|
||||
moretrees?
|
||||
trees?
|
@ -8,7 +8,7 @@ local mname = "trunks"
|
||||
abstract_trunks = {}
|
||||
|
||||
-- support for i18n
|
||||
local S = plantlife_i18n.gettext
|
||||
local S = minetest.get_translator("trunks")
|
||||
|
||||
dofile(minetest.get_modpath("trunks").."/trunks_settings.txt")
|
||||
dofile(minetest.get_modpath("trunks").."/generating.lua")
|
||||
|
17
trunks/locale/template.txt
Normal file
17
trunks/locale/template.txt
Normal file
@ -0,0 +1,17 @@
|
||||
# textdomain: trunks
|
||||
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
|
||||
Twig=
|
||||
Moss=
|
||||
Moss with Fungus=
|
||||
Twigs Block=
|
||||
Twigs Slab=
|
||||
Twigs Roof=
|
||||
Twigs Roof Corner 1=
|
||||
Twigs Roof Corner 2=
|
||||
@1 Root=
|
17
trunks/locale/trunks.fr.tr
Normal file
17
trunks/locale/trunks.fr.tr
Normal file
@ -0,0 +1,17 @@
|
||||
# textdomain: trunks
|
||||
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# fat115 <fat115@framasoft.org>, 2017.
|
||||
#
|
||||
|
||||
Twig=Brindille
|
||||
Moss=Mousse
|
||||
Moss with Fungus=Mousse et champignons
|
||||
Twigs Block=Bloc de brindilles
|
||||
Twigs Slab=Dalle en brindilles
|
||||
Twigs Roof=Toit de brindilles
|
||||
Twigs Roof Corner 1=Angle de toit de brindilles 1
|
||||
Twigs Roof Corner 2=Angle de toit de brindilles 2
|
||||
@1 Root=Racine de @1
|
3
trunks/mod.conf
Normal file
3
trunks/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = trunks
|
||||
depends = default, biome_lib
|
||||
optional_depends = bushes, ferns, moretrees, trees
|
@ -1,6 +1,6 @@
|
||||
-- Code by Mossmanikin & Neuromancer
|
||||
-- support for i18n
|
||||
local S = plantlife_i18n.gettext
|
||||
local S = minetest.get_translator("trunks")
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- TWiGS
|
||||
-----------------------------------------------------------------------------------------------
|
||||
@ -334,7 +334,7 @@ for i in pairs(TRuNKS) do
|
||||
local des = node.description
|
||||
|
||||
minetest.register_node("trunks:"..TRuNK.."root", {
|
||||
description = des.." "..S("Root"),
|
||||
description = S("@1 Root", des),
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
tiles = {
|
||||
|
Reference in New Issue
Block a user