mirror of
https://github.com/mt-mods/basic_materials.git
synced 2024-11-22 14:03:44 +01:00
Add french translation
This commit is contained in:
parent
78d8cfc942
commit
28aa73357d
@ -1,2 +0,0 @@
|
|||||||
default
|
|
||||||
moreores?
|
|
@ -1,27 +1,30 @@
|
|||||||
|
-- Translation support
|
||||||
|
local S = minetest.get_translator("basic_materials")
|
||||||
|
|
||||||
-- items
|
-- items
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:silicon", {
|
minetest.register_craftitem("basic_materials:silicon", {
|
||||||
description = "Silicon lump",
|
description = S("Silicon lump"),
|
||||||
inventory_image = "basic_materials_silicon.png",
|
inventory_image = "basic_materials_silicon.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:ic", {
|
minetest.register_craftitem("basic_materials:ic", {
|
||||||
description = "Simple Integrated Circuit",
|
description = S("Simple Integrated Circuit"),
|
||||||
inventory_image = "basic_materials_ic.png",
|
inventory_image = "basic_materials_ic.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:motor", {
|
minetest.register_craftitem("basic_materials:motor", {
|
||||||
description = "Simple Motor",
|
description = S("Simple Motor"),
|
||||||
inventory_image = "basic_materials_motor.png",
|
inventory_image = "basic_materials_motor.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:heating_element", {
|
minetest.register_craftitem("basic_materials:heating_element", {
|
||||||
description = "Heating element",
|
description = S("Heating element"),
|
||||||
inventory_image = "basic_materials_heating_element.png",
|
inventory_image = "basic_materials_heating_element.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:energy_crystal_simple", {
|
minetest.register_craftitem("basic_materials:energy_crystal_simple", {
|
||||||
description = "Simple energy crystal",
|
description = S("Simple energy crystal"),
|
||||||
inventory_image = "basic_materials_energy_crystal.png",
|
inventory_image = "basic_materials_energy_crystal.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
33
locale/basic_materials.fr.tr
Normal file
33
locale/basic_materials.fr.tr
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# textdomain: basic_materials
|
||||||
|
Silicon lump=Morceau de silicium
|
||||||
|
Simple Integrated Circuit=Circuit intégré simple
|
||||||
|
Simple Motor=Moteur simple
|
||||||
|
Heating element=Élément chauffant
|
||||||
|
Simple energy crystal=Cristal d’énergie simple
|
||||||
|
|
||||||
|
Spool of steel wire=Bobine de fil d’acier
|
||||||
|
Spool of copper wire=Bobine de fil de cuivre
|
||||||
|
Spool of silver wire=Bobine de fil d’argent
|
||||||
|
Spool of gold wire=Bobine de fil d’or
|
||||||
|
Steel Strip=Bande de acier
|
||||||
|
Copper Strip=Bande de cuivre
|
||||||
|
Steel Bar=Barre d’acier
|
||||||
|
Chainlinks (brass)=Maillon en laiton
|
||||||
|
Chainlinks (steel)=Maillon en acier
|
||||||
|
Brass Ingot=Lingot de laiton
|
||||||
|
Steel gear=Rouage en acier
|
||||||
|
Padlock=Cadenas
|
||||||
|
Chain (steel, hanging)=Chaine en acier
|
||||||
|
Chain (brass, hanging)=Chaine en laiton
|
||||||
|
Brass Block=Bloc de laiton
|
||||||
|
|
||||||
|
Oil extract=Extrait d’huile
|
||||||
|
Unprocessed paraffin=Paraffine non transformée
|
||||||
|
Uncooked Terracotta Base=Argile crue
|
||||||
|
Wet Cement=Ciment humide
|
||||||
|
Cement=Ciment
|
||||||
|
Concrete Block=Bloc de béton
|
||||||
|
|
||||||
|
Plastic sheet=Morceau de plastique
|
||||||
|
Plastic strips=Bande de plastique
|
||||||
|
Empty wire spool=Bobine de fil vide
|
33
metals.lua
33
metals.lua
@ -1,62 +1,65 @@
|
|||||||
|
-- Translation support
|
||||||
|
local S = minetest.get_translator("basic_materials")
|
||||||
|
|
||||||
-- items
|
-- items
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:steel_wire", {
|
minetest.register_craftitem("basic_materials:steel_wire", {
|
||||||
description = "Spool of steel wire",
|
description = S("Spool of steel wire"),
|
||||||
inventory_image = "basic_materials_steel_wire.png"
|
inventory_image = "basic_materials_steel_wire.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:copper_wire", {
|
minetest.register_craftitem("basic_materials:copper_wire", {
|
||||||
description = "Spool of copper wire",
|
description = S("Spool of copper wire"),
|
||||||
inventory_image = "basic_materials_copper_wire.png"
|
inventory_image = "basic_materials_copper_wire.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:silver_wire", {
|
minetest.register_craftitem("basic_materials:silver_wire", {
|
||||||
description = "Spool of silver wire",
|
description = S("Spool of silver wire"),
|
||||||
inventory_image = "basic_materials_silver_wire.png"
|
inventory_image = "basic_materials_silver_wire.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:gold_wire", {
|
minetest.register_craftitem("basic_materials:gold_wire", {
|
||||||
description = "Spool of gold wire",
|
description = S("Spool of gold wire"),
|
||||||
inventory_image = "basic_materials_gold_wire.png"
|
inventory_image = "basic_materials_gold_wire.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:steel_strip", {
|
minetest.register_craftitem("basic_materials:steel_strip", {
|
||||||
description = "Steel Strip",
|
description = S("Steel Strip"),
|
||||||
inventory_image = "basic_materials_steel_strip.png"
|
inventory_image = "basic_materials_steel_strip.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:copper_strip", {
|
minetest.register_craftitem("basic_materials:copper_strip", {
|
||||||
description = "Copper Strip",
|
description = S("Copper Strip"),
|
||||||
inventory_image = "basic_materials_copper_strip.png"
|
inventory_image = "basic_materials_copper_strip.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:steel_bar", {
|
minetest.register_craftitem("basic_materials:steel_bar", {
|
||||||
description = "Steel Bar",
|
description = S("Steel Bar"),
|
||||||
inventory_image = "basic_materials_steel_bar.png",
|
inventory_image = "basic_materials_steel_bar.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:chainlink_brass", {
|
minetest.register_craftitem("basic_materials:chainlink_brass", {
|
||||||
description = "Chainlinks (brass)",
|
description = S("Chainlinks (brass)"),
|
||||||
inventory_image = "basic_materials_chainlink_brass.png"
|
inventory_image = "basic_materials_chainlink_brass.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:chainlink_steel", {
|
minetest.register_craftitem("basic_materials:chainlink_steel", {
|
||||||
description = "Chainlinks (steel)",
|
description = S("Chainlinks (steel)"),
|
||||||
inventory_image = "basic_materials_chainlink_steel.png"
|
inventory_image = "basic_materials_chainlink_steel.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:brass_ingot", {
|
minetest.register_craftitem("basic_materials:brass_ingot", {
|
||||||
description = "Brass Ingot",
|
description = S("Brass Ingot"),
|
||||||
inventory_image = "basic_materials_brass_ingot.png",
|
inventory_image = "basic_materials_brass_ingot.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:gear_steel", {
|
minetest.register_craftitem("basic_materials:gear_steel", {
|
||||||
description = "Steel gear",
|
description = S("Steel gear"),
|
||||||
inventory_image = "basic_materials_gear_steel.png"
|
inventory_image = "basic_materials_gear_steel.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:padlock", {
|
minetest.register_craftitem("basic_materials:padlock", {
|
||||||
description = "Padlock",
|
description = S("Padlock"),
|
||||||
inventory_image = "basic_materials_padlock.png"
|
inventory_image = "basic_materials_padlock.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -76,7 +79,7 @@ local topchains_sbox = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node("basic_materials:chain_steel", {
|
minetest.register_node("basic_materials:chain_steel", {
|
||||||
description = "Chain (steel, hanging)",
|
description = S("Chain (steel, hanging)"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "basic_materials_chains.obj",
|
mesh = "basic_materials_chains.obj",
|
||||||
tiles = {"basic_materials_chain_steel.png"},
|
tiles = {"basic_materials_chain_steel.png"},
|
||||||
@ -90,7 +93,7 @@ minetest.register_node("basic_materials:chain_steel", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("basic_materials:chain_brass", {
|
minetest.register_node("basic_materials:chain_brass", {
|
||||||
description = "Chain (brass, hanging)",
|
description = S("Chain (brass, hanging)"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "basic_materials_chains.obj",
|
mesh = "basic_materials_chains.obj",
|
||||||
tiles = {"basic_materials_chain_brass.png"},
|
tiles = {"basic_materials_chain_brass.png"},
|
||||||
@ -104,7 +107,7 @@ minetest.register_node("basic_materials:chain_brass", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("basic_materials:brass_block", {
|
minetest.register_node("basic_materials:brass_block", {
|
||||||
description = "Brass Block",
|
description = S("Brass Block"),
|
||||||
tiles = { "basic_materials_brass_block.png" },
|
tiles = { "basic_materials_brass_block.png" },
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky=1, level=2},
|
groups = {cracky=1, level=2},
|
||||||
|
17
misc.lua
17
misc.lua
@ -1,29 +1,32 @@
|
|||||||
--items
|
-- Translation support
|
||||||
|
local S = minetest.get_translator("basic_materials")
|
||||||
|
|
||||||
|
-- items
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:oil_extract", {
|
minetest.register_craftitem("basic_materials:oil_extract", {
|
||||||
description = "Oil extract",
|
description = S("Oil extract"),
|
||||||
inventory_image = "basic_materials_oil_extract.png",
|
inventory_image = "basic_materials_oil_extract.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:paraffin", {
|
minetest.register_craftitem("basic_materials:paraffin", {
|
||||||
description = "Unprocessed paraffin",
|
description = S("Unprocessed paraffin"),
|
||||||
inventory_image = "basic_materials_paraffin.png",
|
inventory_image = "basic_materials_paraffin.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:terracotta_base", {
|
minetest.register_craftitem("basic_materials:terracotta_base", {
|
||||||
description = "Uncooked Terracotta Base",
|
description = S("Uncooked Terracotta Base"),
|
||||||
inventory_image = "basic_materials_terracotta_base.png",
|
inventory_image = "basic_materials_terracotta_base.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:wet_cement", {
|
minetest.register_craftitem("basic_materials:wet_cement", {
|
||||||
description = "Wet Cement",
|
description = S("Wet Cement"),
|
||||||
inventory_image = "basic_materials_wet_cement.png",
|
inventory_image = "basic_materials_wet_cement.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- nodes
|
-- nodes
|
||||||
|
|
||||||
minetest.register_node("basic_materials:cement_block", {
|
minetest.register_node("basic_materials:cement_block", {
|
||||||
description = "Cement",
|
description = S("Cement"),
|
||||||
tiles = {"basic_materials_cement_block.png"},
|
tiles = {"basic_materials_cement_block.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
@ -31,7 +34,7 @@ minetest.register_node("basic_materials:cement_block", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("basic_materials:concrete_block", {
|
minetest.register_node("basic_materials:concrete_block", {
|
||||||
description = "Concrete Block",
|
description = S("Concrete Block"),
|
||||||
tiles = {"basic_materials_concrete_block.png",},
|
tiles = {"basic_materials_concrete_block.png",},
|
||||||
groups = {cracky=1, level=2, concrete=1},
|
groups = {cracky=1, level=2, concrete=1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
3
mod.conf
Normal file
3
mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = basic_materials
|
||||||
|
depends = default
|
||||||
|
optional_depends = moreores
|
@ -1,17 +1,20 @@
|
|||||||
|
-- Translation support
|
||||||
|
local S = minetest.get_translator("basic_materials")
|
||||||
|
|
||||||
-- items
|
-- items
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:plastic_sheet", {
|
minetest.register_craftitem("basic_materials:plastic_sheet", {
|
||||||
description = "Plastic sheet",
|
description = S("Plastic sheet"),
|
||||||
inventory_image = "basic_materials_plastic_sheet.png",
|
inventory_image = "basic_materials_plastic_sheet.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:plastic_strip", {
|
minetest.register_craftitem("basic_materials:plastic_strip", {
|
||||||
description = "Plastic strips",
|
description = S("Plastic strips"),
|
||||||
inventory_image = "basic_materials_plastic_strip.png",
|
inventory_image = "basic_materials_plastic_strip.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("basic_materials:empty_spool", {
|
minetest.register_craftitem("basic_materials:empty_spool", {
|
||||||
description = "Empty wire spool",
|
description = S("Empty wire spool"),
|
||||||
inventory_image = "basic_materials_empty_spool.png"
|
inventory_image = "basic_materials_empty_spool.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user