1
0
mirror of https://github.com/mt-mods/basic_materials.git synced 2024-12-23 17:20:40 +01:00

Merge branch 'fr-translation' into 'master'

Add french translation

See merge request VanessaE/basic_materials!2
This commit is contained in:
Vanessa Dannenberg 2020-02-08 17:02:17 +00:00
commit 78a9b38f55
7 changed files with 78 additions and 32 deletions

View File

@ -1,2 +0,0 @@
default
moreores?

View File

@ -1,27 +1,30 @@
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:silicon", {
description = "Silicon lump",
description = S("Silicon lump"),
inventory_image = "basic_materials_silicon.png",
})
minetest.register_craftitem("basic_materials:ic", {
description = "Simple Integrated Circuit",
description = S("Simple Integrated Circuit"),
inventory_image = "basic_materials_ic.png",
})
minetest.register_craftitem("basic_materials:motor", {
description = "Simple Motor",
description = S("Simple Motor"),
inventory_image = "basic_materials_motor.png",
})
minetest.register_craftitem("basic_materials:heating_element", {
description = "Heating element",
description = S("Heating element"),
inventory_image = "basic_materials_heating_element.png",
})
minetest.register_craftitem("basic_materials:energy_crystal_simple", {
description = "Simple energy crystal",
description = S("Simple energy crystal"),
inventory_image = "basic_materials_energy_crystal.png",
})

View 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 dacier
Spool of copper wire=Bobine de fil de cuivre
Spool of silver wire=Bobine de fil dargent
Spool of gold wire=Bobine de fil dor
Steel Strip=Bande de acier
Copper Strip=Bande de cuivre
Steel Bar=Barre dacier
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 dhuile
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

View File

@ -1,62 +1,65 @@
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
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"
})
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"
})
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"
})
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"
})
minetest.register_craftitem("basic_materials:steel_strip", {
description = "Steel Strip",
description = S("Steel Strip"),
inventory_image = "basic_materials_steel_strip.png"
})
minetest.register_craftitem("basic_materials:copper_strip", {
description = "Copper Strip",
description = S("Copper Strip"),
inventory_image = "basic_materials_copper_strip.png"
})
minetest.register_craftitem("basic_materials:steel_bar", {
description = "Steel Bar",
description = S("Steel Bar"),
inventory_image = "basic_materials_steel_bar.png",
})
minetest.register_craftitem("basic_materials:chainlink_brass", {
description = "Chainlinks (brass)",
description = S("Chainlinks (brass)"),
inventory_image = "basic_materials_chainlink_brass.png"
})
minetest.register_craftitem("basic_materials:chainlink_steel", {
description = "Chainlinks (steel)",
description = S("Chainlinks (steel)"),
inventory_image = "basic_materials_chainlink_steel.png"
})
minetest.register_craftitem("basic_materials:brass_ingot", {
description = "Brass Ingot",
description = S("Brass Ingot"),
inventory_image = "basic_materials_brass_ingot.png",
})
minetest.register_craftitem("basic_materials:gear_steel", {
description = "Steel gear",
description = S("Steel gear"),
inventory_image = "basic_materials_gear_steel.png"
})
minetest.register_craftitem("basic_materials:padlock", {
description = "Padlock",
description = S("Padlock"),
inventory_image = "basic_materials_padlock.png"
})
@ -76,7 +79,7 @@ local topchains_sbox = {
}
minetest.register_node("basic_materials:chain_steel", {
description = "Chain (steel, hanging)",
description = S("Chain (steel, hanging)"),
drawtype = "mesh",
mesh = "basic_materials_chains.obj",
tiles = {"basic_materials_chain_steel.png"},
@ -90,7 +93,7 @@ minetest.register_node("basic_materials:chain_steel", {
})
minetest.register_node("basic_materials:chain_brass", {
description = "Chain (brass, hanging)",
description = S("Chain (brass, hanging)"),
drawtype = "mesh",
mesh = "basic_materials_chains.obj",
tiles = {"basic_materials_chain_brass.png"},
@ -104,7 +107,7 @@ minetest.register_node("basic_materials:chain_brass", {
})
minetest.register_node("basic_materials:brass_block", {
description = "Brass Block",
description = S("Brass Block"),
tiles = { "basic_materials_brass_block.png" },
is_ground_content = false,
groups = {cracky=1, level=2},

View File

@ -1,29 +1,32 @@
--items
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:oil_extract", {
description = "Oil extract",
description = S("Oil extract"),
inventory_image = "basic_materials_oil_extract.png",
})
minetest.register_craftitem("basic_materials:paraffin", {
description = "Unprocessed paraffin",
description = S("Unprocessed paraffin"),
inventory_image = "basic_materials_paraffin.png",
})
minetest.register_craftitem("basic_materials:terracotta_base", {
description = "Uncooked Terracotta Base",
description = S("Uncooked Terracotta Base"),
inventory_image = "basic_materials_terracotta_base.png",
})
minetest.register_craftitem("basic_materials:wet_cement", {
description = "Wet Cement",
description = S("Wet Cement"),
inventory_image = "basic_materials_wet_cement.png",
})
-- nodes
minetest.register_node("basic_materials:cement_block", {
description = "Cement",
description = S("Cement"),
tiles = {"basic_materials_cement_block.png"},
is_ground_content = true,
groups = {cracky=2},
@ -31,7 +34,7 @@ minetest.register_node("basic_materials:cement_block", {
})
minetest.register_node("basic_materials:concrete_block", {
description = "Concrete Block",
description = S("Concrete Block"),
tiles = {"basic_materials_concrete_block.png",},
groups = {cracky=1, level=2, concrete=1},
sounds = default.node_sound_stone_defaults(),

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = basic_materials
depends = default
optional_depends = moreores

View File

@ -1,17 +1,20 @@
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:plastic_sheet", {
description = "Plastic sheet",
description = S("Plastic sheet"),
inventory_image = "basic_materials_plastic_sheet.png",
})
minetest.register_craftitem("basic_materials:plastic_strip", {
description = "Plastic strips",
description = S("Plastic strips"),
inventory_image = "basic_materials_plastic_strip.png",
})
minetest.register_craftitem("basic_materials:empty_spool", {
description = "Empty wire spool",
description = S("Empty wire spool"),
inventory_image = "basic_materials_empty_spool.png"
})