added french translation and formspec translation (thx TheDarkTiger)
This commit is contained in:
parent
0558a21ebf
commit
7253b49883
33
init.lua
33
init.lua
@ -1,5 +1,5 @@
|
|||||||
-- Mod: BEES
|
-- Mod: BEES
|
||||||
-- Author: Bas080 (Tweaked by TenPlus1)
|
-- Author: Bas080 (Updated by TenPlus1)
|
||||||
-- License: MIT
|
-- License: MIT
|
||||||
|
|
||||||
|
|
||||||
@ -17,11 +17,14 @@ local hive_wild = function(pos, grafting)
|
|||||||
|
|
||||||
local spos = pos.x .. "," .. pos.y .. "," ..pos.z
|
local spos = pos.x .. "," .. pos.y .. "," ..pos.z
|
||||||
local formspec = "size[8,9]"
|
local formspec = "size[8,9]"
|
||||||
.. "list[nodemeta:" .. spos .. ";combs;1.5,3;5,1;]"
|
.. "label[0,0;" .. S("Wild Bee Hive") .. "]"
|
||||||
.. "list[current_player;main;0,5;8,4;]"
|
.. "list[nodemeta:" .. spos .. ";combs;1.5,3;5,1;]" -- Honey Comb
|
||||||
|
.. "list[current_player;main;0,5;8,4;]" -- Player Inventory
|
||||||
|
|
||||||
if grafting then
|
if grafting then
|
||||||
formspec = formspec .."list[nodemeta:".. spos .. ";queen;3.5,1;1,1;]"
|
formspec = formspec .."list[nodemeta:".. spos .. ";queen;3.5,1;1,1;]" -- Queen
|
||||||
|
else
|
||||||
|
formspec = formspec .. "item_image[3.5,1;1,1;bees:queen]"
|
||||||
end
|
end
|
||||||
|
|
||||||
return formspec
|
return formspec
|
||||||
@ -32,11 +35,13 @@ local hive_artificial = function(pos)
|
|||||||
|
|
||||||
local spos = pos.x .. "," .. pos.y .. "," .. pos.z
|
local spos = pos.x .. "," .. pos.y .. "," .. pos.z
|
||||||
local formspec = "size[8,9]"
|
local formspec = "size[8,9]"
|
||||||
|
.. "label[0,0;" .. S("Artificial Bee Hive") .. "]"
|
||||||
|
.. "item_image[2.5,1;1,1;bees:queen]" -- Queen
|
||||||
.. "list[nodemeta:" .. spos .. ";queen;3.5,1;1,1;]"
|
.. "list[nodemeta:" .. spos .. ";queen;3.5,1;1,1;]"
|
||||||
.. "tooltip[3.5,1;1,1;Queen]"
|
.. "tooltip[3.5,1;1,1;" .. S("Queen Bee").."]"
|
||||||
.. "list[nodemeta:" .. spos .. ";frames;0,3;8,1;]"
|
.. "list[nodemeta:" .. spos .. ";frames;0,3;8,1;]" -- Frames
|
||||||
.. "tooltip[0,3;8,1;Frames]"
|
.. "tooltip[0,3;8,1;" .. S("Empty Hive Frame") .. "]"
|
||||||
.. "list[current_player;main;0,5;8,4;]"
|
.. "list[current_player;main;0,5;8,4;]" -- Player Inventory
|
||||||
|
|
||||||
return formspec
|
return formspec
|
||||||
end
|
end
|
||||||
@ -98,18 +103,22 @@ minetest.register_node("bees:extractor", {
|
|||||||
inv:set_size("wax", 1)
|
inv:set_size("wax", 1)
|
||||||
|
|
||||||
meta:set_string("formspec", "size[8,9]"
|
meta:set_string("formspec", "size[8,9]"
|
||||||
|
.. "label[0,0;" .. S("Honey Extractor") .. "]"
|
||||||
-- input
|
-- input
|
||||||
|
.. "item_image[1,1;1,1;bees:frame_full]"
|
||||||
.. "list[nodemeta:" .. pos .. ";frames_filled;2,1;1,1;]"
|
.. "list[nodemeta:" .. pos .. ";frames_filled;2,1;1,1;]"
|
||||||
.. "tooltip[2,1;1,1;Filled Frames]"
|
.. "tooltip[2,1;1,1;" .. S("Filled Hive Frame") .. "]"
|
||||||
|
.. "item_image[1,3;1,1;vessels:glass_bottle]"
|
||||||
.. "list[nodemeta:" .. pos .. ";bottles_empty;2,3;1,1;]"
|
.. "list[nodemeta:" .. pos .. ";bottles_empty;2,3;1,1;]"
|
||||||
.. "tooltip[2,3;1,1;Empty Bottles]"
|
.. "tooltip[2,3;1,1;Empty Bottles]"
|
||||||
-- output
|
-- output
|
||||||
|
.. "label[4,2;->]"
|
||||||
.. "list[nodemeta:" .. pos .. ";frames_emptied;5,0.5;1,1;]"
|
.. "list[nodemeta:" .. pos .. ";frames_emptied;5,0.5;1,1;]"
|
||||||
.. "tooltip[5,0.5;1,1;Empty Frames]"
|
.. "tooltip[5,0.5;1,1;" .. S("Empty Hive Frame") .. "]"
|
||||||
.. "list[nodemeta:" .. pos .. ";wax;5,2;1,1;]"
|
.. "list[nodemeta:" .. pos .. ";wax;5,2;1,1;]"
|
||||||
.. "tooltip[5,2;1,1;Wax]"
|
.. "tooltip[5,2;1,1;" .. S("Bees Wax") .. "]"
|
||||||
.. "list[nodemeta:" .. pos .. ";bottles_full;5,3.5;1,1;]"
|
.. "list[nodemeta:" .. pos .. ";bottles_full;5,3.5;1,1;]"
|
||||||
.. "tooltip[5,3.5;1,1;Filled Bottles]"
|
.. "tooltip[5,3.5;1,1;" .. S("Honey Bottle") .. "]"
|
||||||
-- player inventory
|
-- player inventory
|
||||||
.. "list[current_player;main;0,5;8,4;]"
|
.. "list[current_player;main;0,5;8,4;]"
|
||||||
)
|
)
|
||||||
|
21
locale/bees.fr.tr
Normal file
21
locale/bees.fr.tr
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# textdomain: bees
|
||||||
|
Honey Extractor=Extracteur de miel
|
||||||
|
Bees=Abeilles
|
||||||
|
Wild Bee Hive=Ruche d'abeilles sauvage
|
||||||
|
Colony died, not enough flowers in area!=Pas assez de fleurs aux alentours, la colonie est morte !
|
||||||
|
Artificial Bee Hive=Ruche artificielle
|
||||||
|
Requires Queen bee to function=Nécésite une abeille reine pour fonctionner
|
||||||
|
progress:=progres:
|
||||||
|
Does not have empty frame(s)=N'a pas de cadre(s) vide(s)
|
||||||
|
Queen inserted, now for the empty frames=Abeille reine installée, ajoutez les cadres vides
|
||||||
|
Bees are aclimating=Les abeilles s'acclimatent
|
||||||
|
Empty Hive Frame=Cadre de ruche vide
|
||||||
|
Filled Hive Frame=Cadre de ruche plein
|
||||||
|
Honey Bottle=Fiole de miel
|
||||||
|
Bees Wax=Cire d'abeille
|
||||||
|
Honey Comb=Rayon de miel
|
||||||
|
Queen Bee=Abeille reine
|
||||||
|
Smoker=Enfumoir
|
||||||
|
Grafting Tool=Picking pour greffage
|
||||||
|
Industrial Bee Hive=Ruche industrielle
|
||||||
|
Bees! Bees for all!=Des abeilles pour tout le monde!
|
2
mod.conf
2
mod.conf
@ -1,5 +1,5 @@
|
|||||||
name = bees
|
name = bees
|
||||||
description = Adds bees and hives to Minetest.
|
description = Adds bees and hives to Minetest.
|
||||||
depends = default
|
depends = default, vessels
|
||||||
optional_depends = lucky_block
|
optional_depends = lucky_block
|
||||||
min_minetest_version = 5.0
|
min_minetest_version = 5.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user