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

MT5 translation for homedecor_gastronomy

- Add screwdriver in optional_depends
- Fix luacheck warning
- Improve french translation
This commit is contained in:
Louis Royer 2020-08-04 22:57:45 +02:00
parent 57d51e4596
commit eae0f6cb3c
13 changed files with 217 additions and 12 deletions

View File

@ -1,7 +0,0 @@
homedecor_common
default
basic_materials
dye
creative
currency?
bucket?

View File

@ -1,5 +1,4 @@
local S = minetest.get_translator("homedecor_gastronomy")
local S = homedecor.gettext
local cutlery_cbox = { local cutlery_cbox = {
type = "fixed", type = "fixed",
@ -162,7 +161,6 @@ homedecor.register("beer_mug", {
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
selection_box = beer_cbox, selection_box = beer_cbox,
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)
local inv = user:get_inventory()
if not creative.is_enabled_for(user:get_player_name()) then if not creative.is_enabled_for(user:get_player_name()) then
minetest.do_item_eat(2, "vessels:drinking_glass 1", itemstack, user, pointed_thing) minetest.do_item_eat(2, "vessels:drinking_glass 1", itemstack, user, pointed_thing)
return itemstack return itemstack
@ -184,7 +182,7 @@ homedecor.register("soda_machine", {
collision_box = svm_cbox, collision_box = svm_cbox,
expand = { top="placeholder" }, expand = { top="placeholder" },
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.rotate_simple, on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local playername = clicker:get_player_name() local playername = clicker:get_player_name()
local wielditem = clicker:get_wielded_item() local wielditem = clicker:get_wielded_item()
@ -235,7 +233,7 @@ homedecor.register("coffee_maker", {
groups = {snappy=3}, groups = {snappy=3},
selection_box = cm_cbox, selection_box = cm_cbox,
node_box = cm_cbox, node_box = cm_cbox,
on_rotate = screwdriver.disallow on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil,
}) })
homedecor.register("toaster", { homedecor.register("toaster", {

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=Ahh ein kühles Bier sehen Sie in Ihrem Inventar nach!
Beer mug=Bierkrug
Beer tap=Bierzapfhahn
Brown bottle=Braune Flasche
Coffee Maker=Kaffeemaschine
Cutlery set=Besteckset
Four brown bottles=Vier braune Flaschen
Four green bottles=Vier grüne Flaschen
Four misc brown/green bottles=Vier gemischte braune/grüne Flaschen
Green bottle=Grüne Flasche
No room in your inventory to add a beer mug!=Kein Platz im Inventar für einen Bierkrug!
Please insert a coin in the machine.=Bitte Münze in Automaten einwerfen.
Soda Can=Limodose
Soda vending machine=Limoautomat
Toaster=Toaster
Wine rack=Weinregal

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=¡Ah, una cerveza fría! La encontrarás en tu inventario.
Beer mug=Jarra de cerveza
Beer tap=Grifo de cerveza
Brown bottle=Botella marrón
Coffee Maker=Cafetera
Cutlery set=Cubertería
Four brown bottles=Cuatro botellas marrones
Four green bottles=Cuatro botellas verdes
Four misc brown/green bottles=Cuatro botellas verdes/marrones
Green bottle=Botella verde
No room in your inventory to add a beer mug!=¡No hay lugar para tomar una jarra de cerveza!
Please insert a coin in the machine.=Por favor introduzca una moneda en la máquina.
Soda Can=Lata de refresco
Soda vending machine=Máquina expendedora de refrescos
Toaster=Tostador
Wine rack=Estantería de vino

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=Ahh, une bière bien fraîche - regardez dans votre inventaire !
Beer mug=Pinte de bière
Beer tap=Pompe à bière
Brown bottle=Bouteille marron
Coffee Maker=Cafetière
Cutlery set=Couverts
Four brown bottles=Quatre bouteilles marrons
Four green bottles=Quatre bouteilles vertes
Four misc brown/green bottles=Quatre bouteilles marrons et vertes
Green bottle=Bouteille verte
No room in your inventory to add a beer mug!=Pas de place dans votre inventaire pour ajouter une pinte de bière !
Please insert a coin in the machine.=Veuillez insérer une pièce dans la machine.
Soda Can=Canette de soda
Soda vending machine=Distributeur de boissons
Toaster=Grille-pain
Wine rack=Casier à bouteilles

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=
Beer mug=
Beer tap=
Brown bottle=
Coffee Maker=
Cutlery set=
Four brown bottles=
Four green bottles=
Four misc brown/green bottles=
Green bottle=
No room in your inventory to add a beer mug!=
Please insert a coin in the machine.=
Soda Can=
Soda vending machine=
Toaster=
Wine rack=

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=Ahh, bir sejuk dingin - cari dalam inventori anda!
Beer mug=Kole Bir
Beer tap=Paip Bir
Brown bottle=Botol Perang
Coffee Maker=Alat Pembuat Kopi
Cutlery set=Set Kutleri
Four brown bottles=Empat Botol Perang
Four green bottles=Empat Botol Hijau
Four misc brown/green bottles=Empat Botol Pelbagai Warna
Green bottle=Botol Hijau
No room in your inventory to add a beer mug!=Tiada ruang dalam inventori anda untuk menambah kole bir!
Please insert a coin in the machine.=Sila masukkan duit syiling ke dalam mesin.
Soda Can=Tin Soda
Soda vending machine=Mesin Soda Layan Diri
Toaster=Pembakar Roti
Wine rack=Rak Wain

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=Ahh, uma cerveja bem gelada - procure por ela em seu inventário!
Beer mug=Caneca de cerveja
Beer tap=Torneira de cerveja
Brown bottle=Garrafa marrom
Coffee Maker=Cafeteira
Cutlery set=Conjunto de Talheres
Four brown bottles=Quatro garrafas marrons
Four green bottles=Quatro garrafas verdes
Four misc brown/green bottles=Quatro garrafas mescladas verde/marrom
Green bottle=Garrafa verde
No room in your inventory to add a beer mug!=Sem espaço no inventário para colocar uma caneca de cerveja
Please insert a coin in the machine.=Por favor insira uma moeda na máquina.
Soda Can=Lata de Refrigerante
Soda vending machine=Máquina de refrigerante
Toaster=Torradeira
Wine rack=Prateleira de Vinho

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=Ahh, uma cerveja bem gelada - procure por ela em seu inventário!
Beer mug=Caneca de cerveja
Beer tap=Torneira de cerveja
Brown bottle=Garrafa marrom
Coffee Maker=Cafeteira
Cutlery set=Conjunto de Talheres
Four brown bottles=Quatro garrafas marrons
Four green bottles=Quatro garrafas verdes
Four misc brown/green bottles=Quatro garrafas mescladas verde/marrom
Green bottle=Garrafa verde
No room in your inventory to add a beer mug!=Sem espaço no inventário para colocar uma caneca de cerveja
Please insert a coin in the machine.=Por favor insira uma moeda na máquina.
Soda Can=Lata de Refrigerante
Soda vending machine=Máquina de refrigerante
Toaster=Torradeira
Wine rack=Prateleira de Vinho

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=О, холодное пиво! Ищи его в инвентаре!
Beer mug=Пивная кружка
Beer tap=Пивной кран
Brown bottle=Коричневая бутылка
Coffee Maker=Кофеварка
Cutlery set=Набор столовых приборов
Four brown bottles=Четыре коричневых бутылки
Four green bottles=Четыре зелёных бутылки
Four misc brown/green bottles=Четыре разные коричневые/зелёные
Green bottle=Зелёная бутылка
No room in your inventory to add a beer mug!=В инвентаре нет места для пивной кружки!
Please insert a coin in the machine.=Вставьте монету в автомат.
Soda Can=Банка газировки
Soda vending machine=Автомат с газировкой
Toaster=Тостер
Wine rack=Винный шкаф

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=啊,一杯冰凉的啤酒-看看你的库存吧!
Beer mug=啤酒杯
Beer tap=啤酒龙头
Brown bottle=棕色瓶子
Coffee Maker=咖啡机
Cutlery set=餐具套装
Four brown bottles=四个棕色瓶子
Four green bottles=四个绿色瓶子
Four misc brown/green bottles=四个其他棕色/绿色瓶子
Green bottle=绿瓶
No room in your inventory to add a beer mug!=你的库存里没有地方放啤酒杯!
Please insert a coin in the machine.=请在机器里放一枚硬币。
Soda Can=易拉罐
Soda vending machine=汽水自动售货机
Toaster=烤面包机
Wine rack=酒架

View File

@ -0,0 +1,21 @@
# textdomain: homedecor_gastronomy
### init.lua ###
Ahh, a frosty cold beer - look in your inventory for it!=
Beer mug=
Beer tap=
Brown bottle=
Coffee Maker=
Cutlery set=
Four brown bottles=
Four green bottles=
Four misc brown/green bottles=
Green bottle=
No room in your inventory to add a beer mug!=
Please insert a coin in the machine.=
Soda Can=
Soda vending machine=
Toaster=
Wine rack=

View File

@ -0,0 +1,4 @@
name = homedecor_gastronomy
description = Homedecor mod: gastronomy
depends = homedecor_common, default, basic_materials, dye, creative
optional_depends = currency, bucket, screwdriver