mirror of
https://github.com/t-affeldt/climate_api.git
synced 2024-12-22 17:00:36 +01:00
commit
85e4553f2a
@ -57,7 +57,7 @@ minetest.register_chatcommand("weather", {
|
|||||||
|
|
||||||
-- set base heat to increase or decrease global climate temperatures
|
-- set base heat to increase or decrease global climate temperatures
|
||||||
minetest.register_chatcommand("set_base_heat", {
|
minetest.register_chatcommand("set_base_heat", {
|
||||||
params = "<heat>",
|
params = S("<heat>"),
|
||||||
description = S("Override the weather algorithm's base heat"),
|
description = S("Override the weather algorithm's base heat"),
|
||||||
privs = { weather = true },
|
privs = { weather = true },
|
||||||
func = function(playername, param)
|
func = function(playername, param)
|
||||||
@ -73,7 +73,7 @@ minetest.register_chatcommand("set_base_heat", {
|
|||||||
|
|
||||||
-- override global heat levels with given value
|
-- override global heat levels with given value
|
||||||
minetest.register_chatcommand("set_heat", {
|
minetest.register_chatcommand("set_heat", {
|
||||||
params = "<heat>",
|
params = S("<heat>"),
|
||||||
description = S("Override the weather algorithm's heat"),
|
description = S("Override the weather algorithm's heat"),
|
||||||
privs = { weather = true },
|
privs = { weather = true },
|
||||||
func = function(playername, param)
|
func = function(playername, param)
|
||||||
@ -93,7 +93,7 @@ minetest.register_chatcommand("set_heat", {
|
|||||||
|
|
||||||
-- set base heat to increase or decrease global climate humidity
|
-- set base heat to increase or decrease global climate humidity
|
||||||
minetest.register_chatcommand("set_base_humidity", {
|
minetest.register_chatcommand("set_base_humidity", {
|
||||||
params = "<humidity>",
|
params = S("<humidity>"),
|
||||||
description = S("Override the weather algorithm's base humidity"),
|
description = S("Override the weather algorithm's base humidity"),
|
||||||
privs = { weather = true },
|
privs = { weather = true },
|
||||||
func = function(playername, param)
|
func = function(playername, param)
|
||||||
@ -109,7 +109,7 @@ minetest.register_chatcommand("set_base_humidity", {
|
|||||||
|
|
||||||
-- override global humidity with given value
|
-- override global humidity with given value
|
||||||
minetest.register_chatcommand("set_humidity", {
|
minetest.register_chatcommand("set_humidity", {
|
||||||
params = "<humidity>",
|
params = S("<humidity>"),
|
||||||
description = S("Override the weather algorithm's humidity"),
|
description = S("Override the weather algorithm's humidity"),
|
||||||
privs = { weather = true },
|
privs = { weather = true },
|
||||||
func = function(playername, param)
|
func = function(playername, param)
|
||||||
@ -129,7 +129,7 @@ minetest.register_chatcommand("set_humidity", {
|
|||||||
|
|
||||||
-- override wind direction and speed with given values
|
-- override wind direction and speed with given values
|
||||||
minetest.register_chatcommand("set_wind", {
|
minetest.register_chatcommand("set_wind", {
|
||||||
params = "<wind>",
|
params = S("<wind>"),
|
||||||
description = S("Override the weather algorithm's windspeed"),
|
description = S("Override the weather algorithm's windspeed"),
|
||||||
privs = { weather = true },
|
privs = { weather = true },
|
||||||
func = function(playername, param)
|
func = function(playername, param)
|
||||||
@ -171,7 +171,7 @@ minetest.register_chatcommand("weather_settings", {
|
|||||||
|
|
||||||
-- force a weather preset or disable it
|
-- force a weather preset or disable it
|
||||||
minetest.register_chatcommand("set_weather", {
|
minetest.register_chatcommand("set_weather", {
|
||||||
params ="<weather> <status>",
|
params = S("<weather> <status>"),
|
||||||
description = S("Turn the specified weather preset on or off for all players or reset it to automatic"),
|
description = S("Turn the specified weather preset on or off for all players or reset it to automatic"),
|
||||||
privs = { weather = true },
|
privs = { weather = true },
|
||||||
func = function(playername, param)
|
func = function(playername, param)
|
||||||
@ -233,7 +233,7 @@ minetest.register_chatcommand("weather_influences", {
|
|||||||
|
|
||||||
-- used to debug downfall
|
-- used to debug downfall
|
||||||
minetest.register_chatcommand("explain_humidity", {
|
minetest.register_chatcommand("explain_humidity", {
|
||||||
description = "Explains how the humidity value got calculated",
|
description = S("Explains how the humidity value got calculated"),
|
||||||
func = function(playername)
|
func = function(playername)
|
||||||
local base = climate_mod.settings.humidity
|
local base = climate_mod.settings.humidity
|
||||||
local biome = minetest.get_humidity((minetest.get_player_by_name(playername)):get_pos())
|
local biome = minetest.get_humidity((minetest.get_player_by_name(playername)):get_pos())
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# textdomain: climate_api
|
# textdomain: climate_api
|
||||||
Disable MTG weather for the best experience. Check the forum for more information.=Deaktiviere MTG weather für die beste Spielerfahrung. Mehr Informationen im Forum.
|
|
||||||
Make changes to the current weather=Ändere das aktuelle Wetter
|
Make changes to the current weather=Ändere das aktuelle Wetter
|
||||||
Display weather information=Betrachte Informationen zum Wetter
|
Display weather information=Betrachte Informationen zum Wetter
|
||||||
The following weather presets are active for you:=Die folgenden Wetterklassen sind gerade aktiv
|
The following weather presets are active for you:=Die folgenden Wetterklassen sind gerade aktiv
|
||||||
@ -9,6 +8,7 @@ scorching=stechend heiße
|
|||||||
pleasant=angenehme
|
pleasant=angenehme
|
||||||
chilly=kühle
|
chilly=kühle
|
||||||
It is a @1 @2 right now and humidity is at @3%.=Es sind gerade @1 @2 und die Luftfeuchtigkeit liegt bei @3%.
|
It is a @1 @2 right now and humidity is at @3%.=Es sind gerade @1 @2 und die Luftfeuchtigkeit liegt bei @3%.
|
||||||
|
<heat>=
|
||||||
Override the weather algorithm's base heat=Überschreibe die Standard-Temperatur
|
Override the weather algorithm's base heat=Überschreibe die Standard-Temperatur
|
||||||
Provide a number to modify the base heat=Gebe eine Zahl an, um die Standard-Temperatur anzupassen
|
Provide a number to modify the base heat=Gebe eine Zahl an, um die Standard-Temperatur anzupassen
|
||||||
Base heat changed=Die Standard-Temperatur wurde geändert
|
Base heat changed=Die Standard-Temperatur wurde geändert
|
||||||
@ -16,6 +16,7 @@ Override the weather algorithm's heat=Überschreibe die tatsächliche Temperatur
|
|||||||
Provide a number to modify the heat=Gebe eine Zahl an, um die Temperatur anzupassen
|
Provide a number to modify the heat=Gebe eine Zahl an, um die Temperatur anzupassen
|
||||||
Heat value reset=Die Temperatur wurde zurückgesetzt
|
Heat value reset=Die Temperatur wurde zurückgesetzt
|
||||||
Heat value changed=Die Temperatur wurde geändert
|
Heat value changed=Die Temperatur wurde geändert
|
||||||
|
<humidity>=
|
||||||
Override the weather algorithm's base humidity=Überschreibe die Standard-Luftfeuchtigkeit
|
Override the weather algorithm's base humidity=Überschreibe die Standard-Luftfeuchtigkeit
|
||||||
Provide a number to modify the base humidity=Gebe eine Zahl an, um die Standard-Temperatur anzupassen
|
Provide a number to modify the base humidity=Gebe eine Zahl an, um die Standard-Temperatur anzupassen
|
||||||
Base humidity changed=Die Standard-Luftfeuchtigkeit wurde geändert
|
Base humidity changed=Die Standard-Luftfeuchtigkeit wurde geändert
|
||||||
@ -23,6 +24,7 @@ Override the weather algorithm's humidity=Überschreibe die tatsächliche Luftfe
|
|||||||
Provide a number to modify the humidity=Gebe eine Zahl an, um die Luftfeuchtigkeit anzupassen
|
Provide a number to modify the humidity=Gebe eine Zahl an, um die Luftfeuchtigkeit anzupassen
|
||||||
Humidity value reset=Die Luftfeuchtigkeit wurde zurückgesetzt
|
Humidity value reset=Die Luftfeuchtigkeit wurde zurückgesetzt
|
||||||
Humidity value changed=Die Luftfeuchtigkeit wurde geändert
|
Humidity value changed=Die Luftfeuchtigkeit wurde geändert
|
||||||
|
<wind>=
|
||||||
Override the weather algorithm's windspeed=Überschreibe die Windgeschwindigkeit
|
Override the weather algorithm's windspeed=Überschreibe die Windgeschwindigkeit
|
||||||
Provide a vector of two numbers to modify the wind=Gebe einen Vektor aus zwei Zahlen an, um die Windgeschwindigkeit anzupassen
|
Provide a vector of two numbers to modify the wind=Gebe einen Vektor aus zwei Zahlen an, um die Windgeschwindigkeit anzupassen
|
||||||
Wind reset=Der Wind wurde zurückgesetzt
|
Wind reset=Der Wind wurde zurückgesetzt
|
||||||
@ -30,6 +32,7 @@ Invalid wind configuration=Fehlerhafte Windkonfiguration
|
|||||||
Wind changed=Der Wind wurde geändert
|
Wind changed=Der Wind wurde geändert
|
||||||
Print the active Climate API configuration=Betrachte die Einstellungen für Climate API
|
Print the active Climate API configuration=Betrachte die Einstellungen für Climate API
|
||||||
Current Settings=Aktuelle Einstellungen
|
Current Settings=Aktuelle Einstellungen
|
||||||
|
<weather> <status>=
|
||||||
Turn the specified weather preset on or off for all players or reset it to automatic=Schalte für alle Spieler die angegebene Wetterklasse an, aus oder schalte sie auf automatisch
|
Turn the specified weather preset on or off for all players or reset it to automatic=Schalte für alle Spieler die angegebene Wetterklasse an, aus oder schalte sie auf automatisch
|
||||||
Unknown weather preset=Unbekannte Wetterklasse
|
Unknown weather preset=Unbekannte Wetterklasse
|
||||||
Invalid weather status. Set the preset to either on, off or auto.=Unbekannter Status. Setze die Wetterklasse entweder auf on, off oder auto
|
Invalid weather status. Set the preset to either on, off or auto.=Unbekannter Status. Setze die Wetterklasse entweder auf on, off oder auto
|
||||||
@ -38,3 +41,4 @@ Prints which weather presets are enforced or disabled=Betrachte, welche Wetterkl
|
|||||||
Current activation rules:=Aktuelle Aktivierungsregeln
|
Current activation rules:=Aktuelle Aktivierungsregeln
|
||||||
Prints which weather influences cause your current weather=Betrachte, welche Umwelteinflüsse das aktuelle Wetter hervorrufen
|
Prints which weather influences cause your current weather=Betrachte, welche Umwelteinflüsse das aktuelle Wetter hervorrufen
|
||||||
Current influences rules:=Aktuelle Einflussfaktoren
|
Current influences rules:=Aktuelle Einflussfaktoren
|
||||||
|
Explains how the humidity value got calculated=
|
||||||
|
44
locale/climate_api.eo.tr
Normal file
44
locale/climate_api.eo.tr
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# textdomain: climate_api
|
||||||
|
Make changes to the current weather=Ŝanĝi la nunan veteron
|
||||||
|
Display weather information=Montri veterajn informojn
|
||||||
|
The following weather presets are active for you:=La jenaj veteragordoj estas ŝaltitaj por vi:
|
||||||
|
Your sky is clear. No weather presets are currently active.=La suno brilas. Neniu veteragordo estas ŝaltita.
|
||||||
|
As a result, the following environment effects are applied:=Pro tio, la jenaj efikoj estas aktivaj:
|
||||||
|
scorching=Varmas
|
||||||
|
pleasant=Komfortas
|
||||||
|
chilly=Malvarmas
|
||||||
|
It is a @1 @2 right now and humidity is at @3%.=@1 je @2 ĝuste nun, kun aermalsekeco je @3 gradoj.
|
||||||
|
<heat>=<varm>
|
||||||
|
Override the weather algorithm's base heat=Anstataŭigi la bazan varmecon de la vetera algoritmo
|
||||||
|
Provide a number to modify the base heat=Doni nombron anstataŭiguntan la bazan varmecon
|
||||||
|
Base heat changed=Baza varmeco ŝanĝita
|
||||||
|
Override the weather algorithm's heat=Anstataŭigi la varmecon de la vetera algoritmo
|
||||||
|
Provide a number to modify the heat=Doni nombron anstataŭiguntan la varmecon
|
||||||
|
Heat value reset=Varmeco malagordita
|
||||||
|
Heat value changed=Varmeco ŝanĝita
|
||||||
|
<humidity>=<aermalsek>
|
||||||
|
Override the weather algorithm's base humidity=Anstataŭigi la bazan aermalsekecon de la vetera algoritmo
|
||||||
|
Provide a number to modify the base humidity=Doni nombron anstataŭiguntan la bazan aermalsekecon
|
||||||
|
Base humidity changed=Baza aermalsekeco ŝanĝita
|
||||||
|
Override the weather algorithm's humidity=Anstataŭigi la aermalsekecon de la vetera algoritmo
|
||||||
|
Provide a number to modify the humidity=Doni nombron anstataŭiguntan la aermalsekecon
|
||||||
|
Humidity value reset=Aermalsekeco malagordita
|
||||||
|
Humidity value changed=Aermalsekeca ŝanĝita
|
||||||
|
<wind>=<vent>
|
||||||
|
Override the weather algorithm's windspeed=Anstataŭigi la ventforton de la vetera algoritmo
|
||||||
|
Provide a vector of two numbers to modify the wind=Doni nombroparon anstataŭiguntan la ventoforton
|
||||||
|
Wind reset=Ventoforto malagordita
|
||||||
|
Invalid wind configuration=Nevalida ventagordo
|
||||||
|
Wind changed=Vento ŝanĝita
|
||||||
|
Print the active Climate API configuration=Presi la nunan agordon por Climate API
|
||||||
|
Current Settings=Nunaj Agordoj
|
||||||
|
<weather> <status>=<veter> <ŝaltec>
|
||||||
|
Turn the specified weather preset on or off for all players or reset it to automatic=Agordi veteragordon por ĉiuj ludantoj: «on» (ŝalti), «off» (malŝalti), «reset» (malfari)
|
||||||
|
Unknown weather preset=Nekonata veteragordo
|
||||||
|
Invalid weather status. Set the preset to either on, off or auto.=Nevalida veterostato. Agordu la veteragordon al «on» (ŝalti), «off» (malŝalti), aŭ «auto» (memagi).
|
||||||
|
Weather @1 successfully set to @2=Vetero @1 sukcese agordita al @2
|
||||||
|
Prints which weather presets are enforced or disabled=Listigas veterstatojn laŭ ŝaltiteco
|
||||||
|
Current activation rules:=Nunaj aktivigaj reguloj:
|
||||||
|
Prints which weather influences cause your current weather=Presas la influojn kiuj venigis la nunan veteron
|
||||||
|
Current influences rules:=Nunaj influaj reguloj:
|
||||||
|
Explains how the humidity value got calculated=Klarigas kiel la aermalseka valoro kalkuliĝis
|
@ -1,5 +1,4 @@
|
|||||||
# textdomain: climate_api
|
# textdomain: climate_api
|
||||||
Disable MTG weather for the best experience=
|
|
||||||
Make changes to the current weather=
|
Make changes to the current weather=
|
||||||
Display weather information=
|
Display weather information=
|
||||||
The following weather presets are active for you:=
|
The following weather presets are active for you:=
|
||||||
@ -9,6 +8,7 @@ scorching=
|
|||||||
pleasant=
|
pleasant=
|
||||||
chilly=
|
chilly=
|
||||||
It is a @1 @2 right now and humidity is at @3%.=
|
It is a @1 @2 right now and humidity is at @3%.=
|
||||||
|
<heat>=
|
||||||
Override the weather algorithm's base heat=
|
Override the weather algorithm's base heat=
|
||||||
Provide a number to modify the base heat=
|
Provide a number to modify the base heat=
|
||||||
Base heat changed=
|
Base heat changed=
|
||||||
@ -16,6 +16,7 @@ Override the weather algorithm's heat=
|
|||||||
Provide a number to modify the heat=
|
Provide a number to modify the heat=
|
||||||
Heat value reset=
|
Heat value reset=
|
||||||
Heat value changed=
|
Heat value changed=
|
||||||
|
<humidity>=
|
||||||
Override the weather algorithm's base humidity=
|
Override the weather algorithm's base humidity=
|
||||||
Provide a number to modify the base humidity=
|
Provide a number to modify the base humidity=
|
||||||
Base humidity changed=
|
Base humidity changed=
|
||||||
@ -23,6 +24,7 @@ Override the weather algorithm's humidity=
|
|||||||
Provide a number to modify the humidity=
|
Provide a number to modify the humidity=
|
||||||
Humidity value reset=
|
Humidity value reset=
|
||||||
Humidity value changed=
|
Humidity value changed=
|
||||||
|
<wind>=
|
||||||
Override the weather algorithm's windspeed=
|
Override the weather algorithm's windspeed=
|
||||||
Provide a vector of two numbers to modify the wind=
|
Provide a vector of two numbers to modify the wind=
|
||||||
Wind reset=
|
Wind reset=
|
||||||
@ -30,6 +32,7 @@ Invalid wind configuration=
|
|||||||
Wind changed=
|
Wind changed=
|
||||||
Print the active Climate API configuration=
|
Print the active Climate API configuration=
|
||||||
Current Settings=
|
Current Settings=
|
||||||
|
<weather> <status>=
|
||||||
Turn the specified weather preset on or off for all players or reset it to automatic=
|
Turn the specified weather preset on or off for all players or reset it to automatic=
|
||||||
Unknown weather preset=
|
Unknown weather preset=
|
||||||
Invalid weather status. Set the preset to either on, off or auto.=
|
Invalid weather status. Set the preset to either on, off or auto.=
|
||||||
@ -38,3 +41,4 @@ Prints which weather presets are enforced or disabled=
|
|||||||
Current activation rules:=
|
Current activation rules:=
|
||||||
Prints which weather influences cause your current weather=
|
Prints which weather influences cause your current weather=
|
||||||
Current influences rules:=
|
Current influences rules:=
|
||||||
|
Explains how the humidity value got calculated=
|
||||||
|
Loading…
Reference in New Issue
Block a user