# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the minetest package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-08-30 06:18+0200\n" "PO-Revision-Date: 2017-04-14 14:33+0000\n" "Last-Translator: metarmask \n" "Language-Team: Swedish " "\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.14-dev\n" #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" msgstr "Servern har begärt en återanslutning:" #: builtin/fstk/ui.lua msgid "Main menu" msgstr "Huvudmeny" #: builtin/fstk/ui.lua msgid "Reconnect" msgstr "Återanslut" #: builtin/fstk/ui.lua msgid "An error occured in a Lua script, such as a mod:" msgstr "" #: builtin/fstk/ui.lua msgid "An error occured:" msgstr "Ett fel uppstod:" #: builtin/fstk/ui.lua builtin/mainmenu/store.lua msgid "Ok" msgstr "Ok" #: builtin/mainmenu/common.lua src/game.cpp msgid "Loading..." msgstr "Laddar..." #: builtin/mainmenu/common.lua msgid "Try reenabling public serverlist and check your internet connection." msgstr "" "Försök återaktivera allmän serverlista och kolla din internetanslutning." #: builtin/mainmenu/common.lua msgid "Server supports protocol versions between $1 and $2. " msgstr "Servern stöder protokollversioner mellan $1 och $2. " #: builtin/mainmenu/common.lua msgid "Server enforces protocol version $1. " msgstr "" #: builtin/mainmenu/common.lua msgid "We support protocol versions between version $1 and $2." msgstr "Vi stöder protokollversioner mellan version $1 och $2." #: builtin/mainmenu/common.lua msgid "We only support protocol version $1." msgstr "Vi stöder endast protokollversion $1." #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " msgstr "" #: builtin/mainmenu/dlg_config_world.lua msgid "World:" msgstr "Värld:" #: builtin/mainmenu/dlg_config_world.lua msgid "Hide Game" msgstr "Göm spel" #: builtin/mainmenu/dlg_config_world.lua msgid "Hide mp content" msgstr "Göm flerspelarinnehåll" #: builtin/mainmenu/dlg_config_world.lua msgid "Mod:" msgstr "Mod:" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_mods.lua msgid "Depends:" msgstr "Kräver:" #: builtin/mainmenu/dlg_config_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/guiKeyChangeMenu.cpp msgid "Save" msgstr "Spara" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_delete_mod.lua builtin/mainmenu/dlg_delete_world.lua #: builtin/mainmenu/dlg_rename_modpack.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/guiKeyChangeMenu.cpp #: src/keycode.cpp msgid "Cancel" msgstr "Avbryt" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable MP" msgstr "Aktivera flera spelare" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable MP" msgstr "Avaktivera flera spelare" #: builtin/mainmenu/dlg_config_world.lua msgid "enabled" msgstr "aktiverad" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable all" msgstr "Aktivera alla" #: builtin/mainmenu/dlg_config_world.lua msgid "" "Failed to enable mod \"$1\" as it contains disallowed characters. Only " "chararacters [a-z0-9_] are allowed." msgstr "" "Misslyckades aktivera mod \"$1\" eftersom det innehåller otillåtna tecken. " "Endast tecknen [a-z0-9_] är tillåtna." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" msgstr "Världnamn" #: builtin/mainmenu/dlg_create_world.lua msgid "Seed" msgstr "Frö" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" msgstr "Kartgenerator" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" msgstr "Spel" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" msgstr "Skapa" #: builtin/mainmenu/dlg_create_world.lua msgid "You have no subgames installed." msgstr "Du har inga underspel installerade." #: builtin/mainmenu/dlg_create_world.lua msgid "Download one from minetest.net" msgstr "Ladda ner ett från minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The minimal development test is meant for developers." msgstr "Varning: Minimala utvecklingstestet är endast avsett för utvecklare." #: builtin/mainmenu/dlg_create_world.lua msgid "Download a subgame, such as minetest_game, from minetest.net" msgstr "Ladda ner ett underspel, såsom minetest_game, från minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" msgstr "En värld med namnet \"$1\" finns redan" #: builtin/mainmenu/dlg_create_world.lua msgid "No worldname given or no game selected" msgstr "Inget världnamn angett eller inget spel valt" #: builtin/mainmenu/dlg_delete_mod.lua msgid "Are you sure you want to delete \"$1\"?" msgstr "Är du säker på att du vill radera \"$1\"?" #: builtin/mainmenu/dlg_delete_mod.lua builtin/mainmenu/dlg_delete_world.lua #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua #: src/keycode.cpp msgid "Delete" msgstr "Radera" #: builtin/mainmenu/dlg_delete_mod.lua msgid "Modmgr: failed to delete \"$1\"" msgstr "Modhanterare: misslyckades radera \"$1\"" #: builtin/mainmenu/dlg_delete_mod.lua msgid "Modmgr: invalid modpath \"$1\"" msgstr "Modhanterare: ogiltig modsökväg \"$1\"" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" msgstr "Radera värld \"$1\"?" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Rename Modpack:" msgstr "Döp om modpaket:" #: builtin/mainmenu/dlg_rename_modpack.lua src/keycode.cpp msgid "Accept" msgstr "Acceptera" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Games" msgstr "Spel" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua msgid "Mods" msgstr "Moddar" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" msgstr "(Ingen beskrivning av inställning angiven)" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a comma seperated list of flags." msgstr "Var vänlig ange ett kommaseparerad lista med flaggor." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Possible values are: " msgstr "Möjliga värden är: " #: builtin/mainmenu/dlg_settings_advanced.lua msgid "" "Format: , , (, , ), , " ", " msgstr "" "Format: , , (, , ), " ", , " #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Optionally the lacunarity can be appended with a leading comma." msgstr "Takförhållandet kan eventuellt läggas till med ett främre kommatecken." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Format is 3 numbers separated by commas and inside brackets." msgstr "Formatet är tre nummer separerade med komma och inom paranteser." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Disabled" msgstr "Avaktiverad" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" msgstr "Aktiverad" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Browse" msgstr "Bläddra" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." msgstr "Var vänligen ange ett giltigt heltal." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must be greater than $1." msgstr "Värdet måste vara högre än $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must be lower than $1." msgstr "Värdet måste vara lägre än $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid number." msgstr "Var vänligen ange ett giltigt nummer." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "\"$1\" is not a valid flag." msgstr "\"$1\" är inte en giltig flagga." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select path" msgstr "Välj sökväg" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" msgstr "< Tillbaka till inställningssidan" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" msgstr "Redigera" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" msgstr "Återställ standard" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Show technical names" msgstr "Visa tekniska namn" #: builtin/mainmenu/modmgr.lua msgid "Install Mod: file: \"$1\"" msgstr "Modinstallation: fil: \"$1\"" #: builtin/mainmenu/modmgr.lua msgid "" "\n" "Install Mod: unsupported filetype \"$1\" or broken archive" msgstr "" "\n" "Modinstallation: ej stöd filtyp \"$1\" eller trasigt arkiv" #: builtin/mainmenu/modmgr.lua msgid "Failed to install $1 to $2" msgstr "Misslyckades installera $1 till $2" #: builtin/mainmenu/modmgr.lua msgid "Install Mod: unable to find suitable foldername for modpack $1" msgstr "Modinstallation: lyckas ej hitta lämpligt mappnamn för modpaket $1" #: builtin/mainmenu/modmgr.lua msgid "Install Mod: unable to find real modname for: $1" msgstr "Modinstallation: lyckas ej hitta riktiga modnamnet för: $1" #: builtin/mainmenu/store.lua msgid "Unsorted" msgstr "Osorterat" #: builtin/mainmenu/store.lua msgid "Search" msgstr "Sök" #: builtin/mainmenu/store.lua msgid "Downloading $1, please wait..." msgstr "Laddar ner $1, var vänligen vänta..." #: builtin/mainmenu/store.lua msgid "Successfully installed:" msgstr "Lyckades installera:" #: builtin/mainmenu/store.lua msgid "Shortname:" msgstr "Kort namn:" #: builtin/mainmenu/store.lua msgid "Rating" msgstr "Omdöme" #: builtin/mainmenu/store.lua msgid "re-Install" msgstr "Ominstallera" #: builtin/mainmenu/store.lua msgid "Install" msgstr "Installera" #: builtin/mainmenu/store.lua msgid "Close store" msgstr "" #: builtin/mainmenu/store.lua msgid "Page $1 of $2" msgstr "Sida $1 av $2" #: builtin/mainmenu/tab_credits.lua msgid "Credits" msgstr "Medverkande" #: builtin/mainmenu/tab_credits.lua msgid "Core Developers" msgstr "Kärnutvecklare" #: builtin/mainmenu/tab_credits.lua msgid "Active Contributors" msgstr "Aktiva bidragsgivare" #: builtin/mainmenu/tab_credits.lua msgid "Previous Core Developers" msgstr "Före detta kärnutvecklare" #: builtin/mainmenu/tab_credits.lua msgid "Previous Contributors" msgstr "Före detta bidragsgivare" #: builtin/mainmenu/tab_mods.lua msgid "Installed Mods:" msgstr "Installerade moddar:" #: builtin/mainmenu/tab_mods.lua msgid "No mod description available" msgstr "Ingen modbeskrivning tillgänglig" #: builtin/mainmenu/tab_mods.lua msgid "Mod information:" msgstr "Modinformation:" #: builtin/mainmenu/tab_mods.lua msgid "Rename" msgstr "Döp om" #: builtin/mainmenu/tab_mods.lua msgid "Uninstall selected modpack" msgstr "Avinstallera valt modpaket" #: builtin/mainmenu/tab_mods.lua msgid "Uninstall selected mod" msgstr "Avinstallera vald mod" #: builtin/mainmenu/tab_mods.lua msgid "Select Mod File:" msgstr "Välj modfil:" #: builtin/mainmenu/tab_multiplayer.lua msgid "Address / Port" msgstr "Adress / Port" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "Name / Password" msgstr "Namn / Lösenord" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "Connect" msgstr "Anslut" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "Del. Favorite" msgstr "Radera favoritmarkering" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "Favorite" msgstr "Favoritmarkera" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "Creative mode" msgstr "Kreativt läge" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "Damage enabled" msgstr "Skada aktiverad" #: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua msgid "PvP enabled" msgstr "PvP aktiverat" #: builtin/mainmenu/tab_multiplayer.lua src/settings_translation_file.cpp msgid "Client" msgstr "Klient" #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua msgid "New" msgstr "Ny" #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua msgid "Configure" msgstr "Konfigurera" #: builtin/mainmenu/tab_server.lua msgid "Start Game" msgstr "Starta spel" #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua msgid "Select World:" msgstr "Välj värd:" #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_simple_main.lua #: builtin/mainmenu/tab_singleplayer.lua msgid "Creative Mode" msgstr "Kreativt läge" #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_simple_main.lua #: builtin/mainmenu/tab_singleplayer.lua msgid "Enable Damage" msgstr "Aktivera skada" #: builtin/mainmenu/tab_server.lua msgid "Public" msgstr "Allmän" #: builtin/mainmenu/tab_server.lua msgid "Name/Password" msgstr "Namn/Lösenord" #: builtin/mainmenu/tab_server.lua msgid "Bind Address" msgstr "Bindningsadress" #: builtin/mainmenu/tab_server.lua msgid "Port" msgstr "Port" #: builtin/mainmenu/tab_server.lua msgid "Server Port" msgstr "Serverport" #: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua msgid "No world created or selected!" msgstr "Ingen värld skapad eller vald!" #: builtin/mainmenu/tab_server.lua msgid "Server" msgstr "Server" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" msgstr "Ogenomskinliga löv" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" msgstr "Enkla löv" #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" msgstr "Snygga löv" #: builtin/mainmenu/tab_settings.lua msgid "Node Outlining" msgstr "Nodlinjering" #: builtin/mainmenu/tab_settings.lua msgid "Node Highlighting" msgstr "Nodframlyft" #: builtin/mainmenu/tab_settings.lua msgid "No Filter" msgstr "Inget filter" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" msgstr "Bilinjärt filter" #: builtin/mainmenu/tab_settings.lua msgid "Trilinear Filter" msgstr "Trilinjärt filter" #: builtin/mainmenu/tab_settings.lua msgid "No Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap + Aniso. Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua builtin/mainmenu/tab_texturepacks.lua msgid "None" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "2x" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "4x" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "8x" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Are you sure to reset your singleplayer world?" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Yes" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "No" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Smooth Lighting" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Particles" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "3D Clouds" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Water" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Texturing:" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Reset singleplayer world" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Change keys" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Advanced Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Touchthreshold (px)" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Bump Mapping" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Normal Mapping" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Parallax Occlusion" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Waving Water" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Waving Plants" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "To enable shaders the OpenGL driver needs to be used." msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Settings" msgstr "" #: builtin/mainmenu/tab_simple_main.lua msgid "Start Singleplayer" msgstr "" #: builtin/mainmenu/* Minetest Copyright (C) 2015 est31 <mtest31@outlook.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "lua_api/l_areastore.h" #include "lua_api/l_internal.h" #include "common/c_converter.h" #include "cpp_api/s_security.h" #include "areastore.h" #include "filesys.h" #ifndef ANDROID #include "cmake_config.h" #endif #include <fstream> static inline void get_data_and_border_flags(lua_State *L, u8 start_i, bool *borders, bool *data) { if (!lua_isboolean(L, start_i)) return; *borders = lua_toboolean(L, start_i); if (!lua_isboolean(L, start_i + 1)) return; *data = lua_toboolean(L, start_i + 1); } static void push_area(lua_State *L, const Area *a, bool include_borders, bool include_data) { if (!include_borders && !include_data) { lua_pushboolean(L, true); return; } lua_newtable(L); if (include_borders) { push_v3s16(L, a->minedge); lua_setfield(L, -2, "min"); push_v3s16(L, a->maxedge); lua_setfield(L, -2, "max"); } if (include_data) { lua_pushlstring(L, a->data.c_str(), a->data.size()); lua_setfield(L, -2, "data"); } } static inline void push_areas(lua_State *L, const std::vector<Area *> &areas, bool borders, bool data) { lua_newtable(L); size_t cnt = areas.size(); for (size_t i = 0; i < cnt; i++) { lua_pushnumber(L, areas[i]->id); push_area(L, areas[i], borders, data); lua_settable(L, -3); } } // garbage collector int LuaAreaStore::gc_object(lua_State *L) { LuaAreaStore *o = *(LuaAreaStore **)(lua_touserdata(L, 1)); delete o; return 0; } // get_area(id, include_borders, include_data) int LuaAreaStore::l_get_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; u32 id = luaL_checknumber(L, 2); bool include_borders = true; bool include_data = false; get_data_and_border_flags(L, 3, &include_borders, &include_data); const Area *res; res = ast->getArea(id); push_area(L, res, include_borders, include_data); return 1; } // get_areas_for_pos(pos, include_borders, include_data) int LuaAreaStore::l_get_areas_for_pos(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; v3s16 pos = check_v3s16(L, 2); bool include_borders = true; bool include_data = false; get_data_and_border_flags(L, 3, &include_borders, &include_data); std::vector<Area *> res; ast->getAreasForPos(&res, pos); push_areas(L, res, include_borders, include_data); return 1; } // get_areas_in_area(edge1, edge2, accept_overlap, include_borders, include_data) int LuaAreaStore::l_get_areas_in_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; v3s16 minedge = check_v3s16(L, 2); v3s16 maxedge = check_v3s16(L, 3); bool include_borders = true; bool include_data = false; bool accept_overlap = false; if (lua_isboolean(L, 4)) { accept_overlap = lua_toboolean(L, 4); get_data_and_border_flags(L, 5, &include_borders, &include_data); } std::vector<Area *> res; ast->getAreasInArea(&res, minedge, maxedge, accept_overlap); push_areas(L, res, include_borders, include_data); return 1; } // insert_area(edge1, edge2, data) int LuaAreaStore::l_insert_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; Area a; a.minedge = check_v3s16(L, 2); a.maxedge = check_v3s16(L, 3); a.extremifyEdges(); a.id = ast->getFreeId(a.minedge, a.maxedge); if (a.id == AREA_ID_INVALID) { // couldn't get free id lua_pushnil(L); return 1; } size_t d_len; const char *data = luaL_checklstring(L, 4, &d_len); a.data = std::string(data, d_len); ast->insertArea(a); lua_pushnumber(L, a.id); return 1; } // reserve(count) int LuaAreaStore::l_reserve(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; size_t count = luaL_checknumber(L, 2); ast->reserve(count); return 0; } // remove_area(id) int LuaAreaStore::l_remove_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; u32 id = luaL_checknumber(L, 2); bool success = ast->removeArea(id); lua_pushboolean(L, success); return 1; } // set_cache_params(params) int LuaAreaStore::l_set_cache_params(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; luaL_checktype(L, 2, LUA_TTABLE); bool enabled = getboolfield_default(L, 2, "enabled", true); u8 block_radius = getintfield_default(L, 2, "block_radius", 64); size_t limit = getintfield_default(L, 2, "block_radius", 1000); ast->setCacheParams(enabled, block_radius, limit); return 0; } #if 0 // to_string() int LuaAreaStore::l_to_string(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; std::ostringstream os(std::ios_base::binary); ast->serialize(os); std::string str = os.str(); lua_pushlstring(L, str.c_str(), str.length()); return 1; } // to_file(filename) int LuaAreaStore::l_to_file(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; const char *filename = luaL_checkstring(L, 2); CHECK_SECURE_PATH_OPTIONAL(L, filename); std::ostringstream os(std::ios_base::binary); ast->serialize(os); lua_pushboolean(L, fs::safeWriteToFile(filename, os.str())); return 1; } // from_string(str) int LuaAreaStore::l_from_string(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; size_t len; const char *str = luaL_checklstring(L, 2, &len); std::istringstream is(std::string(str, len), std::ios::binary); bool success = ast->deserialize(is); lua_pushboolean(L, success); return 1; } // from_file(filename) int LuaAreaStore::l_from_file(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; const char *filename = luaL_checkstring(L, 2); CHECK_SECURE_PATH_OPTIONAL(L, filename); std::ifstream is(filename, std::ios::binary); bool success = ast->deserialize(is); lua_pushboolean(L, success); return 1; } #endif LuaAreaStore::LuaAreaStore() { #if USE_SPATIAL this->as = new SpatialAreaStore(); #else this->as = new VectorAreaStore(); #endif } LuaAreaStore::LuaAreaStore(const std::string &type) { #if USE_SPATIAL if (type == "LibSpatial") { this->as = new SpatialAreaStore(); } else #endif { this->as = new VectorAreaStore(); } } LuaAreaStore::~LuaAreaStore() { delete as; } // LuaAreaStore() // Creates an LuaAreaStore and leaves it on top of stack int LuaAreaStore::create_object(lua_State *L) { NO_MAP_LOCK_REQUIRED; LuaAreaStore *o = (lua_isstring(L, 1)) ? new LuaAreaStore(lua_tostring(L, 1)) : new LuaAreaStore(); *(void **)(lua_newuserdata(L, sizeof(void *))) = o; luaL_getmetatable(L, className); lua_setmetatable(L, -2); return 1; } LuaAreaStore *LuaAreaStore::checkobject(lua_State *L, int narg) { NO_MAP_LOCK_REQUIRED; luaL_checktype(L, narg, LUA_TUSERDATA); void *ud = luaL_checkudata(L, narg, className); if (!ud) luaL_typerror(L, narg, className); return *(LuaAreaStore **)ud; // unbox pointer } void LuaAreaStore::Register(lua_State *L) { lua_newtable(L); int methodtable = lua_gettop(L); luaL_newmetatable(L, className); int metatable = lua_gettop(L); lua_pushliteral(L, "__metatable"); lua_pushvalue(L, methodtable); lua_settable(L, metatable); // hide metatable from Lua getmetatable() lua_pushliteral(L, "__index"); lua_pushvalue(L, methodtable); lua_settable(L, metatable); lua_pushliteral(L, "__gc"); lua_pushcfunction(L, gc_object); lua_settable(L, metatable); lua_pop(L, 1); // drop metatable luaL_openlib(L, 0, methods, 0); // fill methodtable lua_pop(L, 1); // drop methodtable // Can be created from Lua (AreaStore()) lua_register(L, className, create_object); } const char LuaAreaStore::className[] = "AreaStore"; const luaL_reg LuaAreaStore::methods[] = { luamethod(LuaAreaStore, get_area), luamethod(LuaAreaStore, get_areas_for_pos), luamethod(LuaAreaStore, get_areas_in_area), luamethod(LuaAreaStore, insert_area), luamethod(LuaAreaStore, reserve), luamethod(LuaAreaStore, remove_area), luamethod(LuaAreaStore, set_cache_params), /* luamethod(LuaAreaStore, to_string), luamethod(LuaAreaStore, to_file), luamethod(LuaAreaStore, from_string), luamethod(LuaAreaStore, from_file),*/ {0,0} }; er is building " "something.\n" "This determines how long they are slowed down after placing or removing a " "node." msgstr "" #: src/settings_translation_file.cpp msgid "Max. packets per iteration" msgstr "" #: src/settings_translation_file.cpp msgid "" "Maximum number of packets sent per send step, if you have a slow connection\n" "try reducing it, but don't reduce it to a number below double of targeted\n" "client number." msgstr "" #: src/settings_translation_file.cpp msgid "Default game" msgstr "" #: src/settings_translation_file.cpp msgid "" "Default game when creating a new world.\n" "This will be overridden when creating a world from the main menu." msgstr "" #: src/settings_translation_file.cpp msgid "Message of the day" msgstr "" #: src/settings_translation_file.cpp msgid "Message of the day displayed to players connecting." msgstr "" #: src/settings_translation_file.cpp msgid "Maximum users" msgstr "" #: src/settings_translation_file.cpp msgid "Maximum number of players that can connect simultaneously." msgstr "" #: src/settings_translation_file.cpp msgid "Map directory" msgstr "" #: src/settings_translation_file.cpp msgid "" "World directory (everything in the world is stored here).\n" "Not needed if starting from the main menu." msgstr "" #: src/settings_translation_file.cpp msgid "Item entity TTL" msgstr "" #: src/settings_translation_file.cpp msgid "" "Time in seconds for item entity (dropped items) to live.\n" "Setting it to -1 disables the feature." msgstr "" #: src/settings_translation_file.cpp msgid "Damage" msgstr "" #: src/settings_translation_file.cpp msgid "Enable players getting damage and dying." msgstr "" #: src/settings_translation_file.cpp msgid "Fixed map seed" msgstr "" #: src/settings_translation_file.cpp msgid "" "A chosen map seed for a new map, leave empty for random.\n" "Will be overridden when creating a new world in the main menu." msgstr "" #: src/settings_translation_file.cpp msgid "Default password" msgstr "" #: src/settings_translation_file.cpp msgid "New users need to input this password." msgstr "" #: src/settings_translation_file.cpp msgid "Default privileges" msgstr "" #: src/settings_translation_file.cpp msgid "" "The privileges that new users automatically get.\n" "See /privs in game for a full list on your server and mod configuration." msgstr "" #: src/settings_translation_file.cpp msgid "Basic Privileges" msgstr "" #: src/settings_translation_file.cpp msgid "Privileges that players with basic_privs can grant" msgstr "" #: src/settings_translation_file.cpp msgid "Unlimited player transfer distance" msgstr "" #: src/settings_translation_file.cpp msgid "" "Whether players are shown to clients without any range limit.\n" "Deprecated, use the setting player_transfer_distance instead." msgstr "" #: src/settings_translation_file.cpp msgid "Player transfer distance" msgstr "" #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "" #: src/settings_translation_file.cpp msgid "Player versus Player" msgstr "" #: src/settings_translation_file.cpp msgid "Whether to allow players to damage and kill each other." msgstr "" #: src/settings_translation_file.cpp msgid "Static spawnpoint" msgstr "" #: src/settings_translation_file.cpp msgid "If this is set, players will always (re)spawn at the given position." msgstr "" #: src/settings_translation_file.cpp msgid "Disallow empty passwords" msgstr "" #: src/settings_translation_file.cpp msgid "If enabled, new players cannot join with an empty password." msgstr "" #: src/settings_translation_file.cpp msgid "Disable anticheat" msgstr "" #: src/settings_translation_file.cpp msgid "If enabled, disable cheat prevention in multiplayer." msgstr "" #: src/settings_translation_file.cpp msgid "Rollback recording" msgstr "" #: src/settings_translation_file.cpp msgid "" "If enabled, actions are recorded for rollback.\n" "This option is only read when server starts." msgstr "" #: src/settings_translation_file.cpp msgid "Shutdown message" msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." msgstr "" #: src/settings_translation_file.cpp msgid "Crash message" msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." msgstr "" #: src/settings_translation_file.cpp msgid "Ask to reconnect after crash" msgstr "" #: src/settings_translation_file.cpp msgid "" "Whether to ask clients to reconnect after a (Lua) crash.\n" "Set this to true if your server is set up to restart automatically." msgstr "" #: src/settings_translation_file.cpp msgid "Active object send range" msgstr "" #: src/settings_translation_file.cpp msgid "" "From how far clients know about objects, stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp msgid "Active block range" msgstr "" #: src/settings_translation_file.cpp msgid "" "How large area of blocks are subject to the active block stuff, stated in " "mapblocks (16 nodes).\n" "In active blocks objects are loaded and ABMs run." msgstr "" #: src/settings_translation_file.cpp msgid "Max block send distance" msgstr "" #: src/settings_translation_file.cpp msgid "" "From how far blocks are sent to clients, stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" msgstr "" #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." msgstr "" #: src/settings_translation_file.cpp msgid "Time send interval" msgstr "" #: src/settings_translation_file.cpp msgid "Interval of sending time of day to clients." msgstr "" #: src/settings_translation_file.cpp msgid "Time speed" msgstr "" #: src/settings_translation_file.cpp msgid "" "Controls length of day/night cycle.\n" "Examples: 72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays " "unchanged." msgstr "" #: src/settings_translation_file.cpp msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp msgid "Interval of saving important changes in the world, stated in seconds." msgstr "" #: src/settings_translation_file.cpp msgid "Physics" msgstr "" #: src/settings_translation_file.cpp msgid "Default acceleration" msgstr "" #: src/settings_translation_file.cpp msgid "Acceleration in air" msgstr "" #: src/settings_translation_file.cpp msgid "Fast mode acceleration" msgstr "" #: src/settings_translation_file.cpp msgid "Walking speed" msgstr "" #: src/settings_translation_file.cpp msgid "Crouch speed" msgstr "" #: src/settings_translation_file.cpp msgid "Fast mode speed" msgstr "" #: src/settings_translation_file.cpp msgid "Climbing speed" msgstr "" #: src/settings_translation_file.cpp msgid "Jumping speed" msgstr "" #: src/settings_translation_file.cpp msgid "Descending speed" msgstr "" #: src/settings_translation_file.cpp msgid "Liquid fluidity" msgstr "" #: src/settings_translation_file.cpp msgid "Liquid fluidity smoothing" msgstr "" #: src/settings_translation_file.cpp msgid "Liquid sink" msgstr "" #: src/settings_translation_file.cpp msgid "Gravity" msgstr "" #: src/settings_translation_file.cpp msgid "Deprecated Lua API handling" msgstr "" #: src/settings_translation_file.cpp msgid "" "Handling for deprecated lua api calls:\n" "- legacy: (try to) mimic old behaviour (default for release).\n" "- log: mimic and log backtrace of deprecated call (default for debug).\n" "- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" #: src/settings_translation_file.cpp msgid "Max. clearobjects extra blocks" msgstr "" #: src/settings_translation_file.cpp msgid "" "Number of extra blocks that can be loaded by /clearobjects at once.\n" "This is a trade-off between sqlite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" #: src/settings_translation_file.cpp msgid "Unload unused server data" msgstr "" #: src/settings_translation_file.cpp msgid "" "How much the server will wait before unloading unused mapblocks.\n" "Higher value is smoother, but will use more RAM." msgstr "" #: src/settings_translation_file.cpp msgid "Maximum objects per block" msgstr "" #: src/settings_translation_file.cpp msgid "Maximum number of statically stored objects in a block." msgstr "" #: src/settings_translation_file.cpp msgid "Synchronous SQLite" msgstr "" #: src/settings_translation_file.cpp msgid "See http://www.sqlite.org/pragma.html#pragma_synchronous" msgstr "" #: src/settings_translation_file.cpp msgid "Dedicated server step" msgstr "" #: src/settings_translation_file.cpp msgid "" "Length of a server tick and the interval at which objects are generally " "updated over network." msgstr "" #: src/settings_translation_file.cpp msgid "Active Block Management interval" msgstr "" #: src/settings_translation_file.cpp msgid "Time in between active block management cycles" msgstr "" #: src/settings_translation_file.cpp msgid "Active Block Modifier interval" msgstr "" #: src/settings_translation_file.cpp msgid "Length of time between ABM execution cycles" msgstr "" #: src/settings_translation_file.cpp msgid "NodeTimer interval" msgstr "" #: src/settings_translation_file.cpp msgid "Length of time between NodeTimer execution cycles" msgstr "" #: src/settings_translation_file.cpp msgid "Ignore world errors" msgstr "" #: src/settings_translation_file.cpp msgid "" "If enabled, invalid world data won't cause the server to shut down.\n" "Only enable this if you know what you are doing." msgstr "" #: src/settings_translation_file.cpp msgid "Liquid loop max" msgstr "" #: src/settings_translation_file.cpp msgid "Max liquids processed per step." msgstr "" #: src/settings_translation_file.cpp msgid "Liquid queue purge time" msgstr "" #: src/settings_translation_file.cpp msgid "" "The time (in seconds) that the liquids queue may grow beyond processing\n" "capacity until an attempt is made to decrease its size by dumping old queue\n" "items. A value of 0 disables the functionality." msgstr "" #: src/settings_translation_file.cpp msgid "Liquid update tick" msgstr "" #: src/settings_translation_file.cpp msgid "Liquid update interval in seconds." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen name" msgstr "" #: src/settings_translation_file.cpp msgid "" "Name of map generator to be used when creating a new world.\n" "Creating a world in the main menu will override this." msgstr "" #: src/settings_translation_file.cpp msgid "Water level" msgstr "" #: src/settings_translation_file.cpp msgid "Water surface level of the world." msgstr "" #: src/settings_translation_file.cpp msgid "Max block generate distance" msgstr "" #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " "nodes)." msgstr "" #: src/settings_translation_file.cpp msgid "Map generation limit" msgstr "" #: src/settings_translation_file.cpp msgid "" "Where the map generator stops.\n" "Please note:\n" "- Limited to 31000 (setting above has no effect)\n" "- The map generator works in groups of 80x80x80 nodes (5x5x5 MapBlocks).\n" "- Those groups have an offset of -32, -32 nodes from the origin.\n" "- Only groups which are within the map_generation_limit are generated" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flags" msgstr "" #: src/settings_translation_file.cpp msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and junglegrass, in all other mapgens this flag controls all decorations.\n" "Flags that are not specified in the flag string are not modified from the " "default.\n" "Flags starting with 'no' are used to explicitly disable them." msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" msgstr "" #: src/settings_translation_file.cpp msgid "" "Size of chunks to be generated at once by mapgen, stated in mapblocks (16 " "nodes)." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen debug" msgstr "" #: src/settings_translation_file.cpp msgid "Dump the mapgen debug infos." msgstr "" #: src/settings_translation_file.cpp msgid "Absolute limit of emerge queues" msgstr "" #: src/settings_translation_file.cpp msgid "Maximum number of blocks that can be queued for loading." msgstr "" #: src/settings_translation_file.cpp msgid "Limit of emerge queues on disk" msgstr "" #: src/settings_translation_file.cpp msgid "" "Maximum number of blocks to be queued that are to be loaded from file.\n" "Set to blank for an appropriate amount to be chosen automatically." msgstr "" #: src/settings_translation_file.cpp msgid "Limit of emerge queues to generate" msgstr "" #: src/settings_translation_file.cpp msgid "" "Maximum number of blocks to be queued that are to be generated.\n" "Set to blank for an appropriate amount to be chosen automatically." msgstr "" #: src/settings_translation_file.cpp msgid "Number of emerge threads" msgstr "" #: src/settings_translation_file.cpp msgid "" "Number of emerge threads to use. Make this field blank, or increase this " "number\n" "to use multiple threads. On multiprocessor systems, this will improve mapgen " "speed greatly\n" "at the cost of slightly buggy caves." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen biome heat noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Noise parameters for biome API temperature, humidity and biome blend." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen heat blend noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen biome humidity noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen biome humidity blend noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5 cave width" msgstr "" #: src/settings_translation_file.cpp msgid "Controls width of tunnels, a smaller value creates wider tunnels." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5 filler depth noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5 factor noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5 height noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5 cave1 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v5 cave2 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 flags" msgstr "" #: src/settings_translation_file.cpp msgid "" "Map generation attributes specific to Mapgen v6.\n" "When snowbiomes are enabled jungles are automatically enabled, the 'jungles' " "flag is ignored.\n" "Flags that are not specified in the flag string are not modified from the " "default.\n" "Flags starting with 'no' are used to explicitly disable them." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 desert frequency" msgstr "" #: src/settings_translation_file.cpp msgid "" "Controls size of deserts and beaches in Mapgen v6.\n" "When snowbiomes are enabled 'mgv6_freq_desert' is ignored." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 beach frequency" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 terrain base noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 terrain altitude noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 steepness noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 height select noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 mud noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 beach noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 biome noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 cave noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 humidity noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 trees noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v6 apple trees noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 flags" msgstr "" #: src/settings_translation_file.cpp msgid "" "Map generation attributes specific to Mapgen v7.\n" "The 'ridges' flag controls the rivers.\n" "Flags that are not specified in the flag string are not modified from the " "default.\n" "Flags starting with 'no' are used to explicitly disable them." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 cave width" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 terrain base noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 terrain altitude noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 terrain persistation noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 height select noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 filler depth noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 mount height noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 ridge water noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 mountain noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 ridge noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 cave1 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen v7 cave2 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat flags" msgstr "" #: src/settings_translation_file.cpp msgid "" "Map generation attributes specific to Mapgen flat.\n" "Occasional lakes and hills can be added to the flat world.\n" "Flags that are not specified in the flag string are not modified from the " "default.\n" "Flags starting with 'no' are used to explicitly disable them." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat ground level" msgstr "" #: src/settings_translation_file.cpp msgid "Y of flat ground." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat large cave depth" msgstr "" #: src/settings_translation_file.cpp msgid "Y of upper limit of large pseudorandom caves." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat cave width" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat lake threshold" msgstr "" #: src/settings_translation_file.cpp msgid "" "Terrain noise threshold for lakes.\n" "Controls proportion of world area covered by lakes.\n" "Adjust towards 0.0 for a larger proportion." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat lake steepness" msgstr "" #: src/settings_translation_file.cpp msgid "Controls steepness/depth of lake depressions." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat hill threshold" msgstr "" #: src/settings_translation_file.cpp msgid "" "Terrain noise threshold for hills.\n" "Controls proportion of world area covered by hills.\n" "Adjust towards 0.0 for a larger proportion." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat hill steepness" msgstr "" #: src/settings_translation_file.cpp msgid "Controls steepness/height of hills." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat terrain noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "" "Determines terrain shape.\n" "The 3 numbers in brackets control the scale of the\n" "terrain, the 3 numbers should be identical." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat filler depth noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat cave1 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen flat cave2 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal cave width" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal fractal" msgstr "" #: src/settings_translation_file.cpp msgid "" "Choice of 18 fractals from 9 formulas.\n" "1 = 4D \"Roundy\" mandelbrot set.\n" "2 = 4D \"Roundy\" julia set.\n" "3 = 4D \"Squarry\" mandelbrot set.\n" "4 = 4D \"Squarry\" julia set.\n" "5 = 4D \"Mandy Cousin\" mandelbrot set.\n" "6 = 4D \"Mandy Cousin\" julia set.\n" "7 = 4D \"Variation\" mandelbrot set.\n" "8 = 4D \"Variation\" julia set.\n" "9 = 3D \"Mandelbrot/Mandelbar\" mandelbrot set.\n" "10 = 3D \"Mandelbrot/Mandelbar\" julia set.\n" "11 = 3D \"Christmas Tree\" mandelbrot set.\n" "12 = 3D \"Christmas Tree\" julia set.\n" "13 = 3D \"Mandelbulb\" mandelbrot set.\n" "14 = 3D \"Mandelbulb\" julia set.\n" "15 = 3D \"Cosine Mandelbulb\" mandelbrot set.\n" "16 = 3D \"Cosine Mandelbulb\" julia set.\n" "17 = 4D \"Mandelbulb\" mandelbrot set.\n" "18 = 4D \"Mandelbulb\" julia set." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal iterations" msgstr "" #: src/settings_translation_file.cpp msgid "" "Iterations of the recursive function.\n" "Controls the amount of fine detail." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal scale" msgstr "" #: src/settings_translation_file.cpp msgid "Approximate (X,Y,Z) scale of fractal in nodes." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal offset" msgstr "" #: src/settings_translation_file.cpp msgid "" "(X,Y,Z) offset of fractal from world centre in units of 'scale'.\n" "Used to move a suitable spawn area of low land close to (0, 0).\n" "The default is suitable for mandelbrot sets, it needs to be edited for julia " "sets.\n" "Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal slice w" msgstr "" #: src/settings_translation_file.cpp msgid "" "W co-ordinate of the generated 3D slice of a 4D fractal.\n" "Determines which 3D slice of the 4D shape is generated.\n" "Has no effect on 3D fractals.\n" "Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal julia x" msgstr "" #: src/settings_translation_file.cpp msgid "" "Julia set only: X component of hypercomplex constant determining julia " "shape.\n" "Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal julia y" msgstr "" #: src/settings_translation_file.cpp msgid "" "Julia set only: Y component of hypercomplex constant determining julia " "shape.\n" "Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal julia z" msgstr "" #: src/settings_translation_file.cpp msgid "" "Julia set only: Z component of hypercomplex constant determining julia " "shape.\n" "Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal julia w" msgstr "" #: src/settings_translation_file.cpp msgid "" "Julia set only: W component of hypercomplex constant determining julia " "shape.\n" "Has no effect on 3D fractals.\n" "Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal seabed noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal filler depth noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal cave1 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen fractal cave2 noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Mapgen Valleys" msgstr "" #: src/settings_translation_file.cpp msgid "General" msgstr "" #: src/settings_translation_file.cpp msgid "Valleys C Flags" msgstr "" #: src/settings_translation_file.cpp msgid "" "Map generation attributes specific to Mapgen Valleys.\n" "'altitude_chill' makes higher elevations colder, which may cause biome " "issues.\n" "'humid_rivers' modifies the humidity around rivers and in areas where water " "would tend to pool,\n" "it may interfere with delicately adjusted biomes.\n" "Flags that are not specified in the flag string are not modified from the " "default.\n" "Flags starting with 'no' are used to explicitly disable them." msgstr "" #: src/settings_translation_file.cpp msgid "Altitude Chill" msgstr "" #: src/settings_translation_file.cpp msgid "The altitude at which temperature drops by 20C" msgstr "" #: src/settings_translation_file.cpp msgid "Large cave depth" msgstr "" #: src/settings_translation_file.cpp msgid "Depth below which you'll find large caves." msgstr "" #: src/settings_translation_file.cpp msgid "Lava Features" msgstr "" #: src/settings_translation_file.cpp msgid "" "Creates unpredictable lava features in caves.\n" "These can make mining difficult. Zero disables them. (0-10)" msgstr "" #: src/settings_translation_file.cpp msgid "Massive cave depth" msgstr "" #: src/settings_translation_file.cpp msgid "Depth below which you'll find massive caves." msgstr "" #: src/settings_translation_file.cpp msgid "River Depth" msgstr "" #: src/settings_translation_file.cpp msgid "How deep to make rivers" msgstr "" #: src/settings_translation_file.cpp msgid "River Size" msgstr "" #: src/settings_translation_file.cpp msgid "How wide to make rivers" msgstr "" #: src/settings_translation_file.cpp msgid "Water Features" msgstr "" #: src/settings_translation_file.cpp msgid "" "Creates unpredictable water features in caves.\n" "These can make mining difficult. Zero disables them. (0-10)" msgstr "" #: src/settings_translation_file.cpp msgid "Cave width" msgstr "" #: src/settings_translation_file.cpp msgid "Noises" msgstr "" #: src/settings_translation_file.cpp msgid "Cave noise #1" msgstr "" #: src/settings_translation_file.cpp msgid "Caves and tunnels form at the intersection of the two noises" msgstr "" #: src/settings_translation_file.cpp msgid "Cave noise #2" msgstr "" #: src/settings_translation_file.cpp msgid "Filler Depth" msgstr "" #: src/settings_translation_file.cpp msgid "The depth of dirt or other filler" msgstr "" #: src/settings_translation_file.cpp msgid "Massive cave noise" msgstr "" #: src/settings_translation_file.cpp msgid "Massive caves form here." msgstr "" #: src/settings_translation_file.cpp msgid "River Noise" msgstr "" #: src/settings_translation_file.cpp msgid "River noise -- rivers occur close to zero" msgstr "" #: src/settings_translation_file.cpp msgid "Terrain Height" msgstr "" #: src/settings_translation_file.cpp msgid "Base terrain height" msgstr "" #: src/settings_translation_file.cpp msgid "Valley Depth" msgstr "" #: src/settings_translation_file.cpp msgid "Raises terrain to make valleys around the rivers" msgstr "" #: src/settings_translation_file.cpp msgid "Valley Fill" msgstr "" #: src/settings_translation_file.cpp msgid "Slope and fill work together to modify the heights" msgstr "" #: src/settings_translation_file.cpp msgid "Valley Profile" msgstr "" #: src/settings_translation_file.cpp msgid "Amplifies the valleys" msgstr "" #: src/settings_translation_file.cpp msgid "Valley Slope" msgstr "" #: src/settings_translation_file.cpp msgid "Security" msgstr "" #: src/settings_translation_file.cpp msgid "Enable mod security" msgstr "" #: src/settings_translation_file.cpp msgid "Prevent mods from doing insecure things like running shell commands." msgstr "" #: src/settings_translation_file.cpp msgid "Trusted mods" msgstr "" #: src/settings_translation_file.cpp msgid "" "Comma-separated list of trusted mods that are allowed to access insecure\n" "functions even when mod security is on (via request_insecure_environment())." msgstr "" #: src/settings_translation_file.cpp msgid "HTTP Mods" msgstr "" #: src/settings_translation_file.cpp msgid "" "Comma-separated list of mods that are allowed to access HTTP APIs, which\n" "allow them to upload and download data to/from the internet." msgstr "" #: src/settings_translation_file.cpp msgid "Profiling" msgstr "" #: src/settings_translation_file.cpp msgid "Load the game profiler" msgstr "" #: src/settings_translation_file.cpp msgid "" "Load the game profiler to collect game profiling data.\n" "Provides a /profiler command to access the compiled profile.\n" "Useful for mod developers and server operators." msgstr "" #: src/settings_translation_file.cpp msgid "Default report format" msgstr "" #: src/settings_translation_file.cpp msgid "" "The default format in which profiles are being saved,\n" "when calling `/profiler save [format]` without format." msgstr "" #: src/settings_translation_file.cpp msgid "Report path" msgstr "" #: src/settings_translation_file.cpp msgid "" "The file path relative to your worldpath in which profiles will be saved " "to.\n" msgstr "" #: src/settings_translation_file.cpp msgid "Instrumentation" msgstr "" #: src/settings_translation_file.cpp msgid "Entity methods" msgstr "" #: src/settings_translation_file.cpp msgid "Instrument the methods of entities on registration." msgstr "" #: src/settings_translation_file.cpp msgid "Active Block Modifiers" msgstr "" #: src/settings_translation_file.cpp msgid "" "Instrument the action function of Active Block Modifiers on registration." msgstr "" #: src/settings_translation_file.cpp msgid "Loading Block Modifiers" msgstr "" #: src/settings_translation_file.cpp msgid "" "Instrument the action function of Loading Block Modifiers on registration." msgstr "" #: src/settings_translation_file.cpp msgid "Chatcommands" msgstr "" #: src/settings_translation_file.cpp msgid "Instrument chatcommands on registration." msgstr "" #: src/settings_translation_file.cpp msgid "Global callbacks" msgstr "" #: src/settings_translation_file.cpp msgid "" "Instrument global callback functions on registration.\n" "(anything you pass to a minetest.register_*() function)" msgstr "" #: src/settings_translation_file.cpp msgid "Builtin" msgstr "" #: src/settings_translation_file.cpp msgid "" "Instrument builtin.\n" "This is usually only needed by core/builtin contributors" msgstr "" #: src/settings_translation_file.cpp msgid "Profiler" msgstr "" #: src/settings_translation_file.cpp msgid "" "Have the profiler instrument itself:\n" "* Instrument an empty function.\n" "This estimates the overhead, that instrumentation is adding (+1 function " "call).\n" "* Instrument the sampler being used to update the statistics." msgstr "" #: src/settings_translation_file.cpp msgid "Client and Server" msgstr "" #: src/settings_translation_file.cpp msgid "Player name" msgstr "" #: src/settings_translation_file.cpp msgid "" "Name of the player.\n" "When running a server, clients connecting with this name are admins.\n" "When starting from the main menu, this is overridden." msgstr "" #: src/settings_translation_file.cpp msgid "Language" msgstr "" #: src/settings_translation_file.cpp msgid "" "Set the language. Leave empty to use the system language.\n" "A restart is required after changing this." msgstr "" #: src/settings_translation_file.cpp msgid "Debug log level" msgstr "" #: src/settings_translation_file.cpp msgid "" "Level of logging to be written to debug.txt:\n" "- (no logging)\n" "- none (messages with no level)\n" "- error\n" "- warning\n" "- action\n" "- info\n" "- verbose" msgstr "" #: src/settings_translation_file.cpp msgid "IPv6" msgstr "" #: src/settings_translation_file.cpp msgid "IPv6 support." msgstr "" #: src/settings_translation_file.cpp msgid "cURL timeout" msgstr "" #: src/settings_translation_file.cpp msgid "" "Default timeout for cURL, stated in milliseconds.\n" "Only has an effect if compiled with cURL." msgstr "" #: src/settings_translation_file.cpp msgid "cURL parallel limit" msgstr "" #: src/settings_translation_file.cpp msgid "" "Limits number of parallel HTTP requests. Affects:\n" "- Media fetch if server uses remote_media setting.\n" "- Serverlist download and server announcement.\n" "- Downloads performed by main menu (e.g. mod manager).\n" "Only has an effect if compiled with cURL." msgstr "" #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" #: src/settings_translation_file.cpp msgid "Maximum time in ms a file download (e.g. a mod download) may take." msgstr "" #: src/settings_translation_file.cpp msgid "High-precision FPU" msgstr "" #: src/settings_translation_file.cpp msgid "Makes DirectX work with LuaJIT. Disable if it causes troubles." msgstr "" #: src/settings_translation_file.cpp msgid "Main menu script" msgstr "" #: src/settings_translation_file.cpp msgid "Replaces the default main menu with a custom one." msgstr "" #: src/settings_translation_file.cpp msgid "Main menu game manager" msgstr "" #: src/settings_translation_file.cpp msgid "Main menu mod manager" msgstr "" #: src/settings_translation_file.cpp msgid "Modstore download URL" msgstr "" #: src/settings_translation_file.cpp msgid "Modstore mods list URL" msgstr "" #: src/settings_translation_file.cpp msgid "Modstore details URL" msgstr "" #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "" #: src/settings_translation_file.cpp msgid "" "Print the engine's profiling data in regular intervals (in seconds). 0 = " "disable. Useful for developers." msgstr ""