MT5 translation for homedecor_climate_control

- Add screwdriver in optional_depends
- Add screwdriver in .luacheckrc
This commit is contained in:
Louis Royer 2020-08-04 20:58:26 +02:00
parent fc28c4385a
commit c1d9cc1de2
13 changed files with 106 additions and 6 deletions

View File

@ -17,6 +17,7 @@ read_globals = {
"stairsplus",
"stairs",
"signs_lib",
"screwdriver",
"beds",
"technic",
"mesecon",

View File

@ -1,4 +0,0 @@
homedecor_common
default
basic_materials
building_blocks?

View File

@ -1,6 +1,6 @@
-- Nodes that would affect the local temperature e.g. fans, heater, A/C
local S = homedecor.gettext
local S = minetest.get_translator("homedecor_climate_control")
homedecor.register("air_conditioner", {
description = S("Air Conditioner"),
@ -52,7 +52,7 @@ homedecor.register("desk_fan", {
inventory_image = "homedecor_desk_fan_inv.png",
wield_image = "homedecor_desk_fan_inv.png",
selection_box = { type = "regular" },
on_rotate = screwdriver.disallow,
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("active", "no")

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Klimaanlage
Ceiling Fan=Deckenventilator
Desk Fan=Schreibtischventilator
Fan blades=Ventilatorblätter
Radiator heater=Heizkörper
Space heater=Heizgerät

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Acondicionador de aire
Ceiling Fan=Ventilador de techo
Desk Fan=Ventilador de escritorio
Fan blades=Aspas de ventilador
Radiator heater=Radiador
Space heater=Calentador de espacios

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Climatiseur
Ceiling Fan=Ventilateur (plafonnier)
Desk Fan=Ventilateur de bureau
Fan blades=Pales de ventilateur
Radiator heater=Radiateur
Space heater=Chaufferette

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Pendingin Hawa
Ceiling Fan=Kipas Siling
Desk Fan=Kipas Meja
Fan blades=Bilah Kipas
Radiator heater=Pemanas Radiator
Space heater=Pemanas Ruang

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Ar condicionado
Ceiling Fan=Ventilador de Teto
Desk Fan=Ventilador de Escrivaninha
Fan blades=Pás de ventilador
Radiator heater=Aquecedor de radiador
Space heater=Aquecedor de ambiente

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Ar condicionado
Ceiling Fan=Ventilador de Teto
Desk Fan=Ventilador de Escrivaninha
Fan blades=Pás de ventilador
Radiator heater=Aquecedor de radiador
Space heater=Aquecedor de ambiente

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=Кондиционер
Ceiling Fan=Потолочный вентилятор
Desk Fan=Настольный вентилятор
Fan blades=Лопасти вентилятора
Radiator heater=Масленый обогреватель
Space heater=Обогреватель

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=空调
Ceiling Fan=吊扇
Desk Fan=台扇
Fan blades=风扇叶片
Radiator heater=散热器加热器
Space heater=暖气机

View File

@ -0,0 +1,11 @@
# textdomain: homedecor_climate_control
### init.lua ###
Air Conditioner=
Ceiling Fan=
Desk Fan=
Fan blades=
Radiator heater=
Space heater=

View File

@ -0,0 +1,4 @@
name = homedecor_climate_control
description = Homedecor mod: climate control
depends = homedecor_common, default, basic_materials
optional_depends = building_blocks, screwdriver