From 40ea4ddef1fe56dab9a1479302f0b2578b4b0ed5 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Sun, 19 Sep 2021 20:23:22 +0200 Subject: Fix HUD multiline text alignment (#10795) --- src/client/hud.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/client/hud.cpp b/src/client/hud.cpp index e92f5a73d..0620759da 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -20,6 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include "client/hud.h" +#include +#include #include #include "settings.h" #include "util/numeric.h" @@ -377,15 +379,19 @@ void Hud::drawLuaElements(const v3s16 &camera_offset) std::wstring text = unescape_translate(utf8_to_wide(e->text)); core::dimension2d textsize = textfont->getDimension(text.c_str()); - v2s32 offset((e->align.X - 1.0) * (textsize.Width / 2), - (e->align.Y - 1.0) * (textsize.Height / 2)); + v2s32 offset(0, (e->align.Y - 1.0) * (textsize.Height / 2)); core::rect size(0, 0, e->scale.X * m_scale_factor, - text_height * e->scale.Y * m_scale_factor); + text_height * e->scale.Y * m_scale_factor); v2s32 offs(e->offset.X * m_scale_factor, - e->offset.Y * m_scale_factor); - + e->offset.Y * m_scale_factor); + std::wstringstream wss(text); + std::wstring line; + while (std::getline(wss, line, L'\n')) { - textfont->draw(text.c_str(), size + pos + offset + offs, color); + core::dimension2d linesize = textfont->getDimension(line.c_str()); + v2s32 line_offset((e->align.X - 1.0) * (linesize.Width / 2), 0); + textfont->draw(line.c_str(), size + pos + offset + offs + line_offset, color); + offset.Y += linesize.Height; } break; } case HUD_ELEM_STATBAR: { -- cgit v1.2.3 From e79d6154fc26b2a9bac242f0ac01ec785b5c53b1 Mon Sep 17 00:00:00 2001 From: DS Date: Sun, 19 Sep 2021 20:23:35 +0200 Subject: Fix client-side performance of chat UI (#11612) --- src/chat.cpp | 13 ++++++++----- src/chat.h | 12 ++++++++++++ src/client/game.cpp | 20 +++++++++++++------- src/client/gameui.cpp | 18 ++++++++++++------ src/client/gameui.h | 2 ++ 5 files changed, 47 insertions(+), 18 deletions(-) diff --git a/src/chat.cpp b/src/chat.cpp index 162622abe..d8b577aab 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -50,6 +50,8 @@ ChatBuffer::ChatBuffer(u32 scrollback): void ChatBuffer::addLine(const std::wstring &name, const std::wstring &text) { + m_lines_modified = true; + ChatLine line(name, text); m_unformatted.push_back(line); @@ -72,6 +74,7 @@ void ChatBuffer::clear() m_unformatted.clear(); m_formatted.clear(); m_scroll = 0; + m_lines_modified = true; } u32 ChatBuffer::getLineCount() const @@ -99,14 +102,11 @@ void ChatBuffer::deleteOldest(u32 count) u32 del_unformatted = 0; u32 del_formatted = 0; - while (count > 0 && del_unformatted < m_unformatted.size()) - { + while (count > 0 && del_unformatted < m_unformatted.size()) { ++del_unformatted; // keep m_formatted in sync - if (del_formatted < m_formatted.size()) - { - + if (del_formatted < m_formatted.size()) { sanity_check(m_formatted[del_formatted].first); ++del_formatted; while (del_formatted < m_formatted.size() && @@ -120,6 +120,9 @@ void ChatBuffer::deleteOldest(u32 count) m_unformatted.erase(m_unformatted.begin(), m_unformatted.begin() + del_unformatted); m_formatted.erase(m_formatted.begin(), m_formatted.begin() + del_formatted); + if (del_unformatted > 0) + m_lines_modified = true; + if (at_bottom) m_scroll = getBottomScrollPos(); else diff --git a/src/chat.h b/src/chat.h index aabb0821e..696d805eb 100644 --- a/src/chat.h +++ b/src/chat.h @@ -113,6 +113,13 @@ public: // Scroll to top of buffer (oldest) void scrollTop(); + // Functions for keeping track of whether the lines were modified by any + // preceding operations + // If they were not changed, getLineCount() and getLine() output the same as + // before + bool getLinesModified() const { return m_lines_modified; } + void resetLinesModified() { m_lines_modified = false; } + // Format a chat line for the given number of columns. // Appends the formatted lines to the destination array and // returns the number of formatted lines. @@ -146,6 +153,11 @@ private: bool m_cache_clickable_chat_weblinks; // Color of clickable chat weblinks irr::video::SColor m_cache_chat_weblink_color; + + // Whether the lines were modified since last markLinesUnchanged() + // Is always set to true when m_unformatted is modified, because that's what + // determines the output of getLineCount() and getLine() + bool m_lines_modified = true; }; class ChatPrompt diff --git a/src/client/game.cpp b/src/client/game.cpp index a24ded844..6eb09adfa 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -804,7 +804,7 @@ private: CameraOrientation *cam); void handleClientEvent_CloudParams(ClientEvent *event, CameraOrientation *cam); - void updateChat(f32 dtime, const v2u32 &screensize); + void updateChat(f32 dtime); bool nodePlacement(const ItemDefinition &selected_def, const ItemStack &selected_item, const v3s16 &nodepos, const v3s16 &neighbourpos, const PointedThing &pointed, @@ -2922,7 +2922,7 @@ void Game::processClientEvents(CameraOrientation *cam) } } -void Game::updateChat(f32 dtime, const v2u32 &screensize) +void Game::updateChat(f32 dtime) { // Get new messages from error log buffer while (!m_chat_log_buf.empty()) @@ -2938,8 +2938,14 @@ void Game::updateChat(f32 dtime, const v2u32 &screensize) chat_backend->step(dtime); // Display all messages in a static text element - m_game_ui->setChatText(chat_backend->getRecentChat(), - chat_backend->getRecentBuffer().getLineCount()); + auto &buf = chat_backend->getRecentBuffer(); + if (buf.getLinesModified()) { + buf.resetLinesModified(); + m_game_ui->setChatText(chat_backend->getRecentChat(), buf.getLineCount()); + } + + // Make sure that the size is still correct + m_game_ui->updateChatSize(); } void Game::updateCamera(u32 busy_time, f32 dtime) @@ -3861,9 +3867,7 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, Get chat messages from client */ - v2u32 screensize = driver->getScreenSize(); - - updateChat(dtime, screensize); + updateChat(dtime); /* Inventory @@ -3957,6 +3961,8 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, /* Profiler graph */ + v2u32 screensize = driver->getScreenSize(); + if (m_game_ui->m_flags.show_profiler_graph) graph->draw(10, screensize.Y - 10, driver, g_fontengine->getFont()); diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp index 9b77cf6ff..ecb8e0ec4 100644 --- a/src/client/gameui.cpp +++ b/src/client/gameui.cpp @@ -227,7 +227,13 @@ void GameUI::showTranslatedStatusText(const char *str) void GameUI::setChatText(const EnrichedString &chat_text, u32 recent_chat_count) { + setStaticText(m_guitext_chat, chat_text); + m_recent_chat_count = recent_chat_count; +} + +void GameUI::updateChatSize() +{ // Update gui element size and position s32 chat_y = 5; @@ -238,15 +244,15 @@ void GameUI::setChatText(const EnrichedString &chat_text, u32 recent_chat_count) const v2u32 &window_size = RenderingEngine::getWindowSize(); - core::rect chat_size(10, chat_y, - window_size.X - 20, 0); + core::rect chat_size(10, chat_y, window_size.X - 20, 0); chat_size.LowerRightCorner.Y = std::min((s32)window_size.Y, - m_guitext_chat->getTextHeight() + chat_y); + m_guitext_chat->getTextHeight() + chat_y); - m_guitext_chat->setRelativePosition(chat_size); - setStaticText(m_guitext_chat, chat_text); + if (chat_size == m_current_chat_size) + return; + m_current_chat_size = chat_size; - m_recent_chat_count = recent_chat_count; + m_guitext_chat->setRelativePosition(chat_size); } void GameUI::updateProfiler() diff --git a/src/client/gameui.h b/src/client/gameui.h index cb460b1c3..2eb2488e6 100644 --- a/src/client/gameui.h +++ b/src/client/gameui.h @@ -89,6 +89,7 @@ public: return m_flags.show_chat && m_recent_chat_count != 0 && m_profiler_current_page == 0; } void setChatText(const EnrichedString &chat_text, u32 recent_chat_count); + void updateChatSize(); void updateProfiler(); @@ -122,6 +123,7 @@ private: gui::IGUIStaticText *m_guitext_chat = nullptr; // Chat text u32 m_recent_chat_count = 0; + core::rect m_current_chat_size{0, 0, 0, 0}; gui::IGUIStaticText *m_guitext_profiler = nullptr; // Profiler text u8 m_profiler_current_page = 0; -- cgit v1.2.3 From 2628316842e9c3fc1c54c6d57505c7851fa83490 Mon Sep 17 00:00:00 2001 From: nia <29542929+alarixnia@users.noreply.github.com> Date: Sun, 19 Sep 2021 18:23:52 +0000 Subject: Fix src/util/string.cpp on NetBSD - iconv() prototype changed from traditional Unix defintion to POSIX definition in 9.99.x. - wchar_t is not a valid character set for iconv. Share code with Android for using UTF-32. --- src/util/string.cpp | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/util/string.cpp b/src/util/string.cpp index eec5ab4cd..8be5e320a 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -39,8 +39,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #endif -#if defined(_ICONV_H_) && (defined(__FreeBSD__) || defined(__NetBSD__) || \ - defined(__OpenBSD__) || defined(__DragonFly__)) +#ifdef __NetBSD__ + #include + #if __NetBSD_Version__ <= 999001500 + #define BSD_ICONV_USED + #endif +#elif defined(_ICONV_H_) && (defined(__FreeBSD__) || defined(__OpenBSD__) || \ + defined(__DragonFly__)) #define BSD_ICONV_USED #endif @@ -79,6 +84,14 @@ static bool convert(const char *to, const char *from, char *outbuf, #ifdef __ANDROID__ // On Android iconv disagrees how big a wchar_t is for whatever reason const char *DEFAULT_ENCODING = "UTF-32LE"; +#elif defined(__NetBSD__) + // NetBSD does not allow "WCHAR_T" as a charset input to iconv. + #include + #if BYTE_ORDER == BIG_ENDIAN + const char *DEFAULT_ENCODING = "UTF-32BE"; + #else + const char *DEFAULT_ENCODING = "UTF-32LE"; + #endif #else const char *DEFAULT_ENCODING = "WCHAR_T"; #endif @@ -94,7 +107,7 @@ std::wstring utf8_to_wide(const std::string &input) std::wstring out; out.resize(outbuf_size / sizeof(wchar_t)); -#ifdef __ANDROID__ +#if defined(__ANDROID__) || defined(__NetBSD__) SANITY_CHECK(sizeof(wchar_t) == 4); #endif -- cgit v1.2.3 From 9f85862b7c0d2fd6fe964699bbeabc824026e848 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 22 Sep 2021 18:35:40 +0200 Subject: Fix "Could not create ITexture, texture needs to have a non-empty name" warning --- src/client/tile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index a31e3aca1..091e546c6 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -762,6 +762,9 @@ void TextureSource::rebuildImagesAndTextures() // Recreate textures for (TextureInfo &ti : m_textureinfo_cache) { + if (ti.name.empty()) + continue; // Skip dummy entry + video::IImage *img = generateImage(ti.name); #if ENABLE_GLES img = Align2Npot2(img, driver); -- cgit v1.2.3 From 3dcf9e963e3d3c5d209cd3676c2f979a58c6c1ab Mon Sep 17 00:00:00 2001 From: TheBrokenRail <17478432+TheBrokenRail@users.noreply.github.com> Date: Sun, 26 Sep 2021 12:04:09 -0400 Subject: Touch UI support for desktop builds (#10729) --- README.md | 1 + builtin/settingtypes.txt | 3 +++ src/CMakeLists.txt | 6 ++++++ src/client/clientlauncher.cpp | 7 ++----- src/client/game.cpp | 21 ++++++++++++--------- src/client/renderingengine.cpp | 6 +++--- src/defaultsettings.cpp | 13 ++++++++----- src/gui/CMakeLists.txt | 6 ++++++ src/gui/guiConfirmRegistration.cpp | 10 +++++++--- src/gui/guiFormSpecMenu.cpp | 6 +++--- src/gui/guiPasswordChange.cpp | 8 ++++++-- src/gui/guiTable.cpp | 5 +++-- src/gui/modalMenu.cpp | 11 ++++++++--- src/gui/modalMenu.h | 4 ++-- src/gui/touchscreengui.cpp | 27 +++++++++++++++------------ src/gui/touchscreengui.h | 6 ++++-- 16 files changed, 89 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index fef3f4317..30cc7fb20 100644 --- a/README.md +++ b/README.md @@ -260,6 +260,7 @@ General options and their default values: RUN_IN_PLACE=FALSE - Create a portable install (worlds, settings etc. in current directory) USE_GPROF=FALSE - Enable profiling using GProf VERSION_EXTRA= - Text to append to version (e.g. VERSION_EXTRA=foobar -> Minetest 0.4.9-foobar) + ENABLE_TOUCH=FALSE - Enable Touchscreen support (requires support by IrrlichtMt) Library specific options: diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 43e70e052..f3b8313c7 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -949,6 +949,9 @@ screenshot_quality (Screenshot quality) int 0 0 100 # Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k screens. screen_dpi (DPI) int 72 1 +# Adjust the detected display density, used for scaling UI elements. +display_density_factor (Display Density Scaling Factor) float 1 + # Windows systems only: Start Minetest with the command line window in the background. # Contains the same information as the file debug.txt (default name). enable_console (Enable console window) bool false diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dc2072d11..7ae5c15d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -101,6 +101,12 @@ endif() option(ENABLE_GLES "Use OpenGL ES instead of OpenGL" FALSE) mark_as_advanced(ENABLE_GLES) + +option(ENABLE_TOUCH "Enable Touchscreen support" FALSE) +if(ENABLE_TOUCH) + add_definitions(-DHAVE_TOUCHSCREENGUI) +endif() + if(BUILD_CLIENT) # transitive dependency from Irrlicht (see longer explanation below) if(NOT WIN32) diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 6ab610670..95be72ca0 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -38,9 +38,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #if USE_SOUND #include "sound_openal.h" #endif -#ifdef __ANDROID__ - #include "porting.h" -#endif /* mainmenumanager.h */ @@ -147,8 +144,8 @@ bool ClientLauncher::run(GameStartData &start_data, const Settings &cmd_args) skin->setColor(gui::EGDC_3D_SHADOW, video::SColor(255, 0, 0, 0)); skin->setColor(gui::EGDC_HIGH_LIGHT, video::SColor(255, 70, 120, 50)); skin->setColor(gui::EGDC_HIGH_LIGHT_TEXT, video::SColor(255, 255, 255, 255)); -#ifdef __ANDROID__ - float density = porting::getDisplayDensity(); +#ifdef HAVE_TOUCHSCREENGUI + float density = RenderingEngine::getDisplayDensity(); skin->setSize(gui::EGDS_CHECK_BOX_WIDTH, (s32)(17.0f * density)); skin->setSize(gui::EGDS_SCROLLBAR_SIZE, (s32)(14.0f * density)); skin->setSize(gui::EGDS_WINDOW_BUTTON_WIDTH, (s32)(15.0f * density)); diff --git a/src/client/game.cpp b/src/client/game.cpp index 6eb09adfa..f7fd7abf9 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -566,7 +566,7 @@ public: } }; -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI #define SIZE_TAG "size[11,5.5]" #else #define SIZE_TAG "size[11,5.5,true]" // Fixed size on desktop @@ -901,8 +901,10 @@ private: bool m_does_lost_focus_pause_game = false; int m_reset_HW_buffer_counter = 0; -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI bool m_cache_hold_aux1; +#endif +#ifdef __ANDROID__ bool m_android_chat_open; #endif }; @@ -940,7 +942,7 @@ Game::Game() : readSettings(); -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI m_cache_hold_aux1 = false; // This is initialised properly later #endif @@ -1065,7 +1067,7 @@ void Game::run() set_light_table(g_settings->getFloat("display_gamma")); -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI m_cache_hold_aux1 = g_settings->getBool("fast_move") && client->checkPrivilege("fast"); #endif @@ -1845,6 +1847,7 @@ void Game::processUserInput(f32 dtime) else if (g_touchscreengui) { /* on touchscreengui step may generate own input events which ain't * what we want in case we just did clear them */ + g_touchscreengui->show(); g_touchscreengui->step(dtime); } #endif @@ -2157,7 +2160,7 @@ void Game::toggleFast() m_game_ui->showTranslatedStatusText("Fast mode disabled"); } -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI m_cache_hold_aux1 = fast_move && has_fast_privs; #endif } @@ -2495,10 +2498,10 @@ void Game::updatePlayerControl(const CameraOrientation &cam) control.movement_direction = 0.0f; } -#ifdef ANDROID - /* For Android, simulate holding down AUX1 (fast move) if the user has +#ifdef HAVE_TOUCHSCREENGUI + /* For touch, simulate holding down AUX1 (fast move) if the user has * the fast_move setting toggled on. If there is an aux1 key defined for - * Android then its meaning is inverted (i.e. holding aux1 means walk and + * touch then its meaning is inverted (i.e. holding aux1 means walk and * not fast) */ if (m_cache_hold_aux1) { @@ -4184,7 +4187,7 @@ void Game::showDeathFormspec() #define GET_KEY_NAME(KEY) gettext(getKeySetting(#KEY).name()) void Game::showPauseMenu() { -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI static const std::string control_text = strgettext("Default Controls:\n" "No menu visible:\n" "- single tap: button activate\n" diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp index 0fdbc95dc..723865db4 100644 --- a/src/client/renderingengine.cpp +++ b/src/client/renderingengine.cpp @@ -598,7 +598,7 @@ static float calcDisplayDensity() float RenderingEngine::getDisplayDensity() { static float cached_display_density = calcDisplayDensity(); - return cached_display_density; + return cached_display_density * g_settings->getFloat("display_density_factor"); } #elif defined(_WIN32) @@ -626,14 +626,14 @@ float RenderingEngine::getDisplayDensity() display_density = calcDisplayDensity(get_video_driver()); cached = true; } - return display_density; + return display_density * g_settings->getFloat("display_density_factor"); } #else float RenderingEngine::getDisplayDensity() { - return g_settings->getFloat("screen_dpi") / 96.0; + return (g_settings->getFloat("screen_dpi") / 96.0) * g_settings->getFloat("display_density_factor"); } #endif diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 2cb345ba7..d705552d6 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -285,7 +285,7 @@ void set_default_settings() settings->setDefault("aux1_descends", "false"); settings->setDefault("doubletap_jump", "false"); settings->setDefault("always_fly_fast", "true"); -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI settings->setDefault("autojump", "true"); #else settings->setDefault("autojump", "false"); @@ -457,6 +457,7 @@ void set_default_settings() settings->setDefault("enable_console", "false"); settings->setDefault("screen_dpi", "72"); + settings->setDefault("display_density_factor", "1"); // Altered settings for macOS #if defined(__MACH__) && defined(__APPLE__) @@ -464,15 +465,17 @@ void set_default_settings() settings->setDefault("fps_max", "0"); #endif +#ifdef HAVE_TOUCHSCREENGUI + settings->setDefault("touchtarget", "true"); + settings->setDefault("touchscreen_threshold","20"); + settings->setDefault("fixed_virtual_joystick", "false"); + settings->setDefault("virtual_joystick_triggers_aux1", "false"); +#endif // Altered settings for Android #ifdef __ANDROID__ settings->setDefault("screen_w", "0"); settings->setDefault("screen_h", "0"); settings->setDefault("fullscreen", "true"); - settings->setDefault("touchtarget", "true"); - settings->setDefault("touchscreen_threshold","20"); - settings->setDefault("fixed_virtual_joystick", "false"); - settings->setDefault("virtual_joystick_triggers_aux1", "false"); settings->setDefault("smooth_lighting", "false"); settings->setDefault("max_simultaneous_block_sends_per_client", "10"); settings->setDefault("emergequeue_limit_diskonly", "16"); diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 5552cebea..513b13e8e 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -1,3 +1,8 @@ +set(extra_gui_SRCS "") +if(ENABLE_TOUCH) + set(extra_gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/touchscreengui.cpp) +endif() + set(gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/guiAnimatedImage.cpp ${CMAKE_CURRENT_SOURCE_DIR}/guiBackgroundImage.cpp @@ -25,5 +30,6 @@ set(gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/guiVolumeChange.cpp ${CMAKE_CURRENT_SOURCE_DIR}/modalMenu.cpp ${CMAKE_CURRENT_SOURCE_DIR}/profilergraph.cpp + ${extra_gui_SRCS} PARENT_SCOPE ) diff --git a/src/gui/guiConfirmRegistration.cpp b/src/gui/guiConfirmRegistration.cpp index 4ca9a64ed..b8887a4af 100644 --- a/src/gui/guiConfirmRegistration.cpp +++ b/src/gui/guiConfirmRegistration.cpp @@ -28,6 +28,10 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiEditBoxWithScrollbar.h" #include "porting.h" +#ifdef HAVE_TOUCHSCREENGUI + #include "client/renderingengine.h" +#endif + #include "gettext.h" // Continuing from guiPasswordChange.cpp @@ -45,7 +49,7 @@ GUIConfirmRegistration::GUIConfirmRegistration(gui::IGUIEnvironment *env, m_client(client), m_playername(playername), m_password(password), m_aborted(aborted), m_tsrc(tsrc) { -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI m_touchscreen_visible = false; #endif } @@ -73,8 +77,8 @@ void GUIConfirmRegistration::regenerateGui(v2u32 screensize) /* Calculate new sizes and positions */ -#ifdef __ANDROID__ - const float s = m_gui_scale * porting::getDisplayDensity() / 2; +#ifdef HAVE_TOUCHSCREENGUI + const float s = m_gui_scale * RenderingEngine::getDisplayDensity() / 2; #else const float s = m_gui_scale; #endif diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 797fd3ff6..938481fa2 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -308,7 +308,7 @@ void GUIFormSpecMenu::parseSize(parserData* data, const std::string &element) data->invsize.Y = MYMAX(0, stof(parts[1])); lockSize(false); -#ifndef __ANDROID__ +#ifndef HAVE_TOUCHSCREENGUI if (parts.size() == 3) { if (parts[2] == "true") { lockSize(true,v2u32(800,600)); @@ -3278,7 +3278,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) ((15.0 / 13.0) * (0.85 + mydata.invsize.Y)); } -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI // In Android, the preferred imgsize should be larger to accommodate the // smaller screensize. double prefer_imgsize = padded_screensize.Y / 10 * gui_scaling; @@ -3741,7 +3741,7 @@ void GUIFormSpecMenu::showTooltip(const std::wstring &text, v2u32 screenSize = Environment->getVideoDriver()->getScreenSize(); int tooltip_offset_x = m_btn_height; int tooltip_offset_y = m_btn_height; -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI tooltip_offset_x *= 3; tooltip_offset_y = 0; if (m_pointer.X > (s32)screenSize.X / 2) diff --git a/src/gui/guiPasswordChange.cpp b/src/gui/guiPasswordChange.cpp index 74cd62f5b..c983260f6 100644 --- a/src/gui/guiPasswordChange.cpp +++ b/src/gui/guiPasswordChange.cpp @@ -25,6 +25,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include +#ifdef HAVE_TOUCHSCREENGUI + #include "client/renderingengine.h" +#endif + #include "porting.h" #include "gettext.h" @@ -79,8 +83,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize) /* Calculate new sizes and positions */ -#ifdef __ANDROID__ - const float s = m_gui_scale * porting::getDisplayDensity() / 2; +#ifdef HAVE_TOUCHSCREENGUI + const float s = m_gui_scale * RenderingEngine::getDisplayDensity() / 2; #else const float s = m_gui_scale; #endif diff --git a/src/gui/guiTable.cpp b/src/gui/guiTable.cpp index cab2e19fd..79ae1aea3 100644 --- a/src/gui/guiTable.cpp +++ b/src/gui/guiTable.cpp @@ -77,9 +77,10 @@ GUITable::GUITable(gui::IGUIEnvironment *env, setTabStop(true); setTabOrder(-1); updateAbsolutePosition(); +#ifdef HAVE_TOUCHSCREENGUI + float density = 1; // dp scaling is applied by the skin +#else float density = RenderingEngine::getDisplayDensity(); -#ifdef __ANDROID__ - density = 1; // dp scaling is applied by the skin #endif core::rect relative_rect = m_scrollbar->getRelativePosition(); s32 width = (relative_rect.getWidth() / (2.0 / 3.0)) * density * diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp index 1016de389..56a5d2cb9 100644 --- a/src/gui/modalMenu.cpp +++ b/src/gui/modalMenu.cpp @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifdef HAVE_TOUCHSCREENGUI #include "touchscreengui.h" +#include "client/renderingengine.h" #endif // clang-format off @@ -40,8 +41,8 @@ GUIModalMenu::GUIModalMenu(gui::IGUIEnvironment* env, gui::IGUIElement* parent, m_remap_dbl_click(remap_dbl_click) { m_gui_scale = g_settings->getFloat("gui_scaling"); -#ifdef __ANDROID__ - float d = porting::getDisplayDensity(); +#ifdef HAVE_TOUCHSCREENGUI + float d = RenderingEngine::getDisplayDensity(); m_gui_scale *= 1.1 - 0.3 * d + 0.2 * d * d; #endif setVisible(true); @@ -183,7 +184,7 @@ static bool isChild(gui::IGUIElement *tocheck, gui::IGUIElement *parent) return false; } -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI bool GUIModalMenu::simulateMouseEvent( gui::IGUIElement *target, ETOUCH_INPUT_EVENT touch_event) @@ -217,6 +218,8 @@ bool GUIModalMenu::simulateMouseEvent( void GUIModalMenu::enter(gui::IGUIElement *hovered) { + if (!hovered) + return; sanity_check(!m_hovered); m_hovered.grab(hovered); SEvent gui_event{}; @@ -286,7 +289,9 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event) return retval; } } +#endif +#ifdef HAVE_TOUCHSCREENGUI if (event.EventType == EET_TOUCH_INPUT_EVENT) { irr_ptr holder; holder.grab(this); // keep this alive until return (it might be dropped downstream [?]) diff --git a/src/gui/modalMenu.h b/src/gui/modalMenu.h index ed0da3205..06e78f06b 100644 --- a/src/gui/modalMenu.h +++ b/src/gui/modalMenu.h @@ -75,10 +75,10 @@ protected: v2u32 m_screensize_old; float m_gui_scale; #ifdef __ANDROID__ - v2s32 m_down_pos; std::string m_jni_field_name; #endif #ifdef HAVE_TOUCHSCREENGUI + v2s32 m_down_pos; bool m_touchscreen_visible = true; #endif @@ -102,7 +102,7 @@ private: // wants to launch other menus bool m_allow_focus_removal = false; -#ifdef __ANDROID__ +#ifdef HAVE_TOUCHSCREENGUI irr_ptr m_hovered; bool simulateMouseEvent(gui::IGUIElement *target, ETOUCH_INPUT_EVENT touch_event); diff --git a/src/gui/touchscreengui.cpp b/src/gui/touchscreengui.cpp index eb20b7e70..ebe1a6325 100644 --- a/src/gui/touchscreengui.cpp +++ b/src/gui/touchscreengui.cpp @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/numeric.h" #include "porting.h" #include "client/guiscalingfilter.h" +#include "client/renderingengine.h" #include #include @@ -426,7 +427,7 @@ TouchScreenGUI::TouchScreenGUI(IrrlichtDevice *device, IEventReceiver *receiver) m_joystick_triggers_aux1 = g_settings->getBool("virtual_joystick_triggers_aux1"); m_screensize = m_device->getVideoDriver()->getScreenSize(); button_size = MYMIN(m_screensize.Y / 4.5f, - porting::getDisplayDensity() * + RenderingEngine::getDisplayDensity() * g_settings->getFloat("hud_scaling") * 65.0f); } @@ -668,9 +669,9 @@ void TouchScreenGUI::handleReleaseEvent(size_t evt_id) if (button != after_last_element_id) { // handle button events handleButtonEvent(button, evt_id, false); - } else if (evt_id == m_move_id) { + } else if (m_has_move_id && evt_id == m_move_id) { // handle the point used for moving view - m_move_id = -1; + m_has_move_id = false; // if this pointer issued a mouse event issue symmetric release here if (m_move_sent_as_mouse_event) { @@ -692,8 +693,8 @@ void TouchScreenGUI::handleReleaseEvent(size_t evt_id) } // handle joystick - else if (evt_id == m_joystick_id) { - m_joystick_id = -1; + else if (m_has_joystick_id && evt_id == m_joystick_id) { + m_has_joystick_id = false; // reset joystick for (unsigned int i = 0; i < 4; i++) @@ -776,7 +777,8 @@ void TouchScreenGUI::translateEvent(const SEvent &event) if ((m_fixed_joystick && dxj * dxj + dyj * dyj <= button_size * button_size * 1.5 * 1.5) || (!m_fixed_joystick && event.TouchInput.X < m_screensize.X / 3.0f)) { // If we don't already have a starting point for joystick make this the one. - if (m_joystick_id == -1) { + if (!m_has_joystick_id) { + m_has_joystick_id = true; m_joystick_id = event.TouchInput.ID; m_joystick_has_really_moved = false; @@ -796,7 +798,8 @@ void TouchScreenGUI::translateEvent(const SEvent &event) } } else { // If we don't already have a moving point make this the moving one. - if (m_move_id == -1) { + if (!m_has_move_id) { + m_has_move_id = true; m_move_id = event.TouchInput.ID; m_move_has_really_moved = false; m_move_downtime = porting::getTimeMs(); @@ -819,7 +822,7 @@ void TouchScreenGUI::translateEvent(const SEvent &event) v2s32(event.TouchInput.X, event.TouchInput.Y)) return; - if (m_move_id != -1) { + if (m_has_move_id) { if ((event.TouchInput.ID == m_move_id) && (!m_move_sent_as_mouse_event)) { @@ -862,7 +865,7 @@ void TouchScreenGUI::translateEvent(const SEvent &event) } } - if (m_joystick_id != -1 && event.TouchInput.ID == m_joystick_id) { + if (m_has_joystick_id && event.TouchInput.ID == m_joystick_id) { s32 X = event.TouchInput.X; s32 Y = event.TouchInput.Y; @@ -941,7 +944,7 @@ void TouchScreenGUI::translateEvent(const SEvent &event) } } - if (m_move_id == -1 && m_joystick_id == -1) + if (!m_has_move_id && !m_has_joystick_id) handleChangedButton(event); } } @@ -1086,7 +1089,7 @@ void TouchScreenGUI::step(float dtime) button.repeatcounter += dtime; // in case we're moving around digging does not happen - if (m_move_id != -1) + if (m_has_move_id) m_move_has_really_moved = true; if (button.repeatcounter < button.repeatdelay) @@ -1114,7 +1117,7 @@ void TouchScreenGUI::step(float dtime) } // if a new placed pointer isn't moved for some time start digging - if ((m_move_id != -1) && + if (m_has_move_id && (!m_move_has_really_moved) && (!m_move_sent_as_mouse_event)) { diff --git a/src/gui/touchscreengui.h b/src/gui/touchscreengui.h index ad5abae87..6b36c0d59 100644 --- a/src/gui/touchscreengui.h +++ b/src/gui/touchscreengui.h @@ -228,13 +228,15 @@ private: */ line3d m_shootline; - int m_move_id = -1; + bool m_has_move_id = false; + size_t m_move_id; bool m_move_has_really_moved = false; u64 m_move_downtime = 0; bool m_move_sent_as_mouse_event = false; v2s32 m_move_downlocation = v2s32(-10000, -10000); - int m_joystick_id = -1; + bool m_has_joystick_id = false; + size_t m_joystick_id; bool m_joystick_has_really_moved = false; bool m_fixed_joystick = false; bool m_joystick_triggers_aux1 = false; -- cgit v1.2.3 From bc7d05581b55756f6e4af4b311c30e2f6077a044 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 26 Sep 2021 16:04:19 +0000 Subject: Fix several typos in settingtypes.txt (#11623) --- builtin/settingtypes.txt | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index f3b8313c7..9048d4d86 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -152,11 +152,11 @@ joystick_type (Joystick type) enum auto auto,generic,xbox # when holding down a joystick button combination. repeat_joystick_button_time (Joystick button repetition interval) float 0.17 0.001 -# The deadzone of the joystick -joystick_deadzone (Joystick deadzone) int 2048 +# The dead zone of the joystick +joystick_deadzone (Joystick dead zone) int 2048 # The sensitivity of the joystick axes for moving the -# ingame view frustum around. +# in-game view frustum around. joystick_frustum_sensitivity (Joystick frustum sensitivity) float 170 # Key for moving the player forward. @@ -451,9 +451,9 @@ keymap_decrease_viewing_range_min (View range decrease key) key - [**Basic] -# Whether nametag backgrounds should be shown by default. +# Whether name tag backgrounds should be shown by default. # Mods may still set a background. -show_nametag_backgrounds (Show nametag backgrounds by default) bool true +show_nametag_backgrounds (Show name tag backgrounds by default) bool true # Enable vertex buffer objects. # This should greatly improve graphics performance. @@ -489,7 +489,7 @@ enable_particles (Digging particles) bool true [**Filtering] -# Use mip mapping to scale textures. May slightly increase performance, +# Use mipmapping to scale textures. May slightly increase performance, # especially when using a high resolution texture pack. # Gamma correct downscaling is not supported. mip_map (Mipmapping) bool false @@ -609,7 +609,7 @@ shadow_map_texture_32bit (Shadow map texture in 32 bits) bool true # On true uses Poisson disk to make "soft shadows". Otherwise uses PCF filtering. shadow_poisson_filter (Poisson filtering) bool true -# Define shadow filtering quality +# Define shadow filtering quality. # This simulates the soft shadows effect by applying a PCF or Poisson disk # but also uses more resources. shadow_filters (Shadow filter quality) enum 1 0,1,2 @@ -626,10 +626,10 @@ shadow_update_frames (Map shadows update frames) int 8 1 16 # Set the soft shadow radius size. # Lower values mean sharper shadows, bigger values mean softer shadows. -# Minimum value: 1.0; maxiumum value: 10.0 +# Minimum value: 1.0; maximum value: 10.0 shadow_soft_radius (Soft shadow radius) float 1.0 1.0 10.0 -# Set the tilt of Sun/Moon orbit in degrees +# Set the tilt of Sun/Moon orbit in degrees. # Value of 0 means no tilt / vertical orbit. # Minimum value: 0.0; maximum value: 60.0 shadow_sky_body_orbit_tilt (Sky Body Orbit Tilt) float 0.0 0.0 60.0 @@ -789,7 +789,7 @@ desynchronize_mapblock_texture_animation (Desynchronize block animation) bool tr # Useful if there's something to be displayed right or left of hotbar. hud_hotbar_max_width (Maximum hotbar width) float 1.0 -# Modifies the size of the hudbar elements. +# Modifies the size of the HUD elements. hud_scaling (HUD scale factor) float 1.0 # Enables caching of facedir rotated meshes. @@ -976,7 +976,7 @@ mute_sound (Mute sound) bool false [Client] -# Clickable weblinks (middle-click or ctrl-left-click) enabled in chat console output. +# Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output. clickable_chat_weblinks (Chat weblinks) bool false # Optional override for chat weblink color. @@ -1105,7 +1105,7 @@ max_packets_per_iteration (Max. packets per iteration) int 1024 # Compression level to use when sending mapblocks to the client. # -1 - use default compression level -# 0 - least compresson, fastest +# 0 - least compression, fastest # 9 - best compression, slowest map_compression_level_net (Map Compression Level for Network Transfer) int -1 -1 9 @@ -1291,7 +1291,7 @@ movement_gravity (Gravity) float 9.81 deprecated_lua_api_handling (Deprecated Lua API handling) enum log none,log,error # Number of extra blocks that can be loaded by /clearobjects at once. -# This is a trade-off between sqlite transaction overhead and +# This is a trade-off between SQLite transaction overhead and # memory consumption (4096=100MB, as a rule of thumb). max_clearobjects_extra_loaded_blocks (Max. clearobjects extra blocks) int 4096 @@ -1307,7 +1307,7 @@ sqlite_synchronous (Synchronous SQLite) enum 2 0,1,2 # Compression level to use when saving mapblocks to disk. # -1 - use default compression level -# 0 - least compresson, fastest +# 0 - least compression, fastest # 9 - best compression, slowest map_compression_level_disk (Map Compression Level for Disk Storage) int -1 -1 9 @@ -1414,8 +1414,8 @@ instrument.abm (Active Block Modifiers) bool true # Instrument the action function of Loading Block Modifiers on registration. instrument.lbm (Loading Block Modifiers) bool true -# Instrument chatcommands on registration. -instrument.chatcommand (Chatcommands) bool true +# Instrument chat commands on registration. +instrument.chatcommand (Chat commands) bool true # Instrument global callback functions on registration. # (anything you pass to a minetest.register_*() function) @@ -1509,7 +1509,7 @@ mapgen_limit (Map generation limit) int 31000 0 31000 # Global map generation attributes. # In Mapgen v6 the 'decorations' flag controls all decorations except trees -# and junglegrass, in all other mapgens this flag controls all decorations. +# and jungle grass, in all other mapgens this flag controls all decorations. mg_flags (Mapgen flags) flags caves,dungeons,light,decorations,biomes,ores caves,dungeons,light,decorations,biomes,ores,nocaves,nodungeons,nolight,nodecorations,nobiomes,noores [*Biome API temperature and humidity noise parameters] -- cgit v1.2.3 From 2dc73d239a42218fcf4de7b21f2898f0935b96b1 Mon Sep 17 00:00:00 2001 From: nia <29542929+alarixnia@users.noreply.github.com> Date: Sun, 26 Sep 2021 16:04:30 +0000 Subject: Use CMake's GNUInstallDirs for install directories on Unix (#11636) This makes the installation process honor system-specific directories (e.g. ${PREFIX}/man instead of ${PREFIX}/share/man on BSD). --- CMakeLists.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1995f34b8..e542d3509 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,15 +135,16 @@ elseif(UNIX) # Linux, BSD etc set(ICONDIR "unix/icons") set(LOCALEDIR "locale") else() - set(SHAREDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}") - set(BINDIR "${CMAKE_INSTALL_PREFIX}/bin") - set(DOCDIR "${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME}") - set(MANDIR "${CMAKE_INSTALL_PREFIX}/share/man") + include(GNUInstallDirs) + set(SHAREDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}") + set(BINDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}") + set(DOCDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DOCDIR}") + set(MANDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}") set(EXAMPLE_CONF_DIR ${DOCDIR}) - set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications") - set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/metainfo") - set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons") - set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale") + set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications") + set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/metainfo") + set(ICONDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/icons") + set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LOCALEDIR}") endif() endif() -- cgit v1.2.3 From 918fbe3ec1667c65a320f1f6b432449f104d8e26 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 26 Sep 2021 16:04:39 +0000 Subject: Update builtin locale files (#11650) --- builtin/locale/__builtin.de.tr | 5 +++-- builtin/locale/__builtin.it.tr | 6 ++++-- builtin/locale/template.txt | 5 +++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/builtin/locale/__builtin.de.tr b/builtin/locale/__builtin.de.tr index aa40ffc8d..ee0b47a7e 100644 --- a/builtin/locale/__builtin.de.tr +++ b/builtin/locale/__builtin.de.tr @@ -193,7 +193,6 @@ Available commands:=Verfügbare Befehle: Command not available: @1=Befehl nicht verfügbar: @1 [all | privs | ]=[all | privs | ] Get help for commands or list privileges=Hilfe für Befehle erhalten oder Privilegien auflisten -Available privileges:=Verfügbare Privilegien: Command=Befehl Parameters=Parameter For more information, click on any entry in the list.=Für mehr Informationen klicken Sie auf einen beliebigen Eintrag in der Liste. @@ -203,6 +202,7 @@ Available commands: (see also: /help )=Verfügbare Befehle: (siehe auch: /h Close=Schließen Privilege=Privileg Description=Beschreibung +Available privileges:=Verfügbare Privilegien: print [] | dump [] | save [ []] | reset=print [] | dump [] | save [ []] Handle the profiler and profiling data=Den Profiler und Profilingdaten verwalten Statistics written to action log.=Statistiken zum Aktionsprotokoll geschrieben. @@ -230,7 +230,8 @@ Can use fly mode=Kann den Flugmodus benutzen Can use fast mode=Kann den Schnellmodus benutzen Can fly through solid nodes using noclip mode=Kann durch feste Blöcke mit dem Geistmodus fliegen Can use the rollback functionality=Kann die Rollback-Funktionalität benutzen -Allows enabling various debug options that may affect gameplay=Erlaubt die Aktivierung diverser Debugoptionen, die das Spielgeschehen beeinflussen könnten +Can view more debug info that might give a gameplay advantage=Kann zusätzliche Debuginformationen betrachten, welche einen spielerischen Vorteil geben könnten +Can enable wireframe=Kann Drahtmodell aktivieren Unknown Item=Unbekannter Gegenstand Air=Luft Ignore=Ignorieren diff --git a/builtin/locale/__builtin.it.tr b/builtin/locale/__builtin.it.tr index 449c2b85e..6e137db71 100644 --- a/builtin/locale/__builtin.it.tr +++ b/builtin/locale/__builtin.it.tr @@ -193,7 +193,6 @@ Available commands:=Comandi disponibili: Command not available: @1=Comando non disponibile: @1 [all | privs | ]=[all | privs | ] Get help for commands or list privileges=Richiama la finestra d'aiuto dei comandi o dei privilegi -Available privileges:=Privilegi disponibili: Command=Comando Parameters=Parametri For more information, click on any entry in the list.=Per più informazioni, clicca su una qualsiasi voce dell'elenco. @@ -203,6 +202,7 @@ Available commands: (see also: /help )=Comandi disponibili: (vedi anche /he Close=Chiudi Privilege=Privilegio Description=Descrizione +Available privileges:=Privilegi disponibili: print [] | dump [] | save [ []] | reset=print [] | dump [] | save [ []] | reset Handle the profiler and profiling data=Gestisce il profiler e i dati da esso elaborati Statistics written to action log.=Statistiche scritte nel log delle azioni. @@ -230,7 +230,8 @@ Can use fly mode=Si può usare la modalità volo Can use fast mode=Si può usare la modalità rapida Can fly through solid nodes using noclip mode=Si può volare attraverso i nodi solidi con la modalità incorporea Can use the rollback functionality=Si può usare la funzione di rollback -Allows enabling various debug options that may affect gameplay=Permette di abilitare varie opzioni di debug che potrebbero influenzare l'esperienza di gioco +Can view more debug info that might give a gameplay advantage= +Can enable wireframe= Unknown Item=Oggetto sconosciuto Air=Aria Ignore=Ignora @@ -244,6 +245,7 @@ Profile saved to @1= ##### not used anymore ##### +Allows enabling various debug options that may affect gameplay=Permette di abilitare varie opzioni di debug che potrebbero influenzare l'esperienza di gioco [ | -1] [reconnect] []=[ | -1] [reconnect] [] Shutdown server (-1 cancels a delayed shutdown)=Arresta il server (-1 annulla un arresto programmato) ( | all)= ( | all) diff --git a/builtin/locale/template.txt b/builtin/locale/template.txt index 7049dde36..7e40d0a2b 100644 --- a/builtin/locale/template.txt +++ b/builtin/locale/template.txt @@ -193,7 +193,6 @@ Available commands:= Command not available: @1= [all | privs | ]= Get help for commands or list privileges= -Available privileges:= Command= Parameters= For more information, click on any entry in the list.= @@ -203,6 +202,7 @@ Available commands: (see also: /help )= Close= Privilege= Description= +Available privileges:= print [] | dump [] | save [ []] | reset= Handle the profiler and profiling data= Statistics written to action log.= @@ -230,7 +230,8 @@ Can use fly mode= Can use fast mode= Can fly through solid nodes using noclip mode= Can use the rollback functionality= -Allows enabling various debug options that may affect gameplay= +Can view more debug info that might give a gameplay advantage= +Can enable wireframe= Unknown Item= Air= Ignore= -- cgit v1.2.3 From d51d0f3a5a60679436bf7d4e1980f3a82f229848 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 27 Sep 2021 17:45:44 +0200 Subject: Various code improvements * Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits --- src/client/camera.cpp | 3 ++- src/client/client.h | 8 ++++---- src/client/gameui.h | 2 +- src/gui/guiFormSpecMenu.h | 2 +- src/inventory.cpp | 2 +- src/inventory.h | 2 +- src/network/connection.cpp | 32 ++++++++++---------------------- src/network/connection.h | 30 +++++++++++++++++------------- src/network/networkpacket.h | 2 +- src/remoteplayer.cpp | 2 +- src/remoteplayer.h | 2 +- 11 files changed, 40 insertions(+), 47 deletions(-) diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 2629a6359..48e60c433 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -378,7 +378,8 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_r // Smoothen and invert the above fall_bobbing = sin(fall_bobbing * 0.5 * M_PI) * -1; // Amplify according to the intensity of the impact - fall_bobbing *= (1 - rangelim(50 / player->camera_impact, 0, 1)) * 5; + if (player->camera_impact > 0.0f) + fall_bobbing *= (1 - rangelim(50 / player->camera_impact, 0, 1)) * 5; fall_bobbing *= m_cache_fall_bobbing_amount; } diff --git a/src/client/client.h b/src/client/client.h index b0324ee90..b92b456f4 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -334,13 +334,13 @@ public: // disconnect client when CSM failed. const std::string &accessDeniedReason() const { return m_access_denied_reason; } - const bool itemdefReceived() const + bool itemdefReceived() const { return m_itemdef_received; } - const bool nodedefReceived() const + bool nodedefReceived() const { return m_nodedef_received; } - const bool mediaReceived() const + bool mediaReceived() const { return !m_media_downloader; } - const bool activeObjectsReceived() const + bool activeObjectsReceived() const { return m_activeobjects_received; } u16 getProtoVersion() diff --git a/src/client/gameui.h b/src/client/gameui.h index 2eb2488e6..3f31f1b57 100644 --- a/src/client/gameui.h +++ b/src/client/gameui.h @@ -84,7 +84,7 @@ public: void showTranslatedStatusText(const char *str); inline void clearStatusText() { m_statustext.clear(); } - const bool isChatVisible() + bool isChatVisible() { return m_flags.show_chat && m_recent_chat_count != 0 && m_profiler_current_page == 0; } diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 926de66d5..eee84eff6 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -229,7 +229,7 @@ public: return m_selected_item; } - const u16 getSelectedAmount() const + u16 getSelectedAmount() const { return m_selected_amount; } diff --git a/src/inventory.cpp b/src/inventory.cpp index da6517e62..029fcbf4f 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -995,7 +995,7 @@ const InventoryList *Inventory::getList(const std::string &name) const return m_lists[i]; } -const s32 Inventory::getListIndex(const std::string &name) const +s32 Inventory::getListIndex(const std::string &name) const { for(u32 i=0; i m_lists; IItemDefManager *m_itemdef; diff --git a/src/network/connection.cpp b/src/network/connection.cpp index a4970954f..548b2e3a0 100644 --- a/src/network/connection.cpp +++ b/src/network/connection.cpp @@ -578,7 +578,7 @@ u16 Channel::getOutgoingSequenceNumber(bool& successful) // ugly cast but this one is required in order to tell compiler we // know about difference of two unsigned may be negative in general // but we already made sure it won't happen in this case - if (((u16)(next_outgoing_seqnum - lowest_unacked_seqnumber)) > window_size) { + if (((u16)(next_outgoing_seqnum - lowest_unacked_seqnumber)) > m_window_size) { successful = false; return 0; } @@ -588,7 +588,7 @@ u16 Channel::getOutgoingSequenceNumber(bool& successful) // know about difference of two unsigned may be negative in general // but we already made sure it won't happen in this case if ((next_outgoing_seqnum + (u16)(SEQNUM_MAX - lowest_unacked_seqnumber)) > - window_size) { + m_window_size) { successful = false; return 0; } @@ -666,7 +666,7 @@ void Channel::UpdateTimers(float dtime) //packet_too_late = current_packet_too_late; packets_successful = current_packet_successful; - if (current_bytes_transfered > (unsigned int) (window_size*512/2)) { + if (current_bytes_transfered > (unsigned int) (m_window_size*512/2)) { reasonable_amount_of_data_transmitted = true; } current_packet_loss = 0; @@ -681,37 +681,25 @@ void Channel::UpdateTimers(float dtime) if (packets_successful > 0) { successful_to_lost_ratio = packet_loss/packets_successful; } else if (packet_loss > 0) { - window_size = std::max( - (window_size - 10), - MIN_RELIABLE_WINDOW_SIZE); + setWindowSize(m_window_size - 10); done = true; } if (!done) { - if ((successful_to_lost_ratio < 0.01f) && - (window_size < MAX_RELIABLE_WINDOW_SIZE)) { + if (successful_to_lost_ratio < 0.01f) { /* don't even think about increasing if we didn't even * use major parts of our window */ if (reasonable_amount_of_data_transmitted) - window_size = std::min( - (window_size + 100), - MAX_RELIABLE_WINDOW_SIZE); - } else if ((successful_to_lost_ratio < 0.05f) && - (window_size < MAX_RELIABLE_WINDOW_SIZE)) { + setWindowSize(m_window_size + 100); + } else if (successful_to_lost_ratio < 0.05f) { /* don't even think about increasing if we didn't even * use major parts of our window */ if (reasonable_amount_of_data_transmitted) - window_size = std::min( - (window_size + 50), - MAX_RELIABLE_WINDOW_SIZE); + setWindowSize(m_window_size + 50); } else if (successful_to_lost_ratio > 0.15f) { - window_size = std::max( - (window_size - 100), - MIN_RELIABLE_WINDOW_SIZE); + setWindowSize(m_window_size - 100); } else if (successful_to_lost_ratio > 0.1f) { - window_size = std::max( - (window_size - 50), - MIN_RELIABLE_WINDOW_SIZE); + setWindowSize(m_window_size - 50); } } } diff --git a/src/network/connection.h b/src/network/connection.h index 49bb65c3e..ea74ffb1c 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -420,34 +420,38 @@ public: void UpdateTimers(float dtime); - const float getCurrentDownloadRateKB() + float getCurrentDownloadRateKB() { MutexAutoLock lock(m_internal_mutex); return cur_kbps; }; - const float getMaxDownloadRateKB() + float getMaxDownloadRateKB() { MutexAutoLock lock(m_internal_mutex); return max_kbps; }; - const float getCurrentLossRateKB() + float getCurrentLossRateKB() { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; }; - const float getMaxLossRateKB() + float getMaxLossRateKB() { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; }; - const float getCurrentIncomingRateKB() + float getCurrentIncomingRateKB() { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; }; - const float getMaxIncomingRateKB() + float getMaxIncomingRateKB() { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; }; - const float getAvgDownloadRateKB() + float getAvgDownloadRateKB() { MutexAutoLock lock(m_internal_mutex); return avg_kbps; }; - const float getAvgLossRateKB() + float getAvgLossRateKB() { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; }; - const float getAvgIncomingRateKB() + float getAvgIncomingRateKB() { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; }; - const unsigned int getWindowSize() const { return window_size; }; + u16 getWindowSize() const { return m_window_size; }; + + void setWindowSize(long size) + { + m_window_size = (u16)rangelim(size, MIN_RELIABLE_WINDOW_SIZE, MAX_RELIABLE_WINDOW_SIZE); + } - void setWindowSize(unsigned int size) { window_size = size; }; private: std::mutex m_internal_mutex; - int window_size = MIN_RELIABLE_WINDOW_SIZE; + u16 m_window_size = MIN_RELIABLE_WINDOW_SIZE; u16 next_incoming_seqnum = SEQNUM_INITIAL; @@ -765,7 +769,7 @@ public: Address GetPeerAddress(session_t peer_id); float getPeerStat(session_t peer_id, rtt_stat_type type); float getLocalStat(rate_stat_type type); - const u32 GetProtocolID() const { return m_protocol_id; }; + u32 GetProtocolID() const { return m_protocol_id; }; const std::string getDesc(); void DisconnectPeer(session_t peer_id); diff --git a/src/network/networkpacket.h b/src/network/networkpacket.h index b1c44f055..b9c39f332 100644 --- a/src/network/networkpacket.h +++ b/src/network/networkpacket.h @@ -41,7 +41,7 @@ public: u32 getSize() const { return m_datasize; } session_t getPeerId() const { return m_peer_id; } u16 getCommand() { return m_command; } - const u32 getRemainingBytes() const { return m_datasize - m_read_offset; } + u32 getRemainingBytes() const { return m_datasize - m_read_offset; } const char *getRemainingString() { return getString(m_read_offset); } // Returns a c-string without copying. diff --git a/src/remoteplayer.cpp b/src/remoteplayer.cpp index 925ad001b..d537965a2 100644 --- a/src/remoteplayer.cpp +++ b/src/remoteplayer.cpp @@ -84,7 +84,7 @@ RemotePlayer::RemotePlayer(const char *name, IItemDefManager *idef): } -const RemotePlayerChatResult RemotePlayer::canSendChatMessage() +RemotePlayerChatResult RemotePlayer::canSendChatMessage() { // Rate limit messages u32 now = time(NULL); diff --git a/src/remoteplayer.h b/src/remoteplayer.h index 8d086fc5a..bd39b68ba 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -47,7 +47,7 @@ public: PlayerSAO *getPlayerSAO() { return m_sao; } void setPlayerSAO(PlayerSAO *sao) { m_sao = sao; } - const RemotePlayerChatResult canSendChatMessage(); + RemotePlayerChatResult canSendChatMessage(); void setHotbarItemcount(s32 hotbar_itemcount) { -- cgit v1.2.3 From f5040707fe7cf9f24274379598527d6298c5818c Mon Sep 17 00:00:00 2001 From: x2048 Date: Mon, 27 Sep 2021 17:46:08 +0200 Subject: Order drawlist by distance to the camera when rendering (#11651) --- src/client/clientmap.cpp | 99 +++++++++++++++++++++++++++++++++++------------- src/client/clientmap.h | 30 ++++++++++++++- src/client/game.cpp | 4 +- 3 files changed, 104 insertions(+), 29 deletions(-) diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index 77f3b9fe8..7cde085c8 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -73,7 +73,8 @@ ClientMap::ClientMap( rendering_engine->get_scene_manager(), id), m_client(client), m_rendering_engine(rendering_engine), - m_control(control) + m_control(control), + m_drawlist(MapBlockComparer(v3s16(0,0,0))) { /* @@ -164,6 +165,8 @@ void ClientMap::updateDrawList() { ScopeProfiler sp(g_profiler, "CM::updateDrawList()", SPT_AVG); + m_needs_update_drawlist = false; + for (auto &i : m_drawlist) { MapBlock *block = i.second; block->refDrop(); @@ -178,6 +181,7 @@ void ClientMap::updateDrawList() const f32 camera_fov = m_camera_fov * 1.1f; v3s16 cam_pos_nodes = floatToInt(camera_position, BS); + v3s16 p_blocks_min; v3s16 p_blocks_max; getBlocksInViewRange(cam_pos_nodes, &p_blocks_min, &p_blocks_max); @@ -202,6 +206,8 @@ void ClientMap::updateDrawList() occlusion_culling_enabled = false; } + v3s16 camera_block = getContainerPos(cam_pos_nodes, MAP_BLOCKSIZE); + m_drawlist = std::map(MapBlockComparer(camera_block)); // Uncomment to debug occluded blocks in the wireframe mode // TODO: Include this as a flag for an extended debugging setting @@ -321,7 +327,20 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) Draw the selected MapBlocks */ - MeshBufListList drawbufs; + MeshBufListList grouped_buffers; + + struct DrawDescriptor { + v3s16 m_pos; + scene::IMeshBuffer *m_buffer; + bool m_reuse_material; + + DrawDescriptor(const v3s16 &pos, scene::IMeshBuffer *buffer, bool reuse_material) : + m_pos(pos), m_buffer(buffer), m_reuse_material(reuse_material) + {} + }; + + std::vector draw_order; + video::SMaterial previous_material; for (auto &i : m_drawlist) { v3s16 block_pos = i.first; @@ -386,53 +405,76 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) material.setFlag(video::EMF_WIREFRAME, m_control.show_wireframe); - drawbufs.add(buf, block_pos, layer); + if (is_transparent_pass) { + // Same comparison as in MeshBufListList + bool new_material = material.getTexture(0) != previous_material.getTexture(0) || + material != previous_material; + + draw_order.emplace_back(block_pos, buf, !new_material); + + if (new_material) + previous_material = material; + } + else { + grouped_buffers.add(buf, block_pos, layer); + } } } } } } + // Capture draw order for all solid meshes + for (auto &lists : grouped_buffers.lists) { + for (MeshBufList &list : lists) { + // iterate in reverse to draw closest blocks first + for (auto it = list.bufs.rbegin(); it != list.bufs.rend(); ++it) { + draw_order.emplace_back(it->first, it->second, it != list.bufs.rbegin()); + } + } + } + TimeTaker draw("Drawing mesh buffers"); core::matrix4 m; // Model matrix v3f offset = intToFloat(m_camera_offset, BS); + u32 material_swaps = 0; - // Render all layers in order - for (auto &lists : drawbufs.lists) { - for (MeshBufList &list : lists) { - // Check and abort if the machine is swapping a lot - if (draw.getTimerTime() > 2000) { - infostream << "ClientMap::renderMap(): Rendering took >2s, " << - "returning." << std::endl; - return; - } + // Render all mesh buffers in order + drawcall_count += draw_order.size(); + for (auto &descriptor : draw_order) { + scene::IMeshBuffer *buf = descriptor.m_buffer; + // Check and abort if the machine is swapping a lot + if (draw.getTimerTime() > 2000) { + infostream << "ClientMap::renderMap(): Rendering took >2s, " << + "returning." << std::endl; + return; + } + + if (!descriptor.m_reuse_material) { + auto &material = buf->getMaterial(); // pass the shadow map texture to the buffer texture ShadowRenderer *shadow = m_rendering_engine->get_shadow_renderer(); if (shadow && shadow->is_active()) { - auto &layer = list.m.TextureLayer[3]; + auto &layer = material.TextureLayer[3]; layer.Texture = shadow->get_texture(); layer.TextureWrapU = video::E_TEXTURE_CLAMP::ETC_CLAMP_TO_EDGE; layer.TextureWrapV = video::E_TEXTURE_CLAMP::ETC_CLAMP_TO_EDGE; layer.TrilinearFilter = true; } + driver->setMaterial(material); + ++material_swaps; + } - driver->setMaterial(list.m); - - drawcall_count += list.bufs.size(); - for (auto &pair : list.bufs) { - scene::IMeshBuffer *buf = pair.second; + v3f block_wpos = intToFloat(descriptor.m_pos * MAP_BLOCKSIZE, BS); + m.setTranslation(block_wpos - offset); - v3f block_wpos = intToFloat(pair.first * MAP_BLOCKSIZE, BS); - m.setTranslation(block_wpos - offset); - - driver->setTransform(video::ETS_WORLD, m); - driver->drawMeshBuffer(buf); - vertex_count += buf->getVertexCount(); - } - } + driver->setTransform(video::ETS_WORLD, m); + driver->drawMeshBuffer(buf); + vertex_count += buf->getVertexCount(); } + g_profiler->avg(prefix + "draw meshes [ms]", draw.stop(true)); // Log only on solid pass because values are the same @@ -440,8 +482,13 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) g_profiler->avg("renderMap(): animated meshes [#]", mesh_animate_count); } + if (pass == scene::ESNRP_TRANSPARENT) { + g_profiler->avg("renderMap(): transparent buffers [#]", draw_order.size()); + } + g_profiler->avg(prefix + "vertices drawn [#]", vertex_count); g_profiler->avg(prefix + "drawcalls [#]", drawcall_count); + g_profiler->avg(prefix + "material swaps [#]", material_swaps); } static bool getVisibleBrightness(Map *map, const v3f &p0, v3f dir, float step, diff --git a/src/client/clientmap.h b/src/client/clientmap.h index 97ce8d355..b4dc42395 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -87,10 +87,18 @@ public: void updateCamera(const v3f &pos, const v3f &dir, f32 fov, const v3s16 &offset) { + v3s16 previous_block = getContainerPos(floatToInt(m_camera_position, BS) + m_camera_offset, MAP_BLOCKSIZE); + m_camera_position = pos; m_camera_direction = dir; m_camera_fov = fov; m_camera_offset = offset; + + v3s16 current_block = getContainerPos(floatToInt(m_camera_position, BS) + m_camera_offset, MAP_BLOCKSIZE); + + // reorder the blocks when camera crosses block boundary + if (previous_block != current_block) + m_needs_update_drawlist = true; } /* @@ -122,6 +130,8 @@ public: v3s16 *p_blocks_min, v3s16 *p_blocks_max, float range=-1.0f); void updateDrawList(); void updateDrawListShadow(const v3f &shadow_light_pos, const v3f &shadow_light_dir, float shadow_range); + // Returns true if draw list needs updating before drawing the next frame. + bool needsUpdateDrawList() { return m_needs_update_drawlist; } void renderMap(video::IVideoDriver* driver, s32 pass); void renderMapShadows(video::IVideoDriver *driver, @@ -140,6 +150,23 @@ public: f32 getCameraFov() const { return m_camera_fov; } private: + // Orders blocks by distance to the camera + class MapBlockComparer + { + public: + MapBlockComparer(const v3s16 &camera_block) : m_camera_block(camera_block) {} + + bool operator() (const v3s16 &left, const v3s16 &right) const + { + auto distance_left = left.getDistanceFromSQ(m_camera_block); + auto distance_right = right.getDistanceFromSQ(m_camera_block); + return distance_left > distance_right || (distance_left == distance_right && left > right); + } + + private: + v3s16 m_camera_block; + }; + Client *m_client; RenderingEngine *m_rendering_engine; @@ -153,8 +180,9 @@ private: f32 m_camera_fov = M_PI; v3s16 m_camera_offset; - std::map m_drawlist; + std::map m_drawlist; std::map m_drawlist_shadow; + bool m_needs_update_drawlist; std::set m_last_drawn_sectors; diff --git a/src/client/game.cpp b/src/client/game.cpp index f7fd7abf9..a6448f40d 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3897,8 +3897,8 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, v3f camera_direction = camera->getDirection(); if (runData.update_draw_list_timer >= update_draw_list_delta || runData.update_draw_list_last_cam_dir.getDistanceFrom(camera_direction) > 0.2 - || m_camera_offset_changed) { - + || m_camera_offset_changed + || client->getEnv().getClientMap().needsUpdateDrawList()) { runData.update_draw_list_timer = 0; client->getEnv().getClientMap().updateDrawList(); runData.update_draw_list_last_cam_dir = camera_direction; -- cgit v1.2.3 From 21113ad4105dd3fb181b3d0638b907af94a352ab Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 1 Oct 2021 14:21:24 +0000 Subject: Split liquid_viscosity to liquid_viscosity and move_resistance (#10810) --- doc/client_lua_api.txt | 7 +- doc/lua_api.txt | 45 +++++++-- games/devtest/mods/testnodes/liquids.lua | 55 ++++++++++- games/devtest/mods/testnodes/properties.lua | 108 +++++++++++++++++++++ .../testnodes_climbable_resistance_side.png | Bin 0 -> 295 bytes .../textures/testnodes_move_resistance.png | Bin 0 -> 221 bytes src/client/clientenvironment.cpp | 37 ++++--- src/client/localplayer.cpp | 24 +++-- src/client/localplayer.h | 4 +- src/nodedef.cpp | 17 ++++ src/nodedef.h | 4 + src/script/common/c_content.cpp | 22 +++++ src/script/cpp_api/s_node.h | 1 + src/script/lua_api/l_localplayer.cpp | 7 +- src/script/lua_api/l_localplayer.h | 3 +- 15 files changed, 289 insertions(+), 45 deletions(-) create mode 100644 games/devtest/mods/testnodes/textures/testnodes_climbable_resistance_side.png create mode 100644 games/devtest/mods/testnodes/textures/testnodes_move_resistance.png diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 24d23b0b5..32be8c849 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1030,8 +1030,8 @@ Methods: * returns true if player is in a liquid (This oscillates so that the player jumps a bit above the surface) * `is_in_liquid_stable()` * returns true if player is in a stable liquid (This is more stable and defines the maximum speed of the player) -* `get_liquid_viscosity()` - * returns liquid viscosity (Gets the viscosity of liquid to calculate friction) +* `get_move_resistance()` + * returns move resistance of current node, the higher the slower the player moves * `is_climbing()` * returns true if player is climbing * `swimming_vertical()` @@ -1233,7 +1233,7 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or liquid_type = , -- A string containing "none", "flowing", or "source" *May not exist* liquid_alternative_flowing = , -- Alternative node for liquid *May not exist* liquid_alternative_source = , -- Alternative node for liquid *May not exist* - liquid_viscosity = , -- How fast the liquid flows *May not exist* + liquid_viscosity = , -- How slow the liquid flows *May not exist* liquid_renewable = , -- Whether the liquid makes an infinite source *May not exist* liquid_range = , -- How far the liquid flows *May not exist* drowning = bool, -- Whether the player will drown in the node @@ -1248,6 +1248,7 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or }, legacy_facedir_simple = bool, -- Whether to use old facedir legacy_wallmounted = bool -- Whether to use old wallmounted + move_resistance = , -- How slow players can move through the node *May not exist* } ``` diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 4fab78841..9efe1afe7 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1804,7 +1804,7 @@ to games. - (14) -- constant tolerance Negative damage values are discarded as no damage. * `falling_node`: if there is no walkable block under the node it will fall -* `float`: the node will not fall through liquids +* `float`: the node will not fall through liquids (`liquidtype ~= "none"`) * `level`: Can be used to give an additional sense of progression in the game. * A larger level will cause e.g. a weapon of a lower level make much less damage, and get worn out much faster, or not be able to get drops @@ -4147,7 +4147,7 @@ differences: ### Other API functions operating on a VoxelManip -If any VoxelManip contents were set to a liquid node, +If any VoxelManip contents were set to a liquid node (`liquidtype ~= "none"`), `VoxelManip:update_liquids()` must be called for these liquid nodes to begin flowing. It is recommended to call this function only after having written all buffered data back to the VoxelManip object, save for special situations where @@ -4958,8 +4958,8 @@ Call these functions only at load time! * You should have joined some channels to receive events. * If message comes from a server mod, `sender` field is an empty string. * `minetest.register_on_liquid_transformed(function(pos_list, node_list))` - * Called after liquid nodes are modified by the engine's liquid transformation - process. + * Called after liquid nodes (`liquidtype ~= "none"`) are modified by the + engine's liquid transformation process. * `pos_list` is an array of all modified positions. * `node_list` is an array of the old node that was previously at the position with the corresponding index in pos_list. @@ -5301,7 +5301,8 @@ Environment access * `pos1`: start of the ray * `pos2`: end of the ray * `objects`: if false, only nodes will be returned. Default is `true`. - * `liquids`: if false, liquid nodes won't be returned. Default is `false`. + * `liquids`: if false, liquid nodes (`liquidtype ~= "none"`) won't be + returned. Default is `false`. * `minetest.find_path(pos1,pos2,searchdistance,max_jump,max_drop,algorithm)` * returns table containing path that can be walked on * returns a table of 3D points representing a path from `pos1` to `pos2` or @@ -5325,7 +5326,7 @@ Environment access * `minetest.spawn_tree (pos, {treedef})` * spawns L-system tree at given `pos` with definition in `treedef` table * `minetest.transforming_liquid_add(pos)` - * add node to liquid update queue + * add node to liquid flow update queue * `minetest.get_node_max_level(pos)` * get max available level for leveled node * `minetest.get_node_level(pos)` @@ -6978,7 +6979,8 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or * `pos1`: start of the ray * `pos2`: end of the ray * `objects`: if false, only nodes will be returned. Default is true. -* `liquids`: if false, liquid nodes won't be returned. Default is false. +* `liquids`: if false, liquid nodes (`liquidtype ~= "none"`) won't be + returned. Default is false. ### Methods @@ -7462,6 +7464,8 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and range = 4.0, liquids_pointable = false, + -- If true, item points to all liquid nodes (`liquidtype ~= "none"`), + -- even those for which `pointable = false` light_source = 0, -- When used for nodes: Defines amount of light emitted by node. @@ -7647,14 +7651,21 @@ Used by `minetest.register_node`. climbable = false, -- If true, can be climbed on (ladder) + move_resistance = 0, + -- Slows down movement of players through this node (max. 7). + -- If this is nil, it will be equal to liquid_viscosity. + -- Note: If liquid movement physics apply to the node + -- (see `liquid_move_physics`), the movement speed will also be + -- affected by the `movement_liquid_*` settings. + buildable_to = false, -- If true, placed nodes can replace this node floodable = false, -- If true, liquids flow into and replace this node. -- Warning: making a liquid node 'floodable' will cause problems. - liquidtype = "none", -- specifies liquid physics - -- * "none": no liquid physics + liquidtype = "none", -- specifies liquid flowing physics + -- * "none": no liquid flowing physics -- * "source": spawns flowing liquid nodes at all 4 sides and below; -- recommended drawtype: "liquid". -- * "flowing": spawned from source, spawns more flowing liquid nodes @@ -7668,12 +7679,26 @@ Used by `minetest.register_node`. liquid_alternative_source = "", -- Source version of flowing liquid - liquid_viscosity = 0, -- Higher viscosity = slower flow (max. 7) + liquid_viscosity = 0, + -- Controls speed at which the liquid spreads/flows (max. 7). + -- 0 is fastest, 7 is slowest. + -- By default, this also slows down movement of players inside the node + -- (can be overridden using `move_resistance`) liquid_renewable = true, -- If true, a new liquid source can be created by placing two or more -- sources nearby + liquid_move_physics = nil, -- specifies movement physics if inside node + -- * false: No liquid movement physics apply. + -- * true: Enables liquid movement physics. Enables things like + -- ability to "swim" up/down, sinking slowly if not moving, + -- smoother speed change when falling into, etc. The `movement_liquid_*` + -- settings apply. + -- * nil: Will be treated as true if `liquidype ~= "none"` + -- and as false otherwise. + -- Default: nil + leveled = 0, -- Only valid for "nodebox" drawtype with 'type = "leveled"'. -- Allows defining the nodebox height without using param2. diff --git a/games/devtest/mods/testnodes/liquids.lua b/games/devtest/mods/testnodes/liquids.lua index 3d2ea17f5..be33814af 100644 --- a/games/devtest/mods/testnodes/liquids.lua +++ b/games/devtest/mods/testnodes/liquids.lua @@ -40,9 +40,11 @@ for d=0, 8 do liquid_range = d, }) + if d <= 7 then + local mod = "^[colorize:#000000:127" minetest.register_node("testnodes:vliquid_"..d, { - description = "Test Liquid Source, Viscosity "..d, + description = "Test Liquid Source, Viscosity/Resistance "..d, drawtype = "liquid", tiles = {"testnodes_liquidsource_r"..d..".png"..mod}, special_tiles = { @@ -61,7 +63,7 @@ for d=0, 8 do }) minetest.register_node("testnodes:vliquid_flowing_"..d, { - description = "Flowing Test Liquid, Viscosity "..d, + description = "Flowing Test Liquid, Viscosity/Resistance "..d, drawtype = "flowingliquid", tiles = {"testnodes_liquidflowing_r"..d..".png"..mod}, special_tiles = { @@ -80,4 +82,53 @@ for d=0, 8 do liquid_viscosity = d, }) + mod = "^[colorize:#000000:192" + local v = 4 + minetest.register_node("testnodes:vrliquid_"..d, { + description = "Test Liquid Source, Viscosity "..v..", Resistance "..d, + drawtype = "liquid", + tiles = {"testnodes_liquidsource_r"..d..".png"..mod}, + special_tiles = { + {name = "testnodes_liquidsource_r"..d..".png"..mod, backface_culling = false}, + {name = "testnodes_liquidsource_r"..d..".png"..mod, backface_culling = true}, + }, + use_texture_alpha = "blend", + paramtype = "light", + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + is_ground_content = false, + liquidtype = "source", + liquid_alternative_flowing = "testnodes:vrliquid_flowing_"..d, + liquid_alternative_source = "testnodes:vrliquid_"..d, + liquid_viscosity = v, + move_resistance = d, + }) + + minetest.register_node("testnodes:vrliquid_flowing_"..d, { + description = "Flowing Test Liquid, Viscosity "..v..", Resistance "..d, + drawtype = "flowingliquid", + tiles = {"testnodes_liquidflowing_r"..d..".png"..mod}, + special_tiles = { + {name = "testnodes_liquidflowing_r"..d..".png"..mod, backface_culling = false}, + {name = "testnodes_liquidflowing_r"..d..".png"..mod, backface_culling = false}, + }, + use_texture_alpha = "blend", + paramtype = "light", + paramtype2 = "flowingliquid", + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + is_ground_content = false, + liquidtype = "flowing", + liquid_alternative_flowing = "testnodes:vrliquid_flowing_"..d, + liquid_alternative_source = "testnodes:vrliquid_"..d, + liquid_viscosity = v, + move_resistance = d, + }) + + end + end diff --git a/games/devtest/mods/testnodes/properties.lua b/games/devtest/mods/testnodes/properties.lua index a52cd1d6f..51f703d7c 100644 --- a/games/devtest/mods/testnodes/properties.lua +++ b/games/devtest/mods/testnodes/properties.lua @@ -152,6 +152,66 @@ minetest.register_node("testnodes:liquidflowing_nojump", { post_effect_color = {a = 70, r = 255, g = 0, b = 200}, }) +-- A liquid which doesn't have liquid movement physics (source variant) +minetest.register_node("testnodes:liquid_noswim", { + description = S("No-swim Liquid Source Node"), + liquidtype = "source", + liquid_range = 1, + liquid_viscosity = 0, + liquid_alternative_flowing = "testnodes:liquidflowing_noswim", + liquid_alternative_source = "testnodes:liquid_noswim", + liquid_renewable = false, + liquid_move_physics = false, + groups = {dig_immediate=3}, + walkable = false, + + drawtype = "liquid", + tiles = {"testnodes_liquidsource.png^[colorize:#FF00FF:127"}, + special_tiles = { + {name = "testnodes_liquidsource.png^[colorize:#FF00FF:127", backface_culling = false}, + {name = "testnodes_liquidsource.png^[colorize:#FF00FF:127", backface_culling = true}, + }, + use_texture_alpha = "blend", + paramtype = "light", + pointable = false, + liquids_pointable = true, + buildable_to = true, + is_ground_content = false, + post_effect_color = {a = 70, r = 255, g = 200, b = 200}, +}) + +-- A liquid which doen't have liquid movement physics (flowing variant) +minetest.register_node("testnodes:liquidflowing_noswim", { + description = S("No-swim Flowing Liquid Node"), + liquidtype = "flowing", + liquid_range = 1, + liquid_viscosity = 0, + liquid_alternative_flowing = "testnodes:liquidflowing_noswim", + liquid_alternative_source = "testnodes:liquid_noswim", + liquid_renewable = false, + liquid_move_physics = false, + groups = {dig_immediate=3}, + walkable = false, + + + drawtype = "flowingliquid", + tiles = {"testnodes_liquidflowing.png^[colorize:#FF00FF:127"}, + special_tiles = { + {name = "testnodes_liquidflowing.png^[colorize:#FF00FF:127", backface_culling = false}, + {name = "testnodes_liquidflowing.png^[colorize:#FF00FF:127", backface_culling = false}, + }, + use_texture_alpha = "blend", + paramtype = "light", + paramtype2 = "flowingliquid", + pointable = false, + liquids_pointable = true, + buildable_to = true, + is_ground_content = false, + post_effect_color = {a = 70, r = 255, g = 200, b = 200}, +}) + + + -- Nodes that modify fall damage (various damage modifiers) for i=-100, 100, 25 do if i ~= 0 then @@ -216,6 +276,54 @@ for i=1, 5 do }) end +-- Move resistance nodes (various resistance levels) +for r=0, 7 do + if r > 0 then + minetest.register_node("testnodes:move_resistance"..r, { + description = S("Move-resistant Node (@1)", r), + walkable = false, + move_resistance = r, + + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_move_resistance.png" }, + is_ground_content = false, + groups = { dig_immediate = 3 }, + color = { b = 0, g = 255, r = math.floor((r/7)*255), a = 255 }, + }) + end + + minetest.register_node("testnodes:move_resistance_liquidlike"..r, { + description = S("Move-resistant Node, liquidlike (@1)", r), + walkable = false, + move_resistance = r, + liquid_move_physics = true, + + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_move_resistance.png" }, + is_ground_content = false, + groups = { dig_immediate = 3 }, + color = { b = 255, g = 0, r = math.floor((r/7)*255), a = 255 }, + }) +end + +minetest.register_node("testnodes:climbable_move_resistance_4", { + description = S("Climbable Move-resistant Node (4)"), + walkable = false, + climbable = true, + move_resistance = 4, + + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = {"testnodes_climbable_resistance_side.png"}, + is_ground_content = false, + groups = { dig_immediate = 3 }, +}) + -- By placing something on the node, the node itself will be replaced minetest.register_node("testnodes:buildable_to", { description = S("Replacable Node"), diff --git a/games/devtest/mods/testnodes/textures/testnodes_climbable_resistance_side.png b/games/devtest/mods/testnodes/textures/testnodes_climbable_resistance_side.png new file mode 100644 index 000000000..be01583e6 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_climbable_resistance_side.png differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_move_resistance.png b/games/devtest/mods/testnodes/textures/testnodes_move_resistance.png new file mode 100644 index 000000000..cac3944bf Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_move_resistance.png differ diff --git a/src/client/clientenvironment.cpp b/src/client/clientenvironment.cpp index 7e3867537..448af36c6 100644 --- a/src/client/clientenvironment.cpp +++ b/src/client/clientenvironment.cpp @@ -194,32 +194,41 @@ void ClientEnvironment::step(float dtime) lplayer->applyControl(dtime_part, this); // Apply physics - if (!free_move && !is_climbing) { + if (!free_move) { // Gravity v3f speed = lplayer->getSpeed(); - if (!lplayer->in_liquid) + if (!is_climbing && !lplayer->in_liquid) speed.Y -= lplayer->movement_gravity * lplayer->physics_override_gravity * dtime_part * 2.0f; // Liquid floating / sinking - if (lplayer->in_liquid && !lplayer->swimming_vertical && + if (!is_climbing && lplayer->in_liquid && + !lplayer->swimming_vertical && !lplayer->swimming_pitch) speed.Y -= lplayer->movement_liquid_sink * dtime_part * 2.0f; - // Liquid resistance - if (lplayer->in_liquid_stable || lplayer->in_liquid) { - // How much the node's viscosity blocks movement, ranges - // between 0 and 1. Should match the scale at which viscosity + // Movement resistance + if (lplayer->move_resistance > 0) { + // How much the node's move_resistance blocks movement, ranges + // between 0 and 1. Should match the scale at which liquid_viscosity // increase affects other liquid attributes. - static const f32 viscosity_factor = 0.3f; - - v3f d_wanted = -speed / lplayer->movement_liquid_fluidity; + static const f32 resistance_factor = 0.3f; + + v3f d_wanted; + bool in_liquid_stable = lplayer->in_liquid_stable || lplayer->in_liquid; + if (in_liquid_stable) { + d_wanted = -speed / lplayer->movement_liquid_fluidity; + } else { + d_wanted = -speed / BS; + } f32 dl = d_wanted.getLength(); - if (dl > lplayer->movement_liquid_fluidity_smooth) - dl = lplayer->movement_liquid_fluidity_smooth; + if (in_liquid_stable) { + if (dl > lplayer->movement_liquid_fluidity_smooth) + dl = lplayer->movement_liquid_fluidity_smooth; + } - dl *= (lplayer->liquid_viscosity * viscosity_factor) + - (1 - viscosity_factor); + dl *= (lplayer->move_resistance * resistance_factor) + + (1 - resistance_factor); v3f d = d_wanted.normalize() * (dl * dtime_part * 100.0f); speed += d; } diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index 2d4f7305a..3f78d201d 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -227,8 +227,9 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, pp = floatToInt(position + v3f(0.0f, BS * 0.1f, 0.0f), BS); node = map->getNode(pp, &is_valid_position); if (is_valid_position) { - in_liquid = nodemgr->get(node.getContent()).isLiquid(); - liquid_viscosity = nodemgr->get(node.getContent()).liquid_viscosity; + const ContentFeatures &cf = nodemgr->get(node.getContent()); + in_liquid = cf.liquid_move_physics; + move_resistance = cf.move_resistance; } else { in_liquid = false; } @@ -238,8 +239,9 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, pp = floatToInt(position + v3f(0.0f, BS * 0.5f, 0.0f), BS); node = map->getNode(pp, &is_valid_position); if (is_valid_position) { - in_liquid = nodemgr->get(node.getContent()).isLiquid(); - liquid_viscosity = nodemgr->get(node.getContent()).liquid_viscosity; + const ContentFeatures &cf = nodemgr->get(node.getContent()); + in_liquid = cf.liquid_move_physics; + move_resistance = cf.move_resistance; } else { in_liquid = false; } @@ -252,7 +254,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, pp = floatToInt(position + v3f(0.0f), BS); node = map->getNode(pp, &is_valid_position); if (is_valid_position) { - in_liquid_stable = nodemgr->get(node.getContent()).isLiquid(); + in_liquid_stable = nodemgr->get(node.getContent()).liquid_move_physics; } else { in_liquid_stable = false; } @@ -800,8 +802,9 @@ void LocalPlayer::old_move(f32 dtime, Environment *env, f32 pos_max_d, pp = floatToInt(position + v3f(0.0f, BS * 0.1f, 0.0f), BS); node = map->getNode(pp, &is_valid_position); if (is_valid_position) { - in_liquid = nodemgr->get(node.getContent()).isLiquid(); - liquid_viscosity = nodemgr->get(node.getContent()).liquid_viscosity; + const ContentFeatures &cf = nodemgr->get(node.getContent()); + in_liquid = cf.liquid_move_physics; + move_resistance = cf.move_resistance; } else { in_liquid = false; } @@ -810,8 +813,9 @@ void LocalPlayer::old_move(f32 dtime, Environment *env, f32 pos_max_d, pp = floatToInt(position + v3f(0.0f, BS * 0.5f, 0.0f), BS); node = map->getNode(pp, &is_valid_position); if (is_valid_position) { - in_liquid = nodemgr->get(node.getContent()).isLiquid(); - liquid_viscosity = nodemgr->get(node.getContent()).liquid_viscosity; + const ContentFeatures &cf = nodemgr->get(node.getContent()); + in_liquid = cf.liquid_move_physics; + move_resistance = cf.move_resistance; } else { in_liquid = false; } @@ -823,7 +827,7 @@ void LocalPlayer::old_move(f32 dtime, Environment *env, f32 pos_max_d, pp = floatToInt(position + v3f(0.0f), BS); node = map->getNode(pp, &is_valid_position); if (is_valid_position) - in_liquid_stable = nodemgr->get(node.getContent()).isLiquid(); + in_liquid_stable = nodemgr->get(node.getContent()).liquid_move_physics; else in_liquid_stable = false; diff --git a/src/client/localplayer.h b/src/client/localplayer.h index 345aec9d9..13b35ae4e 100644 --- a/src/client/localplayer.h +++ b/src/client/localplayer.h @@ -55,8 +55,8 @@ public: bool in_liquid = false; // This is more stable and defines the maximum speed of the player bool in_liquid_stable = false; - // Gets the viscosity of water to calculate friction - u8 liquid_viscosity = 0; + // Slows down the player when moving through + u8 move_resistance = 0; bool is_climbing = false; bool swimming_vertical = false; bool swimming_pitch = false; diff --git a/src/nodedef.cpp b/src/nodedef.cpp index db4043aa1..703df4dee 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -403,6 +403,8 @@ void ContentFeatures::reset() palette_name = ""; palette = NULL; node_dig_prediction = "air"; + move_resistance = 0; + liquid_move_physics = false; } void ContentFeatures::setAlphaFromLegacy(u8 legacy_alpha) @@ -512,9 +514,12 @@ void ContentFeatures::serialize(std::ostream &os, u16 protocol_version) const writeU8(os, legacy_facedir_simple); writeU8(os, legacy_wallmounted); + // new attributes os << serializeString16(node_dig_prediction); writeU8(os, leveled_max); writeU8(os, alpha); + writeU8(os, move_resistance); + writeU8(os, liquid_move_physics); } void ContentFeatures::deSerialize(std::istream &is) @@ -584,9 +589,11 @@ void ContentFeatures::deSerialize(std::istream &is) // liquid liquid_type = (enum LiquidType) readU8(is); + liquid_move_physics = liquid_type != LIQUID_NONE; liquid_alternative_flowing = deSerializeString16(is); liquid_alternative_source = deSerializeString16(is); liquid_viscosity = readU8(is); + move_resistance = liquid_viscosity; // set default move_resistance liquid_renewable = readU8(is); liquid_range = readU8(is); drowning = readU8(is); @@ -618,6 +625,16 @@ void ContentFeatures::deSerialize(std::istream &is) if (is.eof()) throw SerializationError(""); alpha = static_cast(tmp); + + tmp = readU8(is); + if (is.eof()) + throw SerializationError(""); + move_resistance = tmp; + + tmp = readU8(is); + if (is.eof()) + throw SerializationError(""); + liquid_move_physics = tmp; } catch(SerializationError &e) {}; } diff --git a/src/nodedef.h b/src/nodedef.h index 8a6d88071..ea50d4281 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -376,11 +376,15 @@ struct ContentFeatures u32 damage_per_second; // client dig prediction std::string node_dig_prediction; + // how slow players move through + u8 move_resistance = 0; // --- LIQUID PROPERTIES --- // Whether the node is non-liquid, source liquid or flowing liquid enum LiquidType liquid_type; + // If true, movement (e.g. of players) inside this node is liquid-like. + bool liquid_move_physics; // If the content is liquid, this is the flowing version of the liquid. std::string liquid_alternative_flowing; content_t liquid_alternative_flowing_id; diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 5a095fd8f..8a5a3fe71 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -719,6 +719,9 @@ void read_content_features(lua_State *L, ContentFeatures &f, int index) // the slowest possible f.liquid_viscosity = getintfield_default(L, index, "liquid_viscosity", f.liquid_viscosity); + // If move_resistance is not set explicitly, + // move_resistance is equal to liquid_viscosity + f.move_resistance = f.liquid_viscosity; f.liquid_range = getintfield_default(L, index, "liquid_range", f.liquid_range); f.leveled = getintfield_default(L, index, "leveled", f.leveled); @@ -822,6 +825,21 @@ void read_content_features(lua_State *L, ContentFeatures &f, int index) getstringfield(L, index, "node_dig_prediction", f.node_dig_prediction); + // How much the node slows down players, ranging from 1 to 7, + // the higher, the slower. + f.move_resistance = getintfield_default(L, index, + "move_resistance", f.move_resistance); + + // Whether e.g. players in this node will have liquid movement physics + lua_getfield(L, index, "liquid_move_physics"); + if(lua_isboolean(L, -1)) { + f.liquid_move_physics = lua_toboolean(L, -1); + } else if(lua_isnil(L, -1)) { + f.liquid_move_physics = f.liquid_type != LIQUID_NONE; + } else { + errorstream << "Field \"liquid_move_physics\": Invalid type!" << std::endl; + } + lua_pop(L, 1); } void push_content_features(lua_State *L, const ContentFeatures &c) @@ -949,6 +967,10 @@ void push_content_features(lua_State *L, const ContentFeatures &c) lua_setfield(L, -2, "legacy_wallmounted"); lua_pushstring(L, c.node_dig_prediction.c_str()); lua_setfield(L, -2, "node_dig_prediction"); + lua_pushnumber(L, c.move_resistance); + lua_setfield(L, -2, "move_resistance"); + lua_pushboolean(L, c.liquid_move_physics); + lua_setfield(L, -2, "liquid_move_physics"); } /******************************************************************************/ diff --git a/src/script/cpp_api/s_node.h b/src/script/cpp_api/s_node.h index 3f771c838..3c6a8445b 100644 --- a/src/script/cpp_api/s_node.h +++ b/src/script/cpp_api/s_node.h @@ -53,6 +53,7 @@ public: static struct EnumString es_ContentParamType[]; static struct EnumString es_ContentParamType2[]; static struct EnumString es_LiquidType[]; + static struct EnumString es_LiquidMoveType[]; static struct EnumString es_NodeBoxType[]; static struct EnumString es_TextureAlphaMode[]; }; diff --git a/src/script/lua_api/l_localplayer.cpp b/src/script/lua_api/l_localplayer.cpp index 9f3569ecc..bdbe98cb0 100644 --- a/src/script/lua_api/l_localplayer.cpp +++ b/src/script/lua_api/l_localplayer.cpp @@ -128,11 +128,11 @@ int LuaLocalPlayer::l_is_in_liquid_stable(lua_State *L) return 1; } -int LuaLocalPlayer::l_get_liquid_viscosity(lua_State *L) +int LuaLocalPlayer::l_get_move_resistance(lua_State *L) { LocalPlayer *player = getobject(L, 1); - lua_pushinteger(L, player->liquid_viscosity); + lua_pushinteger(L, player->move_resistance); return 1; } @@ -466,7 +466,6 @@ const luaL_Reg LuaLocalPlayer::methods[] = { luamethod(LuaLocalPlayer, is_touching_ground), luamethod(LuaLocalPlayer, is_in_liquid), luamethod(LuaLocalPlayer, is_in_liquid_stable), - luamethod(LuaLocalPlayer, get_liquid_viscosity), luamethod(LuaLocalPlayer, is_climbing), luamethod(LuaLocalPlayer, swimming_vertical), luamethod(LuaLocalPlayer, get_physics_override), @@ -488,5 +487,7 @@ const luaL_Reg LuaLocalPlayer::methods[] = { luamethod(LuaLocalPlayer, hud_change), luamethod(LuaLocalPlayer, hud_get), + luamethod(LuaLocalPlayer, get_move_resistance), + {0, 0} }; diff --git a/src/script/lua_api/l_localplayer.h b/src/script/lua_api/l_localplayer.h index 4413f2bdb..041545a49 100644 --- a/src/script/lua_api/l_localplayer.h +++ b/src/script/lua_api/l_localplayer.h @@ -51,7 +51,6 @@ private: static int l_is_touching_ground(lua_State *L); static int l_is_in_liquid(lua_State *L); static int l_is_in_liquid_stable(lua_State *L); - static int l_get_liquid_viscosity(lua_State *L); static int l_is_climbing(lua_State *L); static int l_swimming_vertical(lua_State *L); @@ -96,6 +95,8 @@ private: // hud_get(self, id) static int l_hud_get(lua_State *L); + static int l_get_move_resistance(lua_State *L); + LocalPlayer *m_localplayer = nullptr; public: -- cgit v1.2.3 From 982e03f60dc95cb2605a4a1c6520b604f85dd1d0 Mon Sep 17 00:00:00 2001 From: x2048 Date: Fri, 1 Oct 2021 16:21:53 +0200 Subject: Improvements to colored shadows (#11516) --- client/shaders/nodes_shader/opengl_fragment.glsl | 9 +++++++-- client/shaders/object_shader/opengl_fragment.glsl | 6 +++++- client/shaders/shadow_shaders/pass1_trans_fragment.glsl | 7 ++++++- client/shaders/shadow_shaders/pass1_trans_vertex.glsl | 7 +++++++ src/client/clientmap.cpp | 5 ++++- 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 87ef9af7d..e21890710 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -489,7 +489,11 @@ void main(void) if (distance_rate > 1e-7) { #ifdef COLORED_SHADOWS - vec4 visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + vec4 visibility; + if (cosLight > 0.0) + visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + visibility = vec4(1.0, 0.0, 0.0, 0.0); shadow_int = visibility.r; shadow_color = visibility.gba; #else @@ -507,7 +511,8 @@ void main(void) shadow_int = 1.0 - (shadow_int * f_adj_shadow_strength); - col.rgb = mix(shadow_color,col.rgb,shadow_int)*shadow_int; + // apply shadow (+color) as a factor to the material color + col.rgb = col.rgb * (1.0 - (1.0 - shadow_color) * (1.0 - pow(shadow_int, 2.0))); // col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r; #endif diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 9a0b90f15..3390e7227 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -351,7 +351,11 @@ void main(void) vec3 posLightSpace = getLightSpacePosition(); #ifdef COLORED_SHADOWS - vec4 visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + vec4 visibility; + if (cosLight > 0.0) + visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + visibility = vec4(1.0, 0.0, 0.0, 0.0); shadow_int = visibility.r; shadow_color = visibility.gba; #else diff --git a/client/shaders/shadow_shaders/pass1_trans_fragment.glsl b/client/shaders/shadow_shaders/pass1_trans_fragment.glsl index 9f9e5be8c..032cd9379 100644 --- a/client/shaders/shadow_shaders/pass1_trans_fragment.glsl +++ b/client/shaders/shadow_shaders/pass1_trans_fragment.glsl @@ -2,6 +2,8 @@ uniform sampler2D ColorMapSampler; varying vec4 tPos; #ifdef COLORED_SHADOWS +varying vec3 varColor; + // c_precision of 128 fits within 7 base-10 digits const float c_precision = 128.0; const float c_precisionp1 = c_precision + 1.0; @@ -30,7 +32,10 @@ void main() //col.rgb = col.a == 1.0 ? vec3(1.0) : col.rgb; #ifdef COLORED_SHADOWS - float packedColor = packColor(mix(col.rgb, black, col.a)); + col.rgb *= varColor.rgb; + // alpha 0.0 results in all-white, 0.5 means full color, 1.0 means all black + // resulting color is used as a factor in the final shader + float packedColor = packColor(mix(mix(vec3(1.0), col.rgb, 2.0 * clamp(col.a, 0.0, 0.5)), black, 2.0 * clamp(col.a - 0.5, 0.0, 0.5))); gl_FragColor = vec4(depth, packedColor, 0.0,1.0); #else gl_FragColor = vec4(depth, 0.0, 0.0, 1.0); diff --git a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl index ca59f2796..0a9efe450 100644 --- a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl @@ -1,5 +1,8 @@ uniform mat4 LightMVP; // world matrix varying vec4 tPos; +#ifdef COLORED_SHADOWS +varying vec3 varColor; +#endif const float bias0 = 0.9; const float zPersFactor = 0.5; @@ -23,4 +26,8 @@ void main() gl_Position = vec4(tPos.xyz, 1.0); gl_TexCoord[0].st = gl_MultiTexCoord0.st; + +#ifdef COLORED_SHADOWS + varColor = gl_Color.rgb; +#endif } diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index 7cde085c8..1a024e464 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -461,7 +461,10 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) layer.Texture = shadow->get_texture(); layer.TextureWrapU = video::E_TEXTURE_CLAMP::ETC_CLAMP_TO_EDGE; layer.TextureWrapV = video::E_TEXTURE_CLAMP::ETC_CLAMP_TO_EDGE; - layer.TrilinearFilter = true; + // Do not enable filter on shadow texture to avoid visual artifacts + // with colored shadows. + // Filtering is done in shader code anyway + layer.TrilinearFilter = false; } driver->setMaterial(material); ++material_swaps; -- cgit v1.2.3 From d7e7ade0f61a0f5e05d889ffbc7d9a878148a461 Mon Sep 17 00:00:00 2001 From: Pedro Gimeno Date: Sat, 3 Apr 2021 22:51:09 +0200 Subject: Add an option `-t` to force text output in /help This also improves detection of whether formspecs are available. --- builtin/common/chatcommands.lua | 87 +++++++++++++++++++++++++------- builtin/common/information_formspecs.lua | 32 +++--------- 2 files changed, 75 insertions(+), 44 deletions(-) diff --git a/builtin/common/chatcommands.lua b/builtin/common/chatcommands.lua index c945e7bdb..21417e42b 100644 --- a/builtin/common/chatcommands.lua +++ b/builtin/common/chatcommands.lua @@ -6,6 +6,40 @@ local S = core.get_translator("__builtin") core.registered_chatcommands = {} +-- Interpret the parameters of a command, separating options and arguments. +-- Input: parameters of a command +-- Returns: opts, args +-- opts is a string of option letters, or false on error +-- args is an array with the non-option arguments in order, or an error message +-- Example: for this command line: +-- /command a b -cd e f -g +-- the function would receive: +-- a b -cd e f -g +-- and it would return: +-- "cdg", {"a", "b", "e", "f"} +-- Negative numbers are taken as arguments. Long options (--option) are +-- currently rejected as reserved. +local function getopts(param) + local opts = "" + local args = {} + for match in param:gmatch("%S+") do + if match:byte(1) == 45 then -- 45 = '-' + local second = match:byte(2) + if second == 45 then + return false, S("Flags beginning with -- are reserved") + elseif second and (second < 48 or second > 57) then -- 48 = '0', 57 = '9' + opts = opts .. match:sub(2) + else + -- numeric, add it to args + args[#args + 1] = match + end + else + args[#args + 1] = match + end + end + return opts, args +end + function core.register_chatcommand(cmd, def) def = def or {} def.params = def.params or "" @@ -33,22 +67,30 @@ function core.override_chatcommand(name, redefinition) core.registered_chatcommands[name] = chatcommand end +local function format_help_line(cmd, def) + local cmd_marker = INIT == "client" and "." or "/" + local msg = core.colorize("#00ffff", cmd_marker .. cmd) + if def.params and def.params ~= "" then + msg = msg .. " " .. def.params + end + if def.description and def.description ~= "" then + msg = msg .. ": " .. def.description + end + return msg +end + local function do_help_cmd(name, param) - local function format_help_line(cmd, def) - local cmd_marker = "/" - if INIT == "client" then - cmd_marker = "." - end - local msg = core.colorize("#00ffff", cmd_marker .. cmd) - if def.params and def.params ~= "" then - msg = msg .. " " .. def.params - end - if def.description and def.description ~= "" then - msg = msg .. ": " .. def.description - end - return msg + local opts, args = getopts(param) + if not opts then + return false, args + end + if #args > 1 then + return false, S("Too many arguments, try using just /help ") end - if param == "" then + local use_gui = INIT ~= "client" and core.get_player_by_name(name) + use_gui = use_gui and not opts:find("t") + + if #args == 0 and not use_gui then local cmds = {} for cmd, def in pairs(core.registered_chatcommands) do if INIT == "client" or core.check_player_privs(name, def.privs) then @@ -71,7 +113,10 @@ local function do_help_cmd(name, param) .. "everything.") end return true, msg - elseif param == "all" then + elseif #args == 0 or (args[1] == "all" and use_gui) then + core.show_general_help_formspec(name) + return true + elseif args[1] == "all" then local cmds = {} for cmd, def in pairs(core.registered_chatcommands) do if INIT == "client" or core.check_player_privs(name, def.privs) then @@ -86,7 +131,11 @@ local function do_help_cmd(name, param) msg = core.gettext("Available commands:") end return true, msg.."\n"..table.concat(cmds, "\n") - elseif INIT == "game" and param == "privs" then + elseif INIT == "game" and args[1] == "privs" then + if use_gui then + core.show_privs_help_formspec(name) + return true + end local privs = {} for priv, def in pairs(core.registered_privileges) do privs[#privs + 1] = priv .. ": " .. def.description @@ -94,7 +143,7 @@ local function do_help_cmd(name, param) table.sort(privs) return true, S("Available privileges:").."\n"..table.concat(privs, "\n") else - local cmd = param + local cmd = args[1] local def = core.registered_chatcommands[cmd] if not def then local msg @@ -120,8 +169,8 @@ if INIT == "client" then }) else core.register_chatcommand("help", { - params = S("[all | privs | ]"), - description = S("Get help for commands or list privileges"), + params = S("[all | privs | ] [-t]"), + description = S("Get help for commands or list privileges (-t: output in chat)"), func = do_help_cmd, }) end diff --git a/builtin/common/information_formspecs.lua b/builtin/common/information_formspecs.lua index e814b4c43..3405263bf 100644 --- a/builtin/common/information_formspecs.lua +++ b/builtin/common/information_formspecs.lua @@ -125,30 +125,12 @@ core.register_on_player_receive_fields(function(player, formname, fields) end end) - -local help_command = core.registered_chatcommands["help"] -local old_help_func = help_command.func - -help_command.func = function(name, param) - local admin = core.settings:get("name") - - -- If the admin ran help, put the output in the chat buffer as well to - -- work with the server terminal - if param == "privs" then - core.show_formspec(name, "__builtin:help_privs", - build_privs_formspec(name)) - if name ~= admin then - return true - end - end - if param == "" or param == "all" then - core.show_formspec(name, "__builtin:help_cmds", - build_chatcommands_formspec(name)) - if name ~= admin then - return true - end - end - - return old_help_func(name, param) +function core.show_general_help_formspec(name) + core.show_formspec(name, "__builtin:help_cmds", + build_chatcommands_formspec(name)) end +function core.show_privs_help_formspec(name) + core.show_formspec(name, "__builtin:help_privs", + build_privs_formspec(name)) +end -- cgit v1.2.3 From 4fca601e0cf74ce642e4e49ca7d4fe3e59915846 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 5 Oct 2021 12:35:55 +0000 Subject: Add get_server_max_lag() (#11671) --- doc/lua_api.txt | 2 ++ src/script/lua_api/l_server.cpp | 12 ++++++++++++ src/script/lua_api/l_server.h | 3 +++ 3 files changed, 17 insertions(+) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 9efe1afe7..e6cabb68e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5647,6 +5647,8 @@ Server a player joined. * This function may be overwritten by mods to customize the status message. * `minetest.get_server_uptime()`: returns the server uptime in seconds +* `minetest.get_server_max_lag()`: returns the current maximum lag + of the server in seconds or nil if server is not fully loaded yet * `minetest.remove_player(name)`: remove player from database (if they are not connected). * As auth data is not removed, minetest.player_exists will continue to diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 473faaa14..6438fa6fd 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -57,6 +57,17 @@ int ModApiServer::l_get_server_uptime(lua_State *L) return 1; } +// get_server_max_lag() +int ModApiServer::l_get_server_max_lag(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + ServerEnvironment *s_env = dynamic_cast(getEnv(L)); + if (!s_env) + lua_pushnil(L); + else + lua_pushnumber(L, s_env->getMaxLagEstimate()); + return 1; +} // print(text) int ModApiServer::l_print(lua_State *L) @@ -512,6 +523,7 @@ void ModApiServer::Initialize(lua_State *L, int top) API_FCT(request_shutdown); API_FCT(get_server_status); API_FCT(get_server_uptime); + API_FCT(get_server_max_lag); API_FCT(get_worldpath); API_FCT(is_singleplayer); diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index c688e494b..a6f709787 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -33,6 +33,9 @@ private: // get_server_uptime() static int l_get_server_uptime(lua_State *L); + // get_server_max_lag() + static int l_get_server_max_lag(lua_State *L); + // get_worldpath() static int l_get_worldpath(lua_State *L); -- cgit v1.2.3 From 5aa95fef102db02aa4b2f4a5c2b59ac985a54cef Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 5 Oct 2021 08:38:33 -0400 Subject: Make MetaDataRef:get return nil instead of nothing (#11666) --- src/script/lua_api/l_metadata.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/script/lua_api/l_metadata.cpp b/src/script/lua_api/l_metadata.cpp index 21002e6a7..d00cb4daa 100644 --- a/src/script/lua_api/l_metadata.cpp +++ b/src/script/lua_api/l_metadata.cpp @@ -82,9 +82,10 @@ int MetaDataRef::l_get(lua_State *L) std::string str; if (meta->getStringToRef(name, str)) { lua_pushlstring(L, str.c_str(), str.size()); - return 1; + } else { + lua_pushnil(L); } - return 0; + return 1; } // get_string(self, name) -- cgit v1.2.3 From bc71622d2121347ad6dbbe3c174ad485fe1a8f8c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 5 Oct 2021 19:53:47 +0000 Subject: Fix crash when calling remove/kick/ban_player on start (#11672) --- src/script/lua_api/l_server.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 6438fa6fd..476f74c9c 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -293,8 +293,10 @@ int ModApiServer::l_ban_player(lua_State *L) { NO_MAP_LOCK_REQUIRED; - Server *server = getServer(L); + if (!getEnv(L)) + throw LuaError("Can't ban player before server has started up"); + Server *server = getServer(L); const char *name = luaL_checkstring(L, 1); RemotePlayer *player = server->getEnv().getPlayer(name); if (!player) { @@ -312,6 +314,10 @@ int ModApiServer::l_ban_player(lua_State *L) int ModApiServer::l_kick_player(lua_State *L) { NO_MAP_LOCK_REQUIRED; + + if (!getEnv(L)) + throw LuaError("Can't kick player before server has started up"); + const char *name = luaL_checkstring(L, 1); std::string message("Kicked"); if (lua_isstring(L, 2)) @@ -334,7 +340,8 @@ int ModApiServer::l_remove_player(lua_State *L) NO_MAP_LOCK_REQUIRED; std::string name = luaL_checkstring(L, 1); ServerEnvironment *s_env = dynamic_cast(getEnv(L)); - assert(s_env); + if (!s_env) + throw LuaError("Can't remove player before server has started up"); RemotePlayer *player = s_env->getPlayer(name.c_str()); if (!player) -- cgit v1.2.3 From b4b9bee5f2a903f1677f12d71ebb644052877381 Mon Sep 17 00:00:00 2001 From: lhofhansl Date: Tue, 5 Oct 2021 12:54:01 -0700 Subject: Reduce shadow jitter (#11668) --- src/client/shadows/dynamicshadows.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/client/shadows/dynamicshadows.cpp b/src/client/shadows/dynamicshadows.cpp index 0c7eea0e7..6ef5a4f1d 100644 --- a/src/client/shadows/dynamicshadows.cpp +++ b/src/client/shadows/dynamicshadows.cpp @@ -65,24 +65,7 @@ void DirectionalLight::createSplitMatrices(const Camera *cam) // boundVec.getLength(); float vvolume = radius * 2.0f; - float texelsPerUnit = getMapResolution() / vvolume; - m4f mTexelScaling; - mTexelScaling.setScale(texelsPerUnit); - - m4f mLookAt, mLookAtInv; - - mLookAt.buildCameraLookAtMatrixLH(v3f(0.0f, 0.0f, 0.0f), -direction, v3f(0.0f, 1.0f, 0.0f)); - - mLookAt *= mTexelScaling; - mLookAtInv = mLookAt; - mLookAtInv.makeInverse(); - v3f frustumCenter = newCenter; - mLookAt.transformVect(frustumCenter); - frustumCenter.X = floorf(frustumCenter.X); // clamp to texel increment - frustumCenter.Y = floorf(frustumCenter.Y); // clamp to texel increment - frustumCenter.Z = floorf(frustumCenter.Z); - mLookAtInv.transformVect(frustumCenter); // probar radius multipliacdor en funcion del I, a menor I mas multiplicador v3f eye_displacement = direction * vvolume; -- cgit v1.2.3 From 53e126ac49807d066328377c7c06352b0fc1a380 Mon Sep 17 00:00:00 2001 From: HybridDog <3192173+HybridDog@users.noreply.github.com> Date: Tue, 5 Oct 2021 21:54:13 +0200 Subject: List only jpg and png as screenshot format options (#11675) The other formats are no longer supported in Minetest Irrlicht. --- builtin/settingtypes.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 9048d4d86..af4f5eaa6 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -614,7 +614,7 @@ shadow_poisson_filter (Poisson filtering) bool true # but also uses more resources. shadow_filters (Shadow filter quality) enum 1 0,1,2 -# Enable colored shadows. +# Enable colored shadows. # On true translucent nodes cast colored shadows. This is expensive. shadow_map_color (Colored shadows) bool false @@ -937,7 +937,7 @@ chat_font_size (Chat font size) int 0 screenshot_path (Screenshot folder) path screenshots # Format of screenshots. -screenshot_format (Screenshot format) enum png png,jpg,bmp,pcx,ppm,tga +screenshot_format (Screenshot format) enum png png,jpg # Screenshot quality. Only used for JPEG format. # 1 means worst quality; 100 means best quality. -- cgit v1.2.3 From 9fab5d594cab4c0a027f0aecf356382f3a37c1de Mon Sep 17 00:00:00 2001 From: emixa-d <85313564+emixa-d@users.noreply.github.com> Date: Wed, 6 Oct 2021 22:19:41 +0000 Subject: Add "MINETEST_MOD_PATH" environment variable (#11515) This adds an environment variable MINETEST_MOD_PATH. When it exists, Minetest will look there for mods in addition to ~/.minetest/mods/. --- builtin/mainmenu/pkgmgr.lua | 8 +++----- doc/menu_lua_api.txt | 8 +++++++- doc/minetest.6 | 3 +++ src/content/subgames.cpp | 14 ++++++++++++++ src/content/subgames.h | 2 ++ src/script/lua_api/l_mainmenu.cpp | 17 +++++++++++++++++ src/script/lua_api/l_mainmenu.h | 2 ++ src/unittest/CMakeLists.txt | 1 + src/unittest/test_config.h.in | 1 + src/unittest/test_mod/test_mod/init.lua | 1 + src/unittest/test_mod/test_mod/mod.conf | 2 ++ src/unittest/test_servermodmanager.cpp | 21 +++++++++++++++++++++ 12 files changed, 74 insertions(+), 6 deletions(-) create mode 100644 src/unittest/test_mod/test_mod/init.lua create mode 100644 src/unittest/test_mod/test_mod/mod.conf diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index 787936e31..76d4a4123 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -682,11 +682,9 @@ function pkgmgr.preparemodlist(data) local game_mods = {} --read global mods - local modpath = core.get_modpath() - - if modpath ~= nil and - modpath ~= "" then - get_mods(modpath,global_mods) + local modpaths = core.get_modpaths() + for _, modpath in ipairs(modpaths) do + get_mods(modpath, global_mods) end for i=1,#global_mods,1 do diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index f4dfff261..b4b6eaba2 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -219,7 +219,13 @@ Package - content which is downloadable from the content db, may or may not be i * returns path to global user data, the directory that contains user-provided mods, worlds, games, and texture packs. * core.get_modpath() (possible in async calls) - * returns path to global modpath + * returns path to global modpath, where mods can be installed +* core.get_modpaths() (possible in async calls) + * returns list of paths to global modpaths, where mods have been installed + + The difference with "core.get_modpath" is that no mods should be installed in these + directories by Minetest -- they might be read-only. + * core.get_clientmodpath() (possible in async calls) * returns path to global client-side modpath * core.get_gamepath() (possible in async calls) diff --git a/doc/minetest.6 b/doc/minetest.6 index bac70fe1a..42ed1a45f 100644 --- a/doc/minetest.6 +++ b/doc/minetest.6 @@ -119,6 +119,9 @@ Display an interactive terminal over ncurses during execution. .TP .B MINETEST_SUBGAME_PATH Colon delimited list of directories to search for games. +.TP +.B MINETEST_MOD_PATH +Colon delimited list of directories to search for mods. .SH BUGS Please report all bugs at https://github.com/minetest/minetest/issues. diff --git a/src/content/subgames.cpp b/src/content/subgames.cpp index e9dc609b0..30447c838 100644 --- a/src/content/subgames.cpp +++ b/src/content/subgames.cpp @@ -113,6 +113,10 @@ SubgameSpec findSubgame(const std::string &id) if (user != share || user_game) mods_paths.insert(user + DIR_DELIM + "mods"); + for (const std::string &mod_path : getEnvModPaths()) { + mods_paths.insert(mod_path); + } + // Get meta std::string conf_path = game_path + DIR_DELIM + "game.conf"; Settings conf; @@ -384,3 +388,13 @@ void loadGameConfAndInitWorld(const std::string &path, const std::string &name, if (new_game_settings) delete game_settings; } + +std::vector getEnvModPaths() +{ + const char *c_mod_path = getenv("MINETEST_MOD_PATH"); + std::vector paths; + Strfnd search_paths(c_mod_path ? c_mod_path : ""); + while (!search_paths.at_end()) + paths.push_back(search_paths.next(PATH_DELIM)); + return paths; +} diff --git a/src/content/subgames.h b/src/content/subgames.h index 60392639b..4a50803e8 100644 --- a/src/content/subgames.h +++ b/src/content/subgames.h @@ -58,6 +58,8 @@ SubgameSpec findWorldSubgame(const std::string &world_path); std::set getAvailableGameIds(); std::vector getAvailableGames(); +// Get the list of paths to mods in the environment variable $MINETEST_MOD_PATH +std::vector getEnvModPaths(); bool getWorldExists(const std::string &world_path); //! Try to get the displayed name of a world diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 6e9a5c34f..57fddc0be 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -502,6 +502,21 @@ int ModApiMainMenu::l_get_modpath(lua_State *L) return 1; } +/******************************************************************************/ +int ModApiMainMenu::l_get_modpaths(lua_State *L) +{ + int index = 1; + lua_newtable(L); + ModApiMainMenu::l_get_modpath(L); + lua_rawseti(L, -2, index); + for (const std::string &component : getEnvModPaths()) { + index++; + lua_pushstring(L, component.c_str()); + lua_rawseti(L, -2, index); + } + return 1; +} + /******************************************************************************/ int ModApiMainMenu::l_get_clientmodpath(lua_State *L) { @@ -856,6 +871,7 @@ void ModApiMainMenu::Initialize(lua_State *L, int top) API_FCT(get_mapgen_names); API_FCT(get_user_path); API_FCT(get_modpath); + API_FCT(get_modpaths); API_FCT(get_clientmodpath); API_FCT(get_gamepath); API_FCT(get_texturepath); @@ -889,6 +905,7 @@ void ModApiMainMenu::InitializeAsync(lua_State *L, int top) API_FCT(get_mapgen_names); API_FCT(get_user_path); API_FCT(get_modpath); + API_FCT(get_modpaths); API_FCT(get_clientmodpath); API_FCT(get_gamepath); API_FCT(get_texturepath); diff --git a/src/script/lua_api/l_mainmenu.h b/src/script/lua_api/l_mainmenu.h index ec2d20da2..781185425 100644 --- a/src/script/lua_api/l_mainmenu.h +++ b/src/script/lua_api/l_mainmenu.h @@ -112,6 +112,8 @@ private: static int l_get_modpath(lua_State *L); + static int l_get_modpaths(lua_State *L); + static int l_get_clientmodpath(lua_State *L); static int l_get_gamepath(lua_State *L); diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index 5703b8906..52f870901 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -44,6 +44,7 @@ set (UNITTEST_CLIENT_SRCS set (TEST_WORLDDIR ${CMAKE_CURRENT_SOURCE_DIR}/test_world) set (TEST_SUBGAME_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../games/devtest) +set (TEST_MOD_PATH ${CMAKE_CURRENT_SOURCE_DIR}/test_mod) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/test_config.h.in" diff --git a/src/unittest/test_config.h.in b/src/unittest/test_config.h.in index 36850b00d..50d2398e4 100644 --- a/src/unittest/test_config.h.in +++ b/src/unittest/test_config.h.in @@ -4,3 +4,4 @@ #define TEST_WORLDDIR "@TEST_WORLDDIR@" #define TEST_SUBGAME_PATH "@TEST_SUBGAME_PATH@" +#define TEST_MOD_PATH "@TEST_MOD_PATH@" diff --git a/src/unittest/test_mod/test_mod/init.lua b/src/unittest/test_mod/test_mod/init.lua new file mode 100644 index 000000000..724a863f5 --- /dev/null +++ b/src/unittest/test_mod/test_mod/init.lua @@ -0,0 +1 @@ +-- deliberately empty diff --git a/src/unittest/test_mod/test_mod/mod.conf b/src/unittest/test_mod/test_mod/mod.conf new file mode 100644 index 000000000..56c64b2d8 --- /dev/null +++ b/src/unittest/test_mod/test_mod/mod.conf @@ -0,0 +1,2 @@ +name = test_mod +description = A mod doing nothing, to test if MINETEST_MOD_PATH is recognised diff --git a/src/unittest/test_servermodmanager.cpp b/src/unittest/test_servermodmanager.cpp index e3edb0c32..4c473d8b5 100644 --- a/src/unittest/test_servermodmanager.cpp +++ b/src/unittest/test_servermodmanager.cpp @@ -48,14 +48,20 @@ static TestServerModManager g_test_instance; void TestServerModManager::runTests(IGameDef *gamedef) { const char *saved_env_mt_subgame_path = getenv("MINETEST_SUBGAME_PATH"); + const char *saved_env_mt_mod_path = getenv("MINETEST_MOD_PATH"); #ifdef WIN32 { std::string subgame_path("MINETEST_SUBGAME_PATH="); subgame_path.append(TEST_SUBGAME_PATH); _putenv(subgame_path.c_str()); + + std::string mod_path("MINETEST_MOD_PATH="); + mod_path.append(TEST_MOD_PATH); + _putenv(mod_path.c_str()); } #else setenv("MINETEST_SUBGAME_PATH", TEST_SUBGAME_PATH, 1); + setenv("MINETEST_MOD_PATH", TEST_MOD_PATH, 1); #endif TEST(testCreation); @@ -75,12 +81,21 @@ void TestServerModManager::runTests(IGameDef *gamedef) if (saved_env_mt_subgame_path) subgame_path.append(saved_env_mt_subgame_path); _putenv(subgame_path.c_str()); + + std::string mod_path("MINETEST_MOD_PATH="); + if (saved_env_mt_mod_path) + mod_path.append(saved_env_mt_mod_path); + _putenv(mod_path.c_str()); } #else if (saved_env_mt_subgame_path) setenv("MINETEST_SUBGAME_PATH", saved_env_mt_subgame_path, 1); else unsetenv("MINETEST_SUBGAME_PATH"); + if (saved_env_mt_mod_path) + setenv("MINETEST_MOD_PATH", saved_env_mt_mod_path, 1); + else + unsetenv("MINETEST_MOD_PATH"); #endif } @@ -89,6 +104,7 @@ void TestServerModManager::testCreation() std::string path = std::string(TEST_WORLDDIR) + DIR_DELIM + "world.mt"; Settings world_config; world_config.set("gameid", "devtest"); + world_config.set("load_mod_test_mod", "true"); UASSERTEQ(bool, world_config.updateConfigFile(path.c_str()), true); ServerModManager sm(TEST_WORLDDIR); } @@ -119,16 +135,21 @@ void TestServerModManager::testGetMods() UASSERTEQ(bool, mods.empty(), false); // Ensure we found basenodes mod (part of devtest) + // and test_mod (for testing MINETEST_MOD_PATH). bool default_found = false; + bool test_mod_found = false; for (const auto &m : mods) { if (m.name == "basenodes") default_found = true; + if (m.name == "test_mod") + test_mod_found = true; // Verify if paths are not empty UASSERTEQ(bool, m.path.empty(), false); } UASSERTEQ(bool, default_found, true); + UASSERTEQ(bool, test_mod_found, true); } void TestServerModManager::testGetModspec() -- cgit v1.2.3 From 2d5b7b5fb48d182fbab8e4ad69e9a552a3c07c6e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 19 Sep 2021 16:55:35 +0200 Subject: Make fs::extractZipFile thread-safe --- src/filesys.cpp | 102 +++++++++++++++++++++----------------- src/filesys.h | 6 ++- src/script/lua_api/l_mainmenu.cpp | 8 +-- 3 files changed, 65 insertions(+), 51 deletions(-) diff --git a/src/filesys.cpp b/src/filesys.cpp index a07370c0e..0972acbf9 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -28,11 +28,18 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "log.h" #include "config.h" #include "porting.h" +#ifndef SERVER +#include "irr_ptr.h" +#endif namespace fs { -#ifdef _WIN32 // WINDOWS +#ifdef _WIN32 + +/*********** + * Windows * + ***********/ #define _WIN32_WINNT 0x0501 #include @@ -201,7 +208,11 @@ std::string CreateTempFile() return path; } -#else // POSIX +#else + +/********* + * POSIX * + *********/ #include #include @@ -392,6 +403,10 @@ std::string CreateTempFile() #endif +/**************************** + * portable implementations * + ****************************/ + void GetRecursiveDirs(std::vector &dirs, const std::string &dir) { static const std::set chars_to_ignore = { '_', '.' }; @@ -753,69 +768,66 @@ bool safeWriteToFile(const std::string &path, const std::string &content) return true; } +#ifndef SERVER bool extractZipFile(io::IFileSystem *fs, const char *filename, const std::string &destination) { - if (!fs->addFileArchive(filename, false, false, io::EFAT_ZIP)) { + // Be careful here not to touch the global file hierarchy in Irrlicht + // since this function needs to be thread-safe! + + io::IArchiveLoader *zip_loader = nullptr; + for (u32 i = 0; i < fs->getArchiveLoaderCount(); i++) { + if (fs->getArchiveLoader(i)->isALoadableFileFormat(io::EFAT_ZIP)) { + zip_loader = fs->getArchiveLoader(i); + break; + } + } + if (!zip_loader) { + warningstream << "fs::extractZipFile(): Irrlicht said it doesn't support ZIPs." << std::endl; return false; } - sanity_check(fs->getFileArchiveCount() > 0); - - /**********************************************************************/ - /* WARNING this is not threadsafe!! */ - /**********************************************************************/ - io::IFileArchive* opened_zip = fs->getFileArchive(fs->getFileArchiveCount() - 1); - + irr_ptr opened_zip(zip_loader->createArchive(filename, false, false)); const io::IFileList* files_in_zip = opened_zip->getFileList(); - unsigned int number_of_files = files_in_zip->getFileCount(); - - for (unsigned int i=0; i < number_of_files; i++) { - std::string fullpath = destination; - fullpath += DIR_DELIM; + for (u32 i = 0; i < files_in_zip->getFileCount(); i++) { + std::string fullpath = destination + DIR_DELIM; fullpath += files_in_zip->getFullFileName(i).c_str(); std::string fullpath_dir = fs::RemoveLastPathComponent(fullpath); - if (!files_in_zip->isDirectory(i)) { - if (!fs::PathExists(fullpath_dir) && !fs::CreateAllDirs(fullpath_dir)) { - fs->removeFileArchive(fs->getFileArchiveCount()-1); - return false; - } - - io::IReadFile* toread = opened_zip->createAndOpenFile(i); + if (files_in_zip->isDirectory(i)) + continue; // ignore, we create dirs as necessary - FILE *targetfile = fopen(fullpath.c_str(),"wb"); + if (!fs::PathExists(fullpath_dir) && !fs::CreateAllDirs(fullpath_dir)) + return false; - if (targetfile == NULL) { - fs->removeFileArchive(fs->getFileArchiveCount()-1); - return false; - } + irr_ptr toread(opened_zip->createAndOpenFile(i)); - char read_buffer[1024]; - long total_read = 0; + std::ofstream os(fullpath.c_str(), std::ios::binary); + if (!os.good()) + return false; - while (total_read < toread->getSize()) { + char buffer[4096]; + long total_read = 0; - unsigned int bytes_read = - toread->read(read_buffer,sizeof(read_buffer)); - if ((bytes_read == 0 ) || - (fwrite(read_buffer, 1, bytes_read, targetfile) != bytes_read)) - { - fclose(targetfile); - fs->removeFileArchive(fs->getFileArchiveCount() - 1); - return false; - } - total_read += bytes_read; + while (total_read < toread->getSize()) { + long bytes_read = toread->read(buffer, sizeof(buffer)); + bool error = true; + if (bytes_read != 0) { + os.write(buffer, bytes_read); + error = os.fail(); } - - fclose(targetfile); + if (error) { + os.close(); + remove(fullpath.c_str()); + return false; + } + total_read += bytes_read; } - } - fs->removeFileArchive(fs->getFileArchiveCount() - 1); return true; } +#endif bool ReadFile(const std::string &path, std::string &out) { @@ -829,7 +841,7 @@ bool ReadFile(const std::string &path, std::string &out) is.seekg(0); is.read(&out[0], size); - return true; + return !is.fail(); } bool Rename(const std::string &from, const std::string &to) diff --git a/src/filesys.h b/src/filesys.h index f72cb0ba2..233e56bba 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -24,12 +24,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "exceptions.h" -#ifdef _WIN32 // WINDOWS +#ifdef _WIN32 #define DIR_DELIM "\\" #define DIR_DELIM_CHAR '\\' #define FILESYS_CASE_INSENSITIVE true #define PATH_DELIM ";" -#else // POSIX +#else #define DIR_DELIM "/" #define DIR_DELIM_CHAR '/' #define FILESYS_CASE_INSENSITIVE false @@ -133,7 +133,9 @@ const char *GetFilenameFromPath(const char *path); bool safeWriteToFile(const std::string &path, const std::string &content); +#ifndef SERVER bool extractZipFile(irr::io::IFileSystem *fs, const char *filename, const std::string &destination); +#endif bool ReadFile(const std::string &path, std::string &out); diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 57fddc0be..4cfbaec71 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -644,9 +644,9 @@ int ModApiMainMenu::l_extract_zip(lua_State *L) std::string absolute_destination = fs::RemoveRelativePathComponents(destination); if (ModApiMainMenu::mayModifyPath(absolute_destination)) { - auto rendering_engine = getGuiEngine(L)->m_rendering_engine; - fs::CreateAllDirs(absolute_destination); - lua_pushboolean(L, fs::extractZipFile(rendering_engine->get_filesystem(), zipfile, destination)); + auto fs = RenderingEngine::get_raw_device()->getFileSystem(); + bool ok = fs::extractZipFile(fs, zipfile, destination); + lua_pushboolean(L, ok); return 1; } @@ -916,7 +916,7 @@ void ModApiMainMenu::InitializeAsync(lua_State *L, int top) API_FCT(delete_dir); API_FCT(copy_dir); API_FCT(is_dir); - //API_FCT(extract_zip); //TODO remove dependency to GuiEngine + API_FCT(extract_zip); API_FCT(may_modify_path); API_FCT(download_file); API_FCT(get_min_supp_proto); -- cgit v1.2.3 From 2b5075f0e2a8223cdb07f000b7e8f874416ed3a8 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 19 Sep 2021 17:55:01 +0200 Subject: Move archive extraction in content store to async job --- builtin/common/misc_helpers.lua | 2 +- builtin/mainmenu/common.lua | 12 +----- builtin/mainmenu/dlg_contentstore.lua | 45 ++++++++++++++-------- builtin/mainmenu/pkgmgr.lua | 71 ----------------------------------- doc/menu_lua_api.txt | 4 +- src/script/lua_api/l_mainmenu.cpp | 12 ++++-- 6 files changed, 44 insertions(+), 102 deletions(-) diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index c2452fe00..f5f89acd7 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -532,7 +532,7 @@ if INIT == "mainmenu" then end end -if INIT == "client" or INIT == "mainmenu" then +if core.gettext then -- for client and mainmenu function fgettext_ne(text, ...) text = core.gettext(text) local arg = {n=select('#', ...), ...} diff --git a/builtin/mainmenu/common.lua b/builtin/mainmenu/common.lua index 6db351048..b36c9596a 100644 --- a/builtin/mainmenu/common.lua +++ b/builtin/mainmenu/common.lua @@ -119,17 +119,9 @@ function render_serverlist_row(spec) return table.concat(details, ",") end - --------------------------------------------------------------------------------- -os.tempfolder = function() - local temp = core.get_temp_path() - return temp .. DIR_DELIM .. "MT_" .. math.random(0, 10000) -end - +--------------------------------------------------------------------------------- os.tmpname = function() - local path = os.tempfolder() - io.open(path, "w"):close() - return path + error('do not use') -- instead use core.get_temp_path() end -------------------------------------------------------------------------------- diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index a3c72aee4..58421ef75 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -72,34 +72,52 @@ local function get_download_url(package, reason) end -local function download_package(param) - if core.download_file(param.url, param.filename) then +local function download_and_extract(param) + local package = param.package + + local filename = core.get_temp_path(true) + if filename == "" or not core.download_file(param.url, filename) then + core.log("error", "Downloading " .. dump(param.url) .. " failed") return { - filename = param.filename, - successful = true, + msg = fgettext("Failed to download $1", package.name) } + end + + local tempfolder = core.get_temp_path() + if tempfolder ~= "" then + tempfolder = tempfolder .. DIR_DELIM .. "MT_" .. math.random(1, 1024000) + if not core.extract_zip(filename, tempfolder) then + tempfolder = nil + end else - core.log("error", "downloading " .. dump(param.url) .. " failed") + tempfolder = nil + end + os.remove(filename) + if not tempfolder then return { - successful = false, + msg = fgettext("Install: Unsupported file type or broken archive"), } end + + return { + path = tempfolder + } end local function start_install(package, reason) local params = { package = package, url = get_download_url(package, reason), - filename = os.tempfolder() .. "_MODNAME_" .. package.name .. ".zip", } number_downloading = number_downloading + 1 local function callback(result) - if result.successful then - local path, msg = pkgmgr.install(package.type, - result.filename, package.name, - package.path) + if result.msg then + gamedata.errormessage = result.msg + else + local path, msg = pkgmgr.install_dir(package.type, result.path, package.name, package.path) + core.delete_dir(result.path) if not path then gamedata.errormessage = msg else @@ -137,9 +155,6 @@ local function start_install(package, reason) conf:write() end end - os.remove(result.filename) - else - gamedata.errormessage = fgettext("Failed to download $1", package.name) end package.downloading = false @@ -159,7 +174,7 @@ local function start_install(package, reason) package.queued = false package.downloading = true - if not core.handle_async(download_package, params, callback) then + if not core.handle_async(download_and_extract, params, callback) then core.log("error", "ERROR: async event failed") gamedata.errormessage = fgettext("Failed to download $1", package.name) return diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index 76d4a4123..d07dc019c 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -181,21 +181,6 @@ function pkgmgr.get_texture_packs() end -------------------------------------------------------------------------------- -function pkgmgr.extract(modfile) - if modfile.type == "zip" then - local tempfolder = os.tempfolder() - - if tempfolder ~= nil and - tempfolder ~= "" then - core.create_dir(tempfolder) - if core.extract_zip(modfile.name,tempfolder) then - return tempfolder - end - end - end - return nil -end - function pkgmgr.get_folder_type(path) local testfile = io.open(path .. DIR_DELIM .. "init.lua","r") if testfile ~= nil then @@ -657,23 +642,6 @@ function pkgmgr.install_dir(type, path, basename, targetpath) return targetpath, nil end --------------------------------------------------------------------------------- -function pkgmgr.install(type, modfilename, basename, dest) - local archive_info = pkgmgr.identify_filetype(modfilename) - local path = pkgmgr.extract(archive_info) - - if path == nil then - return nil, - fgettext("Install: file: \"$1\"", archive_info.name) .. "\n" .. - fgettext("Install: Unsupported file type \"$1\" or broken archive", - archive_info.type) - end - - local targetpath, msg = pkgmgr.install_dir(type, path, basename, dest) - core.delete_dir(path) - return targetpath, msg -end - -------------------------------------------------------------------------------- function pkgmgr.preparemodlist(data) local retval = {} @@ -817,45 +785,6 @@ function pkgmgr.refresh_globals() pkgmgr.global_mods:set_sortmode("alphabetic") end --------------------------------------------------------------------------------- -function pkgmgr.identify_filetype(name) - - if name:sub(-3):lower() == "zip" then - return { - name = name, - type = "zip" - } - end - - if name:sub(-6):lower() == "tar.gz" or - name:sub(-3):lower() == "tgz"then - return { - name = name, - type = "tgz" - } - end - - if name:sub(-6):lower() == "tar.bz2" then - return { - name = name, - type = "tbz" - } - end - - if name:sub(-2):lower() == "7z" then - return { - name = name, - type = "7z" - } - end - - return { - name = name, - type = "ukn" - } -end - - -------------------------------------------------------------------------------- function pkgmgr.find_by_gameid(gameid) for i=1,#pkgmgr.games,1 do diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index b4b6eaba2..9bc0c46bd 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -85,7 +85,9 @@ core.get_video_drivers() core.get_mapgen_names([include_hidden=false]) -> table of map generator algorithms registered in the core (possible in async calls) core.get_cache_path() -> path of cache -core.get_temp_path() -> path of temp folder +core.get_temp_path([param]) (possible in async calls) +^ param=true: returns path to a temporary file +^ otherwise: returns path to the temporary folder HTTP Requests diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 4cfbaec71..2a6a9c32d 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -563,7 +563,10 @@ int ModApiMainMenu::l_get_cache_path(lua_State *L) /******************************************************************************/ int ModApiMainMenu::l_get_temp_path(lua_State *L) { - lua_pushstring(L, fs::TempPath().c_str()); + if (lua_isnoneornil(L, 1) || !lua_toboolean(L, 1)) + lua_pushstring(L, fs::TempPath().c_str()); + else + lua_pushstring(L, fs::CreateTempFile().c_str()); return 1; } @@ -770,8 +773,9 @@ int ModApiMainMenu::l_get_video_drivers(lua_State *L) /******************************************************************************/ int ModApiMainMenu::l_gettext(lua_State *L) { - std::string text = strgettext(std::string(luaL_checkstring(L, 1))); - lua_pushstring(L, text.c_str()); + const char *srctext = luaL_checkstring(L, 1); + const char *text = *srctext ? gettext(srctext) : ""; + lua_pushstring(L, text); return 1; } @@ -921,5 +925,5 @@ void ModApiMainMenu::InitializeAsync(lua_State *L, int top) API_FCT(download_file); API_FCT(get_min_supp_proto); API_FCT(get_max_supp_proto); - //API_FCT(gettext); (gettext lib isn't threadsafe) + API_FCT(gettext); } -- cgit v1.2.3 From 6de8d77e17017cd5cc7b065d42566b6b1cd076cc Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 19 Sep 2021 18:16:53 +0200 Subject: Move instead of copy during content install if possible --- builtin/mainmenu/pkgmgr.lua | 8 ++------ src/filesys.cpp | 24 ++++++++++++++++++++++++ src/filesys.h | 4 ++++ src/script/lua_api/l_mainmenu.cpp | 30 ++++++++++++++---------------- 4 files changed, 44 insertions(+), 22 deletions(-) diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index d07dc019c..e83a93c91 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -546,11 +546,10 @@ function pkgmgr.install_dir(type, path, basename, targetpath) local from = basefolder and basefolder.path or path if targetpath then core.delete_dir(targetpath) - core.create_dir(targetpath) else targetpath = core.get_texturepath() .. DIR_DELIM .. basename end - if not core.copy_dir(from, targetpath) then + if not core.copy_dir(from, targetpath, false) then return nil, fgettext("Failed to install $1 to $2", basename, targetpath) end @@ -571,7 +570,6 @@ function pkgmgr.install_dir(type, path, basename, targetpath) -- Get destination name for modpack if targetpath then core.delete_dir(targetpath) - core.create_dir(targetpath) else local clean_path = nil if basename ~= nil then @@ -595,7 +593,6 @@ function pkgmgr.install_dir(type, path, basename, targetpath) if targetpath then core.delete_dir(targetpath) - core.create_dir(targetpath) else local targetfolder = basename if targetfolder == nil then @@ -621,14 +618,13 @@ function pkgmgr.install_dir(type, path, basename, targetpath) if targetpath then core.delete_dir(targetpath) - core.create_dir(targetpath) else targetpath = core.get_gamepath() .. DIR_DELIM .. basename end end -- Copy it - if not core.copy_dir(basefolder.path, targetpath) then + if not core.copy_dir(basefolder.path, targetpath, false) then return nil, fgettext("Failed to install $1 to $2", basename, targetpath) end diff --git a/src/filesys.cpp b/src/filesys.cpp index 0972acbf9..44f1c88b3 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -558,6 +558,30 @@ bool CopyDir(const std::string &source, const std::string &target) return false; } +bool MoveDir(const std::string &source, const std::string &target) +{ + infostream << "Moving \"" << source << "\" to \"" << target << "\"" << std::endl; + + // If target exists as empty folder delete, otherwise error + if (fs::PathExists(target)) { + if (rmdir(target.c_str()) != 0) { + errorstream << "MoveDir: target \"" << target + << "\" exists as file or non-empty folder" << std::endl; + return false; + } + } + + // Try renaming first which is instant + if (fs::Rename(source, target)) + return true; + + infostream << "MoveDir: rename not possible, will copy instead" << std::endl; + bool retval = fs::CopyDir(source, target); + if (retval) + retval &= fs::RecursiveDelete(source); + return retval; +} + bool PathStartsWith(const std::string &path, const std::string &prefix) { size_t pathsize = path.size(); diff --git a/src/filesys.h b/src/filesys.h index 233e56bba..3fa2524c3 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -106,6 +106,10 @@ bool CopyFileContents(const std::string &source, const std::string &target); // Omits files and subdirectories that start with a period bool CopyDir(const std::string &source, const std::string &target); +// Move directory and all subdirectories +// Behavior with files/subdirs that start with a period is undefined +bool MoveDir(const std::string &source, const std::string &target); + // Check if one path is prefix of another // For example, "/tmp" is a prefix of "/tmp" and "/tmp/file" but not "/tmp2" // Ignores case differences and '/' vs. '\\' on Windows diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 2a6a9c32d..3d80bdafa 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -606,26 +606,24 @@ int ModApiMainMenu::l_copy_dir(lua_State *L) const char *destination = luaL_checkstring(L, 2); bool keep_source = true; + if (!lua_isnoneornil(L, 3)) + keep_source = readParam(L, 3); - if ((!lua_isnone(L,3)) && - (!lua_isnil(L,3))) { - keep_source = readParam(L,3); - } - - std::string absolute_destination = fs::RemoveRelativePathComponents(destination); - std::string absolute_source = fs::RemoveRelativePathComponents(source); - - if ((ModApiMainMenu::mayModifyPath(absolute_destination))) { - bool retval = fs::CopyDir(absolute_source,absolute_destination); - - if (retval && (!keep_source)) { + std::string abs_destination = fs::RemoveRelativePathComponents(destination); + std::string abs_source = fs::RemoveRelativePathComponents(source); - retval &= fs::RecursiveDelete(absolute_source); - } - lua_pushboolean(L,retval); + if (!ModApiMainMenu::mayModifyPath(abs_destination) || + (!keep_source && !ModApiMainMenu::mayModifyPath(abs_source))) { + lua_pushboolean(L, false); return 1; } - lua_pushboolean(L,false); + + bool retval; + if (keep_source) + retval = fs::CopyDir(abs_source, abs_destination); + else + retval = fs::MoveDir(abs_source, abs_destination); + lua_pushboolean(L, retval); return 1; } -- cgit v1.2.3 From ecc6f4ba25cd49599922333a5f8d4b4ce368992d Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 12 Oct 2021 20:12:20 +0200 Subject: Remove a few unused functions reported by callcatcher (#11658) --- src/chat.cpp | 5 - src/chat.h | 2 - src/client/mesh.cpp | 589 ------------------------------------- src/client/mesh.h | 7 - src/clientiface.cpp | 25 -- src/clientiface.h | 1 - src/emerge.cpp | 17 -- src/emerge.h | 3 - src/inventory.cpp | 5 - src/inventory.h | 1 - src/map.cpp | 7 - src/map.h | 3 - src/mapblock.cpp | 25 -- src/mapblock.h | 14 - src/mapgen/mapgen_v6.cpp | 13 - src/mapgen/mapgen_v6.h | 4 +- src/noise.cpp | 45 --- src/noise.h | 9 - src/rollback.cpp | 6 - src/rollback.h | 1 - src/script/lua_api/l_inventory.cpp | 13 - src/script/lua_api/l_inventory.h | 2 - src/script/lua_api/l_nodemeta.cpp | 5 +- src/settings.cpp | 3 +- 24 files changed, 6 insertions(+), 799 deletions(-) diff --git a/src/chat.cpp b/src/chat.cpp index d8b577aab..92df038e8 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -142,11 +142,6 @@ u32 ChatBuffer::getRows() const return m_rows; } -void ChatBuffer::scrollTop() -{ - m_scroll = getTopScrollPos(); -} - void ChatBuffer::reformat(u32 cols, u32 rows) { if (cols == 0 || rows == 0) diff --git a/src/chat.h b/src/chat.h index 696d805eb..fc080f64b 100644 --- a/src/chat.h +++ b/src/chat.h @@ -110,8 +110,6 @@ public: void scrollAbsolute(s32 scroll); // Scroll to bottom of buffer (newest) void scrollBottom(); - // Scroll to top of buffer (oldest) - void scrollTop(); // Functions for keeping track of whether the lines were modified by any // preceding operations diff --git a/src/client/mesh.cpp b/src/client/mesh.cpp index e43139218..c56eba2e2 100644 --- a/src/client/mesh.cpp +++ b/src/client/mesh.cpp @@ -498,592 +498,3 @@ scene::IMesh* convertNodeboxesToMesh(const std::vector &boxes, } return dst_mesh; } - -struct vcache -{ - core::array tris; - float score; - s16 cachepos; - u16 NumActiveTris; -}; - -struct tcache -{ - u16 ind[3]; - float score; - bool drawn; -}; - -const u16 cachesize = 32; - -float FindVertexScore(vcache *v) -{ - const float CacheDecayPower = 1.5f; - const float LastTriScore = 0.75f; - const float ValenceBoostScale = 2.0f; - const float ValenceBoostPower = 0.5f; - const float MaxSizeVertexCache = 32.0f; - - if (v->NumActiveTris == 0) - { - // No tri needs this vertex! - return -1.0f; - } - - float Score = 0.0f; - int CachePosition = v->cachepos; - if (CachePosition < 0) - { - // Vertex is not in FIFO cache - no score. - } - else - { - if (CachePosition < 3) - { - // This vertex was used in the last triangle, - // so it has a fixed score. - Score = LastTriScore; - } - else - { - // Points for being high in the cache. - const float Scaler = 1.0f / (MaxSizeVertexCache - 3); - Score = 1.0f - (CachePosition - 3) * Scaler; - Score = powf(Score, CacheDecayPower); - } - } - - // Bonus points for having a low number of tris still to - // use the vert, so we get rid of lone verts quickly. - float ValenceBoost = powf(v->NumActiveTris, - -ValenceBoostPower); - Score += ValenceBoostScale * ValenceBoost; - - return Score; -} - -/* - A specialized LRU cache for the Forsyth algorithm. -*/ - -class f_lru -{ - -public: - f_lru(vcache *v, tcache *t): vc(v), tc(t) - { - for (int &i : cache) { - i = -1; - } - } - - // Adds this vertex index and returns the highest-scoring triangle index - u32 add(u16 vert, bool updatetris = false) - { - bool found = false; - - // Mark existing pos as empty - for (u16 i = 0; i < cachesize; i++) - { - if (cache[i] == vert) - { - // Move everything down - for (u16 j = i; j; j--) - { - cache[j] = cache[j - 1]; - } - - found = true; - break; - } - } - - if (!found) - { - if (cache[cachesize-1] != -1) - vc[cache[cachesize-1]].cachepos = -1; - - // Move everything down - for (u16 i = cachesize - 1; i; i--) - { - cache[i] = cache[i - 1]; - } - } - - cache[0] = vert; - - u32 highest = 0; - float hiscore = 0; - - if (updatetris) - { - // Update cache positions - for (u16 i = 0; i < cachesize; i++) - { - if (cache[i] == -1) - break; - - vc[cache[i]].cachepos = i; - vc[cache[i]].score = FindVertexScore(&vc[cache[i]]); - } - - // Update triangle scores - for (int i : cache) { - if (i == -1) - break; - - const u16 trisize = vc[i].tris.size(); - for (u16 t = 0; t < trisize; t++) - { - tcache *tri = &tc[vc[i].tris[t]]; - - tri->score = - vc[tri->ind[0]].score + - vc[tri->ind[1]].score + - vc[tri->ind[2]].score; - - if (tri->score > hiscore) - { - hiscore = tri->score; - highest = vc[i].tris[t]; - } - } - } - } - - return highest; - } - -private: - s32 cache[cachesize]; - vcache *vc; - tcache *tc; -}; - -/** -Vertex cache optimization according to the Forsyth paper: -http://home.comcast.net/~tom_forsyth/papers/fast_vert_cache_opt.html - -The function is thread-safe (read: you can optimize several meshes in different threads) - -\param mesh Source mesh for the operation. */ -scene::IMesh* createForsythOptimizedMesh(const scene::IMesh *mesh) -{ - if (!mesh) - return 0; - - scene::SMesh *newmesh = new scene::SMesh(); - newmesh->BoundingBox = mesh->getBoundingBox(); - - const u32 mbcount = mesh->getMeshBufferCount(); - - for (u32 b = 0; b < mbcount; ++b) - { - const scene::IMeshBuffer *mb = mesh->getMeshBuffer(b); - - if (mb->getIndexType() != video::EIT_16BIT) - { - //os::Printer::log("Cannot optimize a mesh with 32bit indices", ELL_ERROR); - newmesh->drop(); - return 0; - } - - const u32 icount = mb->getIndexCount(); - const u32 tcount = icount / 3; - const u32 vcount = mb->getVertexCount(); - const u16 *ind = mb->getIndices(); - - vcache *vc = new vcache[vcount]; - tcache *tc = new tcache[tcount]; - - f_lru lru(vc, tc); - - // init - for (u16 i = 0; i < vcount; i++) - { - vc[i].score = 0; - vc[i].cachepos = -1; - vc[i].NumActiveTris = 0; - } - - // First pass: count how many times a vert is used - for (u32 i = 0; i < icount; i += 3) - { - vc[ind[i]].NumActiveTris++; - vc[ind[i + 1]].NumActiveTris++; - vc[ind[i + 2]].NumActiveTris++; - - const u32 tri_ind = i/3; - tc[tri_ind].ind[0] = ind[i]; - tc[tri_ind].ind[1] = ind[i + 1]; - tc[tri_ind].ind[2] = ind[i + 2]; - } - - // Second pass: list of each triangle - for (u32 i = 0; i < tcount; i++) - { - vc[tc[i].ind[0]].tris.push_back(i); - vc[tc[i].ind[1]].tris.push_back(i); - vc[tc[i].ind[2]].tris.push_back(i); - - tc[i].drawn = false; - } - - // Give initial scores - for (u16 i = 0; i < vcount; i++) - { - vc[i].score = FindVertexScore(&vc[i]); - } - for (u32 i = 0; i < tcount; i++) - { - tc[i].score = - vc[tc[i].ind[0]].score + - vc[tc[i].ind[1]].score + - vc[tc[i].ind[2]].score; - } - - switch(mb->getVertexType()) - { - case video::EVT_STANDARD: - { - video::S3DVertex *v = (video::S3DVertex *) mb->getVertices(); - - scene::SMeshBuffer *buf = new scene::SMeshBuffer(); - buf->Material = mb->getMaterial(); - - buf->Vertices.reallocate(vcount); - buf->Indices.reallocate(icount); - - core::map sind; // search index for fast operation - typedef core::map::Node snode; - - // Main algorithm - u32 highest = 0; - u32 drawcalls = 0; - for (;;) - { - if (tc[highest].drawn) - { - bool found = false; - float hiscore = 0; - for (u32 t = 0; t < tcount; t++) - { - if (!tc[t].drawn) - { - if (tc[t].score > hiscore) - { - highest = t; - hiscore = tc[t].score; - found = true; - } - } - } - if (!found) - break; - } - - // Output the best triangle - u16 newind = buf->Vertices.size(); - - snode *s = sind.find(v[tc[highest].ind[0]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[0]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[0]], newind); - newind++; - } - else - { - buf->Indices.push_back(s->getValue()); - } - - s = sind.find(v[tc[highest].ind[1]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[1]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[1]], newind); - newind++; - } - else - { - buf->Indices.push_back(s->getValue()); - } - - s = sind.find(v[tc[highest].ind[2]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[2]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[2]], newind); - } - else - { - buf->Indices.push_back(s->getValue()); - } - - vc[tc[highest].ind[0]].NumActiveTris--; - vc[tc[highest].ind[1]].NumActiveTris--; - vc[tc[highest].ind[2]].NumActiveTris--; - - tc[highest].drawn = true; - - for (u16 j : tc[highest].ind) { - vcache *vert = &vc[j]; - for (u16 t = 0; t < vert->tris.size(); t++) - { - if (highest == vert->tris[t]) - { - vert->tris.erase(t); - break; - } - } - } - - lru.add(tc[highest].ind[0]); - lru.add(tc[highest].ind[1]); - highest = lru.add(tc[highest].ind[2], true); - drawcalls++; - } - - buf->setBoundingBox(mb->getBoundingBox()); - newmesh->addMeshBuffer(buf); - buf->drop(); - } - break; - case video::EVT_2TCOORDS: - { - video::S3DVertex2TCoords *v = (video::S3DVertex2TCoords *) mb->getVertices(); - - scene::SMeshBufferLightMap *buf = new scene::SMeshBufferLightMap(); - buf->Material = mb->getMaterial(); - - buf->Vertices.reallocate(vcount); - buf->Indices.reallocate(icount); - - core::map sind; // search index for fast operation - typedef core::map::Node snode; - - // Main algorithm - u32 highest = 0; - u32 drawcalls = 0; - for (;;) - { - if (tc[highest].drawn) - { - bool found = false; - float hiscore = 0; - for (u32 t = 0; t < tcount; t++) - { - if (!tc[t].drawn) - { - if (tc[t].score > hiscore) - { - highest = t; - hiscore = tc[t].score; - found = true; - } - } - } - if (!found) - break; - } - - // Output the best triangle - u16 newind = buf->Vertices.size(); - - snode *s = sind.find(v[tc[highest].ind[0]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[0]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[0]], newind); - newind++; - } - else - { - buf->Indices.push_back(s->getValue()); - } - - s = sind.find(v[tc[highest].ind[1]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[1]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[1]], newind); - newind++; - } - else - { - buf->Indices.push_back(s->getValue()); - } - - s = sind.find(v[tc[highest].ind[2]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[2]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[2]], newind); - } - else - { - buf->Indices.push_back(s->getValue()); - } - - vc[tc[highest].ind[0]].NumActiveTris--; - vc[tc[highest].ind[1]].NumActiveTris--; - vc[tc[highest].ind[2]].NumActiveTris--; - - tc[highest].drawn = true; - - for (u16 j : tc[highest].ind) { - vcache *vert = &vc[j]; - for (u16 t = 0; t < vert->tris.size(); t++) - { - if (highest == vert->tris[t]) - { - vert->tris.erase(t); - break; - } - } - } - - lru.add(tc[highest].ind[0]); - lru.add(tc[highest].ind[1]); - highest = lru.add(tc[highest].ind[2]); - drawcalls++; - } - - buf->setBoundingBox(mb->getBoundingBox()); - newmesh->addMeshBuffer(buf); - buf->drop(); - - } - break; - case video::EVT_TANGENTS: - { - video::S3DVertexTangents *v = (video::S3DVertexTangents *) mb->getVertices(); - - scene::SMeshBufferTangents *buf = new scene::SMeshBufferTangents(); - buf->Material = mb->getMaterial(); - - buf->Vertices.reallocate(vcount); - buf->Indices.reallocate(icount); - - core::map sind; // search index for fast operation - typedef core::map::Node snode; - - // Main algorithm - u32 highest = 0; - u32 drawcalls = 0; - for (;;) - { - if (tc[highest].drawn) - { - bool found = false; - float hiscore = 0; - for (u32 t = 0; t < tcount; t++) - { - if (!tc[t].drawn) - { - if (tc[t].score > hiscore) - { - highest = t; - hiscore = tc[t].score; - found = true; - } - } - } - if (!found) - break; - } - - // Output the best triangle - u16 newind = buf->Vertices.size(); - - snode *s = sind.find(v[tc[highest].ind[0]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[0]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[0]], newind); - newind++; - } - else - { - buf->Indices.push_back(s->getValue()); - } - - s = sind.find(v[tc[highest].ind[1]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[1]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[1]], newind); - newind++; - } - else - { - buf->Indices.push_back(s->getValue()); - } - - s = sind.find(v[tc[highest].ind[2]]); - - if (!s) - { - buf->Vertices.push_back(v[tc[highest].ind[2]]); - buf->Indices.push_back(newind); - sind.insert(v[tc[highest].ind[2]], newind); - } - else - { - buf->Indices.push_back(s->getValue()); - } - - vc[tc[highest].ind[0]].NumActiveTris--; - vc[tc[highest].ind[1]].NumActiveTris--; - vc[tc[highest].ind[2]].NumActiveTris--; - - tc[highest].drawn = true; - - for (u16 j : tc[highest].ind) { - vcache *vert = &vc[j]; - for (u16 t = 0; t < vert->tris.size(); t++) - { - if (highest == vert->tris[t]) - { - vert->tris.erase(t); - break; - } - } - } - - lru.add(tc[highest].ind[0]); - lru.add(tc[highest].ind[1]); - highest = lru.add(tc[highest].ind[2]); - drawcalls++; - } - - buf->setBoundingBox(mb->getBoundingBox()); - newmesh->addMeshBuffer(buf); - buf->drop(); - } - break; - } - - delete [] vc; - delete [] tc; - - } // for each meshbuffer - - return newmesh; -} diff --git a/src/client/mesh.h b/src/client/mesh.h index dbc091a06..1ed753c01 100644 --- a/src/client/mesh.h +++ b/src/client/mesh.h @@ -133,10 +133,3 @@ void recalculateBoundingBox(scene::IMesh *src_mesh); We assume normal to be valid when it's 0 < length < Inf. and not NaN */ bool checkMeshNormals(scene::IMesh *mesh); - -/* - Vertex cache optimization according to the Forsyth paper: - http://home.comcast.net/~tom_forsyth/papers/fast_vert_cache_opt.html - Ported from irrlicht 1.8 -*/ -scene::IMesh* createForsythOptimizedMesh(const scene::IMesh *mesh); diff --git a/src/clientiface.cpp b/src/clientiface.cpp index f35dcd0eb..a1c3e1187 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -714,31 +714,6 @@ void ClientInterface::sendToAll(NetworkPacket *pkt) } } -void ClientInterface::sendToAllCompat(NetworkPacket *pkt, NetworkPacket *legacypkt, - u16 min_proto_ver) -{ - RecursiveMutexAutoLock clientslock(m_clients_mutex); - for (auto &client_it : m_clients) { - RemoteClient *client = client_it.second; - NetworkPacket *pkt_to_send = nullptr; - - if (client->net_proto_version >= min_proto_ver) { - pkt_to_send = pkt; - } else if (client->net_proto_version != 0) { - pkt_to_send = legacypkt; - } else { - warningstream << "Client with unhandled version to handle: '" - << client->net_proto_version << "'"; - continue; - } - - m_con->Send(client->peer_id, - clientCommandFactoryTable[pkt_to_send->getCommand()].channel, - pkt_to_send, - clientCommandFactoryTable[pkt_to_send->getCommand()].reliable); - } -} - RemoteClient* ClientInterface::getClientNoEx(session_t peer_id, ClientState state_min) { RecursiveMutexAutoLock clientslock(m_clients_mutex); diff --git a/src/clientiface.h b/src/clientiface.h index dfd976741..b1591ddb0 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -465,7 +465,6 @@ public: /* send to all clients */ void sendToAll(NetworkPacket *pkt); - void sendToAllCompat(NetworkPacket *pkt, NetworkPacket *legacypkt, u16 min_proto_ver); /* delete a client */ void DeleteClient(session_t peer_id); diff --git a/src/emerge.cpp b/src/emerge.cpp index 9234fe6d3..be64d744a 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -367,12 +367,6 @@ bool EmergeManager::isBlockInQueue(v3s16 pos) // -// TODO(hmmmm): Move this to ServerMap -v3s16 EmergeManager::getContainingChunk(v3s16 blockpos) -{ - return getContainingChunk(blockpos, mgparams->chunksize); -} - // TODO(hmmmm): Move this to ServerMap v3s16 EmergeManager::getContainingChunk(v3s16 blockpos, s16 chunksize) { @@ -396,17 +390,6 @@ int EmergeManager::getSpawnLevelAtPoint(v2s16 p) } -int EmergeManager::getGroundLevelAtPoint(v2s16 p) -{ - if (m_mapgens.empty() || !m_mapgens[0]) { - errorstream << "EmergeManager: getGroundLevelAtPoint() called" - " before mapgen init" << std::endl; - return 0; - } - - return m_mapgens[0]->getGroundLevelAtPoint(p); -} - // TODO(hmmmm): Move this to ServerMap bool EmergeManager::isBlockUnderground(v3s16 blockpos) { diff --git a/src/emerge.h b/src/emerge.h index e2d727973..61e7bda63 100644 --- a/src/emerge.h +++ b/src/emerge.h @@ -176,13 +176,10 @@ public: bool isBlockInQueue(v3s16 pos); - v3s16 getContainingChunk(v3s16 blockpos); - Mapgen *getCurrentMapgen(); // Mapgen helpers methods int getSpawnLevelAtPoint(v2s16 p); - int getGroundLevelAtPoint(v2s16 p); bool isBlockUnderground(v3s16 blockpos); static v3s16 getContainingChunk(v3s16 blockpos, s16 chunksize); diff --git a/src/inventory.cpp b/src/inventory.cpp index 029fcbf4f..d14b12f9d 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -560,11 +560,6 @@ u32 InventoryList::getUsedSlots() const return num; } -u32 InventoryList::getFreeSlots() const -{ - return getSize() - getUsedSlots(); -} - const ItemStack& InventoryList::getItem(u32 i) const { assert(i < m_size); // Pre-condition diff --git a/src/inventory.h b/src/inventory.h index 276002d28..eb063d4ad 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -211,7 +211,6 @@ public: u32 getWidth() const; // Count used slots u32 getUsedSlots() const; - u32 getFreeSlots() const; // Get reference to item const ItemStack& getItem(u32 i) const; diff --git a/src/map.cpp b/src/map.cpp index 30ce064d6..77031e17d 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -139,13 +139,6 @@ MapBlock * Map::getBlockNoCreate(v3s16 p3d) return block; } -bool Map::isNodeUnderground(v3s16 p) -{ - v3s16 blockpos = getNodeBlockPos(p); - MapBlock *block = getBlockNoCreateNoEx(blockpos); - return block && block->getIsUnderground(); -} - bool Map::isValidPosition(v3s16 p) { v3s16 blockpos = getNodeBlockPos(p); diff --git a/src/map.h b/src/map.h index 8d20c4a44..fe580b20f 100644 --- a/src/map.h +++ b/src/map.h @@ -167,9 +167,6 @@ public: inline const NodeDefManager * getNodeDefManager() { return m_nodedef; } - // Returns InvalidPositionException if not found - bool isNodeUnderground(v3s16 p); - bool isValidPosition(v3s16 p); // throws InvalidPositionException if not found diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 4958d3a65..e3a6caa19 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -218,31 +218,6 @@ void MapBlock::expireDayNightDiff() m_day_night_differs_expired = true; } -s16 MapBlock::getGroundLevel(v2s16 p2d) -{ - if(isDummy()) - return -3; - try - { - s16 y = MAP_BLOCKSIZE-1; - for(; y>=0; y--) - { - MapNode n = getNodeRef(p2d.X, y, p2d.Y); - if (m_gamedef->ndef()->get(n).walkable) { - if(y == MAP_BLOCKSIZE-1) - return -2; - - return y; - } - } - return -1; - } - catch(InvalidPositionException &e) - { - return -3; - } -} - /* Serialization */ diff --git a/src/mapblock.h b/src/mapblock.h index 8de631a29..e729fdb1c 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -363,20 +363,6 @@ public: return m_day_night_differs; } - //// - //// Miscellaneous stuff - //// - - /* - Tries to measure ground level. - Return value: - -1 = only air - -2 = only ground - -3 = random fail - 0...MAP_BLOCKSIZE-1 = ground level - */ - s16 getGroundLevel(v2s16 p2d); - //// //// Timestamp (see m_timestamp) //// diff --git a/src/mapgen/mapgen_v6.cpp b/src/mapgen/mapgen_v6.cpp index bce9cee81..a418acace 100644 --- a/src/mapgen/mapgen_v6.cpp +++ b/src/mapgen/mapgen_v6.cpp @@ -360,19 +360,6 @@ int MapgenV6::getSpawnLevelAtPoint(v2s16 p) //////////////////////// Noise functions -float MapgenV6::getMudAmount(v2s16 p) -{ - int index = (p.Y - node_min.Z) * ystride + (p.X - node_min.X); - return getMudAmount(index); -} - - -bool MapgenV6::getHaveBeach(v2s16 p) -{ - int index = (p.Y - node_min.Z) * ystride + (p.X - node_min.X); - return getHaveBeach(index); -} - BiomeV6Type MapgenV6::getBiome(v2s16 p) { diff --git a/src/mapgen/mapgen_v6.h b/src/mapgen/mapgen_v6.h index a6e6da8c6..b0eb67893 100644 --- a/src/mapgen/mapgen_v6.h +++ b/src/mapgen/mapgen_v6.h @@ -154,9 +154,7 @@ public: float getHumidity(v2s16 p); float getTreeAmount(v2s16 p); bool getHaveAppleTree(v2s16 p); - float getMudAmount(v2s16 p); - virtual float getMudAmount(int index); - bool getHaveBeach(v2s16 p); + float getMudAmount(int index); bool getHaveBeach(int index); BiomeV6Type getBiome(v2s16 p); BiomeV6Type getBiome(int index, v2s16 p); diff --git a/src/noise.cpp b/src/noise.cpp index a10efa3c4..2f4de6855 100644 --- a/src/noise.cpp +++ b/src/noise.cpp @@ -312,51 +312,6 @@ float noise2d_perlin(float x, float y, s32 seed, } -float noise2d_perlin_abs(float x, float y, s32 seed, - int octaves, float persistence, bool eased) -{ - float a = 0; - float f = 1.0; - float g = 1.0; - for (int i = 0; i < octaves; i++) { - a += g * std::fabs(noise2d_gradient(x * f, y * f, seed + i, eased)); - f *= 2.0; - g *= persistence; - } - return a; -} - - -float noise3d_perlin(float x, float y, float z, s32 seed, - int octaves, float persistence, bool eased) -{ - float a = 0; - float f = 1.0; - float g = 1.0; - for (int i = 0; i < octaves; i++) { - a += g * noise3d_gradient(x * f, y * f, z * f, seed + i, eased); - f *= 2.0; - g *= persistence; - } - return a; -} - - -float noise3d_perlin_abs(float x, float y, float z, s32 seed, - int octaves, float persistence, bool eased) -{ - float a = 0; - float f = 1.0; - float g = 1.0; - for (int i = 0; i < octaves; i++) { - a += g * std::fabs(noise3d_gradient(x * f, y * f, z * f, seed + i, eased)); - f *= 2.0; - g *= persistence; - } - return a; -} - - float contour(float v) { v = std::fabs(v); diff --git a/src/noise.h b/src/noise.h index 854781731..e4a9ed6c7 100644 --- a/src/noise.h +++ b/src/noise.h @@ -224,15 +224,6 @@ float noise3d_gradient(float x, float y, float z, s32 seed, bool eased=false); float noise2d_perlin(float x, float y, s32 seed, int octaves, float persistence, bool eased=true); -float noise2d_perlin_abs(float x, float y, s32 seed, - int octaves, float persistence, bool eased=true); - -float noise3d_perlin(float x, float y, float z, s32 seed, - int octaves, float persistence, bool eased=false); - -float noise3d_perlin_abs(float x, float y, float z, s32 seed, - int octaves, float persistence, bool eased=false); - inline float easeCurve(float t) { return t * t * t * (t * (6.f * t - 15.f) + 10.f); diff --git a/src/rollback.cpp b/src/rollback.cpp index 3cd9c7ce7..33b7958b9 100644 --- a/src/rollback.cpp +++ b/src/rollback.cpp @@ -941,12 +941,6 @@ void RollbackManager::addAction(const RollbackAction & action) } } -std::list RollbackManager::getEntriesSince(time_t first_time) -{ - flush(); - return getActionsSince(first_time); -} - std::list RollbackManager::getNodeActors(v3s16 pos, int range, time_t seconds, int limit) { diff --git a/src/rollback.h b/src/rollback.h index 1d9949d15..ff96e513f 100644 --- a/src/rollback.h +++ b/src/rollback.h @@ -46,7 +46,6 @@ public: void flush(); void addAction(const RollbackAction & action); - std::list getEntriesSince(time_t first_time); std::list getNodeActors(v3s16 pos, int range, time_t seconds, int limit); std::list getRevertActions( diff --git a/src/script/lua_api/l_inventory.cpp b/src/script/lua_api/l_inventory.cpp index 0dd418462..b0a4ee194 100644 --- a/src/script/lua_api/l_inventory.cpp +++ b/src/script/lua_api/l_inventory.cpp @@ -421,19 +421,6 @@ void InvRef::create(lua_State *L, const InventoryLocation &loc) luaL_getmetatable(L, className); lua_setmetatable(L, -2); } -void InvRef::createPlayer(lua_State *L, RemotePlayer *player) -{ - NO_MAP_LOCK_REQUIRED; - InventoryLocation loc; - loc.setPlayer(player->getName()); - create(L, loc); -} -void InvRef::createNodeMeta(lua_State *L, v3s16 p) -{ - InventoryLocation loc; - loc.setNodeMeta(p); - create(L, loc); -} void InvRef::Register(lua_State *L) { diff --git a/src/script/lua_api/l_inventory.h b/src/script/lua_api/l_inventory.h index 94f670c9d..6a75bac0f 100644 --- a/src/script/lua_api/l_inventory.h +++ b/src/script/lua_api/l_inventory.h @@ -111,8 +111,6 @@ public: // Creates an InvRef and leaves it on top of stack // Not callable from Lua; all references are created on the C side. static void create(lua_State *L, const InventoryLocation &loc); - static void createPlayer(lua_State *L, RemotePlayer *player); - static void createNodeMeta(lua_State *L, v3s16 p); static void Register(lua_State *L); }; diff --git a/src/script/lua_api/l_nodemeta.cpp b/src/script/lua_api/l_nodemeta.cpp index 60d14f8f2..34760157d 100644 --- a/src/script/lua_api/l_nodemeta.cpp +++ b/src/script/lua_api/l_nodemeta.cpp @@ -89,7 +89,10 @@ int NodeMetaRef::l_get_inventory(lua_State *L) NodeMetaRef *ref = checkobject(L, 1); ref->getmeta(true); // try to ensure the metadata exists - InvRef::createNodeMeta(L, ref->m_p); + + InventoryLocation loc; + loc.setNodeMeta(ref->m_p); + InvRef::create(L, loc); return 1; } diff --git a/src/settings.cpp b/src/settings.cpp index f4de5bec9..818d2bc41 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -104,8 +104,7 @@ Settings *Settings::createLayer(SettingsLayer sl, const std::string &end_tag) Settings *Settings::getLayer(SettingsLayer sl) { - sanity_check((int)sl >= 0 && sl < SL_TOTAL_COUNT); - return g_hierarchy.layers[(int)sl]; + return g_hierarchy.getLayer(sl); } -- cgit v1.2.3 From 6ea558f8ac57a391b6f54c534441f930b0609cea Mon Sep 17 00:00:00 2001 From: savilli <78875209+savilli@users.noreply.github.com> Date: Tue, 12 Oct 2021 21:12:49 +0300 Subject: Fix player HP desync between client and server --- src/network/serverpackethandler.cpp | 3 ++- src/server/player_sao.cpp | 5 +++-- src/server/player_sao.h | 6 +++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 4c609644f..dc7be0e23 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -826,7 +826,8 @@ void Server::handleCommand_Damage(NetworkPacket* pkt) << std::endl; PlayerHPChangeReason reason(PlayerHPChangeReason::FALL); - playersao->setHP((s32)playersao->getHP() - (s32)damage, reason); + playersao->setHP((s32)playersao->getHP() - (s32)damage, reason, false); + SendPlayerHPOrDie(playersao, reason); // correct client side prediction } } diff --git a/src/server/player_sao.cpp b/src/server/player_sao.cpp index d4d036726..690823bb7 100644 --- a/src/server/player_sao.cpp +++ b/src/server/player_sao.cpp @@ -462,7 +462,7 @@ void PlayerSAO::rightClick(ServerActiveObject *clicker) m_env->getScriptIface()->on_rightclickplayer(this, clicker); } -void PlayerSAO::setHP(s32 hp, const PlayerHPChangeReason &reason) +void PlayerSAO::setHP(s32 hp, const PlayerHPChangeReason &reason, bool send) { if (hp == (s32)m_hp) return; // Nothing to do @@ -490,7 +490,8 @@ void PlayerSAO::setHP(s32 hp, const PlayerHPChangeReason &reason) if ((hp == 0) != (oldhp == 0)) m_properties_sent = false; - m_env->getGameDef()->SendPlayerHPOrDie(this, reason); + if (send) + m_env->getGameDef()->SendPlayerHPOrDie(this, reason); } void PlayerSAO::setBreath(const u16 breath, bool send) diff --git a/src/server/player_sao.h b/src/server/player_sao.h index 8e2d8803f..1429d7129 100644 --- a/src/server/player_sao.h +++ b/src/server/player_sao.h @@ -112,7 +112,11 @@ public: u16 punch(v3f dir, const ToolCapabilities *toolcap, ServerActiveObject *puncher, float time_from_last_punch); void rightClick(ServerActiveObject *clicker); - void setHP(s32 hp, const PlayerHPChangeReason &reason); + void setHP(s32 hp, const PlayerHPChangeReason &reason) override + { + return setHP(hp, reason, true); + } + void setHP(s32 hp, const PlayerHPChangeReason &reason, bool send); void setHPRaw(u16 hp) { m_hp = hp; } u16 getBreath() const { return m_breath; } void setBreath(const u16 breath, bool send = true); -- cgit v1.2.3 From fe5cb2cdfb137764d20ca56f17f607ec361e0dcf Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 10 Oct 2021 21:10:52 +0200 Subject: Remove broken timeout behaviour Code that relies on `resend_count` was added in 7ea4a03 and 247a1eb, but never worked. This was fixed in #11607 which caused the problem to surface. Hence undo the first commit entirely and change the logic of the second. --- src/network/connectionthreads.cpp | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/src/network/connectionthreads.cpp b/src/network/connectionthreads.cpp index 47678dac5..a306ced9b 100644 --- a/src/network/connectionthreads.cpp +++ b/src/network/connectionthreads.cpp @@ -48,9 +48,6 @@ std::mutex log_conthread_mutex; #undef DEBUG_CONNECTION_KBPS #endif -/* maximum number of retries for reliable packets */ -#define MAX_RELIABLE_RETRY 5 - #define WINDOW_SIZE 5 static session_t readPeerId(u8 *packetdata) @@ -212,7 +209,6 @@ void ConnectionSendThread::runTimeouts(float dtime) } float resend_timeout = udpPeer->getResendTimeout(); - bool retry_count_exceeded = false; for (Channel &channel : udpPeer->channels) { // Remove timed out incomplete unreliable split packets @@ -231,24 +227,16 @@ void ConnectionSendThread::runTimeouts(float dtime) m_iteration_packets_avaialble -= timed_outs.size(); for (const auto &k : timed_outs) { - session_t peer_id = readPeerId(*k.data); u8 channelnum = readChannel(*k.data); u16 seqnum = readU16(&(k.data[BASE_HEADER_SIZE + 1])); channel.UpdateBytesLost(k.data.getSize()); - if (k.resend_count > MAX_RELIABLE_RETRY) { - retry_count_exceeded = true; - timeouted_peers.push_back(peer->id); - /* no need to check additional packets if a single one did timeout*/ - break; - } - LOG(derr_con << m_connection->getDesc() << "RE-SENDING timed-out RELIABLE to " << k.address.serializeString() << "(t/o=" << resend_timeout << "): " - << "from_peer_id=" << peer_id + << "count=" << k.resend_count << ", channel=" << ((int) channelnum & 0xff) << ", seqnum=" << seqnum << std::endl); @@ -259,17 +247,9 @@ void ConnectionSendThread::runTimeouts(float dtime) // lost or really takes more time to transmit } - if (retry_count_exceeded) { - break; /* no need to check other channels if we already did timeout */ - } - channel.UpdateTimers(dtime); } - /* skip to next peer if we did timeout */ - if (retry_count_exceeded) - continue; - /* send ping if necessary */ if (udpPeer->Ping(dtime, data)) { LOG(dout_con << m_connection->getDesc() @@ -1153,8 +1133,8 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan try { BufferedPacket p = channel->outgoing_reliables_sent.popSeqnum(seqnum); - // only calculate rtt from straight sent packets - if (p.resend_count == 0) { + // the rtt calculation will be a bit off for re-sent packets but that's okay + { // Get round trip time u64 current_time = porting::getTimeMs(); @@ -1174,6 +1154,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan dynamic_cast(peer)->reportRTT(rtt); } } + // put bytes for max bandwidth calculation channel->UpdateBytesSent(p.data.getSize(), 1); if (channel->outgoing_reliables_sent.size() == 0) -- cgit v1.2.3 From 02292e03e42e5c3be0aa09a329dabd9c8dad5571 Mon Sep 17 00:00:00 2001 From: hecks <42101236+hecktest@users.noreply.github.com> Date: Wed, 13 Oct 2021 17:51:37 +0200 Subject: Add embedded PNG texture modifier (#11498) --- doc/lua_api.txt | 17 +++++ games/devtest/mods/testnodes/textures.lua | 31 ++++++++ src/client/tile.cpp | 113 +++++++++++++++++++++--------- 3 files changed, 126 insertions(+), 35 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e6cabb68e..69ac55493 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -628,6 +628,23 @@ Result is more like what you'd expect if you put a color on top of another color, meaning white surfaces get a lot of your new color while black parts don't change very much. +#### `[png:` + +Embed a base64 encoded PNG image in the texture string. +You can produce a valid string for this by calling +`minetest.encode_base64(minetest.encode_png(tex))`, +refer to the documentation of these functions for details. +You can use this to send disposable images such as captchas +to individual clients, or render things that would be too +expensive to compose with `[combine:`. + +IMPORTANT: Avoid sending large images this way. +This is not a replacement for asset files, do not use it to do anything +that you could instead achieve by just using a file. +In particular consider `minetest.dynamic_add_media` and test whether +using other texture modifiers could result in a shorter string than +embedding a whole image, this may vary by use case. + Hardware coloring ----------------- diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua index 4652007d9..dc581b0c7 100644 --- a/games/devtest/mods/testnodes/textures.lua +++ b/games/devtest/mods/testnodes/textures.lua @@ -102,12 +102,22 @@ local function gen_checkers(w, h, tile) end local fractal = mandelbrot(512, 512, 128) +local frac_emb = mandelbrot(64, 64, 64) local checker = gen_checkers(512, 512, 32) local floor = math.floor local abs = math.abs +local data_emb = {} local data_mb = {} local data_ck = {} +for i=1, #frac_emb do + data_emb[i] = { + r = floor(abs(frac_emb[i] * 2 - 1) * 255), + g = floor(abs(1 - frac_emb[i]) * 255), + b = floor(frac_emb[i] * 255), + a = frac_emb[i] < 0.95 and 255 or 0, + } +end for i=1, #fractal do data_mb[i] = { r = floor(fractal[i] * 255), @@ -140,3 +150,24 @@ minetest.register_node("testnodes:generated_png_ck", { groups = { dig_immediate = 2 }, }) + +local png_emb = "[png:" .. minetest.encode_base64(minetest.encode_png(64,64,data_emb)) + +minetest.register_node("testnodes:generated_png_emb", { + description = S("Generated In-Band Mandelbrot PNG Test Node"), + tiles = { png_emb }, + + groups = { dig_immediate = 2 }, +}) +minetest.register_node("testnodes:generated_png_src_emb", { + description = S("Generated In-Band Source Blit Mandelbrot PNG Test Node"), + tiles = { png_emb .. "^testnodes_damage_neg.png" }, + + groups = { dig_immediate = 2 }, +}) +minetest.register_node("testnodes:generated_png_dst_emb", { + description = S("Generated In-Band Dest Blit Mandelbrot PNG Test Node"), + tiles = { "testnodes_generated_ck.png^" .. png_emb }, + + groups = { dig_immediate = 2 }, +}) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index 091e546c6..2f57503d3 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "imagefilters.h" #include "guiscalingfilter.h" #include "renderingengine.h" +#include "util/base64.h" /* A cache from texture name to texture path @@ -1059,6 +1060,45 @@ static std::string unescape_string(const std::string &str, const char esc = '\\' return out; } +void blitBaseImage(video::IImage* &src, video::IImage* &dst) +{ + //infostream<<"Blitting "< dim = src->getDimension(); + //core::dimension2d dim(16,16); + // Position to copy the blitted to in the base image + core::position2d pos_to(0,0); + // Position to copy the blitted from in the blitted image + core::position2d pos_from(0,0); + // Blit + /*image->copyToWithAlpha(baseimg, pos_to, + core::rect(pos_from, dim), + video::SColor(255,255,255,255), + NULL);*/ + + core::dimension2d dim_dst = dst->getDimension(); + if (dim == dim_dst) { + blit_with_alpha(src, dst, pos_from, pos_to, dim); + } else if (dim.Width * dim.Height < dim_dst.Width * dim_dst.Height) { + // Upscale overlying image + video::IImage *scaled_image = RenderingEngine::get_video_driver()-> + createImage(video::ECF_A8R8G8B8, dim_dst); + src->copyToScaling(scaled_image); + + blit_with_alpha(scaled_image, dst, pos_from, pos_to, dim_dst); + scaled_image->drop(); + } else { + // Upscale base image + video::IImage *scaled_base = RenderingEngine::get_video_driver()-> + createImage(video::ECF_A8R8G8B8, dim); + dst->copyToScaling(scaled_base); + dst->drop(); + dst = scaled_base; + + blit_with_alpha(src, dst, pos_from, pos_to, dim); + } +} + bool TextureSource::generateImagePart(std::string part_of_name, video::IImage *& baseimg) { @@ -1122,41 +1162,7 @@ bool TextureSource::generateImagePart(std::string part_of_name, // Else blit on base. else { - //infostream<<"Blitting "< dim = image->getDimension(); - //core::dimension2d dim(16,16); - // Position to copy the blitted to in the base image - core::position2d pos_to(0,0); - // Position to copy the blitted from in the blitted image - core::position2d pos_from(0,0); - // Blit - /*image->copyToWithAlpha(baseimg, pos_to, - core::rect(pos_from, dim), - video::SColor(255,255,255,255), - NULL);*/ - - core::dimension2d dim_dst = baseimg->getDimension(); - if (dim == dim_dst) { - blit_with_alpha(image, baseimg, pos_from, pos_to, dim); - } else if (dim.Width * dim.Height < dim_dst.Width * dim_dst.Height) { - // Upscale overlying image - video::IImage *scaled_image = RenderingEngine::get_video_driver()-> - createImage(video::ECF_A8R8G8B8, dim_dst); - image->copyToScaling(scaled_image); - - blit_with_alpha(scaled_image, baseimg, pos_from, pos_to, dim_dst); - scaled_image->drop(); - } else { - // Upscale base image - video::IImage *scaled_base = RenderingEngine::get_video_driver()-> - createImage(video::ECF_A8R8G8B8, dim); - baseimg->copyToScaling(scaled_base); - baseimg->drop(); - baseimg = scaled_base; - - blit_with_alpha(image, baseimg, pos_from, pos_to, dim); - } + blitBaseImage(image, baseimg); } //cleanup image->drop(); @@ -1784,6 +1790,43 @@ bool TextureSource::generateImagePart(std::string part_of_name, baseimg->drop(); baseimg = img; } + /* + [png:base64 + Decodes a PNG image in base64 form. + Use minetest.encode_png and minetest.encode_base64 + to produce a valid string. + */ + else if (str_starts_with(part_of_name, "[png:")) { + Strfnd sf(part_of_name); + sf.next(":"); + std::string png; + { + std::string blob = sf.next(""); + if (!base64_is_valid(blob)) { + errorstream << "generateImagePart(): " + << "malformed base64 in '[png'" + << std::endl; + return false; + } + png = base64_decode(blob); + } + + auto *device = RenderingEngine::get_raw_device(); + auto *fs = device->getFileSystem(); + auto *vd = device->getVideoDriver(); + auto *memfile = fs->createMemoryReadFile(png.data(), png.size(), "__temp_png"); + video::IImage* pngimg = vd->createImageFromFile(memfile); + memfile->drop(); + + if (baseimg) { + blitBaseImage(pngimg, baseimg); + } else { + core::dimension2d dim = pngimg->getDimension(); + baseimg = driver->createImage(video::ECF_A8R8G8B8, dim); + pngimg->copyTo(baseimg); + } + pngimg->drop(); + } else { errorstream << "generateImagePart(): Invalid " -- cgit v1.2.3 From fe7195badb2801f4957d6dea2c961a3ffcf7debf Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 17 Mar 2021 19:03:00 +0100 Subject: Make /status message easier to read --- src/server.cpp | 10 +++++----- src/util/string.h | 31 ++++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 7fb9a78e9..5022221ee 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3119,15 +3119,16 @@ std::string Server::getStatusString() std::ostringstream os(std::ios_base::binary); os << "# Server: "; // Version - os << "version=" << g_version_string; + os << "version: " << g_version_string; // Uptime - os << ", uptime=" << m_uptime_counter->get(); + os << " | uptime: " << duration_to_string((int) m_uptime_counter->get()); // Max lag estimate - os << ", max_lag=" << (m_env ? m_env->getMaxLagEstimate() : 0); + os << " | max lag: " << std::setprecision(3); + os << (m_env ? m_env->getMaxLagEstimate() : 0) << "s"; // Information about clients bool first = true; - os << ", clients={"; + os << " | clients: "; if (m_env) { std::vector clients = m_clients.getClientIDs(); for (session_t client_id : clients) { @@ -3144,7 +3145,6 @@ std::string Server::getStatusString() os << name; } } - os << "}"; if (m_env && !((ServerMap*)(&m_env->getMap()))->isSavingEnabled()) os << std::endl << "# Server: " << " WARNING: Map saving is disabled."; diff --git a/src/util/string.h b/src/util/string.h index 21f1d6877..bca998f56 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -661,28 +661,49 @@ inline const char *bool_to_cstr(bool val) return val ? "true" : "false"; } +/** + * Converts a duration in seconds to a pretty-printed duration in + * days, hours, minutes and seconds. + * + * @param sec duration in seconds + * @return pretty-printed duration + */ inline const std::string duration_to_string(int sec) { + std::ostringstream ss; + const char *neg = ""; + if (sec < 0) { + sec = -sec; + neg = "-"; + } + int total_sec = sec; int min = sec / 60; sec %= 60; int hour = min / 60; min %= 60; + int day = hour / 24; + hour %= 24; + + if (day > 0) { + ss << neg << day << "d"; + if (hour > 0 || min > 0 || sec > 0) + ss << " "; + } - std::stringstream ss; if (hour > 0) { - ss << hour << "h"; + ss << neg << hour << "h"; if (min > 0 || sec > 0) ss << " "; } if (min > 0) { - ss << min << "min"; + ss << neg << min << "min"; if (sec > 0) ss << " "; } - if (sec > 0) { - ss << sec << "s"; + if (sec > 0 || total_sec == 0) { + ss << neg << sec << "s"; } return ss.str(); -- cgit v1.2.3 From 6901c5fae54eafb05494823b60d4e26c14b342f1 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 15 Oct 2021 17:14:48 +0100 Subject: Use scoped app storage on Android (#11466) From November 2021, the Play Store will no longer be accepting apps which use the deprecated getExternalStorageDirectory() API. Therefore, this commit replaces uses of deprecated API with the new scoped API (`getExternalFilesDir()` and `getExternalCacheDir()`). It also provides a temporary migration to move user data from the shared external directory to new storage. Fixes #2097, #11417 and #11118 --- .clang-format | 9 +- .../java/net/minetest/minetest/CopyZipTask.java | 82 ---------- .../java/net/minetest/minetest/GameActivity.java | 8 + .../java/net/minetest/minetest/MainActivity.java | 63 +++++-- .../java/net/minetest/minetest/UnzipService.java | 181 ++++++++++++++++----- .../src/main/java/net/minetest/minetest/Utils.java | 39 +++++ android/app/src/main/res/layout/activity_main.xml | 7 +- android/app/src/main/res/values/strings.xml | 2 + android/native/build.gradle | 4 + src/porting_android.cpp | 67 +++----- 10 files changed, 276 insertions(+), 186 deletions(-) delete mode 100644 android/app/src/main/java/net/minetest/minetest/CopyZipTask.java create mode 100644 android/app/src/main/java/net/minetest/minetest/Utils.java diff --git a/.clang-format b/.clang-format index 0db8ab167..63f12b6c4 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,7 @@ BasedOnStyle: LLVM -IndentWidth: 8 +IndentWidth: 4 UseTab: Always +TabWidth: 4 BreakBeforeBraces: Custom Standard: Cpp11 BraceWrapping: @@ -16,7 +17,7 @@ BraceWrapping: FixNamespaceComments: false AllowShortIfStatementsOnASingleLine: false IndentCaseLabels: false -AccessModifierOffset: -8 +AccessModifierOffset: -4 ColumnLimit: 90 AllowShortFunctionsOnASingleLine: InlineOnly SortIncludes: false @@ -26,7 +27,7 @@ IncludeCategories: - Regex: '^<.*' Priority: 1 AlignAfterOpenBracket: DontAlign -ContinuationIndentWidth: 16 -ConstructorInitializerIndentWidth: 16 +ContinuationIndentWidth: 8 +ConstructorInitializerIndentWidth: 8 BreakConstructorInitializers: AfterColon AlwaysBreakTemplateDeclarations: Yes diff --git a/android/app/src/main/java/net/minetest/minetest/CopyZipTask.java b/android/app/src/main/java/net/minetest/minetest/CopyZipTask.java deleted file mode 100644 index 6d4b6ab0f..000000000 --- a/android/app/src/main/java/net/minetest/minetest/CopyZipTask.java +++ /dev/null @@ -1,82 +0,0 @@ -/* -Minetest -Copyright (C) 2014-2020 MoNTE48, Maksim Gamarnik -Copyright (C) 2014-2020 ubulem, Bektur Mambetov - -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. -*/ - -package net.minetest.minetest; - -import android.content.Intent; -import android.os.AsyncTask; -import android.widget.Toast; - -import androidx.appcompat.app.AppCompatActivity; - -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.lang.ref.WeakReference; - -public class CopyZipTask extends AsyncTask { - - private final WeakReference activityRef; - - CopyZipTask(AppCompatActivity activity) { - activityRef = new WeakReference<>(activity); - } - - protected String doInBackground(String... params) { - copyAsset(params[0]); - return params[0]; - } - - @Override - protected void onPostExecute(String result) { - startUnzipService(result); - } - - private void copyAsset(String zipName) { - String filename = zipName.substring(zipName.lastIndexOf("/") + 1); - try (InputStream in = activityRef.get().getAssets().open(filename); - OutputStream out = new FileOutputStream(zipName)) { - copyFile(in, out); - } catch (IOException e) { - AppCompatActivity activity = activityRef.get(); - if (activity != null) { - activity.runOnUiThread(() -> Toast.makeText(activityRef.get(), e.getLocalizedMessage(), Toast.LENGTH_LONG).show()); - } - cancel(true); - } - } - - private void copyFile(InputStream in, OutputStream out) throws IOException { - byte[] buffer = new byte[1024]; - int read; - while ((read = in.read(buffer)) != -1) - out.write(buffer, 0, read); - } - - private void startUnzipService(String file) { - Intent intent = new Intent(activityRef.get(), UnzipService.class); - intent.putExtra(UnzipService.EXTRA_KEY_IN_FILE, file); - AppCompatActivity activity = activityRef.get(); - if (activity != null) { - activity.startService(intent); - } - } -} diff --git a/android/app/src/main/java/net/minetest/minetest/GameActivity.java b/android/app/src/main/java/net/minetest/minetest/GameActivity.java index bdf764138..46fc9b1de 100644 --- a/android/app/src/main/java/net/minetest/minetest/GameActivity.java +++ b/android/app/src/main/java/net/minetest/minetest/GameActivity.java @@ -171,4 +171,12 @@ public class GameActivity extends NativeActivity { Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); startActivity(browserIntent); } + + public String getUserDataPath() { + return Utils.getUserDataDirectory(this).getAbsolutePath(); + } + + public String getCachePath() { + return Utils.getCacheDirectory(this).getAbsolutePath(); + } } diff --git a/android/app/src/main/java/net/minetest/minetest/MainActivity.java b/android/app/src/main/java/net/minetest/minetest/MainActivity.java index 2aa50d9ad..56615fca7 100644 --- a/android/app/src/main/java/net/minetest/minetest/MainActivity.java +++ b/android/app/src/main/java/net/minetest/minetest/MainActivity.java @@ -29,12 +29,14 @@ import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; +import android.os.Environment; import android.view.View; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast; import androidx.annotation.NonNull; +import androidx.annotation.StringRes; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; @@ -43,11 +45,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import static net.minetest.minetest.UnzipService.ACTION_FAILURE; -import static net.minetest.minetest.UnzipService.ACTION_PROGRESS; -import static net.minetest.minetest.UnzipService.ACTION_UPDATE; -import static net.minetest.minetest.UnzipService.FAILURE; -import static net.minetest.minetest.UnzipService.SUCCESS; +import static net.minetest.minetest.UnzipService.*; public class MainActivity extends AppCompatActivity { private final static int versionCode = BuildConfig.VERSION_CODE; @@ -56,26 +54,40 @@ public class MainActivity extends AppCompatActivity { new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}; private static final String SETTINGS = "MinetestSettings"; private static final String TAG_VERSION_CODE = "versionCode"; + private ProgressBar mProgressBar; private TextView mTextView; private SharedPreferences sharedPreferences; + private final BroadcastReceiver myReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { int progress = 0; - if (intent != null) + @StringRes int message = 0; + if (intent != null) { progress = intent.getIntExtra(ACTION_PROGRESS, 0); - if (progress >= 0) { + message = intent.getIntExtra(ACTION_PROGRESS_MESSAGE, 0); + } + + if (progress == FAILURE) { + Toast.makeText(MainActivity.this, intent.getStringExtra(ACTION_FAILURE), Toast.LENGTH_LONG).show(); + finish(); + } else if (progress == SUCCESS) { + startNative(); + } else { if (mProgressBar != null) { mProgressBar.setVisibility(View.VISIBLE); - mProgressBar.setProgress(progress); + if (progress == INDETERMINATE) { + mProgressBar.setIndeterminate(true); + } else { + mProgressBar.setIndeterminate(false); + mProgressBar.setProgress(progress); + } } mTextView.setVisibility(View.VISIBLE); - } else if (progress == FAILURE) { - Toast.makeText(MainActivity.this, intent.getStringExtra(ACTION_FAILURE), Toast.LENGTH_LONG).show(); - finish(); - } else if (progress == SUCCESS) - startNative(); + if (message != 0) + mTextView.setText(message); + } } }; @@ -88,6 +100,7 @@ public class MainActivity extends AppCompatActivity { mProgressBar = findViewById(R.id.progressBar); mTextView = findViewById(R.id.textView); sharedPreferences = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) checkPermission(); else @@ -120,6 +133,7 @@ public class MainActivity extends AppCompatActivity { if (grantResult != PackageManager.PERMISSION_GRANTED) { Toast.makeText(this, R.string.not_granted, Toast.LENGTH_LONG).show(); finish(); + return; } } checkAppVersion(); @@ -127,10 +141,27 @@ public class MainActivity extends AppCompatActivity { } private void checkAppVersion() { - if (sharedPreferences.getInt(TAG_VERSION_CODE, 0) == versionCode) + if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { + Toast.makeText(this, R.string.no_external_storage, Toast.LENGTH_LONG).show(); + finish(); + return; + } + + if (UnzipService.getIsRunning()) { + mProgressBar.setVisibility(View.VISIBLE); + mProgressBar.setIndeterminate(true); + mTextView.setVisibility(View.VISIBLE); + } else if (sharedPreferences.getInt(TAG_VERSION_CODE, 0) == versionCode && + Utils.isInstallValid(this)) { startNative(); - else - new CopyZipTask(this).execute(getCacheDir() + "/Minetest.zip"); + } else { + mProgressBar.setVisibility(View.VISIBLE); + mProgressBar.setIndeterminate(true); + mTextView.setVisibility(View.VISIBLE); + + Intent intent = new Intent(this, UnzipService.class); + startService(intent); + } } private void startNative() { diff --git a/android/app/src/main/java/net/minetest/minetest/UnzipService.java b/android/app/src/main/java/net/minetest/minetest/UnzipService.java index b69f7f36e..b513a7fe0 100644 --- a/android/app/src/main/java/net/minetest/minetest/UnzipService.java +++ b/android/app/src/main/java/net/minetest/minetest/UnzipService.java @@ -24,16 +24,21 @@ import android.app.IntentService; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; +import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Environment; -import android.widget.Toast; + +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import androidx.annotation.StringRes; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; +import java.io.InputStream; import java.io.OutputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; @@ -42,32 +47,61 @@ import java.util.zip.ZipInputStream; public class UnzipService extends IntentService { public static final String ACTION_UPDATE = "net.minetest.minetest.UPDATE"; public static final String ACTION_PROGRESS = "net.minetest.minetest.PROGRESS"; + public static final String ACTION_PROGRESS_MESSAGE = "net.minetest.minetest.PROGRESS_MESSAGE"; public static final String ACTION_FAILURE = "net.minetest.minetest.FAILURE"; - public static final String EXTRA_KEY_IN_FILE = "file"; public static final int SUCCESS = -1; public static final int FAILURE = -2; + public static final int INDETERMINATE = -3; private final int id = 1; private NotificationManager mNotifyManager; private boolean isSuccess = true; private String failureMessage; - public UnzipService() { - super("net.minetest.minetest.UnzipService"); + private static boolean isRunning = false; + public static synchronized boolean getIsRunning() { + return isRunning; + } + private static synchronized void setIsRunning(boolean v) { + isRunning = v; } - private void isDir(String dir, String location) { - File f = new File(location, dir); - if (!f.isDirectory()) - f.mkdirs(); + public UnzipService() { + super("net.minetest.minetest.UnzipService"); } @Override protected void onHandleIntent(Intent intent) { - createNotification(); - unzip(intent); + Notification.Builder notificationBuilder = createNotification(); + final File zipFile = new File(getCacheDir(), "Minetest.zip"); + try { + setIsRunning(true); + File userDataDirectory = Utils.getUserDataDirectory(this); + if (userDataDirectory == null) { + throw new IOException("Unable to find user data directory"); + } + + try (InputStream in = this.getAssets().open(zipFile.getName())) { + try (OutputStream out = new FileOutputStream(zipFile)) { + int readLen; + byte[] readBuffer = new byte[16384]; + while ((readLen = in.read(readBuffer)) != -1) { + out.write(readBuffer, 0, readLen); + } + } + } + + migrate(notificationBuilder, userDataDirectory); + unzip(notificationBuilder, zipFile, userDataDirectory); + } catch (IOException e) { + isSuccess = false; + failureMessage = e.getLocalizedMessage(); + } finally { + setIsRunning(false); + zipFile.delete(); + } } - private void createNotification() { + private Notification.Builder createNotification() { String name = "net.minetest.minetest"; String channelId = "Minetest channel"; String description = "notifications from Minetest"; @@ -92,66 +126,129 @@ public class UnzipService extends IntentService { } else { builder = new Notification.Builder(this); } + + Intent notificationIntent = new Intent(this, MainActivity.class); + notificationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP + | Intent.FLAG_ACTIVITY_SINGLE_TOP); + PendingIntent intent = PendingIntent.getActivity(this, 0, + notificationIntent, 0); + builder.setContentTitle(getString(R.string.notification_title)) .setSmallIcon(R.mipmap.ic_launcher) - .setContentText(getString(R.string.notification_description)); + .setContentText(getString(R.string.notification_description)) + .setContentIntent(intent) + .setOngoing(true) + .setProgress(0, 0, true); + mNotifyManager.notify(id, builder.build()); + return builder; } - private void unzip(Intent intent) { - String zip = intent.getStringExtra(EXTRA_KEY_IN_FILE); - isDir("Minetest", Environment.getExternalStorageDirectory().toString()); - String location = Environment.getExternalStorageDirectory() + File.separator + "Minetest" + File.separator; + private void unzip(Notification.Builder notificationBuilder, File zipFile, File userDataDirectory) throws IOException { int per = 0; - int size = getSummarySize(zip); - File zipFile = new File(zip); + + int size; + try (ZipFile zipSize = new ZipFile(zipFile)) { + size = zipSize.size(); + } + int readLen; - byte[] readBuffer = new byte[8192]; + byte[] readBuffer = new byte[16384]; try (FileInputStream fileInputStream = new FileInputStream(zipFile); ZipInputStream zipInputStream = new ZipInputStream(fileInputStream)) { ZipEntry ze; while ((ze = zipInputStream.getNextEntry()) != null) { if (ze.isDirectory()) { ++per; - isDir(ze.getName(), location); - } else { - publishProgress(100 * ++per / size); - try (OutputStream outputStream = new FileOutputStream(location + ze.getName())) { - while ((readLen = zipInputStream.read(readBuffer)) != -1) { - outputStream.write(readBuffer, 0, readLen); - } + Utils.createDirs(userDataDirectory, ze.getName()); + continue; + } + publishProgress(notificationBuilder, R.string.loading, 100 * ++per / size); + try (OutputStream outputStream = new FileOutputStream( + new File(userDataDirectory, ze.getName()))) { + while ((readLen = zipInputStream.read(readBuffer)) != -1) { + outputStream.write(readBuffer, 0, readLen); } } - zipFile.delete(); } - } catch (IOException e) { - isSuccess = false; - failureMessage = e.getLocalizedMessage(); } } - private void publishProgress(int progress) { + void moveFileOrDir(@NonNull File src, @NonNull File dst) throws IOException { + try { + Process p = new ProcessBuilder("/system/bin/mv", + src.getAbsolutePath(), dst.getAbsolutePath()).start(); + int exitcode = p.waitFor(); + if (exitcode != 0) + throw new IOException("Move failed with exit code " + exitcode); + } catch (InterruptedException e) { + throw new IOException("Move operation interrupted"); + } + } + + boolean recursivelyDeleteDirectory(@NonNull File loc) { + try { + Process p = new ProcessBuilder("/system/bin/rm", "-rf", + loc.getAbsolutePath()).start(); + return p.waitFor() == 0; + } catch (IOException | InterruptedException e) { + return false; + } + } + + /** + * Migrates user data from deprecated external storage to app scoped storage + */ + private void migrate(Notification.Builder notificationBuilder, File newLocation) throws IOException { + File oldLocation = new File(Environment.getExternalStorageDirectory(), "Minetest"); + if (!oldLocation.isDirectory()) + return; + + publishProgress(notificationBuilder, R.string.migrating, 0); + newLocation.mkdir(); + + String[] dirs = new String[] { "worlds", "games", "mods", "textures", "client" }; + for (int i = 0; i < dirs.length; i++) { + publishProgress(notificationBuilder, R.string.migrating, 100 * i / dirs.length); + File dir = new File(oldLocation, dirs[i]), dir2 = new File(newLocation, dirs[i]); + if (dir.isDirectory() && !dir2.isDirectory()) { + moveFileOrDir(dir, dir2); + } + } + + for (String filename : new String[] { "minetest.conf" }) { + File file = new File(oldLocation, filename), file2 = new File(newLocation, filename); + if (file.isFile() && !file2.isFile()) { + moveFileOrDir(file, file2); + } + } + + recursivelyDeleteDirectory(oldLocation); + } + + private void publishProgress(@Nullable Notification.Builder notificationBuilder, @StringRes int message, int progress) { Intent intentUpdate = new Intent(ACTION_UPDATE); intentUpdate.putExtra(ACTION_PROGRESS, progress); - if (!isSuccess) intentUpdate.putExtra(ACTION_FAILURE, failureMessage); + intentUpdate.putExtra(ACTION_PROGRESS_MESSAGE, message); + if (!isSuccess) + intentUpdate.putExtra(ACTION_FAILURE, failureMessage); sendBroadcast(intentUpdate); - } - private int getSummarySize(String zip) { - int size = 0; - try { - ZipFile zipSize = new ZipFile(zip); - size += zipSize.size(); - } catch (IOException e) { - Toast.makeText(this, e.getLocalizedMessage(), Toast.LENGTH_LONG).show(); + if (notificationBuilder != null) { + notificationBuilder.setContentText(getString(message)); + if (progress == INDETERMINATE) { + notificationBuilder.setProgress(100, 50, true); + } else { + notificationBuilder.setProgress(100, progress, false); + } + mNotifyManager.notify(id, notificationBuilder.build()); } - return size; } @Override public void onDestroy() { super.onDestroy(); mNotifyManager.cancel(id); - publishProgress(isSuccess ? SUCCESS : FAILURE); + publishProgress(null, R.string.loading, isSuccess ? SUCCESS : FAILURE); } } diff --git a/android/app/src/main/java/net/minetest/minetest/Utils.java b/android/app/src/main/java/net/minetest/minetest/Utils.java new file mode 100644 index 000000000..b2553c844 --- /dev/null +++ b/android/app/src/main/java/net/minetest/minetest/Utils.java @@ -0,0 +1,39 @@ +package net.minetest.minetest; + +import android.content.Context; + +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import java.io.File; + +public class Utils { + public static @NonNull File createDirs(File root, String dir) { + File f = new File(root, dir); + if (!f.isDirectory()) + f.mkdirs(); + + return f; + } + + public static @Nullable File getUserDataDirectory(Context context) { + File extDir = context.getExternalFilesDir(null); + if (extDir == null) { + return null; + } + + return createDirs(extDir, "Minetest"); + } + + public static @Nullable File getCacheDirectory(Context context) { + return context.getCacheDir(); + } + + public static boolean isInstallValid(Context context) { + File userDataDirectory = getUserDataDirectory(context); + return userDataDirectory != null && userDataDirectory.isDirectory() && + new File(userDataDirectory, "games").isDirectory() && + new File(userDataDirectory, "builtin").isDirectory() && + new File(userDataDirectory, "client").isDirectory() && + new File(userDataDirectory, "textures").isDirectory(); + } +} diff --git a/android/app/src/main/res/layout/activity_main.xml b/android/app/src/main/res/layout/activity_main.xml index e6f461f14..93508c3cb 100644 --- a/android/app/src/main/res/layout/activity_main.xml +++ b/android/app/src/main/res/layout/activity_main.xml @@ -1,4 +1,5 @@ + android:visibility="gone" + tools:visibility="visible" /> + android:visibility="gone" + tools:visibility="visible" /> diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 85238117f..99f948c99 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -3,9 +3,11 @@ Minetest Loading… + Migrating save data from old install… (this may take a while) Required permission wasn\'t granted, Minetest can\'t run without it Loading Minetest Less than 1 minute… Done + External storage isn\'t available. If you use an SDCard, please reinsert it. Otherwise, try restarting your phone or contacting the Minetest developers diff --git a/android/native/build.gradle b/android/native/build.gradle index 8ea6347b3..a7f095641 100644 --- a/android/native/build.gradle +++ b/android/native/build.gradle @@ -41,6 +41,10 @@ android { arguments 'NDEBUG=1' } } + + ndk { + debugSymbolLevel 'SYMBOL_TABLE' + } } } } diff --git a/src/porting_android.cpp b/src/porting_android.cpp index 29e95b8ca..c71fe5ad8 100644 --- a/src/porting_android.cpp +++ b/src/porting_android.cpp @@ -152,48 +152,35 @@ static std::string javaStringToUTF8(jstring js) return str; } -// Calls static method if obj is NULL -static std::string getAndroidPath( - jclass cls, jobject obj, jmethodID mt_getAbsPath, const char *getter) -{ - // Get getter method - jmethodID mt_getter; - if (obj) - mt_getter = jnienv->GetMethodID(cls, getter, "()Ljava/io/File;"); - else - mt_getter = jnienv->GetStaticMethodID(cls, getter, "()Ljava/io/File;"); - - // Call getter - jobject ob_file; - if (obj) - ob_file = jnienv->CallObjectMethod(obj, mt_getter); - else - ob_file = jnienv->CallStaticObjectMethod(cls, mt_getter); - - // Call getAbsolutePath - auto js_path = (jstring) jnienv->CallObjectMethod(ob_file, mt_getAbsPath); - - return javaStringToUTF8(js_path); -} - void initializePathsAndroid() { - // Get Environment class - jclass cls_Env = jnienv->FindClass("android/os/Environment"); - // Get File class - jclass cls_File = jnienv->FindClass("java/io/File"); - // Get getAbsolutePath method - jmethodID mt_getAbsPath = jnienv->GetMethodID(cls_File, - "getAbsolutePath", "()Ljava/lang/String;"); - std::string path_storage = getAndroidPath(cls_Env, nullptr, - mt_getAbsPath, "getExternalStorageDirectory"); - - path_user = path_storage + DIR_DELIM + PROJECT_NAME_C; - path_share = path_storage + DIR_DELIM + PROJECT_NAME_C; - path_locale = path_share + DIR_DELIM + "locale"; - path_cache = getAndroidPath(nativeActivity, - app_global->activity->clazz, mt_getAbsPath, "getCacheDir"); - migrateCachePath(); + // Set user and share paths + { + jmethodID getUserDataPath = jnienv->GetMethodID(nativeActivity, + "getUserDataPath", "()Ljava/lang/String;"); + FATAL_ERROR_IF(getUserDataPath==nullptr, + "porting::initializePathsAndroid unable to find Java getUserDataPath method"); + jobject result = jnienv->CallObjectMethod(app_global->activity->clazz, getUserDataPath); + const char *javachars = jnienv->GetStringUTFChars((jstring) result, nullptr); + path_user = javachars; + path_share = javachars; + path_locale = path_share + DIR_DELIM + "locale"; + jnienv->ReleaseStringUTFChars((jstring) result, javachars); + } + + // Set cache path + { + jmethodID getCachePath = jnienv->GetMethodID(nativeActivity, + "getCachePath", "()Ljava/lang/String;"); + FATAL_ERROR_IF(getCachePath==nullptr, + "porting::initializePathsAndroid unable to find Java getCachePath method"); + jobject result = jnienv->CallObjectMethod(app_global->activity->clazz, getCachePath); + const char *javachars = jnienv->GetStringUTFChars((jstring) result, nullptr); + path_cache = javachars; + jnienv->ReleaseStringUTFChars((jstring) result, javachars); + + migrateCachePath(); + } } void showInputDialog(const std::string &acceptButton, const std::string &hint, -- cgit v1.2.3 From c82ec8b210f613fcd5bb386a14f0a8f88591253a Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Fri, 15 Oct 2021 09:16:09 -0700 Subject: Fix compiling on Windows with Visual Studio --- .gitignore | 4 ++++ README.md | 2 +- src/client/imagefilters.cpp | 1 + src/filesys.cpp | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a83a3718f..2e1e68157 100644 --- a/.gitignore +++ b/.gitignore @@ -107,6 +107,10 @@ CMakeDoxy* compile_commands.json *.apk *.zip +# Visual Studio +*.vcxproj* +*.sln +.vs/ # Optional user provided library folder lib/irrlichtmt diff --git a/README.md b/README.md index 30cc7fb20..372276b85 100644 --- a/README.md +++ b/README.md @@ -327,7 +327,7 @@ It is highly recommended to use vcpkg as package manager. After you successfully built vcpkg you can easily install the required libraries: ```powershell -vcpkg install zlib zstd curl[winssl] openal-soft libvorbis libogg sqlite3 freetype luajit gmp jsoncpp --triplet x64-windows +vcpkg install zlib zstd curl[winssl] openal-soft libvorbis libogg libjpeg-turbo sqlite3 freetype luajit gmp jsoncpp opengl-registry --triplet x64-windows ``` - **Don't forget about IrrlichtMt.** The easiest way is to clone it to `lib/irrlichtmt` as described in the Linux section. diff --git a/src/client/imagefilters.cpp b/src/client/imagefilters.cpp index 97ad094e5..b62e336f7 100644 --- a/src/client/imagefilters.cpp +++ b/src/client/imagefilters.cpp @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include +#include // Simple 2D bitmap class with just the functionality needed here class Bitmap { diff --git a/src/filesys.cpp b/src/filesys.cpp index 44f1c88b3..60090c801 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -45,6 +45,7 @@ namespace fs #include #include #include +#include std::vector GetDirListing(const std::string &pathstring) { -- cgit v1.2.3 From 86b44ecd8280d8304aa26a600fc004d40a970020 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 20 Oct 2021 19:50:16 +0000 Subject: Add no_texture.png as fallback for unspecified textures --- doc/texture_packs.txt | 3 ++- games/devtest/mods/broken/init.lua | 11 +++++++++++ games/devtest/mods/broken/mod.conf | 2 ++ src/client/content_cao.cpp | 10 +++++----- src/client/game.cpp | 5 ++--- src/client/hud.cpp | 25 ++++++++++++++++++------- src/client/wieldmesh.cpp | 11 ++++++++--- src/nodedef.cpp | 17 ++++++++++++++--- src/object_properties.cpp | 2 +- src/server/luaentity_sao.cpp | 5 +++++ textures/base/pack/no_texture.png | Bin 0 -> 281 bytes 11 files changed, 68 insertions(+), 23 deletions(-) create mode 100644 games/devtest/mods/broken/init.lua create mode 100644 games/devtest/mods/broken/mod.conf create mode 100644 textures/base/pack/no_texture.png diff --git a/doc/texture_packs.txt b/doc/texture_packs.txt index 8af2cbad6..f738032b6 100644 --- a/doc/texture_packs.txt +++ b/doc/texture_packs.txt @@ -90,9 +90,10 @@ by texture packs. All existing fallback textures can be found in the directory * `minimap_mask_square.png`: mask used for the square minimap * `minimap_overlay_round.png`: overlay texture for the round minimap * `minimap_overlay_square.png`: overlay texture for the square minimap -* `no_texture_airlike.png`: fallback inventory image for airlike nodes * `object_marker_red.png`: texture for players on the minimap * `player_marker.png`: texture for the own player on the square minimap +* `no_texture_airlike.png`: fallback inventory image for airlike nodes +* `no_texture.png`: fallback image for unspecified textures * `player.png`: front texture of the 2D upright sprite player * `player_back.png`: back texture of the 2D upright sprite player diff --git a/games/devtest/mods/broken/init.lua b/games/devtest/mods/broken/init.lua new file mode 100644 index 000000000..04993ca16 --- /dev/null +++ b/games/devtest/mods/broken/init.lua @@ -0,0 +1,11 @@ +-- Register stuff with empty definitions to test if Minetest fallback options +-- for these things work properly. + +-- The itemstrings are deliberately kept descriptive to keep them easy to +-- recognize. + +minetest.register_node("broken:node_with_empty_definition", {}) +minetest.register_tool("broken:tool_with_empty_definition", {}) +minetest.register_craftitem("broken:craftitem_with_empty_definition", {}) + +minetest.register_entity("broken:entity_with_empty_definition", {}) diff --git a/games/devtest/mods/broken/mod.conf b/games/devtest/mods/broken/mod.conf new file mode 100644 index 000000000..a24378a34 --- /dev/null +++ b/games/devtest/mods/broken/mod.conf @@ -0,0 +1,2 @@ +name = broken +description = Register items and an entity with empty definitions to test fallback diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index da78cae7c..1e79d00c9 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -647,7 +647,7 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr) m_matrixnode, v2f(1, 1), v3f(0,0,0), -1); m_spritenode->grab(); m_spritenode->setMaterialTexture(0, - tsrc->getTextureForMesh("unknown_node.png")); + tsrc->getTextureForMesh("no_texture.png")); setSceneNodeMaterial(m_spritenode); @@ -1288,7 +1288,7 @@ void GenericCAO::updateTextures(std::string mod) if (m_spritenode) { if (m_prop.visual == "sprite") { - std::string texturestring = "unknown_node.png"; + std::string texturestring = "no_texture.png"; if (!m_prop.textures.empty()) texturestring = m_prop.textures[0]; texturestring += mod; @@ -1367,7 +1367,7 @@ void GenericCAO::updateTextures(std::string mod) { for (u32 i = 0; i < 6; ++i) { - std::string texturestring = "unknown_node.png"; + std::string texturestring = "no_texture.png"; if(m_prop.textures.size() > i) texturestring = m_prop.textures[i]; texturestring += mod; @@ -1400,7 +1400,7 @@ void GenericCAO::updateTextures(std::string mod) } else if (m_prop.visual == "upright_sprite") { scene::IMesh *mesh = m_meshnode->getMesh(); { - std::string tname = "unknown_object.png"; + std::string tname = "no_texture.png"; if (!m_prop.textures.empty()) tname = m_prop.textures[0]; tname += mod; @@ -1422,7 +1422,7 @@ void GenericCAO::updateTextures(std::string mod) buf->getMaterial().setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter); } { - std::string tname = "unknown_object.png"; + std::string tname = "no_texture.png"; if (m_prop.textures.size() >= 2) tname = m_prop.textures[1]; else if (!m_prop.textures.empty()) diff --git a/src/client/game.cpp b/src/client/game.cpp index a6448f40d..57951dc95 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3331,9 +3331,8 @@ void Game::handlePointingAtNode(const PointedThing &pointed, } else { MapNode n = map.getNode(nodepos); - if (nodedef_manager->get(n).tiledef[0].name == "unknown_node.png") { - m_game_ui->setInfoText(L"Unknown node: " + - utf8_to_wide(nodedef_manager->get(n).name)); + if (nodedef_manager->get(n).name == "unknown") { + m_game_ui->setInfoText(L"Unknown node"); } } diff --git a/src/client/hud.cpp b/src/client/hud.cpp index 0620759da..e08d2ef02 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -1007,11 +1007,15 @@ void drawItemStack( bool draw_overlay = false; + bool has_mesh = false; + ItemMesh *imesh; + // Render as mesh if animated or no inventory image if ((enable_animations && rotation_kind < IT_ROT_NONE) || def.inventory_image.empty()) { - ItemMesh *imesh = client->idef()->getWieldMesh(def.name, client); - if (!imesh || !imesh->mesh) - return; + imesh = client->idef()->getWieldMesh(def.name, client); + has_mesh = imesh && imesh->mesh; + } + if (has_mesh) { scene::IMesh *mesh = imesh->mesh; driver->clearBuffers(video::ECBF_DEPTH); s32 delta = 0; @@ -1103,10 +1107,17 @@ void drawItemStack( draw_overlay = def.type == ITEM_NODE && def.inventory_image.empty(); } else { // Otherwise just draw as 2D video::ITexture *texture = client->idef()->getInventoryTexture(def.name, client); - if (!texture) - return; - video::SColor color = - client->idef()->getItemstackColor(item, client); + video::SColor color; + if (texture) { + color = client->idef()->getItemstackColor(item, client); + } else { + color = video::SColor(255, 255, 255, 255); + ITextureSource *tsrc = client->getTextureSource(); + texture = tsrc->getTexture("no_texture.png"); + if (!texture) + return; + } + const video::SColor colors[] = { color, color, color, color }; draw2DImageFilterScaled(driver, texture, rect, diff --git a/src/client/wieldmesh.cpp b/src/client/wieldmesh.cpp index 6beed3f3a..0a4cb3b86 100644 --- a/src/client/wieldmesh.cpp +++ b/src/client/wieldmesh.cpp @@ -458,9 +458,14 @@ void WieldMeshSceneNode::setItem(const ItemStack &item, Client *client, bool che material.setFlag(video::EMF_TRILINEAR_FILTER, m_trilinear_filter); } return; - } else if (!def.inventory_image.empty()) { - setExtruded(def.inventory_image, def.inventory_overlay, def.wield_scale, - tsrc, 1); + } else { + if (!def.inventory_image.empty()) { + setExtruded(def.inventory_image, def.inventory_overlay, def.wield_scale, + tsrc, 1); + } else { + setExtruded("no_texture.png", "", def.wield_scale, tsrc, 1); + } + m_colors.emplace_back(); // overlay is white, if present m_colors.emplace_back(true, video::SColor(0xFFFFFFFF)); diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 703df4dee..f0e0024be 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -796,8 +796,10 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc TileDef tdef[6]; for (u32 j = 0; j < 6; j++) { tdef[j] = tiledef[j]; - if (tdef[j].name.empty()) - tdef[j].name = "unknown_node.png"; + if (tdef[j].name.empty()) { + tdef[j].name = "no_texture.png"; + tdef[j].backface_culling = false; + } } // also the overlay tiles TileDef tdef_overlay[6]; @@ -805,8 +807,13 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc tdef_overlay[j] = tiledef_overlay[j]; // also the special tiles TileDef tdef_spec[6]; - for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) + for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) { tdef_spec[j] = tiledef_special[j]; + if (tdef_spec[j].name.empty()) { + tdef_spec[j].name = "no_texture.png"; + tdef_spec[j].backface_culling = false; + } + } bool is_liquid = false; @@ -1052,6 +1059,10 @@ void NodeDefManager::clear() { ContentFeatures f; f.name = "unknown"; + TileDef unknownTile; + unknownTile.name = "unknown_node.png"; + for (int t = 0; t < 6; t++) + f.tiledef[t] = unknownTile; // Insert directly into containers content_t c = CONTENT_UNKNOWN; m_content_features[c] = f; diff --git a/src/object_properties.cpp b/src/object_properties.cpp index db06f8930..c7f6becf0 100644 --- a/src/object_properties.cpp +++ b/src/object_properties.cpp @@ -28,7 +28,7 @@ static const video::SColor NULL_BGCOLOR{0, 1, 1, 1}; ObjectProperties::ObjectProperties() { - textures.emplace_back("unknown_object.png"); + textures.emplace_back("no_texture.png"); colors.emplace_back(255,255,255,255); } diff --git a/src/server/luaentity_sao.cpp b/src/server/luaentity_sao.cpp index 3bcbe107b..1d65ac306 100644 --- a/src/server/luaentity_sao.cpp +++ b/src/server/luaentity_sao.cpp @@ -108,7 +108,12 @@ void LuaEntitySAO::addedToEnvironment(u32 dtime_s) m_env->getScriptIface()-> luaentity_Activate(m_id, m_init_state, dtime_s); } else { + // It's an unknown object + // Use entitystring as infotext for debugging m_prop.infotext = m_init_name; + // Set unknown object texture + m_prop.textures.clear(); + m_prop.textures.emplace_back("unknown_object.png"); } } diff --git a/textures/base/pack/no_texture.png b/textures/base/pack/no_texture.png new file mode 100644 index 000000000..681b81082 Binary files /dev/null and b/textures/base/pack/no_texture.png differ -- cgit v1.2.3 From 0d345dc1bd56068b8d40f8ff712a9263c6ff7517 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:51:21 +0200 Subject: Fix view bobbing not resetting when resting partially fixes #11694, also fixes #11692 --- src/client/camera.cpp | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 48e60c433..7adcf2376 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -186,9 +186,7 @@ void Camera::step(f32 dtime) m_view_bobbing_anim -= offset; } else if (m_view_bobbing_anim > 0.75) { m_view_bobbing_anim += offset; - } - - if (m_view_bobbing_anim < 0.5) { + } else if (m_view_bobbing_anim < 0.5) { m_view_bobbing_anim += offset; if (m_view_bobbing_anim > 0.5) m_view_bobbing_anim = 0.5; @@ -410,41 +408,17 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_r f32 bobfrac = my_modf(m_view_bobbing_anim * 2); f32 bobdir = (m_view_bobbing_anim < 0.5) ? 1.0 : -1.0; - #if 1 f32 bobknob = 1.2; f32 bobtmp = sin(pow(bobfrac, bobknob) * M_PI); - //f32 bobtmp2 = cos(pow(bobfrac, bobknob) * M_PI); v3f bobvec = v3f( 0.3 * bobdir * sin(bobfrac * M_PI), -0.28 * bobtmp * bobtmp, 0.); - //rel_cam_pos += 0.2 * bobvec; - //rel_cam_target += 0.03 * bobvec; - //rel_cam_up.rotateXYBy(0.02 * bobdir * bobtmp * M_PI); - float f = 1.0; - f *= m_cache_view_bobbing_amount; - rel_cam_pos += bobvec * f; - //rel_cam_target += 0.995 * bobvec * f; - rel_cam_target += bobvec * f; - rel_cam_target.Z -= 0.005 * bobvec.Z * f; - //rel_cam_target.X -= 0.005 * bobvec.X * f; - //rel_cam_target.Y -= 0.005 * bobvec.Y * f; - rel_cam_up.rotateXYBy(-0.03 * bobdir * bobtmp * M_PI * f); - #else - f32 angle_deg = 1 * bobdir * sin(bobfrac * M_PI); - f32 angle_rad = angle_deg * M_PI / 180; - f32 r = 0.05; - v3f off = v3f( - r * sin(angle_rad), - r * (cos(angle_rad) - 1), - 0); - rel_cam_pos += off; - //rel_cam_target += off; - rel_cam_up.rotateXYBy(angle_deg); - #endif - + rel_cam_pos += bobvec * m_cache_view_bobbing_amount; + rel_cam_target += bobvec * m_cache_view_bobbing_amount; + rel_cam_up.rotateXYBy(-0.03 * bobdir * bobtmp * M_PI * m_cache_view_bobbing_amount); } // Compute absolute camera position and target -- cgit v1.2.3 From a78124831f71a235756ca2321a6422295d67572f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 22 Oct 2021 10:55:18 +0200 Subject: Fix incorrect error message in core.encode_png --- builtin/game/misc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index 63d64817c..05237662c 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -287,7 +287,7 @@ function core.encode_png(width, height, data, compression) local expected_byte_count = width * height * 4 if type(data) ~= "table" and type(data) ~= "string" then - error("Incorrect type for 'height', expected table or string, got " .. type(height)) + error("Incorrect type for 'data', expected table or string, got " .. type(data)) end local data_length = type(data) == "table" and #data * 4 or string.len(data) -- cgit v1.2.3 From d4b89eb106220f43838b039b13a0e356d366c259 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 21 Oct 2021 23:01:31 +0200 Subject: Fix no_texture.png activation w/ simple leaves --- src/nodedef.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index f0e0024be..6f52b608b 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -809,10 +809,6 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc TileDef tdef_spec[6]; for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) { tdef_spec[j] = tiledef_special[j]; - if (tdef_spec[j].name.empty()) { - tdef_spec[j].name = "no_texture.png"; - tdef_spec[j].backface_culling = false; - } } bool is_liquid = false; -- cgit v1.2.3 From 660e63dbae5901f8178b39ab40e6f770b8d7a215 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 25 Oct 2021 20:30:27 +0200 Subject: Fix item duplication if player dies during interact callback (alternative) (#11662) --- builtin/game/item.lua | 50 +++++++++++++++++++++---------------- doc/lua_api.txt | 11 +++++--- src/network/serverpackethandler.cpp | 44 +++++++++++++++++++------------- src/script/cpp_api/s_item.cpp | 21 +++++++++++----- src/script/cpp_api/s_item.h | 14 ++++++++--- src/script/lua_api/l_env.cpp | 2 +- src/util/Optional.h | 32 ++++++++++++++++++++++-- 7 files changed, 118 insertions(+), 56 deletions(-) diff --git a/builtin/game/item.lua b/builtin/game/item.lua index c495a67bd..039947584 100644 --- a/builtin/game/item.lua +++ b/builtin/game/item.lua @@ -499,34 +499,40 @@ function core.do_item_eat(hp_change, replace_with_item, itemstack, user, pointed return result end end + if itemstack:take_item():is_empty() then + return itemstack + end + local def = itemstack:get_definition() - if itemstack:take_item() ~= nil then - user:set_hp(user:get_hp() + hp_change) - - if def and def.sound and def.sound.eat then - core.sound_play(def.sound.eat, { - pos = user:get_pos(), - max_hear_distance = 16 - }, true) - end + if def and def.sound and def.sound.eat then + core.sound_play(def.sound.eat, { + pos = user:get_pos(), + max_hear_distance = 16 + }, true) + end - if replace_with_item then - if itemstack:is_empty() then - itemstack:add_item(replace_with_item) + -- Changing hp might kill the player causing mods to do who-knows-what to the + -- inventory, so do this before set_hp(). + if replace_with_item then + if itemstack:is_empty() then + itemstack:add_item(replace_with_item) + else + local inv = user:get_inventory() + -- Check if inv is null, since non-players don't have one + if inv and inv:room_for_item("main", {name=replace_with_item}) then + inv:add_item("main", replace_with_item) else - local inv = user:get_inventory() - -- Check if inv is null, since non-players don't have one - if inv and inv:room_for_item("main", {name=replace_with_item}) then - inv:add_item("main", replace_with_item) - else - local pos = user:get_pos() - pos.y = math.floor(pos.y + 0.5) - core.add_item(pos, replace_with_item) - end + local pos = user:get_pos() + pos.y = math.floor(pos.y + 0.5) + core.add_item(pos, replace_with_item) end end end - return itemstack + user:set_wielded_item(itemstack) + + user:set_hp(user:get_hp() + hp_change) + + return nil -- don't overwrite wield item a second time end function core.item_eat(hp_change, replace_with_item) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 69ac55493..e47df4686 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5421,7 +5421,7 @@ Inventory * `minetest.remove_detached_inventory(name)` * Returns a `boolean` indicating whether the removal succeeded. * `minetest.do_item_eat(hp_change, replace_with_item, itemstack, user, pointed_thing)`: - returns left over ItemStack. + returns leftover ItemStack or nil to indicate no inventory change * See `minetest.item_eat` and `minetest.register_on_item_eat` Formspec @@ -7542,12 +7542,15 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and on_place = function(itemstack, placer, pointed_thing), -- When the 'place' key was pressed with the item in hand -- and a node was pointed at. - -- Shall place item and return the leftover itemstack. + -- Shall place item and return the leftover itemstack + -- or nil to not modify the inventory. -- The placer may be any ObjectRef or nil. -- default: minetest.item_place on_secondary_use = function(itemstack, user, pointed_thing), -- Same as on_place but called when not pointing at a node. + -- Function must return either nil if inventory shall not be modified, + -- or an itemstack to replace the original itemstack. -- The user may be any ObjectRef or nil. -- default: nil @@ -7559,8 +7562,8 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and on_use = function(itemstack, user, pointed_thing), -- default: nil -- When user pressed the 'punch/mine' key with the item in hand. - -- Function must return either nil if no item shall be removed from - -- inventory, or an itemstack to replace the original itemstack. + -- Function must return either nil if inventory shall not be modified, + -- or an itemstack to replace the original itemstack. -- e.g. itemstack:take_item(); return itemstack -- Otherwise, the function is free to do what it wants. -- The user may be any ObjectRef or nil. diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index dc7be0e23..d4bef3ca2 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -921,6 +921,13 @@ bool Server::checkInteractDistance(RemotePlayer *player, const f32 d, const std: return true; } +// Tiny helper to retrieve the selected item into an Optional +static inline void getWieldedItem(const PlayerSAO *playersao, Optional &ret) +{ + ret = ItemStack(); + playersao->getWieldedItem(&(*ret)); +} + void Server::handleCommand_Interact(NetworkPacket *pkt) { /* @@ -1228,14 +1235,17 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) // Place block or right-click object case INTERACT_PLACE: { - ItemStack selected_item; - playersao->getWieldedItem(&selected_item, nullptr); + Optional selected_item; + getWieldedItem(playersao, selected_item); // Reset build time counter if (pointed.type == POINTEDTHING_NODE && - selected_item.getDefinition(m_itemdef).type == ITEM_NODE) + selected_item->getDefinition(m_itemdef).type == ITEM_NODE) getClient(peer_id)->m_time_from_building = 0.0; + const bool had_prediction = !selected_item->getDefinition(m_itemdef). + node_placement_prediction.empty(); + if (pointed.type == POINTEDTHING_OBJECT) { // Right click object @@ -1248,11 +1258,9 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) << pointed_object->getDescription() << std::endl; // Do stuff - if (m_script->item_OnSecondaryUse( - selected_item, playersao, pointed)) { - if (playersao->setWieldedItem(selected_item)) { + if (m_script->item_OnSecondaryUse(selected_item, playersao, pointed)) { + if (selected_item.has_value() && playersao->setWieldedItem(*selected_item)) SendInventory(playersao, true); - } } pointed_object->rightClick(playersao); @@ -1260,7 +1268,7 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) // Placement was handled in lua // Apply returned ItemStack - if (playersao->setWieldedItem(selected_item)) + if (selected_item.has_value() && playersao->setWieldedItem(*selected_item)) SendInventory(playersao, true); } @@ -1272,8 +1280,7 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) RemoteClient *client = getClient(peer_id); v3s16 blockpos = getNodeBlockPos(pointed.node_abovesurface); v3s16 blockpos2 = getNodeBlockPos(pointed.node_undersurface); - if (!selected_item.getDefinition(m_itemdef - ).node_placement_prediction.empty()) { + if (had_prediction) { client->SetBlockNotSent(blockpos); if (blockpos2 != blockpos) client->SetBlockNotSent(blockpos2); @@ -1287,15 +1294,15 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) } // action == INTERACT_PLACE case INTERACT_USE: { - ItemStack selected_item; - playersao->getWieldedItem(&selected_item, nullptr); + Optional selected_item; + getWieldedItem(playersao, selected_item); - actionstream << player->getName() << " uses " << selected_item.name + actionstream << player->getName() << " uses " << selected_item->name << ", pointing at " << pointed.dump() << std::endl; if (m_script->item_OnUse(selected_item, playersao, pointed)) { // Apply returned ItemStack - if (playersao->setWieldedItem(selected_item)) + if (selected_item.has_value() && playersao->setWieldedItem(*selected_item)) SendInventory(playersao, true); } @@ -1304,16 +1311,17 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) // Rightclick air case INTERACT_ACTIVATE: { - ItemStack selected_item; - playersao->getWieldedItem(&selected_item, nullptr); + Optional selected_item; + getWieldedItem(playersao, selected_item); actionstream << player->getName() << " activates " - << selected_item.name << std::endl; + << selected_item->name << std::endl; pointed.type = POINTEDTHING_NOTHING; // can only ever be NOTHING if (m_script->item_OnSecondaryUse(selected_item, playersao, pointed)) { - if (playersao->setWieldedItem(selected_item)) + // Apply returned ItemStack + if (selected_item.has_value() && playersao->setWieldedItem(*selected_item)) SendInventory(playersao, true); } diff --git a/src/script/cpp_api/s_item.cpp b/src/script/cpp_api/s_item.cpp index 48dce14f3..b1916070e 100644 --- a/src/script/cpp_api/s_item.cpp +++ b/src/script/cpp_api/s_item.cpp @@ -59,13 +59,14 @@ bool ScriptApiItem::item_OnDrop(ItemStack &item, return true; } -bool ScriptApiItem::item_OnPlace(ItemStack &item, +bool ScriptApiItem::item_OnPlace(Optional &ret_item, ServerActiveObject *placer, const PointedThing &pointed) { SCRIPTAPI_PRECHECKHEADER int error_handler = PUSH_ERROR_HANDLER(L); + const ItemStack &item = *ret_item; // Push callback function on stack if (!getItemCallback(item.name.c_str(), "on_place")) return false; @@ -82,22 +83,25 @@ bool ScriptApiItem::item_OnPlace(ItemStack &item, PCALL_RES(lua_pcall(L, 3, 1, error_handler)); if (!lua_isnil(L, -1)) { try { - item = read_item(L, -1, getServer()->idef()); + ret_item = read_item(L, -1, getServer()->idef()); } catch (LuaError &e) { throw WRAP_LUAERROR(e, "item=" + item.name); } + } else { + ret_item = nullopt; } lua_pop(L, 2); // Pop item and error handler return true; } -bool ScriptApiItem::item_OnUse(ItemStack &item, +bool ScriptApiItem::item_OnUse(Optional &ret_item, ServerActiveObject *user, const PointedThing &pointed) { SCRIPTAPI_PRECHECKHEADER int error_handler = PUSH_ERROR_HANDLER(L); + const ItemStack &item = *ret_item; // Push callback function on stack if (!getItemCallback(item.name.c_str(), "on_use")) return false; @@ -109,22 +113,25 @@ bool ScriptApiItem::item_OnUse(ItemStack &item, PCALL_RES(lua_pcall(L, 3, 1, error_handler)); if(!lua_isnil(L, -1)) { try { - item = read_item(L, -1, getServer()->idef()); + ret_item = read_item(L, -1, getServer()->idef()); } catch (LuaError &e) { throw WRAP_LUAERROR(e, "item=" + item.name); } + } else { + ret_item = nullopt; } lua_pop(L, 2); // Pop item and error handler return true; } -bool ScriptApiItem::item_OnSecondaryUse(ItemStack &item, +bool ScriptApiItem::item_OnSecondaryUse(Optional &ret_item, ServerActiveObject *user, const PointedThing &pointed) { SCRIPTAPI_PRECHECKHEADER int error_handler = PUSH_ERROR_HANDLER(L); + const ItemStack &item = *ret_item; if (!getItemCallback(item.name.c_str(), "on_secondary_use")) return false; @@ -134,10 +141,12 @@ bool ScriptApiItem::item_OnSecondaryUse(ItemStack &item, PCALL_RES(lua_pcall(L, 3, 1, error_handler)); if (!lua_isnil(L, -1)) { try { - item = read_item(L, -1, getServer()->idef()); + ret_item = read_item(L, -1, getServer()->idef()); } catch (LuaError &e) { throw WRAP_LUAERROR(e, "item=" + item.name); } + } else { + ret_item = nullopt; } lua_pop(L, 2); // Pop item and error handler return true; diff --git a/src/script/cpp_api/s_item.h b/src/script/cpp_api/s_item.h index 25a3501f9..5015d8bd4 100644 --- a/src/script/cpp_api/s_item.h +++ b/src/script/cpp_api/s_item.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "cpp_api/s_base.h" #include "irr_v3d.h" +#include "util/Optional.h" struct PointedThing; struct ItemStack; @@ -35,13 +36,20 @@ class ScriptApiItem : virtual public ScriptApiBase { public: + /* + * Functions with Optional are for callbacks where Lua may + * want to prevent the engine from modifying the inventory after it's done. + * This has a longer backstory where on_use may need to empty the player's + * inventory without the engine interfering (see issue #6546). + */ + bool item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos); - bool item_OnPlace(ItemStack &item, + bool item_OnPlace(Optional &item, ServerActiveObject *placer, const PointedThing &pointed); - bool item_OnUse(ItemStack &item, + bool item_OnUse(Optional &item, ServerActiveObject *user, const PointedThing &pointed); - bool item_OnSecondaryUse(ItemStack &item, + bool item_OnSecondaryUse(Optional &item, ServerActiveObject *user, const PointedThing &pointed); bool item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index 98f8861fa..2c709d31b 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -477,7 +477,7 @@ int ModApiEnvMod::l_place_node(lua_State *L) return 1; } // Create item to place - ItemStack item(ndef->get(n).name, 1, 0, idef); + Optional item = ItemStack(ndef->get(n).name, 1, 0, idef); // Make pointed position PointedThing pointed; pointed.type = POINTEDTHING_NODE; diff --git a/src/util/Optional.h b/src/util/Optional.h index 9c2842b43..eda7fff89 100644 --- a/src/util/Optional.h +++ b/src/util/Optional.h @@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once +#include #include "debug.h" struct nullopt_t @@ -43,18 +44,38 @@ class Optional public: Optional() noexcept {} Optional(nullopt_t) noexcept {} + Optional(const T &value) noexcept : m_has_value(true), m_value(value) {} + Optional(T &&value) noexcept : m_has_value(true), m_value(std::move(value)) {} + Optional(const Optional &other) noexcept : m_has_value(other.m_has_value), m_value(other.m_value) + {} + Optional(Optional &&other) noexcept : + m_has_value(other.m_has_value), m_value(std::move(other.m_value)) { + other.m_has_value = false; } - void operator=(nullopt_t) noexcept { m_has_value = false; } + Optional &operator=(nullopt_t) noexcept { m_has_value = false; return *this; } - void operator=(const Optional &other) noexcept + Optional &operator=(const Optional &other) noexcept { + if (&other == this) + return *this; m_has_value = other.m_has_value; m_value = other.m_value; + return *this; + } + + Optional &operator=(Optional &&other) noexcept + { + if (&other == this) + return *this; + m_has_value = other.m_has_value; + m_value = std::move(other.m_value); + other.m_has_value = false; + return *this; } T &value() @@ -71,6 +92,13 @@ public: const T &value_or(const T &def) const { return m_has_value ? m_value : def; } + // Unchecked access consistent with std::optional + T* operator->() { return &m_value; } + const T* operator->() const { return &m_value; } + + T& operator*() { return m_value; } + const T& operator*() const { return m_value; } + bool has_value() const noexcept { return m_has_value; } explicit operator bool() const { return m_has_value; } -- cgit v1.2.3 From 1e26e4553033ebb11991721ba836e6425f556851 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Mon, 25 Oct 2021 14:31:14 -0400 Subject: Limit stepheight smoothing to the stepheight and stop smoothing during jumps (#11705) --- src/client/camera.cpp | 20 +++++++++++++------- src/client/camera.h | 2 ++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 7adcf2376..1ce92f196 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "player.h" #include #include "client/renderingengine.h" +#include "client/content_cao.h" #include "settings.h" #include "wieldmesh.h" #include "noise.h" // easeCurve @@ -341,13 +342,16 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_r if (player->getParent()) player_position = player->getParent()->getPosition(); - // Smooth the camera movement when the player instantly moves upward due to stepheight. - // To smooth the 'not touching_ground' stepheight, smoothing is necessary when jumping - // or swimming (for when moving from liquid to land). - // Disable smoothing if climbing or flying, to avoid upwards offset of player model - // when seen in 3rd person view. - bool flying = g_settings->getBool("free_move") && m_client->checkLocalPrivilege("fly"); - if (player_position.Y > old_player_position.Y && !player->is_climbing && !flying) { + // Smooth the camera movement after the player instantly moves upward due to stepheight. + // The smoothing usually continues until the camera position reaches the player position. + float player_stepheight = player->getCAO() ? player->getCAO()->getStepHeight() : HUGE_VALF; + float upward_movement = player_position.Y - old_player_position.Y; + if (upward_movement < 0.01f || upward_movement > player_stepheight) { + m_stepheight_smooth_active = false; + } else if (player->touching_ground) { + m_stepheight_smooth_active = true; + } + if (m_stepheight_smooth_active) { f32 oldy = old_player_position.Y; f32 newy = player_position.Y; f32 t = std::exp(-23 * frametime); @@ -587,6 +591,8 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_r const bool walking = movement_XZ && player->touching_ground; const bool swimming = (movement_XZ || player->swimming_vertical) && player->in_liquid; const bool climbing = movement_Y && player->is_climbing; + const bool flying = g_settings->getBool("free_move") + && m_client->checkLocalPrivilege("fly"); if ((walking || swimming || climbing) && !flying) { // Start animation m_view_bobbing_state = 1; diff --git a/src/client/camera.h b/src/client/camera.h index 593a97d80..bea9ab333 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -218,6 +218,8 @@ private: // Camera offset v3s16 m_camera_offset; + bool m_stepheight_smooth_active = false; + // Server-sent FOV variables bool m_server_sent_fov = false; f32 m_curr_fov_degrees, m_old_fov_degrees, m_target_fov_degrees; -- cgit v1.2.3 From 4ee643f472067356599946345f48fe7f743e6f38 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 23 Oct 2021 17:23:30 +0200 Subject: Fixes around emerge handling --- src/emerge.cpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/emerge.cpp b/src/emerge.cpp index be64d744a..619b1fa8e 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -633,12 +633,14 @@ MapBlock *EmergeThread::finishGen(v3s16 pos, BlockMakeData *bmdata, m_server->setAsyncFatalError(e); } + EMERGE_DBG_OUT("ended up with: " << analyze_block(block)); + /* - Clear generate notifier events + Clear mapgen state */ + assert(!m_mapgen->generating); m_mapgen->gennotify.clearEvents(); - - EMERGE_DBG_OUT("ended up with: " << analyze_block(block)); + m_mapgen->vm = nullptr; /* Activate the block @@ -654,19 +656,19 @@ void *EmergeThread::run() BEGIN_DEBUG_EXCEPTION_HANDLER v3s16 pos; + std::map modified_blocks; - m_map = (ServerMap *)&(m_server->m_env->getMap()); + m_map = &m_server->m_env->getServerMap(); m_emerge = m_server->m_emerge; m_mapgen = m_emerge->m_mapgens[id]; enable_mapgen_debug_info = m_emerge->enable_mapgen_debug_info; try { while (!stopRequested()) { - std::map modified_blocks; BlockEmergeData bedata; BlockMakeData bmdata; EmergeAction action; - MapBlock *block; + MapBlock *block = nullptr; if (!popBlockEmerge(&pos, &bedata)) { m_queue_event.wait(); @@ -689,6 +691,8 @@ void *EmergeThread::run() } block = finishGen(pos, &bmdata, &modified_blocks); + if (!block) + action = EMERGE_ERRORED; } runCompletionCallbacks(pos, action, bedata.callbacks); @@ -698,6 +702,7 @@ void *EmergeThread::run() if (!modified_blocks.empty()) m_server->SetBlocksNotSent(modified_blocks); + modified_blocks.clear(); } } catch (VersionMismatchException &e) { std::ostringstream err; -- cgit v1.2.3 From 8dfeba02b9f084ddd52090ccd906534200f468b3 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 25 Oct 2021 21:36:28 +0100 Subject: Fix crash on hypertext[] with not enough parts The length check used < rather than <=, disabling the check when the formspec version matches the client's FORMSPEC_API_VERSION. Additionally, it was possible to have fewer parts than required if the formspec version was greater than the client's FORMSPEC_API_VERSION. --- src/gui/guiFormSpecMenu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 938481fa2..1ce55673d 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -1730,8 +1730,9 @@ void GUIFormSpecMenu::parseHyperText(parserData *data, const std::string &elemen { std::vector parts = split(element, ';'); - if (parts.size() != 4 && m_formspec_version < FORMSPEC_API_VERSION) { - errorstream << "Invalid text element(" << parts.size() << "): '" << element << "'" << std::endl; + if (parts.size() != 4 && + (parts.size() < 4 || m_formspec_version <= FORMSPEC_API_VERSION)) { + errorstream << "Invalid hypertext element(" << parts.size() << "): '" << element << "'" << std::endl; return; } -- cgit v1.2.3 From 532d5b21fdff8bd8aa460b010ebd3bef1b9878dd Mon Sep 17 00:00:00 2001 From: Isabelle COWAN-BERGMAN Date: Sun, 31 Oct 2021 19:17:47 +0100 Subject: Add joystick layout for DragonRise GameCube controller (#11467) --- builtin/settingtypes.txt | 2 +- src/client/joystick_controller.cpp | 50 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index af4f5eaa6..81ebef67d 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -146,7 +146,7 @@ enable_joysticks (Enable joysticks) bool false joystick_id (Joystick ID) int 0 # The type of joystick -joystick_type (Joystick type) enum auto auto,generic,xbox +joystick_type (Joystick type) enum auto auto,generic,xbox,dragonrise_gamecube # The time in seconds it takes between repeated events # when holding down a joystick button combination. diff --git a/src/client/joystick_controller.cpp b/src/client/joystick_controller.cpp index 630565d8d..aae73c62d 100644 --- a/src/client/joystick_controller.cpp +++ b/src/client/joystick_controller.cpp @@ -154,6 +154,54 @@ JoystickLayout create_xbox_layout() return jlo; } +JoystickLayout create_dragonrise_gamecube_layout() +{ + JoystickLayout jlo; + + jlo.axes_deadzone = 7000; + + const JoystickAxisLayout axes[JA_COUNT] = { + // Control Stick + {0, 1}, // JA_SIDEWARD_MOVE + {1, 1}, // JA_FORWARD_MOVE + + // C-Stick + {3, 1}, // JA_FRUSTUM_HORIZONTAL + {4, 1}, // JA_FRUSTUM_VERTICAL + }; + memcpy(jlo.axes, axes, sizeof(jlo.axes)); + + // The center button + JLO_B_PB(KeyType::ESC, 1 << 9, 1 << 9); // Start/Pause Button + + // Front right buttons + JLO_B_PB(KeyType::JUMP, 1 << 2, 1 << 2); // A Button + JLO_B_PB(KeyType::SNEAK, 1 << 3, 1 << 3); // B Button + JLO_B_PB(KeyType::DROP, 1 << 0, 1 << 0); // Y Button + JLO_B_PB(KeyType::AUX1, 1 << 1, 1 << 1); // X Button + + // Triggers + JLO_B_PB(KeyType::DIG, 1 << 4, 1 << 4); // L Trigger + JLO_B_PB(KeyType::PLACE, 1 << 5, 1 << 5); // R Trigger + JLO_B_PB(KeyType::INVENTORY, 1 << 6, 1 << 6); // Z Button + + // D-Pad + JLO_A_PB(KeyType::HOTBAR_PREV, 5, 1, jlo.axes_deadzone); // left + JLO_A_PB(KeyType::HOTBAR_NEXT, 5, -1, jlo.axes_deadzone); // right + // Axis are hard to actuate independantly, best to leave up and down unused. + //JLO_A_PB(0, 6, 1, jlo.axes_deadzone); // up + //JLO_A_PB(0, 6, -1, jlo.axes_deadzone); // down + + // Movements tied to Control Stick, important for vessels + JLO_A_PB(KeyType::LEFT, 0, 1, jlo.axes_deadzone); + JLO_A_PB(KeyType::RIGHT, 0, -1, jlo.axes_deadzone); + JLO_A_PB(KeyType::FORWARD, 1, 1, jlo.axes_deadzone); + JLO_A_PB(KeyType::BACKWARD, 1, -1, jlo.axes_deadzone); + + return jlo; +} + + JoystickController::JoystickController() : doubling_dtime(g_settings->getFloat("repeat_joystick_button_time")) { @@ -188,6 +236,8 @@ void JoystickController::setLayoutFromControllerName(const std::string &name) { if (lowercase(name).find("xbox") != std::string::npos) { m_layout = create_xbox_layout(); + } else if (lowercase(name).find("dragonrise_gamecube") != std::string::npos) { + m_layout = create_dragonrise_gamecube_layout(); } else { m_layout = create_default_layout(); } -- cgit v1.2.3 From cef016d393959e989df259aeacd055fc702a55ca Mon Sep 17 00:00:00 2001 From: x2048 Date: Sun, 31 Oct 2021 19:18:30 +0100 Subject: Apply shadow only to the naturally lit part of the fragment color (#11722) Fragment color for nodes is now calculated from: * Texture color, highlighted by artificial light if present (light color conveyed via vertex color). * Texture color highlighted by natural light (conveyed via vertex color) filtered by shadow. * Reflected day/moonlight filtered by shadow (color and intensity), assuming some portion of the light is directly reflected from the materials. --- client/shaders/nodes_shader/opengl_fragment.glsl | 27 ++++++++++++++++------ .../shadow_shaders/pass1_trans_fragment.glsl | 5 ++-- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index e21890710..b4a605b28 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -1,5 +1,6 @@ uniform sampler2D baseTexture; +uniform vec3 dayLight; uniform vec4 skyBgColor; uniform float fogDistance; uniform vec3 eyePosition; @@ -497,23 +498,35 @@ void main(void) shadow_int = visibility.r; shadow_color = visibility.gba; #else - shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + if (cosLight > 0.0) + shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + shadow_int = 1.0; #endif shadow_int *= distance_rate; - shadow_int *= 1.0 - nightRatio; - + shadow_int = clamp(shadow_int, 0.0, 1.0); } + // turns out that nightRatio falls off much faster than + // actual brightness of artificial light in relation to natual light. + // Power ratio was measured on torches in MTG (brightness = 14). + float adjusted_night_ratio = pow(nightRatio, 0.6); + if (f_normal_length != 0 && cosLight < 0.035) { - shadow_int = max(shadow_int, min(clamp(1.0-nightRatio, 0.0, 1.0), 1 - clamp(cosLight, 0.0, 0.035)/0.035)); + shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, 0.035)/0.035); } - shadow_int = 1.0 - (shadow_int * f_adj_shadow_strength); + shadow_int *= f_adj_shadow_strength; - // apply shadow (+color) as a factor to the material color - col.rgb = col.rgb * (1.0 - (1.0 - shadow_color) * (1.0 - pow(shadow_int, 2.0))); + // calculate fragment color from components: + col.rgb = + adjusted_night_ratio * col.rgb + // artificial light + (1.0 - adjusted_night_ratio) * ( // natural light + col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color + dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight // col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r; + // col.r = adjusted_night_ratio; // debug night ratio adjustment #endif #if ENABLE_TONE_MAPPING diff --git a/client/shaders/shadow_shaders/pass1_trans_fragment.glsl b/client/shaders/shadow_shaders/pass1_trans_fragment.glsl index 032cd9379..b267c2214 100644 --- a/client/shaders/shadow_shaders/pass1_trans_fragment.glsl +++ b/client/shaders/shadow_shaders/pass1_trans_fragment.glsl @@ -33,9 +33,8 @@ void main() //col.rgb = col.a == 1.0 ? vec3(1.0) : col.rgb; #ifdef COLORED_SHADOWS col.rgb *= varColor.rgb; - // alpha 0.0 results in all-white, 0.5 means full color, 1.0 means all black - // resulting color is used as a factor in the final shader - float packedColor = packColor(mix(mix(vec3(1.0), col.rgb, 2.0 * clamp(col.a, 0.0, 0.5)), black, 2.0 * clamp(col.a - 0.5, 0.0, 0.5))); + // premultiply color alpha (see-through side) + float packedColor = packColor(col.rgb * (1.0 - col.a)); gl_FragColor = vec4(depth, packedColor, 0.0,1.0); #else gl_FragColor = vec4(depth, 0.0, 0.0, 1.0); -- cgit v1.2.3 From 4114e3047bd2cc975d829f24d73991650817ad66 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 31 Oct 2021 23:32:25 +0100 Subject: Update Android to new dependency repo (#11690) --- .github/workflows/android.yml | 10 +-- android/app/build.gradle | 6 +- android/build.gradle | 3 +- android/gradle/wrapper/gradle-wrapper.properties | 3 +- android/native/build.gradle | 46 ++-------- android/native/jni/Android.mk | 110 +++++++++++++---------- android/native/jni/Application.mk | 16 ++-- 7 files changed, 88 insertions(+), 106 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 660b5c8df..cc5fe83ef 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -21,15 +21,13 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - name: Install deps - run: sudo apt-get update; sudo apt-get install -y --no-install-recommends gettext + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends gettext openjdk-11-jdk-headless - name: Build with Gradle run: cd android; ./gradlew assemblerelease - name: Save armeabi artifact diff --git a/android/app/build.gradle b/android/app/build.gradle index 53fe85910..234868f92 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion '30.0.3' - ndkVersion '22.0.7026061' + ndkVersion "$ndk_version" defaultConfig { applicationId 'net.minetest.minetest' minSdkVersion 16 @@ -68,7 +68,7 @@ task prepareAssets() { from "${projRoot}/client/shaders" into "${assetsFolder}/client/shaders" } copy { - from "../native/deps/Android/Irrlicht/shaders" into "${assetsFolder}/client/shaders/Irrlicht" + from "../native/deps/armeabi-v7a/Irrlicht/Shaders" into "${assetsFolder}/client/shaders/Irrlicht" } copy { from "${projRoot}/fonts" include "*.ttf" into "${assetsFolder}/fonts" @@ -112,5 +112,5 @@ android.applicationVariants.all { variant -> dependencies { implementation project(':native') - implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'androidx.appcompat:appcompat:1.3.1' } diff --git a/android/build.gradle b/android/build.gradle index 3ba51a4bb..e2fd2b3db 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -10,12 +10,13 @@ project.ext.set("versionCode", 32) // Android Version Code // each APK must have a larger `versionCode` than the previous buildscript { + ext.ndk_version = '23.0.7599858' repositories { google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:7.0.3' classpath 'de.undercouch:gradle-download-task:4.1.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 7fd9307d7..8ad73a75c 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Fri Jan 08 17:52:00 UTC 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip diff --git a/android/native/build.gradle b/android/native/build.gradle index a7f095641..e37694f5b 100644 --- a/android/native/build.gradle +++ b/android/native/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'de.undercouch.download' android { compileSdkVersion 29 buildToolsVersion '30.0.3' - ndkVersion '22.0.7026061' + ndkVersion "$ndk_version" defaultConfig { minSdkVersion 16 targetSdkVersion 29 @@ -50,53 +50,19 @@ android { } // get precompiled deps -def folder = 'minetest_android_deps_binaries' - task downloadDeps(type: Download) { - src 'https://github.com/minetest/' + folder + '/archive/master.zip' + src 'https://github.com/minetest/minetest_android_deps/releases/download/latest/deps.zip' dest new File(buildDir, 'deps.zip') overwrite false } task getDeps(dependsOn: downloadDeps, type: Copy) { - def deps = file('deps') - def f = file("$buildDir/" + folder + "-master") - - if (!deps.exists() && !f.exists()) { + def deps = new File(buildDir.parent, 'deps') + if (!deps.exists()) { + deps.mkdir() from zipTree(downloadDeps.dest) - into buildDir - } - - doLast { - if (!deps.exists()) { - file(f).renameTo(file(deps)) - } - } -} - -// get sqlite -def sqlite_ver = '3340000' -task downloadSqlite(dependsOn: getDeps, type: Download) { - src 'https://www.sqlite.org/2020/sqlite-amalgamation-' + sqlite_ver + '.zip' - dest new File(buildDir, 'sqlite.zip') - overwrite false -} - -task getSqlite(dependsOn: downloadSqlite, type: Copy) { - def sqlite = file('deps/Android/sqlite') - def f = file("$buildDir/sqlite-amalgamation-" + sqlite_ver) - - if (!sqlite.exists() && !f.exists()) { - from zipTree(downloadSqlite.dest) - into buildDir - } - - doLast { - if (!sqlite.exists()) { - file(f).renameTo(file(sqlite)) - } + into deps } } preBuild.dependsOn getDeps -preBuild.dependsOn getSqlite diff --git a/android/native/jni/Android.mk b/android/native/jni/Android.mk index 26e9b058b..85c13bfb3 100644 --- a/android/native/jni/Android.mk +++ b/android/native/jni/Android.mk @@ -4,62 +4,82 @@ LOCAL_PATH := $(call my-dir)/.. include $(CLEAR_VARS) LOCAL_MODULE := Curl -LOCAL_SRC_FILES := deps/Android/Curl/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libcurl.a +LOCAL_SRC_FILES := deps/$(APP_ABI)/Curl/libcurl.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := Freetype -LOCAL_SRC_FILES := deps/Android/Freetype/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libfreetype.a +LOCAL_MODULE := libmbedcrypto +LOCAL_SRC_FILES := deps/$(APP_ABI)/Curl/libmbedcrypto.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := Irrlicht -LOCAL_SRC_FILES := deps/Android/Irrlicht/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libIrrlichtMt.a +LOCAL_MODULE := libmbedtls +LOCAL_SRC_FILES := deps/$(APP_ABI)/Curl/libmbedtls.a include $(PREBUILT_STATIC_LIBRARY) -#include $(CLEAR_VARS) -#LOCAL_MODULE := LevelDB -#LOCAL_SRC_FILES := deps/Android/LevelDB/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libleveldb.a -#include $(PREBUILT_STATIC_LIBRARY) +include $(CLEAR_VARS) +LOCAL_MODULE := libmbedx509 +LOCAL_SRC_FILES := deps/$(APP_ABI)/Curl/libmbedx509.a +include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := LuaJIT -LOCAL_SRC_FILES := deps/Android/LuaJIT/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libluajit.a +LOCAL_MODULE := Freetype +LOCAL_SRC_FILES := deps/$(APP_ABI)/Freetype/libfreetype.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := mbedTLS -LOCAL_SRC_FILES := deps/Android/mbedTLS/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libmbedtls.a +LOCAL_MODULE := Iconv +LOCAL_SRC_FILES := deps/$(APP_ABI)/Iconv/libiconv.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := mbedx509 -LOCAL_SRC_FILES := deps/Android/mbedTLS/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libmbedx509.a +LOCAL_MODULE := libcharset +LOCAL_SRC_FILES := deps/$(APP_ABI)/Iconv/libcharset.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := mbedcrypto -LOCAL_SRC_FILES := deps/Android/mbedTLS/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libmbedcrypto.a +LOCAL_MODULE := Irrlicht +LOCAL_SRC_FILES := deps/$(APP_ABI)/Irrlicht/libIrrlichtMt.a +include $(PREBUILT_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := LuaJIT +LOCAL_SRC_FILES := deps/$(APP_ABI)/LuaJIT/libluajit.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := OpenAL -LOCAL_SRC_FILES := deps/Android/OpenAL-Soft/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libopenal.a +LOCAL_SRC_FILES := deps/$(APP_ABI)/OpenAL-Soft/libopenal.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := GetText -LOCAL_SRC_FILES := deps/Android/GetText/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libintl.a +LOCAL_MODULE := Gettext +LOCAL_SRC_FILES := deps/$(APP_ABI)/Gettext/libintl.a +include $(PREBUILT_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := SQLite3 +LOCAL_SRC_FILES := deps/$(APP_ABI)/SQLite/libsqlite3.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := Vorbis -LOCAL_SRC_FILES := deps/Android/Vorbis/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libvorbis.a +LOCAL_SRC_FILES := deps/$(APP_ABI)/Vorbis/libvorbis.a +include $(PREBUILT_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := libvorbisfile +LOCAL_SRC_FILES := deps/$(APP_ABI)/Vorbis/libvorbisfile.a +include $(PREBUILT_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := libogg +LOCAL_SRC_FILES := deps/$(APP_ABI)/Vorbis/libogg.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := Zstd -LOCAL_SRC_FILES := deps/Android/Zstd/${NDK_TOOLCHAIN_VERSION}/$(APP_ABI)/libzstd.a +LOCAL_SRC_FILES := deps/$(APP_ABI)/Zstd/libzstd.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) @@ -96,18 +116,16 @@ LOCAL_C_INCLUDES := \ ../../src/script \ ../../lib/gmp \ ../../lib/jsoncpp \ - deps/Android/Curl/include \ - deps/Android/Freetype/include \ - deps/Android/Irrlicht/include \ - deps/Android/LevelDB/include \ - deps/Android/GetText/include \ - deps/Android/libiconv/include \ - deps/Android/libiconv/libcharset/include \ - deps/Android/LuaJIT/src \ - deps/Android/OpenAL-Soft/include \ - deps/Android/sqlite \ - deps/Android/Vorbis/include \ - deps/Android/Zstd/include + deps/$(APP_ABI)/Curl/include \ + deps/$(APP_ABI)/Freetype/include/freetype2 \ + deps/$(APP_ABI)/Irrlicht/include \ + deps/$(APP_ABI)/Gettext/include \ + deps/$(APP_ABI)/Iconv/include \ + deps/$(APP_ABI)/LuaJIT/include \ + deps/$(APP_ABI)/OpenAL-Soft/include \ + deps/$(APP_ABI)/SQLite/include \ + deps/$(APP_ABI)/Vorbis/include \ + deps/$(APP_ABI)/Zstd/include LOCAL_SRC_FILES := \ $(wildcard ../../src/client/*.cpp) \ @@ -190,24 +208,24 @@ LOCAL_SRC_FILES := \ ../../src/voxel.cpp \ ../../src/voxelalgorithms.cpp -# LevelDB backend is disabled -# ../../src/database/database-leveldb.cpp - # GMP LOCAL_SRC_FILES += ../../lib/gmp/mini-gmp.c # JSONCPP LOCAL_SRC_FILES += ../../lib/jsoncpp/jsoncpp.cpp -# iconv -LOCAL_SRC_FILES += \ - deps/Android/libiconv/lib/iconv.c \ - deps/Android/libiconv/libcharset/lib/localcharset.c - -# SQLite3 -LOCAL_SRC_FILES += deps/Android/sqlite/sqlite3.c - -LOCAL_STATIC_LIBRARIES += Curl Freetype Irrlicht OpenAL mbedTLS mbedx509 mbedcrypto Vorbis LuaJIT GetText Zstd android_native_app_glue $(PROFILER_LIBS) #LevelDB +LOCAL_STATIC_LIBRARIES += \ + Curl libmbedcrypto libmbedtls libmbedx509 \ + Freetype \ + Iconv libcharset \ + Irrlicht \ + LuaJIT \ + OpenAL \ + Gettext \ + SQLite3 \ + Vorbis libvorbisfile libogg \ + Zstd +LOCAL_STATIC_LIBRARIES += android_native_app_glue $(PROFILER_LIBS) LOCAL_LDLIBS := -lEGL -lGLESv1_CM -lGLESv2 -landroid -lOpenSLES diff --git a/android/native/jni/Application.mk b/android/native/jni/Application.mk index 82f0148f0..e21bca61c 100644 --- a/android/native/jni/Application.mk +++ b/android/native/jni/Application.mk @@ -5,22 +5,22 @@ NDK_TOOLCHAIN_VERSION := clang APP_SHORT_COMMANDS := true APP_MODULES := Minetest -APP_CPPFLAGS := -Ofast -fvisibility=hidden -fexceptions -Wno-deprecated-declarations -Wno-extra-tokens +APP_CPPFLAGS := -O2 -fvisibility=hidden ifeq ($(APP_ABI),armeabi-v7a) -APP_CPPFLAGS += -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb +APP_CPPFLAGS += -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb endif -#ifeq ($(APP_ABI),x86) -#APP_CPPFLAGS += -march=i686 -mtune=intel -mssse3 -mfpmath=sse -m32 -funroll-loops -#endif +ifeq ($(APP_ABI),x86) +APP_CPPFLAGS += -mssse3 -mfpmath=sse -funroll-loops +endif ifndef NDEBUG -APP_CPPFLAGS := -g -D_DEBUG -O0 -fno-omit-frame-pointer -fexceptions +APP_CPPFLAGS := -g -Og -fno-omit-frame-pointer endif -APP_CFLAGS := $(APP_CPPFLAGS) -Wno-parentheses-equality #-Werror=shorten-64-to-32 -APP_CXXFLAGS := $(APP_CPPFLAGS) -frtti -std=gnu++17 +APP_CFLAGS := $(APP_CPPFLAGS) -Wno-inconsistent-missing-override -Wno-parentheses-equality +APP_CXXFLAGS := $(APP_CPPFLAGS) -fexceptions -frtti -std=gnu++17 APP_LDFLAGS := -Wl,--no-warn-mismatch,--gc-sections,--icf=safe ifeq ($(APP_ABI),arm64-v8a) -- cgit v1.2.3 From ea1396f85693ee1f752219d91adcacb32041fc84 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 25 Oct 2021 21:56:25 +0200 Subject: Replace uses of which(1) with command -v --- android/gradlew | 2 +- util/buildbot/buildwin32.sh | 6 +++--- util/buildbot/buildwin64.sh | 6 +++--- util/updatepo.sh | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/android/gradlew b/android/gradlew index 83f2acfdc..25e0c1148 100755 --- a/android/gradlew +++ b/android/gradlew @@ -98,7 +98,7 @@ location of your Java installation." fi else JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + command -v java >/dev/null || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index eceb5b788..c1edbfa1f 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -19,9 +19,9 @@ builddir="$( cd "$builddir" && pwd )" libdir=$builddir/libs # Test which win32 compiler is present -which i686-w64-mingw32-gcc &>/dev/null && +command -v i686-w64-mingw32-gcc >/dev/null && toolchain_file=$dir/toolchain_i686-w64-mingw32.cmake -which i686-w64-mingw32-gcc-posix &>/dev/null && +command -v i686-w64-mingw32-gcc-posix >/dev/null && toolchain_file=$dir/toolchain_i686-w64-mingw32-posix.cmake if [ -z "$toolchain_file" ]; then @@ -146,7 +146,7 @@ cmake -S $sourcedir -B . \ -DCURL_INCLUDE_DIR=$libdir/curl/include \ -DCURL_LIBRARY=$libdir/curl/lib/libcurl.dll.a \ \ - -DGETTEXT_MSGFMT=`which msgfmt` \ + -DGETTEXT_MSGFMT=`command -v msgfmt` \ -DGETTEXT_DLL="$gettext_dlls" \ -DGETTEXT_INCLUDE_DIR=$libdir/gettext/include \ -DGETTEXT_LIBRARY=$libdir/gettext/lib/libintl.dll.a \ diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 68d2ebf0c..134bc08de 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -19,9 +19,9 @@ builddir="$( cd "$builddir" && pwd )" libdir=$builddir/libs # Test which win64 compiler is present -which x86_64-w64-mingw32-gcc &>/dev/null && +command -v x86_64-w64-mingw32-gcc >/dev/null && toolchain_file=$dir/toolchain_x86_64-w64-mingw32.cmake -which x86_64-w64-mingw32-gcc-posix &>/dev/null && +command -v x86_64-w64-mingw32-gcc-posix >/dev/null && toolchain_file=$dir/toolchain_x86_64-w64-mingw32-posix.cmake if [ -z "$toolchain_file" ]; then @@ -146,7 +146,7 @@ cmake -S $sourcedir -B . \ -DCURL_INCLUDE_DIR=$libdir/curl/include \ -DCURL_LIBRARY=$libdir/curl/lib/libcurl.dll.a \ \ - -DGETTEXT_MSGFMT=`which msgfmt` \ + -DGETTEXT_MSGFMT=`command -v msgfmt` \ -DGETTEXT_DLL="$gettext_dlls" \ -DGETTEXT_INCLUDE_DIR=$libdir/gettext/include \ -DGETTEXT_LIBRARY=$libdir/gettext/lib/libintl.dll.a \ diff --git a/util/updatepo.sh b/util/updatepo.sh index dbcb16fde..070a44be6 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -13,7 +13,7 @@ abort() { # this script is. Relative paths are fine for us so we can just # use the following trick (works both for manual invocations and for # script found from PATH) -scriptisin="$(dirname "$(which "$0")")" +scriptisin="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # The script is executed from the parent of po/, which is also the # parent of the script directory and of the src/ directory. -- cgit v1.2.3 From 0b95da7ad3f36ad49e3dfb9d7e919d5f9fc8f57a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 25 Oct 2021 22:33:13 +0200 Subject: Automatically package MinGW runtime in buildbot --- .gitlab-ci.yml | 30 ++---------------------------- README.md | 1 + src/CMakeLists.txt | 10 +++++++--- util/buildbot/buildwin32.sh | 16 ++++++++++++---- util/buildbot/buildwin64.sh | 16 ++++++++++++---- 5 files changed, 34 insertions(+), 39 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b085c36c..f1079c568 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -204,19 +204,6 @@ build:fedora-28: .build_win_template: extends: .generic_win_template stage: build - artifacts: - expire_in: 1h - paths: - - build/build/*.zip - -.package_win_template: - extends: .generic_win_template - stage: package - script: - - unzip build/build/*.zip - - cp -p /usr/${WIN_ARCH}-w64-mingw32/bin/libgcc*.dll minetest-*-win*/bin/ - - cp -p /usr/${WIN_ARCH}-w64-mingw32/bin/libstdc++*.dll minetest-*-win*/bin/ - - cp -p /usr/${WIN_ARCH}-w64-mingw32/bin/libwinpthread*.dll minetest-*-win*/bin/ artifacts: expire_in: 90 day paths: @@ -226,28 +213,15 @@ build:win32: extends: .build_win_template script: - EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin32.sh build + - unzip -q build/build/*.zip variables: WIN_ARCH: "i686" -package:win32: - extends: .package_win_template - needs: - - build:win32 - variables: - WIN_ARCH: "i686" - - build:win64: extends: .build_win_template script: - EXISTING_MINETEST_DIR=$PWD ./util/buildbot/buildwin64.sh build - variables: - WIN_ARCH: "x86_64" - -package:win64: - extends: .package_win_template - needs: - - build:win64 + - unzip -q build/build/*.zip variables: WIN_ARCH: "x86_64" diff --git a/README.md b/README.md index 372276b85..9322912cf 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,7 @@ Library specific options: CURL_LIBRARY - Only if building with cURL; path to libcurl.a/libcurl.so/libcurl.lib EGL_INCLUDE_DIR - Only if building with GLES; directory that contains egl.h EGL_LIBRARY - Only if building with GLES; path to libEGL.a/libEGL.so + EXTRA_DLL - Only on Windows; optional paths to additional DLLs that should be packaged FREETYPE_INCLUDE_DIR_freetype2 - Only if building with FreeType 2; directory that contains an freetype directory with files such as ftimage.h in it FREETYPE_INCLUDE_DIR_ft2build - Only if building with FreeType 2; directory that contains ft2build.h FREETYPE_LIBRARY - Only if building with FreeType 2; path to libfreetype.a/libfreetype.so/freetype.lib diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7ae5c15d4..1549587b7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -278,10 +278,12 @@ if(WIN32) endif() set(PLATFORM_LIBS ws2_32.lib version.lib shlwapi.lib ${PLATFORM_LIBS}) + set(EXTRA_DLL "" CACHE FILEPATH "Optional paths to additional DLLs that should be packaged") + # DLLs are automatically copied to the output directory by vcpkg when VCPKG_APPLOCAL_DEPS=ON if(NOT VCPKG_APPLOCAL_DEPS) - find_file(ZLIB_DLL NAMES "" DOC "Path to Zlib DLL for installation (optional)") - find_file(ZSTD_DLL NAMES "" DOC "Path to Zstd DLL for installation (optional)") + set(ZLIB_DLL "" CACHE FILEPATH "Path to Zlib DLL for installation (optional)") + set(ZSTD_DLL "" CACHE FILEPATH "Path to Zstd DLL for installation (optional)") if(ENABLE_SOUND) set(OPENAL_DLL "" CACHE FILEPATH "Path to OpenAL32.dll for installation (optional)") set(OGG_DLL "" CACHE FILEPATH "Path to libogg.dll for installation (optional)") @@ -294,7 +296,6 @@ if(WIN32) set(LUA_DLL "" CACHE FILEPATH "Path to luajit-5.1.dll for installation (optional)") endif() endif() - else() # Unix probably if(BUILD_CLIENT) @@ -794,6 +795,9 @@ endif() # Installation if(WIN32) + if(EXTRA_DLL) + install(FILES ${EXTRA_DLL} DESTINATION ${BINDIR}) + endif() if(VCPKG_APPLOCAL_DEPS) # Collect the dll's from the output path install(DIRECTORY ${EXECUTABLE_OUTPUT_PATH}/Release/ diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index c1edbfa1f..66f299a6a 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -20,16 +20,24 @@ libdir=$builddir/libs # Test which win32 compiler is present command -v i686-w64-mingw32-gcc >/dev/null && - toolchain_file=$dir/toolchain_i686-w64-mingw32.cmake + compiler=i686-w64-mingw32-gcc command -v i686-w64-mingw32-gcc-posix >/dev/null && - toolchain_file=$dir/toolchain_i686-w64-mingw32-posix.cmake + compiler=i686-w64-mingw32-gcc-posix -if [ -z "$toolchain_file" ]; then +if [ -z "$compiler" ]; then echo "Unable to determine which mingw32 compiler to use" exit 1 fi +toolchain_file=$dir/toolchain_${compiler%-gcc}.cmake echo "Using $toolchain_file" +tmp=$(dirname "$(command -v $compiler)")/../i686-w64-mingw32/bin +runtime_dlls= +[ -d "$tmp" ] && runtime_dlls=$(echo $tmp/lib{gcc_,stdc++-,winpthread-}*.dll | tr ' ' ';') +[ -z "$runtime_dlls" ] && + echo "The compiler runtime DLLs could not be found, they might be missing in the final package." + +# Get stuff irrlicht_version=1.9.0mt3 ogg_version=1.3.4 vorbis_version=1.3.7 @@ -63,7 +71,6 @@ download () { fi } -# Get stuff cd $libdir download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win32.zip" irrlicht-$irrlicht_version.zip download "http://minetest.kitsunemimi.pw/zlib-$zlib_version-win32.zip" @@ -108,6 +115,7 @@ cmake -S $sourcedir -B . \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ + -DEXTRA_DLL="$runtime_dll" \ \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 134bc08de..e9b17c420 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -20,16 +20,24 @@ libdir=$builddir/libs # Test which win64 compiler is present command -v x86_64-w64-mingw32-gcc >/dev/null && - toolchain_file=$dir/toolchain_x86_64-w64-mingw32.cmake + compiler=x86_64-w64-mingw32 command -v x86_64-w64-mingw32-gcc-posix >/dev/null && - toolchain_file=$dir/toolchain_x86_64-w64-mingw32-posix.cmake + compiler=x86_64-w64-mingw32-posix -if [ -z "$toolchain_file" ]; then +if [ -z "$compiler" ]; then echo "Unable to determine which mingw32 compiler to use" exit 1 fi +toolchain_file=$dir/toolchain_${compiler%-gcc}.cmake echo "Using $toolchain_file" +tmp=$(dirname "$(command -v $compiler)")/../x86_64-w64-mingw32/bin +runtime_dlls= +[ -d "$tmp" ] && runtime_dlls=$(echo $tmp/lib{gcc_,stdc++-,winpthread-}*.dll | tr ' ' ';') +[ -z "$runtime_dlls" ] && + echo "The compiler runtime DLLs could not be found, they might be missing in the final package." + +# Get stuff irrlicht_version=1.9.0mt3 ogg_version=1.3.4 vorbis_version=1.3.7 @@ -63,7 +71,6 @@ download () { fi } -# Get stuff cd $libdir download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win64.zip" irrlicht-$irrlicht_version.zip download "http://minetest.kitsunemimi.pw/zlib-$zlib_version-win64.zip" @@ -108,6 +115,7 @@ cmake -S $sourcedir -B . \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ + -DEXTRA_DLL="$runtime_dll" \ \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ -- cgit v1.2.3 From 38ba813c55489595cd78ab2f952be2e954083cfa Mon Sep 17 00:00:00 2001 From: JosiahWI <41302989+JosiahWI@users.noreply.github.com> Date: Sun, 31 Oct 2021 17:33:11 -0500 Subject: Add variable to use existing IrrlichtMt build (#11656) Co-authored-by: SmallJoker --- CMakeLists.txt | 22 ++++++++++++++++++---- README.md | 11 +++++++---- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e542d3509..b41738c06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,6 @@ set(BUILD_CLIENT TRUE CACHE BOOL "Build client") set(BUILD_SERVER FALSE CACHE BOOL "Build server") set(BUILD_UNITTESTS TRUE CACHE BOOL "Build unittests") - set(WARN_ALL TRUE CACHE BOOL "Enable -Wall for Release build") if(NOT CMAKE_BUILD_TYPE) @@ -64,8 +63,21 @@ endif() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") +set(IRRLICHTMT_BUILD_DIR "" CACHE PATH "Path to IrrlichtMt build directory.") +if(NOT "${IRRLICHTMT_BUILD_DIR}" STREQUAL "") + find_package(IrrlichtMt QUIET + PATHS "${IRRLICHTMT_BUILD_DIR}" + NO_DEFAULT_PATH +) + + if(NOT TARGET IrrlichtMt::IrrlichtMt) + # find_package() searches certain subdirectories. ${PATH}/cmake is not + # the only one, but it is the one where IrrlichtMt is supposed to export + # IrrlichtMtConfig.cmake + message(FATAL_ERROR "Could not find IrrlichtMtConfig.cmake in ${IRRLICHTMT_BUILD_DIR}/cmake.") + endif() # This is done here so that relative search paths are more reasonable -if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/lib/irrlichtmt") +elseif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/lib/irrlichtmt") message(STATUS "Using user-provided IrrlichtMt at subdirectory 'lib/irrlichtmt'") if(BUILD_CLIENT) # tell IrrlichtMt to create a static library @@ -101,11 +113,13 @@ else() # Note that we can't use target_include_directories() since that doesn't work for IMPORTED targets before CMake 3.11 set_target_properties(IrrlichtMt::IrrlichtMt PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${IRRLICHT_INCLUDE_DIR}") - else() - message(STATUS "Found IrrlichtMt ${IrrlichtMt_VERSION}") endif() endif() +if(TARGET IrrlichtMt::IrrlichtMt) + message(STATUS "Found IrrlichtMt ${IrrlichtMt_VERSION}") +endif() + # Installation diff --git a/README.md b/README.md index 9322912cf..65dbd7e93 100644 --- a/README.md +++ b/README.md @@ -224,10 +224,13 @@ Run it: - Debug build is slower, but gives much more useful output in a debugger. - If you build a bare server you don't need to have the Irrlicht or IrrlichtMt library installed. - In that case use `-DIRRLICHT_INCLUDE_DIR=/some/where/irrlicht/include`. -- IrrlichtMt can also be installed somewhere that is not a standard install path. - - In that case use `-DCMAKE_PREFIX_PATH=/path/to/install_prefix` - - The path must be set so that `$(CMAKE_PREFIX_PATH)/lib/cmake/IrrlichtMt` exists - or that `$(CMAKE_PREFIX_PATH)` is the path of an IrrlichtMt build folder. + +- Minetest will use the IrrlichtMt package that is found first, given by the following order: + 1. Specified `IRRLICHTMT_BUILD_DIR` CMake variable + 2. `${PROJECT_SOURCE_DIR}/lib/irrlichtmt` (if existent) + 3. Installation of IrrlichtMt in the system-specific library paths + 4. For server builds with disabled `BUILD_CLIENT` variable, the headers from `IRRLICHT_INCLUDE_DIR` will be used. + - NOTE: Changing the IrrlichtMt build directory (includes system installs) requires regenerating the CMake cache (`rm CMakeCache.txt`) ### CMake options -- cgit v1.2.3 From 6910c8d920acedb3f1df1ac03a5cdf14f5fb6081 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 31 Oct 2021 22:33:33 +0000 Subject: Fix number of tool uses being off by 1..32767 (#11110) --- builtin/game/item.lua | 2 +- doc/lua_api.txt | 13 +-- games/devtest/mods/basetools/init.lua | 44 +++++---- .../mods/basetools/textures/basetools_dirtpick.png | Bin 307 -> 0 bytes games/devtest/mods/util_commands/init.lua | 53 +++++++++++ src/client/content_cao.cpp | 3 +- src/client/game.cpp | 3 +- src/network/serverpackethandler.cpp | 7 +- src/script/lua_api/l_object.cpp | 2 +- src/script/lua_api/l_util.cpp | 19 ++-- src/script/lua_api/l_util.h | 4 +- src/server/luaentity_sao.cpp | 8 +- src/server/luaentity_sao.h | 5 +- src/server/player_sao.cpp | 7 +- src/server/player_sao.h | 4 +- src/server/serveractiveobject.h | 7 +- src/tool.cpp | 99 ++++++++++++++++++--- src/tool.h | 18 ++-- 18 files changed, 228 insertions(+), 70 deletions(-) delete mode 100644 games/devtest/mods/basetools/textures/basetools_dirtpick.png diff --git a/builtin/game/item.lua b/builtin/game/item.lua index 039947584..c9ccb8801 100644 --- a/builtin/game/item.lua +++ b/builtin/game/item.lua @@ -613,7 +613,7 @@ function core.node_dig(pos, node, digger) if wielded then local wdef = wielded:get_definition() local tp = wielded:get_tool_capabilities() - local dp = core.get_dig_params(def and def.groups, tp) + local dp = core.get_dig_params(def and def.groups, tp, wielded:get_wear()) if wdef and wdef.after_use then wielded = wdef.after_use(wielded, digger, node, dp) or wielded else diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e47df4686..f3007671b 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1953,8 +1953,9 @@ to implement this. ### Uses (tools only) Determines how many uses the tool has when it is used for digging a node, -of this group, of the maximum level. For lower leveled nodes, the use count -is multiplied by `3^leveldiff`. +of this group, of the maximum level. The maximum supported number of +uses is 65535. The special number 0 is used for infinite uses. +For lower leveled nodes, the use count is multiplied by `3^leveldiff`. `leveldiff` is the difference of the tool's `maxlevel` `groupcaps` and the node's `level` group. The node cannot be dug if `leveldiff` is less than zero. @@ -3475,8 +3476,8 @@ Helper functions * `minetest.pointed_thing_to_face_pos(placer, pointed_thing)`: returns a position. * returns the exact position on the surface of a pointed node -* `minetest.get_dig_params(groups, tool_capabilities)`: Simulates an item - that digs a node. +* `minetest.get_dig_params(groups, tool_capabilities [, wear])`: + Simulates an item that digs a node. Returns a table with the following fields: * `diggable`: `true` if node can be dug, `false` otherwise. * `time`: Time it would take to dig the node. @@ -3485,7 +3486,8 @@ Helper functions Parameters: * `groups`: Table of the node groups of the node that would be dug * `tool_capabilities`: Tool capabilities table of the item -* `minetest.get_hit_params(groups, tool_capabilities [, time_from_last_punch])`: + * `wear`: Amount of wear the tool starts with (default: 0) +* `minetest.get_hit_params(groups, tool_capabilities [, time_from_last_punch [, wear]])`: Simulates an item that punches an object. Returns a table with the following fields: * `hp`: How much damage the punch would cause. @@ -3494,6 +3496,7 @@ Helper functions * `groups`: Damage groups of the object * `tool_capabilities`: Tool capabilities table of the item * `time_from_last_punch`: time in seconds since last punch action + * `wear`: Amount of wear the item starts with (default: 0) diff --git a/games/devtest/mods/basetools/init.lua b/games/devtest/mods/basetools/init.lua index bd7480030..fd83b82eb 100644 --- a/games/devtest/mods/basetools/init.lua +++ b/games/devtest/mods/basetools/init.lua @@ -16,11 +16,11 @@ Tool types: Tool materials: -* Dirt: dig nodes of rating 3, one use only * Wood: dig nodes of rating 3 * Stone: dig nodes of rating 3 or 2 * Steel: dig nodes of rating 3, 2 or 1 * Mese: dig "everything" instantly +* n-Uses: can be used n times before breaking ]] -- The hand @@ -92,20 +92,6 @@ minetest.register_tool("basetools:pick_mese", { -- Pickaxes: Dig cracky -- --- This should break after only 1 use -minetest.register_tool("basetools:pick_dirt", { - description = "Dirt Pickaxe".."\n".. - "Digs cracky=3".."\n".. - "1 use only", - inventory_image = "basetools_dirtpick.png", - tool_capabilities = { - max_drop_level=0, - groupcaps={ - cracky={times={[3]=2.00}, uses=1, maxlevel=0} - }, - }, -}) - minetest.register_tool("basetools:pick_wood", { description = "Wooden Pickaxe".."\n".. "Digs cracky=3", @@ -348,3 +334,31 @@ minetest.register_tool("basetools:dagger_steel", { damage_groups = {fleshy=2}, } }) + +-- Test tool uses and punch_attack_uses +local uses = { 1, 2, 3, 5, 10, 50, 100, 1000, 10000, 65535 } +for i=1, #uses do + local u = uses[i] + local color = string.format("#FF00%02X", math.floor(((i-1)/#uses) * 255)) + minetest.register_tool("basetools:pick_uses_"..string.format("%05d", u), { + description = u.."-Uses Pickaxe".."\n".. + "Digs cracky=3", + inventory_image = "basetools_steelpick.png^[colorize:"..color..":127", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + cracky={times={[3]=0.1, [2]=0.2, [1]=0.3}, uses=u, maxlevel=0} + }, + }, + }) + + minetest.register_tool("basetools:sword_uses_"..string.format("%05d", u), { + description = u.."-Uses Sword".."\n".. + "Damage: fleshy=1", + inventory_image = "basetools_woodsword.png^[colorize:"..color..":127", + tool_capabilities = { + damage_groups = {fleshy=1}, + punch_attack_uses = u, + }, + }) +end diff --git a/games/devtest/mods/basetools/textures/basetools_dirtpick.png b/games/devtest/mods/basetools/textures/basetools_dirtpick.png deleted file mode 100644 index 20a021d72..000000000 Binary files a/games/devtest/mods/basetools/textures/basetools_dirtpick.png and /dev/null differ diff --git a/games/devtest/mods/util_commands/init.lua b/games/devtest/mods/util_commands/init.lua index ca5dca2d9..79acaa0d0 100644 --- a/games/devtest/mods/util_commands/init.lua +++ b/games/devtest/mods/util_commands/init.lua @@ -114,6 +114,59 @@ minetest.register_chatcommand("detach", { end, }) +minetest.register_chatcommand("use_tool", { + params = "(dig ) | (hit ) []", + description = "Apply tool wear a number of times, as if it were used for digging", + func = function(name, param) + local player = minetest.get_player_by_name(name) + if not player then + return false, "No player." + end + local mode, group, level, uses = string.match(param, "([a-z]+) ([a-z0-9]+) (-?%d+) (%d+)") + if not mode then + mode, group, level = string.match(param, "([a-z]+) ([a-z0-9]+) (-?%d+)") + uses = 1 + end + if not mode or not group or not level then + return false + end + if mode ~= "dig" and mode ~= "hit" then + return false + end + local tool = player:get_wielded_item() + local caps = tool:get_tool_capabilities() + if not caps or tool:get_count() == 0 then + return false, "No tool in hand." + end + local actual_uses = 0 + for u=1, uses do + local wear = tool:get_wear() + local dp + if mode == "dig" then + dp = minetest.get_dig_params({[group]=3, level=level}, caps, wear) + else + dp = minetest.get_hit_params({[group]=100}, caps, level, wear) + end + tool:add_wear(dp.wear) + actual_uses = actual_uses + 1 + if tool:get_count() == 0 then + break + end + end + player:set_wielded_item(tool) + if tool:get_count() == 0 then + return true, string.format("Tool used %d time(s). ".. + "The tool broke after %d use(s).", uses, actual_uses) + else + local wear = tool:get_wear() + return true, string.format("Tool used %d time(s). ".. + "Final wear=%d", uses, wear) + end + end, +}) + + + -- Use this to test waypoint capabilities minetest.register_chatcommand("test_waypoints", { params = "[change_immediate]", diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 1e79d00c9..5c8465b22 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1870,7 +1870,8 @@ bool GenericCAO::directReportPunch(v3f dir, const ItemStack *punchitem, m_armor_groups, toolcap, punchitem, - time_from_last_punch); + time_from_last_punch, + punchitem->wear); if(result.did_punch && result.damage != 0) { diff --git a/src/client/game.cpp b/src/client/game.cpp index 57951dc95..7f0aff49c 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3619,7 +3619,8 @@ void Game::handleDigging(const PointedThing &pointed, const v3s16 &nodepos, // cheat detection. // Get digging parameters DigParams params = getDigParams(nodedef_manager->get(n).groups, - &selected_item.getToolCapabilities(itemdef_manager)); + &selected_item.getToolCapabilities(itemdef_manager), + selected_item.wear); // If can't dig, try hand if (!params.diggable) { diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index d4bef3ca2..c1ddb5005 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -1119,8 +1119,8 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) float time_from_last_punch = playersao->resetTimeFromLastPunch(); - u16 wear = pointed_object->punch(dir, &toolcap, playersao, - time_from_last_punch); + u32 wear = pointed_object->punch(dir, &toolcap, playersao, + time_from_last_punch, tool_item.wear); // Callback may have changed item, so get it again playersao->getWieldedItem(&selected_item); @@ -1173,7 +1173,8 @@ void Server::handleCommand_Interact(NetworkPacket *pkt) // Get diggability and expected digging time DigParams params = getDigParams(m_nodedef->get(n).groups, - &selected_item.getToolCapabilities(m_itemdef)); + &selected_item.getToolCapabilities(m_itemdef), + selected_item.wear); // If can't dig, try hand if (!params.diggable) { params = getDigParams(m_nodedef->get(n).groups, diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index b7185f7ec..072b13d80 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -174,7 +174,7 @@ int ObjectRef::l_punch(lua_State *L) v3f dir = readParam(L, 5, sao->getBasePosition() - puncher->getBasePosition()); dir.normalize(); - u16 wear = sao->punch(dir, &toolcap, puncher, time_from_last_punch); + u32 wear = sao->punch(dir, &toolcap, puncher, time_from_last_punch); lua_pushnumber(L, wear); return 1; diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp index 2405cd90d..53319ccfd 100644 --- a/src/script/lua_api/l_util.cpp +++ b/src/script/lua_api/l_util.cpp @@ -160,28 +160,33 @@ int ModApiUtil::l_write_json(lua_State *L) return 1; } -// get_dig_params(groups, tool_capabilities) +// get_dig_params(groups, tool_capabilities[, wear]) int ModApiUtil::l_get_dig_params(lua_State *L) { NO_MAP_LOCK_REQUIRED; ItemGroupList groups; read_groups(L, 1, groups); ToolCapabilities tp = read_tool_capabilities(L, 2); - push_dig_params(L, getDigParams(groups, &tp)); + if (lua_isnoneornil(L, 3)) { + push_dig_params(L, getDigParams(groups, &tp)); + } else { + u16 wear = readParam(L, 3); + push_dig_params(L, getDigParams(groups, &tp, wear)); + } return 1; } -// get_hit_params(groups, tool_capabilities[, time_from_last_punch]) +// get_hit_params(groups, tool_capabilities[, time_from_last_punch, [, wear]]) int ModApiUtil::l_get_hit_params(lua_State *L) { NO_MAP_LOCK_REQUIRED; std::unordered_map groups; read_groups(L, 1, groups); ToolCapabilities tp = read_tool_capabilities(L, 2); - if(lua_isnoneornil(L, 3)) - push_hit_params(L, getHitParams(groups, &tp)); - else - push_hit_params(L, getHitParams(groups, &tp, readParam(L, 3))); + float time_from_last_punch = readParam(L, 3, 1000000); + int wear = readParam(L, 4, 0); + push_hit_params(L, getHitParams(groups, &tp, + time_from_last_punch, wear)); return 1; } diff --git a/src/script/lua_api/l_util.h b/src/script/lua_api/l_util.h index cc91e8d39..314e92f5c 100644 --- a/src/script/lua_api/l_util.h +++ b/src/script/lua_api/l_util.h @@ -50,10 +50,10 @@ private: // write_json(data[, styled]) static int l_write_json(lua_State *L); - // get_dig_params(groups, tool_capabilities[, time_from_last_punch]) + // get_dig_params(groups, tool_capabilities[, wear]) static int l_get_dig_params(lua_State *L); - // get_hit_params(groups, tool_capabilities[, time_from_last_punch]) + // get_hit_params(groups, tool_capabilities[, time_from_last_punch[, wear]]) static int l_get_hit_params(lua_State *L); // check_password_entry(name, entry, password) diff --git a/src/server/luaentity_sao.cpp b/src/server/luaentity_sao.cpp index 1d65ac306..82f6da231 100644 --- a/src/server/luaentity_sao.cpp +++ b/src/server/luaentity_sao.cpp @@ -305,10 +305,11 @@ void LuaEntitySAO::getStaticData(std::string *result) const *result = os.str(); } -u16 LuaEntitySAO::punch(v3f dir, +u32 LuaEntitySAO::punch(v3f dir, const ToolCapabilities *toolcap, ServerActiveObject *puncher, - float time_from_last_punch) + float time_from_last_punch, + u16 initial_wear) { if (!m_registered) { // Delete unknown LuaEntities when punched @@ -326,7 +327,8 @@ u16 LuaEntitySAO::punch(v3f dir, m_armor_groups, toolcap, &tool_item, - time_from_last_punch); + time_from_last_punch, + initial_wear); bool damage_handled = m_env->getScriptIface()->luaentity_Punch(m_id, puncher, time_from_last_punch, toolcap, dir, result.did_punch ? result.damage : 0); diff --git a/src/server/luaentity_sao.h b/src/server/luaentity_sao.h index 6883ae1b9..87b664a8b 100644 --- a/src/server/luaentity_sao.h +++ b/src/server/luaentity_sao.h @@ -44,9 +44,10 @@ public: bool isStaticAllowed() const { return m_prop.static_save; } bool shouldUnload() const { return true; } void getStaticData(std::string *result) const; - u16 punch(v3f dir, const ToolCapabilities *toolcap = nullptr, + u32 punch(v3f dir, const ToolCapabilities *toolcap = nullptr, ServerActiveObject *puncher = nullptr, - float time_from_last_punch = 1000000.0f); + float time_from_last_punch = 1000000.0f, + u16 initial_wear = 0); void rightClick(ServerActiveObject *clicker); void setPos(const v3f &pos); void moveTo(v3f pos, bool continuous); diff --git a/src/server/player_sao.cpp b/src/server/player_sao.cpp index 690823bb7..83e17f830 100644 --- a/src/server/player_sao.cpp +++ b/src/server/player_sao.cpp @@ -409,10 +409,11 @@ void PlayerSAO::setLookPitchAndSend(const float pitch) m_env->getGameDef()->SendMovePlayer(m_peer_id); } -u16 PlayerSAO::punch(v3f dir, +u32 PlayerSAO::punch(v3f dir, const ToolCapabilities *toolcap, ServerActiveObject *puncher, - float time_from_last_punch) + float time_from_last_punch, + u16 initial_wear) { if (!toolcap) return 0; @@ -430,7 +431,7 @@ u16 PlayerSAO::punch(v3f dir, s32 old_hp = getHP(); HitParams hitparams = getHitParams(m_armor_groups, toolcap, - time_from_last_punch); + time_from_last_punch, initial_wear); PlayerSAO *playersao = m_player->getPlayerSAO(); diff --git a/src/server/player_sao.h b/src/server/player_sao.h index 1429d7129..47fe85413 100644 --- a/src/server/player_sao.h +++ b/src/server/player_sao.h @@ -109,8 +109,8 @@ public: Interaction interface */ - u16 punch(v3f dir, const ToolCapabilities *toolcap, ServerActiveObject *puncher, - float time_from_last_punch); + u32 punch(v3f dir, const ToolCapabilities *toolcap, ServerActiveObject *puncher, + float time_from_last_punch, u16 initial_wear = 0); void rightClick(ServerActiveObject *clicker); void setHP(s32 hp, const PlayerHPChangeReason &reason) override { diff --git a/src/server/serveractiveobject.h b/src/server/serveractiveobject.h index 51f445914..5b0ee2d9b 100644 --- a/src/server/serveractiveobject.h +++ b/src/server/serveractiveobject.h @@ -145,11 +145,12 @@ public: virtual bool shouldUnload() const { return true; } - // Returns tool wear - virtual u16 punch(v3f dir, + // Returns added tool wear + virtual u32 punch(v3f dir, const ToolCapabilities *toolcap = nullptr, ServerActiveObject *puncher = nullptr, - float time_from_last_punch = 1000000.0f) + float time_from_last_punch = 1000000.0f, + u16 initial_wear = 0) { return 0; } virtual void rightClick(ServerActiveObject *clicker) {} diff --git a/src/tool.cpp b/src/tool.cpp index 3f639a69e..b0749286d 100644 --- a/src/tool.cpp +++ b/src/tool.cpp @@ -183,9 +183,74 @@ void ToolCapabilities::deserializeJson(std::istream &is) } } +static u32 calculateResultWear(const u32 uses, const u16 initial_wear) +{ + if (uses == 0) { + // Trivial case: Infinite uses + return 0; + } + /* Finite uses. This is not trivial, + as the maximum wear is not neatly evenly divisible by + most possible uses numbers. For example, for 128 + uses, the calculation of wear is trivial, as + 65536 / 128 uses = 512 wear, + so the tool will get 512 wear 128 times in its lifetime. + But for a number like 130, this does not work: + 65536 / 130 uses = 504.123... wear. + Since wear must be an integer, we will get + 504*130 = 65520, which would lead to the wrong number + of uses. + + Instead, we partition the "wear range" into blocks: + A block represents a single use and can be + of two possible sizes: normal and oversized. + A normal block is equal to floor(65536 / uses). + An oversized block is a normal block plus 1. + Then we determine how many oversized and normal + blocks we need and finally, whether we add + the normal wear or the oversized wear. + + Example for 130 uses: + * Normal wear = 504 + * Number of normal blocks = 114 + * Oversized wear = 505 + * Number of oversized blocks = 16 + + If we add everything together, we get: + 114*504 + 16*505 = 65536 + */ + u32 result_wear; + u32 wear_normal = ((U16_MAX+1) / uses); + // Will be non-zero if its not evenly divisible + u16 blocks_oversize = (U16_MAX+1) % uses; + // Whether to add one extra wear point in case + // of oversized wear. + u16 wear_extra = 0; + if (blocks_oversize > 0) { + u16 blocks_normal = uses - blocks_oversize; + /* When the wear has reached this value, we + know that wear_normal has been applied + for blocks_normal times, therefore, + only oversized blocks remain. + This also implies the raw tool wear number + increases a bit faster after this point, + but this should be barely noticable by the + player. + */ + u16 wear_extra_at = blocks_normal * wear_normal; + if (initial_wear >= wear_extra_at) { + wear_extra = 1; + } + } + result_wear = wear_normal + wear_extra; + return result_wear; +} + DigParams getDigParams(const ItemGroupList &groups, - const ToolCapabilities *tp) + const ToolCapabilities *tp, + const u16 initial_wear) { + // Group dig_immediate defaults to fixed time and no wear if (tp->groupcaps.find("dig_immediate") == tp->groupcaps.cend()) { switch (itemgroup_get(groups, "dig_immediate")) { @@ -201,7 +266,7 @@ DigParams getDigParams(const ItemGroupList &groups, // Values to be returned (with a bit of conversion) bool result_diggable = false; float result_time = 0.0; - float result_wear = 0.0; + u32 result_wear = 0; std::string result_main_group; int level = itemgroup_get(groups, "level"); @@ -224,20 +289,22 @@ DigParams getDigParams(const ItemGroupList &groups, if (!result_diggable || time < result_time) { result_time = time; result_diggable = true; - if (cap.uses != 0) - result_wear = 1.0 / cap.uses / pow(3.0, leveldiff); - else - result_wear = 0; + // The actual number of uses increases + // exponentially with leveldiff. + // If the levels are equal, real_uses equals cap.uses. + u32 real_uses = cap.uses * pow(3.0, leveldiff); + real_uses = MYMIN(real_uses, U16_MAX); + result_wear = calculateResultWear(real_uses, initial_wear); result_main_group = groupname; } } - u16 wear_i = U16_MAX * result_wear; - return DigParams(result_diggable, result_time, wear_i, result_main_group); + return DigParams(result_diggable, result_time, result_wear, result_main_group); } HitParams getHitParams(const ItemGroupList &armor_groups, - const ToolCapabilities *tp, float time_from_last_punch) + const ToolCapabilities *tp, float time_from_last_punch, + u16 initial_wear) { s16 damage = 0; float result_wear = 0.0f; @@ -249,10 +316,12 @@ HitParams getHitParams(const ItemGroupList &armor_groups, damage += damageGroup.second * punch_interval_multiplier * armor / 100.0; } - if (tp->punch_attack_uses > 0) - result_wear = 1.0f / tp->punch_attack_uses * punch_interval_multiplier; + if (tp->punch_attack_uses > 0) { + result_wear = calculateResultWear(tp->punch_attack_uses, initial_wear); + result_wear *= punch_interval_multiplier; + } - u16 wear_i = U16_MAX * result_wear; + u32 wear_i = (u32) result_wear; return {damage, wear_i}; } @@ -266,7 +335,8 @@ PunchDamageResult getPunchDamage( const ItemGroupList &armor_groups, const ToolCapabilities *toolcap, const ItemStack *punchitem, - float time_from_last_punch + float time_from_last_punch, + u16 initial_wear ){ bool do_hit = true; { @@ -286,7 +356,8 @@ PunchDamageResult getPunchDamage( if(do_hit) { HitParams hitparams = getHitParams(armor_groups, toolcap, - time_from_last_punch); + time_from_last_punch, + punchitem->wear); result.did_punch = true; result.wear = hitparams.wear; result.damage = hitparams.hp; diff --git a/src/tool.h b/src/tool.h index 59dd501f5..0e3388485 100644 --- a/src/tool.h +++ b/src/tool.h @@ -88,10 +88,10 @@ struct DigParams // Digging time in seconds float time; // Caused wear - u16 wear; + u32 wear; // u32 because wear could be 65536 (single-use tool) std::string main_group; - DigParams(bool a_diggable = false, float a_time = 0.0f, u16 a_wear = 0, + DigParams(bool a_diggable = false, float a_time = 0.0f, u32 a_wear = 0, const std::string &a_main_group = ""): diggable(a_diggable), time(a_time), @@ -101,21 +101,24 @@ struct DigParams }; DigParams getDigParams(const ItemGroupList &groups, - const ToolCapabilities *tp); + const ToolCapabilities *tp, + const u16 initial_wear = 0); struct HitParams { s16 hp; - u16 wear; + // Caused wear + u32 wear; // u32 because wear could be 65536 (single-use weapon) - HitParams(s16 hp_ = 0, u16 wear_ = 0): + HitParams(s16 hp_ = 0, u32 wear_ = 0): hp(hp_), wear(wear_) {} }; HitParams getHitParams(const ItemGroupList &armor_groups, - const ToolCapabilities *tp, float time_from_last_punch); + const ToolCapabilities *tp, float time_from_last_punch, + u16 initial_wear = 0); HitParams getHitParams(const ItemGroupList &armor_groups, const ToolCapabilities *tp); @@ -135,7 +138,8 @@ PunchDamageResult getPunchDamage( const ItemGroupList &armor_groups, const ToolCapabilities *toolcap, const ItemStack *punchitem, - float time_from_last_punch + float time_from_last_punch, + u16 initial_wear = 0 ); f32 getToolRange(const ItemDefinition &def_selected, const ItemDefinition &def_hand); -- cgit v1.2.3 From 693f98373bc4681d8eac1ab898f9ca9b9c9860d2 Mon Sep 17 00:00:00 2001 From: Riceball LEE Date: Mon, 1 Nov 2021 20:27:46 +0800 Subject: Localize error messages in mainmenu (#11495) Co-authored-by: sfan5 Co-authored-by: rubenwardy --- builtin/fstk/ui.lua | 2 +- src/client/camera.cpp | 23 +-------------------- src/client/camera.h | 3 --- src/client/game.cpp | 37 ++++++++++++++++------------------ src/gettext.h | 29 ++++++++++++++++++++++++++ src/unittest/CMakeLists.txt | 1 + src/unittest/test_gettext.cpp | 47 +++++++++++++++++++++++++++++++++++++++++++ util/updatepo.sh | 1 + 8 files changed, 97 insertions(+), 46 deletions(-) create mode 100644 src/unittest/test_gettext.cpp diff --git a/builtin/fstk/ui.lua b/builtin/fstk/ui.lua index 976659ed3..13f9cbec2 100644 --- a/builtin/fstk/ui.lua +++ b/builtin/fstk/ui.lua @@ -63,7 +63,7 @@ function ui.update() -- handle errors if gamedata ~= nil and gamedata.reconnect_requested then local error_message = core.formspec_escape( - gamedata.errormessage or "") + gamedata.errormessage or fgettext("")) formspec = { "size[14,8]", "real_coordinates[true]", diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 1ce92f196..3712d77ea 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -37,6 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "constants.h" #include "fontengine.h" #include "script/scripting_client.h" +#include "gettext.h" #define CAMERA_OFFSET_STEP 200 #define WIELDMESH_OFFSET_X 55.0f @@ -133,28 +134,6 @@ void Camera::notifyFovChange() } } -bool Camera::successfullyCreated(std::string &error_message) -{ - if (!m_playernode) { - error_message = "Failed to create the player scene node"; - } else if (!m_headnode) { - error_message = "Failed to create the head scene node"; - } else if (!m_cameranode) { - error_message = "Failed to create the camera scene node"; - } else if (!m_wieldmgr) { - error_message = "Failed to create the wielded item scene manager"; - } else if (!m_wieldnode) { - error_message = "Failed to create the wielded item scene node"; - } else { - error_message.clear(); - } - - if (m_client->modsLoaded()) - m_client->getScript()->on_camera_ready(this); - - return error_message.empty(); -} - // Returns the fractional part of x inline f32 my_modf(f32 x) { diff --git a/src/client/camera.h b/src/client/camera.h index bea9ab333..3e1cb4fdf 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -136,9 +136,6 @@ public: // Notify about new server-sent FOV and initialize smooth FOV transition void notifyFovChange(); - // Checks if the constructor was able to create the scene nodes - bool successfullyCreated(std::string &error_message); - // Step the camera: updates the viewing range and view bobbing. void step(f32 dtime); diff --git a/src/client/game.cpp b/src/client/game.cpp index 7f0aff49c..fb993d92f 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1282,9 +1282,8 @@ bool Game::createSingleplayerServer(const std::string &map_dir, } if (bind_addr.isIPv6() && !g_settings->getBool("enable_ipv6")) { - *error_message = "Unable to listen on " + - bind_addr.serializeString() + - " because IPv6 is disabled"; + *error_message = fmtgettext("Unable to listen on %s because IPv6 is disabled", + bind_addr.serializeString().c_str()); errorstream << *error_message << std::endl; return false; } @@ -1317,7 +1316,7 @@ bool Game::createClient(const GameStartData &start_data) if (!could_connect) { if (error_message->empty() && !connect_aborted) { // Should not happen if error messages are set properly - *error_message = "Connection failed for unknown reason"; + *error_message = gettext("Connection failed for unknown reason"); errorstream << *error_message << std::endl; } return false; @@ -1326,7 +1325,7 @@ bool Game::createClient(const GameStartData &start_data) if (!getServerContent(&connect_aborted)) { if (error_message->empty() && !connect_aborted) { // Should not happen if error messages are set properly - *error_message = "Connection failed for unknown reason"; + *error_message = gettext("Connection failed for unknown reason"); errorstream << *error_message << std::endl; } return false; @@ -1342,8 +1341,8 @@ bool Game::createClient(const GameStartData &start_data) /* Camera */ camera = new Camera(*draw_control, client, m_rendering_engine); - if (!camera->successfullyCreated(*error_message)) - return false; + if (client->modsLoaded()) + client->getScript()->on_camera_ready(camera); client->setCamera(camera); /* Clouds @@ -1456,15 +1455,14 @@ bool Game::connectToServer(const GameStartData &start_data, local_server_mode = true; } } catch (ResolveError &e) { - *error_message = std::string("Couldn't resolve address: ") + e.what(); + *error_message = fmtgettext("Couldn't resolve address: %s", e.what()); + errorstream << *error_message << std::endl; return false; } if (connect_address.isIPv6() && !g_settings->getBool("enable_ipv6")) { - *error_message = "Unable to connect to " + - connect_address.serializeString() + - " because IPv6 is disabled"; + *error_message = fmtgettext("Unable to connect to %s because IPv6 is disabled", connect_address.serializeString().c_str()); errorstream << *error_message << std::endl; return false; } @@ -1518,8 +1516,7 @@ bool Game::connectToServer(const GameStartData &start_data, break; if (client->accessDenied()) { - *error_message = "Access denied. Reason: " - + client->accessDeniedReason(); + *error_message = fmtgettext("Access denied. Reason: %s", client->accessDeniedReason().c_str()); *reconnect_requested = client->reconnectRequested(); errorstream << *error_message << std::endl; break; @@ -1545,7 +1542,7 @@ bool Game::connectToServer(const GameStartData &start_data, wait_time += dtime; // Only time out if we aren't waiting for the server we started if (!start_data.address.empty() && wait_time > 10) { - *error_message = "Connection timed out."; + *error_message = gettext("Connection timed out."); errorstream << *error_message << std::endl; break; } @@ -1593,7 +1590,7 @@ bool Game::getServerContent(bool *aborted) return false; if (client->getState() < LC_Init) { - *error_message = "Client disconnected"; + *error_message = gettext("Client disconnected"); errorstream << *error_message << std::endl; return false; } @@ -1675,8 +1672,7 @@ inline void Game::updateInteractTimers(f32 dtime) inline bool Game::checkConnection() { if (client->accessDenied()) { - *error_message = "Access denied. Reason: " - + client->accessDeniedReason(); + *error_message = fmtgettext("Access denied. Reason: %s", client->accessDeniedReason().c_str()); *reconnect_requested = client->reconnectRequested(); errorstream << *error_message << std::endl; return false; @@ -4351,14 +4347,15 @@ void the_game(bool *kill, } } catch (SerializationError &e) { - error_message = std::string("A serialization error occurred:\n") - + e.what() + "\n\nThe server is probably " - " running a different version of " PROJECT_NAME_C "."; + const std::string ver_err = fmtgettext("The server is probably running a different version of %s.", PROJECT_NAME_C); + error_message = strgettext("A serialization error occurred:") +"\n" + + e.what() + "\n\n" + ver_err; errorstream << error_message << std::endl; } catch (ServerError &e) { error_message = e.what(); errorstream << "ServerError: " << error_message << std::endl; } catch (ModError &e) { + // DO NOT TRANSLATE the `ModError`, it's used by ui.lua error_message = std::string("ModError: ") + e.what() + strgettext("\nCheck debug.txt for details."); errorstream << error_message << std::endl; diff --git a/src/gettext.h b/src/gettext.h index 5a3654be4..67fd9244f 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "config.h" // for USE_GETTEXT #include +#include "porting.h" #if USE_GETTEXT #include @@ -77,3 +78,31 @@ inline std::wstring fwgettext(const char *src, Args&&... args) delete[] str; return std::wstring(buf); } + +/** + * Returns translated string with format args applied + * + * @tparam Args Template parameter for format args + * @param format Translation source string + * @param args Variable format args + * @return translated string. + */ +template +inline std::string fmtgettext(const char *format, Args&&... args) +{ + std::string buf; + std::size_t buf_size = 256; + buf.resize(buf_size); + + format = gettext(format); + + int len = porting::mt_snprintf(&buf[0], buf_size, format, std::forward(args)...); + if (len <= 0) throw std::runtime_error("gettext format error: " + std::string(format)); + if ((size_t)len >= buf.size()) { + buf.resize(len+1); // extra null byte + porting::mt_snprintf(&buf[0], buf.size(), format, std::forward(args)...); + } + buf.resize(len); // remove null bytes + + return buf; +} diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index 52f870901..4d295e4ed 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -33,6 +33,7 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_voxelarea.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_voxelalgorithms.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_voxelmanipulator.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/test_gettext.cpp PARENT_SCOPE) set (UNITTEST_CLIENT_SRCS diff --git a/src/unittest/test_gettext.cpp b/src/unittest/test_gettext.cpp new file mode 100644 index 000000000..98f73ec62 --- /dev/null +++ b/src/unittest/test_gettext.cpp @@ -0,0 +1,47 @@ +#include "test.h" +#include "porting.h" +#include "gettext.h" + +class TestGettext : public TestBase +{ +public: + TestGettext() { + TestManager::registerTestModule(this); + } + + const char *getName() { return "TestGettext"; } + + void runTests(IGameDef *gamedef); + + void testSnfmtgettext(); + void testFmtgettext(); +}; + +static TestGettext g_test_instance; + +void TestGettext::runTests(IGameDef *gamedef) +{ + TEST(testFmtgettext); +} + +void TestGettext::testFmtgettext() +{ + std::string buf = fmtgettext("Viewing range changed to %d", 12); + UASSERTEQ(std::string, buf, "Viewing range changed to 12"); + buf = fmtgettext( + "You are about to join this server with the name \"%s\" for the " + "first time.\n" + "If you proceed, a new account using your credentials will be " + "created on this server.\n" + "Please retype your password and click 'Register and Join' to " + "confirm account creation, or click 'Cancel' to abort." + , "A"); + UASSERTEQ(std::string, buf, + "You are about to join this server with the name \"A\" for the " + "first time.\n" + "If you proceed, a new account using your credentials will be " + "created on this server.\n" + "Please retype your password and click 'Register and Join' to " + "confirm account creation, or click 'Cancel' to abort." + ); +} diff --git a/util/updatepo.sh b/util/updatepo.sh index 070a44be6..23e2c61e9 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -61,6 +61,7 @@ xgettext --package-name=minetest \ --keyword=wstrgettext \ --keyword=core.gettext \ --keyword=showTranslatedStatusText \ + --keyword=fmtgettext \ --output $potfile \ --from-code=utf-8 \ `find src/ -name '*.cpp' -o -name '*.h'` \ -- cgit v1.2.3 From 6db914780ed6e27d9876763d561ea0daafe01f4f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 5 Nov 2021 11:12:56 +0100 Subject: Fix typo in buildbot scripts --- util/buildbot/buildwin32.sh | 2 +- util/buildbot/buildwin64.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index 66f299a6a..bbeab3a3f 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -115,7 +115,7 @@ cmake -S $sourcedir -B . \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ - -DEXTRA_DLL="$runtime_dll" \ + -DEXTRA_DLL="$runtime_dlls" \ \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index e9b17c420..2bc127896 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -115,7 +115,7 @@ cmake -S $sourcedir -B . \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ - -DEXTRA_DLL="$runtime_dll" \ + -DEXTRA_DLL="$runtime_dlls" \ \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ -- cgit v1.2.3 From cbf658f83d206bf340ab4aa8eab02b058e9b293f Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Wed, 10 Nov 2021 10:10:20 -0800 Subject: Lua API: Add `rmdir`, `cpdir` and `mvdir` (#9638) Co-authored-by: rubenwardy --- doc/lua_api.txt | 13 ++++++++++++ src/script/lua_api/l_util.cpp | 49 +++++++++++++++++++++++++++++++++++++++++++ src/script/lua_api/l_util.h | 9 ++++++++ 3 files changed, 71 insertions(+) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index f3007671b..3b9f4c339 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -4624,6 +4624,19 @@ Utilities * `minetest.mkdir(path)`: returns success. * Creates a directory specified by `path`, creating parent directories if they don't exist. +* `minetest.rmdir(path, recursive)`: returns success. + * Removes a directory specified by `path`. + * If `recursive` is set to `true`, the directory is recursively removed. + Otherwise, the directory will only be removed if it is empty. + * Returns true on success, false on failure. +* `minetest.cpdir(source, destination)`: returns success. + * Copies a directory specified by `path` to `destination` + * Any files in `destination` will be overwritten if they already exist. + * Returns true on success, false on failure. +* `minetest.mvdir(source, destination)`: returns success. + * Moves a directory specified by `path` to `destination`. + * If the `destination` is a non-empty directory, then the move will fail. + * Returns true on success, false on failure. * `minetest.get_dir_list(path, [is_dir])`: returns list of entry names * is_dir is one of: * nil: return all entries, diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp index 53319ccfd..528d9c6dd 100644 --- a/src/script/lua_api/l_util.cpp +++ b/src/script/lua_api/l_util.cpp @@ -349,6 +349,49 @@ int ModApiUtil::l_mkdir(lua_State *L) return 1; } +// rmdir(path, recursive) +int ModApiUtil::l_rmdir(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + const char *path = luaL_checkstring(L, 1); + CHECK_SECURE_PATH(L, path, true); + + bool recursive = readParam(L, 2, false); + + if (recursive) + lua_pushboolean(L, fs::RecursiveDelete(path)); + else + lua_pushboolean(L, fs::DeleteSingleFileOrEmptyDirectory(path)); + + return 1; +} + +// cpdir(source, destination) +int ModApiUtil::l_cpdir(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + const char *source = luaL_checkstring(L, 1); + const char *destination = luaL_checkstring(L, 2); + CHECK_SECURE_PATH(L, source, false); + CHECK_SECURE_PATH(L, destination, true); + + lua_pushboolean(L, fs::CopyDir(source, destination)); + return 1; +} + +// mpdir(source, destination) +int ModApiUtil::l_mvdir(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + const char *source = luaL_checkstring(L, 1); + const char *destination = luaL_checkstring(L, 2); + CHECK_SECURE_PATH(L, source, true); + CHECK_SECURE_PATH(L, destination, true); + + lua_pushboolean(L, fs::MoveDir(source, destination)); + return 1; +} + // get_dir_list(path, is_dir) int ModApiUtil::l_get_dir_list(lua_State *L) { @@ -588,6 +631,9 @@ void ModApiUtil::Initialize(lua_State *L, int top) API_FCT(decompress); API_FCT(mkdir); + API_FCT(rmdir); + API_FCT(cpdir); + API_FCT(mvdir); API_FCT(get_dir_list); API_FCT(safe_file_write); @@ -651,6 +697,9 @@ void ModApiUtil::InitializeAsync(lua_State *L, int top) API_FCT(decompress); API_FCT(mkdir); + API_FCT(rmdir); + API_FCT(cpdir); + API_FCT(mvdir); API_FCT(get_dir_list); API_FCT(encode_base64); diff --git a/src/script/lua_api/l_util.h b/src/script/lua_api/l_util.h index 314e92f5c..fcf8a1057 100644 --- a/src/script/lua_api/l_util.h +++ b/src/script/lua_api/l_util.h @@ -80,6 +80,15 @@ private: // mkdir(path) static int l_mkdir(lua_State *L); + // rmdir(path, recursive) + static int l_rmdir(lua_State *L); + + // cpdir(source, destination, remove_source) + static int l_cpdir(lua_State *L); + + // mvdir(source, destination) + static int l_mvdir(lua_State *L); + // get_dir_list(path, is_dir) static int l_get_dir_list(lua_State *L); -- cgit v1.2.3 From c510037e9a334b3327a6d6b066203618051e4a09 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 7 Nov 2021 17:50:57 +0100 Subject: Fix compiler detection in buildbot it was just half-broken before... --- util/buildbot/buildwin32.sh | 4 ++-- util/buildbot/buildwin64.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index bbeab3a3f..cdf6105d1 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -25,10 +25,10 @@ command -v i686-w64-mingw32-gcc-posix >/dev/null && compiler=i686-w64-mingw32-gcc-posix if [ -z "$compiler" ]; then - echo "Unable to determine which mingw32 compiler to use" + echo "Unable to determine which MinGW compiler to use" exit 1 fi -toolchain_file=$dir/toolchain_${compiler%-gcc}.cmake +toolchain_file=$dir/toolchain_${compiler/-gcc/}.cmake echo "Using $toolchain_file" tmp=$(dirname "$(command -v $compiler)")/../i686-w64-mingw32/bin diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 2bc127896..f8ff3cfdd 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -20,15 +20,15 @@ libdir=$builddir/libs # Test which win64 compiler is present command -v x86_64-w64-mingw32-gcc >/dev/null && - compiler=x86_64-w64-mingw32 + compiler=x86_64-w64-mingw32-gcc command -v x86_64-w64-mingw32-gcc-posix >/dev/null && - compiler=x86_64-w64-mingw32-posix + compiler=x86_64-w64-mingw32-gcc-posix if [ -z "$compiler" ]; then - echo "Unable to determine which mingw32 compiler to use" + echo "Unable to determine which MinGW compiler to use" exit 1 fi -toolchain_file=$dir/toolchain_${compiler%-gcc}.cmake +toolchain_file=$dir/toolchain_${compiler/-gcc/}.cmake echo "Using $toolchain_file" tmp=$(dirname "$(command -v $compiler)")/../x86_64-w64-mingw32/bin -- cgit v1.2.3 From c9070e54bc5b3a99d941a3afd24d262f8925a962 Mon Sep 17 00:00:00 2001 From: savilli <78875209+savilli@users.noreply.github.com> Date: Sat, 20 Nov 2021 01:31:04 +0300 Subject: Fix local digging animation (#11772) --- src/client/content_cao.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 5c8465b22..bb78b594d 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -996,12 +996,14 @@ void GenericCAO::step(float dtime, ClientEnvironment *env) m_velocity = v3f(0,0,0); m_acceleration = v3f(0,0,0); const PlayerControl &controls = player->getPlayerControl(); + f32 new_speed = player->local_animation_speed; bool walking = false; - if (controls.movement_speed > 0.001f) + if (controls.movement_speed > 0.001f) { + new_speed *= controls.movement_speed; walking = true; + } - f32 new_speed = player->local_animation_speed; v2s32 new_anim = v2s32(0,0); bool allow_update = false; @@ -1016,7 +1018,6 @@ void GenericCAO::step(float dtime, ClientEnvironment *env) // slowdown speed if sneaking if (controls.sneak && walking) new_speed /= 2; - new_speed *= controls.movement_speed; if (walking && (controls.dig || controls.place)) { new_anim = player->local_animations[3]; -- cgit v1.2.3 From e35cfa589a11bbfbdbe9c815553842b472da2b41 Mon Sep 17 00:00:00 2001 From: Andrew Kerr <79798289+andkerr@users.noreply.github.com> Date: Fri, 19 Nov 2021 17:31:15 -0500 Subject: Add macOS build docs (#11757) --- README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65dbd7e93..009ae8d38 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ For Debian/Ubuntu users: For Fedora users: sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel spatialindex-devel libzstd-devel - + For Arch users: sudo pacman -S base-devel libcurl-gnutls cmake libxxf86vm libpng sqlite libogg libvorbis openal freetype2 jsoncpp gmp luajit leveldb ncurses zstd @@ -386,6 +386,61 @@ Build the binaries as described above, but make sure you unselect `RUN_IN_PLACE` Open the generated project file with Visual Studio. Right-click **Package** and choose **Generate**. It may take some minutes to generate the installer. +### Compiling on MacOS + +#### Requirements +- [Homebrew](https://brew.sh/) +- [Git](https://git-scm.com/downloads) + +Install dependencies with homebrew: + +``` +brew install cmake freetype gettext gmp hiredis jpeg jsoncpp leveldb libogg libpng libvorbis luajit zstd +``` + +#### Download + +Download source (this is the URL to the latest of source repository, which might not work at all times) using Git: + +```bash +git clone --depth 1 https://github.com/minetest/minetest.git +cd minetest +``` + +Download minetest_game (otherwise only the "Development Test" game is available) using Git: + +``` +git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game +``` + +Download Minetest's fork of Irrlicht: + +``` +git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt +``` + +#### Build + +```bash +mkdir cmakebuild +cd cmakebuild + +cmake .. \ + -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 \ + -DCMAKE_FIND_FRAMEWORK=LAST \ + -DCMAKE_INSTALL_PREFIX=../build/macos/ \ + -DRUN_IN_PLACE=FALSE \ + -DENABLE_FREETYPE=TRUE -DENABLE_GETTEXT=TRUE + +make -j$(nproc) +make install +``` + +#### Run + +``` +open ./build/macos/minetest.app +``` Docker ------ -- cgit v1.2.3 From 52bfbf6ed02e16d11f353c4066a0f4129d045e15 Mon Sep 17 00:00:00 2001 From: ExeVirus <44562154+ExeVirus@users.noreply.github.com> Date: Mon, 22 Nov 2021 12:26:46 -0500 Subject: Allow for Game-Specific Menu Music (#11241) --- builtin/mainmenu/dlg_create_world.lua | 2 +- builtin/mainmenu/game_theme.lua | 203 ++++++++++++++++++++++++++++++++++ builtin/mainmenu/init.lua | 8 +- builtin/mainmenu/tab_local.lua | 12 +- builtin/mainmenu/tab_settings.lua | 2 +- builtin/mainmenu/textures.lua | 185 ------------------------------- doc/lua_api.txt | 10 ++ src/gui/guiEngine.cpp | 26 +++-- 8 files changed, 240 insertions(+), 208 deletions(-) create mode 100644 builtin/mainmenu/game_theme.lua delete mode 100644 builtin/mainmenu/textures.lua diff --git a/builtin/mainmenu/dlg_create_world.lua b/builtin/mainmenu/dlg_create_world.lua index 1938747fe..5456eb3eb 100644 --- a/builtin/mainmenu/dlg_create_world.lua +++ b/builtin/mainmenu/dlg_create_world.lua @@ -393,7 +393,7 @@ local function create_world_buttonhandler(this, fields) core.settings:set("menu_last_game",pkgmgr.games[gameindex].id) if this.data.update_worldlist_filter then menudata.worldlist:set_filtercriteria(pkgmgr.games[gameindex].id) - mm_texture.update("singleplayer", pkgmgr.games[gameindex].id) + mm_game_theme.update("singleplayer", pkgmgr.games[gameindex].id) end menudata.worldlist:refresh() core.settings:set("mainmenu_last_selected_world", diff --git a/builtin/mainmenu/game_theme.lua b/builtin/mainmenu/game_theme.lua new file mode 100644 index 000000000..f8deb29a1 --- /dev/null +++ b/builtin/mainmenu/game_theme.lua @@ -0,0 +1,203 @@ +--Minetest +--Copyright (C) 2013 sapier +-- +--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. + + +mm_game_theme = {} + +-------------------------------------------------------------------------------- +function mm_game_theme.init() + mm_game_theme.defaulttexturedir = core.get_texturepath() .. DIR_DELIM .. "base" .. + DIR_DELIM .. "pack" .. DIR_DELIM + mm_game_theme.basetexturedir = mm_game_theme.defaulttexturedir + + mm_game_theme.texturepack = core.settings:get("texture_path") + + mm_game_theme.gameid = nil + + mm_game_theme.music_handle = nil +end + +-------------------------------------------------------------------------------- +function mm_game_theme.update(tab,gamedetails) + if tab ~= "singleplayer" then + mm_game_theme.reset() + return + end + + if gamedetails == nil then + return + end + + mm_game_theme.update_game(gamedetails) +end + +-------------------------------------------------------------------------------- +function mm_game_theme.reset() + mm_game_theme.gameid = nil + local have_bg = false + local have_overlay = mm_game_theme.set_generic("overlay") + + if not have_overlay then + have_bg = mm_game_theme.set_generic("background") + end + + mm_game_theme.clear("header") + mm_game_theme.clear("footer") + core.set_clouds(false) + + mm_game_theme.set_generic("footer") + mm_game_theme.set_generic("header") + + if not have_bg then + if core.settings:get_bool("menu_clouds") then + core.set_clouds(true) + else + mm_game_theme.set_dirt_bg() + end + end + + if mm_game_theme.music_handle ~= nil then + core.sound_stop(mm_game_theme.music_handle) + end +end + +-------------------------------------------------------------------------------- +function mm_game_theme.update_game(gamedetails) + if mm_game_theme.gameid == gamedetails.id then + return + end + + local have_bg = false + local have_overlay = mm_game_theme.set_game("overlay",gamedetails) + + if not have_overlay then + have_bg = mm_game_theme.set_game("background",gamedetails) + end + + mm_game_theme.clear("header") + mm_game_theme.clear("footer") + core.set_clouds(false) + + if not have_bg then + + if core.settings:get_bool("menu_clouds") then + core.set_clouds(true) + else + mm_game_theme.set_dirt_bg() + end + end + + mm_game_theme.set_game("footer",gamedetails) + mm_game_theme.set_game("header",gamedetails) + + mm_game_theme.gameid = gamedetails.id +end + +-------------------------------------------------------------------------------- +function mm_game_theme.clear(identifier) + core.set_background(identifier,"") +end + +-------------------------------------------------------------------------------- +function mm_game_theme.set_generic(identifier) + --try texture pack first + if mm_game_theme.texturepack ~= nil then + local path = mm_game_theme.texturepack .. DIR_DELIM .."menu_" .. + identifier .. ".png" + if core.set_background(identifier,path) then + return true + end + end + + if mm_game_theme.defaulttexturedir ~= nil then + local path = mm_game_theme.defaulttexturedir .. DIR_DELIM .."menu_" .. + identifier .. ".png" + if core.set_background(identifier,path) then + return true + end + end + + return false +end + +-------------------------------------------------------------------------------- +function mm_game_theme.set_game(identifier, gamedetails) + + if gamedetails == nil then + return false + end + + mm_game_theme.set_music(gamedetails) + + if mm_game_theme.texturepack ~= nil then + local path = mm_game_theme.texturepack .. DIR_DELIM .. + gamedetails.id .. "_menu_" .. identifier .. ".png" + if core.set_background(identifier, path) then + return true + end + end + + -- Find out how many randomized textures the game provides + local n = 0 + local filename + local menu_files = core.get_dir_list(gamedetails.path .. DIR_DELIM .. "menu", false) + for i = 1, #menu_files do + filename = identifier .. "." .. i .. ".png" + if table.indexof(menu_files, filename) == -1 then + n = i - 1 + break + end + end + -- Select random texture, 0 means standard texture + n = math.random(0, n) + if n == 0 then + filename = identifier .. ".png" + else + filename = identifier .. "." .. n .. ".png" + end + + local path = gamedetails.path .. DIR_DELIM .. "menu" .. + DIR_DELIM .. filename + if core.set_background(identifier, path) then + return true + end + + return false +end + +-------------------------------------------------------------------------------- +function mm_game_theme.set_dirt_bg() + if mm_game_theme.texturepack ~= nil then + local path = mm_game_theme.texturepack .. DIR_DELIM .."default_dirt.png" + if core.set_background("background", path, true, 128) then + return true + end + end + + -- Use universal fallback texture in textures/base/pack + local minimalpath = defaulttexturedir .. "menu_bg.png" + core.set_background("background", minimalpath, true, 128) +end + +-------------------------------------------------------------------------------- +function mm_game_theme.set_music(gamedetails) + if mm_game_theme.music_handle ~= nil then + core.sound_stop(mm_game_theme.music_handle) + end + local music_path = gamedetails.path .. DIR_DELIM .. "menu" .. DIR_DELIM .. "theme" + mm_game_theme.music_handle = core.sound_play(music_path, true) +end diff --git a/builtin/mainmenu/init.lua b/builtin/mainmenu/init.lua index 0c8578cd6..8e716c2eb 100644 --- a/builtin/mainmenu/init.lua +++ b/builtin/mainmenu/init.lua @@ -35,7 +35,7 @@ dofile(menupath .. DIR_DELIM .. "async_event.lua") dofile(menupath .. DIR_DELIM .. "common.lua") dofile(menupath .. DIR_DELIM .. "pkgmgr.lua") dofile(menupath .. DIR_DELIM .. "serverlistmgr.lua") -dofile(menupath .. DIR_DELIM .. "textures.lua") +dofile(menupath .. DIR_DELIM .. "game_theme.lua") dofile(menupath .. DIR_DELIM .. "dlg_config_world.lua") dofile(menupath .. DIR_DELIM .. "dlg_settings_advanced.lua") @@ -87,7 +87,7 @@ local function init_globals() core.settings:set("menu_last_game", default_game) end - mm_texture.init() + mm_game_theme.init() -- Create main tabview local tv_main = tabview_create("maintab", {x = 12, y = 5.4}, {x = 0, y = 0}) @@ -113,7 +113,7 @@ local function init_globals() if tv_main.current_tab == "local" then local game = pkgmgr.find_by_gameid(core.settings:get("menu_last_game")) if game == nil then - mm_texture.reset() + mm_game_theme.reset() end end @@ -121,8 +121,6 @@ local function init_globals() tv_main:show() ui.update() - - core.sound_play("main_menu", true) end init_globals() diff --git a/builtin/mainmenu/tab_local.lua b/builtin/mainmenu/tab_local.lua index be5f905ac..2d1a616a8 100644 --- a/builtin/mainmenu/tab_local.lua +++ b/builtin/mainmenu/tab_local.lua @@ -54,7 +54,7 @@ if enable_gamebar then for key,value in pairs(fields) do for j=1,#pkgmgr.games,1 do if ("game_btnbar_" .. pkgmgr.games[j].id == key) then - mm_texture.update("singleplayer", pkgmgr.games[j]) + mm_game_theme.update("singleplayer", pkgmgr.games[j]) core.set_topleft_text(pkgmgr.games[j].name) core.settings:set("menu_last_game",pkgmgr.games[j].id) menudata.worldlist:set_filtercriteria(pkgmgr.games[j].id) @@ -323,7 +323,7 @@ local function main_button_handler(this, fields, name, tabdata) create_world_dlg:set_parent(this) this:hide() create_world_dlg:show() - mm_texture.update("singleplayer", current_game()) + mm_game_theme.update("singleplayer", current_game()) return true end @@ -340,7 +340,7 @@ local function main_button_handler(this, fields, name, tabdata) delete_world_dlg:set_parent(this) this:hide() delete_world_dlg:show() - mm_texture.update("singleplayer",current_game()) + mm_game_theme.update("singleplayer",current_game()) end end @@ -358,7 +358,7 @@ local function main_button_handler(this, fields, name, tabdata) configdialog:set_parent(this) this:hide() configdialog:show() - mm_texture.update("singleplayer",current_game()) + mm_game_theme.update("singleplayer",current_game()) end end @@ -375,7 +375,7 @@ if enable_gamebar then if game then menudata.worldlist:set_filtercriteria(game.id) core.set_topleft_text(game.name) - mm_texture.update("singleplayer",game) + mm_game_theme.update("singleplayer",game) end singleplayer_refresh_gamebar() @@ -387,7 +387,7 @@ if enable_gamebar then gamebar:hide() end core.set_topleft_text("") - mm_texture.update(new_tab,nil) + mm_game_theme.update(new_tab,nil) end end end diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index f06e35872..29f3c9b62 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -247,7 +247,7 @@ local function handle_settings_buttons(this, fields, tabname, tabdata) adv_settings_dlg:set_parent(this) this:hide() adv_settings_dlg:show() - --mm_texture.update("singleplayer", current_game()) + --mm_game_theme.update("singleplayer", current_game()) return true end if fields["cb_smooth_lighting"] then diff --git a/builtin/mainmenu/textures.lua b/builtin/mainmenu/textures.lua deleted file mode 100644 index a3acbbdec..000000000 --- a/builtin/mainmenu/textures.lua +++ /dev/null @@ -1,185 +0,0 @@ ---Minetest ---Copyright (C) 2013 sapier --- ---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. - - -mm_texture = {} - --------------------------------------------------------------------------------- -function mm_texture.init() - mm_texture.defaulttexturedir = core.get_texturepath() .. DIR_DELIM .. "base" .. - DIR_DELIM .. "pack" .. DIR_DELIM - mm_texture.basetexturedir = mm_texture.defaulttexturedir - - mm_texture.texturepack = core.settings:get("texture_path") - - mm_texture.gameid = nil -end - --------------------------------------------------------------------------------- -function mm_texture.update(tab,gamedetails) - if tab ~= "singleplayer" then - mm_texture.reset() - return - end - - if gamedetails == nil then - return - end - - mm_texture.update_game(gamedetails) -end - --------------------------------------------------------------------------------- -function mm_texture.reset() - mm_texture.gameid = nil - local have_bg = false - local have_overlay = mm_texture.set_generic("overlay") - - if not have_overlay then - have_bg = mm_texture.set_generic("background") - end - - mm_texture.clear("header") - mm_texture.clear("footer") - core.set_clouds(false) - - mm_texture.set_generic("footer") - mm_texture.set_generic("header") - - if not have_bg then - if core.settings:get_bool("menu_clouds") then - core.set_clouds(true) - else - mm_texture.set_dirt_bg() - end - end -end - --------------------------------------------------------------------------------- -function mm_texture.update_game(gamedetails) - if mm_texture.gameid == gamedetails.id then - return - end - - local have_bg = false - local have_overlay = mm_texture.set_game("overlay",gamedetails) - - if not have_overlay then - have_bg = mm_texture.set_game("background",gamedetails) - end - - mm_texture.clear("header") - mm_texture.clear("footer") - core.set_clouds(false) - - if not have_bg then - - if core.settings:get_bool("menu_clouds") then - core.set_clouds(true) - else - mm_texture.set_dirt_bg() - end - end - - mm_texture.set_game("footer",gamedetails) - mm_texture.set_game("header",gamedetails) - - mm_texture.gameid = gamedetails.id -end - --------------------------------------------------------------------------------- -function mm_texture.clear(identifier) - core.set_background(identifier,"") -end - --------------------------------------------------------------------------------- -function mm_texture.set_generic(identifier) - --try texture pack first - if mm_texture.texturepack ~= nil then - local path = mm_texture.texturepack .. DIR_DELIM .."menu_" .. - identifier .. ".png" - if core.set_background(identifier,path) then - return true - end - end - - if mm_texture.defaulttexturedir ~= nil then - local path = mm_texture.defaulttexturedir .. DIR_DELIM .."menu_" .. - identifier .. ".png" - if core.set_background(identifier,path) then - return true - end - end - - return false -end - --------------------------------------------------------------------------------- -function mm_texture.set_game(identifier, gamedetails) - - if gamedetails == nil then - return false - end - - if mm_texture.texturepack ~= nil then - local path = mm_texture.texturepack .. DIR_DELIM .. - gamedetails.id .. "_menu_" .. identifier .. ".png" - if core.set_background(identifier, path) then - return true - end - end - - -- Find out how many randomized textures the game provides - local n = 0 - local filename - local menu_files = core.get_dir_list(gamedetails.path .. DIR_DELIM .. "menu", false) - for i = 1, #menu_files do - filename = identifier .. "." .. i .. ".png" - if table.indexof(menu_files, filename) == -1 then - n = i - 1 - break - end - end - -- Select random texture, 0 means standard texture - n = math.random(0, n) - if n == 0 then - filename = identifier .. ".png" - else - filename = identifier .. "." .. n .. ".png" - end - - local path = gamedetails.path .. DIR_DELIM .. "menu" .. - DIR_DELIM .. filename - if core.set_background(identifier, path) then - return true - end - - return false -end - -function mm_texture.set_dirt_bg() - if mm_texture.texturepack ~= nil then - local path = mm_texture.texturepack .. DIR_DELIM .."default_dirt.png" - if core.set_background("background", path, true, 128) then - return true - end - end - - -- Use universal fallback texture in textures/base/pack - local minimalpath = defaulttexturedir .. "menu_bg.png" - core.set_background("background", minimalpath, true, 128) -end diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3b9f4c339..efc9585e4 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -113,8 +113,16 @@ If you want to specify multiple images for one identifier, add additional images named like `$identifier.$n.png`, with an ascending number $n starting with 1, and a random image will be chosen from the provided ones. +Menu music +----------- +Games can provide custom main menu music. They are put inside a `menu` +directory inside the game directory. +The music files are named `theme.ogg`. +If you want to specify multiple music files for one game, add additional +images named like `theme.$n.ogg`, with an ascending number $n starting +with 1 (max 10), and a random music file will be chosen from the provided ones. Mods ==== @@ -5642,6 +5650,8 @@ Sounds player actions (e.g. door closing). * `minetest.sound_stop(handle)` * `handle` is a handle returned by `minetest.sound_play` +* `minetest.sound_stop_all()` + Stops all currently playing non-ephermeral sounds. * `minetest.sound_fade(handle, step, gain)` * `handle` is a handle returned by `minetest.sound_play` * `step` determines how fast a sound will fade. diff --git a/src/gui/guiEngine.cpp b/src/gui/guiEngine.cpp index c39c3ee0d..b65b31304 100644 --- a/src/gui/guiEngine.cpp +++ b/src/gui/guiEngine.cpp @@ -104,16 +104,22 @@ void MenuMusicFetcher::fetchSounds(const std::string &name, if(m_fetched.count(name)) return; m_fetched.insert(name); - std::string base; - base = porting::path_share + DIR_DELIM + "sounds"; - dst_paths.insert(base + DIR_DELIM + name + ".ogg"); - int i; - for(i=0; i<10; i++) - dst_paths.insert(base + DIR_DELIM + name + "."+itos(i)+".ogg"); - base = porting::path_user + DIR_DELIM + "sounds"; - dst_paths.insert(base + DIR_DELIM + name + ".ogg"); - for(i=0; i<10; i++) - dst_paths.insert(base + DIR_DELIM + name + "."+itos(i)+".ogg"); + std::vector list; + // Reusable local function + auto add_paths = [&dst_paths](const std::string name, const std::string base = "") { + dst_paths.insert(base + name + ".ogg"); + for (int i = 0; i < 10; i++) + dst_paths.insert(base + name + "." + itos(i) + ".ogg"); + }; + // Allow full paths + if (name.find(DIR_DELIM_CHAR) != std::string::npos) { + add_paths(name); + } else { + std::string share_prefix = porting::path_share + DIR_DELIM; + add_paths(name, share_prefix + "sounds" + DIR_DELIM); + std::string user_prefix = porting::path_user + DIR_DELIM; + add_paths(name, user_prefix + "sounds" + DIR_DELIM); + } } /******************************************************************************/ -- cgit v1.2.3 From 206e131854392ed2d39b3456f7a1b5a54bd1bff9 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 22 Nov 2021 18:27:49 +0100 Subject: Add backwards-compatible behaviour if too few CAO textures specified (#11766) --- doc/lua_api.txt | 1 + src/client/content_cao.cpp | 38 +++++++++++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index efc9585e4..36db23b6f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7184,6 +7184,7 @@ Player properties need to be saved manually. -- "sprite" uses 1 texture. -- "upright_sprite" uses 2 textures: {front, back}. -- "wielditem" expects 'textures = {itemname}' (see 'visual' above). + -- "mesh" requires one texture for each mesh buffer/material (in order) colors = {}, -- Number of required colors depends on visual diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index bb78b594d..24a9e7921 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "client/sound.h" #include "client/tile.h" #include "util/basic_macros.h" -#include "util/numeric.h" // For IntervalLimiter & setPitchYawRoll +#include "util/numeric.h" #include "util/serialize.h" #include "camera.h" // CameraModes #include "collision.h" @@ -171,6 +171,20 @@ static void updatePositionRecursive(scene::ISceneNode *node) node->updateAbsolutePosition(); } +static bool logOnce(const std::ostringstream &from, std::ostream &log_to) +{ + thread_local std::vector logged; + + std::string message = from.str(); + u64 hash = murmur_hash_64_ua(message.data(), message.length(), 0xBADBABE); + + if (std::find(logged.begin(), logged.end(), hash) != logged.end()) + return false; + logged.push_back(hash); + log_to << message << std::endl; + return true; +} + /* TestCAO */ @@ -822,6 +836,28 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr) updateAttachments(); setNodeLight(m_last_light); updateMeshCulling(); + + if (m_animated_meshnode) { + u32 mat_count = m_animated_meshnode->getMaterialCount(); + if (mat_count == 0 || m_prop.textures.empty()) { + // nothing + } else if (mat_count > m_prop.textures.size()) { + std::ostringstream oss; + oss << "GenericCAO::addToScene(): Model " + << m_prop.mesh << " loaded with " << mat_count + << " mesh buffers but only " << m_prop.textures.size() + << " texture(s) specifed, this is deprecated."; + logOnce(oss, warningstream); + + video::ITexture *last = m_animated_meshnode->getMaterial(0).TextureLayer[0].Texture; + for (s32 i = 1; i < mat_count; i++) { + auto &layer = m_animated_meshnode->getMaterial(i).TextureLayer[0]; + if (!layer.Texture) + layer.Texture = last; + last = layer.Texture; + } + } + } } void GenericCAO::updateLight(u32 day_night_ratio) -- cgit v1.2.3 From 7a1464d783742512fdc6e0a083ffadd0ce63c1b4 Mon Sep 17 00:00:00 2001 From: HybridDog <3192173+HybridDog@users.noreply.github.com> Date: Fri, 26 Nov 2021 19:30:49 +0100 Subject: Minimap: gamma-correct average texture colour calculation (#9249) This calculates the average texture colour while heeding the sRGB colourspace. --- src/client/tile.cpp | 55 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index 2f57503d3..da03ff5c8 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -2229,6 +2229,48 @@ video::ITexture* TextureSource::getNormalTexture(const std::string &name) return NULL; } +namespace { + // For more colourspace transformations, see for example + // https://github.com/tobspr/GLSL-Color-Spaces/blob/master/ColorSpaces.inc.glsl + + inline float linear_to_srgb_component(float v) + { + if (v > 0.0031308f) + return 1.055f * powf(v, 1.0f / 2.4f) - 0.055f; + return 12.92f * v; + } + inline float srgb_to_linear_component(float v) + { + if (v > 0.04045f) + return powf((v + 0.055f) / 1.055f, 2.4f); + return v / 12.92f; + } + + v3f srgb_to_linear(const video::SColor &col_srgb) + { + v3f col(col_srgb.getRed(), col_srgb.getGreen(), col_srgb.getBlue()); + col /= 255.0f; + col.X = srgb_to_linear_component(col.X); + col.Y = srgb_to_linear_component(col.Y); + col.Z = srgb_to_linear_component(col.Z); + return col; + } + + video::SColor linear_to_srgb(const v3f &col_linear) + { + v3f col; + col.X = linear_to_srgb_component(col_linear.X); + col.Y = linear_to_srgb_component(col_linear.Y); + col.Z = linear_to_srgb_component(col_linear.Z); + col *= 255.0f; + col.X = core::clamp(col.X, 0.0f, 255.0f); + col.Y = core::clamp(col.Y, 0.0f, 255.0f); + col.Z = core::clamp(col.Z, 0.0f, 255.0f); + return video::SColor(0xff, myround(col.X), myround(col.Y), + myround(col.Z)); + } +} + video::SColor TextureSource::getTextureAverageColor(const std::string &name) { video::IVideoDriver *driver = RenderingEngine::get_video_driver(); @@ -2243,9 +2285,7 @@ video::SColor TextureSource::getTextureAverageColor(const std::string &name) return c; u32 total = 0; - u32 tR = 0; - u32 tG = 0; - u32 tB = 0; + v3f col_acc(0, 0, 0); core::dimension2d dim = image->getDimension(); u16 step = 1; if (dim.Width > 16) @@ -2255,17 +2295,14 @@ video::SColor TextureSource::getTextureAverageColor(const std::string &name) c = image->getPixel(x,y); if (c.getAlpha() > 0) { total++; - tR += c.getRed(); - tG += c.getGreen(); - tB += c.getBlue(); + col_acc += srgb_to_linear(c); } } } image->drop(); if (total > 0) { - c.setRed(tR / total); - c.setGreen(tG / total); - c.setBlue(tB / total); + col_acc /= total; + c = linear_to_srgb(col_acc); } c.setAlpha(255); return c; -- cgit v1.2.3 From b9051386ae296a6112383725bc8bfcd96dc9a226 Mon Sep 17 00:00:00 2001 From: Lejo Date: Fri, 26 Nov 2021 19:31:05 +0100 Subject: Add Lua bitop library (#9847) --- CMakeLists.txt | 5 + doc/lua_api.txt | 7 ++ lib/bitop/CMakeLists.txt | 4 + lib/bitop/bit.c | 189 ++++++++++++++++++++++++++++++++++++++ lib/bitop/bit.h | 34 +++++++ src/CMakeLists.txt | 3 + src/script/cpp_api/s_base.cpp | 7 ++ src/script/cpp_api/s_security.cpp | 3 +- 8 files changed, 251 insertions(+), 1 deletion(-) create mode 100644 lib/bitop/CMakeLists.txt create mode 100644 lib/bitop/bit.c create mode 100644 lib/bitop/bit.h diff --git a/CMakeLists.txt b/CMakeLists.txt index b41738c06..3ba99bc21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,11 @@ endif() find_package(GMP REQUIRED) find_package(Json REQUIRED) find_package(Lua REQUIRED) +if(NOT USE_LUAJIT) + set(LUA_BIT_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/bitop) + set(LUA_BIT_LIBRARY bitop) + add_subdirectory(lib/bitop) +endif() # JsonCpp doesn't compile well on GCC 4.8 if(NOT USE_SYSTEM_JSONCPP) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 36db23b6f..0a63642af 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -8825,3 +8825,10 @@ Used by `minetest.register_authentication_handler`. -- Returns an iterator (use with `for` loops) for all player names -- currently in the auth database } + +Bit Library +----------- + +Functions: bit.tobit, bit.tohex, bit.bnot, bit.band, bit.bor, bit.bxor, bit.lshift, bit.rshift, bit.arshift, bit.rol, bit.ror, bit.bswap + +See http://bitop.luajit.org/ for advanced information. diff --git a/lib/bitop/CMakeLists.txt b/lib/bitop/CMakeLists.txt new file mode 100644 index 000000000..03b4d0b96 --- /dev/null +++ b/lib/bitop/CMakeLists.txt @@ -0,0 +1,4 @@ +add_library(bitop bit.c) +target_link_libraries(bitop) + +include_directories(${LUA_INCLUDE_DIR}) diff --git a/lib/bitop/bit.c b/lib/bitop/bit.c new file mode 100644 index 000000000..f23c31a4c --- /dev/null +++ b/lib/bitop/bit.c @@ -0,0 +1,189 @@ +/* +** Lua BitOp -- a bit operations library for Lua 5.1/5.2. +** http://bitop.luajit.org/ +** +** Copyright (C) 2008-2012 Mike Pall. All rights reserved. +** +** Permission is hereby granted, free of charge, to any person obtaining +** a copy of this software and associated documentation files (the +** "Software"), to deal in the Software without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Software, and to +** permit persons to whom the Software is furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be +** included in all copies or substantial portions of the Software. +** +** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +** +** [ MIT license: http://www.opensource.org/licenses/mit-license.php ] +*/ + +#include "bit.h" + +#define LUA_BITOP_VERSION "1.0.2" + +#define LUA_LIB +#include "lauxlib.h" + +#ifdef _MSC_VER +/* MSVC is stuck in the last century and doesn't have C99's stdint.h. */ +typedef __int32 int32_t; +typedef unsigned __int32 uint32_t; +typedef unsigned __int64 uint64_t; +#else +#include +#endif + +typedef int32_t SBits; +typedef uint32_t UBits; + +typedef union { + lua_Number n; +#ifdef LUA_NUMBER_DOUBLE + uint64_t b; +#else + UBits b; +#endif +} BitNum; + +/* Convert argument to bit type. */ +static UBits barg(lua_State *L, int idx) +{ + BitNum bn; + UBits b; +#if LUA_VERSION_NUM < 502 + bn.n = lua_tonumber(L, idx); +#else + bn.n = luaL_checknumber(L, idx); +#endif +#if defined(LUA_NUMBER_DOUBLE) + bn.n += 6755399441055744.0; /* 2^52+2^51 */ +#ifdef SWAPPED_DOUBLE + b = (UBits)(bn.b >> 32); +#else + b = (UBits)bn.b; +#endif +#elif defined(LUA_NUMBER_INT) || defined(LUA_NUMBER_LONG) || \ + defined(LUA_NUMBER_LONGLONG) || defined(LUA_NUMBER_LONG_LONG) || \ + defined(LUA_NUMBER_LLONG) + if (sizeof(UBits) == sizeof(lua_Number)) + b = bn.b; + else + b = (UBits)(SBits)bn.n; +#elif defined(LUA_NUMBER_FLOAT) +#error "A 'float' lua_Number type is incompatible with this library" +#else +#error "Unknown number type, check LUA_NUMBER_* in luaconf.h" +#endif +#if LUA_VERSION_NUM < 502 + if (b == 0 && !lua_isnumber(L, idx)) { + luaL_typerror(L, idx, "number"); + } +#endif + return b; +} + +/* Return bit type. */ +#define BRET(b) lua_pushnumber(L, (lua_Number)(SBits)(b)); return 1; + +static int bit_tobit(lua_State *L) { BRET(barg(L, 1)) } +static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) } + +#define BIT_OP(func, opr) \ + static int func(lua_State *L) { int i; UBits b = barg(L, 1); \ + for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) } +BIT_OP(bit_band, &=) +BIT_OP(bit_bor, |=) +BIT_OP(bit_bxor, ^=) + +#define bshl(b, n) (b << n) +#define bshr(b, n) (b >> n) +#define bsar(b, n) ((SBits)b >> n) +#define brol(b, n) ((b << n) | (b >> (32-n))) +#define bror(b, n) ((b << (32-n)) | (b >> n)) +#define BIT_SH(func, fn) \ + static int func(lua_State *L) { \ + UBits b = barg(L, 1); UBits n = barg(L, 2) & 31; BRET(fn(b, n)) } +BIT_SH(bit_lshift, bshl) +BIT_SH(bit_rshift, bshr) +BIT_SH(bit_arshift, bsar) +BIT_SH(bit_rol, brol) +BIT_SH(bit_ror, bror) + +static int bit_bswap(lua_State *L) +{ + UBits b = barg(L, 1); + b = (b >> 24) | ((b >> 8) & 0xff00) | ((b & 0xff00) << 8) | (b << 24); + BRET(b) +} + +static int bit_tohex(lua_State *L) +{ + UBits b = barg(L, 1); + SBits n = lua_isnone(L, 2) ? 8 : (SBits)barg(L, 2); + const char *hexdigits = "0123456789abcdef"; + char buf[8]; + int i; + if (n < 0) { n = -n; hexdigits = "0123456789ABCDEF"; } + if (n > 8) n = 8; + for (i = (int)n; --i >= 0; ) { buf[i] = hexdigits[b & 15]; b >>= 4; } + lua_pushlstring(L, buf, (size_t)n); + return 1; +} + +static const struct luaL_Reg bit_funcs[] = { + { "tobit", bit_tobit }, + { "bnot", bit_bnot }, + { "band", bit_band }, + { "bor", bit_bor }, + { "bxor", bit_bxor }, + { "lshift", bit_lshift }, + { "rshift", bit_rshift }, + { "arshift", bit_arshift }, + { "rol", bit_rol }, + { "ror", bit_ror }, + { "bswap", bit_bswap }, + { "tohex", bit_tohex }, + { NULL, NULL } +}; + +/* Signed right-shifts are implementation-defined per C89/C99. +** But the de facto standard are arithmetic right-shifts on two's +** complement CPUs. This behaviour is required here, so test for it. +*/ +#define BAD_SAR (bsar(-8, 2) != (SBits)-2) + +LUALIB_API int luaopen_bit(lua_State *L) +{ + UBits b; + lua_pushnumber(L, (lua_Number)1437217655L); + b = barg(L, -1); + if (b != (UBits)1437217655L || BAD_SAR) { /* Perform a simple self-test. */ + const char *msg = "compiled with incompatible luaconf.h"; +#ifdef LUA_NUMBER_DOUBLE +#ifdef _WIN32 + if (b == (UBits)1610612736L) + msg = "use D3DCREATE_FPU_PRESERVE with DirectX"; +#endif + if (b == (UBits)1127743488L) + msg = "not compiled with SWAPPED_DOUBLE"; +#endif + if (BAD_SAR) + msg = "arithmetic right-shift broken"; + luaL_error(L, "bit library self-test failed (%s)", msg); + } +#if LUA_VERSION_NUM < 502 + luaL_register(L, "bit", bit_funcs); +#else + luaL_newlib(L, bit_funcs); +#endif + return 1; +} diff --git a/lib/bitop/bit.h b/lib/bitop/bit.h new file mode 100644 index 000000000..3e5845ee5 --- /dev/null +++ b/lib/bitop/bit.h @@ -0,0 +1,34 @@ +/* +** Lua BitOp -- a bit operations library for Lua 5.1/5.2. +** http://bitop.luajit.org/ +** +** Copyright (C) 2008-2012 Mike Pall. All rights reserved. +** +** Permission is hereby granted, free of charge, to any person obtaining +** a copy of this software and associated documentation files (the +** "Software"), to deal in the Software without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Software, and to +** permit persons to whom the Software is furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be +** included in all copies or substantial portions of the Software. +** +** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +** +** [ MIT license: http://www.opensource.org/licenses/mit-license.php ] +*/ + +#pragma once + +#include "lua.h" + +#define LUA_BITLIBNAME "bit" +LUALIB_API int luaopen_bit(lua_State *L); diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1549587b7..4803b475b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -500,6 +500,7 @@ include_directories( ${LUA_INCLUDE_DIR} ${GMP_INCLUDE_DIR} ${JSON_INCLUDE_DIR} + ${LUA_BIT_INCLUDE_DIR} ${X11_INCLUDE_DIR} ${PROJECT_SOURCE_DIR}/script ) @@ -537,6 +538,7 @@ if(BUILD_CLIENT) ${LUA_LIBRARY} ${GMP_LIBRARY} ${JSON_LIBRARY} + ${LUA_BIT_LIBRARY} ${PLATFORM_LIBS} ) if(NOT USE_LUAJIT) @@ -619,6 +621,7 @@ if(BUILD_SERVER) ${SQLITE3_LIBRARY} ${JSON_LIBRARY} ${LUA_LIBRARY} + ${LUA_BIT_LIBRARY} ${GMP_LIBRARY} ${PLATFORM_LIBS} ) diff --git a/src/script/cpp_api/s_base.cpp b/src/script/cpp_api/s_base.cpp index 921f713c0..f7b8a5102 100644 --- a/src/script/cpp_api/s_base.cpp +++ b/src/script/cpp_api/s_base.cpp @@ -37,6 +37,8 @@ extern "C" { #include "lualib.h" #if USE_LUAJIT #include "luajit.h" +#else + #include "bit.h" #endif } @@ -88,6 +90,11 @@ ScriptApiBase::ScriptApiBase(ScriptingType type): else luaL_openlibs(m_luastack); + // Load bit library + lua_pushcfunction(m_luastack, luaopen_bit); + lua_pushstring(m_luastack, LUA_BITLIBNAME); + lua_call(m_luastack, 1, 0); + // Make the ScriptApiBase* accessible to ModApiBase #if INDIRECT_SCRIPTAPI_RIDX *(void **)(lua_newuserdata(m_luastack, sizeof(void *))) = this; diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index 580042ec2..5faf8cc80 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -106,6 +106,7 @@ void ScriptApiSecurity::initializeSecurity() "string", "table", "math", + "bit" }; static const char *io_whitelist[] = { "close", @@ -298,6 +299,7 @@ void ScriptApiSecurity::initializeSecurityClient() "string", "table", "math", + "bit", }; static const char *os_whitelist[] = { "clock", @@ -834,4 +836,3 @@ int ScriptApiSecurity::sl_os_remove(lua_State *L) lua_call(L, 1, 2); return 2; } - -- cgit v1.2.3 From 87ab97da2ace31fdb46a88a0901ec664dd666feb Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 26 Nov 2021 19:32:41 +0100 Subject: Fix find_nodes_in_area misbehaving with out-of-map coordinates (#11770) This ensures that no overflows (side-effects) happen within the find_nodes_in_area function by limiting coordinates like done in the map generation code. --- src/script/lua_api/l_env.cpp | 31 +++++++++++++++++-------------- src/unittest/test_voxelarea.cpp | 18 ++++++++++++++++-- 2 files changed, 33 insertions(+), 16 deletions(-) diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index 2c709d31b..18ee3a521 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -880,6 +880,21 @@ int ModApiEnvMod::l_find_node_near(lua_State *L) return 0; } +static void checkArea(v3s16 &minp, v3s16 &maxp) +{ + auto volume = VoxelArea(minp, maxp).getVolume(); + // Volume limit equal to 8 default mapchunks, (80 * 2) ^ 3 = 4,096,000 + if (volume > 4096000) { + throw LuaError("Area volume exceeds allowed value of 4096000"); + } + + // Clamp to map range to avoid problems +#define CLAMP(arg) core::clamp(arg, (s16)-MAX_MAP_GENERATION_LIMIT, (s16)MAX_MAP_GENERATION_LIMIT) + minp = v3s16(CLAMP(minp.X), CLAMP(minp.Y), CLAMP(minp.Z)); + maxp = v3s16(CLAMP(maxp.X), CLAMP(maxp.Y), CLAMP(maxp.Z)); +#undef CLAMP +} + // find_nodes_in_area(minp, maxp, nodenames, [grouped]) int ModApiEnvMod::l_find_nodes_in_area(lua_State *L) { @@ -899,13 +914,7 @@ int ModApiEnvMod::l_find_nodes_in_area(lua_State *L) } #endif - v3s16 cube = maxp - minp + 1; - // Volume limit equal to 8 default mapchunks, (80 * 2) ^ 3 = 4,096,000 - if ((u64)cube.X * (u64)cube.Y * (u64)cube.Z > 4096000) { - luaL_error(L, "find_nodes_in_area(): area volume" - " exceeds allowed value of 4096000"); - return 0; - } + checkArea(minp, maxp); std::vector filter; collectNodeIds(L, 3, ndef, filter); @@ -1010,13 +1019,7 @@ int ModApiEnvMod::l_find_nodes_in_area_under_air(lua_State *L) } #endif - v3s16 cube = maxp - minp + 1; - // Volume limit equal to 8 default mapchunks, (80 * 2) ^ 3 = 4,096,000 - if ((u64)cube.X * (u64)cube.Y * (u64)cube.Z > 4096000) { - luaL_error(L, "find_nodes_in_area_under_air(): area volume" - " exceeds allowed value of 4096000"); - return 0; - } + checkArea(minp, maxp); std::vector filter; collectNodeIds(L, 3, ndef, filter); diff --git a/src/unittest/test_voxelarea.cpp b/src/unittest/test_voxelarea.cpp index 6ec0412d5..9826d2ee7 100644 --- a/src/unittest/test_voxelarea.cpp +++ b/src/unittest/test_voxelarea.cpp @@ -30,6 +30,7 @@ public: void test_addarea(); void test_pad(); + void test_extent(); void test_volume(); void test_contains_voxelarea(); void test_contains_point(); @@ -65,6 +66,7 @@ void TestVoxelArea::runTests(IGameDef *gamedef) { TEST(test_addarea); TEST(test_pad); + TEST(test_extent); TEST(test_volume); TEST(test_contains_voxelarea); TEST(test_contains_point); @@ -113,10 +115,22 @@ void TestVoxelArea::test_pad() UASSERT(v1.MaxEdge == v3s16(-47, -9347, 969)); } +void TestVoxelArea::test_extent() +{ + VoxelArea v1(v3s16(-1337, -547, -789), v3s16(-147, 447, 669)); + UASSERT(v1.getExtent() == v3s16(1191, 995, 1459)); + + VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, 32768)); + UASSERT(v2.getExtent() == v3s16(16, 16, 16)); +} + void TestVoxelArea::test_volume() { - VoxelArea v1(v3s16(-1337, 447, -789), v3s16(-147, -9547, 669)); - UASSERTEQ(s32, v1.getVolume(), -184657133); + VoxelArea v1(v3s16(-1337, -547, -789), v3s16(-147, 447, 669)); + UASSERTEQ(s32, v1.getVolume(), 1728980655); + + VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, 32768)); + UASSERTEQ(s32, v2.getVolume(), 4096); } void TestVoxelArea::test_contains_voxelarea() -- cgit v1.2.3 From c85aa0030f48e088d64a60b1e0df924a68c3964a Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Fri, 26 Nov 2021 19:33:24 +0100 Subject: Remove unused Direct3D shader error/warning (#11793) --- builtin/mainmenu/tab_settings.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index 29f3c9b62..42f7f8daf 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -275,13 +275,7 @@ local function handle_settings_buttons(this, fields, tabname, tabdata) return true end if fields["cb_shaders"] then - if (core.settings:get("video_driver") == "direct3d8" or - core.settings:get("video_driver") == "direct3d9") then - core.settings:set("enable_shaders", "false") - gamedata.errormessage = fgettext("To enable shaders the OpenGL driver needs to be used.") - else - core.settings:set("enable_shaders", fields["cb_shaders"]) - end + core.settings:set("enable_shaders", fields["cb_shaders"]) return true end if fields["cb_tonemapping"] then -- cgit v1.2.3 From 413be76c63309266d3d271f01cc74385067d7263 Mon Sep 17 00:00:00 2001 From: Corey Powell Date: Fri, 26 Nov 2021 14:19:40 -0500 Subject: Implemented disconnect_player (#10492) Co-authored-by: rubenwardy --- builtin/game/misc.lua | 10 ++++++++++ doc/lua_api.txt | 4 ++++ src/script/lua_api/l_server.cpp | 12 ++++++------ src/script/lua_api/l_server.h | 4 ++-- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index 05237662c..ef826eda7 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -6,6 +6,16 @@ local S = core.get_translator("__builtin") -- Misc. API functions -- +-- @spec core.kick_player(String, String) :: Boolean +function core.kick_player(player_name, reason) + if type(reason) == "string" then + reason = "Kicked: " .. reason + else + reason = "Kicked." + end + return core.disconnect_player(player_name, reason) +end + function core.check_player_privs(name, ...) if core.is_player(name) then name = name:get_player_name() diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 0a63642af..aff739cfb 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5741,6 +5741,10 @@ Bans * `minetest.kick_player(name, [reason])`: disconnect a player with an optional reason. * Returns boolean indicating success (false if player nonexistant) +* `minetest.disconnect_player(name, [reason])`: disconnect a player with an + optional reason, this will not prefix with 'Kicked: ' like kick_player. + If no reason is given, it will default to 'Disconnected.' + * Returns boolean indicating success (false if player nonexistant) Particles --------- diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 476f74c9c..82a692070 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -310,8 +310,8 @@ int ModApiServer::l_ban_player(lua_State *L) return 1; } -// kick_player(name, [reason]) -> success -int ModApiServer::l_kick_player(lua_State *L) +// disconnect_player(name, [reason]) -> success +int ModApiServer::l_disconnect_player(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -319,11 +319,11 @@ int ModApiServer::l_kick_player(lua_State *L) throw LuaError("Can't kick player before server has started up"); const char *name = luaL_checkstring(L, 1); - std::string message("Kicked"); + std::string message; if (lua_isstring(L, 2)) - message.append(": ").append(readParam(L, 2)); + message.append(readParam(L, 2)); else - message.append("."); + message.append("Disconnected."); RemotePlayer *player = dynamic_cast(getEnv(L))->getPlayer(name); if (player == NULL) { @@ -554,7 +554,7 @@ void ModApiServer::Initialize(lua_State *L, int top) API_FCT(get_ban_list); API_FCT(get_ban_description); API_FCT(ban_player); - API_FCT(kick_player); + API_FCT(disconnect_player); API_FCT(remove_player); API_FCT(unban_player_or_ip); API_FCT(notify_authentication_modified); diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index a6f709787..f05c0b7c9 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -97,8 +97,8 @@ private: // unban_player_or_ip() static int l_unban_player_or_ip(lua_State *L); - // kick_player(name, [message]) -> success - static int l_kick_player(lua_State *L); + // disconnect_player(name, [reason]) -> success + static int l_disconnect_player(lua_State *L); // remove_player(name) static int l_remove_player(lua_State *L); -- cgit v1.2.3 From 51cfb57b4da8e71e39380bf5bf3e19414c779e12 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 27 Nov 2021 00:10:13 +0000 Subject: Update to Android target SDK 30 (#11746) --- android/app/build.gradle | 4 ++-- android/app/src/main/AndroidManifest.xml | 6 ++++-- android/app/src/main/java/net/minetest/minetest/MainActivity.java | 3 ++- android/app/src/main/java/net/minetest/minetest/UnzipService.java | 5 +++++ android/native/build.gradle | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 234868f92..e8ba95722 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 + compileSdkVersion 30 buildToolsVersion '30.0.3' ndkVersion "$ndk_version" defaultConfig { applicationId 'net.minetest.minetest' minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 30 versionName "${versionMajor}.${versionMinor}.${versionPatch}" versionCode project.versionCode } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index fa93e7069..6ea677cb9 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -30,7 +30,8 @@ android:configChanges="orientation|keyboardHidden|navigation|screenSize" android:maxAspectRatio="3.0" android:screenOrientation="sensorLandscape" - android:theme="@style/AppTheme"> + android:theme="@style/AppTheme" + android:exported="true"> @@ -44,7 +45,8 @@ android:launchMode="singleTask" android:maxAspectRatio="3.0" android:screenOrientation="sensorLandscape" - android:theme="@style/AppTheme"> + android:theme="@style/AppTheme" + android:exported="true"> diff --git a/android/app/src/main/java/net/minetest/minetest/MainActivity.java b/android/app/src/main/java/net/minetest/minetest/MainActivity.java index 56615fca7..b6567b4b7 100644 --- a/android/app/src/main/java/net/minetest/minetest/MainActivity.java +++ b/android/app/src/main/java/net/minetest/minetest/MainActivity.java @@ -101,7 +101,8 @@ public class MainActivity extends AppCompatActivity { mTextView = findViewById(R.id.textView); sharedPreferences = getSharedPreferences(SETTINGS, Context.MODE_PRIVATE); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && + Build.VERSION.SDK_INT < Build.VERSION_CODES.R) checkPermission(); else checkAppVersion(); diff --git a/android/app/src/main/java/net/minetest/minetest/UnzipService.java b/android/app/src/main/java/net/minetest/minetest/UnzipService.java index b513a7fe0..a61a49139 100644 --- a/android/app/src/main/java/net/minetest/minetest/UnzipService.java +++ b/android/app/src/main/java/net/minetest/minetest/UnzipService.java @@ -32,6 +32,7 @@ import android.os.Environment; import androidx.annotation.NonNull; import androidx.annotation.Nullable; +import androidx.annotation.RequiresApi; import androidx.annotation.StringRes; import java.io.File; @@ -200,6 +201,10 @@ public class UnzipService extends IntentService { * Migrates user data from deprecated external storage to app scoped storage */ private void migrate(Notification.Builder notificationBuilder, File newLocation) throws IOException { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { + return; + } + File oldLocation = new File(Environment.getExternalStorageDirectory(), "Minetest"); if (!oldLocation.isDirectory()) return; diff --git a/android/native/build.gradle b/android/native/build.gradle index e37694f5b..2ddc77135 100644 --- a/android/native/build.gradle +++ b/android/native/build.gradle @@ -2,12 +2,12 @@ apply plugin: 'com.android.library' apply plugin: 'de.undercouch.download' android { - compileSdkVersion 29 + compileSdkVersion 30 buildToolsVersion '30.0.3' ndkVersion "$ndk_version" defaultConfig { minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 30 externalNativeBuild { ndkBuild { arguments '-j' + Runtime.getRuntime().availableProcessors(), -- cgit v1.2.3 From 70ece73da9b6f12d3f443d1e638615c7bca096e4 Mon Sep 17 00:00:00 2001 From: "Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi" Date: Wed, 16 Jun 2021 18:47:58 +0000 Subject: Translated using Weblate (Malay) Currently translated at 100.0% (1396 of 1396 strings) --- po/ms/minetest.po | 265 +++++++++++++++++++++++++++--------------------------- 1 file changed, 133 insertions(+), 132 deletions(-) diff --git a/po/ms/minetest.po b/po/ms/minetest.po index 5985a4220..a7e5d7e87 100644 --- a/po/ms/minetest.po +++ b/po/ms/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Malay (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-01 16:17+0000\n" +"PO-Revision-Date: 2021-06-16 19:05+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" "Language-Team: Malay ' to get more information, or '.help all' to list everything." msgstr "" +"Gunakan '.help ' untuk dapatkan maklumat lanjut, atau '.help all' " +"untuk senaraikan kesemuanya." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -613,7 +606,7 @@ msgstr "Dilumpuhkan" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" -msgstr "Edit" +msgstr "Sunting" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" @@ -786,16 +779,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Perihal" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Penyumbang Aktif" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Jarak penghantaran objek aktif" +msgstr "Penterjemah aktif:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -930,9 +922,8 @@ msgid "Start Game" msgstr "Mulakan Permainan" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Alamat: " +msgstr "Alamat" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -948,22 +939,20 @@ msgstr "Mod Kreatif" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Boleh cedera" +msgstr "Boleh cedera / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Padam Kegemaran" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "Kegemaran" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Pelayan Tidak Serasi" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -974,18 +963,16 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Umumkan Pelayan" +msgstr "Pelayan Awam" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Segarkan semula" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Perihal pelayan" +msgstr "Keterangan Pelayan" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1028,13 +1015,12 @@ msgid "Connected Glass" msgstr "Kaca Bersambungan" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Bayang fon" +msgstr "Bayang dinamik" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Bayang dinamik: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1042,15 +1028,15 @@ msgstr "Daun Beragam" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Tinggi" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Rendah" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Sederhana" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1142,11 +1128,11 @@ msgstr "Penapisan Trilinear" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Ultra Tinggi" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Sangat Rendah" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1466,9 +1452,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Peta mini dilumpuhkan oleh permainan atau mods" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Pemain Perseorangan" +msgstr "Pemain Ramai" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1904,9 +1889,8 @@ msgid "Proceed" msgstr "Teruskan" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Istimewa\" = panjat turun" +msgstr "\"Aux1\" = panjat turun" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1918,7 +1902,7 @@ msgstr "Lompat automatik" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1926,7 +1910,7 @@ msgstr "Ke Belakang" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Batas blok" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -1938,7 +1922,7 @@ msgstr "Sembang" #: src/gui/guiKeyChangeMenu.cpp msgid "Command" -msgstr "Arahan" +msgstr "Perintah" #: src/gui/guiKeyChangeMenu.cpp msgid "Console" @@ -1992,7 +1976,7 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Local command" -msgstr "Arahan tempatan" +msgstr "Perintah tempatan" #: src/gui/guiKeyChangeMenu.cpp msgid "Mute" @@ -2105,14 +2089,13 @@ msgstr "" "berdasarkan kedudukan sentuhan pertama." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Guna kayu bedik maya untuk picu butang \"aux\".\n" -"Jika dibolehkan, kayu bedik maya juga akan menekan butang \"aux\" apabila " +"(Android) Guna kayu bedik maya untuk picu butang \"Aux1\".\n" +"Jika dibolehkan, kayu bedik maya juga akan menekan butang \"Aux1\" apabila " "berada di luar bulatan utama." #: src/settings_translation_file.cpp @@ -2249,13 +2232,14 @@ msgid "" msgstr "" "Sokongan 3D.\n" "Yang disokong pada masa ini:\n" -"- tiada: tiada output 3D.\n" -"- anaglif: 3D warna biru/merah.\n" -"- selang-seli: garis genap/ganjil berdasarkan sokongan skrin polarisasi.\n" -"- atas-bawah: pisah skrin atas/bawah.\n" -"- kiri-kanan: pisah skrin kiri/kanan.\n" -"- silang lihat: 3D mata bersilang\n" -"- selak halaman: 3D berasaskan penimbal kuad.\n" +"- none (tiada): untuk tiada output 3D.\n" +"- anaglyph (anaglif): 3D warna biru/merah.\n" +"- interlaced (selang-seli): garis genap/ganjil berdasarkan sokongan skrin " +"polarisasi.\n" +"- topbottom (atas-bawah): pisah skrin atas/bawah.\n" +"- sidebyside (kiri-kanan): pisah skrin kiri/kanan.\n" +"- crossview (silang lihat): 3D mata bersilang\n" +"- pageflip (selak halaman): 3D berasaskan penimbal kuad.\n" "Ambil perhatian bahawa mod selang-seli memerlukan pembayang." #: src/settings_translation_file.cpp @@ -2467,14 +2451,12 @@ msgid "Autoscaling mode" msgstr "Mod skala automatik" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Kekunci lompat" +msgstr "Kekunci Aux1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Kekunci untuk memanjat/menurun" +msgstr "Kekunci Aux1 untuk memanjat/menurun" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2626,9 +2608,8 @@ msgstr "" "Di mana 0.0 ialah aras cahaya minimum, 1.0 ialah maksimum." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Nilai ambang tendang mesej sembang" +msgstr "Nilai ambang mesej masa perintah sembang" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2727,9 +2708,8 @@ msgid "Colored fog" msgstr "Kabut berwarna" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Kabut berwarna" +msgstr "Bayang berwarna" #: src/settings_translation_file.cpp msgid "" @@ -2771,7 +2751,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Command key" -msgstr "Kekunci arahan" +msgstr "Kekunci perintah" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2962,6 +2942,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Mentakrifkan kualiti penapisan bayang\n" +"Tetapan ini menyelakukan kesan bayang lembut dengan menggunakan\n" +"PCF atau cakera poisson tetapi turut menggunakan lebih banyak sumber." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3142,6 +3125,9 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Membolehkan bayang berwarna. \n" +"Jika dibenarkan, nod lut cahaya mengeluarkan bayang berwarna. Fungsi ini " +"sangat berat." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3173,6 +3159,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Membolehkan penapisan cakera poisson.\n" +"Jika dibenarkan, gunakan cakera poisson untuk membuat \"bayang lembut\". " +"Jika tidak, gunakan penapisan PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3348,13 +3337,12 @@ msgid "Fast movement" msgstr "Pergerakan pantas" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Bergerak pantas (dengan kekunci \"istimewa\").\n" -"Ini memerlukan keistimewaan \"pergerakan pantas\" dalam pelayan tersebut." +"Bergerak pantas (dengan kekunci \"Aux1\").\n" +"Ini memerlukan keistimewaan \"pergerakan pantas\" di pelayan tersebut." #: src/settings_translation_file.cpp msgid "Field of view" @@ -3386,7 +3374,6 @@ msgid "Filmic tone mapping" msgstr "Pemetaan tona sinematik" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3399,7 +3386,8 @@ msgstr "" "atau\n" "terang pada tekstur lut sinar. Guna penapisan ini untuk membersihkan tekstur " "tersebut\n" -"ketika ia sedang dimuatkan." +"ketika ia sedang dimuatkan. Ini dibolehkan secara automatik jika pemetaan " +"mip dibolehkan." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3724,10 +3712,9 @@ msgid "Heat noise" msgstr "Hingar haba" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Komponen tinggi saiz tetingkap awal." +msgstr "Komponen tinggi saiz tetingkap awal. Diabaikan dalam mod skrin penuh." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3982,12 +3969,11 @@ msgstr "" "tidurkannya supaya tidak bazirkan kuasa CPU dengan sia-sia." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Jika dilumpuhkan, kekunci \"istimewa\" akan digunakan untuk terbang laju\n" +"Jika dilumpuhkan, kekunci \"Aux1\" akan digunakan untuk terbang laju\n" "sekiranya kedua-dua mod terbang dan mod pergerakan pantas dibolehkan." #: src/settings_translation_file.cpp @@ -4014,15 +4000,13 @@ msgstr "" "Ini memerlukan keistimewaan \"tembus blok\" dalam pelayan tersebut." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Jika dibolehkan, kekunci \"istimewa\" akan digunakan untuk panjat ke bawah " -"dan\n" -"turun dalam mod terbang, menggantikan kekunci \"selinap\"." +"Jika dibolehkan, kekunci \"Aux1\" akan digunakan untuk panjat ke bawah dan\n" +"turun dalam mod terbang, menggantikan kekunci \"Selinap\"." #: src/settings_translation_file.cpp msgid "" @@ -4084,6 +4068,10 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Jika pelaksanaan sesuatu perintah sembang mengambil masa lebih lama daripada " +"yang\n" +"dinyatakan di sini dalam unit saat, tambah maklumat masa ke mesej perintah " +"sembang" #: src/settings_translation_file.cpp msgid "" @@ -4459,7 +4447,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Kekunci untuk membuka tetingkap sembang untuk menaip arahan.\n" +"Kekunci untuk membuka tetingkap sembang untuk menaip perintah.\n" "Lihat http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4469,7 +4457,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Kekunci untuk membuka tetingkap sembang untuk menaip arahan tempatan.\n" +"Kekunci untuk membuka tetingkap sembang untuk menaip perintah tempatan.\n" "Lihat http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5350,9 +5338,8 @@ msgid "Map save interval" msgstr "Selang masa penyimpanan peta" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Detik kemas kini cecair" +msgstr "Masa kemas kini peta" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5466,7 +5453,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Jarak maksimum untuk menterjemah bayang." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5597,18 +5584,20 @@ msgstr "" "had." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Masa maksimum dalam unit ms untuk muat turun fail (cth. muat turun mods)." +"Masa maksimum yang dibenarkan untuk muat turun fail (cth. muat turun mods), " +"dalam unit milisaat." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Masa maksimum yang dibenarkan untuk permintaan saling tindak (cth. mengambil " +"senarai pelayan), dalam unit milisaat." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5976,9 +5965,8 @@ msgid "Player versus player" msgstr "Pemain lawan pemain" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Penapisan bilinear" +msgstr "Penapisan poisson" #: src/settings_translation_file.cpp msgid "" @@ -6319,7 +6307,7 @@ msgstr "" "6 = Set Julia \"Sepupu Mandy\" 4D.\n" "7 = Set Mandelbrot \"Variasi\" 4D.\n" "8 = Set Julia \"Variasi\" 4D.\n" -"9 = Set Mandelbrot \"Mandelbrot/Mandelbar\" 3D.\n" +"9 = Set Mandelbrot jenis \"Mandelbrot/Mandelbar\" 3D.\n" "10 = Set Julia \"Mandelbrot/Mandelbar\" 3D.\n" "11 = Set Mandelbrot \"Pokok Krismas\" 3D.\n" "12 = Set Julia \"Pokok Krismas\" 3D.\n" @@ -6383,6 +6371,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Menetapkan kekuatan bayang.\n" +"Nilai lebih rendah untuk bayang lebih terang, nilai lebih tinggi untuk " +"bayang lebih gelap." #: src/settings_translation_file.cpp msgid "" @@ -6391,6 +6382,10 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Menetapkan masa kemas kini bayang.\n" +"Nilai lebih rendah untuk kemas kini peta dan bayang lebih laju, tetapi " +"menggunakan lebih banyak sumber.\n" +"Nilai minimum 0.001 saat dan nilai maksimum 0.2 saat" #: src/settings_translation_file.cpp msgid "" @@ -6398,6 +6393,10 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Menetapkan saiz jejari bayang lembut.\n" +"Nilai lebih rendah untuk bayang lebih tajam dan nilai lebih tinggi untuk " +"bayang lebih lembut.\n" +"Nilai minimum 1.0 dan nilai maksimum 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6405,14 +6404,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Menetapkan kecondongan orbit Matahari/Bulan dalam unit darjah\n" +"Nilai 0 untuk tidak condong / tiada orbit menegak.\n" +"Nilai minimum 0.0 dan nilai maksimum 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Tetapkan kepada \"true\" untuk membolehkan daun bergoyang.\n" +"Tetapkan kepada \"true\" untuk membolehkan Pemetaan Bayang.\n" "Memerlukan pembayang untuk dibolehkan." #: src/settings_translation_file.cpp @@ -6445,6 +6446,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Menetapkan kualiti tekstur bayang kepada 32 bit.\n" +"Jika tetapkan kepada \"false\", tekstur 16 bit akan digunakan.\n" +"Tetapan ini boleh menyebabkan lebih banyak artifak pada bayang." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6462,22 +6466,20 @@ msgstr "" "Namun ia hanya berfungsi dengan pembahagian belakang video OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Kualiti tangkap layar" +msgstr "Kualiti penapisan bayang" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Jarak maksimum peta bayang untuk menerjemah bayang, dalam unit nod" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Tekstur peta bayang dalam 32 bit" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Saiz tekstur minimum" +msgstr "Saiz tekstur peta bayang" #: src/settings_translation_file.cpp msgid "" @@ -6489,7 +6491,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Kekuatan bayang" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6547,7 +6549,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Kecondongan Orbit Badan Angkasa" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6610,9 +6612,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Kelajuan menyelinap, dalam unit nod per saat." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Nilai alfa bayang fon" +msgstr "Jejari bayang lembut" #: src/settings_translation_file.cpp msgid "Sound" @@ -6781,6 +6782,10 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Saiz tekstur yang akan digunakan untuk menerjemah peta bayang.\n" +"Nilai ini mestilah hasil kuasa dua.\n" +"Nombor lebih besar mencipta bayang lebih baik tetapi ia juga lebih banyak " +"guna sumber." #: src/settings_translation_file.cpp msgid "" @@ -6880,7 +6885,6 @@ msgstr "" "(active_object_send_range_blocks)." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6889,7 +6893,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Terjemahan bahagian belakang untuk Irrlicht.\n" +"Terjemahan bahagian belakang.\n" "Anda perlu memulakan semula selepas mengubah tetapan ini.\n" "Nota: Di Android, kekalkan dengan OGLES1 jika tidak pasti! Apl mungkin gagal " "dimulakan jika ditukar.\n" @@ -6976,7 +6980,8 @@ msgid "" "Time in seconds for item entity (dropped items) to live.\n" "Setting it to -1 disables the feature." msgstr "" -"Masa untuk entiti item (item yang dijatuhkan) terus hidup dalam unit saat.\n" +"Masa untuk entiti item (iaitu item yang dijatuhkan) terus hidup dalam unit " +"saat.\n" "Tetapkan kepada -1 untuk melumpuhkan sifat tersebut." #: src/settings_translation_file.cpp @@ -7136,7 +7141,7 @@ msgstr "VBO" #: src/settings_translation_file.cpp msgid "VSync" -msgstr "VSync" +msgstr "Segerak Menegak" #: src/settings_translation_file.cpp msgid "Valley depth" @@ -7228,9 +7233,8 @@ msgid "Viewing range" msgstr "Jarak pandang" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Kayu bedik maya memicu butang aux" +msgstr "Kayu bedik maya memicu butang Aux1" #: src/settings_translation_file.cpp msgid "Volume" @@ -7338,7 +7342,6 @@ msgstr "" "perkakasan." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7351,18 +7354,18 @@ msgid "" msgstr "" "Apabila menggunakan tapisan bilinear/trilinear/anisotropik, tekstur " "resolusi\n" -"rendah boleh jadi kabur, jadi sesuai-naikkan mereka secara automatik dengan\n" -"sisipan jiran terdekat untuk memelihara piksel keras. Tetapan ini " -"menetapkan\n" -"saiz tekstur minima untuk tekstur penyesuai-naikkan; nilai lebih tinggi " -"tampak\n" -"lebih tajam, tetapi memerlukan memori yang lebih banyak. Nilai kuasa 2\n" -"digalakkan. Menetapkan nilai ini lebih tinggi dari 1 tidak akan " -"menampakkan\n" -"kesan yang nyata melainkan tapisan bilinear/trilinear/anisotropik " +"rendah boleh jadi kabur, jadi sesuai-naikkannya secara automatik dengan " +"sisipan\n" +"jiran terdekat untuk memelihara piksel keras. Tetapan ini menetapkan saiz " +"tekstur\n" +"minimum untuk tekstur yang disesuai-naikkan; nilai lebih tinggi tampak " +"lebih\n" +"tajam, tetapi memerlukan memori yang lebih banyak. Nilai kuasa 2 digalakkan." +"\n" +"Tetapan ini HANYA digunakan jika penapisan bilinear/trilinear/anisotropik " "dibolehkan.\n" -"Ini juga digunakan sebagai saiz tekstur nod asas untuk autopenyesuaian\n" -"tekstur jajaran dunia." +"Tetapan ini juga digunakan sebagai saiz tekstur nod asas untuk\n" +"penyesuaian automatik bagi tekstur jajaran dunia." #: src/settings_translation_file.cpp msgid "" @@ -7435,9 +7438,8 @@ msgstr "" "seperti menekan butang F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Komponen lebar saiz tetingkap awal." +msgstr "Komponen lebar saiz tetingkap awal. Diabaikan dalam mod skrin penuh." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7573,9 +7575,8 @@ msgid "cURL file download timeout" msgstr "Had masa muat turun fail cURL" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "Had masa cURL" +msgstr "Had masa saling tindak cURL" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From b9c1a999ff5b7de8000f619c432cab2583c79486 Mon Sep 17 00:00:00 2001 From: waxtatect Date: Wed, 16 Jun 2021 19:13:36 +0000 Subject: Translated using Weblate (French) Currently translated at 94.9% (1325 of 1396 strings) --- po/fr/minetest.po | 920 +++++++++++++++++++++++++++--------------------------- 1 file changed, 462 insertions(+), 458 deletions(-) diff --git a/po/fr/minetest.po b/po/fr/minetest.po index aa0ffd158..bcfe2d77a 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-02 19:33+0000\n" +"PO-Revision-Date: 2021-09-26 15:58+0000\n" "Last-Translator: waxtatect \n" "Language-Team: French \n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Taille maximale de la file de sortie de message du tchat" +msgstr "Effacer la file de sortie de message du tchat" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Commandes de tchat" +msgstr "Commande vide." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Menu principal" +msgstr "Quitter vers le menu principal" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Commande locale" +msgstr "Commande invalide : " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Commande émise : " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Solo" +msgstr "Liste des joueurs en ligne" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Solo" +msgstr "Joueurs en ligne : " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "La file de sortie de message du tchat est maintenant vide." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Cette commande est désactivée par le serveur." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +59,35 @@ msgid "You died" msgstr "Vous êtes mort" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Vous êtes mort" +msgstr "Vous êtes mort." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Commande locale" +msgstr "Commandes disponibles :" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Commande locale" +msgstr "Commandes disponibles : " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Commande non disponible : " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Obtenir de l'aide pour les commandes" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Utilisez « .help  » pour obtenir plus d'informations, ou « .help all » " +"pour tout lister." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -370,7 +363,7 @@ msgstr "Refroidissement en altitude" #: builtin/mainmenu/dlg_create_world.lua msgid "Altitude dry" -msgstr "Faible humidité d'altitude" +msgstr "Faible humidité en altitude" #: builtin/mainmenu/dlg_create_world.lua msgid "Biome blending" @@ -414,11 +407,11 @@ msgstr "Terrain plat" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" -msgstr "Îles volantes" +msgstr "Masses de terrains flottants dans le ciel" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" -msgstr "Îles volantes (expérimental)" +msgstr "Terrains flottants (expérimental)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" @@ -426,7 +419,7 @@ msgstr "Jeu" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "Générer un terrain non fractal : océans et souterrain" +msgstr "Générer un terrain non fractal : océans et souterrain" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" @@ -446,7 +439,8 @@ msgstr "Lacs" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "L'air sec et chaud réduit le niveau d'eau ou assèche les rivières" +msgstr "" +"Humidité basse et chaleur élevée rendent les rivières peu profondes ou sèches" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" @@ -478,11 +472,11 @@ msgstr "Aucun jeu sélectionné" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "Réduire la température avec l'altitude" +msgstr "Réduit la chaleur avec l'altitude" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "Réduire l'humidité avec l'altitude" +msgstr "Réduit l'humidité avec l'altitude" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" @@ -490,7 +484,7 @@ msgstr "Rivières" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" -msgstr "Rivière au niveau de mer" +msgstr "Rivières au niveau de la mer" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -506,8 +500,8 @@ msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" -"Structures apparaissantes sur le sol (sans effets sur la création d'arbre et " -"de jungle par v6)" +"Structures apparaissant sur le sol (sans effet sur la création d'arbres et " +"d'herbes de la jungle par v6)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" @@ -521,11 +515,11 @@ msgstr "Tempéré, désertique" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "Tempéré, désertique, tropical" +msgstr "Tempéré, désertique, jungle" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "Tempéré, désertique, tropical, de toundra, de taïga" +msgstr "Tempéré, désertique, jungle, toundra, taïga" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" @@ -533,7 +527,7 @@ msgstr "Érosion du sol" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -msgstr "Arbres et végétation de jungle" +msgstr "Arbres et herbes de la jungle" #: builtin/mainmenu/dlg_create_world.lua msgid "Vary river depth" @@ -545,7 +539,7 @@ msgstr "Très grande cavernes profondes" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The Development Test is meant for developers." -msgstr "Avertissement : le jeu minimal est fait pour les développeurs." +msgstr "Avertissement : le jeu minimal est fait pour les développeurs." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" @@ -571,7 +565,7 @@ msgstr "Le gestionnaire de mods n'a pas pu supprimer « $1 »" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: invalid path \"$1\"" -msgstr "Gestionnaire de mods : chemin de mod invalide « $1 »" +msgstr "Gestionnaire de mods : chemin de mod invalide « $1 »" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" @@ -595,7 +589,7 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" -msgstr "(Aucune description donnée de l'option)" +msgstr "(Aucune description du paramètre donnée)" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "2D Noise" @@ -631,7 +625,7 @@ msgstr "Octaves" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Offset" -msgstr "Décallage" +msgstr "Décalage" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Persistance" @@ -651,7 +645,7 @@ msgstr "Réinitialiser" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Scale" -msgstr "Echelle" +msgstr "Échelle" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua msgid "Search" @@ -739,23 +733,23 @@ msgstr "Échec de l'installation de $1 vers $2" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find real mod name for: $1" msgstr "" -"Installation d'un mod : impossible de trouver le vrai nom du mod pour : $1" +"Installation d'un mod : impossible de trouver le vrai nom du mod pour : $1" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -"Installation un mod : impossible de trouver un nom de dossier valide pour le " +"Installation un mod : impossible de trouver un nom de dossier valide pour le " "pack de mods $1" #: builtin/mainmenu/pkgmgr.lua msgid "Install: Unsupported file type \"$1\" or broken archive" msgstr "" -"Installation d'un mod : type de fichier non supporté « $1 » ou archive " +"Installation d'un mod : type de fichier non supporté « $1 » ou archive " "endommagée" #: builtin/mainmenu/pkgmgr.lua msgid "Install: file: \"$1\"" -msgstr "Installation : fichier : « $1 »" +msgstr "Installation : fichier : « $1 »" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" @@ -788,21 +782,20 @@ msgstr "La liste des serveurs publics est désactivée" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." msgstr "" -"Essayez de rechargez la liste des serveurs publics et vérifiez votre " -"connexion Internet." +"Essayez de réactiver la liste des serveurs et vérifiez votre connexion " +"Internet." #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "À propos" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Contributeurs actifs" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Portée des objets actifs envoyés" +msgstr "Moteur de rendu actif :" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -891,7 +884,7 @@ msgstr "Héberger une partie" #: builtin/mainmenu/tab_local.lua msgid "Host Server" -msgstr "Héberger un serveur" +msgstr "Héberger le serveur" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" @@ -938,9 +931,8 @@ msgid "Start Game" msgstr "Démarrer" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adresse : " +msgstr "Adresse" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -956,22 +948,20 @@ msgstr "Mode créatif" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Dégâts" +msgstr "Dégâts / JcJ" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Supprimer favori" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favori" +msgstr "Favoris" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Serveurs incompatibles" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -982,16 +972,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Annoncer le serveur" +msgstr "Serveurs publics" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Actualiser" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Description du serveur" @@ -1036,13 +1024,12 @@ msgid "Connected Glass" msgstr "Verre unifié" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Ombre de la police" +msgstr "Ombres dynamiques" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Ombres dynamiques : " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1050,19 +1037,19 @@ msgstr "Feuilles détaillées" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Élevées" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Basses" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Moyennes" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" -msgstr "MIP mapping" +msgstr "MIP map" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap + Aniso. Filter" @@ -1134,8 +1121,7 @@ msgstr "Texturisation :" #: builtin/mainmenu/tab_settings.lua msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" -"Pour activer les textures nuancées, le pilote OpenGL doit être utilisé." +msgstr "Pour activer les shaders, le pilote OpenGL doit être utilisé." #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" @@ -1151,11 +1137,11 @@ msgstr "Filtrage trilinéaire" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Très élevées" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Très basses" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1191,7 +1177,7 @@ msgstr "Chargement des textures…" #: src/client/client.cpp msgid "Rebuilding shaders..." -msgstr "Reconstruction des textures nuancées…" +msgstr "Reconstruction des shaders…" #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" @@ -1235,40 +1221,40 @@ msgid "" "Check debug.txt for details." msgstr "" "\n" -"Voir debug.txt pour plus d'informations." +"Voir « debug.txt » pour plus d'informations." #: src/client/game.cpp msgid "- Address: " -msgstr "- Adresse : " +msgstr "– Adresse : " #: src/client/game.cpp msgid "- Creative Mode: " -msgstr "- Mode créatif : " +msgstr "– Mode créatif : " #: src/client/game.cpp msgid "- Damage: " -msgstr "- Dégâts : " +msgstr "– Dégâts : " #: src/client/game.cpp msgid "- Mode: " -msgstr "- Mode : " +msgstr "– Mode : " #: src/client/game.cpp msgid "- Port: " -msgstr "- Port : " +msgstr "– Port : " #: src/client/game.cpp msgid "- Public: " -msgstr "- Public : " +msgstr "– Public : " #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " -msgstr "- JcJ : " +msgstr "– JcJ : " #: src/client/game.cpp msgid "- Server Name: " -msgstr "- Nom du serveur : " +msgstr "– Nom du serveur : " #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1328,19 +1314,19 @@ msgid "" "- Mouse wheel: select item\n" "- %s: chat\n" msgstr "" -"Contrôles : \n" -"– %s : avancer\n" -"– %s : reculer\n" -"– %s : à gauche\n" -"– %s : à droite\n" -"– %s : sauter/grimper\n" -"– %s : creuser/actionner\n" -"– %s : placer/utiliser\n" -"– %s : marcher lentement/descendre\n" -"– %s : lâcher un objet\n" -"– %s : inventaire\n" -"– Souris : tourner/regarder\n" -"– Molette souris : sélectionner un objet\n" +"Contrôles :\n" +"– %s : avancer\n" +"– %s : reculer\n" +"– %s : à gauche\n" +"– %s : à droite\n" +"– %s : sauter/grimper\n" +"– %s : creuser/actionner\n" +"– %s : placer/utiliser\n" +"– %s : marcher lentement/descendre\n" +"– %s : lâcher un objet\n" +"– %s : inventaire\n" +"– Souris : tourner/regarder\n" +"– Molette souris : sélectionner un objet\n" "– %s : tchat\n" #: src/client/game.cpp @@ -1353,15 +1339,15 @@ msgstr "Création du serveur…" #: src/client/game.cpp msgid "Debug info and profiler graph hidden" -msgstr "Informations de debogage et graphique de profil cachés" +msgstr "Informations de débogage et graphique du profileur cachés" #: src/client/game.cpp msgid "Debug info shown" -msgstr "Infos de débogage affichées" +msgstr "Informations de débogage affichées" #: src/client/game.cpp msgid "Debug info, profiler graph, and wireframe hidden" -msgstr "Informations de debogage, graphique de profil et fils de fer cachés" +msgstr "Informations de débogage, graphique du profileur et fils de fer cachés" #: src/client/game.cpp msgid "" @@ -1378,15 +1364,15 @@ msgid "" "- touch&drag, tap 2nd finger\n" " --> place single item to slot\n" msgstr "" -"Touches par défaut : \n" -"Sans menu visible : \n" -"– un seul appui : touche d'activation\n" -"– double-appui : placement / utilisation\n" -"– Glissement du doigt : regarder autour\n" -"Menu / Inventaire visible : \n" -"– double-appui (en dehors) : fermeture\n" -"– objet(s) dans l'inventaire : déplacement\n" -"– appui, glissement et appui : pose d'un seul item par emplacement\n" +"Touches par défaut :\n" +"Sans menu visible :\n" +"– un seul appui : touche d'activation\n" +"– double-appui : placement / utilisation\n" +"– Glissement du doigt : regarder autour\n" +"Menu / Inventaire visible :\n" +"– double-appui (en dehors) : fermeture\n" +"– objet(s) dans l'inventaire : déplacement\n" +"– appui, glissement et appui : pose d'un seul item par emplacement\n" #: src/client/game.cpp msgid "Disabled unlimited viewing range" @@ -1414,7 +1400,7 @@ msgstr "Vitesse en mode rapide activée" #: src/client/game.cpp msgid "Fast mode enabled (note: no 'fast' privilege)" -msgstr "Vitesse en mode rapide activée (note : pas de privilège « fast »)" +msgstr "Vitesse en mode rapide activée (note : pas de privilège « fast »)" #: src/client/game.cpp msgid "Fly mode disabled" @@ -1426,7 +1412,7 @@ msgstr "Mode vol activé" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" -msgstr "Mode vol activé (note : pas de privilège « fly »)" +msgstr "Mode vol activé (note : pas de privilège « fly »)" #: src/client/game.cpp msgid "Fog disabled" @@ -1446,7 +1432,7 @@ msgstr "Jeu en pause" #: src/client/game.cpp msgid "Hosting server" -msgstr "Héberger un serveur" +msgstr "Serveur hôte" #: src/client/game.cpp msgid "Item definitions..." @@ -1469,9 +1455,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Mini-carte actuellement désactivée par un jeu ou un mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Solo" +msgstr "Multijoueur" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1483,7 +1468,7 @@ msgstr "Collisions désactivées" #: src/client/game.cpp msgid "Noclip mode enabled (note: no 'noclip' privilege)" -msgstr "Collisions activées (note : pas de privilège « noclip »)" +msgstr "Collisions activées (note : pas de privilège « noclip »)" #: src/client/game.cpp msgid "Node definitions..." @@ -1507,7 +1492,7 @@ msgstr "Mode de mouvement à direction libre activé" #: src/client/game.cpp msgid "Profiler graph shown" -msgstr "Graphique de profil affiché" +msgstr "Graphique du profileur affiché" #: src/client/game.cpp msgid "Remote server" @@ -1553,12 +1538,12 @@ msgstr "Distance de vue réglée sur %d" #: src/client/game.cpp #, c-format msgid "Viewing range is at maximum: %d" -msgstr "Distance de vue maximale : %d" +msgstr "Distance de vue maximale : %d" #: src/client/game.cpp #, c-format msgid "Viewing range is at minimum: %d" -msgstr "Distance de vue minimale : %d" +msgstr "Distance de vue minimale : %d" #: src/client/game.cpp #, c-format @@ -1672,7 +1657,7 @@ msgstr "Gauche" #: src/client/keycode.cpp msgid "Left Button" -msgstr "Bouton gauche" +msgstr "Clic gauche" #: src/client/keycode.cpp msgid "Left Control" @@ -1697,7 +1682,7 @@ msgstr "Menu" #: src/client/keycode.cpp msgid "Middle Button" -msgstr "Bouton du milieu" +msgstr "Clic central" #: src/client/keycode.cpp msgid "Num Lock" @@ -1798,7 +1783,7 @@ msgstr "Droite" #: src/client/keycode.cpp msgid "Right Button" -msgstr "Bouton droit" +msgstr "Clic droit" #: src/client/keycode.cpp msgid "Right Control" @@ -1909,9 +1894,8 @@ msgid "Proceed" msgstr "Procéder" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "« Spécial » = descendre" +msgstr "« Aux1 » = descendre" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1923,7 +1907,7 @@ msgstr "Sauts automatiques" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1931,7 +1915,7 @@ msgstr "Reculer" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Limites des blocs" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2108,14 +2092,13 @@ msgstr "" "principal." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Utiliser la manette virtuelle pour déclencher le bouton « aux ».\n" -"Si activé, la manette virtuelle va également appuyer sur le bouton « aux » " +"(Android) Utiliser la manette virtuelle pour déclencher le bouton « Aux1 ».\n" +"Si activé, la manette virtuelle va également appuyer sur le bouton « Aux1 » " "lorsqu'en dehors du cercle principal." #: src/settings_translation_file.cpp @@ -2150,14 +2133,13 @@ msgid "" "Default is for a vertically-squashed shape suitable for\n" "an island, set all 3 numbers equal for the raw shape." msgstr "" -"(Échelle (X,Y,Z) de fractales, en nœuds.\n" -"La taille des fractales sera 2 à 3 fais plus grande en réalité.\n" -"Ces nombres peuvent être très grands, les fractales de devant\n" -"pas être impérativement contenues dans le monde.\n" -"Augmentez-les pour « zoomer » dans les détails de la fractale.\n" -"Le réglage par défaut correspond à un forme écrasée verticalement, " -"appropriée pour\n" -"un île, rendez les 3 nombres égaux pour la forme de base." +"Échelle (X,Y,Z) de la fractale en nœuds.\n" +"La taille réelle de la fractale sera 2 à 3 fois plus grande.\n" +"Ces nombres peuvent être très grands, la fractale n'a pas à être contenue " +"dans le monde. Les augmenter pour « zoomer » dans les détails de la fractale." +"\n" +"Le valeur par défaut est pour une forme verticalement écrasée convenant pour " +"une île, définir les 3 nombres égaux pour la forme brute." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of ridged mountains." @@ -2209,7 +2191,7 @@ msgid "" "Also defines structure of floatland mountain terrain." msgstr "" "Bruit 3D définissant la structure et la hauteur des montagnes.\n" -"Définit également la structure des montagnes flottantes." +"Définit également la structure de terrain flottant type montagne." #: src/settings_translation_file.cpp msgid "" @@ -2218,10 +2200,11 @@ msgid "" "to be adjusted, as floatland tapering functions best when this noise has\n" "a value range of approximately -2.0 to 2.0." msgstr "" -"Bruit 3D pour la structures des îles volantes.\n" +"Bruit 3D pour la structures des terrains flottants.\n" "Si la valeur par défaut est changée, le bruit « d'échelle » (0,7 par défaut) " -"doit peut-être être ajustée, parce que l'effilage des îles volantes " -"fonctionne le mieux quand ce bruit est environ entre -2 et 2." +"peut demander à être ajustée, comme l'effilage des terrains flottants " +"fonctionne mieux quand le bruit à une valeur approximativement comprise " +"entre -2,0 et 2,0." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2254,14 +2237,14 @@ msgid "" "Note that the interlaced mode requires shaders to be enabled." msgstr "" "Support 3D.\n" -"Actuellement supporté : \n" -"– aucun : pas de sortie 3D.\n" -"– anaglyphe : couleur 3D bleu turquoise/violet.\n" -"– entrelacé : polarisation basée sur des lignes avec support de l'écran.\n" -"– horizontal : partage haut/bas de l'écran.\n" -"– vertical : séparation côte à côte de l'écran.\n" -"– vue mixte : 3D binoculaire.\n" -"– pageflip : 3D basé sur quadbuffer.\n" +"Actuellement supporté :\n" +"– aucun : pas de sortie 3D.\n" +"– anaglyphe : couleur 3D bleu turquoise/violet.\n" +"– entrelacé : polarisation basée sur des lignes avec support de l'écran.\n" +"– horizontal : partage haut/bas de l'écran.\n" +"– vertical : séparation côte à côte de l'écran.\n" +"– vue mixte : 3D binoculaire.\n" +"– « pageflip » : 3D basé sur « quadbuffer ».\n" "Notez que le mode entrelacé nécessite que les shaders soient activés." #: src/settings_translation_file.cpp @@ -2275,8 +2258,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." -msgstr "" -"Un message qui sera affiché à tous les joueurs quand le serveur s'interrompt." +msgstr "Un message qui sera affiché à tous les joueurs quand le serveur plante." #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." @@ -2328,7 +2310,7 @@ msgstr "" "Adresse où se connecter.\n" "Laisser vide pour démarrer un serveur local.\n" "Notez que le champ de l'adresse dans le menu principal passe outre ce " -"réglage." +"paramètre." #: src/settings_translation_file.cpp msgid "Adds particles when digging a node." @@ -2351,12 +2333,12 @@ msgid "" "Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" "to be sure) creates a solid floatland layer." msgstr "" -"Règle la densité de la couche des îles volantes.\n" +"Règle la densité de la couche de terrain flottant.\n" "Augmenter la valeur pour augmenter la densité. Peut être positive ou " "négative.\n" -"Valeur = 0,0 : 50 % du volume est île volante.\n" +"Valeur = 0,0 : 50 % du volume est terrain flottant.\n" "Valeur = 2,0 (peut être plus élevée selon « mgv7_np_floatland », toujours " -"vérifier pour être sûr) crée une couche d'île volante solide." +"vérifier pour être sûr) créée une couche de terrain flottant solide." #: src/settings_translation_file.cpp msgid "Advanced" @@ -2374,8 +2356,8 @@ msgstr "" "Des valeurs plus élevées rendent les niveaux de lumière moyens et inférieurs " "plus lumineux.\n" "La valeur « 1,0 » laisse la courbe de lumière intacte.\n" -"Cela n'a d'effet significatif que sur la lumière du jour et les\n" -"la lumière, et elle a très peu d'effet sur la lumière naturelle de la nuit." +"Cela n'a un effet significatif que sur la lumière du jour et la lumière " +"artificielle, elle a très peu d'effet sur la lumière naturelle nocturne." #: src/settings_translation_file.cpp msgid "Always fly and fast" @@ -2383,7 +2365,7 @@ msgstr "Toujours voler et être rapide" #: src/settings_translation_file.cpp msgid "Ambient occlusion gamma" -msgstr "Occlusion gamma ambiente" +msgstr "Occlusion gamma ambiante" #: src/settings_translation_file.cpp msgid "Amount of messages a player may send per 10 seconds." @@ -2403,7 +2385,7 @@ msgstr "Annoncer le serveur" #: src/settings_translation_file.cpp msgid "Announce to this serverlist." -msgstr "Annoncer le serveur publiquement." +msgstr "Annoncer à cette liste de serveurs." #: src/settings_translation_file.cpp msgid "Append item name" @@ -2411,7 +2393,7 @@ msgstr "Ajouter un nom d'objet" #: src/settings_translation_file.cpp msgid "Append item name to tooltip." -msgstr "Ajouter un nom d'objet à l'info-bulle." +msgstr "Ajouter un nom d'objet à l'infobulle." #: src/settings_translation_file.cpp msgid "Apple trees noise" @@ -2453,7 +2435,7 @@ msgstr "" "mais peut provoquer l'apparition de problèmes de rendu visibles (certains " "blocs ne seront pas affichés sous l'eau ou dans les cavernes, ou parfois sur " "terre).\n" -"Une valeur supérieure à max_block_send_distance désactive cette " +"Une valeur supérieure à « max_block_send_distance » désactive cette " "optimisation.\n" "Définie en mapblocks (16 nœuds)." @@ -2467,7 +2449,7 @@ msgstr "Saute automatiquement sur les obstacles d'un bloc de haut." #: src/settings_translation_file.cpp msgid "Automatically report to the serverlist." -msgstr "Déclarer automatiquement le serveur à la liste des serveurs publics." +msgstr "Déclarer automatiquement le serveur à la liste des serveurs." #: src/settings_translation_file.cpp msgid "Autosave screen size" @@ -2478,14 +2460,12 @@ msgid "Autoscaling mode" msgstr "Mode d'agrandissement automatique" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Sauter" +msgstr "Aux1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Touche spéciale pour monter/descendre" +msgstr "Touche Aux1 pour monter/descendre" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2566,10 +2546,10 @@ msgid "" "Increasing can reduce artifacting on weaker GPUs.\n" "0.1 = Default, 0.25 = Good value for weaker tablets." msgstr "" -"Distance de la caméra 'près du plan de coupure' dans les nœuds, entre 0 et " +"Distance de la caméra « près du plan de coupure » dans les nœuds, entre 0 et " "0,25\n" -"Ne fonctionne que sur les plateformes GLES. La plupart des utilisateurs " -"n’auront pas besoin de changer cela.\n" +"Ne fonctionne que sur les plateformes GLES. La plupart des utilisateurs n’" +"auront pas besoin de changer cela.\n" "L’augmentation peut réduire les artefacts sur des GPUs plus faibles.\n" "0,1 = Défaut, 0,25 = Bonne valeur pour les tablettes plus faibles." @@ -2611,7 +2591,7 @@ msgstr "Bruit des caves nº 2" #: src/settings_translation_file.cpp msgid "Cavern limit" -msgstr "Limites des cavernes" +msgstr "Limite des cavernes" #: src/settings_translation_file.cpp msgid "Cavern noise" @@ -2619,11 +2599,11 @@ msgstr "Bruit des caves" #: src/settings_translation_file.cpp msgid "Cavern taper" -msgstr "Caillou de caverne" +msgstr "Conicité de la caverne" #: src/settings_translation_file.cpp msgid "Cavern threshold" -msgstr "Limite des cavernes" +msgstr "Seuil des cavernes" #: src/settings_translation_file.cpp msgid "Cavern upper limit" @@ -2639,9 +2619,8 @@ msgstr "" "maximale." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Seuil de messages de discussion avant déconnexion forcée" +msgstr "Seuil du message de temps de commande de tchat" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2740,9 +2719,8 @@ msgid "Colored fog" msgstr "Brouillard coloré" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Brouillard coloré" +msgstr "Ombres colorées" #: src/settings_translation_file.cpp msgid "" @@ -2844,7 +2822,7 @@ msgid "" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" "Contrôle la durée complet du cycle jour/nuit.\n" -"Exemples : \n" +"Exemples :\n" "72 = 20 minutes, 360 = 4 minutes, 1 = 24 heures, 0 = jour/nuit/n'importe " "quoi éternellement." @@ -2973,6 +2951,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Définir la qualité du filtrage des ombres. Ceci simule l'effet d'ombres " +"douces en appliquant un disque PCF ou poisson mais utilise également plus de " +"ressources." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3036,8 +3017,7 @@ msgid "" "Delay between mesh updates on the client in ms. Increasing this will slow\n" "down the rate of mesh updates, thus reducing jitter on slower clients." msgstr "" -"Délai entre les mises à jour du maillage sur le client en ms. Augmenter " -"ceci\n" +"Délai entre les mises à jour du maillage sur le client en ms. Augmenter ceci " "ralentit le taux de mise à jour et réduit donc les tremblements sur les " "client lents." @@ -3047,7 +3027,7 @@ msgstr "Retard dans les blocs envoyés après la construction" #: src/settings_translation_file.cpp msgid "Delay showing tooltips, stated in milliseconds." -msgstr "Latence d'apparition des infobulles, établie en millisecondes." +msgstr "Délai d'apparition des infobulles, établie en millisecondes." #: src/settings_translation_file.cpp msgid "Deprecated Lua API handling" @@ -3065,18 +3045,20 @@ msgstr "Profondeur en-dessous duquel se trouvent de grandes caves." msgid "" "Description of server, to be displayed when players join and in the " "serverlist." -msgstr "Description du serveur affichée sur la liste des serveurs." +msgstr "" +"Description du serveur affichée lorsque les joueurs se connectent et sur la " +"liste des serveurs." #: src/settings_translation_file.cpp msgid "Desert noise threshold" -msgstr "Limite de bruit pour le désert" +msgstr "Seuil du bruit pour le désert" #: src/settings_translation_file.cpp msgid "" "Deserts occur when np_biome exceeds this value.\n" "When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" -"Des déserts apparaissent lorsque np_biome dépasse cette valeur.\n" +"Des déserts apparaissent lorsque « np_biome » dépasse cette valeur.\n" "Quand le drapeau « snowbiomes » est activé (avec le nouveau système de " "biomes), ce paramètre est ignoré." @@ -3102,7 +3084,7 @@ msgstr "Refuser les mots de passe vides" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." -msgstr "Nom de domaine du serveur affichée sur la liste des serveurs publics." +msgstr "Nom de domaine du serveur affichée sur la liste des serveurs." #: src/settings_translation_file.cpp msgid "Double tap jump for fly" @@ -3153,6 +3135,9 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Active les ombres colorées.\n" +"Sur les nœuds vraiment transparents, projette des ombres colorées. Ceci est " +"coûteux." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3184,6 +3169,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Active le filtrage par disque de Poisson.\n" +"Si activé, utilise le disque de Poisson pour créer des « ombres douces ». " +"Sinon, utilise le filtrage PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3233,7 +3221,7 @@ msgid "" msgstr "" "Activer l'usage d'un serveur de média distant (si pourvu par le serveur).\n" "Les serveurs de média distants offrent un moyen significativement plus " -"rapide de télécharger des données média (ex. : textures) lors de la " +"rapide de télécharger des données média (ex. : textures) lors de la " "connexion au serveur." #: src/settings_translation_file.cpp @@ -3241,7 +3229,7 @@ msgid "" "Enable vertex buffer objects.\n" "This should greatly improve graphics performance." msgstr "" -"Active les vertex buffer objects.\n" +"Active les « vertex buffer objects ».\n" "Cela devrait grandement augmenter les performances graphiques." #: src/settings_translation_file.cpp @@ -3250,7 +3238,7 @@ msgid "" "For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" "Facteur de mouvement de bras.\n" -"Par exemple : 0 = pas de mouvement, 1 = normal, 2 = double." +"Par exemple : 0 = pas de mouvement, 1 = normal, 2 = double." #: src/settings_translation_file.cpp msgid "" @@ -3259,8 +3247,8 @@ msgid "" "Needs enable_ipv6 to be enabled." msgstr "" "Active/désactive l'usage d'un serveur IPv6.\n" -"Ignoré si bind_address est activé.\n" -"A besoin de enable_ipv6 pour être activé." +"Ignoré si « bind_address » est activé.\n" +"A besoin de « enable_ipv6 » pour être activé." #: src/settings_translation_file.cpp msgid "" @@ -3269,7 +3257,7 @@ msgid "" "appearance of high dynamic range images. Mid-range contrast is slightly\n" "enhanced, highlights and shadows are gradually compressed." msgstr "" -"Active le mappage de tons filmique 'Uncharted 2' de Hable.\n" +"Active le mappage de tons filmique « Uncharted 2 » de Hable.\n" "Simule la courbe des tons du film photographique, ce qui se rapproche de la " "l'apparition d'images à plage dynamique élevée. Le contraste de milieu de " "gamme est légèrement améliorées, les reflets et les ombres sont " @@ -3301,7 +3289,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" -msgstr "Intervalle d'impression des données du moteur de profil" +msgstr "Intervalle d'impression des données du moteur de profilage" #: src/settings_translation_file.cpp msgid "Entity methods" @@ -3316,12 +3304,14 @@ msgid "" "Values < 1.0 (for example 0.25) create a more defined surface level with\n" "flatter lowlands, suitable for a solid floatland layer." msgstr "" -"Exposant contrôlant la forme du bas des massifs volants.\n" -"Une valeur égale à 1 donne une forme conique.\n" -"Une valeur supérieure à 1 donne une longue base éfilée (concave),\n" -"plus pour des îles volantes comme celles par défaut.\n" -"Une valeur inférieure à 1 (disons 0,25) donne une surface bien\n" -"définie en bas, plus pour une couche solide de massif volant." +"Exposant de l'effilement des terrains flottants. Modifie le comportement de " +"l'effilement.\n" +"Une valeur égale à 1 créée un effilement uniforme et linéaire.\n" +"Une valeur supérieure à 1 créée un effilement lisse adaptée pour les " +"terrains flottants séparés par défaut.\n" +"Une valeur inférieure à 1 (par exemple 0,25) créée une surface plus définie " +"avec des terrains bas plus plats, adaptée pour une couche solide de terrain " +"flottant." #: src/settings_translation_file.cpp msgid "FPS when unfocused or paused" @@ -3360,12 +3350,11 @@ msgid "Fast movement" msgstr "Mouvement rapide" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Mouvement rapide (via la touche « spécial »).\n" +"Mouvement rapide (via la touche « Aux1 »).\n" "Nécessite le privilège « fast » sur le serveur." #: src/settings_translation_file.cpp @@ -3382,9 +3371,8 @@ msgid "" "the\n" "Multiplayer Tab." msgstr "" -"Fichier localisé dans client/serverlist/ contenant vos serveurs favoris " -"affichés dans\n" -"l'onglet multijoueur." +"Fichier dans « client/serverlist/ » contenant vos serveurs favoris affichés " +"dans l'onglet « Rejoindre une partie »." #: src/settings_translation_file.cpp msgid "Filler depth" @@ -3399,7 +3387,6 @@ msgid "Filmic tone mapping" msgstr "Mappage de tons filmique" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3408,9 +3395,10 @@ msgid "" msgstr "" "Les textures filtrées peuvent mélanger des valeurs RVB avec des zones " "complètement transparentes, que les optimiseurs PNG ignorent généralement, " -"aboutissant parfois à des bords foncés ou clairs sur les textures " +"aboutissant souvent à des bords foncés ou clairs sur les textures " "transparentes.\n" -"Appliquer ce filtre pour nettoyer cela au chargement de la texture." +"Appliquer ce filtre pour nettoyer cela au chargement de la texture. Ceci est " +"automatiquement activé si le mip-mapping est activé." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3436,31 +3424,31 @@ msgstr "Fixer la manette virtuelle" #: src/settings_translation_file.cpp msgid "Floatland density" -msgstr "Densité des massifs volants" +msgstr "Densité des terrains flottants" #: src/settings_translation_file.cpp msgid "Floatland maximum Y" -msgstr "Maximum Y de massifs volants" +msgstr "Maximum Y des terrains flottants" #: src/settings_translation_file.cpp msgid "Floatland minimum Y" -msgstr "Minimum Y des massifs volants" +msgstr "Minimum Y des terrains flottants" #: src/settings_translation_file.cpp msgid "Floatland noise" -msgstr "Bruit des massifs volants" +msgstr "Bruit des terrains flottants" #: src/settings_translation_file.cpp msgid "Floatland taper exponent" -msgstr "Paramètre de forme des massifs volants" +msgstr "Exposant de l'effilement des terrains flottants" #: src/settings_translation_file.cpp msgid "Floatland tapering distance" -msgstr "Hauteur des bases des massifs volants" +msgstr "Hauteur de la base des terrains flottants" #: src/settings_translation_file.cpp msgid "Floatland water level" -msgstr "Niveau d'eau des massifs volants" +msgstr "Niveau d'eau des terrains flottants" #: src/settings_translation_file.cpp msgid "Fly key" @@ -3524,7 +3512,7 @@ msgid "" "placeholders:\n" "@name, @message, @timestamp (optional)" msgstr "" -"Format des messages de tchat des joueurs. Substituts valides : \n" +"Format des messages de tchat des joueurs. Substituts valides :\n" "@name, @message, @timestamp (facultatif)" #: src/settings_translation_file.cpp @@ -3533,35 +3521,35 @@ msgstr "Format de captures d'écran." #: src/settings_translation_file.cpp msgid "Formspec Default Background Color" -msgstr "Couleur d'arrière plan par défaut des formspec" +msgstr "Couleur de l'arrière-plan par défaut des formspec" #: src/settings_translation_file.cpp msgid "Formspec Default Background Opacity" -msgstr "Opacité par défaut des formspec" +msgstr "Opacité de l'arrière-plan par défaut des formspec" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Color" -msgstr "Couleur d'arrière plan des formspec plein écran" +msgstr "Couleur de l'arrière-plan en plein écran des formspec" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Opacity" -msgstr "Opacité de l'arrière plan des formspec en plein écran" +msgstr "Opacité de l'arrière-plan en plein écran des formspec" #: src/settings_translation_file.cpp msgid "Formspec default background color (R,G,B)." -msgstr "Couleur de fond de la console du jeu (R,V,B)." +msgstr "Couleur de l'arrière-plan par défaut des formspec (R,V,B)." #: src/settings_translation_file.cpp msgid "Formspec default background opacity (between 0 and 255)." -msgstr "Opacité de fond de la console du jeu (entre 0 et 255)." +msgstr "Opacité de l'arrière-plan par défaut des formspec (entre 0 et 255)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background color (R,G,B)." -msgstr "Couleur de fond de la console du jeu (R,V,B)." +msgstr "Couleur de l'arrière-plan en plein écran des formspec (R,V,B)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background opacity (between 0 and 255)." -msgstr "Opacité de fond de la console du jeu (entre 0 et 255)." +msgstr "Opacité de l'arrière-plan en plein écran des formspec (entre 0 et 255)." #: src/settings_translation_file.cpp msgid "Forward key" @@ -3612,10 +3600,10 @@ msgstr "" "Distance maximale à laquelle les clients ont connaissance des objets, " "définie en mapblocks (16 nœuds).\n" "\n" -"Si vous définissez une valeur supérieure à active_block_range, le serveur va " -"maintenir les objets actifs jusqu’à cette distance dans la direction où un " -"joueur regarde (cela peut éviter que des mobs disparaissent soudainement de " -"la vue)." +"Si vous définissez une valeur supérieure à « active_block_range », le " +"serveur va maintenir les objets actifs jusqu’à cette distance dans la " +"direction où un joueur regarde (cela peut éviter que des mobs disparaissent " +"soudainement de la vue)." #: src/settings_translation_file.cpp msgid "Full screen" @@ -3623,7 +3611,9 @@ msgstr "Plein écran" #: src/settings_translation_file.cpp msgid "Fullscreen mode." -msgstr "Mode plein écran." +msgstr "" +"Mode plein écran.\n" +"Un redémarrage est nécessaire après la modification de cette option." #: src/settings_translation_file.cpp msgid "GUI scaling" @@ -3648,9 +3638,9 @@ msgid "" "and junglegrass, in all other mapgens this flag controls all decorations." msgstr "" "Attributs de génération de terrain globaux.\n" -"Dans le générateur de terrain v6, le signal « décorations » contrôle toutes " -"les décorations sauf les arbres et l’herbe de la jungle, dans tous les " -"autres générateurs de terrain, ce signal contrôle toutes les décorations." +"Dans le générateur de terrain v6, le drapeau « décorations » contrôle toutes " +"les décorations sauf les arbres et les herbes de la jungle, dans tous les " +"autres générateurs de terrain, ce drapeau contrôle toutes les décorations." #: src/settings_translation_file.cpp msgid "" @@ -3703,11 +3693,11 @@ msgid "" "- log: mimic and log backtrace of deprecated call (default).\n" "- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" -"Traitement des appels d'API Lua obsolètes : \n" -"– aucun : N'enregistre pas les appels obsolètes\n" -"– journal : imite et enregistre la trace des appels obsolètes (par défaut en " +"Traitement des appels d'API Lua obsolètes :\n" +"– aucun : n'enregistre pas les appels obsolètes\n" +"– journal : imite et enregistre la trace des appels obsolètes (par défaut en " "mode debug).\n" -"– erreur : s'interrompt lors d'un appel obsolète (recommandé pour les " +"– erreur : s'interrompt lors d'un appel obsolète (recommandé pour les " "développeurs de mods)." #: src/settings_translation_file.cpp @@ -3718,11 +3708,11 @@ msgid "" "call).\n" "* Instrument the sampler being used to update the statistics." msgstr "" -"Auto-instrumentaliser le profileur : \n" -"* Instrumentalise une fonction vide.\n" +"Auto-instrumentaliser le profileur :\n" +"* Instrumentalise une fonction vide.\n" "La surcharge sera évaluée. (l'auto-instrumentalisation ajoute 1 appel de " "fonction à chaque fois).\n" -"* Instrumentalise l’échantillonneur utilisé pour mettre à jour les " +"* Instrumentalise l’échantillonneur utilisé pour mettre à jour les " "statistiques." #: src/settings_translation_file.cpp @@ -3734,10 +3724,11 @@ msgid "Heat noise" msgstr "Bruit de chaleur" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Composant de hauteur de la taille initiale de la fenêtre." +msgstr "" +"Composant de hauteur de la taille initiale de la fenêtre. Ignoré en mode " +"plein écran." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3780,24 +3771,24 @@ msgid "" "Horizontal acceleration in air when jumping or falling,\n" "in nodes per second per second." msgstr "" -"Accélération horizontale dans l'air en sautant ou en tombant,\n" -"en nœuds par seconde par seconde." +"Accélération horizontale dans l'air en sautant ou en tombant, en nœuds par " +"seconde par seconde." #: src/settings_translation_file.cpp msgid "" "Horizontal and vertical acceleration in fast mode,\n" "in nodes per second per second." msgstr "" -"Accélération horizontale et verticale en mode rapide,\n" -"en nœuds par seconde par seconde." +"Accélération horizontale et verticale en mode rapide, en nœuds par seconde " +"par seconde." #: src/settings_translation_file.cpp msgid "" "Horizontal and vertical acceleration on ground or when climbing,\n" "in nodes per second per second." msgstr "" -"Accélération horizontale et verticale au sol ou en montée,\n" -"en blocs par seconde." +"Accélération horizontale et verticale au sol ou en montée, en nœuds par " +"seconde." #: src/settings_translation_file.cpp msgid "Hotbar next key" @@ -3966,7 +3957,7 @@ msgstr "Quelle largeur doivent avoir les rivières." #: src/settings_translation_file.cpp msgid "Humidity blend noise" -msgstr "Bruit de fusion d'humidité" +msgstr "Bruit de mélange de l'humidité" #: src/settings_translation_file.cpp msgid "Humidity noise" @@ -3994,13 +3985,12 @@ msgstr "" "pour ne pas gaspiller inutilement les ressources du processeur." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Si désactivé, la touche « spécial » est utilisée pour voler vite si les " -"modes vol et rapide sont activés." +"Si désactivé, la touche « Aux1 » est utilisée pour voler vite si les modes " +"vol et rapide sont activés." #: src/settings_translation_file.cpp msgid "" @@ -4010,11 +4000,11 @@ msgid "" "invisible\n" "so that the utility of noclip mode is reduced." msgstr "" -"Si activé, le serveur n'enverra pas les blocs qui ne sont pas visibles par\n" -"le client en fonction de sa position. Cela peut réduire de 50 % à 80 %\n" -"le nombre de blocs envoyés. Le client ne pourra plus voir ces blocs à moins\n" -"de se déplacer, ce qui réduit l'efficacité des tricheries du style « noclip " -"»." +"Si activé, le serveur effectuera la détermination des blocs de la carte " +"invisibles selon la position des yeux du joueur.\n" +"Cela peut réduire le nombre de blocs envoyés au client de 50 à 80 %.\n" +"Le client ne recevra plus la plupart de blocs invisibles, de sorte que " +"l'utilité du mode « noclip » est réduite." #: src/settings_translation_file.cpp msgid "" @@ -4027,14 +4017,13 @@ msgstr "" "Nécessite le privilège « noclip » sur le serveur." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Si activé, la touche « spécial » est utilisée à la place de la touche " -"« s’accroupir » pour monter ou descendre." +"Si activé, la touche « Aux1 » est utilisée à la place de la touche « Marcher " +"lentement » pour monter ou descendre." #: src/settings_translation_file.cpp msgid "" @@ -4087,14 +4076,17 @@ msgid "" "limited\n" "to this distance from the player to the node." msgstr "" -"Si la restriction CSM pour la distance des blocs est activé, les appels " -"get_node sont limités à la distance entre le joueur et le bloc." +"Si la restriction « CSM » pour la distance des blocs est activée, les appels " +"« get_node » sont limités à la distance entre le joueur et le bloc." #: src/settings_translation_file.cpp msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Si l'exécution d'une commande de chat prend plus de temps que cette durée " +"spécifiée en secondes, ajoute les informations de temps au message de la " +"commande de tchat." #: src/settings_translation_file.cpp msgid "" @@ -4103,11 +4095,10 @@ msgid "" "deleting an older debug.txt.1 if it exists.\n" "debug.txt is only moved if this setting is positive." msgstr "" -"Si la taille du fichier debug.txt dépasse le nombre de mégaoctets spécifié " -"dans\n" -"ce paramètre une fois ouvert, le fisher est déplacé vers debug.txt.1 et\n" -"supprimera un ancien debug.txt.1 s'il existe.\n" -"debug.txt n'est déplacé que si ce paramètre est positif." +"Si la taille du fichier « debug.txt » dépasse le nombre de mégaoctets " +"spécifié par ce paramètre ; une fois ouvert, le fichier est déplacé vers « " +"debug.txt.1 » et supprime l'ancien « debug.txt.1 » s'il existe.\n" +"« debug.tx t» est déplacé seulement si ce paramètre est activé." #: src/settings_translation_file.cpp msgid "If this is set, players will always (re)spawn at the given position." @@ -4123,16 +4114,18 @@ msgstr "Dans le jeu" #: src/settings_translation_file.cpp msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." -msgstr "Opacité de fond de la console du jeu (entre 0 et 255)." +msgstr "" +"Opacité de l'arrière-plan de la console de tchat dans le jeu (entre 0 et " +"255)." #: src/settings_translation_file.cpp msgid "In-game chat console background color (R,G,B)." -msgstr "Couleur de fond de la console du jeu (R,V,B)." +msgstr "Couleur de l'arrière-plan de la console de tchat dans le jeu (R,V,B)." #: src/settings_translation_file.cpp msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." msgstr "" -"Hauteur de la console de tchat du jeu, entre 0,1 (10 %) et 1,0 (100 %)." +"Hauteur de la console de tchat dans le jeu, entre 0,1 (10 %) et 1,0 (100 %)." #: src/settings_translation_file.cpp msgid "Inc. volume key" @@ -4140,7 +4133,7 @@ msgstr "Touche d'augmentation de volume" #: src/settings_translation_file.cpp msgid "Initial vertical speed when jumping, in nodes per second." -msgstr "Vitesse verticale initiale lors du saut, en blocs par seconde." +msgstr "Vitesse verticale initiale lors du saut, en nœuds par seconde." #: src/settings_translation_file.cpp msgid "" @@ -4422,7 +4415,7 @@ msgid "" "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" "Touche pour faire reculer le joueur.\n" -"Désactive également l’avance auto., lorsqu’elle est active.\n" +"Désactive également l’avance automatique, lorsqu’elle est active.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4864,9 +4857,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour se faufiler.\n" -"Egalement utilisée pour descendre et plonger dans l'eau si aux1_descends est " -"désactivé.\n" +"Touche pour se déplacer lentement.\n" +"Également utilisée pour descendre et plonger dans l'eau si « aux1_descends » " +"est désactivé.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4896,7 +4889,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche d’exécution automatique.\n" +"Touche d'avance automatique.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5027,8 +5020,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour afficher/cacher la zone de profilage. Utilisé pour le " -"développement.\n" +"Touche pour afficher/cacher le profileur. Utilisé pour le développement.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5100,11 +5092,11 @@ msgid "" "- Simple: only outer faces, if defined special_tiles are used\n" "- Opaque: disable transparency" msgstr "" -"Apparence des feuilles d’arbres : \n" -"– Détaillée : toutes les faces sont visibles\n" -"– Simple : seulement les faces externes, si des « special_tiles » sont " +"Apparence des feuilles d’arbres :\n" +"– Détaillée : toutes les faces sont visibles\n" +"– Simple : seulement les faces externes, si des « special_tiles » sont " "définies\n" -"– Opaque : désactive la transparence" +"– Opaque : désactive la transparence" #: src/settings_translation_file.cpp msgid "Left key" @@ -5149,7 +5141,7 @@ msgid "" "- info\n" "- verbose" msgstr "" -"Niveau de journalisation à écrire dans debug.txt : \n" +"Niveau de journalisation à écrire dans « debug.txt » :\n" "–  (pas de journalisation)\n" "– aucun (messages sans niveau)\n" "– erreur\n" @@ -5201,10 +5193,10 @@ msgid "" "- Downloads performed by main menu (e.g. mod manager).\n" "Only has an effect if compiled with cURL." msgstr "" -"Nombre limite de requête HTTP en parallèle. Affecte : \n" -"– L'obtention de média si le serveur utilise l'option remote_media.\n" +"Nombre limite de requête HTTP en parallèle. Affecte :\n" +"– L'obtention de média si le serveur utilise le paramètre « remote_media ».\n" "– Le téléchargement de la liste des serveurs et l'annonce du serveur.\n" -"– Les téléchargements effectués par le menu (ex. : gestionnaire de mods).\n" +"– Les téléchargements effectués par le menu (ex. : gestionnaire de mods).\n" "Prend seulement effet si Minetest est compilé avec cURL." #: src/settings_translation_file.cpp @@ -5237,7 +5229,7 @@ msgstr "Intervalle de mise à jour des liquides" #: src/settings_translation_file.cpp msgid "Load the game profiler" -msgstr "Charger le profil de jeu" +msgstr "Charger le profileur du jeu" #: src/settings_translation_file.cpp msgid "" @@ -5245,8 +5237,8 @@ msgid "" "Provides a /profiler command to access the compiled profile.\n" "Useful for mod developers and server operators." msgstr "" -"Charge le profil du jeu pour collecter des données de profil du jeu.\n" -"Fournit une commande /profiler pour accéder au profil compilé.\n" +"Charge le profileur du jeu pour collecter des données de profilage du jeu.\n" +"Fournit une commande « /profiler » pour accéder au profil compilé.\n" "Utile pour les développeurs de mod et les opérateurs de serveurs." #: src/settings_translation_file.cpp @@ -5259,7 +5251,7 @@ msgstr "Limite basse Y des donjons." #: src/settings_translation_file.cpp msgid "Lower Y limit of floatlands." -msgstr "Borne inférieure Y des massifs volants." +msgstr "Limite basse Y des terrains flottants." #: src/settings_translation_file.cpp msgid "Main menu script" @@ -5308,7 +5300,7 @@ msgid "" "ocean, islands and underground." msgstr "" "Attributs spécifiques au générateur de terrain fractal.\n" -"« terrain » active la création de terrain non fractal : océan, îles et " +"« terrain » active la création de terrain non fractal : océan, îles et " "souterrain." #: src/settings_translation_file.cpp @@ -5321,11 +5313,11 @@ msgid "" "'altitude_dry': Reduces humidity with altitude." msgstr "" "Attributs spécifiques au générateur de terrain vallées.\n" -"« altitude_chill » : Réduit la chaleur avec l’altitude.\n" -"« humid_rivers » : Augmente l’humidité autour des rivières.\n" -"« vary_river_dept » : Si activé, une humidité basse et une forte chaleur " -"rendent les rivières moins profondes et parfois asséchées.\n" -"« altitude_dry » : Réduit l’humidité avec l’altitude." +"« altitude_chill » : réduit la chaleur avec l’altitude.\n" +"« humid_rivers » : augmente l’humidité autour des rivières.\n" +"« vary_river_dept » : si activé, une humidité basse et une chaleur élevée " +"rendent les rivières moins profondes et parfois sèches.\n" +"« altitude_dry » : réduit l’humidité avec l’altitude." #: src/settings_translation_file.cpp msgid "Map generation attributes specific to Mapgen v5." @@ -5340,8 +5332,8 @@ msgid "" msgstr "" "Attributs spécifiques au générateur de terrain v6.\n" "Le drapeau « snowbiomes » active le nouveau système à 5 biomes.\n" -"Sous ce nouveau système, la création de jungles est automatique et le " -"drapeau « jungles » est ignoré." +"Lorsque le drapeau « snowbiomes » est activé, les jungles sont " +"automatiquement activées et le drapeau « jungles » est ignoré." #: src/settings_translation_file.cpp msgid "" @@ -5351,9 +5343,10 @@ msgid "" "'caverns': Giant caves deep underground." msgstr "" "Attributs spécifiques au générateur de terrain v7.\n" -"« crêtes » : pour des rivières.\n" -"« massifs volant » : massifs de terres atmosphérique.\n" -"« cavernes » : pour des grottes immenses et profondes." +"« montagnes » : montagnes.\n" +"« crêtes » : rivières.\n" +"« terrains flottants » : vaste terrain flottant dans l'atmosphère.\n" +"« cavernes » : grottes immenses et profondes." #: src/settings_translation_file.cpp msgid "Map generation limit" @@ -5364,9 +5357,8 @@ msgid "Map save interval" msgstr "Intervalle de sauvegarde de la carte" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Intervalle de mise à jour des liquides" +msgstr "Intervalle de mise à jour de la carte" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5374,15 +5366,15 @@ msgstr "Limite des mapblocks" #: src/settings_translation_file.cpp msgid "Mapblock mesh generation delay" -msgstr "Délai de génération des maillages de MapBlocks" +msgstr "Délai de génération des maillages de mapblocks" #: src/settings_translation_file.cpp msgid "Mapblock mesh generator's MapBlock cache size in MB" -msgstr "Taille du cache de MapBlocks en Mo du générateur de maillage" +msgstr "Taille du cache de mapblocks en Mo du générateur de maillage" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" -msgstr "Délais d'interruption du déchargement des mapblocks" +msgstr "Délai d'interruption du déchargement des mapblocks" #: src/settings_translation_file.cpp msgid "Mapgen Carpathian" @@ -5462,7 +5454,7 @@ msgstr "Maximum de liquides traités par étape de serveur." #: src/settings_translation_file.cpp msgid "Max. clearobjects extra blocks" -msgstr "Maximum d'extra-mapblocks par clearobjects" +msgstr "Maximum d'extra-mapblocks par « clearobjects »" #: src/settings_translation_file.cpp msgid "Max. packets per iteration" @@ -5480,7 +5472,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Distance maximale pour le rendu des ombres." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5514,7 +5506,7 @@ msgid "" "max_total = ceil((#clients + max_users) * per_client / 4)" msgstr "" "Le nombre maximal de blocs qui sont envoyés simultanément par client.\n" -"Le compte total maximal est calculé dynamiquement : \n" +"Le compte total maximal est calculé dynamiquement :\n" "max_total = ceil((nbre clients + max_users) × per_client ÷ 4)" #: src/settings_translation_file.cpp @@ -5546,7 +5538,7 @@ msgid "" msgstr "" "Nombre maximal de téléchargements simultanés. Les téléchargements dépassant " "cette limite seront mis en file d'attente.\n" -"Ce nombre doit être inférieur à la limite de curl_parallel_limit." +"Ce nombre doit être inférieur à la limite de « curl_parallel_limit »." #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." @@ -5607,23 +5599,25 @@ msgid "" "Maximum size of the out chat queue.\n" "0 to disable queueing and -1 to make the queue size unlimited." msgstr "" -"Taille maximale de la file d’attente sortante de la discussion.\n" -"0 pour désactiver la file d’attente et -1 pour rendre la taille infinie." +"Taille maximale de la file de sortie de message du tchat.\n" +"0 pour désactiver la file de sortie et -1 pour rendre la taille de la file " +"de sortie illimitée." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Délais maximaux de téléchargement d'un fichier (ex. : un mod), établi en " -"millisecondes." +"Durée maximale qu'un téléchargement de fichier (ex. : un téléchargement de " +"mod) peut prendre, exprimée en millisecondes." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Durée maximale qu'une requête interactive (ex. : récupération de la liste de " +"serveurs) peut prendre, exprimée en millisecondes." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5731,7 +5725,7 @@ msgid "" "For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" "Facteur de mouvement de bras en tombant.\n" -"Exemples : 0 = aucun mouvement, 1 = normal, 2 = double." +"Exemples : 0 = aucun mouvement, 1 = normal, 2 = double." #: src/settings_translation_file.cpp msgid "Mute key" @@ -5751,8 +5745,8 @@ msgstr "" "Nom du générateur de terrain qui sera utilisé à la création d’un nouveau " "monde.\n" "Cela sera perdu à la création d'un monde depuis le menu principal.\n" -"Les générateurs de terrain actuellement très instables sont : \n" -"– Les massifs volants du générateur v7 (option inactive par défaut)." +"Les générateurs de terrain actuellement très instables sont :\n" +"– Les terrains flottants optionnels du générateur v7 (désactivé par défaut)." #: src/settings_translation_file.cpp msgid "" @@ -5769,8 +5763,8 @@ msgstr "" msgid "" "Name of the server, to be displayed when players join and in the serverlist." msgstr "" -"Nom du serveur, affiché sur liste des serveurs publics et lorsque les " -"joueurs se connectent." +"Nom du serveur affiché lorsque les joueurs se connectent et sur la liste des " +"serveurs." #: src/settings_translation_file.cpp msgid "Near plane" @@ -5830,16 +5824,16 @@ msgid "" "'on_generated'. For many users the optimum setting may be '1'." msgstr "" "Nombre de processus « emerge » à utiliser.\n" -"Valeur 0 : \n" +"Valeur 0 :\n" "– Sélection automatique. Le nombre de processus sera le\n" "– « nombre de processeurs - 2 », avec un minimum de 1.\n" -"Toute autre valeur : \n" +"Toute autre valeur :\n" "– Spécifie le nombre de processus, avec un minimum de 1.\n" -"ATTENTION : Augmenter le nombre de processus « emerge » accélère bien la\n" +"ATTENTION : augmenter le nombre de processus « emerge » accélère bien la\n" "création de terrain, mais cela peut nuire à la performance du jeu en " "interférant\n" -"avec d’autres processus, en particulier en mode solo et/ou lors de " -"l’exécution de\n" +"avec d’autres processus, en particulier en mode solo et/ou lors de l’" +"exécution de\n" "code Lua en mode « on_generated ». Pour beaucoup, le réglage optimal peut " "être « 1 »." @@ -5849,7 +5843,7 @@ msgid "" "This is a trade-off between sqlite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" -"Nombre d'extra-mapblocks qui peuvent être chargés par /clearobjects dans " +"Nombre d'extra-mapblocks qui peuvent être chargés par « /clearobjects » dans " "l'immédiat.\n" "C'est un compromis entre un transfert SQLite plafonné et la consommation " "mémoire\n" @@ -5876,8 +5870,7 @@ msgid "" "open." msgstr "" "Ouvre le menu pause lorsque la sélection de la fenêtre est perdue. Ne met " -"pas en pause\n" -"si un formspec est ouvert." +"pas en pause si un formspec est ouvert." #: src/settings_translation_file.cpp msgid "" @@ -5888,8 +5881,8 @@ msgid "" "unavailable." msgstr "" "Chemin de la police de repli.\n" -"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" -"Si le paramètre « freetype » est désactivé : doit être une police de " +"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" +"Si le paramètre « freetype » est désactivé : doit être une police de " "vecteurs bitmap ou XML.\n" "Cette police sera utilisée pour certaines langues ou si la police par défaut " "n’est pas disponible." @@ -5924,8 +5917,8 @@ msgid "" "The fallback font will be used if the font cannot be loaded." msgstr "" "Chemin vers la police par défaut.\n" -"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" -"Si le paramètre « freetype » est désactivé : doit être une police de " +"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" +"Si le paramètre « freetype » est désactivé : doit être une police de " "vecteurs bitmap ou XML.\n" "La police de rentrée sera utilisée si la police ne peut pas être chargée." @@ -5937,8 +5930,8 @@ msgid "" "This font is used for e.g. the console and profiler screen." msgstr "" "Chemin vers la police monospace.\n" -"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" -"Si le paramètre « freetype » est désactivé : doit être une police de " +"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" +"Si le paramètre « freetype » est désactivé : doit être une police de " "vecteurs bitmap ou XML.\n" "Cette police est utilisée par exemple pour la console et l’écran du " "profileur." @@ -5996,9 +5989,8 @@ msgid "Player versus player" msgstr "Joueur contre joueur" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Filtrage bilinéaire" +msgstr "Filtrage de Poisson" #: src/settings_translation_file.cpp msgid "" @@ -6006,14 +5998,15 @@ msgid "" "Note that the port field in the main menu overrides this setting." msgstr "" "Port où se connecter (UDP).\n" -"Notez que le champ de port dans le menu principal passe outre ce réglage." +"Notez que le champ de port dans le menu principal passe outre ce paramètre." #: src/settings_translation_file.cpp msgid "" "Prevent digging and placing from repeating when holding the mouse buttons.\n" "Enable this when you dig or place too often by accident." msgstr "" -"Évitez de répéter lorsque vous maintenez les boutons de la souris.\n" +"Empêche le minage et le placement de se répéter lorsque vous maintenez les " +"boutons de la souris.\n" "Activez cette option lorsque vous creusez ou placez trop souvent par " "accident." @@ -6035,7 +6028,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Privileges that players with basic_privs can grant" msgstr "" -"Les privilèges que les joueurs ayant le privilège basic_privs peuvent " +"Les privilèges que les joueurs avec le privilège « basic_privs » peuvent " "accorder" #: src/settings_translation_file.cpp @@ -6062,8 +6055,8 @@ msgid "" "Metrics can be fetch on http://127.0.0.1:30000/metrics" msgstr "" "Adresse d'écoute pour Prometheus.\n" -"Lorsque Minetest est compilé avec l'option ENABLE_PROMETHEUS,\n" -"cette adresse est utilisée pour l'écoute de données pour Prometheus.\n" +"Lorsque Minetest est compilé avec l'option ENABLE_PROMETHEUS, cette adresse " +"est utilisée pour l'écoute de données pour Prometheus.\n" "Les données sont sur http://127.0.0.1:30000/metrics" #: src/settings_translation_file.cpp @@ -6139,15 +6132,15 @@ msgid "" "READ_PLAYERINFO: 32 (disable get_player_names call client-side)" msgstr "" "Limite l'accès de certaines fonctions côté client sur les serveurs\n" -"Combiner les byteflags ci dessous pour restreindre les fonctionnalités " -"client, ou mettre 0 pour laisser sans restriction : \n" -"LOAD_CLIENT_MODS : 1 (désactive le chargement des mods client)\n" -"CHAT_MESSAGES : 2 (désactive l'appel send_chat_message côté client)\n" -"READ_ITEMDEFS : 4 (désactive l'appel get_item_def côté client)\n" -"READ_NODEDEFS : 8 (désactive l'appel get_node_def côté client)\n" -"LOOKUP_NODES_LIMIT : 16 (limite l'appel get_node côté client à " -"csm_restriction_noderange)\n" -"READ_PLAYERINFO : 32 (désactive l'appel get_player_names côté client)" +"Combiner les « byteflags » ci dessous pour restreindre les fonctionnalités " +"client, ou mettre 0 pour laisser sans restriction :\n" +"LOAD_CLIENT_MODS : 1 (désactive le chargement des mods client)\n" +"CHAT_MESSAGES : 2 (désactive l'appel « send_chat_message côté » client)\n" +"READ_ITEMDEFS : 4 (désactive l'appel « get_item_def côté » client)\n" +"READ_NODEDEFS : 8 (désactive l'appel « get_node_def » côté client)\n" +"LOOKUP_NODES_LIMIT : 16 (limite l'appel « get_node » côté client à « " +"csm_restriction_noderange »)\n" +"READ_PLAYERINFO : 32 (désactive l'appel « get_player_names » côté client)" #: src/settings_translation_file.cpp msgid "Ridge mountain spread noise" @@ -6211,12 +6204,12 @@ msgstr "Mini-carte circulaire" #: src/settings_translation_file.cpp msgid "Safe digging and placing" -msgstr "Placement et minage sécurisés" +msgstr "Minage et placement sécurisés" #: src/settings_translation_file.cpp msgid "Sandy beaches occur when np_beach exceeds this value." msgstr "" -"Des plages de sables apparaissent lorsque np_beach dépasse cette valeur." +"Des plages de sables apparaissent lorsque « np_beach » dépasse cette valeur." #: src/settings_translation_file.cpp msgid "Save the map received by the client on disk." @@ -6239,13 +6232,11 @@ msgid "" "pixels when scaling down, at the cost of blurring some\n" "edge pixels when images are scaled by non-integer sizes." msgstr "" -"Met à l'échelle l'interface par une valeur spécifiée par l'utilisateur,\n" -"à l'aide d'un filtre au plus proche avec anticrénelage.\n" +"Met à l'échelle l'interface par une valeur spécifiée par l'utilisateur, à " +"l'aide d'un filtre au plus proche voisin avec anticrénelage.\n" "Cela va lisser certains bords grossiers, et mélanger les pixels en réduisant " -"l'échelle\n" -"au détriment d'un effet de flou sur des pixels en bordure quand les images " -"sont\n" -"mises à l'échelle par des valeurs fractionnelles." +"l'échelle au détriment d'un effet de flou sur des pixels en bordure quand " +"les images sont mises à l'échelle par des valeurs fractionnelles." #: src/settings_translation_file.cpp msgid "Screen height" @@ -6379,15 +6370,15 @@ msgstr "Port du serveur" #: src/settings_translation_file.cpp msgid "Server side occlusion culling" -msgstr "Tests d'occultation côté serveur" +msgstr "Détermination des blocs invisibles côté serveur" #: src/settings_translation_file.cpp msgid "Serverlist URL" -msgstr "URL de la liste des serveurs publics" +msgstr "URL de la liste des serveurs" #: src/settings_translation_file.cpp msgid "Serverlist file" -msgstr "Fichier des serveurs publics" +msgstr "Fichier de la liste des serveurs" #: src/settings_translation_file.cpp msgid "" @@ -6400,7 +6391,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Set the maximum character length of a chat message sent by clients." msgstr "" -"Définir la longueur maximale de caractères d'un message de discussion envoyé " +"Définit la longueur maximale de caractères d'un message de discussion envoyé " "par les clients." #: src/settings_translation_file.cpp @@ -6408,6 +6399,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Définit la force de l'ombre.\n" +"Une valeur plus faible signifie des ombres plus claires, une valeur plus " +"élevée signifie des ombres plus sombres." #: src/settings_translation_file.cpp msgid "" @@ -6416,6 +6410,10 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Définit le temps de mise à jour des ombres.\n" +"Une valeur plus faible signifie que les ombres et les mises à jour de la " +"carte sont plus rapides, mais cela consomme plus de ressources.\n" +"Valeur minimale 0,001 seconde et maximale 0,2 seconde." #: src/settings_translation_file.cpp msgid "" @@ -6423,6 +6421,10 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Définit la taille du rayon de l'ombre douce.\n" +"Les valeurs les plus faibles signifient des ombres plus nettes, les valeurs " +"les plus élevées des ombres plus douces.\n" +"Valeur minimale 1,0 et maximale 10,0." #: src/settings_translation_file.cpp msgid "" @@ -6430,14 +6432,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Définit l'inclinaison de l'orbite du soleil/lune en degrés.\n" +"La valeur de 0 signifie aucune inclinaison/orbite verticale.\n" +"Valeur minimale 0,0 et maximale 60,0." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Mettre sur « Activé » active les feuilles ondulantes.\n" +"Mettre sur « Activé » active le « Shadow Mapping ».\n" "Nécessite les shaders pour être activé." #: src/settings_translation_file.cpp @@ -6470,6 +6474,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Définit la qualité de la texture de l'ombre sur 32 bits.\n" +"Si désactivé, une texture de 16 bits sera utilisée.\n" +"Cela peut causer beaucoup plus d'artefacts sur l'ombre." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6487,22 +6494,21 @@ msgstr "" "Fonctionne seulement avec OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Qualité des captures d'écran" +msgstr "Qualité du filtre d’ombre" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" msgstr "" +"Distance maximale de la « shadow map » en nœuds pour le rendu des ombres" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Texture de la « shadow map » en 32 bits" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Taille minimale des textures" +msgstr "Taille de la texture de la « shadow map »" #: src/settings_translation_file.cpp msgid "" @@ -6514,7 +6520,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Force de l'ombre" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6553,9 +6559,9 @@ msgid "" "Altering this value is for special usage, leaving it unchanged is\n" "recommended." msgstr "" -"Taille des mapchunks générés à la création de terrain, définie en mapblocks " -"(16 nœuds).\n" -"ATTENTION ! : Il n’y a aucun avantage, et plusieurs dangers, à augmenter " +"Taille des mapchunks générés à la création de terrain, définie en mapblocks (" +"16 nœuds).\n" +"ATTENTION ! : Il n’y a aucun avantage, et plusieurs dangers, à augmenter " "cette valeur au-dessus de 5.\n" "Réduire cette valeur augmente la densité de cavernes et de donjons.\n" "La modification de cette valeur est réservée à un usage spécial. Il est " @@ -6567,13 +6573,13 @@ msgid "" "increase the cache hit %, reducing the data being copied from the main\n" "thread, thus reducing jitter." msgstr "" -"Taille du cache de MapBlocks du générateur de maillage. Augmenter\n" -"ceci augmente le % d'interception du cache et réduit la copie de données\n" -"dans le fil principal, réduisant les tremblements." +"Taille du cache de mapblocks du générateur de maillage. Augmenter ceci " +"augmente le % d'interception du cache et réduit la copie de données dans le " +"fil principal, réduisant les tremblements." #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Inclinaison de l'orbite du corps du ciel" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6612,7 +6618,8 @@ msgid "" "Smooths camera when looking around. Also called look or mouse smoothing.\n" "Useful for recording videos." msgstr "" -"Lisse les mouvement de la caméra en se déplaçant et en regardant autour.\n" +"Lisse les mouvements de la caméra en se déplaçant et en regardant autour. " +"Également appelé « look smoothing » ou « mouse smoothing ».\n" "Utile pour enregistrer des vidéos." #: src/settings_translation_file.cpp @@ -6629,16 +6636,15 @@ msgstr "Déplacement lent" #: src/settings_translation_file.cpp msgid "Sneaking speed" -msgstr "Vitesse d'accroupissement" +msgstr "Vitesse de déplacement lent" #: src/settings_translation_file.cpp msgid "Sneaking speed, in nodes per second." -msgstr "Vitesse furtive, en blocs par seconde." +msgstr "Vitesse de déplacement lent, en nœuds par seconde." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Opacité de l'ombre de la police" +msgstr "Rayon de l'ombre douce" #: src/settings_translation_file.cpp msgid "Sound" @@ -6706,8 +6712,8 @@ msgid "" "curve that is boosted in brightness." msgstr "" "Niveau d'amplification de la courbure de la lumière.\n" -"Les trois paramètres « d'amplification » définissent un intervalle\n" -"de la courbe de lumière pour lequel la luminosité est amplifiée." +"Les trois paramètres « d'amplification » définissent un intervalle de la " +"courbe de lumière pour lequel la luminosité est amplifiée." #: src/settings_translation_file.cpp msgid "Strict protocol checking" @@ -6715,7 +6721,7 @@ msgstr "Vérification stricte du protocole" #: src/settings_translation_file.cpp msgid "Strip color codes" -msgstr "Echapper les codes de couleur" +msgstr "Supprimer les codes couleurs" #: src/settings_translation_file.cpp msgid "" @@ -6730,18 +6736,18 @@ msgid "" "server-intensive extreme water flow and to avoid vast flooding of the\n" "world surface below." msgstr "" -"Niveau de la surface de l'eau (facultative) placée sur une couche solide de " -"terre suspendue.\n" +"Niveau de la surface de l'eau (facultatif) placée sur une couche solide de " +"terrain flottant.\n" "L'eau est désactivée par défaut et ne sera placée que si cette valeur est " -"fixée à plus de « mgv7_floatland_ymax » - « mgv7_floatland_taper » (début de " -"l’effilage du haut).\n" -"***ATTENTION, DANGER POTENTIEL AU MONDES ET AUX PERFORMANCES DES " -"SERVEURS*** :\n" -"Lorsque le placement de l'eau est activé, les île volantes doivent être " -"configurées avec une couche solide en mettant « mgv7_floatland_density » à " -"2,0 (ou autre valeur dépendante de « mgv7_np_floatland »), pour éviter les " -"chutes d'eaux énormes qui surchargent les serveurs et pourraient inonder les " -"terres en dessous." +"définie à plus de « mgv7_floatland_ymax » - « mgv7_floatland_taper » (début " +"de l’effilage du haut).\n" +"***ATTENTION, DANGER POTENTIEL AU MONDES ET AUX PERFORMANCES DES SERVEURS*** " +":\n" +"Lorsque le placement de l'eau est activé, les terrains flottants doivent " +"être configurés et vérifiés pour être une couche solide en mettant « " +"mgv7_floatland_density » à 2,0 (ou autre valeur dépendante de « " +"mgv7_np_floatland »), pour éviter les chutes d'eaux énormes qui surchargent " +"les serveurs et pourraient inonder les terres en dessous." #: src/settings_translation_file.cpp msgid "Synchronous SQLite" @@ -6805,6 +6811,10 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Taille de la texture pour le rendu de la « shadow map ».\n" +"Il doit s'agir d'une puissance de deux.\n" +"Les nombres plus grands créent de meilleures ombres, mais ils sont aussi " +"plus coûteux." #: src/settings_translation_file.cpp msgid "" @@ -6836,8 +6846,8 @@ msgid "" "The default format in which profiles are being saved,\n" "when calling `/profiler save [format]` without format." msgstr "" -"Le format par défaut dans lequel les profils seront sauvegardés,\n" -"lorsque la commande `/profiler save [format]` est entrée sans format." +"Le format par défaut dans lequel les profils sont enregistrés, lors de " +"l'appel de « /profiler save [format] » sans format." #: src/settings_translation_file.cpp msgid "The depth of dirt or other biome filler node." @@ -6886,7 +6896,7 @@ msgid "" "See /privs in game for a full list on your server and mod configuration." msgstr "" "Les privilèges que les nouveaux joueurs obtiennent automatiquement.\n" -"Entrer /privs dans le jeu pour voir une liste complète des privilèges." +"Entrer « /privs » dans le jeu pour voir une liste complète des privilèges." #: src/settings_translation_file.cpp msgid "" @@ -6900,14 +6910,13 @@ msgid "" msgstr "" "Le rayon du volume de blocs autour de chaque joueur soumis au bloc actif, " "définie en mapblocks (16 nœuds).\n" -"Dans les blocs actifs, les objets sont chargés et les « ABMs » sont " -"exécutés.\n" +"Dans les blocs actifs, les objets sont chargés et les « ABMs » sont exécutés." +"\n" "C'est également la distance minimale dans laquelle les objets actifs (mobs) " "sont conservés.\n" -"Ceci devrait être configuré avec active_object_send_range_blocks." +"Ceci devrait être configuré avec « active_object_send_range_blocks »." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6916,9 +6925,9 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Le moteur de rendu utilisé par Irrlicht.\n" +"Le moteur de rendu.\n" "Un redémarrage est nécessaire après cette modification.\n" -"Remarque : Sur Android, restez avec OGLES1 en cas de doute ! Autrement, " +"Remarque : Sur Android, restez avec OGLES1 en cas de doute ! Autrement, " "l'application peut ne pas démarrer.\n" "Sur les autres plateformes, OpenGL est recommandé.\n" "Les shaders sont pris en charge par OpenGL (ordinateur de bureau uniquement) " @@ -7036,7 +7045,7 @@ msgid "" "This determines how long they are slowed down after placing or removing a " "node." msgstr "" -"Pour réduire le lag, le transfert des blocs est ralenti quand un joueur " +"Pour réduire le décalage, le transfert des blocs est ralenti quand un joueur " "construit quelque chose.\n" "Cela détermine la durée du ralentissement après placement ou destruction " "d'un nœud." @@ -7047,7 +7056,7 @@ msgstr "Basculement en mode caméra" #: src/settings_translation_file.cpp msgid "Tooltip delay" -msgstr "Délais d'apparition des infobulles" +msgstr "Délai d'apparition des infobulles" #: src/settings_translation_file.cpp msgid "Touch screen threshold" @@ -7078,11 +7087,12 @@ msgstr "Mods sécurisés" #: src/settings_translation_file.cpp msgid "URL to the server list displayed in the Multiplayer Tab." -msgstr "URL de la liste des serveurs affichée dans l'onglet multijoueur." +msgstr "" +"URL de la liste des serveurs affichée dans l'onglet « Rejoindre une partie »." #: src/settings_translation_file.cpp msgid "Undersampling" -msgstr "Sous-échantillonage" +msgstr "Sous-échantillonnage" #: src/settings_translation_file.cpp msgid "" @@ -7092,11 +7102,11 @@ msgid "" "image.\n" "Higher values result in a less detailed image." msgstr "" -"Le sous-échantillonage ressemble à l'utilisation d'une résolution d'écran " -"inférieure,\n" -"mais il ne s'applique qu'au rendu 3D, gardant l'interface usager intacte.\n" -"Cela peut donner lieu à un bonus de performance conséquent, au détriment de " -"la qualité d'image.\n" +"Le sous-échantillonnage ressemble à l'utilisation d'une résolution d'écran " +"inférieure, mais il ne s'applique qu'au rendu 3D, gardant l'interface " +"intacte.\n" +"Cela doit donner un bonus de performance conséquent, au détriment de la " +"qualité d'image.\n" "Les valeurs plus élevées réduisent la qualité du détail des images." #: src/settings_translation_file.cpp @@ -7113,7 +7123,7 @@ msgstr "Limite haute Y des donjons." #: src/settings_translation_file.cpp msgid "Upper Y limit of floatlands." -msgstr "Limite en Y des îles volantes." +msgstr "Limite haute Y des terrains flottants." #: src/settings_translation_file.cpp msgid "Use 3D cloud look instead of flat." @@ -7140,9 +7150,9 @@ msgid "" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" -"Utilisez le mappage MIP pour mettre à l'échelle les textures. Peut augmenter " -"légèrement les performances, surtout si vous utilisez un pack de textures " -"haute résolution.\n" +"Utilise le mappage MIP pour mettre à l'échelle les textures.\n" +"Peut augmenter légèrement les performances, surtout si vous utilisez un pack " +"de textures haute résolution.\n" "La réduction d'échelle gamma correcte n'est pas prise en charge." #: src/settings_translation_file.cpp @@ -7157,9 +7167,9 @@ msgid "" msgstr "" "Utilise l'anticrénelage multi-échantillons (MSAA) pour lisser les bords des " "blocs.\n" -"Cet algorithme lisse la vue 3D tout en conservant l'image nette,\n" -"mais cela ne concerne pas la partie interne des textures\n" -"(ce qui est particulièrement visible avec des textures transparentes).\n" +"Cet algorithme lisse la vue 3D tout en conservant l'image nette, mais cela " +"ne concerne pas la partie interne des textures (ce qui est particulièrement " +"visible avec des textures transparentes).\n" "Des espaces visibles apparaissent entre les blocs lorsque les shaders sont " "désactivés.\n" "Si définie à 0, MSAA est désactivé.\n" @@ -7267,9 +7277,8 @@ msgid "Viewing range" msgstr "Plage de visualisation" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Manette virtuelle déclenche le bouton aux" +msgstr "Manette virtuelle déclenche le bouton Aux1" #: src/settings_translation_file.cpp msgid "Volume" @@ -7352,9 +7361,9 @@ msgid "" "filtered in software, but some images are generated directly\n" "to hardware (e.g. render-to-texture for nodes in inventory)." msgstr "" -"Quand gui_scaling_filter est activé, tous les images du GUI sont filtrées " -"par le logiciel, mais certaines sont générées directement par le matériel " -"(ex. : textures des blocs dans l'inventaire)." +"Quand « gui_scaling_filter » est activé, tous les images du GUI sont " +"filtrées par le logiciel, mais certaines sont générées directement par le " +"matériel (ex. : textures des blocs dans l'inventaire)." #: src/settings_translation_file.cpp msgid "" @@ -7363,14 +7372,13 @@ msgid "" "to the old scaling method, for video drivers that don't\n" "properly support downloading textures back from hardware." msgstr "" -"Quand gui_scaling_filter_txr2img est activé, copier les images du matériel " -"au logiciel pour mise à l'échelle.\n" +"Quand « gui_scaling_filter_txr2img » est activé, copier les images du " +"matériel au logiciel pour mise à l'échelle.\n" "Si désactivé, l'ancienne méthode de mise à l'échelle est utilisée, pour les " "pilotes vidéos qui ne supportent pas le chargement des textures depuis le " "matériel." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7386,9 +7394,9 @@ msgstr "" "agrandies avec l'interpolation du plus proche voisin pour garder des pixels " "moins floues. Ceci détermine la taille de la texture minimale pour les " "textures agrandies ; les valeurs plus hautes rendent plus détaillées, mais " -"nécessitent plus de mémoire. Les puissances de 2 sont recommandées. Définir " -"une valeur supérieure à 1 peut ne pas avoir d'effet visible sauf si le " -"filtrage bilinéaire/trilinéaire/anisotrope est activé.\n" +"nécessitent plus de mémoire. Les puissances de 2 sont recommandées. Ce " +"paramètre s'applique uniquement si le filtrage bilinéaire/trilinéaire/" +"anisotrope est activé.\n" "Ceci est également utilisée comme taille de texture de nœud par défaut pour " "l'agrandissement des textures basé sur le monde." @@ -7421,7 +7429,7 @@ msgid "" "Deprecated, use the setting player_transfer_distance instead." msgstr "" "Détermine l'exposition illimitée des noms de joueurs aux autres clients.\n" -"Obsolète : utiliser l'option player_transfer_distance à la place." +"Obsolète : utiliser le paramètre « player_transfer_distance » à la place." #: src/settings_translation_file.cpp msgid "Whether to allow players to damage and kill each other." @@ -7456,13 +7464,14 @@ msgstr "" msgid "" "Whether to show the client debug info (has the same effect as hitting F5)." msgstr "" -"Détermine la visibilité des infos de débogage du client (même effet que " -"taper F5)." +"Détermine la visibilité des informations de débogage du client (même effet " +"que taper F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Composant de largeur de la taille initiale de la fenêtre." +msgstr "" +"Composant de largeur de la taille initiale de la fenêtre. Ignoré en mode " +"plein écran." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7474,9 +7483,9 @@ msgid "" "background.\n" "Contains the same information as the file debug.txt (default name)." msgstr "" -"Systèmes Windows seulement : démarrer Minetest avec la fenêtre de commandes\n" -"en arrière-plan. Contient les mêmes informations que dans debug.txt (nom par " -"défaut)." +"Systèmes Windows seulement : démarrer Minetest avec la fenêtre de ligne de " +"commande en arrière-plan. Contient les mêmes informations que le fichier « " +"debug.txt » (nom par défaut)." #: src/settings_translation_file.cpp msgid "" @@ -7500,15 +7509,12 @@ msgid "" "Warning: This option is EXPERIMENTAL!" msgstr "" "Les textures alignées sur le monde peuvent être mises à l'échelle pour " -"couvrir plusieurs nœuds. Cependant,\n" -"le serveur peut ne pas envoyer l'échelle que vous voulez, surtout si vous " -"utilisez\n" -"un pack de textures spécialement conçu ; avec cette option, le client " -"essaie\n" -"de déterminer l'échelle automatiquement en fonction de la taille de la " -"texture.\n" -"Voir aussi texture_min_size.\n" -"Avertissement : Cette option est EXPÉRIMENTALE !" +"couvrir plusieurs nœuds. Cependant, le serveur peut ne pas envoyer l'échelle " +"que vous voulez, surtout si vous utilisez un pack de textures spécialement " +"conçu ; avec cette option, le client essaie de déterminer l'échelle " +"automatiquement en fonction de la taille de la texture.\n" +"Voir aussi « texture_min_size ».\n" +"Avertissement : cette option est EXPÉRIMENTALE !" #: src/settings_translation_file.cpp msgid "World-aligned textures mode" @@ -7528,8 +7534,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Y of upper limit of large caves." -msgstr "" -"Coordonnée Y de la limite supérieure des grandes grottes pseudo-aléatoires." +msgstr "Limite haute Y des grandes grottes." #: src/settings_translation_file.cpp msgid "Y-distance over which caverns expand to full size." @@ -7542,31 +7547,31 @@ msgid "" "For a solid floatland layer, this controls the height of hills/mountains.\n" "Must be less than or equal to half the distance between the Y limits." msgstr "" -"Hauteur-Y à laquelle les îles volantes commence à rétrécir.\n" +"Hauteur-Y à laquelle les terrains flottants commencent à rétrécir.\n" "L'effilage comment à cette distance de la limite en Y.\n" -"Pour une courche solide de terre suspendue, ceci contrôle la hauteur des " +"Pour une couche solide de terrain flottant, ceci contrôle la hauteur des " "montagnes.\n" "Doit être égale ou moindre à la moitié de la distance entre les limites Y." #: src/settings_translation_file.cpp msgid "Y-level of average terrain surface." -msgstr "Hauteur (Y) moyenne de la surface du terrain." +msgstr "Limite moyenne Y de la surface du terrain." #: src/settings_translation_file.cpp msgid "Y-level of cavern upper limit." -msgstr "Limite haute de génération des cavernes." +msgstr "Limite haute Y de génération des cavernes." #: src/settings_translation_file.cpp msgid "Y-level of higher terrain that creates cliffs." -msgstr "Hauteur Y du plus haut terrain qui crée des falaises." +msgstr "Limite Y du plus haut terrain qui crée des falaises." #: src/settings_translation_file.cpp msgid "Y-level of lower terrain and seabed." -msgstr "Hauteur Y du plus bas terrain et des fonds marins." +msgstr "Limite Y du plus bas terrain et des fonds marins." #: src/settings_translation_file.cpp msgid "Y-level of seabed." -msgstr "Hauteur (Y) du fond marin." +msgstr "Limite Y du fond marin." #: src/settings_translation_file.cpp msgid "" @@ -7602,12 +7607,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "cURL file download timeout" -msgstr "Délais d'interruption de cURL lors d'un téléchargement de fichier" +msgstr "Délai d'interruption de cURL lors d'un téléchargement de fichier" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "Délais d'interruption de cURL" +msgstr "Délai d'interruption interactive de cURL" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 48bb0bb5bbc2bd8af2bf43141d62c75fba51950f Mon Sep 17 00:00:00 2001 From: Yangjun Wang Date: Thu, 17 Jun 2021 23:42:06 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 91.2% (1274 of 1396 strings) --- po/zh_CN/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 2aa7edeb4..a2863bd25 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-10 14:35+0000\n" -"Last-Translator: Riceball LEE \n" +"PO-Revision-Date: 2021-06-17 23:42+0000\n" +"Last-Translator: Yangjun Wang \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.7\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -249,7 +249,7 @@ msgstr "正在下载 $1 ……" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "没有找到需要的依赖项: $1" +msgstr "无法找到$1个依赖项。" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -- cgit v1.2.3 From e1fbf4795b96814c5cd03569f499703a9ce9a98f Mon Sep 17 00:00:00 2001 From: Riceball LEE Date: Thu, 17 Jun 2021 23:37:37 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 91.2% (1274 of 1396 strings) --- po/zh_CN/minetest.po | 70 +++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 39 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index a2863bd25..490513f6b 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-17 23:42+0000\n" -"Last-Translator: Yangjun Wang \n" +"PO-Revision-Date: 2021-06-21 11:33+0000\n" +"Last-Translator: Riceball LEE \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -15,46 +15,41 @@ msgstr "" "X-Generator: Weblate 4.7\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "显示最大聊天记录的行度" +msgstr "清除聊天发送队列" #: builtin/client/chatcommands.lua #, fuzzy msgid "Empty command." -msgstr "聊天命令" +msgstr "空命令." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "退出至菜单" +msgstr "退出至主菜单" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "本地命令" +msgstr "无效命令 " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "发送的命令 " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "单人游戏" +msgstr "列出联机玩家" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "单人游戏" +msgstr "联机游戏: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "聊天发送队列现在为空。" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "服务器已禁用该命令." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +60,33 @@ msgid "You died" msgstr "您已经死亡" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "您已经死亡" +msgstr "您已经死亡." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "本地命令" +msgstr "可用命令:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "本地命令" +msgstr "可用命令: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "命令不可用: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "获取命令帮助" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." -msgstr "" +msgstr "使用 '.help ' 获取该命令的更多信息,或使用 '.help all' 列出所有内容。" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | <命令>]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -110,7 +102,7 @@ msgstr "发生了错误:" #: builtin/fstk/ui.lua msgid "Main menu" -msgstr "主单" +msgstr "主菜单" #: builtin/fstk/ui.lua msgid "Reconnect" @@ -249,7 +241,7 @@ msgstr "正在下载 $1 ……" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "无法找到$1个依赖项。" +msgstr "有$1个依赖项没有找到。" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." @@ -779,16 +771,15 @@ msgstr "请尝试重新启用公共服务器列表并检查您的网络连接。 #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "关于" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "积极贡献者" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "活动目标发送范围" +msgstr "主动渲染器:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -803,6 +794,8 @@ msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"在文件(资源)管理器中打开含有用户提供的世界,游戏,mods\n" +"和纹理包的目录。" #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -954,7 +947,7 @@ msgstr "收藏项" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "不兼容的服务器" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -971,7 +964,7 @@ msgstr "公开服务器" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "刷新" #: builtin/mainmenu/tab_online.lua #, fuzzy @@ -1019,13 +1012,12 @@ msgid "Connected Glass" msgstr "连通玻璃" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "字体阴影" +msgstr "动态阴影" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "动态阴影: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1033,15 +1025,15 @@ msgstr "华丽树叶" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "高" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "低" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "中" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" -- cgit v1.2.3 From 891290a79f56bdb9de1ce0e96844893039699ce8 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Thu, 17 Jun 2021 00:33:35 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 80.6% (1126 of 1396 strings) --- po/es/minetest.po | 171 ++++++++++++++++++++++-------------------------------- 1 file changed, 69 insertions(+), 102 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index 0551ef808..26318d2ca 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-01 18:49+0000\n" -"Last-Translator: David Leal \n" +"PO-Revision-Date: 2021-06-21 11:33+0000\n" +"Last-Translator: Jordan Irwin \n" "Language-Team: Spanish \n" "Language: es\n" @@ -12,41 +12,35 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.7\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Tamaño máximo de la cola de salida del chat" +msgstr "Vaciar la cola de chat de salida" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Comandos de Chat" +msgstr "Comando vacío." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Salir al menú" +msgstr "Salir al menú principal" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Comando local" +msgstr "Comando inválido: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Comando emitido: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Un jugador" +msgstr "Listar jugadores conectados" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Un jugador" +msgstr "Jugadores conectados: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -65,27 +59,24 @@ msgid "You died" msgstr "Has muerto" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Has muerto" +msgstr "Has muerto." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Comando local" +msgstr "Comandos disponibles:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Comando local" +msgstr "Comandos disponibles: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Comando no disponible: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Obtener ayuda para los comandos" #: builtin/common/chatcommands.lua msgid "" @@ -791,16 +782,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Acerca de" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Colaboradores activos" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Rango de envío en objetos activos" +msgstr "Renderizador activo:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -935,9 +925,8 @@ msgid "Start Game" msgstr "Empezar juego" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Dirección: " +msgstr "Dirección" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -953,22 +942,20 @@ msgstr "Modo creativo" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Daño" +msgstr "Daño / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Borrar Fav." #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favorito" +msgstr "Favoritos" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Servidores Incompatibles" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -979,18 +966,16 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Anunciar servidor" +msgstr "Servidores Públicos" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Actualizar" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Descripción del servidor" +msgstr "Descripción del Servidor" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1033,13 +1018,12 @@ msgid "Connected Glass" msgstr "Vidrio conectado" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Sombra de la fuente" +msgstr "Sombras dinámicas" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Sombras dinámicas: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1470,9 +1454,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "El minimapa se encuentra actualmente desactivado por el juego o un mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Un jugador" +msgstr "Multijugador" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1908,9 +1891,8 @@ msgid "Proceed" msgstr "Continuar" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Especial\" = Descender" +msgstr "\"Aux1\" = bajar" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1930,7 +1912,7 @@ msgstr "Atrás" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Límites de bloque" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2488,9 +2470,8 @@ msgid "Autoscaling mode" msgstr "Modo de autoescalado" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Tecla Saltar" +msgstr "Tecla Aux1" #: src/settings_translation_file.cpp msgid "Aux1 key for climbing/descending" @@ -2748,9 +2729,8 @@ msgid "Colored fog" msgstr "Niebla colorida" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Niebla colorida" +msgstr "Sombras coloridas" #: src/settings_translation_file.cpp msgid "" @@ -3371,12 +3351,11 @@ msgid "Fast movement" msgstr "Movimiento rápido" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Movimiento rápido (por medio de tecla de \"Uso\").\n" +"Movimiento rápido (por medio de tecla de \"Aux1\").\n" "Requiere privilegio \"fast\" (rápido) en el servidor." #: src/settings_translation_file.cpp @@ -4002,14 +3981,13 @@ msgstr "" "a fin de no malgastar potencia de CPU sin beneficio." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Si está desactivado, la tecla \"especial\" se utiliza para volar rápido si " -"tanto el modo de vuelo como el modo rápido están\n" -"habilitados." +"Si está desactivado, la tecla \"Aux1\" se utiliza para volar rápido si el " +"modo\n" +"de vuelo y el modo rápido están habilitados." #: src/settings_translation_file.cpp msgid "" @@ -5338,11 +5316,11 @@ msgid "" "to become shallower and occasionally dry.\n" "'altitude_dry': Reduces humidity with altitude." msgstr "" -"Atributos de generación de mapas específicos del generador de mapas " -"Valleys.\n" +"Atributos de generación de mapas específicos del generador de mapas Valleys." +"\n" "'altitude_chill': Reduce el calor con la altitud.\n" "'humid_rivers': Aumenta la humedad alrededor de ríos.\n" -"'vary_river_depth': Si está activo, la baja humedad y alto calor causan que " +"'vary_river_depth': Si está activo, la baja humedad y alto calor causan que\n" "los ríos sean poco profundos y ocasionalmente secos.\n" "'altitude_dry': Reduce la humedad con la altitud." @@ -5351,40 +5329,29 @@ msgid "Map generation attributes specific to Mapgen v5." msgstr "Atributos de generación de mapas específicos al generador de mapas v5." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen v6.\n" "The 'snowbiomes' flag enables the new 5 biome system.\n" "When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" "the 'jungles' flag is ignored." msgstr "" -"Atributos del generador de mapas globales.\n" -"En el generador de mapas V6 la opción (o marcador) \"decorations\" controla " -"todos los elementos decorativos excepto los árboles y la hierba de la " -"jungla, en todos los otros generadores de mapas esta opción controla todas " -"las decoraciones.\n" -"Las opciones que no son incluidas en el texto con la cadena de opciones no " -"serán modificadas y mantendrán su valor por defecto.\n" -"Las opciones que comienzan con el prefijo \"no\" son utilizadas para " -"inhabilitar esas opciones." +"Atributos específicos para la generación de Mapgen v6.\n" +"La opción 'snowbiomes' activa el nuevo sistema de generación de 5 biomas.\n" +"Cuando la opción 'snowbiomes' está activada, las junglas se activan " +"automáticamente y\n" +"la opción 'jungles' es ignorada." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen v7.\n" "'ridges': Rivers.\n" "'floatlands': Floating land masses in the atmosphere.\n" "'caverns': Giant caves deep underground." msgstr "" -"Atributos del generador de mapas globales.\n" -"En el generador de mapas V6 la opción (o marcador) \"decorations\" controla " -"todos los elementos decorativos excepto los árboles y la hierba de la " -"jungla, en todos los otros generadores de mapas esta opción controla todas " -"las decoraciones.\n" -"Las opciones que no son incluidas en el texto con la cadena de opciones no " -"serán modificadas y mantendrán su valor por defecto.\n" -"Las opciones que comienzan con el prefijo \"no\" son utilizadas para " -"inhabilitar esas opciones." +"Atributos específicos para la generación de Mapgen v7.\n" +"'ridges': Rios.\n" +"'floatlands': Masas de tierra flotantes en la atmósfera.\n" +"'caverns': Cavernas gigantes subterráneo profundo." #: src/settings_translation_file.cpp msgid "Map generation limit" @@ -5395,9 +5362,8 @@ msgid "Map save interval" msgstr "Intervalo de guardado de mapa" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Tick de actualización de los líquidos" +msgstr "Tiempo de actualización de mapa" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5512,7 +5478,7 @@ msgstr "FPS máximo cuando el juego está pausado." #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Distancia máxima para renderizar las sombras." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5601,18 +5567,17 @@ msgid "" "try reducing it, but don't reduce it to a number below double of targeted\n" "client number." msgstr "" -"Número máximo de paquetes enviados por paso de envío. Si tiene una conexión " -"lenta, intente reducirlo, pero no lo reduzca a un número menor al doble del " +"Número máximo de paquetes enviados por paso de envío. Si tiene una conexión\n" +"lenta, intente reducirlo, pero no lo reduzca a un número menor al doble del\n" "número de cliente objetivo." #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum number of players that can be connected simultaneously." -msgstr "Cantidad de bloques que flotan simultáneamente por cliente." +msgstr "Número máximo de jugadores que se pueden conectar simultáneamente." #: src/settings_translation_file.cpp msgid "Maximum number of recent chat messages to show" -msgstr "Número máximo de mensajes del chat recientes a mostrar." +msgstr "Número máximo de mensajes del chat recientes a mostrar" #: src/settings_translation_file.cpp msgid "Maximum number of statically stored objects in a block." @@ -5620,7 +5585,7 @@ msgstr "Número máximo de objetos almacenados estáticamente en un bloque." #: src/settings_translation_file.cpp msgid "Maximum objects per block" -msgstr "Objetos máximos por bloque." +msgstr "Objetos máximos por bloque" #: src/settings_translation_file.cpp msgid "" @@ -5650,19 +5615,20 @@ msgstr "" "ilimitado." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Tiempo máximo en ms que puede demorar una descarga (por ejemplo, la descarga " -"de un mod)." +"Tiempo máximo que puede tardar la descarga de archivo (p.ej. una descarga de " +"mod) en milisegundos." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Tiempo máximo que puede tardar la solicitud interactiva (p.ej. una búsqueda " +"de lista de servidores) en milisegundos." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5752,7 +5718,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Mountain zero level" -msgstr "" +msgstr "Nivel cero de montañas" #: src/settings_translation_file.cpp msgid "Mouse sensitivity" @@ -5806,7 +5772,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Near plane" -msgstr "" +msgstr "Plano cercano" #: src/settings_translation_file.cpp msgid "Network" @@ -5992,6 +5958,8 @@ msgid "" "Port to connect to (UDP).\n" "Note that the port field in the main menu overrides this setting." msgstr "" +"Puerto de conectarse (UDP).\n" +"Nota que el campo de puerto en el menú principal anula esta configuración." #: src/settings_translation_file.cpp msgid "" @@ -6001,7 +5969,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Prevent mods from doing insecure things like running shell commands." -msgstr "" +msgstr "Evitar que mods hagan cosas inseguras como ejecutar comandos de shell." #: src/settings_translation_file.cpp msgid "" @@ -6015,7 +5983,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Profiler" -msgstr "" +msgstr "Perfilador" #: src/settings_translation_file.cpp msgid "Profiler toggle key" @@ -6054,7 +6022,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Random input" -msgstr "" +msgstr "Entrada aleatoria" #: src/settings_translation_file.cpp msgid "Range select key" @@ -6065,17 +6033,16 @@ msgid "Recent Chat Messages" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Regular font path" -msgstr "Ruta de fuentes" +msgstr "Ruta de fuente regular" #: src/settings_translation_file.cpp msgid "Remote media" -msgstr "" +msgstr "Medios remotos" #: src/settings_translation_file.cpp msgid "Remote port" -msgstr "" +msgstr "Puerto remoto" #: src/settings_translation_file.cpp msgid "" @@ -6085,7 +6052,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Replaces the default main menu with a custom one." -msgstr "" +msgstr "Sustituye el menú principal por defecto con uno personalizado." #: src/settings_translation_file.cpp #, fuzzy -- cgit v1.2.3 From 5f79e9552d5a8b2f1b75048891dae37f4d4b30aa Mon Sep 17 00:00:00 2001 From: Nicolae Crefelean Date: Thu, 17 Jun 2021 21:21:20 +0000 Subject: Translated using Weblate (Romanian) Currently translated at 47.6% (665 of 1396 strings) --- po/ro/minetest.po | 86 ++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 48 deletions(-) diff --git a/po/ro/minetest.po b/po/ro/minetest.po index 31c7fa9c9..9e5bf6e4d 100644 --- a/po/ro/minetest.po +++ b/po/ro/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Romanian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-04-28 01:32+0000\n" +"PO-Revision-Date: 2021-07-25 23:36+0000\n" "Last-Translator: Nicolae Crefelean \n" "Language-Team: Romanian \n" @@ -13,48 +13,43 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Golește coada mesajelor de chat" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Comenzi de chat" +msgstr "Comenzi de chat." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Ieși în Meniu" +msgstr "Ieși în meniul principal" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Comandă locală" +msgstr "Comandă greșită: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Comanda dată: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Jucător singur" +msgstr "Arată jucătorii conectați" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Jucător singur" +msgstr "Jucători conectați: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Coada mesajelor de chat a fost golită." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Această comandă este dezactivată de server." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +60,35 @@ msgid "You died" msgstr "Ai murit" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Ai murit" +msgstr "Ai murit." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Comandă locală" +msgstr "Comenzi disponibile:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Comandă locală" +msgstr "Comenzi disponibile: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Comandă indisponibilă: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Obține ajutor pentru comenzi" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Folosește „.help ” pentru detalii sau „.help all” pentru informații " +"complete." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -235,7 +229,7 @@ msgstr "Dependențele $1 și $2 vor fi instalate." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1, de $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" @@ -349,11 +343,11 @@ msgstr "Actualizare" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" -msgstr "" +msgstr "Actualizează tot [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Vezi detalii într-un navigator web" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" @@ -788,16 +782,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Despre" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Contribuitori activi" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Interval de trimitere obiect e activ" +msgstr "Tipul curent de randare:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -812,6 +805,8 @@ msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Deschide într-un manager de fișiere directorul care conține lumile,\n" +"jocurile, modificările și texturile furnizate de utilizator." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -891,7 +886,7 @@ msgstr "Instalarea jocurilor din ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Nume" #: builtin/mainmenu/tab_local.lua msgid "New" @@ -930,9 +925,8 @@ msgid "Start Game" msgstr "Începe Jocul" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adresa: " +msgstr "Adresă" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -948,22 +942,20 @@ msgstr "Modul Creativ" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Daune" +msgstr "Daune / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Şterge Favorit" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favorit" +msgstr "Favorite" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Servere incompatibile" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -974,16 +966,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Anunțare server" +msgstr "Servere publice" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Actualizează" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Descrierea serverului" @@ -1029,15 +1019,15 @@ msgstr "Sticlă conectată" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Umbre dinamice" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Umbre dinamice: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" -msgstr "Frunze luxsoase" +msgstr "Frunze detaliate" #: builtin/mainmenu/tab_settings.lua msgid "High" @@ -2785,7 +2775,7 @@ msgstr "Se conectează la server media extern" #: src/settings_translation_file.cpp msgid "Connects glass if supported by node." -msgstr "" +msgstr "Unește sticla dacă nodul permite asta." #: src/settings_translation_file.cpp msgid "Console alpha" @@ -2805,7 +2795,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "ContentDB Max Concurrent Downloads" -msgstr "" +msgstr "Maximul de descărcări simultane din ContentDB" #: src/settings_translation_file.cpp msgid "ContentDB URL" -- cgit v1.2.3 From 28851ca9b299537209fb96ad014156078158b15a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 21 Jun 2021 15:04:11 +0000 Subject: Translated using Weblate (German) Currently translated at 100.0% (1396 of 1396 strings) --- po/de/minetest.po | 235 +++++++++++++++++++++++++++--------------------------- 1 file changed, 117 insertions(+), 118 deletions(-) diff --git a/po/de/minetest.po b/po/de/minetest.po index b8362beb2..f2947b2dd 100644 --- a/po/de/minetest.po +++ b/po/de/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: German (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-03-02 15:50+0000\n" +"PO-Revision-Date: 2021-06-21 15:38+0000\n" "Last-Translator: Wuzzy \n" "Language-Team: German \n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.5\n" +"X-Generator: Weblate 4.7\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Maximale Größe der ausgehenden Chatwarteschlange" +msgstr "Die ausgehende Chatwarteschlange leeren" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Chatbefehle" +msgstr "Leerer Befehl." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Hauptmenü" +msgstr "Zum Hauptmenü verlassen" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Lokaler Befehl" +msgstr "Ungültiger Befehl: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Befehl erteilt: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Einzelspieler" +msgstr "Online spielende Spieler auflisten" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Einzelspieler" +msgstr "Online-Spieler: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Die ausgehende Chatwarteschlange ist nun leer." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Dieser Befehl ist vom Server deaktiviert." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +59,35 @@ msgid "You died" msgstr "Sie sind gestorben" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Sie sind gestorben" +msgstr "Sie sind gestorben." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Lokaler Befehl" +msgstr "Verfügbare Befehle:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Lokaler Befehl" +msgstr "Verfügbare Befehle: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Befehl nicht verfügbar: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Hilfe für Befehle erhalten" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"„.help “ benutzen, um mehr Informationen zu erhalten, oder „.help " +"all“ benutzen, um alles aufzulisten." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -792,16 +785,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Über" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Aktive Mitwirkende" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Reichweite aktiver Objekte" +msgstr "Aktiver Renderer:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -936,9 +928,8 @@ msgid "Start Game" msgstr "Spiel starten" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adresse: " +msgstr "Adresse" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -954,22 +945,20 @@ msgstr "Kreativmodus" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Schaden" +msgstr "Schaden / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Favorit löschen" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favorit" +msgstr "Favoriten" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Inkompatible Server" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -980,16 +969,14 @@ msgid "Ping" msgstr "Latenz" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Server veröffentlichen" +msgstr "Öffentliche Server" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Neu laden" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Serverbeschreibung" @@ -1034,13 +1021,12 @@ msgid "Connected Glass" msgstr "Verbundenes Glas" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Schriftschatten" +msgstr "Dynamische Schatten" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dynamische Schatten: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1048,15 +1034,15 @@ msgstr "Schöne Blätter" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Hoch" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Niedrig" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Mittel" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1148,11 +1134,11 @@ msgstr "Trilinearer Filter" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Sehr hoch" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Sehr niedrig" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1176,7 +1162,7 @@ msgstr "Fertig!" #: src/client/client.cpp msgid "Initializing nodes" -msgstr "Initialisiere Blöcke" +msgstr "Blöcke initialisieren" #: src/client/client.cpp msgid "Initializing nodes..." @@ -1188,7 +1174,7 @@ msgstr "Lade Texturen …" #: src/client/client.cpp msgid "Rebuilding shaders..." -msgstr "Shader wiederherstellen …" +msgstr "Shader erneuern…" #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" @@ -1301,7 +1287,7 @@ msgstr "Clientseitige Skripte sind deaktiviert" #: src/client/game.cpp msgid "Connecting to server..." -msgstr "Verbinde mit Server …" +msgstr "Mit Server verbinden …" #: src/client/game.cpp msgid "Continue" @@ -1414,7 +1400,7 @@ msgstr "Schnellmodus aktiviert" #: src/client/game.cpp msgid "Fast mode enabled (note: no 'fast' privilege)" -msgstr "Schnellmodus aktiviert (Achtung: Kein „fast“-Privileg)" +msgstr "Schnellmodus aktiviert (Hinweis: Kein „fast“-Privileg)" #: src/client/game.cpp msgid "Fly mode disabled" @@ -1426,7 +1412,7 @@ msgstr "Flugmodus aktiviert" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" -msgstr "Flugmodus aktiviert (Achtung: Kein „fly“-Privileg)" +msgstr "Flugmodus aktiviert (Hinweis: Kein „fly“-Privileg)" #: src/client/game.cpp msgid "Fog disabled" @@ -1469,9 +1455,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Übersichtskarte momentan von Spiel oder Mod deaktiviert" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Einzelspieler" +msgstr "Mehrspieler" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1483,7 +1468,7 @@ msgstr "Geistmodus aktiviert" #: src/client/game.cpp msgid "Noclip mode enabled (note: no 'noclip' privilege)" -msgstr "Geistmodus aktiviert (Achtung: Kein „noclip“-Privileg)" +msgstr "Geistmodus aktiviert (Hinweis: Kein „noclip“-Privileg)" #: src/client/game.cpp msgid "Node definitions..." @@ -1909,9 +1894,8 @@ msgid "Proceed" msgstr "Fortsetzen" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "„Spezial“ = runter" +msgstr "„Aux1“ = runter" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1923,7 +1907,7 @@ msgstr "Auto-Springen" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1931,7 +1915,7 @@ msgstr "Rückwärts" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Blockgrenzen" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2110,15 +2094,14 @@ msgstr "" "zentriert." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Den virtuellen Joystick benutzen, um die „Aux“-Taste zu " -"betätigen.\n" -"Falls aktiviert, wird der virtuelle Joystick außerdem die „Aux“-Taste " +"(Android) Den virtuellen Joystick benutzen, um die „Aux1“-Taste zu betätigen." +"\n" +"Falls aktiviert, wird der virtuelle Joystick außerdem die „Aux1“-Taste " "drücken, wenn er sich außerhalb des Hauptkreises befindet." #: src/settings_translation_file.cpp @@ -2493,14 +2476,12 @@ msgid "Autoscaling mode" msgstr "Autoskalierungsmodus" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Sprungtaste" +msgstr "Aux1-Taste" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Spezialtaste zum Klettern/Sinken" +msgstr "Aux1-Taste zum Klettern/Sinken" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2653,9 +2634,8 @@ msgstr "" "Wobei 0.0 die minimale Lichtstufe und 1.0 die höchste Lichtstufe ist." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Chatnachrichten-Kick-Schwellwert" +msgstr "Chatbefehlzeitnachrichtenschwellwert" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2754,9 +2734,8 @@ msgid "Colored fog" msgstr "Gefärbter Nebel" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Gefärbter Nebel" +msgstr "Gefärbte Schatten" #: src/settings_translation_file.cpp msgid "" @@ -2991,6 +2970,10 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Definiert die Schattenfilterqualität\n" +"Dies simuliert den weichen Schatteneffekt, indem eine PCF- oder Poisson-" +"Scheibe angewendet wird,\n" +"aber dies verbraucht auch mehr Ressourcen." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3172,6 +3155,9 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Aktiviert gefärbte Schatten. \n" +"Falls aktiv, werden transluzente Blöcke gefärbte Schatten werden. Dies ist " +"rechenintensiv." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3203,6 +3189,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Aktiviert eine Poisson-Scheibenfilterung.\n" +"Falls aktiv, werden Poisson-Scheiben verwendet, um „weiche Schatten“ zu " +"erzeugen. Ansonsten wird die PCF-Filterung benutzt." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3388,12 +3377,11 @@ msgid "Fast movement" msgstr "Schnell bewegen" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Schnelle Bewegung (mit der „Spezial“-Taste).\n" +"Schnelle Bewegung (mit der „Aux1“-Taste).\n" "Dazu wird das „fast“-Privileg auf dem Server benötigt." #: src/settings_translation_file.cpp @@ -3426,18 +3414,18 @@ msgid "Filmic tone mapping" msgstr "Filmische Dynamikkompression" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" "light edges to transparent textures. Apply a filter to clean that up\n" "at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" -"Gefilterte Texturen können RGB-Werte mit 100% transparenten Nachbarn,\n" +"Gefilterte Texturen können RGB-Werte mit voll transparenten Nachbarn,\n" "die PNG-Optimierer üblicherweise verwerfen, mischen. Manchmal\n" "resultiert dies in einer dunklen oder hellen Kante bei transparenten\n" -"Texturen. Aktivieren Sie diesen Filter, um dies beim Laden der\n" -"Texturen aufzuräumen." +"Texturen. Aktivieren Sie einen Filter, um dies beim Laden der\n" +"Texturen aufzuräumen. Dies wird automatisch aktiviert, falls Mipmapping " +"aktiviert ist." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3771,10 +3759,10 @@ msgid "Heat noise" msgstr "Hitzenrauschen" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Höhenkomponente der anfänglichen Fenstergröße." +msgstr "" +"Höhenkomponente der anfänglichen Fenstergröße. Im Vollbildmodus ignoriert." #: src/settings_translation_file.cpp msgid "Height noise" @@ -4029,12 +4017,11 @@ msgstr "" "unnötig zu belasten." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Falls deaktiviert, wird die „Spezial“-Taste benutzt, um schnell zu fliegen,\n" +"Falls deaktiviert, wird die „Aux1“-Taste benutzt, um schnell zu fliegen,\n" "wenn sowohl Flug- als auch Schnellmodus aktiviert sind." #: src/settings_translation_file.cpp @@ -4063,13 +4050,12 @@ msgstr "" "Dafür wird das „noclip“-Privileg auf dem Server benötigt." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Falls aktiviert, wird die „Spezial“-Taste statt der „Schleichen“-Taste zum\n" +"Falls aktiviert, wird die „Aux1“-Taste statt der „Schleichen“-Taste zum\n" "Herunterklettern und Sinken benutzt." #: src/settings_translation_file.cpp @@ -4134,6 +4120,9 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Falls die Ausführung eines Chatbefehls länger als diese angegebene Zeit in\n" +"Sekunden braucht, wird die Zeitinformation an die Chatbefehlsnachricht " +"angehängt" #: src/settings_translation_file.cpp msgid "" @@ -5412,9 +5401,8 @@ msgid "Map save interval" msgstr "Speicherintervall der Karte" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Flüssigkeitsaktualisierungstakt" +msgstr "Kartenupdatezeit" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5528,7 +5516,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Maximale Distanz zum Rendern von Schatten." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5666,19 +5654,20 @@ msgstr "" "zu begrenzen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Maximale Zeit in ms, die das Herunterladen einer Datei (z.B. einer Mod) " -"dauern darf." +"Maximale Zeit in Millisekunden, die das Herunterladen einer Datei (z.B. " +"einer Mod) dauern darf." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Maximale Zeit in Millisekunden, die eine interaktive Anfrage (z.B. " +"Serverlistenanfrage) brauchen darf." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -6054,9 +6043,8 @@ msgid "Player versus player" msgstr "Spielerkampf" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bilinearer Filter" +msgstr "Poissonfilter" #: src/settings_translation_file.cpp msgid "" @@ -6461,6 +6449,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Setzt die Schattenstärke.\n" +"Ein niedrigerer Wert führt zu schwächeren Schatten, ein höherer Wert führt " +"zu dunkleren Schatten." #: src/settings_translation_file.cpp msgid "" @@ -6469,6 +6460,11 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Setzt die Schattenupdatezeit.\n" +"Ein niedrigerer Wert bedeutet, dass Schatten und die Karte schneller " +"aktualisiert werden, aber dies verbraucht mehr Ressourcen.\n" +"Minimalwert: 0.001 Sekunden. Maximalwert: 0.2 Sekunden.\n" +"(Beachten Sie die englische Notation mit Punkt als Dezimaltrennzeichen.)" #: src/settings_translation_file.cpp msgid "" @@ -6476,6 +6472,10 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Setzt den Radius von weichen Schatten.\n" +"Niedrigere Werte führen zu schärferen Schatten, größere Werte führen zu " +"weicheren Schatten.\n" +"Minimalwert: 1.0; Maximalwert: 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6483,14 +6483,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Setzt die Neigung vom Sonnen-/Mondorbit in Grad.\n" +"0 = keine Neigung / vertikaler Orbit.\n" +"Minimalwert: 0.0. Maximalwert: 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Auf „wahr“ setzen, um wehende Blätter zu aktivieren.\n" +"Auf „wahr“ setzen, um Shadow-Mapping zu aktivieren.\n" "Dafür müssen Shader aktiviert sein." #: src/settings_translation_file.cpp @@ -6523,6 +6525,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Setzt die Schattentexturqualität auf 32 Bits.\n" +"Falls aktiviert, werden 16-Bit-Texturen benutzt.\n" +"Dies kann zu viel mehr Artefakten im Schatten führen." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6541,22 +6546,20 @@ msgstr "" "Das funktioniert nur mit dem OpenGL-Grafik-Backend." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Bildschirmfotoqualität" +msgstr "Schattenfilterqualität" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Maximale Schattenrenderdistanz von Schattenkarten in Blöcken" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Schattenkartentextur in 32 Bits" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Minimale Texturengröße" +msgstr "Schattenkartentexturengröße" #: src/settings_translation_file.cpp msgid "" @@ -6568,7 +6571,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Schattenstärke" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6592,7 +6595,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Show nametag backgrounds by default" -msgstr "Namensschildhintergründe standardmäßig anzeigen" +msgstr "Standardmäßig Hintergründe für Namensschilder anzeigen" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6629,7 +6632,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Himmelskörperorbitneigung" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6690,9 +6693,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Schleichgeschwindigkeit, in Blöcken pro Sekunde." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Schriftschatten-Undurchsichtigkeit" +msgstr "Weicher-Schatten-Radius" #: src/settings_translation_file.cpp msgid "Sound" @@ -6859,6 +6861,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Texturengröße zum Rendern der Schattenkarte.\n" +"Dies muss eine Zweierpotenz sein.\n" +"Größere Werte erzeugen bessere Schatten, aber dies ist auch rechenintensiver." #: src/settings_translation_file.cpp msgid "" @@ -6961,7 +6966,6 @@ msgstr "" "konfiguriert werden." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6970,7 +6974,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Das Renderer-Backend für Irrlicht.\n" +"Das Renderer-Backend.\n" "Ein Neustart ist erforderlich, wenn dies geändert wird.\n" "Anmerkung: Auf Android belassen Sie dies bei OGLES1, wenn Sie sich unsicher " "sind.\n" @@ -7324,9 +7328,8 @@ msgid "Viewing range" msgstr "Sichtweite" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Virtueller Joystick löst Aux-Taste aus" +msgstr "Virtueller Joystick löst Aux1-Taste aus" #: src/settings_translation_file.cpp msgid "Volume" @@ -7430,7 +7433,6 @@ msgstr "" "korrekt unterstützen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7447,10 +7449,8 @@ msgstr "" "die\n" "minimale Texturengröße für die vergrößerten Texturen; höhere Werte führen\n" "zu einem schärferen Aussehen, aber erfordern mehr Speicher. Zweierpotenzen\n" -"werden empfohlen. Ein Wert größer als 1 könnte keinen sichtbaren Effekt\n" -"hervorbringen, es sei denn, der bilineare, trilineare oder anisotropische " -"Filter\n" -"ist aktiviert.\n" +"werden empfohlen. Diese Einstellung trifft NUR dann in Kraft, falls\n" +"der bilineare/trilineare/anisotrope Filter aktiviert ist.\n" "Dies wird außerdem verwendet als die Basisblocktexturengröße für\n" "welt-ausgerichtete automatische Texturenskalierung." @@ -7526,9 +7526,9 @@ msgstr "" "Drücken von F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Breiten-Komponente der anfänglichen Fenstergröße." +msgstr "" +"Breiten-Komponente der anfänglichen Fenstergröße. Im Vollbildmodus ignoriert." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7667,9 +7667,8 @@ msgid "cURL file download timeout" msgstr "cURL-Dateidownload-Zeitüberschreitung" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL-Zeitüberschreitung" +msgstr "cURL-Interaktiv-Zeitüberschreitung" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 5929c8f5ca2ff890d45b3c6e8b011d0cb6df6e62 Mon Sep 17 00:00:00 2001 From: Janar Leas Date: Mon, 28 Jun 2021 10:10:20 +0000 Subject: Translated using Weblate (Estonian) Currently translated at 44.1% (616 of 1396 strings) --- po/et/minetest.po | 217 +++++++++++++++++++++++++----------------------------- 1 file changed, 99 insertions(+), 118 deletions(-) diff --git a/po/et/minetest.po b/po/et/minetest.po index 90801e319..e7291e874 100644 --- a/po/et/minetest.po +++ b/po/et/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Estonian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-03-02 15:50+0000\n" -"Last-Translator: Ayes \n" +"PO-Revision-Date: 2021-06-29 10:33+0000\n" +"Last-Translator: Janar Leas \n" "Language-Team: Estonian \n" "Language: et\n" @@ -12,40 +12,35 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.5\n" +"X-Generator: Weblate 4.7.1-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" msgstr "" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Käsklused" +msgstr "Tühi käsk." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" msgstr "Välju menüüsse" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Kohalik käsk" +msgstr "Väär käsk: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Anti käsklus: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Üksikmäng" +msgstr "Võrgus mängijate loend" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Üksikmäng" +msgstr "Mängijaid võrgus: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -53,7 +48,7 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Võõrustaja piiras selle käsu kasutuse." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,36 +59,33 @@ msgid "You died" msgstr "Said surma" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Said surma" +msgstr "Said otsa." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Kohalik käsk" +msgstr "Võimalikud käsud:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Kohalik käsk" +msgstr "Võimalikud käsud: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Käsk pole saadaval: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Leia abi käskude kohta" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." -msgstr "" +msgstr "'.help ' jagab rohkem teadmisi, ning '.help all' loetleb kõik." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -230,17 +222,19 @@ msgstr "\"$1\" on juba olemas. Kas sa tahad seda üle kirjutada?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "Paigaldatakse sõltuvused $1 ja $2." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 $2 poolt" #: builtin/mainmenu/dlg_contentstore.lua msgid "" "$1 downloading,\n" "$2 queued" msgstr "" +"$1 allalaadimisel,\n" +"$2 ootel" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 downloading..." @@ -248,7 +242,7 @@ msgstr "$1 allalaadimine..." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "$1 vajaliku sõltuvust polnud leida." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." @@ -296,9 +290,8 @@ msgid "Install $1" msgstr "Paigalda $1" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install missing dependencies" -msgstr "Paigalda valikulised sõltuvused" +msgstr "Paigalda puuduvad sõltuvused" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -318,7 +311,6 @@ msgid "No updates" msgstr "Värskendusi pole" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Not found" msgstr "Ei leitud" @@ -332,7 +324,7 @@ msgstr "Palun tee kindlaks et põhi mäng on õige." #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Ootel" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" @@ -785,7 +777,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Teavet" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -808,6 +800,8 @@ msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Kasutaja poolsete maailmate, mängude, mod-de ning tekstuuri pakide\n" +"kausta avamine faili-halduris." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -898,9 +892,8 @@ msgid "No world created or selected!" msgstr "Pole valitud ega loodud ühtegi maailma!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Password" -msgstr "Uus parool" +msgstr "Salasõna" #: builtin/mainmenu/tab_local.lua msgid "Play Game" @@ -927,9 +920,8 @@ msgid "Start Game" msgstr "Alusta mängu" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Aadress: " +msgstr "Aadress" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -945,22 +937,20 @@ msgstr "Looja" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Vigastused" +msgstr "Vigastused mängijatelt" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Pole lemmik" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "On lemmik" +msgstr "Lemmikud" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Ühildumatud Võõrustajad" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -971,18 +961,16 @@ msgid "Ping" msgstr "Viivitus" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Võõrustamise kuulutamine" +msgstr "Avalikud võõrustajad" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Värskenda" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Võõrustaja kanal" +msgstr "Võõrustaja kirjeldus" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1026,11 +1014,11 @@ msgstr "Ühendatud klaas" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Elavad varjud" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Elavad varjud: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1038,15 +1026,15 @@ msgstr "Uhked lehed" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Kõrge" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Madal" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Keskmine" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1101,9 +1089,8 @@ msgid "Shaders" msgstr "Varjutajad" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Shaders (experimental)" -msgstr "Shaderid (eksperimentaalsed)" +msgstr "Shaderid (katselised)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" @@ -1139,11 +1126,11 @@ msgstr "Tri-lineaar filtreerimine" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Ülikõrge" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Vägamadal" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1444,7 +1431,6 @@ msgid "Item definitions..." msgstr "Esemete määratlused..." #: src/client/game.cpp -#, fuzzy msgid "KiB/s" msgstr "KiB/s" @@ -1453,7 +1439,6 @@ msgid "Media..." msgstr "Meedia..." #: src/client/game.cpp -#, fuzzy msgid "MiB/s" msgstr "MiB/s" @@ -1462,9 +1447,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Pisikaardi keelab hetkel mäng või MOD" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Üksikmäng" +msgstr "Hulgimängija" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1500,7 +1484,7 @@ msgstr "" #: src/client/game.cpp msgid "Profiler graph shown" -msgstr "" +msgstr "Koormushinnangu kuvamine" #: src/client/game.cpp msgid "Remote server" @@ -1554,13 +1538,13 @@ msgid "Viewing range is at minimum: %d" msgstr "Vaate kaugus on vähim võimalik: %d" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "Volume changed to %d%%" -msgstr "helitugevus muutetud %d%%-ks" +msgstr "Helitugevus muutus %d%%" #: src/client/game.cpp msgid "Wireframe shown" -msgstr "" +msgstr "Raamvõrgustiku paljastus" #: src/client/game.cpp msgid "Zoom currently disabled by game or mod" @@ -1576,24 +1560,24 @@ msgstr "Vestlus peidetud" #: src/client/gameui.cpp msgid "Chat shown" -msgstr "" +msgstr "Vestluse näitamine" #: src/client/gameui.cpp msgid "HUD hidden" -msgstr "" +msgstr "Liidese peitmine" #: src/client/gameui.cpp msgid "HUD shown" -msgstr "" +msgstr "Liidese näitamine" #: src/client/gameui.cpp msgid "Profiler hidden" -msgstr "" +msgstr "Koormushindaja peitmine" #: src/client/gameui.cpp #, c-format msgid "Profiler shown (page %d of %d)" -msgstr "" +msgstr "Koormushinnang (%d leht %d-st)" #: src/client/keycode.cpp msgid "Apps" @@ -1762,11 +1746,11 @@ msgstr "OEM Tühi" #: src/client/keycode.cpp msgid "Page down" -msgstr "" +msgstr "Lehekülg alla" #: src/client/keycode.cpp msgid "Page up" -msgstr "" +msgstr "Lehekülg üles" #: src/client/keycode.cpp msgid "Pause" @@ -1869,9 +1853,8 @@ msgid "Minimap in surface mode, Zoom x%d" msgstr "Pinnakaart, Suurendus ×%d" #: src/client/minimap.cpp -#, fuzzy msgid "Minimap in texture mode" -msgstr "Pinnakaart, Suurendus ×1" +msgstr "Pisikaart tekstuur-laadis" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1890,15 +1873,19 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" +"Oled esmakordselt liitumas selle võõrustajaga, kandes nime \"%s\".\n" +"Kui jätkad, siis luuakse sellele võõrustajale uus konto sinu volitus " +"andmetega.\n" +"Trüki salasõna uuesti ning klõpsa 'Registreeru ja ühine' konto loomisega " +"nõustumiseks, või 'Loobu' keeldumiseks." #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" msgstr "Jätka" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Eriline\" = roni alla" +msgstr "\"Aux1\" = roni alla" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1910,7 +1897,7 @@ msgstr "Automaatne hüppamine" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1918,7 +1905,7 @@ msgstr "Tagasi" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Klotsi piirid" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -1938,11 +1925,11 @@ msgstr "Konsool" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. range" -msgstr "" +msgstr "Vähenda ulatust" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. volume" -msgstr "" +msgstr "Vähenda valjust" #: src/gui/guiKeyChangeMenu.cpp msgid "Double tap \"jump\" to toggle fly" @@ -1958,7 +1945,7 @@ msgstr "Edasi" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. range" -msgstr "" +msgstr "Suurenda ulatust" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. volume" @@ -1987,16 +1974,14 @@ msgid "Local command" msgstr "Kohalik käsk" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Mute" -msgstr "Summuta" +msgstr "Vaigista" #: src/gui/guiKeyChangeMenu.cpp msgid "Next item" msgstr "Järgmine üksus" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Prev. item" msgstr "Eelmine asi" @@ -2079,7 +2064,6 @@ msgstr "Hääle Volüüm: " #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. #: src/gui/modalMenu.cpp -#, fuzzy msgid "Enter " msgstr "Sisesta " @@ -2095,6 +2079,8 @@ msgid "" "(Android) Fixes the position of virtual joystick.\n" "If disabled, virtual joystick will center to first-touch's position." msgstr "" +"(Android) Parendab virtuaalse juhtkangi asukohta.\n" +"Kui keelatud, siis juhtkangi kese asub esmapuute kohal." #: src/settings_translation_file.cpp msgid "" @@ -2102,6 +2088,8 @@ msgid "" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" +"(Android) Virtuaal-juhtkangi kasutamine \"Aux1\" nupu päästmiseks.\n" +"Kui lubatud, juhtkang päästab ka \"Aux1\" nupu kui läheb väljapoole pearingi." #: src/settings_translation_file.cpp msgid "" @@ -2128,31 +2116,31 @@ msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of ridged mountains." -msgstr "" +msgstr "Kahemõõtmeline müra mis määrab seljandike kuju/suuruse." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of rolling hills." -msgstr "" +msgstr "Kahemõõtmeline müra mis määrab vooremaa kuju/suuruse." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of step mountains." -msgstr "" +msgstr "Kahemõõtmeline müra mis määrab astmikkõrgustike kuju/suuruse." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of ridged mountain ranges." -msgstr "" +msgstr "Kahemõõtmeline müra mis määrab seljandike ala suuruse/ilmingu." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of rolling hills." -msgstr "" +msgstr "Kahemõõtmeline müra mis määrab vooremaa ala suuruse/ilmingu." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of step mountain ranges." -msgstr "" +msgstr "Kahemõõtmeline müra mis määrab astmikkõrgendike ala suuruse/ilmingu." #: src/settings_translation_file.cpp msgid "2D noise that locates the river valleys and channels." -msgstr "" +msgstr "Kahemõõtmeline müra mis paigutab jõeorud ja kanalid." #: src/settings_translation_file.cpp msgid "3D clouds" @@ -2168,7 +2156,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "3D noise defining giant caverns." -msgstr "" +msgstr "Üüratuid koopasaale määratlev kolmemõõtmeline müra." #: src/settings_translation_file.cpp msgid "" @@ -2186,19 +2174,20 @@ msgstr "" #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." -msgstr "" +msgstr "Kanjonjõe järsakkaldaid määratlev kolmemõõtmeline müra." #: src/settings_translation_file.cpp msgid "3D noise defining terrain." -msgstr "" +msgstr "Maastiku määratlev kolmemõõtmeline müra." #: src/settings_translation_file.cpp msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." msgstr "" +"Kolmemõõtmeline müra kaljudele, eenditele, jms. Tavaliselt väikesed erisused." #: src/settings_translation_file.cpp msgid "3D noise that determines number of dungeons per mapchunk." -msgstr "" +msgstr "Kolmemõõtmeline müra, mis määratleb kambristike sageduse kaardijaos." #: src/settings_translation_file.cpp msgid "" @@ -2222,27 +2211,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." -msgstr "" +msgstr "Teade kõigile külalistele, kui võõrustaja kooleb." #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." -msgstr "" +msgstr "Teade kõigile külalistele, kui server kinni läheb." #: src/settings_translation_file.cpp msgid "ABM interval" -msgstr "" +msgstr "ABM sagedus" #: src/settings_translation_file.cpp msgid "ABM time budget" -msgstr "" +msgstr "ABM-i ajakava" #: src/settings_translation_file.cpp msgid "Absolute limit of queued blocks to emerge" -msgstr "" +msgstr "Kõrgeim piirang ilmumist ootavatele klotsiedele" #: src/settings_translation_file.cpp msgid "Acceleration in air" -msgstr "" +msgstr "Kiirendus õhus" #: src/settings_translation_file.cpp msgid "Acceleration of gravity, in nodes per second per second." @@ -2394,9 +2383,8 @@ msgid "Autoscaling mode" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Hüppa" +msgstr "Aux1 võti" #: src/settings_translation_file.cpp msgid "Aux1 key for climbing/descending" @@ -2545,9 +2533,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Vestlus sõnumi väljaviskamis lävi" +msgstr "Vestluskäskluse ajalise sõnumi lävi" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2950,9 +2937,8 @@ msgid "Desynchronize block animation" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dig key" -msgstr "Parem klahv" +msgstr "Kaevuri klahv" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3441,10 +3427,9 @@ msgid "" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and junglegrass, in all other mapgens this flag controls all decorations." msgstr "" -"Üldised maailma-loome omadused.\n" -"Maailma loome v6 puhul lipp 'Ilmestused' ei avalda mõju puudele ja \n" -"tihniku rohule, kõigi teiste versioonide puhul mõjutab see lipp \n" -"kõiki ilmestusi (nt: lilled, seened, vetikad, korallid, jne)." +"Üldised maailma loome omadused.\n" +"Maailma loome v6 puhul lipp 'ilmestused' ei avalda mõju puudele ja \n" +"tihniku rohule, kõigi teistega mõjutab see lipp kõiki ilmestusi." #: src/settings_translation_file.cpp msgid "" @@ -5308,9 +5293,8 @@ msgid "Pitch move mode" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Place key" -msgstr "Kõrvale astumise klahv" +msgstr "Asetamis klahv" #: src/settings_translation_file.cpp msgid "Place repetition interval" @@ -5335,9 +5319,8 @@ msgid "Player versus player" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bilineaarne filtreerimine" +msgstr "Poissoni filtreerimine" #: src/settings_translation_file.cpp msgid "" @@ -5745,9 +5728,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Kuvapildi tase" +msgstr "Varju filtreerimis aste" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" @@ -6623,9 +6605,8 @@ msgid "cURL file download timeout" msgstr "cURL faili allalaadimine aegus" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL aegus" +msgstr "cURL-i interaktiivne aegumine" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 60d6be1329df761b651279295874ac1f8a0c246d Mon Sep 17 00:00:00 2001 From: Чтабс Date: Sun, 27 Jun 2021 09:57:17 +0000 Subject: Translated using Weblate (Russian) Currently translated at 95.4% (1333 of 1396 strings) --- po/ru/minetest.po | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index cb00d28ef..db6b1324b 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-05-03 07:32+0000\n" -"Last-Translator: Andrei Stepanov \n" +"PO-Revision-Date: 2021-06-29 10:33+0000\n" +"Last-Translator: Чтабс \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.7.1-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -21,9 +21,8 @@ msgid "Clear the out chat queue" msgstr "Максимальный размер очереди исходящих сообщений" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Команды в чате" +msgstr "Пустая команда." #: builtin/client/chatcommands.lua #, fuzzy @@ -31,23 +30,20 @@ msgid "Exit to main menu" msgstr "Выход в меню" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Локальная команда" +msgstr "Неверная команда: " #: builtin/client/chatcommands.lua msgid "Issued command: " msgstr "" #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Одиночная игра" +msgstr "Список онлайн игроков" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Одиночная игра" +msgstr "Онлайн игроки: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -55,7 +51,7 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Эта команда отключена сервером." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -66,32 +62,31 @@ msgid "You died" msgstr "Вы умерли" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Вы умерли" +msgstr "Ты умер." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Локальная команда" +msgstr "Доступные команды:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Локальная команда" +msgstr "Доступные команды: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Команда недоступна: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Получить справку по командам" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Используйте '.help ' для получения дополнительной информации, или " +"'.help all' для перечисления всего списка." #: builtin/common/chatcommands.lua msgid "[all | ]" -- cgit v1.2.3 From 58170e36ef23ece585e07fcbef72ed57fea2a8ec Mon Sep 17 00:00:00 2001 From: ResuUman Date: Tue, 29 Jun 2021 18:22:57 +0000 Subject: Translated using Weblate (Polish) Currently translated at 68.7% (960 of 1396 strings) --- po/pl/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 586c83d0c..5b6dcb84a 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-03-28 20:29+0000\n" +"PO-Revision-Date: 2021-06-29 18:23+0000\n" "Last-Translator: ResuUman \n" "Language-Team: Polish \n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.7.1-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -545,7 +545,7 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "" +msgstr "Biocenozy klimatu umiakowanego, pustynie, dżungla, taiga i tundra." #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From d3fab295ad11e471f1f55bca5c50d2133ecebf8b Mon Sep 17 00:00:00 2001 From: Mateusz Mendel Date: Tue, 29 Jun 2021 18:22:41 +0000 Subject: Translated using Weblate (Polish) Currently translated at 68.7% (960 of 1396 strings) --- po/pl/minetest.po | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 5b6dcb84a..efed37ca8 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-06-29 18:23+0000\n" -"Last-Translator: ResuUman \n" +"Last-Translator: Mateusz Mendel \n" "Language-Team: Polish \n" "Language: pl\n" @@ -36,8 +36,9 @@ msgid "Invalid command: " msgstr "Lokalne polecenie" #: builtin/client/chatcommands.lua +#, fuzzy msgid "Issued command: " -msgstr "" +msgstr "Wydane komenda: " #: builtin/client/chatcommands.lua #, fuzzy @@ -50,12 +51,14 @@ msgid "Online players: " msgstr "Pojedynczy gracz" #: builtin/client/chatcommands.lua +#, fuzzy msgid "The out chat queue is now empty." -msgstr "" +msgstr "Kolejka czatu jest teraz pusta." #: builtin/client/chatcommands.lua +#, fuzzy msgid "This command is disabled by server." -msgstr "" +msgstr "Ta komenda jest dezaktywowana przez serwer." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -81,21 +84,27 @@ msgid "Available commands: " msgstr "Lokalne polecenie" #: builtin/common/chatcommands.lua +#, fuzzy msgid "Command not available: " -msgstr "" +msgstr "Komenda nie jest dostępna: " #: builtin/common/chatcommands.lua +#, fuzzy msgid "Get help for commands" -msgstr "" +msgstr "Uzyskaj pomoc dotyczącą komend" #: builtin/common/chatcommands.lua +#, fuzzy msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Użyj '.help ' aby uzyskać więcej informacji lub '.help all' aby " +"wyświetlić wszystko." #: builtin/common/chatcommands.lua +#, fuzzy msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -486,8 +495,9 @@ msgid "Mountains" msgstr "Góry" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Mud flow" -msgstr "" +msgstr "Strumień błota" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" @@ -511,8 +521,9 @@ msgid "Rivers" msgstr "Rozmiar rzeki" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Sea level rivers" -msgstr "" +msgstr "Rzeki na poziomie morza" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -532,16 +543,19 @@ msgstr "" "dżungli stworzone przez v6)" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Structures appearing on the terrain, typically trees and plants" -msgstr "" +msgstr "Struktury pojawiające się na terenie, zazwyczaj drzewa i rośliny" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Temperate, Desert" -msgstr "" +msgstr "Umiarkowany, pustynny" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Temperate, Desert, Jungle" -msgstr "" +msgstr "Umiarkowany, pustynny, dżunglowy" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -- cgit v1.2.3 From c0b977bf32cc96fe619153ddd8e0b093ddb8b739 Mon Sep 17 00:00:00 2001 From: ResuUman Date: Tue, 29 Jun 2021 18:24:19 +0000 Subject: Translated using Weblate (Polish) Currently translated at 68.7% (960 of 1396 strings) --- po/pl/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index efed37ca8..8eb3f0323 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-29 18:23+0000\n" -"Last-Translator: Mateusz Mendel \n" +"PO-Revision-Date: 2021-06-29 18:24+0000\n" +"Last-Translator: ResuUman \n" "Language-Team: Polish \n" "Language: pl\n" @@ -568,7 +568,7 @@ msgstr "Szum podłoża" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -msgstr "" +msgstr "Drzewa i trawa w dżungli." #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From 0fc3684613ee8b65f3c0dab3ffc2c35be074cc4d Mon Sep 17 00:00:00 2001 From: Mateusz Mendel Date: Tue, 29 Jun 2021 18:24:02 +0000 Subject: Translated using Weblate (Polish) Currently translated at 68.7% (960 of 1396 strings) --- po/pl/minetest.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 8eb3f0323..bc880caa6 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-06-29 18:24+0000\n" -"Last-Translator: ResuUman \n" +"Last-Translator: Mateusz Mendel \n" "Language-Team: Polish \n" "Language: pl\n" @@ -550,16 +550,17 @@ msgstr "Struktury pojawiające się na terenie, zazwyczaj drzewa i rośliny" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy msgid "Temperate, Desert" -msgstr "Umiarkowany, pustynny" +msgstr "Biocenozy klimatu umiarkowanego, pustynie" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy msgid "Temperate, Desert, Jungle" -msgstr "Umiarkowany, pustynny, dżunglowy" +msgstr "Biocenozy klimatu umiarkowanego, pustynie i dżungle" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "Biocenozy klimatu umiakowanego, pustynie, dżungla, taiga i tundra." +msgstr "Biocenozy klimatu umiarkowanego, pustynie, dżungla, tajga i tundra" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From 9da60be08e37039b3afe49aa9413edb3c65e4f43 Mon Sep 17 00:00:00 2001 From: ResuUman Date: Tue, 29 Jun 2021 18:24:33 +0000 Subject: Translated using Weblate (Polish) Currently translated at 68.7% (960 of 1396 strings) --- po/pl/minetest.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index bc880caa6..6680ab86a 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-06-29 18:24+0000\n" -"Last-Translator: Mateusz Mendel \n" +"Last-Translator: ResuUman \n" "Language-Team: Polish \n" "Language: pl\n" @@ -578,7 +578,7 @@ msgstr "Głębokość rzeki" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" -msgstr "" +msgstr "Ogromne jaskinie na dużych głębokościach." #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From 8ac17b877ae2657d447d9b7e45a55b4fa89e795e Mon Sep 17 00:00:00 2001 From: Mateusz Mendel Date: Tue, 29 Jun 2021 18:24:27 +0000 Subject: Translated using Weblate (Polish) Currently translated at 68.7% (960 of 1396 strings) --- po/pl/minetest.po | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 6680ab86a..aae4f0499 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-06-29 18:24+0000\n" -"Last-Translator: ResuUman \n" +"Last-Translator: Mateusz Mendel \n" "Language-Team: Polish \n" "Language: pl\n" @@ -568,8 +568,9 @@ msgid "Terrain surface erosion" msgstr "Szum podłoża" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Trees and jungle grass" -msgstr "Drzewa i trawa w dżungli." +msgstr "Drzewa i trawa w dżungli" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From f5ab059c0f9e4ac5661dbdedc860673a4cb81d58 Mon Sep 17 00:00:00 2001 From: ResuUman Date: Wed, 30 Jun 2021 17:24:15 +0000 Subject: Translated using Weblate (Polish) Currently translated at 70.3% (982 of 1396 strings) --- po/pl/minetest.po | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index aae4f0499..23d0e5069 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-29 18:24+0000\n" -"Last-Translator: Mateusz Mendel \n" +"PO-Revision-Date: 2021-06-30 17:24+0000\n" +"Last-Translator: ResuUman \n" "Language-Team: Polish \n" "Language: pl\n" @@ -563,9 +563,8 @@ msgid "Temperate, Desert, Jungle, Tundra, Taiga" msgstr "Biocenozy klimatu umiarkowanego, pustynie, dżungla, tajga i tundra" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Terrain surface erosion" -msgstr "Szum podłoża" +msgstr "Erozja powierzchni terenu." #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From 1556e7eb09a96324912644709ed647ca7d81f495 Mon Sep 17 00:00:00 2001 From: Mateusz Mendel Date: Wed, 30 Jun 2021 17:23:12 +0000 Subject: Translated using Weblate (Polish) Currently translated at 70.3% (982 of 1396 strings) --- po/pl/minetest.po | 189 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 121 insertions(+), 68 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 23d0e5069..867e9953f 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-06-30 17:24+0000\n" -"Last-Translator: ResuUman \n" +"Last-Translator: Mateusz Mendel \n" "Language-Team: Polish \n" "Language: pl\n" @@ -18,40 +18,36 @@ msgstr "" #: builtin/client/chatcommands.lua #, fuzzy msgid "Clear the out chat queue" -msgstr "Maksymalny rozmiar kolejki wiadomości czatu" +msgstr "Wyczyść kolejkę wiadomości czatu" #: builtin/client/chatcommands.lua #, fuzzy msgid "Empty command." -msgstr "Komenda" +msgstr "Puste komenda." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" msgstr "Wyjście do menu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Lokalne polecenie" +msgstr "Błędna komenda: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "Issued command: " -msgstr "Wydane komenda: " +msgstr "Wydana komenda: " #: builtin/client/chatcommands.lua #, fuzzy msgid "List online players" -msgstr "Pojedynczy gracz" +msgstr "Lista graczy sieciowych" #: builtin/client/chatcommands.lua #, fuzzy msgid "Online players: " -msgstr "Pojedynczy gracz" +msgstr "Gracze sieciowi: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "The out chat queue is now empty." msgstr "Kolejka czatu jest teraz pusta." @@ -69,19 +65,18 @@ msgid "You died" msgstr "Umarłeś" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Umarłeś" +msgstr "Umarłeś." #: builtin/common/chatcommands.lua #, fuzzy msgid "Available commands:" -msgstr "Lokalne polecenie" +msgstr "Dostępne komendy:" #: builtin/common/chatcommands.lua #, fuzzy msgid "Available commands: " -msgstr "Lokalne polecenie" +msgstr "Dostępne komendy: " #: builtin/common/chatcommands.lua #, fuzzy @@ -260,14 +255,12 @@ msgstr "" "$2 w kolejce" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 downloading..." -msgstr "Ładowanie..." +msgstr "Pobieranie $1..." #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 required dependencies could not be found." -msgstr "$1 wymaga zależności, których nie można znaleźć." +msgstr "$1 wymaga zależności, które nie zostały znalezione." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." @@ -278,9 +271,8 @@ msgid "All packages" msgstr "Wszystkie zasoby" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Already installed" -msgstr "Klawisz już zdefiniowany" +msgstr "Już zainstalowany" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" @@ -295,9 +287,8 @@ msgid "ContentDB is not available when Minetest was compiled without cURL" msgstr "ContentDB nie jest dostępne gdy Minetest był zbudowany bez cURL" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Downloading..." -msgstr "Ładowanie..." +msgstr "Pobieranie..." #: builtin/mainmenu/dlg_contentstore.lua msgid "Failed to download $1" @@ -313,9 +304,8 @@ msgid "Install" msgstr "Instaluj" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install $1" -msgstr "Instaluj" +msgstr "Zainstaluj $1" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install missing dependencies" @@ -335,14 +325,12 @@ msgid "No results" msgstr "Brak Wyników" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "No updates" -msgstr "Aktualizacja" +msgstr "Brak aktualizacji" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Not found" -msgstr "Wycisz dźwięk" +msgstr "Nie znaleziono" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" @@ -385,7 +373,6 @@ msgid "Additional terrain" msgstr "Dodatkowy teren" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -#, fuzzy msgid "Altitude chill" msgstr "Wysokość mrozu" @@ -394,24 +381,20 @@ msgid "Altitude dry" msgstr "Wysokość suchości" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biome blending" -msgstr "Szum biomu" +msgstr "Mieszanie biomów" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biomes" -msgstr "Szum biomu" +msgstr "Biomy" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caverns" -msgstr "Szum jaskini #1" +msgstr "jaskinie" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caves" -msgstr "Oktawy" +msgstr "Jaskinie" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" @@ -438,9 +421,8 @@ msgid "Flat terrain" msgstr "Płaski teren" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Floating landmasses in the sky" -msgstr "Gęstość gór na latających wyspach" +msgstr "Masywy lądowe unoszące się na niebie" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" @@ -459,9 +441,8 @@ msgid "Hills" msgstr "Wzgórza" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Humid rivers" -msgstr "Sterownik graficzny" +msgstr "Wilgotne rzeki" #: builtin/mainmenu/dlg_create_world.lua msgid "Increases humidity around rivers" @@ -486,9 +467,8 @@ msgid "Mapgen flags" msgstr "Flagi generatora mapy" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Mapgen-specific flags" -msgstr "Generator mapy flat flagi" +msgstr "Flagi specyficzne dla Mapgena" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" @@ -516,12 +496,10 @@ msgid "Reduces humidity with altitude" msgstr "Spadek wilgotności wraz ze wzrostem wysokości" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Rivers" -msgstr "Rozmiar rzeki" +msgstr "Rzeki" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Sea level rivers" msgstr "Rzeki na poziomie morza" @@ -577,8 +555,9 @@ msgid "Vary river depth" msgstr "Głębokość rzeki" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Very large caverns deep in the underground" -msgstr "Ogromne jaskinie na dużych głębokościach." +msgstr "Ogromne jaskinie na dużych głębokościach" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy @@ -828,8 +807,9 @@ msgstr "" "z siecią Internet." #: builtin/mainmenu/tab_about.lua +#, fuzzy msgid "About" -msgstr "" +msgstr "O grze" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -850,10 +830,14 @@ msgid "Open User Data Directory" msgstr "Wybierz katalog" #: builtin/mainmenu/tab_about.lua +#, fuzzy msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Otwiera katalog, który zawiera światy, gry, mody i tekstury dostarczone " +"przez użytkownika \n" +"oraz pakiety tekstur w menedżerze plików / eksploratorze." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -928,12 +912,14 @@ msgid "Host Server" msgstr "Udostępnij serwer" #: builtin/mainmenu/tab_local.lua +#, fuzzy msgid "Install games from ContentDB" -msgstr "" +msgstr "Instaluj gry z ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +#, fuzzy msgid "Name" -msgstr "" +msgstr "Nazwa" #: builtin/mainmenu/tab_local.lua msgid "New" @@ -1005,8 +991,9 @@ msgid "Favorites" msgstr "Ulubione" #: builtin/mainmenu/tab_online.lua +#, fuzzy msgid "Incompatible Servers" -msgstr "" +msgstr "Niekompatybilne serwery" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -1022,8 +1009,9 @@ msgid "Public Servers" msgstr "Rozgłoś serwer" #: builtin/mainmenu/tab_online.lua +#, fuzzy msgid "Refresh" -msgstr "" +msgstr "Odśwież" #: builtin/mainmenu/tab_online.lua #, fuzzy @@ -1076,24 +1064,28 @@ msgid "Dynamic shadows" msgstr "Cień czcionki" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Dynamic shadows: " -msgstr "" +msgstr "Cienie dynamiczne: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" msgstr "Ozdobne liście" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "High" -msgstr "" +msgstr "Wysokie" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Low" -msgstr "" +msgstr "Niskie" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Medium" -msgstr "" +msgstr "Średnie" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1185,12 +1177,14 @@ msgid "Trilinear Filter" msgstr "Filtrowanie trójliniowe" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Ultra High" -msgstr "" +msgstr "Bardzo wysokie" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Very Low" -msgstr "" +msgstr "Bardzo niskie" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1572,12 +1566,14 @@ msgid "Sound muted" msgstr "Głośność wyciszona" #: src/client/game.cpp +#, fuzzy msgid "Sound system is disabled" -msgstr "" +msgstr "System dźwiękowy jest wyłączony" #: src/client/game.cpp +#, fuzzy msgid "Sound system is not supported on this build" -msgstr "" +msgstr "System dźwiękowy nie jest obsługiwany w tej kompilacji" #: src/client/game.cpp msgid "Sound unmuted" @@ -1959,16 +1955,18 @@ msgid "Automatic jumping" msgstr "Automatyczne skoki" #: src/gui/guiKeyChangeMenu.cpp +#, fuzzy msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" msgstr "Tył" #: src/gui/guiKeyChangeMenu.cpp +#, fuzzy msgid "Block bounds" -msgstr "" +msgstr "Granice bloków" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2251,12 +2249,18 @@ msgstr "" "Określa również strukturę wznoszącego się terenu górzystego." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "3D noise defining structure of floatlands.\n" "If altered from the default, the noise 'scale' (0.7 by default) may need\n" "to be adjusted, as floatland tapering functions best when this noise has\n" "a value range of approximately -2.0 to 2.0." msgstr "" +"Szum 3D określający strukturę terenów pływających.\n" +"Jeśli wartość domyślna zostanie zmieniona, konieczne będzie dostosowanie " +"\"skali\" szumu (domyślnie 0,7), \n" +"ponieważ zwężanie terenów pływających działa najlepiej, \n" +"gdy wartość szumu jest z zakresu od około -2,0 do 2,0." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2324,8 +2328,9 @@ msgid "ABM interval" msgstr "Interwał zapisu mapy" #: src/settings_translation_file.cpp +#, fuzzy msgid "ABM time budget" -msgstr "" +msgstr "Budżet czasowy ABM" #: src/settings_translation_file.cpp #, fuzzy @@ -2379,7 +2384,7 @@ msgstr "" "ekranów 4k." #: src/settings_translation_file.cpp -#, c-format +#, c-format, fuzzy msgid "" "Adjusts the density of the floatland layer.\n" "Increase value to increase density. Can be positive or negative.\n" @@ -2387,6 +2392,12 @@ msgid "" "Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" "to be sure) creates a solid floatland layer." msgstr "" +"Dostosowuje gęstość warstwy pływających wysp.\n" +"Aby zwiększyć gęstość, ustaw wyższą wartość. Może być dodatnia lub ujemna.\n" +"Wartość = 0,0: 50% objętości to pływająca wyspa.\n" +"Wartość = 2,0 (może być wyższa w zależności od 'mgv7_np_floatland', aby mieć " +"pewność,\n" +"zawsze sprawdzaj) tworzy stałą warstwę pływającej wyspy." #: src/settings_translation_file.cpp msgid "Advanced" @@ -2665,10 +2676,13 @@ msgid "Cavern upper limit" msgstr "Szerokość jaskini" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Center of light curve boost range.\n" "Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" +"Środek zakresu wzmocnienia krzywej światła.\n" +"0,0 to minimalny poziom światła, 1,0 to maksymalny poziom światła." #: src/settings_translation_file.cpp #, fuzzy @@ -2783,6 +2797,7 @@ msgid "Colored shadows" msgstr "Kolorowa mgła" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Comma-separated list of flags to hide in the content repository.\n" "\"nonfree\" can be used to hide packages which do not qualify as 'free " @@ -2792,6 +2807,13 @@ msgid "" "These flags are independent from Minetest versions,\n" "so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" +"Oddzielona przecinkami lista flag do ukrycia w repozytorium zawartości.\n" +"\"nonfree\" mogą być używane do ukrywania pakietów, które nie kwalifikują " +"się jako \"wolne oprogramowanie\",\n" +"zgodnie z definicją Fundacji Wolnego Oprogramowania.\n" +"Można również określić klasyfikacje zawartości.\n" +"Flagi te są niezależne od wersji Minetesta zobacz, więc pełną listę na " +"stronie https://content.minetest.net/help/content_flags/" #: src/settings_translation_file.cpp msgid "" @@ -2842,8 +2864,9 @@ msgid "ContentDB Flag Blacklist" msgstr "Flaga czarnej listy ContentDB" #: src/settings_translation_file.cpp +#, fuzzy msgid "ContentDB Max Concurrent Downloads" -msgstr "" +msgstr "Maksymalna liczba jednoczesnych pobrań ContentDB" #: src/settings_translation_file.cpp #, fuzzy @@ -2892,11 +2915,15 @@ msgid "Controls steepness/height of hills." msgstr "Kontroluje stromość/wysokość gór." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Controls width of tunnels, a smaller value creates wider tunnels.\n" "Value >= 10.0 completely disables generation of tunnels and avoids the\n" "intensive noise calculations." msgstr "" +"Wpływa na szerokość tuneli, mniejsza wartość tworzy szersze tunele.\n" +"Wartość >= 10,0 całkowicie wyłącza tworzenie tuneli i pozwala na uniknięcie\n" +"intensywnych obliczeń hałasu." #: src/settings_translation_file.cpp msgid "Crash message" @@ -2924,10 +2951,13 @@ msgid "Crosshair color" msgstr "Kolor celownika" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" +"Kolor celownika (R, G,B).\n" +"Wpływa również na kolor celownika" #: src/settings_translation_file.cpp msgid "DPI" @@ -2997,11 +3027,15 @@ msgid "Default stack size" msgstr "Domyślna gra" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Define shadow filtering quality\n" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Określa jakość filtrowania cieni\n" +"Symuluje to efekt miękkich cieni, stosując dysk PCF lub poisson\n" +"ale także zużywa więcej zasobów." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3034,8 +3068,9 @@ msgid "Defines location and terrain of optional hills and lakes." msgstr "Określa położenie oraz teren z dodatkowymi górami i jeziorami." #: src/settings_translation_file.cpp +#, fuzzy msgid "Defines the base ground level." -msgstr "" +msgstr "Określa podstawowy poziom podłoża." #: src/settings_translation_file.cpp #, fuzzy @@ -3162,8 +3197,9 @@ msgid "Dungeon minimum Y" msgstr "Minimalna wartość Y lochu" #: src/settings_translation_file.cpp +#, fuzzy msgid "Dungeon noise" -msgstr "" +msgstr "Hałas lochu" #: src/settings_translation_file.cpp msgid "" @@ -3182,10 +3218,14 @@ msgstr "" "To wsparcie jest eksperymentalne i API może ulec zmianie." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Włącza kolorowe cienie. \n" +"Na rzeczywistych półprzezroczystych węzłach rzuca kolorowe cienie. To " +"kosztowne." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3213,11 +3253,15 @@ msgid "Enable players getting damage and dying." msgstr "Włącz obrażenia i umieranie graczy." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Enable poisson disk filtering.\n" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Włącz filtrowanie dysku poisson.\n" +"Jeśli włączone, to używa dysku poisson do \"miękkich cieni\". W przeciwnym " +"razie używa filtrowania PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3229,10 +3273,13 @@ msgid "Enable register confirmation" msgstr "Włącz potwierdzanie rejestracji" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" +"Włącz potwierdzanie rejestracji podczas łączenia się z serwerem.\n" +"Jeśli wyłączone, to nowe konto zostanie zarejestrowane automatycznie." #: src/settings_translation_file.cpp msgid "" @@ -3317,12 +3364,18 @@ msgid "Enables minimap." msgstr "Włącz minimapę." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Enables the sound system.\n" "If disabled, this completely disables all sounds everywhere and the in-game\n" "sound controls will be non-functional.\n" "Changing this setting requires a restart." msgstr "" +"Włącza dźwięk.\n" +"Jeśli wyłączone, całkowicie wyłącza wszystkie dźwięki wszędzie oraz " +"sterowanie dźwiękiem \n" +"w grze nie będzie działać.\n" +"Zmiana tego ustawienia wymaga ponownego uruchomienia." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" -- cgit v1.2.3 From 9ca08800e160a4ea6563faa2f34610bf10cc50de Mon Sep 17 00:00:00 2001 From: ResuUman Date: Wed, 30 Jun 2021 17:24:43 +0000 Subject: Translated using Weblate (Polish) Currently translated at 70.3% (982 of 1396 strings) --- po/pl/minetest.po | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 867e9953f..403fa7f39 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-06-30 17:24+0000\n" -"Last-Translator: Mateusz Mendel \n" +"Last-Translator: ResuUman \n" "Language-Team: Polish \n" "Language: pl\n" @@ -550,9 +550,8 @@ msgid "Trees and jungle grass" msgstr "Drzewa i trawa w dżungli" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Vary river depth" -msgstr "Głębokość rzeki" +msgstr "Zmienna głębokość rzeki." #: builtin/mainmenu/dlg_create_world.lua #, fuzzy -- cgit v1.2.3 From 3dbf52a871b3af19bc3f4d1d376e872888d70269 Mon Sep 17 00:00:00 2001 From: Mateusz Mendel Date: Wed, 30 Jun 2021 17:24:22 +0000 Subject: Translated using Weblate (Polish) Currently translated at 70.3% (982 of 1396 strings) --- po/pl/minetest.po | 190 ++++++++++++++++++++++++++---------------------------- 1 file changed, 90 insertions(+), 100 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 403fa7f39..6e3b8f3b8 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-30 17:24+0000\n" -"Last-Translator: ResuUman \n" +"PO-Revision-Date: 2021-07-01 18:33+0000\n" +"Last-Translator: Mateusz Mendel \n" "Language-Team: Polish \n" "Language: pl\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7.1-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -541,8 +541,9 @@ msgid "Temperate, Desert, Jungle, Tundra, Taiga" msgstr "Biocenozy klimatu umiarkowanego, pustynie, dżungla, tajga i tundra" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Terrain surface erosion" -msgstr "Erozja powierzchni terenu." +msgstr "Erozja powierzchni terenu" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy @@ -550,8 +551,9 @@ msgid "Trees and jungle grass" msgstr "Drzewa i trawa w dżungli" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Vary river depth" -msgstr "Zmienna głębokość rzeki." +msgstr "Zmienna głębokość rzeki" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy @@ -561,8 +563,7 @@ msgstr "Ogromne jaskinie na dużych głębokościach" #: builtin/mainmenu/dlg_create_world.lua #, fuzzy msgid "Warning: The Development Test is meant for developers." -msgstr "" -"Uwaga: Minimal development test jest przeznaczony tylko dla developerów." +msgstr "Ostrzeżenie: test rozwojowy jest przeznaczony dla programistów." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" @@ -797,7 +798,7 @@ msgstr "Ładowanie..." #: builtin/mainmenu/serverlistmgr.lua #, fuzzy msgid "Public server list is disabled" -msgstr "Skryptowanie po stronie klienta jest wyłączone" +msgstr "Lista serwerów publicznych jest wyłączona" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -817,7 +818,7 @@ msgstr "Aktywni współautorzy" #: builtin/mainmenu/tab_about.lua #, fuzzy msgid "Active renderer:" -msgstr "Zasięg wysyłania aktywnego obiektu" +msgstr "Aktywny moduł renderowania:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -826,7 +827,7 @@ msgstr "Twórcy" #: builtin/mainmenu/tab_about.lua #, fuzzy msgid "Open User Data Directory" -msgstr "Wybierz katalog" +msgstr "Otwórz katalog danych użytkownika" #: builtin/mainmenu/tab_about.lua #, fuzzy @@ -835,7 +836,7 @@ msgid "" "and texture packs in a file manager / explorer." msgstr "" "Otwiera katalog, który zawiera światy, gry, mody i tekstury dostarczone " -"przez użytkownika \n" +"przez użytkownika\n" "oraz pakiety tekstur w menedżerze plików / eksploratorze." #: builtin/mainmenu/tab_about.lua @@ -931,7 +932,7 @@ msgstr "Nie wybrano bądź nie utworzono świata!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua #, fuzzy msgid "Password" -msgstr "Nowe hasło" +msgstr "Hasło" #: builtin/mainmenu/tab_local.lua msgid "Play Game" @@ -958,9 +959,8 @@ msgid "Start Game" msgstr "Rozpocznij grę" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "Adres " +msgstr "Adres" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -978,7 +978,7 @@ msgstr "Tryb kreatywny" #: builtin/mainmenu/tab_online.lua #, fuzzy msgid "Damage / PvP" -msgstr "Włącz obrażenia" +msgstr "Włącz obrażenia/ PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" @@ -1005,7 +1005,7 @@ msgstr "Ping" #: builtin/mainmenu/tab_online.lua #, fuzzy msgid "Public Servers" -msgstr "Rozgłoś serwer" +msgstr "Publiczne serwery" #: builtin/mainmenu/tab_online.lua #, fuzzy @@ -1013,7 +1013,6 @@ msgid "Refresh" msgstr "Odśwież" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Opis serwera" @@ -1060,7 +1059,7 @@ msgstr "Szkło połączone" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp #, fuzzy msgid "Dynamic shadows" -msgstr "Cień czcionki" +msgstr "Cienie dynamiczne" #: builtin/mainmenu/tab_settings.lua #, fuzzy @@ -1141,7 +1140,7 @@ msgstr "Shadery" #: builtin/mainmenu/tab_settings.lua #, fuzzy msgid "Shaders (experimental)" -msgstr "Latające wyspy (eksperymentalne)" +msgstr "Shadery (eksperymentalne)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" @@ -1366,8 +1365,6 @@ msgstr "" "- %s: upuść przedmiot↵\n" "- %s: otwórz ekwipunek↵\n" "- Mysz: obróć się/patrz↵\n" -"- Lewy przycisk myszy: kop/uderz↵\n" -"- Prawy przycisk myszy: postaw/użyj↵\n" "- Rolka myszy: wybierz przedmiot↵\n" "- %s: czatuj↵\n" @@ -1502,7 +1499,7 @@ msgstr "Minimapa aktualnie wyłączona przez grę lub mod" #: src/client/game.cpp #, fuzzy msgid "Multiplayer" -msgstr "Pojedynczy gracz" +msgstr "Gra wieloosobowa" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1911,7 +1908,7 @@ msgstr "Minimapa w trybie powierzchniowym, powiększenie x%d" #: src/client/minimap.cpp #, fuzzy msgid "Minimap in texture mode" -msgstr "Minimalna wielkość tekstury dla filtrów" +msgstr "Minimapa w trybie teksturowym" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1943,7 +1940,7 @@ msgstr "Kontynuuj" #: src/gui/guiKeyChangeMenu.cpp #, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Specjalny\" = wspinaj się" +msgstr "\"Specjalny\" = schodź" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -2088,7 +2085,7 @@ msgstr "Przełącz tryb noclip" #: src/gui/guiKeyChangeMenu.cpp #, fuzzy msgid "Toggle pitchmove" -msgstr "Przełącz historię czatu" +msgstr "Przełączanie przemieszczania" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" @@ -2151,8 +2148,8 @@ msgid "" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Użyj wirtualnego joysticka, aby zaaktywować przycisk \"aux\".\n" -"Gdy włączone, wirtualny joystick również naciśnie przycisk \"aux\", gdy " +"(Android) Użyj wirtualnego joysticka, aby aktywować przycisk \"aux\".\n" +"Gdy włączone to wirtualny joystick również naciśnie przycisk \"aux\", gdy " "znajduje się poza głównym okręgiem." #: src/settings_translation_file.cpp @@ -2220,7 +2217,7 @@ msgstr "Szum 2D, który wpływa na rozmiar/ występowanie stepów górskich." #: src/settings_translation_file.cpp #, fuzzy msgid "2D noise that locates the river valleys and channels." -msgstr "Szum 2D, który wpływa na kształt/rozmiar zaokrąglonych wzgórz." +msgstr "Szum 2D, który wpływa na doliny i kanały rzeczne." #: src/settings_translation_file.cpp msgid "3D clouds" @@ -2233,7 +2230,7 @@ msgstr "Modele 3D" #: src/settings_translation_file.cpp #, fuzzy msgid "3D mode parallax strength" -msgstr "Siła map normlanych" +msgstr "Siła paralaksy w trybie 3D" #: src/settings_translation_file.cpp msgid "3D noise defining giant caverns." @@ -2324,7 +2321,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy msgid "ABM interval" -msgstr "Interwał zapisu mapy" +msgstr "Interwał ABM" #: src/settings_translation_file.cpp #, fuzzy @@ -2334,7 +2331,7 @@ msgstr "Budżet czasowy ABM" #: src/settings_translation_file.cpp #, fuzzy msgid "Absolute limit of queued blocks to emerge" -msgstr "Bezwzględny limit kolejki" +msgstr "Bezwzględny limit kolejki pojawiających się bloków" #: src/settings_translation_file.cpp msgid "Acceleration in air" @@ -2498,7 +2495,6 @@ msgstr "" "Zapisane w blokach mapy (16 bloków)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatic forward key" msgstr "Klawisz automatycznego poruszania się do przodu" @@ -2521,12 +2517,12 @@ msgstr "Tryb automatycznego skalowania" #: src/settings_translation_file.cpp #, fuzzy msgid "Aux1 key" -msgstr "Skok" +msgstr "Klawisz Aux1" #: src/settings_translation_file.cpp #, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Klawisz używany do wspinania" +msgstr "Klawisz Aux1 używany do wspinania/schodzenia" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2579,12 +2575,12 @@ msgstr "Dystans optymalizacji wysyłanych bloków" #: src/settings_translation_file.cpp #, fuzzy msgid "Bold and italic font path" -msgstr "Ścieżka czcionki typu Monospace" +msgstr "Ścieżka pogrubionej czcionki oraz kursywy" #: src/settings_translation_file.cpp #, fuzzy msgid "Bold and italic monospace font path" -msgstr "Ścieżka czcionki typu Monospace" +msgstr "Ścieżka pogrubionej czcionki oraz kursywy typu Monospace" #: src/settings_translation_file.cpp msgid "Bold font path" @@ -2672,7 +2668,7 @@ msgstr "Próg groty" #: src/settings_translation_file.cpp #, fuzzy msgid "Cavern upper limit" -msgstr "Szerokość jaskini" +msgstr "Górna granica jaskiń" #: src/settings_translation_file.cpp #, fuzzy @@ -2686,10 +2682,9 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy msgid "Chat command time message threshold" -msgstr "Próg wiadomości wyrzucenia z czatu" +msgstr "Limit czasu komendy czatu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat font size" msgstr "Rozmiar czcionki" @@ -2700,17 +2695,17 @@ msgstr "Klawisz czatu" #: src/settings_translation_file.cpp #, fuzzy msgid "Chat log level" -msgstr "Poziom logowania debugowania" +msgstr "Poziom dziennika czatu" #: src/settings_translation_file.cpp #, fuzzy msgid "Chat message count limit" -msgstr "Komunikat o stanie połączenia" +msgstr "Limit liczby wiadomości na czacie" #: src/settings_translation_file.cpp #, fuzzy msgid "Chat message format" -msgstr "Maksymalna długość wiadomości na czacie" +msgstr "Format wiadomości czatu" #: src/settings_translation_file.cpp msgid "Chat message kick threshold" @@ -2759,7 +2754,7 @@ msgstr "Modyfikacja klienta" #: src/settings_translation_file.cpp #, fuzzy msgid "Client side modding restrictions" -msgstr "Modyfikacja klienta" +msgstr "Ograniczenia modowania po stronie klienta" #: src/settings_translation_file.cpp #, fuzzy @@ -2793,7 +2788,7 @@ msgstr "Kolorowa mgła" #: src/settings_translation_file.cpp #, fuzzy msgid "Colored shadows" -msgstr "Kolorowa mgła" +msgstr "Kolorowe cienie" #: src/settings_translation_file.cpp #, fuzzy @@ -2870,7 +2865,7 @@ msgstr "Maksymalna liczba jednoczesnych pobrań ContentDB" #: src/settings_translation_file.cpp #, fuzzy msgid "ContentDB URL" -msgstr "Zawartość" +msgstr "Adres URL ContentDB" #: src/settings_translation_file.cpp msgid "Continuous forward" @@ -2897,9 +2892,9 @@ msgid "" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" -"Kontrola długości cyklu dnia i nocy.\n" -"Przykłady: 72 = 20min, 360 = 4min, 1 = 24hour, 0 = dzień/noc/cokolwiek " -"zostaje niezmienione." +"Reguluje długość cyklu dzień/noc.\n" +"Przykłady:\n" +"72 = 20min, 360 = 4min, 1 = 24h, 0 = dzień/noc/wszystko pozostaje bez zmian." #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." @@ -2973,7 +2968,7 @@ msgstr "Klawisz przełączania informacji debugowania" #: src/settings_translation_file.cpp #, fuzzy msgid "Debug log file size threshold" -msgstr "Próg szumu pustyni" +msgstr "Próg rozmiaru pliku dziennika debugowania" #: src/settings_translation_file.cpp msgid "Debug log level" @@ -2984,7 +2979,6 @@ msgid "Dec. volume key" msgstr "Klawisz zmniejszania głośności" #: src/settings_translation_file.cpp -#, fuzzy msgid "Decrease this to increase liquid resistance to movement." msgstr "Zmniejsz wartość, aby zwiększyć opór ruchu w cieczy." @@ -3023,7 +3017,7 @@ msgstr "Domyślny format raportu" #: src/settings_translation_file.cpp #, fuzzy msgid "Default stack size" -msgstr "Domyślna gra" +msgstr "Domyślny rozmiar stosu" #: src/settings_translation_file.cpp #, fuzzy @@ -3047,12 +3041,12 @@ msgstr "Określa obszary z piaszczystymi plażami." #: src/settings_translation_file.cpp #, fuzzy msgid "Defines distribution of higher terrain and steepness of cliffs." -msgstr "Określa obszary wyższych terenów oraz wpływa na stromość klifów." +msgstr "Określa rozmieszczenie wyższego terenu i stromość klifów." #: src/settings_translation_file.cpp #, fuzzy msgid "Defines distribution of higher terrain." -msgstr "Określa obszary 'terrain_higher' (szczyt wzgórza)." +msgstr "Określa rozmieszczenie wyższych terenów." #: src/settings_translation_file.cpp msgid "Defines full size of caverns, smaller values create larger caverns." @@ -3074,7 +3068,7 @@ msgstr "Określa podstawowy poziom podłoża." #: src/settings_translation_file.cpp #, fuzzy msgid "Defines the depth of the river channel." -msgstr "Określa głębokość rzek." +msgstr "Określa głębokość kanałów rzecznych." #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." @@ -3085,10 +3079,9 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy msgid "Defines the width of the river channel." -msgstr "Określa strukturę kanałów rzecznych." +msgstr "Określa szerokość kanałów rzecznych." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river valley." msgstr "Określa szerokość doliny rzecznej." @@ -3144,7 +3137,7 @@ msgid "" "When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" "Pustynie pojawią się gdy np_biome przekroczy tą wartość.\n" -"Kiedy nowy system biomu jest odblokowany, ta wartość jest ignorowana." +"Kiedy flaga 'snowbiomes' jest włączona, ta wartość jest ignorowana." #: src/settings_translation_file.cpp msgid "Desynchronize block animation" @@ -3153,7 +3146,7 @@ msgstr "Odsynchronizuj animację bloków" #: src/settings_translation_file.cpp #, fuzzy msgid "Dig key" -msgstr "W prawo" +msgstr "Klawisz kopania" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3338,9 +3331,9 @@ msgid "" "Ignored if bind_address is set.\n" "Needs enable_ipv6 to be enabled." msgstr "" -"Przełącza pracę serwera w trybie IPv6. Serwer IPv6 może być ograniczony\n" -"tylko dla klientów IPv6, w zależności od konfiguracji systemu.\n" -"Ignorowane jeżeli bind_address jest ustawiony." +"Włącza/wyłącza uruchamianie serwera IPv6.\n" +"Ignorowane jeśli ustawiony jest bind_address.\n" +"Wymaga włączenia enable_ipv6." #: src/settings_translation_file.cpp msgid "" @@ -3414,7 +3407,7 @@ msgstr "Współczynnik spadku drgań" #: src/settings_translation_file.cpp #, fuzzy msgid "Fallback font path" -msgstr "Zastępcza czcionka" +msgstr "Ścieżka czcionki zastępczej" #: src/settings_translation_file.cpp msgid "Fast key" @@ -3433,7 +3426,6 @@ msgid "Fast movement" msgstr "Szybkie poruszanie" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." @@ -3450,14 +3442,13 @@ msgid "Field of view in degrees." msgstr "Pole widzenia w stopniach." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "File in client/serverlist/ that contains your favorite servers displayed in " "the\n" "Multiplayer Tab." msgstr "" -"Plik w kliencie (lista serwerów), który zawiera ulubione serwery " -"wyświetlane \n" +"Plik w kliencie (lista serwerów), który zawiera ulubione serwery wyświetlane " +"\n" "w zakładce Trybu wieloosobowego." #: src/settings_translation_file.cpp @@ -3512,32 +3503,32 @@ msgstr "Ustaw wirtualny joystick" #: src/settings_translation_file.cpp #, fuzzy msgid "Floatland density" -msgstr "Gęstość gór na latających wyspach" +msgstr "Gęstość latających wysp" #: src/settings_translation_file.cpp #, fuzzy msgid "Floatland maximum Y" -msgstr "Maksymalna wartość Y lochu" +msgstr "Maksymalna wartość Y latających wysp" #: src/settings_translation_file.cpp #, fuzzy msgid "Floatland minimum Y" -msgstr "Minimalna wartość Y lochu" +msgstr "Minimalna wartość Y latających wysp" #: src/settings_translation_file.cpp #, fuzzy msgid "Floatland noise" -msgstr "Podstawowy szum wznoszącego się terenu" +msgstr "Szum latających wysp" #: src/settings_translation_file.cpp #, fuzzy msgid "Floatland taper exponent" -msgstr "Gęstość gór na latających wyspach" +msgstr "Wykładnik zbieżności latających wysp" #: src/settings_translation_file.cpp #, fuzzy msgid "Floatland tapering distance" -msgstr "Podstawowy szum wznoszącego się terenu" +msgstr "Odległość zwężania latających wysp" #: src/settings_translation_file.cpp msgid "Floatland water level" @@ -3556,7 +3547,6 @@ msgid "Fog" msgstr "Mgła" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fog start" msgstr "Początek mgły" @@ -3668,7 +3658,6 @@ msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "Część widocznej odległości w której mgła zaczyna się renderować" #: src/settings_translation_file.cpp -#, fuzzy msgid "FreeType fonts" msgstr "Czcionki Freetype" @@ -3765,12 +3754,12 @@ msgstr "Poziom ziemi" #: src/settings_translation_file.cpp #, fuzzy msgid "Ground noise" -msgstr "Szum błota" +msgstr "Szum ziemi" #: src/settings_translation_file.cpp #, fuzzy msgid "HTTP mods" -msgstr "Mody" +msgstr "Adres HTTP modów" #: src/settings_translation_file.cpp msgid "HUD scale factor" @@ -3788,11 +3777,11 @@ msgid "" "- log: mimic and log backtrace of deprecated call (default).\n" "- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" -"Obsługa przestarzałych wywołań lua api:\n" -"- legacy: (próbuje) naśladuje stare zachowanie (domyślne dla wydań).\n" -"- log: naśladuje i loguje przestarzałe wywołania (domyślne dla wersji " -"debug).\n" -"- error: przerywa kiedy zostanie użyte przestarzałe api (sugerowane dla " +"Obsługa przestarzałych wywołań API Lua:\n" +"- brak: nie rejestruje przestarzałych wywołań\n" +"- log: naśladuje i rejestruje backtrace zdeprecjonowanego wywołania " +"(domyślnie).\n" +"- błąd: przerwij przy użyciu przestarzałego wywołania (sugerowane dla " "twórców modów)." #: src/settings_translation_file.cpp @@ -3820,7 +3809,8 @@ msgstr "Szum gorąca" #, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Wysokość początkowego rozmiaru okna." +msgstr "" +"Wysokość początkowego rozmiaru okna. Ignorowana w trybie pełnoekranowym." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3841,22 +3831,22 @@ msgstr "Granica zbocza" #: src/settings_translation_file.cpp #, fuzzy msgid "Hilliness1 noise" -msgstr "Dźwięk stromości" +msgstr "Hałas górzystości1" #: src/settings_translation_file.cpp #, fuzzy msgid "Hilliness2 noise" -msgstr "Dźwięk stromości" +msgstr "Hałas górzystości2" #: src/settings_translation_file.cpp #, fuzzy msgid "Hilliness3 noise" -msgstr "Dźwięk stromości" +msgstr "Hałas górzystości3" #: src/settings_translation_file.cpp #, fuzzy msgid "Hilliness4 noise" -msgstr "Dźwięk stromości" +msgstr "Hałas górzystości4" #: src/settings_translation_file.cpp msgid "Homepage of server, to be displayed in the serverlist." @@ -3900,72 +3890,72 @@ msgstr "Poprzedni klawisz paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 1 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 1 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 10 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 10 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 11 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 11 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 12 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 12 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 13 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 13 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 14 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 14 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 15 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 15 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 16 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 16 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 17 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 17 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 18 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 18 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 19 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 19 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 2 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 2 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 20 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 20 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy msgid "Hotbar slot 21 key" -msgstr "Następny klawisz paska działań" +msgstr "Przycisk 21 miejsca paska działań" #: src/settings_translation_file.cpp #, fuzzy -- cgit v1.2.3 From 5cb9a3691637af600b883dbf10a9a0655fcb5071 Mon Sep 17 00:00:00 2001 From: Ács Zoltán Date: Sun, 4 Jul 2021 12:26:42 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 81.9% (1144 of 1396 strings) --- po/hu/minetest.po | 488 ++++++++++++++++++++++-------------------------------- 1 file changed, 195 insertions(+), 293 deletions(-) diff --git a/po/hu/minetest.po b/po/hu/minetest.po index dae8e92b7..571d1f62b 100644 --- a/po/hu/minetest.po +++ b/po/hu/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Hungarian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-03-28 20:29+0000\n" -"Last-Translator: Hatlábú Farkas \n" +"PO-Revision-Date: 2021-07-27 23:16+0000\n" +"Last-Translator: Ács Zoltán \n" "Language-Team: Hungarian \n" "Language: hu\n" @@ -12,40 +12,35 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" msgstr "" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Parancsok" +msgstr "Üres parancs." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" msgstr "Kilépés a főmenübe" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Helyi parancs" +msgstr "Érvénytelen parancs: " #: builtin/client/chatcommands.lua msgid "Issued command: " msgstr "" #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Egyjátékos" +msgstr "Online játékosok listázása" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Egyjátékos" +msgstr "Online játékosok: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -64,19 +59,16 @@ msgid "You died" msgstr "Meghaltál" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Meghaltál" +msgstr "Meghaltál." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Helyi parancs" +msgstr "Elérhető parancsok:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Helyi parancs" +msgstr "elérhető parancsok: " #: builtin/common/chatcommands.lua msgid "Command not available: " @@ -197,7 +189,7 @@ msgstr "Nincs elérhető játékleírás." #: builtin/mainmenu/dlg_config_world.lua msgid "No hard dependencies" -msgstr "Nincsenek függőségek." +msgstr "Nincsenek komolyabb függőségek." #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." @@ -205,7 +197,7 @@ msgstr "Nincs elérhető modcsomag-leírás." #: builtin/mainmenu/dlg_config_world.lua msgid "No optional dependencies" -msgstr "Nincsenek választható függőségek. " +msgstr "Nincsenek választható függőségek" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua msgid "Optional dependencies:" @@ -230,11 +222,11 @@ msgstr "\"$1\" már létezik. Szeretné felülírni?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "$1 és $2 függőségek telepítve lesznek." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 az $2-ből" #: builtin/mainmenu/dlg_contentstore.lua msgid "" @@ -250,11 +242,11 @@ msgstr "$1 Letöltése…" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "Ehhez szükséges függőségek nem találhatók: $1." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 telepítve lesz, és $2 függőségek ki lesznek hagyva." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" @@ -412,11 +404,11 @@ msgstr "Lapos terep" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" -msgstr "Lebegő földdarabok az égben" +msgstr "Lebegő földtömegek az égben" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" -msgstr "Lebegő földek" +msgstr "Lebegő földek (kísérleti)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" @@ -794,9 +786,8 @@ msgid "Active Contributors" msgstr "Aktív közreműködők" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Aktív objektum küldés hatótávolsága" +msgstr "Aktív renderelő:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -932,9 +923,8 @@ msgid "Start Game" msgstr "Indítás" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Cím: " +msgstr "Cím" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -950,18 +940,16 @@ msgstr "Kreatív mód" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Sérülés" +msgstr "Sérülés / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Kedvenc törlése" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Kedvenc" +msgstr "Kedvencek" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" @@ -976,18 +964,16 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Szerver nyilvánossá tétele" +msgstr "Nyilvános szerverek" #: builtin/mainmenu/tab_online.lua msgid "Refresh" msgstr "" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Szerver leírása" +msgstr "Szerver leírás" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1030,9 +1016,8 @@ msgid "Connected Glass" msgstr "Csatlakozó üveg" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Betűtípus árnyéka" +msgstr "Dinamikus árnyékok" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " @@ -1304,7 +1289,7 @@ msgid "Continue" msgstr "Folytatás" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "" "Controls:\n" "- %s: move forwards\n" @@ -1327,13 +1312,12 @@ msgstr "" "- %s: mozgás balra\n" "- %s: mozgás jobbra\n" "- %s: ugrás/mászás\n" +"- %s: ásás/ütés\n" "- %s: lopakodás/lefelé mászás\n" "- %s: tárgy eldobása\n" "- %s: eszköztár\n" "- Egér: forgás/nézelődés\n" -"- Bal-egér: ásás/ütés\n" -"- Jobb-egér: elhelyezés/használat\n" -"- Egér görgő: tárgy választása\n" +"- Egérgörgő: tárgy kiválasztása\n" "- %s: csevegés\n" #: src/client/game.cpp @@ -1465,9 +1449,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "A kistérkép letiltva (szerver, vagy mod által)" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Egyjátékos" +msgstr "Többjátékos" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1596,7 +1579,7 @@ msgstr "Profiler elrejtése" #: src/client/gameui.cpp #, c-format msgid "Profiler shown (page %d of %d)" -msgstr "Profiler megjelenítése (lap: %d1 ennyiből : %d2)" +msgstr "Profiler megjelenítése (lap: %d1 ennyiből: %d2)" #: src/client/keycode.cpp msgid "Apps" @@ -1869,7 +1852,7 @@ msgstr "Minimap radar módban, Nagyítás x%d" #: src/client/minimap.cpp #, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "kistérkép terület módban x%d" +msgstr "kistérkép terület módban x%d" #: src/client/minimap.cpp msgid "Minimap in texture mode" @@ -1892,7 +1875,7 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" -"Te most %1$s szerverre csatlakozol \"%2$s\" névvel először.\n" +"Te most először csatlakozol a(z) %$ szerverre, \"%$\" névvel.\n" "Ha folytatod, akkor egy új fiók lesz létrehozva a hitelesítő adatokkal a " "szerveren.\n" "Kérlek írd be újra a jelszavad, kattints Regisztrációra majd " @@ -1904,9 +1887,8 @@ msgid "Proceed" msgstr "Folytatás" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "különleges = lemászás" +msgstr "\"Aux1\" = lemászás" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -2105,14 +2087,13 @@ msgstr "" "kattintás' pozícióban." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Használd a virtuális joystick-ot az \"aux\" gomb kapcsolásához.\n" -"Ha ez engedélyezve van, akkor a virtuális joystick is aktiválja az aux " +"(Android) Használd a virtuális joystick-ot az \"Aux1\" gomb kapcsolásához.\n" +"Ha ez engedélyezve van, akkor a virtuális joystick is aktiválja az \"Aux1\" " "gombot ha kint van a fő körből." #: src/settings_translation_file.cpp @@ -2190,7 +2171,7 @@ msgid "" "Also defines structure of floatland mountain terrain." msgstr "" "A hegyek szerkezetét és magasságát meghatározó 3D zaj.\n" -"A lebegő tájak hegyeit is meghatározza." +"A lebegő földek hegyeit is meghatározza." #: src/settings_translation_file.cpp msgid "" @@ -2218,7 +2199,6 @@ msgid "3D noise that determines number of dungeons per mapchunk." msgstr "3D-s zaj, amely meghatározza a tömlöcök számát egy térképdarabkánként." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "3D support.\n" "Currently supported:\n" @@ -2235,10 +2215,11 @@ msgstr "" "Jelenleg támogatott:\n" "- none: nincs 3d kimenet.\n" "- anaglyph: cián/magenta színű 3d.\n" -"- interlaced: odd/even line based polarisation screen support.\n" +"- interlaced: páros/páratlan soralapú polarizációs képernyő támogatás.\n" "- topbottom: osztott képernyő fent/lent.\n" "- sidebyside: osztott képernyő kétoldalt.\n" -"- pageflip: quadbuffer based 3d." +"- pageflip: quadbuffer alapú 3d.\n" +"Ne feledje, hogy az interlaced üzemmód, igényli az árnyékolók használatát." #: src/settings_translation_file.cpp msgid "" @@ -2258,15 +2239,15 @@ msgstr "Az összes kliensen megjelenített üzenet a szerver leállításakor." #: src/settings_translation_file.cpp msgid "ABM interval" -msgstr "" +msgstr "ABM intervallum" #: src/settings_translation_file.cpp msgid "ABM time budget" -msgstr "" +msgstr "ABM időgazdálkodás" #: src/settings_translation_file.cpp msgid "Absolute limit of queued blocks to emerge" -msgstr "" +msgstr "A várakozó blokkok felbukkanásának határa" #: src/settings_translation_file.cpp msgid "Acceleration in air" @@ -2387,7 +2368,6 @@ msgid "" "the arm when the camera moves." msgstr "" "A kar tehetetlensége reálisabb mozgást biztosít\n" -"a karnak, amikor a kamera mozog.\n" "a karnak, amikor a kamera mozog." #: src/settings_translation_file.cpp @@ -2408,14 +2388,14 @@ msgid "" "optimization.\n" "Stated in mapblocks (16 nodes)." msgstr "" -"Ennél a távolságnál a szerver agresszívan optimalizálja, melyik blokkokat " -"küldje a klienseknek.\n" +"Ennél a távolságnál a szerver agresszívan optimalizálja, hogy melyik " +"blokkokat küldje a klienseknek.\n" "Kis értékek valószínűleg sokat javítanak a teljesítményen, látható " "megjelenítési hibák árán.\n" "(Néhány víz alatti és barlangokban lévő blokk nem jelenik meg, néha a " "felszínen lévők sem.)\n" "Ha nagyobb, mint a \"max_block_send_distance\", akkor nincs optimalizáció.\n" -"A távolság blokkokban értendő (16 node)" +"A távolság blokkokban értendő (16 node)." #: src/settings_translation_file.cpp msgid "Automatic forward key" @@ -2438,14 +2418,12 @@ msgid "Autoscaling mode" msgstr "Automatikus méretezés mód" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Ugrás gomb" +msgstr "Aux1 gomb" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Különleges gomb a mászáshoz/ereszkedéshez" +msgstr "Aux1 gomb a mászáshoz/ereszkedéshez" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2592,7 +2570,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy msgid "Chat command time message threshold" -msgstr "Sivatag zajának küszöbe" +msgstr "Csevegésparancs üzeneteinek küszöbe" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2611,9 +2589,8 @@ msgid "Chat message count limit" msgstr "Csevegőüzenetek számának korlátozása" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat message format" -msgstr "Üzenet összeomláskor" +msgstr "Üzenet formátum" #: src/settings_translation_file.cpp msgid "Chat message kick threshold" @@ -2692,9 +2669,8 @@ msgid "Colored fog" msgstr "Színezett köd" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Színezett köd" +msgstr "Színezett árnyékok" #: src/settings_translation_file.cpp msgid "" @@ -2775,6 +2751,9 @@ msgid "" "Continuous forward movement, toggled by autoforward key.\n" "Press the autoforward key again or the backwards movement to disable." msgstr "" +"Folyamatos előre mozgás, az \"autoforward\" gomb segítségével.\n" +"Nyomja meg az \"autoforward\" gombot, vagy a hátrafelé gombot a " +"kikapcsoláshoz." #: src/settings_translation_file.cpp msgid "Controls" @@ -2786,12 +2765,11 @@ msgid "" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" -"Nappal/éjjel ciklus hossza.\n" +"Nappal/éjjel ciklus hosszát határozza meg.\n" "Példák: 72 = 20 perc, 360 = 4 perc, 1 = 24 óra, 0 = nappal/éjjel/bármelyik " "változatlan marad." #: src/settings_translation_file.cpp -#, fuzzy msgid "Controls sinking speed in liquid." msgstr "Folyadékban a süllyedési sebességet szabályozza." @@ -2809,6 +2787,10 @@ msgid "" "Value >= 10.0 completely disables generation of tunnels and avoids the\n" "intensive noise calculations." msgstr "" +"A csatornák szélességét irányítja, a kisebb érték szélesebb csatornát hoz " +"létre.\n" +"Érték >= 10.0 teljesen kikapcsolja a csatornák generálását és elkerüli az\n" +"intenzív zajszámítást." #: src/settings_translation_file.cpp msgid "Crash message" @@ -2823,11 +2805,12 @@ msgid "Crosshair alpha" msgstr "Célkereszt átlátszóság" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "Also controls the object crosshair color" -msgstr "Célkereszt átlátszóság (0 és 255 között)." +msgstr "" +"Célkereszt átlátszóság (0 és 255 között).\n" +"Az objektum célkereszt színét is meghatározza" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2838,6 +2821,8 @@ msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" +"Célkereszt szín (R,G,B).\n" +"Az objektum célkereszt színét is állítja" #: src/settings_translation_file.cpp msgid "DPI" @@ -2852,9 +2837,8 @@ msgid "Debug info toggle key" msgstr "Hibakereső információra váltás gomb" #: src/settings_translation_file.cpp -#, fuzzy msgid "Debug log file size threshold" -msgstr "Sivatag zajának küszöbszintje" +msgstr "Hibakeresési naplófájl méretküszöbe" #: src/settings_translation_file.cpp msgid "Debug log level" @@ -2903,7 +2887,7 @@ msgstr "Alapértelmezett jelentésformátum" #: src/settings_translation_file.cpp #, fuzzy msgid "Default stack size" -msgstr "Alapértelmezett játék" +msgstr "Alapértelmezett kötegméret" #: src/settings_translation_file.cpp msgid "" @@ -2922,20 +2906,17 @@ msgstr "A homokos tengerpartok területeit határozza meg." #: src/settings_translation_file.cpp msgid "Defines distribution of higher terrain and steepness of cliffs." -msgstr "" -"A magasabb terep (hegytetők) területeit szabja meg és a szirtek\n" -"meredekségére is hatással van." +msgstr "A magasabb terep eloszlását, a szirtek meredekségét szabályozza." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines distribution of higher terrain." -msgstr "A \"terrain_higher\" területeit határozza meg (hegytetők terepe)." +msgstr "A magasabb területek eloszlását határozza meg." #: src/settings_translation_file.cpp msgid "Defines full size of caverns, smaller values create larger caverns." msgstr "" -"Az üregek teljes méretét adja meg. Kisebb értékek nagyobb\n" -"üregeket képeznek." +"Az üregek teljes méretét adja meg, a kisebb értékek nagyobb üregeket " +"képeznek." #: src/settings_translation_file.cpp msgid "Defines large-scale river channel structure." @@ -2956,8 +2937,7 @@ msgstr "A folyómedrek mélységét határozza meg." #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "" -"A maximális távolság, aminél a játékosok látják egymást,\n" -"blokkokban megadva (0 = korlátlan)." +"A maximális játékos küldési távolság blokkokban megadva (0 = korlátlan)." #: src/settings_translation_file.cpp msgid "Defines the width of the river channel." @@ -3024,9 +3004,8 @@ msgid "Desynchronize block animation" msgstr "Blokkanimáció deszinkronizálása" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dig key" -msgstr "Jobb gomb" +msgstr "Ásás gomb" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3061,12 +3040,10 @@ msgid "Dump the mapgen debug information." msgstr "A térképgenerátor hibakeresési információinak kiírása." #: src/settings_translation_file.cpp -#, fuzzy msgid "Dungeon maximum Y" -msgstr "Tömlöc maximális Y magassága" +msgstr "Tömlöc maximális Y magassága" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dungeon minimum Y" msgstr "Tömlöc minimális Y magassága" @@ -3079,6 +3056,8 @@ msgid "" "Enable IPv6 support (for both client and server).\n" "Required for IPv6 connections to work at all." msgstr "" +"IPv6 támogatás engedélyezése (a kliens és a szerver számára is).\n" +"Szükséges, hogy az IPv6 kapcsolatok egyáltalán működjenek." #: src/settings_translation_file.cpp msgid "" @@ -3099,12 +3078,10 @@ msgid "Enable console window" msgstr "Konzolablak engedélyezése" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "Kreatív mód engedélyezése az újonnan létrehozott térképekhez." +msgstr "Kreatív mód engedélyezése az összes játékos számára" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable joysticks" msgstr "Joystick engedélyezése" @@ -3134,9 +3111,8 @@ msgstr "" "használható)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable register confirmation" -msgstr "Regisztermegerősítés engedélyezése" +msgstr "Regisztráció megerősítés engedélyezése" #: src/settings_translation_file.cpp #, fuzzy @@ -3185,6 +3161,8 @@ msgid "" "Enable vertex buffer objects.\n" "This should greatly improve graphics performance." msgstr "" +"Vertex buffer objektumok engedélyezése.\n" +"Ez nagyban javíthatja a grafikus teljesítményt." #: src/settings_translation_file.cpp msgid "" @@ -3196,16 +3174,14 @@ msgstr "" "fejmozgás van" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable/disable running an IPv6 server.\n" "Ignored if bind_address is set.\n" "Needs enable_ipv6 to be enabled." msgstr "" -"IPv6 szerver futtatásának engedélyezése/letiltása. Egy IPv6 szerver " -"lehetséges, hogy\n" -"IPv6 kliensekre van korlátozva, a rendszer konfigurációtól függően.\n" -"Nincs figyelembe véve, ha bind_address van beállítva." +"IPv6 szerver futtatásának engedélyezése/letiltása.\n" +"Nincs figyelembe véve, ha bind_address van beállítva.\n" +"Szükséges hozzá, hogy az ipv6 engedélyezve legyen." #: src/settings_translation_file.cpp msgid "" @@ -3222,7 +3198,7 @@ msgstr "Az eszköztárelemek animációjának engedélyezése." #: src/settings_translation_file.cpp #, fuzzy msgid "Enables caching of facedir rotated meshes." -msgstr "Engedélyezi az elforgatott rácsvonalak gyorsítótárazását." +msgstr "Engedélyezi az elforgatott hálók gyorsítótárazását." #: src/settings_translation_file.cpp msgid "Enables minimap." @@ -3235,15 +3211,18 @@ msgid "" "sound controls will be non-functional.\n" "Changing this setting requires a restart." msgstr "" +"Engedélyezi a hangrendszert.\n" +"Ha ki van kapcsolva teljesen kikapcsol minden hangot és a játék hangvezérlői " +"nem fognak működni.\n" +"Ennek a beállításnak a megváltoztatása a játék újraindítását igényli." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "Játékmotor profiler adatok kiírási időköze" #: src/settings_translation_file.cpp -#, fuzzy msgid "Entity methods" -msgstr "Egység módszerek" +msgstr "Egység metódusok" #: src/settings_translation_file.cpp msgid "" @@ -3256,27 +3235,24 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "FPS when unfocused or paused" -msgstr "Maximum FPS a játék szüneteltetésekor." +msgstr "FPS, amikor a játék meg van állítva, vagy nincs fókuszban" #: src/settings_translation_file.cpp msgid "FSAA" msgstr "FSAA" #: src/settings_translation_file.cpp -#, fuzzy msgid "Factor noise" msgstr "Tényezőzaj" #: src/settings_translation_file.cpp msgid "Fall bobbing factor" -msgstr "" +msgstr "Leesési bólintási tényező" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fallback font path" -msgstr "Tartalék betűtípus" +msgstr "Tartalék betűtípus útvonala" #: src/settings_translation_file.cpp msgid "Fast key" @@ -3295,12 +3271,11 @@ msgid "Fast movement" msgstr "Gyors mozgás" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Gyors mozgás (a használat gombbal).\n" +"Gyors mozgás (az \"Aux1\" gombbal).\n" "Szükséges hozzá a gyors mód jogosultság a szerveren." #: src/settings_translation_file.cpp @@ -3312,14 +3287,14 @@ msgid "Field of view in degrees." msgstr "Látóterület fokokban." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "File in client/serverlist/ that contains your favorite servers displayed in " "the\n" "Multiplayer Tab." msgstr "" "A client/serverlist/ mappában lévő fájl, ami tartalmazza a kedvenc " -"szervereket, amik a Többjátékos fül alatt jelennek meg." +"szervereidet,\n" +"amik a Többjátékos fül alatt jelennek meg." #: src/settings_translation_file.cpp msgid "Filler depth" @@ -3358,7 +3333,6 @@ msgid "Fixed map seed" msgstr "Fix térkép seed" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fixed virtual joystick" msgstr "Rögzített virtuális joystick" @@ -3376,16 +3350,15 @@ msgstr "Lebegő földek minimális Y magassága" #: src/settings_translation_file.cpp msgid "Floatland noise" -msgstr "Lebegőföldek zaja" +msgstr "Lebegő földek zaja" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland taper exponent" -msgstr "A lebegő hegyek alapzaja" +msgstr "A lebegő földek kúpkitevője" #: src/settings_translation_file.cpp msgid "Floatland tapering distance" -msgstr "A lebegő földek hegyeinek távolsága" +msgstr "A lebegő földek kúpjainak távolsága" #: src/settings_translation_file.cpp msgid "Floatland water level" @@ -3433,7 +3406,7 @@ msgstr "Betűtípus mérete" #: src/settings_translation_file.cpp msgid "Font size of the default font in point (pt)." -msgstr "" +msgstr "Az alapértelmezett betűtípus mérete képpontban (pt)." #: src/settings_translation_file.cpp msgid "Font size of the monospace font in point (pt)." @@ -3446,7 +3419,6 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Format of player chat messages. The following strings are valid " "placeholders:\n" @@ -3454,7 +3426,7 @@ msgid "" msgstr "" "A játékos csevegési üzeneteinek formátuma. A következő karakterláncok " "érvényesek:\n" -"@ név, @ üzenet, @ időbélyeg (opcionális)" +"@név, @üzenet, @időbélyeg (opcionális)" #: src/settings_translation_file.cpp msgid "Format of screenshots." @@ -3477,9 +3449,8 @@ msgid "Formspec Full-Screen Background Opacity" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec default background color (R,G,B)." -msgstr "Játékon belüli csevegő konzol hátterének színe (R,G,B)." +msgstr "" #: src/settings_translation_file.cpp #, fuzzy @@ -3563,24 +3534,19 @@ msgid "GUI scaling filter txr2img" msgstr "Felhasználói felület méretarány szűrő txr2img" #: src/settings_translation_file.cpp -#, fuzzy msgid "Global callbacks" -msgstr "Globális visszahívások" +msgstr "Globális visszatérések" #: src/settings_translation_file.cpp -#, fuzzy 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." msgstr "" -"Térkép generálási jellemzők csak a Flat (lapos) térképgenerátor esetében.\n" -"Esetenkénti tavak és dombok generálása a lapos világba.\n" -"The default flags set in the engine are: none\n" -"The flags string modifies the engine defaults.\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." +"Globális térképgenerálási jellemzők.\n" +"A v6 térképgenerátorban a 'decorations' zászló szabályozza az összes\n" +"dekorációt, kivéve a fákat és a dzsungelfüvet, a többi térképgenerátornál " +"pedig az összeset." #: src/settings_translation_file.cpp msgid "" @@ -3611,7 +3577,6 @@ msgid "Ground noise" msgstr "Talaj zaj" #: src/settings_translation_file.cpp -#, fuzzy msgid "HTTP mods" msgstr "HTTP Modok" @@ -3624,19 +3589,17 @@ msgid "HUD toggle key" msgstr "HUD váltás gomb" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Handling for deprecated Lua API calls:\n" "- none: Do not log deprecated calls\n" "- log: mimic and log backtrace of deprecated call (default).\n" "- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" -"Az elavult lua API hívások kezelése:\n" -"-örökölt: (próbálja meg) a régi viselkedést utánozni (alapértelmezett).\n" -"-log: elavult hívás visszakövetése és naplózása (hibakereséshez " -"alapértelmezett).\n" -"-error: Megszakítja az elavult hívás használatát (javasolt a mod " -"fejlesztőknek)." +"Az elavult Lua API hívások kezelése:\n" +"-none: ne naplózza az elavult hívásokat\n" +"-log: elavult hívás utánozása és naplózása (alapértelmezett).\n" +"-error: megszakítja az elavult hívás használatát (javasolt a " +"modfejlesztőknek)." #: src/settings_translation_file.cpp msgid "" @@ -3698,39 +3661,36 @@ msgid "Homepage of server, to be displayed in the serverlist." msgstr "A szerver honlapja, ami a szerverlistában megjelenik." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Horizontal acceleration in air when jumping or falling,\n" "in nodes per second per second." msgstr "" "Vízszintes gyorsulás a levegőben ugráskor vagy leeséskor,\n" -"blokk/másodpercben" +"node/másodperc/másodpercben." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Horizontal and vertical acceleration in fast mode,\n" "in nodes per second per second." msgstr "" "Vízszintes és függőleges gyorsulás gyors módban,\n" -"blokk/másodpercben." +"node/másodpercben/másodpercben." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Horizontal and vertical acceleration on ground or when climbing,\n" "in nodes per second per second." -msgstr "Vízszintes és függőleges gyorsulás a földön, blokk/másodpercben." +msgstr "" +"Vízszintes és függőleges gyorsulás a földön, vagy mászáskor,\n" +"node/másodpercben." #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar next key" -msgstr "Gyorsgomb következő gomb" +msgstr "Gyorssáv következő gomb" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar previous key" -msgstr "Gyorsgomb előző gomb" +msgstr "Gyorssáv előző gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 1 key" @@ -3889,9 +3849,8 @@ msgid "Humidity blend noise" msgstr "Páratartalom keverés zaj" #: src/settings_translation_file.cpp -#, fuzzy msgid "Humidity noise" -msgstr "Páratartalomzaj" +msgstr "Páratartalom zaj" #: src/settings_translation_file.cpp msgid "Humidity variation for biomes." @@ -3914,13 +3873,11 @@ msgstr "" "hogy ne pazaroljon CPU erőforrást feleslegesen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Ha le van tiltva, a használat (use) gomb lesz használatban a gyors " -"repüléshez,\n" +"Ha le van tiltva, az \"Aux1\" gomb lesz használatban a gyors repüléshez,\n" "ha a repülés és a gyors mód is engedélyezve van." #: src/settings_translation_file.cpp @@ -3942,23 +3899,21 @@ msgstr "" "node-okon. Szükséges hozzá a noclip jogosultság a szerveren." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Ha engedélyezve van, a \"használat\" (use) gomb lesz használatban a " -"\"lopakodás\" (sneak) helyett lefelé mászáskor, vagy ereszkedéskor." +"Ha engedélyezve van, az \"Aux1\"gomb lesz használatban a \"lopakodás\" " +"(sneak) helyett lefelé mászáskor, vagy ereszkedéskor." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, actions are recorded for rollback.\n" "This option is only read when server starts." msgstr "" -"Ha engedélyezve van, akkor a műveleteket rögzíti a visszagörgetéshez.\n" -"Ez az opció csak akkor olvasható, amikor a szerver elindul." +"Ha engedélyezve van, akkor a műveletek rögzülnek a visszagörgetéshez.\n" +"Ez az opció csak akkor van beolvasva, amikor a szerver elindul." #: src/settings_translation_file.cpp msgid "If enabled, disable cheat prevention in multiplayer." @@ -4120,12 +4075,10 @@ msgid "Italic monospace font path" msgstr "Dőlt monspace betűtípus útvonal" #: src/settings_translation_file.cpp -#, fuzzy msgid "Item entity TTL" msgstr "Elem entitás TTL" #: src/settings_translation_file.cpp -#, fuzzy msgid "Iterations" msgstr "Ismétlések" @@ -4151,9 +4104,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick gomb ismétlési időköz" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick deadzone" -msgstr "Joystick típus" +msgstr "Joystick holtzóna" #: src/settings_translation_file.cpp msgid "Joystick frustum sensitivity" @@ -4202,15 +4154,14 @@ msgstr "" "Tartomány nagyjából -2 és 2 között." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Julia set only.\n" "Z component of hypercomplex constant.\n" "Alters the shape of the fractal.\n" "Range roughly -2 to 2." msgstr "" -"Julia-halmaz.\n" -"Z komponens hiperkomplex konstans.\n" +"Csak Julia-halmaz.\n" +"Hiperkomplex állandó Z összetevője.\n" "Megváltoztatja a fraktál alakját.\n" "Tartomány nagyjából -2 és 2 között." @@ -4259,13 +4210,12 @@ msgstr "" "html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Key for digging.\n" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Gomb az ugráshoz.\n" +"Gomb az ásáshoz.\n" "Lásd: http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4338,7 +4288,7 @@ msgid "" "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" "Gomb a játékos előre mozgásához.\n" -"Lásd: http://irrlicht.sourceforge.net/docu/namespaceirr." +"Lásd: http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp @@ -4412,13 +4362,12 @@ msgstr "" "html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Key for placing.\n" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Gomb az ugráshoz.\n" +"Gomb az elhelyezéshez.\n" "Lásd: http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5028,7 +4977,6 @@ msgstr "" "A hullámzó folyadékok engedélyezése szükséges hozzá." #: src/settings_translation_file.cpp -#, fuzzy msgid "Length of time between Active Block Modifier (ABM) execution cycles" msgstr "Az Aktív Blokk módosító (ABM) végrehajtási ciklusok közötti időtartam" @@ -5085,11 +5033,15 @@ msgid "Light curve low gradient" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" "Only mapchunks completely within the mapgen limit are generated.\n" "Value is stored per-world." msgstr "" +"A térképgenerálás határa, node-okban, mind a 6 irányban a (0, 0, 0) " +"pozíciótól kezdve.\n" +"Csak a teljesen a határon belül lévő térképdarabkák generálódnak le." #: src/settings_translation_file.cpp msgid "" @@ -5117,12 +5069,10 @@ msgid "Liquid queue purge time" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Liquid sinking" msgstr "Folyadék süllyedés" #: src/settings_translation_file.cpp -#, fuzzy msgid "Liquid update interval in seconds." msgstr "A folyadékok frissítési időköze másodpercben." @@ -5146,7 +5096,6 @@ msgid "Loading Block Modifiers" msgstr "Blokk módosítók betöltése" #: src/settings_translation_file.cpp -#, fuzzy msgid "Lower Y limit of dungeons." msgstr "A tömlöcök alsó Y határa." @@ -5166,7 +5115,6 @@ msgstr "" "látószögtől." #: src/settings_translation_file.cpp -#, fuzzy msgid "Makes all liquids opaque" msgstr "Az összes folyadékot átlátszatlanná teszi" @@ -5183,37 +5131,27 @@ msgid "Map directory" msgstr "Térkép mappája" #: src/settings_translation_file.cpp +#, fuzzy msgid "Map generation attributes specific to Mapgen Carpathian." -msgstr "" +msgstr "A Kárpát térképgenerátor sajátos tulajdonságai." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen Flat.\n" "Occasional lakes and hills can be added to the flat world." msgstr "" -"Térkép generálási jellemzők csak a Flat (lapos) térképgenerátor esetében.\n" -"Esetenkénti tavak és dombok generálása a lapos világba.\n" -"The default flags set in the engine are: none\n" -"The flags string modifies the engine defaults.\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." +"A Lapos térképgenerátor sajátos tulajdonságai.\n" +"Alkalmanként tavak és dombok hozzáadódhatnak a lapos világhoz." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen Fractal.\n" "'terrain' enables the generation of non-fractal terrain:\n" "ocean, islands and underground." msgstr "" -"Térkép generálási jellemzők csak a Flat (lapos) térképgenerátor esetében.\n" -"Esetenkénti tavak és dombok generálása a lapos világba.\n" -"The default flags set in the engine are: none\n" -"The flags string modifies the engine defaults.\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." +"A Fraktál térképgenerátor sajátos jellemzői.\n" +"A 'terrain' engedélyezi a nem-fraktál terep generálását,\n" +"mint az óceán, szigetek és a földalatti részek." #: src/settings_translation_file.cpp msgid "" @@ -5224,43 +5162,42 @@ msgid "" "to become shallower and occasionally dry.\n" "'altitude_dry': Reduces humidity with altitude." msgstr "" +"A Völgyek térképgenerátor sajátos jellemzői.\n" +"'altitude_chill': csökkenti a hőmérsékletet a magassággal.\n" +"'humid_rivers': megnöveli a páratartalmat a folyók körül.\n" +"'vary_river_depth': ha engedélyezve van, az alacsony páratalom és a magas\n" +"hőmérséklet hatására a folyók sekélyebbé válnak, és lehet, hogy kiszáradnak." +"\n" +"'altitude_dry': csökkenti a páratartalmat a magassággal." #: src/settings_translation_file.cpp msgid "Map generation attributes specific to Mapgen v5." -msgstr "" +msgstr "A v5 térképgenerátor sajátos tulajdonságai." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen v6.\n" "The 'snowbiomes' flag enables the new 5 biome system.\n" "When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" "the 'jungles' flag is ignored." msgstr "" -"Térképgenerálási jellemzők csak a v6 térképgenerátor esetében.\n" -"When snowbiomes are enabled jungles are enabled and the jungles flag is " -"ignored.\n" -"The default flags set in the engine are: biomeblend, mudflow\n" -"The flags string modifies the engine defaults.\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." +"A v6 térképgenerátor sajátos jellemzői.\n" +"A 'snowbiomes' zászló engedélyezi az új 5 biomos rendszert.\n" +"Amikor a 'snowbiomes' zászló engedélyezett a dzsungelek automatikusan " +"engedélyezve vannak\n" +"és a 'jungles' zászló figyelmen kívül van hagyva." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen v7.\n" "'ridges': Rivers.\n" "'floatlands': Floating land masses in the atmosphere.\n" "'caverns': Giant caves deep underground." msgstr "" -"Térkép generálási jellemzők csak a Flat (lapos) térképgenerátor esetében.\n" -"Esetenkénti tavak és dombok generálása a lapos világba.\n" -"The default flags set in the engine are: none\n" -"The flags string modifies the engine defaults.\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." +"Térkép generálási jellemzők csak a v7 térképgenerátor esetében.\n" +"'ridges': folyók.\n" +"'floatlands': lebegő földtömegek a légkörben.\n" +"'caverns': óriási barlangok mélyen a föld alatt." #: src/settings_translation_file.cpp msgid "Map generation limit" @@ -5271,23 +5208,21 @@ msgid "Map save interval" msgstr "Térkép mentésének időköze" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Folyadékfrissítés tick" +msgstr "Térkép frissítési idő" #: src/settings_translation_file.cpp msgid "Mapblock limit" msgstr "Térképblokk korlát" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapblock mesh generation delay" -msgstr "Térkép generálási korlát" +msgstr "Térképblokk háló generálási késleltetés" #: src/settings_translation_file.cpp #, fuzzy msgid "Mapblock mesh generator's MapBlock cache size in MB" -msgstr "Térkép generálási korlát" +msgstr "Térképblokk hálógenerátor gyorsítótár mérete MB-ban" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" @@ -5374,18 +5309,16 @@ msgid "Max. clearobjects extra blocks" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Max. packets per iteration" -msgstr "Max csomag ismétlésenként" +msgstr "Maximum csomagok ismétlésenként" #: src/settings_translation_file.cpp msgid "Maximum FPS" msgstr "Maximum FPS (képkocka/mp)" #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum FPS when the window is not focused, or when the game is paused." -msgstr "Maximum FPS a játék szüneteltetésekor." +msgstr "Maximum FPS, amikor a játék szüneteltetve van, vagy nincs fókuszban." #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." @@ -5426,22 +5359,20 @@ msgid "Maximum number of blocks that can be queued for loading." msgstr "Maximum blokkok száma, amik sorban állhatnak betöltésre." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum number of blocks to be queued that are to be generated.\n" "This limit is enforced per player." msgstr "" "Maximum blokkok száma, amik sorban állhatnak generálásra.\n" -"Hagyd üresen, hogy automatikusan legyen kiválasztva a megfelelő mennyiség." +"Ez a korlát játékosonként van kényszerítve." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum number of blocks to be queued that are to be loaded from file.\n" "This limit is enforced per player." msgstr "" "Maximum blokkok száma, amik sorban állhatnak egy fájlból való betöltésre.\n" -"Hagyd üresen, hogy automatikusan legyen kiválasztva a megfelelő mennyiség." +"Ez a korlát játékosonként van kényszerítve." #: src/settings_translation_file.cpp msgid "" @@ -5470,7 +5401,6 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum number of players that can be connected simultaneously." msgstr "Az egy időben csatlakozó játékosok maximális száma." @@ -5483,9 +5413,8 @@ msgid "Maximum number of statically stored objects in a block." msgstr "Statikusan tárolt objektumok maximális száma egy térképblokkban." #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum objects per block" -msgstr "Maximum objektum térképblokkonként" +msgstr "Maximum objektumok térképblokkonként" #: src/settings_translation_file.cpp msgid "" @@ -5496,7 +5425,6 @@ msgstr "" "Hasznos, ha valamit el kell helyezni a hotbar jobb, vagy bal oldalán." #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum simultaneous block sends per client" msgstr "Az egyidejűleg a kliensenként küldött térképblokkok maximális száma" @@ -5511,7 +5439,6 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." @@ -5568,7 +5495,9 @@ msgstr "Kistérkép letapogatási magasság" #: src/settings_translation_file.cpp #, fuzzy msgid "Minimum limit of random number of large caves per mapchunk." -msgstr "3D-s zaj, amely meghatározza a tömlöcök számát egy mapchunkonként." +msgstr "" +"Nagy barlangok térképblokkonként való véletlenszerű számának minimum " +"korlátja." #: src/settings_translation_file.cpp msgid "Minimum limit of random number of small caves per mapchunk." @@ -5579,9 +5508,8 @@ msgid "Minimum texture size" msgstr "Minimum textúra méret" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mipmapping" -msgstr "Mip-mapping" +msgstr "Mipmapping" #: src/settings_translation_file.cpp msgid "Mod channels" @@ -5815,14 +5743,12 @@ msgid "Pitch move mode" msgstr "Pályamozgás mód" #: src/settings_translation_file.cpp -#, fuzzy msgid "Place key" -msgstr "Repülés gomb" +msgstr "Elhelyezés gomb" #: src/settings_translation_file.cpp -#, fuzzy msgid "Place repetition interval" -msgstr "Jobb kattintás ismétlési időköz" +msgstr "Elhelyezés ismétlési időköz" #: src/settings_translation_file.cpp msgid "" @@ -5845,9 +5771,8 @@ msgid "Player versus player" msgstr "Játékos játékos ellen" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bilineáris szűrés" +msgstr "Poisson szűrés" #: src/settings_translation_file.cpp msgid "" @@ -5934,9 +5859,8 @@ msgid "Recent Chat Messages" msgstr "Legutóbbi csevegésüzenetek" #: src/settings_translation_file.cpp -#, fuzzy msgid "Regular font path" -msgstr "Betűtípus helye" +msgstr "Betűtípus útvonala" #: src/settings_translation_file.cpp msgid "Remote media" @@ -6069,7 +5993,7 @@ msgstr "" "A legközelebbi-szomszéd-élsimítás szűrőt használja a GUI méretezésére.\n" "Ez elsimít néhány durva élt, és elhajlítja a pixeleket a méretezés " "csökkentésekor,\n" -"de ennek az az ára, hogy elhomályosít néhány szélső pixelt, ha a képek nem\n" +"de ennek az ára, hogy elhomályosít néhány szélső pixelt, ha a képek nem\n" "egész számok alapján vannak méretezve." #: src/settings_translation_file.cpp @@ -6119,7 +6043,6 @@ msgid "Security" msgstr "Biztonság" #: src/settings_translation_file.cpp -#, fuzzy msgid "See https://www.sqlite.org/pragma.html#pragma_synchronous" msgstr "Lásd: http://www.sqlite.org/pragma.html#pragma_synchronous" @@ -6260,7 +6183,7 @@ msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"A \"true\" beállítás engedélyezi a levelek hullámzását.\n" +"Az igazra állítása engedélyezi az árnyáktérképezést.\n" "Az árnyalók engedélyezése szükséges hozzá." #: src/settings_translation_file.cpp @@ -6310,9 +6233,8 @@ msgstr "" "Csak OpenGL-el működnek." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Képernyőkép minőség" +msgstr "Árnyék szűrő minőség" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" @@ -6323,9 +6245,8 @@ msgid "Shadow map texture in 32 bits" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Minimum textúra méret" +msgstr "Árnyéktérkép textúra méret" #: src/settings_translation_file.cpp msgid "" @@ -6352,18 +6273,16 @@ msgid "Show entity selection boxes" msgstr "Entitások kijelölő dobozának megjelenítése" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Show entity selection boxes\n" "A restart is required after changing this." msgstr "" -"Nyelv beállítása. Hagyd üresen a rendszer nyelvének használatához.\n" +"Entitás hitboxok megjelenítése.\n" "A változtatás után a játék újraindítása szükséges." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show nametag backgrounds by default" -msgstr "Félkövér betűtípus alapértelmezetten" +msgstr "Névcímke hátterek megjelenítése alapértelmezetten" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6419,13 +6338,13 @@ msgid "Smooth lighting" msgstr "Simított megvilágítás" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Smooths camera when looking around. Also called look or mouse smoothing.\n" "Useful for recording videos." msgstr "" -"Kamera mozgásának simítása mozgáskor és körbenézéskor.\n" -"Videófelvételekhez hasznos." +"Kamera mozgásának simítása körbenézéskor. Körbenézés és egérsimításnak is " +"hívják.\n" +"Hasznos videók felvételénél." #: src/settings_translation_file.cpp msgid "Smooths rotation of camera in cinematic mode. 0 to disable." @@ -6448,9 +6367,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Lopakodás sebessége node/másodpercben" #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Betűtípus árnyék átlátszósága" +msgstr "Lágy árnyék sugara" #: src/settings_translation_file.cpp msgid "Sound" @@ -6496,9 +6414,8 @@ msgid "Step mountain spread noise" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Strength of 3D mode parallax." -msgstr "Generált normálfelületek erőssége." +msgstr "" #: src/settings_translation_file.cpp msgid "" @@ -6546,7 +6463,6 @@ msgid "Terrain base noise" msgstr "Terep alapzaj" #: src/settings_translation_file.cpp -#, fuzzy msgid "Terrain height" msgstr "Terep magasság" @@ -6602,9 +6518,8 @@ msgid "The URL for the content repository" msgstr "Az URL a tartalomtárhoz" #: src/settings_translation_file.cpp -#, fuzzy msgid "The deadzone of the joystick" -msgstr "A használni kívánt joystick azonosítója" +msgstr "A joystick holtzónája" #: src/settings_translation_file.cpp msgid "" @@ -6700,21 +6615,19 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The time in seconds it takes between repeated events\n" "when holding down a joystick button combination." msgstr "" -"Ennyi másodperc szükséges az ismételt jobb kattintáshoz a jobb egérgomb " +"Ennyi másodperc szükséges az ismételt jobb kattintáshoz a joystick gomb " "nyomva tartásakor." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The time in seconds it takes between repeated node placements when holding\n" "the place button." msgstr "" -"Ennyi másodperc szükséges az ismételt jobb kattintáshoz a jobb egérgomb " +"Ennyi másodperc szükséges az ismételt node elhelyezéshez az elhelyezés gomb " "nyomva tartásakor." #: src/settings_translation_file.cpp @@ -6789,7 +6702,6 @@ msgid "Trilinear filtering" msgstr "Trilineáris szűrés" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "True = 256\n" "False = 128\n" @@ -6808,9 +6720,8 @@ msgid "URL to the server list displayed in the Multiplayer Tab." msgstr "A Többjátékos fül alatt megjelenített szerverlista URL-je." #: src/settings_translation_file.cpp -#, fuzzy msgid "Undersampling" -msgstr "Renderelés:" +msgstr "" #: src/settings_translation_file.cpp msgid "" @@ -6822,7 +6733,6 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Unlimited player transfer distance" msgstr "Korlátlan játékosátviteli távolság" @@ -6835,9 +6745,8 @@ msgid "Upper Y limit of dungeons." msgstr "A tömlöcök felső Y határa." #: src/settings_translation_file.cpp -#, fuzzy msgid "Upper Y limit of floatlands." -msgstr "A tömlöcök felső Y határa." +msgstr "A lebegő földek felső Y határa." #: src/settings_translation_file.cpp msgid "Use 3D cloud look instead of flat." @@ -6886,7 +6795,6 @@ msgid "VSync" msgstr "Függőleges szinkron" #: src/settings_translation_file.cpp -#, fuzzy msgid "Valley depth" msgstr "Völgyek mélysége" @@ -6895,9 +6803,8 @@ msgid "Valley fill" msgstr "Völgyek kitöltése" #: src/settings_translation_file.cpp -#, fuzzy msgid "Valley profile" -msgstr "Völgyek meredeksége" +msgstr "Völgyek profilja" #: src/settings_translation_file.cpp #, fuzzy @@ -6981,13 +6888,10 @@ msgid "Volume" msgstr "Hangerő" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Volume of all sounds.\n" "Requires the sound system to be enabled." msgstr "" -"Parallax occlusion mapping bekapcsolása.\n" -"A shaderek engedélyezve kell legyenek." #: src/settings_translation_file.cpp msgid "" @@ -7074,14 +6978,15 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Whether FreeType fonts are used, requires FreeType support to be compiled " "in.\n" "If disabled, bitmap and XML vectors fonts are used instead." msgstr "" -"Használatban vannak-e freetype betűtípusok. Szükséges a beépített freetype " -"támogatás." +"Használhatók-e FreeType betűtípusok. Szükséges a beépített FreeType " +"támogatás.\n" +"Ha ki van kapcsolva, bittérképes és XML vektoros betűtípusok lesznek " +"használva helyette." #: src/settings_translation_file.cpp msgid "" @@ -7130,9 +7035,8 @@ msgstr "" "A hibakereső információ megjelenítése (ugyanaz a hatás, ha F5-öt nyomunk)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Kezdeti ablak szélessége." +msgstr "" #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7157,7 +7061,6 @@ msgstr "" "Ez nem szükséges, ha a főmenüből indítják." #: src/settings_translation_file.cpp -#, fuzzy msgid "World start time" msgstr "Világ-kezdőidő" @@ -7244,9 +7147,8 @@ msgid "cURL file download timeout" msgstr "cURL fájlletöltés időkorlát" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL időkorlát" +msgstr "cURL interaktív időtúllépés" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 7445a72f76f7f741af5362ce0b245d619c8d5733 Mon Sep 17 00:00:00 2001 From: Er2 Date: Fri, 2 Jul 2021 19:24:32 +0000 Subject: Translated using Weblate (Russian) Currently translated at 100.0% (1396 of 1396 strings) --- po/ru/minetest.po | 402 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 208 insertions(+), 194 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index db6b1324b..dcd4de7aa 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-29 10:33+0000\n" -"Last-Translator: Чтабс \n" +"PO-Revision-Date: 2021-07-04 15:44+0000\n" +"Last-Translator: Er2 \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,21 +13,19 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7.1-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Максимальный размер очереди исходящих сообщений" +msgstr "Очистить очередь чата" #: builtin/client/chatcommands.lua msgid "Empty command." msgstr "Пустая команда." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Выход в меню" +msgstr "Выход в главное меню" #: builtin/client/chatcommands.lua msgid "Invalid command: " @@ -35,7 +33,7 @@ msgstr "Неверная команда: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Выданная команда: " #: builtin/client/chatcommands.lua msgid "List online players" @@ -47,7 +45,7 @@ msgstr "Онлайн игроки: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Очередь в чате теперь пуста." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." @@ -90,7 +88,7 @@ msgstr "" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | <команда>]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -584,8 +582,8 @@ msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" -"Этот пакет модов имеет имя, явно указанное в modpack.conf, которое не " -"изменится от переименования здесь." +"Этот пакет модов имеет имя, явно указанное в modpack.conf, которое изменится " +"от переименования здесь." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" @@ -641,7 +639,7 @@ msgstr "Пожалуйста, введите допустимое число." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" -msgstr "Восстановить стандартные настройки" +msgstr "Сбросить значения" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Scale" @@ -784,16 +782,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Об этом" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Активные участники" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Дальность отправляемого активного объекта" +msgstr "Активный визуализатор:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -817,7 +814,7 @@ msgstr "Прошлые участники" #: builtin/mainmenu/tab_about.lua msgid "Previous Core Developers" -msgstr "Прошлые разработчики" +msgstr "Прошлые основные разработчики" #: builtin/mainmenu/tab_content.lua msgid "Browse online content" @@ -865,7 +862,7 @@ msgstr "Публичный сервер" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" -msgstr "Адрес привязки" +msgstr "Привязать Адрес" #: builtin/mainmenu/tab_local.lua msgid "Creative Mode" @@ -928,9 +925,8 @@ msgid "Start Game" msgstr "Начать игру" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Адрес: " +msgstr "Адрес" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -946,22 +942,20 @@ msgstr "Режим творчества" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Урон" +msgstr "Урон / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Убрать из избранного" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "В избранные" +msgstr "Избранное" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Несовместимые серверы" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -972,16 +966,14 @@ msgid "Ping" msgstr "Пинг" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Публичный сервер" +msgstr "Публичные серверы" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Обновить" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Описание сервера" @@ -1026,13 +1018,12 @@ msgid "Connected Glass" msgstr "Стёкла без швов" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Тень шрифта" +msgstr "Динамические тени" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Динамические тени: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1040,15 +1031,15 @@ msgstr "Красивая листва" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Высокое" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Низкое" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Среднее" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1140,11 +1131,11 @@ msgstr "Трилинейная фильтрация" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Ультравысокое" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Очень низкое" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1462,9 +1453,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Миникарта сейчас отключена игрой или модом" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Одиночная игра" +msgstr "Мультиплеер" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1710,7 +1700,7 @@ msgstr "Доп. клав. -" #: src/client/keycode.cpp msgid "Numpad ." -msgstr "Цифр. клав. '.'" +msgstr "Цифр. кл. ." #: src/client/keycode.cpp msgid "Numpad /" @@ -1901,9 +1891,8 @@ msgid "Proceed" msgstr "Продолжить" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "Использовать = спуск" +msgstr "\"Aux1\" = спуск" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1915,7 +1904,7 @@ msgstr "Автопрыжок" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1923,11 +1912,11 @@ msgstr "Назад" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Границы блока" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" -msgstr "Изменить камеру" +msgstr "Сменить ракурс" #: src/gui/guiKeyChangeMenu.cpp msgid "Chat" @@ -2021,7 +2010,7 @@ msgstr "Вкл/выкл игровой интерфейс" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle chat log" -msgstr "Вкл/выкл историю чата" +msgstr "Включить лог чата" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fast" @@ -2049,7 +2038,7 @@ msgstr "По наклону взгляда" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" -msgstr "нажмите ..." +msgstr "нажмите клавишу" #: src/gui/guiPasswordChange.cpp msgid "Change" @@ -2102,14 +2091,13 @@ msgstr "" "касания." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Использовать виртуальный джойстик для активации кнопки \"aux\".\n" -"Если включено, виртуальный джойстик также будет нажимать кнопку \"aux\", " +"(Android) Использовать виртуальный джойстик для активации кнопки \"Aux1\".\n" +"Если включено, виртуальный джойстик также будет нажимать кнопку \"Aux1\", " "когда будет находиться за пределами основного колеса." #: src/settings_translation_file.cpp @@ -2250,14 +2238,13 @@ msgid "" msgstr "" "Поддержка 3D.\n" "Сейчас поддерживаются:\n" -"- none: 3D-режим отключён.\n" -"- anaglyph: голубой/пурпурный цвет в 3D.\n" -"- interlaced: чётные/нечётные линии отображают два разных кадра для " -"экранов, поддерживающих поляризацию.\n" -"- topbottom: Разделение экрана верх/низ.\n" -"- sidebyside: Разделение экрана право/лево.\n" +"- none: Нет.\n" +"- anaglyph: Анаглифные очки.\n" +"- interlaced: Поляризационные 3d-очки.\n" +"- topbottom: Разделение экрана по горизонтали.\n" +"- sidebyside: Разделение экрана по диагонали.\n" "- crossview: 3D на основе автостереограммы.\n" -"- pageflip: 3D на основе четырёхкратной буферизации.\n" +"- pageflip: Четырёхкратная буферизация.\n" "Примечание: в режиме interlaced шейдеры должны быть включены." #: src/settings_translation_file.cpp @@ -2282,7 +2269,7 @@ msgstr "ABM интервал" #: src/settings_translation_file.cpp msgid "ABM time budget" -msgstr "Бюджет времени ABM" +msgstr "Лимит времени ABM" #: src/settings_translation_file.cpp msgid "Absolute limit of queued blocks to emerge" @@ -2363,11 +2350,11 @@ msgid "" "This only has significant effect on daylight and artificial\n" "light, it has very little effect on natural night light." msgstr "" -"Изменяет кривую света, применяя к ней \"гамма-коррекцию\".\n" -"Более высокие значения делают средний и слабый свет ярче.\n" -"Значение \"1.0\" оставляет кривую света без изменений.\n" -"Значительный эффект виден только на дневном и искусственном\n" -"освещении, почти не влияет на естественный ночной свет." +"Изменяет кривую света, применяя к ней гамма-коррекцию.\n" +"Более высокие значения делают средние и низкие уровни света более яркими.\n" +"Значение 1.0 оставляет кривую света без изменений.\n" +"Это значительно влияет только на дневной и искусственный\n" +"свет, но имеет очень слабый эффект на естественный ночной свет." #: src/settings_translation_file.cpp msgid "Always fly and fast" @@ -2397,7 +2384,7 @@ msgstr "О сервере" #: src/settings_translation_file.cpp msgid "Announce to this serverlist." -msgstr "Анонсировать на этот список серверов." +msgstr "Оповещение в этот сервер-лист." #: src/settings_translation_file.cpp msgid "Append item name" @@ -2471,14 +2458,12 @@ msgid "Autoscaling mode" msgstr "Режим автоматического масштабирования" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Кнопка прыжка" +msgstr "Клавиша Aux1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Клавиша «Использовать» для спуска" +msgstr "Клавиша Aux1 для подъема/спуска" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2631,9 +2616,8 @@ msgstr "" "где 0.0 — минимальный уровень света, а 1.0 — максимальный." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Максимальное количество сообщений в чате (для отключения)" +msgstr "Порог cообщения команды чата" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2732,9 +2716,8 @@ msgid "Colored fog" msgstr "Цветной туман" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Цветной туман" +msgstr "Цветные тени" #: src/settings_translation_file.cpp msgid "" @@ -2769,8 +2752,8 @@ msgid "" "functions even when mod security is on (via request_insecure_environment())." msgstr "" "Разделённый запятыми список доверенных модов, которым разрешён\n" -"доступ к небезопасным функциям, даже когда включена защита модов\n" -"(через request_insecure_environment())." +"доступ к небезопасным функциям, даже когда включена защита модов (через " +"request_insecure_environment())." #: src/settings_translation_file.cpp msgid "Command key" @@ -2964,6 +2947,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Определите качество фильтрации теней\n" +"Это имитирует эффект мягких теней, применяя PCF или пуассоновский диск\n" +"но также использует больше ресурсов." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3130,7 +3116,7 @@ msgid "" "Required for IPv6 connections to work at all." msgstr "" "Включить поддержку IPv6 (для клиента и сервера).\n" -"Необходимо для работы IPv6-соединений." +"Требуется для того, чтобы вообще соединяться по IPv6." #: src/settings_translation_file.cpp msgid "" @@ -3145,6 +3131,8 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Включить цветные тени.\n" +"На истинно полупрозрачных узлах отбрасываются цветные тени. Это дорого." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3176,6 +3164,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Включить фильтрацию диска Пуассона.\n" +"По истине использует диск Пуассона для создания \"мягких теней\". Иначе " +"используется фильтрация PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3351,12 +3342,11 @@ msgid "Fast movement" msgstr "Быстрое перемещение" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Быстрое перемещение (с помощью клавиши «Использовать»).\n" +"Быстрое перемещение (с помощью клавиши \"Aux1\").\n" "Это требует привилегию 'fast' на сервере." #: src/settings_translation_file.cpp @@ -3389,17 +3379,19 @@ msgid "Filmic tone mapping" msgstr "Кинематографическое тональное отображение" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" "light edges to transparent textures. Apply a filter to clean that up\n" "at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" -"Отфильтрованные текстуры могут смешивать значения RGB с полностью\n" -"прозрачными соседними, которые оптимизаторы PNG обычно отбрасывают.\n" -"Иногда это может привести к тёмным или светлым краям полупрозрачных\n" -"текстур. Примените этот фильтр, чтобы исправить текстуру во время загрузки." +"Фильтрованные текстуры могут смешивать значения RGB с полностью прозрачными " +"соседними,\n" +"которые оптимизаторы PNG обычно отбрасывают, что часто приводит к темным " +"или\n" +"светлым краям прозрачных текстур. Примените фильтр для очистки\n" +"во время загрузки текстуры. Это автоматически включается, если включен " +"mipmapping." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3664,7 +3656,7 @@ msgstr "Уровень земли" #: src/settings_translation_file.cpp msgid "Ground noise" -msgstr "Шум грунта" +msgstr "Шум земли" #: src/settings_translation_file.cpp msgid "HTTP mods" @@ -3714,10 +3706,11 @@ msgid "Heat noise" msgstr "Шум теплоты" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Высота окна при запуске." +msgstr "" +"Компонент высоты начального размера окна. Игнорируется в полноэкранном " +"режиме." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3789,135 +3782,135 @@ msgstr "Предыдущий предмет на горячей панели" #: src/settings_translation_file.cpp msgid "Hotbar slot 1 key" -msgstr "Предмет 1 на горячей панели" +msgstr "Быстрая кнопка 1" #: src/settings_translation_file.cpp msgid "Hotbar slot 10 key" -msgstr "Предмет 10 на горячей панели" +msgstr "Быстрая кнопка 10" #: src/settings_translation_file.cpp msgid "Hotbar slot 11 key" -msgstr "Предмет 11 на горячей панели" +msgstr "Быстрая кнопка 11" #: src/settings_translation_file.cpp msgid "Hotbar slot 12 key" -msgstr "Предмет 12 на горячей панели" +msgstr "Быстрая кнопка 12" #: src/settings_translation_file.cpp msgid "Hotbar slot 13 key" -msgstr "Предмет 13 на горячей панели" +msgstr "Быстрая кнопка 13" #: src/settings_translation_file.cpp msgid "Hotbar slot 14 key" -msgstr "Предмет 14 на горячей панели" +msgstr "Быстрая кнопка 14" #: src/settings_translation_file.cpp msgid "Hotbar slot 15 key" -msgstr "Предмет 15 на горячей панели" +msgstr "Быстрая кнопка 15" #: src/settings_translation_file.cpp msgid "Hotbar slot 16 key" -msgstr "Предмет 16 на горячей панели" +msgstr "Быстрая кнопка 16" #: src/settings_translation_file.cpp msgid "Hotbar slot 17 key" -msgstr "Предмет 17 на горячей панели" +msgstr "Быстрая кнопка 17" #: src/settings_translation_file.cpp msgid "Hotbar slot 18 key" -msgstr "Предмет 18 на горячей панели" +msgstr "Быстрая кнопка 18" #: src/settings_translation_file.cpp msgid "Hotbar slot 19 key" -msgstr "Предмет 19 на горячей панели" +msgstr "Быстрая кнопка 19" #: src/settings_translation_file.cpp msgid "Hotbar slot 2 key" -msgstr "Предмет 2 на горячей панели" +msgstr "Быстрая кнопка 2" #: src/settings_translation_file.cpp msgid "Hotbar slot 20 key" -msgstr "Предмет 20 на горячей панели" +msgstr "Быстрая кнопка 20" #: src/settings_translation_file.cpp msgid "Hotbar slot 21 key" -msgstr "Предмет 21 на горячей панели" +msgstr "Быстрая кнопка 21" #: src/settings_translation_file.cpp msgid "Hotbar slot 22 key" -msgstr "Предмет 22 на горячей панели" +msgstr "Быстрая кнопка 22" #: src/settings_translation_file.cpp msgid "Hotbar slot 23 key" -msgstr "Предмет 23 на горячей панели" +msgstr "Быстрая кнопка 23" #: src/settings_translation_file.cpp msgid "Hotbar slot 24 key" -msgstr "Предмет 24 на горячей панели" +msgstr "Быстрая кнопка 24" #: src/settings_translation_file.cpp msgid "Hotbar slot 25 key" -msgstr "Предмет 25 на горячей панели" +msgstr "Быстрая кнопка 25" #: src/settings_translation_file.cpp msgid "Hotbar slot 26 key" -msgstr "Предмет 26 на горячей панели" +msgstr "Быстрая кнопка 26" #: src/settings_translation_file.cpp msgid "Hotbar slot 27 key" -msgstr "Предмет 27 на горячей панели" +msgstr "Быстрая кнопка 27" #: src/settings_translation_file.cpp msgid "Hotbar slot 28 key" -msgstr "Предмет 28 на горячей панели" +msgstr "Быстрая кнопка 28" #: src/settings_translation_file.cpp msgid "Hotbar slot 29 key" -msgstr "Предмет 29 на горячей панели" +msgstr "Быстрая кнопка 29" #: src/settings_translation_file.cpp msgid "Hotbar slot 3 key" -msgstr "Предмет 3 на горячей панели" +msgstr "Быстрая кнопка 3" #: src/settings_translation_file.cpp msgid "Hotbar slot 30 key" -msgstr "Предмет 30 на горячей панели" +msgstr "Быстрая кнопка 30" #: src/settings_translation_file.cpp msgid "Hotbar slot 31 key" -msgstr "Предмет 31 на горячей панели" +msgstr "Быстрая кнопка 31" #: src/settings_translation_file.cpp msgid "Hotbar slot 32 key" -msgstr "Предмет 32 на горячей панели" +msgstr "Быстрая кнопка 32" #: src/settings_translation_file.cpp msgid "Hotbar slot 4 key" -msgstr "Предмет 4 на горячей панели" +msgstr "Быстрая кнопка 4" #: src/settings_translation_file.cpp msgid "Hotbar slot 5 key" -msgstr "Предмет 5 на горячей панели" +msgstr "Быстрая кнопка 5" #: src/settings_translation_file.cpp msgid "Hotbar slot 6 key" -msgstr "Предмет 6 на горячей панели" +msgstr "Быстрая кнопка 6" #: src/settings_translation_file.cpp msgid "Hotbar slot 7 key" -msgstr "Предмет 7 на горячей панели" +msgstr "Быстрая кнопка 7" #: src/settings_translation_file.cpp msgid "Hotbar slot 8 key" -msgstr "Предмет 8 на горячей панели" +msgstr "Быстрая кнопка 8" #: src/settings_translation_file.cpp msgid "Hotbar slot 9 key" -msgstr "Предмет 9 на горячей панели" +msgstr "Быстрая кнопка 9" #: src/settings_translation_file.cpp msgid "How deep to make rivers." -msgstr "Как глубоко делать реки." +msgstr "Насколько глубоко делать реки." #: src/settings_translation_file.cpp msgid "" @@ -3939,7 +3932,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "How wide to make rivers." -msgstr "Насколько широкими делать реки." +msgstr "Насколько широко делать реки." #: src/settings_translation_file.cpp msgid "Humidity blend noise" @@ -3970,13 +3963,13 @@ msgstr "" "чтобы не тратить мощность процессора впустую." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Если отключено, кнопка «Использовать» активирует быстрый полёт, если " -"одновременно включены режим быстрого перемещения и режим полёта." +"Если отключено, кнопка \"Aux1\" используется для быстрого полета, если режим " +"полёта и быстрый режим\n" +"включены." #: src/settings_translation_file.cpp msgid "" @@ -4002,14 +3995,14 @@ msgstr "" "Требует наличие привилегии «noclip» на сервере." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Если включено, то для спуска (в воде или при полёте) будет задействована " -"клавиша «Использовать», а не «Красться»." +"Если включено, клавиша \"Aux1\" вместо клавиши \"Sneak\" используется для " +"подъема вниз и\n" +"спуска." #: src/settings_translation_file.cpp msgid "" @@ -4067,6 +4060,8 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Если выполнение команды чата занимает больше указанного времени в\n" +"секундах, добавьте информацию о времени в сообщение команды чата" #: src/settings_translation_file.cpp msgid "" @@ -5326,9 +5321,8 @@ msgid "Map save interval" msgstr "Интервал сохранения карты" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Интервал обновления жидкостей" +msgstr "Время обновления карты" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5441,7 +5435,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Максимальное расстояние для отрисовки теней." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5532,7 +5526,7 @@ msgid "" msgstr "" "Максимальное количество пакетов, отправляемых за шаг. Если у вас медленное " "подключение,\n" -"попробуйте уменьшить его, но не устанавливайте ниже значения клиента, " +"попробуйте уменьшить его, но не устанавливайте ниже значения клиента,\n" "умноженного на два." #: src/settings_translation_file.cpp @@ -5576,19 +5570,20 @@ msgstr "" "0 для отключения очереди и -1 для неограниченного размера." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Максимум времени (в миллисекундах), которое может занять загрузка (например, " -"мода)." +"Максимальное время загрузки файла (например, загрузки мода), указанное в " +"миллисекундах." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Максимальное время, которое может занять интерактивный запрос (например, " +"получение списка серверов), указывается в миллисекундах." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5826,7 +5821,7 @@ msgstr "Непрозрачные жидкости" #: src/settings_translation_file.cpp msgid "" "Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." -msgstr "Непрозрачность (альфа) тени позади шрифта по умолчанию, между 0 и 255." +msgstr "Прозрачность тени сзади стандартного шрифта, между 0 и 255." #: src/settings_translation_file.cpp msgid "" @@ -5871,7 +5866,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Path to texture directory. All textures are first searched from here." msgstr "" -"Путь до каталога с текстурами. Все текстуры в первую очередь берутся от сюда." +"Путь к директории с текстурами. Все текстуры в первую очередь берутся отсюда." #: src/settings_translation_file.cpp msgid "" @@ -5925,7 +5920,7 @@ msgstr "Режим движения вниз/вверх по направлен #: src/settings_translation_file.cpp msgid "Place key" -msgstr "Клавиша «Разместить»" +msgstr "Клавиша положить" #: src/settings_translation_file.cpp msgid "Place repetition interval" @@ -5952,9 +5947,8 @@ msgid "Player versus player" msgstr "Режим «Игрок против игрока» (PvP)" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Билинейная фильтрация" +msgstr "Пуассоновская фильтрация" #: src/settings_translation_file.cpp msgid "" @@ -6051,7 +6045,7 @@ msgstr "Недавние сообщения чата" #: src/settings_translation_file.cpp msgid "Regular font path" -msgstr "Стандартный путь шрифта" +msgstr "Путь к обычному шрифту" #: src/settings_translation_file.cpp msgid "Remote media" @@ -6192,9 +6186,9 @@ msgstr "" "Масштабировать интерфейс, используя заданное пользователем значение.\n" "Использовать метод ближайшего соседа и антиалиасинг, чтобы масштабировать " "интерфейс.\n" -"Это сгладит некоторые острые углы и смешает пиксели при уменьшении масштаба " -"за счёт\n" -"размывания пикселей на гранях при масштабировании на нецелые размеры." +"Это сгладит некоторые острые углы и смешает\n" +"пиксели при уменьшении масштаба за счёт размывания\n" +"пикселей на гранях при масштабировании на нецелые размеры." #: src/settings_translation_file.cpp msgid "Screen height" @@ -6357,6 +6351,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Установите силу тени.\n" +"Меньшее значение означает более светлые тени, большее значение означает " +"более тёмные тени." #: src/settings_translation_file.cpp msgid "" @@ -6365,6 +6362,10 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Установить время обновления теней.\n" +"Меньшее значение означает, что тени и карта обновляются быстрее, но это " +"потребляет больше ресурсов.\n" +"Минимальное значение 0,001 секунды, максимальное 0,2 секунды" #: src/settings_translation_file.cpp msgid "" @@ -6372,6 +6373,9 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Установить размер радиуса мягкой тени.\n" +"Меньшие значения означают более резкие тени, большие значения более мягкие.\n" +"Минимальное значение 1,0 и максимальное 10,0" #: src/settings_translation_file.cpp msgid "" @@ -6379,9 +6383,11 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Установка наклона орбиты Солнца/Луны в градусах.\n" +"Значение 0 означает отсутствие наклона / вертикальную орбиту.\n" +"Минимальное значение 0.0 и максимальное значение 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." @@ -6419,6 +6425,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Устанавливает качество текстуры тени в 32 бита.\n" +"При значении false будет использоваться 16-битная текстура.\n" +"Это может вызвать гораздо больше артефактов в тени." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6432,26 +6441,25 @@ msgid "" "This only works with the OpenGL video backend." msgstr "" "Шейдеры позволяют использовать дополнительные визуальные эффекты и могут " -"увеличить производительность на некоторых видеокартах.\n" +"увеличить\n" +"производительность на некоторых видеокартах.\n" "Работают только с видео-бэкендом OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Качество скриншота" +msgstr "Качество теневого фильтра" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Максимальное расстояние карты теней в узлах для рендеринга теней" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Текстура карты теней в 32 битах" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Минимальный размер текстуры" +msgstr "Размер текстуры карты теней" #: src/settings_translation_file.cpp msgid "" @@ -6463,7 +6471,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Сила тени" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6524,7 +6532,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Наклон орбиты небесного тела" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6585,9 +6593,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Скорость ходьбы украдкой в нодах в секунду." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Прозрачность тени шрифта" +msgstr "Радиус мягкой тени" #: src/settings_translation_file.cpp msgid "Sound" @@ -6755,6 +6762,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Размер текстуры для рендеринга карты теней.\n" +"Это должно быть число, кратное двум.\n" +"Большие числа создают более качественные тени, но они и более дорогие." #: src/settings_translation_file.cpp msgid "" @@ -6857,7 +6867,6 @@ msgstr "" "Это должно быть настроено вместе с active_object_send_range_blocks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6866,12 +6875,13 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Программный интерфейс визуализации для Irrlicht.\n" -"После изменения этого параметра потребуется перезапуск.\n" -"Примечание: Если не уверены, используйте OGLES1 для Android, иначе\n" -"приложение может не запуститься. На других платформах рекомендуется\n" -"OpenGL. Шейдеры поддерживаются OpenGL (только на десктопах) и OGLES2 " -"(экспериментально)" +"Бэкэнд рендеринга.\n" +"После изменения этого параметра требуется перезагрузка.\n" +"Примечание: На Android, если вы не уверены, используйте OGLES1! В противном " +"случае приложение может не запуститься.\n" +"На других платформах рекомендуется использовать OpenGL.\n" +"Шейдеры поддерживаются OpenGL (только для настольных компьютеров) и OGLES2 " +"(экспериментальный)" #: src/settings_translation_file.cpp msgid "" @@ -6926,7 +6936,7 @@ msgid "" "the place button." msgstr "" "Задержка перед повторным размещением блока в секундах\n" -"при удержании клавиши размещения" +"при удержании клавиши размещения." #: src/settings_translation_file.cpp msgid "The type of joystick" @@ -7083,9 +7093,9 @@ msgid "" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" -"Использовать MIP-текстурирование для масштабирования текстур.\n" -"Может немного увеличить производительность, особенно при\n" -"использовании пакета текстур высокого разрешения.\n" +"Использовать MIP-текстурирование для масштабирования текстур. Может немного " +"увеличить производительность,\n" +"особенно при использовании пакета текстур высокого разрешения.\n" "Гамма-коррекция при уменьшении масштаба не поддерживается." #: src/settings_translation_file.cpp @@ -7209,9 +7219,8 @@ msgid "Viewing range" msgstr "Дистанция отрисовки" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Дополнительная кнопка триггеров виртуального джойстика" +msgstr "Виртуальный джойстик нажимает кнопку Aux1" #: src/settings_translation_file.cpp msgid "Volume" @@ -7223,7 +7232,7 @@ msgid "" "Requires the sound system to be enabled." msgstr "" "Громкость всех звуков.\n" -"Требуется включить звуковую систему." +"Требует включенной звуковой системы." #: src/settings_translation_file.cpp msgid "" @@ -7283,7 +7292,7 @@ msgstr "Скорость волн волнистых жидкостей" #: src/settings_translation_file.cpp msgid "Waving liquids wavelength" -msgstr "Длина волн волнистых жидкостей" +msgstr "Длина волн на воде" #: src/settings_translation_file.cpp msgid "Waving plants" @@ -7314,7 +7323,6 @@ msgstr "" "правильно поддерживают загрузку текстур с аппаратного обеспечения." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7325,16 +7333,20 @@ msgid "" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." msgstr "" -"При использовании билинейного, трилинейного или анизотропного фильтра\n" -"текстуры с низким разрешением могут быть размыты, поэтому происходит\n" -"автоматическое масштабирование их с интерполяцией по ближайшим соседям,\n" -"чтобы сохранить чёткие пиксели. Этот параметр определяет минимальный\n" -"размер для увеличенных текстур. При высоких значениях отображение более\n" -"чёткое, но требует больше памяти. Рекомендуется значение 2. Установка этого\n" -"значения выше 1 может не иметь видимого эффекта, если не включена \n" -"билинейная, трилинейная или анизотропная фильтрация.\n" -"Также используется как размер базовой текстуры ноды для мирового\n" -"автомасштабирования текстур." +"При использовании билинейных/трилинейных/анизотропных фильтров текстуры с " +"низким разрешением\n" +"могут быть размыты, поэтому автоматически повышайте их масштаб с помощью " +"ближайших соседей\n" +"интерполяцией, чтобы сохранить чёткие пиксели. Здесь задается минимальный " +"размер текстуры\n" +"для увеличенных текстур; более высокие значения выглядят более чёткими, но " +"требуют больше\n" +"памяти. Рекомендуется использовать значения, кратные 2. Эта настройка " +"применяется ТОЛЬКО в том случае, если\n" +"включена билинейная/трилинейная/анизотропная фильтрация.\n" +"Это значение также используется в качестве базового размера текстуры узла " +"для автомасштабирования текстур с выравниванием по миру\n" +"автомасштабирования текстуры." #: src/settings_translation_file.cpp msgid "" @@ -7391,10 +7403,11 @@ msgid "" "In-game, you can toggle the mute state with the mute key or by using the\n" "pause menu." msgstr "" -"Отключить ли звуки. Вы можете включить звуки в любое время, если \n" -"звуковая система не отключена (enable_sound=false). \n" -"В игре, вы можете отключить их с помощью клавиши mute\n" -"или вызывая меню паузы." +"Нужно ли выключить звуки? Вы можете включить звуки в любое время, если\n" +"звуковая система не отключена (enable_sound=false).\n" +"Внутри игры, вы можете включить режим отключения звуков, нажав на клавишу " +"отключения звуков или используя\n" +"меню паузы." #: src/settings_translation_file.cpp msgid "" @@ -7402,9 +7415,10 @@ msgid "" msgstr "Показывать данные отладки (аналогично нажатию F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Ширина компонента начального размера окна." +msgstr "" +"Компонент ширины начального размера окна. Игнорируется в полноэкранном " +"режиме." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7441,13 +7455,14 @@ msgid "" "See also texture_min_size.\n" "Warning: This option is EXPERIMENTAL!" msgstr "" -"Выровненные по миру текстуры можно масштабировать так, чтобы они\n" -"охватывали несколько нод. Но сервер может не отправить нужный\n" -"масштаб, особенно если вы используете специально разработанный\n" -"пакет текстур; с этим параметром клиент пытается определить масштаб\n" -"автоматически на основании размера текстуры.\n" -"Смотрите также texture_min_size.\n" -"Внимание: Этот параметр ЭКСПЕРИМЕНТАЛЬНЫЙ!" +"Текстуры с выравниванием по миру могут быть масштабированы так, чтобы " +"охватить несколько узлов. Однако,\n" +"сервер может не передать нужный масштаб, особенно если вы используете\n" +"специально разработанный пакет текстур; при использовании этой опции клиент " +"пытается\n" +"определить масштаб автоматически, основываясь на размере текстуры.\n" +"См. также texture_min_size.\n" +"Предупреждение: Эта опция является ЭКСПЕРИМЕНТАЛЬНОЙ!" #: src/settings_translation_file.cpp msgid "World-aligned textures mode" @@ -7539,9 +7554,8 @@ msgid "cURL file download timeout" msgstr "Тайм-аут загрузки файла с помощью cURL" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL тайм-аут" +msgstr "Интерактивный таймаут cURL" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 0ce549f49ec607cffc5fcc50063c7ddb36c897b1 Mon Sep 17 00:00:00 2001 From: Liet Kynes Date: Tue, 6 Jul 2021 08:26:02 +0000 Subject: Translated using Weblate (Norwegian Bokmål) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 55.4% (774 of 1396 strings) --- po/nb/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/nb/minetest.po b/po/nb/minetest.po index 2497e570c..bfa16f8d1 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-05-09 08:57+0000\n" -"Last-Translator: Allan Nordhøy \n" +"PO-Revision-Date: 2021-07-06 08:26+0000\n" +"Last-Translator: Liet Kynes \n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1356,7 +1356,7 @@ msgstr "Viser feilsøkingsinfo" #: src/client/game.cpp msgid "Debug info, profiler graph, and wireframe hidden" -msgstr "" +msgstr "Skjuler problemsøkerinfo, profilerinsgraf og 3D-gitter" #: src/client/game.cpp msgid "" -- cgit v1.2.3 From a8745948c4655930c3e85a7ab6a5404dd9a9bcc8 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 6 Jul 2021 08:24:07 +0000 Subject: Translated using Weblate (Norwegian Bokmål) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 55.4% (774 of 1396 strings) --- po/nb/minetest.po | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/po/nb/minetest.po b/po/nb/minetest.po index bfa16f8d1..6eadaf0af 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-06 08:26+0000\n" -"Last-Translator: Liet Kynes \n" +"PO-Revision-Date: 2021-07-07 09:35+0000\n" +"Last-Translator: Petter Reinholdtsen \n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" @@ -19,9 +19,8 @@ msgid "Clear the out chat queue" msgstr "" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Sludrekommandoer" +msgstr "Tom kommando." #: builtin/client/chatcommands.lua #, fuzzy @@ -35,7 +34,7 @@ msgstr "Lokal kommando" #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Avgitt kommando: " #: builtin/client/chatcommands.lua #, fuzzy @@ -53,7 +52,7 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Denne kommandoen er utkoblet av tjeneren." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,9 +63,8 @@ msgid "You died" msgstr "Du døde" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Du døde" +msgstr "Du døde." #: builtin/common/chatcommands.lua #, fuzzy @@ -80,7 +78,7 @@ msgstr "Lokal kommando" #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Ikke tilgjengelig kommando: " #: builtin/common/chatcommands.lua msgid "Get help for commands" @@ -1114,7 +1112,7 @@ msgstr "Flytlandene (eksperimentelt)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" -msgstr "Skyggelegging (ikke tilgjenglig)" +msgstr "Skyggelegging (ikke tilgjengelig)" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" @@ -1130,7 +1128,7 @@ msgstr "Teksturering:" #: builtin/mainmenu/tab_settings.lua msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "For å skru på skyggeleging, må man bruke OpenGL-driveren." +msgstr "OpenGL-driveren må brukes for å aktivere skyggelegging." #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" @@ -1348,7 +1346,7 @@ msgstr "Oppretter tjener…" #: src/client/game.cpp msgid "Debug info and profiler graph hidden" -msgstr "Skjuler feilsøkingsinfo og profilgraf" +msgstr "Skjuler feilsøkingsinfo og profileringsgraf" #: src/client/game.cpp msgid "Debug info shown" @@ -1356,7 +1354,7 @@ msgstr "Viser feilsøkingsinfo" #: src/client/game.cpp msgid "Debug info, profiler graph, and wireframe hidden" -msgstr "Skjuler problemsøkerinfo, profilerinsgraf og 3D-gitter" +msgstr "Skjuler feilsøkingsinfo, profileringsgraf og 3D-gitter" #: src/client/game.cpp msgid "" @@ -2863,11 +2861,12 @@ msgid "Crosshair alpha" msgstr "Trådkors-alpha" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "Also controls the object crosshair color" -msgstr "Trådkors-alpha (ugjennomsiktighet, mellom 0 og 255)." +msgstr "" +"Trådkors-alpha (ugjennomsiktighet, mellom 0 og 255).\n" +"Kontrollerer også objektets trådkorsfarge" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3121,9 +3120,8 @@ msgid "Enable console window" msgstr "Skru på konsollvindu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "Skru på kreativt modusfor nye opprettede kart." +msgstr "Aktiver kreativt modus for alle spillere" #: src/settings_translation_file.cpp msgid "Enable joysticks" @@ -3253,9 +3251,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "FPS when unfocused or paused" -msgstr "Maks FPS når spillet står i pause." +msgstr "Maks FPS når spillet ikke har fokus eller er pauset" #: src/settings_translation_file.cpp msgid "FSAA" -- cgit v1.2.3 From 756261bafe7f5620bd4b7ffe79c1d0b6e2796e80 Mon Sep 17 00:00:00 2001 From: Liet Kynes Date: Tue, 6 Jul 2021 08:27:40 +0000 Subject: Translated using Weblate (Norwegian Bokmål) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 56.0% (783 of 1396 strings) --- po/nb/minetest.po | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/po/nb/minetest.po b/po/nb/minetest.po index 6eadaf0af..fc0c0ed5c 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-07-07 09:35+0000\n" -"Last-Translator: Petter Reinholdtsen \n" +"Last-Translator: Liet Kynes \n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" @@ -5913,6 +5913,25 @@ msgid "" "17 = 4D \"Mandelbulb\" Mandelbrot set.\n" "18 = 4D \"Mandelbulb\" Julia set." msgstr "" +"Velger en av 18 fraktaltyper.\n" +"1 = 4D «Rund» Mandelbrot-mengde.\n" +"2 = 4D «Rund» Julia-mengde.\n" +"3 = 4D «Firkantet» Mandelbrot-mengde.\n" +"4 = 4D «Firkantet» Julia-mengde.\n" +"5 = 4D «Mandy Cousin» Mandelbrot-mengde.\n" +"6 = 4D «Mandy Cousin» Julia-mengde.\n" +"7 = 4D «Variasjon» Mandelbrot-mengde.\n" +"8 = 4D «Variasjon» Julia-mengde.\n" +"9 = 3D «Mandelbrot/Mandelbar» Mandelbrot-mengde.\n" +"10 = 3D «Mandelbrot/Mandelbar» Julia-mengde.\n" +"11 = 3D «Juletre» Mandelbrot-mengde.\n" +"12 = 3D «Juletre» Julia-mengde.\n" +"13 = 3D «Mandelbulb» Mandelbrot-mengde.\n" +"14 = 3D «Mandelbulb» Julia-mengde.\n" +"15 = 3D «Cosine Mandelbulb» Mandelbrot-mengde.\n" +"16 = 3D «Cosine Mandelbulb» Julia-mengde.\n" +"17 = 4D «Mandelbulb» Mandelbrot-mengde.\n" +"18 = 4D «Mandelbulb» Julia-mengde." #: src/settings_translation_file.cpp msgid "Server / Singleplayer" -- cgit v1.2.3 From 82f8e24d835008488316adeaa909f97aaf584a70 Mon Sep 17 00:00:00 2001 From: Lin Happy 666 Date: Fri, 9 Jul 2021 08:45:12 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 92.3% (1289 of 1396 strings) --- po/zh_CN/minetest.po | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 490513f6b..8177610c0 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-21 11:33+0000\n" -"Last-Translator: Riceball LEE \n" +"PO-Revision-Date: 2021-07-10 09:32+0000\n" +"Last-Translator: Lin Happy 666 \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -12,16 +12,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.7\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" msgstr "清除聊天发送队列" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "空命令." +msgstr "空命令。" #: builtin/client/chatcommands.lua msgid "Exit to main menu" @@ -224,8 +223,9 @@ msgid "$1 and $2 dependencies will be installed." msgstr "$1 和 $2 依赖项将被安装." #: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy msgid "$1 by $2" -msgstr "" +msgstr "$1 比 $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" @@ -914,9 +914,8 @@ msgid "Start Game" msgstr "启动游戏" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- 地址: " +msgstr "地址" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -932,9 +931,8 @@ msgstr "创造模式" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "伤害" +msgstr "伤害 / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" @@ -1125,11 +1123,11 @@ msgstr "三线性过滤" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "超出高度限制" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "过于低" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" -- cgit v1.2.3 From 19d5a5066cd7083008e7a6f17f1be47c67c8db63 Mon Sep 17 00:00:00 2001 From: BreadW Date: Fri, 16 Jul 2021 15:18:32 +0000 Subject: Translated using Weblate (Japanese) Currently translated at 99.4% (1389 of 1396 strings) --- po/ja/minetest.po | 357 ++++++++++++++++++++++++++---------------------------- 1 file changed, 170 insertions(+), 187 deletions(-) diff --git a/po/ja/minetest.po b/po/ja/minetest.po index 541aea659..a5844c7b1 100644 --- a/po/ja/minetest.po +++ b/po/ja/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Japanese (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-04-08 18:26+0000\n" +"PO-Revision-Date: 2021-07-17 13:33+0000\n" "Last-Translator: BreadW \n" "Language-Team: Japanese \n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "アウトチャットキューの最大サイズ" +msgstr "アウト チャット キューをクリアする" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "チャットコマンド" +msgstr "空のコマンドです。" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "メインメニュー" +msgstr "メインメニューに戻る" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "ローカルコマンド" +msgstr "無効なコマンド: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "発行されたコマンド: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "シングルプレイヤー" +msgstr "オンラインプレーヤーを一覧表示する" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "シングルプレイヤー" +msgstr "オンラインプレイヤー: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "アウトチャットキューは空になりました。" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "このコマンドはサーバによって無効にされています。" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +59,33 @@ msgid "You died" msgstr "死んでしまった" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "死んでしまった" +msgstr "あなたは死にました。" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "ローカルコマンド" +msgstr "使用可能なコマンド:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "ローカルコマンド" +msgstr "使用可能なコマンド: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "コマンドは使用できません: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "コマンドのヘルプを表示する" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." -msgstr "" +msgstr "'.help ' を使用して詳細情報を取得するか、または '.help all' を使用してすべてを一覧表示します。" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -118,7 +109,7 @@ msgstr "再接続" #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" -msgstr "サーバが再接続を要求しました:" +msgstr "サーバーが再接続を要求しました:" #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " @@ -126,11 +117,11 @@ msgstr "プロトコルのバージョンが一致していません。 " #: builtin/mainmenu/common.lua msgid "Server enforces protocol version $1. " -msgstr "サーバはバージョン$1のプロトコルを強制しています。 " +msgstr "サーバーはバージョン$1のプロトコルを強制しています。 " #: builtin/mainmenu/common.lua msgid "Server supports protocol versions between $1 and $2. " -msgstr "サーバは$1から$2までのプロトコルのバージョンをサポートしています。 " +msgstr "サーバーは$1から$2までのプロトコルのバージョンをサポートしています。 " #: builtin/mainmenu/common.lua msgid "We only support protocol version $1." @@ -774,24 +765,23 @@ msgstr "読み込み中..." #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" -msgstr "公開サーバ一覧は無効" +msgstr "公開サーバー一覧は無効" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." -msgstr "インターネット接続を確認し、公開サーバ一覧を再有効化してください。" +msgstr "インターネット接続を確認し、公開サーバー一覧を再有効化してください。" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "About" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "活動中の貢献者" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "アクティブなオブジェクトの送信範囲" +msgstr "アクティブなレンダラー:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -859,7 +849,7 @@ msgstr "テクスチャパック使用" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" -msgstr "公開サーバ" +msgstr "公開サーバー" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" @@ -879,7 +869,7 @@ msgstr "ゲームホスト" #: builtin/mainmenu/tab_local.lua msgid "Host Server" -msgstr "ホストサーバ" +msgstr "ホストサーバー" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" @@ -919,16 +909,15 @@ msgstr "ワールドを選択:" #: builtin/mainmenu/tab_local.lua msgid "Server Port" -msgstr "サーバのポート" +msgstr "サーバーのポート" #: builtin/mainmenu/tab_local.lua msgid "Start Game" msgstr "ゲームスタート" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- アドレス: " +msgstr "アドレス" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -944,22 +933,20 @@ msgstr "クリエイティブモード" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "ダメージ" +msgstr "ダメージ / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "お気に入り削除" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "お気に入り" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "互換性のないサーバ" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -970,18 +957,16 @@ msgid "Ping" msgstr "応答速度" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "公開サーバ" +msgstr "公開サーバー" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "再読込" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "サーバ説明" +msgstr "サーバーの説明" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1024,13 +1009,12 @@ msgid "Connected Glass" msgstr "ガラスを繋げる" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "フォントの影" +msgstr "動的な影" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "動的な影: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1038,15 +1022,15 @@ msgstr "綺麗な葉" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "強め" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "弱め" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "普通" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1138,11 +1122,11 @@ msgstr "トライリニアフィルタ" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "超強く" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "とても弱く" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1246,7 +1230,7 @@ msgstr "- ポート: " #: src/client/game.cpp msgid "- Public: " -msgstr "- 公開サーバ: " +msgstr "- 公開サーバー: " #. ~ PvP = Player versus Player #: src/client/game.cpp @@ -1255,7 +1239,7 @@ msgstr "- PvP: " #: src/client/game.cpp msgid "- Server Name: " -msgstr "- サーバ名: " +msgstr "- サーバー名: " #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1291,7 +1275,7 @@ msgstr "クライアント側のスクリプトは無効" #: src/client/game.cpp msgid "Connecting to server..." -msgstr "サーバに接続中..." +msgstr "サーバーに接続中..." #: src/client/game.cpp msgid "Continue" @@ -1336,7 +1320,7 @@ msgstr "クライアントを作成中..." #: src/client/game.cpp msgid "Creating server..." -msgstr "サーバを作成中..." +msgstr "サーバーを作成中..." #: src/client/game.cpp msgid "Debug info and profiler graph hidden" @@ -1436,7 +1420,7 @@ msgstr "ポーズメニュー" #: src/client/game.cpp msgid "Hosting server" -msgstr "ホスティングサーバ" +msgstr "ホスティングサーバー" #: src/client/game.cpp msgid "Item definitions..." @@ -1459,9 +1443,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "ミニマップは現在ゲームまたはModにより無効" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "シングルプレイヤー" +msgstr "マルチプレイヤー" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1501,7 +1484,7 @@ msgstr "観測記録グラフ 表示" #: src/client/game.cpp msgid "Remote server" -msgstr "リモートサーバ" +msgstr "リモートサーバー" #: src/client/game.cpp msgid "Resolving address..." @@ -1886,11 +1869,9 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" -"あなたはこのサーバ に名前 \"%s\" で初めて参加しようとしています。\n" -"続行する場合、あなたの情報が新しいアカウントとしてこのサーバに作成されま" -"す。\n" -"あなたのパスワードを再入力してから '参加登録' をクリックしてアカウント作成す" -"るか、\n" +"あなたはこのサーバ ーに名前 \"%s\" ではじめて参加しようとしています。\n" +"続行する場合、あなたの情報が新しいアカウントとしてこのサーバーに作成されます。\n" +"あなたのパスワードを再入力してから '参加登録' をクリックしてアカウント作成するか、\n" "キャンセルをクリックして中断してください。" #: src/gui/guiFormSpecMenu.cpp @@ -1898,7 +1879,6 @@ msgid "Proceed" msgstr "決定" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" msgstr "\"スペシャル\" = 降りる" @@ -1912,7 +1892,7 @@ msgstr "自動ジャンプ" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1920,7 +1900,7 @@ msgstr "後退" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "ブロック境界線表示切替" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2098,15 +2078,14 @@ msgstr "" "無効にした場合、最初に触れた位置がバーチャルパッドの中心になります。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) バーチャルパッドを使用して\"aux\"ボタンを起動します。\n" +"(Android) バーチャルパッドを使用して\"Aux1\"ボタンを起動します。\n" "有効にした場合、バーチャルパッドはメインサークルから外れたときにも\n" -"\"aux\"ボタンをタップします。" +"\"Aux1\"ボタンをタップします。" #: src/settings_translation_file.cpp msgid "" @@ -2259,11 +2238,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." -msgstr "サーバクラッシュ時に全てのクライアントへ表示するメッセージ。" +msgstr "サーバークラッシュ時にすべてのクライアントへ表示するメッセージ。" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." -msgstr "サーバ終了時に全てのクライアントへ表示するメッセージ。" +msgstr "サーバー終了時にすべてのクライアントへ表示するメッセージ。" #: src/settings_translation_file.cpp msgid "ABM interval" @@ -2308,7 +2287,7 @@ msgid "" "Note that the address field in the main menu overrides this setting." msgstr "" "接続先のアドレスです。\n" -"ローカルサーバを起動する際は空白に設定してください。\n" +"ローカルサーバーを起動する際は空白に設定してください。\n" "メインメニューのアドレス欄はこの設定を上書きすることに注意してください。" #: src/settings_translation_file.cpp @@ -2377,11 +2356,11 @@ msgstr "異方性フィルタリング" #: src/settings_translation_file.cpp msgid "Announce server" -msgstr "サーバを公開" +msgstr "サーバーを公開" #: src/settings_translation_file.cpp msgid "Announce to this serverlist." -msgstr "このサーバ一覧に告知します。" +msgstr "このサーバー一覧に告知します。" #: src/settings_translation_file.cpp msgid "Append item name" @@ -2425,11 +2404,11 @@ msgid "" "optimization.\n" "Stated in mapblocks (16 nodes)." msgstr "" -"この距離でサーバはどのブロックをクライアントへ送信するかを積極的に\n" +"この距離でサーバーはどのブロックをクライアントへ送信するかを積極的に\n" "最適化します。\n" -"小さい値に設定すると、レンダリングの視覚的な不具合を犠牲にして、\n" +"小さい値に設定すると、描画の視覚的な不具合を犠牲にして、\n" "パフォーマンスが大幅に向上する可能性があります(いくつかのブロックは\n" -"水中や洞窟、時には陸の上でもレンダリングされません)。\n" +"水中や洞窟、時には陸の上でも描画されません)。\n" "max_block_send_distance より大きい値に設定すると、この最適化は\n" "無効になります。 \n" "マップブロック(16ノード)で表記。" @@ -2444,7 +2423,7 @@ msgstr "自動的に1ノードの障害物をジャンプします。" #: src/settings_translation_file.cpp msgid "Automatically report to the serverlist." -msgstr "サーバ一覧に自動的に報告します。" +msgstr "サーバー一覧に自動的に報告します。" #: src/settings_translation_file.cpp msgid "Autosave screen size" @@ -2455,14 +2434,12 @@ msgid "Autoscaling mode" msgstr "自動拡大縮小モード" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "ジャンプキー" +msgstr "Aux1キー" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "降りるためのスペシャルキー" +msgstr "昇降用のAux1キー" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2614,9 +2591,8 @@ msgstr "" "0.0は最小光レベル、1.0は最大光レベルです。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "チャットメッセージキックのしきい値" +msgstr "チャットコマンド時間切れメッセージのしきい値" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2676,7 +2652,7 @@ msgstr "クライアント" #: src/settings_translation_file.cpp msgid "Client and Server" -msgstr "クライアントとサーバ" +msgstr "クライアントとサーバー" #: src/settings_translation_file.cpp msgid "Client modding" @@ -2715,9 +2691,8 @@ msgid "Colored fog" msgstr "色つきの霧" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "色つきの霧" +msgstr "色つきの影" #: src/settings_translation_file.cpp msgid "" @@ -2764,7 +2739,7 @@ msgstr "ガラスを繋げる" #: src/settings_translation_file.cpp msgid "Connect to external media server" -msgstr "外部メディアサーバに接続" +msgstr "外部メディアサーバーに接続" #: src/settings_translation_file.cpp msgid "Connects glass if supported by node." @@ -2904,7 +2879,7 @@ msgstr "この値を小さくすると、移動時の液体抵抗が増加しま #: src/settings_translation_file.cpp msgid "Dedicated server step" -msgstr "専用サーバステップ" +msgstr "専用サーバーステップ" #: src/settings_translation_file.cpp msgid "Default acceleration" @@ -2944,6 +2919,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"影のフィルタリング品質定義\n" +"これは、PCFまたはポアソンディスクを適用することで、やわらない影効果をシミュレートするものです。\n" +"しかし、より多くのリソースを消費します。" #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3029,7 +3007,7 @@ msgstr "これ以下の深さで大きな洞窟が見つかります。" msgid "" "Description of server, to be displayed when players join and in the " "serverlist." -msgstr "サーバの説明。プレイヤーが参加したときとサーバ一覧に表示されます。" +msgstr "サーバーの説明。プレイヤーが参加したときとサーバー一覧に表示されます。" #: src/settings_translation_file.cpp msgid "Desert noise threshold" @@ -3065,7 +3043,7 @@ msgstr "空のパスワードを許可しない" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." -msgstr "サーバ一覧に表示されるサーバのドメイン名。" +msgstr "サーバー一覧に表示されるサーバーのドメイン名。" #: src/settings_translation_file.cpp msgid "Double tap jump for fly" @@ -3116,6 +3094,8 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"色つきの影を有効にします。\n" +"真の半透明ノードでは、色つきの影を落とします。これは負荷が大きいです。" #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3147,6 +3127,8 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"ポアソンディスクによるフィルタリングを有効にします。\n" +"true の場合、ポアソンディスクを使用して「やわらない影」を作ります。それ以外の場合は、PCFフィルタリングを使用します。" #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3161,7 +3143,7 @@ msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" -"サーバへの接続時に登録確認を有効にします。\n" +"サーバーへの接続時に登録確認を有効にします。\n" "無効にすると、新しいアカウントが自動的に登録されます。" #: src/settings_translation_file.cpp @@ -3181,7 +3163,7 @@ msgid "" "expecting." msgstr "" "古いクライアントが接続できないようにします。\n" -"古いクライアントは新しいサーバに接続してもクラッシュしないという\n" +"古いクライアントは新しいサーバーに接続してもクラッシュしないという\n" "意味で互換性がありますが、期待しているすべての新機能をサポート\n" "しているわけではありません。" @@ -3192,9 +3174,9 @@ msgid "" "textures)\n" "when connecting to the server." msgstr "" -"リモートメディアサーバの使用を有効にします (サーバによって提供\n" +"リモートメディアサーバーの使用を有効にします (サーバーによって提供\n" "されている場合)。\n" -"リモートサーバはサーバに接続するときにメディア (例えば、テクスチャ) を\n" +"リモートサーバはサーバーに接続するときにメディア (例えば、テクスチャ) を\n" "ダウンロードするための非常に高速な方法を提供します。" #: src/settings_translation_file.cpp @@ -3320,13 +3302,12 @@ msgid "Fast movement" msgstr "高速移動モード" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"高速移動 (\"スペシャル\"キーによる)。\n" -"これにはサーバ上に \"fast\" 特権が必要です。" +"高速移動 (\"Aux1\"キーによる)。\n" +"これにはサーバー上に \"fast\" 特権が必要です。" #: src/settings_translation_file.cpp msgid "Field of view" @@ -3343,7 +3324,7 @@ msgid "" "Multiplayer Tab." msgstr "" "client/serverlist/ フォルダ内のファイルで、ゲームに参加タブで表示されている\n" -"お気に入りのサーバが含まれています。" +"お気に入りのサーバーが含まれています。" #: src/settings_translation_file.cpp msgid "Filler depth" @@ -3358,17 +3339,17 @@ msgid "Filmic tone mapping" msgstr "フィルム調トーンマッピング" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" "light edges to transparent textures. Apply a filter to clean that up\n" "at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" -"フィルタ処理されたテクスチャはRGB値と完全に透明な隣り合うものと混ぜる\n" -"ことができます。PNGオプティマイザは通常これを破棄します。その結果、\n" -"透明なテクスチャに対して暗いまたは明るいエッジが生じることがあります。\n" -"このフィルタを適用してテクスチャ読み込み時にそれをきれいにします。" +"フィルタ処理されたテクスチャは、RGB値を完全に透明な隣り合うものと\n" +"混ぜることができます。これはPNGオプティマイザーが通常廃棄するもので、\n" +"透過テクスチャの端が暗くなったり明るくなったりすることがよくあります。\n" +"テクスチャの読み込み時にフィルタを適用してそれをきれいにします。\n" +"これはミップマッピングが有効な場合に自動的に有効になります。" #: src/settings_translation_file.cpp msgid "Filtering" @@ -3534,7 +3515,7 @@ msgstr "フラクタルの種類" #: src/settings_translation_file.cpp msgid "Fraction of the visible distance at which fog starts to be rendered" -msgstr "霧がレンダリングされ始める可視距離の割合" +msgstr "霧が描画され始める可視距離の割合" #: src/settings_translation_file.cpp msgid "FreeType fonts" @@ -3566,7 +3547,7 @@ msgstr "" "クライアントがどれくらいの距離のオブジェクトを知っているか、\n" "マップブロック(16ノード)で定めます。\n" "\n" -"これを active_block_range よりも大きく設定すると、サーバは\n" +"これを active_block_range よりも大きく設定すると、サーバーは\n" "この距離までプレーヤーが見ている方向に\n" "アクティブなオブジェクトを維持します。(これによりモブが突然\n" "視野から消えるのを避けることができます)" @@ -3685,10 +3666,9 @@ msgid "Heat noise" msgstr "熱ノイズ" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "ウィンドウ高さの初期値。" +msgstr "初期ウィンドウサイズの高さ。フルスクリーンモードでは無視されます。" #: src/settings_translation_file.cpp msgid "Height noise" @@ -3724,7 +3704,7 @@ msgstr "丘陵性4ノイズ" #: src/settings_translation_file.cpp msgid "Homepage of server, to be displayed in the serverlist." -msgstr "サーバ一覧に表示されるサーバのホームページ。" +msgstr "サーバー一覧に表示されるサーバのホームページ。" #: src/settings_translation_file.cpp msgid "" @@ -3905,7 +3885,7 @@ msgid "" "How much the server will wait before unloading unused mapblocks.\n" "Higher value is smoother, but will use more RAM." msgstr "" -"未使用のマップブロックをアンロードするまでにサーバが待機する量。\n" +"未使用のマップブロックを破棄するまでにサーバーが待機する量。\n" "値が大きいほど滑らかになりますが、より多くのRAMが使用されます。" #: src/settings_translation_file.cpp @@ -3930,7 +3910,7 @@ msgstr "IPv6" #: src/settings_translation_file.cpp msgid "IPv6 server" -msgstr "IPv6 サーバ" +msgstr "IPv6 サーバー" #: src/settings_translation_file.cpp msgid "" @@ -3941,13 +3921,12 @@ msgstr "" "スリープ状態で制限します。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" "無効になっている場合、飛行モードと高速移動モードの両方が有効になって\n" -"いると、\"スペシャル\"キーを使用して高速で飛行することができます。" +"いると、\"Aux1\"キーを使用して高速で飛行できます。" #: src/settings_translation_file.cpp msgid "" @@ -3957,7 +3936,7 @@ msgid "" "invisible\n" "so that the utility of noclip mode is reduced." msgstr "" -"有効にすると、サーバはプレーヤーの目の位置に基づいてマップブロック\n" +"有効にすると、サーバーはプレーヤーの目の位置に基づいてマップブロック\n" "オクルージョンカリングを実行します。これによりクライアントに送信される\n" "ブロック数を50〜80%減らすことができます。すり抜けモードの有用性が\n" "減るように、クライアントはもはや目に見えないものを受け取りません。" @@ -3973,14 +3952,13 @@ msgstr "" "これにはサーバー上に \"noclip\" 特権が必要です。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"有効にすると、降りるときや水中を潜るとき \"スニーク\" キーの代りに \n" -"\"スペシャル\" キーが使用されます。" +"有効にすると、降りるとき \"スニーク\" キーの代りに \n" +"\"Aux1\" キーが使用されます。" #: src/settings_translation_file.cpp msgid "" @@ -3988,7 +3966,7 @@ msgid "" "This option is only read when server starts." msgstr "" "有効にした場合、ロールバックのために行動が記録されます。\n" -"このオプションはサーバ起動時にのみ読み込まれます。" +"このオプションはサーバー起動時にのみ読み込まれます。" #: src/settings_translation_file.cpp msgid "If enabled, disable cheat prevention in multiplayer." @@ -3999,7 +3977,7 @@ 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 "" -"有効にした場合、無効なワールドデータによってサーバがシャットダウン\n" +"有効にした場合、無効なワールドデータによってサーバーがシャットダウン\n" "することはありません。\n" "自分がしていることがわかっている場合のみこれを有効にします。" @@ -4039,6 +4017,8 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"チャットコマンドの実行が、この指定された時間(秒)よりも長くかかる場合は\n" +"チャットコマンドのメッセージに時間の情報を追加します。" #: src/settings_translation_file.cpp msgid "" @@ -5049,7 +5029,7 @@ msgid "" "Length of a server tick and the interval at which objects are generally " "updated over\n" "network." -msgstr "サーバの間隔の長さとオブジェクトが通常ネットワーク上で更新される間隔。" +msgstr "サーバーが時を刻む間隔とオブジェクトが通常ネットワーク上で更新される間隔。" #: src/settings_translation_file.cpp msgid "" @@ -5134,8 +5114,8 @@ msgid "" "Only has an effect if compiled with cURL." msgstr "" "並列HTTPリクエストの数を制限します。影響:\n" -"- サーバが remote_media 設定を使用している場合はメディアの取得。\n" -"- サーバ一覧のダウンロードとサーバの公開。\n" +"- サーバーが remote_media 設定を使用している場合はメディアの取得。\n" +"- サーバー一覧のダウンロードとサーバの公開。\n" "- メインメニューで実行されたダウンロード(例えば、コンテンツ)。\n" "cURLでコンパイルされた場合にのみ効果があります。" @@ -5179,7 +5159,7 @@ msgid "" msgstr "" "ゲームの観測記録を読み込んで、ゲームの観測データを収集します。\n" "集められた観測記録にアクセスするための /profiler コマンドを提供します。\n" -"Mod開発者やサーバオペレーターに役立ちます。" +"Mod開発者やサーバーオペレーターに役立ちます。" #: src/settings_translation_file.cpp msgid "Loading Block Modifiers" @@ -5293,9 +5273,8 @@ msgid "Map save interval" msgstr "マップ保存間隔" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "液体の更新間隔" +msgstr "マップの更新間隔" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5311,7 +5290,7 @@ msgstr "メッシュ生成のマップブロックキャッシュサイズ(MB)" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" -msgstr "マップブロックアンロードタイムアウト" +msgstr "マップブロック破棄タイムアウト" #: src/settings_translation_file.cpp msgid "Mapgen Carpathian" @@ -5409,7 +5388,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "影を描画する最大距離。" #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5536,17 +5515,16 @@ msgstr "" "キューを無効にするには 0、サイズを無制限にするには -1 を指定します。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." -msgstr "ファイルダウンロード (例: Modのダウンロード)の最大経過時間。" +msgstr "ファイルダウンロード(Modのダウンロードなど)にかかる最大時間をミリ秒単位で指定します。" #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." -msgstr "" +msgstr "インタラクティブリクエスト(サーバー一覧の取得など)にかかる最大時間をミリ秒単位で指定します。" #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5683,14 +5661,14 @@ msgid "" "When starting from the main menu, this is overridden." msgstr "" "プレイヤーの名前。\n" -"サーバを実行している場合、この名前で接続しているクライアントは管理者\n" +"サーバーを実行している場合、この名前で接続しているクライアントは管理者\n" "です。\n" "メインメニューから起動すると、これは上書きされます。" #: src/settings_translation_file.cpp msgid "" "Name of the server, to be displayed when players join and in the serverlist." -msgstr "プレイヤーが参加したときにサーバ一覧に表示されるサーバの名前。" +msgstr "プレイヤーが参加したときにサーバー一覧に表示されるサーバーの名前。" #: src/settings_translation_file.cpp msgid "Near plane" @@ -5912,9 +5890,8 @@ msgid "Player versus player" msgstr "プレイヤー対プレイヤー" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "バイリニアフィルタリング" +msgstr "ポアソンフィルタリング" #: src/settings_translation_file.cpp msgid "" @@ -6048,7 +6025,7 @@ msgid "" "csm_restriction_noderange)\n" "READ_PLAYERINFO: 32 (disable get_player_names call client-side)" msgstr "" -"サーバで特定のクライアント側機能へのアクセスを制限します。\n" +"サーバーで特定のクライアント側機能へのアクセスを制限します。\n" "以下の byteflags を合わせてクライアント側の機能を制限するか、制限なしの\n" "場合は 0 に設定します。\n" "LOAD_CLIENT_MODS: 1 (クライアント提供のModの読み込みを無効)\n" @@ -6137,7 +6114,7 @@ msgstr "ウィンドウサイズ変更時に自動的に保存します。" #: src/settings_translation_file.cpp msgid "Saving map received from server" -msgstr "サーバから受信したマップ保存" +msgstr "サーバーから受信したマップ保存" #: src/settings_translation_file.cpp msgid "" @@ -6259,39 +6236,39 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Server / Singleplayer" -msgstr "サーバ / シングルプレイヤー" +msgstr "サーバー / シングルプレイヤー" #: src/settings_translation_file.cpp msgid "Server URL" -msgstr "サーバURL" +msgstr "サーバーURL" #: src/settings_translation_file.cpp msgid "Server address" -msgstr "サーバアドレス" +msgstr "サーバーアドレス" #: src/settings_translation_file.cpp msgid "Server description" -msgstr "サーバ説明" +msgstr "サーバー説明" #: src/settings_translation_file.cpp msgid "Server name" -msgstr "サーバ名" +msgstr "サーバー名" #: src/settings_translation_file.cpp msgid "Server port" -msgstr "サーバポート" +msgstr "サーバーポート" #: src/settings_translation_file.cpp msgid "Server side occlusion culling" -msgstr "サーバ側のオクルージョンカリング" +msgstr "サーバー側のオクルージョンカリング" #: src/settings_translation_file.cpp msgid "Serverlist URL" -msgstr "サーバ一覧URL" +msgstr "サーバー一覧URL" #: src/settings_translation_file.cpp msgid "Serverlist file" -msgstr "サーバ一覧ファイル" +msgstr "サーバー一覧ファイル" #: src/settings_translation_file.cpp msgid "" @@ -6310,6 +6287,8 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"影の強さを設定します。\n" +"値が小さいほど影が薄く、値が大きいほど影が濃くなります。" #: src/settings_translation_file.cpp msgid "" @@ -6318,6 +6297,9 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"影の更新時間を設定します。\n" +"値が小さいほど影やマップの更新が速くなりますが、リソースを多く消費します。\n" +"最小値0.001秒、最大値0.2秒" #: src/settings_translation_file.cpp msgid "" @@ -6325,6 +6307,9 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"やわらない影の半径サイズを設定します。\n" +"値が小さいほどシャープな影、大きいほどやわらない影になります。\n" +"最小値1.0、最大値10.0" #: src/settings_translation_file.cpp msgid "" @@ -6332,14 +6317,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"太陽/月の軌道の傾きを度数で設定する\n" +"0 は傾きのない垂直な軌道を意味します。\n" +"最小値 0.0、最大値 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"有効にすると葉が揺れます。\n" +"有効にすると影を映します。\n" "シェーダーが有効である必要があります。" #: src/settings_translation_file.cpp @@ -6372,6 +6359,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"影のテクスチャの品質を 32 ビットに設定します。\n" +"false の場合、16ビットのテクスチャが使用されます。\n" +"これは、影がさら不自然になる可能性があります。" #: src/settings_translation_file.cpp msgid "Shader path" @@ -6389,22 +6379,20 @@ msgstr "" "これはOpenGLビデオバックエンドでのみ機能します。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "スクリーンショットの品質" +msgstr "影フィルタの品質" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "影を描画するためのノードの最大距離" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "32ビットの影投影テクスチャ" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "最小テクスチャサイズ" +msgstr "影投影テクスチャサイズ" #: src/settings_translation_file.cpp msgid "" @@ -6416,7 +6404,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "影の強さ" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6444,7 +6432,7 @@ msgstr "既定でネームタグの背景を表示" #: src/settings_translation_file.cpp msgid "Shutdown message" -msgstr "サーバ終了時のメッセージ" +msgstr "サーバー終了時のメッセージ" #: src/settings_translation_file.cpp msgid "" @@ -6474,7 +6462,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "天体の軌道傾斜角" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6534,9 +6522,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "スニーク時の速度、1秒あたりのノード数です。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "フォントの影の透過" +msgstr "やわらない影半径" #: src/settings_translation_file.cpp msgid "Sound" @@ -6698,6 +6685,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"影投影を描画するためのテクスチャサイズです。\n" +"これは2の累乗でなければなりません。\n" +"数字が大きいほど良い影ができますが、負荷も高くなります。" #: src/settings_translation_file.cpp msgid "" @@ -6712,7 +6702,7 @@ msgstr "" "ことができます。\n" "前者のモードは、機械、家具などのようなものに適していますが、\n" "後者のモードは階段やマイクロブロックを周囲の環境に合わせやすくします。\n" -"しかし、この機能は新しく、古いサーバでは使用できない可能性があります。\n" +"しかし、この機能は新しく、古いサーバーでは使用できない可能性があります。\n" "このオプションを使用すると特定のノードタイプに適用できます。ただし、\n" "これは実験的なものであり、正しく機能しない可能性があります。" @@ -6765,7 +6755,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "The network interface that the server listens on." -msgstr "サーバが待機しているネットワークインターフェース。" +msgstr "サーバがー待機しているネットワークインターフェース。" #: src/settings_translation_file.cpp msgid "" @@ -6773,7 +6763,7 @@ msgid "" "See /privs in game for a full list on your server and mod configuration." msgstr "" "新規ユーザーが自動的に取得する特権。\n" -"サーバとModの構成の完全なリストについては、ゲーム内の /privs を参照\n" +"サーバーとModの構成の完全なリストについては、ゲーム内の /privs を参照\n" "してください。" #: src/settings_translation_file.cpp @@ -6793,7 +6783,6 @@ msgstr "" "これは active_object_send_range_blocks と一緒に設定する必要があります。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6802,12 +6791,11 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Irrlichtのレンダリングバックエンド。\n" +"レンダリングのバックエンドです。\n" "変更後は再起動が必要です。\n" -"注意:Android の場合、よくわからない場合は OGLES1 を使用してください!\n" -"そうしないとアプリの起動に失敗することがあります。\n" -"その他のプラットフォームでは、OpenGL が推奨されています。\n" -"シェーダーは OpenGL(デスクトップのみ)と OGLES2(実験的)でサポート" +"注:Androidでは、不明な場合はOGRES1を使用してください!そうしないとアプリの起動に失敗することがあります。\n" +"その他のプラットフォームでは、OpenGLを推奨します。\n" +"シェーダーは、OpenGL(デスクトップのみ)とOGRES2(実験的)でサポートされています。" #: src/settings_translation_file.cpp msgid "" @@ -6947,7 +6935,7 @@ msgstr "信頼するMod" #: src/settings_translation_file.cpp msgid "URL to the server list displayed in the Multiplayer Tab." -msgstr "ゲームに参加タブで表示されるサーバ一覧へのURL。" +msgstr "ゲームに参加タブで表示されるサーバー一覧へのURL。" #: src/settings_translation_file.cpp msgid "Undersampling" @@ -6972,7 +6960,7 @@ msgstr "無制限のプレーヤー転送距離" #: src/settings_translation_file.cpp msgid "Unload unused server data" -msgstr "未使用のサーバデータをアンロード" +msgstr "未使用のサーバーデータを破棄" #: src/settings_translation_file.cpp msgid "Upper Y limit of dungeons." @@ -7129,9 +7117,8 @@ msgid "Viewing range" msgstr "視野" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "バーチャルパッドでauxボタン動作" +msgstr "バーチャルパッドで Aux1 ボタン動作" #: src/settings_translation_file.cpp msgid "Volume" @@ -7231,7 +7218,6 @@ msgstr "" "ビデオドライバのときは、古い拡大縮小方法に戻ります。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7247,9 +7233,8 @@ msgstr "" "最近傍補間を使用して自動的にそれらを拡大します。\n" "これは拡大されたテクスチャのための最小テクスチャサイズを設定します。\n" "より高い値はよりシャープに見えますが、より多くのメモリを必要とします。\n" -"2のべき乗が推奨されます。これを1より高く設定すると、\n" -"バイリニア/トライリニア/異方性フィルタリングが有効になっていない限り、\n" -"目に見える効果がない場合があります。\n" +"2のべき乗が推奨されます。この設定は、\n" +"バイリニア/トライリニア/異方性フィルタリングが有効の場合にのみ適用されます。\n" "これは整列テクスチャの自動スケーリング用の基準ノードテクスチャサイズと\n" "しても使用されます。" @@ -7297,7 +7282,7 @@ msgid "" msgstr "" "(Luaが)クラッシュした際にクライアントに再接続を要求するかどうかの\n" "設定です。\n" -"サーバが自動で再起動されるように設定されているならば true に設定\n" +"サーバーが自動で再起動されるように設定されているならば true に設定\n" "してください。" #: src/settings_translation_file.cpp @@ -7324,9 +7309,8 @@ msgstr "" "(F5を押すのと同じ効果)。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "ウィンドウ幅の初期値。" +msgstr "初期ウィンドウサイズの幅。フルスクリーンモードでは無視されます。" #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7460,9 +7444,8 @@ msgid "cURL file download timeout" msgstr "cURLファイルダウンロードタイムアウト" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURLタイムアウト" +msgstr "cURL インタラクティブタイムアウト" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From c264e47ee7743f71e4e2e161a5372e0a4fcf4bc6 Mon Sep 17 00:00:00 2001 From: Stefan Vukanovic Date: Mon, 19 Jul 2021 13:45:55 +0000 Subject: Translated using Weblate (Serbian (cyrillic)) Currently translated at 30.4% (425 of 1396 strings) --- po/sr_Cyrl/minetest.po | 241 ++++++++++++++++++++++--------------------------- 1 file changed, 108 insertions(+), 133 deletions(-) diff --git a/po/sr_Cyrl/minetest.po b/po/sr_Cyrl/minetest.po index 9ce81bbae..86ab30434 100644 --- a/po/sr_Cyrl/minetest.po +++ b/po/sr_Cyrl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Serbian (cyrillic) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2020-07-08 20:47+0000\n" -"Last-Translator: sfan5 \n" +"PO-Revision-Date: 2021-07-20 14:34+0000\n" +"Last-Translator: Stefan Vukanovic \n" "Language-Team: Serbian (cyrillic) \n" "Language: sr_Cyrl\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.2-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -32,29 +32,28 @@ msgstr "Изађи у мени" #: builtin/client/chatcommands.lua #, fuzzy msgid "Invalid command: " -msgstr "Локална команда" +msgstr "Неважећа команда: " #: builtin/client/chatcommands.lua +#, fuzzy msgid "Issued command: " -msgstr "" +msgstr "Издата команда: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Један играч" +msgstr "Излистај мрежне играче" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Један играч" +msgstr "Мрежни играчи: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Излазни ред са ћаскање је сада празан." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Ова команда није дозвољена од стране сервера." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -66,45 +65,43 @@ msgid "You died" msgstr "Умро/ла си." #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." msgstr "Умро/ла си." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Локална команда" +msgstr "Доступне команде:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Локална команда" +msgstr "Доступне команде: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Команда није доступна: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Нађите помоћ за команде" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Користите '.help ' да бисте добили више информација или '.help all' " +"да бисте све набројали." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | <команда>]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" -msgstr "" +msgstr "У реду" #: builtin/fstk/ui.lua -#, fuzzy msgid "An error occurred in a Lua script:" -msgstr "Догодила се грешка у Lua скрипти, у моду:" +msgstr "Догодила се грешка у Lua скрипти:" #: builtin/fstk/ui.lua #, fuzzy @@ -156,7 +153,6 @@ msgstr "Прекини" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Dependencies:" msgstr "Зависи од:" @@ -165,21 +161,18 @@ msgid "Disable all" msgstr "Онемогући све" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "Disable modpack" -msgstr "Онемогућено" +msgstr "Онемогући групу модова" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable all" msgstr "Укључи све" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "Enable modpack" -msgstr "Преименуј мод-паковање:" +msgstr "Укључи групу модова:" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "" "Failed to enable mod \"$1\" as it contains disallowed characters. Only " "characters [a-z0-9_] are allowed." @@ -189,36 +182,31 @@ msgstr "" #: builtin/mainmenu/dlg_config_world.lua msgid "Find More Mods" -msgstr "" +msgstr "Нађи још модова" #: builtin/mainmenu/dlg_config_world.lua msgid "Mod:" msgstr "Мод:" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No (optional) dependencies" -msgstr "Необавезне зависности:" +msgstr "Нема (необавезних) зависности" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No game description provided." -msgstr "Није доступан опис мода" +msgstr "Није пружен опис мода." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No hard dependencies" -msgstr "Нема зависности." +msgstr "Нема обавезних зависности." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No modpack description provided." -msgstr "Није доступан опис мода" +msgstr "Није пружен опис групе модова." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No optional dependencies" -msgstr "Необавезне зависности:" +msgstr "Нема необавезних зависности" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua msgid "Optional dependencies:" @@ -239,67 +227,64 @@ msgstr "укључено" #: builtin/mainmenu/dlg_contentstore.lua msgid "\"$1\" already exists. Would you like to overwrite it?" -msgstr "" +msgstr "\"$1\" већ постоји. Да ли желите да га препишете?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "$1 и $2 зависности ће бити инсталиране." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 од $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" "$1 downloading,\n" "$2 queued" msgstr "" +"$1 се преузима,\n" +"$2 чекају преузимање" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 downloading..." -msgstr "Учитавање..." +msgstr "$1 се преузима..." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "$1 неопходних зависности није могло бити нађено." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 зависности ће бити инсталирано, и $2 зависности ће бити прескочено." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" -msgstr "" +msgstr "Сви пакети" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Already installed" -msgstr "Дугме се већ користи" +msgstr "Већ инсталирано" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Back to Main Menu" -msgstr "Главни мени" +msgstr "Назад у главни мени" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Base Game:" -msgstr "Направи игру" +msgstr "Основна игра:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" msgstr "" +"ContentDB није доступан када је Minetest компајлиран без cURL библиотеке" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Downloading..." -msgstr "Учитавање..." +msgstr "Преузимање..." #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Failed to download $1" -msgstr "Неуспела инсталација $1 у $2" +msgstr "Неуспело преузимање $1" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -311,14 +296,12 @@ msgid "Install" msgstr "Инсталирај" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install $1" -msgstr "Инсталирај" +msgstr "Инсталирај $1" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install missing dependencies" -msgstr "Необавезне зависности:" +msgstr "Инсталирај недостајуће зависности" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -327,53 +310,52 @@ msgstr "Модови" #: builtin/mainmenu/dlg_contentstore.lua msgid "No packages could be retrieved" -msgstr "" +msgstr "Ниједан пакет није било могуће преузети" #: builtin/mainmenu/dlg_contentstore.lua msgid "No results" -msgstr "" +msgstr "Нема резултата" #: builtin/mainmenu/dlg_contentstore.lua msgid "No updates" -msgstr "" +msgstr "Нема ажурирања" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Није пронађено" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" -msgstr "" +msgstr "Препиши" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." -msgstr "" +msgstr "Молим проверите да ли је основна игра исправна." #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "На чекању" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Texture packs" msgstr "Сетови текстура" #: builtin/mainmenu/dlg_contentstore.lua #, fuzzy msgid "Uninstall" -msgstr "Инсталирај" +msgstr "Деинсталирај" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update" -msgstr "" +msgstr "Ажурирај" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" -msgstr "" +msgstr "Ажурирај све [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Погледај још информација у веб претраживачу" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" @@ -381,70 +363,63 @@ msgstr "Свет \"$1\" већ постоји" #: builtin/mainmenu/dlg_create_world.lua msgid "Additional terrain" -msgstr "" +msgstr "Додатни терен" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Altitude chill" -msgstr "" +msgstr "Висинска хладноћа" #: builtin/mainmenu/dlg_create_world.lua msgid "Altitude dry" -msgstr "" +msgstr "Висинска сувоћа" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biome blending" -msgstr "Семе биома" +msgstr "Склапање биома" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biomes" -msgstr "Семе биома" +msgstr "Биоми" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caverns" -msgstr "Семе пећина" +msgstr "Пећине" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caves" -msgstr "Семе пећина" +msgstr "Јама" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" msgstr "Направи" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Decorations" -msgstr "Информације о моду:" +msgstr "Украси" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Download a game, such as Minetest Game, from minetest.net" msgstr "Преузми подигру, као што је minetest_game, са minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Download one from minetest.net" -msgstr "Преузми један са minetest.net" +msgstr "Преузми једну са minetest.net" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Dungeons" -msgstr "Семе пећина" +msgstr "Тамнице" #: builtin/mainmenu/dlg_create_world.lua msgid "Flat terrain" -msgstr "" +msgstr "Раван терен" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" -msgstr "" +msgstr "Плутајуће копнене масе на небу" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" -msgstr "" +msgstr "Floatlands (експериментални)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" @@ -452,27 +427,29 @@ msgstr "Игра" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "" +msgstr "Створи нефрактални терен: Океани и подземље" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" -msgstr "" +msgstr "Брда" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Humid rivers" -msgstr "" +msgstr "Влажне реке" #: builtin/mainmenu/dlg_create_world.lua +#, fuzzy msgid "Increases humidity around rivers" -msgstr "" +msgstr "Повећава влажност око река" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" -msgstr "" +msgstr "Језера" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "" +msgstr "Ниска влажност и велика врућина узрокују плитке или суве реке" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" @@ -480,46 +457,43 @@ msgstr "Генератор мапе" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" -msgstr "" +msgstr "Опције генератора мапа" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Mapgen-specific flags" -msgstr "Генератор мапе" +msgstr "Специфичне опције генератора мапа" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" -msgstr "" +msgstr "Планине" #: builtin/mainmenu/dlg_create_world.lua msgid "Mud flow" -msgstr "" +msgstr "Проток блата" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" -msgstr "" +msgstr "Мрежа тунела и пећина" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "No game selected" -msgstr "Одабир домета" +msgstr "Није одабрана игра" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "" +msgstr "Смањује топлоту висином" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "" +msgstr "Смањује влагу висином" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Rivers" -msgstr "Семе пећина" +msgstr "Реке" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" -msgstr "" +msgstr "Реке на нивоу мора" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -528,48 +502,49 @@ msgstr "Семе" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" -msgstr "" +msgstr "Глатка транзиција између биома" #: builtin/mainmenu/dlg_create_world.lua msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" +"Структуре које се појављују на терену (нема утицаја на дрвеће и траву џунгле " +"коју је створила v6)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" -msgstr "" +msgstr "Структуре које се појављују на терену, обично дрвеће и биљке" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert" -msgstr "" +msgstr "Умерено, пустиња" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "" +msgstr "Умерено, пустиња, џунгла" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "" +msgstr "Умерено, пустиња, џунгла, тундра, тајга" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "" +msgstr "Ерозија површине терена" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -msgstr "" +msgstr "Дрвеће и трава џунгле" #: builtin/mainmenu/dlg_create_world.lua msgid "Vary river depth" -msgstr "" +msgstr "Варирај дубину реке" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" -msgstr "" +msgstr "Веома велике пећине дубоко у подземљу" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Warning: The Development Test is meant for developers." msgstr "Упозорење: Минимални развојни тест је намењен развијачима." @@ -593,14 +568,12 @@ msgid "Delete" msgstr "Обриши" #: builtin/mainmenu/dlg_delete_content.lua -#, fuzzy msgid "pkgmgr: failed to delete \"$1\"" -msgstr "Modmgr: неуспело брисање \"$1\"" +msgstr "pkgmgr: неуспело брисање \"$1\"" #: builtin/mainmenu/dlg_delete_content.lua -#, fuzzy msgid "pkgmgr: invalid path \"$1\"" -msgstr "Modmgr: локација мода \"$1\" није валидна" +msgstr "pkgmgr: локација мода \"$1\" није валидна" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" @@ -612,13 +585,15 @@ msgstr "Прихвати" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Rename Modpack:" -msgstr "Преименуј мод-паковање:" +msgstr "Преименуј групу модова:" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" +"Ова група модова има специфично име дато у свом modpack.conf које ће " +"преписати било које име дато овде." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" @@ -627,7 +602,7 @@ msgstr "(Није дат опис поставке)" #: builtin/mainmenu/dlg_settings_advanced.lua #, fuzzy msgid "2D Noise" -msgstr "Cave2 семе" +msgstr "2D бука" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" @@ -655,15 +630,15 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Octaves" -msgstr "" +msgstr "Октаве" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Offset" -msgstr "" +msgstr "Помак" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Persistance" -msgstr "" +msgstr "Упорност" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." @@ -675,11 +650,11 @@ msgstr "Молим вас унесите валидан број." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" -msgstr "Поврати уобичајено" +msgstr "Поврати подразумевано" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Scale" -msgstr "" +msgstr "Скала" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua msgid "Search" -- cgit v1.2.3 From dfb1e62bc3d1d5339e73395ef8e8bc8a61c88966 Mon Sep 17 00:00:00 2001 From: Чтабс Date: Tue, 20 Jul 2021 17:21:05 +0000 Subject: Translated using Weblate (Russian) Currently translated at 100.0% (1396 of 1396 strings) --- po/ru/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index dcd4de7aa..ff9aff663 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-04 15:44+0000\n" -"Last-Translator: Er2 \n" +"PO-Revision-Date: 2021-07-21 17:34+0000\n" +"Last-Translator: Чтабс \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1814,7 +1814,7 @@ msgstr "Shift" #: src/client/keycode.cpp msgid "Sleep" -msgstr "Sleep" +msgstr "Спать" #: src/client/keycode.cpp msgid "Snapshot" -- cgit v1.2.3 From 2e0780b4373ed4a0c3128bc10ecf106aa9db4e53 Mon Sep 17 00:00:00 2001 From: Yangjun Wang Date: Fri, 23 Jul 2021 23:58:18 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 92.5% (1292 of 1396 strings) --- po/zh_CN/minetest.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 8177610c0..bd0bf23ef 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-10 09:32+0000\n" -"Last-Translator: Lin Happy 666 \n" +"PO-Revision-Date: 2021-07-24 00:47+0000\n" +"Last-Translator: Yangjun Wang \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.7.2-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1846,9 +1846,9 @@ msgid "Minimap in radar mode, Zoom x%d" msgstr "雷达小地图,放大至一倍" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "地表模式小地图, 放大至一倍" +msgstr "地表模式小地图, 放大至%d倍" #: src/client/minimap.cpp msgid "Minimap in texture mode" -- cgit v1.2.3 From 6328b2274a4c2ebda10b0f30ca1ff2cc355eb1a9 Mon Sep 17 00:00:00 2001 From: Riceball LEE Date: Fri, 23 Jul 2021 23:57:47 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 92.5% (1292 of 1396 strings) --- po/zh_CN/minetest.po | 101 +++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 56 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index bd0bf23ef..974627be9 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-24 00:47+0000\n" -"Last-Translator: Yangjun Wang \n" +"PO-Revision-Date: 2021-07-27 01:17+0000\n" +"Last-Translator: Riceball LEE \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -40,7 +40,7 @@ msgstr "列出联机玩家" #: builtin/client/chatcommands.lua msgid "Online players: " -msgstr "联机游戏: " +msgstr "在线玩家: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -223,9 +223,8 @@ msgid "$1 and $2 dependencies will be installed." msgstr "$1 和 $2 依赖项将被安装." #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 by $2" -msgstr "$1 比 $2" +msgstr "$1 作者: $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" @@ -322,7 +321,6 @@ msgid "Please check that the base game is correct." msgstr "请查看游戏是否正确。" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Queued" msgstr "已加入队列" @@ -939,9 +937,8 @@ msgid "Del. Favorite" msgstr "删除收藏项" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "收藏项" +msgstr "我的收藏" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" @@ -956,7 +953,6 @@ msgid "Ping" msgstr "应答速度" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" msgstr "公开服务器" @@ -965,7 +961,6 @@ msgid "Refresh" msgstr "刷新" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "服务器描述" @@ -1283,7 +1278,7 @@ msgid "Continue" msgstr "继续" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "" "Controls:\n" "- %s: move forwards\n" @@ -1305,13 +1300,13 @@ msgstr "" "- %s:向后移动\n" "- %s:向左移动\n" "- %s:向右移动\n" -"- %s:跳/爬\n" -"- %s:潜行/向下\n" +"- %s:跳/向上(攀爬)\n" +"- %s:挖/打\n" +"- %s:放/使用\n" +"- %s:潜行/向下(攀爬)\n" "- %s:丢弃物品\n" "- %s:物品清单\n" "- 鼠标:转身/环顾\n" -"- 鼠标左键: 挖/打\n" -"- 鼠标右键: 放/使用\n" "- 鼠标滚轮: 选择物品\n" "- %s:聊天\n" @@ -1444,9 +1439,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "小地图被当前子游戏或者 mod 禁用" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "单人游戏" +msgstr "多人游戏" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1841,9 +1835,9 @@ msgid "Minimap hidden" msgstr "小地图已隐藏" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in radar mode, Zoom x%d" -msgstr "雷达小地图,放大至一倍" +msgstr "雷达小地图,放大至%d倍" #: src/client/minimap.cpp #, c-format @@ -1880,9 +1874,8 @@ msgid "Proceed" msgstr "继续" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "“特殊” = 向下爬" +msgstr "“Aux1” = 向下爬" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1894,7 +1887,7 @@ msgstr "自动跳跃" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1902,7 +1895,7 @@ msgstr "向后" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "地图块边界" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2078,14 +2071,13 @@ msgstr "" "如果禁用,虚拟操纵杆将居中至第一次触摸的位置。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(安卓)使用虚拟操纵杆触发\"aux\"按钮。\n" -"如果启用,虚拟操纵杆在主圆圈外会点击\"aux\"按钮。" +"(安卓)使用虚拟操纵杆触发\"Aux1\"按钮。\n" +"如果启用,虚拟操纵杆在主圆圈外会点击\"Aux1\"按钮。" #: src/settings_translation_file.cpp msgid "" @@ -2434,14 +2426,12 @@ msgid "Autoscaling mode" msgstr "自动缩放模式" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "跳跃键" +msgstr "Aux1键" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "用于攀登/降落的特殊键" +msgstr "用于攀登/降落的Aux1键" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2509,7 +2499,7 @@ msgstr "粗体等宽字体路径" #: src/settings_translation_file.cpp msgid "Build inside player" -msgstr "在玩家内部搭建" +msgstr "在玩家站着的地方搭建" #: src/settings_translation_file.cpp msgid "Builtin" @@ -2592,9 +2582,8 @@ msgstr "" "0.0为最小值时1.0为最大值。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "聊天消息踢出阈值" +msgstr "显示聊天消息执行时间的阀值(秒)" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2693,9 +2682,8 @@ msgid "Colored fog" msgstr "彩色雾" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "彩色雾" +msgstr "彩色阴影" #: src/settings_translation_file.cpp msgid "" @@ -2831,11 +2819,12 @@ msgid "Crosshair alpha" msgstr "准星透明" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "Also controls the object crosshair color" -msgstr "准星不透明度(0-255)。" +msgstr "" +"准星透明度(0-255)。\n" +"还控制对象准星的颜色" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2846,6 +2835,8 @@ msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" +"准星颜色(R,G,B).\n" +"还控制对象准星颜色" #: src/settings_translation_file.cpp msgid "DPI" @@ -2917,6 +2908,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"定阴影滤镜的质量\n" +"通过应用 PCF 或 poisson disk来模拟软阴影效果\n" +"但这会使用更多的资源。" #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3021,9 +3015,8 @@ msgid "Desynchronize block animation" msgstr "去同步块动画" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dig key" -msgstr "右方向键" +msgstr "挖掘键" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3090,6 +3083,8 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"启用彩色阴影。\n" +"在半透明节点上投射彩色阴影。会消耗超多的资源。" #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3121,6 +3116,8 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"启用poisson disk滤镜.\n" +"使用poisson disk来产生\"软阴影\",否则将使用PCF 滤镜." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3291,12 +3288,11 @@ msgid "Fast movement" msgstr "快速移动" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"快速移动(通过“特殊”键)。\n" +"快速移动(通过“Aux1”键)。\n" "这需要服务器的“fast”权限。" #: src/settings_translation_file.cpp @@ -3329,7 +3325,6 @@ msgid "Filmic tone mapping" msgstr "电影色调映射" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3338,8 +3333,8 @@ msgid "" msgstr "" "经过滤的材质会与邻近的全透明材质混合RGB值,\n" "该值通常会被PNG优化器丢弃,某些时候会给透明材质产生暗色或\n" -"亮色的边缘。应用该过滤器将在材质加载时\n" -"移除该效果。" +"亮色的边缘。应用该过滤器将在材质加载时移除该效果。\n" +"该过滤器将在启用mipmapping的时候被自动应用。" #: src/settings_translation_file.cpp msgid "Filtering" @@ -3614,7 +3609,6 @@ msgid "HUD toggle key" msgstr "HUD启用/禁用键" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Handling for deprecated Lua API calls:\n" "- none: Do not log deprecated calls\n" @@ -3622,9 +3616,9 @@ msgid "" "- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" "处理已弃用的 Lua API 调用:\n" -"- 兼容:(尝试)模拟旧的调用(发布版本的默认值)。\n" -"- 记录:模拟并记录已弃用的调用的回溯(调试的默认值)。\n" -"- 错误:停止使用已弃用的调用(Mod 开发人员推荐)。" +"- none:不记录废弃的调用。\n" +"- log:模拟并记录已弃用的调用的回溯(调试的默认值)。\n" +"- error:停止使用已弃用的调用(Mod 开发人员推荐)。" #: src/settings_translation_file.cpp msgid "" @@ -3648,10 +3642,9 @@ msgid "Heat noise" msgstr "热噪声" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "初始窗口高度。" +msgstr "初始窗口高度,全屏模式下忽略该值。" #: src/settings_translation_file.cpp msgid "Height noise" @@ -3904,13 +3897,10 @@ msgstr "" "节省无效 CPU 功耗。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." -msgstr "" -"如果禁用,当飞行和快速模式同时启用时“特殊”键用于快速\n" -"飞行。" +msgstr "如果禁用,“Aux1”键将用于快速飞行(飞行和快速模式同时启用)。" #: src/settings_translation_file.cpp msgid "" @@ -3935,13 +3925,12 @@ msgstr "" "这需要服务器的“noclip”权限。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"如果启用,“特殊”键将代替潜行键的向下攀爬和\n" +"如果启用,“Aux1”键将代替潜行键的向下攀爬和\n" "下降。" #: src/settings_translation_file.cpp -- cgit v1.2.3 From dd23991a19f0715af79bf76ea93c26accb37b617 Mon Sep 17 00:00:00 2001 From: David Leal Date: Sun, 1 Aug 2021 16:31:57 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 81.2% (1134 of 1396 strings) --- po/es/minetest.po | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index 26318d2ca..bb50c828b 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-06-21 11:33+0000\n" -"Last-Translator: Jordan Irwin \n" +"PO-Revision-Date: 2021-08-02 16:34+0000\n" +"Last-Translator: David Leal \n" "Language-Team: Spanish \n" "Language: es\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -44,11 +44,11 @@ msgstr "Jugadores conectados: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "La cola de salida del chat está ahora vacía." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Este comando está deshabilitado por el servidor." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -82,10 +82,12 @@ msgstr "Obtener ayuda para los comandos" msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Usa '.help ' para obtener más información, o '.help all' para mostrar " +"todo." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -1031,15 +1033,15 @@ msgstr "Hojas elegantes" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Alto" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Bajo" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Medio" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1131,7 +1133,7 @@ msgstr "Filtrado trilineal" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Ultra Alto" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -- cgit v1.2.3 From f8dba7e5cf120d5613a78e1f6813a45aa1327ef1 Mon Sep 17 00:00:00 2001 From: Emily Ellis Date: Sun, 1 Aug 2021 12:41:05 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 94.4% (1319 of 1396 strings) --- po/zh_CN/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 974627be9..409f2e939 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-27 01:17+0000\n" -"Last-Translator: Riceball LEE \n" +"PO-Revision-Date: 2021-08-02 16:34+0000\n" +"Last-Translator: Emily Ellis \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -5353,7 +5353,7 @@ msgstr "窗口未聚焦或游戏暂停时的最大 FPS。" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "最大渲染阴影距离。" #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" -- cgit v1.2.3 From 3590261c7888254c73e174a11c0b9713271e45b4 Mon Sep 17 00:00:00 2001 From: Oğuz Ersen Date: Tue, 3 Aug 2021 06:07:19 +0000 Subject: Translated using Weblate (Turkish) Currently translated at 100.0% (1396 of 1396 strings) --- po/tr/minetest.po | 258 +++++++++++++++++++++++++++--------------------------- 1 file changed, 128 insertions(+), 130 deletions(-) diff --git a/po/tr/minetest.po b/po/tr/minetest.po index 4e8bc84d9..cb74c20a9 100644 --- a/po/tr/minetest.po +++ b/po/tr/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Turkish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-03-07 07:10+0000\n" +"PO-Revision-Date: 2021-08-04 06:32+0000\n" "Last-Translator: Oğuz Ersen \n" "Language-Team: Turkish \n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.5.1\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Dış sohbet kuyruğunun maksimum boyutu" +msgstr "Dış sohbet kuyruğunu temizle" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Sohbet komutları" +msgstr "Boş komut." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Menüye Çık" +msgstr "Ana menüye çık" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Yerel komut" +msgstr "Geçersiz komut: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Verilen komut: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Tek oyunculu" +msgstr "Çevrim içi oyuncuları listele" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Tek oyunculu" +msgstr "Çevrim içi oyuncular: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Dış sohbet kuyruğu artık boş." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Bu komut sunucu tarafından devre dışı bırakıldı." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +59,35 @@ msgid "You died" msgstr "Öldün" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Öldün" +msgstr "Öldün." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Yerel komut" +msgstr "Kullanılabilir komutlar:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Yerel komut" +msgstr "Kullanılabilir komutlar: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Komut kullanılamıyor: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Komutlar için yardım alın" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Daha fazla bilgi almak için '.help ' veya her şeyi listelemek için " +"'.help all' kullanın." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -275,7 +268,7 @@ msgstr "Yerel oyun:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "Minetest cURL'siz derlediğinde ContentDB kullanılamaz" +msgstr "Minetest cURL olmadan derlendiğinde ContentDB kullanılamaz" #: builtin/mainmenu/dlg_contentstore.lua msgid "Downloading..." @@ -775,26 +768,25 @@ msgstr "Yükleniyor..." #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" -msgstr "Açık sunucu listesi devre dışı" +msgstr "Herkese açık sunucu listesi devre dışı" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." msgstr "" -"Açık sunucu listesini tekrar etkinleştirmeyi deneyin ve internet " -"bağlantınızı doğrulayın." +"Herkese açık sunucu listesini tekrar etkinleştirmeyi deneyin ve internet " +"bağlantınızı gözden geçirin." #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Hakkında" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Etkin Katkıda Bulunanlar" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Etkin nesne gönderme uzaklığı" +msgstr "Etkin işleyici:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -929,9 +921,8 @@ msgid "Start Game" msgstr "Oyun Başlat" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adres: " +msgstr "Adres" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -947,22 +938,20 @@ msgstr "Yaratıcı kip" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Hasar" +msgstr "Hasar / Savaş (PvP)" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" -msgstr "Favoriyi Sil" +msgstr "Sık Kullanılanı Sil" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favori" +msgstr "Sık Kullanılanlar" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Uyumsuz Sunucular" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -973,18 +962,16 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Sunucuyu Duyur" +msgstr "Herkese Açık Sunucular" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Yenile" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Sunucu açıklaması" +msgstr "Sunucu Açıklaması" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1027,13 +1014,12 @@ msgid "Connected Glass" msgstr "Bitişik Cam" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Yazı tipi gölgesi" +msgstr "Dinamik gölgeler" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dinamik gölgeler: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1041,15 +1027,15 @@ msgstr "Şık Yapraklar" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Yüksek" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Düşük" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Orta" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1141,11 +1127,11 @@ msgstr "Trilineer Filtre" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Çok Yüksek" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Çok Düşük" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1249,12 +1235,12 @@ msgstr "- Port: " #: src/client/game.cpp msgid "- Public: " -msgstr "- Herkes: " +msgstr "- Herkese Açık: " #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " -msgstr "- Savaş: " +msgstr "- Savaş (PvP): " #: src/client/game.cpp msgid "- Server Name: " @@ -1462,9 +1448,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Mini harita şu anda, oyun veya mod tarafından devre dışı" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Tek oyunculu" +msgstr "Çok oyunculu" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1900,9 +1885,8 @@ msgid "Proceed" msgstr "İlerle" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Özel\" = aşağı in" +msgstr "\"Aux1\" = aşağı in" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1914,7 +1898,7 @@ msgstr "Kendiliğinden zıplama" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1922,7 +1906,7 @@ msgstr "Geri" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Blok sınırları" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2098,14 +2082,13 @@ msgstr "" "Devre dışı bırakılırsa, sanal joystick merkezi, ilk dokunuş konumu olur." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) \"aux\" düğmesini tetiklemek için sanal joystick kullanın.\n" -"Etkinleştirilirse, sanal joystick, ana çemberin dışındayken \"aux\" " +"(Android) \"Aux1\" düğmesini tetiklemek için sanal joystick kullanın.\n" +"Etkinleştirilirse, sanal joystick, ana çemberin dışındayken \"Aux1\" " "düğmesini de dinler." #: src/settings_translation_file.cpp @@ -2461,14 +2444,12 @@ msgid "Autoscaling mode" msgstr "Kendiliğinden boyutlandırma kipi" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Zıplama tuşu" +msgstr "Aux1 tuşu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Tırmanma/alçalma için özel tuş" +msgstr "Tırmanma/alçalma için Aux1 tuşu" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2621,9 +2602,8 @@ msgstr "" "0.0 minimum, 1.0 maksimum ışık seviyesidir." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Sohbet iletisi vurma eşiği" +msgstr "Sohbet komutu zaman iletisi eşiği" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2722,9 +2702,8 @@ msgid "Colored fog" msgstr "Renkli sis" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Renkli sis" +msgstr "Renkli gölgeler" #: src/settings_translation_file.cpp msgid "" @@ -2953,6 +2932,10 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Gölge filtreleme kalitesini tanımla.\n" +"Bu, bir PCF veya poisson diski uygulayarak yumuşak gölge efektini taklit " +"eder,\n" +"ancak aynı zamanda daha fazla kaynak kullanır." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3133,6 +3116,9 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Renkli gölgeleri etkinleştir. \n" +"Doğru ise yarı saydam düğümlerde renkli gölgeler oluşturur. Bu fazla kaynak " +"kullanır." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3164,6 +3150,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Poisson disk filtrelemeyi etkinleştir.\n" +"Doğru ise \"yumuşak gölgeler\" yapmak için poisson diski kullanır. Değilse " +"PCF filtreleme kullanır." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3246,9 +3235,9 @@ msgid "" "enhanced, highlights and shadows are gradually compressed." msgstr "" "Hable'ın 'Uncharted 2' film ton eşlemesini etkinleştirir.\n" -"Fotoğrafsal film ton eğrisini simüle eder ve bu\n" +"Fotoğrafsal film ton eğrisini taklit eder ve bu\n" "yüksek dinamik aralıklı görüntülerin görünümü yakınlaştırır. Orta-aralık\n" -"kontrast biraz geliştirilir, vurgular ve gölgeler kademeli olarak " +"karşıtlık biraz geliştirilir, vurgular ve gölgeler kademeli olarak " "sıkıştırılır." #: src/settings_translation_file.cpp @@ -3337,12 +3326,11 @@ msgid "Fast movement" msgstr "Hızlı hareket" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Hızlı hareket (\"özel\" tuşu ile).\n" +"Hızlı hareket (\"Aux1\" tuşu ile).\n" "Bu, sunucu üzerinde \"hızlı\" yetkisi gerektirir." #: src/settings_translation_file.cpp @@ -3359,8 +3347,8 @@ msgid "" "the\n" "Multiplayer Tab." msgstr "" -"İstemci/sunucu listesi/ içinde Multiplayer Sekmesinde görüntülenen\n" -"favori sunucularızı içeren dosya." +"Çok Oyunculu Sekmesinde görüntülenen sık kullanılan sunucularızı içeren\n" +"istemci/sunucu listesi/ içindeki dosya." #: src/settings_translation_file.cpp msgid "Filler depth" @@ -3375,7 +3363,6 @@ msgid "Filmic tone mapping" msgstr "Filmsel ton eşleme" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3387,7 +3374,8 @@ msgstr "" "şeffaf komşuları ile RGB değerlerini kaynaştırabilir, bazen şeffaf " "dokularda\n" "karanlık veya aydınlık kenarlara neden olabilir. Bunu temizlemek için bu\n" -"filtreyi doku yükleme zamanında uygulayın." +"filtreyi doku yükleme zamanında uygulayın. Bu, mip eşleme etkinleştirilirse\n" +"otomatik olarak etkinleştirilir." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3630,16 +3618,16 @@ msgid "" "Gradient of light curve at maximum light level.\n" "Controls the contrast of the highest light levels." msgstr "" -"Maksimum ışık seviyesinde ışık eğrisinin gradyantı.\n" -"En yüksek ışık düzeylerinin kontrastını denetler." +"Azami ışık seviyesinde ışık eğrisinin gradyantı.\n" +"En yüksek ışık düzeylerinin karşıtlığını denetler." #: src/settings_translation_file.cpp msgid "" "Gradient of light curve at minimum light level.\n" "Controls the contrast of the lowest light levels." msgstr "" -"Minimum ışık seviyesinde ışık eğrisinin gradyantı.\n" -"En düşük ışık düzeylerinin kontrastını kontrol eder." +"Asgari ışık seviyesinde ışık eğrisinin gradyantı.\n" +"En düşük ışık düzeylerinin karşıtlığını denetler." #: src/settings_translation_file.cpp msgid "Graphics" @@ -3705,10 +3693,10 @@ msgid "Heat noise" msgstr "Isı gürültüsü" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "İlk pencere boyutunun yükseklik bileşeni." +msgstr "" +"İlk pencere boyutunun yükseklik bileşeni. Tam ekran kipinde yok sayılır." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3963,12 +3951,11 @@ msgstr "" "tüketmemek için, uykuya dalarak sınırla." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Devre dışı bırakılırsa \"özel\" tuşu, hem uçma hem de hızlı kipi etkin ise,\n" +"Devre dışı bırakılırsa \"Aux1\" tuşu, hem uçma hem de hızlı kipi etkin ise,\n" "hızlı uçma için kullanılır." #: src/settings_translation_file.cpp @@ -3995,13 +3982,12 @@ msgstr "" "Bu, sunucuda \"hayalet\" yetkisi gerektirir." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Etkinleştirilirse, \"sızma\" tuşu yerine \"özel\" tuşu aşağı inme ve " +"Etkinleştirilirse, \"sızma\" tuşu yerine \"Aux1\" tuşu aşağı inme ve " "alçalma\n" "için kullanılır." @@ -4015,7 +4001,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "If enabled, disable cheat prevention in multiplayer." -msgstr "Etkinleştirilirse, multiplayer'da hile önleme devre dışı bırakılır." +msgstr "Etkinleştirilirse, çok oyunculuda hile önleme devre dışı bırakılır." #: src/settings_translation_file.cpp msgid "" @@ -4061,6 +4047,9 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Bir sohbet komutunun yürütülmesi, saniye cinsinden bu belirtilen süreden " +"daha\n" +"uzun sürerse, zaman bilgisini sohbet komut iletisine ekle" #: src/settings_translation_file.cpp msgid "" @@ -5320,9 +5309,8 @@ msgid "Map save interval" msgstr "Harita kaydetme aralığı" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Sıvı güncelleme tıkı" +msgstr "Harita güncelleme zamanı" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5434,7 +5422,7 @@ msgstr "Pencere odaklanmadığında veya oyun duraklatıldığında en yüksek F #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Gölgeleri işlemek için azami mesafe." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5564,19 +5552,20 @@ msgstr "" "Kuyruğa almayı kapamak için 0 ve sınırsız kuyruk boyutu için -1." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Bir dosya indirmesinin ms cinsinden alabileceği maksimum zaman (ör: mod " -"indirme)." +"Bir dosya indirmesinin (ör: mod indirme) alabileceği azami süre, milisaniye " +"cinsinden belirtilir." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Etkileşimli bir isteğin (ör: sunucu listesi getirme) alabileceği azami süre, " +"milisaniye cinsinden belirtilir." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5803,7 +5792,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Online Content Repository" -msgstr "Çevrimiçi İçerik Deposu" +msgstr "Çevrim İçi İçerik Deposu" #: src/settings_translation_file.cpp msgid "Opaque liquids" @@ -5936,9 +5925,8 @@ msgid "Player versus player" msgstr "Oyuncu oyuncuya karşı" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bilineer filtreleme" +msgstr "Poisson filtreleme" #: src/settings_translation_file.cpp msgid "" @@ -6338,6 +6326,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Gölge gücünü ayarla.\n" +"Daha düşük değer daha açık gölgeler, daha yüksek değer daha koyu gölgeler " +"anlamına gelir." #: src/settings_translation_file.cpp msgid "" @@ -6346,6 +6337,10 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Gölge güncelleme zamanını ayarla.\n" +"Daha düşük değer, gölgeler ve harita güncellemelerinin daha hızlı olması " +"anlamına gelir, ancak daha fazla kaynak tüketir.\n" +"En düşük değer 0,001 saniye, en yüksek değer 0,2 saniyedir" #: src/settings_translation_file.cpp msgid "" @@ -6353,6 +6348,10 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Yumuşak gölge yarıçapı boyutunu ayarla.\n" +"Daha düşük değerler daha keskin, daha büyük değerler daha yumuşak gölgeler " +"anlamına gelir.\n" +"En düşük değer 1.0 ve en yüksek değer 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6360,15 +6359,17 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Güneş/Ay yörüngesinin eğimini derece olarak ayarla\n" +"0 değeri, eğim / dikey yörünge olmadığı anlamına gelir.\n" +"En düşük değer 0.0 ve en yüksek değer 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Dalgalanan yaprakları için doğru'ya ayarlayın.\n" -"Gölgelemeler etkin kılınmalıdır." +"Gölge Eşlemeyi etkinleştirmek için doğru olarak ayarlayın.\n" +"Gölgelemelerin etkinleştirilmesini gerektirir." #: src/settings_translation_file.cpp msgid "" @@ -6400,6 +6401,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Gölge dokusu kalitesini 32 bit olarak ayarlar.\n" +"Yanlış ise 16 bit doku kullanılacaktır.\n" +"Bu, gölgede çok daha fazla bozulmalara neden olabilir." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6418,22 +6422,20 @@ msgstr "" "Bu yalnızca OpenGL video arka ucu ile çalışır." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Ekran yakalama kalitesi" +msgstr "Gölge filtresi kalitesi" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Gölgeleri işlemek için nodlardaki gölge eşleme azami mesafesi" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "32 bitte gölge eşleme dokusu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Minimum doku boyutu" +msgstr "Gölge eşleme dokusu boyutu" #: src/settings_translation_file.cpp msgid "" @@ -6444,7 +6446,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Gölge gücü" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6502,7 +6504,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Gökyüzü Gövdesi Yörünge Eğimi" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6562,9 +6564,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Sızma hızı, saniye başına nod cinsinden." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Yazı tipi gölge saydamlığı" +msgstr "Yumuşak gölge yarıçapı" #: src/settings_translation_file.cpp msgid "Sound" @@ -6728,6 +6729,10 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Gölge eşlemenin işleneceği doku boyutu.\n" +"Bu, 2'nin bir kuvveti olmalıdır.\n" +"Daha büyük sayılar daha iyi gölgeler oluşturur ama aynı zamanda daha fazla " +"kaynak kullanır." #: src/settings_translation_file.cpp msgid "" @@ -6825,7 +6830,6 @@ msgstr "" "Bu active_object_send_range_blocks ile birlikte ayarlanmalıdır." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6834,7 +6838,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Irrlicht için işleme arka ucu.\n" +"İşleme arka ucu.\n" "Bunu değiştirdikten sonra yeniden başlatma gerekir.\n" "Not: Android'de, emin değilseniz OGLES1 kullanın! Başka türlü, uygulama " "başlayamayabilir.\n" @@ -6993,7 +6997,7 @@ msgstr "Güvenilen modlar" #: src/settings_translation_file.cpp msgid "URL to the server list displayed in the Multiplayer Tab." -msgstr "Multiplayer sekmesinde görüntülenen sunucu listesi URL'si." +msgstr "Çok oyunculu sekmesinde görüntülenen sunucu listesinin URL'si." #: src/settings_translation_file.cpp msgid "Undersampling" @@ -7175,9 +7179,8 @@ msgid "Viewing range" msgstr "Görüntüleme uzaklığı" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Sanal joystick aux düğmesini tetikler" +msgstr "Sanal joystick Aux1 düğmesini tetikler" #: src/settings_translation_file.cpp msgid "Volume" @@ -7277,7 +7280,6 @@ msgstr "" "sürücüleri için, eski boyutlandırma yöntemini kullan." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7294,12 +7296,10 @@ msgstr "" "pikselleri\n" "korumak için kendiliğinden büyütme yapılır. Bu minimum doku boyutunu\n" "büyütülmüş dokular için ayarlar; daha yüksek değerler daha net görünür,\n" -"ama daha fazla bellek gerektirir. 2'nin kuvvetleri tavsiye edilir. 1'den " -"daha\n" -"yükseğe ayarlamanın, bilineer/trilineer/anisotropik filtreler etkin " -"değilse,\n" -"görünür bit etkisi olmayabilir.\n" -"Bu, dünya hizalı doku kendilinden boyutlandırmada taban nod doku boyutu\n" +"ama daha fazla bellek gerektirir. 2'nin kuvvetleri tavsiye edilir. Bu ayar " +"YALNIZCA\n" +"bilineer/trilineer/anisotropik filtreler etkinse uygulanır.\n" +"Bu, dünya hizalı doku kendiliğinden boyutlandırmada taban nod doku boyutu\n" "olarak da kullanılır." #: src/settings_translation_file.cpp @@ -7375,9 +7375,8 @@ msgstr "" "ile aynı etkiye sahiptir)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "İlk pencere boyutunun genişlik bileşeni." +msgstr "İlk pencere boyutunun genişlik bileşeni. Tam ekran kipinde yok sayılır." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7511,9 +7510,8 @@ msgid "cURL file download timeout" msgstr "cURL dosya indirme zaman aşımı" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL zaman aşımı" +msgstr "cURL etkileşimli zaman aşımı" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From ecd4fbc0de22d6a71c3543f82320e3c6eb52e0bc Mon Sep 17 00:00:00 2001 From: abidin toumi Date: Fri, 6 Aug 2021 05:30:43 +0000 Subject: Translated using Weblate (Arabic) Currently translated at 27.1% (379 of 1396 strings) --- po/ar/minetest.po | 80 +++++++++++++++++++++++++------------------------------ 1 file changed, 37 insertions(+), 43 deletions(-) diff --git a/po/ar/minetest.po b/po/ar/minetest.po index b7e681881..f442efb65 100644 --- a/po/ar/minetest.po +++ b/po/ar/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-03-19 20:18+0000\n" +"PO-Revision-Date: 2021-10-10 21:02+0000\n" "Last-Translator: abidin toumi \n" "Language-Team: Arabic \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Weblate 4.5.2-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -26,30 +26,27 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "Empty command." -msgstr "" +msgstr "أمر فارغ." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "اخرج للقائمة" +msgstr "اخرج للقائمة الرئيسة" #: builtin/client/chatcommands.lua msgid "Invalid command: " -msgstr "" +msgstr "أمر غير صالح: " #: builtin/client/chatcommands.lua msgid "Issued command: " msgstr "" #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "لاعب منفرد" +msgstr "قائمة اللاعبين المتصلين" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "لاعب منفرد" +msgstr "اللاعبون المتصلون: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -57,7 +54,7 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "هذا الأمر معطل من الخادم." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -68,34 +65,34 @@ msgid "You died" msgstr "مِت" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." msgstr "مِت" #: builtin/common/chatcommands.lua msgid "Available commands:" -msgstr "" +msgstr "الأوامر المتوفرة:" #: builtin/common/chatcommands.lua msgid "Available commands: " -msgstr "" +msgstr "الأوامر المتاحة: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "الأوامر غير المتاحة: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "احصل على تعليمات الأوامر" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"استخدم '.help ' للحصول على مزيد من المعلومات أو '.help all' لعرض كل شيء." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -236,7 +233,7 @@ msgstr "الاعتماديتان \"$1\" و $2 ستثبتان." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 بواسطة $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" @@ -256,7 +253,7 @@ msgstr "يحتاج $1 لكن لم يُعثر عليها." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 سيُثبت، واعتماديات $1 ستُتجاهل." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" @@ -354,7 +351,7 @@ msgstr "حدِّث الكل [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "اعرض مزيدًا من المعلومات عبر المتصفح" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" @@ -783,7 +780,7 @@ msgstr "جرب إعادة تمكين قائمة الحوادم العامة وت #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "حول" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -791,7 +788,7 @@ msgstr "المساهمون النشطون" #: builtin/mainmenu/tab_about.lua msgid "Active renderer:" -msgstr "" +msgstr "محرك التصيير النشط:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -954,13 +951,12 @@ msgid "Del. Favorite" msgstr "حذف المفضلة" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "المفضلة" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "خوادم غير متوافقة" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -971,18 +967,16 @@ msgid "Ping" msgstr "" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "أعلن عن الخادوم" +msgstr "خوادم عمومية" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "حدِّث" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "منفذ الخدوم" +msgstr "وصف الخادم" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1026,11 +1020,11 @@ msgstr "زجاج متصل" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "ظلال ديناميكية" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "ظلال ديناميكية: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -3270,7 +3264,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Filtering" -msgstr "" +msgstr "الترشيح" #: src/settings_translation_file.cpp msgid "First of 4 2D noises that together define hill/mountain range height." @@ -3286,11 +3280,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fixed virtual joystick" -msgstr "" +msgstr "عصا التحكم الافتراضية ثابتة" #: src/settings_translation_file.cpp msgid "Floatland density" -msgstr "" +msgstr "كثافة الأرض الطافية" #: src/settings_translation_file.cpp msgid "Floatland maximum Y" @@ -3318,7 +3312,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fly key" -msgstr "" +msgstr "زر الطيران" #: src/settings_translation_file.cpp msgid "Flying" @@ -3326,27 +3320,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fog" -msgstr "" +msgstr "الضباب" #: src/settings_translation_file.cpp msgid "Fog start" -msgstr "" +msgstr "بداية الضباب" #: src/settings_translation_file.cpp msgid "Fog toggle key" -msgstr "" +msgstr "مفتاح تبديل ظهور الضباب" #: src/settings_translation_file.cpp msgid "Font bold by default" -msgstr "" +msgstr "الخط عريض افتراضيًا" #: src/settings_translation_file.cpp msgid "Font italic by default" -msgstr "" +msgstr "الخط مائل افتراضيًا" #: src/settings_translation_file.cpp msgid "Font shadow" -msgstr "" +msgstr "ظل الخط" #: src/settings_translation_file.cpp msgid "Font shadow alpha" @@ -3354,7 +3348,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Font size" -msgstr "" +msgstr "حجم الخط" #: src/settings_translation_file.cpp msgid "Font size of the default font in point (pt)." @@ -4567,7 +4561,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Kick players who sent more than X messages per 10 seconds." -msgstr "" +msgstr "اطرد اللاعبين الذين أرسلوا أكثر من X رسالة في 10 ثوانٍ." #: src/settings_translation_file.cpp msgid "Lake steepness" -- cgit v1.2.3 From efc99a8d427836f44625e641fb5bf2a70ca97db2 Mon Sep 17 00:00:00 2001 From: Allan Nordhøy Date: Sat, 7 Aug 2021 00:51:19 +0000 Subject: Translated using Weblate (Norwegian Bokmål) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 56.0% (783 of 1396 strings) --- po/nb/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/nb/minetest.po b/po/nb/minetest.po index fc0c0ed5c..280bba7e4 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-07 09:35+0000\n" -"Last-Translator: Liet Kynes \n" +"PO-Revision-Date: 2021-08-08 01:37+0000\n" +"Last-Translator: Allan Nordhøy \n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" @@ -1120,7 +1120,7 @@ msgstr "Enkle løv" #: builtin/mainmenu/tab_settings.lua msgid "Smooth Lighting" -msgstr "Gjevn belysning" +msgstr "Jevn belysning" #: builtin/mainmenu/tab_settings.lua msgid "Texturing:" -- cgit v1.2.3 From f57b8f3e8a6a8e7be02a0e1a0d8c33b19f75e7b4 Mon Sep 17 00:00:00 2001 From: phlostically Date: Fri, 6 Aug 2021 12:20:34 +0000 Subject: Translated using Weblate (Esperanto) Currently translated at 95.2% (1329 of 1396 strings) --- po/eo/minetest.po | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/po/eo/minetest.po b/po/eo/minetest.po index 24cf6ebbc..7b967bcb8 100644 --- a/po/eo/minetest.po +++ b/po/eo/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Esperanto (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-05-31 21:42+0000\n" -"Last-Translator: Tirifto \n" +"PO-Revision-Date: 2021-08-08 01:37+0000\n" +"Last-Translator: phlostically \n" "Language-Team: Esperanto \n" "Language: eo\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -65,9 +65,8 @@ msgid "You died" msgstr "Vi mortis" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Vi mortis" +msgstr "Vi mortis." #: builtin/common/chatcommands.lua #, fuzzy @@ -786,7 +785,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Pri" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -930,9 +929,8 @@ msgid "Start Game" msgstr "Ekigi ludon" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "– Adreso: " +msgstr "Adreso" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -963,7 +961,7 @@ msgstr "Ŝati" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Nekongruaj serviloj" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -1028,13 +1026,12 @@ msgid "Connected Glass" msgstr "Ligata vitro" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Tipara ombro" +msgstr "Dinamikaj ombroj" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dinamikaj ombroj: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -5933,9 +5930,8 @@ msgid "Player versus player" msgstr "Ludanto kontraŭ ludanto" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Dulineara filtrado" +msgstr "Poisson-filtrado" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From c062daccc9f185b903771346ff5defa95fcf9cac Mon Sep 17 00:00:00 2001 From: Marian Date: Mon, 9 Aug 2021 09:23:41 +0000 Subject: Translated using Weblate (Slovak) Currently translated at 95.2% (1329 of 1396 strings) --- po/sk/minetest.po | 207 +++++++++++++++++++++++++++--------------------------- 1 file changed, 102 insertions(+), 105 deletions(-) diff --git a/po/sk/minetest.po b/po/sk/minetest.po index a1f9cd9b3..93af9ee63 100644 --- a/po/sk/minetest.po +++ b/po/sk/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-04-21 20:29+0000\n" +"PO-Revision-Date: 2021-08-13 21:34+0000\n" "Last-Translator: Marian \n" "Language-Team: Slovak \n" @@ -17,49 +17,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Maximálna veľkosť výstupnej komunikačnej fronty" +msgstr "Vymaž výstupnú komunikačnú frontu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Komunikačné príkazy" +msgstr "Prázdny príkaz." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" msgstr "Návrat do menu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Lokálny príkaz" +msgstr "Chybný príkaz: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Spustený príkaz: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Hra pre jedného hráča" +msgstr "Zoznam online hráčov" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Hra pre jedného hráča" +msgstr "Online hráči: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Výstupná komunikačná fronty je teraz prázdna." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Tento príkaz je zakázaný serverom." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -70,36 +64,35 @@ msgid "You died" msgstr "Zomrel si" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Zomrel si" +msgstr "Zomrel si." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Lokálny príkaz" +msgstr "Dostupné príkazy:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Lokálny príkaz" +msgstr "Dostupné príkazy: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Príkaz nie je k dispozícií: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Zobraz pomoc k príkazom" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Použi '.help ' aby si získal viac informácií, alebo '.help all' pre " +"zobrazenie všetkého." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -795,16 +788,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "O" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Aktívny prispievatelia" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Zasielaný rozsah aktívnych objektov" +msgstr "Aktívny renderer:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -939,9 +931,8 @@ msgid "Start Game" msgstr "Spusti hru" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adresa: " +msgstr "Adresa" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -957,22 +948,20 @@ msgstr "Kreatívny mód" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Zranenie" +msgstr "Zranenie / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Zmaž obľúbené" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "Obľúbené" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Nekompatibilné servery" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -983,16 +972,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Zverejni server" +msgstr "Verejné servery" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Obnov" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Popis servera" @@ -1037,13 +1024,12 @@ msgid "Connected Glass" msgstr "Prepojené sklo" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Tieň písma" +msgstr "Dynamické tiene" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dynamické tiene: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1051,15 +1037,15 @@ msgstr "Ozdobné listy" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Vysoké" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Nízke" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Stredné" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1151,11 +1137,11 @@ msgstr "Trilineárny filter" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Veľmi vysoké" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Veľmi nízke" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1472,9 +1458,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Minimapa je aktuálne zakázaná hrou, alebo rozšírením" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Hra pre jedného hráča" +msgstr "Hra pre viacerých hráčov" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1911,9 +1896,8 @@ msgid "Proceed" msgstr "Pokračuj" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Špeciál\"=šplhaj dole" +msgstr "\"Aux1\"=šplhaj dole" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1925,7 +1909,7 @@ msgstr "Automatické skákanie" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1933,7 +1917,7 @@ msgstr "Vzad" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Hranice bloku" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2111,14 +2095,13 @@ msgstr "" "Ak je vypnuté, virtuálny joystick sa vycentruje na pozícií prvého dotyku." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Použije virtuálny joystick na stlačenie tlačidla \"aux\".\n" -"Ak je aktivované, virtuálny joystick stlačí tlačidlo \"aux\" keď je mimo " +"(Android) Použije virtuálny joystick na stlačenie tlačidla \"Aux1\".\n" +"Ak je aktivované, virtuálny joystick stlačí tlačidlo \"Aux1\" keď je mimo " "hlavný kruh." #: src/settings_translation_file.cpp @@ -2474,14 +2457,12 @@ msgid "Autoscaling mode" msgstr "Režim automatickej zmeny mierky" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Tlačidlo Skok" +msgstr "Tlačidlo Aux1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Špeciálna klávesa pre šplhanie hore/dole" +msgstr "Klávesa Aux1 pre šplhanie hore/dole" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2632,9 +2613,8 @@ msgstr "" "Kde 0.0 je minimálna úroveň, 1.0 je maximálna úroveň ." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Hranica správ pre vylúčenie" +msgstr "Časové obmedzenie príkazu v správe" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2733,9 +2713,8 @@ msgid "Colored fog" msgstr "Farebná hmla" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Farebná hmla" +msgstr "Farebné tiene" #: src/settings_translation_file.cpp msgid "" @@ -2963,6 +2942,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Definuje kvalitu filtrovania tieňov\n" +"Toto simuluje efekt jemných tieňov použitím PCF alebo poisson disk\n" +"zároveň ale spotrebováva viac zdrojov." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3139,6 +3121,8 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Aktivuj farebné tiene. \n" +"Ak je aktivovaný, tak priesvitné kocky dávajú farebné tiene. Toto je náročné." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3170,6 +3154,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Aktivuj poisson disk filtrovanie.\n" +"Ak je aktivované použije poisson disk pre vytvorenie \"mäkkých tieňov\". V " +"opačnom prípade sa použije PCF filtrovanie." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3343,12 +3330,11 @@ msgid "Fast movement" msgstr "Rýchly pohyb" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Rýchly pohyb (cez \"špeciálnu\" klávesu).\n" +"Rýchly pohyb (cez \"Aux1\" klávesu).\n" "Toto si na serveri vyžaduje privilégium \"fast\"." #: src/settings_translation_file.cpp @@ -3381,7 +3367,6 @@ msgid "Filmic tone mapping" msgstr "Filmový tone mapping" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3390,9 +3375,12 @@ msgid "" msgstr "" "Filtrované textúry môžu zmiešať svoje RGB hodnoty s plne priehľadnými " "susedmi,\n" -"s PNG optimizérmi obvykle zmazané, niekdy môžu viesť k tmavým oblastiam\n" -"alebo svetlým rohom na priehľadnej textúre.\n" -"Aplikuj tento filter na ich vyčistenie pri nahrávaní textúry." +"ktoré sú PNG optimizérmi obvykle zmazané, niekdy môžu viesť k tmavým " +"oblastiam\n" +"alebo svetlým rohom na priehľadnej textúre. Aplikuj tento filter na ich " +"vyčistenie\n" +"pri nahrávaní textúry. Toto je automaticky aktivované, ak je aktivovaný " +"mipmapping." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3716,10 +3704,9 @@ msgid "Heat noise" msgstr "Teplotný šum" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Výška okna po spustení." +msgstr "Výška okna po spustení. Ignorované v móde plnej obrazovky." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3972,12 +3959,12 @@ msgstr "" "sa bezvýznamne, bez úžitku neplytvalo výkonom CPU." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Ak je aktivované, použije sa \"špeciálna\" klávesa na lietanie, v prípade,\n" +"Ak nie je aktivované, použije sa \"Aux1\" klávesa na rýchle lietanie, v " +"prípade,\n" "že je povolený režim lietania aj rýchlosti." #: src/settings_translation_file.cpp @@ -4005,14 +3992,13 @@ msgstr "" "Toto si na serveri vyžaduje privilégium \"noclip\"." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Ak je aktivované, použije sa namiesto klávesy pre \"zakrádanie\" \"špeciálnu " -"klávesu\"\n" +"Ak je aktivované, použije sa namiesto klávesy pre \"zakrádanie\" \"Aux1\" " +"klávesu\n" "pre klesanie a šplhanie dole." #: src/settings_translation_file.cpp @@ -4072,6 +4058,8 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Ak vykonanie príkazu trvá dlhšie ako zadaný čas v sekundách,\n" +"tak pridá informáciu o čase do komunikačného správy príkazu" #: src/settings_translation_file.cpp msgid "" @@ -5332,9 +5320,8 @@ msgid "Map save interval" msgstr "Interval ukladania mapy" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Aktualizačný interval tekutín" +msgstr "Aktualizačný čas mapy" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5447,7 +5434,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Maximálna vzdialenosť pre renderovanie tieňov." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5578,7 +5565,6 @@ msgstr "" "0 pre zakázanie fronty a -1 pre neobmedzenú frontu." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." @@ -5591,6 +5577,8 @@ msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Maximálny čas v ms, ktorý môže zabrať interaktívna požiadavka (napr. " +"sťahovanie zoznamu serverov)." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5953,9 +5941,8 @@ msgid "Player versus player" msgstr "Hráč proti hráčovi (PvP)" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bilineárne filtrovanie" +msgstr "Poisson filtrovanie" #: src/settings_translation_file.cpp msgid "" @@ -6351,6 +6338,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Nastav silu tieňov.\n" +"Nižšia hodnota znamená svetlejšie tiene, vyššia hodnota znamená tmavšie " +"tiene." #: src/settings_translation_file.cpp msgid "" @@ -6359,6 +6349,10 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Nastav aktualizačný čas tieňov.\n" +"Nižšia hodnota znamená. že sa mapa a tiene aktualizujú rýchlejšie, ale " +"spotrebuje sa viac zdrojov.\n" +"Minimálna hodnota je 0.001 sekúnd max. hodnota je 0.2 sekundy" #: src/settings_translation_file.cpp msgid "" @@ -6366,6 +6360,9 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Nastav dosah mäkkých tieňov.\n" +"Nižšia hodnota znamená ostrejšie a vyššia jemnejšie tiene.\n" +"Minimálna hodnota je 1.0 a max. hodnota je 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6373,14 +6370,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Nastav sklon orbity slnka/mesiaca v stupňoch\n" +"Hodnota 0 znamená bez vertikálneho sklonu orbity.\n" +"Minimálna hodnota je 0.0 a max. hodnota je 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Nastav true pre povolenie vlniacich sa listov.\n" +"Nastav true pre povolenie mapovania tieňov.\n" "Požaduje aby boli aktivované shadery." #: src/settings_translation_file.cpp @@ -6413,6 +6412,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Nastav kvalitu textúr tieňov na 32 bitov.\n" +"Ak je false, použijú sa 16 bitové textúry.\n" +"Toto môže spôsobiť v tieňoch viac artefaktov." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6431,22 +6433,20 @@ msgstr "" "Toto funguje len s OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Kvalita snímok obrazovky" +msgstr "Kvalita filtra pre tiene" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Maximálna vzdialenosť v kockách, pre mapu tieňov na renderovanie tieňov" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "32 bitové textúry pre mapovanie tieňov" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Minimálna veľkosť textúry" +msgstr "Veľkosť textúry pre mapovanie tieňov" #: src/settings_translation_file.cpp msgid "" @@ -6458,7 +6458,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Sila tieňov" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6517,7 +6517,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Sklon orbity na oblohe" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6577,9 +6577,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Rýchlosť zakrádania sa, v kockách za sekundu." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Priehľadnosť tieňa písma" +msgstr "Dosah mäkkých tieňov" #: src/settings_translation_file.cpp msgid "Sound" @@ -6744,6 +6743,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Veľkosť textúry pre renderovanie mapy tieňov.\n" +"Toto musí byť mocnina dvoch.\n" +"Väčšie čísla vytvoria lepšie tiene, ale sú aj naročnejšie." #: src/settings_translation_file.cpp msgid "" @@ -6841,7 +6843,6 @@ msgstr "" "Malo by to byť konfigurované spolu s active_object_send_range_blocks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6850,7 +6851,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Renderovací back-end pre Irrlicht.\n" +"Renderovací back-end.\n" "Po zmene je vyžadovaný reštart.\n" "Poznámka: Na Androide, ak si nie si istý, ponechaj OGLES1! Aplikácia by " "nemusela naštartovať.\n" @@ -7182,9 +7183,8 @@ msgid "Viewing range" msgstr "Vzdialenosť dohľadu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Virtuálny joystick stlačí tlačidlo aux" +msgstr "Virtuálny joystick aktivuje tlačidlo Aux1" #: src/settings_translation_file.cpp msgid "Volume" @@ -7284,7 +7284,6 @@ msgstr "" "nepodporujú sťahovanie textúr z hardvéru." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7301,8 +7300,8 @@ msgstr "" "s najbližším susedom aby bola zachovaná ostrosť pixelov.\n" "Toto nastaví minimálnu veľkosť pre upravenú textúru;\n" "vyššia hodnota znamená ostrejší vzhľad, ale potrebuje viac pamäti.\n" -"Odporúčané sú mocniny 2. Nastavenie viac než 1 nemusí mať viditeľný efekt,\n" -"kým nie je použité bilineárne/trilineárne/anisotropné filtrovanie.\n" +"Odporúčané sú mocniny 2. Nastavenie sa aplikuje len,\n" +"ak je použité bilineárne/trilineárne/anisotropné filtrovanie.\n" "Toto sa tiež používa ako základná veľkosť textúry kociek pre\n" "\"world-aligned autoscaling\" textúr." @@ -7370,9 +7369,8 @@ msgid "" msgstr "Zobrazenie ladiaceho okna na klientovi (má rovnaký efekt ako F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Šírka okna po spustení." +msgstr "Šírka okna po spustení. Ignorované v móde celej obrazovky." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7508,9 +7506,8 @@ msgid "cURL file download timeout" msgstr "cURL časový rámec sťahovania súborov" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "Časový rámec cURL" +msgstr "Časový rámec interakcie cURL" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 0eb829f5de61e1b0676c0f640948fabe84e4b9e7 Mon Sep 17 00:00:00 2001 From: Thiago Carmona Monteiro Date: Wed, 11 Aug 2021 07:58:55 +0000 Subject: Translated using Weblate (Portuguese (Brazil)) Currently translated at 94.4% (1319 of 1396 strings) --- po/pt_BR/minetest.po | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/po/pt_BR/minetest.po b/po/pt_BR/minetest.po index edb8b8324..1302b9836 100644 --- a/po/pt_BR/minetest.po +++ b/po/pt_BR/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Portuguese (Brazil) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-02-23 15:50+0000\n" -"Last-Translator: Victor Barcelos Lacerda \n" +"PO-Revision-Date: 2021-08-12 08:35+0000\n" +"Last-Translator: Thiago Carmona Monteiro \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.5\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -20,9 +20,8 @@ msgid "Clear the out chat queue" msgstr "Tamanho máximo da fila do chat" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Comandos de Chat" +msgstr "Comando vazio." #: builtin/client/chatcommands.lua #, fuzzy @@ -98,7 +97,7 @@ msgstr "" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" -msgstr "OK" +msgstr "Ok" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -134,7 +133,7 @@ msgstr "O servidor suporta versões de protocolo entre $1 e $2. " #: builtin/mainmenu/common.lua msgid "We only support protocol version $1." -msgstr "Suportamos apenas o protocolo de versão $1." +msgstr "Nós só suportamos a versão do protocolo $1." #: builtin/mainmenu/common.lua msgid "We support protocol versions between version $1 and $2." -- cgit v1.2.3 From cd3a8f96c654017a26e9afda0c3d78f1e6e0985e Mon Sep 17 00:00:00 2001 From: Zhaolin Lau Date: Thu, 12 Aug 2021 21:27:16 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 95.3% (1331 of 1396 strings) --- po/zh_CN/minetest.po | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 409f2e939..75c2c49cb 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-08-02 16:34+0000\n" -"Last-Translator: Emily Ellis \n" +"PO-Revision-Date: 2021-08-13 21:34+0000\n" +"Last-Translator: Zhaolin Lau \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -3985,7 +3985,7 @@ msgstr "" msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" -msgstr "" +msgstr "如果聊天命令的执行时间长于此指定以秒为单位时间,请将时间信息添加到聊天命令消息中。" #: src/settings_translation_file.cpp msgid "" @@ -5414,7 +5414,7 @@ msgid "" "Maximum number of concurrent downloads. Downloads exceeding this limit will " "be queued.\n" "This should be lower than curl_parallel_limit." -msgstr "" +msgstr "最大并发下载数。 超过此限制的下载将排队。 这应该低于 curl_parallel_limit(卷曲平行限制)。" #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." @@ -5489,7 +5489,7 @@ msgstr "单个文件下载(如mod下载)的最大时间。" msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." -msgstr "" +msgstr "交互式请求(例如服务器列表获取)可能需要的最长时间,以毫秒为单位。" #: src/settings_translation_file.cpp msgid "Maximum users" @@ -6239,6 +6239,8 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"设置阴影强度。\n" +"较低的值表示较亮的阴影,较高的值表示较暗的阴影。" #: src/settings_translation_file.cpp msgid "" @@ -6247,6 +6249,9 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"设置阴影更新时间。\n" +"较低的值意味着阴影和贴图更新更快,但会消耗更多资源。\n" +"最小值 0.001 秒 最大值 0.2 秒" #: src/settings_translation_file.cpp msgid "" @@ -6254,6 +6259,9 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"设置软阴影半径大小。\n" +"较低的值意味着更清晰的阴影更大的值更柔和。\n" +"最小值 1.0 和最大值 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6261,6 +6269,9 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"以度为单位设置太阳/月亮轨道的倾斜度\n" +"值 0 表示没有倾斜/垂直轨道。\n" +"最小值 0.0 和最大值 60.0" #: src/settings_translation_file.cpp #, fuzzy @@ -6301,6 +6312,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"将阴影纹理质量设置为 32 位。\n" +"如果为 false(否),将使用 16 位纹理。\n" +"这可能会导致阴影中出现更多阴影。" #: src/settings_translation_file.cpp msgid "Shader path" @@ -6324,11 +6338,11 @@ msgstr "截图品质" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "渲染阴影的节点中的阴影贴图最大距离" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "32 位阴影贴图纹理" #: src/settings_translation_file.cpp #, fuzzy @@ -6343,7 +6357,7 @@ msgstr "默认字体阴影偏移(单位为像素),0 表示不绘制阴影 #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "阴影强度" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6402,7 +6416,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "天体轨道倾斜" #: src/settings_translation_file.cpp msgid "Slice w" -- cgit v1.2.3 From 4866e06e6258738db036581e7fe3a08af13546c8 Mon Sep 17 00:00:00 2001 From: GunChleoc Date: Wed, 18 Aug 2021 06:35:25 +0000 Subject: Translated using Weblate (Gaelic) Currently translated at 17.0% (238 of 1396 strings) --- po/gd/minetest.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/po/gd/minetest.po b/po/gd/minetest.po index fb95014bb..88aaa36d9 100644 --- a/po/gd/minetest.po +++ b/po/gd/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2020-06-22 17:56+0000\n" +"PO-Revision-Date: 2021-08-19 06:36+0000\n" "Last-Translator: GunChleoc \n" "Language-Team: Gaelic \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : " "(n > 2 && n < 20) ? 2 : 3;\n" -"X-Generator: Weblate 4.2-dev\n" +"X-Generator: Weblate 4.8-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -2162,10 +2162,10 @@ msgid "" "a value range of approximately -2.0 to 2.0." msgstr "" "Riasladh 3D a mhìnicheas structar na tìre air fhleòd.\n" -"Mura cleachd thu an luach tùsail, dh’fhaoidte gum fheàirrde thu gleus a chur " -"air “scale” an riaslaidh (0.7 o thùs)\n" -", on a dh’obraicheas foincseanan cinn-chaoil as fheàrr\n" -"nuair a bhios an riasladh seo eadar mu -2.0 agus 2.0." +"Mura cleachd thu an luach bunaiteach, dh’fhaoidte gum b’ fheàirrde thu\n" +"gleus a chur air “scale” an riaslaidh (0.7 a ghnàth) on a dh’obraicheas " +"foincseanan\n" +"cinn-chaoil as fheàrr nuair a bhios an riasladh seo eadar mu -2.0 agus 2.0." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2821,7 +2821,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Default privileges" -msgstr "Sochairean tùsail" +msgstr "Sochairean bunaiteach" #: src/settings_translation_file.cpp msgid "Default report format" -- cgit v1.2.3 From dc73d441b52ed44f7f74bda4db0922dc42c62132 Mon Sep 17 00:00:00 2001 From: A M Date: Tue, 24 Aug 2021 16:18:20 +0000 Subject: Translated using Weblate (Polish) Currently translated at 71.4% (998 of 1396 strings) --- po/pl/minetest.po | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 6e3b8f3b8..7e67d9e75 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-07-01 18:33+0000\n" -"Last-Translator: Mateusz Mendel \n" +"PO-Revision-Date: 2021-08-25 16:34+0000\n" +"Last-Translator: A M \n" "Language-Team: Polish \n" "Language: pl\n" @@ -13,17 +13,15 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.8.1-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" msgstr "Wyczyść kolejkę wiadomości czatu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Puste komenda." +msgstr "Pusta komenda." #: builtin/client/chatcommands.lua msgid "Exit to main menu" @@ -38,21 +36,18 @@ msgid "Issued command: " msgstr "Wydana komenda: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Lista graczy sieciowych" +msgstr "Lista graczy online" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Gracze sieciowi: " +msgstr "Gracze online: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." msgstr "Kolejka czatu jest teraz pusta." #: builtin/client/chatcommands.lua -#, fuzzy msgid "This command is disabled by server." msgstr "Ta komenda jest dezaktywowana przez serwer." @@ -69,12 +64,10 @@ msgid "You died." msgstr "Umarłeś." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" msgstr "Dostępne komendy:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " msgstr "Dostępne komendy: " -- cgit v1.2.3 From 7d2c99e2c27cf2fb66a93a806c17f86093cc6de0 Mon Sep 17 00:00:00 2001 From: Tirifto Date: Tue, 24 Aug 2021 11:22:12 +0000 Subject: Translated using Weblate (Esperanto) Currently translated at 95.9% (1340 of 1396 strings) --- po/eo/minetest.po | 39 ++++++++++++++++----------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/po/eo/minetest.po b/po/eo/minetest.po index 7b967bcb8..9af8f5ec9 100644 --- a/po/eo/minetest.po +++ b/po/eo/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Esperanto (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-08-08 01:37+0000\n" -"Last-Translator: phlostically \n" +"PO-Revision-Date: 2021-08-25 16:34+0000\n" +"Last-Translator: Tirifto \n" "Language-Team: Esperanto \n" "Language: eo\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.8.1-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -20,33 +20,28 @@ msgid "Clear the out chat queue" msgstr "Maksimumo da atendantaj elaj mesaĝoj" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Babilaj komandoj" +msgstr "Malplena komando." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Eliri al menuo" +msgstr "Eliri al ĉefmenuo" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Loka komando" +msgstr "Nevalida komando: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Donita komando: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Ludo por unu" +msgstr "Listigi enretajn ludantojn" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Ludo por unu" +msgstr "Enretaj ludantoj: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -54,7 +49,7 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Ĉi tiun komandon malŝaltis servilo." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -69,22 +64,20 @@ msgid "You died." msgstr "Vi mortis." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Loka komando" +msgstr "Uzeblaj komandoj:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Loka komando" +msgstr "Uzeblaj komandoj: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Komando ne uzeblas: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Trovu helpon pri komandoj" #: builtin/common/chatcommands.lua msgid "" @@ -961,7 +954,7 @@ msgstr "Ŝati" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "Nekongruaj serviloj" +msgstr "Neakordaj serviloj" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -3193,7 +3186,7 @@ msgid "" "expecting." msgstr "" "Ŝalti por malpermesi konekton de malnovaj klientoj.\n" -"Malnovaj klientoj estas kongruaj tiel, ke ili ne fiaskas konektante al novaj " +"Malnovaj klientoj estas akordaj tiel, ke ili ne fiaskas konektante al novaj " "serviloj,\n" "sed eble ili ne subtenos ĉiujn atendatajn funkciojn." -- cgit v1.2.3 From 62c3c9012037cd4b3928929d27e902e922f3956b Mon Sep 17 00:00:00 2001 From: Heitor Date: Sat, 11 Sep 2021 18:13:26 +0000 Subject: Translated using Weblate (Portuguese (Brazil)) Currently translated at 97.0% (1355 of 1396 strings) --- po/pt_BR/minetest.po | 293 +++++++++++++++++++++++++++------------------------ 1 file changed, 156 insertions(+), 137 deletions(-) diff --git a/po/pt_BR/minetest.po b/po/pt_BR/minetest.po index 1302b9836..90064c76e 100644 --- a/po/pt_BR/minetest.po +++ b/po/pt_BR/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Portuguese (Brazil) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-08-12 08:35+0000\n" -"Last-Translator: Thiago Carmona Monteiro \n" +"PO-Revision-Date: 2021-09-16 16:36+0000\n" +"Last-Translator: Heitor \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" @@ -12,48 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Tamanho máximo da fila do chat" +msgstr "Limpe a fila de espera do chat" #: builtin/client/chatcommands.lua msgid "Empty command." msgstr "Comando vazio." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Sair para o menu" +msgstr "Sair para o menu principal" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Comando local" +msgstr "Comando inválido: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Comando emitido: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Um jogador" +msgstr "Liste os jogadores online" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Um jogador" +msgstr "Jogadores online: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "A fila de espera do chat agora está vazia." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Este comando está desabilitado pelo servidor." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,36 +59,35 @@ msgid "You died" msgstr "Você morreu" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Você morreu" +msgstr "Você morreu." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Comando local" +msgstr "Comandos disponíveis:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Comando local" +msgstr "Comandos disponíveis: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Comando não disponível: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Obtenha ajuda para comandos" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Use '.help ' para conseguir mais informação, ou '.help all' para listar " +"tudo." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all| ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -776,9 +770,8 @@ msgid "Loading..." msgstr "Carregando..." #: builtin/mainmenu/serverlistmgr.lua -#, fuzzy msgid "Public server list is disabled" -msgstr "Scripting de cliente está desabilitado" +msgstr "A lista de servidores públicos está desabilitada" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -788,16 +781,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Sobre" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Colaboradores Ativos" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Alcance para envio de objetos ativos" +msgstr "Renderizador ativo:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -932,9 +924,8 @@ msgid "Start Game" msgstr "Iniciar Jogo" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Endereço: " +msgstr "Endereço" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -950,22 +941,20 @@ msgstr "Modo criativo" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Dano" +msgstr "Dano / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Rem. Favorito" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favorito" +msgstr "Favoritos" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Servidores incompatíveis" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -976,13 +965,12 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Anunciar Servidor" +msgstr "Servidores Públicos" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Atualizar" #: builtin/mainmenu/tab_online.lua #, fuzzy @@ -1030,13 +1018,12 @@ msgid "Connected Glass" msgstr "Vidro conectado" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Fonte de sombra" +msgstr "Sombras dinâmicas" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Sombras dinâmicas: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1044,15 +1031,15 @@ msgstr "Folhas com transparência" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Alto" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Baixo" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Médio" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1144,11 +1131,11 @@ msgstr "Filtragem tri-linear" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Muito Alto" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Muito Baixo" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1466,9 +1453,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Minipapa atualmente desabilitado por jogo ou mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Um jogador" +msgstr "Multi-jogador" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1919,7 +1905,7 @@ msgstr "Pulo automático" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Especial" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1927,7 +1913,7 @@ msgstr "Voltar" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Limites de bloco" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2106,15 +2092,14 @@ msgstr "" "toque." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Use joystick virtual para ativar botão \"aux\".\n" -"Se habilitado, o joystick virtual vai também clicar no botão \"aux\" quando " -"estiver fora do circulo principal." +"(Android) Use joystick virtual para ativar botão \"especial\".\n" +"Se habilitado, o joystick virtual vai também clicar no botão \"especial\" " +"quando estiver fora do circulo principal." #: src/settings_translation_file.cpp msgid "" @@ -2483,9 +2468,8 @@ msgid "Autoscaling mode" msgstr "Modo de alto escalamento" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Tecla para Pular" +msgstr "Tecla especial" #: src/settings_translation_file.cpp #, fuzzy @@ -2642,9 +2626,8 @@ msgstr "" "Onde 0.0 é o nível mínimo de luz, 1.0 é o nível máximo de luz." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Limite da mensagem de expulsão" +msgstr "Limite de mensagem de tempo de comando de bate-papo" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2760,10 +2743,11 @@ msgstr "" "Lista de flags separadas por vírgula para esconder no repositório de " "conteúdos.\n" "\"não livre\" pode ser usada para esconder pacotes que não se qualificam " -"como software livre, como definido pela fundação do software livre.\n" +"como software livre,\n" +"como definido pela fundação do software livre.\n" "Você também pode especificar classificação de conteúdo.\n" -"Essas flags são independentes das versões do minetest, veja a lista completa " -"em https://content.minetest.net/help/content_flags/" +"Essas flags são independentes das versões do minetest,\n" +"veja a lista completa em https://content.minetest.net/help/content_flags/" #: src/settings_translation_file.cpp msgid "" @@ -2974,6 +2958,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Define a qualidade de filtragem de sombreamento\n" +"Isso simula um efeito de sombras suaves aplicando um PCF ou um poisson disk\n" +"mas também usa mais recursos." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3037,9 +3024,9 @@ msgid "" "Delay between mesh updates on the client in ms. Increasing this will slow\n" "down the rate of mesh updates, thus reducing jitter on slower clients." msgstr "" -"Tempo entre atualizações das malhas 3D no cliente em milissegundos. Aumentar " -"isso vai retardar a taxa de atualização das malhas, sendo assim, reduzindo " -"travamentos em clientes lentos." +"Tempo entre atualizações das malhas 3D no cliente em milissegundos.\n" +"Aumentar isso vai retardar a taxa de atualização das malhas, sendo assim, " +"reduzindo travamentos em clientes lentos." #: src/settings_translation_file.cpp msgid "Delay in sending blocks after building" @@ -3154,15 +3141,17 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Ativa sombras coloridas.\n" +"Quando em true nodes translúcidos podem projetar sombras coloridas. Isso é " +"caro." #: src/settings_translation_file.cpp msgid "Enable console window" msgstr "Habilitar janela de console" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "Habilitar modo criativo para mundos novos." +msgstr "Habilitar modo criativo para todos os jogadores." #: src/settings_translation_file.cpp msgid "Enable joysticks" @@ -3186,6 +3175,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Ativa filtragem de poisson disk.\n" +"Quando em true usa o poisson disk para fazer \"sombras suaves\". Caso " +"contrário usa filtragem PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3222,8 +3214,8 @@ msgstr "" "Habilitar recurso de não permitir que jogadores usando versões antigas do " "cliente possam se conectar.\n" "Essas versões são compatíveis no sentido de não travar quando conectam a " -"servidores com versões mais atuais, porém eles podem não suportar todos os " -"recursos que você está esperando." +"servidores com versões mais atuais,\n" +"porém eles podem não suportar todos os recursos que você está esperando." #: src/settings_translation_file.cpp msgid "" @@ -3387,7 +3379,8 @@ msgid "" "Multiplayer Tab." msgstr "" "Arquivo na pasta client/serverlist/ que contém seus servidores favoritos, " -"que são mostrados na aba Multijogador." +"que são mostrados na\n" +"aba Multijogador." #: src/settings_translation_file.cpp msgid "Filler depth" @@ -3610,11 +3603,12 @@ msgid "" "to maintain active objects up to this distance in the direction the\n" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" -"De quão longe clientes sabem sobre objetos declarados em mapblocks (16 " -"nós).\n" -" Configurando isto maior do que o alcançe de bloco ativo vai fazer com que o " -"sevidor mantenha objetos ativos na distancia que o jogador está olhando." -"(Isso pode evitar que mobs desapareçam da visão de repente)" +"De quão longe clientes sabem sobre objetos declarados em mapblocks (16 nós)." +"\n" +"\n" +"Configurando isto maior do que o alcançe de bloco ativo vai fazer com que o " +"sevidor mantenha objetos ativos na distancia que o jogador está olhando.(" +"Isso pode evitar que mobs desapareçam da visão de repente)" #: src/settings_translation_file.cpp msgid "Full screen" @@ -3732,10 +3726,11 @@ msgid "Heat noise" msgstr "Ruído nas cavernas #1" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Altura da janela inicial." +msgstr "" +"Componente de altura do tamanho da janela inicial. Ignorado em modo de tela " +"cheia." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3988,13 +3983,13 @@ msgstr "" "para não gastar a potência da CPU desnecessariamente." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Se estiver desabilitado, a tecla \"especial será usada para voar rápido se " -"modo voo e rápido estiverem habilitados." +"Se estiver desabilitado, a tecla \"especial\" será usada para voar rápido se " +"modo voo e rápido estiverem\n" +"habilitados." #: src/settings_translation_file.cpp msgid "" @@ -4005,9 +4000,10 @@ msgid "" "so that the utility of noclip mode is reduced." msgstr "" "Se habilitado, o servidor executará a seleção de oclusão de bloco de mapa " -"com base na posição do olho do jogador. Isso pode reduzir o número de blocos " -"enviados ao cliente de 50 a 80%. O cliente não será mais mais invisível, de " -"modo que a utilidade do modo \"noclip\" (modo intangível) será reduzida." +"com base\n" +"na posição do olho do jogador. Isso pode reduzir o número de blocos\n" +"enviados ao cliente de 50 a 80%. O cliente não receberá mais invisível\n" +"para que a utilidade do modo noclip é reduzida." #: src/settings_translation_file.cpp msgid "" @@ -4020,14 +4016,13 @@ msgstr "" "Isso requer o privilégio \"noclip\" no servidor." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Se habilitado, a tecla \"especial\" em vez de \"esgueirar\" servirá para " -"usada descer." +"Se habilitado, a tecla \"especial\" em vez de \"esgueirar\" servirá para\n" +"descer." #: src/settings_translation_file.cpp msgid "" @@ -4078,13 +4073,17 @@ msgid "" "to this distance from the player to the node." msgstr "" "Se a restrição de CSM para alcançe de nós está habilitado, chamadas get_node " -"são limitadas a está distancia do player até o nó." +"são limitadas\n" +"a esta distancia do player até o node." #: src/settings_translation_file.cpp msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Se a execução de um comando de chat demorar mais do que o tempo especificado " +"em\n" +"segundos, adicione a informação do tempo na mensagem-comando" #: src/settings_translation_file.cpp msgid "" @@ -4228,8 +4227,8 @@ msgid "" "At iterations = 20 this mapgen has a similar load to mapgen V7." msgstr "" "Iterações da função recursiva.\n" -"Aumentando isso aumenta a quantidade de detalhes, mas também aumenta o tempo " -"de processamento.\n" +"Aumentando isso aumenta a quantidade de detalhes, mas também\n" +"aumenta o tempo de processamento.\n" "Com iterações = 20, esse gerador de mapa tem um tempo de carregamento " "similar ao gerador V7." @@ -4262,7 +4261,8 @@ msgid "" "Range roughly -2 to 2." msgstr "" "Apenas para a configuração de Julia.\n" -"Componente W da constante hipercomplexa determinando o formato do fractal.\n" +"Componente W da constante hipercomplexa.\n" +"Altera o formato do fractal.\n" "Não tem nenhum efeito em fractais 3D.\n" "varia aproximadamente entre -2 e 2." @@ -4287,6 +4287,7 @@ msgid "" msgstr "" "Apenas para configuração de Julia.\n" "Componente Y da constante hipercomplexa.\n" +"Altera o formato do fractal.\n" "Varia aproximadamente entre -2 e 2." #: src/settings_translation_file.cpp @@ -5106,7 +5107,8 @@ msgid "" "network." msgstr "" "Comprimento do tick do servidor e o intervalo no qual os objetos são " -"geralmente atualizados em rede." +"geralmente atualizados em\n" +"rede." #: src/settings_translation_file.cpp msgid "" @@ -5178,9 +5180,9 @@ msgid "" "Only mapchunks completely within the mapgen limit are generated.\n" "Value is stored per-world." msgstr "" -"Limite de geração de mapas, em nós, em todas as 6 direções de (0, 0, 0). " -"Apenas áreas completas de mapa dentro do limite do mapgen são gerados. O " -"valor é armazenado por mundo." +"Limite de geração de mapas, em nós, em todas as 6 direções de (0, 0, 0).\n" +"Apenas áreas completas de mapa dentro do limite do mapgen são gerados.\n" +"O valor é armazenado por mundo." #: src/settings_translation_file.cpp msgid "" @@ -5313,7 +5315,8 @@ msgstr "" "'altitude_chill':Reduz o calor com a altitude.\n" "'humid_rivers':Aumenta a umidade em volta dos rios.\n" "'profundidade_variada_rios': Se habilitado, baixa umidade e alto calor faz " -"com que rios se tornem mais rasos e eventualmente sumam.\n" +"com que rios\n" +"se tornem mais rasos e eventualmente sumam.\n" "'altitude_dry': Reduz a umidade com a altitude." #: src/settings_translation_file.cpp @@ -5354,9 +5357,8 @@ msgid "Map save interval" msgstr "Intervalo de salvamento de mapa" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map update time" -msgstr "Período de atualização dos Líquidos" +msgstr "Tempo de atualização do mapa" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5471,7 +5473,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Distância máxima para renderizar sombras" #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5559,9 +5561,9 @@ msgid "" "client number." msgstr "" "Número máximo de pacotes enviados por etapa de envio, se você tem uma " -"conexão lenta \n" -"tente reduzir isso, mas não reduza a um número abaixo do dobro do número de " -"cliente alvo." +"conexão lenta\n" +"tente reduzir isso, mas não reduza a um número abaixo do dobro do\n" +"número de cliente alvo." #: src/settings_translation_file.cpp msgid "Maximum number of players that can be connected simultaneously." @@ -5604,19 +5606,19 @@ msgstr "" "0 para desabilitar a fila e -1 para a tornar ilimitada." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Tempo máximo em ms para download de arquivo (por exemplo, um arquivo ZIP de " -"um modificador) pode tomar." +"Tempo máximo em ms para download de arquivo (por exemplo, um mod) pode tomar." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Tempo máximo que um pedido interativo (ex: busca de lista de servidores) " +"pode levar, em milissegundos." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5844,8 +5846,8 @@ msgid "" msgstr "" "Número de blocos extras que pode ser carregados por /clearobjects ao mesmo " "tempo.\n" -"Esta é uma troca entre sobrecarga de transação do sqlite e consumo de " -"memória (4096 = 100 MB, como uma regra de ouro)." +"Esta é uma troca entre sobrecarga de transação do sqlite e\n" +"consumo de memória (4096 = 100 MB, como uma regra de ouro)." #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -5867,7 +5869,8 @@ msgid "" "open." msgstr "" "Abre o menu de pausa quando o foco da janela é perdido.Não pausa se um " -"formspec está aberto." +"formspec está\n" +"aberto." #: src/settings_translation_file.cpp msgid "" @@ -5986,9 +5989,8 @@ msgid "Player versus player" msgstr "Jogador contra jogador" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Filtragem bi-linear" +msgstr "Filtragem de Poisson" #: src/settings_translation_file.cpp msgid "" @@ -6017,8 +6019,8 @@ msgid "" "Print the engine's profiling data in regular intervals (in seconds).\n" "0 = disable. Useful for developers." msgstr "" -"Intervalo de impressão de dados do analisador (em segundos). 0 = " -"desabilitado. Útil para desenvolvedores." +"Intervalo de impressão de dados do analisador (em segundos).\n" +"0 = desabilitado. Útil para desenvolvedores." #: src/settings_translation_file.cpp msgid "Privileges that players with basic_privs can grant" @@ -6125,10 +6127,11 @@ msgid "" msgstr "" "Restringe o acesso de certas funções a nível de cliente em servidores.\n" "Combine os byflags abaixo par restringir recursos de nível de cliente, ou " -"coloque 0 para nenhuma restrição:\n" +"coloque 0\n" +"para nenhuma restrição:\n" "LOAD_CLIENT_MODS: 1 (desabilita o carregamento de mods de cliente)\n" -"CHAT_MESSAGES: 2 (desabilita a chamada send_chat_message no lado do " -"cliente)\n" +"CHAT_MESSAGES: 2 (desabilita a chamada send_chat_message no lado do cliente)" +"\n" "READ_ITEMDEFS: 4 (desabilita a chamada get_item_def no lado do cliente)\n" "READ_NODEDEFS: 8 (desabilita a chamada get_node_def no lado do cliente)\n" "LOOKUP_NODES_LIMIT: 16 (limita a chamada get_node no lado do cliente para " @@ -6390,6 +6393,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Defina a força da sombra.\n" +"Valores mais baixo significam sombras mais brandas, valores mais altos " +"significam sombras mais fortes." #: src/settings_translation_file.cpp msgid "" @@ -6398,6 +6404,10 @@ msgid "" "resources.\n" "Minimun value 0.001 seconds max value 0.2 seconds" msgstr "" +"Defina o tempo de atualização das sombras.\n" +"Valores mais baixos significam que sombras e mapa atualizam mais rápido, mas " +"consume mais recursos.\n" +"Valor mínimo 0.001 segundos e valor máximo 0.2 segundos" #: src/settings_translation_file.cpp msgid "" @@ -6405,6 +6415,10 @@ msgid "" "Lower values mean sharper shadows bigger values softer.\n" "Minimun value 1.0 and max value 10.0" msgstr "" +"Defina o tamanho do raio de sombras suaves.\n" +"Valores mais baixos significam sombras mais nítidas e valores altos sombras " +"suaves.\n" +"Valor mínimo 1.0 e valor máximo 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6412,15 +6426,17 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimun value 0.0 and max value 60.0" msgstr "" +"Defina a inclinação da órbita do Sol/Lua em graus\n" +"Valor 0 significa sem inclinação/ órbita vertical.\n" +"Valor mínimo de 0.0 e máximo de 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Definido como true habilita o balanço das folhas.\n" -"Requer que os sombreadores estejam ativados." +"Defina para true para ativar o Mapeamento de Sombras.\n" +"Requer sombreadores para ser ativado." #: src/settings_translation_file.cpp msgid "" @@ -6452,6 +6468,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Define a qualidade da textura das sombras para 32 bits.\n" +"Quando false, a textura de 16 bits será usada\n" +"Isso pode fazer com que muito mais coisas aparecam nas sombras." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6465,26 +6484,25 @@ msgid "" "This only works with the OpenGL video backend." msgstr "" "Sombreadores permitem efeitos visuais avançados e podem aumentar a " -"performance em algumas placas de vídeo.\n" +"performance em algumas\n" +"placas de vídeo.\n" "Só funcionam com o modo de vídeo OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Qualidade da Captura de tela;" +msgstr "Qualidade do filtro de sombras" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Distância do mapa de sombras em nodes para renderizar sombras" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Textura do mapa de sombras em 32 bits" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Tamanho mínimo da textura" +msgstr "Tamanho da textura do mapa de sombras" #: src/settings_translation_file.cpp msgid "" @@ -6496,7 +6514,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Força da sombra" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6519,9 +6537,8 @@ msgstr "" "É necessário reiniciar após alterar isso." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show nametag backgrounds by default" -msgstr "Fonte em negrito por padrão" +msgstr "Mostrar plano de fundo da nametag por padrão" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6554,7 +6571,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Inclinação Da Órbita Do Céu" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6616,9 +6633,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Velocidade ao esgueirar-se, em nós (blocos) por segundo." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Fonte alpha de sombra" +msgstr "Raio das sombras suaves" #: src/settings_translation_file.cpp msgid "Sound" @@ -6786,6 +6802,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadowsbut it is also more expensive." msgstr "" +"Tamanho da textura em que o mapa de sombras será renderizado em.\n" +"Deve ser um múltiplo de dois.\n" +"Números maiores criam sombras melhores mas também esvazia a conta do banco." #: src/settings_translation_file.cpp msgid "" @@ -6885,7 +6904,6 @@ msgstr "" "Isso deve ser configurado junto com active_object_send_range_blocks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6894,7 +6912,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"O back-end de renderização para Irrlicht.\n" +"O back-end de renderização.\n" "É necessário reiniciar após alterar isso.\n" "Nota: No Android, use OGLES1 se não tiver certeza! O aplicativo pode falhar " "ao iniciar de outra forma.\n" @@ -7240,9 +7258,8 @@ msgid "Viewing range" msgstr "Intervalo de visualização" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Joystick virtual ativa botão auxiliar" +msgstr "Joystick virtual ativa botão especial" #: src/settings_translation_file.cpp msgid "Volume" @@ -7380,6 +7397,8 @@ msgid "" "Whether nametag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" +"Se os planos de fundo das nametags devem ser mostradas por padrão.\n" +"Mods ainda poderão definir um plano de fundo." #: src/settings_translation_file.cpp msgid "Whether node texture animations should be desynchronized per mapblock." @@ -7433,9 +7452,9 @@ msgstr "" "como teclar F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Largura da janela inicial." +msgstr "" +"Componente de tamanho da janela inicial. Ignorado em modo de tela cheia." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." -- cgit v1.2.3 From 6569056bfc207617edff1326d00b61122eff7b86 Mon Sep 17 00:00:00 2001 From: Jiri Grönroos Date: Wed, 15 Sep 2021 07:46:55 +0000 Subject: Translated using Weblate (Finnish) Currently translated at 20.9% (292 of 1396 strings) --- po/fi/minetest.po | 386 +++++++++++++++++++++++++++--------------------------- 1 file changed, 195 insertions(+), 191 deletions(-) diff --git a/po/fi/minetest.po b/po/fi/minetest.po index e12580417..6761f3e6f 100644 --- a/po/fi/minetest.po +++ b/po/fi/minetest.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-04-10 15:49+0000\n" -"Last-Translator: Markus Mikkonen \n" +"PO-Revision-Date: 2021-09-16 16:37+0000\n" +"Last-Translator: Jiri Grönroos \n" "Language-Team: Finnish \n" "Language: fi\n" @@ -17,44 +17,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Tyhjennä keskustelujono" #: builtin/client/chatcommands.lua msgid "Empty command." -msgstr "" +msgstr "Tyhjä komento." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Takaisin päävalikkoon" +msgstr "Poistu päävalikkoon" #: builtin/client/chatcommands.lua msgid "Invalid command: " -msgstr "" +msgstr "Virheellinen komento: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Annettu komento: " #: builtin/client/chatcommands.lua msgid "List online players" -msgstr "" +msgstr "Listaa verkkopelaajat" #: builtin/client/chatcommands.lua msgid "Online players: " -msgstr "" +msgstr "Verkkopelaajat: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Keskustelujono on nyt tyhjä." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Palvelin on poistanut komennon käytöstä." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,30 +64,31 @@ msgid "You died" msgstr "Kuolit" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Kuolit" +msgstr "Kuolit." #: builtin/common/chatcommands.lua msgid "Available commands:" -msgstr "" +msgstr "Käytettävissä olevat komennot:" #: builtin/common/chatcommands.lua msgid "Available commands: " -msgstr "" +msgstr "Käytettävissä olevat komennot: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Komento ei ole käytettävissä: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Ohjeita komentojen käyttöön" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Käytä '.help ' saadaksesi lisätietoja komennosta, tai '.help all' " +"listataksesi kaiken." #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -196,7 +196,7 @@ msgstr "Pelin kuvausta ei ole annettu." #: builtin/mainmenu/dlg_config_world.lua msgid "No hard dependencies" -msgstr "" +msgstr "Ei kovia riippuvuuksia" #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." @@ -225,7 +225,7 @@ msgstr "käytössä" #: builtin/mainmenu/dlg_contentstore.lua msgid "\"$1\" already exists. Would you like to overwrite it?" -msgstr "" +msgstr "\"$1\" on jo olemassa. Haluatko korvata sen?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." @@ -263,11 +263,11 @@ msgstr "Asennettu jo" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" -msgstr "Takaisin päävalikkoon" +msgstr "Palaa päävalikkoon" #: builtin/mainmenu/dlg_contentstore.lua msgid "Base Game:" -msgstr "" +msgstr "Peruspeli:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" @@ -305,7 +305,7 @@ msgstr "Modit" #: builtin/mainmenu/dlg_contentstore.lua msgid "No packages could be retrieved" -msgstr "" +msgstr "Paketteja ei voitu noutaa" #: builtin/mainmenu/dlg_contentstore.lua msgid "No results" @@ -317,7 +317,7 @@ msgstr "Ei päivityksiä" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Ei löytynyt" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" @@ -329,7 +329,7 @@ msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Jonotettu" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" @@ -349,7 +349,7 @@ msgstr "Päivitä kaikki [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Katso lisätietoja verkkoselaimessa" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" @@ -437,7 +437,7 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" -msgstr "" +msgstr "Järvet" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" @@ -449,11 +449,11 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" -msgstr "" +msgstr "Mapgen-valitsimet" #: builtin/mainmenu/dlg_create_world.lua msgid "Mapgen-specific flags" -msgstr "" +msgstr "Mapgen-spesifit valitsimet" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" @@ -481,7 +481,7 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" -msgstr "" +msgstr "Joet" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" @@ -536,7 +536,7 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The Development Test is meant for developers." -msgstr "" +msgstr "Varoitus: Development Test on tarkoitettu kehittäjille." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" @@ -558,11 +558,11 @@ msgstr "Poista" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: failed to delete \"$1\"" -msgstr "" +msgstr "pkgmgr: kohteen \"$1\" poistaminen epäonnistui" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: invalid path \"$1\"" -msgstr "" +msgstr "pkgmgr: virheellinen polku \"$1\"" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" @@ -574,7 +574,7 @@ msgstr "Hyväksy" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Rename Modpack:" -msgstr "" +msgstr "Nimeä modipaketti uudelleen:" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" @@ -592,7 +592,7 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" -msgstr "< Takaisin asetussivulle" +msgstr "< Palaa asetussivulle" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Browse" @@ -628,15 +628,15 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." -msgstr "" +msgstr "Anna kelvollinen kokonaisuluku." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid number." -msgstr "" +msgstr "Anna kelvollinen numero." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" -msgstr "" +msgstr "Palauta oletus" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Scale" @@ -660,11 +660,11 @@ msgstr "Näytä tekniset nimet" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must be at least $1." -msgstr "" +msgstr "Arvon tulee olla vähintään $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must not be larger than $1." -msgstr "" +msgstr "Arvo ei saa olla suurempi kuin $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "X" @@ -719,7 +719,7 @@ msgstr "$1 (Käytössä)" #: builtin/mainmenu/pkgmgr.lua msgid "$1 mods" -msgstr "" +msgstr "$1 modia" #: builtin/mainmenu/pkgmgr.lua msgid "Failed to install $1 to $2" @@ -739,7 +739,7 @@ msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Install: file: \"$1\"" -msgstr "" +msgstr "Asenna: tiedosto: \"$1\"" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" @@ -767,7 +767,7 @@ msgstr "Ladataan..." #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" -msgstr "" +msgstr "Julkinen palvelinlista on pois käytöstä" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -777,7 +777,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Tietoja" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -793,7 +793,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "Open User Data Directory" -msgstr "" +msgstr "Avaa käyttäjätietohakemisto" #: builtin/mainmenu/tab_about.lua msgid "" @@ -811,11 +811,11 @@ msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Browse online content" -msgstr "" +msgstr "Selaa sisältöä verkossa" #: builtin/mainmenu/tab_content.lua msgid "Content" -msgstr "" +msgstr "Sisältö" #: builtin/mainmenu/tab_content.lua msgid "Disable Texture Pack" @@ -823,7 +823,7 @@ msgstr "Poista tekstuuripaketti käytöstä" #: builtin/mainmenu/tab_content.lua msgid "Information:" -msgstr "" +msgstr "Tietoja:" #: builtin/mainmenu/tab_content.lua msgid "Installed Packages:" @@ -851,11 +851,11 @@ msgstr "Käytä tekstuuripakettia" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" -msgstr "" +msgstr "Ilmoita palvelin" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" -msgstr "" +msgstr "Sido osoite" #: builtin/mainmenu/tab_local.lua msgid "Creative Mode" @@ -863,23 +863,23 @@ msgstr "Luova tila" #: builtin/mainmenu/tab_local.lua msgid "Enable Damage" -msgstr "" +msgstr "Ota vahinko käyttöön" #: builtin/mainmenu/tab_local.lua msgid "Host Game" -msgstr "" +msgstr "Isännöi peli" #: builtin/mainmenu/tab_local.lua msgid "Host Server" -msgstr "" +msgstr "Isännöi palvelin" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" -msgstr "" +msgstr "Asenna pelejä ContentDB:stä" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Nimi" #: builtin/mainmenu/tab_local.lua msgid "New" @@ -887,11 +887,11 @@ msgstr "Uusi" #: builtin/mainmenu/tab_local.lua msgid "No world created or selected!" -msgstr "" +msgstr "Maailmaa ei ole luotu tai valittu!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Password" -msgstr "" +msgstr "Salasana" #: builtin/mainmenu/tab_local.lua msgid "Play Game" @@ -903,7 +903,7 @@ msgstr "Portti" #: builtin/mainmenu/tab_local.lua msgid "Select Mods" -msgstr "" +msgstr "Valitse modit" #: builtin/mainmenu/tab_local.lua msgid "Select World:" @@ -911,20 +911,19 @@ msgstr "Valitse maailma:" #: builtin/mainmenu/tab_local.lua msgid "Server Port" -msgstr "" +msgstr "Palvelimen portti" #: builtin/mainmenu/tab_local.lua msgid "Start Game" -msgstr "" +msgstr "Aloita peli" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "Osoite / Portti" +msgstr "Osoite" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" -msgstr "" +msgstr "Tyhjennä" #: builtin/mainmenu/tab_online.lua msgid "Connect" @@ -937,20 +936,19 @@ msgstr "Luova tila" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua msgid "Damage / PvP" -msgstr "" +msgstr "Vahinko / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Suosikki" +msgstr "Suosikit" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Palvelimet eivät ole yhteensopivat" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -962,15 +960,15 @@ msgstr "Viive" #: builtin/mainmenu/tab_online.lua msgid "Public Servers" -msgstr "" +msgstr "Julkiset palvelimet" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Päivitä" #: builtin/mainmenu/tab_online.lua msgid "Server Description" -msgstr "" +msgstr "Palvelimen kuvaus" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -978,7 +976,7 @@ msgstr "2x" #: builtin/mainmenu/tab_settings.lua msgid "3D Clouds" -msgstr "" +msgstr "3D-pilvet" #: builtin/mainmenu/tab_settings.lua msgid "4x" @@ -994,19 +992,19 @@ msgstr "Kaikki asetukset" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" -msgstr "" +msgstr "Reunanpehmennys:" #: builtin/mainmenu/tab_settings.lua msgid "Autosave Screen Size" -msgstr "" +msgstr "Tallenna näytön koko automaattisesti" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" -msgstr "" +msgstr "Bilineaarinen suodatus" #: builtin/mainmenu/tab_settings.lua src/client/game.cpp msgid "Change Keys" -msgstr "" +msgstr "Näppäinasetukset" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" @@ -1014,11 +1012,11 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Dynaamiset varjot" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dynaamiset varjot: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1046,7 +1044,7 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "No Filter" -msgstr "" +msgstr "Ei suodatinta" #: builtin/mainmenu/tab_settings.lua msgid "No Mipmap" @@ -1070,7 +1068,7 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Water" -msgstr "" +msgstr "Läpinäkymätön vesi" #: builtin/mainmenu/tab_settings.lua msgid "Particles" @@ -1078,7 +1076,7 @@ msgstr "Partikkelit" #: builtin/mainmenu/tab_settings.lua msgid "Screen:" -msgstr "" +msgstr "Näyttö:" #: builtin/mainmenu/tab_settings.lua msgid "Settings" @@ -1086,15 +1084,15 @@ msgstr "Asetukset" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" -msgstr "" +msgstr "Varjostimet" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (experimental)" -msgstr "" +msgstr "Varjostimet (kokeellinen)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" -msgstr "" +msgstr "Varjostimet (ei käytettävissä)" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" @@ -1102,15 +1100,15 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Smooth Lighting" -msgstr "" +msgstr "Tasainen valaistus" #: builtin/mainmenu/tab_settings.lua msgid "Texturing:" -msgstr "" +msgstr "Teksturointi:" #: builtin/mainmenu/tab_settings.lua msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" +msgstr "Varjostimien käyttäminen vaatii, että käytössä on OpenGL-ajuri." #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" @@ -1146,11 +1144,11 @@ msgstr "" #: src/client/client.cpp msgid "Connection timed out." -msgstr "" +msgstr "Yhteys aikakatkaistiin." #: src/client/client.cpp msgid "Done!" -msgstr "" +msgstr "Valmis!" #: src/client/client.cpp msgid "Initializing nodes" @@ -1166,7 +1164,7 @@ msgstr "Ladataan tekstuureja..." #: src/client/client.cpp msgid "Rebuilding shaders..." -msgstr "" +msgstr "Rakennetaan uudelleen varjostimia..." #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" @@ -1182,7 +1180,7 @@ msgstr "" #: src/client/clientlauncher.cpp msgid "Main Menu" -msgstr "" +msgstr "Päävalikko" #: src/client/clientlauncher.cpp msgid "No world selected and no address provided. Nothing to do." @@ -1190,11 +1188,11 @@ msgstr "" #: src/client/clientlauncher.cpp msgid "Player name too long." -msgstr "" +msgstr "Pelaajan nimi on liian pitkä." #: src/client/clientlauncher.cpp msgid "Please choose a name!" -msgstr "" +msgstr "Valitse nimi!" #: src/client/clientlauncher.cpp msgid "Provided password file failed to open: " @@ -1212,36 +1210,36 @@ msgstr "" #: src/client/game.cpp msgid "- Address: " -msgstr "" +msgstr "- Osoite: " #: src/client/game.cpp msgid "- Creative Mode: " -msgstr "" +msgstr "- Luova tila: " #: src/client/game.cpp msgid "- Damage: " -msgstr "" +msgstr "- Vahinko: " #: src/client/game.cpp msgid "- Mode: " -msgstr "" +msgstr "- Tila: " #: src/client/game.cpp msgid "- Port: " -msgstr "" +msgstr "- Portti: " #: src/client/game.cpp msgid "- Public: " -msgstr "" +msgstr "- Julkinen: " #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " -msgstr "" +msgstr "- PvP: " #: src/client/game.cpp msgid "- Server Name: " -msgstr "" +msgstr "- Palvelimen nimi: " #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1261,7 +1259,7 @@ msgstr "" #: src/client/game.cpp msgid "Change Password" -msgstr "" +msgstr "Vaihda salasana" #: src/client/game.cpp msgid "Cinematic mode disabled" @@ -1277,11 +1275,11 @@ msgstr "" #: src/client/game.cpp msgid "Connecting to server..." -msgstr "" +msgstr "Yhdistetään palvelimeen..." #: src/client/game.cpp msgid "Continue" -msgstr "" +msgstr "Jatka" #: src/client/game.cpp #, c-format @@ -1304,11 +1302,11 @@ msgstr "" #: src/client/game.cpp msgid "Creating client..." -msgstr "" +msgstr "Luodaan asiakasta..." #: src/client/game.cpp msgid "Creating server..." -msgstr "" +msgstr "Luodaan palvelinta..." #: src/client/game.cpp msgid "Debug info and profiler graph hidden" @@ -1348,11 +1346,11 @@ msgstr "" #: src/client/game.cpp msgid "Exit to Menu" -msgstr "" +msgstr "Poistu valikkoon" #: src/client/game.cpp msgid "Exit to OS" -msgstr "" +msgstr "Poistu käyttöjärjestelmään" #: src/client/game.cpp msgid "Fast mode disabled" @@ -1368,11 +1366,11 @@ msgstr "" #: src/client/game.cpp msgid "Fly mode disabled" -msgstr "" +msgstr "Lentotila pois käytöstä" #: src/client/game.cpp msgid "Fly mode enabled" -msgstr "" +msgstr "Lentotila käytössä" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" @@ -1380,19 +1378,19 @@ msgstr "" #: src/client/game.cpp msgid "Fog disabled" -msgstr "" +msgstr "Sumu pois käytöstä" #: src/client/game.cpp msgid "Fog enabled" -msgstr "" +msgstr "Sumu käytössä" #: src/client/game.cpp msgid "Game info:" -msgstr "" +msgstr "Pelin tiedot:" #: src/client/game.cpp msgid "Game paused" -msgstr "" +msgstr "Peli keskeytetty" #: src/client/game.cpp msgid "Hosting server" @@ -1440,11 +1438,11 @@ msgstr "" #: src/client/game.cpp msgid "Off" -msgstr "" +msgstr "Pois" #: src/client/game.cpp msgid "On" -msgstr "" +msgstr "Päällä" #: src/client/game.cpp msgid "Pitch move mode disabled" @@ -1460,27 +1458,27 @@ msgstr "" #: src/client/game.cpp msgid "Remote server" -msgstr "" +msgstr "Etäpalvelin" #: src/client/game.cpp msgid "Resolving address..." -msgstr "" +msgstr "Selvitetään osoitetta..." #: src/client/game.cpp msgid "Shutting down..." -msgstr "" +msgstr "Sammutetaan..." #: src/client/game.cpp msgid "Singleplayer" -msgstr "" +msgstr "Yksinpeli" #: src/client/game.cpp msgid "Sound Volume" -msgstr "" +msgstr "Äänenvoimakkuus" #: src/client/game.cpp msgid "Sound muted" -msgstr "" +msgstr "Ääni mykistetty" #: src/client/game.cpp msgid "Sound system is disabled" @@ -1492,7 +1490,7 @@ msgstr "" #: src/client/game.cpp msgid "Sound unmuted" -msgstr "" +msgstr "Ääni palautettu" #: src/client/game.cpp #, c-format @@ -1528,7 +1526,7 @@ msgstr "" #: src/client/gameui.cpp msgid "Chat hidden" -msgstr "" +msgstr "Keskustelu piilotettu" #: src/client/gameui.cpp msgid "Chat shown" @@ -1830,11 +1828,11 @@ msgstr "" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" -msgstr "" +msgstr "Salasanat eivät täsmää!" #: src/gui/guiConfirmRegistration.cpp msgid "Register and Join" -msgstr "" +msgstr "Rekisteröidy ja liity" #: src/gui/guiConfirmRegistration.cpp #, c-format @@ -1845,6 +1843,10 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" +"Olet aikeissa liittyä tälle palvelimelle nimellä \"%s\" ensimmäistä kertaa.\n" +"Jos jatkat, uusi tili kirjautumistietojen kera luodaan tälle palvelimelle.\n" +"Kirjoita salasana ja napsauta \"Rekisteröidy ja liity\" vahvistaaksesi tilin " +"luomisen, tai napsauta \"Peruuta\" lopettaaksesi." #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" @@ -1860,7 +1862,7 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Automatic jumping" -msgstr "" +msgstr "Hypi automaattisesti" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" @@ -1868,7 +1870,7 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" -msgstr "" +msgstr "Taakse" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" @@ -1876,19 +1878,19 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" -msgstr "" +msgstr "Vaihda kameraa" #: src/gui/guiKeyChangeMenu.cpp msgid "Chat" -msgstr "" +msgstr "Keskustelu" #: src/gui/guiKeyChangeMenu.cpp msgid "Command" -msgstr "" +msgstr "Komento" #: src/gui/guiKeyChangeMenu.cpp msgid "Console" -msgstr "" +msgstr "Konsoli" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. range" @@ -1908,7 +1910,7 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Forward" -msgstr "" +msgstr "Eteen" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. range" @@ -1920,11 +1922,11 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Inventory" -msgstr "" +msgstr "Inventaario" #: src/gui/guiKeyChangeMenu.cpp msgid "Jump" -msgstr "" +msgstr "Hyppää" #: src/gui/guiKeyChangeMenu.cpp msgid "Key already in use" @@ -1933,10 +1935,12 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" msgstr "" +"Näppäimistöasetukset. (Jos tämä valikko rikkoutuu, poista asioita minetest." +"conf-tiedostosta)" #: src/gui/guiKeyChangeMenu.cpp msgid "Local command" -msgstr "" +msgstr "Paikallinen komento" #: src/gui/guiKeyChangeMenu.cpp msgid "Mute" @@ -1956,11 +1960,11 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Screenshot" -msgstr "" +msgstr "Kuvakaappaus" #: src/gui/guiKeyChangeMenu.cpp msgid "Sneak" -msgstr "" +msgstr "Hiivi" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle HUD" @@ -2004,27 +2008,27 @@ msgstr "" #: src/gui/guiPasswordChange.cpp msgid "Confirm Password" -msgstr "" +msgstr "Vahvista salasana" #: src/gui/guiPasswordChange.cpp msgid "New Password" -msgstr "" +msgstr "Uusi salasana" #: src/gui/guiPasswordChange.cpp msgid "Old Password" -msgstr "" +msgstr "Vanha salasana" #: src/gui/guiVolumeChange.cpp msgid "Exit" -msgstr "" +msgstr "Poistu" #: src/gui/guiVolumeChange.cpp msgid "Muted" -msgstr "" +msgstr "Mykistetty" #: src/gui/guiVolumeChange.cpp msgid "Sound Volume: " -msgstr "" +msgstr "Äänenvoimakkuus: " #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2105,11 +2109,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "3D clouds" -msgstr "" +msgstr "3D-pilvet" #: src/settings_translation_file.cpp msgid "3D mode" -msgstr "" +msgstr "3D-tila" #: src/settings_translation_file.cpp msgid "3D mode parallax strength" @@ -2242,7 +2246,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Advanced" -msgstr "" +msgstr "Lisäasetukset" #: src/settings_translation_file.cpp msgid "" @@ -2336,7 +2340,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Autosave screen size" -msgstr "" +msgstr "Tallenna näytön koko automaattisesti" #: src/settings_translation_file.cpp msgid "Autoscaling mode" @@ -2550,11 +2554,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Client" -msgstr "" +msgstr "Asiakas" #: src/settings_translation_file.cpp msgid "Client and Server" -msgstr "" +msgstr "Asiakas ja palvelin" #: src/settings_translation_file.cpp msgid "Client modding" @@ -2578,7 +2582,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Clouds" -msgstr "" +msgstr "Pilvet" #: src/settings_translation_file.cpp msgid "Clouds are a client side effect." @@ -2962,7 +2966,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Enable console window" -msgstr "" +msgstr "Käytä konsoli-ikkunaa" #: src/settings_translation_file.cpp msgid "Enable creative mode for all players" @@ -3333,7 +3337,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "FreeType fonts" -msgstr "" +msgstr "FreeType-fontit" #: src/settings_translation_file.cpp msgid "" @@ -3357,11 +3361,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Full screen" -msgstr "" +msgstr "Koko näyttö" #: src/settings_translation_file.cpp msgid "Fullscreen mode." -msgstr "" +msgstr "Koko näytön tila." #: src/settings_translation_file.cpp msgid "GUI scaling" @@ -3400,7 +3404,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Graphics" -msgstr "" +msgstr "Grafiikka" #: src/settings_translation_file.cpp msgid "Gravity" @@ -3416,7 +3420,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "HTTP mods" -msgstr "" +msgstr "HTTP-modit" #: src/settings_translation_file.cpp msgid "HUD scale factor" @@ -3490,7 +3494,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Homepage of server, to be displayed in the serverlist." -msgstr "" +msgstr "Palvelimen sivusto, näytetään palvelinlistauksessa." #: src/settings_translation_file.cpp msgid "" @@ -3681,11 +3685,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "IPv6" -msgstr "" +msgstr "IPv6" #: src/settings_translation_file.cpp msgid "IPv6 server" -msgstr "" +msgstr "IPv6-palvelin" #: src/settings_translation_file.cpp msgid "" @@ -3786,7 +3790,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "In-Game" -msgstr "" +msgstr "Pelinsisäinen" #: src/settings_translation_file.cpp msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." @@ -4481,7 +4485,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Language" -msgstr "" +msgstr "Kieli" #: src/settings_translation_file.cpp msgid "Large cave depth" @@ -4833,7 +4837,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum FPS" -msgstr "" +msgstr "FPS enintään" #: src/settings_translation_file.cpp msgid "Maximum FPS when the window is not focused, or when the game is paused." @@ -4962,11 +4966,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum users" -msgstr "" +msgstr "Käyttäjiä enintään" #: src/settings_translation_file.cpp msgid "Menus" -msgstr "" +msgstr "Valikot" #: src/settings_translation_file.cpp msgid "Mesh cache" @@ -5050,7 +5054,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Mouse sensitivity" -msgstr "" +msgstr "Hiiren herkkyys" #: src/settings_translation_file.cpp msgid "Mouse sensitivity multiplier." @@ -5072,7 +5076,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Mute sound" -msgstr "" +msgstr "Mykistä ääni" #: src/settings_translation_file.cpp msgid "" @@ -5100,7 +5104,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Network" -msgstr "" +msgstr "Verkko" #: src/settings_translation_file.cpp msgid "" @@ -5110,7 +5114,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "New users need to input this password." -msgstr "" +msgstr "Uusien käyttäjien tulee syöttää tämä salasana." #: src/settings_translation_file.cpp msgid "Noclip" @@ -5232,7 +5236,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Physics" -msgstr "" +msgstr "Fysiikka" #: src/settings_translation_file.cpp msgid "Pitch move key" @@ -5258,7 +5262,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Player name" -msgstr "" +msgstr "Pelaajan nimi" #: src/settings_translation_file.cpp msgid "Player transfer distance" @@ -5266,7 +5270,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Player versus player" -msgstr "" +msgstr "Pelaaja vastaan pelaaja" #: src/settings_translation_file.cpp msgid "Poisson filtering" @@ -5480,23 +5484,23 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Screen height" -msgstr "" +msgstr "Näytön korkeus" #: src/settings_translation_file.cpp msgid "Screen width" -msgstr "" +msgstr "Näytön leveys" #: src/settings_translation_file.cpp msgid "Screenshot folder" -msgstr "" +msgstr "Kuvakaappausten kansio" #: src/settings_translation_file.cpp msgid "Screenshot format" -msgstr "" +msgstr "Kuvakaappausten muoto" #: src/settings_translation_file.cpp msgid "Screenshot quality" -msgstr "" +msgstr "Kuvakaappausten laatu" #: src/settings_translation_file.cpp msgid "" @@ -5519,11 +5523,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Security" -msgstr "" +msgstr "Turvallisuus" #: src/settings_translation_file.cpp msgid "See https://www.sqlite.org/pragma.html#pragma_synchronous" -msgstr "" +msgstr "Lue https://www.sqlite.org/pragma.html#pragma_synchronous" #: src/settings_translation_file.cpp msgid "Selection box border color (R,G,B)." @@ -5562,27 +5566,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Server / Singleplayer" -msgstr "" +msgstr "Palvelin / yksinpeli" #: src/settings_translation_file.cpp msgid "Server URL" -msgstr "" +msgstr "Palvelimen URL" #: src/settings_translation_file.cpp msgid "Server address" -msgstr "" +msgstr "Palvelimen osoite" #: src/settings_translation_file.cpp msgid "Server description" -msgstr "" +msgstr "Palvelimen kuvaus" #: src/settings_translation_file.cpp msgid "Server name" -msgstr "" +msgstr "Palvelimen nimi" #: src/settings_translation_file.cpp msgid "Server port" -msgstr "" +msgstr "Palvelimen portti" #: src/settings_translation_file.cpp msgid "Server side occlusion culling" @@ -5798,7 +5802,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sneaking speed" -msgstr "" +msgstr "Hiiviskelyn nopeus" #: src/settings_translation_file.cpp msgid "Sneaking speed, in nodes per second." @@ -5810,7 +5814,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sound" -msgstr "" +msgstr "Ääni" #: src/settings_translation_file.cpp msgid "" @@ -5885,7 +5889,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Synchronous SQLite" -msgstr "" +msgstr "Synkroninen SQLite" #: src/settings_translation_file.cpp msgid "Temperature variation for biomes." @@ -6134,7 +6138,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Trusted mods" -msgstr "" +msgstr "Luotetut modit" #: src/settings_translation_file.cpp msgid "URL to the server list displayed in the Multiplayer Tab." @@ -6273,7 +6277,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Video driver" -msgstr "" +msgstr "Videoajuri" #: src/settings_translation_file.cpp msgid "View bobbing factor" @@ -6328,7 +6332,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Walking speed" -msgstr "" +msgstr "Kävelyn nopeus" #: src/settings_translation_file.cpp msgid "Walking, flying and climbing speed in fast mode, in nodes per second." -- cgit v1.2.3 From 9f5d35e2aa205a88c13cce5d430e3572f85348f2 Mon Sep 17 00:00:00 2001 From: Ronoaldo Pereira Date: Thu, 16 Sep 2021 18:28:41 +0000 Subject: Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.7% (1392 of 1396 strings) --- po/pt_BR/minetest.po | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/po/pt_BR/minetest.po b/po/pt_BR/minetest.po index 90064c76e..50157b57c 100644 --- a/po/pt_BR/minetest.po +++ b/po/pt_BR/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Portuguese (Brazil) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-09-16 16:36+0000\n" -"Last-Translator: Heitor \n" +"PO-Revision-Date: 2021-09-17 18:38+0000\n" +"Last-Translator: Ronoaldo Pereira \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" @@ -2472,9 +2472,8 @@ msgid "Aux1 key" msgstr "Tecla especial" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Tecla especial pra escalar/descer" +msgstr "Tecla Aux1 pra escalar/descer" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2726,9 +2725,8 @@ msgid "Colored fog" msgstr "Névoa colorida" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Névoa colorida" +msgstr "Sombra colorida" #: src/settings_translation_file.cpp msgid "" @@ -3356,12 +3354,11 @@ msgid "Fast movement" msgstr "Modo rápido" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Movimento rápido (através da tecla \"especial\").\n" +"Movimento rápido (através da tecla \"Aux1\").\n" "Isso requer o privilegio \"fast\" no servidor." #: src/settings_translation_file.cpp @@ -3395,7 +3392,6 @@ msgid "Filmic tone mapping" msgstr "Filmic Tone Mapping" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3405,7 +3401,8 @@ msgstr "" "Texturas filtradas podem misturar valores RGB com os vizinhos totalmente \n" "transparentes, o qual otimizadores PNG geralmente descartam, por vezes \n" "resultando em uma linha escura em texturas transparentes.\n" -"Aplicar esse filtro para limpar isso no tempo de carregamento da textura." +"Aplique esse filtro para limpar isso no momento de carregamento da textura.\n" +"Esse filtro será ativo automaticamente ao ativar \"mipmapping\"." #: src/settings_translation_file.cpp msgid "Filtering" -- cgit v1.2.3 From 1935783cc67c700a52ecc9625de93efe0b2ffaad Mon Sep 17 00:00:00 2001 From: Markus Mikkonen Date: Sat, 18 Sep 2021 06:55:16 +0000 Subject: Translated using Weblate (Finnish) Currently translated at 20.9% (292 of 1396 strings) --- po/fi/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/fi/minetest.po b/po/fi/minetest.po index 6761f3e6f..90882169d 100644 --- a/po/fi/minetest.po +++ b/po/fi/minetest.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-09-16 16:37+0000\n" -"Last-Translator: Jiri Grönroos \n" +"PO-Revision-Date: 2021-09-19 07:38+0000\n" +"Last-Translator: Markus Mikkonen \n" "Language-Team: Finnish \n" "Language: fi\n" @@ -288,7 +288,7 @@ msgstr "Pelit" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install" -msgstr "Asenna" +msgstr "Asentaa" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install $1" -- cgit v1.2.3 From 714d4e4a81a06cd9fcb4d53a9c09f1378e955e2c Mon Sep 17 00:00:00 2001 From: phlostically Date: Sun, 3 Oct 2021 23:29:01 +0000 Subject: Translated using Weblate (Esperanto) Currently translated at 97.2% (1357 of 1396 strings) --- po/eo/minetest.po | 50 +++++++++++++++++++++----------------------------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/po/eo/minetest.po b/po/eo/minetest.po index 9af8f5ec9..12fcbe9c1 100644 --- a/po/eo/minetest.po +++ b/po/eo/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Esperanto (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-08-25 16:34+0000\n" -"Last-Translator: Tirifto \n" +"PO-Revision-Date: 2021-10-05 08:09+0000\n" +"Last-Translator: phlostically \n" "Language-Team: Esperanto \n" "Language: eo\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.8.1-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua #, fuzzy @@ -86,7 +86,7 @@ msgstr "" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -785,9 +785,8 @@ msgid "Active Contributors" msgstr "Aktivaj kontribuantoj" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Aktiva senda amplekso de objektoj" +msgstr "Aktiva bildigilo:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -965,16 +964,14 @@ msgid "Ping" msgstr "Retprokrasto" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Enlistigi servilon" +msgstr "Publikaj serviloj" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Reŝargi" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Priskribo pri servilo" @@ -1032,15 +1029,15 @@ msgstr "Ŝikaj folioj" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Alta" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Malalta" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Mezalta" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1132,11 +1129,11 @@ msgstr "Trilineara filtrilo" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Altega" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Malaltega" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1453,9 +1450,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Mapeto nuntempe malŝaltita de ludo aŭ modifaĵo" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Ludo por unu" +msgstr "Ludo por pluraj ludantoj" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -2711,9 +2707,8 @@ msgid "Colored fog" msgstr "Kolora nebulo" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Kolora nebulo" +msgstr "Koloraj ombroj" #: src/settings_translation_file.cpp msgid "" @@ -6427,7 +6422,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Forto de ombro" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6544,9 +6539,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Rapido de kaŝirado, en monderoj sekunde." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Travidebleco de tipara ombro" +msgstr "Radiuso de mola ombro" #: src/settings_translation_file.cpp msgid "Sound" @@ -6808,7 +6802,6 @@ msgstr "" "Ĉi tio devas esti agordita kune kun active_object_send_range_blocks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6817,8 +6810,8 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"La bildiga internaĵo por Irrlicht.\n" -"Rerulo necesas post ĉi tiu ŝanĝo.\n" +"La bildiga internaĵo.\n" +"Relanĉo necesas post ĉi tiu ŝanĝo.\n" "Rimarko: Sur Androido, restu ĉe OGLES1, se vi ne certas! Aplikaĵo alie " "povus\n" "malsukcesi ruliĝon. Sur aliaj sistemoj, OpenGL estas rekomendata.\n" @@ -7337,9 +7330,9 @@ msgstr "" "Ĉu montri erarserĉajn informojn de la kliento (efikas samkiel premo de F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Larĝeco de la fenestro je ĝia komenca grando." +msgstr "" +"Larĝo de la fenestro je ĝia komenca grando. Ignorata en plenekrana reĝimo." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7475,9 +7468,8 @@ msgid "cURL file download timeout" msgstr "Tempolimo de dosiere elŝuto de cURL" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL tempolimo" +msgstr "Interaga tempolimo de cURL" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 88731631abc299d4190d4b1992d44843e2697bad Mon Sep 17 00:00:00 2001 From: 109247019824 Date: Tue, 5 Oct 2021 16:27:58 +0000 Subject: Translated using Weblate (Bulgarian) Currently translated at 12.6% (177 of 1396 strings) --- po/bg/minetest.po | 830 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 427 insertions(+), 403 deletions(-) diff --git a/po/bg/minetest.po b/po/bg/minetest.po index 4e8037f24..0476ee3e1 100644 --- a/po/bg/minetest.po +++ b/po/bg/minetest.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2020-08-04 04:41+0000\n" -"Last-Translator: atomicbeef \n" +"PO-Revision-Date: 2021-10-08 20:02+0000\n" +"Last-Translator: 109247019824 \n" "Language-Team: Bulgarian \n" "Language: bg\n" @@ -17,78 +17,78 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.2-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Изчистване на изходящата опашка на разговорите" #: builtin/client/chatcommands.lua msgid "Empty command." -msgstr "" +msgstr "Празна команда." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Обратно към Главното Меню" +msgstr "Главно меню" #: builtin/client/chatcommands.lua msgid "Invalid command: " -msgstr "" +msgstr "Недействителна команда: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Подадена команда: " #: builtin/client/chatcommands.lua msgid "List online players" -msgstr "" +msgstr "Играчи на линия" #: builtin/client/chatcommands.lua msgid "Online players: " -msgstr "" +msgstr "Играчи на линия: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Изходящата опашка на разговори е изпразнена." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Командата е забранена от сървъра." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" -msgstr "Прераждането" +msgstr "Прераждане" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" -msgstr "Ти умря" +msgstr "Умряхте" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Ти умря" +msgstr "Умряхте." #: builtin/common/chatcommands.lua msgid "Available commands:" -msgstr "" +msgstr "Достъпни команди:" #: builtin/common/chatcommands.lua msgid "Available commands: " -msgstr "" +msgstr "Достъпни команди: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Недостъпни команди: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Помощ за командите" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Въведете „.help “ за повече информация или „.help all“ за списък с " +"всички команди." #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -100,43 +100,43 @@ msgstr "Добре" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" -msgstr "Имаше грешка в Lua скрипт:" +msgstr "Грешка в скрипт на Lua:" #: builtin/fstk/ui.lua msgid "An error occurred:" -msgstr "Имаше грешка:" +msgstr "Възникна грешка:" #: builtin/fstk/ui.lua msgid "Main menu" -msgstr "Главното меню" +msgstr "Главно меню" #: builtin/fstk/ui.lua msgid "Reconnect" -msgstr "Повтаряне на връзката" +msgstr "Повторно свързване" #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" -msgstr "Сървърт поиска нова връзка:" +msgstr "Сървърът поиска повторно свързване:" #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " -msgstr "Версията на протокола е грешна. " +msgstr "Изданието на протокола не съвпада. " #: builtin/mainmenu/common.lua msgid "Server enforces protocol version $1. " -msgstr "Сървърт налага версия $1 на протокола. " +msgstr "Сървърът налага издание $1 на протокола. " #: builtin/mainmenu/common.lua msgid "Server supports protocol versions between $1 and $2. " -msgstr "Сървърът подкрепя версии на протокола между $1 и $2. " +msgstr "Сървърът поддържа изданията на протокола между $1 и $2. " #: builtin/mainmenu/common.lua msgid "We only support protocol version $1." -msgstr "Ние само подкрепяме версия $1 на протокола." +msgstr "Поддържаме само издание $1 на протокола." #: builtin/mainmenu/common.lua msgid "We support protocol versions between version $1 and $2." -msgstr "Ние подкрепяме версии на протокола между $1 и $2." +msgstr "Поддържаме само изданията на протокола между $1 и $2." #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_create_world.lua @@ -156,35 +156,35 @@ msgstr "Зависимости:" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable all" -msgstr "Деактивиране на всички" +msgstr "Изключване всички" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable modpack" -msgstr "Деактивиране на модпака" +msgstr "Изключване на пакет с модификации" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable all" -msgstr "Актиривране на всички" +msgstr "Включване всички" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable modpack" -msgstr "Активиране на модпака" +msgstr "Включване на пакет с модификации" #: builtin/mainmenu/dlg_config_world.lua msgid "" "Failed to enable mod \"$1\" as it contains disallowed characters. Only " "characters [a-z0-9_] are allowed." msgstr "" -"Активиране на мода \"$1\" беше неуспешно, защото съдържа забранени символи. " -"Само символите [a-z0-9_] са разрешени." +"Включването на модификацията „$1“ не е успешно, защото съдържа забранени " +"символи. Разрешени са само символите [a-z0-9_]." #: builtin/mainmenu/dlg_config_world.lua msgid "Find More Mods" -msgstr "Намиране на Още Модове" +msgstr "Още модификации" #: builtin/mainmenu/dlg_config_world.lua msgid "Mod:" -msgstr "Мод:" +msgstr "Модификация:" #: builtin/mainmenu/dlg_config_world.lua msgid "No (optional) dependencies" @@ -192,7 +192,7 @@ msgstr "Няма (незадължителни) зависимости" #: builtin/mainmenu/dlg_config_world.lua msgid "No game description provided." -msgstr "Няма описание за играта." +msgstr "Играта няма описание." #: builtin/mainmenu/dlg_config_world.lua msgid "No hard dependencies" @@ -200,7 +200,7 @@ msgstr "Няма задължителни зависимости" #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." -msgstr "Няма описание за модпака." +msgstr "Пакетът с модификации няма описание." #: builtin/mainmenu/dlg_config_world.lua msgid "No optional dependencies" @@ -213,7 +213,7 @@ msgstr "Незадължителни зависимости:" #: builtin/mainmenu/dlg_config_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp msgid "Save" -msgstr "Записване" +msgstr "Запазване" #: builtin/mainmenu/dlg_config_world.lua msgid "World:" @@ -221,38 +221,39 @@ msgstr "Свят:" #: builtin/mainmenu/dlg_config_world.lua msgid "enabled" -msgstr "Активиран" +msgstr "включен" #: builtin/mainmenu/dlg_contentstore.lua msgid "\"$1\" already exists. Would you like to overwrite it?" -msgstr "" +msgstr "„$1“ вече съществува. Да бъде ли презаписан?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "$1 и $2 зависимости ще бъдат инсталирани." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 от $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" "$1 downloading,\n" "$2 queued" msgstr "" +"$1 се изтеглят,\n" +"$2 изчакват" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 downloading..." -msgstr "Изтегля..." +msgstr "$1 се изтеглят…" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "$1 задължителни зависимости не могат да бъдат намерени." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 ще бъдат инсталирани, а $2 зависимости ще бъдат пропуснати." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" @@ -260,27 +261,28 @@ msgstr "Всички пакети" #: builtin/mainmenu/dlg_contentstore.lua msgid "Already installed" -msgstr "" +msgstr "Вече инсталирано" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" -msgstr "Обратно към Главното Меню" +msgstr "Главно меню" #: builtin/mainmenu/dlg_contentstore.lua msgid "Base Game:" -msgstr "" +msgstr "Основна игра:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "ContentDB не е налично когато Minetest е съставен без cURL" +msgstr "" +"Съдържанието от ContentDB не е налично, когато Minetest е компилиран без cURL" #: builtin/mainmenu/dlg_contentstore.lua msgid "Downloading..." -msgstr "Изтегля..." +msgstr "Изтегляне…" #: builtin/mainmenu/dlg_contentstore.lua msgid "Failed to download $1" -msgstr "Изтеглянето на $1 беше неуспешно" +msgstr "Грешка при изтеглянето на $1" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -292,72 +294,69 @@ msgid "Install" msgstr "Инсталиране" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install $1" -msgstr "Инсталиране" +msgstr "Инсталиране $1" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install missing dependencies" -msgstr "Незадължителни зависимости:" +msgstr "Инсталиране на липсващи зависимости" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" -msgstr "Модове" +msgstr "Модификации" #: builtin/mainmenu/dlg_contentstore.lua msgid "No packages could be retrieved" -msgstr "Получаване на пакети беше неуспешно" +msgstr "Пакетите не могат да бъдат получени" #: builtin/mainmenu/dlg_contentstore.lua msgid "No results" msgstr "Няма резултати" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "No updates" -msgstr "Актуализация" +msgstr "Няма обновяване" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Не е намерено" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" -msgstr "" +msgstr "Презаписване" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." -msgstr "" +msgstr "Уверете се, че основната игра е правилна." #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Изчакващи" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" -msgstr "Пакети на текстури" +msgstr "Пакети с текстури" #: builtin/mainmenu/dlg_contentstore.lua msgid "Uninstall" -msgstr "Деинсталиране" +msgstr "Премахване" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update" -msgstr "Актуализация" +msgstr "Обновяване" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" -msgstr "" +msgstr "Обновяване всички [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Вижте повече в браузъра" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" -msgstr "Вече има свят с името \"$1\"" +msgstr "Свят с името „$1“ вече съществува" #: builtin/mainmenu/dlg_create_world.lua msgid "Additional terrain" @@ -365,23 +364,23 @@ msgstr "Допълнителен терен" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Altitude chill" -msgstr "Студ от височина" +msgstr "Застудяване във височина" #: builtin/mainmenu/dlg_create_world.lua msgid "Altitude dry" -msgstr "Сух от височина" +msgstr "Засушаване във височина" #: builtin/mainmenu/dlg_create_world.lua msgid "Biome blending" -msgstr "Смесване между природни зони" +msgstr "Смесване на биоми" #: builtin/mainmenu/dlg_create_world.lua msgid "Biomes" -msgstr "Природни зони" +msgstr "Биоми" #: builtin/mainmenu/dlg_create_world.lua msgid "Caverns" -msgstr "Пещери" +msgstr "Големи пещери" #: builtin/mainmenu/dlg_create_world.lua msgid "Caves" @@ -393,7 +392,7 @@ msgstr "Създаване" #: builtin/mainmenu/dlg_create_world.lua msgid "Decorations" -msgstr "Украси" +msgstr "Декорации" #: builtin/mainmenu/dlg_create_world.lua msgid "Download a game, such as Minetest Game, from minetest.net" @@ -401,7 +400,7 @@ msgstr "Изтегляне на игра, например Minetest Game, от m #: builtin/mainmenu/dlg_create_world.lua msgid "Download one from minetest.net" -msgstr "Изтегли един от minetest.net" +msgstr "Изтеглете от minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Dungeons" @@ -413,11 +412,11 @@ msgstr "Равен терен" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" -msgstr "Земни маси в небето" +msgstr "Плаващи земни маси в небето" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" -msgstr "Земни маси в небето (експериментално)" +msgstr "Небесни острови (експериментално)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" @@ -425,11 +424,11 @@ msgstr "Игра" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "Създаване на нефрактален терен: Морета и под земята" +msgstr "Създаване на нефрактален терен: Морета и подземен свят" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" -msgstr "Хълми" +msgstr "Хълмове" #: builtin/mainmenu/dlg_create_world.lua msgid "Humid rivers" @@ -437,7 +436,7 @@ msgstr "Влажни реки" #: builtin/mainmenu/dlg_create_world.lua msgid "Increases humidity around rivers" -msgstr "Нараства влажност около реки" +msgstr "Увеличава влажността около реките" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" @@ -445,19 +444,19 @@ msgstr "Езера" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "Ниска влажност и висока топлина причинява ниски или сухи реки" +msgstr "Ниската влажност и горещините причиняват плитки или пресъхнали реки" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" -msgstr "Създаване на света" +msgstr "Генератор на карти" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" -msgstr "Флагове за създаване на света" +msgstr "Настройки на генератора" #: builtin/mainmenu/dlg_create_world.lua msgid "Mapgen-specific flags" -msgstr "Флагове спесифични за създване на света" +msgstr "Специфични за генератора настройки" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" @@ -477,11 +476,11 @@ msgstr "Няма избрана игра" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "Намалява топлина с височина" +msgstr "Намалява топлината във височина" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "Намалява влажност с височина" +msgstr "Намалява влажността във височина" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" @@ -498,35 +497,35 @@ msgstr "Семе" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" -msgstr "Гладка промяна между природни зони" +msgstr "Плавен преход между биомите" #: builtin/mainmenu/dlg_create_world.lua msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" -"Появяване на структури на терена (няма ефект на трева от джунгла и дървета " -"създадени от v6)" +"Структури, появяващи се върху терена (няма ефект върху дърветата и тревата в " +"джунглата, създадени от v6)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" -msgstr "Появяване на структури на терена, типично дървета и растения" +msgstr "Структури, появяващи се върху терена, обикновено дървета и растения" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert" -msgstr "Умерен, Пустиня" +msgstr "Умерен климат, пустиня" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "Умерен, Пустиня, Джунгла" +msgstr "Умерен климат, пустиня, джунгла" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "Умерен, Пустиня, Джунгла, Тундра, Тайга" +msgstr "Умерен климат, пустиня, джунгла, тундра, тайга" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "Ерозия на повърхност на терен" +msgstr "Ерозия на земната повърхност" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" @@ -534,7 +533,7 @@ msgstr "Трева в джунглата и дървета" #: builtin/mainmenu/dlg_create_world.lua msgid "Vary river depth" -msgstr "Вариране на дълбочина на реки" +msgstr "Промяна в дълбочината на реките" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" @@ -542,7 +541,7 @@ msgstr "Много големи пещери дълбоко под земята" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The Development Test is meant for developers." -msgstr "Внимание: Тестът за Развитие е предназначен за разработници." +msgstr "Внимание: Тестът за разработка е предназначен за разработчици." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" @@ -550,29 +549,29 @@ msgstr "Име на света" #: builtin/mainmenu/dlg_create_world.lua msgid "You have no games installed." -msgstr "Нямаш инсалирани игри." +msgstr "Няма инсталирани игри." #: builtin/mainmenu/dlg_delete_content.lua msgid "Are you sure you want to delete \"$1\"?" -msgstr "Сигурен ли си че искаш да изтриваш \"$1\"?" +msgstr "Сигурни ли сте, че искате да премахнете „$1“?" #: builtin/mainmenu/dlg_delete_content.lua #: builtin/mainmenu/dlg_delete_world.lua builtin/mainmenu/tab_local.lua #: src/client/keycode.cpp msgid "Delete" -msgstr "Изтриване" +msgstr "Премахване" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: failed to delete \"$1\"" -msgstr "pkgmgr: Изтриване на \"$1\" беше неуспешно" +msgstr "pkgmgr: грешка при премахване на „$1“" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: invalid path \"$1\"" -msgstr "pkgmgr: Грешна пътека \"$1\"" +msgstr "pkgmgr: недействителен път „$1“" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" -msgstr "Да изтриe ли света \"$1\"?" +msgstr "Премахване на света „$1“?" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Accept" @@ -580,32 +579,31 @@ msgstr "Приемане" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Rename Modpack:" -msgstr "Преименуване на модпак:" +msgstr "Преименуване на пакет модификации:" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" -"Този модпак има изрично име дадено в неговия modpack.conf, което ще отменя " -"всяко преименуване тука." +"Този пакет с модификации има изрично зададено име в modpack.conf, което ще " +"отмени всяко преименуване." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" -msgstr "" +msgstr "(Настройката няма описание)" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "2D Noise" -msgstr "" +msgstr "Двуизмерен шум" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" -msgstr "" +msgstr "Главно меню" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Browse" -msgstr "Преглеждане" +msgstr "Разглеждане" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua msgid "Disabled" @@ -613,7 +611,7 @@ msgstr "Изключено" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" -msgstr "" +msgstr "Редактиране" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" @@ -621,34 +619,33 @@ msgstr "Включено" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Lacunarity" -msgstr "" +msgstr "Лакунарност" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Octaves" -msgstr "" +msgstr "Октави" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Offset" -msgstr "Изместване" +msgstr "Отместване" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Persistance" -msgstr "" +msgstr "Устойчивост" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." -msgstr "" +msgstr "Въведете цяло число." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid number." -msgstr "" +msgstr "Въведете число." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" -msgstr "" +msgstr "По подразбиране" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp -#, fuzzy msgid "Scale" msgstr "Мащаб" @@ -658,32 +655,31 @@ msgstr "Търсене" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" -msgstr "" +msgstr "Избор на папка" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select file" -msgstr "" +msgstr "Избор на файл" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Show technical names" -msgstr "" +msgstr "Технически наименования" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must be at least $1." -msgstr "" +msgstr "Стойността трябва да е най-малко $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must not be larger than $1." -msgstr "" +msgstr "Стойността трябва да е най-много $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "X" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "X spread" -msgstr "Разпространение на Х-оста" +msgstr "Разпределение по X" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Y" @@ -691,7 +687,7 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Y spread" -msgstr "Разпространение на У-оста" +msgstr "Разпределение по Y" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Z" @@ -699,7 +695,7 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Z spread" -msgstr "" +msgstr "Разпределение по Z" #. ~ "absvalue" is a noise parameter flag. #. It is short for "absolute value". @@ -714,7 +710,7 @@ msgstr "" #. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "defaults" -msgstr "" +msgstr "подразбирани" #. ~ "eased" is a noise parameter flag. #. It is used to make the map smoother and @@ -726,15 +722,15 @@ msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "$1 (Enabled)" -msgstr "" +msgstr "$1 (включено)" #: builtin/mainmenu/pkgmgr.lua msgid "$1 mods" -msgstr "" +msgstr "$1 модификации" #: builtin/mainmenu/pkgmgr.lua msgid "Failed to install $1 to $2" -msgstr "" +msgstr "Грешка при инсталиране на $1 в $2" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find real mod name for: $1" @@ -746,11 +742,11 @@ msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" +msgstr "Инсталиране: Неподдържан вид на файла „$ 1“ или повреден архив" #: builtin/mainmenu/pkgmgr.lua msgid "Install: file: \"$1\"" -msgstr "" +msgstr "Инсталиране: файл: „$1“" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" @@ -774,241 +770,240 @@ msgstr "" #: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp msgid "Loading..." -msgstr "Зарежда..." +msgstr "Зареждане…" #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" -msgstr "" +msgstr "Списъкът с обществени сървъри е изключен" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." -msgstr "" -"Опитай да включиш публичния списък на сървъри отново и си провай интернет " -"връзката." +msgstr "Включете списъка на обществени сървъри и проверете връзката с интернет." #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Относно" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" -msgstr "" +msgstr "Активни сътрудници" #: builtin/mainmenu/tab_about.lua msgid "Active renderer:" -msgstr "" +msgstr "Активен визуализатор:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" -msgstr "" +msgstr "Основни разработчици" #: builtin/mainmenu/tab_about.lua msgid "Open User Data Directory" -msgstr "" +msgstr "Папка с данни" #: builtin/mainmenu/tab_about.lua msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Отваря папката, съдържаща предоставените от потребителя\n" +"светове, игри, модификации и текстури." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" -msgstr "" +msgstr "Предишни сътрудници" #: builtin/mainmenu/tab_about.lua msgid "Previous Core Developers" -msgstr "" +msgstr "Предишни основни разработчици" #: builtin/mainmenu/tab_content.lua msgid "Browse online content" -msgstr "" +msgstr "Преглед на съдържание онлайн" #: builtin/mainmenu/tab_content.lua msgid "Content" -msgstr "" +msgstr "Съдържание" #: builtin/mainmenu/tab_content.lua msgid "Disable Texture Pack" -msgstr "" +msgstr "Изкл. на пакет с текстури" #: builtin/mainmenu/tab_content.lua msgid "Information:" -msgstr "" +msgstr "Описание:" #: builtin/mainmenu/tab_content.lua msgid "Installed Packages:" -msgstr "" +msgstr "Инсталирани пакети:" #: builtin/mainmenu/tab_content.lua msgid "No dependencies." -msgstr "" +msgstr "Няма зависимости." #: builtin/mainmenu/tab_content.lua msgid "No package description available" -msgstr "" +msgstr "Пакетът няма описание" #: builtin/mainmenu/tab_content.lua msgid "Rename" -msgstr "" +msgstr "Преименуване" #: builtin/mainmenu/tab_content.lua msgid "Uninstall Package" -msgstr "" +msgstr "Премахване на пакет" #: builtin/mainmenu/tab_content.lua msgid "Use Texture Pack" -msgstr "" +msgstr "Вкл. на пакет с текстури" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" -msgstr "" +msgstr "Обявяване на сървъра" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" -msgstr "" +msgstr "Адрес за свързване" #: builtin/mainmenu/tab_local.lua msgid "Creative Mode" -msgstr "" +msgstr "Творчески режим" #: builtin/mainmenu/tab_local.lua msgid "Enable Damage" -msgstr "" +msgstr "Получаване на щети" #: builtin/mainmenu/tab_local.lua msgid "Host Game" -msgstr "" +msgstr "Създаване на игра" #: builtin/mainmenu/tab_local.lua msgid "Host Server" -msgstr "" +msgstr "Създаване на сървър" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" -msgstr "" +msgstr "Инсталиране на игри от ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Име" #: builtin/mainmenu/tab_local.lua msgid "New" -msgstr "" +msgstr "Създаване" #: builtin/mainmenu/tab_local.lua msgid "No world created or selected!" -msgstr "" +msgstr "Не е създаден или избран свят!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Password" -msgstr "" +msgstr "Парола" #: builtin/mainmenu/tab_local.lua msgid "Play Game" -msgstr "" +msgstr "Започване на игра" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Port" -msgstr "" +msgstr "Порт" #: builtin/mainmenu/tab_local.lua msgid "Select Mods" -msgstr "" +msgstr "Модификации" #: builtin/mainmenu/tab_local.lua msgid "Select World:" -msgstr "" +msgstr "Избор на свят:" #: builtin/mainmenu/tab_local.lua msgid "Server Port" -msgstr "" +msgstr "Порт на сървъра" #: builtin/mainmenu/tab_local.lua msgid "Start Game" -msgstr "" +msgstr "Създаване на игра" #: builtin/mainmenu/tab_online.lua msgid "Address" -msgstr "" +msgstr "Адрес" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" -msgstr "" +msgstr "Изчистване" #: builtin/mainmenu/tab_online.lua msgid "Connect" -msgstr "" +msgstr "Свързване" #: builtin/mainmenu/tab_online.lua msgid "Creative mode" -msgstr "" +msgstr "Творчески режим" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua msgid "Damage / PvP" -msgstr "" +msgstr "Щети / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" -msgstr "" +msgstr "Премах. любим" #: builtin/mainmenu/tab_online.lua msgid "Favorites" -msgstr "" +msgstr "Любими" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Несъвместими сървъри" #: builtin/mainmenu/tab_online.lua msgid "Join Game" -msgstr "" +msgstr "Включване към игра" #: builtin/mainmenu/tab_online.lua msgid "Ping" -msgstr "" +msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Влажни реки" +msgstr "Обществени сървъри" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Презареждане" #: builtin/mainmenu/tab_online.lua msgid "Server Description" -msgstr "" +msgstr "Описание на сървър" #: builtin/mainmenu/tab_settings.lua msgid "2x" -msgstr "" +msgstr "2x" #: builtin/mainmenu/tab_settings.lua msgid "3D Clouds" -msgstr "" +msgstr "Тримерни облаци" #: builtin/mainmenu/tab_settings.lua msgid "4x" -msgstr "" +msgstr "4x" #: builtin/mainmenu/tab_settings.lua msgid "8x" -msgstr "" +msgstr "8x" #: builtin/mainmenu/tab_settings.lua msgid "All Settings" -msgstr "" +msgstr "Всички настройки" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" -msgstr "" +msgstr "Сгласяне:" #: builtin/mainmenu/tab_settings.lua msgid "Autosave Screen Size" -msgstr "" +msgstr "Авт. запазване на размера" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" @@ -1016,83 +1011,86 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua src/client/game.cpp msgid "Change Keys" -msgstr "" +msgstr "Промяна на клавиши" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" -msgstr "" +msgstr "Свързано стъкло" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Динамични сенки" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Динамични сенки: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" -msgstr "" +msgstr "Луксозни листа" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Силни" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Слаби" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Нормални" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Mipmap" -msgstr "" +msgstr "Миникарта" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Mipmap + Aniso. Filter" -msgstr "" +msgstr "Миникарта + анизо. филтър" #: builtin/mainmenu/tab_settings.lua msgid "No Filter" -msgstr "" +msgstr "Без филтър" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "No Mipmap" -msgstr "" +msgstr "Без миникарта" #: builtin/mainmenu/tab_settings.lua msgid "Node Highlighting" -msgstr "" +msgstr "Осветяване на възел" #: builtin/mainmenu/tab_settings.lua msgid "Node Outlining" -msgstr "" +msgstr "Ограждане на възел" #: builtin/mainmenu/tab_settings.lua msgid "None" -msgstr "" +msgstr "Без" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" -msgstr "" +msgstr "Непрозрачни листа" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Water" -msgstr "" +msgstr "Непрозрачна вода" #: builtin/mainmenu/tab_settings.lua msgid "Particles" -msgstr "" +msgstr "Частици" #: builtin/mainmenu/tab_settings.lua msgid "Screen:" -msgstr "" +msgstr "Екран:" #: builtin/mainmenu/tab_settings.lua msgid "Settings" -msgstr "" +msgstr "Настройки" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" @@ -1109,15 +1107,15 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" -msgstr "" +msgstr "Обикновени листа" #: builtin/mainmenu/tab_settings.lua msgid "Smooth Lighting" -msgstr "" +msgstr "Гладко осветление" #: builtin/mainmenu/tab_settings.lua msgid "Texturing:" -msgstr "" +msgstr "Текстуриране:" #: builtin/mainmenu/tab_settings.lua msgid "To enable shaders the OpenGL driver needs to be used." @@ -1129,7 +1127,7 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Touchthreshold: (px)" -msgstr "" +msgstr "Праг на докосване: (px)" #: builtin/mainmenu/tab_settings.lua msgid "Trilinear Filter" @@ -1137,43 +1135,43 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Много силни" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Много слаби" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" -msgstr "" +msgstr "Поклащащи се листа" #: builtin/mainmenu/tab_settings.lua msgid "Waving Liquids" -msgstr "" +msgstr "Поклащащи се течности" #: builtin/mainmenu/tab_settings.lua msgid "Waving Plants" -msgstr "" +msgstr "Поклащащи се растения" #: src/client/client.cpp msgid "Connection timed out." -msgstr "" +msgstr "Времето за свързване изтече." #: src/client/client.cpp msgid "Done!" -msgstr "" +msgstr "Готово!" #: src/client/client.cpp msgid "Initializing nodes" -msgstr "" +msgstr "Иницииране на възли" #: src/client/client.cpp msgid "Initializing nodes..." -msgstr "" +msgstr "Иницииране на възли…" #: src/client/client.cpp msgid "Loading textures..." -msgstr "" +msgstr "Зареждане на текстури…" #: src/client/client.cpp msgid "Rebuilding shaders..." @@ -1181,7 +1179,7 @@ msgstr "" #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" -msgstr "" +msgstr "Грешка при свързване (изтекло време?)" #: src/client/clientlauncher.cpp msgid "Could not find or load game \"" @@ -1193,106 +1191,108 @@ msgstr "" #: src/client/clientlauncher.cpp msgid "Main Menu" -msgstr "" +msgstr "Главно меню" #: src/client/clientlauncher.cpp msgid "No world selected and no address provided. Nothing to do." -msgstr "" +msgstr "Няма избран свят, нито зададен адрес. Няма какво да бъде направено." #: src/client/clientlauncher.cpp msgid "Player name too long." -msgstr "" +msgstr "Името на играча е твърде дълго." #: src/client/clientlauncher.cpp msgid "Please choose a name!" -msgstr "" +msgstr "Изберете име!" #: src/client/clientlauncher.cpp msgid "Provided password file failed to open: " -msgstr "" +msgstr "Файлът с пароли не се отваря: " #: src/client/clientlauncher.cpp msgid "Provided world path doesn't exist: " -msgstr "" +msgstr "Зададеният път към света не съществува: " #: src/client/game.cpp msgid "" "\n" "Check debug.txt for details." msgstr "" +"\n" +"Прегледайте debug.txt за повече информация." #: src/client/game.cpp msgid "- Address: " -msgstr "" +msgstr "- Адрес: " #: src/client/game.cpp msgid "- Creative Mode: " -msgstr "" +msgstr "- Творчески режим: " #: src/client/game.cpp msgid "- Damage: " -msgstr "" +msgstr "- Щети: " #: src/client/game.cpp msgid "- Mode: " -msgstr "" +msgstr "- Режим: " #: src/client/game.cpp msgid "- Port: " -msgstr "" +msgstr "- Порт: " #: src/client/game.cpp msgid "- Public: " -msgstr "" +msgstr "- Обществен: " #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " -msgstr "" +msgstr "- PvP: " #: src/client/game.cpp msgid "- Server Name: " -msgstr "" +msgstr "- Име на сървър: " #: src/client/game.cpp msgid "Automatic forward disabled" -msgstr "" +msgstr "Автоматичното движение напред е изключено" #: src/client/game.cpp msgid "Automatic forward enabled" -msgstr "" +msgstr "Автоматичното движение напред е включено" #: src/client/game.cpp msgid "Camera update disabled" -msgstr "" +msgstr "Опресняването на екрана при движение е изключено" #: src/client/game.cpp msgid "Camera update enabled" -msgstr "" +msgstr "Опресняването на екрана при движение е включено" #: src/client/game.cpp msgid "Change Password" -msgstr "" +msgstr "Промяна на парола" #: src/client/game.cpp msgid "Cinematic mode disabled" -msgstr "" +msgstr "Кинематографичният режим е изключен" #: src/client/game.cpp msgid "Cinematic mode enabled" -msgstr "" +msgstr "Кинематографичният режим е включен" #: src/client/game.cpp msgid "Client side scripting is disabled" -msgstr "" +msgstr "Изпълняване на скриптове от страната на клиента е изключено" #: src/client/game.cpp msgid "Connecting to server..." -msgstr "" +msgstr "Свързване със сървър…" #: src/client/game.cpp msgid "Continue" -msgstr "" +msgstr "Продължаване" #: src/client/game.cpp #, c-format @@ -1312,14 +1312,28 @@ msgid "" "- Mouse wheel: select item\n" "- %s: chat\n" msgstr "" +"Управление:\n" +"- %s: движение напред\n" +"- %s: движение назад\n" +"- %s: движение наляво\n" +"- %s: движение надясно\n" +"- %s: скачане/катерене\n" +"- %s: копаене/удар\n" +"- %s: поставяне/използване\n" +"- %s: промъкване/слизане\n" +"- %s: пускане на предмет\n" +"- %s: инвентар\n" +"- мишка: завъртане/разглеждане\n" +"- колелце на мишка: избор на предмет\n" +"- %s: разговор\n" #: src/client/game.cpp msgid "Creating client..." -msgstr "" +msgstr "Създаване на клиент…" #: src/client/game.cpp msgid "Creating server..." -msgstr "" +msgstr "Създаване на сървър…" #: src/client/game.cpp msgid "Debug info and profiler graph hidden" @@ -1351,67 +1365,67 @@ msgstr "" #: src/client/game.cpp msgid "Disabled unlimited viewing range" -msgstr "" +msgstr "Неограниченият обхват на видимост е изключен" #: src/client/game.cpp msgid "Enabled unlimited viewing range" -msgstr "" +msgstr "Неограниченият обхват на видимост е включен" #: src/client/game.cpp msgid "Exit to Menu" -msgstr "" +msgstr "Изход към менюто" #: src/client/game.cpp msgid "Exit to OS" -msgstr "" +msgstr "Изход към ОС" #: src/client/game.cpp msgid "Fast mode disabled" -msgstr "" +msgstr "Режимът на бързо движение е изключен" #: src/client/game.cpp msgid "Fast mode enabled" -msgstr "" +msgstr "Режимът на бързо движение е включен" #: src/client/game.cpp msgid "Fast mode enabled (note: no 'fast' privilege)" -msgstr "" +msgstr "Режимът на бързо движение е включен (заб.: липсва правото „fast“)" #: src/client/game.cpp msgid "Fly mode disabled" -msgstr "" +msgstr "Режимът на летене е изключен" #: src/client/game.cpp msgid "Fly mode enabled" -msgstr "" +msgstr "Режимът на летене е включен" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" -msgstr "" +msgstr "Режимът на летене е включен (заб.: липсва правото „fly“)" #: src/client/game.cpp msgid "Fog disabled" -msgstr "" +msgstr "Мъглата е изключена" #: src/client/game.cpp msgid "Fog enabled" -msgstr "" +msgstr "Мъглата е включена" #: src/client/game.cpp msgid "Game info:" -msgstr "" +msgstr "Информация за играта:" #: src/client/game.cpp msgid "Game paused" -msgstr "" +msgstr "Играта е на пауза" #: src/client/game.cpp msgid "Hosting server" -msgstr "" +msgstr "Домакин на играта" #: src/client/game.cpp msgid "Item definitions..." -msgstr "" +msgstr "Дефиниции на предмети…" #: src/client/game.cpp msgid "KiB/s" @@ -1419,7 +1433,7 @@ msgstr "" #: src/client/game.cpp msgid "Media..." -msgstr "" +msgstr "Медия…" #: src/client/game.cpp msgid "MiB/s" @@ -1427,160 +1441,160 @@ msgstr "" #: src/client/game.cpp msgid "Minimap currently disabled by game or mod" -msgstr "" +msgstr "Картата е спряна или от играта, или от модификация" #: src/client/game.cpp msgid "Multiplayer" -msgstr "" +msgstr "Множество играчи" #: src/client/game.cpp msgid "Noclip mode disabled" -msgstr "" +msgstr "Режимът „без изрязване“ е изключен" #: src/client/game.cpp msgid "Noclip mode enabled" -msgstr "" +msgstr "Режимът „без изрязване“ е включен" #: src/client/game.cpp msgid "Noclip mode enabled (note: no 'noclip' privilege)" -msgstr "" +msgstr "Режимът „без изрязване“ е включен (заб.: липсва правото „noclip“)" #: src/client/game.cpp msgid "Node definitions..." -msgstr "" +msgstr "Дефиниции на възли…" #: src/client/game.cpp msgid "Off" -msgstr "" +msgstr "Изключено" #: src/client/game.cpp msgid "On" -msgstr "" +msgstr "Включено" #: src/client/game.cpp msgid "Pitch move mode disabled" -msgstr "" +msgstr "Режимът „промяна на височината“ е изключен" #: src/client/game.cpp msgid "Pitch move mode enabled" -msgstr "" +msgstr "Режимът „промяна на височината“ е включен" #: src/client/game.cpp msgid "Profiler graph shown" -msgstr "" +msgstr "Графиката на профилатора е показана" #: src/client/game.cpp msgid "Remote server" -msgstr "" +msgstr "Отдалечен сървър" #: src/client/game.cpp msgid "Resolving address..." -msgstr "" +msgstr "Намиране на адрес…" #: src/client/game.cpp msgid "Shutting down..." -msgstr "" +msgstr "Изключване…" #: src/client/game.cpp msgid "Singleplayer" -msgstr "" +msgstr "Един играч" #: src/client/game.cpp msgid "Sound Volume" -msgstr "" +msgstr "Сила на звука" #: src/client/game.cpp msgid "Sound muted" -msgstr "" +msgstr "Звукът е заглушен" #: src/client/game.cpp msgid "Sound system is disabled" -msgstr "" +msgstr "Системата за звук е изключена" #: src/client/game.cpp msgid "Sound system is not supported on this build" -msgstr "" +msgstr "В това издание не се поддържа звукова система" #: src/client/game.cpp msgid "Sound unmuted" -msgstr "" +msgstr "Звукът е пуснат" #: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" -msgstr "" +msgstr "Обхватът на видимостта е променен на %d" #: src/client/game.cpp #, c-format msgid "Viewing range is at maximum: %d" -msgstr "" +msgstr "Обхватът на видимостта е на своя максимум: %d" #: src/client/game.cpp #, c-format msgid "Viewing range is at minimum: %d" -msgstr "" +msgstr "Обхватът на видимостта е на своя минимум: %d" #: src/client/game.cpp #, c-format msgid "Volume changed to %d%%" -msgstr "" +msgstr "Силата на звука е променена на %d%%" #: src/client/game.cpp msgid "Wireframe shown" -msgstr "" +msgstr "Показани са телените рамки" #: src/client/game.cpp msgid "Zoom currently disabled by game or mod" -msgstr "" +msgstr "Мащабирането е спряно или от играта, или от модификация" #: src/client/game.cpp msgid "ok" -msgstr "" +msgstr "добре" #: src/client/gameui.cpp msgid "Chat hidden" -msgstr "" +msgstr "Разговорите са скрити" #: src/client/gameui.cpp msgid "Chat shown" -msgstr "" +msgstr "Разговорите са видими" #: src/client/gameui.cpp msgid "HUD hidden" -msgstr "" +msgstr "HUD скрит" #: src/client/gameui.cpp msgid "HUD shown" -msgstr "" +msgstr "HUD видим" #: src/client/gameui.cpp msgid "Profiler hidden" -msgstr "" +msgstr "Профилаторът е скрит" #: src/client/gameui.cpp #, c-format msgid "Profiler shown (page %d of %d)" -msgstr "" +msgstr "Профилаторът е видим (страница %d от %d)" #: src/client/keycode.cpp msgid "Apps" -msgstr "" +msgstr "Приложения" #: src/client/keycode.cpp msgid "Backspace" -msgstr "" +msgstr "Backspace" #: src/client/keycode.cpp msgid "Caps Lock" -msgstr "" +msgstr "Caps Lock" #: src/client/keycode.cpp msgid "Control" -msgstr "" +msgstr "Control" #: src/client/keycode.cpp msgid "Down" -msgstr "" +msgstr "Надолу" #: src/client/keycode.cpp msgid "End" @@ -1628,27 +1642,27 @@ msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Left" -msgstr "" +msgstr "Наляво" #: src/client/keycode.cpp msgid "Left Button" -msgstr "" +msgstr "Ляв бутон" #: src/client/keycode.cpp msgid "Left Control" -msgstr "" +msgstr "Ляв Control" #: src/client/keycode.cpp msgid "Left Menu" -msgstr "" +msgstr "Ляв Menu" #: src/client/keycode.cpp msgid "Left Shift" -msgstr "" +msgstr "Ляв Shift" #: src/client/keycode.cpp msgid "Left Windows" -msgstr "" +msgstr "Ляв Windows" #. ~ Key name, common on Windows keyboards #: src/client/keycode.cpp @@ -1657,7 +1671,7 @@ msgstr "" #: src/client/keycode.cpp msgid "Middle Button" -msgstr "" +msgstr "Среден бутон" #: src/client/keycode.cpp msgid "Num Lock" @@ -1754,31 +1768,31 @@ msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Right" -msgstr "" +msgstr "Дясно" #: src/client/keycode.cpp msgid "Right Button" -msgstr "" +msgstr "Десен бутон" #: src/client/keycode.cpp msgid "Right Control" -msgstr "" +msgstr "Десен Control" #: src/client/keycode.cpp msgid "Right Menu" -msgstr "" +msgstr "Десен Menu" #: src/client/keycode.cpp msgid "Right Shift" -msgstr "" +msgstr "Десен Shift" #: src/client/keycode.cpp msgid "Right Windows" -msgstr "" +msgstr "Десен Windows" #: src/client/keycode.cpp msgid "Scroll Lock" -msgstr "" +msgstr "Scroll Lock" #. ~ Key name #: src/client/keycode.cpp @@ -1787,27 +1801,27 @@ msgstr "" #: src/client/keycode.cpp msgid "Shift" -msgstr "" +msgstr "Shift" #: src/client/keycode.cpp msgid "Sleep" -msgstr "" +msgstr "Sleep" #: src/client/keycode.cpp msgid "Snapshot" -msgstr "" +msgstr "Снимка на екрана" #: src/client/keycode.cpp msgid "Space" -msgstr "" +msgstr "Интервал" #: src/client/keycode.cpp msgid "Tab" -msgstr "" +msgstr "Табулатор" #: src/client/keycode.cpp msgid "Up" -msgstr "" +msgstr "Нагоре" #: src/client/keycode.cpp msgid "X Button 1" @@ -1819,33 +1833,33 @@ msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Zoom" -msgstr "" +msgstr "Мащабиране" #: src/client/minimap.cpp msgid "Minimap hidden" -msgstr "" +msgstr "Картата е скрита" #: src/client/minimap.cpp #, c-format msgid "Minimap in radar mode, Zoom x%d" -msgstr "" +msgstr "Картата е в режим на радар, мащаб x%d" #: src/client/minimap.cpp #, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "" +msgstr "Картата е в режим на повърхност, мащаб x%d" #: src/client/minimap.cpp msgid "Minimap in texture mode" -msgstr "" +msgstr "Картата е в режим на текстура" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" -msgstr "" +msgstr "Паролите не съвпадат!" #: src/gui/guiConfirmRegistration.cpp msgid "Register and Join" -msgstr "" +msgstr "Регистриране и вход" #: src/gui/guiConfirmRegistration.cpp #, c-format @@ -1856,186 +1870,192 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" +"На път сте да влезете в сървъра с име „%s“ за първи път.\n" +"Ако продължите нова сметка с тези данни ще бъде създадена на сървъра.\n" +"Въведете паролата отново и натиснете „Регистриране и вход“, за да потвърдите " +"или „Отказ“ за връщане обратно." #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" -msgstr "" +msgstr "Напред" #: src/gui/guiKeyChangeMenu.cpp msgid "\"Aux1\" = climb down" -msgstr "" +msgstr "„Aux1“ = слизане" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" -msgstr "" +msgstr "Автоматично напред" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Automatic jumping" -msgstr "" +msgstr "Автоматично скачане" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" -msgstr "" +msgstr "Назад" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Граници на блокове" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" -msgstr "" +msgstr "Промяна на камера" #: src/gui/guiKeyChangeMenu.cpp msgid "Chat" -msgstr "" +msgstr "Разговори" #: src/gui/guiKeyChangeMenu.cpp msgid "Command" -msgstr "" +msgstr "Команда" #: src/gui/guiKeyChangeMenu.cpp msgid "Console" -msgstr "" +msgstr "Конзола" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. range" -msgstr "" +msgstr "Намал. на обхвата" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. volume" -msgstr "" +msgstr "Намал. на звука" #: src/gui/guiKeyChangeMenu.cpp msgid "Double tap \"jump\" to toggle fly" -msgstr "" +msgstr "Два пъти „скок“ превключва полета" #: src/gui/guiKeyChangeMenu.cpp msgid "Drop" -msgstr "" +msgstr "Пускане предмет" #: src/gui/guiKeyChangeMenu.cpp msgid "Forward" -msgstr "" +msgstr "Напред" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. range" -msgstr "" +msgstr "Увелич. на обхвата" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. volume" -msgstr "" +msgstr "Увелич. на звука" #: src/gui/guiKeyChangeMenu.cpp msgid "Inventory" -msgstr "" +msgstr "Инвентар" #: src/gui/guiKeyChangeMenu.cpp msgid "Jump" -msgstr "" +msgstr "Скок" #: src/gui/guiKeyChangeMenu.cpp msgid "Key already in use" -msgstr "" +msgstr "Клавишът вече се ползва" #: src/gui/guiKeyChangeMenu.cpp msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" msgstr "" +"Клавишни комбинации (Ако екранът изглежда счупен махнете нещата от minetest." +"conf)" #: src/gui/guiKeyChangeMenu.cpp msgid "Local command" -msgstr "" +msgstr "Местна команда" #: src/gui/guiKeyChangeMenu.cpp msgid "Mute" -msgstr "" +msgstr "Заглушаване" #: src/gui/guiKeyChangeMenu.cpp msgid "Next item" -msgstr "" +msgstr "След. предмет" #: src/gui/guiKeyChangeMenu.cpp msgid "Prev. item" -msgstr "" +msgstr "Пред. предмет" #: src/gui/guiKeyChangeMenu.cpp msgid "Range select" -msgstr "" +msgstr "Обхват видимост" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Screenshot" -msgstr "" +msgstr "Снимка на екрана" #: src/gui/guiKeyChangeMenu.cpp msgid "Sneak" -msgstr "" +msgstr "Промъкване" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle HUD" -msgstr "" +msgstr "Превкл. HUD" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle chat log" -msgstr "" +msgstr "Превкл. разговори" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fast" -msgstr "" +msgstr "Превкл. бързина" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fly" -msgstr "" +msgstr "Превкл. полет" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fog" -msgstr "" +msgstr "Превкл. мъгла" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle minimap" -msgstr "" +msgstr "Превкл. карта" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle noclip" -msgstr "" +msgstr "Превкл. изрязване" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle pitchmove" -msgstr "" +msgstr "Превкл. „pitchmove“" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" -msgstr "" +msgstr "избор бутон" #: src/gui/guiPasswordChange.cpp msgid "Change" -msgstr "" +msgstr "Променяне" #: src/gui/guiPasswordChange.cpp msgid "Confirm Password" -msgstr "" +msgstr "Потвърж. на парола" #: src/gui/guiPasswordChange.cpp msgid "New Password" -msgstr "" +msgstr "Нова парола" #: src/gui/guiPasswordChange.cpp msgid "Old Password" -msgstr "" +msgstr "Стара парола" #: src/gui/guiVolumeChange.cpp msgid "Exit" -msgstr "" +msgstr "Изход" #: src/gui/guiVolumeChange.cpp msgid "Muted" -msgstr "" +msgstr "Без звук" #: src/gui/guiVolumeChange.cpp msgid "Sound Volume: " -msgstr "" +msgstr "Сила на звука: " #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2339,15 +2359,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." -msgstr "" +msgstr "Автоматично прескача препятствия от единични възли." #: src/settings_translation_file.cpp msgid "Automatically report to the serverlist." -msgstr "" +msgstr "Автоматично докладване в списъка на сървърите." #: src/settings_translation_file.cpp msgid "Autosave screen size" -msgstr "" +msgstr "Автоматично запазване на размера на екрана" #: src/settings_translation_file.cpp msgid "Autoscaling mode" @@ -2395,7 +2415,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Bind address" -msgstr "" +msgstr "Адрес за свързване" #: src/settings_translation_file.cpp msgid "Biome API temperature and humidity noise parameters" @@ -2644,19 +2664,19 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Connects glass if supported by node." -msgstr "" +msgstr "Свързва стъкло, ако се поддържа от възела." #: src/settings_translation_file.cpp msgid "Console alpha" -msgstr "" +msgstr "Прозрачност на конзолата" #: src/settings_translation_file.cpp msgid "Console color" -msgstr "" +msgstr "Цвят на конзолата" #: src/settings_translation_file.cpp msgid "Console height" -msgstr "" +msgstr "Височина на конзолата" #: src/settings_translation_file.cpp msgid "ContentDB Flag Blacklist" @@ -2690,10 +2710,14 @@ msgid "" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" +"Управлява дължината на цикъла ден/нощ.\n" +"Пример:\n" +"72 = 20 мин, 360 = 4 мин, 1 = 24 часа, 0 = ден/нощ/каквото е остава без " +"промяна." #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." -msgstr "" +msgstr "Управлява скоростта на потъване в течности." #: src/settings_translation_file.cpp msgid "Controls steepness/depth of lake depressions." @@ -2794,7 +2818,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Default report format" -msgstr "" +msgstr "Формат на отчета по подразбиране" #: src/settings_translation_file.cpp msgid "Default stack size" @@ -4508,7 +4532,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Large cave proportion flooded" -msgstr "" +msgstr "Голяма част от пещерите са наводнени" #: src/settings_translation_file.cpp msgid "Large chat console key" @@ -5269,7 +5293,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Player name" -msgstr "" +msgstr "Име на играча" #: src/settings_translation_file.cpp msgid "Player transfer distance" @@ -5335,7 +5359,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Proportion of large caves that contain liquid." -msgstr "" +msgstr "Частта от големи пещери, които съдържат течност." #: src/settings_translation_file.cpp msgid "" @@ -5370,7 +5394,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Remote port" -msgstr "" +msgstr "Отдалечен порт" #: src/settings_translation_file.cpp msgid "" @@ -5581,7 +5605,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Server address" -msgstr "" +msgstr "Адрес на сървър" #: src/settings_translation_file.cpp msgid "Server description" @@ -5593,7 +5617,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Server port" -msgstr "" +msgstr "Порт на сървъра" #: src/settings_translation_file.cpp msgid "Server side occlusion culling" -- cgit v1.2.3 From c24b02852baeca6bafecee316693e09ed34fa59c Mon Sep 17 00:00:00 2001 From: Manuel González Date: Wed, 6 Oct 2021 14:34:17 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 81.8% (1142 of 1396 strings) --- po/es/minetest.po | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index bb50c828b..7cc5f9063 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-08-02 16:34+0000\n" -"Last-Translator: David Leal \n" +"PO-Revision-Date: 2021-10-06 14:41+0000\n" +"Last-Translator: Manuel González \n" "Language-Team: Spanish \n" "Language: es\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1137,7 +1137,7 @@ msgstr "Ultra Alto" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Muy bajo" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1906,7 +1906,7 @@ msgstr "Salto automático" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -2477,7 +2477,7 @@ msgstr "Tecla Aux1" #: src/settings_translation_file.cpp msgid "Aux1 key for climbing/descending" -msgstr "" +msgstr "Tecla Aux1 para subir/bajar" #: src/settings_translation_file.cpp msgid "Backward key" @@ -3145,6 +3145,9 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Habilitar las sombras a color.\n" +"Si el valor es verdadero los nodos traslúcidos proyectarán sombras a color. " +"Esta opción usa muchos recursos." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3176,6 +3179,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Habilitar filtrado \"poisson disk\".\n" +"Si el valor es \"verdadero\", utiliza \"poisson disk\" para proyectar " +"sombras suaves. De otro modo utiliza filtrado PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -4088,6 +4094,8 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Si la ejecución de un comando toma más tiempo del especificado en\n" +"segundos, agrega la información del tiempo al mensaje del comando" #: src/settings_translation_file.cpp msgid "" @@ -5679,7 +5687,7 @@ msgstr "Ruido 3D que determina la cantidad de mazmorras por chunk." #: src/settings_translation_file.cpp msgid "Minimum limit of random number of small caves per mapchunk." -msgstr "" +msgstr "Límite mínimo del número aleatorio de cavernas pequeñas por mapchunk." #: src/settings_translation_file.cpp msgid "Minimum texture size" -- cgit v1.2.3 From 6f9d803d67f22b43d18c3825b5ee18e207eaef34 Mon Sep 17 00:00:00 2001 From: Joaquín Villalba Date: Wed, 6 Oct 2021 14:40:56 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 81.8% (1142 of 1396 strings) --- po/es/minetest.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index 7cc5f9063..933329fb7 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-10-06 14:41+0000\n" -"Last-Translator: Manuel González \n" +"Last-Translator: Joaquín Villalba \n" "Language-Team: Spanish \n" "Language: es\n" @@ -5691,7 +5691,7 @@ msgstr "Límite mínimo del número aleatorio de cavernas pequeñas por mapchunk #: src/settings_translation_file.cpp msgid "Minimum texture size" -msgstr "" +msgstr "Tamaño mínimo de textura" #: src/settings_translation_file.cpp #, fuzzy -- cgit v1.2.3 From 8d99cddeccdcce84522fac2c2359c5d8dbfc45e3 Mon Sep 17 00:00:00 2001 From: Vancha March Date: Tue, 12 Oct 2021 09:09:16 +0000 Subject: Translated using Weblate (Dutch) Currently translated at 95.3% (1331 of 1396 strings) --- po/nl/minetest.po | 94 +++++++++++++++++++++++-------------------------------- 1 file changed, 39 insertions(+), 55 deletions(-) diff --git a/po/nl/minetest.po b/po/nl/minetest.po index 37ffdcc24..4604f6951 100644 --- a/po/nl/minetest.po +++ b/po/nl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Dutch (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-02-01 05:52+0000\n" -"Last-Translator: eol \n" +"PO-Revision-Date: 2021-10-14 07:35+0000\n" +"Last-Translator: Vancha March \n" "Language-Team: Dutch \n" "Language: nl\n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.5-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Maximale omvang van de wachtrij uitgezonden berichten" +msgstr "Wachtrij voor uitgezonden berichten legen" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Chat-commando's" +msgstr "Instructie voor legen." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Terug naar menu" +msgstr "Terug naar hoofd menu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Lokale commando" +msgstr "Ongeldige instructie " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Opgegeven instructie: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Singleplayer" +msgstr "Online spelers weergeven" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Singleplayer" +msgstr "Online spelers: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "De wachtrij voor uitgezonden berichten is nu leeg." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Deze instructie is uitgeschakeld door de server." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,36 +59,35 @@ msgid "You died" msgstr "Je bent gestorven" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Je bent gestorven" +msgstr "Je bent gestorven." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Lokale commando" +msgstr "Beschikbare instructies:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Lokale commando" +msgstr "Beschikbare instructies: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Instructie niet beschikbaar: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Krijg hulp voor instructies" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Gebruik '.help ' om meer informatie te verkrijgen, of '.help all' om " +"alles weer te geven." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -792,7 +785,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Over" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -936,9 +929,8 @@ msgid "Start Game" msgstr "Start spel" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adres: " +msgstr "Adres" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -954,9 +946,8 @@ msgstr "Creatieve modus" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Verwondingen/schade" +msgstr "Schade / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" @@ -969,7 +960,7 @@ msgstr "Favorieten" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Incompatibele Servers" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -980,18 +971,16 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Server aanmelden bij de server-lijst" +msgstr "Publieke Servers" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Verversen" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Omschrijving van de server" +msgstr "Omschrijving van de Server" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1034,13 +1023,12 @@ msgid "Connected Glass" msgstr "Verbonden Glas" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Fontschaduw" +msgstr "Dynamische schaduwen" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dynamische schaduwen: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1048,15 +1036,15 @@ msgstr "Mooie bladeren" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Hoog" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Laag" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Gemiddeld" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1148,11 +1136,11 @@ msgstr "Tri-Lineare Filtering" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Zeer Hoog" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Zeer Laag" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1469,9 +1457,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Mini-kaart momenteel uitgeschakeld door spel of mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Singleplayer" +msgstr "Multiplayer" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1909,9 +1896,8 @@ msgid "Proceed" msgstr "Doorgaan" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Speciaal\" = naar beneden klimmen" +msgstr "\"Aux1\" = naar beneden klimmen" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1923,7 +1909,7 @@ msgstr "Automatisch springen" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -2745,9 +2731,8 @@ msgid "Colored fog" msgstr "Gekleurde mist" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Gekleurde mist" +msgstr "Gekleurde schaduwen" #: src/settings_translation_file.cpp msgid "" @@ -3166,9 +3151,8 @@ msgid "Enable console window" msgstr "Schakel het console venster in" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "Schakel creatieve modus in voor nieuwe kaarten." +msgstr "Schakel creatieve modus in voor alle spelers" #: src/settings_translation_file.cpp msgid "Enable joysticks" -- cgit v1.2.3 From fc0897682de4b13d0d16bbde6917d20684a7ff02 Mon Sep 17 00:00:00 2001 From: Molly Date: Wed, 13 Oct 2021 07:27:43 +0000 Subject: Translated using Weblate (Dutch) Currently translated at 97.0% (1355 of 1396 strings) --- po/nl/minetest.po | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/po/nl/minetest.po b/po/nl/minetest.po index 4604f6951..c2b57af01 100644 --- a/po/nl/minetest.po +++ b/po/nl/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" "PO-Revision-Date: 2021-10-14 07:35+0000\n" -"Last-Translator: Vancha March \n" +"Last-Translator: Molly \n" "Language-Team: Dutch \n" "Language: nl\n" @@ -1917,7 +1917,7 @@ msgstr "Achteruit" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Blok grenzen" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2967,6 +2967,10 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Defineer schaduw filtering kwaliteit\n" +"Dit simuleert de zachte schaduw effect door een PCF of poisson schijf te " +"toepassen\n" +"maar gebruikt meer middelen." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." -- cgit v1.2.3 From 42b8167f3d8e648080f72deec506ff8d32210cb9 Mon Sep 17 00:00:00 2001 From: Johann Lau Date: Fri, 12 Nov 2021 10:51:11 +0100 Subject: Added translation using Weblate (Yue) --- po/yue/minetest.po | 6552 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 6552 insertions(+) create mode 100644 po/yue/minetest.po diff --git a/po/yue/minetest.po b/po/yue/minetest.po new file mode 100644 index 000000000..1b4bdd2f4 --- /dev/null +++ b/po/yue/minetest.po @@ -0,0 +1,6552 @@ +# 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: 2021-06-16 18:27+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: yue\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: builtin/client/chatcommands.lua +msgid "Issued command: " +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Empty command." +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Invalid command: " +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "List online players" +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "This command is disabled by server." +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Online players: " +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Exit to main menu" +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Clear the out chat queue" +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "The out chat queue is now empty." +msgstr "" + +#: builtin/client/death_formspec.lua +msgid "You died." +msgstr "" + +#: builtin/client/death_formspec.lua src/client/game.cpp +msgid "You died" +msgstr "" + +#: builtin/client/death_formspec.lua src/client/game.cpp +msgid "Respawn" +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Available commands: " +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "" +"Use '.help ' to get more information, or '.help all' to list everything." +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Available commands:" +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Command not available: " +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "[all | ]" +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Get help for commands" +msgstr "" + +#: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp +msgid "OK" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "The server has requested a reconnect:" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "Reconnect" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "Main menu" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "An error occurred in a Lua script:" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "An error occurred:" +msgstr "" + +#: builtin/mainmenu/common.lua +msgid "Server supports protocol versions between $1 and $2. " +msgstr "" + +#: 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 "" + +#: builtin/mainmenu/common.lua +msgid "We only support protocol version $1." +msgstr "" + +#: builtin/mainmenu/common.lua +msgid "Protocol version mismatch. " +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "World:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No modpack description provided." +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No game description provided." +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Mod:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No (optional) dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No hard dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua +msgid "Optional dependencies:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/tab_content.lua +msgid "Dependencies:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No optional dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +#: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp +msgid "Save" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_create_world.lua +#: builtin/mainmenu/dlg_delete_content.lua +#: builtin/mainmenu/dlg_delete_world.lua +#: builtin/mainmenu/dlg_rename_modpack.lua +#: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp +#: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp +#: src/gui/guiPasswordChange.cpp +msgid "Cancel" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Find More Mods" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Disable modpack" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Enable modpack" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "enabled" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Disable all" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Enable all" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "" +"Failed to enable mod \"$1\" as it contains disallowed characters. Only " +"characters [a-z0-9_] are allowed." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "ContentDB is not available when Minetest was compiled without cURL" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "All packages" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Games" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Mods" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Texture packs" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Failed to download $1" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Already installed" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 by $2" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Not found" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 and $2 dependencies will be installed." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 will be installed, and $2 dependencies will be skipped." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 required dependencies could not be found." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Please check that the base game is correct." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install $1" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Base Game:" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install missing dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "\"$1\" already exists. Would you like to overwrite it?" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Overwrite" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Back to Main Menu" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "" +"$1 downloading,\n" +"$2 queued" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 downloading..." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "No updates" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Update All [$1]" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "No results" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "No packages could be retrieved" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Downloading..." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Queued" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Update" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Uninstall" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "View more information in a web browser" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Caverns" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Very large caverns deep in the underground" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Sea level rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Mountains" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Floatlands (experimental)" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Floating landmasses in the sky" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Altitude chill" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Reduces heat with altitude" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Altitude dry" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Reduces humidity with altitude" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Humid rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Increases humidity around rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Vary river depth" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Low humidity and high heat causes shallow or dry rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Hills" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Lakes" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Additional terrain" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Generate non-fractal terrain: Oceans and underground" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Trees and jungle grass" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Flat terrain" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Mud flow" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Terrain surface erosion" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Temperate, Desert, Jungle, Tundra, Taiga" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Temperate, Desert, Jungle" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Temperate, Desert" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "You have no games installed." +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Download one from minetest.net" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Caves" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Dungeons" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Decorations" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "" +"Structures appearing on the terrain (no effect on trees and jungle grass " +"created by v6)" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Structures appearing on the terrain, typically trees and plants" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Network of tunnels and caves" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Biomes" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Biome blending" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Smooth transition between biomes" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen flags" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Mapgen-specific flags" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Warning: The Development Test is meant for developers." +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Download a game, such as Minetest Game, from minetest.net" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "World name" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Seed" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Game" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Create" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "A world named \"$1\" already exists" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "No game selected" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +msgid "Are you sure you want to delete \"$1\"?" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +#: builtin/mainmenu/dlg_delete_world.lua builtin/mainmenu/tab_local.lua +#: src/client/keycode.cpp +msgid "Delete" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +msgid "pkgmgr: failed to delete \"$1\"" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +msgid "pkgmgr: invalid path \"$1\"" +msgstr "" + +#: builtin/mainmenu/dlg_delete_world.lua +msgid "Delete World \"$1\"?" +msgstr "" + +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "Accept" +msgstr "" + +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "" +"This modpack has an explicit name given in its modpack.conf which will " +"override any renaming here." +msgstr "" + +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "Rename Modpack:" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua +msgid "Disabled" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Enabled" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Browse" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Offset" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Scale" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "X spread" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Y spread" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "2D Noise" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Z spread" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Octaves" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Persistance" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Lacunarity" +msgstr "" + +#. ~ "defaults" is a noise parameter flag. +#. It describes the default processing options +#. for noise settings in main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "defaults" +msgstr "" + +#. ~ "eased" is a noise parameter flag. +#. It is used to make the map smoother and +#. can be enabled in noise settings in +#. main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "eased" +msgstr "" + +#. ~ "absvalue" is a noise parameter flag. +#. It is short for "absolute value". +#. It can be enabled in noise settings in +#. main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "absvalue" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "X" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Y" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Z" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "(No description of setting given)" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Please enter a valid integer." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "The value must be at least $1." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "The value must not be larger than $1." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Please enter a valid number." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Select directory" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Select file" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua +msgid "Search" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "< Back to Settings page" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Edit" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Restore Default" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Show technical names" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "$1 (Enabled)" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a $1 as a texture pack" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Failed to install $1 to $2" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to find a valid mod or modpack" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a modpack as a $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Install Mod: Unable to find suitable folder name for modpack $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a mod as a $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Install Mod: Unable to find real mod name for: $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a game as a $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Install: file: \"$1\"" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Install: Unsupported file type \"$1\" or broken archive" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "$1 mods" +msgstr "" + +#: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp +msgid "Loading..." +msgstr "" + +#: builtin/mainmenu/serverlistmgr.lua +msgid "Try reenabling public serverlist and check your internet connection." +msgstr "" + +#: builtin/mainmenu/serverlistmgr.lua +msgid "Public server list is disabled" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "About" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Core Developers" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Active Contributors" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Previous Core Developers" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Previous Contributors" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Active renderer:" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "" +"Opens the directory that contains user-provided worlds, games, mods,\n" +"and texture packs in a file manager / explorer." +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Open User Data Directory" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Installed Packages:" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Browse online content" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "No package description available" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Rename" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "No dependencies." +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Disable Texture Pack" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Use Texture Pack" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Information:" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Uninstall Package" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Content" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Install games from ContentDB" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Select Mods" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "New" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Select World:" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Creative Mode" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Enable Damage" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Host Server" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Host Game" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Announce Server" +msgstr "" + +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Name" +msgstr "" + +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Password" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Bind Address" +msgstr "" + +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Port" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Server Port" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Play Game" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "No world created or selected!" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Start Game" +msgstr "" + +#: builtin/mainmenu/tab_online.lua src/client/keycode.cpp +msgid "Clear" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Refresh" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Address" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Server Description" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Connect" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Del. Favorite" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Ping" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Creative mode" +msgstr "" + +#. ~ PvP = Player versus Player +#: builtin/mainmenu/tab_online.lua +msgid "Damage / PvP" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Favorites" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Public Servers" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Incompatible Servers" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Join Game" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Opaque Leaves" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Simple Leaves" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Fancy Leaves" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Node Outlining" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Node Highlighting" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "None" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "No Filter" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Bilinear Filter" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Trilinear Filter" +msgstr "" + +#: 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 +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 "Very Low" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Low" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Medium" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "High" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Ultra High" +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 +msgid "Screen:" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Autosave Screen Size" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Shaders" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Shaders (experimental)" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Shaders (unavailable)" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/client/game.cpp +msgid "Change Keys" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "All Settings" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Touchthreshold: (px)" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Tone Mapping" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Waving Liquids" +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 "Dynamic shadows: " +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Dynamic shadows" +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 "" + +#: src/client/client.cpp +msgid "Connection timed out." +msgstr "" + +#: src/client/client.cpp +msgid "Loading textures..." +msgstr "" + +#: src/client/client.cpp +msgid "Rebuilding shaders..." +msgstr "" + +#: src/client/client.cpp +msgid "Initializing nodes..." +msgstr "" + +#: src/client/client.cpp +msgid "Initializing nodes" +msgstr "" + +#: src/client/client.cpp +msgid "Done!" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Main Menu" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Connection error (timed out?)" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Provided password file failed to open: " +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Please choose a name!" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Player name too long." +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "No world selected and no address provided. Nothing to do." +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Provided world path doesn't exist: " +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Could not find or load game \"" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Invalid gamespec." +msgstr "" + +#: src/client/game.cpp +msgid "Shutting down..." +msgstr "" + +#: src/client/game.cpp +msgid "Creating server..." +msgstr "" + +#: src/client/game.cpp +msgid "Creating client..." +msgstr "" + +#: src/client/game.cpp +msgid "Singleplayer" +msgstr "" + +#: src/client/game.cpp +msgid "Multiplayer" +msgstr "" + +#: src/client/game.cpp +msgid "Resolving address..." +msgstr "" + +#: src/client/game.cpp +msgid "Connecting to server..." +msgstr "" + +#: src/client/game.cpp +msgid "Item definitions..." +msgstr "" + +#: src/client/game.cpp +msgid "Node definitions..." +msgstr "" + +#: src/client/game.cpp +msgid "Media..." +msgstr "" + +#: src/client/game.cpp +msgid "KiB/s" +msgstr "" + +#: src/client/game.cpp +msgid "MiB/s" +msgstr "" + +#: src/client/game.cpp +msgid "Client side scripting is disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Sound muted" +msgstr "" + +#: src/client/game.cpp +msgid "Sound unmuted" +msgstr "" + +#: src/client/game.cpp +msgid "Sound system is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Volume changed to %d%%" +msgstr "" + +#: src/client/game.cpp +msgid "Sound system is not supported on this build" +msgstr "" + +#: src/client/game.cpp +msgid "ok" +msgstr "" + +#: src/client/game.cpp +msgid "Fly mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fly mode enabled (note: no 'fly' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Fly mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Pitch move mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Pitch move mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fast mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fast mode enabled (note: no 'fast' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Fast mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Noclip mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Noclip mode enabled (note: no 'noclip' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Noclip mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Cinematic mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Cinematic mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Automatic forward enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Automatic forward disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Minimap currently disabled by game or mod" +msgstr "" + +#: src/client/game.cpp +msgid "Fog disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fog enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Debug info shown" +msgstr "" + +#: src/client/game.cpp +msgid "Profiler graph shown" +msgstr "" + +#: src/client/game.cpp +msgid "Wireframe shown" +msgstr "" + +#: src/client/game.cpp +msgid "Debug info, profiler graph, and wireframe hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Debug info and profiler graph hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Camera update disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Camera update enabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range is at maximum: %d" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range changed to %d" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range is at minimum: %d" +msgstr "" + +#: src/client/game.cpp +msgid "Enabled unlimited viewing range" +msgstr "" + +#: src/client/game.cpp +msgid "Disabled unlimited viewing range" +msgstr "" + +#: src/client/game.cpp +msgid "Zoom currently disabled by game or mod" +msgstr "" + +#: src/client/game.cpp +msgid "" +"Default Controls:\n" +"No menu visible:\n" +"- single tap: button activate\n" +"- double tap: place/use\n" +"- slide finger: look around\n" +"Menu/Inventory visible:\n" +"- double tap (outside):\n" +" -->close\n" +"- touch stack, touch slot:\n" +" --> move stack\n" +"- touch&drag, tap 2nd finger\n" +" --> place single item to slot\n" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "" +"Controls:\n" +"- %s: move forwards\n" +"- %s: move backwards\n" +"- %s: move left\n" +"- %s: move right\n" +"- %s: jump/climb up\n" +"- %s: dig/punch\n" +"- %s: place/use\n" +"- %s: sneak/climb down\n" +"- %s: drop item\n" +"- %s: inventory\n" +"- Mouse: turn/look\n" +"- Mouse wheel: select item\n" +"- %s: chat\n" +msgstr "" + +#: src/client/game.cpp +msgid "Continue" +msgstr "" + +#: src/client/game.cpp +msgid "Change Password" +msgstr "" + +#: src/client/game.cpp +msgid "Game paused" +msgstr "" + +#: src/client/game.cpp +msgid "Sound Volume" +msgstr "" + +#: src/client/game.cpp +msgid "Exit to Menu" +msgstr "" + +#: src/client/game.cpp +msgid "Exit to OS" +msgstr "" + +#: src/client/game.cpp +msgid "Game info:" +msgstr "" + +#: src/client/game.cpp +msgid "- Mode: " +msgstr "" + +#: src/client/game.cpp +msgid "Remote server" +msgstr "" + +#: src/client/game.cpp +msgid "- Address: " +msgstr "" + +#: src/client/game.cpp +msgid "Hosting server" +msgstr "" + +#: src/client/game.cpp +msgid "- Port: " +msgstr "" + +#: src/client/game.cpp +msgid "On" +msgstr "" + +#: src/client/game.cpp +msgid "Off" +msgstr "" + +#: src/client/game.cpp +msgid "- Damage: " +msgstr "" + +#: src/client/game.cpp +msgid "- Creative Mode: " +msgstr "" + +#. ~ PvP = Player versus Player +#: src/client/game.cpp +msgid "- PvP: " +msgstr "" + +#: src/client/game.cpp +msgid "- Public: " +msgstr "" + +#: src/client/game.cpp +msgid "- Server Name: " +msgstr "" + +#: src/client/game.cpp +msgid "" +"\n" +"Check debug.txt for details." +msgstr "" + +#: src/client/gameui.cpp +msgid "Chat shown" +msgstr "" + +#: src/client/gameui.cpp +msgid "Chat hidden" +msgstr "" + +#: src/client/gameui.cpp +msgid "HUD shown" +msgstr "" + +#: src/client/gameui.cpp +msgid "HUD hidden" +msgstr "" + +#: src/client/gameui.cpp +#, c-format +msgid "Profiler shown (page %d of %d)" +msgstr "" + +#: src/client/gameui.cpp +msgid "Profiler hidden" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Button" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Button" +msgstr "" + +#: src/client/keycode.cpp +msgid "Middle Button" +msgstr "" + +#: src/client/keycode.cpp +msgid "X Button 1" +msgstr "" + +#: src/client/keycode.cpp +msgid "X Button 2" +msgstr "" + +#: src/client/keycode.cpp +msgid "Backspace" +msgstr "" + +#: src/client/keycode.cpp +msgid "Tab" +msgstr "" + +#: src/client/keycode.cpp +msgid "Return" +msgstr "" + +#: src/client/keycode.cpp +msgid "Shift" +msgstr "" + +#: src/client/keycode.cpp +msgid "Control" +msgstr "" + +#. ~ Key name, common on Windows keyboards +#: src/client/keycode.cpp +msgid "Menu" +msgstr "" + +#: src/client/keycode.cpp +msgid "Pause" +msgstr "" + +#: src/client/keycode.cpp +msgid "Caps Lock" +msgstr "" + +#: src/client/keycode.cpp +msgid "Space" +msgstr "" + +#: src/client/keycode.cpp +msgid "Page up" +msgstr "" + +#: src/client/keycode.cpp +msgid "Page down" +msgstr "" + +#: src/client/keycode.cpp +msgid "End" +msgstr "" + +#: src/client/keycode.cpp +msgid "Home" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Left" +msgstr "" + +#: src/client/keycode.cpp +msgid "Up" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Right" +msgstr "" + +#: src/client/keycode.cpp +msgid "Down" +msgstr "" + +#. ~ Key name +#: src/client/keycode.cpp +msgid "Select" +msgstr "" + +#. ~ "Print screen" key +#: src/client/keycode.cpp +msgid "Print" +msgstr "" + +#: src/client/keycode.cpp +msgid "Execute" +msgstr "" + +#: src/client/keycode.cpp +msgid "Snapshot" +msgstr "" + +#: src/client/keycode.cpp +msgid "Insert" +msgstr "" + +#: src/client/keycode.cpp +msgid "Help" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Windows" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Windows" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 0" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 1" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 2" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 3" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 4" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 5" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 6" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 7" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 8" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 9" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad *" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad +" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad ." +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad -" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad /" +msgstr "" + +#: src/client/keycode.cpp +msgid "Num Lock" +msgstr "" + +#: src/client/keycode.cpp +msgid "Scroll Lock" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Shift" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Shift" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Control" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Control" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Menu" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Menu" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Escape" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Convert" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Nonconvert" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Accept" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Mode Change" +msgstr "" + +#: src/client/keycode.cpp +msgid "Apps" +msgstr "" + +#: src/client/keycode.cpp +msgid "Sleep" +msgstr "" + +#: src/client/keycode.cpp +msgid "Erase EOF" +msgstr "" + +#: src/client/keycode.cpp +msgid "Play" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Zoom" +msgstr "" + +#: src/client/keycode.cpp +msgid "OEM Clear" +msgstr "" + +#: src/client/minimap.cpp +msgid "Minimap hidden" +msgstr "" + +#: src/client/minimap.cpp +#, c-format +msgid "Minimap in surface mode, Zoom x%d" +msgstr "" + +#: src/client/minimap.cpp +#, c-format +msgid "Minimap in radar mode, Zoom x%d" +msgstr "" + +#: src/client/minimap.cpp +msgid "Minimap in texture mode" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp +#, c-format +msgid "" +"You are about to join this server with the name \"%s\" for the first time.\n" +"If you proceed, a new account using your credentials will be created on this " +"server.\n" +"Please retype your password and click 'Register and Join' to confirm account " +"creation, or click 'Cancel' to abort." +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp +msgid "Register and Join" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp +msgid "Passwords do not match!" +msgstr "" + +#: src/gui/guiFormSpecMenu.cpp +msgid "Proceed" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "\"Aux1\" = climb down" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Double tap \"jump\" to toggle fly" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp +msgid "Automatic jumping" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Key already in use" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "press key" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Forward" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Backward" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Aux1" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Jump" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Sneak" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Drop" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Inventory" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Prev. item" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Next item" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Change camera" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle minimap" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle fly" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle pitchmove" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle fast" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle noclip" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Mute" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Dec. volume" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Inc. volume" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Autoforward" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Chat" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp +msgid "Screenshot" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Range select" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Dec. range" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Inc. range" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Console" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Command" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Local command" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Block bounds" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle HUD" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle chat log" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle fog" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "Old Password" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "New Password" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "Confirm Password" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "Change" +msgstr "" + +#: src/gui/guiVolumeChange.cpp +msgid "Sound Volume: " +msgstr "" + +#: src/gui/guiVolumeChange.cpp +msgid "Exit" +msgstr "" + +#: src/gui/guiVolumeChange.cpp +msgid "Muted" +msgstr "" + +#. ~ Imperative, as in "Enter/type in text". +#. Don't forget the space. +#: src/gui/modalMenu.cpp +msgid "Enter " +msgstr "" + +#. ~ DO NOT TRANSLATE THIS LITERALLY! +#. This is a special string which needs to contain the translation's +#. language code (e.g. "de" for German). +#: src/network/clientpackethandler.cpp src/script/lua_api/l_client.cpp +msgid "LANG_CODE" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Build inside player" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled, you can place blocks at the position (feet + eye level) where " +"you stand.\n" +"This is helpful when working with nodeboxes in small areas." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Flying" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Player is able to fly without being affected by gravity.\n" +"This requires the \"fly\" privilege on the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Pitch move mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled, makes move directions relative to the player's pitch when flying " +"or swimming." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast movement" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Fast movement (via the \"Aux1\" key).\n" +"This requires the \"fast\" privilege on the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noclip" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled together with fly mode, player is able to fly through solid " +"nodes.\n" +"This requires the \"noclip\" privilege on the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cinematic mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Smooths camera when looking around. Also called look or mouse smoothing.\n" +"Useful for recording videos." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Camera smoothing" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Smooths rotation of camera. 0 to disable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Camera smoothing in cinematic mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Smooths rotation of camera in cinematic mode. 0 to disable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Invert mouse" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Invert vertical mouse movement." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mouse sensitivity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mouse sensitivity multiplier." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Aux1 key for climbing/descending" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " +"and\n" +"descending." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Double tap jump for fly" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Double-tapping the jump key toggles fly mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Always fly and fast" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" +"enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Place repetition interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The time in seconds it takes between repeated node placements when holding\n" +"the place button." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Automatically jump up single-node obstacles." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Safe digging and placing" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Prevent digging and placing from repeating when holding the mouse buttons.\n" +"Enable this when you dig or place too often by accident." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Random input" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable random user input (only used for testing)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Continuous forward" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Continuous forward movement, toggled by autoforward key.\n" +"Press the autoforward key again or the backwards movement to disable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Touch screen threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The length in pixels it takes for touch screen interaction to start." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fixed virtual joystick" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(Android) Fixes the position of virtual joystick.\n" +"If disabled, virtual joystick will center to first-touch's position." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Virtual joystick triggers Aux1 button" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(Android) Use virtual joystick to trigger \"Aux1\" button.\n" +"If enabled, virtual joystick will also tap \"Aux1\" button when out of main " +"circle." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable joysticks" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick ID" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The identifier of the joystick to use" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick type" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The type of joystick" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick button repetition interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The time in seconds it takes between repeated events\n" +"when holding down a joystick button combination." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick deadzone" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The deadzone of the joystick" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick frustum sensitivity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The sensitivity of the joystick axes for moving the\n" +"ingame view frustum around." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Forward key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player forward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Backward key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player backward.\n" +"Will also disable autoforward, when active.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Left key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player left.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Right key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player right.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Jump key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for jumping.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sneak key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for sneaking.\n" +"Also used for climbing down and descending in water if aux1_descends is " +"disabled.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dig key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for digging.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Place key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for placing.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Inventory key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the inventory.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Aux1 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving fast in fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the chat window.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Command key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the chat window to type commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the chat window to type local commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Range select key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling unlimited view range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fly key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling flying.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Pitch move key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling pitch move mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noclip key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling noclip mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar next key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the next item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar previous key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the previous item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mute key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for muting the game.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Inc. volume key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for increasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dec. volume key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for decreasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Automatic forward key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling autoforward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cinematic mode key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling cinematic mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimap key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling display of minimap.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for taking screenshots.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Drop item key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for dropping the currently selected item.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View zoom key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key to use view zoom when possible.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 1 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the first hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 2 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the second hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 3 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the third hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 4 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the fourth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 5 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the fifth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 6 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the sixth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 7 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the seventh hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 8 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the eighth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 9 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the ninth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 10 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the tenth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 11 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 11th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 12 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 12th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 13 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 13th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 14 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 14th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 15 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 15th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 16 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 16th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 17 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 17th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 18 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 18th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 19 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 19th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 20 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 20th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 21 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 21st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 22 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 22nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 23 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 23rd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 24 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 24th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 25 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 25th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 26 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 26th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 27 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 27th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 28 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 28th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 29 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 29th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 30 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 30th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 31 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 31st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 32 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 32nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "HUD toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of the HUD.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of chat.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large chat console key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of the large chat console.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fog toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of fog.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Camera update toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the camera update. Only used for development\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Debug info toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of debug info.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Profiler toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of the profiler. Used for development.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Toggle camera mode key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for switching between first- and third-person camera.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View range increase key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for increasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View range decrease key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for decreasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Graphics" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-Game" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Basic" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Show nametag backgrounds by default" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether nametag backgrounds should be shown by default.\n" +"Mods may still set a background." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "VBO" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable vertex buffer objects.\n" +"This should greatly improve graphics performance." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fog" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Whether to fog out the end of the visible area." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Leaves style" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Leaves style:\n" +"- Fancy: all faces visible\n" +"- Simple: only outer faces, if defined special_tiles are used\n" +"- Opaque: disable transparency" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Connect glass" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Connects glass if supported by node." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Smooth lighting" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable smooth lighting with simple ambient occlusion.\n" +"Disable for speed or for different looks." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clouds" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clouds are a client side effect." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D clouds" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use 3D cloud look instead of flat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Node highlighting" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Method used to highlight selected object." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Digging particles" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Adds particles when digging a node." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mipmapping" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Use mip mapping to scale textures. May slightly increase performance,\n" +"especially when using a high resolution texture pack.\n" +"Gamma correct downscaling is not supported." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Anisotropic filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use anisotropic filtering when viewing at textures from an angle." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bilinear filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use bilinear filtering when scaling textures." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Trilinear filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use trilinear filtering when scaling textures." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clean transparent textures" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Filtered textures can blend RGB values with fully-transparent neighbors,\n" +"which PNG optimizers usually discard, often resulting in dark or\n" +"light edges to transparent textures. Apply a filter to clean that up\n" +"at texture load time. This is automatically enabled if mipmapping is enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimum texture size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" +"can be blurred, so automatically upscale them with nearest-neighbor\n" +"interpolation to preserve crisp pixels. This sets the minimum texture size\n" +"for the upscaled textures; higher values look sharper, but require more\n" +"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"bilinear/trilinear/anisotropic filtering is enabled.\n" +"This is also used as the base node texture size for world-aligned\n" +"texture autoscaling." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "FSAA" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Use multi-sample antialiasing (MSAA) to smooth out block edges.\n" +"This algorithm smooths out the 3D viewport while keeping the image sharp,\n" +"but it doesn't affect the insides of textures\n" +"(which is especially noticeable with transparent textures).\n" +"Visible spaces appear between nodes when shaders are disabled.\n" +"If set to 0, MSAA is disabled.\n" +"A restart is required after changing this option." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Undersampling" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Undersampling is similar to using a lower screen resolution, but it applies\n" +"to the game world only, keeping the GUI intact.\n" +"It should give a significant performance boost at the cost of less detailed " +"image.\n" +"Higher values result in a less detailed image." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Shaders allow advanced visual effects and may increase performance on some " +"video\n" +"cards.\n" +"This only works with the OpenGL video backend." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shader path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to shader directory. If no path is defined, default location will be " +"used." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Filmic tone mapping" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enables Hable's 'Uncharted 2' filmic tone mapping.\n" +"Simulates the tone curve of photographic film and how this approximates the\n" +"appearance of high dynamic range images. Mid-range contrast is slightly\n" +"enhanced, highlights and shadows are gradually compressed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving Nodes" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable waving liquids (like water).\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids wave height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The maximum height of the surface of waving liquids.\n" +"4.0 = Wave height is two nodes.\n" +"0.0 = Wave doesn't move at all.\n" +"Default is 1.0 (1/2 node).\n" +"Requires waving liquids to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids wavelength" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Length of liquid waves.\n" +"Requires waving liquids to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids wave speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"How fast liquid waves will move. Higher = faster.\n" +"If negative, liquid waves will move backwards.\n" +"Requires waving liquids to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving leaves" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable waving leaves.\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving plants" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable waving plants.\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable Shadow Mapping.\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow strength" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the shadow strength.\n" +"Lower value means lighter shadows, higher value means darker shadows." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow map max distance in nodes to render shadows" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum distance to render shadows." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow map texture size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Texture size to render the shadow map on.\n" +"This must be a power of two.\n" +"Bigger numbers create better shadowsbut it is also more expensive." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow map texture in 32 bits" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Sets shadow texture quality to 32 bits.\n" +"On false, 16 bits texture will be used.\n" +"This can cause much more artifacts in the shadow." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Poisson filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable poisson disk filtering.\n" +"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow filter quality" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Define shadow filtering quality\n" +"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"but also uses more resources." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Colored shadows" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows. \n" +"On true translucent nodes cast colored shadows. This is expensive." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map update time" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the shadow update time.\n" +"Lower value means shadows and map updates faster, but it consume more " +"resources.\n" +"Minimun value 0.001 seconds max value 0.2 seconds" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Soft shadow radius" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the soft shadow radius size.\n" +"Lower values mean sharper shadows bigger values softer.\n" +"Minimun value 1.0 and max value 10.0" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sky Body Orbit Tilt" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the tilt of Sun/Moon orbit in degrees\n" +"Value of 0 means no tilt / vertical orbit.\n" +"Minimun value 0.0 and max value 60.0" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Advanced" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Arm inertia" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Arm inertia, gives a more realistic movement of\n" +"the arm when the camera moves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum FPS" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If FPS would go higher than this, limit it by sleeping\n" +"to not waste CPU power for no benefit." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "FPS when unfocused or paused" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum FPS when the window is not focused, or when the game is paused." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Pause on lost window focus" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Open the pause menu when the window's focus is lost. Does not pause if a " +"formspec is\n" +"open." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Viewing range" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View distance in nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Near plane" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" +"Only works on GLES platforms. Most users will not need to change this.\n" +"Increasing can reduce artifacting on weaker GPUs.\n" +"0.1 = Default, 0.25 = Good value for weaker tablets." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screen width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Width component of the initial window size. Ignored in fullscreen mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screen height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Height component of the initial window size. Ignored in fullscreen mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Autosave screen size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Save window size automatically when modified." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Full screen" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fullscreen mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "VSync" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Vertical screen synchronization." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Field of view" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Field of view in degrees." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve gamma" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Alters the light curve by applying 'gamma correction' to it.\n" +"Higher values make middle and lower light levels brighter.\n" +"Value '1.0' leaves the light curve unaltered.\n" +"This only has significant effect on daylight and artificial\n" +"light, it has very little effect on natural night light." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve low gradient" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Gradient of light curve at minimum light level.\n" +"Controls the contrast of the lowest light levels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve high gradient" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Gradient of light curve at maximum light level.\n" +"Controls the contrast of the highest light levels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve boost" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Strength of light curve boost.\n" +"The 3 'boost' parameters define a range of the light\n" +"curve that is boosted in brightness." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve boost center" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Center of light curve boost range.\n" +"Where 0.0 is minimum light level, 1.0 is maximum light level." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve boost spread" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Spread of light curve boost range.\n" +"Controls the width of the range to be boosted.\n" +"Standard deviation of the light curve boost Gaussian." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Texture path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Path to texture directory. All textures are first searched from here." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Video driver" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The rendering back-end.\n" +"A restart is required after changing this.\n" +"Note: On Android, stick with OGLES1 if unsure! App may fail to start " +"otherwise.\n" +"On other platforms, OpenGL is recommended.\n" +"Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cloud radius" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Radius of cloud area stated in number of 64 node cloud squares.\n" +"Values larger than 26 will start to produce sharp cutoffs at cloud area " +"corners." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View bobbing factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable view bobbing and amount of view bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fall bobbing factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Multiplier for fall bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"3D support.\n" +"Currently supported:\n" +"- none: no 3d output.\n" +"- anaglyph: cyan/magenta color 3d.\n" +"- interlaced: odd/even line based polarisation screen support.\n" +"- topbottom: split screen top/bottom.\n" +"- sidebyside: split screen side by side.\n" +"- crossview: Cross-eyed 3d\n" +"- pageflip: quadbuffer based 3d.\n" +"Note that the interlaced mode requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D mode parallax strength" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strength of 3D mode parallax." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Console height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Console color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-game chat console background color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Console alpha" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Full-Screen Background Opacity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec full-screen background opacity (between 0 and 255)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Full-Screen Background Color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec full-screen background color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Default Background Opacity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec default background opacity (between 0 and 255)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Default Background Color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec default background color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Selection box color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Selection box border color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Selection box width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Width of the selection box lines around nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Crosshair color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Crosshair color (R,G,B).\n" +"Also controls the object crosshair color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Crosshair alpha" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Crosshair alpha (opaqueness, between 0 and 255).\n" +"Also controls the object crosshair color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Recent Chat Messages" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum number of recent chat messages to show" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Desynchronize block animation" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Whether node texture animations should be desynchronized per mapblock." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum hotbar width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum proportion of current window to be used for hotbar.\n" +"Useful if there's something to be displayed right or left of hotbar." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "HUD scale factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Modifies the size of the hudbar elements." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mesh cache" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enables caching of facedir rotated meshes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock mesh generation delay" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Delay between mesh updates on the client in ms. Increasing this will slow\n" +"down the rate of mesh updates, thus reducing jitter on slower clients." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock mesh generator's MapBlock cache size in MB" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Size of the MapBlock cache of the mesh generator. Increasing this will\n" +"increase the cache hit %, reducing the data being copied from the main\n" +"thread, thus reducing jitter." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimap" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enables minimap." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Round minimap" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shape of the minimap. Enabled = round, disabled = square." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimap scan height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"True = 256\n" +"False = 128\n" +"Usable to make minimap smoother on slower machines." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Colored fog" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Make fog and sky colors depend on daytime (dawn/sunset) and view direction." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ambient occlusion gamma" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The strength (darkness) of node ambient-occlusion shading.\n" +"Lower is darker, Higher is lighter. The valid range of values for this\n" +"setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" +"set to the nearest valid value." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Inventory items animations" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enables animation of inventory items." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fog start" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fraction of the visible distance at which fog starts to be rendered" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Opaque liquids" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Makes all liquids opaque" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "World-aligned textures mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Textures on a node may be aligned either to the node or to the world.\n" +"The former mode suits better things like machines, furniture, etc., while\n" +"the latter makes stairs and microblocks fit surroundings better.\n" +"However, as this possibility is new, thus may not be used by older servers,\n" +"this option allows enforcing it for certain node types. Note though that\n" +"that is considered EXPERIMENTAL and may not work properly." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Autoscaling mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"World-aligned textures may be scaled to span several nodes. However,\n" +"the server may not send the scale you want, especially if you use\n" +"a specially-designed texture pack; with this option, the client tries\n" +"to determine the scale automatically basing on the texture size.\n" +"See also texture_min_size.\n" +"Warning: This option is EXPERIMENTAL!" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Show entity selection boxes" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Show entity selection boxes\n" +"A restart is required after changing this." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Menus" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clouds in menu" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use a cloud animation for the main menu background." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "GUI scaling" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Scale GUI by a user specified value.\n" +"Use a nearest-neighbor-anti-alias filter to scale the GUI.\n" +"This will smooth over some of the rough edges, and blend\n" +"pixels when scaling down, at the cost of blurring some\n" +"edge pixels when images are scaled by non-integer sizes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "GUI scaling filter" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"When gui_scaling_filter is true, all GUI images need to be\n" +"filtered in software, but some images are generated directly\n" +"to hardware (e.g. render-to-texture for nodes in inventory)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "GUI scaling filter txr2img" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"When gui_scaling_filter_txr2img is true, copy those images\n" +"from hardware to software for scaling. When false, fall back\n" +"to the old scaling method, for video drivers that don't\n" +"properly support downloading textures back from hardware." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Tooltip delay" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Delay showing tooltips, stated in milliseconds." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Append item name" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Append item name to tooltip." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "FreeType fonts" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether FreeType fonts are used, requires FreeType support to be compiled " +"in.\n" +"If disabled, bitmap and XML vectors fonts are used instead." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font bold by default" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font italic by default" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font shadow" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Shadow offset (in pixels) of the default font. If 0, then shadow will not be " +"drawn." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font shadow alpha" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size of the default font in point (pt)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Regular font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to the default font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"The fallback font will be used if the font cannot be loaded." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Italic font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold and italic font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Monospace font size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size of the monospace font in point (pt)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to the monospace font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"This font is used for e.g. the console and profiler screen." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Italic monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold and italic monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fallback font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path of the fallback font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"This font will be used for certain languages or if the default font is " +"unavailable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat font size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Font size of the recent chat text and chat prompt in point (pt).\n" +"Value 0 will use the default font size." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screenshot folder" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to save screenshots at. Can be an absolute or relative path.\n" +"The folder will be created if it doesn't already exist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screenshot format" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Format of screenshots." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screenshot quality" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Screenshot quality. Only used for JPEG format.\n" +"1 means worst quality; 100 means best quality.\n" +"Use 0 for default quality." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "DPI" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " +"screens." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable console window" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Windows systems only: Start Minetest with the command line window in the " +"background.\n" +"Contains the same information as the file debug.txt (default name)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sound" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enables the sound system.\n" +"If disabled, this completely disables all sounds everywhere and the in-game\n" +"sound controls will be non-functional.\n" +"Changing this setting requires a restart." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Volume" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Volume of all sounds.\n" +"Requires the sound system to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mute sound" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether to mute sounds. You can unmute sounds at any time, unless the\n" +"sound system is disabled (enable_sound=false).\n" +"In-game, you can toggle the mute state with the mute key or by using the\n" +"pause menu." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Network" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server address" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Address to connect to.\n" +"Leave this blank to start a local server.\n" +"Note that the address field in the main menu overrides this setting." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Remote port" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Port to connect to (UDP).\n" +"Note that the port field in the main menu overrides this setting." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Prometheus listener address" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Prometheus listener address.\n" +"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"enable metrics listener for Prometheus on that address.\n" +"Metrics can be fetch on http://127.0.0.1:30000/metrics" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Saving map received from server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Save the map received by the client on disk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Connect to external media server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable usage of remote media server (if provided by server).\n" +"Remote servers offer a significantly faster way to download media (e.g. " +"textures)\n" +"when connecting to the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client modding" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable Lua modding support on client.\n" +"This support is experimental and API can change." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Serverlist URL" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "URL to the server list displayed in the Multiplayer Tab." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Serverlist file" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"File in client/serverlist/ that contains your favorite servers displayed in " +"the\n" +"Multiplayer Tab." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum size of the out chat queue" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum size of the out chat queue.\n" +"0 to disable queueing and -1 to make the queue size unlimited." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable register confirmation" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable register confirmation when connecting to server.\n" +"If disabled, new account will be registered automatically." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock unload timeout" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Timeout for client to remove unused map data from memory." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of mapblocks for client to be kept in memory.\n" +"Set to -1 for unlimited amount." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Show debug info" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether to show the client debug info (has the same effect as hitting F5)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server / Singleplayer" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server name" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Name of the server, to be displayed when players join and in the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server description" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Description of server, to be displayed when players join and in the " +"serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Domain name of server, to be displayed in the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server URL" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Homepage of server, to be displayed in the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Announce server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Automatically report to the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Announce to this serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strip color codes" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Remove color codes from incoming chat messages\n" +"Use this to stop players from being able to use color in their messages" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server port" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Network port to listen (UDP).\n" +"This value will be overridden when starting from the main menu." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bind address" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The network interface that the server listens on." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strict protocol checking" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable to disallow old clients from connecting.\n" +"Older clients are compatible in the sense that they will not crash when " +"connecting\n" +"to new servers, but they may not support all new features that you are " +"expecting." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Remote media" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Specifies URL from which client fetches media instead of using UDP.\n" +"$filename should be accessible from $remote_media$filename via cURL\n" +"(obviously, remote_media should end with a slash).\n" +"Files that are not present will be fetched the usual way." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "IPv6 server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable/disable running an IPv6 server.\n" +"Ignored if bind_address is set.\n" +"Needs enable_ipv6 to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum simultaneous block sends per client" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of blocks that are simultaneously sent per client.\n" +"The maximum total count is calculated dynamically:\n" +"max_total = ceil((#clients + max_users) * per_client / 4)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Delay in sending blocks after building" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"To reduce lag, block transfers are slowed down when a player 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 "Map Compression Level for Network Transfer" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"ZLib compression level to use when sending mapblocks to the client.\n" +"-1 - Zlib's default compression level\n" +"0 - no compresson, fastest\n" +"9 - best compression, slowest\n" +"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" +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 be connected 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 "Default stack size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Specifies the default stack size of nodes, items and tools.\n" +"Note that mods or games may explicitly set a stack for certain (or all) " +"items." +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 "Creative" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable creative mode for all players" +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 "Mod channels" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable mod channels support." +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 "Chat message format" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Format of player chat messages. The following strings are valid " +"placeholders:\n" +"@name, @message, @timestamp (optional)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat command time message threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If the execution of a chat command takes longer than this specified time in\n" +"seconds, add the time information to the chat command message" +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).\n" +"\n" +"Setting this larger than active_block_range will also cause the server\n" +"to maintain active objects up to this distance in the direction the\n" +"player is looking. (This can avoid mobs suddenly disappearing from view)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Active block range" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The radius of the volume of blocks around every player that is subject to " +"the\n" +"active block stuff, stated in mapblocks (16 nodes).\n" +"In active blocks objects are loaded and ABMs run.\n" +"This is also the minimum range in which active objects (mobs) are " +"maintained.\n" +"This should be configured together with active_object_send_range_blocks." +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:\n" +"72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "World start time" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Time of day when a new world is started, in millihours (0-23999)." +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 "Chat message max length" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Set the maximum character length of a chat message sent by clients." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat message count limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Amount of messages a player may send per 10 seconds." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat message kick threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Kick players who sent more than X messages per 10 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 "" +"Horizontal and vertical acceleration on ground or when climbing,\n" +"in nodes per second per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Acceleration in air" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Horizontal acceleration in air when jumping or falling,\n" +"in nodes per second per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast mode acceleration" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Horizontal and vertical acceleration in fast mode,\n" +"in nodes per second per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Walking speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Walking and flying speed, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sneaking speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sneaking speed, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast mode speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Walking, flying and climbing speed in fast mode, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Climbing speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Vertical climbing speed, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Jumping speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Initial vertical speed when jumping, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Liquid fluidity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Decrease this to increase liquid resistance to movement." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Liquid fluidity smoothing" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum liquid resistance. Controls deceleration when entering liquid at\n" +"high speed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Liquid sinking" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls sinking speed in liquid." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Gravity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Acceleration of gravity, in nodes per second per second." +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" +"- none: Do not log deprecated calls\n" +"- log: mimic and log backtrace of deprecated call (default).\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 https://www.sqlite.org/pragma.html#pragma_synchronous" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map Compression Level for Disk Storage" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"ZLib compression level to use when saving mapblocks to disk.\n" +"-1 - Zlib's default compression level\n" +"0 - no compresson, fastest\n" +"9 - best compression, slowest\n" +"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" +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\n" +"network." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Active block management interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Length of time between active block management cycles" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ABM interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Length of time between Active Block Modifier (ABM) execution cycles" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ABM time budget" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The time budget allowed for ABMs to execute on each step\n" +"(as a fraction of the ABM Interval)" +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 "Block send optimize distance" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"At this distance the server will aggressively optimize which blocks are sent " +"to\n" +"clients.\n" +"Small values potentially improve performance a lot, at the expense of " +"visible\n" +"rendering glitches (some blocks will not be rendered under water and in " +"caves,\n" +"as well as sometimes on land).\n" +"Setting this to a value greater than max_block_send_distance disables this\n" +"optimization.\n" +"Stated in mapblocks (16 nodes)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server side occlusion culling" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled the server will perform map block occlusion culling based on\n" +"on the eye position of the player. This can reduce the number of blocks\n" +"sent to the client 50-80%. The client will not longer receive most " +"invisible\n" +"so that the utility of noclip mode is reduced." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client side modding restrictions" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Restricts the access of certain client-side functions on servers.\n" +"Combine the byteflags below to restrict client-side features, or set to 0\n" +"for no restrictions:\n" +"LOAD_CLIENT_MODS: 1 (disable loading client-provided mods)\n" +"CHAT_MESSAGES: 2 (disable send_chat_message call client-side)\n" +"READ_ITEMDEFS: 4 (disable get_item_def call client-side)\n" +"READ_NODEDEFS: 8 (disable get_node_def call client-side)\n" +"LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to\n" +"csm_restriction_noderange)\n" +"READ_PLAYERINFO: 32 (disable get_player_names call client-side)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client side node lookup range restriction" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If the CSM restriction for node range is enabled, get_node calls are " +"limited\n" +"to this distance from the player to the node." +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." +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 "Debug log file size threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If the file size of debug.txt exceeds the number of megabytes specified in\n" +"this setting when it is opened, the file is moved to debug.txt.1,\n" +"deleting an older debug.txt.1 if it exists.\n" +"debug.txt is only moved if this setting is positive." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat log level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimal level of logging to be written to chat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "IPv6" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable IPv6 support (for both client and server).\n" +"Required for IPv6 connections to work at all." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "cURL interactive timeout" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum time an interactive request (e.g. server list fetch) may take, " +"stated in milliseconds." +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 a file download (e.g. a mod download) may take, stated in " +"milliseconds." +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 "Engine profiling data print interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Print the engine's profiling data in regular intervals (in seconds).\n" +"0 = disable. Useful for developers." +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.\n" +"Current mapgens in a highly unstable state:\n" +"- The optional floatlands of v7 (disabled by default)." +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 "" +"Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" +"Only mapchunks completely within the mapgen limit are generated.\n" +"Value is stored per-world." +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." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Biome API temperature and humidity noise parameters" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Heat noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Temperature variation for biomes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Heat blend noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small-scale temperature variation for blending biomes on borders." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Humidity noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Humidity variation for biomes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Humidity blend noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small-scale humidity variation for blending biomes on borders." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V5" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V5 specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map generation attributes specific to Mapgen v5." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Controls width of tunnels, a smaller value creates wider tunnels.\n" +"Value >= 10.0 completely disables generation of tunnels and avoids the\n" +"intensive noise calculations." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave depth" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y of upper limit of large caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small cave minimum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimum limit of random number of small caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small cave maximum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum limit of random number of small caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave minimum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimum limit of random number of large caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave maximum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum limit of random number of large caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave proportion flooded" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Proportion of large caves that contain liquid." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of cavern upper limit." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern taper" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-distance over which caverns expand to full size." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines full size of caverns, smaller values create larger caverns." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dungeon minimum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Lower Y limit of dungeons." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dungeon maximum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Upper Y limit of dungeons." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noises" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Filler depth noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Variation of biome filler depth." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Factor noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Variation of terrain vertical scale.\n" +"When noise is < -0.55 terrain is near-flat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Height noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of average terrain surface." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave1 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "First of two 3D noises that together define tunnels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave2 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Second of two 3D noises that together define tunnels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise defining giant caverns." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ground noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise defining terrain." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dungeon noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise that determines number of dungeons per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V6" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V6 specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen v6.\n" +"The 'snowbiomes' flag enables the new 5 biome system.\n" +"When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" +"the 'jungles' flag is ignored." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Desert noise threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Deserts occur when np_biome exceeds this value.\n" +"When the 'snowbiomes' flag is enabled, this is ignored." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Beach noise threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sandy beaches occur when np_beach exceeds this value." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain base noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of lower terrain and seabed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain higher noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of higher terrain that creates cliffs." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Steepness noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Varies steepness of cliffs." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Height select noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines distribution of higher terrain." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mud noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Varies depth of biome surface nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Beach noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines areas with sandy beaches." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Biome noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Variation of number of caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Trees noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines tree areas and tree density." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Apple trees noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines areas where trees have apples." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V7" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V7 specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen v7.\n" +"'ridges': Rivers.\n" +"'floatlands': Floating land masses in the atmosphere.\n" +"'caverns': Giant caves deep underground." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain zero level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Y of mountain density gradient zero level. Used to shift mountains " +"vertically." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland minimum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Lower Y limit of floatlands." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland maximum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Upper Y limit of floatlands." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland tapering distance" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Y-distance over which floatlands taper from full density to nothing.\n" +"Tapering starts at this distance from the Y limit.\n" +"For a solid floatland layer, this controls the height of hills/mountains.\n" +"Must be less than or equal to half the distance between the Y limits." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland taper exponent" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Exponent of the floatland tapering. Alters the tapering behaviour.\n" +"Value = 1.0 creates a uniform, linear tapering.\n" +"Values > 1.0 create a smooth tapering suitable for the default separated\n" +"floatlands.\n" +"Values < 1.0 (for example 0.25) create a more defined surface level with\n" +"flatter lowlands, suitable for a solid floatland layer." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland density" +msgstr "" + +#: src/settings_translation_file.cpp +#, c-format +msgid "" +"Adjusts the density of the floatland layer.\n" +"Increase value to increase density. Can be positive or negative.\n" +"Value = 0.0: 50% of volume is floatland.\n" +"Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" +"to be sure) creates a solid floatland layer." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland water level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Surface level of optional water placed on a solid floatland layer.\n" +"Water is disabled by default and will only be placed if this value is set\n" +"to above 'mgv7_floatland_ymax' - 'mgv7_floatland_taper' (the start of the\n" +"upper tapering).\n" +"***WARNING, POTENTIAL DANGER TO WORLDS AND SERVER PERFORMANCE***:\n" +"When enabling water placement the floatlands must be configured and tested\n" +"to be a solid layer by setting 'mgv7_floatland_density' to 2.0 (or other\n" +"required value depending on 'mgv7_np_floatland'), to avoid\n" +"server-intensive extreme water flow and to avoid vast flooding of the\n" +"world surface below." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain alternative noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain persistence noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Varies roughness of terrain.\n" +"Defines the 'persistence' value for terrain_base and terrain_alt noises." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines distribution of higher terrain and steepness of cliffs." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain height noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Variation of maximum mountain height (in nodes)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridge underwater noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines large-scale river channel structure." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"3D noise defining mountain structure and height.\n" +"Also defines structure of floatland mountain terrain." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridge noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise defining structure of river canyon walls." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"3D noise defining structure of floatlands.\n" +"If altered from the default, the noise 'scale' (0.7 by default) may need\n" +"to be adjusted, as floatland tapering functions best when this noise has\n" +"a value range of approximately -2.0 to 2.0." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Carpathian" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Carpathian specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map generation attributes specific to Mapgen Carpathian." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Base ground level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the base ground level." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River channel width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the width of the river channel." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River channel depth" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the depth of the river channel." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River valley width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the width of the river valley." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness1 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "First of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness2 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Second of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness3 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Third of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness4 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fourth of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Rolling hills spread noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the size/occurrence of rolling hills." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridge mountain spread noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the size/occurrence of ridged mountain ranges." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Step mountain spread noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the size/occurrence of step mountain ranges." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Rolling hill size noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the shape/size of rolling hills." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridged mountain size noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the shape/size of ridged mountains." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Step mountain size noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the shape/size of step mountains." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that locates the river valleys and channels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain variation noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Flat" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Flat specific 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." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ground level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y of flat ground." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "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 "Lake steepness" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls steepness/depth of lake depressions." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "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 "Hill steepness" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls steepness/height of hills." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines location and terrain of optional hills and lakes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Fractal" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Fractal specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen Fractal.\n" +"'terrain' enables the generation of non-fractal terrain:\n" +"ocean, islands and underground." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fractal type" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Selects one of 18 fractal types.\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 "Iterations" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Iterations of the recursive function.\n" +"Increasing this increases the amount of fine detail, but also\n" +"increases processing load.\n" +"At iterations = 20 this mapgen has a similar load to mapgen V7." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(X,Y,Z) scale of fractal in nodes.\n" +"Actual fractal size will be 2 to 3 times larger.\n" +"These numbers can be made very large, the fractal does\n" +"not have to fit inside the world.\n" +"Increase these to 'zoom' into the detail of the fractal.\n" +"Default is for a vertically-squashed shape suitable for\n" +"an island, set all 3 numbers equal for the raw shape." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" +"Can be used to move a desired point to (0, 0) to create a\n" +"suitable spawn point, or to allow 'zooming in' on a desired\n" +"point by increasing 'scale'.\n" +"The default is tuned for a suitable spawn point for Mandelbrot\n" +"sets with default parameters, it may need altering in other\n" +"situations.\n" +"Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Slice w" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"W coordinate of the generated 3D slice of a 4D fractal.\n" +"Determines which 3D slice of the 4D shape is generated.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia x" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"X component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"Y component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia z" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"Z component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia w" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"W component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Seabed noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of seabed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Valleys" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Valleys specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen Valleys.\n" +"'altitude_chill': Reduces heat with altitude.\n" +"'humid_rivers': Increases humidity around rivers.\n" +"'vary_river_depth': If enabled, low humidity and high heat causes rivers\n" +"to become shallower and occasionally dry.\n" +"'altitude_dry': Reduces humidity with altitude." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The vertical distance over which heat drops by 20 if 'altitude_chill' is\n" +"enabled. Also the vertical distance over which humidity drops by 10 if\n" +"'altitude_dry' is enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Depth below which you'll find large caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern upper limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Depth below which you'll find giant caverns." +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 "Cave noise #1" +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 biome filler node." +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 "Chunk size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes).\n" +"WARNING!: There is no benefit, and there are several dangers, in\n" +"increasing this value above 5.\n" +"Reducing this value increases cave and dungeon density.\n" +"Altering this value is for special usage, leaving it unchanged is\n" +"recommended." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen debug" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dump the mapgen debug information." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Absolute limit of queued blocks to emerge" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum number of blocks that can be queued for loading." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Per-player limit of queued blocks load from disk" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of blocks to be queued that are to be loaded from file.\n" +"This limit is enforced per player." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Per-player limit of queued blocks to generate" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of blocks to be queued that are to be generated.\n" +"This limit is enforced per player." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Number of emerge threads" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Number of emerge threads to use.\n" +"Value 0:\n" +"- Automatic selection. The number of emerge threads will be\n" +"- 'number of processors - 2', with a lower limit of 1.\n" +"Any other value:\n" +"- Specifies the number of emerge threads, with a lower limit of 1.\n" +"WARNING: Increasing the number of emerge threads increases engine mapgen\n" +"speed, but this may harm game performance by interfering with other\n" +"processes, especially in singleplayer and/or when running Lua code in\n" +"'on_generated'. For many users the optimum setting may be '1'." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Online Content Repository" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ContentDB URL" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The URL for the content repository" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ContentDB Flag Blacklist" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Comma-separated list of flags to hide in the content repository.\n" +"\"nonfree\" can be used to hide packages which do not qualify as 'free " +"software',\n" +"as defined by the Free Software Foundation.\n" +"You can also specify content ratings.\n" +"These flags are independent from Minetest versions,\n" +"so see a full list at https://content.minetest.net/help/content_flags/" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ContentDB Max Concurrent Downloads" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of concurrent downloads. Downloads exceeding this limit will " +"be queued.\n" +"This should be lower than curl_parallel_limit." +msgstr "" -- cgit v1.2.3 From 33325929057f087f0f500a96288e16128af2a2f9 Mon Sep 17 00:00:00 2001 From: Ondřej Pfrogner Date: Sat, 20 Nov 2021 09:50:36 +0000 Subject: Translated using Weblate (Czech) Currently translated at 62.9% (879 of 1396 strings) --- po/cs/minetest.po | 1094 ++++++++++++++++++++++++++--------------------------- 1 file changed, 540 insertions(+), 554 deletions(-) diff --git a/po/cs/minetest.po b/po/cs/minetest.po index ac3d06de3..922347d55 100644 --- a/po/cs/minetest.po +++ b/po/cs/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Czech (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2021-02-03 04:31+0000\n" -"Last-Translator: Vít Skalický \n" +"PO-Revision-Date: 2021-11-22 18:50+0000\n" +"Last-Translator: Ondřej Pfrogner \n" "Language-Team: Czech \n" "Language: cs\n" @@ -12,48 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.5-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Vyprázdnit frontu odchozího chatu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Příkazy" +msgstr "Prázdný příkaz." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Odejít do nabídky" +msgstr "Odejít do hlavní nabídky" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Místní příkaz" +msgstr "Neplatný příkaz: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Zadaný příkaz: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Místní hra" +msgstr "Vypsat připojené hráče" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Místní hra" +msgstr "Připojení hráči: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Fronta odchozího chatu je nyní prázdná." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Server zakázal tento příkaz." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,40 +59,39 @@ msgid "You died" msgstr "Zemřel jsi" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Zemřel jsi" +msgstr "Zemřel jsi." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Místní příkaz" +msgstr "Příkazy k dispozici:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Místní příkaz" +msgstr "Příkazy k dispozici: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Příkaz není k dispozici: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Získat nápovědu pro příkazy" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Použij \".help \" pro obdržení více informací, nebo \".help all\" " +"pro celý výpis." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" -msgstr "OK" +msgstr "Dobře" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -117,7 +111,7 @@ msgstr "Znovu se připojit" #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" -msgstr "Server vyžaduje znovupřipojení se:" +msgstr "Server vyžaduje opětovné připojení:" #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " @@ -230,7 +224,7 @@ msgstr "\"$1\" již existuje. Chcete jej přepsat?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "Budou nainstalovány závislosti $1 a $2." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" @@ -250,38 +244,35 @@ msgstr "$1 se stahuje..." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "$1 požadovaných závislostí nebylo nalezeno." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 závislostí bude nainstalováno a $2 bude vynecháno." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" msgstr "Všechny balíčky" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Already installed" -msgstr "Klávesa je již používána" +msgstr "Již nainstalováno" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" msgstr "Zpět do hlavní nabídky" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Base Game:" -msgstr "Založit hru" +msgstr "Základní hra:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "" +msgstr "ContentDB není přístupná pokud byl Minetest kompilován bez použití cURL" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Downloading..." -msgstr "Nahrávám..." +msgstr "Stahuji..." #: builtin/mainmenu/dlg_contentstore.lua msgid "Failed to download $1" @@ -297,14 +288,12 @@ msgid "Install" msgstr "Instalovat" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install $1" -msgstr "Instalovat" +msgstr "Instalovat $1" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install missing dependencies" -msgstr "Volitelné závislosti:" +msgstr "Instalovat chybějící závislosti" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -320,25 +309,24 @@ msgid "No results" msgstr "Žádné výsledky" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "No updates" -msgstr "Aktualizovat" +msgstr "Žádné aktualizace" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Nenalezeno" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" -msgstr "" +msgstr "Přepsat" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." -msgstr "" +msgstr "Ověř prosím, zda je základní hra v pořádku." #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Ve frontě" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" @@ -354,57 +342,51 @@ msgstr "Aktualizovat" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" -msgstr "" +msgstr "Aktualizovat vše [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Zobrazit více informací v prohlížeči" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" -msgstr "Svět s názvem \"$1\" už existuje" +msgstr "Svět s názvem \"$1\" již existuje" #: builtin/mainmenu/dlg_create_world.lua msgid "Additional terrain" -msgstr "" +msgstr "Další terén" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Altitude chill" -msgstr "Výškové ochlazení" +msgstr "Teplota (výšková)" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Altitude dry" -msgstr "Výškové ochlazení" +msgstr "Vlhkost (výšková)" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biome blending" -msgstr "Šum biomů" +msgstr "Prolínání biomů" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biomes" -msgstr "Šum biomů" +msgstr "Biomy" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caverns" -msgstr "Šum jeskynních dutin" +msgstr "Jeskyně (velké)" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caves" -msgstr "Oktávy" +msgstr "Jeskyně (malé)" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" msgstr "Vytvořit" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Decorations" -msgstr "Iterace" +msgstr "Dekorace" #: builtin/mainmenu/dlg_create_world.lua msgid "Download a game, such as Minetest Game, from minetest.net" @@ -415,23 +397,20 @@ msgid "Download one from minetest.net" msgstr "Stáhněte si jednu z minetest.net" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Dungeons" -msgstr "Šum hřbetů" +msgstr "Žaláře" #: builtin/mainmenu/dlg_create_world.lua msgid "Flat terrain" -msgstr "" +msgstr "Plochý terén" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Floating landmasses in the sky" -msgstr "Koncentrace hor na létajících ostrovech" +msgstr "Krajina vznášející se na nebi" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Floatlands (experimental)" -msgstr "Výška létajících ostrovů" +msgstr "Létající ostrovy (experimentální)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" @@ -439,28 +418,27 @@ msgstr "Hra" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "" +msgstr "Generovat terén bez použití fraktálů: Oceány a podzemí" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" -msgstr "" +msgstr "Kopce" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Humid rivers" -msgstr "Ovladač grafiky" +msgstr "Vodnost řek" #: builtin/mainmenu/dlg_create_world.lua msgid "Increases humidity around rivers" -msgstr "" +msgstr "Zvyšuje vlhkost v okolí řek" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" -msgstr "" +msgstr "Jezera" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "" +msgstr "Nízká vlhkost a vysoké teploty mají za následek mělké či vyschlé řeky" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" @@ -468,24 +446,23 @@ msgstr "Generátor mapy" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" -msgstr "Nastavení generátoru mapy" +msgstr "Nastavení pro Generátor mapy" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Mapgen-specific flags" -msgstr "Mapgen údolí" +msgstr "Nastavení pro Generátor mapy" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" -msgstr "" +msgstr "Hory" #: builtin/mainmenu/dlg_create_world.lua msgid "Mud flow" -msgstr "" +msgstr "Eroze" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" -msgstr "" +msgstr "Jeskynní systém" #: builtin/mainmenu/dlg_create_world.lua msgid "No game selected" @@ -493,20 +470,19 @@ msgstr "Není vybrána žádná hra" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "" +msgstr "Snižuje teplotu a nadmořskou výšku" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "" +msgstr "Snižuje vlhkost s rostoucí nadmořskou výškou" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Rivers" -msgstr "Velikost řeky" +msgstr "Řeky" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" -msgstr "" +msgstr "Řeky v úrovni mořské hladiny" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -515,51 +491,51 @@ msgstr "Seedové číslo" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" -msgstr "" +msgstr "Pozvolný přechod mezi biomy" #: builtin/mainmenu/dlg_create_world.lua msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" +"Povrchové struktury (nemá vliv na stromy a tropickou trávu vytvořené ve v6 a " +"později)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" -msgstr "" +msgstr "Povrchové struktury, především stromy a rostliny" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert" -msgstr "" +msgstr "Mírné, Poušť" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "" +msgstr "Mírné, Poušť, Džungle" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "" +msgstr "Mírné, Poušť, Džungle, Tundra, Tajga" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "" +msgstr "Povrchová eroze" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -msgstr "" +msgstr "Stromy a tropická tráva" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Vary river depth" -msgstr "Hloubka řeky" +msgstr "Proměnná hloubka řek" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" -msgstr "" +msgstr "Veliké jeskyně hluboko pod zemí" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Warning: The Development Test is meant for developers." -msgstr "Varování: \"Minimal development test\" je zamýšlen pouze pro vývojáře." +msgstr "Varování: Development Test je určen pro vývojáře." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" @@ -794,9 +770,8 @@ msgid "Loading..." msgstr "Nahrávám..." #: builtin/mainmenu/serverlistmgr.lua -#, fuzzy msgid "Public server list is disabled" -msgstr "Uživatelské skripty nejsou povoleny" +msgstr "Seznam veřejných serverů je vypnut" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -806,31 +781,31 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "O nás" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Aktivní přispěvatelé" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Odesílací rozsah aktivních bloků" +msgstr "Aktivní renderer:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" msgstr "Hlavní vývojáři" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Open User Data Directory" -msgstr "Vyberte adresář" +msgstr "Otevřít uživatelský adresář" #: builtin/mainmenu/tab_about.lua msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Ve správci souborů otevře adresář obsahující uživatelské světy, hry,\n" +"mody a balíčky textur." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -906,11 +881,11 @@ msgstr "Založit server" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" -msgstr "" +msgstr "Instalovat hry z ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Jméno" #: builtin/mainmenu/tab_local.lua msgid "New" @@ -921,9 +896,8 @@ msgid "No world created or selected!" msgstr "Žádný svět nebyl vytvořen ani vybrán!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Password" -msgstr "Nové heslo" +msgstr "Heslo" #: builtin/mainmenu/tab_local.lua msgid "Play Game" @@ -934,9 +908,8 @@ msgid "Port" msgstr "Port" #: builtin/mainmenu/tab_local.lua -#, fuzzy msgid "Select Mods" -msgstr "Vyberte svět:" +msgstr "Vybrat mody" #: builtin/mainmenu/tab_local.lua msgid "Select World:" @@ -951,9 +924,8 @@ msgid "Start Game" msgstr "Spustit hru" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adresa: " +msgstr "Adresa" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -969,22 +941,20 @@ msgstr "Kreativní mód" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Zranění" +msgstr "Zranění / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Smazat oblíbené" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "Oblíbené" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Nekompatibilní server" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -995,16 +965,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Uveřejnit server" +msgstr "Veřejné servery" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Obnovit" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Popis serveru" @@ -1049,13 +1017,12 @@ msgid "Connected Glass" msgstr "Propojené sklo" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Stín písma" +msgstr "Dynamické stíny" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dynamické stíny: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1063,19 +1030,19 @@ msgstr "Vícevrstevné listí" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Vysoké" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Nízké" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Střední" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" -msgstr "Mipmapy zapnuté" +msgstr "Mipmapy" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap + Aniso. Filter" @@ -1126,9 +1093,8 @@ msgid "Shaders" msgstr "Shadery" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Shaders (experimental)" -msgstr "Výška létajících ostrovů" +msgstr "Shader (experimentální)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" @@ -1164,11 +1130,11 @@ msgstr "Trilineární filtr" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Velmi vysoké" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Vylmi nízké" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1325,7 +1291,7 @@ msgid "Continue" msgstr "Pokračovat" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "" "Controls:\n" "- %s: move forwards\n" @@ -1348,13 +1314,13 @@ msgstr "" "- %s: pohyb doleva\n" "- %s: pohyb doprava\n" "- %s: skok/výstup\n" +"- %s: těžit/uhodit\n" +"- %s: umístit/použít\n" "- %s: plížení/sestup\n" -"- %s: zahození věci\n" +"- %s: zahození předmětu\n" "- %s: inventář\n" "- Myš: otáčení/rozhlížení\n" -"- Levé tl. myši: těžit/uhodit\n" -"- Pravé tl. myši: položit/použít\n" -"- Kolečko myši: výběr přihrádky\n" +"- Kolečko myši: výběr předmětu\n" "- %s: chat\n" #: src/client/game.cpp @@ -1486,9 +1452,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Minimapa je aktuálně zakázána" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Místní hra" +msgstr "Multiplayer" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1540,7 +1505,7 @@ msgstr "Vypínání..." #: src/client/game.cpp msgid "Singleplayer" -msgstr "Místní hra" +msgstr "Singleplayer" #: src/client/game.cpp msgid "Sound Volume" @@ -1552,11 +1517,11 @@ msgstr "Zvuk vypnut" #: src/client/game.cpp msgid "Sound system is disabled" -msgstr "" +msgstr "Zvukový systém je vypnutý" #: src/client/game.cpp msgid "Sound system is not supported on this build" -msgstr "" +msgstr "Zvukový systém není v této verzi podporovaný" #: src/client/game.cpp msgid "Sound unmuted" @@ -1883,19 +1848,18 @@ msgid "Minimap hidden" msgstr "Minimapa je skryta" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in radar mode, Zoom x%d" -msgstr "Minimapa v režimu radar, Přiblížení x1" +msgstr "Minimapa v režimu Radar, Přiblížení x%d" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "Minimapa v režimu povrch, Přiblížení x1" +msgstr "Minimapa v režimu Povrch, Přiblížení x%d" #: src/client/minimap.cpp -#, fuzzy msgid "Minimap in texture mode" -msgstr "Minimální velikost textury k filtrování" +msgstr "Minimapa v režimu Textura" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1925,9 +1889,8 @@ msgid "Proceed" msgstr "Pokračovat" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "„Speciální“ = sestoupit dolů" +msgstr "\"Aux1\" = sestoupit" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1939,7 +1902,7 @@ msgstr "Automaticky skákat" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1947,7 +1910,7 @@ msgstr "Vzad" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Ohraničení bloku" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2125,14 +2088,13 @@ msgstr "" "Pokud je zakázán, virtuální joystick se upraví podle umístění prvního dotyku." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Použít virtuální joystick pro stisknutí tlačítka 'aux'.\n" -"Pokud je povoleno, virtuální joystick automaticky stiskne tlačítko 'aux' " +"(Android) Použít virtuální joystick pro stisk tlačítka \"Aux1\".\n" +"Pokud je povoleno, virtuální joystick automaticky stiskne tlačítko \"Aux1\" " "pokud je mimo hlavní kruh." #: src/settings_translation_file.cpp @@ -2210,9 +2172,8 @@ msgid "3D mode" msgstr "Režim 3D zobrazení" #: src/settings_translation_file.cpp -#, fuzzy msgid "3D mode parallax strength" -msgstr "Síla parallax occlusion" +msgstr "Intezita Parallax ve 3D modu" #: src/settings_translation_file.cpp msgid "3D noise defining giant caverns." @@ -2233,6 +2194,11 @@ msgid "" "to be adjusted, as floatland tapering functions best when this noise has\n" "a value range of approximately -2.0 to 2.0." msgstr "" +"3D šum definující strukturu létajících ostrovů.\n" +"Pokud je odlišný od výchozího, může být nutné upravit\n" +"\"měřítko\" šumu (výchozí 0.7), jelikož zužování (obrácené hory)\n" +"létajících ostrovů funguje nejlépe pokud je šum v rozmezí přibližně -2.0 až 2" +".0." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2248,7 +2214,7 @@ msgstr "3D šum definující horské převisy, atp. Typicky malé odchylky." #: src/settings_translation_file.cpp msgid "3D noise that determines number of dungeons per mapchunk." -msgstr "3D šum, který definuje počet žalářů na kusu mapy." +msgstr "3D šum definující počet žalářů na kusu mapy." #: src/settings_translation_file.cpp msgid "" @@ -2297,12 +2263,11 @@ msgstr "Interval Aktivní Blokové Modifikace (ABM)" #: src/settings_translation_file.cpp msgid "ABM time budget" -msgstr "" +msgstr "ABM použitelný čas" #: src/settings_translation_file.cpp -#, fuzzy msgid "Absolute limit of queued blocks to emerge" -msgstr "Maximální počet emerge front" +msgstr "Maximální počet připravených bloků ve frontě" #: src/settings_translation_file.cpp msgid "Acceleration in air" @@ -2359,6 +2324,11 @@ msgid "" "Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" "to be sure) creates a solid floatland layer." msgstr "" +"Upravit hustotu roviny létajících ostrovů.\n" +"Zvýšením hodnoty se zvýší hustota. Hodnota může být kladná i záporná.\n" +"Hodnota = 0.0: 50% světa tvoří létajících ostrovy.\n" +"Hodnota = 2.0 (může být i vyšší v závislosti na “mgv7_np_floatland“,\n" +"nutno vždy otestovat) vytvoří souvislou vrstvu létajících ostrovů." #: src/settings_translation_file.cpp msgid "Advanced" @@ -2372,6 +2342,11 @@ msgid "" "This only has significant effect on daylight and artificial\n" "light, it has very little effect on natural night light." msgstr "" +"Změní křivku světla použitím \"gamma korekce\".\n" +"Vysoké hodnoty zesvětlí málo a středně osvětlené prostory.\n" +"Hodnota \"1.0\" nastaví výchozí křivku.\n" +"Tato úprava slouží především pro úpravu denního\n" +"a umělého osvětlení a má pouze malý dopad na noční osvětlení." #: src/settings_translation_file.cpp msgid "Always fly and fast" @@ -2398,9 +2373,8 @@ msgid "Announce server" msgstr "Zveřejnit server" #: src/settings_translation_file.cpp -#, fuzzy msgid "Announce to this serverlist." -msgstr "Zveřejnit server" +msgstr "Oznámit tomuto seznamu serverů." #: src/settings_translation_file.cpp msgid "Append item name" @@ -2431,7 +2405,6 @@ msgid "Ask to reconnect after crash" msgstr "Zeptat se na znovupřipojení po havárii" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "At this distance the server will aggressively optimize which blocks are sent " "to\n" @@ -2445,29 +2418,26 @@ msgid "" "optimization.\n" "Stated in mapblocks (16 nodes)." msgstr "" -"V této vzdálenosti bude server agresivně optimalizovat, které bloky pošle " -"klientům.\n" -"Malé hodnoty mohou mírně zvýšit rychlost, mohou však také způsobit viditelné " -"nedostatky ve vykreslování.\n" -"(některé bloky, zvláště pod vodou, v jeskyních a občas i na zemi, nebudou " -"vykresleny)\n" -"Nastavení této hodnoty na více než max_block_send_distance zakáže " -"optimalizaci.\n" -"Jednotkou je mapblok (16 bloků)" +"V této vzdálenosti bude server razantně optimalizovat výběr bloků,\n" +"které pošle klientům.\n" +"Malé hodnoty mohou zlepšit výkon, však mohou také způsobit chyby\n" +"ve vykreslování (některé bloky, zvláště pod vodou, v jeskyních\n" +"a někdy i na zemi, nebudou vykresleny).\n" +"Nastavení této hodnoty vyšší než max_block_send_distance zakáže vypne\n" +"tuto optimalizaci.\n" +"Jednotkou je mapblok (16 bloků)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatic forward key" -msgstr "Vpřed" +msgstr "Automaticky vpřed klávesa" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." msgstr "Automaticky vyskočit na překážky vysoké 1 blok." #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatically report to the serverlist." -msgstr "Automaticky hlásit seznamu serverů." +msgstr "Automaticky nahlásit do seznamu serverů." #: src/settings_translation_file.cpp msgid "Autosave screen size" @@ -2478,35 +2448,30 @@ msgid "Autoscaling mode" msgstr "Režim automatického přiblížení" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Klávesa skoku" +msgstr "Aux1 klávesa" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Klávesa pro výstup/sestup" +msgstr "Aux1 klávesa pro výstup/sestup" #: src/settings_translation_file.cpp msgid "Backward key" msgstr "Vzad" #: src/settings_translation_file.cpp -#, fuzzy msgid "Base ground level" -msgstr "Výška povrchu země" +msgstr "Základní úroveň povrchu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Base terrain height." -msgstr "Základní výška terénu" +msgstr "Základní výška terénu." #: src/settings_translation_file.cpp msgid "Basic" msgstr "Základní" #: src/settings_translation_file.cpp -#, fuzzy msgid "Basic privileges" msgstr "Základní práva" @@ -2539,24 +2504,20 @@ msgid "Block send optimize distance" msgstr "Optimalizace vzdálenosti vysílání bloku" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold and italic font path" -msgstr "Cesta k neproporcionálnímu písmu" +msgstr "Cesta k tučnému písmu s kurzívou" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold and italic monospace font path" -msgstr "Cesta k neproporcionálnímu písmu" +msgstr "Cesta k tučnému proporcionálnímu písmu s kurzívou" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold font path" -msgstr "Cesta k písmu" +msgstr "Cesta k tučnému písmu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold monospace font path" -msgstr "Cesta k neproporcionálnímu písmu" +msgstr "Cesta k proporcionálnímu písmu" #: src/settings_translation_file.cpp msgid "Build inside player" @@ -2588,7 +2549,7 @@ msgstr "Klávesa pro přepínání aktualizace pohledu" #: src/settings_translation_file.cpp msgid "Cave noise" -msgstr "Šum jeskyní" +msgstr "Šum v jeskynních" #: src/settings_translation_file.cpp msgid "Cave noise #1" @@ -2600,7 +2561,7 @@ msgstr "Šum v jeskynních 2" #: src/settings_translation_file.cpp msgid "Cave width" -msgstr "Šířka jeskyně" +msgstr "Šířka jeskyní" #: src/settings_translation_file.cpp msgid "Cave1 noise" @@ -2627,48 +2588,44 @@ msgid "Cavern threshold" msgstr "Práh jeskynních dutin" #: src/settings_translation_file.cpp -#, fuzzy msgid "Cavern upper limit" -msgstr "Limit jeskynních dutin" +msgstr "Horní hranice jeskynních dutin" #: src/settings_translation_file.cpp msgid "" "Center of light curve boost range.\n" "Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" +"Střed posílené křivky světla.\n" +"0.0 odpovídá nejnižší úrovni, 1.0 odpovídá nejvyšší úrovni světla." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Práh pouštního šumu" +msgstr "Doba do zobrazení času pro příkaz v chatu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat font size" -msgstr "Velikost písma" +msgstr "Velikost písma v chatu" #: src/settings_translation_file.cpp msgid "Chat key" msgstr "Klávesa chatu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat log level" -msgstr "Úroveň minimální důležitosti ladících informací" +msgstr "Úroveň důležitosti ladících informací" #: src/settings_translation_file.cpp msgid "Chat message count limit" msgstr "Omezení počtu zpráv v Chatu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat message format" -msgstr "Zpráva o havárii" +msgstr "Formát zpráv v chatu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat message kick threshold" -msgstr "Práh pouštního šumu" +msgstr "Doba do vyhození zprávy z chatu" #: src/settings_translation_file.cpp msgid "Chat message max length" @@ -2711,9 +2668,8 @@ msgid "Client modding" msgstr "Lokální mody" #: src/settings_translation_file.cpp -#, fuzzy msgid "Client side modding restrictions" -msgstr "Lokální mody" +msgstr "Omezení modování na straně klienta" #: src/settings_translation_file.cpp msgid "Client side node lookup range restriction" @@ -2744,9 +2700,8 @@ msgid "Colored fog" msgstr "Barevná mlha" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Barevná mlha" +msgstr "Zbarvené stíny" #: src/settings_translation_file.cpp msgid "" @@ -2758,6 +2713,13 @@ msgid "" "These flags are independent from Minetest versions,\n" "so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" +"Seznam nastavení ve formátu CSV sloužící k filtrování obsahu repozitáře.\n" +"\"nesvobodné\" slouží pro skrytí balíčků, které se podle definice Free " +"Software Foundation\n" +"neřadí do \"svobodného softwaru\".\n" +"Můžete také zadat hodnocení obsahu.\n" +"Tato nastavení jsou nezávislá na versi Minetestu,\n" +"kompletní seznam na: https://content.minetest.net/help/content_flags/" #: src/settings_translation_file.cpp msgid "" @@ -2806,16 +2768,15 @@ msgstr "Šírka konzole" #: src/settings_translation_file.cpp msgid "ContentDB Flag Blacklist" -msgstr "" +msgstr "ContentDB: Černá listina" #: src/settings_translation_file.cpp msgid "ContentDB Max Concurrent Downloads" -msgstr "" +msgstr "ContentDB Max. souběžných stahování" #: src/settings_translation_file.cpp -#, fuzzy msgid "ContentDB URL" -msgstr "Pokračovat" +msgstr "ContentDB-URL" #: src/settings_translation_file.cpp msgid "Continuous forward" @@ -2826,25 +2787,26 @@ msgid "" "Continuous forward movement, toggled by autoforward key.\n" "Press the autoforward key again or the backwards movement to disable." msgstr "" +"Nepřetržitý pohyb vpřed zapnutý klávesou Automaticky vpřed.\n" +"Stisk klávesy Automaticky vpřed nebo Dozadu, pohyb zruší." #: src/settings_translation_file.cpp msgid "Controls" msgstr "Ovládání" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Controls length of day/night cycle.\n" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" "Ovládání délky denního cyklu.\n" -"Příklad: 72 = 20 minut, 360 = 4 minutý, 1 = 24 hodin, 0 = zůstává pouze noc " -"nebo den." +"Příklad:\n" +"72 = 20 minut, 360 = 4 minuty, 1 = 24 hodin, 0 = zůstává pouze noc nebo den." #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." -msgstr "Ovládá rychlost potápění v kapalinách." +msgstr "Stanovuje rychlost potápění v kapalinách." #: src/settings_translation_file.cpp msgid "Controls steepness/depth of lake depressions." @@ -2860,6 +2822,9 @@ msgid "" "Value >= 10.0 completely disables generation of tunnels and avoids the\n" "intensive noise calculations." msgstr "" +"Stanovuje šířku tunelů. Nižší hodnota vytváří širší tunely.\n" +"Hodnota >= 10.0 úplně vypne generování tunelů, čímž se zruší\n" +"náročné výpočty šumu." #: src/settings_translation_file.cpp msgid "Crash message" @@ -2874,11 +2839,12 @@ msgid "Crosshair alpha" msgstr "Průhlednost zaměřovače" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "Also controls the object crosshair color" -msgstr "Průhlednost zaměřovače (mezi 0 a 255)." +msgstr "" +"Průhlednost zaměřovače (0 až 255).\n" +"Také určuje barvu zaměřovače" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2889,6 +2855,8 @@ msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" +"Barva zaměřovače (R,G,B).\n" +"Také určuje barvu zaměřovače" #: src/settings_translation_file.cpp msgid "DPI" @@ -2903,9 +2871,8 @@ msgid "Debug info toggle key" msgstr "Klávesa pro zobrazení ladících informací" #: src/settings_translation_file.cpp -#, fuzzy msgid "Debug log file size threshold" -msgstr "Práh pouštního šumu" +msgstr "Práh velikosti souboru s ladícími informacemi" #: src/settings_translation_file.cpp msgid "Debug log level" @@ -2917,7 +2884,7 @@ msgstr "Klávesa snížení hlasitosti" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." -msgstr "" +msgstr "Snižte toto pro zvýšení odporu kapalin vůči pohybu." #: src/settings_translation_file.cpp msgid "Dedicated server step" @@ -2952,9 +2919,8 @@ msgid "Default report format" msgstr "Výchozí formát reportů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Default stack size" -msgstr "Výchozí hra" +msgstr "Výchozí velikost hromádky" #: src/settings_translation_file.cpp msgid "" @@ -2962,6 +2928,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or poisson disk\n" "but also uses more resources." msgstr "" +"Určit kvalitu filtrování stínů\n" +"Simuluje efekt měkkých stínů použitím PCF nebo Poissonova disku,\n" +"za využívá většího výkonu." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -2972,14 +2941,12 @@ msgid "Defines areas with sandy beaches." msgstr "Určuje oblasti s písčitými plážemi." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines distribution of higher terrain and steepness of cliffs." -msgstr "Určuje oblasti vyššího terénu (cliff-top) a ovlivňuje strmost útesů." +msgstr "Určuje rozmístění vyššího terénu a strmých útesů." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines distribution of higher terrain." -msgstr "Určuje oblasti spadající pod 'terrain_higher' (cliff-top terén)." +msgstr "Určuje rozmístění vyššího terénu." #: src/settings_translation_file.cpp msgid "Defines full size of caverns, smaller values create larger caverns." @@ -2996,28 +2963,24 @@ msgid "Defines location and terrain of optional hills and lakes." msgstr "Určuje pozici a terén možných hor a jezer." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the base ground level." -msgstr "Určuje lesní oblasti a hustotu stromového porostu." +msgstr "Určuje základní úroveň povrchu." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the depth of the river channel." -msgstr "Určuje lesní oblasti a hustotu stromového porostu." +msgstr "Určuje hloubku říčního koryta." #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "Určuje maximální posun hráče v blocích (0 = neomezený)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river channel." -msgstr "Určuje makroskopickou strukturu koryta řeky." +msgstr "Určuje šířku říčního koryta." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river valley." -msgstr "Určuje oblasti, kde stromy nesou plody." +msgstr "Určuje šířku údolí řeky." #: src/settings_translation_file.cpp msgid "Defines tree areas and tree density." @@ -3045,13 +3008,12 @@ msgid "Deprecated Lua API handling" msgstr "Zacházení se zastaralým Lua API" #: src/settings_translation_file.cpp -#, fuzzy msgid "Depth below which you'll find giant caverns." -msgstr "Hloubka pod kterou najdete velké jeskyně." +msgstr "Hloubka, pod kterou se nachází velké jeskynní dutiny." #: src/settings_translation_file.cpp msgid "Depth below which you'll find large caves." -msgstr "Hloubka pod kterou najdete velké jeskyně." +msgstr "Hloubka, pod kterou se nachází velké jeskyně." #: src/settings_translation_file.cpp msgid "" @@ -3066,22 +3028,20 @@ msgid "Desert noise threshold" msgstr "Práh pouštního šumu" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Deserts occur when np_biome exceeds this value.\n" "When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" "Pouště se objeví v místech, kde 'np_biome' přesahuje tuto hodnotu.\n" -"Pokud je zapnutý nový systém biomů, toto nastavení nemá vliv." +"Ignorováno, pokud je zapnuté nastavení \"snowbiomes\"." #: src/settings_translation_file.cpp msgid "Desynchronize block animation" msgstr "Nesynchronizovat animace bloků" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dig key" -msgstr "Klávesa doprava" +msgstr "Klávesa těžení" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3112,28 +3072,28 @@ msgid "Drop item key" msgstr "Klávesa vyhození předmětu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dump the mapgen debug information." -msgstr "Vypsat ladící informace mapgenu." +msgstr "Vypsat ladící informace z Generátoru mapy." #: src/settings_translation_file.cpp msgid "Dungeon maximum Y" -msgstr "" +msgstr "Horní hranice Y pro žaláře" #: src/settings_translation_file.cpp msgid "Dungeon minimum Y" -msgstr "" +msgstr "Dolní hranice Y pro žaláře" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dungeon noise" -msgstr "Šum hřbetů" +msgstr "Šum žalářů" #: src/settings_translation_file.cpp msgid "" "Enable IPv6 support (for both client and server).\n" "Required for IPv6 connections to work at all." msgstr "" +"Zapnout podporu IPv6 (pro klienta i server).\n" +"Požadováno pro IPv6 připojení." #: src/settings_translation_file.cpp msgid "" @@ -3148,25 +3108,25 @@ msgid "" "Enable colored shadows. \n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Zanout zbarvené stíny.\n" +"Po zapnutí vrhají průhledné předměty zbarvené stíny. Toto má velký vliv na " +"výkon." #: src/settings_translation_file.cpp msgid "Enable console window" msgstr "Povolit konzolové okno" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "Zapnout kreativní mód pro nové mapy." +msgstr "Zapnout kreativní mód pro všechny hráče" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable joysticks" msgstr "Zapnout joysticky" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable mod channels support." -msgstr "Zapnout zabezpečení módů" +msgstr "" #: src/settings_translation_file.cpp msgid "Enable mod security" @@ -3182,6 +3142,9 @@ msgid "" "On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Zapnout filtrování Poissoným diskem.\n" +"Pokud je zapnuto, využívá Poissonův disk pro generování \"měkkých stínů\". V " +"opačném případě je využito filtrování PCF." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -3189,13 +3152,15 @@ msgstr "Povolit náhodný uživatelský vstup (pouze pro testování)." #: src/settings_translation_file.cpp msgid "Enable register confirmation" -msgstr "" +msgstr "Zapnout potvrzení registrace" #: src/settings_translation_file.cpp msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" +"Zapnout potvrzení registrace pro připojení na server.\n" +"Pokud je toto vypnuto, je nový účet registrován automaticky." #: src/settings_translation_file.cpp msgid "" @@ -3234,6 +3199,8 @@ msgid "" "Enable vertex buffer objects.\n" "This should greatly improve graphics performance." msgstr "" +"Zapnout objekty vyrovnávací paměti vertexů.\n" +"Toto by mělo výrazně zlepšit grafický výkon." #: src/settings_translation_file.cpp msgid "" @@ -3244,15 +3211,14 @@ msgstr "" "Např.: 0 pro žádné, 1.0 pro normální a 2.0 pro dvojité klepání." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable/disable running an IPv6 server.\n" "Ignored if bind_address is set.\n" "Needs enable_ipv6 to be enabled." msgstr "" -"Povolit/zakázat spouštění IPv6 serveru. IPv6 server může podle\n" -"systémového nastevení být omezen pouze na klienty s IPv6.\n" -"Nemá vliv, pokud je 'bind_address' nastaveno." +"Povolit/zakázat spuštění IPv6 serveru.\n" +"Ignorováno, pokud je 'bind_address' nastaveno.\n" +"Je třeba mít povoleno enable_ipv6." #: src/settings_translation_file.cpp msgid "" @@ -3261,6 +3227,10 @@ msgid "" "appearance of high dynamic range images. Mid-range contrast is slightly\n" "enhanced, highlights and shadows are gradually compressed." msgstr "" +"Zapíná Hableho \"Uncharted 2\" filmové mapování odstínů.\n" +"Simuluje křivku odstínu fotografického filmu a tím přibližný vzhled\n" +"obrázků s vysokým dynamickým rozsahem (HDR). Kontrast středních\n" +"hodnot je lehce zvýšený, vysoké a nízké hodnoty jsou postupně komprimovány." #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." @@ -3281,6 +3251,10 @@ msgid "" "sound controls will be non-functional.\n" "Changing this setting requires a restart." msgstr "" +"Zapíná zvukový systém.\n" +"Vypnutí má za náledek úplné ztlumení všech zvuků\n" +"a zvukového ovládání ve hře.\n" +"Změna tohoto nastavení vyžaduje restart." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3299,10 +3273,16 @@ msgid "" "Values < 1.0 (for example 0.25) create a more defined surface level with\n" "flatter lowlands, suitable for a solid floatland layer." msgstr "" +"Exponent pro zužování létajících ostrovů. Mění míru zúžení.\n" +"Hodnota = 1.0 vytvoří rovnoměrné přímé zúžení.\n" +"Hodnoty > 1.0 vytvoří hladké zúžení vhodné pro výchozí oddělené\n" +"létající ostrovy.\n" +"Hodnoty < 1.0 (např. 0.25) vytvoří výraznější úroveň povrchu\n" +"s rovinatějšími nížinami, vhodné pro souvislou vrstvu létajících ostrovů." #: src/settings_translation_file.cpp msgid "FPS when unfocused or paused" -msgstr "" +msgstr "Snímky za sekundu (FPS) při pauze či hře běžící na pozadí" #: src/settings_translation_file.cpp msgid "FSAA" @@ -3317,9 +3297,8 @@ msgid "Fall bobbing factor" msgstr "Součinitel houpání pohledu při pádu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fallback font path" -msgstr "Záložní písmo" +msgstr "Cesta k záložnímu písmu" #: src/settings_translation_file.cpp msgid "Fast key" @@ -3338,12 +3317,11 @@ msgid "Fast movement" msgstr "Turbo režim pohybu" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Turbo režim pohybu (pomocí klávesy použít).\n" +"Turbo režim pohybu (pomocí klávesy \"Aux1\").\n" "Vyžaduje na serveru přidělené právo \"fast\"." #: src/settings_translation_file.cpp @@ -3355,17 +3333,15 @@ msgid "Field of view in degrees." msgstr "Úhel pohledu ve stupních." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "File in client/serverlist/ that contains your favorite servers displayed in " "the\n" "Multiplayer Tab." msgstr "" "Soubor v client/serverlist/, který obsahuje oblíbené servery zobrazené na " -"záložce 'Online hra'." +"záložce 'Multiplayer'." #: src/settings_translation_file.cpp -#, fuzzy msgid "Filler depth" msgstr "Hloubka výplně" @@ -3378,7 +3354,6 @@ msgid "Filmic tone mapping" msgstr "Filmový tone mapping" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3386,20 +3361,19 @@ msgid "" "at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" "Okraje filtrovaných textur se mohou mísit s průhlednými sousedními pixely,\n" -"které PNG optimizery obvykle zahazují. To může vyústit v tmavý nebo světlý\n" -"lem okolo hran. Zapnutí tohoto filtru problém řeší při načítání textur." +"které PNG optimizery obvykle zahazují. To může vyústit v tmavé nebo světlé\n" +"okraje hran. Zapnutí tohoto filtru problém řeší při načítání textur.\n" +"Toto nastavení je automaticky zapnuto, pokud je povoleno Mip-Mapování." #: src/settings_translation_file.cpp msgid "Filtering" msgstr "Filtrování" #: src/settings_translation_file.cpp -#, fuzzy msgid "First of 4 2D noises that together define hill/mountain range height." -msgstr "První ze dvou 3D šumů, které dohromady definují tunely." +msgstr "První ze 4 2D šumů, které dohromady definují rozsah výšek kopců/hor." #: src/settings_translation_file.cpp -#, fuzzy msgid "First of two 3D noises that together define tunnels." msgstr "První ze dvou 3D šumů, které dohromady definují tunely." @@ -3409,42 +3383,35 @@ msgstr "Fixované seedové čislo" #: src/settings_translation_file.cpp msgid "Fixed virtual joystick" -msgstr "" +msgstr "Nepohyblivý virtuální joystick" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland density" -msgstr "Koncentrace hor na létajících ostrovech" +msgstr "Hustota létajících ostrovů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland maximum Y" -msgstr "Výška hor na létajících ostrovech" +msgstr "Létajících ostrovy: Max. Y" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland minimum Y" -msgstr "Výška hor na létajících ostrovech" +msgstr "Létajících ostrovy: Min. Y" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland noise" -msgstr "Základní šum létajících ostrovů" +msgstr "Šum létajících ostrovů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland taper exponent" -msgstr "Koncentrace hor na létajících ostrovech" +msgstr "Exponent zúžení létajících ostrovů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland tapering distance" -msgstr "Základní šum létajících ostrovů" +msgstr "Vzdálenost zužování létajících ostrovů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland water level" -msgstr "Výška létajících ostrovů" +msgstr "Hladina vody na létajících ostrovech" #: src/settings_translation_file.cpp msgid "Fly key" @@ -3459,7 +3426,6 @@ msgid "Fog" msgstr "Mlha" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fog start" msgstr "Začátek mlhy" @@ -3469,11 +3435,11 @@ msgstr "Klávesa pro přepnutí mlhy" #: src/settings_translation_file.cpp msgid "Font bold by default" -msgstr "" +msgstr "Tučné písmo jako výchozí" #: src/settings_translation_file.cpp msgid "Font italic by default" -msgstr "" +msgstr "Kurzíva jako výchozí" #: src/settings_translation_file.cpp msgid "Font shadow" @@ -3489,17 +3455,19 @@ msgstr "Velikost písma" #: src/settings_translation_file.cpp msgid "Font size of the default font in point (pt)." -msgstr "" +msgstr "Velikost výchozího písma v bodech (pt)." #: src/settings_translation_file.cpp msgid "Font size of the monospace font in point (pt)." -msgstr "" +msgstr "Velikost proporcionálního písma v bodech (pt)." #: src/settings_translation_file.cpp msgid "" "Font size of the recent chat text and chat prompt in point (pt).\n" "Value 0 will use the default font size." msgstr "" +"Velikost písma posledního textu a výzvy v chatu v bodech (pt).\n" +"Výchozí velikost písma se nastaví hodnotou 0." #: src/settings_translation_file.cpp msgid "" @@ -3507,6 +3475,8 @@ msgid "" "placeholders:\n" "@name, @message, @timestamp (optional)" msgstr "" +"Formát hráčovy zprávy v chatu. Řetězec níže obsahuje platné zástupce:\n" +"@name, @message, @timestamp (optional)" #: src/settings_translation_file.cpp msgid "Format of screenshots." @@ -3514,50 +3484,44 @@ msgstr "Formát snímků obrazovky." #: src/settings_translation_file.cpp msgid "Formspec Default Background Color" -msgstr "" +msgstr "Konzole Výchozí barva pozadí" #: src/settings_translation_file.cpp msgid "Formspec Default Background Opacity" -msgstr "" +msgstr "Konzole Výchozí průhlednost pozadí" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Color" -msgstr "" +msgstr "Konzole Barva pozadí při zobrazení na celé obrazovce" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Opacity" -msgstr "" +msgstr "Konzole Průhlednost pozadí při zobrazení na celé obrazovce" #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec default background color (R,G,B)." -msgstr "Barva (R,G,B) pozadí herní chatovací konzole." +msgstr "Konzole Výchozí barva pozadí (R,G,B)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec default background opacity (between 0 and 255)." -msgstr "" -"Průhlednost pozadí herní chatovací konzole (neprůhlednost, mezi 0 a 255)." +msgstr "Konzole Výchozí průhlednost pozadí (0 až 255)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec full-screen background color (R,G,B)." -msgstr "Barva (R,G,B) pozadí herní chatovací konzole." +msgstr "Konzole Barva pozadí při zobrazení na celou obrazovku (R,G,B)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec full-screen background opacity (between 0 and 255)." -msgstr "" -"Průhlednost pozadí herní chatovací konzole (neprůhlednost, mezi 0 a 255)." +msgstr "Konzole Průhlednost pozadí při zobrazení na celou obrazovku (0 až 255)." #: src/settings_translation_file.cpp msgid "Forward key" msgstr "Vpřed" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fourth of 4 2D noises that together define hill/mountain range height." -msgstr "První ze dvou 3D šumů, které dohromady definují tunely." +msgstr "" +"Čtvrtý ze čtyř 2D šumů, které dohromady definují rozsah výšek kopců/hor." #: src/settings_translation_file.cpp msgid "Fractal type" @@ -3568,7 +3532,6 @@ msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "Podíl viditelné vzdálenosti, na kterém začne být mlha vykreslována" #: src/settings_translation_file.cpp -#, fuzzy msgid "FreeType fonts" msgstr "Písma Freetype" @@ -3577,15 +3540,15 @@ msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " "nodes)." msgstr "" -"Maximální vzdálenost, ve které jsou klientům generovány bloky, určená\n" -"v mapblocích (16 bloků)." +"Vzdálenost, ve které jsou klientům generovány bloky, určená v mapblocích (16 " +"bloků)." #: src/settings_translation_file.cpp msgid "" "From how far blocks are sent to clients, stated in mapblocks (16 nodes)." msgstr "" -"Maximální vzdálenost, ve které jsou klientům odeslány bloky, určená\n" -"v mapblocích (16 bloků)." +"Vzdálenost, ze které jsou klientům odesílány bloky, určená v mapblocích (16 " +"bloků)." #: src/settings_translation_file.cpp msgid "" @@ -3595,6 +3558,11 @@ msgid "" "to maintain active objects up to this distance in the direction the\n" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" +"Vzdálenost, na kterou má klient inforamace o objektech,\n" +"určená v mapblocích (16 bloků).\n" +"Nastavení této hodnoty výše než active_block_range umožní serveru\n" +"udržet v paměti aktivní objekty až do této vzdálenosti ve směru hráčova\n" +"pohledu. (Toto může předejít náhlému mizení postav)" #: src/settings_translation_file.cpp msgid "Full screen" @@ -3621,30 +3589,31 @@ msgid "Global callbacks" msgstr "Globální callback funkce" #: src/settings_translation_file.cpp -#, fuzzy 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." msgstr "" "Globální parametry generování mapy.\n" -"V mapgenu v6 ovládal příznak 'decorations' všechny dekorace kromě\n" -"stromů a tropické trávy. V ostatních mapgenech tento příznak řídí\n" -"všechny dekorace.\n" -"Neuvedené příznaky zůstávají ve výchozím stavu.\n" -"Příznaky začínající na 'no' slouží k zakázání možnosti." +"V Generátoru mapy v6 ovládá nastavení \"decorations\" všechny dekorace\n" +"kromě stromů a tropické trávy, ve všech ostatních verzích Generátoru mapy\n" +"ovládá toto nastavení všechny dekorace." #: src/settings_translation_file.cpp msgid "" "Gradient of light curve at maximum light level.\n" "Controls the contrast of the highest light levels." msgstr "" +"Gradient křivky světla na nejvyšší úrovni světla.\n" +"Určuje kontrast nejvyšších světelných hodnot." #: src/settings_translation_file.cpp msgid "" "Gradient of light curve at minimum light level.\n" "Controls the contrast of the lowest light levels." msgstr "" +"Gradient křivky světla na nejnižší úrovni světla.\n" +"Určuje kontrast nejnižších světelných hodnot." #: src/settings_translation_file.cpp msgid "Graphics" @@ -3659,14 +3628,12 @@ msgid "Ground level" msgstr "Výška povrchu země" #: src/settings_translation_file.cpp -#, fuzzy msgid "Ground noise" -msgstr "Výška povrchu země" +msgstr "Šum povrchu" #: src/settings_translation_file.cpp -#, fuzzy msgid "HTTP mods" -msgstr "HTTP mody" +msgstr "HTTP režimy" #: src/settings_translation_file.cpp msgid "HUD scale factor" @@ -3677,7 +3644,6 @@ msgid "HUD toggle key" msgstr "Klávesa pro přepnutí HUD (Head-Up Display)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Handling for deprecated Lua API calls:\n" "- none: Do not log deprecated calls\n" @@ -3685,7 +3651,7 @@ msgid "" "- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" "Zacházení s voláními zastaralého Lua API:\n" -"- legacy: pokusí se napodobit staré chování (výchozí pro release).\n" +"- none: Nezaznamenávat zastaralá volání\n" "- log: pokusí se napodobit staré chování a zaznamená backtrace volání\n" " (výchozí pro debug).\n" "- error: při volání zastaralé funkce skončit (doporučeno vývojářům modů)." @@ -3712,10 +3678,11 @@ msgid "Heat noise" msgstr "Tepelný šum" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Výšková část počáteční velikosti okna." +msgstr "" +"Výškový parametr počáteční velikosti okna. Ignorováno v režimu na celé " +"obrazovce." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3734,24 +3701,20 @@ msgid "Hill threshold" msgstr "Práh kopců" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hilliness1 noise" -msgstr "Tepelný šum" +msgstr "Šum kopcovitosti1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hilliness2 noise" -msgstr "Tepelný šum" +msgstr "Šum kopcovitosti2" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hilliness3 noise" -msgstr "Tepelný šum" +msgstr "Šum kopcovitosti3" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hilliness4 noise" -msgstr "Tepelný šum" +msgstr "Šum kopcovitosti4" #: src/settings_translation_file.cpp msgid "Homepage of server, to be displayed in the serverlist." @@ -3762,18 +3725,24 @@ msgid "" "Horizontal acceleration in air when jumping or falling,\n" "in nodes per second per second." msgstr "" +"Horizontální zrychlení ve vzduchu při skoku nebo pádu,\n" +"určeno v blocích za sekundu za sekundu." #: src/settings_translation_file.cpp msgid "" "Horizontal and vertical acceleration in fast mode,\n" "in nodes per second per second." msgstr "" +"Horizontální a vertikální zrychlení v rychlém režimu,\n" +"určeno v blocích za sekundu za sekundu." #: src/settings_translation_file.cpp msgid "" "Horizontal and vertical acceleration on ground or when climbing,\n" "in nodes per second per second." msgstr "" +"Horizontální a vertikální zrychlení na zemi nebo při lezení,\n" +"určeno v blocích za sekundu za sekundu." #: src/settings_translation_file.cpp msgid "Hotbar next key" @@ -3784,169 +3753,136 @@ msgid "Hotbar previous key" msgstr "Klávesa pro předchozí věc v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 1 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 1 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 10 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 10 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 11 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 11 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 12 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 12 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 13 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 13 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 14 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 14 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 15 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 15 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 16 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 16 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 17 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 17 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 18 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 18 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 19 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 19 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 2 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 2 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 20 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 20 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 21 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 21 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 22 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 22 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 23 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 23 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 24 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 24 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 25 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 25 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 26 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 26 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 27 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 27 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 28 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 28 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 29 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 29 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 3 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 3 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 30 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 30 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 31 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 31 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 32 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 32 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 4 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 4 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 5 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 5 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 6 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 6 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 7 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 7 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 8 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 8 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "Hotbar slot 9 key" -msgstr "Klávesa pro následující věc v liště předmětů" +msgstr "Klávesa pro přihrádku 9 v liště předmětů" #: src/settings_translation_file.cpp -#, fuzzy msgid "How deep to make rivers." -msgstr "Jak hluboké dělat řeky" +msgstr "Jak hluboké dělat řeky." #: src/settings_translation_file.cpp msgid "" @@ -3954,6 +3890,9 @@ msgid "" "If negative, liquid waves will move backwards.\n" "Requires waving liquids to be enabled." msgstr "" +"Rychlost pohybu vln v kapalinách. Vyšší = rychlejší.\n" +"Záporné hodnoty vytvoří vlny jdoucí pozpátku.\n" +"Vyžaduje zapnuté vlnění kapalin." #: src/settings_translation_file.cpp msgid "" @@ -3964,9 +3903,8 @@ msgstr "" "Vyšší hodnota zlepší rychlost programu, ale také způsobí větší spotřebu RAM." #: src/settings_translation_file.cpp -#, fuzzy msgid "How wide to make rivers." -msgstr "Jak široké dělat řeky" +msgstr "Jak široké dělat řeky." #: src/settings_translation_file.cpp msgid "Humidity blend noise" @@ -3997,14 +3935,12 @@ msgstr "" "omezit ji vyčkáváním, aby se zbytečně neplýtvalo výkonem CPU." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"V zakázaném stavu způsobí, že klávesa \"použít\" je použita k aktivaci " -"turba\n" -"v režimu létání." +"Pokud je vypnuto, klávesa \"Aux1\" je , při zapnutém létání\n" +"a rychlém režimu, použita k rychlému létání." #: src/settings_translation_file.cpp msgid "" @@ -4030,14 +3966,13 @@ msgstr "" "K tomu je potřeba mít na serveru oprávnění \"noclip\"." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Když zapnuto, místo klávesy \"plížit se\" se ke slézání a potápění používá " -"klávese \"použít\"." +"Pokud je zapnuto, je klávesa \"Aux1\" využita pro sestup\n" +"namísto klávesy \"Plížení\"." #: src/settings_translation_file.cpp msgid "" @@ -4064,6 +3999,8 @@ msgid "" "If enabled, makes move directions relative to the player's pitch when flying " "or swimming." msgstr "" +"Pokud je zapnuto, je směr pohybu, při létání nebo plavání, závislý na úhlu " +"hráčova pohledu." #: src/settings_translation_file.cpp msgid "If enabled, new players cannot join with an empty password." @@ -4085,12 +4022,16 @@ msgid "" "limited\n" "to this distance from the player to the node." msgstr "" +"Pokud je omezení CSM pro vzdálenost bloků povoleno, jsou volání get_node\n" +"omezena na tuto vzdálenost hráče od bloku." #: src/settings_translation_file.cpp msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Pokud je doba výkonu příkazu z chatu delší než zadaný čas v sekundách,\n" +"přidej informaci o čase do příkazu v chatu" #: src/settings_translation_file.cpp msgid "" @@ -4099,6 +4040,11 @@ msgid "" "deleting an older debug.txt.1 if it exists.\n" "debug.txt is only moved if this setting is positive." msgstr "" +"Pokud velikost souboru debug.txt po otevření přesáhne počet megabytů určený\n" +"tímto nastavením, bude soubor přesunut do debug.txt.1 (toto vymaže původní " +"debug.txt.1,\n" +"pokud existuje).\n" +"debug.txt je přesunut pouze pokud je toto nastavení platné." #: src/settings_translation_file.cpp msgid "If this is set, players will always (re)spawn at the given position." @@ -4114,8 +4060,7 @@ msgstr "Ve hře" #: src/settings_translation_file.cpp msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." -msgstr "" -"Průhlednost pozadí herní chatovací konzole (neprůhlednost, mezi 0 a 255)." +msgstr "Průhlednost pozadí herní chatovací konzole (neprůhlednost, 0 až 255)." #: src/settings_translation_file.cpp msgid "In-game chat console background color (R,G,B)." @@ -4133,7 +4078,7 @@ msgstr "Klávesa zvýšení hlasitosti" #: src/settings_translation_file.cpp msgid "Initial vertical speed when jumping, in nodes per second." -msgstr "" +msgstr "Počáteční vertikální rychlost skoku v blocích za sekundu." #: src/settings_translation_file.cpp msgid "" @@ -4198,14 +4143,12 @@ msgid "Invert vertical mouse movement." msgstr "Obrátit svislý pohyb myši." #: src/settings_translation_file.cpp -#, fuzzy msgid "Italic font path" -msgstr "Cesta k neproporcionálnímu písmu" +msgstr "Cesta k písmu s kurzívou" #: src/settings_translation_file.cpp -#, fuzzy msgid "Italic monospace font path" -msgstr "Cesta k neproporcionálnímu písmu" +msgstr "Cesta k proporcionálnímu písmu s kurzívou" #: src/settings_translation_file.cpp msgid "Item entity TTL" @@ -4222,6 +4165,10 @@ msgid "" "increases processing load.\n" "At iterations = 20 this mapgen has a similar load to mapgen V7." msgstr "" +"Opakování rekurzivní funkce.\n" +"Zvýšení hodnoty vede ke zlepšení detailů, ale také zvyšuje nároky na výkon.\n" +"Při opakování = 20 má tento Generátor mapy podobné nároky jako\n" +"Generátor mapy v7." #: src/settings_translation_file.cpp msgid "Joystick ID" @@ -4232,21 +4179,18 @@ msgid "Joystick button repetition interval" msgstr "Interval opakování tlačítek joysticku" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick deadzone" -msgstr "Typ joysticku" +msgstr "Mrtvá zóna joysticku" #: src/settings_translation_file.cpp msgid "Joystick frustum sensitivity" msgstr "Citlivost otáčení pohledu joystickem" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick type" msgstr "Typ joysticku" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Julia set only.\n" "W component of hypercomplex constant.\n" @@ -4254,44 +4198,47 @@ msgid "" "Has no effect on 3D fractals.\n" "Range roughly -2 to 2." msgstr "" -"Julia udává jen: W komponet hyperkomplexu konstantní určení tvaru Julie.\n" -"Nemá efekt na 3D fraktálech.\n" -"Rozsah zhruba -2 až 2." +"Pouze pro set Julia.\n" +"Komponenta W hyperkomplexní konstanty.\n" +"Mění tvar fraktálu.\n" +"Nemá žádný vliv na 3D fraktály.\n" +"Rozmezí přibližně -2 až 2." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Julia set only.\n" "X component of hypercomplex constant.\n" "Alters the shape of the fractal.\n" "Range roughly -2 to 2." msgstr "" -"Julia udává jen: komponet X hyperkomplexu konstantího udávání tvaru julie.\n" -"Rozsah zhruba -2 až 2." +"Pouze pro set Julia.\n" +"Komponenta X hyperkomplexní konstanty.\n" +"Mění tvar fraktálu.\n" +"Rozmezí přibližně -2 až 2." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Julia set only.\n" "Y component of hypercomplex constant.\n" "Alters the shape of the fractal.\n" "Range roughly -2 to 2." msgstr "" -"Julia udává jen: W komponet hyperkomplexu konstantní určení tvaru Julie.\n" -"Nemá efekt na 3D fraktálech.\n" -"Rozsah zhruba -2 až 2." +"Pouze pro set Julia.\n" +"Komponenta Y hyperkomplexní konstanty.\n" +"Mění tvar fraktálu.\n" +"Rozmezí přibližně -2 až 2." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Julia set only.\n" "Z component of hypercomplex constant.\n" "Alters the shape of the fractal.\n" "Range roughly -2 to 2." msgstr "" -"Julia udává jen: W komponet hyperkomplexu konstantní určení tvaru Julie.\n" -"Nemá efekt na 3D fraktálech.\n" -"Rozsah zhruba -2 až 2." +"Pouze pro set Julia.\n" +"Komponenta Z hyperkomplexní konstanty.\n" +"Mění tvar fraktálu.\n" +"Rozmezí přibližně -2 až 2." #: src/settings_translation_file.cpp msgid "Julia w" @@ -4338,13 +4285,12 @@ msgstr "" "html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Key for digging.\n" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"klávesy pro snížení hlasitosti.\n" +"Klávesa pro těžení\n" "viz. http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4374,6 +4320,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro zvýšení hlasitosti\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4381,6 +4330,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro skok.\n" +"viz. See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4388,16 +4340,19 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro rychlý pohyb v rychlém režimu.\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Key for moving the player backward.\n" "Will also disable autoforward, when active.\n" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Klávesa pro odhození právě drženého předmětu.\n" +"Klávesa pro pohyb hráče zpět.\n" +"Také vypne automatický pohyb vpřed, pokud je zapnutý.\n" "viz. http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4407,6 +4362,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro pohyb hráče vpřed.\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4414,6 +4372,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro pohyb hráče doleva.\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4421,6 +4382,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro pohyb hráče doprava.\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4428,6 +4392,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro ztlumení hry.\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4435,6 +4402,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Klávesa pro otevření okna chatu za účelem zadání příkazů.\n" +"viz. http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4987,15 +4957,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Kick players who sent more than X messages per 10 seconds." -msgstr "" +msgstr "Vyhodit hráče, který poslal více jak X zpráv během 10 sekund." #: src/settings_translation_file.cpp msgid "Lake steepness" -msgstr "" +msgstr "Strmost jezer" #: src/settings_translation_file.cpp msgid "Lake threshold" -msgstr "" +msgstr "Strmost jezer" #: src/settings_translation_file.cpp msgid "Language" @@ -5003,19 +4973,19 @@ msgstr "Jazyk" #: src/settings_translation_file.cpp msgid "Large cave depth" -msgstr "Hloubka velké jeskyně" +msgstr "Hloubka velkých jeskyní" #: src/settings_translation_file.cpp msgid "Large cave maximum number" -msgstr "" +msgstr "Horní hranice velkých jeskyní" #: src/settings_translation_file.cpp msgid "Large cave minimum number" -msgstr "" +msgstr "Spodní hranice velkých jeskyní" #: src/settings_translation_file.cpp msgid "Large cave proportion flooded" -msgstr "" +msgstr "Poměr zatopení velkých jeskyní" #: src/settings_translation_file.cpp msgid "Large chat console key" @@ -5032,6 +5002,11 @@ msgid "" "- Simple: only outer faces, if defined special_tiles are used\n" "- Opaque: disable transparency" msgstr "" +"Styl listí:\n" +"- Vícevrstevné: všechny plochy jsou viditelné\n" +"- Jednoduché: pouze vnější plochy, pokud je definováno special_tiles, jsou " +"použity\n" +"- Neprůhledné: vypne průhlednost" #: src/settings_translation_file.cpp msgid "Left key" @@ -5043,24 +5018,28 @@ msgid "" "updated over\n" "network." msgstr "" +"Frekvence aktualizece objektů na serveru.\n" +"Určeno v délce jedné periody." #: src/settings_translation_file.cpp msgid "" "Length of liquid waves.\n" "Requires waving liquids to be enabled." msgstr "" +"Délka vln v kapalinách.\n" +"Vyžaduje zapnuté vlnění kapalin." #: src/settings_translation_file.cpp msgid "Length of time between Active Block Modifier (ABM) execution cycles" -msgstr "" +msgstr "Frekvence vykonání cyklů Active Block Modifieru (ABM)" #: src/settings_translation_file.cpp msgid "Length of time between NodeTimer execution cycles" -msgstr "" +msgstr "Frekvence vykonání cyklů ČasovačeBloku" #: src/settings_translation_file.cpp msgid "Length of time between active block management cycles" -msgstr "" +msgstr "Frekvence vykonání cyklů aktivní správy bloků" #: src/settings_translation_file.cpp msgid "" @@ -5073,30 +5052,38 @@ msgid "" "- info\n" "- verbose" msgstr "" +"Úroveň ladících informací zapsaných do debug.txt:\n" +"- (žádné ladící informace)\n" +"- none (zprávy budou vypsány bez patřičné úrovně)\n" +"- error (chyba)\n" +"- warning (varování)\n" +"- action (akce)\n" +"- info (informace)\n" +"- verbose (slovně)" #: src/settings_translation_file.cpp msgid "Light curve boost" -msgstr "" +msgstr "Posílení křivky světla" #: src/settings_translation_file.cpp msgid "Light curve boost center" -msgstr "" +msgstr "Posílení křivky světla Středy" #: src/settings_translation_file.cpp msgid "Light curve boost spread" -msgstr "" +msgstr "Posílení křivky světla Šíření" #: src/settings_translation_file.cpp msgid "Light curve gamma" -msgstr "" +msgstr "Křivka světla Gamma" #: src/settings_translation_file.cpp msgid "Light curve high gradient" -msgstr "" +msgstr "Křivka světla Vysoký gradient" #: src/settings_translation_file.cpp msgid "Light curve low gradient" -msgstr "" +msgstr "Křivka světla Nízký gradient" #: src/settings_translation_file.cpp msgid "" @@ -5104,6 +5091,9 @@ msgid "" "Only mapchunks completely within the mapgen limit are generated.\n" "Value is stored per-world." msgstr "" +"Limit generování mapy v blocích, ve všech 6 směrech od (0,0,0).\n" +"Generují se pouze kusy nacházející se kompletně v zadaném limitu.\n" +"Tato hodnota je unikátní pro každý svět." #: src/settings_translation_file.cpp msgid "" @@ -5113,39 +5103,43 @@ msgid "" "- Downloads performed by main menu (e.g. mod manager).\n" "Only has an effect if compiled with cURL." msgstr "" +"Omezuje počet paralelních HTTP požadavků. Má vliv na:\n" +"- Načítání multimédií, pokud server používá nastavení remote_media.\n" +"- Stahování seznamu serverů a oznámení na serveru.\n" +"- Stahování prováděná přes hlavní nabídku (např. Správce modů).\n" +"Má vliv pouze v případě kompilace přes cURL." #: src/settings_translation_file.cpp msgid "Liquid fluidity" -msgstr "" +msgstr "Tekutost kapalin" #: src/settings_translation_file.cpp msgid "Liquid fluidity smoothing" -msgstr "" +msgstr "Vyhlazení tekutosti kapalin" #: src/settings_translation_file.cpp msgid "Liquid loop max" -msgstr "" +msgstr "Horní hranice kapalinového cyklu" #: src/settings_translation_file.cpp msgid "Liquid queue purge time" -msgstr "" +msgstr "Doba vymazání fronty kapalin" #: src/settings_translation_file.cpp -#, fuzzy msgid "Liquid sinking" -msgstr "Rychlost sestupu" +msgstr "Rychlost stékání kapalin" #: src/settings_translation_file.cpp msgid "Liquid update interval in seconds." -msgstr "" +msgstr "Frekvence aktualizace kapalin v sekundách." #: src/settings_translation_file.cpp msgid "Liquid update tick" -msgstr "" +msgstr "Jeden cyklus aktualizace kapalin" #: src/settings_translation_file.cpp msgid "Load the game profiler" -msgstr "" +msgstr "Načíst profilování hry" #: src/settings_translation_file.cpp msgid "" @@ -5153,19 +5147,21 @@ msgid "" "Provides a /profiler command to access the compiled profile.\n" "Useful for mod developers and server operators." msgstr "" +"Načíst profilování hry pro sběr profilovacích dat.\n" +"Umožňuje použít příkaz /profiler pro přístup ke zkopilovanému profilu.\n" +"Užitečné pro vývojáře modů a provozovatele serverů." #: src/settings_translation_file.cpp msgid "Loading Block Modifiers" -msgstr "" +msgstr "Loading Block Modifiery" #: src/settings_translation_file.cpp msgid "Lower Y limit of dungeons." -msgstr "" +msgstr "Spodní hranice Y pro žaláře." #: src/settings_translation_file.cpp -#, fuzzy msgid "Lower Y limit of floatlands." -msgstr "Maximální počet emerge front" +msgstr "Spodní hranice Y pro létající ostrovy." #: src/settings_translation_file.cpp msgid "Main menu script" @@ -5175,53 +5171,46 @@ msgstr "Skript hlavní nabídky" msgid "" "Make fog and sky colors depend on daytime (dawn/sunset) and view direction." msgstr "" +"Barva mlhy a oblohy záleží na denní době (svítání/soumrak) a na směru " +"pohledu." #: src/settings_translation_file.cpp msgid "Makes all liquids opaque" -msgstr "" +msgstr "Udělá všechny kapaliny neprůhledné" #: src/settings_translation_file.cpp msgid "Map Compression Level for Disk Storage" -msgstr "" +msgstr "Úroveň komprese mapy pro pevné úložiště" #: src/settings_translation_file.cpp msgid "Map Compression Level for Network Transfer" -msgstr "" +msgstr "Úroveň komprese mapy pro přenost internetem" #: src/settings_translation_file.cpp msgid "Map directory" -msgstr "" +msgstr "Směr mapy" #: src/settings_translation_file.cpp msgid "Map generation attributes specific to Mapgen Carpathian." -msgstr "" +msgstr "Parametry generování mapy pro Generátor mapy - Carpathian." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen Flat.\n" "Occasional lakes and hills can be added to the flat world." msgstr "" -"Globální parametry generování mapy.\n" -"V mapgenu v6 ovládal příznak 'decorations' všechny dekorace kromě\n" -"stromů a tropické trávy. V ostatních mapgenech tento příznak řídí\n" -"všechny dekorace.\n" -"Neuvedené příznaky zůstávají ve výchozím stavu.\n" -"Příznaky začínající na 'no' slouží k zakázání možnosti." +"Parametry generování mapy pro Generátor mapy - Plocha.\n" +"Do plochého světa je možné přidat občasná jezera a kopce." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen Fractal.\n" "'terrain' enables the generation of non-fractal terrain:\n" "ocean, islands and underground." msgstr "" -"Globální parametry generování mapy.\n" -"V mapgenu v6 ovládal příznak 'decorations' všechny dekorace kromě\n" -"stromů a tropické trávy. V ostatních mapgenech tento příznak řídí\n" -"všechny dekorace.\n" -"Neuvedené příznaky zůstávají ve výchozím stavu.\n" -"Příznaky začínající na 'no' slouží k zakázání možnosti." +"Parametry generování mapy pro Generátor mapy - Fraktál.\n" +"\"terén\" umožňuje generování \"nefraktálového\" terénu:\n" +"oceány, ostrovy a podzemí." #: src/settings_translation_file.cpp msgid "" @@ -5232,44 +5221,44 @@ msgid "" "to become shallower and occasionally dry.\n" "'altitude_dry': Reduces humidity with altitude." msgstr "" +"Parametry generování mapy pro Generátor mapy - Údolí.\n" +"„altitude_chill“: Snižuje teplotu s nadmořskou výškou.\n" +"„humid_rivers“: Zvyšuje vlhkost podél řek.\n" +"„vary_river_depth“: Pokud zapnuto, nízká vlhkost a vysoká teplota\n" +"budou mít za následek mělčí nebo místy úplně vyschlé řeky.\n" +"„altitude_dry“: Snižuje vlhkost s nadmořskou výškou." #: src/settings_translation_file.cpp msgid "Map generation attributes specific to Mapgen v5." -msgstr "" +msgstr "Parametry generování mapy pro Generátor mapy v5." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen v6.\n" "The 'snowbiomes' flag enables the new 5 biome system.\n" "When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" "the 'jungles' flag is ignored." msgstr "" -"Globální parametry generování mapy.\n" -"V mapgenu v6 ovládal příznak 'decorations' všechny dekorace kromě\n" -"stromů a tropické trávy. V ostatních mapgenech tento příznak řídí\n" -"všechny dekorace.\n" -"Neuvedené příznaky zůstávají ve výchozím stavu.\n" -"Příznaky začínající na 'no' slouží k zakázání možnosti." +"Parametry generování mapy pro Generátor mapy v6.\n" +"Nastavení \"snowbiomes\" umožňuje systém 5 biomů.\n" +"Pokud je nastavení \"snowbiomes\" zapnuto, džungle jsou automaticky\n" +"zapnuty a nastavení \"jungles\" je ignorováno." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Map generation attributes specific to Mapgen v7.\n" "'ridges': Rivers.\n" "'floatlands': Floating land masses in the atmosphere.\n" "'caverns': Giant caves deep underground." msgstr "" -"Globální parametry generování mapy.\n" -"V mapgenu v6 ovládal příznak 'decorations' všechny dekorace kromě\n" -"stromů a tropické trávy. V ostatních mapgenech tento příznak řídí\n" -"všechny dekorace.\n" -"Neuvedené příznaky zůstávají ve výchozím stavu.\n" -"Příznaky začínající na 'no' slouží k zakázání možnosti." +"Parametry generování mapy v Generátoru mapy v7.\n" +"'hřebeny': Rivers.\n" +"'létající ostrovy': Ostrovy vznášející se v prostoru.\n" +"'jeskynní dutiny': Obrovské jeskyně hluboko v podzemí." #: src/settings_translation_file.cpp msgid "Map generation limit" -msgstr "" +msgstr "Limit generování mapy" #: src/settings_translation_file.cpp msgid "Map save interval" @@ -5277,107 +5266,99 @@ msgstr "Interval ukládání mapy" #: src/settings_translation_file.cpp msgid "Map update time" -msgstr "" +msgstr "Doba aktualizace mapy" #: src/settings_translation_file.cpp msgid "Mapblock limit" -msgstr "" +msgstr "Limit mapbloků" #: src/settings_translation_file.cpp msgid "Mapblock mesh generation delay" -msgstr "" +msgstr "Prodleva generování sítě mapbloků" #: src/settings_translation_file.cpp msgid "Mapblock mesh generator's MapBlock cache size in MB" -msgstr "" +msgstr "Velikost cache paměti v MB Generátoru mapy pro Mapbloky" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" -msgstr "" +msgstr "Časový limit pro vymazání Mapbloku z paměti" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Carpathian" -msgstr "Mapgen plochy" +msgstr "Generátor mapy - Carpathian" #: src/settings_translation_file.cpp msgid "Mapgen Carpathian specific flags" -msgstr "" +msgstr "Nastavení pro Generátor mapy - Carpathian" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Flat" -msgstr "Mapgen plochy" +msgstr "Generátor mapy - Plocha" #: src/settings_translation_file.cpp msgid "Mapgen Flat specific flags" -msgstr "" +msgstr "Nastavení Generátory mapy - Plocha" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Fractal" -msgstr "Mapgen plochy" +msgstr "Generátor mapy - Fraktál" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Fractal specific flags" -msgstr "Mapgen údolí" +msgstr "Nastavení pro Generátor mapy - Fraktál" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen V5" -msgstr "Mapgen v5" +msgstr "Generátor mapy V5" #: src/settings_translation_file.cpp msgid "Mapgen V5 specific flags" -msgstr "" +msgstr "Nastavení pro Generátor mapy v5" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen V6" -msgstr "Mapgen v6" +msgstr "Generátor mapy v6" #: src/settings_translation_file.cpp msgid "Mapgen V6 specific flags" -msgstr "" +msgstr "Nastavení pro Generátor mapy v6" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen V7" -msgstr "Mapgen v7" +msgstr "Generátor mapy v7" #: src/settings_translation_file.cpp msgid "Mapgen V7 specific flags" -msgstr "" +msgstr "Nastavení pro Generátor mapy v7" #: src/settings_translation_file.cpp msgid "Mapgen Valleys" msgstr "Mapgen údolí" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Valleys specific flags" -msgstr "Mapgen údolí" +msgstr "Nastavení pro Generátor mapy - Údolí" #: src/settings_translation_file.cpp msgid "Mapgen debug" -msgstr "Ladění generátoru mapy" +msgstr "Ladění Generátoru mapy" #: src/settings_translation_file.cpp msgid "Mapgen name" -msgstr "Jméno generátoru mapy" +msgstr "Jméno Generátoru mapy" #: src/settings_translation_file.cpp msgid "Max block generate distance" -msgstr "" +msgstr "Horní hranice vzdálenosti pro generování bloků" #: src/settings_translation_file.cpp msgid "Max block send distance" -msgstr "" +msgstr "Horní hranice vzdálenosti pro posílání bloků" #: src/settings_translation_file.cpp msgid "Max liquids processed per step." -msgstr "" +msgstr "Horní hranice počtu kapalin zpracovaných za jeden krok." #: src/settings_translation_file.cpp msgid "Max. clearobjects extra blocks" @@ -5409,11 +5390,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum limit of random number of large caves per mapchunk." -msgstr "" +msgstr "Horní hranice pro náhodný počet velkých jeskyní na kus mapy." #: src/settings_translation_file.cpp msgid "Maximum limit of random number of small caves per mapchunk." -msgstr "" +msgstr "Horní hranice pro náhodný počet malých jeskyní na kus mapy." #: src/settings_translation_file.cpp msgid "" @@ -5558,11 +5539,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Minimum limit of random number of large caves per mapchunk." -msgstr "" +msgstr "Spodní hranice pro náhodný počet velkých jeskyní na kus mapy." #: src/settings_translation_file.cpp msgid "Minimum limit of random number of small caves per mapchunk." -msgstr "" +msgstr "Spodní hranice pro náhodný počet malých jeskyní na kus mapy." #: src/settings_translation_file.cpp #, fuzzy @@ -5886,7 +5867,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Proportion of large caves that contain liquid." -msgstr "" +msgstr "Poměr velkých jeskyní s kapalinami." #: src/settings_translation_file.cpp msgid "" @@ -6347,6 +6328,12 @@ msgid "" "Altering this value is for special usage, leaving it unchanged is\n" "recommended." msgstr "" +"Velikost kusů mapy vytovřených Generátorem mapy v mapblocích (16 bloků).\n" +"VAROVÁNÍ!: Hodnota vyšší než 5 nepřináší žádné zlepšení\n" +"a zvyšuje riziko problémů.\n" +"Snížení hodnoty zvýší husotou jeskyní a žalářů.\n" +"Změna hodnoty je pro zvláštní případy, jinak je doporučeno\n" +"nechat ji na výchozí hodnotě." #: src/settings_translation_file.cpp msgid "" @@ -6369,11 +6356,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Small cave maximum number" -msgstr "" +msgstr "Horní hranice počtu malých jeskyní" #: src/settings_translation_file.cpp msgid "Small cave minimum number" -msgstr "" +msgstr "Spodní hranice počtu malých jeskyní" #: src/settings_translation_file.cpp msgid "Small-scale humidity variation for blending biomes on borders." @@ -6859,7 +6846,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Variation of number of caves." -msgstr "" +msgstr "Variace počtu jeskyní." #: src/settings_translation_file.cpp msgid "" @@ -7124,13 +7111,12 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Y of upper limit of large caves." -msgstr "Maximální počet emerge front" +msgstr "Hodnota Y pro horní hranici velkých jeskyní." #: src/settings_translation_file.cpp msgid "Y-distance over which caverns expand to full size." -msgstr "" +msgstr "Vzdálenost Y, přes kterou se jeskynní dutiny rozšíří do plné velikosti." #: src/settings_translation_file.cpp msgid "" @@ -7146,7 +7132,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Y-level of cavern upper limit." -msgstr "" +msgstr "Úroveň Y horní hranice jeskynních dutin." #: src/settings_translation_file.cpp msgid "Y-level of higher terrain that creates cliffs." -- cgit v1.2.3 From 3ac102c93b9b4f7651ab3233658af4f3e32dd251 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Sat, 27 Nov 2021 11:38:45 +0000 Subject: Translated using Weblate (Swedish) Currently translated at 46.0% (643 of 1396 strings) --- po/sv/minetest.po | 725 +++++++++++++++++++++++------------------------------- 1 file changed, 304 insertions(+), 421 deletions(-) diff --git a/po/sv/minetest.po b/po/sv/minetest.po index 6806efea1..02c14cf08 100644 --- a/po/sv/minetest.po +++ b/po/sv/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Swedish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-06-16 18:27+0200\n" -"PO-Revision-Date: 2020-03-31 10:14+0000\n" -"Last-Translator: sfan5 \n" +"PO-Revision-Date: 2021-11-27 18:30+0000\n" +"Last-Translator: ROllerozxa \n" "Language-Team: Swedish \n" "Language: sv\n" @@ -12,48 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.0-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Rensa chattkön" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Chattkommandon" +msgstr "Tomt kommando." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Avsluta till Meny" +msgstr "Avsluta till huvudmeny" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Lokalt kommando" +msgstr "Ogiltigt kommando: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Utfärdat kommando: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Enspelarläge" +msgstr "Lista över spelare online" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Enspelarläge" +msgstr "Spelare online: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Den utgående chattkön är nu tom." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Detta kommando är inaktiverat av servern." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,45 +59,43 @@ msgid "You died" msgstr "Du dog" #: builtin/client/death_formspec.lua -#, fuzzy msgid "You died." -msgstr "Du dog" +msgstr "Du dog." #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Lokalt kommando" +msgstr "Tillgängliga kommandon:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Lokalt kommando" +msgstr "Tillgängliga kommandon: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Kommando inte tillgängligt: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Få hjälp med kommandon" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Använd '.help ' för att få mer information, eller '.help all' för att " +"visa allt." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" -msgstr "" +msgstr "OK" #: builtin/fstk/ui.lua -#, fuzzy msgid "An error occurred in a Lua script:" -msgstr "Ett fel uppstod i ett Lua-skript, såsom en mod:" +msgstr "Ett fel uppstod i ett Lua-skript:" #: builtin/fstk/ui.lua msgid "An error occurred:" @@ -122,7 +115,7 @@ msgstr "Servern har begärt en återanslutning:" #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " -msgstr "Protokollversionen matchar ej. " +msgstr "Protokollversionen matchar inte. " #: builtin/mainmenu/common.lua msgid "Server enforces protocol version $1. " @@ -182,34 +175,31 @@ msgstr "" #: builtin/mainmenu/dlg_config_world.lua msgid "Find More Mods" -msgstr "" +msgstr "Hitta Fler Moddar" #: builtin/mainmenu/dlg_config_world.lua msgid "Mod:" msgstr "Mod:" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No (optional) dependencies" -msgstr "Valfria beroenden:" +msgstr "Inga (valfria) beroenden" #: builtin/mainmenu/dlg_config_world.lua msgid "No game description provided." msgstr "Ingen spelbeskrivning tillgänglig." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No hard dependencies" -msgstr "Inga beroenden." +msgstr "Inga hårda beroenden" #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." msgstr "Ingen modpaketsbeskrivning tillgänglig." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No optional dependencies" -msgstr "Valfria beroenden:" +msgstr "Inga valfria beroenden" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua msgid "Optional dependencies:" @@ -230,30 +220,31 @@ msgstr "aktiverad" #: builtin/mainmenu/dlg_contentstore.lua msgid "\"$1\" already exists. Would you like to overwrite it?" -msgstr "" +msgstr "\"$1\" finns redan. Vill du skriva över den?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "$1 och $2 beroende paket kommer installeras." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 till $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" "$1 downloading,\n" "$2 queued" msgstr "" +"$1 laddas ner,\n" +"$2 köad" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 downloading..." -msgstr "Laddar..." +msgstr "$1 laddas ner..." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "$1 nödvändiga beroenden kunde inte hittas." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." @@ -264,27 +255,24 @@ msgid "All packages" msgstr "Alla paket" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Already installed" -msgstr "Tangent används redan" +msgstr "Redan installerad" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" msgstr "Tillbaka till huvudmeny" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Base Game:" -msgstr "Bilda Spel" +msgstr "Basspel:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "" +msgstr "ContentDB är inte tillgänglig när Minetest är kompilerad utan cURL" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Downloading..." -msgstr "Laddar..." +msgstr "Laddar ner..." #: builtin/mainmenu/dlg_contentstore.lua msgid "Failed to download $1" @@ -300,14 +288,12 @@ msgid "Install" msgstr "Installera" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install $1" -msgstr "Installera" +msgstr "Installera $1" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install missing dependencies" -msgstr "Valfria beroenden:" +msgstr "Installera saknade beroenden" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -323,25 +309,24 @@ msgid "No results" msgstr "Inga resultat" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "No updates" -msgstr "Uppdatera" +msgstr "Inga uppdateringar" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Hittades inte" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" -msgstr "" +msgstr "Skriv över" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." -msgstr "" +msgstr "Var snäll se att basspelet är korrekt." #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Köad" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" @@ -357,11 +342,11 @@ msgstr "Uppdatera" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" -msgstr "" +msgstr "Uppdatera Alla [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Visa mer information i en webbläsare" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" @@ -369,46 +354,39 @@ msgstr "En värld med namnet \"$1\" finns redan" #: builtin/mainmenu/dlg_create_world.lua msgid "Additional terrain" -msgstr "" +msgstr "Ytterligare terräng" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -#, fuzzy msgid "Altitude chill" msgstr "Altitudkyla" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Altitude dry" -msgstr "Altitudkyla" +msgstr "Altitudtorka" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biome blending" -msgstr "Biotopoljud" +msgstr "Biotopblandning" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Biomes" -msgstr "Biotopoljud" +msgstr "Biotoper" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caverns" -msgstr "Grottoljud" +msgstr "Grottor" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Caves" -msgstr "Oktaver" +msgstr "Grottor" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" msgstr "Skapa" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Decorations" -msgstr "Modinformation:" +msgstr "Dekorationer" #: builtin/mainmenu/dlg_create_world.lua msgid "Download a game, such as Minetest Game, from minetest.net" @@ -419,21 +397,20 @@ msgid "Download one from minetest.net" msgstr "Ladda ner ett från minetest.net" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Dungeons" -msgstr "Grottoljud" +msgstr "Fängelsehålor" #: builtin/mainmenu/dlg_create_world.lua msgid "Flat terrain" -msgstr "" +msgstr "Platt terräng" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" -msgstr "" +msgstr "Svävande landmassor i himlen" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" -msgstr "" +msgstr "Floatlands (experimentellt)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" @@ -441,27 +418,27 @@ msgstr "Spel" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "" +msgstr "Generera icke-fraktal terräng: Oceaner och underjord" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" -msgstr "" +msgstr "Kullar" #: builtin/mainmenu/dlg_create_world.lua msgid "Humid rivers" -msgstr "" +msgstr "Fuktiga floder" #: builtin/mainmenu/dlg_create_world.lua msgid "Increases humidity around rivers" -msgstr "" +msgstr "Ökar luftfuktigheten runt floderna" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" -msgstr "" +msgstr "Sjöar" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "" +msgstr "Låg luftfuktighet och hög värme orsakar grunda eller torra floder" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" @@ -469,24 +446,23 @@ msgstr "Kartgenerator" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" -msgstr "" +msgstr "Mapgen-flaggor" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Mapgen-specific flags" -msgstr "Kartgenerator" +msgstr "Mapgen-specifika flaggor" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" -msgstr "" +msgstr "Berg" #: builtin/mainmenu/dlg_create_world.lua msgid "Mud flow" -msgstr "" +msgstr "Lerflöde" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" -msgstr "" +msgstr "Nätverk med tunnlar och grottor" #: builtin/mainmenu/dlg_create_world.lua msgid "No game selected" @@ -494,20 +470,19 @@ msgstr "Inget spel valt" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "" +msgstr "Minskar värmen efter höjd" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "" +msgstr "Minskar luftfuktigheten efter höjd" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Rivers" -msgstr "Grottoljud" +msgstr "Floder" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" -msgstr "" +msgstr "Havsnivåfloder" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -516,50 +491,51 @@ msgstr "Frö" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" -msgstr "" +msgstr "Smidig övergång mellan biotoper" #: builtin/mainmenu/dlg_create_world.lua msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" +"Strukturer som förekommer i terrängen (ingen effekt på träd och djungelgräs " +"som skapats av v6)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" -msgstr "" +msgstr "Strukturer som förekommer i terrängen, vanligtvis träd och växter" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert" -msgstr "" +msgstr "Tempererad, Öken" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "" +msgstr "Tempererad, Öken, Djungel" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "" +msgstr "Tempererad, Öken, Djungel, Tundra, Tajga" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "" +msgstr "Erosion av terrängytan" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -msgstr "" +msgstr "Träd- och djungelgräs" #: builtin/mainmenu/dlg_create_world.lua msgid "Vary river depth" -msgstr "" +msgstr "Varierande floddjup" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" -msgstr "" +msgstr "Mycket stora grottor djupt ner i underjorden" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Warning: The Development Test is meant for developers." -msgstr "Varning: Minimala utvecklingstestet är avsett för utvecklare." +msgstr "Varning: Utvecklingstestet är avsett för utvecklare." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" @@ -580,14 +556,12 @@ msgid "Delete" msgstr "Radera" #: builtin/mainmenu/dlg_delete_content.lua -#, fuzzy msgid "pkgmgr: failed to delete \"$1\"" -msgstr "Modhanterare: misslyckades radera \"$1\"" +msgstr "pkgmgr: misslyckades att radera \"$1\"" #: builtin/mainmenu/dlg_delete_content.lua -#, fuzzy msgid "pkgmgr: invalid path \"$1\"" -msgstr "Modhanterare: ogiltig modsökväg \"$1\"" +msgstr "pkgmgr: ogiltig sökväg \"$1\"" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" @@ -606,15 +580,16 @@ msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" +"Detta moddpaket har ett uttryckligt namn angett i modpack.conf vilket går " +"före namnändring här." #: 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 -#, fuzzy msgid "2D Noise" -msgstr "Grotta2 oljud" +msgstr "2D-Brus" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" @@ -677,9 +652,8 @@ msgid "Select directory" msgstr "Välj katalog" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Select file" -msgstr "Välj modfil:" +msgstr "Välj fil" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Show technical names" @@ -729,9 +703,8 @@ msgstr "" #. It describes the default processing options #. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "defaults" -msgstr "Standardspel" +msgstr "standarder" #. ~ "eased" is a noise parameter flag. #. It is used to make the map smoother and @@ -742,65 +715,52 @@ msgid "eased" msgstr "" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "$1 (Enabled)" -msgstr "Aktiverad" +msgstr "$1 (Aktiverad)" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "$1 mods" -msgstr "3D-läge" +msgstr "$1 moddar" #: builtin/mainmenu/pkgmgr.lua msgid "Failed to install $1 to $2" msgstr "Misslyckades installera $1 till $2" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Install Mod: Unable to find real mod name for: $1" -msgstr "Modinstallation: lyckas ej hitta riktiga modnamnet för: $1" +msgstr "Moddinstallation: Lyckades ej hitta riktiga moddnamnet för: $1" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Install Mod: Unable to find suitable folder name for modpack $1" -msgstr "Modinstallation: lyckas ej hitta lämpligt mappnamn för modpaket $1" +msgstr "Moddinstallation: lyckas ej hitta lämpligt mappnamn för moddpaket $1" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"\n" -"Modinstallation: ej stöd för filtyp \"$1\" eller trasigt arkiv" +msgstr "Installation: ej stöd för filtyp \"$1\" eller trasigt arkiv" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Install: file: \"$1\"" -msgstr "Modinstallation: fil: \"$1\"" +msgstr "Installera: fil: \"$1\"" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Unable to find a valid mod or modpack" -msgstr "Modinstallation: lyckas ej hitta lämpligt mappnamn för modpaket $1" +msgstr "Lyckades ej hitta lämplig modd eller moddpaket" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Unable to install a $1 as a texture pack" -msgstr "Misslyckades installera $1 till $2" +msgstr "Misslyckades att installera $1 som ett texturpaket" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Unable to install a game as a $1" -msgstr "Misslyckades installera $1 till $2" +msgstr "Misslyckades installera ett spel som en $1" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Unable to install a mod as a $1" -msgstr "Misslyckades installera $1 till $2" +msgstr "Misslyckades installera en modd som en $1" #: builtin/mainmenu/pkgmgr.lua -#, fuzzy msgid "Unable to install a modpack as a $1" -msgstr "Misslyckades installera $1 till $2" +msgstr "Misslyckades installera moddpaket som en $1" #: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp msgid "Loading..." @@ -808,7 +768,7 @@ msgstr "Laddar..." #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" -msgstr "" +msgstr "Den offentliga serverlistan är inaktiverad" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -817,31 +777,31 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Om" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Aktiva Bidragande" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Aktivt avstånd för objektsändning" +msgstr "Aktiv renderer:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" msgstr "Huvudutvecklare" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Open User Data Directory" -msgstr "Välj katalog" +msgstr "Öppna Användardatamappen" #: builtin/mainmenu/tab_about.lua msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Öppnar mappen som innehåller världar, spel, moddar,\n" +"och texturpaket i en filhanterare." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -853,50 +813,43 @@ msgstr "Före detta huvudutvecklare" #: builtin/mainmenu/tab_content.lua msgid "Browse online content" -msgstr "" +msgstr "Bläddra bland onlineinnehåll" #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Content" -msgstr "Fortsätt" +msgstr "Innehåll" #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Disable Texture Pack" -msgstr "Välj texturpaket:" +msgstr "Inaktivera Texturpaket" #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Information:" -msgstr "Modinformation:" +msgstr "Information:" #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Installed Packages:" -msgstr "Installerade moddar:" +msgstr "Installerade paket:" #: builtin/mainmenu/tab_content.lua msgid "No dependencies." msgstr "Inga beroenden." #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "No package description available" -msgstr "Ingen modbeskrivning tillgänglig" +msgstr "Ingen paketbeskrivning tillgänglig" #: builtin/mainmenu/tab_content.lua msgid "Rename" msgstr "Byt namn" #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Uninstall Package" -msgstr "Avinstallera vald mod" +msgstr "Avinstallera Paket" #: builtin/mainmenu/tab_content.lua -#, fuzzy msgid "Use Texture Pack" -msgstr "Texturpaket" +msgstr "Använd Texturpaket" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" @@ -920,15 +873,15 @@ msgstr "Bilda Spel" #: builtin/mainmenu/tab_local.lua msgid "Host Server" -msgstr "Bilda Server" +msgstr "Värdserver" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" -msgstr "" +msgstr "Installera spel från ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Namn" #: builtin/mainmenu/tab_local.lua msgid "New" @@ -939,23 +892,20 @@ msgid "No world created or selected!" msgstr "Ingen värld skapad eller vald!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Password" -msgstr "Nytt Lösenord" +msgstr "Lösenord" #: builtin/mainmenu/tab_local.lua -#, fuzzy msgid "Play Game" -msgstr "Starta spel" +msgstr "Starta Spel" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Port" msgstr "Port" #: builtin/mainmenu/tab_local.lua -#, fuzzy msgid "Select Mods" -msgstr "Välj värld:" +msgstr "Välj moddar" #: builtin/mainmenu/tab_local.lua msgid "Select World:" @@ -966,14 +916,12 @@ msgid "Server Port" msgstr "Serverport" #: builtin/mainmenu/tab_local.lua -#, fuzzy msgid "Start Game" -msgstr "Bilda Spel" +msgstr "Starta Spel" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "Bindningsadress" +msgstr "Adress" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -989,45 +937,40 @@ msgstr "Kreativt läge" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Skada" +msgstr "Skada / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Radera Favorit" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favoritmarkera" +msgstr "Favoriter" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Inkompatibla Servrar" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Join Game" -msgstr "Bilda Spel" +msgstr "Anslut Spel" #: builtin/mainmenu/tab_online.lua msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Offentliggör Server" +msgstr "Offentliga Servrar" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Uppdatera" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Serverport" +msgstr "Serverbeskrivning" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1046,16 +989,14 @@ msgid "8x" msgstr "8x" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "All Settings" -msgstr "Inställningar" +msgstr "Alla Inställningar" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" msgstr "Kantutjämning:" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Autosave Screen Size" msgstr "Spara fönsterstorlek automatiskt" @@ -1073,11 +1014,11 @@ msgstr "Sammankopplat glas" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Dynamiska skuggor" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dynamiska skuggor: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1085,15 +1026,15 @@ msgstr "Fina Löv" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Hög" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Låg" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Medium" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1149,11 +1090,11 @@ msgstr "Shaders" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (experimental)" -msgstr "" +msgstr "Shaders (experimentella)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" -msgstr "" +msgstr "Shaders (otillgängliga)" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" @@ -1176,9 +1117,8 @@ msgid "Tone Mapping" msgstr "Tonmappning" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Touchthreshold: (px)" -msgstr "Touch-tröskel (px)" +msgstr "Touch-tröskel: (px)" #: builtin/mainmenu/tab_settings.lua msgid "Trilinear Filter" @@ -1186,20 +1126,19 @@ msgstr "Trilinjärt filter" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Extremt Hög" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Väldigt Låg" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" msgstr "Vajande Löv" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Waving Liquids" -msgstr "Vajande Löv" +msgstr "Vajande Vätskor" #: builtin/mainmenu/tab_settings.lua msgid "Waving Plants" @@ -1239,7 +1178,7 @@ msgstr "Kunde inte hitta eller ladda spel \"" #: src/client/clientlauncher.cpp msgid "Invalid gamespec." -msgstr "Ogiltiga spelspecifikationer." +msgstr "Ogiltig spelspecifikation." #: src/client/clientlauncher.cpp msgid "Main Menu" @@ -1247,7 +1186,7 @@ msgstr "Huvudmeny" #: src/client/clientlauncher.cpp msgid "No world selected and no address provided. Nothing to do." -msgstr "Ingen värld vald och ingen adress försed. Inget kan göras." +msgstr "Ingen värld vald och ingen adress anginven. Inget att göra." #: src/client/clientlauncher.cpp msgid "Player name too long." @@ -1255,15 +1194,15 @@ msgstr "Spelarnamn för långt." #: src/client/clientlauncher.cpp msgid "Please choose a name!" -msgstr "Välj ett namn!" +msgstr "Vänligen välj ett namn!" #: src/client/clientlauncher.cpp msgid "Provided password file failed to open: " -msgstr "" +msgstr "Den angivna lösenordsfilen kunde inte öppnas: " #: src/client/clientlauncher.cpp msgid "Provided world path doesn't exist: " -msgstr "Den angivna sökvägen för världen existerar inte: " +msgstr "Angiven världssökväg existerar inte: " #: src/client/game.cpp msgid "" @@ -1271,31 +1210,27 @@ msgid "" "Check debug.txt for details." msgstr "" "\n" -"Läs debug.txt för detaljer." +"Se debug.txt för detaljer." #: src/client/game.cpp -#, fuzzy msgid "- Address: " -msgstr "Bindningsadress" +msgstr "- Bindningsadress: " #: src/client/game.cpp -#, fuzzy msgid "- Creative Mode: " -msgstr "Kreativt läge" +msgstr "- Kreativt läge: " #: src/client/game.cpp -#, fuzzy msgid "- Damage: " -msgstr "Aktivera skada" +msgstr "- Aktivera skada: " #: src/client/game.cpp msgid "- Mode: " msgstr "- Läge: " #: src/client/game.cpp -#, fuzzy msgid "- Port: " -msgstr "Port" +msgstr "- Port: " #: src/client/game.cpp msgid "- Public: " @@ -1311,42 +1246,36 @@ msgid "- Server Name: " msgstr "- Servernamn: " #: src/client/game.cpp -#, fuzzy msgid "Automatic forward disabled" -msgstr "Tangent för filmiskt länge" +msgstr "Automatiskt framåt inaktiverad" #: src/client/game.cpp -#, fuzzy msgid "Automatic forward enabled" -msgstr "Tangent för filmiskt länge" +msgstr "Automatiskt framåt aktiverat" #: src/client/game.cpp -#, fuzzy msgid "Camera update disabled" -msgstr "Av/på-tangent för kamerauppdatering" +msgstr "Kamerauppdatering inaktiverad" #: src/client/game.cpp -#, fuzzy msgid "Camera update enabled" -msgstr "Av/på-tangent för kamerauppdatering" +msgstr "Kamerauppdatering aktiverat" #: src/client/game.cpp msgid "Change Password" msgstr "Ändra Lösenord" #: src/client/game.cpp -#, fuzzy msgid "Cinematic mode disabled" -msgstr "Tangent för filmiskt länge" +msgstr "Filmiskt länge inaktiverad" #: src/client/game.cpp -#, fuzzy msgid "Cinematic mode enabled" -msgstr "Tangent för filmiskt länge" +msgstr "Filmiskt länge aktiverat" #: src/client/game.cpp msgid "Client side scripting is disabled" -msgstr "" +msgstr "Klientsidiga skriptar är inaktiverade" #: src/client/game.cpp msgid "Connecting to server..." @@ -1357,7 +1286,7 @@ msgid "Continue" msgstr "Fortsätt" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "" "Controls:\n" "- %s: move forwards\n" @@ -1380,12 +1309,12 @@ msgstr "" "- %s: rör dig åt vänster\n" "- %s: rör dig åt höger\n" "- %s: hoppa/klättra\n" +"- %s: gräv/slå\n" +"- %s: använd\n" "- %s: smyg/rör dig nedåt\n" "- %s: släpp föremål\n" "- %s: förråd\n" "- Mus: vänd/titta\n" -"- Vänsterklick: gräv/slå\n" -"- Högerklick: placera/använd\n" "- Mushjul: välj föremål\n" "- %s: chatt\n" @@ -1399,16 +1328,15 @@ msgstr "Skapar server..." #: src/client/game.cpp msgid "Debug info and profiler graph hidden" -msgstr "" +msgstr "Felsökningsinfo och profileringsgraf gömd" #: src/client/game.cpp -#, fuzzy msgid "Debug info shown" -msgstr "Av/På tangent för debuginformation" +msgstr "Felsökningsinfo visas" #: src/client/game.cpp msgid "Debug info, profiler graph, and wireframe hidden" -msgstr "" +msgstr "Felsökningsinfo, profileringsgraf och wireframe gömd" #: src/client/game.cpp msgid "" @@ -1440,11 +1368,11 @@ msgstr "" #: src/client/game.cpp msgid "Disabled unlimited viewing range" -msgstr "" +msgstr "Inaktiverat obegränsat visningsområde" #: src/client/game.cpp msgid "Enabled unlimited viewing range" -msgstr "" +msgstr "Aktiverat obegränsat visningsområde" #: src/client/game.cpp msgid "Exit to Menu" @@ -1452,43 +1380,39 @@ msgstr "Avsluta till Meny" #: src/client/game.cpp msgid "Exit to OS" -msgstr "Avsluta till Operativsystem" +msgstr "Avsluta till OS" #: src/client/game.cpp msgid "Fast mode disabled" -msgstr "" +msgstr "Snabbt läge inaktiverat" #: src/client/game.cpp -#, fuzzy msgid "Fast mode enabled" -msgstr "Skada aktiverat" +msgstr "Snabbläge aktiverat" #: src/client/game.cpp msgid "Fast mode enabled (note: no 'fast' privilege)" -msgstr "" +msgstr "Snabbt läge aktiverat (notera: inget 'fast'-tillstånd)" #: src/client/game.cpp msgid "Fly mode disabled" -msgstr "" +msgstr "Flygläge inaktiverat" #: src/client/game.cpp -#, fuzzy msgid "Fly mode enabled" -msgstr "Skada aktiverat" +msgstr "Flygläge aktiverat" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" -msgstr "" +msgstr "Flygläge aktiverat (notera: inget 'fast'-tillstånd)" #: src/client/game.cpp -#, fuzzy msgid "Fog disabled" -msgstr "Inaktiverad" +msgstr "Dimma inaktiverad" #: src/client/game.cpp -#, fuzzy msgid "Fog enabled" -msgstr "aktiverad" +msgstr "Dimma aktiverat" #: src/client/game.cpp msgid "Game info:" @@ -1520,25 +1444,23 @@ msgstr "MiB/s" #: src/client/game.cpp msgid "Minimap currently disabled by game or mod" -msgstr "" +msgstr "Minimapp för närvarande inaktiverad av spel eller modd" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Enspelarläge" +msgstr "Flerspelarläge" #: src/client/game.cpp msgid "Noclip mode disabled" -msgstr "" +msgstr "Noclipläge inaktiverat" #: src/client/game.cpp -#, fuzzy msgid "Noclip mode enabled" -msgstr "Skada aktiverat" +msgstr "Noclipläge aktiverat" #: src/client/game.cpp msgid "Noclip mode enabled (note: no 'noclip' privilege)" -msgstr "" +msgstr "Noclipläge aktiverat (notera: inget 'noclip'-tillstånd)" #: src/client/game.cpp msgid "Node definitions..." @@ -1562,7 +1484,7 @@ msgstr "" #: src/client/game.cpp msgid "Profiler graph shown" -msgstr "" +msgstr "Profileringsgraf visas" #: src/client/game.cpp msgid "Remote server" @@ -1585,17 +1507,16 @@ msgid "Sound Volume" msgstr "Ljudvolym" #: src/client/game.cpp -#, fuzzy msgid "Sound muted" -msgstr "Ljudvolym" +msgstr "Ljudvolym avstängd" #: src/client/game.cpp msgid "Sound system is disabled" -msgstr "" +msgstr "Ljudsystem är inaktiverad" #: src/client/game.cpp msgid "Sound system is not supported on this build" -msgstr "" +msgstr "Ljudsystem stöds inte i detta bygge" #: src/client/game.cpp #, fuzzy @@ -1603,19 +1524,19 @@ msgid "Sound unmuted" msgstr "Ljudvolym" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "Viewing range changed to %d" -msgstr "Volym ändrad till to %d%%" +msgstr "Visningsområde ändrad till %d" #: src/client/game.cpp #, c-format msgid "Viewing range is at maximum: %d" -msgstr "" +msgstr "Visningsområde är vid sitt maximala: %d" #: src/client/game.cpp #, c-format msgid "Viewing range is at minimum: %d" -msgstr "" +msgstr "Visningsområde är vid sitt minimala: %d" #: src/client/game.cpp #, c-format @@ -1624,50 +1545,48 @@ msgstr "Volym ändrad till to %d%%" #: src/client/game.cpp msgid "Wireframe shown" -msgstr "" +msgstr "Wireframe visas" #: src/client/game.cpp msgid "Zoom currently disabled by game or mod" -msgstr "" +msgstr "Zoom är för närvarande inaktiverad av spel eller modd" #: src/client/game.cpp msgid "ok" msgstr "ok" #: src/client/gameui.cpp -#, fuzzy msgid "Chat hidden" -msgstr "Chattangent" +msgstr "Chatt gömd" #: src/client/gameui.cpp msgid "Chat shown" -msgstr "" +msgstr "Chatt visas" #: src/client/gameui.cpp msgid "HUD hidden" -msgstr "" +msgstr "HUD gömd" #: src/client/gameui.cpp msgid "HUD shown" -msgstr "" +msgstr "HUD visas" #: src/client/gameui.cpp msgid "Profiler hidden" -msgstr "" +msgstr "Profilering gömd" #: src/client/gameui.cpp #, c-format msgid "Profiler shown (page %d of %d)" -msgstr "" +msgstr "Profilering visas (sida %d av %d)" #: src/client/keycode.cpp msgid "Apps" msgstr "Appar" #: src/client/keycode.cpp -#, fuzzy msgid "Backspace" -msgstr "Tillbaka" +msgstr "Backspace" #: src/client/keycode.cpp msgid "Caps Lock" @@ -1828,11 +1747,11 @@ msgstr "Rensa OEM" #: src/client/keycode.cpp msgid "Page down" -msgstr "" +msgstr "Sida ner" #: src/client/keycode.cpp msgid "Page up" -msgstr "" +msgstr "Sida upp" #: src/client/keycode.cpp msgid "Pause" @@ -1922,21 +1841,21 @@ msgstr "Zoom" #: src/client/minimap.cpp msgid "Minimap hidden" -msgstr "" +msgstr "Minimapp gömd" #: src/client/minimap.cpp #, c-format msgid "Minimap in radar mode, Zoom x%d" -msgstr "" +msgstr "Minimapp i radarläge, Zoom x%d" #: src/client/minimap.cpp #, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "" +msgstr "Minimapp i ytläge, Zoom x%d" #: src/client/minimap.cpp msgid "Minimap in texture mode" -msgstr "" +msgstr "Minimapp i texturläge" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1944,7 +1863,7 @@ msgstr "Lösenorden matchar inte!" #: src/gui/guiConfirmRegistration.cpp msgid "Register and Join" -msgstr "" +msgstr "Registrera och Anslut" #: src/gui/guiConfirmRegistration.cpp #, c-format @@ -1955,28 +1874,32 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" +"Du håller på att ansluta till den här servern med namnet \"%s\" för den " +"första gången.\n" +"Om du fortsätter kommer ett nytt konto med dina uppgifter skapas på servern." +"\n" +"Var snäll och fyll i ditt lösenord och tryck på 'Registrera och Anslut' för " +"att bekräfta kontoregistrering, eller tryck \"Avbryt\" för att avbryta." #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" msgstr "Fortsätt" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Använd\" = klättra neråt" +msgstr "\"Aux1\" = klättra neråt" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Autoforward" -msgstr "Framåt" +msgstr "Autoframåt" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Automatic jumping" -msgstr "" +msgstr "Automatiskt hopp" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1984,12 +1907,11 @@ msgstr "Bakåt" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Blockgränser" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Change camera" -msgstr "Ändra tangenter" +msgstr "Ändra kamera" #: src/gui/guiKeyChangeMenu.cpp msgid "Chat" @@ -2005,7 +1927,7 @@ msgstr "Konsol" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. range" -msgstr "" +msgstr "Min. räckvidd" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. volume" @@ -2025,7 +1947,7 @@ msgstr "Framåt" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. range" -msgstr "" +msgstr "Höj räckvidd" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. volume" @@ -2071,21 +1993,19 @@ msgstr "Välj räckvidd" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Screenshot" -msgstr "" +msgstr "Skärmdump" #: src/gui/guiKeyChangeMenu.cpp msgid "Sneak" msgstr "Smyg" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Toggle HUD" -msgstr "Slå av/på flygläge" +msgstr "Slå av/på HUD" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Toggle chat log" -msgstr "Slå av/på snabb" +msgstr "Slå av/på chattlog" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fast" @@ -2096,27 +2016,24 @@ msgid "Toggle fly" msgstr "Slå av/på flygläge" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Toggle fog" -msgstr "Slå av/på flygläge" +msgstr "Slå av/på dimma" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Toggle minimap" -msgstr "Slå av/på noclip" +msgstr "Slå av/på minimapp" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle noclip" msgstr "Slå av/på noclip" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "Toggle pitchmove" -msgstr "Slå av/på snabb" +msgstr "Slå av/på pitchmove" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" -msgstr "tryck på tangent" +msgstr "tryck knapp" #: src/gui/guiPasswordChange.cpp msgid "Change" @@ -2139,9 +2056,8 @@ msgid "Exit" msgstr "Avsluta" #: src/gui/guiVolumeChange.cpp -#, fuzzy msgid "Muted" -msgstr "Tysta" +msgstr "Tyst" #: src/gui/guiVolumeChange.cpp msgid "Sound Volume: " @@ -2174,7 +2090,6 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" "Can be used to move a desired point to (0, 0) to create a\n" @@ -2186,10 +2101,13 @@ msgid "" "Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." msgstr "" "(X,Y,Z) förskjutning av fraktal från världscenter i enheten 'skala'.\n" -"Används för att flytta ett passande spawn-område av lågland nära (0, 0).\n" -"Ursprungsvärdena passar mandelbrotmängder, de behöver ändras för " -"juliamängder.\n" -"Värden mellan -2 to 2. Multiplicera med 'skala' för avvikelse i noder." +"Kan användas för att förflytta en punkt till (0, 0) för att skapa en\n" +"passande spawnpunkt, eller för att tillåta inzoomning på en specifik\n" +"punkt genom att höja 'scale'.\n" +"Ursprungsvärdena passar en spawnpunkt för mandelbrotmängder,\n" +"den kan behöva ändras i andra situationer.\n" +"Värdegräns mellan -2 och 2. Multiplicera med 'skala för avvikelse\n" +"i noder." #: src/settings_translation_file.cpp msgid "" @@ -2267,9 +2185,8 @@ msgid "3D noise defining structure of river canyon walls." msgstr "3D oljudsdefiniering av strukturen av floddalsväggar." #: src/settings_translation_file.cpp -#, fuzzy msgid "3D noise defining terrain." -msgstr "3D oljudsdefinierade jättegrottor" +msgstr "3D brusdefinierad terräng." #: src/settings_translation_file.cpp msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." @@ -2280,7 +2197,6 @@ msgid "3D noise that determines number of dungeons per mapchunk." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "3D support.\n" "Currently supported:\n" @@ -2300,7 +2216,9 @@ msgstr "" "- interlaced: skärmstöd för ojämn/jämn linjebaserad polarisering.\n" "- topbottom: split screen över/under.\n" "- sidebyside: split screen sida vid sida.\n" -"- pageflip: quadbufferbaserad 3d." +"- crossview: Korsögad 3d\n" +"- pageflip: quadbufferbaserad 3d.\n" +"Notera att 'interlaced'-läget kräver shaders." #: src/settings_translation_file.cpp msgid "" @@ -2320,16 +2238,15 @@ msgstr "Ett meddelande som visas för alla klienter när servern stängs ner." #: src/settings_translation_file.cpp msgid "ABM interval" -msgstr "" +msgstr "ABM-intervall" #: src/settings_translation_file.cpp msgid "ABM time budget" -msgstr "" +msgstr "ABM-tidsbudget" #: src/settings_translation_file.cpp -#, fuzzy msgid "Absolute limit of queued blocks to emerge" -msgstr "Absolut gräns av emerge kö" +msgstr "Absolut gräns för köade block att framträda" #: src/settings_translation_file.cpp msgid "Acceleration in air" @@ -2337,16 +2254,15 @@ msgstr "Acceleration i luften" #: src/settings_translation_file.cpp msgid "Acceleration of gravity, in nodes per second per second." -msgstr "" +msgstr "Accelerering av gravitation, i noder per sekund per sekund." #: src/settings_translation_file.cpp msgid "Active Block Modifiers" msgstr "Aktiva Blockmodifierare" #: src/settings_translation_file.cpp -#, fuzzy msgid "Active block management interval" -msgstr "Aktivt Blockhanteringsintervall" +msgstr "Aktivt blockhanteringsintervall" #: src/settings_translation_file.cpp msgid "Active block range" @@ -2412,12 +2328,11 @@ msgstr "Ambient ocklusion gamma" #: src/settings_translation_file.cpp msgid "Amount of messages a player may send per 10 seconds." -msgstr "" +msgstr "Antal meddelanden en spelare får skicka per 10 sekunder." #: src/settings_translation_file.cpp -#, fuzzy msgid "Amplifies the valleys." -msgstr "Amplifiera dalgångar" +msgstr "Amplifierar dalgångarna." #: src/settings_translation_file.cpp msgid "Anisotropic filtering" @@ -2428,9 +2343,8 @@ msgid "Announce server" msgstr "Offentliggör server" #: src/settings_translation_file.cpp -#, fuzzy msgid "Announce to this serverlist." -msgstr "Offentliggör server" +msgstr "Annonsera till serverlistan." #: src/settings_translation_file.cpp msgid "Append item name" @@ -2446,7 +2360,7 @@ msgstr "Äppelträdlojud" #: src/settings_translation_file.cpp msgid "Arm inertia" -msgstr "" +msgstr "Armtröghet" #: src/settings_translation_file.cpp msgid "" @@ -2459,7 +2373,6 @@ msgid "Ask to reconnect after crash" msgstr "Förfråga att återkoppla efter krash" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "At this distance the server will aggressively optimize which blocks are sent " "to\n" @@ -2473,27 +2386,28 @@ msgid "" "optimization.\n" "Stated in mapblocks (16 nodes)." msgstr "" -"Vid detta avstånd kommer servern att aggressivt omtimera vilka block som " -"skickas till klienterna.\n" +"Vid detta avstånd kommer servern att aggressivt optimera vilka block som " +"skickas till\n" +"klienterna.\n" "Små värden kan potentiellt förbättra prestandan avsevärt, på bekostnaden av " -"synliga renderingsglitchar.\n" -"(vissa block kommer inte att renderas under vatten och i grottor, ibland " -"även på land)\n" +"synliga\n" +"renderingsglitchar (vissa block kommer inte att renderas under vatten och i " +"grottor,\n" +"ibland även på land).\n" "Sätts detta till ett värde större än max_block_send_distance inaktiveras " -"denna optimering.\n" -"Angiven i mapblocks (16 noder)" +"denna\n" +"optimering.\n" +"Angiven i mapblocks (16 noder)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatic forward key" -msgstr "Tangent för filmiskt länge" +msgstr "Automatisk framåtknapp" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." -msgstr "" +msgstr "Hoppa automatiskt upp över enstaka noder hinder." #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatically report to the serverlist." msgstr "Rapportera automatiskt till serverlistan." @@ -2503,15 +2417,15 @@ msgstr "Spara fönsterstorlek automatiskt" #: src/settings_translation_file.cpp msgid "Autoscaling mode" -msgstr "" +msgstr "Automatiskt skalningsläge" #: src/settings_translation_file.cpp msgid "Aux1 key" -msgstr "" +msgstr "Aux1-knappen" #: src/settings_translation_file.cpp msgid "Aux1 key for climbing/descending" -msgstr "" +msgstr "Aux1-knappen för klättring/sjunkning" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2522,18 +2436,16 @@ msgid "Base ground level" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Base terrain height." -msgstr "Bas för terränghöjd" +msgstr "Bas för terränghöjd." #: src/settings_translation_file.cpp msgid "Basic" msgstr "Grundläggande" #: src/settings_translation_file.cpp -#, fuzzy msgid "Basic privileges" -msgstr "Grundläggande Privilegier" +msgstr "Grundläggande privilegier" #: src/settings_translation_file.cpp msgid "Beach noise" @@ -2565,19 +2477,19 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Bold and italic font path" -msgstr "" +msgstr "Fet och kursiv typsnittssökväg" #: src/settings_translation_file.cpp msgid "Bold and italic monospace font path" -msgstr "" +msgstr "Fet och kursiv monospace-typsnittssökväg" #: src/settings_translation_file.cpp msgid "Bold font path" -msgstr "" +msgstr "Fet typsnittssökväg" #: src/settings_translation_file.cpp msgid "Bold monospace font path" -msgstr "" +msgstr "Fet monospace-typsnittssökväg" #: src/settings_translation_file.cpp msgid "Build inside player" @@ -2648,9 +2560,8 @@ msgid "Cavern threshold" msgstr "Grottröskel" #: src/settings_translation_file.cpp -#, fuzzy msgid "Cavern upper limit" -msgstr "Grottbegränsning" +msgstr "Övre grottbegränsning" #: src/settings_translation_file.cpp msgid "" @@ -2659,37 +2570,32 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Oljudströskel för öken" +msgstr "Chattkommando tidströskel" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat font size" -msgstr "Chunkstorlek" +msgstr "Chattens typsnittsstorlek" #: src/settings_translation_file.cpp msgid "Chat key" msgstr "Chattangent" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat log level" -msgstr "Nivå av debuglogg" +msgstr "Chattens loggnivå" #: src/settings_translation_file.cpp msgid "Chat message count limit" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat message format" -msgstr "Krashmeddelande" +msgstr "Chattmeddelandeformat" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat message kick threshold" -msgstr "Oljudströskel för öken" +msgstr "Chattmeddelandens sparkningströskel" #: src/settings_translation_file.cpp msgid "Chat message max length" @@ -2732,9 +2638,8 @@ msgid "Client modding" msgstr "Klientmoddande" #: src/settings_translation_file.cpp -#, fuzzy msgid "Client side modding restrictions" -msgstr "Klientmoddande" +msgstr "Begränsningar för klientmoddning" #: src/settings_translation_file.cpp msgid "Client side node lookup range restriction" @@ -2765,7 +2670,6 @@ msgid "Colored fog" msgstr "Färgad dimma" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" msgstr "Färgad dimma" @@ -2835,9 +2739,8 @@ msgid "ContentDB Max Concurrent Downloads" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "ContentDB URL" -msgstr "Fortsätt" +msgstr "ContentDB URL" #: src/settings_translation_file.cpp msgid "Continuous forward" @@ -2854,14 +2757,14 @@ msgid "Controls" msgstr "Kontrollerar" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Controls length of day/night cycle.\n" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" -"Kontrollerar längden av cyklerna för dag/natt\n" -"Exempel: 72 = 20min, 360 = 4min, 1 = 24timme, 0 = dag/natt/whatever förblir " +"Kontrollerar längden av cyklerna för dag/natt.\n" +"Exempel:\n" +"72 = 20min, 360 = 4min, 1 = 24timme, 0 = dag/natt/någonting förblir " "oförändrat." #: src/settings_translation_file.cpp @@ -2896,11 +2799,12 @@ msgid "Crosshair alpha" msgstr "Hårkorsalpha" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "Also controls the object crosshair color" -msgstr "Hårkorsalpha (ogenomskinlighet, mellan 0 och 255)." +msgstr "" +"Hårkorsalpha (ogenomskinlighet, mellan 0 och 255).\n" +"Kontrollerar även objektets hårkorsfärg" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2925,9 +2829,8 @@ msgid "Debug info toggle key" msgstr "Av/På tangent för debuginformation" #: src/settings_translation_file.cpp -#, fuzzy msgid "Debug log file size threshold" -msgstr "Oljudströskel för öken" +msgstr "Felsökningslogg storlekströskel" #: src/settings_translation_file.cpp msgid "Debug log level" @@ -2974,9 +2877,8 @@ msgid "Default report format" msgstr "Standardformat för rapporter" #: src/settings_translation_file.cpp -#, fuzzy msgid "Default stack size" -msgstr "Standardspel" +msgstr "Standardstapelstorlekar" #: src/settings_translation_file.cpp msgid "" @@ -2994,16 +2896,12 @@ msgid "Defines areas with sandy beaches." msgstr "Definierar områden med sandstränder." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines distribution of higher terrain and steepness of cliffs." -msgstr "" -"Definierar områden för högre (klipptopp-)terräng och påverkar sluttningen av " -"klippor." +msgstr "Definierar distribuering för högre terräng och sluttningen av klippor." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines distribution of higher terrain." -msgstr "Definierar områden för 'terrain_higher' (klipptoppsteräng)." +msgstr "Definierar områden för högre terräng." #: src/settings_translation_file.cpp msgid "Defines full size of caverns, smaller values create larger caverns." @@ -3019,14 +2917,12 @@ msgid "Defines location and terrain of optional hills and lakes." msgstr "Definierar plats och terräng för valfria kullar och sjöar." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the base ground level." -msgstr "Definierar trädområden och trädtäthet." +msgstr "Definierar basnivån." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the depth of the river channel." -msgstr "Definierar trädområden och trädtäthet." +msgstr "Definierar djupet av älvkanalen." #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." @@ -3034,14 +2930,12 @@ msgstr "" "Definierar maximal distans för spelarförflyttning i block (0 = oändligt)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river channel." -msgstr "Definierar strukturen för storskaliga älvkanaler." +msgstr "Definierar bredden för älvkanaler." #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river valley." -msgstr "Definierar områden där träd har äpplen." +msgstr "Definierar bredden för floddalar." #: src/settings_translation_file.cpp msgid "Defines tree areas and tree density." @@ -3070,9 +2964,8 @@ msgid "Deprecated Lua API handling" msgstr "Obruklig Lua API hantering" #: src/settings_translation_file.cpp -#, fuzzy msgid "Depth below which you'll find giant caverns." -msgstr "Djup inunder du kan hitta stora grottor." +msgstr "Djup neråt där du kan hitta enorma grottor." #: src/settings_translation_file.cpp msgid "Depth below which you'll find large caves." @@ -3090,13 +2983,12 @@ msgid "Desert noise threshold" msgstr "Oljudströskel för öken" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Deserts occur when np_biome exceeds this value.\n" "When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" -"Öknar förekommer när np_biome överskridet detta värde.\n" -"När det nya biotopsystemet aktiveras så ignoreras detta." +"Öknar förekommer när np_biome överskrider detta värde.\n" +"Detta ignoreras när 'snowbiomes' flaggen är aktiverad." #: src/settings_translation_file.cpp msgid "Desynchronize block animation" @@ -3147,9 +3039,8 @@ msgid "Dungeon minimum Y" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dungeon noise" -msgstr "Grottoljud" +msgstr "Grottbrus" #: src/settings_translation_file.cpp msgid "" @@ -3412,9 +3303,8 @@ msgid "Floatland minimum Y" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Floatland noise" -msgstr "Grottoljud" +msgstr "Floatlandbrus" #: src/settings_translation_file.cpp msgid "Floatland taper exponent" @@ -3621,9 +3511,8 @@ msgid "Ground level" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Ground noise" -msgstr "Grottoljud" +msgstr "Ytbrus" #: src/settings_translation_file.cpp msgid "HTTP mods" @@ -4824,9 +4713,8 @@ msgid "Liquid queue purge time" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Liquid sinking" -msgstr "Nedstigande hastighet" +msgstr "Vätskesjunkning" #: src/settings_translation_file.cpp msgid "Liquid update interval in seconds." @@ -4856,9 +4744,8 @@ msgid "Lower Y limit of dungeons." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Lower Y limit of floatlands." -msgstr "Absolut gräns av emerge kö" +msgstr "Nedre Y-gräns för floatlands." #: src/settings_translation_file.cpp msgid "Main menu script" @@ -4969,18 +4856,16 @@ msgid "Mapgen Carpathian specific flags" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Flat" -msgstr "Kartgenerator" +msgstr "Mapgen Platt" #: src/settings_translation_file.cpp msgid "Mapgen Flat specific flags" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Fractal" -msgstr "Kartgenerator" +msgstr "Mapgen Fraktal" #: src/settings_translation_file.cpp #, fuzzy @@ -6414,9 +6299,8 @@ msgid "Upper Y limit of dungeons." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Upper Y limit of floatlands." -msgstr "Absolut gräns av emerge kö" +msgstr "Övre Y-gräns för floatlands." #: src/settings_translation_file.cpp msgid "Use 3D cloud look instead of flat." @@ -6751,9 +6635,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Y of upper limit of large caves." -msgstr "Absolut gräns av emerge kö" +msgstr "Y-nivå för högre gräns av stora grottor." #: src/settings_translation_file.cpp msgid "Y-distance over which caverns expand to full size." -- cgit v1.2.3 From a157256706d5bf2c8f982ca971207765c2972405 Mon Sep 17 00:00:00 2001 From: "updatepo.sh" Date: Sat, 27 Nov 2021 19:41:45 +0100 Subject: Update minetest.conf.example and dummy cpp file --- minetest.conf.example | 93 ++++++++++++++++++++------------------- src/settings_translation_file.cpp | 54 +++++++++++++---------- 2 files changed, 78 insertions(+), 69 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index b252f4f70..3f4d01420 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -121,7 +121,7 @@ # joystick_id = 0 # The type of joystick -# type: enum values: auto, generic, xbox +# type: enum values: auto, generic, xbox, dragonrise_gamecube # joystick_type = auto # The time in seconds it takes between repeated events @@ -129,12 +129,12 @@ # type: float min: 0.001 # repeat_joystick_button_time = 0.17 -# The deadzone of the joystick +# The dead zone of the joystick # type: int # joystick_deadzone = 2048 # The sensitivity of the joystick axes for moving the -# ingame view frustum around. +# in-game view frustum around. # type: float # joystick_frustum_sensitivity = 170 @@ -503,7 +503,7 @@ ### Basic -# Whether nametag backgrounds should be shown by default. +# Whether name tag backgrounds should be shown by default. # Mods may still set a background. # type: bool # show_nametag_backgrounds = true @@ -551,7 +551,7 @@ ### Filtering -# Use mip mapping to scale textures. May slightly increase performance, +# Use mipmapping to scale textures. May slightly increase performance, # especially when using a high resolution texture pack. # Gamma correct downscaling is not supported. # type: bool @@ -580,7 +580,7 @@ # can be blurred, so automatically upscale them with nearest-neighbor # interpolation to preserve crisp pixels. This sets the minimum texture size # for the upscaled textures; higher values look sharper, but require more -# memory. Powers of 2 are recommended. This setting is ONLY applies if +# memory. Powers of 2 are recommended. This setting is ONLY applied if # bilinear/trilinear/anisotropic filtering is enabled. # This is also used as the base node texture size for world-aligned # texture autoscaling. @@ -679,7 +679,7 @@ # Texture size to render the shadow map on. # This must be a power of two. -# Bigger numbers create better shadowsbut it is also more expensive. +# Bigger numbers create better shadows but it is also more expensive. # type: int min: 128 max: 8192 # shadow_map_texture_size = 1024 @@ -689,37 +689,38 @@ # type: bool # shadow_map_texture_32bit = true -# Enable poisson disk filtering. -# On true uses poisson disk to make "soft shadows". Otherwise uses PCF filtering. +# Enable Poisson disk filtering. +# On true uses Poisson disk to make "soft shadows". Otherwise uses PCF filtering. # type: bool # shadow_poisson_filter = true -# Define shadow filtering quality -# This simulates the soft shadows effect by applying a PCF or poisson disk +# Define shadow filtering quality. +# This simulates the soft shadows effect by applying a PCF or Poisson disk # but also uses more resources. # type: enum values: 0, 1, 2 # shadow_filters = 1 -# Enable colored shadows. +# Enable colored shadows. # On true translucent nodes cast colored shadows. This is expensive. # type: bool # shadow_map_color = false -# Set the shadow update time. -# Lower value means shadows and map updates faster, but it consume more resources. -# Minimun value 0.001 seconds max value 0.2 seconds -# type: float min: 0.001 max: 0.2 -# shadow_update_time = 0.2 +# Spread a complete update of shadow map over given amount of frames. +# Higher values might make shadows laggy, lower values +# will consume more resources. +# Minimum value: 1; maximum value: 16 +# type: int min: 1 max: 16 +# shadow_update_frames = 8 # Set the soft shadow radius size. -# Lower values mean sharper shadows bigger values softer. -# Minimun value 1.0 and max value 10.0 +# Lower values mean sharper shadows, bigger values mean softer shadows. +# Minimum value: 1.0; maximum value: 10.0 # type: float min: 1 max: 10 # shadow_soft_radius = 1.0 -# Set the tilt of Sun/Moon orbit in degrees +# Set the tilt of Sun/Moon orbit in degrees. # Value of 0 means no tilt / vertical orbit. -# Minimun value 0.0 and max value 60.0 +# Minimum value: 0.0; maximum value: 60.0 # type: float min: 0 max: 60 # shadow_sky_body_orbit_tilt = 0.0 @@ -823,7 +824,7 @@ # Note: On Android, stick with OGLES1 if unsure! App may fail to start otherwise. # On other platforms, OpenGL is recommended. # Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental) -# type: enum values: null, software, burningsvideo, direct3d8, direct3d9, opengl, ogles1, ogles2 +# type: enum values: opengl, ogles1, ogles2 # video_driver = opengl # Radius of cloud area stated in number of 64 node cloud squares. @@ -900,7 +901,7 @@ # crosshair_color = (255,255,255) # Crosshair alpha (opaqueness, between 0 and 255). -# Also controls the object crosshair color +# This also applies to the object crosshair. # type: int min: 0 max: 255 # crosshair_alpha = 255 @@ -917,7 +918,7 @@ # type: float # hud_hotbar_max_width = 1.0 -# Modifies the size of the hudbar elements. +# Modifies the size of the HUD elements. # type: float # hud_scaling = 1.0 @@ -1108,7 +1109,7 @@ # screenshot_path = screenshots # Format of screenshots. -# type: enum values: png, jpg, bmp, pcx, ppm, tga +# type: enum values: png, jpg # screenshot_format = png # Screenshot quality. Only used for JPEG format. @@ -1123,6 +1124,10 @@ # type: int min: 1 # screen_dpi = 72 +# Adjust the detected display density, used for scaling UI elements. +# type: float +# display_density_factor = 1 + # Windows systems only: Start Minetest with the command line window in the background. # Contains the same information as the file debug.txt (default name). # type: bool @@ -1155,13 +1160,13 @@ # Client # -# If enabled, http links in chat can be middle-clicked or ctrl-left-clicked to open the link in the OS's default web browser. +# Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output. # type: bool # clickable_chat_weblinks = false -# If clickable_chat_weblinks is enabled, specify the color (as 24-bit hexadecimal) of weblinks in chat. +# Optional override for chat weblink color. # type: string -# chat_weblink_color = #8888FF +# chat_weblink_color = ## Network @@ -1177,9 +1182,9 @@ # remote_port = 30000 # Prometheus listener address. -# If minetest is compiled with ENABLE_PROMETHEUS option enabled, +# If Minetest is compiled with ENABLE_PROMETHEUS option enabled, # enable metrics listener for Prometheus on that address. -# Metrics can be fetch on http://127.0.0.1:30000/metrics +# Metrics can be fetched on http://127.0.0.1:30000/metrics # type: string # prometheus_listener_address = 127.0.0.1:30000 @@ -1314,11 +1319,10 @@ # type: int # max_packets_per_iteration = 1024 -# ZLib compression level to use when sending mapblocks to the client. -# -1 - Zlib's default compression level -# 0 - no compresson, fastest +# Compression level to use when sending mapblocks to the client. +# -1 - use default compression level +# 0 - least compression, fastest # 9 - best compression, slowest -# (levels 1-3 use Zlib's "fast" method, 4-9 use the normal method) # type: int min: -1 max: 9 # map_compression_level_net = -1 @@ -1553,7 +1557,7 @@ # deprecated_lua_api_handling = log # Number of extra blocks that can be loaded by /clearobjects at once. -# This is a trade-off between sqlite transaction overhead and +# This is a trade-off between SQLite transaction overhead and # memory consumption (4096=100MB, as a rule of thumb). # type: int # max_clearobjects_extra_loaded_blocks = 4096 @@ -1571,13 +1575,12 @@ # type: enum values: 0, 1, 2 # sqlite_synchronous = 2 -# ZLib compression level to use when saving mapblocks to disk. -# -1 - Zlib's default compression level -# 0 - no compresson, fastest +# Compression level to use when saving mapblocks to disk. +# -1 - use default compression level +# 0 - least compression, fastest # 9 - best compression, slowest -# (levels 1-3 use Zlib's "fast" method, 4-9 use the normal method) # type: int min: -1 max: 9 -# map_compression_level_disk = 3 +# map_compression_level_disk = -1 # Length of a server tick and the interval at which objects are generally updated over # network. @@ -1705,7 +1708,7 @@ # type: bool # instrument.lbm = true -# Instrument chatcommands on registration. +# Instrument chat commands on registration. # type: bool # instrument.chatcommand = true @@ -1824,7 +1827,7 @@ # Global map generation attributes. # In Mapgen v6 the 'decorations' flag controls all decorations except trees -# and junglegrass, in all other mapgens this flag controls all decorations. +# and jungle grass, in all other mapgens this flag controls all decorations. # type: flags possible values: caves, dungeons, light, decorations, biomes, ores, nocaves, nodungeons, nolight, nodecorations, nobiomes, noores # mg_flags = caves,dungeons,light,decorations,biomes,ores @@ -3405,17 +3408,17 @@ # enable_mapgen_debug_info = false # Maximum number of blocks that can be queued for loading. -# type: int +# type: int min: 1 max: 1000000 # emergequeue_limit_total = 1024 # Maximum number of blocks to be queued that are to be loaded from file. # This limit is enforced per player. -# type: int +# type: int min: 1 max: 1000000 # emergequeue_limit_diskonly = 128 # Maximum number of blocks to be queued that are to be generated. # This limit is enforced per player. -# type: int +# type: int min: 1 max: 1000000 # emergequeue_limit_generate = 128 # Number of emerge threads to use. diff --git a/src/settings_translation_file.cpp b/src/settings_translation_file.cpp index 49591d1ee..ad2093382 100644 --- a/src/settings_translation_file.cpp +++ b/src/settings_translation_file.cpp @@ -54,10 +54,10 @@ fake_function() { gettext("The type of joystick"); gettext("Joystick button repetition interval"); gettext("The time in seconds it takes between repeated events\nwhen holding down a joystick button combination."); - gettext("Joystick deadzone"); - gettext("The deadzone of the joystick"); + gettext("Joystick dead zone"); + gettext("The dead zone of the joystick"); gettext("Joystick frustum sensitivity"); - gettext("The sensitivity of the joystick axes for moving the\ningame view frustum around."); + gettext("The sensitivity of the joystick axes for moving the\nin-game view frustum around."); gettext("Forward key"); gettext("Key for moving the player forward.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3"); gettext("Backward key"); @@ -203,8 +203,8 @@ fake_function() { gettext("Graphics"); gettext("In-Game"); gettext("Basic"); - gettext("Show nametag backgrounds by default"); - gettext("Whether nametag backgrounds should be shown by default.\nMods may still set a background."); + gettext("Show name tag backgrounds by default"); + gettext("Whether name tag backgrounds should be shown by default.\nMods may still set a background."); gettext("VBO"); gettext("Enable vertex buffer objects.\nThis should greatly improve graphics performance."); gettext("Fog"); @@ -225,7 +225,7 @@ fake_function() { gettext("Adds particles when digging a node."); gettext("Filtering"); gettext("Mipmapping"); - gettext("Use mip mapping to scale textures. May slightly increase performance,\nespecially when using a high resolution texture pack.\nGamma correct downscaling is not supported."); + gettext("Use mipmapping to scale textures. May slightly increase performance,\nespecially when using a high resolution texture pack.\nGamma correct downscaling is not supported."); gettext("Anisotropic filtering"); gettext("Use anisotropic filtering when viewing at textures from an angle."); gettext("Bilinear filtering"); @@ -235,7 +235,7 @@ fake_function() { gettext("Clean transparent textures"); gettext("Filtered textures can blend RGB values with fully-transparent neighbors,\nwhich PNG optimizers usually discard, often resulting in dark or\nlight edges to transparent textures. Apply a filter to clean that up\nat texture load time. This is automatically enabled if mipmapping is enabled."); gettext("Minimum texture size"); - gettext("When using bilinear/trilinear/anisotropic filters, low-resolution textures\ncan be blurred, so automatically upscale them with nearest-neighbor\ninterpolation to preserve crisp pixels. This sets the minimum texture size\nfor the upscaled textures; higher values look sharper, but require more\nmemory. Powers of 2 are recommended. This setting is ONLY applies if\nbilinear/trilinear/anisotropic filtering is enabled.\nThis is also used as the base node texture size for world-aligned\ntexture autoscaling."); + gettext("When using bilinear/trilinear/anisotropic filters, low-resolution textures\ncan be blurred, so automatically upscale them with nearest-neighbor\ninterpolation to preserve crisp pixels. This sets the minimum texture size\nfor the upscaled textures; higher values look sharper, but require more\nmemory. Powers of 2 are recommended. This setting is ONLY applied if\nbilinear/trilinear/anisotropic filtering is enabled.\nThis is also used as the base node texture size for world-aligned\ntexture autoscaling."); gettext("FSAA"); gettext("Use multi-sample antialiasing (MSAA) to smooth out block edges.\nThis algorithm smooths out the 3D viewport while keeping the image sharp,\nbut it doesn't affect the insides of textures\n(which is especially noticeable with transparent textures).\nVisible spaces appear between nodes when shaders are disabled.\nIf set to 0, MSAA is disabled.\nA restart is required after changing this option."); gettext("Undersampling"); @@ -269,21 +269,21 @@ fake_function() { gettext("Shadow map max distance in nodes to render shadows"); gettext("Maximum distance to render shadows."); gettext("Shadow map texture size"); - gettext("Texture size to render the shadow map on.\nThis must be a power of two.\nBigger numbers create better shadowsbut it is also more expensive."); + gettext("Texture size to render the shadow map on.\nThis must be a power of two.\nBigger numbers create better shadows but it is also more expensive."); gettext("Shadow map texture in 32 bits"); gettext("Sets shadow texture quality to 32 bits.\nOn false, 16 bits texture will be used.\nThis can cause much more artifacts in the shadow."); gettext("Poisson filtering"); - gettext("Enable poisson disk filtering.\nOn true uses poisson disk to make \"soft shadows\". Otherwise uses PCF filtering."); + gettext("Enable Poisson disk filtering.\nOn true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF filtering."); gettext("Shadow filter quality"); - gettext("Define shadow filtering quality\nThis simulates the soft shadows effect by applying a PCF or poisson disk\nbut also uses more resources."); + gettext("Define shadow filtering quality.\nThis simulates the soft shadows effect by applying a PCF or Poisson disk\nbut also uses more resources."); gettext("Colored shadows"); - gettext("Enable colored shadows. \nOn true translucent nodes cast colored shadows. This is expensive."); - gettext("Map update time"); - gettext("Set the shadow update time.\nLower value means shadows and map updates faster, but it consume more resources.\nMinimun value 0.001 seconds max value 0.2 seconds"); + gettext("Enable colored shadows.\nOn true translucent nodes cast colored shadows. This is expensive."); + gettext("Map shadows update frames"); + gettext("Spread a complete update of shadow map over given amount of frames.\nHigher values might make shadows laggy, lower values\nwill consume more resources.\nMinimum value: 1; maximum value: 16"); gettext("Soft shadow radius"); - gettext("Set the soft shadow radius size.\nLower values mean sharper shadows bigger values softer.\nMinimun value 1.0 and max value 10.0"); + gettext("Set the soft shadow radius size.\nLower values mean sharper shadows, bigger values mean softer shadows.\nMinimum value: 1.0; maximum value: 10.0"); gettext("Sky Body Orbit Tilt"); - gettext("Set the tilt of Sun/Moon orbit in degrees\nValue of 0 means no tilt / vertical orbit.\nMinimun value 0.0 and max value 60.0"); + gettext("Set the tilt of Sun/Moon orbit in degrees.\nValue of 0 means no tilt / vertical orbit.\nMinimum value: 0.0; maximum value: 60.0"); gettext("Advanced"); gettext("Arm inertia"); gettext("Arm inertia, gives a more realistic movement of\nthe arm when the camera moves."); @@ -356,7 +356,7 @@ fake_function() { gettext("Crosshair color"); gettext("Crosshair color (R,G,B).\nAlso controls the object crosshair color"); gettext("Crosshair alpha"); - gettext("Crosshair alpha (opaqueness, between 0 and 255).\nAlso controls the object crosshair color"); + gettext("Crosshair alpha (opaqueness, between 0 and 255).\nThis also applies to the object crosshair."); gettext("Recent Chat Messages"); gettext("Maximum number of recent chat messages to show"); gettext("Desynchronize block animation"); @@ -364,7 +364,7 @@ fake_function() { gettext("Maximum hotbar width"); gettext("Maximum proportion of current window to be used for hotbar.\nUseful if there's something to be displayed right or left of hotbar."); gettext("HUD scale factor"); - gettext("Modifies the size of the hudbar elements."); + gettext("Modifies the size of the HUD elements."); gettext("Mesh cache"); gettext("Enables caching of facedir rotated meshes."); gettext("Mapblock mesh generation delay"); @@ -441,6 +441,8 @@ fake_function() { gettext("Advanced"); gettext("DPI"); gettext("Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k screens."); + gettext("Display Density Scaling Factor"); + gettext("Adjust the detected display density, used for scaling UI elements."); gettext("Enable console window"); gettext("Windows systems only: Start Minetest with the command line window in the background.\nContains the same information as the file debug.txt (default name)."); gettext("Sound"); @@ -451,13 +453,17 @@ fake_function() { gettext("Mute sound"); gettext("Whether to mute sounds. You can unmute sounds at any time, unless the\nsound system is disabled (enable_sound=false).\nIn-game, you can toggle the mute state with the mute key or by using the\npause menu."); gettext("Client"); + gettext("Chat weblinks"); + gettext("Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output."); + gettext("Weblink color"); + gettext("Optional override for chat weblink color."); gettext("Network"); gettext("Server address"); gettext("Address to connect to.\nLeave this blank to start a local server.\nNote that the address field in the main menu overrides this setting."); gettext("Remote port"); gettext("Port to connect to (UDP).\nNote that the port field in the main menu overrides this setting."); gettext("Prometheus listener address"); - gettext("Prometheus listener address.\nIf minetest is compiled with ENABLE_PROMETHEUS option enabled,\nenable metrics listener for Prometheus on that address.\nMetrics can be fetch on http://127.0.0.1:30000/metrics"); + gettext("Prometheus listener address.\nIf Minetest is compiled with ENABLE_PROMETHEUS option enabled,\nenable metrics listener for Prometheus on that address.\nMetrics can be fetched on http://127.0.0.1:30000/metrics"); gettext("Saving map received from server"); gettext("Save the map received by the client on disk."); gettext("Connect to external media server"); @@ -513,7 +519,7 @@ fake_function() { gettext("Max. packets per iteration"); gettext("Maximum number of packets sent per send step, if you have a slow connection\ntry reducing it, but don't reduce it to a number below double of targeted\nclient number."); gettext("Map Compression Level for Network Transfer"); - gettext("ZLib compression level to use when sending mapblocks to the client.\n-1 - Zlib's default compression level\n0 - no compresson, fastest\n9 - best compression, slowest\n(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)"); + gettext("Compression level to use when sending mapblocks to the client.\n-1 - use default compression level\n0 - least compression, fastest\n9 - best compression, slowest"); gettext("Game"); gettext("Default game"); gettext("Default game when creating a new world.\nThis will be overridden when creating a world from the main menu."); @@ -616,7 +622,7 @@ fake_function() { gettext("Deprecated Lua API handling"); gettext("Handling for deprecated Lua API calls:\n- none: Do not log deprecated calls\n- log: mimic and log backtrace of deprecated call (default).\n- error: abort on usage of deprecated call (suggested for mod developers)."); gettext("Max. clearobjects extra blocks"); - gettext("Number of extra blocks that can be loaded by /clearobjects at once.\nThis is a trade-off between sqlite transaction overhead and\nmemory consumption (4096=100MB, as a rule of thumb)."); + gettext("Number of extra blocks that can be loaded by /clearobjects at once.\nThis is a trade-off between SQLite transaction overhead and\nmemory consumption (4096=100MB, as a rule of thumb)."); gettext("Unload unused server data"); gettext("How much the server will wait before unloading unused mapblocks.\nHigher value is smoother, but will use more RAM."); gettext("Maximum objects per block"); @@ -624,7 +630,7 @@ fake_function() { gettext("Synchronous SQLite"); gettext("See https://www.sqlite.org/pragma.html#pragma_synchronous"); gettext("Map Compression Level for Disk Storage"); - gettext("ZLib compression level to use when saving mapblocks to disk.\n-1 - Zlib's default compression level\n0 - no compresson, fastest\n9 - best compression, slowest\n(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)"); + gettext("Compression level to use when saving mapblocks to disk.\n-1 - use default compression level\n0 - least compression, fastest\n9 - best compression, slowest"); gettext("Dedicated server step"); gettext("Length of a server tick and the interval at which objects are generally updated over\nnetwork."); gettext("Active block management interval"); @@ -673,8 +679,8 @@ fake_function() { gettext("Instrument the action function of Active Block Modifiers on registration."); gettext("Loading Block Modifiers"); gettext("Instrument the action function of Loading Block Modifiers on registration."); - gettext("Chatcommands"); - gettext("Instrument chatcommands on registration."); + gettext("Chat commands"); + gettext("Instrument chat commands on registration."); gettext("Global callbacks"); gettext("Instrument global callback functions on registration.\n(anything you pass to a minetest.register_*() function)"); gettext("Advanced"); @@ -716,7 +722,7 @@ fake_function() { gettext("Map generation limit"); gettext("Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\nOnly mapchunks completely within the mapgen limit are generated.\nValue is stored per-world."); gettext("Mapgen flags"); - gettext("Global map generation attributes.\nIn Mapgen v6 the 'decorations' flag controls all decorations except trees\nand junglegrass, in all other mapgens this flag controls all decorations."); + gettext("Global map generation attributes.\nIn Mapgen v6 the 'decorations' flag controls all decorations except trees\nand jungle grass, in all other mapgens this flag controls all decorations."); gettext("Biome API temperature and humidity noise parameters"); gettext("Heat noise"); gettext("Temperature variation for biomes."); -- cgit v1.2.3 From 1dc1305ada07da8c2a278b46a34d58af86184af9 Mon Sep 17 00:00:00 2001 From: "updatepo.sh" Date: Sat, 27 Nov 2021 19:42:26 +0100 Subject: Update translation files --- po/ar/minetest.po | 261 ++- po/be/minetest.po | 268 ++- po/bg/minetest.po | 259 ++- po/ca/minetest.po | 266 ++- po/cs/minetest.po | 294 +++- po/da/minetest.po | 265 ++- po/de/minetest.po | 337 ++-- po/dv/minetest.po | 252 ++- po/el/minetest.po | 250 ++- po/eo/minetest.po | 303 +++- po/es/minetest.po | 279 ++- po/et/minetest.po | 261 ++- po/eu/minetest.po | 257 ++- po/fi/minetest.po | 253 ++- po/fil/minetest.po | 240 ++- po/fr/minetest.po | 387 ++-- po/gd/minetest.po | 256 ++- po/gl/minetest.po | 245 ++- po/he/minetest.po | 261 ++- po/hi/minetest.po | 260 ++- po/hu/minetest.po | 276 ++- po/id/minetest.po | 294 +++- po/it/minetest.po | 304 +++- po/ja/minetest.po | 357 ++-- po/jbo/minetest.po | 253 ++- po/kk/minetest.po | 245 ++- po/kn/minetest.po | 247 ++- po/ko/minetest.po | 266 ++- po/ky/minetest.po | 251 ++- po/lt/minetest.po | 261 ++- po/lv/minetest.po | 260 ++- po/minetest.pot | 229 ++- po/mr/minetest.po | 247 ++- po/ms/minetest.po | 331 ++-- po/ms_Arab/minetest.po | 266 ++- po/nb/minetest.po | 262 ++- po/nl/minetest.po | 299 +++- po/nn/minetest.po | 265 ++- po/pl/minetest.po | 282 ++- po/pt/minetest.po | 298 +++- po/pt_BR/minetest.po | 340 ++-- po/ro/minetest.po | 260 ++- po/ru/minetest.po | 333 ++-- po/sk/minetest.po | 332 ++-- po/sl/minetest.po | 260 ++- po/sr_Cyrl/minetest.po | 266 ++- po/sr_Latn/minetest.po | 247 ++- po/sv/minetest.po | 266 ++- po/sw/minetest.po | 270 ++- po/th/minetest.po | 265 ++- po/tr/minetest.po | 334 ++-- po/tt/minetest.po | 245 ++- po/uk/minetest.po | 261 ++- po/vi/minetest.po | 246 ++- po/yue/minetest.po | 4560 ++++++++++++++++++++++++------------------------ po/zh_CN/minetest.po | 304 +++- po/zh_TW/minetest.po | 265 ++- 57 files changed, 12933 insertions(+), 7068 deletions(-) diff --git a/po/ar/minetest.po b/po/ar/minetest.po index f442efb65..5f539e66b 100644 --- a/po/ar/minetest.po +++ b/po/ar/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-10-10 21:02+0000\n" "Last-Translator: abidin toumi \n" "Language-Team: Arabic ]" msgid "OK" msgstr "موافق" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "الأوامر غير المتاحة: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "حدث خطأ في برنامج Lua النصي:" @@ -300,6 +301,11 @@ msgstr "ثبت $1" msgid "Install missing dependencies" msgstr "ثبت الإعتماديات المفقودة" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "يثبت: نوع الملف \"$1\" غير مدعوم أو هو أرشيف تالف" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -627,7 +633,7 @@ msgstr "المُعادل" #: builtin/mainmenu/dlg_settings_advanced.lua #, fuzzy -msgid "Persistance" +msgid "Persistence" msgstr "استمرار" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -738,14 +744,6 @@ msgstr "تثبيت تعديل: لا يمكن ايجاد الاسم الحقيق msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "تثبيت تعديل: لا يمكن العصور على اسم مجلد مناسب لحزمة التعديلات $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "يثبت: نوع الملف \"$1\" غير مدعوم أو هو أرشيف تالف" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "ثبت: الملف: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "فشل إيجاد تعديل أو حزمة تعديلات صالحة" @@ -1114,10 +1112,6 @@ msgstr "إضاءة سلسة" msgid "Texturing:" msgstr "الإكساء:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "لاستخدام المظللات يجب استخدام تعريف OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1150,7 +1144,7 @@ msgstr "سوائل متموجة" msgid "Waving Plants" msgstr "نباتات متموجة" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "انتهت مهلة الاتصال." @@ -1179,7 +1173,8 @@ msgid "Connection error (timed out?)" msgstr "خطأ في الاتصال (انتهاء المهلة؟)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "لا يمكن إيجاد أو تحميل لعبة \"" #: src/client/clientlauncher.cpp @@ -1251,6 +1246,16 @@ msgstr "- قتال اللاعبين: " msgid "- Server Name: " msgstr "- اسم الخادم: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "حدث خطأ:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "المشي التلقائي معطل" @@ -1259,6 +1264,22 @@ msgstr "المشي التلقائي معطل" msgid "Automatic forward enabled" msgstr "المشي التلقائي ممكن" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "تحديث الكاميرا معطل" @@ -1267,6 +1288,10 @@ msgstr "تحديث الكاميرا معطل" msgid "Camera update enabled" msgstr "تحديث الكاميرا مفعل" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "غير كلمة المرور" @@ -1279,6 +1304,10 @@ msgstr "الوضع السينمائي معطل" msgid "Cinematic mode enabled" msgstr "الوضع السينمائي مفعل" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "البرمجة النصية معطلة من جانب العميل" @@ -1287,6 +1316,10 @@ msgstr "البرمجة النصية معطلة من جانب العميل" msgid "Connecting to server..." msgstr "يتصل بالخادوم…" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "تابع" @@ -1324,6 +1357,11 @@ msgstr "" "- عجلة الفأرة: غيير العنصر\n" "- -%s: دردشة\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "ينشىء عميلا…" @@ -1531,6 +1569,21 @@ msgstr "الصوت غير مكتوم" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "غُيرَ مدى الرؤية الى %d" @@ -1914,6 +1967,15 @@ msgstr "الخريطة المصغرة في وضع الأسطح، تكبير x1" msgid "Minimap in texture mode" msgstr "الخريطة المصغرة في وضع الأسطح، تكبير x1" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "فشل تحميل $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "كلمتا المرور غير متطابقتين!" @@ -1922,7 +1984,7 @@ msgstr "كلمتا المرور غير متطابقتين!" msgid "Register and Join" msgstr "سجل وادخل" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2113,7 +2175,8 @@ msgid "Muted" msgstr "مكتوم" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "حجم الصوت: " #. ~ Imperative, as in "Enter/type in text". @@ -2322,6 +2385,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2588,6 +2655,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "الأوامر" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2621,8 +2693,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "الدردشة ظاهرة" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2640,6 +2713,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2715,6 +2794,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2806,7 +2901,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2883,8 +2978,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3002,6 +3097,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3048,7 +3147,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3076,13 +3182,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3475,7 +3574,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3907,7 +4006,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3991,7 +4090,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4820,7 +4919,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5113,7 +5212,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5245,7 +5344,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5269,6 +5368,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5409,9 +5512,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5704,26 +5807,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5814,8 +5909,9 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" -msgstr "" +#, fuzzy +msgid "Show name tag backgrounds by default" +msgstr "الخط عريض افتراضيًا" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -5919,6 +6015,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6029,7 +6133,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6047,7 +6151,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6116,7 +6220,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6279,7 +6383,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6462,6 +6566,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6483,7 +6591,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6498,7 +6606,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6624,24 +6732,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6684,6 +6774,9 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "ولِد خرائط عادية" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "ثبت: الملف: \"$1\"" + #~ msgid "Main" #~ msgstr "الرئيسية" @@ -6723,11 +6816,17 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "إلعب فرديا" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "لاستخدام المظللات يجب استخدام تعريف OpenGL." + #~ msgid "View" #~ msgstr "إعرض" #~ msgid "Yes" #~ msgstr "نعم" +#~ msgid "You died." +#~ msgstr "مِت" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/be/minetest.po b/po/be/minetest.po index bfae449ad..931257dac 100644 --- a/po/be/minetest.po +++ b/po/be/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Belarusian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2019-11-19 23:04+0000\n" "Last-Translator: Viktar Vauchkevich \n" "Language-Team: Belarusian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Адбылася памылка ў Lua-скрыпце:" @@ -307,6 +306,11 @@ msgstr "Усталяваць" msgid "Install missing dependencies" msgstr "Неабавязковыя залежнасці:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Усталёўка: непадтрымліваемы файл тыпу \"$1\" або сапсаваны архіў" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -653,7 +657,8 @@ msgid "Offset" msgstr "Зрух" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Сталасць" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -766,14 +771,6 @@ msgstr "" "Усталёўка мадыфікацыі: не атрымалася знайсці прыдатны каталог для пакунка " "мадыфікацый \"$1\"" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Усталёўка: непадтрымліваемы файл тыпу \"$1\" або сапсаваны архіў" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Усталёўка: файл: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Не атрымалася знайсці прыдатную мадыфікацыю альбо пакунак мадыфікацый" @@ -1151,10 +1148,6 @@ msgstr "Мяккае асвятленне" msgid "Texturing:" msgstr "Тэкстураванне:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Для ўключэння шэйдэраў неабходна выкарыстоўваць OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Танальнае адлюстраванне" @@ -1187,7 +1180,7 @@ msgstr "Калыханне вадкасцяў" msgid "Waving Plants" msgstr "Дрыготкія расліны" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Таймаут злучэння." @@ -1216,7 +1209,8 @@ msgid "Connection error (timed out?)" msgstr "Памылка злучэння (таймаут?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Немагчыма знайсці ці загрузіць гульню \"" #: src/client/clientlauncher.cpp @@ -1288,6 +1282,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Назва сервера: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Адбылася памылка:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Аўтаматычны рух наперад адключаны" @@ -1296,6 +1300,22 @@ msgstr "Аўтаматычны рух наперад адключаны" msgid "Automatic forward enabled" msgstr "Аўтаматычны рух наперад уключаны" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Абнаўленне камеры адключана" @@ -1304,6 +1324,10 @@ msgstr "Абнаўленне камеры адключана" msgid "Camera update enabled" msgstr "Абнаўленне камеры ўключана" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Змяніць пароль" @@ -1316,6 +1340,11 @@ msgstr "Кінематаграфічны рэжым адключаны" msgid "Cinematic mode enabled" msgstr "Кінематаграфічны рэжым уключаны" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Модынг кліента" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Кліентскія мадыфікацыі выключаныя" @@ -1324,6 +1353,10 @@ msgstr "Кліентскія мадыфікацыі выключаныя" msgid "Connecting to server..." msgstr "Злучэнне з серверам…" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Працягнуць" @@ -1361,6 +1394,11 @@ msgstr "" "- Mouse wheel: абраць прадмет\n" "- %s: размова\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Стварэнне кліента…" @@ -1568,6 +1606,21 @@ msgstr "Гук уключаны" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Бачнасць змененая на %d" @@ -1901,6 +1954,15 @@ msgstr "Мінімапа ў рэжыме паверхні, павелічэнн msgid "Minimap in texture mode" msgstr "Мінімальны памер тэкстуры" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Не атрымалася спампаваць $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Паролі не супадаюць!" @@ -1909,7 +1971,7 @@ msgstr "Паролі не супадаюць!" msgid "Register and Join" msgstr "Зарэгістравацца і далучыцца" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2103,7 +2165,8 @@ msgid "Muted" msgstr "Сцішаны" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Гучнасць: " #. ~ Imperative, as in "Enter/type in text". @@ -2354,6 +2417,10 @@ msgstr "" "Наладка DPI (кропак на цалю) на экране\n" "(не толькі X11/Android), напрыклад, для 4k-экранаў." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2645,6 +2712,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Максімальная колькасць паведамленняў у размове для выключэння" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Загады размовы" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2680,8 +2752,9 @@ msgid "Chat toggle key" msgstr "Клавіша пераключэння размовы" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Загады размовы" +#, fuzzy +msgid "Chat weblinks" +msgstr "Размова паказваецца" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2699,6 +2772,12 @@ msgstr "Клавіша кінематаграфічнага рэжыму" msgid "Clean transparent textures" msgstr "Чыстыя празрыстыя тэкстуры" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Кліент" @@ -2787,6 +2866,22 @@ msgstr "" msgid "Command key" msgstr "Клавіша загаду" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Суцэльнае шкло" @@ -2883,7 +2978,7 @@ msgstr "Празрыстасць перакрыжавання" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "Празрыстасць перакрыжавання (паміж 0 і 255)." #: src/settings_translation_file.cpp @@ -2964,8 +3059,8 @@ msgstr "Прадвызначаная гульня" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3094,6 +3189,10 @@ msgstr "Выключыць антычыт" msgid "Disallow empty passwords" msgstr "Забараніць пустыя паролі" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Даменная назва сервера, што будзе паказвацца ў спісе сервераў." @@ -3142,7 +3241,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3171,13 +3277,6 @@ msgstr "Уключыць абарону мадыфікацый" msgid "Enable players getting damage and dying." msgstr "Дазволіць гульцам атрымоўваць пашкоджанні і паміраць." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Уключыць выпадковы карыстальніцкі ўвод (толькі для тэставання)." @@ -3618,10 +3717,11 @@ msgid "Global callbacks" msgstr "Глабальныя зваротныя выклікі" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Глабальныя параметры генерацыі мапы.\n" "У генератары мапы 6 параметр «decorations» кіруе ўсімі дэкарацыямі,\n" @@ -4114,7 +4214,8 @@ msgstr "" "Звычайна патрабуюцца толькі распрацоўшчыкам ядра" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Выконваць загады ў размове пры рэгістрацыі." #: src/settings_translation_file.cpp @@ -4209,7 +4310,7 @@ msgstr "Інтэрвал паўтору кнопкі джойсціка" #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "Тып джойсціка" #: src/settings_translation_file.cpp @@ -5334,7 +5435,7 @@ msgstr "Інтэрвал захавання мапы" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Інтэрвал абнаўлення вадкасці" #: src/settings_translation_file.cpp @@ -5655,7 +5756,8 @@ msgid "Mod channels" msgstr "Каналы мадыфікацый" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Змяняе памер элеметаў панэлі HUD." #: src/settings_translation_file.cpp @@ -5816,9 +5918,10 @@ msgstr "" "'On_generated. Для большасці карыстальнікаў найлепшым значэннем можа быць 1." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Колькасць дадатковых блокаў, што могуць адначасова загружацца загадам /" @@ -5848,6 +5951,10 @@ msgstr "" "Адкрыць меню паўзы калі акно страціла фокус. Не будзе працаваць калі якое-" "небудзь меню ўжо адкрыта." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6006,9 +6113,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6348,26 +6455,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6480,7 +6579,7 @@ msgstr "" "Пасля змены мовы патрэбна перазапусціць гульню." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6607,6 +6706,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "" @@ -6727,7 +6834,7 @@ msgstr "Шлях да тэкстур" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6753,7 +6860,7 @@ msgstr "URL рэпазіторыя" #: src/settings_translation_file.cpp #, fuzzy -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "Ідэнтыфікатар джойсціка для выкарыстання" #: src/settings_translation_file.cpp @@ -6840,9 +6947,10 @@ msgstr "" "з падтрымкай шэйдэраў." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "Адчувальнасць восяў джойсціка пры азіранні." #: src/settings_translation_file.cpp @@ -7039,8 +7147,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Выкарыстоўваць білінейную фільтрацыю пры маштабаванні тэкстур." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7244,6 +7353,11 @@ msgstr "Даўжыня водных хваляў" msgid "Waving plants" msgstr "Калыханне раслін" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Колер вобласці вылучэння" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7273,7 +7387,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7302,7 +7416,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7448,24 +7562,6 @@ msgstr "Y-узровень нізкага рэльефу і марскога д msgid "Y-level of seabed." msgstr "Y-узровень марскога дна." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Таймаўт спампоўвання файла па cURL" @@ -7682,6 +7778,9 @@ msgstr "Ліміт адначасовых злучэнняў cURL" #~ "Калі ўключана адначасова з рэжымам палёту, то вызначае напрамак руху " #~ "адносна кроку гульца." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Усталёўка: файл: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Глыбіня лавы" @@ -7836,6 +7935,9 @@ msgstr "Ліміт адначасовых злучэнняў cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Гэты шрыфт будзе выкарыстоўваецца для некаторых моў." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Для ўключэння шэйдэраў неабходна выкарыстоўваць OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Кінематаграфічнасць" @@ -7871,5 +7973,9 @@ msgstr "Ліміт адначасовых злучэнняў cURL" #~ msgid "Yes" #~ msgstr "Так" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Вы загінулі" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/bg/minetest.po b/po/bg/minetest.po index 0476ee3e1..f3649f6d2 100644 --- a/po/bg/minetest.po +++ b/po/bg/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-10-08 20:02+0000\n" "Last-Translator: 109247019824 \n" "Language-Team: Bulgarian " +msgstr "Недостъпни команди: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Грешка в скрипт на Lua:" @@ -301,6 +302,11 @@ msgstr "Инсталиране $1" msgid "Install missing dependencies" msgstr "Инсталиране на липсващи зависимости" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Инсталиране: Неподдържан вид на файла „$ 1“ или повреден архив" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -630,7 +636,8 @@ msgid "Offset" msgstr "Отместване" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Устойчивост" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -740,14 +747,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Инсталиране: Неподдържан вид на файла „$ 1“ или повреден архив" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Инсталиране: файл: „$1“" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -778,7 +777,8 @@ msgstr "Списъкът с обществени сървъри е изключ #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." -msgstr "Включете списъка на обществени сървъри и проверете връзката с интернет." +msgstr "" +"Включете списъка на обществени сървъри и проверете връзката с интернет." #: builtin/mainmenu/tab_about.lua msgid "About" @@ -1117,10 +1117,6 @@ msgstr "Гладко осветление" msgid "Texturing:" msgstr "Текстуриране:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1153,7 +1149,7 @@ msgstr "Поклащащи се течности" msgid "Waving Plants" msgstr "Поклащащи се растения" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Времето за свързване изтече." @@ -1182,7 +1178,7 @@ msgid "Connection error (timed out?)" msgstr "Грешка при свързване (изтекло време?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1254,6 +1250,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Име на сървър: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Възникна грешка:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Автоматичното движение напред е изключено" @@ -1262,6 +1268,23 @@ msgstr "Автоматичното движение напред е изключ msgid "Automatic forward enabled" msgstr "Автоматичното движение напред е включено" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Граници на блокове" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Опресняването на екрана при движение е изключено" @@ -1270,6 +1293,10 @@ msgstr "Опресняването на екрана при движение е msgid "Camera update enabled" msgstr "Опресняването на екрана при движение е включено" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Промяна на парола" @@ -1282,6 +1309,10 @@ msgstr "Кинематографичният режим е изключен" msgid "Cinematic mode enabled" msgstr "Кинематографичният режим е включен" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Изпълняване на скриптове от страната на клиента е изключено" @@ -1290,6 +1321,10 @@ msgstr "Изпълняване на скриптове от страната н msgid "Connecting to server..." msgstr "Свързване със сървър…" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Продължаване" @@ -1327,6 +1362,11 @@ msgstr "" "- колелце на мишка: избор на предмет\n" "- %s: разговор\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Създаване на клиент…" @@ -1521,6 +1561,21 @@ msgstr "Звукът е пуснат" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Обхватът на видимостта е променен на %d" @@ -1853,6 +1908,15 @@ msgstr "Картата е в режим на повърхност, мащаб x% msgid "Minimap in texture mode" msgstr "Картата е в режим на текстура" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Грешка при изтеглянето на $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Паролите не съвпадат!" @@ -1861,7 +1925,7 @@ msgstr "Паролите не съвпадат!" msgid "Register and Join" msgstr "Регистриране и вход" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2054,7 +2118,8 @@ msgid "Muted" msgstr "Без звук" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Сила на звука: " #. ~ Imperative, as in "Enter/type in text". @@ -2261,6 +2326,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2527,6 +2596,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Команда" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2560,8 +2634,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "Разговорите са видими" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2579,6 +2654,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2654,6 +2735,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2749,7 +2846,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2826,8 +2923,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2945,6 +3042,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2991,7 +3092,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3019,13 +3127,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3418,7 +3519,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3850,7 +3951,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3934,7 +4035,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4763,7 +4864,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5056,7 +5157,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5188,7 +5289,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5212,6 +5313,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5352,9 +5457,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5647,26 +5752,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5757,7 +5854,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5862,6 +5959,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5972,7 +6077,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5990,7 +6095,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6059,7 +6164,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6222,7 +6327,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6405,6 +6510,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6426,7 +6535,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6441,7 +6550,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6567,24 +6676,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6597,8 +6688,14 @@ msgstr "" msgid "cURL parallel limit" msgstr "" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Инсталиране: файл: „$1“" + #~ msgid "View" #~ msgstr "Гледане" +#~ msgid "You died." +#~ msgstr "Умряхте." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/ca/minetest.po b/po/ca/minetest.po index a388ebfc1..a3e4af7bd 100644 --- a/po/ca/minetest.po +++ b/po/ca/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Catalan (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Catalan " +msgstr "" + #: builtin/fstk/ui.lua #, fuzzy msgid "An error occurred in a Lua script:" @@ -319,6 +318,13 @@ msgstr "Instal·lar" msgid "Install missing dependencies" msgstr "Dependències opcionals:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"\n" +"Instal·lar mod: Format de arxiu \"$1\" no suportat o arxiu corrupte" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -664,7 +670,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -783,18 +789,6 @@ msgstr "" "Instal·lar mod: Impossible de trobar el nom de la carpeta adequat per al " "paquet de mods $1" -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"\n" -"Instal·lar mod: Format de arxiu \"$1\" no suportat o arxiu corrupte" - -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: file: \"$1\"" -msgstr "Instal·lar mod: Arxiu: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua #, fuzzy msgid "Unable to find a valid mod or modpack" @@ -1189,10 +1183,6 @@ msgstr "Il·luminació suau" msgid "Texturing:" msgstr "Texturització:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Per habilitar les ombres el controlador OpenGL ha ser utilitzat." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1227,7 +1217,7 @@ msgstr "Moviment de les Fulles" msgid "Waving Plants" msgstr "Moviment de Plantes" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Temps d'espera de la connexió esgotat." @@ -1256,7 +1246,8 @@ msgid "Connection error (timed out?)" msgstr "Error de connexió (¿temps esgotat?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "No es pot trobar o carregar el joc \"" #: src/client/clientlauncher.cpp @@ -1333,6 +1324,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ha ocorregut un error:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1343,6 +1344,22 @@ msgstr "Tecla Avançar" msgid "Automatic forward enabled" msgstr "Tecla Avançar" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Camera update disabled" @@ -1353,6 +1370,10 @@ msgstr "Tecla alternativa per a l'actualització de la càmera" msgid "Camera update enabled" msgstr "Tecla alternativa per a l'actualització de la càmera" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Canviar contrasenya" @@ -1367,6 +1388,11 @@ msgstr "Tecla mode cinematogràfic" msgid "Cinematic mode enabled" msgstr "Tecla mode cinematogràfic" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Client" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1375,6 +1401,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Connectant al servidor ..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continuar" @@ -1409,6 +1439,11 @@ msgstr "" "- Roda ratolí: triar objecte\n" "- T: xat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Creant client ..." @@ -1627,6 +1662,21 @@ msgstr "Volum del so" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1968,6 +2018,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Error al instal·lar $1 en $2" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Les contrasenyes no coincideixen!" @@ -1976,7 +2035,7 @@ msgstr "Les contrasenyes no coincideixen!" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2177,7 +2236,8 @@ msgid "Muted" msgstr "Utilitza la tecla" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volum de so: " #. ~ Imperative, as in "Enter/type in text". @@ -2413,6 +2473,10 @@ msgstr "" "Ajustar la configuració de punts per polsada (dpi) a la teva pantalla (no " "X11/Sols Android) Ex. per a pantalles amb 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2693,6 +2757,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Comands de xat" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2729,8 +2798,8 @@ msgid "Chat toggle key" msgstr "Tecla alternativa per al xat" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Comands de xat" +msgid "Chat weblinks" +msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2748,6 +2817,12 @@ msgstr "Tecla mode cinematogràfic" msgid "Clean transparent textures" msgstr "Netejar textures transparents" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Client" @@ -2833,6 +2908,22 @@ msgstr "" msgid "Command key" msgstr "Tecla comandament" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Connectar vidre" @@ -2932,7 +3023,7 @@ msgstr "Punt de mira Alpha" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -3013,8 +3104,8 @@ msgstr "Joc per defecte" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3135,6 +3226,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3182,7 +3277,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3210,13 +3312,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Habilitar l'entrada aleatòria d'usuari (només utilitzat per testing)." @@ -3613,7 +3708,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -4054,7 +4149,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4139,7 +4234,7 @@ msgid "Joystick button repetition interval" msgstr "Interval de repetició del click dret" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -5189,7 +5284,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5491,7 +5586,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5624,7 +5719,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5648,6 +5743,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5792,9 +5891,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6111,26 +6210,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6222,7 +6313,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6332,6 +6423,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6443,7 +6542,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6461,7 +6560,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6530,7 +6629,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6701,7 +6800,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6889,6 +6988,10 @@ msgstr "Onatge" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6910,7 +7013,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6925,7 +7028,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7055,24 +7158,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -7158,6 +7243,10 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "Generar Mapes Normals" +#, fuzzy +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instal·lar mod: Arxiu: \"$1\"" + #~ msgid "Main" #~ msgstr "Principal" @@ -7202,11 +7291,18 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Començar Un Jugador" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Per habilitar les ombres el controlador OpenGL ha ser utilitzat." + #~ msgid "Toggle Cinematic" #~ msgstr "Activar Cinematogràfic" #~ msgid "Yes" #~ msgstr "Sí" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Has mort." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/cs/minetest.po b/po/cs/minetest.po index 922347d55..4a1727dc0 100644 --- a/po/cs/minetest.po +++ b/po/cs/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Czech (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-11-22 18:50+0000\n" "Last-Translator: Ondřej Pfrogner \n" "Language-Team: Czech ]" msgid "OK" msgstr "Dobře" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Příkaz není k dispozici: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Nastala chyba v Lua skriptu:" @@ -268,7 +269,8 @@ msgstr "Základní hra:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "ContentDB není přístupná pokud byl Minetest kompilován bez použití cURL" +msgstr "" +"ContentDB není přístupná pokud byl Minetest kompilován bez použití cURL" #: builtin/mainmenu/dlg_contentstore.lua msgid "Downloading..." @@ -295,6 +297,12 @@ msgstr "Instalovat $1" msgid "Install missing dependencies" msgstr "Instalovat chybějící závislosti" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Instalace rozšíření: poškozený archiv nebo nepodporovaný typ souboru \"$1\"" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +632,8 @@ msgid "Offset" msgstr "Odstup" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Urputnost" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -736,15 +745,6 @@ msgstr "" "Instalace rozšíření: nenalezen vhodný adresář s příslušným názvem pro " "balíček $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Instalace rozšíření: poškozený archiv nebo nepodporovaný typ souboru \"$1\"" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalace: soubor: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Platné rozšíření nebylo nalezeno" @@ -1112,10 +1112,6 @@ msgstr "Plynulé osvětlení" msgid "Texturing:" msgstr "Texturování:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Pro zapnutí shaderů musíte používat OpenGL ovladač." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tone mapping" @@ -1148,7 +1144,7 @@ msgstr "Vlnění Kapalin" msgid "Waving Plants" msgstr "Vlnění rostlin" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Vypršel časový limit připojení." @@ -1177,7 +1173,8 @@ msgid "Connection error (timed out?)" msgstr "Chyba spojení (vypršel čas?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Hru nebylo možné nahrát nebo najít \"" #: src/client/clientlauncher.cpp @@ -1250,6 +1247,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Název serveru: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Nastala chyba:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatický posun vpřed zakázán" @@ -1258,6 +1265,23 @@ msgstr "Automatický posun vpřed zakázán" msgid "Automatic forward enabled" msgstr "Automatický posun vpřed povolen" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Ohraničení bloku" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Aktualizace kamery (pohledu) zakázána" @@ -1266,6 +1290,10 @@ msgstr "Aktualizace kamery (pohledu) zakázána" msgid "Camera update enabled" msgstr "Aktualizace kamery (pohledu) povolena" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Změnit heslo" @@ -1278,6 +1306,11 @@ msgstr "Filmový režim zakázán" msgid "Cinematic mode enabled" msgstr "Filmový režim povolen" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Lokální mody" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Uživatelské skripty nejsou povoleny" @@ -1286,6 +1319,10 @@ msgstr "Uživatelské skripty nejsou povoleny" msgid "Connecting to server..." msgstr "Připojuji se k serveru..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Pokračovat" @@ -1323,6 +1360,11 @@ msgstr "" "- Kolečko myši: výběr předmětu\n" "- %s: chat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Vytvářím klienta..." @@ -1529,6 +1571,21 @@ msgstr "Zvuk zapnut" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Omezení dohlédnutí upraveno na %d" @@ -1861,6 +1918,15 @@ msgstr "Minimapa v režimu Povrch, Přiblížení x%d" msgid "Minimap in texture mode" msgstr "Minimapa v režimu Textura" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Selhalo stažení $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Hesla se neshodují!" @@ -1869,7 +1935,7 @@ msgstr "Hesla se neshodují!" msgid "Register and Join" msgstr "Registrovat a Připojit se" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2063,7 +2129,8 @@ msgid "Muted" msgstr "Ztlumeno" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Hlasitost: " #. ~ Imperative, as in "Enter/type in text". @@ -2197,8 +2264,8 @@ msgstr "" "3D šum definující strukturu létajících ostrovů.\n" "Pokud je odlišný od výchozího, může být nutné upravit\n" "\"měřítko\" šumu (výchozí 0.7), jelikož zužování (obrácené hory)\n" -"létajících ostrovů funguje nejlépe pokud je šum v rozmezí přibližně -2.0 až 2" -".0." +"létajících ostrovů funguje nejlépe pokud je šum v rozmezí přibližně -2.0 až " +"2.0." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2315,6 +2382,10 @@ msgstr "" "Upraví nastavení DPI pro vaši obrazovku (není pro X11/Android). Pro použití " "například s 4k obrazovkami." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2603,6 +2674,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Doba do zobrazení času pro příkaz v chatu" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Příkazy" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Velikost písma v chatu" @@ -2636,8 +2712,9 @@ msgid "Chat toggle key" msgstr "Klávesa zobrazení chatu" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Příkazy" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat zobrazen" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2655,6 +2732,12 @@ msgstr "Klávesa plynulého pohybu kamery" msgid "Clean transparent textures" msgstr "Vynulovat průhledné textury" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2742,6 +2825,22 @@ msgstr "" msgid "Command key" msgstr "CMD ⌘" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Propojené sklo" @@ -2839,9 +2938,10 @@ msgid "Crosshair alpha" msgstr "Průhlednost zaměřovače" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Průhlednost zaměřovače (0 až 255).\n" "Také určuje barvu zaměřovače" @@ -2923,9 +3023,10 @@ msgid "Default stack size" msgstr "Výchozí velikost hromádky" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Určit kvalitu filtrování stínů\n" @@ -3055,6 +3156,10 @@ msgstr "Vypnout anticheat" msgid "Disallow empty passwords" msgstr "Zakázat prázdná hesla" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Doménové jméno serveru zobrazované na seznamu serverů." @@ -3104,8 +3209,20 @@ msgstr "" "Tato funkce je experimentální a její API se může změnit." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Zapnout filtrování Poissoným diskem.\n" +"Pokud je zapnuto, využívá Poissonův disk pro generování \"měkkých stínů\". V " +"opačném případě je využito filtrování PCF." + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Zanout zbarvené stíny.\n" @@ -3136,16 +3253,6 @@ msgstr "Zapnout zabezpečení módů" msgid "Enable players getting damage and dying." msgstr "Povolit zraňování a umírání hráčů." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Zapnout filtrování Poissoným diskem.\n" -"Pokud je zapnuto, využívá Poissonův disk pro generování \"měkkých stínů\". V " -"opačném případě je využito filtrování PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Povolit náhodný uživatelský vstup (pouze pro testování)." @@ -3512,7 +3619,8 @@ msgstr "Konzole Barva pozadí při zobrazení na celou obrazovku (R,G,B)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background opacity (between 0 and 255)." -msgstr "Konzole Průhlednost pozadí při zobrazení na celou obrazovku (0 až 255)." +msgstr "" +"Konzole Průhlednost pozadí při zobrazení na celou obrazovku (0 až 255)." #: src/settings_translation_file.cpp msgid "Forward key" @@ -3589,10 +3697,11 @@ msgid "Global callbacks" msgstr "Globální callback funkce" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globální parametry generování mapy.\n" "V Generátoru mapy v6 ovládá nastavení \"decorations\" všechny dekorace\n" @@ -4089,7 +4198,8 @@ msgstr "" "Obvykle využíváno jen vývojáři jádra/builtin" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Instrumentovat chatovací přikazy při registraci." #: src/settings_translation_file.cpp @@ -4179,7 +4289,8 @@ msgid "Joystick button repetition interval" msgstr "Interval opakování tlačítek joysticku" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Mrtvá zóna joysticku" #: src/settings_translation_file.cpp @@ -5265,7 +5376,8 @@ msgid "Map save interval" msgstr "Interval ukládání mapy" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Doba aktualizace mapy" #: src/settings_translation_file.cpp @@ -5559,7 +5671,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5692,7 +5804,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5716,6 +5828,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5860,9 +5976,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6187,26 +6303,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6312,8 +6420,9 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" -msgstr "" +#, fuzzy +msgid "Show name tag backgrounds by default" +msgstr "Tučné písmo jako výchozí" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6425,6 +6534,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6537,7 +6654,7 @@ msgstr "Cesta k texturám" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6555,7 +6672,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6624,7 +6741,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6790,7 +6907,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6982,6 +7099,11 @@ msgstr "Délka vodních vln" msgid "Waving plants" msgstr "Vlnění rostlin" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Barva obrysu bloku" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7003,7 +7125,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7018,7 +7140,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7116,7 +7238,8 @@ msgstr "Hodnota Y pro horní hranici velkých jeskyní." #: src/settings_translation_file.cpp msgid "Y-distance over which caverns expand to full size." -msgstr "Vzdálenost Y, přes kterou se jeskynní dutiny rozšíří do plné velikosti." +msgstr "" +"Vzdálenost Y, přes kterou se jeskynní dutiny rozšíří do plné velikosti." #: src/settings_translation_file.cpp msgid "" @@ -7146,24 +7269,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -7337,6 +7442,9 @@ msgstr "cURL limit paralelních stahování" #~ "Např.: 72 = 20 minut, 360 = 4 minuty, 1 = 24 hodin, 0 = čas zůstává stále " #~ "stejný." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalace: soubor: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Hloubka velké jeskyně" @@ -7421,6 +7529,9 @@ msgstr "cURL limit paralelních stahování" #~ msgid "Strength of generated normalmaps." #~ msgstr "Síla vygenerovaných normálových map." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Pro zapnutí shaderů musíte používat OpenGL ovladač." + #~ msgid "Toggle Cinematic" #~ msgstr "Plynulá kamera" @@ -7433,5 +7544,8 @@ msgstr "cURL limit paralelních stahování" #~ msgid "Yes" #~ msgstr "Ano" +#~ msgid "You died." +#~ msgstr "Zemřel jsi." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/da/minetest.po b/po/da/minetest.po index ff40ba138..8e6690227 100644 --- a/po/da/minetest.po +++ b/po/da/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Danish (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-03-31 10:14+0000\n" "Last-Translator: sfan5 \n" "Language-Team: Danish " +msgstr "" + #: builtin/fstk/ui.lua #, fuzzy msgid "An error occurred in a Lua script:" @@ -310,6 +309,13 @@ msgstr "Installer" msgid "Install missing dependencies" msgstr "Valgfrie afhængigheder:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Installer mod: Filtypen \"$1\" er enten ikke understøttet, ellers er arkivet " +"korrupt" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -656,7 +662,8 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistens" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -767,16 +774,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Installer mod: Kunne ikke finde passende mappe navn for samling af mods $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Installer mod: Filtypen \"$1\" er enten ikke understøttet, ellers er arkivet " -"korrupt" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installer mod: Fil: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Kan ikke finde en korrekt mod eller samling af mods" @@ -1158,10 +1155,6 @@ msgstr "Glat belysning" msgid "Texturing:" msgstr "Teksturering:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "For at aktivere dybdeskabere skal OpenGL-driveren bruges." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Toneoversættelse" @@ -1196,7 +1189,7 @@ msgstr "Bølgende blade" msgid "Waving Plants" msgstr "Bølgende planter" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Forbindelses fejl (tidsfristen udløb)." @@ -1225,7 +1218,8 @@ msgid "Connection error (timed out?)" msgstr "Forbindelses fejl (udløbelse af tidsfrist?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Kunne ikke finde eller indlæse spil \"" #: src/client/clientlauncher.cpp @@ -1298,6 +1292,16 @@ msgstr "- Spiller mod spiller (PvP): " msgid "- Server Name: " msgstr "- Servernavn: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Der skete en fejl:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1308,6 +1312,22 @@ msgstr "Fremadtast" msgid "Automatic forward enabled" msgstr "Fremadtast" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Camera update disabled" @@ -1318,6 +1338,10 @@ msgstr "Tast til ændring af kameraopdatering" msgid "Camera update enabled" msgstr "Tast til ændring af kameraopdatering" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Skift kodeord" @@ -1332,6 +1356,11 @@ msgstr "Tast for filmisk tilstand" msgid "Cinematic mode enabled" msgstr "Tast for filmisk tilstand" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Klient modding" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1340,6 +1369,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Forbinder til server..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Fortsæt" @@ -1377,6 +1410,11 @@ msgstr "" "- Musehjul: vælge genstand\n" "- %s: snakke (chat)\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Opretter klient ..." @@ -1594,6 +1632,21 @@ msgid "Sound unmuted" msgstr "Lydniveau" #: src/client/game.cpp +#, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp #, fuzzy, c-format msgid "Viewing range changed to %d" msgstr "Lydstyrke ændret til %d%%" @@ -1930,6 +1983,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Kunne ikke hente $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Kodeordene er ikke ens!" @@ -1938,7 +2000,7 @@ msgstr "Kodeordene er ikke ens!" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2138,7 +2200,8 @@ msgid "Muted" msgstr "Lydløs" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Lydstyrke: " #. ~ Imperative, as in "Enter/type in text". @@ -2373,6 +2436,10 @@ msgstr "" "Justér DPI-konfigurationen til din skærm (ikke-X11 / kun Android) f.eks. til " "4k-skærme." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2659,6 +2726,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Ørkenstøjtærskel" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Snakkekommandoer" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2696,8 +2768,8 @@ msgid "Chat toggle key" msgstr "Tast for snak (chat)" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Snakkekommandoer" +msgid "Chat weblinks" +msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2715,6 +2787,12 @@ msgstr "Tast for filmisk tilstand" msgid "Clean transparent textures" msgstr "Rene gennemsigtige teksturer" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2800,6 +2878,22 @@ msgstr "" msgid "Command key" msgstr "Kommandotast" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Forbind glas" @@ -2897,7 +2991,7 @@ msgstr "Crosshair alpha" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "Crosshair alpha (uigennemsigtighed, mellem 0 og 255)." #: src/settings_translation_file.cpp @@ -2977,8 +3071,8 @@ msgstr "Standard spil" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3106,6 +3200,10 @@ msgstr "Deaktiver antisnyd" msgid "Disallow empty passwords" msgstr "Tillad ikke tomme adgangskoder" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domænenavn for server, til visning i serverlisten." @@ -3155,7 +3253,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3186,13 +3291,6 @@ msgstr "Aktiver mod-sikkerhed" msgid "Enable players getting damage and dying." msgstr "Aktiver at spillere kan skades og dø." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Aktiver vilkårlig brugerinddata (kun til test)." @@ -3640,7 +3738,7 @@ msgstr "Globale tilbagekald" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globale kortoprettelsesattributter.\n" "I Mapgen v6 kontrollerer flaget »decorations« alle dekorationer undtagen " @@ -4131,7 +4229,8 @@ msgstr "" "Er normalt kun krævet af kerne/indbygningsbidragydere" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Udstyr chatkommandoer ved registrering." #: src/settings_translation_file.cpp @@ -4221,7 +4320,7 @@ msgid "Joystick button repetition interval" msgstr "Joystick-knaps gentagelsesinterval" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -5386,7 +5485,7 @@ msgstr "Interval for kortlagring" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Væskeopdateringsudløsning" #: src/settings_translation_file.cpp @@ -5696,7 +5795,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5830,7 +5929,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5854,6 +5953,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5999,9 +6102,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6326,26 +6429,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6456,7 +6551,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6563,6 +6658,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6678,7 +6781,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6696,7 +6799,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6766,7 +6869,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6932,7 +7035,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7125,6 +7228,10 @@ msgstr "Bølgende vand" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7146,7 +7253,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7161,7 +7268,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7290,24 +7397,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -7468,6 +7557,9 @@ msgstr "" #~ msgid "IPv6 support." #~ msgstr "Understøttelse af IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installer mod: Fil: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Dybde for stor hule" @@ -7532,11 +7624,18 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Enlig spiller" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "For at aktivere dybdeskabere skal OpenGL-driveren bruges." + #~ msgid "Toggle Cinematic" #~ msgstr "Aktiver filmisk" #~ msgid "Yes" #~ msgstr "Ja" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Du døde" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/de/minetest.po b/po/de/minetest.po index f2947b2dd..b65b6b5ec 100644 --- a/po/de/minetest.po +++ b/po/de/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: German (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-06-21 15:38+0000\n" "Last-Translator: Wuzzy \n" "Language-Team: German ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Befehl nicht verfügbar: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "In einem Lua-Skript ist ein Fehler aufgetreten:" @@ -296,6 +297,12 @@ msgstr "$1 installieren" msgid "Install missing dependencies" msgstr "Fehlende Abhängigkeiten installieren" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Installation: Nicht unterstützter Dateityp „$1“ oder fehlerhaftes Archiv" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -628,7 +635,8 @@ msgid "Offset" msgstr "Versatz" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistenz" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -740,15 +748,6 @@ msgstr "" "Modinstallation: Geeigneter Verzeichnisname für Modpack $1 konnte nicht " "gefunden werden" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Installation: Nicht unterstützter Dateityp „$1“ oder fehlerhaftes Archiv" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installation: Datei: „$1“" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Keine gültige Mod oder Modpack gefunden" @@ -1116,10 +1115,6 @@ msgstr "Weiches Licht" msgid "Texturing:" msgstr "Texturierung:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Um Shader zu aktivieren, muss der OpenGL-Treiber genutzt werden." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Dynamikkompression" @@ -1152,7 +1147,7 @@ msgstr "Flüssigkeitswellen" msgid "Waving Plants" msgstr "Wehende Pflanzen" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Verbindungsfehler, Zeitüberschreitung." @@ -1181,7 +1176,8 @@ msgid "Connection error (timed out?)" msgstr "Verbindungsfehler (Zeitüberschreitung?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Spiel konnte nicht gefunden oder geladen werden: \"" #: src/client/clientlauncher.cpp @@ -1253,6 +1249,16 @@ msgstr "- Spielerkampf: " msgid "- Server Name: " msgstr "- Servername: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ein Fehler ist aufgetreten:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Vorwärtsautomatik deaktiviert" @@ -1261,6 +1267,23 @@ msgstr "Vorwärtsautomatik deaktiviert" msgid "Automatic forward enabled" msgstr "Vorwärtsautomatik aktiviert" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Blockgrenzen" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kameraaktualisierung deaktiviert" @@ -1269,6 +1292,10 @@ msgstr "Kameraaktualisierung deaktiviert" msgid "Camera update enabled" msgstr "Kameraaktualisierung aktiviert" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Passwort ändern" @@ -1281,6 +1308,11 @@ msgstr "Filmmodus deaktiviert" msgid "Cinematic mode enabled" msgstr "Filmmodus aktiviert" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Client-Modding" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Clientseitige Skripte sind deaktiviert" @@ -1289,6 +1321,10 @@ msgstr "Clientseitige Skripte sind deaktiviert" msgid "Connecting to server..." msgstr "Mit Server verbinden …" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Weiter" @@ -1326,6 +1362,11 @@ msgstr "" "- Mausrad: Gegenstand wählen\n" "- %s: Chat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Client erstellen …" @@ -1532,6 +1573,21 @@ msgstr "Ton nicht mehr stumm" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Sichtweite geändert auf %d" @@ -1864,6 +1920,15 @@ msgstr "Übersichtskarte im Bodenmodus, Zoom ×%d" msgid "Minimap in texture mode" msgstr "Übersichtskarte im Texturmodus" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Fehler beim Download von $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Passwörter stimmen nicht überein!" @@ -1872,7 +1937,7 @@ msgstr "Passwörter stimmen nicht überein!" msgid "Register and Join" msgstr "Registrieren und beitreten" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2068,7 +2133,8 @@ msgid "Muted" msgstr "Stumm" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Tonlautstärke: " #. ~ Imperative, as in "Enter/type in text". @@ -2099,8 +2165,8 @@ msgid "" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Den virtuellen Joystick benutzen, um die „Aux1“-Taste zu betätigen." -"\n" +"(Android) Den virtuellen Joystick benutzen, um die „Aux1“-Taste zu " +"betätigen.\n" "Falls aktiviert, wird der virtuelle Joystick außerdem die „Aux1“-Taste " "drücken, wenn er sich außerhalb des Hauptkreises befindet." @@ -2337,6 +2403,10 @@ msgid "" "screens." msgstr "DPI des Bildschirms (nicht für X11/Android) z.B. für 4K-Bildschirme." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2637,6 +2707,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Chatbefehlzeitnachrichtenschwellwert" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Chatbefehle" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Chat-Schriftgröße" @@ -2670,8 +2745,9 @@ msgid "Chat toggle key" msgstr "Taste zum Umschalten des Chatprotokolls" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Chatbefehle" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat angezeigt" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2689,6 +2765,12 @@ msgstr "Filmmodustaste" msgid "Clean transparent textures" msgstr "Transparente Texturen säubern" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Client" @@ -2780,6 +2862,36 @@ msgstr "" msgid "Command key" msgstr "Befehlstaste" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"ZLib-Kompressionsniveau für Kartenblöcke im Festspeicher.\n" +"-1 - Zlib-Standard-Kompressionsniveau\n" +"0 - keine Kompression, am schnellsten\n" +"9 - beste Kompression, am langsamsten\n" +"(Niveaus 1-3 verwenden Zlibs „schnelles“ Verfahren, 4-9 das normale " +"Verfahren)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"ZLib-Kompressionsniveau für Kartenblöcke, die zu Clients gesendet werden.\n" +"-1 - Zlib-Standard-Kompressionsniveau\n" +"0 - keine Kompression, am schnellsten\n" +"9 - beste Kompression, am langsamsten\n" +"(Niveaus 1-3 verwenden Zlibs „schnelles“ Verfahren, 4-9 das normale " +"Verfahren)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Verbundenes Glas" @@ -2879,9 +2991,10 @@ msgid "Crosshair alpha" msgstr "Fadenkreuzundurchsichtigkeit" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Fadenkreuzundurchsichtigkeit (Wert zwischen 0 und 255).\n" "Gilt auch für das Objektfadenkreuz" @@ -2965,9 +3078,10 @@ msgid "Default stack size" msgstr "Standardstapelgröße" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Definiert die Schattenfilterqualität\n" @@ -3102,6 +3216,10 @@ msgstr "Anti-Cheat deaktivieren" msgid "Disallow empty passwords" msgstr "Leere Passwörter verbieten" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domainname des Servers. Wird in der Serverliste angezeigt." @@ -3151,8 +3269,20 @@ msgstr "" "Diese Unterstützung ist experimentell und die API kann sich ändern." #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Aktiviert eine Poisson-Scheibenfilterung.\n" +"Falls aktiv, werden Poisson-Scheiben verwendet, um „weiche Schatten“ zu " +"erzeugen. Ansonsten wird die PCF-Filterung benutzt." + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Aktiviert gefärbte Schatten. \n" @@ -3183,16 +3313,6 @@ msgstr "Modsicherheit aktivieren" msgid "Enable players getting damage and dying." msgstr "Spielerschaden und -tod aktivieren." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Aktiviert eine Poisson-Scheibenfilterung.\n" -"Falls aktiv, werden Poisson-Scheiben verwendet, um „weiche Schatten“ zu " -"erzeugen. Ansonsten wird die PCF-Filterung benutzt." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Schaltet zufällige Steuerung ein (nur zum Testen verwendet)." @@ -3666,10 +3786,11 @@ msgid "Global callbacks" msgstr "Globale Rückruffunktionen" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globale Kartengenerierungsattribute.\n" "Im Kartengenerator v6 wird das „decorations“-Flag alle Dekorationen außer\n" @@ -4185,7 +4306,8 @@ msgstr "" "Dies wird normalerweise nur von Haupt-/builtin-Entwicklern benötigt" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Chatbefehle bei ihrer Registrierung instrumentieren." #: src/settings_translation_file.cpp @@ -4281,7 +4403,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick-Button-Wiederholungsrate" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Joystick-Totbereich" #: src/settings_translation_file.cpp @@ -5401,7 +5524,8 @@ msgid "Map save interval" msgstr "Speicherintervall der Karte" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Kartenupdatezeit" #: src/settings_translation_file.cpp @@ -5733,7 +5857,8 @@ msgid "Mod channels" msgstr "Mod-Kanäle" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Modifiziert die Größe der HUD-Leistenelemente." #: src/settings_translation_file.cpp @@ -5890,9 +6015,10 @@ msgstr "" "Für viele Benutzer wird die optimale Einstellung wohl die „1“ sein." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Anzahl der zusätzlichen Kartenblöcke, welche mit /clearobjects gleichzeitig\n" @@ -5923,6 +6049,10 @@ msgstr "" "Das Pausemenü öffnen, wenn der Fokus des Fensters verloren geht.\n" "Wird nicht pausieren, wenn ein Formspec geöffnet ist." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6099,11 +6229,12 @@ msgid "Prometheus listener address" msgstr "Prometheus-Lauschadresse" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Prometheus-Lauschadresse.\n" "Falls Minetest mit der ENABLE_PROMETEUS-Option kompiliert wurde,\n" @@ -6454,23 +6585,11 @@ msgstr "" "zu dunkleren Schatten." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Setzt die Schattenupdatezeit.\n" -"Ein niedrigerer Wert bedeutet, dass Schatten und die Karte schneller " -"aktualisiert werden, aber dies verbraucht mehr Ressourcen.\n" -"Minimalwert: 0.001 Sekunden. Maximalwert: 0.2 Sekunden.\n" -"(Beachten Sie die englische Notation mit Punkt als Dezimaltrennzeichen.)" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Setzt den Radius von weichen Schatten.\n" "Niedrigere Werte führen zu schärferen Schatten, größere Werte führen zu " @@ -6478,10 +6597,11 @@ msgstr "" "Minimalwert: 1.0; Maximalwert: 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Setzt die Neigung vom Sonnen-/Mondorbit in Grad.\n" "0 = keine Neigung / vertikaler Orbit.\n" @@ -6594,7 +6714,8 @@ msgstr "" "Nach Änderung ist ein Neustart erforderlich." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Standardmäßig Hintergründe für Namensschilder anzeigen" #: src/settings_translation_file.cpp @@ -6725,6 +6846,14 @@ msgstr "" "bestimmte\n" "(oder alle) Gegenstände setzen kann." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6856,10 +6985,11 @@ msgid "Texture path" msgstr "Texturenpfad" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Texturengröße zum Rendern der Schattenkarte.\n" "Dies muss eine Zweierpotenz sein.\n" @@ -6889,7 +7019,8 @@ msgid "The URL for the content repository" msgstr "Die URL für den Inhaltespeicher" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "Der Totbereich des Joysticks" #: src/settings_translation_file.cpp @@ -6984,9 +7115,10 @@ msgstr "" "unterstützt." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Die Empfindlichkeit der Joystick-Achsen, um den\n" "Pyramidenstumpf der Spielansicht herumzubewegen." @@ -7195,8 +7327,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Bilineare Filterung bei der Skalierung von Texturen benutzen." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7407,6 +7540,11 @@ msgstr "Flüssigkeitswellen: Wellenlänge" msgid "Waving plants" msgstr "Wehende Pflanzen" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Auswahlboxfarbe" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7433,12 +7571,13 @@ msgstr "" "korrekt unterstützen." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7466,8 +7605,9 @@ msgstr "" "benutzt." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Ob Namensschildhintergründe standardmäßig angezeigt werden sollen.\n" @@ -7632,36 +7772,6 @@ msgstr "Y-Höhe von niedrigerem Gelände und dem Meeresgrund." msgid "Y-level of seabed." msgstr "Y-Höhe vom Meeresgrund." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"ZLib-Kompressionsniveau für Kartenblöcke im Festspeicher.\n" -"-1 - Zlib-Standard-Kompressionsniveau\n" -"0 - keine Kompression, am schnellsten\n" -"9 - beste Kompression, am langsamsten\n" -"(Niveaus 1-3 verwenden Zlibs „schnelles“ Verfahren, 4-9 das normale " -"Verfahren)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"ZLib-Kompressionsniveau für Kartenblöcke, die zu Clients gesendet werden.\n" -"-1 - Zlib-Standard-Kompressionsniveau\n" -"0 - keine Kompression, am schnellsten\n" -"9 - beste Kompression, am langsamsten\n" -"(Niveaus 1-3 verwenden Zlibs „schnelles“ Verfahren, 4-9 das normale " -"Verfahren)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL-Dateidownload-Zeitüberschreitung" @@ -7877,6 +7987,9 @@ msgstr "cURL-Parallel-Begrenzung" #~ msgid "IPv6 support." #~ msgstr "IPv6-Unterstützung." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installation: Datei: „$1“" + #~ msgid "Lava depth" #~ msgstr "Lavatiefe" @@ -7984,6 +8097,18 @@ msgstr "cURL-Parallel-Begrenzung" #~ msgid "Select Package File:" #~ msgstr "Paket-Datei auswählen:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Setzt die Schattenupdatezeit.\n" +#~ "Ein niedrigerer Wert bedeutet, dass Schatten und die Karte schneller " +#~ "aktualisiert werden, aber dies verbraucht mehr Ressourcen.\n" +#~ "Minimalwert: 0.001 Sekunden. Maximalwert: 0.2 Sekunden.\n" +#~ "(Beachten Sie die englische Notation mit Punkt als Dezimaltrennzeichen.)" + #~ msgid "Shadow limit" #~ msgstr "Schattenbegrenzung" @@ -8012,6 +8137,9 @@ msgstr "cURL-Parallel-Begrenzung" #~ msgid "This font will be used for certain languages." #~ msgstr "Diese Schrift wird von bestimmten Sprachen benutzt." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Um Shader zu aktivieren, muss der OpenGL-Treiber genutzt werden." + #~ msgid "Toggle Cinematic" #~ msgstr "Filmmodus umschalten" @@ -8052,5 +8180,8 @@ msgstr "cURL-Parallel-Begrenzung" #~ msgid "Yes" #~ msgstr "Ja" +#~ msgid "You died." +#~ msgstr "Sie sind gestorben." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/dv/minetest.po b/po/dv/minetest.po index ffddc1a13..280d79654 100644 --- a/po/dv/minetest.po +++ b/po/dv/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Dhivehi (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2019-11-10 15:04+0000\n" "Last-Translator: Krock \n" "Language-Team: Dhivehi " +msgstr "" + #: builtin/fstk/ui.lua #, fuzzy msgid "An error occurred in a Lua script:" @@ -302,6 +301,10 @@ msgstr "އަޅާ" msgid "Install missing dependencies" msgstr "ލާޒިމުނޫން ޑިޕެންޑެންސީތައް:" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -631,7 +634,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -744,15 +747,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: file: \"$1\"" -msgstr "މޮޑް އަޚާ: ފައިލް:\"1$\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1133,10 +1127,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1169,7 +1159,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1198,7 +1188,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1268,6 +1258,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "މޮޑެއްފަދަ ލުއޭ ސްކްރިޕްޓެއްގައި މައްސަލައެއް ދިމާވެއްޖެ:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1277,6 +1277,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "އަނިޔާވުން ޖައްސާފައި" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1286,6 +1302,10 @@ msgstr "" msgid "Camera update enabled" msgstr "އަނިޔާވުން ޖައްސާފައި" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1299,6 +1319,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "އަނިޔާވުން ޖައްސާފައި" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1307,6 +1331,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1330,6 +1358,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1541,6 +1574,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1873,6 +1921,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1 ނޭޅުނު" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1881,7 +1938,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2069,7 +2126,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2279,6 +2337,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2546,6 +2608,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2579,7 +2645,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2598,6 +2664,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2673,6 +2745,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2765,7 +2853,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2844,8 +2932,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2963,6 +3051,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3009,7 +3101,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3037,13 +3136,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3436,7 +3528,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3868,7 +3960,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3952,7 +4044,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4781,7 +4873,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5080,7 +5172,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5215,7 +5307,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5239,6 +5331,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5379,9 +5475,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5674,26 +5770,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5784,7 +5872,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5889,6 +5977,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5999,7 +6095,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6017,7 +6113,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6086,7 +6182,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6249,7 +6345,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6432,6 +6528,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6453,7 +6553,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6468,7 +6568,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6595,24 +6695,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6637,6 +6719,10 @@ msgstr "" #~ msgid "FPS in pause menu" #~ msgstr "ޕޯސް މެނޫގައި އެފް.ޕީ.އެސް" +#, fuzzy +#~ msgid "Install: file: \"$1\"" +#~ msgstr "މޮޑް އަޚާ: ފައިލް:\"1$\"" + #, fuzzy #~ msgid "Main menu style" #~ msgstr "މެއިން މެނޫ ސްކްރިޕްޓް" @@ -6657,5 +6743,9 @@ msgstr "" #~ msgid "Select Package File:" #~ msgstr "މޮޑްގެ ފައިލް އިހްތިޔާރުކުރޭ:" +#, fuzzy +#~ msgid "You died." +#~ msgstr "މަރުވީ" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/el/minetest.po b/po/el/minetest.po index e0a5d314d..dad409dc4 100644 --- a/po/el/minetest.po +++ b/po/el/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Greek (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-06-07 14:33+0000\n" "Last-Translator: THANOS SIOURDAKIS \n" "Language-Team: Greek " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Ένα σφάλμα προέκυψε σε ένα σενάριο Lua:" @@ -291,6 +290,10 @@ msgstr "Εγκατάσταση $1" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -616,7 +619,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -726,14 +729,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Εγκατάσταση: αρχείο: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1101,10 +1096,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1137,7 +1128,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1166,7 +1157,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1236,6 +1227,16 @@ msgstr "" msgid "- Server Name: " msgstr "- Όνομα Διακομιστή: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Παρουσιάστηκε σφάλμα:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1244,6 +1245,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1252,6 +1269,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1264,6 +1285,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1272,6 +1297,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Συνέχεια" @@ -1295,6 +1324,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1489,6 +1523,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1821,6 +1870,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1829,7 +1886,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2016,7 +2073,8 @@ msgid "Muted" msgstr "Σε σίγαση" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Ένταση ήχου: " #. ~ Imperative, as in "Enter/type in text". @@ -2223,6 +2281,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2489,6 +2551,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Εντολή" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2522,7 +2589,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2541,6 +2608,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2616,6 +2689,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2707,7 +2796,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2784,8 +2873,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2903,6 +2992,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2949,7 +3042,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2977,13 +3077,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3376,7 +3469,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3808,7 +3901,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3892,7 +3985,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4721,7 +4814,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5014,7 +5107,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5146,7 +5239,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5170,6 +5263,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5310,9 +5407,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5605,26 +5702,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5715,7 +5804,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5820,6 +5909,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5930,7 +6027,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5948,7 +6045,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6017,7 +6114,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6180,7 +6277,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6363,6 +6460,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6384,7 +6485,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6399,7 +6500,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6525,24 +6626,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6561,6 +6644,9 @@ msgstr "" #~ msgid "Credits" #~ msgstr "Μνείες" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Εγκατάσταση: αρχείο: \"$1\"" + #~ msgid "Name / Password" #~ msgstr "Όνομα / Κωδικός" @@ -6570,5 +6656,9 @@ msgstr "" #~ msgid "Special key" #~ msgstr "Ειδικό πλήκτρο" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Πέθανες" + #~ msgid "needs_fallback_font" #~ msgstr "needs_fallback_font" diff --git a/po/eo/minetest.po b/po/eo/minetest.po index 12fcbe9c1..a343c2d95 100644 --- a/po/eo/minetest.po +++ b/po/eo/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Esperanto (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-10-05 08:09+0000\n" "Last-Translator: phlostically \n" "Language-Team: Esperanto ]" msgid "OK" msgstr "Bone" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Komando ne uzeblas: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Eraris Lua-skripto:" @@ -294,6 +295,11 @@ msgstr "Instali $1" msgid "Install missing dependencies" msgstr "Instali mankantajn dependaĵojn" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalo: Nesubtenata dosierspeco «$1» aŭ rompita arĥivo" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +630,8 @@ msgid "Offset" msgstr "Deŝovo" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persisteco" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -735,14 +742,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Instali modifaĵon: Ne povas trovi ĝustan dosierujan nomon por modifaĵaro $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalo: Nesubtenata dosierspeco «$1» aŭ rompita arĥivo" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instali: dosiero: «$1»" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Ne povas trovi validan modifaĵon aŭ modifaĵaron" @@ -1111,10 +1110,6 @@ msgstr "Glata lumado" msgid "Texturing:" msgstr "Teksturado:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Por uzi ombrigilojn, OpenGL-pelilo estas necesa." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Nuanca mapado" @@ -1147,7 +1142,7 @@ msgstr "Ondantaj fluaĵoj" msgid "Waving Plants" msgstr "Ondantaj plantoj" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Konekto eltempiĝis." @@ -1176,7 +1171,8 @@ msgid "Connection error (timed out?)" msgstr "Konekta eraro (ĉu eltempiĝo?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Ne povis trovi aŭ enlegi ludon \"" #: src/client/clientlauncher.cpp @@ -1248,6 +1244,16 @@ msgstr "– LkL: " msgid "- Server Name: " msgstr "– Nomo de servilo: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Eraro okazis:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Memaga pluigo malŝaltita" @@ -1256,6 +1262,22 @@ msgstr "Memaga pluigo malŝaltita" msgid "Automatic forward enabled" msgstr "Memaga pluigo ŝaltita" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Ĝisdatigo de vidpunkto malŝaltita" @@ -1264,6 +1286,10 @@ msgstr "Ĝisdatigo de vidpunkto malŝaltita" msgid "Camera update enabled" msgstr "Ĝisdatigo de vidpunkto ŝaltita" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Ŝanĝi pasvorton" @@ -1276,6 +1302,11 @@ msgstr "Glita vidpunkto malŝaltita" msgid "Cinematic mode enabled" msgstr "Glita vidpunkto ŝaltita" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Klienta modifado" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Klient-flanka skriptado malŝaltita" @@ -1284,6 +1315,10 @@ msgstr "Klient-flanka skriptado malŝaltita" msgid "Connecting to server..." msgstr "Konektante al servilo…" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Daŭrigi" @@ -1321,6 +1356,11 @@ msgstr "" "– Musrado: elekti portaĵon\n" "– %s: babili\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Kreante klienton…" @@ -1527,6 +1567,21 @@ msgstr "Malsilentigite" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Vidodistanco agordita al %d" @@ -1859,6 +1914,15 @@ msgstr "Mapeto en supraĵa reĝimo, zomo ×%d" msgid "Minimap in texture mode" msgstr "Mapeto en tekstura reĝimo" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Malsukcesis elŝuti $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Pasvortoj ne kongruas!" @@ -1867,7 +1931,7 @@ msgstr "Pasvortoj ne kongruas!" msgid "Register and Join" msgstr "Registriĝi kaj aliĝi" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2060,7 +2124,8 @@ msgid "Muted" msgstr "Silentigita" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Laŭteco: " #. ~ Imperative, as in "Enter/type in text". @@ -2314,6 +2379,10 @@ msgstr "" "Ĝustigi punktojn cole al via ekrano (ekster X11/Android), ekzemple por " "kvarmilaj ekranoj." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2610,6 +2679,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Sojlo de babilaj mesaĝoj antaŭ forpelo" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Babilaj komandoj" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Grandeco de babiluja tiparo" @@ -2643,8 +2717,9 @@ msgid "Chat toggle key" msgstr "Babila baskula klavo" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Babilaj komandoj" +#, fuzzy +msgid "Chat weblinks" +msgstr "Babilo montrita" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2662,6 +2737,12 @@ msgstr "Klavo de glita vidpunkto" msgid "Clean transparent textures" msgstr "Puraj travideblaj teksturoj" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Kliento" @@ -2751,6 +2832,38 @@ msgstr "" msgid "Command key" msgstr "Komanda klavo" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Nivelo de desigo per ZLib uzota por densigi mondopecojn dum konservado sur " +"disko.\n" +"-1 - la implicita nivelo de densigo per Zlib\n" +"0 - neniu densigo, plej rapida\n" +"9 - plej bona densigo, plej malrapida\n" +"(niveloj 1-3 uzas la \"rapidan\" metodon de Zlib; 4-9 uzas la ordinaran " +"metodon)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Nivelo de desigo per ZLib uzota por densigi mondopecojn dum sendado al " +"kliento.\n" +"-1 - la implicita nivelo de densigo per Zlib\n" +"0 - neniu densigo, plej rapida\n" +"9 - plej bona densigo, plej malrapida\n" +"(niveloj 1-3 uzas la \"rapidan\" metodon de Zlib; 4-9 uzas la ordinaran " +"metodon)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Kunfandi vitron" @@ -2848,9 +2961,10 @@ msgid "Crosshair alpha" msgstr "Travidebleco de celilo" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Travidebleco de celilo (maltravidebleco, inter 0 kaj 255).\n" "Ankaŭ determinas la koloron de la celilo de objekto" @@ -2933,8 +3047,8 @@ msgstr "Implicita grandeco de la kolumno" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3063,6 +3177,10 @@ msgstr "Malŝalti senartifikigon" msgid "Disallow empty passwords" msgstr "Malpermesi malplenajn pasvortojn" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domajna nomo de servilo montrota en la listo de serviloj." @@ -3113,7 +3231,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3141,13 +3266,6 @@ msgstr "Ŝalti modifaĵan sekurecon" msgid "Enable players getting damage and dying." msgstr "Ŝalti difektadon kaj mortadon de ludantoj." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Ŝalti hazardan uzulan enigon (nur por testado)." @@ -3596,10 +3714,11 @@ msgid "Global callbacks" msgstr "Mallokaj revokoj" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Ĉieaj atributoj de mondestigo.\n" "En mondestigo v6, la parametro «decorations» regas ĉiujn ornamojn\n" @@ -4090,7 +4209,8 @@ msgstr "" "Ĉi tion normale bezonas nur evoluigistoj de kerno/primitivoj" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Ekzameni babilajn komandojn je registriĝo." #: src/settings_translation_file.cpp @@ -4183,7 +4303,8 @@ msgid "Joystick button repetition interval" msgstr "Ripeta periodo de stirstangaj klavoj" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Nerespondema zono de stirstango" #: src/settings_translation_file.cpp @@ -5295,7 +5416,7 @@ msgstr "Intervaloj inter konservoj de mondo" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Longeco de fluaĵa agociklo" #: src/settings_translation_file.cpp @@ -5616,7 +5737,8 @@ msgid "Mod channels" msgstr "Kanaloj por modifaĵoj" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Ŝanĝas la grandecon de eroj de la travida fasado." #: src/settings_translation_file.cpp @@ -5771,9 +5893,10 @@ msgstr "" "uzantoj, la optimuma agordo eble estos «1»." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Nombro da aldonaj mondopecoj legontaj de «/clearobjects» je unu fojo.\n" @@ -5804,6 +5927,10 @@ msgstr "" "enluda\n" "fenestro estas malfermita." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5972,11 +6099,12 @@ msgid "Prometheus listener address" msgstr "Aŭskulta adreso de Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Aŭskulta adreso de Prometheus.\n" "Se Minetest estas tradukita kun la elekteblo ENABLE_PROMETHEUS ŝaltita,\n" @@ -6318,26 +6446,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6445,7 +6565,8 @@ msgstr "" "Rerulo necesas post la ŝanĝo." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Implicite montri fonojn de nometikedoj" #: src/settings_translation_file.cpp @@ -6568,6 +6689,14 @@ msgstr "" "Notu, ke modifaĵoj aŭ ludoj povas eksplicite agordi kolumnograndojn por iuj " "(aŭ ĉiuj) portaĵoj." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6702,7 +6831,7 @@ msgstr "Indiko al teksturoj" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6726,7 +6855,8 @@ msgid "The URL for the content repository" msgstr "URL al la deponejo de enhavo" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "La nerespondema zono de la stirstango" #: src/settings_translation_file.cpp @@ -6819,9 +6949,10 @@ msgstr "" "(eksperimente)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Sentemo de la stirstangaj aksoj por movadi la\n" "enludan vidamplekson." @@ -7013,8 +7144,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Uzi dulinearan filtradon skalante teksturojn." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7222,6 +7354,11 @@ msgstr "Longo de ondoj de ondantaj fluaĵoj" msgid "Waving plants" msgstr "Ondantaj plantoj" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Koloro de elektujo" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7251,7 +7388,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7276,8 +7413,9 @@ msgstr "" "Malŝaltite, ĉi tio anstataŭe uzigas tiparojn bitbildajn kaj XML-vektorajn." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Ĉu implicite montri fonojn de nometikedoj.\n" @@ -7431,38 +7569,6 @@ msgstr "Y-nivelo de malsupra tereno kaj marfundo." msgid "Y-level of seabed." msgstr "Y-nivelo de marplanko." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Nivelo de desigo per ZLib uzota por densigi mondopecojn dum konservado sur " -"disko.\n" -"-1 - la implicita nivelo de densigo per Zlib\n" -"0 - neniu densigo, plej rapida\n" -"9 - plej bona densigo, plej malrapida\n" -"(niveloj 1-3 uzas la \"rapidan\" metodon de Zlib; 4-9 uzas la ordinaran " -"metodon)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Nivelo de desigo per ZLib uzota por densigi mondopecojn dum sendado al " -"kliento.\n" -"-1 - la implicita nivelo de densigo per Zlib\n" -"0 - neniu densigo, plej rapida\n" -"9 - plej bona densigo, plej malrapida\n" -"(niveloj 1-3 uzas la \"rapidan\" metodon de Zlib; 4-9 uzas la ordinaran " -"metodon)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Tempolimo de dosiere elŝuto de cURL" @@ -7668,6 +7774,9 @@ msgstr "Samtempa limo de cURL" #~ msgid "IPv6 support." #~ msgstr "Subteno de IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instali: dosiero: «$1»" + #~ msgid "Lava depth" #~ msgstr "Lafo-profundeco" @@ -7798,6 +7907,9 @@ msgstr "Samtempa limo de cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Tiu ĉi tiparo uziĝos por iuj lingvoj." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Por uzi ombrigilojn, OpenGL-pelilo estas necesa." + #~ msgid "Toggle Cinematic" #~ msgstr "Baskuligi glitan vidpunkton" @@ -7830,5 +7942,8 @@ msgstr "Samtempa limo de cURL" #~ msgid "Yes" #~ msgstr "Jes" +#~ msgid "You died." +#~ msgstr "Vi mortis." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/es/minetest.po b/po/es/minetest.po index 933329fb7..816111759 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-10-06 14:41+0000\n" "Last-Translator: Joaquín Villalba \n" "Language-Team: Spanish ]" msgid "OK" msgstr "Aceptar" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Comando no disponible: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Ha ocurrido un error en un script de Lua:" @@ -296,6 +297,11 @@ msgstr "Instalar $1" msgid "Install missing dependencies" msgstr "Instalar dependencias faltantes" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalar: Formato de archivo \"$1\" no soportado o archivo corrupto" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -628,7 +634,8 @@ msgid "Offset" msgstr "Compensado" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistencia" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -740,14 +747,6 @@ msgstr "" "Instalar mod: Imposible encontrar un nombre de carpeta adecuado para el " "paquete de mod $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalar: Formato de archivo \"$1\" no soportado o archivo corrupto" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalar: Archivo: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Imposible encontrar un mod o paquete de mod" @@ -1115,10 +1114,6 @@ msgstr "Iluminación suave" msgid "Texturing:" msgstr "Texturizado:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Para habilitar los sombreadores debe utilizar el controlador OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Mapeado de tonos" @@ -1151,7 +1146,7 @@ msgstr "Movimiento de líquidos" msgid "Waving Plants" msgstr "Movimiento de plantas" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Tiempo de espera de la conexión agotado." @@ -1180,7 +1175,8 @@ msgid "Connection error (timed out?)" msgstr "Error de conexión (¿tiempo agotado?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "No se puede encontrar o cargar el juego \"" #: src/client/clientlauncher.cpp @@ -1254,6 +1250,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Nombre del servidor: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ha ocurrido un error:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Avance automático desactivado" @@ -1262,6 +1268,23 @@ msgstr "Avance automático desactivado" msgid "Automatic forward enabled" msgstr "Avance automático activado" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Límites de bloque" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Actualización de la cámara desactivada" @@ -1270,6 +1293,10 @@ msgstr "Actualización de la cámara desactivada" msgid "Camera update enabled" msgstr "Actualización de la cámara activada" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Cambiar contraseña" @@ -1282,6 +1309,11 @@ msgstr "Modo cinematográfico desactivado" msgid "Cinematic mode enabled" msgstr "Modo cinematográfico activado" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Customización del cliente" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "El Scripting en el lado del cliente está desactivado" @@ -1290,6 +1322,10 @@ msgstr "El Scripting en el lado del cliente está desactivado" msgid "Connecting to server..." msgstr "Conectando al servidor..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continuar" @@ -1327,6 +1363,11 @@ msgstr "" "- Rueda del ratón: elegir objeto\n" "- %s: chat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Creando cliente..." @@ -1533,6 +1574,21 @@ msgstr "Sonido no silenciado" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Rango de visión cambiado a %d" @@ -1865,6 +1921,15 @@ msgstr "Minimapa en modo superficie, Zoom x%d" msgid "Minimap in texture mode" msgstr "Minimapa en modo textura" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Fallo al descargar $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "¡Las contraseñas no coinciden!" @@ -1873,7 +1938,7 @@ msgstr "¡Las contraseñas no coinciden!" msgid "Register and Join" msgstr "Registrarse y unirse" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2067,7 +2132,8 @@ msgid "Muted" msgstr "Silenciado" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volumen del sonido: " #. ~ Imperative, as in "Enter/type in text". @@ -2334,6 +2400,10 @@ msgstr "" "Ajustar la configuración de puntos por pulgada a tu pantalla (no X11/Android " "sólo), por ejemplo para pantallas 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2634,6 +2704,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Umbral de expulsión por mensajes" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Comandos de Chat" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Tamaño de la fuente del chat" @@ -2667,8 +2742,9 @@ msgid "Chat toggle key" msgstr "Tecla alternativa para el chat" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Comandos de Chat" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat visible" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2686,6 +2762,12 @@ msgstr "Tecla modo cinematográfico" msgid "Clean transparent textures" msgstr "Limpiar texturas transparentes" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Cliente" @@ -2775,6 +2857,22 @@ msgstr "" msgid "Command key" msgstr "Tecla comando" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Conectar vidrio" @@ -2875,9 +2973,10 @@ msgid "Crosshair alpha" msgstr "Opacidad del punto de mira" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Alfa del punto de mira (opacidad, entre 0 y 255).\n" "También controla el color del objeto punto de mira" @@ -2960,8 +3059,8 @@ msgstr "Tamaño por defecto del stack (Montón)" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3091,6 +3190,10 @@ msgstr "Desactivar Anticheat" msgid "Disallow empty passwords" msgstr "No permitir contraseñas vacías" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3141,8 +3244,20 @@ msgstr "" "El soporte es experimental y la API puede cambiar." #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Habilitar filtrado \"poisson disk\".\n" +"Si el valor es \"verdadero\", utiliza \"poisson disk\" para proyectar " +"sombras suaves. De otro modo utiliza filtrado PCF." + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Habilitar las sombras a color.\n" @@ -3173,16 +3288,6 @@ msgstr "Activar seguridad de mods" msgid "Enable players getting damage and dying." msgstr "Habilitar daños y muerte de jugadores." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Habilitar filtrado \"poisson disk\".\n" -"Si el valor es \"verdadero\", utiliza \"poisson disk\" para proyectar " -"sombras suaves. De otro modo utiliza filtrado PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Habilitar entrada aleatoria (solo usar para pruebas)." @@ -3639,10 +3744,11 @@ msgid "Global callbacks" msgstr "Llamadas globales" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atributos del generador de mapas globales.\n" "En el generador de mapas V6 la opción (o marcador) \"decorations\" controla " @@ -4154,7 +4260,8 @@ msgstr "" "Esto solo suele ser necesario para los colaboradores principales o integrados" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Instrumento de comandos del chat en el registro." #: src/settings_translation_file.cpp @@ -4249,7 +4356,8 @@ msgid "Joystick button repetition interval" msgstr "Intervalo de repetición del botón del Joystick" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Zona muerta del joystick" #: src/settings_translation_file.cpp @@ -5326,8 +5434,8 @@ msgid "" "to become shallower and occasionally dry.\n" "'altitude_dry': Reduces humidity with altitude." msgstr "" -"Atributos de generación de mapas específicos del generador de mapas Valleys." -"\n" +"Atributos de generación de mapas específicos del generador de mapas " +"Valleys.\n" "'altitude_chill': Reduce el calor con la altitud.\n" "'humid_rivers': Aumenta la humedad alrededor de ríos.\n" "'vary_river_depth': Si está activo, la baja humedad y alto calor causan que\n" @@ -5372,7 +5480,8 @@ msgid "Map save interval" msgstr "Intervalo de guardado de mapa" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Tiempo de actualización de mapa" #: src/settings_translation_file.cpp @@ -5703,7 +5812,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5839,7 +5948,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5863,6 +5972,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6010,9 +6123,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6331,26 +6444,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6456,7 +6561,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "Fuente en negrita por defecto" #: src/settings_translation_file.cpp @@ -6563,6 +6668,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6674,7 +6787,7 @@ msgstr "Ruta de la textura" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6692,7 +6805,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6761,7 +6874,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6926,7 +7039,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7117,6 +7230,10 @@ msgstr "Oleaje en el agua" msgid "Waving plants" msgstr "Movimiento de plantas" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7138,7 +7255,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7153,7 +7270,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7280,24 +7397,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Tiempo de espera de descarga por cURL" @@ -7501,6 +7600,9 @@ msgstr "Límite de cURL en paralelo" #~ msgid "IPv6 support." #~ msgstr "soporte IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalar: Archivo: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Características de la Lava" @@ -7592,6 +7694,10 @@ msgstr "Límite de cURL en paralelo" #~ msgid "Strength of generated normalmaps." #~ msgstr "Fuerza de los mapas normales generados." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "" +#~ "Para habilitar los sombreadores debe utilizar el controlador OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Activar cinemático" @@ -7607,5 +7713,8 @@ msgstr "Límite de cURL en paralelo" #~ msgid "Yes" #~ msgstr "Sí" +#~ msgid "You died." +#~ msgstr "Has muerto." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/et/minetest.po b/po/et/minetest.po index e7291e874..2cb107d8d 100644 --- a/po/et/minetest.po +++ b/po/et/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Estonian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-06-29 10:33+0000\n" "Last-Translator: Janar Leas \n" "Language-Team: Estonian ]" msgid "OK" msgstr "Valmis" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Käsk pole saadaval: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua skriptis ilmnes viga:" @@ -293,6 +294,11 @@ msgstr "Paigalda $1" msgid "Install missing dependencies" msgstr "Paigalda puuduvad sõltuvused" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Paigaldus: Toetamata failitüüp \"$1\" või katkine arhiiv" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -622,7 +628,8 @@ msgid "Offset" msgstr "Nihe" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Püsivus" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -733,14 +740,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Paigalda mod: Sobiva katalooginime leidmine ebaõnnestus mod-komplektile $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Paigaldus: Toetamata failitüüp \"$1\" või katkine arhiiv" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Paigaldus: fail: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Ei leitud sobivat mod-i ega mod-komplekti" @@ -1108,10 +1107,6 @@ msgstr "Sujuv valgustus" msgid "Texturing:" msgstr "Tekstureerimine:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Aktiveerimiseks varjud, nad vajavad OpenGL draiver." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tooni kaardistamine" @@ -1144,7 +1139,7 @@ msgstr "Lainetavad vedelikud" msgid "Waving Plants" msgstr "Lehvivad taimed" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Ühendus aegus." @@ -1173,7 +1168,8 @@ msgid "Connection error (timed out?)" msgstr "Ühenduse viga (Aeg otsas?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Ei leia ega suuda jätkata mängu \"" #: src/client/clientlauncher.cpp @@ -1245,6 +1241,16 @@ msgstr "- Üksteise vastu: " msgid "- Server Name: " msgstr "- Serveri nimi: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ilmnes viga:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automaatne edastus keelatud" @@ -1253,6 +1259,23 @@ msgstr "Automaatne edastus keelatud" msgid "Automatic forward enabled" msgstr "Automaatne edastus lubatud" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Klotsi piirid" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kaamera värskendamine on keelatud" @@ -1261,6 +1284,10 @@ msgstr "Kaamera värskendamine on keelatud" msgid "Camera update enabled" msgstr "Kaamera värskendamine on lubatud" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Vaheta parooli" @@ -1273,6 +1300,10 @@ msgstr "Filmirežiim on keelatud" msgid "Cinematic mode enabled" msgstr "Filmirežiim on lubatud" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Kliendipoolne skriptimine on keelatud" @@ -1281,6 +1312,10 @@ msgstr "Kliendipoolne skriptimine on keelatud" msgid "Connecting to server..." msgstr "Serveriga ühenduse loomine..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Jätka" @@ -1318,6 +1353,11 @@ msgstr "" "- Hiireratas: vali ese\n" "- %s: vestlus\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Kliendi loomine..." @@ -1524,6 +1564,21 @@ msgstr "Heli taastatud" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Vaate kaugus on nüüd: %d" @@ -1856,6 +1911,15 @@ msgstr "Pinnakaart, Suurendus ×%d" msgid "Minimap in texture mode" msgstr "Pisikaart tekstuur-laadis" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1 allalaadimine nurjus" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Paroolid ei ole samad!" @@ -1864,7 +1928,7 @@ msgstr "Paroolid ei ole samad!" msgid "Register and Join" msgstr "Registreeru ja liitu" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2058,7 +2122,8 @@ msgid "Muted" msgstr "Vaigistatud" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Hääle Volüüm: " #. ~ Imperative, as in "Enter/type in text". @@ -2270,6 +2335,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2536,6 +2605,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Vestluskäskluse ajalise sõnumi lävi" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Käsklused" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2569,8 +2643,9 @@ msgid "Chat toggle key" msgstr "Vestluse lülitusklahv" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Käsklused" +#, fuzzy +msgid "Chat weblinks" +msgstr "Vestluse näitamine" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2588,6 +2663,12 @@ msgstr "Filmirežiimi klahv" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2663,6 +2744,22 @@ msgstr "" msgid "Command key" msgstr "Käsuklahv" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Ühenda klaasi" @@ -2754,7 +2851,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2831,8 +2928,8 @@ msgstr "Vaike lasu hulk" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2952,6 +3049,10 @@ msgstr "Lülita sohituvastus välja" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2998,7 +3099,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3026,13 +3134,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3422,10 +3523,11 @@ msgid "Global callbacks" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Üldised maailma loome omadused.\n" "Maailma loome v6 puhul lipp 'ilmestused' ei avalda mõju puudele ja \n" @@ -3860,7 +3962,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3944,7 +4046,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4778,7 +4880,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5071,7 +5173,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5203,7 +5305,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5227,6 +5329,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5367,9 +5473,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5662,26 +5768,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5772,7 +5870,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5877,6 +5975,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5987,7 +6093,7 @@ msgstr "Tapeedi kaust" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6005,7 +6111,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6074,7 +6180,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6237,7 +6343,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6420,6 +6526,10 @@ msgstr "Vedeliku laine pikkus" msgid "Waving plants" msgstr "Õõtsuvad taimed" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6441,7 +6551,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6456,7 +6566,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6582,24 +6692,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL faili allalaadimine aegus" @@ -6655,6 +6747,9 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "Loo normaalkaardistusi" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Paigaldus: fail: \"$1\"" + #~ msgid "Main" #~ msgstr "Peamine" @@ -6701,6 +6796,9 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Alusta üksikmängu" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Aktiveerimiseks varjud, nad vajavad OpenGL draiver." + #, fuzzy #~ msgid "Toggle Cinematic" #~ msgstr "Lülita kiirus sisse" @@ -6711,5 +6809,8 @@ msgstr "" #~ msgid "Yes" #~ msgstr "Jah" +#~ msgid "You died." +#~ msgstr "Said otsa." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/eu/minetest.po b/po/eu/minetest.po index a2f5ed31f..8151e0cbb 100644 --- a/po/eu/minetest.po +++ b/po/eu/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-02-23 15:50+0000\n" "Last-Translator: Osoitz \n" "Language-Team: Basque " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Errore bat gertatu da Lua script batean:" @@ -304,6 +303,13 @@ msgstr "$1 Instalatu" msgid "Install missing dependencies" msgstr "Falta diren mendekotasunak instalatu" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Instalakuntza: \"$1\" sustengu gabeko fitxategi formatua edo hondatutako " +"fitxategia" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -635,7 +641,8 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Iraunkortasuna" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -746,16 +753,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Mod instalakuntza: ezinezkoa $1 mod-entzako karpeta izen egokia aurkitzea" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Instalakuntza: \"$1\" sustengu gabeko fitxategi formatua edo hondatutako " -"fitxategia" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalakuntza: fitxategia: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Ezinezkoa baliozko mod edo mod pakete bat aurkitzea" @@ -1127,10 +1124,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1163,7 +1156,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1192,7 +1185,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1262,6 +1255,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Errore bat gertatu da:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1270,6 +1273,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1278,6 +1297,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1290,6 +1313,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1298,6 +1325,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1321,6 +1352,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Bezeroa sortzen..." @@ -1515,6 +1551,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Ikusmen barrutia aldatu da: %d" @@ -1847,6 +1898,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Huts egin du $1 deskargatzean" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Pasahitzak ez datoz bat!" @@ -1855,7 +1915,7 @@ msgstr "Pasahitzak ez datoz bat!" msgid "Register and Join" msgstr "Eman izena eta hasi saioa" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2042,7 +2102,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2249,6 +2310,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2516,6 +2581,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Agindua" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2549,7 +2619,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2568,6 +2638,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2643,6 +2719,22 @@ msgstr "" msgid "Command key" msgstr "Agindua tekla" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2734,7 +2826,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2811,8 +2903,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2933,6 +3025,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2979,7 +3075,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3008,13 +3111,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "Ahalbidetu jokalariek kaltea jasotzea eta hiltzea." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3418,7 +3514,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3850,7 +3946,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3935,7 +4031,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "Joystick mota" #: src/settings_translation_file.cpp @@ -4796,7 +4892,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5089,7 +5185,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5221,7 +5317,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5245,6 +5341,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5386,9 +5486,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5681,26 +5781,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5791,7 +5883,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5896,6 +5988,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6006,7 +6106,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6025,7 +6125,7 @@ msgstr "Eduki biltegiaren URL helbidea" #: src/settings_translation_file.cpp #, fuzzy -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "Joystick mota" #: src/settings_translation_file.cpp @@ -6096,7 +6196,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6262,7 +6362,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6445,6 +6545,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6466,7 +6570,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6481,7 +6585,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6609,24 +6713,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6652,6 +6738,9 @@ msgstr "" #~ msgid "Downloading and installing $1, please wait..." #~ msgstr "$1 deskargatu eta instalatzen, itxaron mesedez..." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalakuntza: fitxategia: \"$1\"" + #~ msgid "Ok" #~ msgstr "Ados" @@ -6661,5 +6750,9 @@ msgstr "" #~ msgid "Special key" #~ msgstr "Berezia tekla" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Hil zara" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/fi/minetest.po b/po/fi/minetest.po index 90882169d..dfa95fd1a 100644 --- a/po/fi/minetest.po +++ b/po/fi/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-09-19 07:38+0000\n" "Last-Translator: Markus Mikkonen \n" "Language-Team: Finnish " +msgstr "Komento ei ole käytettävissä: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua-skriptissä tapahtui virhe:" @@ -298,6 +299,10 @@ msgstr "Asenna $1" msgid "Install missing dependencies" msgstr "Asenna puuttuvat riippuvuudet" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -623,7 +628,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -733,14 +738,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Asenna: tiedosto: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1106,10 +1103,6 @@ msgstr "Tasainen valaistus" msgid "Texturing:" msgstr "Teksturointi:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Varjostimien käyttäminen vaatii, että käytössä on OpenGL-ajuri." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1142,7 +1135,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Yhteys aikakatkaistiin." @@ -1171,7 +1164,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1241,6 +1234,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Palvelimen nimi: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Tapahtui virhe:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1249,6 +1252,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1257,6 +1276,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Vaihda salasana" @@ -1269,6 +1292,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1277,6 +1304,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Yhdistetään palvelimeen..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Jatka" @@ -1300,6 +1331,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Luodaan asiakasta..." @@ -1494,6 +1530,21 @@ msgstr "Ääni palautettu" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1826,6 +1877,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Epäonnistui ladata $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Salasanat eivät täsmää!" @@ -1834,7 +1894,7 @@ msgstr "Salasanat eivät täsmää!" msgid "Register and Join" msgstr "Rekisteröidy ja liity" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2027,7 +2087,8 @@ msgid "Muted" msgstr "Mykistetty" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Äänenvoimakkuus: " #. ~ Imperative, as in "Enter/type in text". @@ -2234,6 +2295,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2500,6 +2565,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Komento" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2533,7 +2603,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2552,6 +2622,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Asiakas" @@ -2627,6 +2703,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2718,7 +2810,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2795,8 +2887,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2914,6 +3006,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2960,7 +3056,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2988,13 +3091,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3387,7 +3483,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3819,7 +3915,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3903,7 +3999,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4732,7 +4828,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5025,7 +5121,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5157,7 +5253,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5181,6 +5277,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5321,9 +5421,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5616,26 +5716,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5726,7 +5818,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5831,6 +5923,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5941,7 +6041,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5959,7 +6059,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6028,7 +6128,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6191,7 +6291,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6374,6 +6474,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6395,7 +6499,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6410,7 +6514,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6536,24 +6640,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6566,8 +6652,17 @@ msgstr "" msgid "cURL parallel limit" msgstr "" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Asenna: tiedosto: \"$1\"" + #~ msgid "Name / Password" #~ msgstr "Nimi / Salasana" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Varjostimien käyttäminen vaatii, että käytössä on OpenGL-ajuri." + +#~ msgid "You died." +#~ msgstr "Kuolit." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/fil/minetest.po b/po/fil/minetest.po index 785c161a5..939dfbcb3 100644 --- a/po/fil/minetest.po +++ b/po/fil/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -60,10 +60,6 @@ msgstr "" msgid "You died" msgstr "" -#: builtin/client/death_formspec.lua -msgid "You died." -msgstr "" - #: builtin/common/chatcommands.lua msgid "Available commands:" msgstr "" @@ -93,6 +89,10 @@ msgstr "" msgid "OK" msgstr "" +#: builtin/fstk/ui.lua +msgid "" +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "" @@ -291,6 +291,10 @@ msgstr "" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -616,7 +620,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -726,14 +730,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1097,10 +1093,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1133,7 +1125,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1162,7 +1154,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1232,6 +1224,15 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1240,6 +1241,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1248,6 +1265,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1260,6 +1281,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1268,6 +1293,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1291,6 +1320,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1485,6 +1519,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1817,6 +1866,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1825,7 +1882,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2012,7 +2069,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2219,6 +2277,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2485,6 +2547,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2518,7 +2584,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2537,6 +2603,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2612,6 +2684,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2703,7 +2791,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2780,8 +2868,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2899,6 +2987,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2945,7 +3037,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2973,13 +3072,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3372,7 +3464,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3804,7 +3896,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3888,7 +3980,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4717,7 +4809,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5010,7 +5102,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5142,7 +5234,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5166,6 +5258,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5306,9 +5402,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5601,26 +5697,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5711,7 +5799,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5816,6 +5904,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5926,7 +6022,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5944,7 +6040,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6013,7 +6109,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6176,7 +6272,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6359,6 +6455,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6380,7 +6480,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6395,7 +6495,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6521,24 +6621,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" diff --git a/po/fr/minetest.po b/po/fr/minetest.po index bcfe2d77a..3354529ca 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-09-26 15:58+0000\n" "Last-Translator: waxtatect \n" "Language-Team: French ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Commande non disponible : " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Une erreur est survenue dans un script Lua :" @@ -296,6 +297,13 @@ msgstr "Installer $1" msgid "Install missing dependencies" msgstr "Installer les dépendances manquantes" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Installation d'un mod : type de fichier non supporté « $1 » ou archive " +"endommagée" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -628,7 +636,8 @@ msgid "Offset" msgstr "Décalage" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistence" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -741,16 +750,6 @@ msgstr "" "Installation un mod : impossible de trouver un nom de dossier valide pour le " "pack de mods $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Installation d'un mod : type de fichier non supporté « $1 » ou archive " -"endommagée" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installation : fichier : « $1 »" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Impossible de trouver un mod ou un pack de mods valide" @@ -1119,10 +1118,6 @@ msgstr "Lumière douce" msgid "Texturing:" msgstr "Texturisation :" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Pour activer les shaders, le pilote OpenGL doit être utilisé." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Mappage tonal" @@ -1155,7 +1150,7 @@ msgstr "Liquides ondulants" msgid "Waving Plants" msgstr "Plantes ondulantes" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Connexion perdue." @@ -1184,7 +1179,8 @@ msgid "Connection error (timed out?)" msgstr "Erreur de connexion (perte de connexion ?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Impossible de trouver ou charger le jeu \"" #: src/client/clientlauncher.cpp @@ -1256,6 +1252,16 @@ msgstr "– JcJ : " msgid "- Server Name: " msgstr "– Nom du serveur : " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Une erreur est survenue :" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Marche automatique désactivée" @@ -1264,6 +1270,23 @@ msgstr "Marche automatique désactivée" msgid "Automatic forward enabled" msgstr "Marche automatique activée" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Limites des blocs" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Mise à jour de la caméra désactivée" @@ -1272,6 +1295,10 @@ msgstr "Mise à jour de la caméra désactivée" msgid "Camera update enabled" msgstr "Mise à jour de la caméra activée" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Changer de mot de passe" @@ -1284,6 +1311,11 @@ msgstr "Mode cinématique désactivé" msgid "Cinematic mode enabled" msgstr "Mode cinématique activé" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Personnalisation client" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Les scripts côté client sont désactivés" @@ -1292,6 +1324,10 @@ msgstr "Les scripts côté client sont désactivés" msgid "Connecting to server..." msgstr "Connexion au serveur…" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continuer" @@ -1329,6 +1365,11 @@ msgstr "" "– Molette souris : sélectionner un objet\n" "– %s : tchat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Création du client…" @@ -1532,6 +1573,21 @@ msgstr "Son rétabli" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Distance de vue réglée sur %d" @@ -1864,6 +1920,15 @@ msgstr "Mini-carte en mode surface, zoom ×%d" msgid "Minimap in texture mode" msgstr "Mini-carte en mode texture" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Échec du téléchargement de $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Les mots de passe ne correspondent pas !" @@ -1872,7 +1937,7 @@ msgstr "Les mots de passe ne correspondent pas !" msgid "Register and Join" msgstr "S'enregistrer et rejoindre" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2066,7 +2131,8 @@ msgid "Muted" msgstr "Muet" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volume du son : " #. ~ Imperative, as in "Enter/type in text". @@ -2136,8 +2202,8 @@ msgstr "" "Échelle (X,Y,Z) de la fractale en nœuds.\n" "La taille réelle de la fractale sera 2 à 3 fois plus grande.\n" "Ces nombres peuvent être très grands, la fractale n'a pas à être contenue " -"dans le monde. Les augmenter pour « zoomer » dans les détails de la fractale." -"\n" +"dans le monde. Les augmenter pour « zoomer » dans les détails de la " +"fractale.\n" "Le valeur par défaut est pour une forme verticalement écrasée convenant pour " "une île, définir les 3 nombres égaux pour la forme brute." @@ -2258,7 +2324,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." -msgstr "Un message qui sera affiché à tous les joueurs quand le serveur plante." +msgstr "" +"Un message qui sera affiché à tous les joueurs quand le serveur plante." #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." @@ -2324,6 +2391,10 @@ msgstr "" "Ajuster la résolution de votre écran (non-X11 / Android seulement) ex. pour " "les écrans 4k." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2548,8 +2619,8 @@ msgid "" msgstr "" "Distance de la caméra « près du plan de coupure » dans les nœuds, entre 0 et " "0,25\n" -"Ne fonctionne que sur les plateformes GLES. La plupart des utilisateurs n’" -"auront pas besoin de changer cela.\n" +"Ne fonctionne que sur les plateformes GLES. La plupart des utilisateurs " +"n’auront pas besoin de changer cela.\n" "L’augmentation peut réduire les artefacts sur des GPUs plus faibles.\n" "0,1 = Défaut, 0,25 = Bonne valeur pour les tablettes plus faibles." @@ -2622,6 +2693,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Seuil du message de temps de commande de tchat" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Commandes de tchat" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Taille de police du tchat" @@ -2655,8 +2731,9 @@ msgid "Chat toggle key" msgstr "Afficher le tchat" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Commandes de tchat" +#, fuzzy +msgid "Chat weblinks" +msgstr "Tchat affiché" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2674,6 +2751,12 @@ msgstr "Mode cinématique" msgid "Clean transparent textures" msgstr "Textures transparentes filtrées" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Client" @@ -2762,6 +2845,38 @@ msgstr "" msgid "Command key" msgstr "Commande" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Niveau de compression Zlib à utiliser lors de la sauvegarde des mapblocks " +"sur le disque.\n" +"-1 - niveau de compression de Zlib par défaut\n" +"0 - aucune compression, le plus rapide\n" +"9 - meilleure compression, le plus lent\n" +"(les niveaux 1–3 utilisent la méthode « rapide », 4–9 utilisent la méthode " +"normale)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Niveau de compression Zlib à utiliser lors de l'envoi des mapblocks au " +"client.\n" +"-1 - niveau de compression de Zlib par défaut\n" +"0 - aucune compression, le plus rapide\n" +"9 - meilleure compression, le plus lent\n" +"(les niveaux 1–3 utilisent la méthode « rapide », 4–9 utilisent la méthode " +"normale)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Verre unifié" @@ -2862,9 +2977,10 @@ msgid "Crosshair alpha" msgstr "Opacité du réticule" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Opacité du réticule (entre 0 et 255).\n" "Contrôle également la couleur du réticule de l'objet" @@ -2946,9 +3062,10 @@ msgid "Default stack size" msgstr "Taille d’empilement par défaut" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Définir la qualité du filtrage des ombres. Ceci simule l'effet d'ombres " @@ -3082,6 +3199,10 @@ msgstr "Désactiver l'anti-triche" msgid "Disallow empty passwords" msgstr "Refuser les mots de passe vides" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Nom de domaine du serveur affichée sur la liste des serveurs." @@ -3131,8 +3252,20 @@ msgstr "" "Ce support est expérimental et l'API peut changer." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Active le filtrage par disque de Poisson.\n" +"Si activé, utilise le disque de Poisson pour créer des « ombres douces ». " +"Sinon, utilise le filtrage PCF." + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Active les ombres colorées.\n" @@ -3163,16 +3296,6 @@ msgstr "Activer la sécurisation des mods" msgid "Enable players getting damage and dying." msgstr "Active les dégâts et la mort des joueurs." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Active le filtrage par disque de Poisson.\n" -"Si activé, utilise le disque de Poisson pour créer des « ombres douces ». " -"Sinon, utilise le filtrage PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3549,7 +3672,8 @@ msgstr "Couleur de l'arrière-plan en plein écran des formspec (R,V,B)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background opacity (between 0 and 255)." -msgstr "Opacité de l'arrière-plan en plein écran des formspec (entre 0 et 255)." +msgstr "" +"Opacité de l'arrière-plan en plein écran des formspec (entre 0 et 255)." #: src/settings_translation_file.cpp msgid "Forward key" @@ -3632,10 +3756,11 @@ msgid "Global callbacks" msgstr "Rappels globaux" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Attributs de génération de terrain globaux.\n" "Dans le générateur de terrain v6, le drapeau « décorations » contrôle toutes " @@ -4096,8 +4221,8 @@ msgid "" "debug.txt is only moved if this setting is positive." msgstr "" "Si la taille du fichier « debug.txt » dépasse le nombre de mégaoctets " -"spécifié par ce paramètre ; une fois ouvert, le fichier est déplacé vers « " -"debug.txt.1 » et supprime l'ancien « debug.txt.1 » s'il existe.\n" +"spécifié par ce paramètre ; une fois ouvert, le fichier est déplacé vers " +"« debug.txt.1 » et supprime l'ancien « debug.txt.1 » s'il existe.\n" "« debug.tx t» est déplacé seulement si ce paramètre est activé." #: src/settings_translation_file.cpp @@ -4145,7 +4270,8 @@ msgstr "" "noyau" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Instrument d'enregistrement des commandes de tchat." #: src/settings_translation_file.cpp @@ -4242,7 +4368,8 @@ msgid "Joystick button repetition interval" msgstr "Intervalle de répétition des boutons de la manette" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Zone morte de la manette" #: src/settings_translation_file.cpp @@ -5357,7 +5484,8 @@ msgid "Map save interval" msgstr "Intervalle de sauvegarde de la carte" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Intervalle de mise à jour de la carte" #: src/settings_translation_file.cpp @@ -5680,7 +5808,8 @@ msgid "Mod channels" msgstr "Canaux de mods" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Modifie la taille des éléments de la barre d'action principale." #: src/settings_translation_file.cpp @@ -5832,15 +5961,16 @@ msgstr "" "ATTENTION : augmenter le nombre de processus « emerge » accélère bien la\n" "création de terrain, mais cela peut nuire à la performance du jeu en " "interférant\n" -"avec d’autres processus, en particulier en mode solo et/ou lors de l’" -"exécution de\n" +"avec d’autres processus, en particulier en mode solo et/ou lors de " +"l’exécution de\n" "code Lua en mode « on_generated ». Pour beaucoup, le réglage optimal peut " "être « 1 »." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Nombre d'extra-mapblocks qui peuvent être chargés par « /clearobjects » dans " @@ -5872,6 +6002,10 @@ msgstr "" "Ouvre le menu pause lorsque la sélection de la fenêtre est perdue. Ne met " "pas en pause si un formspec est ouvert." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6048,11 +6182,12 @@ msgid "Prometheus listener address" msgstr "Adresse d'écoute pour Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Adresse d'écoute pour Prometheus.\n" "Lorsque Minetest est compilé avec l'option ENABLE_PROMETHEUS, cette adresse " @@ -6138,8 +6273,8 @@ msgstr "" "CHAT_MESSAGES : 2 (désactive l'appel « send_chat_message côté » client)\n" "READ_ITEMDEFS : 4 (désactive l'appel « get_item_def côté » client)\n" "READ_NODEDEFS : 8 (désactive l'appel « get_node_def » côté client)\n" -"LOOKUP_NODES_LIMIT : 16 (limite l'appel « get_node » côté client à « " -"csm_restriction_noderange »)\n" +"LOOKUP_NODES_LIMIT : 16 (limite l'appel « get_node » côté client à " +"« csm_restriction_noderange »)\n" "READ_PLAYERINFO : 32 (désactive l'appel « get_player_names » côté client)" #: src/settings_translation_file.cpp @@ -6404,22 +6539,11 @@ msgstr "" "élevée signifie des ombres plus sombres." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Définit le temps de mise à jour des ombres.\n" -"Une valeur plus faible signifie que les ombres et les mises à jour de la " -"carte sont plus rapides, mais cela consomme plus de ressources.\n" -"Valeur minimale 0,001 seconde et maximale 0,2 seconde." - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Définit la taille du rayon de l'ombre douce.\n" "Les valeurs les plus faibles signifient des ombres plus nettes, les valeurs " @@ -6427,10 +6551,11 @@ msgstr "" "Valeur minimale 1,0 et maximale 10,0." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Définit l'inclinaison de l'orbite du soleil/lune en degrés.\n" "La valeur de 0 signifie aucune inclinaison/orbite verticale.\n" @@ -6543,7 +6668,8 @@ msgstr "" "Un redémarrage est nécessaire après cette modification." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Afficher l'arrière-plan des badges par défaut" #: src/settings_translation_file.cpp @@ -6559,8 +6685,8 @@ msgid "" "Altering this value is for special usage, leaving it unchanged is\n" "recommended." msgstr "" -"Taille des mapchunks générés à la création de terrain, définie en mapblocks (" -"16 nœuds).\n" +"Taille des mapchunks générés à la création de terrain, définie en mapblocks " +"(16 nœuds).\n" "ATTENTION ! : Il n’y a aucun avantage, et plusieurs dangers, à augmenter " "cette valeur au-dessus de 5.\n" "Réduire cette valeur augmente la densité de cavernes et de donjons.\n" @@ -6675,6 +6801,14 @@ msgstr "" "Les mods ou les parties peuvent fixer explicitement une pile pour certains " "items." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6741,13 +6875,13 @@ msgstr "" "L'eau est désactivée par défaut et ne sera placée que si cette valeur est " "définie à plus de « mgv7_floatland_ymax » - « mgv7_floatland_taper » (début " "de l’effilage du haut).\n" -"***ATTENTION, DANGER POTENTIEL AU MONDES ET AUX PERFORMANCES DES SERVEURS*** " -":\n" +"***ATTENTION, DANGER POTENTIEL AU MONDES ET AUX PERFORMANCES DES " +"SERVEURS*** :\n" "Lorsque le placement de l'eau est activé, les terrains flottants doivent " -"être configurés et vérifiés pour être une couche solide en mettant « " -"mgv7_floatland_density » à 2,0 (ou autre valeur dépendante de « " -"mgv7_np_floatland »), pour éviter les chutes d'eaux énormes qui surchargent " -"les serveurs et pourraient inonder les terres en dessous." +"être configurés et vérifiés pour être une couche solide en mettant " +"« mgv7_floatland_density » à 2,0 (ou autre valeur dépendante de " +"« mgv7_np_floatland »), pour éviter les chutes d'eaux énormes qui " +"surchargent les serveurs et pourraient inonder les terres en dessous." #: src/settings_translation_file.cpp msgid "Synchronous SQLite" @@ -6806,10 +6940,11 @@ msgid "Texture path" msgstr "Chemin des textures" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Taille de la texture pour le rendu de la « shadow map ».\n" "Il doit s'agir d'une puissance de deux.\n" @@ -6838,7 +6973,8 @@ msgid "The URL for the content repository" msgstr "L'URL du dépôt de contenu en ligne" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "La zone morte de la manette" #: src/settings_translation_file.cpp @@ -6910,8 +7046,8 @@ msgid "" msgstr "" "Le rayon du volume de blocs autour de chaque joueur soumis au bloc actif, " "définie en mapblocks (16 nœuds).\n" -"Dans les blocs actifs, les objets sont chargés et les « ABMs » sont exécutés." -"\n" +"Dans les blocs actifs, les objets sont chargés et les « ABMs » sont " +"exécutés.\n" "C'est également la distance minimale dans laquelle les objets actifs (mobs) " "sont conservés.\n" "Ceci devrait être configuré avec « active_object_send_range_blocks »." @@ -6934,9 +7070,10 @@ msgstr "" "et OGLES2 (expérimental)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Sensibilité des axes de la manette pour déplacer la vue en jeu autour du " "tronc." @@ -7145,8 +7282,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Utilisation du filtrage bilinéaire." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7355,6 +7493,11 @@ msgstr "Longueur d'onde des liquides ondulants" msgid "Waving plants" msgstr "Plantes ondulantes" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Couleur des bords de sélection" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7379,12 +7522,13 @@ msgstr "" "matériel." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7412,8 +7556,9 @@ msgstr "" "remplacement." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Si l'arrière-plan des badges doit être affiché par défaut.\n" @@ -7484,8 +7629,8 @@ msgid "" "Contains the same information as the file debug.txt (default name)." msgstr "" "Systèmes Windows seulement : démarrer Minetest avec la fenêtre de ligne de " -"commande en arrière-plan. Contient les mêmes informations que le fichier « " -"debug.txt » (nom par défaut)." +"commande en arrière-plan. Contient les mêmes informations que le fichier " +"« debug.txt » (nom par défaut)." #: src/settings_translation_file.cpp msgid "" @@ -7573,38 +7718,6 @@ msgstr "Limite Y du plus bas terrain et des fonds marins." msgid "Y-level of seabed." msgstr "Limite Y du fond marin." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Niveau de compression Zlib à utiliser lors de la sauvegarde des mapblocks " -"sur le disque.\n" -"-1 - niveau de compression de Zlib par défaut\n" -"0 - aucune compression, le plus rapide\n" -"9 - meilleure compression, le plus lent\n" -"(les niveaux 1–3 utilisent la méthode « rapide », 4–9 utilisent la méthode " -"normale)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Niveau de compression Zlib à utiliser lors de l'envoi des mapblocks au " -"client.\n" -"-1 - niveau de compression de Zlib par défaut\n" -"0 - aucune compression, le plus rapide\n" -"9 - meilleure compression, le plus lent\n" -"(les niveaux 1–3 utilisent la méthode « rapide », 4–9 utilisent la méthode " -"normale)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Délai d'interruption de cURL lors d'un téléchargement de fichier" @@ -7808,6 +7921,9 @@ msgstr "Limite parallèle de cURL" #~ msgid "IPv6 support." #~ msgstr "Support IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installation : fichier : « $1 »" + #~ msgid "Lava depth" #~ msgstr "Profondeur de lave" @@ -7912,6 +8028,17 @@ msgstr "Limite parallèle de cURL" #~ msgid "Select Package File:" #~ msgstr "Sélectionner le fichier du mod :" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Définit le temps de mise à jour des ombres.\n" +#~ "Une valeur plus faible signifie que les ombres et les mises à jour de la " +#~ "carte sont plus rapides, mais cela consomme plus de ressources.\n" +#~ "Valeur minimale 0,001 seconde et maximale 0,2 seconde." + #~ msgid "Shadow limit" #~ msgstr "Limite des ombres" @@ -7940,6 +8067,9 @@ msgstr "Limite parallèle de cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Cette police sera utilisée pour certaines langues." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Pour activer les shaders, le pilote OpenGL doit être utilisé." + #~ msgid "Toggle Cinematic" #~ msgstr "Mode cinématique" @@ -7980,5 +8110,8 @@ msgstr "Limite parallèle de cURL" #~ msgid "Yes" #~ msgstr "Oui" +#~ msgid "You died." +#~ msgstr "Vous êtes mort." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/gd/minetest.po b/po/gd/minetest.po index 88aaa36d9..ad0acb1e0 100644 --- a/po/gd/minetest.po +++ b/po/gd/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-08-19 06:36+0000\n" "Last-Translator: GunChleoc \n" "Language-Team: Gaelic " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "" @@ -299,6 +299,12 @@ msgstr "" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Stàladh: Faidhle dhen t-seòrsa “$1” ris nach eil taic no tasglann bhriste" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +630,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -734,15 +740,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Stàladh: Faidhle dhen t-seòrsa “$1” ris nach eil taic no tasglann bhriste" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1109,12 +1106,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" -"Airson sgàileadairean a chur an comas, feumaidh tu draibhear OpenGL a " -"chleachdadh." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1147,7 +1138,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1176,7 +1167,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1255,6 +1246,15 @@ msgstr " " msgid "- Server Name: " msgstr " " +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1263,6 +1263,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1271,6 +1287,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1283,6 +1303,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "Tha am modh film an comas" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1291,6 +1315,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1328,6 +1356,11 @@ msgstr "" "- Cuibhle na luchaige: tagh nì\n" "- %s: cabadaich\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1522,6 +1555,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1854,6 +1902,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1862,7 +1918,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2049,8 +2105,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -#, fuzzy -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr " " #. ~ Imperative, as in "Enter/type in text". @@ -2265,6 +2321,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2538,6 +2598,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Tha a’ chabadaich ’ga shealltainn" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2571,8 +2636,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "Tha a’ chabadaich ’ga shealltainn" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2590,6 +2656,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2665,6 +2737,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2756,7 +2844,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2833,8 +2921,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2954,6 +3042,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3000,7 +3092,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3028,13 +3127,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3437,10 +3529,11 @@ msgid "Global callbacks" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Buadhan gintinn mapa uile-choitcheann.\n" "Ann an gineadair nam mapa v6, stiùirichidh bratach “decorations” sgeadachadh " @@ -3898,7 +3991,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3987,7 +4080,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4979,7 +5072,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5280,7 +5373,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5417,7 +5510,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5443,6 +5536,10 @@ msgstr "" "Fosgail clàr-taice a’ chuir ’na stad nuair a chailleas an uinneag am fòcas.\n" "Cha dèid a chur ’na stad nuair a bhios formspec fosgailte." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5586,9 +5683,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5883,26 +5980,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5993,7 +6082,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6105,6 +6194,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6230,7 +6327,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6248,7 +6345,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6320,7 +6417,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6487,7 +6584,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6672,6 +6769,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6693,7 +6794,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6708,7 +6809,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6845,24 +6946,6 @@ msgstr "Àirde-Y a’ chrutha-thìre ìosal agus grunnd na mara." msgid "Y-level of seabed." msgstr "Àirde-Y aig grunnd na mara." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6883,5 +6966,10 @@ msgstr "" #~ "Claonadh na h-èifeachd occlusion na paraileig air fheadh, seo sgèile/2 " #~ "mar as àbhaist." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "" +#~ "Airson sgàileadairean a chur an comas, feumaidh tu draibhear OpenGL a " +#~ "chleachdadh." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/gl/minetest.po b/po/gl/minetest.po index a9afc1ac6..839b6d654 100644 --- a/po/gl/minetest.po +++ b/po/gl/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-07-08 20:47+0000\n" "Last-Translator: sfan5 \n" "Language-Team: Galician " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "" @@ -296,6 +295,10 @@ msgstr "" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -621,7 +624,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -731,14 +734,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1102,10 +1097,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1138,7 +1129,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1167,7 +1158,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1237,6 +1228,15 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1245,6 +1245,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1253,6 +1269,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1265,6 +1285,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1273,6 +1297,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1296,6 +1324,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1490,6 +1523,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1822,6 +1870,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1830,7 +1886,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2017,7 +2073,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2224,6 +2281,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2490,6 +2551,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2523,7 +2588,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2542,6 +2607,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2617,6 +2688,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2708,7 +2795,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2785,8 +2872,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2904,6 +2991,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2950,7 +3041,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2978,13 +3076,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3377,7 +3468,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3809,7 +3900,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3893,7 +3984,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4722,7 +4813,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5015,7 +5106,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5147,7 +5238,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5171,6 +5262,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5311,9 +5406,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5606,26 +5701,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5716,7 +5803,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5821,6 +5908,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5931,7 +6026,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5949,7 +6044,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6018,7 +6113,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6181,7 +6276,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6364,6 +6459,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6385,7 +6484,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6400,7 +6499,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6526,24 +6625,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6556,5 +6637,9 @@ msgstr "" msgid "cURL parallel limit" msgstr "" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Morreches" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/he/minetest.po b/po/he/minetest.po index 8bc1c5fef..90df304cc 100644 --- a/po/he/minetest.po +++ b/po/he/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Hebrew (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-04-17 07:27+0000\n" "Last-Translator: Omer I.S. \n" "Language-Team: Hebrew " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "אירעה שגיאה בתסריט Lua:" @@ -302,6 +301,11 @@ msgstr "התקנת $1" msgid "Install missing dependencies" msgstr "מתקין תלויות חסרות" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "התקנה: סוג קובץ לא נתמך \"$1\" או שהארכיב פגום" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -629,7 +633,8 @@ msgid "Offset" msgstr "היסט" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "התמדה" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -739,14 +744,6 @@ msgstr "התקנת שיפור: לא ניתן למצוא את שם השיפור msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "התקנת שיפור: לא ניתן למצוא שם תיקייה מתאים לערכת השיפורים $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "התקנה: סוג קובץ לא נתמך \"$1\" או שהארכיב פגום" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "התקנה: מקובץ: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "אין אפשרות למצוא שיפור או ערכת שיפורים במצב תקין" @@ -1119,10 +1116,6 @@ msgstr "החלקת תאורה" msgid "Texturing:" msgstr "טקסטורות:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "כדי לאפשר שיידרים יש להשתמש בדרייבר של OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "מיפוי גוונים" @@ -1155,7 +1148,7 @@ msgstr "נוזלים עם גלים" msgid "Waving Plants" msgstr "צמחים מתנוענעים" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "זמן המתנה לחיבור אזל." @@ -1184,7 +1177,8 @@ msgid "Connection error (timed out?)" msgstr "בעיה בחיבור (נגמר זמן ההמתנה?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "לא מצליח למצוא או לטעון משחק \"" #: src/client/clientlauncher.cpp @@ -1256,6 +1250,16 @@ msgstr "- קרב: " msgid "- Server Name: " msgstr "- שם שרת: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "אירעה שגיאה:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "התקדמות אוטומטית קדימה מבוטלת" @@ -1264,6 +1268,22 @@ msgstr "התקדמות אוטומטית קדימה מבוטלת" msgid "Automatic forward enabled" msgstr "תנועה קדימה אוטומטית מופעל" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "עדכון מצלמה מבוטל" @@ -1272,6 +1292,10 @@ msgstr "עדכון מצלמה מבוטל" msgid "Camera update enabled" msgstr "עדכון מצלמה מופעל" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "שנה סיסמה" @@ -1284,6 +1308,11 @@ msgstr "מצב קולנועי מבוטל" msgid "Cinematic mode enabled" msgstr "מצב קולנועי מופעל" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "קלינט" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "סקריפטים בצד לקוח מבוטלים" @@ -1292,6 +1321,10 @@ msgstr "סקריפטים בצד לקוח מבוטלים" msgid "Connecting to server..." msgstr "מתחבר לשרת..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "המשך" @@ -1329,6 +1362,11 @@ msgstr "" "- גלגלת העכבר: כדי לבחור פריט\n" "- %s: כדי לפתוח את הצ׳אט\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "יוצר לקוח..." @@ -1536,6 +1574,21 @@ msgstr "מערכת שמע מופעלת" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "טווח ראיה השתנה ל %d" @@ -1868,6 +1921,15 @@ msgstr "מפה קטנה במצב שטח, זום x %d" msgid "Minimap in texture mode" msgstr "מפה קטנה במצב טקסטורה" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "הורדת $1 נכשלה" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "סיסמאות לא תואמות!" @@ -1876,7 +1938,7 @@ msgstr "סיסמאות לא תואמות!" msgid "Register and Join" msgstr "הרשם והצטרף" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2068,7 +2130,8 @@ msgid "Muted" msgstr "מושתק" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "עוצמת שמע: " #. ~ Imperative, as in "Enter/type in text". @@ -2318,6 +2381,10 @@ msgid "" "screens." msgstr "התאם את תצורת dpi למסך שלך (לא X11 / Android בלבד) למשל. למסכי 4k." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2612,6 +2679,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "סף בעיטה להודעות צ'אט" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "פקודות צ'אט" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "גודל גופן צ'אט" @@ -2645,8 +2717,9 @@ msgid "Chat toggle key" msgstr "מתג הפעלת צ'אט" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "פקודות צ'אט" +#, fuzzy +msgid "Chat weblinks" +msgstr "צ'אט מוצג" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2664,6 +2737,12 @@ msgstr "מקש מצב קולנועי" msgid "Clean transparent textures" msgstr "טקסטורות נקיות ושקופות" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "לקוח" @@ -2741,6 +2820,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2832,7 +2927,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2909,8 +3004,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3030,6 +3125,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3076,7 +3175,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3104,13 +3210,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "לאפשר חבלה ומוות של השחקנים." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3503,7 +3602,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3937,7 +4036,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4021,7 +4120,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4850,7 +4949,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5149,7 +5248,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5281,7 +5380,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5305,6 +5404,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5446,9 +5549,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5741,26 +5844,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5854,7 +5949,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5959,6 +6054,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6069,7 +6172,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6087,7 +6190,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6156,7 +6259,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6319,7 +6422,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6505,6 +6608,10 @@ msgstr "אורך גל של נוזלים עם גלים" msgid "Waving plants" msgstr "צמחים מתנופפים" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6526,7 +6633,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6541,7 +6648,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6669,24 +6776,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "(cURL) זמן להורדה נגמר" @@ -6719,6 +6808,9 @@ msgstr "(cURL) מגבלה לפעולות במקביל" #~ msgid "Enable VBO" #~ msgstr "אפשר בכל" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "התקנה: מקובץ: \"$1\"" + #~ msgid "Main menu style" #~ msgstr "סגנון התפריט הראשי" @@ -6741,11 +6833,18 @@ msgstr "(cURL) מגבלה לפעולות במקביל" #~ msgid "Special" #~ msgstr "מיוחד" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "כדי לאפשר שיידרים יש להשתמש בדרייבר של OpenGL." + #~ msgid "View" #~ msgstr "תצוגה" #~ msgid "Yes" #~ msgstr "כן" +#, fuzzy +#~ msgid "You died." +#~ msgstr "מתת" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/hi/minetest.po b/po/hi/minetest.po index 59326cf06..0b46e64ce 100644 --- a/po/hi/minetest.po +++ b/po/hi/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-10-06 14:26+0000\n" "Last-Translator: Eyekay49 \n" "Language-Team: Hindi " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua कोड में यह परेशानी हुई :" @@ -308,6 +307,11 @@ msgstr "इन्स्टाल करें" msgid "Install missing dependencies" msgstr "अनावश्यक निर्भरताएं :" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "इन्स्टाल : \"$1\" का फाईल टाईप अंजान है याफिर आरकाइव खराब है" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -635,7 +639,8 @@ msgid "Offset" msgstr "आफसेट" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "हठ (पर्सिस्टेन्स)" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -745,14 +750,6 @@ msgstr "इन्स्टाल मॉड: $1 का असल नाम नह msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "माॅड इन्स्टाल: माॅडपैक $1 के लिए सही फोल्डर नहीं ढूंढा जा सका" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "इन्स्टाल : \"$1\" का फाईल टाईप अंजान है याफिर आरकाइव खराब है" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "इन्स्टाल : फाईल : \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "सही माॅड या माॅडपैक नहीं ढूंढ पाया गया" @@ -1126,10 +1123,6 @@ msgstr "चिकना उजाला" msgid "Texturing:" msgstr "कला बनावट :" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "छाया बनावट कॆ लिये OpenGL ड्राईवर आवश्यक हैं|" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "टोन मैपिंग" @@ -1162,7 +1155,7 @@ msgstr "पानी में लहरें बनें" msgid "Waving Plants" msgstr "पाैधे लहराएं" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "कनेक्शन समय अंत|" @@ -1191,7 +1184,8 @@ msgid "Connection error (timed out?)" msgstr "कनेक्शन खराबी (समय अंत?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "खेल ढूंढा ना जा सका या लोड नहीं किया जा सका \"" #: src/client/clientlauncher.cpp @@ -1263,6 +1257,16 @@ msgstr "- खिलाड़ियों में मारा-पीटी : " msgid "- Server Name: " msgstr "- सर्वर का नाम : " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "एक खराबी हो गयी :" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "स्वचाल रुका हुआ" @@ -1271,6 +1275,22 @@ msgstr "स्वचाल रुका हुआ" msgid "Automatic forward enabled" msgstr "स्वचाल चालू" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "कैमरा रुका हुआ" @@ -1279,6 +1299,10 @@ msgstr "कैमरा रुका हुआ" msgid "Camera update enabled" msgstr "कैमरा चालू" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "पासवर्ड बदलें" @@ -1291,6 +1315,10 @@ msgstr "सिनेमा चाल रुका हुआ" msgid "Cinematic mode enabled" msgstr "सिनेमा चाल चालू" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "क्लाइंट की तरफ से स्क्रिप्ट लगाना मना है" @@ -1299,6 +1327,10 @@ msgstr "क्लाइंट की तरफ से स्क्रिप् msgid "Connecting to server..." msgstr "सर्वर से कनेक्ट हुआ जा रहा है ..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "आगे बढ़ें" @@ -1336,6 +1368,11 @@ msgstr "" "- : माउस पहिया : वस्तु चुनें\n" "- %s : बात करने के लिए\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "क्लाइंट बनाया जा रहा है ..." @@ -1543,6 +1580,21 @@ msgstr "आवाज चालू" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "दृष्टि सीमा बदलकर %d है" @@ -1876,6 +1928,15 @@ msgstr "छोटा नक्शा जमीन मोड, 1 गुना ज msgid "Minimap in texture mode" msgstr "छोटा नक्शा जमीन मोड, 1 गुना ज़ूम" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1 का डाऊनलोड असफल हुआ" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "पासवर्ड अलग-अलग हैं!" @@ -1884,7 +1945,7 @@ msgstr "पासवर्ड अलग-अलग हैं!" msgid "Register and Join" msgstr "पंजीकरण व खेलें" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2077,7 +2138,8 @@ msgid "Muted" msgstr "चुप" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "आवाज " #. ~ Imperative, as in "Enter/type in text". @@ -2284,6 +2346,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2551,6 +2617,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "आज्ञा" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2584,8 +2655,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "बातें दिखाई देंगी" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2603,6 +2675,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2678,6 +2756,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2769,7 +2863,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2846,8 +2940,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2965,6 +3059,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3011,7 +3109,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3039,13 +3144,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3441,7 +3539,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3883,7 +3981,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3967,7 +4065,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4796,7 +4894,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5089,7 +5187,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5221,7 +5319,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5245,6 +5343,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5388,9 +5490,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5683,26 +5785,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5793,7 +5887,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5900,6 +5994,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6010,7 +6112,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6028,7 +6130,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6097,7 +6199,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6260,7 +6362,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6443,6 +6545,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6464,7 +6570,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6479,7 +6585,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6605,24 +6711,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6665,6 +6753,9 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "मामूली नक्शे बनाएं" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "इन्स्टाल : फाईल : \"$1\"" + #~ msgid "Main" #~ msgstr "मुख्य" @@ -6707,11 +6798,18 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "एक-खिलाडी शुरू करें" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "छाया बनावट कॆ लिये OpenGL ड्राईवर आवश्यक हैं|" + #~ msgid "View" #~ msgstr "दृश्य" #~ msgid "Yes" #~ msgstr "हां" +#, fuzzy +#~ msgid "You died." +#~ msgstr "आपकी मौत हो गयी" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/hu/minetest.po b/po/hu/minetest.po index 571d1f62b..659daa73c 100644 --- a/po/hu/minetest.po +++ b/po/hu/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Hungarian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-07-27 23:16+0000\n" "Last-Translator: Ács Zoltán \n" "Language-Team: Hungarian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Hiba történt egy Lua parancsfájlban:" @@ -293,6 +293,11 @@ msgstr "$1 telepítése" msgid "Install missing dependencies" msgstr "hiányzó függőségek telepitése" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Telepítés: nem támogatott „$1” fájltípus, vagy sérült archívum" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +629,8 @@ msgid "Offset" msgstr "Eltolás" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Folytonosság" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -735,14 +741,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Mod telepítése: nem található megfelelő mappanév ehhez a modcsomaghoz: $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Telepítés: nem támogatott „$1” fájltípus, vagy sérült archívum" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Fájl telepítése: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Nem található érvényes mod vagy modcsomag" @@ -1111,10 +1109,6 @@ msgstr "Simított megvilágítás" msgid "Texturing:" msgstr "Textúrázás:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Az árnyalók engedélyezéséhez OpenGL driver használata szükséges." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tónus rajzolás" @@ -1147,7 +1141,7 @@ msgstr "Hullámzó folyadékok" msgid "Waving Plants" msgstr "Hullámzó növények" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Csatlakozási idő lejárt." @@ -1176,7 +1170,8 @@ msgid "Connection error (timed out?)" msgstr "Kapcsolódási hiba (időtúllépés?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Nem található vagy nem betölthető a játék" #: src/client/clientlauncher.cpp @@ -1248,6 +1243,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Kiszolgáló neve: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Hiba történt:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatikus előre kikapcsolva" @@ -1256,6 +1261,22 @@ msgstr "Automatikus előre kikapcsolva" msgid "Automatic forward enabled" msgstr "Automatikus előre engedélyezve" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kamera frissítés letiltva" @@ -1264,6 +1285,10 @@ msgstr "Kamera frissítés letiltva" msgid "Camera update enabled" msgstr "Kamera frissítés engedélyezve" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Jelszó változtatása" @@ -1276,6 +1301,11 @@ msgstr "Filmszerű mód letiltva" msgid "Cinematic mode enabled" msgstr "Filmszerű mód engedélyezve" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Kliens modolás" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Kliens oldali szkriptek letiltva" @@ -1284,6 +1314,10 @@ msgstr "Kliens oldali szkriptek letiltva" msgid "Connecting to server..." msgstr "Kapcsolódás szerverhez..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Folytatás" @@ -1320,6 +1354,11 @@ msgstr "" "- Egérgörgő: tárgy kiválasztása\n" "- %s: csevegés\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Kliens létrehozása…" @@ -1526,6 +1565,21 @@ msgstr "Hang visszahangosítva" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "látótáv %d1" @@ -1858,6 +1912,15 @@ msgstr "kistérkép terület módban x%d" msgid "Minimap in texture mode" msgstr "Minimap textúra módban" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1 letöltése nem sikerült" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "A jelszavak nem egyeznek!" @@ -1866,7 +1929,7 @@ msgstr "A jelszavak nem egyeznek!" msgid "Register and Join" msgstr "Regisztráció és belépés" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2061,7 +2124,8 @@ msgid "Muted" msgstr "Némitva" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Hangerő: " #. ~ Imperative, as in "Enter/type in text". @@ -2295,6 +2359,10 @@ msgstr "" "Dpi konfiguráció igazítása a képernyődhöz (nem X11/csak Android) pl. 4k " "képernyőkhöz." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2572,6 +2640,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Csevegésparancs üzeneteinek küszöbe" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Parancsok" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Chat betűméret" @@ -2605,8 +2678,9 @@ msgid "Chat toggle key" msgstr "Csevegés váltása gomb" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Parancsok" +#, fuzzy +msgid "Chat weblinks" +msgstr "Csevegés megjelenítése" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2624,6 +2698,12 @@ msgstr "Filmszerű mód gomb" msgid "Clean transparent textures" msgstr "Tiszta átlátszó textúrák" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Kliens" @@ -2706,6 +2786,22 @@ msgstr "" msgid "Command key" msgstr "Parancs gomb" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Üveg csatlakozása" @@ -2805,9 +2901,10 @@ msgid "Crosshair alpha" msgstr "Célkereszt átlátszóság" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Célkereszt átlátszóság (0 és 255 között).\n" "Az objektum célkereszt színét is meghatározza" @@ -2891,8 +2988,8 @@ msgstr "Alapértelmezett kötegméret" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3019,6 +3116,10 @@ msgstr "Csalás elleni védelem letiltása" msgid "Disallow empty passwords" msgstr "Üres jelszavak tiltása" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "A szerver domain neve, ami a szerverlistában megjelenik." @@ -3069,7 +3170,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3097,13 +3205,6 @@ msgstr "Mod biztonság engedélyezése" msgid "Enable players getting damage and dying." msgstr "Játékosok sérülésének és halálának engedélyezése." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3538,10 +3639,11 @@ msgid "Global callbacks" msgstr "Globális visszatérések" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globális térképgenerálási jellemzők.\n" "A v6 térképgenerátorban a 'decorations' zászló szabályozza az összes\n" @@ -3904,8 +4006,8 @@ msgid "" "and\n" "descending." msgstr "" -"Ha engedélyezve van, az \"Aux1\"gomb lesz használatban a \"lopakodás\" " -"(sneak) helyett lefelé mászáskor, vagy ereszkedéskor." +"Ha engedélyezve van, az \"Aux1\"gomb lesz használatban a \"lopakodás" +"\" (sneak) helyett lefelé mászáskor, vagy ereszkedéskor." #: src/settings_translation_file.cpp msgid "" @@ -4014,7 +4116,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Csevegésparancsok bemutatása regisztrációkor." #: src/settings_translation_file.cpp @@ -4104,7 +4207,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick gomb ismétlési időköz" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Joystick holtzóna" #: src/settings_translation_file.cpp @@ -5166,8 +5270,8 @@ msgstr "" "'altitude_chill': csökkenti a hőmérsékletet a magassággal.\n" "'humid_rivers': megnöveli a páratartalmat a folyók körül.\n" "'vary_river_depth': ha engedélyezve van, az alacsony páratalom és a magas\n" -"hőmérséklet hatására a folyók sekélyebbé válnak, és lehet, hogy kiszáradnak." -"\n" +"hőmérséklet hatására a folyók sekélyebbé válnak, és lehet, hogy " +"kiszáradnak.\n" "'altitude_dry': csökkenti a páratartalmat a magassággal." #: src/settings_translation_file.cpp @@ -5208,7 +5312,8 @@ msgid "Map save interval" msgstr "Térkép mentésének időköze" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Térkép frissítési idő" #: src/settings_translation_file.cpp @@ -5516,7 +5621,8 @@ msgid "Mod channels" msgstr "Mod csatornák" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "A hudbar elemméretét módosítja" #: src/settings_translation_file.cpp @@ -5653,7 +5759,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5677,6 +5783,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5826,9 +5936,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6155,26 +6265,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6281,7 +6383,8 @@ msgstr "" "A változtatás után a játék újraindítása szükséges." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Névcímke hátterek megjelenítése alapértelmezetten" #: src/settings_translation_file.cpp @@ -6389,6 +6492,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6500,7 +6611,7 @@ msgstr "Textúrák útvonala" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6518,7 +6629,8 @@ msgid "The URL for the content repository" msgstr "Az URL a tartalomtárhoz" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "A joystick holtzónája" #: src/settings_translation_file.cpp @@ -6590,7 +6702,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6766,7 +6878,7 @@ msgstr "Bilineáris szűrés a textúrák méretezésekor." #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6950,6 +7062,11 @@ msgstr "Hullámzó folyadékok hullámhossza" msgid "Waving plants" msgstr "Hullámzó növények" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Kijelölő doboz színe" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6971,7 +7088,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6990,7 +7107,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7124,24 +7241,6 @@ msgstr "Alacsony terep és tengerfenék Y szintje." msgid "Y-level of seabed." msgstr "Tengerfenék Y szintje." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL fájlletöltés időkorlát" @@ -7320,6 +7419,9 @@ msgstr "cURL párhuzamossági korlát" #~ msgid "IPv6 support." #~ msgstr "IPv6 támogatás." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Fájl telepítése: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Nagy barlang mélység" @@ -7416,6 +7518,9 @@ msgstr "cURL párhuzamossági korlát" #~ msgid "This font will be used for certain languages." #~ msgstr "Ezt a betűtípust bizonyos nyelvek használják." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Az árnyalók engedélyezéséhez OpenGL driver használata szükséges." + #~ msgid "Toggle Cinematic" #~ msgstr "Váltás „mozi” módba" @@ -7431,5 +7536,8 @@ msgstr "cURL párhuzamossági korlát" #~ msgid "Yes" #~ msgstr "Igen" +#~ msgid "You died." +#~ msgstr "Meghaltál." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/id/minetest.po b/po/id/minetest.po index 27a1019a0..8a034f510 100644 --- a/po/id/minetest.po +++ b/po/id/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Indonesian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-02-23 15:50+0000\n" "Last-Translator: Reza Almanda \n" "Language-Team: Indonesian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Suatu galat terjadi pada suatu skrip Lua:" @@ -302,6 +301,11 @@ msgstr "Pasang $1" msgid "Install missing dependencies" msgstr "Pasang dependensi yang belum ada" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Pemasangan: Tipe berkas \"$1\" tidak didukung atau arsip rusak" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -631,7 +635,8 @@ msgid "Offset" msgstr "Pergeseran" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistensi" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -743,14 +748,6 @@ msgstr "" "Pemasangan mod: Tidak dapat mencari nama folder yang sesuai untuk paket mod " "$1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Pemasangan: Tipe berkas \"$1\" tidak didukung atau arsip rusak" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Pemasangan: berkas: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Tidak dapat mencari mod atau paket mod yang sah" @@ -1125,10 +1122,6 @@ msgstr "Pencahayaan Halus" msgid "Texturing:" msgstr "Peneksturan:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Untuk menggunakan shader, pengandar OpenGL harus digunakan." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Pemetaan Nada" @@ -1161,7 +1154,7 @@ msgstr "Air Berombak" msgid "Waving Plants" msgstr "Tanaman Berayun" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Sambungan kehabisan waktu." @@ -1190,7 +1183,8 @@ msgid "Connection error (timed out?)" msgstr "Galat sambungan (terlalu lama?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Tidak dapat mencari atau memuat permainan \"" #: src/client/clientlauncher.cpp @@ -1262,6 +1256,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Nama Server: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Sebuah galat terjadi:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Maju otomatis dimatikan" @@ -1270,6 +1274,22 @@ msgstr "Maju otomatis dimatikan" msgid "Automatic forward enabled" msgstr "Maju otomatis dinyalakan" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Pembaruan kamera dimatikan" @@ -1278,6 +1298,10 @@ msgstr "Pembaruan kamera dimatikan" msgid "Camera update enabled" msgstr "Pembaruan kamera dinyalakan" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Ganti kata sandi" @@ -1290,6 +1314,11 @@ msgstr "Mode sinema dimatikan" msgid "Cinematic mode enabled" msgstr "Mode sinema dinyalakan" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Mod klien" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Skrip sisi klien dimatikan" @@ -1298,6 +1327,10 @@ msgstr "Skrip sisi klien dimatikan" msgid "Connecting to server..." msgstr "Menyambung ke server..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Lanjutkan" @@ -1335,6 +1368,11 @@ msgstr "" "- Roda tetikus: pilih barang\n" "- %s: obrolan\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Membuat klien..." @@ -1542,6 +1580,21 @@ msgstr "Suara dibunyikan" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Jarak pandang diubah menjadi %d" @@ -1874,6 +1927,15 @@ msgstr "Peta mini mode permukaan, perbesaran %dx" msgid "Minimap in texture mode" msgstr "Peta mini mode tekstur" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Gagal mengunduh $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Kata sandi tidak cocok!" @@ -1882,7 +1944,7 @@ msgstr "Kata sandi tidak cocok!" msgid "Register and Join" msgstr "Daftar dan Gabung" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2077,7 +2139,8 @@ msgid "Muted" msgstr "Dibisukan" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volume Suara: " #. ~ Imperative, as in "Enter/type in text". @@ -2330,6 +2393,10 @@ msgstr "" "Atur konfigurasi dpi ke layar Anda (selain X11/Android saja) misalnya untuk " "layar 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2625,6 +2692,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Ambang batas jumlah pesan sebelum ditendang keluar" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Perintah obrolan" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Ukuran fon obrolan" @@ -2658,8 +2730,9 @@ msgid "Chat toggle key" msgstr "Tombol beralih obrolan" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Perintah obrolan" +#, fuzzy +msgid "Chat weblinks" +msgstr "Obrolan ditampilkan" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2677,6 +2750,12 @@ msgstr "Tombol mode sinema" msgid "Clean transparent textures" msgstr "Bersihkan tekstur transparan" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klien" @@ -2767,6 +2846,34 @@ msgstr "" msgid "Command key" msgstr "Tombol perintah" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Tingkat kompresi ZLib saat pengiriman blok peta kepada klien.\n" +"-1 - tingkat kompresi Zlib bawaan\n" +"0 - tanpa kompresi, tercepat\n" +"9 - kompresi terbaik, terlambat\n" +"(tingkat 1-3 pakai metode \"cepat\" Zlib, 4-9 pakai metode normal)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Tingkat kompresi ZLib saat penyimpanan blok peta kepada klien.\n" +"-1 - tingkat kompresi Zlib bawaan\n" +"0 - tanpa kompresi, tercepat\n" +"9 - kompresi terbaik, terlambat\n" +"(tingkat 1-3 pakai metode \"cepat\" Zlib, 4-9 pakai metode normal)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Sambungkan kaca" @@ -2865,9 +2972,10 @@ msgid "Crosshair alpha" msgstr "Keburaman crosshair" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Keburaman crosshair (keopakan, dari 0 sampai 255).\n" "Juga mengatur warna crosshair objek" @@ -2950,8 +3058,8 @@ msgstr "Ukuran tumpukan bawaan" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3078,6 +3186,10 @@ msgstr "Matikan anticurang" msgid "Disallow empty passwords" msgstr "Larang kata sandi kosong" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Nama domain dari server yang akan ditampilkan pada daftar server." @@ -3128,7 +3240,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3157,13 +3276,6 @@ msgstr "Nyalakan pengamanan mod" msgid "Enable players getting damage and dying." msgstr "Membolehkan pemain terkena kerusakan dan mati." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Gunakan masukan pengguna acak (hanya digunakan untuk pengujian)." @@ -3607,10 +3719,11 @@ msgid "Global callbacks" msgstr "Callback global" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atribut pembuatan peta global.\n" "Dalam pembuat peta v6, flag \"decorations\" mengatur semua hiasan, kecuali\n" @@ -4112,7 +4225,8 @@ msgstr "" "Ini biasanya hanya dibutuhkan oleh kontributor inti/bawaan" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Melengkapi perintah obrolan saat didaftarkan, dengan perkakas." #: src/settings_translation_file.cpp @@ -4206,7 +4320,8 @@ msgid "Joystick button repetition interval" msgstr "Jarak penekanan tombol joystick terus-menerus" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Zona mati joystick" #: src/settings_translation_file.cpp @@ -5320,7 +5435,7 @@ msgstr "Selang waktu menyimpan peta" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Detikan pembaruan cairan" #: src/settings_translation_file.cpp @@ -5639,7 +5754,8 @@ msgid "Mod channels" msgstr "Saluran mod" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Mengubah ukuran dari elemen hudbar." #: src/settings_translation_file.cpp @@ -5792,9 +5908,10 @@ msgstr "" "\"1\"." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Jumlah dari blok tambahan yang dapat dimuat oleh /clearobjects dalam satu " @@ -5825,6 +5942,10 @@ msgstr "" "sedang \n" "dibuka." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5989,11 +6110,12 @@ msgid "Prometheus listener address" msgstr "Alamat pendengar Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Alamat pendengar Prometheus.\n" "Jika Minetest dikompilasi dengan pilihan ENABLE_PROMETHEUS dinyalakan,\n" @@ -6335,26 +6457,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6465,7 +6579,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "Fon tebal bawaan" #: src/settings_translation_file.cpp @@ -6592,6 +6706,14 @@ msgstr "" "Catat bahwa mod dan permainan dapat mengatur tumpukan untuk sebagian (atau " "semua) barang." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6724,7 +6846,7 @@ msgstr "Jalur tekstur" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6748,7 +6870,8 @@ msgid "The URL for the content repository" msgstr "URL dari gudang konten" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "Zona mati joystick yang digunakan" #: src/settings_translation_file.cpp @@ -6839,9 +6962,10 @@ msgstr "" "Shader didukung oleh OpenGL (khusus desktop) dan OGLES2 (tahap percobaan)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Kepekaan dari sumbu joystick untuk menggerakkan batas\n" "tampilan dalam permainan." @@ -7038,8 +7162,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Gunakan pemfilteran bilinear saat mengubah ukuran tekstur." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7246,6 +7371,11 @@ msgstr "Panjang ombak air" msgid "Waving plants" msgstr "Tanaman berayun" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Warna kotak pilihan" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7275,7 +7405,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7302,7 +7432,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7454,34 +7584,6 @@ msgstr "Ketinggian Y dari medan yang lebih rendah dan dasar laut." msgid "Y-level of seabed." msgstr "Ketinggian Y dari dasar laut." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Tingkat kompresi ZLib saat pengiriman blok peta kepada klien.\n" -"-1 - tingkat kompresi Zlib bawaan\n" -"0 - tanpa kompresi, tercepat\n" -"9 - kompresi terbaik, terlambat\n" -"(tingkat 1-3 pakai metode \"cepat\" Zlib, 4-9 pakai metode normal)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Tingkat kompresi ZLib saat penyimpanan blok peta kepada klien.\n" -"-1 - tingkat kompresi Zlib bawaan\n" -"0 - tanpa kompresi, tercepat\n" -"9 - kompresi terbaik, terlambat\n" -"(tingkat 1-3 pakai metode \"cepat\" Zlib, 4-9 pakai metode normal)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Batas waktu cURL mengunduh berkas" @@ -7683,6 +7785,9 @@ msgstr "Batas cURL paralel" #~ msgid "IPv6 support." #~ msgstr "Dukungan IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Pemasangan: berkas: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Kedalaman lava" @@ -7813,6 +7918,9 @@ msgstr "Batas cURL paralel" #~ msgid "This font will be used for certain languages." #~ msgstr "Fon ini akan digunakan pada bahasa tertentu." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Untuk menggunakan shader, pengandar OpenGL harus digunakan." + #~ msgid "Toggle Cinematic" #~ msgstr "Mode sinema" @@ -7851,5 +7959,9 @@ msgstr "Batas cURL paralel" #~ msgid "Yes" #~ msgstr "Ya" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Anda mati" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/it/minetest.po b/po/it/minetest.po index b4930bf85..d5622eacb 100644 --- a/po/it/minetest.po +++ b/po/it/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Italian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-03-25 17:29+0000\n" "Last-Translator: Alessandro Mandelli \n" "Language-Team: Italian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Si è verificato un errore in uno script Lua:" @@ -302,6 +301,11 @@ msgstr "Installa $1" msgid "Install missing dependencies" msgstr "Installa le dipendenze mancanti" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Installa: Tipo di file non supportato \"$1\" o archivio danneggiato" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -632,7 +636,8 @@ msgid "Offset" msgstr "Scarto" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistenza" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -744,14 +749,6 @@ msgstr "" "Installa mod: Impossibile trovare un nome cartella corretto per il pacchetto " "mod $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Installa: Tipo di file non supportato \"$1\" o archivio danneggiato" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Install: File: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Impossibile trovare un mod o un pacchetto mod validi" @@ -1126,10 +1123,6 @@ msgstr "Luce uniforme" msgid "Texturing:" msgstr "Resa immagini:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Per abilitare gli shader si deve usare il driver OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tone Mapping" @@ -1162,7 +1155,7 @@ msgstr "Liquidi ondeggianti" msgid "Waving Plants" msgstr "Piante ondeggianti" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Connessione scaduta." @@ -1191,7 +1184,8 @@ msgid "Connection error (timed out?)" msgstr "Errore di connessione (scaduta?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Impossibile trovare o caricare il gioco \"" #: src/client/clientlauncher.cpp @@ -1263,6 +1257,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Nome server: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Si è verificato un errore:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Avanzamento automatico disabilitato" @@ -1271,6 +1275,22 @@ msgstr "Avanzamento automatico disabilitato" msgid "Automatic forward enabled" msgstr "Avanzamento automatico abilitato" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Aggiornamento telecamera disabilitato" @@ -1279,6 +1299,10 @@ msgstr "Aggiornamento telecamera disabilitato" msgid "Camera update enabled" msgstr "Aggiornamento telecamera abilitato" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Cambia password" @@ -1291,6 +1315,11 @@ msgstr "Modalità cinematica disabilitata" msgid "Cinematic mode enabled" msgstr "Modalità cinematica abilitata" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Modifica del client" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Scripting su lato client disabilitato" @@ -1299,6 +1328,10 @@ msgstr "Scripting su lato client disabilitato" msgid "Connecting to server..." msgstr "Connessione al server..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continua" @@ -1336,6 +1369,11 @@ msgstr "" "- Rotella mouse: scegli oggetto\n" "- %s: chat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Creazione client..." @@ -1543,6 +1581,21 @@ msgstr "Suono attivato" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Raggio visivo cambiato a %d" @@ -1875,6 +1928,15 @@ msgstr "Minimappa in modalità superficie, ingrandimento x%d" msgid "Minimap in texture mode" msgstr "Minimappa in modalità texture" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Impossibile scaricare $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Le password non corrispondono!" @@ -1883,7 +1945,7 @@ msgstr "Le password non corrispondono!" msgid "Register and Join" msgstr "Registrati e accedi" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2077,7 +2139,8 @@ msgid "Muted" msgstr "Silenziato" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volume suono: " #. ~ Imperative, as in "Enter/type in text". @@ -2342,6 +2405,10 @@ msgstr "" "Regola la configurazione dpi per il tuo schermo (solo non X11/Android) per " "es. per schermi 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2642,6 +2709,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Limite dei messaggi di chat per l'espulsione" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Comandi della chat" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Dimensione del carattere dell'area di messaggistica" @@ -2675,8 +2747,9 @@ msgid "Chat toggle key" msgstr "Tasto di (dis)attivazione della chat" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Comandi della chat" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat visualizzata" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2694,6 +2767,12 @@ msgstr "Tasto modalità cinematic" msgid "Clean transparent textures" msgstr "Pulizia delle texture trasparenti" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Client" @@ -2786,6 +2865,38 @@ msgstr "" msgid "Command key" msgstr "Tasto comando" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Livello di compressione ZLib da utilizzare quando si salvano i blocchi mappa " +"su disco.\n" +"-1 - Livello di compressione predefinito di Zlib\n" +"0 - nessuna compressione, più veloce\n" +"9 - migliore compressione, più lenta\n" +"(i livelli 1-3 usano il metodo \"veloce\" di Zlib, 4-9 usano il metodo " +"normale)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Livello di compressione ZLib da utilizzare quando si inviano i blocchi mappa " +"al client.\n" +"-1 - Livello di compressione predefinito di Zlib\n" +"0 - nessuna compressione, più veloce\n" +"9 - migliore compressione, più lenta\n" +"(i livelli 1-3 usano il metodo \"veloce\" di Zlib, 4-9 usano il metodo " +"normale)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Unire i vetri" @@ -2886,9 +2997,10 @@ msgid "Crosshair alpha" msgstr "Trasparenza del mirino" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Trasparenza del mirino (opacità, tra 0 e 255).\n" "Controlla anche il colore del mirino dell'oggetto" @@ -2971,8 +3083,8 @@ msgstr "Dimensione predefinita della pila" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3102,6 +3214,10 @@ msgstr "Disattiva anti-trucchi" msgid "Disallow empty passwords" msgstr "Rifiutare le password vuote" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Nome di dominio del server, da mostrarsi nell'elenco dei server." @@ -3153,7 +3269,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3181,13 +3304,6 @@ msgstr "Abilita la sicurezza moduli" msgid "Enable players getting damage and dying." msgstr "Abilita il ferimento e la morte dei giocatori." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3654,10 +3770,11 @@ msgid "Global callbacks" msgstr "Callback globali" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Attributi globali di generazione della mappa.\n" "In Mapgen v6 il valore 'decorations' controlla tutte le decorazioni eccetto " @@ -4163,7 +4280,8 @@ msgstr "" "Questo normalmente serve solo ai contributori principali" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Predisporre i comandi della chat alla registrazione." #: src/settings_translation_file.cpp @@ -4260,7 +4378,8 @@ msgid "Joystick button repetition interval" msgstr "Intervallo di ripetizione del pulsante del joystick" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Deadzone joystick" #: src/settings_translation_file.cpp @@ -5387,7 +5506,7 @@ msgstr "Intervallo di salvataggio della mappa" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Scatto di aggiornamento del liquido" #: src/settings_translation_file.cpp @@ -5714,7 +5833,8 @@ msgid "Mod channels" msgstr "Canali mod" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Modifica la dimensione degli elementi della barra dell'HUD." #: src/settings_translation_file.cpp @@ -5872,9 +5992,10 @@ msgstr "" "Per molti utenti l'impostazione ottimale può essere '1'." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Numero di blocchi extra che possono essere caricati da /clearobjects in una " @@ -5905,6 +6026,10 @@ msgstr "" "Apre il menu di pausa quando si perde la messa a fuoco della finestra. Non\n" "mette in pausa se è aperta una finestra di dialogo." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6085,11 +6210,12 @@ msgid "Prometheus listener address" msgstr "Indirizzo del listener Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Indirizzo del listener Prometheus.\n" "Se Minetest viene compilato con l'opzione ENABLE_PROMETHEUS abilitata,\n" @@ -6440,26 +6566,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6570,7 +6688,8 @@ msgstr "" "È necessario riavviare dopo aver cambiato questo." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Mostra lo sfondo del nome per impostazione predefinita" #: src/settings_translation_file.cpp @@ -6701,6 +6820,14 @@ msgstr "" "Si noti che mod o giochi possono impostare esplicitamente una pila per " "alcuni (o tutti) gli oggetti." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6839,7 +6966,7 @@ msgstr "Percorso delle texture" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6865,7 +6992,8 @@ msgid "The URL for the content repository" msgstr "L'URL per il deposito dei contenuti" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "La deadzone del joystick" #: src/settings_translation_file.cpp @@ -6958,9 +7086,10 @@ msgstr "" "Le shader sono supportate da OpenGL (solo su desktop) e OGLES2 (sperimentale)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "La sensibilità degli assi del joystick per spostare\n" "il campo visivo durante il gioco." @@ -7170,8 +7299,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Usare il filtraggio bilineare quando si ridimensionano le texture." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7382,6 +7512,11 @@ msgstr "Lunghezza d'onda dei liquidi ondulanti" msgid "Waving plants" msgstr "Piante ondeggianti" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Colore del riquadro di selezione" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7412,7 +7547,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7444,8 +7579,9 @@ msgstr "" "Se disabilitati, si utilizzano invece i caratteri bitmap e XML vettoriali." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Se lo sfondo del nome deve essere mostrato per impostazione predefinita.\n" @@ -7610,38 +7746,6 @@ msgstr "Livello Y del terreno inferiore e del fondale marino." msgid "Y-level of seabed." msgstr "Livello Y del fondale marino." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Livello di compressione ZLib da utilizzare quando si salvano i blocchi mappa " -"su disco.\n" -"-1 - Livello di compressione predefinito di Zlib\n" -"0 - nessuna compressione, più veloce\n" -"9 - migliore compressione, più lenta\n" -"(i livelli 1-3 usano il metodo \"veloce\" di Zlib, 4-9 usano il metodo " -"normale)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Livello di compressione ZLib da utilizzare quando si inviano i blocchi mappa " -"al client.\n" -"-1 - Livello di compressione predefinito di Zlib\n" -"0 - nessuna compressione, più veloce\n" -"9 - migliore compressione, più lenta\n" -"(i livelli 1-3 usano il metodo \"veloce\" di Zlib, 4-9 usano il metodo " -"normale)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Scadenza cURL scaricamento file" @@ -7856,6 +7960,9 @@ msgstr "Limite parallelo cURL" #~ msgid "IPv6 support." #~ msgstr "Supporto IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Install: File: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Profondità della lava" @@ -7988,6 +8095,9 @@ msgstr "Limite parallelo cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Questo carattere sarà usato per certe Lingue." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Per abilitare gli shader si deve usare il driver OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Scegli cinematica" @@ -8028,5 +8138,9 @@ msgstr "Limite parallelo cURL" #~ msgid "Yes" #~ msgstr "Sì" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Sei morto" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/ja/minetest.po b/po/ja/minetest.po index a5844c7b1..c813c1430 100644 --- a/po/ja/minetest.po +++ b/po/ja/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Japanese (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-07-17 13:33+0000\n" "Last-Translator: BreadW \n" "Language-Team: Japanese ' to get more information, or '.help all' to list everything." -msgstr "'.help ' を使用して詳細情報を取得するか、または '.help all' を使用してすべてを一覧表示します。" +msgstr "" +"'.help ' を使用して詳細情報を取得するか、または '.help all' を使用してす" +"べてを一覧表示します。" #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -91,6 +89,11 @@ msgstr "[all | ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "コマンドは使用できません: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Luaスクリプトでエラーが発生しました:" @@ -293,6 +296,11 @@ msgstr "$1 のインストール" msgid "Install missing dependencies" msgstr "不足依存Modインストール" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "インストール: \"$1\"は非対応のファイル形式か、壊れたアーカイブです" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -621,7 +629,8 @@ msgid "Offset" msgstr "オフセット" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "永続性" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -731,14 +740,6 @@ msgstr "Modインストール: 実際のMod名が見つかりません: $1" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "Modインストール: Modパック $1 に適したフォルダ名が見つかりません" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "インストール: \"$1\"は非対応のファイル形式か、壊れたアーカイブです" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "インストール: ファイル: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "有効なModまたはModパックが見つかりません" @@ -1104,10 +1105,6 @@ msgstr "滑らかな光" msgid "Texturing:" msgstr "テクスチャリング:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "シェーダーを有効にするにはOpenGLのドライバを使用する必要があります。" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "トーンマッピング" @@ -1140,7 +1137,7 @@ msgstr "揺れる液体" msgid "Waving Plants" msgstr "揺れる草花" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "接続がタイムアウトしました。" @@ -1169,7 +1166,8 @@ msgid "Connection error (timed out?)" msgstr "接続エラー (タイムアウト?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "以下のゲームが見つからないか読み込めません \"" #: src/client/clientlauncher.cpp @@ -1241,6 +1239,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- サーバー名: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "エラーが発生しました:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "自動前進 無効" @@ -1249,6 +1257,23 @@ msgstr "自動前進 無効" msgid "Automatic forward enabled" msgstr "自動前進 有効" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "ブロック境界線表示切替" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "カメラ更新 無効" @@ -1257,6 +1282,10 @@ msgstr "カメラ更新 無効" msgid "Camera update enabled" msgstr "カメラ更新 有効" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "パスワード変更" @@ -1269,6 +1298,11 @@ msgstr "映画風モード 無効" msgid "Cinematic mode enabled" msgstr "映画風モード 有効" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "クライアントの改造" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "クライアント側のスクリプトは無効" @@ -1277,6 +1311,10 @@ msgstr "クライアント側のスクリプトは無効" msgid "Connecting to server..." msgstr "サーバーに接続中..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "再開" @@ -1314,6 +1352,11 @@ msgstr "" "- マウスホイール: アイテム選択\n" "- %s: チャット\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "クライアントを作成中..." @@ -1520,6 +1563,21 @@ msgstr "消音 取り消し" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "視野を %d に変更" @@ -1852,6 +1910,15 @@ msgstr "ミニマップ 表面モード、ズーム x%d" msgid "Minimap in texture mode" msgstr "ミニマップ テクスチャモード" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1のダウンロードに失敗" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "パスワードが一致しません!" @@ -1860,7 +1927,7 @@ msgstr "パスワードが一致しません!" msgid "Register and Join" msgstr "参加登録" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -1870,8 +1937,10 @@ msgid "" "creation, or click 'Cancel' to abort." msgstr "" "あなたはこのサーバ ーに名前 \"%s\" ではじめて参加しようとしています。\n" -"続行する場合、あなたの情報が新しいアカウントとしてこのサーバーに作成されます。\n" -"あなたのパスワードを再入力してから '参加登録' をクリックしてアカウント作成するか、\n" +"続行する場合、あなたの情報が新しいアカウントとしてこのサーバーに作成されま" +"す。\n" +"あなたのパスワードを再入力してから '参加登録' をクリックしてアカウント作成す" +"るか、\n" "キャンセルをクリックして中断してください。" #: src/gui/guiFormSpecMenu.cpp @@ -2053,7 +2122,8 @@ msgid "Muted" msgstr "消音" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "音量: " #. ~ Imperative, as in "Enter/type in text". @@ -2301,6 +2371,10 @@ msgid "" msgstr "" "4kスクリーンなどのための、画面の解像度の設定です (非X11/Android環境のみ)。" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2594,6 +2668,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "チャットコマンド時間切れメッセージのしきい値" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "チャットコマンド" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "チャットのフォントサイズ" @@ -2627,8 +2706,9 @@ msgid "Chat toggle key" msgstr "チャット切替キー" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "チャットコマンド" +#, fuzzy +msgid "Chat weblinks" +msgstr "チャット 表示" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2646,6 +2726,12 @@ msgstr "映画風モード切り替えキー" msgid "Clean transparent textures" msgstr "テクスチャの透過を削除" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "クライアント" @@ -2733,6 +2819,34 @@ msgstr "" msgid "Command key" msgstr "コマンドキー" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"マップブロックをディスクに保存するときに使用する ZLib圧縮レベル。\n" +"-1 - Zlib の規定の圧縮レベル\n" +"0 - 圧縮なし、最速\n" +"9 - 最高の圧縮、最も遅い\n" +"(レベル 1〜3 はZlibの「高速」方式を使用し、4〜9 は通常方式を使用)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"マップブロックをクライアントに送信するときに使用する ZLib圧縮レベル。\n" +"-1 - Zlib の規定の圧縮レベル\n" +"0 - 圧縮なし、最速\n" +"9 - 最高の圧縮、最も遅い\n" +"(レベル 1〜3 はZlibの「高速」方式を使用し、4〜9 は通常方式を使用)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "ガラスを繋げる" @@ -2830,9 +2944,10 @@ msgid "Crosshair alpha" msgstr "十字カーソルの透過度" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "十字カーソルの透過度(不透明、0~255の間)。\n" "オブジェクト十字カーソルの色も制御" @@ -2914,13 +3029,15 @@ msgid "Default stack size" msgstr "既定のスタック数" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "影のフィルタリング品質定義\n" -"これは、PCFまたはポアソンディスクを適用することで、やわらない影効果をシミュレートするものです。\n" +"これは、PCFまたはポアソンディスクを適用することで、やわらない影効果をシミュ" +"レートするものです。\n" "しかし、より多くのリソースを消費します。" #: src/settings_translation_file.cpp @@ -3041,6 +3158,10 @@ msgstr "対チート機関無効化" msgid "Disallow empty passwords" msgstr "空のパスワードを許可しない" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "サーバー一覧に表示されるサーバーのドメイン名。" @@ -3090,8 +3211,20 @@ msgstr "" "このサポートは実験的であり、APIは変わることがあります。" #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"ポアソンディスクによるフィルタリングを有効にします。\n" +"true の場合、ポアソンディスクを使用して「やわらない影」を作ります。それ以外の" +"場合は、PCFフィルタリングを使用します。" + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "色つきの影を有効にします。\n" @@ -3121,15 +3254,6 @@ msgstr "Modのセキュリティを有効化" msgid "Enable players getting damage and dying." msgstr "プレイヤーがダメージを受けて死亡するのを有効にします。" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"ポアソンディスクによるフィルタリングを有効にします。\n" -"true の場合、ポアソンディスクを使用して「やわらない影」を作ります。それ以外の場合は、PCFフィルタリングを使用します。" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "ランダムなユーザー入力を有効にします (テストにのみ使用)。" @@ -3577,10 +3701,11 @@ msgid "Global callbacks" msgstr "グローバルコールバック" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "グローバルマップ生成属性。\n" "マップジェネレータv6では、'decorations' フラグは木とジャングルの草を\n" @@ -4073,7 +4198,8 @@ msgstr "" "これは通常、コア/ビルトイン貢献者にのみ必要" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "チャットコマンドが登録されるとすぐに計測します。" #: src/settings_translation_file.cpp @@ -4167,7 +4293,8 @@ msgid "Joystick button repetition interval" msgstr "ジョイスティックボタンの繰り返し間隔" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "ジョイスティックのデッドゾーン" #: src/settings_translation_file.cpp @@ -5029,7 +5156,8 @@ msgid "" "Length of a server tick and the interval at which objects are generally " "updated over\n" "network." -msgstr "サーバーが時を刻む間隔とオブジェクトが通常ネットワーク上で更新される間隔。" +msgstr "" +"サーバーが時を刻む間隔とオブジェクトが通常ネットワーク上で更新される間隔。" #: src/settings_translation_file.cpp msgid "" @@ -5273,7 +5401,8 @@ msgid "Map save interval" msgstr "マップ保存間隔" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "マップの更新間隔" #: src/settings_translation_file.cpp @@ -5518,13 +5647,17 @@ msgstr "" msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." -msgstr "ファイルダウンロード(Modのダウンロードなど)にかかる最大時間をミリ秒単位で指定します。" +msgstr "" +"ファイルダウンロード(Modのダウンロードなど)にかかる最大時間をミリ秒単位で指" +"定します。" #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." -msgstr "インタラクティブリクエスト(サーバー一覧の取得など)にかかる最大時間をミリ秒単位で指定します。" +msgstr "" +"インタラクティブリクエスト(サーバー一覧の取得など)にかかる最大時間をミリ秒" +"単位で指定します。" #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5587,7 +5720,8 @@ msgid "Mod channels" msgstr "Modチャンネル" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "HUDバー要素のサイズを変更します。" #: src/settings_translation_file.cpp @@ -5740,9 +5874,10 @@ msgstr "" "多くのユーザーにとって最適な設定は '1' です。" #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "一度に /clearobjects によってロードできる追加ブロックの数。\n" @@ -5771,6 +5906,10 @@ msgstr "" "ウィンドウのフォーカスが失われたときにポーズメニューを開きます。\n" "フォームスペックが開かれているときはポーズメニューを開きません。" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5942,11 +6081,12 @@ msgid "Prometheus listener address" msgstr "プロメテウスリスナーのアドレス" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "プロメテウスリスナーのアドレス。\n" "minetest が ENABLE_PROMETHEUS オプションを有効にしてコンパイルされている場" @@ -6291,31 +6431,22 @@ msgstr "" "値が小さいほど影が薄く、値が大きいほど影が濃くなります。" #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"影の更新時間を設定します。\n" -"値が小さいほど影やマップの更新が速くなりますが、リソースを多く消費します。\n" -"最小値0.001秒、最大値0.2秒" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "やわらない影の半径サイズを設定します。\n" "値が小さいほどシャープな影、大きいほどやわらない影になります。\n" "最小値1.0、最大値10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "太陽/月の軌道の傾きを度数で設定する\n" "0 は傾きのない垂直な軌道を意味します。\n" @@ -6427,7 +6558,8 @@ msgstr "" "変更後は再起動が必要です。" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "既定でネームタグの背景を表示" #: src/settings_translation_file.cpp @@ -6551,6 +6683,14 @@ msgstr "" "Mod またはゲームは、特定の(またはすべての)アイテムのスタック数を\n" "明示的に設定する場合があることに注意してください。" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6680,10 +6820,11 @@ msgid "Texture path" msgstr "テクスチャパス" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "影投影を描画するためのテクスチャサイズです。\n" "これは2の累乗でなければなりません。\n" @@ -6711,7 +6852,8 @@ msgid "The URL for the content repository" msgstr "コンテンツリポジトリのURL" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "ジョイスティックのデッドゾーン" #: src/settings_translation_file.cpp @@ -6793,14 +6935,17 @@ msgid "" msgstr "" "レンダリングのバックエンドです。\n" "変更後は再起動が必要です。\n" -"注:Androidでは、不明な場合はOGRES1を使用してください!そうしないとアプリの起動に失敗することがあります。\n" +"注:Androidでは、不明な場合はOGRES1を使用してください!そうしないとアプリの起" +"動に失敗することがあります。\n" "その他のプラットフォームでは、OpenGLを推奨します。\n" -"シェーダーは、OpenGL(デスクトップのみ)とOGRES2(実験的)でサポートされています。" +"シェーダーは、OpenGL(デスクトップのみ)とOGRES2(実験的)でサポートされてい" +"ます。" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "ゲーム内の視錐台を動かすためのジョイスティック軸の感度。" #: src/settings_translation_file.cpp @@ -6987,8 +7132,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "テクスチャを拡大縮小する場合はバイリニアフィルタリングを使用します。" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7194,6 +7340,11 @@ msgstr "揺れる液体の波長" msgid "Waving plants" msgstr "揺れる草花" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "選択ボックスの色" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7218,12 +7369,13 @@ msgstr "" "ビデオドライバのときは、古い拡大縮小方法に戻ります。" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7234,7 +7386,8 @@ msgstr "" "これは拡大されたテクスチャのための最小テクスチャサイズを設定します。\n" "より高い値はよりシャープに見えますが、より多くのメモリを必要とします。\n" "2のべき乗が推奨されます。この設定は、\n" -"バイリニア/トライリニア/異方性フィルタリングが有効の場合にのみ適用されます。\n" +"バイリニア/トライリニア/異方性フィルタリングが有効の場合にのみ適用されま" +"す。\n" "これは整列テクスチャの自動スケーリング用の基準ノードテクスチャサイズと\n" "しても使用されます。" @@ -7250,8 +7403,9 @@ msgstr "" "す。" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "既定でネームタグの背景を表示するかどうかです。\n" @@ -7411,34 +7565,6 @@ msgstr "低い地形と海底のYレベル。" msgid "Y-level of seabed." msgstr "海底のYレベル。" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"マップブロックをディスクに保存するときに使用する ZLib圧縮レベル。\n" -"-1 - Zlib の規定の圧縮レベル\n" -"0 - 圧縮なし、最速\n" -"9 - 最高の圧縮、最も遅い\n" -"(レベル 1〜3 はZlibの「高速」方式を使用し、4〜9 は通常方式を使用)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"マップブロックをクライアントに送信するときに使用する ZLib圧縮レベル。\n" -"-1 - Zlib の規定の圧縮レベル\n" -"0 - 圧縮なし、最速\n" -"9 - 最高の圧縮、最も遅い\n" -"(レベル 1〜3 はZlibの「高速」方式を使用し、4〜9 は通常方式を使用)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURLファイルダウンロードタイムアウト" @@ -7644,6 +7770,9 @@ msgstr "cURL並行処理制限" #~ msgid "IPv6 support." #~ msgstr "IPv6 サポート。" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "インストール: ファイル: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "溶岩の深さ" @@ -7746,6 +7875,17 @@ msgstr "cURL並行処理制限" #~ msgid "Select Package File:" #~ msgstr "パッケージファイルを選択:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "影の更新時間を設定します。\n" +#~ "値が小さいほど影やマップの更新が速くなりますが、リソースを多く消費しま" +#~ "す。\n" +#~ "最小値0.001秒、最大値0.2秒" + #~ msgid "Shadow limit" #~ msgstr "影の制限" @@ -7774,6 +7914,10 @@ msgstr "cURL並行処理制限" #~ msgid "This font will be used for certain languages." #~ msgstr "このフォントは特定の言語で使用されます。" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "" +#~ "シェーダーを有効にするにはOpenGLのドライバを使用する必要があります。" + #~ msgid "Toggle Cinematic" #~ msgstr "映画風モード切替" @@ -7808,5 +7952,8 @@ msgstr "cURL並行処理制限" #~ msgid "Yes" #~ msgstr "はい" +#~ msgid "You died." +#~ msgstr "あなたは死にました。" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/jbo/minetest.po b/po/jbo/minetest.po index 1f6cc89aa..d700e624b 100644 --- a/po/jbo/minetest.po +++ b/po/jbo/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Lojban (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-02-13 08:50+0000\n" "Last-Translator: Wuzzy \n" "Language-Team: Lojban " +msgstr "" + #: builtin/fstk/ui.lua #, fuzzy msgid "An error occurred in a Lua script:" @@ -310,6 +309,10 @@ msgstr "samtcise'a" msgid "Install missing dependencies" msgstr "na'e se nitcu" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -642,7 +645,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -754,14 +757,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1145,10 +1140,6 @@ msgstr "lo xutla se gusni" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp #, fuzzy msgid "Tone Mapping" @@ -1185,7 +1176,7 @@ msgstr ".i ca'o samymo'i lo me la'o gy.node.gy." msgid "Waving Plants" msgstr "lo melbi pezli" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1219,7 +1210,8 @@ msgstr "" "toi" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "" ".i na cumki fa le nu le se kelci cu jai se facki je cu se samymo'i .i ky. du " "la'o zoi." @@ -1294,6 +1286,16 @@ msgstr "- kakne le ka simxu le ka xrani: " msgid "- Server Name: " msgstr "- cmene le samtcise'u: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr ".i da nabmi" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1304,6 +1306,22 @@ msgstr "za'i ca'u muvdu" msgid "Automatic forward enabled" msgstr "za'i ca'u muvdu" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1312,6 +1330,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "basti fi le ka lerpoijaspu" @@ -1326,6 +1348,11 @@ msgstr "le nu finti kelci" msgid "Cinematic mode enabled" msgstr "le nu finti kelci" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "lo samtciselse'u" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1334,6 +1361,10 @@ msgstr "" msgid "Connecting to server..." msgstr ".i ca'o samjo'e le samse'u" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "ranji" @@ -1357,6 +1388,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr ".i ca'o cupra le samtciselse'u" @@ -1559,6 +1595,21 @@ msgstr "lo ni sance " #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1897,6 +1948,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr ".i da nabmi fi le nu kibycpa la'o zoi. $1 .zoi" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr ".i lu'i le re lerpoijaspu na simxu le ka mintu" @@ -1905,7 +1965,7 @@ msgstr ".i lu'i le re lerpoijaspu na simxu le ka mintu" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2107,8 +2167,8 @@ msgid "Muted" msgstr "ko da'ergau le batke" #: src/gui/guiVolumeChange.cpp -#, fuzzy -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "lo ni sance " #. ~ Imperative, as in "Enter/type in text". @@ -2316,6 +2376,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2586,6 +2650,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "minde" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2621,8 +2690,8 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Chatcommands" -msgstr "minde" +msgid "Chat weblinks" +msgstr ".i ca viska le tavla .uidje" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2642,6 +2711,12 @@ msgstr "le nu finti kelci" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "lo samtciselse'u" @@ -2722,6 +2797,22 @@ msgstr "" msgid "Command key" msgstr "minde" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "Connect glass" @@ -2816,7 +2907,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2893,8 +2984,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3014,6 +3105,10 @@ msgstr "lo kantu" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3060,7 +3155,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3088,13 +3190,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3489,7 +3584,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3921,7 +4016,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4006,7 +4101,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4838,7 +4933,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5131,7 +5226,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5264,7 +5359,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5288,6 +5383,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5431,9 +5530,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5730,26 +5829,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5840,7 +5931,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5948,6 +6039,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6058,7 +6157,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6076,7 +6175,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6145,7 +6244,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6309,7 +6408,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6498,6 +6597,10 @@ msgstr "lo melbi pezli" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6519,7 +6622,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6534,7 +6637,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6661,24 +6764,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6749,5 +6834,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "go'i" +#, fuzzy +#~ msgid "You died." +#~ msgstr ".i do morsi" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/kk/minetest.po b/po/kk/minetest.po index 504631104..2f2b90091 100644 --- a/po/kk/minetest.po +++ b/po/kk/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Kazakh (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-09-09 01:23+0000\n" "Last-Translator: Fontan 030 \n" "Language-Team: Kazakh " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua скриптінде қате кездесті:" @@ -294,6 +294,10 @@ msgstr "Жою" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -620,7 +624,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -730,14 +734,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1102,10 +1098,6 @@ msgstr "" msgid "Texturing:" msgstr "Текстурлеу:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1138,7 +1130,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1167,7 +1159,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1237,6 +1229,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Қате кездесті:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1245,6 +1247,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1253,6 +1271,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Құпия сөзді өзгерту" @@ -1265,6 +1287,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1273,6 +1299,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Жалғастыру" @@ -1296,6 +1326,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1491,6 +1526,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1823,6 +1873,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1831,7 +1889,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2018,7 +2076,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2225,6 +2284,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2491,6 +2554,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Чат көрсетілді" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2524,8 +2592,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "Чат көрсетілді" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2543,6 +2612,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2618,6 +2693,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2709,7 +2800,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2786,8 +2877,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2905,6 +2996,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2951,7 +3046,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2979,13 +3081,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3378,7 +3473,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3810,7 +3905,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3894,7 +3989,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4723,7 +4818,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5016,7 +5111,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5148,7 +5243,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5172,6 +5267,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5312,9 +5411,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5607,26 +5706,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5717,7 +5808,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5822,6 +5913,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5932,7 +6031,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5950,7 +6049,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6019,7 +6118,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6182,7 +6281,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6365,6 +6464,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6386,7 +6489,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6401,7 +6504,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6527,24 +6630,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" diff --git a/po/kn/minetest.po b/po/kn/minetest.po index 05a910c68..3b37dfc3b 100644 --- a/po/kn/minetest.po +++ b/po/kn/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Kannada (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-01-02 07:29+0000\n" "Last-Translator: Tejaswi Hegde \n" "Language-Team: Kannada " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "ಒಂದು ಲುವಾ ಸ್ಕ್ರಿಪ್ಟ್ ನಲ್ಲಿ ತಪ್ಪಾಗಿದೆ:" @@ -296,6 +295,10 @@ msgstr "ಇನ್ಸ್ಟಾಲ್" msgid "Install missing dependencies" msgstr "ಐಚ್ಛಿಕ ಅವಲಂಬನೆಗಳು:" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -638,7 +641,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -748,14 +751,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1121,10 +1116,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1157,7 +1148,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1186,7 +1177,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1256,6 +1247,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "ದೋಷ ವೊಂದು ಸಂಭವಿಸಿದೆ:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1264,6 +1265,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1272,6 +1289,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1284,6 +1305,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1292,6 +1317,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1315,6 +1344,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1509,6 +1543,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1841,6 +1890,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1 ಡೌನ್ಲೋಡ್ ಮಾಡಲು ಆಗಿಲ್ಲ" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1849,7 +1907,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2036,7 +2094,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2243,6 +2302,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2509,6 +2572,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2542,7 +2609,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2561,6 +2628,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2636,6 +2709,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2727,7 +2816,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2804,8 +2893,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2923,6 +3012,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2969,7 +3062,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2997,13 +3097,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3396,7 +3489,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3828,7 +3921,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3912,7 +4005,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4741,7 +4834,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5034,7 +5127,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5166,7 +5259,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5190,6 +5283,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5330,9 +5427,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5625,26 +5722,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5735,7 +5824,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5840,6 +5929,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5950,7 +6047,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5968,7 +6065,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6037,7 +6134,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6200,7 +6297,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6383,6 +6480,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6404,7 +6505,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6419,7 +6520,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6545,24 +6646,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6588,5 +6671,9 @@ msgstr "" #~ msgid "View" #~ msgstr "ತೋರಿಸು" +#, fuzzy +#~ msgid "You died." +#~ msgstr "ನೀನು ಸತ್ತುಹೋದೆ" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/ko/minetest.po b/po/ko/minetest.po index d13da4fcd..39536ed7a 100644 --- a/po/ko/minetest.po +++ b/po/ko/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Korean (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-12-05 15:29+0000\n" "Last-Translator: HunSeongPark \n" "Language-Team: Korean " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua 스크립트에서 오류가 발생했습니다:" @@ -304,6 +303,13 @@ msgstr "설치" msgid "Install missing dependencies" msgstr "종속성 선택:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"모드 설치: \"$1\"는(은) 지원 되지 않는 파일 형식 이거나 손상된 압축 파일입니" +"다" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -633,7 +639,8 @@ msgid "Offset" msgstr "오프셋" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "플레이어 전송 거리" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -743,16 +750,6 @@ msgstr "모드 설치: $1를(을) 찾을 수 없습니다" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "모드 설치: 모드 팩 $1 (이)의 올바른 폴더이름을 찾을 수 없습니다" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"모드 설치: \"$1\"는(은) 지원 되지 않는 파일 형식 이거나 손상된 압축 파일입니" -"다" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "모드 설치: 파일: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "설치 모드: 모드 팩 $1 (이)의 올바른 폴더이름을 찾을 수 없습니다" @@ -1128,10 +1125,6 @@ msgstr "부드러운 조명 효과" msgid "Texturing:" msgstr "질감:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "쉐이더를 사용하려면 OpenGL 드라이버를 사용할 필요가 있습니다." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "톤 매핑" @@ -1164,7 +1157,7 @@ msgstr "물 등의 물결효과" msgid "Waving Plants" msgstr "움직이는 식물 효과" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "연결 시간이 초과했습니다." @@ -1193,7 +1186,8 @@ msgid "Connection error (timed out?)" msgstr "연결 오류 (시간초과)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "게임을 찾지 못했거나 로딩할 수 없습니다\"" #: src/client/clientlauncher.cpp @@ -1265,6 +1259,16 @@ msgstr "- Player vs Player: " msgid "- Server Name: " msgstr "- 서버 이름: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "오류가 발생했습니다:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "자동 전진 비활성화" @@ -1273,6 +1277,22 @@ msgstr "자동 전진 비활성화" msgid "Automatic forward enabled" msgstr "자동 전진 활성화" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "카메라 업데이트 비활성화" @@ -1281,6 +1301,10 @@ msgstr "카메라 업데이트 비활성화" msgid "Camera update enabled" msgstr "카메라 업데이트 활성화" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "비밀번호 변경" @@ -1293,6 +1317,11 @@ msgstr "시네마틱 모드 비활성화" msgid "Cinematic mode enabled" msgstr "시네마틱 모드 활성화" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "클라이언트 모딩" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "클라이언트 스크립트가 비활성화됨" @@ -1301,6 +1330,10 @@ msgstr "클라이언트 스크립트가 비활성화됨" msgid "Connecting to server..." msgstr "서버 연결중..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "계속" @@ -1338,6 +1371,11 @@ msgstr "" "-마우스 휠:아이템 선택\n" "-%s: 채팅\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "클라이언트 만드는 중..." @@ -1545,6 +1583,21 @@ msgstr "음소거 해제" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "시야 범위 %d로 바꿈" @@ -1878,6 +1931,15 @@ msgstr "표면 모드의 미니맵, 1배 확대" msgid "Minimap in texture mode" msgstr "최소 텍스처 크기" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1을 다운로드하는 데에 실패했습니다" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "비밀번호가 맞지 않습니다!" @@ -1886,7 +1948,7 @@ msgstr "비밀번호가 맞지 않습니다!" msgid "Register and Join" msgstr "등록하고 참여" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2079,7 +2141,8 @@ msgid "Muted" msgstr "음소거" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "볼륨 조절: " #. ~ Imperative, as in "Enter/type in text". @@ -2330,6 +2393,10 @@ msgid "" msgstr "" "화면에 맞게 dpi 구성을 조정합니다 (X11 미지원 / Android 만 해당). 4k 화면 용." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2626,6 +2693,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "채팅 메세지 강제퇴장 임계값" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "채팅 명렁어" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "채팅 글자 크기" @@ -2659,8 +2731,9 @@ msgid "Chat toggle key" msgstr "채팅 스위치" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "채팅 명렁어" +#, fuzzy +msgid "Chat weblinks" +msgstr "채팅 보이기" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2678,6 +2751,12 @@ msgstr "시네마틱 모드 스위치" msgid "Clean transparent textures" msgstr "깨끗하고 투명한 텍스처" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "클라이언트" @@ -2766,6 +2845,22 @@ msgstr "" msgid "Command key" msgstr "명령 키" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "유리를 연결" @@ -2866,7 +2961,7 @@ msgstr "십자선 투명도" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "십자선 투명도 (불투명 함, 0과 255 사이)." #: src/settings_translation_file.cpp @@ -2945,8 +3040,8 @@ msgstr "기본 스택 크기" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3065,6 +3160,10 @@ msgstr "Anticheat를 사용 안함" msgid "Disallow empty passwords" msgstr "비밀번호 없으면 불가" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "도메인 서버의 이름은 서버리스트에 표시 됩니다." @@ -3111,7 +3210,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3140,13 +3246,6 @@ msgstr "모드 보안 적용" msgid "Enable players getting damage and dying." msgstr "플레이어는 데미지를 받고 죽을 수 있습니다." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "랜덤 사용자 입력 (테스트에 사용)를 사용 합니다." @@ -3557,7 +3656,7 @@ msgstr "글로벌 콜백" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3995,7 +4094,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4079,7 +4178,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -5132,7 +5231,7 @@ msgid "Map save interval" msgstr "맵 저장 간격" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5431,7 +5530,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5568,7 +5667,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5592,6 +5691,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5742,9 +5845,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6063,26 +6166,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6191,7 +6286,7 @@ msgstr "" "설정 적용 후 재시작이 필요합니다." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6302,6 +6397,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6412,7 +6515,7 @@ msgstr "텍스처 경로" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6430,7 +6533,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6502,7 +6605,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6674,7 +6777,7 @@ msgstr "이중 선형 필터링은 질감 스케일링을 할 때 사용 합니 #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6859,6 +6962,11 @@ msgstr "물결 길이" msgid "Waving plants" msgstr "흔들리는 식물 효과" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "선택 박스 컬러" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6885,7 +6993,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6910,7 +7018,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7041,24 +7149,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -7199,6 +7289,9 @@ msgstr "" #~ msgid "Generate normalmaps" #~ msgstr "Normalmaps 생성" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "모드 설치: 파일: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "큰 동굴 깊이" @@ -7309,6 +7402,9 @@ msgstr "" #~ msgid "This font will be used for certain languages." #~ msgstr "이 글꼴은 특정 언어에 사용 됩니다." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "쉐이더를 사용하려면 OpenGL 드라이버를 사용할 필요가 있습니다." + #~ msgid "Toggle Cinematic" #~ msgstr "시네마틱 스위치" @@ -7324,5 +7420,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "예" +#, fuzzy +#~ msgid "You died." +#~ msgstr "사망했습니다" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/ky/minetest.po b/po/ky/minetest.po index 504e878e1..d729c7cd3 100644 --- a/po/ky/minetest.po +++ b/po/ky/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Kyrgyz (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2019-11-10 15:04+0000\n" "Last-Translator: Krock \n" "Language-Team: Kyrgyz " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "" @@ -313,6 +312,10 @@ msgstr "" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -642,7 +645,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -757,14 +760,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1163,10 +1158,6 @@ msgstr "Тегиз жарык" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp #, fuzzy msgid "Tone Mapping" @@ -1204,7 +1195,7 @@ msgstr "Кооз бактар" msgid "Waving Plants" msgstr "Кооз бактар" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp #, fuzzy msgid "Connection timed out." msgstr "Туташтыруу катасы (убактыңыз өтүп кеттиби?)" @@ -1236,7 +1227,8 @@ msgid "Connection error (timed out?)" msgstr "Туташтыруу катасы (убактыңыз өтүп кеттиби?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Оюнду табуу же жүктөө мүмкүн эмес \"" #: src/client/clientlauncher.cpp @@ -1312,6 +1304,15 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1322,6 +1323,22 @@ msgstr "Алга" msgid "Automatic forward enabled" msgstr "Алга" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1331,6 +1348,10 @@ msgstr "" msgid "Camera update enabled" msgstr "күйгүзүлгөн" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Сырсөздү өзгөртүү" @@ -1345,6 +1366,10 @@ msgstr "Жаратуу режими" msgid "Cinematic mode enabled" msgstr "Жаратуу режими" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1353,6 +1378,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Серверге туташтырылууда..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Улантуу" @@ -1387,6 +1416,11 @@ msgstr "" "- Чычкан дөңгөлөгү: буюмду тандоо\n" "- T: маек\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Клиент жаратылууда..." @@ -1596,6 +1630,21 @@ msgstr "Үн көлөмү" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1934,6 +1983,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Дүйнөнү инициалдаштыруу катасы" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Сырсөздөр дал келген жок!" @@ -1942,7 +2000,7 @@ msgstr "Сырсөздөр дал келген жок!" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2141,7 +2199,8 @@ msgid "Muted" msgstr "баскычты басыңыз" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Үн көлөмү: " #. ~ Imperative, as in "Enter/type in text". @@ -2349,6 +2408,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2622,6 +2685,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Команда" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2658,9 +2726,8 @@ msgid "Chat toggle key" msgstr "Баскычтарды өзгөртүү" #: src/settings_translation_file.cpp -#, fuzzy -msgid "Chatcommands" -msgstr "Команда" +msgid "Chat weblinks" +msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2680,6 +2747,12 @@ msgstr "Жаратуу режими" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2758,6 +2831,22 @@ msgstr "" msgid "Command key" msgstr "Команда" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "Connect glass" @@ -2857,7 +2946,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2936,8 +3025,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3058,6 +3147,10 @@ msgstr "Бөлүкчөлөрдү күйгүзүү" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3104,7 +3197,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3132,13 +3232,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3534,7 +3627,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3969,7 +4062,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4054,7 +4147,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4887,7 +4980,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5182,7 +5275,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5315,7 +5408,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5339,6 +5432,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5482,9 +5579,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5786,26 +5883,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5898,7 +5987,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6006,6 +6095,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6116,7 +6213,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6134,7 +6231,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6203,7 +6300,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6367,7 +6464,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6556,6 +6653,10 @@ msgstr "Кооз бактар" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6577,7 +6678,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6592,7 +6693,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6719,24 +6820,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6835,5 +6918,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "Ооба" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Сиз өлдүңүз." + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/lt/minetest.po b/po/lt/minetest.po index d16babb11..24b46eb41 100644 --- a/po/lt/minetest.po +++ b/po/lt/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Lithuanian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-04-10 15:49+0000\n" "Last-Translator: Kornelijus Tvarijanavičius \n" "Language-Team: Lithuanian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Įvyko klaida Lua skripte:" @@ -302,6 +301,12 @@ msgstr "Įdiegti" msgid "Install missing dependencies" msgstr "Inicijuojami mazgai" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Papildinio diegimas: nepalaikomas failo tipas „$1“ arba sugadintas archyvas" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -640,7 +645,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -757,16 +762,6 @@ msgstr "" "Papildinio diegimas: nepavyksta rasti tinkamo aplanko pavadinimo papildinio " "paketui $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Papildinio diegimas: nepalaikomas failo tipas „$1“ arba sugadintas archyvas" - -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: file: \"$1\"" -msgstr "Įdiegti papildinį: failas: „$1“" - #: builtin/mainmenu/pkgmgr.lua #, fuzzy msgid "Unable to find a valid mod or modpack" @@ -1166,10 +1161,6 @@ msgstr "Apšvietimo efektai" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1204,7 +1195,7 @@ msgstr "Nepermatomi lapai" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Baigėsi prijungimo laikas." @@ -1233,7 +1224,8 @@ msgid "Connection error (timed out?)" msgstr "Ryšio klaida (baigėsi prijungimo laikas?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Nepavyko rasti ar įkelti žaidimo „" #: src/client/clientlauncher.cpp @@ -1306,6 +1298,16 @@ msgstr "" msgid "- Server Name: " msgstr "- Serverio pavadinimas: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Įvyko klaida:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1316,6 +1318,22 @@ msgstr "Pirmyn" msgid "Automatic forward enabled" msgstr "Pirmyn" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1325,6 +1343,10 @@ msgstr "" msgid "Camera update enabled" msgstr "Žalojimas įjungtas" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Keisti slaptažodį" @@ -1339,6 +1361,11 @@ msgstr "Kūrybinė veiksena" msgid "Cinematic mode enabled" msgstr "Kūrybinė veiksena" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Žaisti tinkle(klientas)" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1347,6 +1374,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Jungiamasi prie serverio..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Tęsti" @@ -1384,6 +1415,11 @@ msgstr "" "- Pelės ratukas: pasirinkti elementą\n" "- %s: kalbėtis\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Kuriamas klientas..." @@ -1601,6 +1637,21 @@ msgstr "Garso lygis" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1941,6 +1992,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Nepavyko parsiųsti $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Slaptažodžiai nesutampa!" @@ -1949,7 +2009,7 @@ msgstr "Slaptažodžiai nesutampa!" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2148,7 +2208,8 @@ msgid "Muted" msgstr "paspauskite klavišą" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Garso lygis: " #. ~ Imperative, as in "Enter/type in text". @@ -2356,6 +2417,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2626,6 +2691,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Komanda" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2662,9 +2732,8 @@ msgid "Chat toggle key" msgstr "Nustatyti klavišus" #: src/settings_translation_file.cpp -#, fuzzy -msgid "Chatcommands" -msgstr "Komanda" +msgid "Chat weblinks" +msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2684,6 +2753,12 @@ msgstr "Kūrybinė veiksena" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Žaisti tinkle(klientas)" @@ -2764,6 +2839,22 @@ msgstr "" msgid "Command key" msgstr "Komanda" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "Connect glass" @@ -2860,7 +2951,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2941,8 +3032,8 @@ msgstr "keisti žaidimą" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3062,6 +3153,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3108,7 +3203,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3137,13 +3239,6 @@ msgstr "Papildiniai internete" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3537,7 +3632,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3973,7 +4068,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4058,7 +4153,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4891,7 +4986,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5194,7 +5289,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5327,7 +5422,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5351,6 +5446,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5493,9 +5592,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5798,26 +5897,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5909,7 +6000,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6017,6 +6108,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6127,7 +6226,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6145,7 +6244,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6214,7 +6313,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6377,7 +6476,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6564,6 +6663,10 @@ msgstr "Nepermatomi lapai" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6585,7 +6688,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6600,7 +6703,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6727,24 +6830,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6790,6 +6875,10 @@ msgstr "" #~ msgid "Enables filmic tone mapping" #~ msgstr "Leisti sužeidimus" +#, fuzzy +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Įdiegti papildinį: failas: „$1“" + #~ msgid "Main" #~ msgstr "Pagrindinis" @@ -6840,5 +6929,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "Taip" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Jūs numirėte" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/lv/minetest.po b/po/lv/minetest.po index cf8a5f4f3..cd36faed8 100644 --- a/po/lv/minetest.po +++ b/po/lv/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-04-02 10:26+0000\n" "Last-Translator: Dainis \n" "Language-Team: Latvian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua skriptā radās kļūme:" @@ -310,6 +309,11 @@ msgstr "Instalēt" msgid "Install missing dependencies" msgstr "Neobligātās atkarības:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalācija: Neatbalstīts faila tips “$1” vai arī sabojāts arhīvs" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -641,7 +645,8 @@ msgid "Offset" msgstr "Nobīde" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Noturība" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -753,14 +758,6 @@ msgstr "" "Moda instalācija: Neizdevās atrast derīgu mapes nosaukumu priekš modu " "komplekta “$1”" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalācija: Neatbalstīts faila tips “$1” vai arī sabojāts arhīvs" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalācija: fails: “$1”" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Neizdevās atrast derīgu modu vai modu komplektu" @@ -1136,10 +1133,6 @@ msgstr "Gluds apgaismojums" msgid "Texturing:" msgstr "Teksturēšana:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Lai iespējotu šeiderus, jāizmanto OpenGL draiveris." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Toņu atbilstība" @@ -1172,7 +1165,7 @@ msgstr "Viļņojoši šķidrumi" msgid "Waving Plants" msgstr "Viļņojoši augi" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Savienojuma noildze." @@ -1201,7 +1194,8 @@ msgid "Connection error (timed out?)" msgstr "Savienojuma kļūme (noildze?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Nevarēja atrast vai ielādēt spēli \"" #: src/client/clientlauncher.cpp @@ -1273,6 +1267,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Severa nosaukums: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Radās kļūme:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automātiskā pārvietošanās izslēgta" @@ -1281,6 +1285,22 @@ msgstr "Automātiskā pārvietošanās izslēgta" msgid "Automatic forward enabled" msgstr "Automātiskā pārvietošanās ieslēgta" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kameras atjaunošana atspējota" @@ -1289,6 +1309,10 @@ msgstr "Kameras atjaunošana atspējota" msgid "Camera update enabled" msgstr "Kameras atjaunošana iespējota" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Nomainīt paroli" @@ -1301,6 +1325,10 @@ msgstr "Kino režīms izslēgts" msgid "Cinematic mode enabled" msgstr "Kino režīms ieslēgts" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Klienta puses skriptēšana ir atspējota" @@ -1309,6 +1337,10 @@ msgstr "Klienta puses skriptēšana ir atspējota" msgid "Connecting to server..." msgstr "Savienojas ar serveri..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Turpināt" @@ -1346,6 +1378,11 @@ msgstr "" "- Peles rullītis: izvēlēties priekšmetu\n" "- %s: čats\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Izveido klientu..." @@ -1554,6 +1591,21 @@ msgstr "Skaņa ieslēgta" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Redzamības diapazons nomainīts uz %d" @@ -1887,6 +1939,15 @@ msgstr "Minikarte virsmas režīmā, palielinājums x1" msgid "Minimap in texture mode" msgstr "Minikarte virsmas režīmā, palielinājums x1" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Neizdevās lejuplādēt $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Paroles nesakrīt!" @@ -1895,7 +1956,7 @@ msgstr "Paroles nesakrīt!" msgid "Register and Join" msgstr "Reģistrēties un pievienoties" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2091,7 +2152,8 @@ msgid "Muted" msgstr "Apklusināts" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Skaņas skaļums: " #. ~ Imperative, as in "Enter/type in text". @@ -2298,6 +2360,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2564,6 +2630,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Komanda" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2597,8 +2668,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "Čats parādīts" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2616,6 +2688,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2691,6 +2769,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2782,7 +2876,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2859,8 +2953,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2978,6 +3072,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3024,7 +3122,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3052,13 +3157,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3454,7 +3552,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3890,7 +3988,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3974,7 +4072,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4803,7 +4901,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5096,7 +5194,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5228,7 +5326,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5252,6 +5350,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5394,9 +5496,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5689,26 +5791,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5799,7 +5893,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5904,6 +5998,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6014,7 +6116,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6032,7 +6134,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6101,7 +6203,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6264,7 +6366,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6447,6 +6549,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6468,7 +6574,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6483,7 +6589,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6609,24 +6715,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6671,6 +6759,9 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "Izveidot normāl-kartes" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalācija: fails: “$1”" + #~ msgid "Main" #~ msgstr "Galvenā izvēlne" @@ -6713,8 +6804,15 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Sākt viena spēlētāja spēli" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Lai iespējotu šeiderus, jāizmanto OpenGL draiveris." + #~ msgid "Yes" #~ msgstr "Jā" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Jūs nomirāt" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/minetest.pot b/po/minetest.pot index 53b706f5f..e40fc194d 100644 --- a/po/minetest.pot +++ b/po/minetest.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -53,10 +53,6 @@ msgstr "" msgid "The out chat queue is now empty." msgstr "" -#: builtin/client/death_formspec.lua -msgid "You died." -msgstr "" - #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" msgstr "" @@ -94,6 +90,10 @@ msgstr "" msgid "OK" msgstr "" +#: builtin/fstk/ui.lua +msgid "" +msgstr "" + #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" msgstr "" @@ -243,6 +243,10 @@ msgstr "" msgid "Failed to download $1" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua msgid "Already installed" msgstr "" @@ -617,7 +621,7 @@ msgid "Octaves" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -743,14 +747,6 @@ msgstr "" msgid "Unable to install a game as a $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "$1 mods" msgstr "" @@ -846,27 +842,27 @@ msgid "Install games from ContentDB" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Select Mods" +msgid "Creative Mode" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "New" +msgid "Enable Damage" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Select World:" +msgid "Host Server" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Creative Mode" +msgid "Select Mods" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Enable Damage" +msgid "New" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Host Server" +msgid "Select World:" msgstr "" #: builtin/mainmenu/tab_local.lua @@ -1126,15 +1122,11 @@ msgstr "" msgid "Dynamic shadows" 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 "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1187,7 +1179,7 @@ msgid "Provided world path doesn't exist: " msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1202,10 +1194,19 @@ msgstr "" msgid "Creating server..." msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Singleplayer" msgstr "" @@ -1218,10 +1219,29 @@ msgstr "" msgid "Resolving address..." msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Item definitions..." msgstr "" @@ -1323,6 +1343,26 @@ msgstr "" msgid "Cinematic mode disabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward enabled" msgstr "" @@ -1376,7 +1416,7 @@ msgstr "" msgid "Viewing range is at maximum: %d" msgstr "" -#: src/client/game.cpp +#: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1510,6 +1550,15 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + #: src/client/game.cpp msgid "" "\n" @@ -1818,7 +1867,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2005,7 +2062,8 @@ msgid "Change" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #: src/gui/guiVolumeChange.cpp @@ -2258,11 +2316,11 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -2272,7 +2330,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -3064,12 +3122,12 @@ msgid "Basic" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -3163,7 +3221,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -3214,7 +3272,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -3378,7 +3436,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -3398,8 +3456,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" @@ -3409,8 +3467,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3420,20 +3478,20 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" msgstr "" #: src/settings_translation_file.cpp @@ -3443,8 +3501,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp @@ -3453,9 +3511,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -3803,7 +3861,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -3837,7 +3895,7 @@ msgid "HUD scale factor" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -4207,6 +4265,14 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp msgid "Enable console window" msgstr "" @@ -4256,6 +4322,24 @@ msgstr "" msgid "Client" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat weblinks" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "Network" msgstr "" @@ -4288,9 +4372,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -4540,11 +4624,10 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" msgstr "" #: src/settings_translation_file.cpp @@ -5002,7 +5085,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5038,11 +5121,10 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" msgstr "" #: src/settings_translation_file.cpp @@ -5285,11 +5367,11 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat commands" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -5492,7 +5574,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -6551,12 +6633,3 @@ msgid "" "be queued.\n" "This should be lower than curl_parallel_limit." msgstr "" - -#: src/gui/guiChatConsole.cpp -msgid "Opening webpage" -msgstr "" - -#: src/gui/guiChatConsole.cpp -msgid "Failed to open webpage" -msgstr "" - diff --git a/po/mr/minetest.po b/po/mr/minetest.po index 7c7f189cd..aec436e98 100644 --- a/po/mr/minetest.po +++ b/po/mr/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-06-10 14:35+0000\n" "Last-Translator: Avyukt More \n" "Language-Team: Marathi " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "त्रुटी आढळली" @@ -296,6 +295,10 @@ msgstr "डाउनलोड $1" msgid "Install missing dependencies" msgstr "गहाळ अवलंबित्व डाउनलोड करा" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -621,7 +624,7 @@ msgid "Offset" msgstr "ऑफसेट" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -731,14 +734,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1103,10 +1098,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1139,7 +1130,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1168,7 +1159,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1238,6 +1229,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "एक त्रुटी आली:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1246,6 +1247,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1254,6 +1271,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1266,6 +1287,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1274,6 +1299,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1297,6 +1326,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1491,6 +1525,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1823,6 +1872,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$१ डाउनलोड करू नाही शकत" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1831,7 +1889,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2018,7 +2076,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2225,6 +2284,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2491,6 +2554,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2524,7 +2591,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2543,6 +2610,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2618,6 +2691,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2709,7 +2798,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2786,8 +2875,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2905,6 +2994,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2951,7 +3044,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2979,13 +3079,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3378,7 +3471,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3810,7 +3903,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3894,7 +3987,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4723,7 +4816,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5016,7 +5109,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5148,7 +5241,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5172,6 +5265,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5312,9 +5409,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5607,26 +5704,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5717,7 +5806,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5822,6 +5911,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5932,7 +6029,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5950,7 +6047,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6019,7 +6116,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6182,7 +6279,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6365,6 +6462,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6386,7 +6487,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6401,7 +6502,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6527,24 +6628,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6556,3 +6639,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "cURL parallel limit" msgstr "" + +#, fuzzy +#~ msgid "You died." +#~ msgstr "तू मेलास" diff --git a/po/ms/minetest.po b/po/ms/minetest.po index a7e5d7e87..22b7ad5df 100644 --- a/po/ms/minetest.po +++ b/po/ms/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Malay (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-06-16 19:05+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" @@ -59,10 +59,6 @@ msgstr "Lahir semula" msgid "You died" msgstr "Anda telah meninggal" -#: builtin/client/death_formspec.lua -msgid "You died." -msgstr "Anda telah meninggal." - #: builtin/common/chatcommands.lua msgid "Available commands:" msgstr "Perintah tersedia:" @@ -94,6 +90,11 @@ msgstr "[all | ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Perintah tidak tersedia: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Berlakunya ralat dalam skrip Lua:" @@ -296,6 +297,11 @@ msgstr "Pasang $1" msgid "Install missing dependencies" msgstr "Pasang kebergantungan yang hilang" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Pasang: Jenis fail \"$1\" tidak disokong atau arkib rosak" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -625,7 +631,8 @@ msgid "Offset" msgstr "Ofset" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Penerusan" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -735,14 +742,6 @@ msgstr "Pasang Mods: Gagal mencari nama mods sebenar untuk: $1" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "Pasang Mods: tidak jumpa nama folder yang sesuai untuk pek mods $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Pasang: Jenis fail \"$1\" tidak disokong atau arkib rosak" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Pasang: fail: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Tidak jumpa mods atau pek mods yang sah" @@ -1110,10 +1109,6 @@ msgstr "Pencahayaan Lembut" msgid "Texturing:" msgstr "Jalinan:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Untuk membolehkan pembayang, pemacu OpenGL mesti digunakan." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Pemetaan Tona" @@ -1146,7 +1141,7 @@ msgstr "Cecair Bergelora" msgid "Waving Plants" msgstr "Tumbuhan Bergoyang" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Sambungan tamat tempoh." @@ -1175,7 +1170,8 @@ msgid "Connection error (timed out?)" msgstr "Ralat dalam penyambungan (tamat tempoh?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Tidak jumpa atau tidak boleh muatkan permainan \"" #: src/client/clientlauncher.cpp @@ -1248,6 +1244,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Nama Pelayan: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Telah berlakunya ralat:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Pergerakan automatik dilumpuhkan" @@ -1256,6 +1262,23 @@ msgstr "Pergerakan automatik dilumpuhkan" msgid "Automatic forward enabled" msgstr "Pergerakan automatik dibolehkan" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Batas blok" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kemas kini kamera dilumpuhkan" @@ -1264,6 +1287,10 @@ msgstr "Kemas kini kamera dilumpuhkan" msgid "Camera update enabled" msgstr "Kemas kini kamera dibolehkan" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Tukar Kata Laluan" @@ -1276,6 +1303,11 @@ msgstr "Mod sinematik dilumpuhkan" msgid "Cinematic mode enabled" msgstr "Mod sinematik dibolehkan" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Mods klien" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Skrip pihak klien dilumpuhkan" @@ -1284,6 +1316,10 @@ msgstr "Skrip pihak klien dilumpuhkan" msgid "Connecting to server..." msgstr "Sedang menyambung kepada pelayan..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Teruskan" @@ -1321,6 +1357,11 @@ msgstr "" "- Roda tetikus: pilih item\n" "- %s: sembang\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Sedang mencipta klien..." @@ -1529,6 +1570,21 @@ msgstr "Bunyi dinyahbisukan" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Jarak pandang ditukar ke %d" @@ -1861,6 +1917,15 @@ msgstr "Peta mini dalam mod permukaan, Zum x%d" msgid "Minimap in texture mode" msgstr "Peta mini dalam mod tekstur" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Gagal memuat turun $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Kata laluan tidak padan!" @@ -1869,7 +1934,7 @@ msgstr "Kata laluan tidak padan!" msgid "Register and Join" msgstr "Daftar dan Sertai" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2063,7 +2128,8 @@ msgid "Muted" msgstr "Dibisukan" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Kekuatan Bunyi: " #. ~ Imperative, as in "Enter/type in text". @@ -2316,6 +2382,10 @@ msgstr "" "Laraskan konfigurasi DPI ke skrin anda (bukan X11/Android sahaja) cth. untuk " "skrin 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2611,6 +2681,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Nilai ambang mesej masa perintah sembang" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Perintah sembang" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Saiz fon sembang" @@ -2644,8 +2719,9 @@ msgid "Chat toggle key" msgstr "Kekunci togol sembang" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Perintah sembang" +#, fuzzy +msgid "Chat weblinks" +msgstr "Sembang ditunjukkan" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2663,6 +2739,12 @@ msgstr "Kekunci mod sinematik" msgid "Clean transparent textures" msgstr "Bersihkan tekstur lut sinar" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klien" @@ -2753,6 +2835,35 @@ msgstr "" msgid "Command key" msgstr "Kekunci perintah" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Tahap pemampatan ZLib untuk digunakan apabila menyimpan blokpeta ke cakera.\n" +"-1 - tahap pemampatan lalai Zlib\n" +"0 - tiada pemampatan, paling laju\n" +"9 - pemampatan terbaik, paling lambat\n" +"(tahap 1-3 menggunakan kaedah \"fast\" Zlib, 4-9 menggunakan kaedah biasa)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Tahap pemampatan ZLib untuk digunakan apabila menghantar blokpeta kepada " +"klien.\n" +"-1 - tahap pemampatan lalai Zlib\n" +"0 - tiada pemampatan, paling laju\n" +"9 - pemampatan terbaik, paling lambat\n" +"(tahap 1-3 menggunakan kaedah \"fast\" Zlib, 4-9 menggunakan kaedah biasa)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Sambung kaca" @@ -2852,9 +2963,10 @@ msgid "Crosshair alpha" msgstr "Nilai alfa rerambut silang" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Nilai alfa rerambut silang (kelegapan, antara 0 dan 255).\n" "Juga mengawal warna rerambut silang objek" @@ -2937,9 +3049,10 @@ msgid "Default stack size" msgstr "Saiz tindanan lalai" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Mentakrifkan kualiti penapisan bayang\n" @@ -3071,6 +3184,10 @@ msgstr "Melumpuhkan antitipu" msgid "Disallow empty passwords" msgstr "Menolak kata laluan kosong" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Nama domain pelayan, untuk dipaparkan dalam senarai pelayan." @@ -3121,8 +3238,20 @@ msgstr "" "Sokongan ini dalam ujikaji dan API boleh berubah." #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Membolehkan penapisan cakera poisson.\n" +"Jika dibenarkan, gunakan cakera poisson untuk membuat \"bayang lembut\". " +"Jika tidak, gunakan penapisan PCF." + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Membolehkan bayang berwarna. \n" @@ -3153,16 +3282,6 @@ msgstr "Membolehkan keselamatan mods" msgid "Enable players getting damage and dying." msgstr "Membolehkan pemain menerima kecederaan dan mati." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Membolehkan penapisan cakera poisson.\n" -"Jika dibenarkan, gunakan cakera poisson untuk membuat \"bayang lembut\". " -"Jika tidak, gunakan penapisan PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Membolehkan input pengguna secara rawak (hanya untuk percubaan)." @@ -3621,10 +3740,11 @@ msgid "Global callbacks" msgstr "Panggil balik sejagat" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atribut penjanaan peta sejagat.\n" "Dalam janapeta v6, bendera 'decorations' mengawal semua hiasan kecuali " @@ -4132,7 +4252,8 @@ msgstr "" "Ini selalunya hanya diperlukan oleh penyumbang teras/terbina dalam" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Memasang perintah sembang ketika pendaftaran." #: src/settings_translation_file.cpp @@ -4224,7 +4345,8 @@ msgid "Joystick button repetition interval" msgstr "Selang masa pengulangan butang kayu bedik" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Zon mati kayu bedik" #: src/settings_translation_file.cpp @@ -5338,7 +5460,8 @@ msgid "Map save interval" msgstr "Selang masa penyimpanan peta" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Masa kemas kini peta" #: src/settings_translation_file.cpp @@ -5660,7 +5783,8 @@ msgid "Mod channels" msgstr "Saluran mods" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Mengubah saiz elemen palang papar pandu (hudbar)." #: src/settings_translation_file.cpp @@ -5819,9 +5943,10 @@ msgstr "" "ialah '1'." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Jumlah blok-blok tambahan yang boleh dimuatkan oleh /clearobjects pada " @@ -5851,6 +5976,10 @@ msgstr "" "Buka menu jeda apabila fokus tetingkap hilang.\n" "Tidak jeda jika formspec dibuka." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6023,11 +6152,12 @@ msgid "Prometheus listener address" msgstr "Alamat pendengar Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Alamat pendengar Prometheus.\n" "Jika minetest dikompil dengan tetapan ENABLE_PROMETHEUS dibolehkan,\n" @@ -6376,22 +6506,11 @@ msgstr "" "bayang lebih gelap." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Menetapkan masa kemas kini bayang.\n" -"Nilai lebih rendah untuk kemas kini peta dan bayang lebih laju, tetapi " -"menggunakan lebih banyak sumber.\n" -"Nilai minimum 0.001 saat dan nilai maksimum 0.2 saat" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Menetapkan saiz jejari bayang lembut.\n" "Nilai lebih rendah untuk bayang lebih tajam dan nilai lebih tinggi untuk " @@ -6399,10 +6518,11 @@ msgstr "" "Nilai minimum 1.0 dan nilai maksimum 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Menetapkan kecondongan orbit Matahari/Bulan dalam unit darjah\n" "Nilai 0 untuk tidak condong / tiada orbit menegak.\n" @@ -6514,7 +6634,8 @@ msgstr "" "Anda perlu mulakan semula selepas mengubah tetapan ini." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Tunjuk latar belakang tag nama secara lalainya" #: src/settings_translation_file.cpp @@ -6641,6 +6762,14 @@ msgstr "" "Ambil perhatian bahawa mods atau permainan boleh tetapkan secara khusus " "tindanan untuk sesetengah (atau semua) item." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6777,10 +6906,11 @@ msgid "Texture path" msgstr "Laluan tekstur" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Saiz tekstur yang akan digunakan untuk menerjemah peta bayang.\n" "Nilai ini mestilah hasil kuasa dua.\n" @@ -6811,7 +6941,8 @@ msgid "The URL for the content repository" msgstr "URL untuk repositori kandungan" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "Zon mati bagi kayu bedik yang digunakan" #: src/settings_translation_file.cpp @@ -6901,9 +7032,10 @@ msgstr "" "Pembayang disokong oleh OpenGL (komputer sahaja) dan OGLES2 (dalam ujikaji)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Kepekaan paksi kayu bedik untuk menggerakkan\n" "frustum penglihatan dalam permainan." @@ -7103,8 +7235,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Gunakan penapisan bilinear apabila menyesuaikan tekstur." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7312,6 +7445,11 @@ msgstr "Panjang ombak cecair bergelora" msgid "Waving plants" msgstr "Tumbuhan bergoyang" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Warna kotak pemilihan" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7342,12 +7480,13 @@ msgstr "" "perkakasan." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7360,8 +7499,8 @@ msgstr "" "tekstur\n" "minimum untuk tekstur yang disesuai-naikkan; nilai lebih tinggi tampak " "lebih\n" -"tajam, tetapi memerlukan memori yang lebih banyak. Nilai kuasa 2 digalakkan." -"\n" +"tajam, tetapi memerlukan memori yang lebih banyak. Nilai kuasa 2 " +"digalakkan.\n" "Tetapan ini HANYA digunakan jika penapisan bilinear/trilinear/anisotropik " "dibolehkan.\n" "Tetapan ini juga digunakan sebagai saiz tekstur nod asas untuk\n" @@ -7378,8 +7517,9 @@ msgstr "" "digunakan." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Sama ada latar belakang tag nama patut ditunjukkan secara lalainya.\n" @@ -7541,35 +7681,6 @@ msgstr "Aras Y untuk rupa bumi lebih rendah dan dasar laut." msgid "Y-level of seabed." msgstr "Aras Y untuk dasar laut." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Tahap pemampatan ZLib untuk digunakan apabila menyimpan blokpeta ke cakera.\n" -"-1 - tahap pemampatan lalai Zlib\n" -"0 - tiada pemampatan, paling laju\n" -"9 - pemampatan terbaik, paling lambat\n" -"(tahap 1-3 menggunakan kaedah \"fast\" Zlib, 4-9 menggunakan kaedah biasa)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Tahap pemampatan ZLib untuk digunakan apabila menghantar blokpeta kepada " -"klien.\n" -"-1 - tahap pemampatan lalai Zlib\n" -"0 - tiada pemampatan, paling laju\n" -"9 - pemampatan terbaik, paling lambat\n" -"(tahap 1-3 menggunakan kaedah \"fast\" Zlib, 4-9 menggunakan kaedah biasa)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Had masa muat turun fail cURL" @@ -7781,6 +7892,9 @@ msgstr "Had cURL selari" #~ msgid "IPv6 support." #~ msgstr "Sokongan IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Pasang: fail: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Kedalaman lava" @@ -7886,6 +8000,17 @@ msgstr "Had cURL selari" #~ msgid "Select Package File:" #~ msgstr "Pilih Fail Pakej:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Menetapkan masa kemas kini bayang.\n" +#~ "Nilai lebih rendah untuk kemas kini peta dan bayang lebih laju, tetapi " +#~ "menggunakan lebih banyak sumber.\n" +#~ "Nilai minimum 0.001 saat dan nilai maksimum 0.2 saat" + #~ msgid "Shadow limit" #~ msgstr "Had bayang" @@ -7914,6 +8039,9 @@ msgstr "Had cURL selari" #~ msgid "This font will be used for certain languages." #~ msgstr "Fon ini akan digunakan untuk sesetengah bahasa." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Untuk membolehkan pembayang, pemacu OpenGL mesti digunakan." + #~ msgid "Toggle Cinematic" #~ msgstr "Togol Sinematik" @@ -7953,5 +8081,8 @@ msgstr "Had cURL selari" #~ msgid "Yes" #~ msgstr "Ya" +#~ msgid "You died." +#~ msgstr "Anda telah meninggal." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/ms_Arab/minetest.po b/po/ms_Arab/minetest.po index 20e3d1120..5746ca478 100644 --- a/po/ms_Arab/minetest.po +++ b/po/ms_Arab/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-10-20 18:26+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" @@ -69,11 +69,6 @@ msgstr "لاهير سمولا" msgid "You died" msgstr "اندا تله منيڠݢل" -#: builtin/client/death_formspec.lua -#, fuzzy -msgid "You died." -msgstr "اندا تله منيڠݢل" - #: builtin/common/chatcommands.lua #, fuzzy msgid "Available commands:" @@ -105,6 +100,10 @@ msgstr "" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +msgid "" +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "برلاکوڽ رالت دالم سکريڤ Lua:" @@ -310,6 +309,11 @@ msgstr "ڤاسڠ" msgid "Install missing dependencies" msgstr "کبرݢنتوڠن ڤيليهن:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "ڤاسڠ: جنيس فايل \"$1\" تيدق دسوکوڠ اتاو ارکيب روسق" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -641,7 +645,8 @@ msgid "Offset" msgstr "اوفسيت" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "ڤنروسن" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -751,14 +756,6 @@ msgstr "ڤاسڠ مودس: ݢاݢل منچاري نام مودس سبنر اون msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "ڤاسڠ مودس: تيدق جومڤ نام فولدر يڠ سسواي اونتوق ڤيک مودس $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "ڤاسڠ: جنيس فايل \"$1\" تيدق دسوکوڠ اتاو ارکيب روسق" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "ڤاسڠ: فايل: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "تيدق جومڤ مودس اتاو ڤيک مودس يڠ صح" @@ -1134,10 +1131,6 @@ msgstr "ڤنچهاياٴن لمبوت" msgid "Texturing:" msgstr "جالينن:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "اونتوق ممبوليهکن ڤمبايڠ⹁ ڤماچو OpenGL مستي دݢوناکن." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "ڤمتاٴن تونا" @@ -1170,7 +1163,7 @@ msgstr "چچاٴير برݢلورا" msgid "Waving Plants" msgstr "تومبوهن برݢويڠ" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "سمبوڠن تامت تيمڤوه." @@ -1199,7 +1192,8 @@ msgid "Connection error (timed out?)" msgstr "رالت دالم ڤڽمبوڠن (تامت تيمڤوه؟)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "تيدق جومڤ اتاو تيدق بوليه مواتکن ڤرماٴينن \"" #: src/client/clientlauncher.cpp @@ -1271,6 +1265,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- نام ڤلاين: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "تله برلاکوڽ رالت:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "ڤرݢرقن اٴوتوماتيک دلومڤوهکن" @@ -1279,6 +1283,22 @@ msgstr "ڤرݢرقن اٴوتوماتيک دلومڤوهکن" msgid "Automatic forward enabled" msgstr "ڤرݢرقن اٴوتوماتيک دبوليهکن" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "کمس کيني کاميرا دلومڤوهکن" @@ -1287,6 +1307,10 @@ msgstr "کمس کيني کاميرا دلومڤوهکن" msgid "Camera update enabled" msgstr "کمس کيني کاميرا دبوليهکن" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "توکر کات لالوان" @@ -1299,6 +1323,11 @@ msgstr "مود سينماتيک دلومڤوهکن" msgid "Cinematic mode enabled" msgstr "مود سينماتيک دبوليهکن" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "مودس کليئن" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "سکريڤ ڤيهق کليئن دلومڤوهکن" @@ -1307,6 +1336,10 @@ msgstr "سکريڤ ڤيهق کليئن دلومڤوهکن" msgid "Connecting to server..." msgstr "سدڠ مڽمبوڠ کڤد ڤلاين..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "تروسکن" @@ -1344,6 +1377,11 @@ msgstr "" "- رودا تتيکوس: ڤيليه ايتم\n" "- %s: سيمبڠ\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "سدڠ منچيڤت کليئن..." @@ -1551,6 +1589,21 @@ msgstr "بوڽي دڽهبيسوکن" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "جارق ڤندڠ دتوکر ک%d" @@ -1884,6 +1937,15 @@ msgstr "ڤتا ميني دالم مود ڤرموکاٴن⹁ زوم 1x" msgid "Minimap in texture mode" msgstr "سايز تيکستور مينيموم" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "ݢاݢل مموات تورون $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "کات لالوان تيدق ڤادن!" @@ -1892,7 +1954,7 @@ msgstr "کات لالوان تيدق ڤادن!" msgid "Register and Join" msgstr "دفتر دان سرتاٴي" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2085,7 +2147,8 @@ msgid "Muted" msgstr "دبيسوکن" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "ککواتن بوڽي: " #. ~ Imperative, as in "Enter/type in text". @@ -2324,6 +2387,10 @@ msgstr "" "لارسکن کونفيݢوراسي DPI کسکرين اندا (بوکن X11/Android سهاج) چونتوه اونتوق " "سکرين 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2606,6 +2673,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "نيلاي امبڠ تندڠ ميسيج سيمبڠ" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "ارهن" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "سايز فون سيمبڠ" @@ -2639,8 +2711,9 @@ msgid "Chat toggle key" msgstr "ککونچي توݢول سيمبڠ" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "سيمبڠ دتونجوقکن" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2658,6 +2731,12 @@ msgstr "ککونچي مود سينماتيک" msgid "Clean transparent textures" msgstr "برسيهکن تيکستور لوت سينر" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "کليئن" @@ -2734,6 +2813,22 @@ msgstr "" msgid "Command key" msgstr "ککونچي ارهن" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "سمبوڠ کاچ" @@ -2832,7 +2927,7 @@ msgstr "نيلاي الفا ررمبوت سيلڠ" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "نيلاي الفا ررمبوت سيلڠ (کلݢڤن⹁ انتارا 0 دان 255)." #: src/settings_translation_file.cpp @@ -2911,8 +3006,8 @@ msgstr "ساٴيز تيندنن لالاي" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3038,6 +3133,10 @@ msgstr "ملومڤوهکن انتيتيڤو" msgid "Disallow empty passwords" msgstr "منولق کات لالوان کوسوڠ" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "نام دوماٴين ڤلاين ڤرماٴينن⹁ اونتوق دڤاڤرکن دالم سناراي ڤلاين ڤرماٴينن." @@ -3086,7 +3185,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3115,13 +3221,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "ممبوليهکن ڤماٴين منريما کچدراٴن دان ماتي." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "ممبوليهکن اينڤوت ڤڠݢونا سچارا راوق (هاڽ اونتوق ڤرچوباٴن)." @@ -3564,7 +3663,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -4028,7 +4127,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4114,7 +4213,7 @@ msgstr "سلڠ ماس ڤڠاولڠن بوتڠ کايو بديق" #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "جنيس کايو بديق" #: src/settings_translation_file.cpp @@ -5168,7 +5267,7 @@ msgid "Map save interval" msgstr "سلڠ ماس ڤڽيمڤنن ڤتا" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5476,7 +5575,8 @@ msgid "Mod channels" msgstr "سالوران مودس" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "مڠاوبه سايز ايليمن ڤالڠ ڤاڤر ڤندو (hudbar)." #: src/settings_translation_file.cpp @@ -5614,7 +5714,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5640,6 +5740,10 @@ msgstr "" "بوک مينو جيدا اڤابيلا فوکوس تتيڠکڤ هيلڠ.\n" "تيدق جيدا جيک فورمسڤيک دبوک." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5805,11 +5909,12 @@ msgid "Prometheus listener address" msgstr "علامت ڤندڠر Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "علامت ڤندڠر Prometheus.\n" "جک minetest دکومڤيل دڠن تتڤن ENABLE_PROMETHEUS دبوليهکن,\n" @@ -6118,26 +6223,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6244,7 +6341,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "فون تبل سچارا لالايڽ" #: src/settings_translation_file.cpp @@ -6364,6 +6461,14 @@ msgstr "" "امبيل ڤرهاتيان بهاوا مودس اتاو ڤرماٴينن بوليه تتڤکن سچارا خصوص تيندنن اونتوق " "سستڠه (اتاو سموا) ايتم." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6480,7 +6585,7 @@ msgstr "لالوان تيکستور" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6505,7 +6610,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "ڤڠنل ڤستي کايو بديق يڠ دݢوناکن" #: src/settings_translation_file.cpp @@ -6592,9 +6697,10 @@ msgstr "" "دان اي اياله ساتو-ساتوڽ ڤماچو يڠ ممڤوڽاٴي سوکوڠن ڤمبايڠ کتيک اين." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "کڤيکاٴن ڤکسي کايو بديق اونتوق مڠݢرقکن\n" "فروستوم ڤڠليهتن دالم ڤرماٴينن." @@ -6780,8 +6886,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "ݢوناکن ڤناڤيسن بيلينيار اڤابيلا مڽسوايکن تيکستور." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6970,6 +7077,11 @@ msgstr "ڤنجڠ اومبق چچاٴير برݢلورا" msgid "Waving plants" msgstr "تومبوهن برݢويڠ" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "ورنا کوتق ڤميليهن" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7000,7 +7112,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7026,7 +7138,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7174,24 +7286,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -7303,6 +7397,9 @@ msgstr "" #~ msgid "Generate normalmaps" #~ msgstr "جان ڤتا نورمل" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "ڤاسڠ: فايل: \"$1\"" + #~ msgid "Main" #~ msgstr "اوتام" @@ -7390,11 +7487,18 @@ msgstr "" #~ msgid "Strength of generated normalmaps." #~ msgstr "ککواتن ڤتا نورمل يڠ دجان." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "اونتوق ممبوليهکن ڤمبايڠ⹁ ڤماچو OpenGL مستي دݢوناکن." + #~ msgid "View" #~ msgstr "ليهت" #~ msgid "Yes" #~ msgstr "ياٴ" +#, fuzzy +#~ msgid "You died." +#~ msgstr "اندا تله منيڠݢل" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/nb/minetest.po b/po/nb/minetest.po index 280bba7e4..653646a0f 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-08-08 01:37+0000\n" "Last-Translator: Allan Nordhøy \n" "Language-Team: Norwegian Bokmål " +msgstr "Ikke tilgjengelig kommando: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Det oppstod en feil i et Lua-skript:" @@ -302,6 +303,11 @@ msgstr "Installer" msgid "Install missing dependencies" msgstr "Valgfrie avhengigheter:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Installasjon: Ikke-støttet filtype \"$1\" eller ødelagt arkiv" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -631,7 +637,8 @@ msgid "Offset" msgstr "Forskyvning" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Bestandighet" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -741,14 +748,6 @@ msgstr "Installer mod: Klarte ikke å finne riktig mod-navn for: $1" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "Installer mod: Klarte ikke finne egnet mappenavn for mod-pakke $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Installasjon: Ikke-støttet filtype \"$1\" eller ødelagt arkiv" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installasjon: fil \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Klarte ikke finne en gyldig mod eller modpakke" @@ -1126,10 +1125,6 @@ msgstr "Jevn belysning" msgid "Texturing:" msgstr "Teksturering:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "OpenGL-driveren må brukes for å aktivere skyggelegging." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Nyanseoversettelse (tone mapping)" @@ -1162,7 +1157,7 @@ msgstr "Skvulpende væsker" msgid "Waving Plants" msgstr "Bølgende planter" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Forbindelsen løp ut på tid." @@ -1191,7 +1186,8 @@ msgid "Connection error (timed out?)" msgstr "Tilkoblingsfeil (tidsavbrudd?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Klarte ikke finne eller laste inn spill «" #: src/client/clientlauncher.cpp @@ -1263,6 +1259,16 @@ msgstr "- Alle mot alle (PvP): " msgid "- Server Name: " msgstr "- Tjenernavn: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Det oppstod en feil:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatisk forover slått av" @@ -1271,6 +1277,22 @@ msgstr "Automatisk forover slått av" msgid "Automatic forward enabled" msgstr "Automatisk forover slått på" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kameraoppdatering slått av" @@ -1279,6 +1301,10 @@ msgstr "Kameraoppdatering slått av" msgid "Camera update enabled" msgstr "Kameraoppdatering slått på" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Endre passord" @@ -1291,6 +1317,11 @@ msgstr "Filmatisk modus avskrudd" msgid "Cinematic mode enabled" msgstr "Filmatisk modus påskrudd" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Brukermodding" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Skripting er slått av på klientside" @@ -1299,6 +1330,10 @@ msgstr "Skripting er slått av på klientside" msgid "Connecting to server..." msgstr "Kobler til tjener…" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Fortsett" @@ -1336,6 +1371,11 @@ msgstr "" "- Musehjul: velg ting\n" "- %s: sludring\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Oppretter klient…" @@ -1544,6 +1584,21 @@ msgstr "Lyd på" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Synsrekkevidde endret til %d%%" @@ -1876,6 +1931,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Klarte ikke laste ned $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Passordene samsvarer ikke!" @@ -1884,7 +1948,7 @@ msgstr "Passordene samsvarer ikke!" msgid "Register and Join" msgstr "Registrer og logg inn" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2079,7 +2143,8 @@ msgid "Muted" msgstr "Av" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Lydstyrke: " #. ~ Imperative, as in "Enter/type in text". @@ -2333,6 +2398,10 @@ msgstr "" "Justér skjermens DPI-innstilling (ikke for X11/kun Android), f. eks. for 4k-" "skjermer." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2624,6 +2693,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Terskel for utvisning fra chat" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Sludrekommandoer" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2659,8 +2733,9 @@ msgid "Chat toggle key" msgstr "Tast for veksling av sludring" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Sludrekommandoer" +#, fuzzy +msgid "Chat weblinks" +msgstr "Viser chat" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2678,6 +2753,12 @@ msgstr "Tast for filmatisk tilstand" msgid "Clean transparent textures" msgstr "Rene, gjennomsiktige teksturer" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2765,6 +2846,22 @@ msgstr "" msgid "Command key" msgstr "Tast for chat og kommandoer" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Forbind glass" @@ -2861,9 +2958,10 @@ msgid "Crosshair alpha" msgstr "Trådkors-alpha" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Trådkors-alpha (ugjennomsiktighet, mellom 0 og 255).\n" "Kontrollerer også objektets trådkorsfarge" @@ -2943,8 +3041,8 @@ msgstr "Forvalgt spill" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3064,6 +3162,10 @@ msgstr "Skru av antijuksing" msgid "Disallow empty passwords" msgstr "Ikke tillatt tomme passord" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domenenavn for tjener, som vist i tjenerlisten." @@ -3111,7 +3213,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3139,13 +3248,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3547,7 +3649,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3979,7 +4081,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4065,7 +4167,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "Spillstikketype" #: src/settings_translation_file.cpp @@ -5069,7 +5171,7 @@ msgid "Map save interval" msgstr "Lagringsintervall for kart" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5371,7 +5473,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5503,7 +5605,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5527,6 +5629,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5670,9 +5776,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5989,26 +6095,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6112,7 +6210,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "Fet skrifttype som forvalg" #: src/settings_translation_file.cpp @@ -6223,6 +6321,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "" @@ -6338,7 +6444,7 @@ msgstr "Filsti for teksturer" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6356,7 +6462,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6430,7 +6536,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6598,7 +6704,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6787,6 +6893,11 @@ msgstr "Bølgende vann" msgid "Waving plants" msgstr "Plantesvaiing" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Farge på utvalgsfelt" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6808,7 +6919,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6823,7 +6934,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6953,24 +7064,6 @@ msgstr "Y-nivå for nedre terreng og sjøbunn." msgid "Y-level of seabed." msgstr "Y-nivå for havbunn." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Tidsutløp for filnedlasting med cURL" @@ -7054,6 +7147,9 @@ msgstr "Maksimal parallellisering i cURL" #~ msgid "IPv6 support." #~ msgstr "IPv6-støtte." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installasjon: fil \"$1\"" + #~ msgid "Main" #~ msgstr "Hovedmeny" @@ -7097,6 +7193,9 @@ msgstr "Maksimal parallellisering i cURL" #~ msgid "Start Singleplayer" #~ msgstr "Start enkeltspiller" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "OpenGL-driveren må brukes for å aktivere skyggelegging." + #~ msgid "View" #~ msgstr "Vis" @@ -7109,5 +7208,8 @@ msgstr "Maksimal parallellisering i cURL" #~ msgid "Yes" #~ msgstr "Ja" +#~ msgid "You died." +#~ msgstr "Du døde." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/nl/minetest.po b/po/nl/minetest.po index c2b57af01..1bad56b64 100644 --- a/po/nl/minetest.po +++ b/po/nl/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Dutch (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-10-14 07:35+0000\n" "Last-Translator: Molly \n" "Language-Team: Dutch ]" msgid "OK" msgstr "Oke" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Instructie niet beschikbaar: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Er is een fout opgetreden in een Lua script:" @@ -297,6 +298,11 @@ msgstr "Installeer $1" msgid "Install missing dependencies" msgstr "Installeer ontbrekende afhankelijkheden" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Installeren: niet ondersteund bestandstype \"$1\" of defect archief" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -629,7 +635,8 @@ msgid "Offset" msgstr "afstand" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistentie" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -740,14 +747,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Mod installeren: kan geen geschikte map naam vinden voor mod verzameling $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Installeren: niet ondersteund bestandstype \"$1\" of defect archief" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installeer: bestand: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Niet mogelijk om geschikte map-naam vinden voor modverzameling $1" @@ -1118,10 +1117,6 @@ msgstr "Vloeiende verlichting" msgid "Texturing:" msgstr "Textuur:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Om schaduwen mogelijk te maken moet OpenGL worden gebruikt." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tone-mapping" @@ -1154,7 +1149,7 @@ msgstr "Golvende Vloeistoffen" msgid "Waving Plants" msgstr "Bewegende planten" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Time-out bij opzetten verbinding." @@ -1183,7 +1178,8 @@ msgid "Connection error (timed out?)" msgstr "Fout bij verbinden (time out?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Kan het spel niet laden of niet vinden \"" #: src/client/clientlauncher.cpp @@ -1255,6 +1251,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Server Naam: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Er is een fout opgetreden:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatisch vooruit uitgeschakeld" @@ -1263,6 +1269,23 @@ msgstr "Automatisch vooruit uitgeschakeld" msgid "Automatic forward enabled" msgstr "Automatisch vooruit ingeschakeld" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Blok grenzen" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Camera-update uitgeschakeld" @@ -1271,6 +1294,10 @@ msgstr "Camera-update uitgeschakeld" msgid "Camera update enabled" msgstr "Camera-update ingeschakeld" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Verander wachtwoord" @@ -1283,6 +1310,11 @@ msgstr "Filmische modus uitgeschakeld" msgid "Cinematic mode enabled" msgstr "Filmische modus ingeschakeld" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Cliënt personalisatie (modding)" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Client-side scripting is uitgeschakeld" @@ -1291,6 +1323,10 @@ msgstr "Client-side scripting is uitgeschakeld" msgid "Connecting to server..." msgstr "Verbinding met de server wordt gemaakt..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Verder spelen" @@ -1328,6 +1364,11 @@ msgstr "" "- Muiswiel: item selecteren \n" "-%s: chat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Gebruiker aanmaken..." @@ -1534,6 +1575,21 @@ msgstr "Geluid niet gedempt" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Kijkbereik gewijzigd naar %d" @@ -1866,6 +1922,15 @@ msgstr "Minimap in oppervlaktemodus, Zoom x%d" msgid "Minimap in texture mode" msgstr "Minimap textuur modus" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Installeren van mod $1 is mislukt" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "De wachtwoorden zijn niet gelijk!" @@ -1874,7 +1939,7 @@ msgstr "De wachtwoorden zijn niet gelijk!" msgid "Register and Join" msgstr "Registreer en doe mee" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2070,7 +2135,8 @@ msgid "Muted" msgstr "Gedempt" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Geluidsvolume: " #. ~ Imperative, as in "Enter/type in text". @@ -2332,6 +2398,10 @@ msgstr "" "Pas de dpi-configuratie aan op uw scherm (alleen niet X11 / Android), b.v. " "voor 4k-schermen." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2634,6 +2704,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Drempel voor kick van chatbericht" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Chat-commando's" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Chat lettergrootte" @@ -2667,8 +2742,9 @@ msgid "Chat toggle key" msgstr "Toets voor tonen/verbergen chat" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Chat-commando's" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat weergegeven" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2686,6 +2762,12 @@ msgstr "Cinematic modus aan/uit toets" msgid "Clean transparent textures" msgstr "Schone transparante texturen" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Cliënt" @@ -2776,6 +2858,36 @@ msgstr "" msgid "Command key" msgstr "Commando-toets" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Zlib compressie niveau om mapblokken op de harde schijf te bewaren.\n" +"-1: Zlib's standaard compressie niveau\n" +"0: geen compressie, snelst\n" +"9: maximale compressie, traagst\n" +"(niveau's 1 tot 3 gebruiken Zlib's snelle methode, 4 tot 9 gebruiken de " +"normale methode)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Zlib compressie niveau om mapblokken te versturen naar de client.\n" +"-1: Zlib's standaard compressie niveau\n" +"0: geen compressie, snelst\n" +"9: maximale compressie, traagst\n" +"(niveau's 1 tot 3 gebruiken Zlib's snelle methode, 4 tot 9 gebruiken de " +"normale methode)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Verbind glas" @@ -2878,9 +2990,10 @@ msgid "Crosshair alpha" msgstr "Draadkruis-alphawaarde" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Draadkruis-alphawaarde (ondoorzichtigheid; tussen 0 en 255).\n" "Controleert ook het object draadkruis kleur" @@ -2962,9 +3075,10 @@ msgid "Default stack size" msgstr "Standaard voorwerpenstapel grootte" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Defineer schaduw filtering kwaliteit\n" @@ -3096,6 +3210,10 @@ msgstr "Valsspeelbescherming uitschakelen" msgid "Disallow empty passwords" msgstr "Lege wachtwoorden niet toestaan" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domeinnaam van de server; wordt getoond in de serverlijst." @@ -3146,7 +3264,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3174,13 +3299,6 @@ msgstr "Veilige modus voor mods aanzetten" msgid "Enable players getting damage and dying." msgstr "Schakel verwondingen en sterven van spelers aan." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Schakel willkeurige invoer aan (enkel voor testen)." @@ -3642,10 +3760,11 @@ msgid "Global callbacks" msgstr "Algemene callbacks" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Algemene wereldgenerator instellingen.\n" "De vlag 'decorations' bepaalt de aanwezigheid van alle decoraties, behalve\n" @@ -4158,7 +4277,8 @@ msgstr "" "het core/builtin-gedeelte van de server" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Profileer chat-commando's bij het registreren." #: src/settings_translation_file.cpp @@ -4252,7 +4372,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick-knop herhalingsinterval" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Joystick dode zone" #: src/settings_translation_file.cpp @@ -5371,7 +5492,7 @@ msgstr "Interval voor opslaan wereld" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Vloeistof verspreidingssnelheid" #: src/settings_translation_file.cpp @@ -5701,7 +5822,8 @@ msgid "Mod channels" msgstr "Mod-kanalen" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Veranderd de grootte van de HUDbar elementen." #: src/settings_translation_file.cpp @@ -5866,9 +5988,10 @@ msgstr "" "'on_generated'. Voor veel gebruikers kan de optimale instelling '1' zijn." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Aantal extra blokken (van 16x16x16 nodes) dat door het commando '/" @@ -5902,6 +6025,10 @@ msgstr "" "Pauzemenu openen als het venster focus verliest. Pauzeert niet als er\n" "een formspec geopend is." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6078,11 +6205,12 @@ msgid "Prometheus listener address" msgstr "Adres om te luisteren naar Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Adres om te luisteren naar Prometheus.\n" "Als Minetest is gecompileerd met de optie ENABLE_PROMETHEUS,\n" @@ -6426,26 +6554,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6555,7 +6675,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "Standaard vetgedrukt" #: src/settings_translation_file.cpp @@ -6684,6 +6804,14 @@ msgstr "" "Merk op dat mods of spellen expliciet een stack kunnen maken voor sommige " "(of alle) items." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6822,7 +6950,7 @@ msgstr "Textuur pad" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6850,7 +6978,8 @@ msgid "The URL for the content repository" msgstr "De URL voor de inhoudsrepository" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "De dode zone van de stuurknuppel die u gebruikt" #: src/settings_translation_file.cpp @@ -6945,9 +7074,10 @@ msgstr "" "drivers met shader-ondersteuning momenteel" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "De gevoeligheid van de assen van de joystick voor het bewegen van de " "frustrum in het spel." @@ -7151,8 +7281,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Gebruik bi-lineaire filtering bij het schalen van texturen." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7359,6 +7490,11 @@ msgstr "Golflengte van water/vloeistoffen" msgid "Waving plants" msgstr "Bewegende planten" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Kleur van selectie-randen" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7390,7 +7526,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7423,7 +7559,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7588,36 +7724,6 @@ msgstr "Y-niveau van lager terrein en vijver/zee bodems." msgid "Y-level of seabed." msgstr "Y-niveau van zee bodem." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Zlib compressie niveau om mapblokken op de harde schijf te bewaren.\n" -"-1: Zlib's standaard compressie niveau\n" -"0: geen compressie, snelst\n" -"9: maximale compressie, traagst\n" -"(niveau's 1 tot 3 gebruiken Zlib's snelle methode, 4 tot 9 gebruiken de " -"normale methode)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Zlib compressie niveau om mapblokken te versturen naar de client.\n" -"-1: Zlib's standaard compressie niveau\n" -"0: geen compressie, snelst\n" -"9: maximale compressie, traagst\n" -"(niveau's 1 tot 3 gebruiken Zlib's snelle methode, 4 tot 9 gebruiken de " -"normale methode)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "timeout voor cURL download" @@ -7817,6 +7923,9 @@ msgstr "Maximaal parallellisme in cURL" #~ msgid "IPv6 support." #~ msgstr "IPv6 ondersteuning." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installeer: bestand: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Diepte van grote grotten" @@ -7944,6 +8053,9 @@ msgstr "Maximaal parallellisme in cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Dit font wordt gebruikt voor bepaalde talen." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Om schaduwen mogelijk te maken moet OpenGL worden gebruikt." + #~ msgid "Toggle Cinematic" #~ msgstr "Cinematic modus aan/uit" @@ -7980,5 +8092,8 @@ msgstr "Maximaal parallellisme in cURL" #~ msgid "Yes" #~ msgstr "Ja" +#~ msgid "You died." +#~ msgstr "Je bent gestorven." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/nn/minetest.po b/po/nn/minetest.po index 746ac0d00..b54d28093 100644 --- a/po/nn/minetest.po +++ b/po/nn/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Norwegian Nynorsk (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-02-20 05:50+0000\n" "Last-Translator: Tor Egil Hoftun Kvæstad \n" "Language-Team: Norwegian Nynorsk " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Ein feil oppstod i eit LUA-skript:" @@ -299,6 +298,12 @@ msgstr "Installer $1" msgid "Install missing dependencies" msgstr "Installer manglande avhengigheiter" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Installer: Ikkje-støtta dokument type \"$1\" eller så funker ikkje arkivet" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -628,7 +633,8 @@ msgid "Offset" msgstr "Forskyvning" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistens" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -742,16 +748,6 @@ msgstr "" "Installer modifikasjon: Klarte ikkje å finne ein passande katalog for " "modifikasjonspakke $1" -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Installer: Ikkje-støtta dokument type \"$1\" eller så funker ikkje arkivet" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installer: fil: «$1»" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Klarte ikkje å finne ein gyldig modifikasjon eller modifikasjonspakke" @@ -1133,11 +1129,6 @@ msgstr "Jevn belysning" msgid "Texturing:" msgstr "Teksturering:" -#: builtin/mainmenu/tab_settings.lua -#, fuzzy -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "For å aktivere skumrings-effekt så må OpenGL driveren være i bruk." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp #, fuzzy msgid "Tone Mapping" @@ -1174,7 +1165,7 @@ msgstr "Raslende lauv" msgid "Waving Plants" msgstr "Raslende planter" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Nett-kopling er brutt." @@ -1204,7 +1195,8 @@ msgid "Connection error (timed out?)" msgstr "Tilkoplingsfeil (Tidsavbrot?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Kunne ikkje finne eller laste spelet \"" #: src/client/clientlauncher.cpp @@ -1280,6 +1272,16 @@ msgstr "- Spelar mot spelar (PvP): " msgid "- Server Name: " msgstr "- Tenarnamn: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Det har skjedd ein feil:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatiske framsteg er avtatt" @@ -1288,6 +1290,22 @@ msgstr "Automatiske framsteg er avtatt" msgid "Automatic forward enabled" msgstr "Automatiske framsteg er i gang" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kamera oppdatering er deaktivert" @@ -1296,6 +1314,10 @@ msgstr "Kamera oppdatering er deaktivert" msgid "Camera update enabled" msgstr "Kamera oppdatering er aktivert" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Byt kodeord" @@ -1308,6 +1330,10 @@ msgstr "Filmatisk modus er avtatt" msgid "Cinematic mode enabled" msgstr "Filmatisk modus er i gang" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Klient side-skildring er av" @@ -1316,6 +1342,10 @@ msgstr "Klient side-skildring er av" msgid "Connecting to server..." msgstr "Kopler til tenarmaskin..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Fortset" @@ -1353,6 +1383,11 @@ msgstr "" "- Musehjul: vel ting\n" "- %s: nettprat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Skapar klient..." @@ -1561,6 +1596,21 @@ msgstr "Lyd e ikkje dempa lengre" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Utsiktsrekkjevidd er forandra til %d" @@ -1894,6 +1944,15 @@ msgstr "Minikart i overflatemodus, Zoom x%d" msgid "Minimap in texture mode" msgstr "Minikart i overflate modus, Zoom x1" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Klarte ikkje å laste ned $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Passorda passar ikkje!" @@ -1902,7 +1961,7 @@ msgstr "Passorda passar ikkje!" msgid "Register and Join" msgstr "Registrer og bli med" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, fuzzy, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2098,7 +2157,8 @@ msgid "Muted" msgstr "Målbindt" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Lydstyrke: " #. ~ Imperative, as in "Enter/type in text". @@ -2308,6 +2368,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2574,6 +2638,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Befaling" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Tekststørrelse for nettprat" @@ -2607,8 +2676,9 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "Skravlerøret er vist" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2626,6 +2696,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2702,6 +2778,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2793,7 +2885,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2872,8 +2964,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2991,6 +3083,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3037,7 +3133,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3065,13 +3168,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3464,7 +3560,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3896,7 +3992,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3980,7 +4076,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4809,7 +4905,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5102,7 +5198,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5234,7 +5330,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5258,6 +5354,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5398,9 +5498,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5693,26 +5793,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5803,7 +5895,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5909,6 +6001,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6019,7 +6119,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6037,7 +6137,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6106,7 +6206,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6269,7 +6369,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6456,6 +6556,10 @@ msgstr "Bølgete vatn" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6477,7 +6581,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6492,7 +6596,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6618,24 +6722,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6678,6 +6764,9 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "Generér normale kart" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installer: fil: «$1»" + #~ msgid "Main" #~ msgstr "Hovud" @@ -6723,11 +6812,19 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Start enkeltspelar oppleving" +#, fuzzy +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "For å aktivere skumrings-effekt så må OpenGL driveren være i bruk." + #~ msgid "Toggle Cinematic" #~ msgstr "Slå på/av kameramodus" #~ msgid "Yes" #~ msgstr "Ja" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Du døydde" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 7e67d9e75..86a606fd2 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-08-25 16:34+0000\n" "Last-Translator: A M \n" "Language-Team: Polish ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Komenda nie jest dostępna: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Wystąpił błąd w skrypcie Lua:" @@ -304,6 +305,11 @@ msgstr "Zainstaluj $1" msgid "Install missing dependencies" msgstr "Zainstaluj brakujące zależności" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalacja moda: nieznany typ pliku \"$1\" lub uszkodzone archiwum" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -645,7 +651,8 @@ msgid "Offset" msgstr "Margines" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Trwałość" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -756,14 +763,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Instalacja moda: nie można znaleźć odpowiedniego folderu dla paczki modów $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalacja moda: nieznany typ pliku \"$1\" lub uszkodzone archiwum" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Zainstaluj mod: plik: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Nie można znaleźć prawidłowego moda lub paczki modów" @@ -1151,10 +1150,6 @@ msgstr "Płynne oświetlenie" msgid "Texturing:" msgstr "Teksturowanie:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Sterownik OpenGL jest wymagany aby włączyć shadery." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tone Mapping" @@ -1189,7 +1184,7 @@ msgstr "Fale (Ciecze)" msgid "Waving Plants" msgstr "Falujące rośliny" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Upłynął czas połączenia." @@ -1218,7 +1213,8 @@ msgid "Connection error (timed out?)" msgstr "Błąd połączenia (brak odpowiedzi?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Nie można znaleźć lub wczytać trybu gry \"" #: src/client/clientlauncher.cpp @@ -1290,6 +1286,16 @@ msgstr "Gracz przeciwko graczowi: " msgid "- Server Name: " msgstr "- Nazwa serwera: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Wystąpił błąd:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatyczne chodzenie do przodu wyłączone" @@ -1298,6 +1304,23 @@ msgstr "Automatyczne chodzenie do przodu wyłączone" msgid "Automatic forward enabled" msgstr "Automatyczne chodzenie do przodu włączone" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Granice bloków" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Aktualizowanie kamery wyłączone" @@ -1306,6 +1329,10 @@ msgstr "Aktualizowanie kamery wyłączone" msgid "Camera update enabled" msgstr "Aktualizowanie kamery włączone" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Zmień hasło" @@ -1318,6 +1345,11 @@ msgstr "Tryb kinowy wyłączony" msgid "Cinematic mode enabled" msgstr "Tryb kinowy włączony" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Modyfikacja klienta" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Skryptowanie po stronie klienta jest wyłączone" @@ -1326,6 +1358,10 @@ msgstr "Skryptowanie po stronie klienta jest wyłączone" msgid "Connecting to server..." msgstr "Łączenie z serwerem..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Kontynuuj" @@ -1361,6 +1397,11 @@ msgstr "" "- Rolka myszy: wybierz przedmiot↵\n" "- %s: czatuj↵\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Tworzenie klienta..." @@ -1570,6 +1611,21 @@ msgstr "Głośność włączona ponownie" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Zmieniono zasięg widoczności na %d%%" @@ -1903,6 +1959,15 @@ msgstr "Minimapa w trybie powierzchniowym, powiększenie x%d" msgid "Minimap in texture mode" msgstr "Minimapa w trybie teksturowym" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Pobieranie $1 do $2 nie powiodło się :(" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Hasła nie są jednakowe!" @@ -1911,7 +1976,7 @@ msgstr "Hasła nie są jednakowe!" msgid "Register and Join" msgstr "Zarejestruj się i dołącz" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2109,7 +2174,8 @@ msgid "Muted" msgstr "Wyciszony" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Głośność: " #. ~ Imperative, as in "Enter/type in text". @@ -2373,7 +2439,11 @@ msgstr "" "ekranów 4k." #: src/settings_translation_file.cpp -#, c-format, fuzzy +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + +#: src/settings_translation_file.cpp +#, fuzzy, c-format msgid "" "Adjusts the density of the floatland layer.\n" "Increase value to increase density. Can be positive or negative.\n" @@ -2677,6 +2747,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Limit czasu komendy czatu" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Komenda" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Rozmiar czcionki" @@ -2713,8 +2788,9 @@ msgid "Chat toggle key" msgstr "Klawisz przełączania czatu" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Komenda" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat widoczny" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2732,6 +2808,12 @@ msgstr "Klawisz trybu Cinematic" msgid "Clean transparent textures" msgstr "Czyste przeźroczyste tekstury" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2822,6 +2904,22 @@ msgstr "" msgid "Command key" msgstr "Klawisz komend" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Połączone szkło" @@ -2928,7 +3026,7 @@ msgstr "Kanał alfa celownika" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Kanał alfa celownika (pomiędzy 0 a 255).\n" "Wpływa również na kolor celownika obiektów" @@ -3015,8 +3113,8 @@ msgstr "Domyślny rozmiar stosu" #: src/settings_translation_file.cpp #, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Określa jakość filtrowania cieni\n" @@ -3153,6 +3251,10 @@ msgstr "Wyłącz anticheat" msgid "Disallow empty passwords" msgstr "Nie zezwalaj na puste hasła" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Serwer DNS, wyświetlany na liście serwerów." @@ -3205,7 +3307,18 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Włącz filtrowanie dysku poisson.\n" +"Jeśli włączone, to używa dysku poisson do \"miękkich cieni\". W przeciwnym " +"razie używa filtrowania PCF." + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Włącza kolorowe cienie. \n" @@ -3237,17 +3350,6 @@ msgstr "Włącz tryb mod security" msgid "Enable players getting damage and dying." msgstr "Włącz obrażenia i umieranie graczy." -#: src/settings_translation_file.cpp -#, fuzzy -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Włącz filtrowanie dysku poisson.\n" -"Jeśli włączone, to używa dysku poisson do \"miękkich cieni\". W przeciwnym " -"razie używa filtrowania PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Włącz losowe wejście użytkownika (tylko dla testowania)." @@ -3440,8 +3542,8 @@ msgid "" "the\n" "Multiplayer Tab." msgstr "" -"Plik w kliencie (lista serwerów), który zawiera ulubione serwery wyświetlane " -"\n" +"Plik w kliencie (lista serwerów), który zawiera ulubione serwery " +"wyświetlane \n" "w zakładce Trybu wieloosobowego." #: src/settings_translation_file.cpp @@ -3703,10 +3805,11 @@ msgid "Global callbacks" msgstr "Globalne wywołania zwrotne" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globalne właściwości generowania map.\n" "W generatorze map v6 flaga \"decorations\" kontroluje wszystkie dekoracje z " @@ -4247,7 +4350,8 @@ msgstr "" "Najczęściej potrzebny tylko dla osób pracujących nad jądrem" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Instrument poleceń czatu przy rejestracji." #: src/settings_translation_file.cpp @@ -4340,7 +4444,7 @@ msgstr "Interwał powtarzania przycisku joysticka" #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "Typ Joysticka" #: src/settings_translation_file.cpp @@ -5509,7 +5613,7 @@ msgstr "Interwał zapisu mapy" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Interwał czasowy aktualizacji cieczy" #: src/settings_translation_file.cpp @@ -5843,7 +5947,8 @@ msgid "Mod channels" msgstr "Kanały modów" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Modyfikuje rozmiar elementów paska HUD." #: src/settings_translation_file.cpp @@ -5984,9 +6089,10 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Ilość dodatkowych bloków, które mogą zostać wczytane naraz przez /" @@ -6017,6 +6123,10 @@ msgstr "" "Otwórz menu pauzy, gdy okno jest nieaktywne. Nie zatrzymuje gry jeśli " "formspec jest otwarty." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6182,9 +6292,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6526,26 +6636,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6657,7 +6759,7 @@ msgstr "" "Wymagany restart po zmianie ustawienia." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6776,6 +6878,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "" @@ -6900,7 +7010,7 @@ msgstr "Paczki tekstur" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6920,7 +7030,7 @@ msgstr "Adres URL repozytorium zawartości" #: src/settings_translation_file.cpp #, fuzzy -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "Identyfikator użycia joysticka" #: src/settings_translation_file.cpp @@ -6994,9 +7104,10 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "Czułość osi joysticka, wpływa na drgania widoku." #: src/settings_translation_file.cpp @@ -7189,8 +7300,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Włącz filtrowanie bilinearne podczas skalowania tekstur." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7399,6 +7511,11 @@ msgstr "Długość fal wodnych" msgid "Waving plants" msgstr "Falujące rośliny" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Kolor zaznaczenia" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7429,7 +7546,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7459,7 +7576,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7600,24 +7717,6 @@ msgstr "Wysokość dolin oraz dna jezior." msgid "Y-level of seabed." msgstr "Wysokość dna jezior." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL przekroczono limit pobierania pliku" @@ -7817,6 +7916,9 @@ msgstr "Limit równoległy cURL" #~ msgid "IPv6 support." #~ msgstr "Wsparcie IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Zainstaluj mod: plik: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Głębia dużej jaskini" @@ -7946,6 +8048,9 @@ msgstr "Limit równoległy cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Ta czcionka zostanie użyta w niektórych językach." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Sterownik OpenGL jest wymagany aby włączyć shadery." + #~ msgid "Toggle Cinematic" #~ msgstr "Przełącz na tryb Cinematic" @@ -7982,5 +8087,8 @@ msgstr "Limit równoległy cURL" #~ msgid "Yes" #~ msgstr "Tak" +#~ msgid "You died." +#~ msgstr "Umarłeś." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/pt/minetest.po b/po/pt/minetest.po index 63f7ec39c..e04ddbbb9 100644 --- a/po/pt/minetest.po +++ b/po/pt/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Portuguese (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-05-10 16:33+0000\n" "Last-Translator: ssantos \n" "Language-Team: Portuguese " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Um erro ocorreu num script Lua:" @@ -303,6 +302,11 @@ msgstr "Instalar $1" msgid "Install missing dependencies" msgstr "Instalar dependências ausentes" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalar: Tipo de ficheiro \"$1\" não suportado ou corrompido" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -632,7 +636,8 @@ msgid "Offset" msgstr "Deslocamento" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistência" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -745,14 +750,6 @@ msgstr "" "Instalação do Mod: não foi possível encontrar o nome da pasta adequado para " "o modpack $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalar: Tipo de ficheiro \"$1\" não suportado ou corrompido" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalar: ficheiro: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Incapaz de encontrar um módulo ou modpack válido" @@ -1127,10 +1124,6 @@ msgstr "Iluminação Suave" msgid "Texturing:" msgstr "Texturização:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Para ativar as sombras é necessário usar o controlador OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Mapeamento de tons" @@ -1163,7 +1156,7 @@ msgstr "Líquidos ondulantes" msgid "Waving Plants" msgstr "Plantas ondulantes" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Erro de ligação (tempo excedido)." @@ -1192,7 +1185,8 @@ msgid "Connection error (timed out?)" msgstr "Erro de ligação (excedeu tempo?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Não foi possível encontrar ou carregar jogo \"" #: src/client/clientlauncher.cpp @@ -1264,6 +1258,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "Nome do servidor: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ocorreu um erro:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Avanço automático desativado" @@ -1272,6 +1276,22 @@ msgstr "Avanço automático desativado" msgid "Automatic forward enabled" msgstr "Avanço automático para frente ativado" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Atualização da camera desativada" @@ -1280,6 +1300,10 @@ msgstr "Atualização da camera desativada" msgid "Camera update enabled" msgstr "Atualização da camera habilitada" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Mudar palavra-passe" @@ -1292,6 +1316,11 @@ msgstr "Modo cinemático desativado" msgid "Cinematic mode enabled" msgstr "Modo cinemático ativado" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Cliente" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "O scripting de cliente está desativado" @@ -1300,6 +1329,10 @@ msgstr "O scripting de cliente está desativado" msgid "Connecting to server..." msgstr "A conectar ao servidor..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continuar" @@ -1337,6 +1370,11 @@ msgstr "" "- Roda do rato: selecionar item\n" "- %s: bate-papo\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "A criar cliente..." @@ -1544,6 +1582,21 @@ msgstr "Som desmutado" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Distancia de visualização alterado pra %d" @@ -1876,6 +1929,15 @@ msgstr "Minimapa em modo de superfície, ampliação %dx" msgid "Minimap in texture mode" msgstr "Minimapa em modo de textura" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Falhou em descarregar $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "As palavra-passes não correspondem!" @@ -1884,7 +1946,7 @@ msgstr "As palavra-passes não correspondem!" msgid "Register and Join" msgstr "Registrar e entrar" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2078,7 +2140,8 @@ msgid "Muted" msgstr "Mutado" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volume do som: " #. ~ Imperative, as in "Enter/type in text". @@ -2338,6 +2401,10 @@ msgstr "" "Ajustar configuração de dpi ao seu ecrã (não aplicável a X11/Android) ex: " "para ecrãs 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2636,6 +2703,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Limite da mensagem de expulsão" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Comandos do Chat" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Tamanho da fonte do chat" @@ -2669,8 +2741,9 @@ msgid "Chat toggle key" msgstr "Tecla mostra/esconde conversação" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Comandos do Chat" +#, fuzzy +msgid "Chat weblinks" +msgstr "Conversa mostrada" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2688,6 +2761,12 @@ msgstr "Tecla para modo cinematográfico" msgid "Clean transparent textures" msgstr "Limpar texturas transparentes" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Cliente" @@ -2778,6 +2857,36 @@ msgstr "" msgid "Command key" msgstr "Tecla de comando" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Nível de compressão ZLib a ser usada ao gravar mapblocks no disco.\n" +"-1 - Nível de compressão padrão do Zlib\n" +"0 - Nenhuma compressão; o mais rápido\n" +"9 - Melhor compressão; o mais devagar\n" +"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " +"normal)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Nível de compressão ZLib a ser usada ao mandar mapblocks para o cliente.\n" +"-1 - Nível de compressão padrão do Zlib\n" +"0 - Nenhuma compressão; o mais rápido\n" +"9 - Melhor compressão; o mais devagar\n" +"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " +"normal)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Vidro conectado" @@ -2876,9 +2985,10 @@ msgid "Crosshair alpha" msgstr "Opacidade do cursor" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "fAlpha do cursor (o quanto ele é opaco, níveis entre 0 e 255).\n" "Também controla a cor da cruz do objeto" @@ -2961,8 +3071,8 @@ msgstr "Tamanho de pilha predefinido" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3093,6 +3203,10 @@ msgstr "Desativar anti-batota" msgid "Disallow empty passwords" msgstr "Não permitir palavra-passes vazias" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Nome de domínio do servidor, para ser mostrado na lista de servidores." @@ -3143,7 +3257,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3171,13 +3292,6 @@ msgstr "Ativar segurança de extras" msgid "Enable players getting damage and dying." msgstr "Ativar dano e morte dos jogadores." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Ativa a entrada de comandos aleatória (apenas usado para testes)." @@ -3632,10 +3746,11 @@ msgid "Global callbacks" msgstr "Chamadas de retorno Globais" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atributos de geração de mapa globais.\n" "No gerador de mapa v6 a flag 'decorations' controla todas as decorações " @@ -4143,7 +4258,8 @@ msgstr "" "Isto é usualmente apenas nessesário por contribuidores core/builtin" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Monitoração de comandos de chat quando registrados." #: src/settings_translation_file.cpp @@ -4238,7 +4354,8 @@ msgid "Joystick button repetition interval" msgstr "Intervalo de repetição do botão do Joystick" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "\"Zona morta\" do joystick" #: src/settings_translation_file.cpp @@ -5350,7 +5467,7 @@ msgstr "Intervalo de salvamento de mapa" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Período de atualização dos Líquidos" #: src/settings_translation_file.cpp @@ -5678,7 +5795,8 @@ msgid "Mod channels" msgstr "Canais de mod" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Modifica o tamanho dos elementos do hudbar." #: src/settings_translation_file.cpp @@ -5836,9 +5954,10 @@ msgstr "" "'on_generated'. Para muitos utilizadores, a configuração ideal pode ser '1'." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Número de blocos extras que pode ser carregados por /clearobjects ao mesmo " @@ -5868,6 +5987,10 @@ msgstr "" "Abre o menu de pausa quando o foco da janela é perdido.Não pausa se um " "formspec está aberto." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6040,11 +6163,12 @@ msgid "Prometheus listener address" msgstr "Endereço do Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Endereço do Prometheus\n" "Se o minetest for compilado com a opção ENABLE_PROMETHEUS ativa,\n" @@ -6388,26 +6512,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6517,7 +6633,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "Fonte em negrito por predefinição" #: src/settings_translation_file.cpp @@ -6644,6 +6760,14 @@ msgstr "" "Note que mods e games talvez definam explicitamente um tamanho para certos " "(ou todos) os itens." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6780,7 +6904,7 @@ msgstr "Caminho para a pasta de texturas" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6805,7 +6929,8 @@ msgid "The URL for the content repository" msgstr "A url para o repositório de conteúdo" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "A zona morta do joystick" #: src/settings_translation_file.cpp @@ -6898,9 +7023,10 @@ msgstr "" "Shaders são suportados por OpenGL (somente desktop) e OGLES2 (experimental)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "A sensibilidade dos eixos do joystick para movimentar o \n" "frustum de exibição no jogo." @@ -7098,8 +7224,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Usar filtragem bilinear ao dimensionamento de texturas." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7309,6 +7436,11 @@ msgstr "Comprimento de balanço da água" msgid "Waving plants" msgstr "Balançar das Plantas" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Cor da caixa de seleção" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7338,7 +7470,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7368,7 +7500,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7530,36 +7662,6 @@ msgstr "Nível Y de terreno inferior e solo oceânico." msgid "Y-level of seabed." msgstr "Nível Y do fundo do mar." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Nível de compressão ZLib a ser usada ao gravar mapblocks no disco.\n" -"-1 - Nível de compressão padrão do Zlib\n" -"0 - Nenhuma compressão; o mais rápido\n" -"9 - Melhor compressão; o mais devagar\n" -"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " -"normal)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Nível de compressão ZLib a ser usada ao mandar mapblocks para o cliente.\n" -"-1 - Nível de compressão padrão do Zlib\n" -"0 - Nenhuma compressão; o mais rápido\n" -"9 - Melhor compressão; o mais devagar\n" -"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " -"normal)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Tempo limite de descarregamento de ficheiro via cURL" @@ -7771,6 +7873,9 @@ msgstr "limite paralelo de cURL" #~ msgid "IPv6 support." #~ msgstr "Suporte IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalar: ficheiro: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Profundidade da lava" @@ -7902,6 +8007,9 @@ msgstr "limite paralelo de cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Esta fonte será usada para determinados idiomas." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Para ativar as sombras é necessário usar o controlador OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Ativar/Desativar câmera cinemática" @@ -7941,5 +8049,9 @@ msgstr "limite paralelo de cURL" #~ msgid "Yes" #~ msgstr "Sim" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Você morreu" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/pt_BR/minetest.po b/po/pt_BR/minetest.po index 50157b57c..f90ae9bf7 100644 --- a/po/pt_BR/minetest.po +++ b/po/pt_BR/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Portuguese (Brazil) (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-09-17 18:38+0000\n" "Last-Translator: Ronoaldo Pereira \n" "Language-Team: Portuguese (Brazil) ]" msgid "OK" msgstr "Ok" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Comando não disponível: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Ocorreu um erro em um script Lua:" @@ -296,6 +297,11 @@ msgstr "Instalar $1" msgid "Install missing dependencies" msgstr "Instalar dependências ausentes" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalação: Tipo de arquivo \"$1\" não suportado ou corrompido" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -625,7 +631,8 @@ msgid "Offset" msgstr "Deslocamento" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistência" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -737,14 +744,6 @@ msgstr "" "Instalação de mod: não foi possível encontrar o nome da pasta adequado para " "o modpack $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalação: Tipo de arquivo \"$1\" não suportado ou corrompido" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalação: arquivo: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Incapaz de encontrar um mod ou modpack válido" @@ -1113,10 +1112,6 @@ msgstr "Iluminação suave" msgid "Texturing:" msgstr "Texturização:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Para habilitar os sombreadores é necessário usar o driver OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tone mapping" @@ -1149,7 +1144,7 @@ msgstr "Líquidos com ondas" msgid "Waving Plants" msgstr "Plantas balançam" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Erro de conexão (tempo excedido)." @@ -1178,7 +1173,8 @@ msgid "Connection error (timed out?)" msgstr "Erro de conexão (tempo excedido?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Não foi possível localizar ou carregar jogo \"" #: src/client/clientlauncher.cpp @@ -1251,6 +1247,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "Nome do servidor: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ocorreu um erro:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Avanço automático para frente desabilitado" @@ -1259,6 +1265,23 @@ msgstr "Avanço automático para frente desabilitado" msgid "Automatic forward enabled" msgstr "Avanço automático para frente habilitado" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Limites de bloco" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Atualização da camera desabilitada" @@ -1267,6 +1290,10 @@ msgstr "Atualização da camera desabilitada" msgid "Camera update enabled" msgstr "Atualização da camera habilitada" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Alterar a senha" @@ -1279,6 +1306,11 @@ msgstr "Modo cinemático desabilitado" msgid "Cinematic mode enabled" msgstr "Modo cinemático habilitado" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Mods de Cliente Local" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Scripting de cliente está desabilitado" @@ -1287,6 +1319,10 @@ msgstr "Scripting de cliente está desabilitado" msgid "Connecting to server..." msgstr "Conectando ao servidor..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continuar" @@ -1324,6 +1360,11 @@ msgstr "" "- Roda do mouse: selecionar item\n" "- %s: bate-papo\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Criando o cliente..." @@ -1530,6 +1571,21 @@ msgstr "Som desmutado" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Distancia de visualização alterado pra %d" @@ -1862,6 +1918,15 @@ msgstr "Minimapa em modo de superfície, Zoom %dx" msgid "Minimap in texture mode" msgstr "Minimapa em modo de textura" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Falha ao baixar $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "As senhas não correspondem!" @@ -1870,7 +1935,7 @@ msgstr "As senhas não correspondem!" msgid "Register and Join" msgstr "Registrar e entrar" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2066,7 +2131,8 @@ msgid "Muted" msgstr "Mutado" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volume do som: " #. ~ Imperative, as in "Enter/type in text". @@ -2330,6 +2396,10 @@ msgstr "" "Ajustar configuração de dpi (profundidade de cor) para sua tela (apenas para " "quem não usa X11/Android) Ex para telas 4K." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2628,6 +2698,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Limite de mensagem de tempo de comando de bate-papo" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Comandos de Chat" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Tamanho da fonte do chat" @@ -2661,8 +2736,9 @@ msgid "Chat toggle key" msgstr "Tecla comutadora de chat" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Comandos de Chat" +#, fuzzy +msgid "Chat weblinks" +msgstr "Conversa mostrada" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2680,6 +2756,12 @@ msgstr "Tecla para modo cinematográfico" msgid "Clean transparent textures" msgstr "Limpe as texturas transparentes" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Cliente" @@ -2769,6 +2851,36 @@ msgstr "" msgid "Command key" msgstr "Tecla de Comando" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Nível de compressão ZLib a ser usada ao salvar mapblocks no disco.\n" +"-1 - Nível de compressão padrão do Zlib\n" +"0 - Nenhuma compressão; o mais rápido\n" +"9 - Melhor compressão; o mais devagar\n" +"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " +"normal)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Nível de compressão ZLib a ser usada ao mandar mapblocks para o cliente.\n" +"-1 - Nível de compressão padrão do Zlib\n" +"0 - Nenhuma compressão; o mais rápido\n" +"9 - Melhor compressão; o mais devagar\n" +"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " +"normal)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Vidro conectado" @@ -2867,9 +2979,10 @@ msgid "Crosshair alpha" msgstr "Alpha do cursor" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Alpha do cursor (o quanto ele é opaco, níveis entre 0 e 255).\n" "Também controla a cor da cruz do objeto" @@ -2951,9 +3064,10 @@ msgid "Default stack size" msgstr "Tamanho padrão de stack" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Define a qualidade de filtragem de sombreamento\n" @@ -3086,6 +3200,10 @@ msgstr "Habilitar Anti-Hack" msgid "Disallow empty passwords" msgstr "Não permitir logar sem senha" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domínio do servidor, para ser mostrado na lista de servidores." @@ -3135,8 +3253,20 @@ msgstr "" "Esse suporte é experimental e a API pode mudar." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Ativa filtragem de poisson disk.\n" +"Quando em true usa o poisson disk para fazer \"sombras suaves\". Caso " +"contrário usa filtragem PCF." + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Ativa sombras coloridas.\n" @@ -3167,16 +3297,6 @@ msgstr "Habilitar Mod Security (Segurança nos mods)" msgid "Enable players getting damage and dying." msgstr "Permitir que os jogadores possam sofrer dano e morrer." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Ativa filtragem de poisson disk.\n" -"Quando em true usa o poisson disk para fazer \"sombras suaves\". Caso " -"contrário usa filtragem PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Habilitar entrada de comandos aleatórios (apenas usado para testes)." @@ -3600,12 +3720,12 @@ msgid "" "to maintain active objects up to this distance in the direction the\n" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" -"De quão longe clientes sabem sobre objetos declarados em mapblocks (16 nós)." -"\n" +"De quão longe clientes sabem sobre objetos declarados em mapblocks (16 " +"nós).\n" "\n" "Configurando isto maior do que o alcançe de bloco ativo vai fazer com que o " -"sevidor mantenha objetos ativos na distancia que o jogador está olhando.(" -"Isso pode evitar que mobs desapareçam da visão de repente)" +"sevidor mantenha objetos ativos na distancia que o jogador está olhando." +"(Isso pode evitar que mobs desapareçam da visão de repente)" #: src/settings_translation_file.cpp msgid "Full screen" @@ -3632,10 +3752,11 @@ msgid "Global callbacks" msgstr "Chamadas de retorno Globais" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atributos de geração de mapa globais.\n" "No gerador de mapa v6 a flag 'decorations' controla todas as decorações " @@ -4143,7 +4264,8 @@ msgstr "" "Isto é necessário apenas por contribuidores core/builtin" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Monitoração de comandos de chat quando registrados." #: src/settings_translation_file.cpp @@ -4238,7 +4360,8 @@ msgid "Joystick button repetition interval" msgstr "Intervalo de repetição do botão do Joystick" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "\"Zona morta\" do joystick" #: src/settings_translation_file.cpp @@ -5354,7 +5477,8 @@ msgid "Map save interval" msgstr "Intervalo de salvamento de mapa" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Tempo de atualização do mapa" #: src/settings_translation_file.cpp @@ -5678,7 +5802,8 @@ msgid "Mod channels" msgstr "Canais de mod" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Modifica o tamanho dos elementos do hudbar." #: src/settings_translation_file.cpp @@ -5836,9 +5961,10 @@ msgstr "" "'on_generated'. Para muitos usuários, a configuração ideal pode ser '1'." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Número de blocos extras que pode ser carregados por /clearobjects ao mesmo " @@ -5869,6 +5995,10 @@ msgstr "" "formspec está\n" "aberto." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6040,11 +6170,12 @@ msgid "Prometheus listener address" msgstr "Endereço do Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Endereço do Prometheus\n" "Se o minetest for compilado com a opção ENABLE_PROMETHEUS ativa,\n" @@ -6127,8 +6258,8 @@ msgstr "" "coloque 0\n" "para nenhuma restrição:\n" "LOAD_CLIENT_MODS: 1 (desabilita o carregamento de mods de cliente)\n" -"CHAT_MESSAGES: 2 (desabilita a chamada send_chat_message no lado do cliente)" -"\n" +"CHAT_MESSAGES: 2 (desabilita a chamada send_chat_message no lado do " +"cliente)\n" "READ_ITEMDEFS: 4 (desabilita a chamada get_item_def no lado do cliente)\n" "READ_NODEDEFS: 8 (desabilita a chamada get_node_def no lado do cliente)\n" "LOOKUP_NODES_LIMIT: 16 (limita a chamada get_node no lado do cliente para " @@ -6395,22 +6526,11 @@ msgstr "" "significam sombras mais fortes." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Defina o tempo de atualização das sombras.\n" -"Valores mais baixos significam que sombras e mapa atualizam mais rápido, mas " -"consume mais recursos.\n" -"Valor mínimo 0.001 segundos e valor máximo 0.2 segundos" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Defina o tamanho do raio de sombras suaves.\n" "Valores mais baixos significam sombras mais nítidas e valores altos sombras " @@ -6418,10 +6538,11 @@ msgstr "" "Valor mínimo 1.0 e valor máximo 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Defina a inclinação da órbita do Sol/Lua em graus\n" "Valor 0 significa sem inclinação/ órbita vertical.\n" @@ -6534,7 +6655,8 @@ msgstr "" "É necessário reiniciar após alterar isso." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Mostrar plano de fundo da nametag por padrão" #: src/settings_translation_file.cpp @@ -6660,6 +6782,14 @@ msgstr "" "Note que mods e games talvez definam explicitamente um tamanho para certos " "(ou todos) os itens." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6794,10 +6924,11 @@ msgid "Texture path" msgstr "Diretorio da textura" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Tamanho da textura em que o mapa de sombras será renderizado em.\n" "Deve ser um múltiplo de dois.\n" @@ -6825,7 +6956,8 @@ msgid "The URL for the content repository" msgstr "A url para o repositório de conteúdo" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "A zona morta do joystick" #: src/settings_translation_file.cpp @@ -6917,9 +7049,10 @@ msgstr "" "Shaders são suportados por OpenGL (somente desktop) e OGLES2 (experimental)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "A sensibilidade dos eixos do joystick para movimentar o frustum de exibição " "no jogo." @@ -7120,8 +7253,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Usar filtragem bilinear ao dimensionamento de texturas." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7332,6 +7466,11 @@ msgstr "Comprimento de balanço da água" msgid "Waving plants" msgstr "Balanço das plantas" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Cor da caixa de seleção" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7361,7 +7500,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7390,8 +7529,9 @@ msgstr "" "Se desativado, fontes de bitmap e de vetores XML são usadas em seu lugar." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Se os planos de fundo das nametags devem ser mostradas por padrão.\n" @@ -7554,36 +7694,6 @@ msgstr "Nível Y de terreno inferior e solo oceânico." msgid "Y-level of seabed." msgstr "Nível Y do fundo do mar." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Nível de compressão ZLib a ser usada ao salvar mapblocks no disco.\n" -"-1 - Nível de compressão padrão do Zlib\n" -"0 - Nenhuma compressão; o mais rápido\n" -"9 - Melhor compressão; o mais devagar\n" -"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " -"normal)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Nível de compressão ZLib a ser usada ao mandar mapblocks para o cliente.\n" -"-1 - Nível de compressão padrão do Zlib\n" -"0 - Nenhuma compressão; o mais rápido\n" -"9 - Melhor compressão; o mais devagar\n" -"(níveis 1-3 usam método \"rápido\" do Zlib, enquanto que 4-9 usam método " -"normal)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Tempo limite de download de arquivo via cURL" @@ -7788,6 +7898,9 @@ msgstr "limite paralelo de cURL" #~ msgid "IPv6 support." #~ msgstr "Suporte a IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalação: arquivo: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Profundidade da lava" @@ -7891,6 +8004,17 @@ msgstr "limite paralelo de cURL" #~ msgid "Select Package File:" #~ msgstr "Selecionar o arquivo do pacote:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Defina o tempo de atualização das sombras.\n" +#~ "Valores mais baixos significam que sombras e mapa atualizam mais rápido, " +#~ "mas consume mais recursos.\n" +#~ "Valor mínimo 0.001 segundos e valor máximo 0.2 segundos" + #~ msgid "Shadow limit" #~ msgstr "Limite de mapblock" @@ -7919,6 +8043,9 @@ msgstr "limite paralelo de cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Esta fonte será usada para determinados idiomas." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Para habilitar os sombreadores é necessário usar o driver OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Alternar modo de câmera cinemática" @@ -7958,5 +8085,8 @@ msgstr "limite paralelo de cURL" #~ msgid "Yes" #~ msgstr "Sim" +#~ msgid "You died." +#~ msgstr "Você morreu." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/ro/minetest.po b/po/ro/minetest.po index 9e5bf6e4d..4de3ad6b9 100644 --- a/po/ro/minetest.po +++ b/po/ro/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Romanian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-07-25 23:36+0000\n" "Last-Translator: Nicolae Crefelean \n" "Language-Team: Romanian ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Comandă indisponibilă: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "A apărut o eroare într-un script Lua:" @@ -296,6 +297,11 @@ msgstr "Instalează $1" msgid "Install missing dependencies" msgstr "Instalează dependințele opționale" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Instalare: tipul de fișier neacceptat „$ 1” sau arhiva ruptă" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -626,7 +632,8 @@ msgid "Offset" msgstr "Decalaj" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistență" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -738,14 +745,6 @@ msgstr "" "Instalare Mod: nu se poate găsi nume de folder potrivit pentru pachetul de " "moduri $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Instalare: tipul de fișier neacceptat „$ 1” sau arhiva ruptă" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Instalare: fișier: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Nu se poate găsi un mod sau un pachet de moduri valid" @@ -1113,10 +1112,6 @@ msgstr "Lumină fină" msgid "Texturing:" msgstr "Texturare:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Pentru a permite shadere OpenGL trebuie să fie folosite." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Mapare ton" @@ -1149,7 +1144,7 @@ msgstr "Fluturarea lichidelor" msgid "Waving Plants" msgstr "Plante legănătoare" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Conexiunea a expirat." @@ -1178,7 +1173,8 @@ msgid "Connection error (timed out?)" msgstr "Eroare de conexiune (timeout?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Nu se poate găsi sau încărca jocul \"" #: src/client/clientlauncher.cpp @@ -1250,6 +1246,16 @@ msgstr "- Jucător vs jucător: " msgid "- Server Name: " msgstr "- Numele serverului: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "A apărut o eroare:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Redirecționare automată dezactivată" @@ -1258,6 +1264,22 @@ msgstr "Redirecționare automată dezactivată" msgid "Automatic forward enabled" msgstr "Redirecționare automată activată" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Actualizarea camerei este dezactivată" @@ -1266,6 +1288,10 @@ msgstr "Actualizarea camerei este dezactivată" msgid "Camera update enabled" msgstr "Actualizarea camerei este activată" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Schimbă Parola" @@ -1278,6 +1304,11 @@ msgstr "Modul cinematografic este dezactivat" msgid "Cinematic mode enabled" msgstr "Modul cinematografic activat" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Modare la client" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Scripturile din partea clientului sunt dezactivate" @@ -1286,6 +1317,10 @@ msgstr "Scripturile din partea clientului sunt dezactivate" msgid "Connecting to server..." msgstr "Se conectează la server..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Continuă" @@ -1323,6 +1358,11 @@ msgstr "" "- Roata mausului: selectare obiect\n" "- %s: chat\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Se creează clientul..." @@ -1530,6 +1570,21 @@ msgstr "Sunet activat" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Intervalul de vizualizare s-a modificat la %d" @@ -1862,6 +1917,15 @@ msgstr "Mini hartă în modul de suprafață, Zoom %dx" msgid "Minimap in texture mode" msgstr "Mini hartă în modul de textură" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Nu s-a putut descărca $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Parolele nu se potrivesc!" @@ -1870,7 +1934,7 @@ msgstr "Parolele nu se potrivesc!" msgid "Register and Join" msgstr "Înregistrează-te și Alătură-te" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2065,7 +2129,8 @@ msgid "Muted" msgstr "Amuțit" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Volum sunet: " #. ~ Imperative, as in "Enter/type in text". @@ -2326,6 +2391,10 @@ msgstr "" "Ajustați configurația dpi pe ecran (numai pentru x11/Android), de exemplu " "pentru ecrane 4k." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2627,6 +2696,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Pragul de lansare a mesajului de chat" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Comenzi de chat" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Dimensiunea fontului din chat" @@ -2660,8 +2734,9 @@ msgid "Chat toggle key" msgstr "Cheia de comutare a chatului" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Comenzi de chat" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chat afișat" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2679,6 +2754,12 @@ msgstr "Tasta modului cinematografic" msgid "Clean transparent textures" msgstr "Texturi transparente curate" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Client" @@ -2765,6 +2846,22 @@ msgstr "" msgid "Command key" msgstr "Tasta de comandă" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Sticla conectată" @@ -2856,7 +2953,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2933,8 +3030,8 @@ msgstr "Dimensiunea implicită a stivei" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3052,6 +3149,10 @@ msgstr "Dezactivează anticheatul" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3098,7 +3199,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3126,13 +3234,6 @@ msgstr "Activați securitatea modului" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3525,7 +3626,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3957,7 +4058,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4041,7 +4142,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4870,7 +4971,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5163,7 +5264,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5295,7 +5396,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5319,6 +5420,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5460,9 +5565,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5755,26 +5860,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5866,7 +5963,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5972,6 +6069,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6082,7 +6187,7 @@ msgstr "Calea texturii" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6100,7 +6205,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6169,7 +6274,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6332,7 +6437,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6515,6 +6620,10 @@ msgstr "Lungirea undei lichide" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6536,7 +6645,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6551,7 +6660,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6677,24 +6786,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6777,6 +6868,9 @@ msgstr "" #~ msgid "Generate Normal Maps" #~ msgstr "Generați Hărți Normale" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Instalare: fișier: \"$1\"" + #~ msgid "Main" #~ msgstr "Principal" @@ -6829,6 +6923,9 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Începeți Jucător singur" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Pentru a permite shadere OpenGL trebuie să fie folosite." + #, fuzzy #~ msgid "Toggle Cinematic" #~ msgstr "Intră pe rapid" @@ -6839,5 +6936,8 @@ msgstr "" #~ msgid "Yes" #~ msgstr "Da" +#~ msgid "You died." +#~ msgstr "Ai murit." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/ru/minetest.po b/po/ru/minetest.po index ff9aff663..7cdc31e6e 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-07-21 17:34+0000\n" "Last-Translator: Чтабс \n" "Language-Team: Russian ' to get more information, or '.help all' to list everything." msgstr "" -"Используйте '.help ' для получения дополнительной информации, или " -"'.help all' для перечисления всего списка." +"Используйте '.help ' для получения дополнительной информации, или '." +"help all' для перечисления всего списка." #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -94,6 +90,11 @@ msgstr "[all | <команда>]" msgid "OK" msgstr "ОК" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Команда недоступна: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Произошла ошибка в скрипте Lua:" @@ -296,6 +297,12 @@ msgstr "Установить $1" msgid "Install missing dependencies" msgstr "Установить недостающие зависимости" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"Установка мода: неподдерживаемый тип файла или повреждённый архив \"$1\"" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -626,7 +633,8 @@ msgid "Offset" msgstr "Смещение" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Персистенция" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -737,15 +745,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Установка мода: не удаётся найти подходящей каталог для пакета модов «$1»" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"Установка мода: неподдерживаемый тип файла или повреждённый архив \"$1\"" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Установка мода: файл \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1113,10 +1112,6 @@ msgstr "Мягкое освещение" msgid "Texturing:" msgstr "Текстурирование:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Для включения шейдеров необходим драйвер OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Тональное отображение" @@ -1149,7 +1144,7 @@ msgstr "Волнистые жидкости" msgid "Waving Plants" msgstr "Покачивание растений" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Тайм-аут соединения." @@ -1178,7 +1173,8 @@ msgid "Connection error (timed out?)" msgstr "Ошибка соединения (тайм-аут?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Невозможно найти или загрузить игру \"" #: src/client/clientlauncher.cpp @@ -1250,6 +1246,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Имя сервера: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Произошла ошибка:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Автобег отключён" @@ -1258,6 +1264,23 @@ msgstr "Автобег отключён" msgid "Automatic forward enabled" msgstr "Автобег включён" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Границы блока" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Обновление камеры выключено" @@ -1266,6 +1289,10 @@ msgstr "Обновление камеры выключено" msgid "Camera update enabled" msgstr "Обновление камеры включено" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Изменить пароль" @@ -1278,6 +1305,11 @@ msgstr "Режим кино отключён" msgid "Cinematic mode enabled" msgstr "Режим кино включён" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Моддинг клиента" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Клиентские моды отключены" @@ -1286,6 +1318,10 @@ msgstr "Клиентские моды отключены" msgid "Connecting to server..." msgstr "Подключение к серверу..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Продолжить" @@ -1323,6 +1359,11 @@ msgstr "" "- Колесо мыши: выбор предмета\n" "- %s: чат\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Создание клиента..." @@ -1530,6 +1571,21 @@ msgstr "Звук включён" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Установлена видимость %dм" @@ -1862,6 +1918,15 @@ msgstr "Миникарта в поверхностном режиме, увел msgid "Minimap in texture mode" msgstr "Минимальный размер текстуры" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Не удалось загрузить $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Пароли не совпадают!" @@ -1870,7 +1935,7 @@ msgstr "Пароли не совпадают!" msgid "Register and Join" msgstr "Регистрация и подключение" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2065,7 +2130,8 @@ msgid "Muted" msgstr "Заглушить" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Громкость звука: " #. ~ Imperative, as in "Enter/type in text". @@ -2321,6 +2387,10 @@ msgstr "" "Настройка dpi (плотности точек на дюйм) для вашего экрана (не для X11, " "только для Android). Например для мониторов с разрешением в 4k." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2619,6 +2689,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Порог cообщения команды чата" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Команды в чате" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Размер шрифта чата" @@ -2652,8 +2727,9 @@ msgid "Chat toggle key" msgstr "Кнопка переключения чата" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Команды в чате" +#, fuzzy +msgid "Chat weblinks" +msgstr "Отображение чата включено" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2671,6 +2747,12 @@ msgstr "Кнопка переключения в кинематографиче msgid "Clean transparent textures" msgstr "Очистить прозрачные текстуры" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Клиент" @@ -2759,6 +2841,35 @@ msgstr "" msgid "Command key" msgstr "Команда" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Уровень сжатия ZLib для использования при сохранении картографических блоков " +"на диске.\n" +"-1 - уровень сжатия Zlib по умолчанию\n" +"0 - без компрессора, самый быстрый\n" +"9 - лучшее сжатие, самое медленное\n" +"(уровни 1-3 используют \"быстрый\" метод Zlib, 4-9 используют обычный метод)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Уровень сжатия ZLib для использования при отправке блоков карты клиенту.\n" +"-1 - уровень сжатия Zlib по умолчанию\n" +"0 - без компрессора, самый быстрый\n" +"9 - лучшее сжатие, самое медленное\n" +"(уровни 1-3 используют \"быстрый\" метод Zlib, 4-9 используют обычный метод)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Стёкла без швов" @@ -2858,9 +2969,10 @@ msgid "Crosshair alpha" msgstr "Прозрачность перекрестия" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Прозрачность прицела (от 0 (прозрачно) до 255 (непрозрачно)).\n" "Также контролирует цвет перекрестия объекта" @@ -2942,9 +3054,10 @@ msgid "Default stack size" msgstr "Размер стака по умолчанию" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Определите качество фильтрации теней\n" @@ -3078,6 +3191,10 @@ msgstr "Отключить анти-чит" msgid "Disallow empty passwords" msgstr "Запретить пустой пароль" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Доменное имя сервера, отображаемое в списке серверов." @@ -3127,8 +3244,20 @@ msgstr "" "Эта поддержка является экспериментальной и API может измениться." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Включить фильтрацию диска Пуассона.\n" +"По истине использует диск Пуассона для создания \"мягких теней\". Иначе " +"используется фильтрация PCF." + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Включить цветные тени.\n" @@ -3158,16 +3287,6 @@ msgstr "Включить защиту модов" msgid "Enable players getting damage and dying." msgstr "Включить получение игроками урона и их смерть." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Включить фильтрацию диска Пуассона.\n" -"По истине использует диск Пуассона для создания \"мягких теней\". Иначе " -"используется фильтрация PCF." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Включить случайный ввод пользователя (только для тестов)." @@ -3617,10 +3736,11 @@ msgid "Global callbacks" msgstr "Глобальные обратные вызовы" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Глобальные атрибуты генерации карт.\n" "В картогенераторе v6 флаг «decorations» не влияет на деревья и траву\n" @@ -4116,7 +4236,8 @@ msgstr "" "Обычно это нужно тем, кто пишет код для движка" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Выполнять команды в чате при регистрации." #: src/settings_translation_file.cpp @@ -4206,7 +4327,8 @@ msgid "Joystick button repetition interval" msgstr "Интервал повторного клика кнопкой джойстика" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Мертвая зона джойстика" #: src/settings_translation_file.cpp @@ -5321,7 +5443,8 @@ msgid "Map save interval" msgstr "Интервал сохранения карты" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Время обновления карты" #: src/settings_translation_file.cpp @@ -5646,7 +5769,8 @@ msgid "Mod channels" msgstr "Каналы модификаций" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Изменяет размер элементов игрового интерфейса." #: src/settings_translation_file.cpp @@ -5799,9 +5923,10 @@ msgstr "" "Для большинства пользователей наилучшим значением может быть '1'." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Количество дополнительных блоков, которые могут сразу быть загружены /" @@ -5832,6 +5957,10 @@ msgstr "" "Открыть меню паузы при потере окном фокуса. Не срабатывает, если какая-либо\n" "форма уже открыта." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6003,11 +6132,12 @@ msgid "Prometheus listener address" msgstr "адрес приёмника Prometheus" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Адрес приёмника Prometheus.\n" "Если мой тест скомпилирован с включенной опцией ENABLE_PROMETHEUS,\n" @@ -6356,32 +6486,22 @@ msgstr "" "более тёмные тени." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Установить время обновления теней.\n" -"Меньшее значение означает, что тени и карта обновляются быстрее, но это " -"потребляет больше ресурсов.\n" -"Минимальное значение 0,001 секунды, максимальное 0,2 секунды" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Установить размер радиуса мягкой тени.\n" "Меньшие значения означают более резкие тени, большие значения более мягкие.\n" "Минимальное значение 1,0 и максимальное 10,0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Установка наклона орбиты Солнца/Луны в градусах.\n" "Значение 0 означает отсутствие наклона / вертикальную орбиту.\n" @@ -6494,7 +6614,8 @@ msgstr "" "Требует перезапуска после изменения." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Отображать фон у табличек с именами" #: src/settings_translation_file.cpp @@ -6623,6 +6744,14 @@ msgstr "" "Обратите внимание, что моды или игры могут явно установить стек для " "определенных (или всех) предметов." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6757,10 +6886,11 @@ msgid "Texture path" msgstr "Путь к текстурам" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Размер текстуры для рендеринга карты теней.\n" "Это должно быть число, кратное двум.\n" @@ -6789,7 +6919,8 @@ msgid "The URL for the content repository" msgstr "Адрес сетевого репозитория" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "Мертвая зона джойстика" #: src/settings_translation_file.cpp @@ -6884,9 +7015,10 @@ msgstr "" "(экспериментальный)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Чувствительность осей джойстика для перемещения\n" "взгляда в игре." @@ -7088,8 +7220,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Использовать билинейную фильтрацию для масштабирования текстур." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7298,6 +7431,11 @@ msgstr "Длина волн на воде" msgid "Waving plants" msgstr "Покачивание растений" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Цвет выделения" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7323,12 +7461,13 @@ msgstr "" "правильно поддерживают загрузку текстур с аппаратного обеспечения." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7359,8 +7498,9 @@ msgstr "" "Если отключено, используются растровые и XML-векторные изображения." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Должен ли отображаться фон бирки по умолчанию.\n" @@ -7520,35 +7660,6 @@ msgstr "Y-уровень нижнего рельефа и морского дн msgid "Y-level of seabed." msgstr "Y-уровень морского дна." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Уровень сжатия ZLib для использования при сохранении картографических блоков " -"на диске.\n" -"-1 - уровень сжатия Zlib по умолчанию\n" -"0 - без компрессора, самый быстрый\n" -"9 - лучшее сжатие, самое медленное\n" -"(уровни 1-3 используют \"быстрый\" метод Zlib, 4-9 используют обычный метод)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Уровень сжатия ZLib для использования при отправке блоков карты клиенту.\n" -"-1 - уровень сжатия Zlib по умолчанию\n" -"0 - без компрессора, самый быстрый\n" -"9 - лучшее сжатие, самое медленное\n" -"(уровни 1-3 используют \"быстрый\" метод Zlib, 4-9 используют обычный метод)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "Тайм-аут загрузки файла с помощью cURL" @@ -7760,6 +7871,9 @@ msgstr "Лимит одновременных соединений cURL" #~ msgid "IPv6 support." #~ msgstr "Поддержка IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Установка мода: файл \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Глубина лавы" @@ -7863,6 +7977,17 @@ msgstr "Лимит одновременных соединений cURL" #~ msgid "Select Package File:" #~ msgstr "Выберите файл дополнения:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Установить время обновления теней.\n" +#~ "Меньшее значение означает, что тени и карта обновляются быстрее, но это " +#~ "потребляет больше ресурсов.\n" +#~ "Минимальное значение 0,001 секунды, максимальное 0,2 секунды" + #~ msgid "Shadow limit" #~ msgstr "Лимит теней" @@ -7891,6 +8016,9 @@ msgstr "Лимит одновременных соединений cURL" #~ msgid "This font will be used for certain languages." #~ msgstr "Этот шрифт будет использован для некоторых языков." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Для включения шейдеров необходим драйвер OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Кино" @@ -7927,5 +8055,8 @@ msgstr "Лимит одновременных соединений cURL" #~ msgid "Yes" #~ msgstr "Да" +#~ msgid "You died." +#~ msgstr "Ты умер." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/sk/minetest.po b/po/sk/minetest.po index 93af9ee63..6dd0652e3 100644 --- a/po/sk/minetest.po +++ b/po/sk/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-08-13 21:34+0000\n" "Last-Translator: Marian \n" "Language-Team: Slovak ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Príkaz nie je k dispozícií: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Chyba v lua skripte:" @@ -300,6 +301,11 @@ msgstr "Inštaluj $1" msgid "Install missing dependencies" msgstr "Nainštaluj chýbajúce závislosti" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Inštalácia: Nepodporovaný typ súboru \"$1\", alebo poškodený archív" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -631,7 +637,8 @@ msgid "Offset" msgstr "Ofset" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Vytrvalosť" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -744,14 +751,6 @@ msgstr "" "Inštalácia rozšírenia: Nie je možné nájsť vhodný adresár pre balíček " "rozšírení $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Inštalácia: Nepodporovaný typ súboru \"$1\", alebo poškodený archív" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Inštalácia: súbor: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Nie je možné nájsť platné rozšírenie, alebo balíček rozšírení" @@ -1119,10 +1118,6 @@ msgstr "Jemné osvetlenie" msgid "Texturing:" msgstr "Textúrovanie:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Aby mohli byť aktivované shadery, musí sa použiť OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Optim. farieb" @@ -1155,7 +1150,7 @@ msgstr "Vlniace sa kvapaliny" msgid "Waving Plants" msgstr "Vlniace sa rastliny" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Časový limit pripojenia vypršal." @@ -1184,7 +1179,8 @@ msgid "Connection error (timed out?)" msgstr "Chyba spojenia (časový limit?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Nie je možné nájsť alebo nahrať hru \"" #: src/client/clientlauncher.cpp @@ -1256,6 +1252,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Meno servera: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Chyba:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatický pohyb vpred je zakázaný" @@ -1264,6 +1270,23 @@ msgstr "Automatický pohyb vpred je zakázaný" msgid "Automatic forward enabled" msgstr "Automatický pohyb vpred je aktivovaný" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Hranice bloku" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Aktualizácia kamery je zakázaná" @@ -1272,6 +1295,10 @@ msgstr "Aktualizácia kamery je zakázaná" msgid "Camera update enabled" msgstr "Aktualizácia kamery je aktivovaná" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Zmeniť heslo" @@ -1284,6 +1311,11 @@ msgstr "Filmový režim je zakázaný" msgid "Cinematic mode enabled" msgstr "Filmový režim je aktivovaný" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Úpravy (modding) cez klienta" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Skriptovanie na strane klienta je zakázané" @@ -1292,6 +1324,10 @@ msgstr "Skriptovanie na strane klienta je zakázané" msgid "Connecting to server..." msgstr "Pripájam sa k serveru..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Pokračuj" @@ -1329,6 +1365,11 @@ msgstr "" "- Myš koliesko: zvoľ si vec\n" "- %s: komunikácia\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Vytváram klienta..." @@ -1536,6 +1577,21 @@ msgstr "Zvuk je obnovený" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Dohľadnosť je zmenená na %d" @@ -1868,6 +1924,15 @@ msgstr "Minimapa v povrchovom režime, priblíženie x%d" msgid "Minimap in texture mode" msgstr "Minimapa v móde textúry" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Nepodarilo sa stiahnuť $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Hesla sa nezhodujú!" @@ -1876,7 +1941,7 @@ msgstr "Hesla sa nezhodujú!" msgid "Register and Join" msgstr "Registrovať a pripojiť sa" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2070,7 +2135,8 @@ msgid "Muted" msgstr "Zvuk stlmený" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Hlasitosť: " #. ~ Imperative, as in "Enter/type in text". @@ -2322,6 +2388,10 @@ msgstr "" "Nastav dpi konfiguráciu podľa svojej obrazovky (nie pre X11/len pre Android) " "napr. pre 4k obrazovky." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2616,6 +2686,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Časové obmedzenie príkazu v správe" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Komunikačné príkazy" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Veľkosť komunikačného písma" @@ -2649,8 +2724,9 @@ msgid "Chat toggle key" msgstr "Tlačidlo Prepnutie komunikácie" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Komunikačné príkazy" +#, fuzzy +msgid "Chat weblinks" +msgstr "Komunikačná konzola je zobrazená" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2668,6 +2744,12 @@ msgstr "Tlačidlo Filmový režim" msgid "Clean transparent textures" msgstr "Vyčisti priehľadné textúry" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2755,6 +2837,36 @@ msgstr "" msgid "Command key" msgstr "Tlačidlo Príkaz" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Úroveň kompresie ZLib používaný pri ukladaní blokov mapy na disk.\n" +"-1 - predvolená úroveň kompresie Zlib\n" +"0 - bez kompresie, najrýchlejšie\n" +"9 - najlepšia kompresia, najpomalšie\n" +"(pre úrovne 1-3 používa Zlib \"rýchlu\" metódu, pre 4-9 používa normálnu " +"metódu)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Úroveň kompresie ZLib používaný pri posielaní blokov mapy klientom.\n" +"-1 - predvolená úroveň kompresie Zlib\n" +"0 - bez kompresie, najrýchlejšie\n" +"9 - najlepšia kompresia, najpomalšie\n" +"(pre úrovne 1-3 používa Zlib \"rýchlu\" metódu, pre 4-9 používa normálnu " +"metódu)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Prepojené sklo" @@ -2853,9 +2965,10 @@ msgid "Crosshair alpha" msgstr "Priehľadnosť zameriavača" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Priehľadnosť zameriavača (nepriehľadnosť, medzi 0 a 255).\n" "Tiež nastavuje farbu objektu zameriavača" @@ -2937,9 +3050,10 @@ msgid "Default stack size" msgstr "Štandardná veľkosť kôpky" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Definuje kvalitu filtrovania tieňov\n" @@ -3068,6 +3182,10 @@ msgstr "Zakáž anticheat" msgid "Disallow empty passwords" msgstr "Zakáž prázdne heslá" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Doménové meno servera, ktoré bude zobrazené v zozname serverov." @@ -3117,8 +3235,20 @@ msgstr "" "Táto podpora je experimentálna a API sa môže zmeniť." #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Aktivuj poisson disk filtrovanie.\n" +"Ak je aktivované použije poisson disk pre vytvorenie \"mäkkých tieňov\". V " +"opačnom prípade sa použije PCF filtrovanie." + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Aktivuj farebné tiene. \n" @@ -3148,16 +3278,6 @@ msgstr "Aktivuj rozšírenie pre zabezpečenie" msgid "Enable players getting damage and dying." msgstr "Aktivuje aby mohol byť hráč zranený a zomrieť." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Aktivuj poisson disk filtrovanie.\n" -"Ak je aktivované použije poisson disk pre vytvorenie \"mäkkých tieňov\". V " -"opačnom prípade sa použije PCF filtrovanie." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Aktivuje náhodný užívateľský vstup (používa sa len pre testovanie)." @@ -3614,10 +3734,11 @@ msgid "Global callbacks" msgstr "Globálne odozvy" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globálne atribúty pre generovanie máp.\n" "V generátore v6 príznak 'decorations' riadi všetky dekorácie okrem stromov\n" @@ -4114,7 +4235,8 @@ msgstr "" "Toto je obvykle potrebné len pre core/builtin prispievateľov" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Inštrumentuj komunikačné príkazy pri registrácií." #: src/settings_translation_file.cpp @@ -4204,7 +4326,8 @@ msgid "Joystick button repetition interval" msgstr "Interval opakovania tlačidla joysticku" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Mŕtva zóna joysticku" #: src/settings_translation_file.cpp @@ -5320,7 +5443,8 @@ msgid "Map save interval" msgstr "Interval ukladania mapy" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Aktualizačný čas mapy" #: src/settings_translation_file.cpp @@ -5643,7 +5767,8 @@ msgid "Mod channels" msgstr "Komunikačné kanály rozšírení" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Upraví veľkosť elementov v užívateľskom rozhraní." #: src/settings_translation_file.cpp @@ -5795,9 +5920,10 @@ msgstr "" "v 'on_generated'. Pre mnohých hráčov môže byť optimálne nastavenie '1'." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Počet extra blokov, ktoré môžu byť naraz nahrané pomocou /clearobjects.\n" @@ -5826,6 +5952,10 @@ msgstr "" "Otvorí menu pozastavenia, ak aktuálne okno hry nie je vybrané.\n" "Nepozastaví sa ak je otvorený formspec." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5995,11 +6125,12 @@ msgid "Prometheus listener address" msgstr "Odpočúvacia adresa Promethea" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Odpočúvacia adresa Promethea.\n" "Ak je minetest skompilovaný s nastaveným ENABLE_PROMETHEUS,\n" @@ -6343,32 +6474,22 @@ msgstr "" "tiene." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Nastav aktualizačný čas tieňov.\n" -"Nižšia hodnota znamená. že sa mapa a tiene aktualizujú rýchlejšie, ale " -"spotrebuje sa viac zdrojov.\n" -"Minimálna hodnota je 0.001 sekúnd max. hodnota je 0.2 sekundy" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Nastav dosah mäkkých tieňov.\n" "Nižšia hodnota znamená ostrejšie a vyššia jemnejšie tiene.\n" "Minimálna hodnota je 1.0 a max. hodnota je 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Nastav sklon orbity slnka/mesiaca v stupňoch\n" "Hodnota 0 znamená bez vertikálneho sklonu orbity.\n" @@ -6438,7 +6559,8 @@ msgstr "Kvalita filtra pre tiene" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "Maximálna vzdialenosť v kockách, pre mapu tieňov na renderovanie tieňov" +msgstr "" +"Maximálna vzdialenosť v kockách, pre mapu tieňov na renderovanie tieňov" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" @@ -6481,7 +6603,8 @@ msgstr "" "Po zmene je požadovaný reštart." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Pri mene zobraz štandardne pozadie" #: src/settings_translation_file.cpp @@ -6606,6 +6729,14 @@ msgstr "" "Ber v úvahu, že rozšírenia, alebo hry môžu explicitne nastaviť veľkosť pre " "určité (alebo všetky) typy." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6738,10 +6869,11 @@ msgid "Texture path" msgstr "Cesta k textúram" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Veľkosť textúry pre renderovanie mapy tieňov.\n" "Toto musí byť mocnina dvoch.\n" @@ -6768,7 +6900,8 @@ msgid "The URL for the content repository" msgstr "Webová adresa (URL) k úložisku doplnkov" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "Mŕtva zóna joysticku" #: src/settings_translation_file.cpp @@ -6859,9 +6992,10 @@ msgstr "" "Shadery sú podporované v OpenGL (len pre desktop) a v OGLES2 (experimentálne)" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Citlivosť osí joysticku pre pohyb\n" "otáčania pohľadu v hre." @@ -7055,8 +7189,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Použi bilineárne filtrovanie pri zmene mierky textúr." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7261,6 +7396,11 @@ msgstr "Vlnová dĺžka vlniacich sa tekutín" msgid "Waving plants" msgstr "Vlniace sa rastliny" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Farba obrysu bloku" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7284,12 +7424,13 @@ msgstr "" "nepodporujú sťahovanie textúr z hardvéru." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7316,8 +7457,9 @@ msgstr "" "Ak je zakázané, budú použité bitmapové a XML vektorové písma." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Či sa má pri mene zobraziť pozadie.\n" @@ -7471,36 +7613,6 @@ msgstr "Y-úroveň dolnej časti terénu a morského dna." msgid "Y-level of seabed." msgstr "Y-úroveň morského dna." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Úroveň kompresie ZLib používaný pri ukladaní blokov mapy na disk.\n" -"-1 - predvolená úroveň kompresie Zlib\n" -"0 - bez kompresie, najrýchlejšie\n" -"9 - najlepšia kompresia, najpomalšie\n" -"(pre úrovne 1-3 používa Zlib \"rýchlu\" metódu, pre 4-9 používa normálnu " -"metódu)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Úroveň kompresie ZLib používaný pri posielaní blokov mapy klientom.\n" -"-1 - predvolená úroveň kompresie Zlib\n" -"0 - bez kompresie, najrýchlejšie\n" -"9 - najlepšia kompresia, najpomalšie\n" -"(pre úrovne 1-3 používa Zlib \"rýchlu\" metódu, pre 4-9 používa normálnu " -"metódu)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL časový rámec sťahovania súborov" @@ -7637,6 +7749,9 @@ msgstr "Paralelný limit cURL" #~ msgid "High-precision FPU" #~ msgstr "Vysoko-presné FPU" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Inštalácia: súbor: \"$1\"" + #~ msgid "Main" #~ msgstr "Hlavné" @@ -7711,6 +7826,17 @@ msgstr "Paralelný limit cURL" #~ msgid "Reset singleplayer world" #~ msgstr "Vynuluj svet jedného hráča" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Nastav aktualizačný čas tieňov.\n" +#~ "Nižšia hodnota znamená. že sa mapa a tiene aktualizujú rýchlejšie, ale " +#~ "spotrebuje sa viac zdrojov.\n" +#~ "Minimálna hodnota je 0.001 sekúnd max. hodnota je 0.2 sekundy" + #~ msgid "" #~ "Shadow offset (in pixels) of the fallback font. If 0, then shadow will " #~ "not be drawn." @@ -7730,11 +7856,17 @@ msgstr "Paralelný limit cURL" #~ msgid "Strength of generated normalmaps." #~ msgstr "Intenzita generovaných normálových máp." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Aby mohli byť aktivované shadery, musí sa použiť OpenGL." + #~ msgid "View" #~ msgstr "Zobraziť" #~ msgid "Yes" #~ msgstr "Áno" +#~ msgid "You died." +#~ msgstr "Zomrel si." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/sl/minetest.po b/po/sl/minetest.po index c39836dd0..daa2278b0 100644 --- a/po/sl/minetest.po +++ b/po/sl/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Slovenian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-09-30 19:41+0000\n" "Last-Translator: Iztok Bajcar \n" "Language-Team: Slovenian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Prišlo je do napake v Lua skripti:" @@ -308,6 +307,11 @@ msgstr "Namesti" msgid "Install missing dependencies" msgstr "Izbirne možnosti:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Nameščanje: nepodprta vrsta datoteke \"$1\" oziroma okvarjen arhiv" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -652,7 +656,8 @@ msgid "Offset" msgstr "Odmik" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Trajanje" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -765,14 +770,6 @@ msgstr "" "Namestitev prilagoditve: ni mogoče najti ustreznega imena mape za paket " "prilagoditev $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Nameščanje: nepodprta vrsta datoteke \"$1\" oziroma okvarjen arhiv" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Namesti: datoteka: »$1«" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Ni mogoče najti ustrezne prilagoditve ali paketa prilagoditev" @@ -1149,10 +1146,6 @@ msgstr "Gladko osvetljevanje" msgid "Texturing:" msgstr "Tekstura:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Za prikaz senčenja mora biti omogočen gonilnik OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Barvno preslikavanje" @@ -1186,7 +1179,7 @@ msgstr "Valovanje tekočin" msgid "Waving Plants" msgstr "Pokaži nihanje rastlin" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Povezava je potekla." @@ -1215,7 +1208,8 @@ msgid "Connection error (timed out?)" msgstr "Napaka povezave (ali je dejanje časovno preteklo?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Ni mogoče najti oziroma naložiti igre »" #: src/client/clientlauncher.cpp @@ -1289,6 +1283,16 @@ msgstr "– Igra PvP: " msgid "- Server Name: " msgstr "– Ime strežnika: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Prišlo je do napake:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Samodejno premikanje naprej je onemogočeno" @@ -1297,6 +1301,22 @@ msgstr "Samodejno premikanje naprej je onemogočeno" msgid "Automatic forward enabled" msgstr "Samodejno premikanje naprej je omogočeno" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Posodabljanje kamere je onemogočeno" @@ -1305,6 +1325,10 @@ msgstr "Posodabljanje kamere je onemogočeno" msgid "Camera update enabled" msgstr "Posodabljanje kamere je omogočeno" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Spremeni geslo" @@ -1317,6 +1341,10 @@ msgstr "Filmski način(Cinematic mode) je onemogočen" msgid "Cinematic mode enabled" msgstr "Filmski način (Cinematic mode) je omogočen" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Skriptiranje s strani odjemalca je onemogočeno" @@ -1325,6 +1353,10 @@ msgstr "Skriptiranje s strani odjemalca je onemogočeno" msgid "Connecting to server..." msgstr "Poteka povezovanje s strežnikom ..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Nadaljuj" @@ -1362,6 +1394,11 @@ msgstr "" "- kolesce miške: izbere orodje iz zaloge\n" "- %s 9: omogoči klepet\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Ustvarjanje odjemalca ..." @@ -1575,6 +1612,21 @@ msgstr "Zvok ni utišan" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Doseg pogleda je nastavljena na %d %%" @@ -1916,6 +1968,15 @@ msgstr "Zemljevid (minimap) je v načinu prikazovanja površja, Zoom x1" msgid "Minimap in texture mode" msgstr "Zemljevid (minimap) je v načinu prikazovanja površja, Zoom x1" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Prenos $1 je spodletel" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Gesli se ne ujemata!" @@ -1924,7 +1985,7 @@ msgstr "Gesli se ne ujemata!" msgid "Register and Join" msgstr "Registriraj in prijavi se" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2120,7 +2181,8 @@ msgid "Muted" msgstr "Utišano" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Glasnost zvoka: " #. ~ Imperative, as in "Enter/type in text". @@ -2371,6 +2433,10 @@ msgstr "" "Nastavite dpi konfiguracijo (gostoto prikaza) svojemu ekranu (samo za ne-X11/" "Android), npr. za 4K ekrane." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2669,6 +2735,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Ukaz" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2705,8 +2776,9 @@ msgid "Chat toggle key" msgstr "Tipka za preklop na klepet" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "Pogovor je prikazan" #: src/settings_translation_file.cpp #, fuzzy @@ -2726,6 +2798,12 @@ msgstr "Tipka za filmski način" msgid "Clean transparent textures" msgstr "Čiste prosojne teksture" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Odjemalec" @@ -2802,6 +2880,22 @@ msgstr "" msgid "Command key" msgstr "Tipka Command" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Poveži steklo" @@ -2896,7 +2990,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2976,8 +3070,8 @@ msgstr "Privzeta igra" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3099,6 +3193,10 @@ msgstr "Onemogoči preprečevanje goljufanja" msgid "Disallow empty passwords" msgstr "Ne dovoli praznih gesel" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Ime domene strežnika, ki se prikaže na seznamu strežnikov." @@ -3145,7 +3243,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3174,13 +3279,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "Omogoči, da igralci dobijo poškodbo in umrejo." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3584,7 +3682,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -4035,7 +4133,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4120,7 +4218,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4949,7 +5047,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5243,7 +5341,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5375,7 +5473,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5399,6 +5497,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5543,9 +5645,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5839,26 +5941,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5949,7 +6043,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6061,6 +6155,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6171,7 +6273,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6189,7 +6291,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6258,7 +6360,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6421,7 +6523,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6608,6 +6710,10 @@ msgstr "Pokaži valovanje vode" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6629,7 +6735,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6644,7 +6750,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6770,24 +6876,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6873,6 +6961,9 @@ msgstr "" #~ msgid "IPv6 support." #~ msgstr "IPv6 podpora." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Namesti: datoteka: »$1«" + #~ msgid "Main" #~ msgstr "Glavni" @@ -6928,6 +7019,9 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Zaženi samostojno igro" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Za prikaz senčenja mora biti omogočen gonilnik OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Preklopi gladek pogled" @@ -6938,5 +7032,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "Da" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Umrl si" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/sr_Cyrl/minetest.po b/po/sr_Cyrl/minetest.po index 86ab30434..ef8653763 100644 --- a/po/sr_Cyrl/minetest.po +++ b/po/sr_Cyrl/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Serbian (cyrillic) (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-07-20 14:34+0000\n" "Last-Translator: Stefan Vukanovic \n" "Language-Team: Serbian (cyrillic) ]" msgid "OK" msgstr "У реду" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Команда није доступна: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Догодила се грешка у Lua скрипти:" @@ -303,6 +304,13 @@ msgstr "Инсталирај $1" msgid "Install missing dependencies" msgstr "Инсталирај недостајуће зависности" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"\n" +"Инсталирај мод: неподржан тип фајла \"$1\" или оштећена архива" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -637,7 +645,8 @@ msgid "Offset" msgstr "Помак" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Упорност" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -756,18 +765,6 @@ msgstr "" "Инсталирај мод: не може се пронаћи одговарајуће име за фасциклу мод-паковања " "$1" -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"\n" -"Инсталирај мод: неподржан тип фајла \"$1\" или оштећена архива" - -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: file: \"$1\"" -msgstr "Инсталирај мод: фајл: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua #, fuzzy msgid "Unable to find a valid mod or modpack" @@ -1161,10 +1158,6 @@ msgstr "Глатко осветљење" msgid "Texturing:" msgstr "Филтери за текстуре:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Да би се омогућили шејдери мора се користити OpenGL драјвер." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Тонско Мапирање" @@ -1199,7 +1192,7 @@ msgstr "Лепршајуће лишће" msgid "Waving Plants" msgstr "Лепршајуће биљке" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Конекцији је истекло време." @@ -1228,7 +1221,8 @@ msgid "Connection error (timed out?)" msgstr "Грешка у конекцији (истекло време?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Немогу пронаћи или учитати игру \"" #: src/client/clientlauncher.cpp @@ -1301,6 +1295,16 @@ msgstr "- Играч против играча: " msgid "- Server Name: " msgstr "- Име сервера: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Догодила се грешка:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1311,6 +1315,22 @@ msgstr "Кључ за синематски мод" msgid "Automatic forward enabled" msgstr "Кључ за синематски мод" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Camera update disabled" @@ -1321,6 +1341,10 @@ msgstr "Кључ за укључивање/искључивање освежав msgid "Camera update enabled" msgstr "Кључ за укључивање/искључивање освежавања камере" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Промени шифру" @@ -1335,6 +1359,11 @@ msgstr "Кључ за синематски мод" msgid "Cinematic mode enabled" msgstr "Кључ за синематски мод" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Модификовање клијента" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1343,6 +1372,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Повезујем се на сервер..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Настави" @@ -1380,6 +1413,11 @@ msgstr "" "- Точкић миша: одабирање ставке\n" "- %s: причање\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Правим клијента..." @@ -1594,6 +1632,21 @@ msgid "Sound unmuted" msgstr "Јачина звука" #: src/client/game.cpp +#, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp #, fuzzy, c-format msgid "Viewing range changed to %d" msgstr "Јачина звука промењена на %d%%" @@ -1930,6 +1983,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Неуспело преузимање $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Шифре се не поклапају!" @@ -1938,7 +2000,7 @@ msgstr "Шифре се не поклапају!" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2137,7 +2199,8 @@ msgid "Muted" msgstr "Изкључи звук" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Јачина звука: " #. ~ Imperative, as in "Enter/type in text". @@ -2369,6 +2432,10 @@ msgstr "" "Подеси dpi конфигурацију за твој екран (само за оне који нису X11/Android) " "нпр. за 4k екране." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2651,6 +2718,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Граница пећине" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Чат команде" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2688,8 +2760,8 @@ msgid "Chat toggle key" msgstr "Кључ за укључивање чета" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Чат команде" +msgid "Chat weblinks" +msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2707,6 +2779,12 @@ msgstr "Кључ за синематски мод" msgid "Clean transparent textures" msgstr "Очисти провидне трекстуре" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Клијент" @@ -2791,6 +2869,22 @@ msgstr "" msgid "Command key" msgstr "Кључ за команду" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Споји стакло" @@ -2888,7 +2982,7 @@ msgstr "Провидност нишана" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "Провидност нишана (видљивост, између 0 и 255)." #: src/settings_translation_file.cpp @@ -2969,8 +3063,8 @@ msgstr "Уобичајена игра" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3089,6 +3183,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -3136,7 +3234,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3164,13 +3269,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3567,7 +3665,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -4003,7 +4101,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4087,7 +4185,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4917,7 +5015,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5216,7 +5314,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5348,7 +5446,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5372,6 +5470,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5517,9 +5619,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5834,26 +5936,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5945,7 +6039,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6052,6 +6146,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6162,7 +6264,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6180,7 +6282,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6249,7 +6351,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6414,7 +6516,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6601,6 +6703,10 @@ msgstr "Веслајућа вода" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6622,7 +6728,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6637,7 +6743,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6765,24 +6871,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6858,6 +6946,10 @@ msgstr "" #~ msgid "Downloading and installing $1, please wait..." #~ msgstr "Преузима се $1, молим вас сачекајте..." +#, fuzzy +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Инсталирај мод: фајл: \"$1\"" + #~ msgid "Main" #~ msgstr "Главно" @@ -6901,11 +6993,17 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Започни игру за једног играча" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Да би се омогућили шејдери мора се користити OpenGL драјвер." + #~ msgid "Toggle Cinematic" #~ msgstr "Укључи/Искључи Cinematic мод" #~ msgid "Yes" #~ msgstr "Да" +#~ msgid "You died." +#~ msgstr "Умро/ла си." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/sr_Latn/minetest.po b/po/sr_Latn/minetest.po index b5d6c235d..87a06a01b 100644 --- a/po/sr_Latn/minetest.po +++ b/po/sr_Latn/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-08-15 23:32+0000\n" "Last-Translator: Milos \n" "Language-Team: Serbian (latin) " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Doslo je do greske u Lua skripti:" @@ -302,6 +301,10 @@ msgstr "Instalirati" msgid "Install missing dependencies" msgstr "Neobavezne zavisnosti:" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -630,7 +633,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -740,14 +743,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1115,10 +1110,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1151,7 +1142,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1180,7 +1171,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1250,6 +1241,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Doslo je do greske:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1258,6 +1259,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1266,6 +1283,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1278,6 +1299,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1286,6 +1311,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1309,6 +1338,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1503,6 +1537,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1835,6 +1884,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Neuspelo preuzimanje $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1843,7 +1901,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2030,7 +2088,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2237,6 +2296,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2503,6 +2566,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2536,7 +2603,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2555,6 +2622,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2630,6 +2703,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2721,7 +2810,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2798,8 +2887,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2917,6 +3006,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2963,7 +3056,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2991,13 +3091,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3390,7 +3483,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3822,7 +3915,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3906,7 +3999,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4735,7 +4828,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5028,7 +5121,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5160,7 +5253,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5184,6 +5277,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5324,9 +5421,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5619,26 +5716,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5729,7 +5818,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5834,6 +5923,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5944,7 +6041,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5962,7 +6059,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6031,7 +6128,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6194,7 +6291,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6377,6 +6474,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6398,7 +6499,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6413,7 +6514,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6539,24 +6640,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6572,5 +6655,9 @@ msgstr "" #~ msgid "View" #~ msgstr "Pogled" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Umro/la si." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/sv/minetest.po b/po/sv/minetest.po index 02c14cf08..f5a6f9523 100644 --- a/po/sv/minetest.po +++ b/po/sv/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Swedish (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-11-27 18:30+0000\n" "Last-Translator: ROllerozxa \n" "Language-Team: Swedish ]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Kommando inte tillgängligt: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Ett fel uppstod i ett Lua-skript:" @@ -295,6 +296,11 @@ msgstr "Installera $1" msgid "Install missing dependencies" msgstr "Installera saknade beroenden" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Installation: ej stöd för filtyp \"$1\" eller trasigt arkiv" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +630,8 @@ msgid "Offset" msgstr "Förskjutning" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Persistens" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -734,14 +741,6 @@ msgstr "Moddinstallation: Lyckades ej hitta riktiga moddnamnet för: $1" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "Moddinstallation: lyckas ej hitta lämpligt mappnamn för moddpaket $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Installation: ej stöd för filtyp \"$1\" eller trasigt arkiv" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Installera: fil: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Lyckades ej hitta lämplig modd eller moddpaket" @@ -1108,10 +1107,6 @@ msgstr "Utjämnad Belysning" msgid "Texturing:" msgstr "Texturering:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "För att aktivera shaders behöver OpenGL-drivern användas." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Tonmappning" @@ -1144,7 +1139,7 @@ msgstr "Vajande Vätskor" msgid "Waving Plants" msgstr "Vajande Växter" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Anslutningens tidsgräns nådd." @@ -1173,7 +1168,8 @@ msgid "Connection error (timed out?)" msgstr "Anslutningsfel (tidsgräns nådd?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Kunde inte hitta eller ladda spel \"" #: src/client/clientlauncher.cpp @@ -1245,6 +1241,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- Servernamn: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Ett fel uppstod:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Automatiskt framåt inaktiverad" @@ -1253,6 +1259,23 @@ msgstr "Automatiskt framåt inaktiverad" msgid "Automatic forward enabled" msgstr "Automatiskt framåt aktiverat" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Blockgränser" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kamerauppdatering inaktiverad" @@ -1261,6 +1284,10 @@ msgstr "Kamerauppdatering inaktiverad" msgid "Camera update enabled" msgstr "Kamerauppdatering aktiverat" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Ändra Lösenord" @@ -1273,6 +1300,11 @@ msgstr "Filmiskt länge inaktiverad" msgid "Cinematic mode enabled" msgstr "Filmiskt länge aktiverat" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Klientmoddande" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Klientsidiga skriptar är inaktiverade" @@ -1281,6 +1313,10 @@ msgstr "Klientsidiga skriptar är inaktiverade" msgid "Connecting to server..." msgstr "Ansluter till server..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Fortsätt" @@ -1318,6 +1354,11 @@ msgstr "" "- Mushjul: välj föremål\n" "- %s: chatt\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Skapar klient..." @@ -1525,6 +1566,21 @@ msgstr "Ljudvolym" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Visningsområde ändrad till %d" @@ -1857,6 +1913,15 @@ msgstr "Minimapp i ytläge, Zoom x%d" msgid "Minimap in texture mode" msgstr "Minimapp i texturläge" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Misslyckades ladda ner $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Lösenorden matchar inte!" @@ -1865,7 +1930,7 @@ msgstr "Lösenorden matchar inte!" msgid "Register and Join" msgstr "Registrera och Anslut" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -1876,8 +1941,8 @@ msgid "" msgstr "" "Du håller på att ansluta till den här servern med namnet \"%s\" för den " "första gången.\n" -"Om du fortsätter kommer ett nytt konto med dina uppgifter skapas på servern." -"\n" +"Om du fortsätter kommer ett nytt konto med dina uppgifter skapas på " +"servern.\n" "Var snäll och fyll i ditt lösenord och tryck på 'Registrera och Anslut' för " "att bekräfta kontoregistrering, eller tryck \"Avbryt\" för att avbryta." @@ -2060,7 +2125,8 @@ msgid "Muted" msgstr "Tyst" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Ljudvolym: " #. ~ Imperative, as in "Enter/type in text". @@ -2295,6 +2361,10 @@ msgstr "" "Justera dpi-konfigurationen för din skärm (endast icke X11/Android) t.ex. " "för 4k-skärmar." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2573,6 +2643,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Chattkommando tidströskel" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Chattkommandon" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Chattens typsnittsstorlek" @@ -2606,8 +2681,9 @@ msgid "Chat toggle key" msgstr "Chattangent Av/På" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Chattkommandon" +#, fuzzy +msgid "Chat weblinks" +msgstr "Chatt visas" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2625,6 +2701,12 @@ msgstr "Tangent för filmiskt länge" msgid "Clean transparent textures" msgstr "Rena transparenta texturer" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Klient" @@ -2706,6 +2788,22 @@ msgstr "" msgid "Command key" msgstr "Kommandotangent" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Sammankoppla glas" @@ -2799,9 +2897,10 @@ msgid "Crosshair alpha" msgstr "Hårkorsalpha" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Hårkorsalpha (ogenomskinlighet, mellan 0 och 255).\n" "Kontrollerar även objektets hårkorsfärg" @@ -2882,8 +2981,8 @@ msgstr "Standardstapelstorlekar" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3010,6 +3109,10 @@ msgstr "Inaktivera antifusk" msgid "Disallow empty passwords" msgstr "Tillåt inte tomma lösenord" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Domännamn för server, att visas i serverlistan." @@ -3056,7 +3159,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3084,13 +3194,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3483,7 +3586,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3915,7 +4018,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3999,7 +4102,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4828,7 +4931,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5125,7 +5228,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5257,7 +5360,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5281,6 +5384,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5424,9 +5531,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5740,26 +5847,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5851,7 +5950,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5958,6 +6057,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6069,7 +6176,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6087,7 +6194,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6156,7 +6263,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6320,7 +6427,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6507,6 +6614,10 @@ msgstr "Böljande Vatten" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6528,7 +6639,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6543,7 +6654,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6672,24 +6783,6 @@ msgstr "Y-nivå av lägre terräng och sjöbottnar." msgid "Y-level of seabed." msgstr "Y-nivå av sjöbotten." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL filhemladdning tidsgräns" @@ -6787,6 +6880,9 @@ msgstr "cURL parallellgräns" #~ msgid "Downloading and installing $1, please wait..." #~ msgstr "Laddar ner och installerar $1, vänligen vänta..." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Installera: fil: \"$1\"" + #~ msgid "Main" #~ msgstr "Huvudsaklig" @@ -6830,6 +6926,9 @@ msgstr "cURL parallellgräns" #~ msgid "Start Singleplayer" #~ msgstr "Starta Enspelarläge" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "För att aktivera shaders behöver OpenGL-drivern användas." + #~ msgid "Toggle Cinematic" #~ msgstr "Slå av/på Filmisk Kamera" @@ -6839,5 +6938,8 @@ msgstr "cURL parallellgräns" #~ msgid "Yes" #~ msgstr "Ja" +#~ msgid "You died." +#~ msgstr "Du dog." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/sw/minetest.po b/po/sw/minetest.po index e5ef46096..b8277d619 100644 --- a/po/sw/minetest.po +++ b/po/sw/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Swahili (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Swahili " +msgstr "" + #: builtin/fstk/ui.lua #, fuzzy msgid "An error occurred in a Lua script:" @@ -314,6 +313,13 @@ msgstr "Sakinisha" msgid "Install missing dependencies" msgstr "Inaanzilisha fundo" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "" +"\n" +"Sakinisha Moduli: filetype visivyotegemezwa \"$1\" au nyaraka kuvunjwa" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -665,7 +671,7 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua #, fuzzy -msgid "Persistance" +msgid "Persistence" msgstr "Umbali wa uhamisho wa mchezaji" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -785,18 +791,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Sakinisha Moduli: haiwezi kupata foldername ya kufaa kwa ajili ya modpack $1" -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" -"\n" -"Sakinisha Moduli: filetype visivyotegemezwa \"$1\" au nyaraka kuvunjwa" - -#: builtin/mainmenu/pkgmgr.lua -#, fuzzy -msgid "Install: file: \"$1\"" -msgstr "Sakinisha Moduli: faili: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua #, fuzzy msgid "Unable to find a valid mod or modpack" @@ -1192,10 +1186,6 @@ msgstr "Taa laini" msgid "Texturing:" msgstr "Texturing:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Ili kuwezesha shaders OpenGL ya kiendeshaji inahitaji kutumiwa." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Ramani ya toni" @@ -1230,7 +1220,7 @@ msgstr "Waving fundo" msgid "Waving Plants" msgstr "Waving mimea" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Muunganisho limekatika." @@ -1259,7 +1249,8 @@ msgid "Connection error (timed out?)" msgstr "Kosa la muunganisho (wakati muafaka?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Haikuweza kupata wala kupakia mchezo\"" #: src/client/clientlauncher.cpp @@ -1338,6 +1329,16 @@ msgstr "" msgid "- Server Name: " msgstr "Jina la seva" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Kosa limetokea:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Automatic forward disabled" @@ -1348,6 +1349,22 @@ msgstr "Ufunguo wa mbele" msgid "Automatic forward enabled" msgstr "Ufunguo wa mbele" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp #, fuzzy msgid "Camera update disabled" @@ -1358,6 +1375,10 @@ msgstr "Kibonye guro Usasishaji wa kamera" msgid "Camera update enabled" msgstr "Kibonye guro Usasishaji wa kamera" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Badilisha nywila" @@ -1372,6 +1393,11 @@ msgstr "Hali ya cinematic ufunguo" msgid "Cinematic mode enabled" msgstr "Hali ya cinematic ufunguo" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Mteja" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1380,6 +1406,10 @@ msgstr "" msgid "Connecting to server..." msgstr "Inaunganisha seva..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Kuendelea" @@ -1414,6 +1444,11 @@ msgstr "" "- kipanya gurudumu: Teua kipengee\n" "- T: mazungumzo\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Inaunda mteja..." @@ -1631,6 +1666,21 @@ msgid "Sound unmuted" msgstr "Kiwango cha sauti" #: src/client/game.cpp +#, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp #, fuzzy, c-format msgid "Viewing range changed to %d" msgstr "Kuonyesha masafa" @@ -1976,6 +2026,15 @@ msgstr "" msgid "Minimap in texture mode" msgstr "Unamu wa kima cha chini cha ukubwa wa Vichujio" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Imeshindwa kusakinisha $1 hadi $2" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "MaNenotambulishi hayaoani!" @@ -1984,7 +2043,7 @@ msgstr "MaNenotambulishi hayaoani!" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2185,7 +2244,8 @@ msgid "Muted" msgstr "Ufunguo wa matumizi" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Kiwango sauti:" #. ~ Imperative, as in "Enter/type in text". @@ -2420,6 +2480,10 @@ msgstr "" "Rekebisha usakinishaji wa dpi kwenye kiwamba chako (yasiyo X11/Android tu) " "mfano kwa 4 k skrini." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2710,6 +2774,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Kilele cha mlima gorofa Mwandishi ramani" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Amri majadiliano" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2747,8 +2816,8 @@ msgid "Chat toggle key" msgstr "Kibonye guro wa mazungumzo" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Amri majadiliano" +msgid "Chat weblinks" +msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2766,6 +2835,12 @@ msgstr "Hali ya cinematic ufunguo" msgid "Clean transparent textures" msgstr "Unamu angavu safi" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Mteja" @@ -2849,6 +2924,22 @@ msgstr "" msgid "Command key" msgstr "Ufunguo wa amri" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Kuunganisha kioo" @@ -2948,7 +3039,7 @@ msgstr "Crosshair Alfa" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "Crosshair Alfa (opaqueness kati ya 0 na 255)." #: src/settings_translation_file.cpp @@ -3031,8 +3122,8 @@ msgstr "Chaguo-msingi mchezo" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3156,6 +3247,10 @@ msgstr "Lemaza anticheat" msgid "Disallow empty passwords" msgstr "Usiruhusu nywila tupu" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Kikoa jina la seva, kuonyeshwa katika serverlist ya." @@ -3204,7 +3299,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3234,13 +3336,6 @@ msgstr "Kuwezesha usalama Moduli" msgid "Enable players getting damage and dying." msgstr "Wezesha wachezaji kupata uharibifu na kufa." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Wezesha ingizo la mtumiaji nasibu (kutumika tu kwa ajili ya kupima)." @@ -3684,7 +3779,7 @@ msgstr "Callbacks ya kimataifa" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Ramani ya kimataifa kizazi sifa.\n" "Katika Mwandishi ramani v6 bendera ya 'kienyeji' udhibiti mapambo yote " @@ -4178,7 +4273,8 @@ msgstr "" "Hii ni kawaida tu zinazohitajika kwa wachangiaji wa msingi/builtin" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Chombo chatcommands kwenye usajili." #: src/settings_translation_file.cpp @@ -4268,7 +4364,7 @@ msgid "Joystick button repetition interval" msgstr "Kifimbocheza kitufe marudio nafasi" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -5427,7 +5523,7 @@ msgstr "Ramani hifadhi muda" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "Pata sasishi kioevu" #: src/settings_translation_file.cpp @@ -5757,7 +5853,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5900,9 +5996,10 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "Idadi ya vitalu ziada ambayo inaweza kupakiwa na /clearobjects mara moja.\n" @@ -5929,6 +6026,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -6082,9 +6183,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6424,26 +6525,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6557,7 +6650,7 @@ msgstr "" "Kuanza upya inahitajika baada ya kubadilisha hii." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6673,6 +6766,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6797,7 +6898,7 @@ msgstr "Njia ya unamu" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6815,7 +6916,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6890,9 +6991,10 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "Unyeti wa Jira kifimbocheza kwa kuzunguka Mwoneko ingame frustum." #: src/settings_translation_file.cpp @@ -7080,7 +7182,7 @@ msgstr "Tumia uchujaji bilinear wakati upimaji unamu." #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7285,6 +7387,11 @@ msgstr "Waving maji urefu" msgid "Waving plants" msgstr "Waving mimea" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Uteuzi kikasha rangi" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7314,7 +7421,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7339,7 +7446,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7476,24 +7583,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL muda wa upakuzi wa faili" @@ -7654,6 +7743,10 @@ msgstr "cURL kikomo sambamba" #~ msgid "IPv6 support." #~ msgstr "IPv6 msaada." +#, fuzzy +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Sakinisha Moduli: faili: \"$1\"" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "Kina ya pango kubwa" @@ -7759,6 +7852,9 @@ msgstr "cURL kikomo sambamba" #~ msgid "This font will be used for certain languages." #~ msgstr "Fonti hii itatumika kwa lugha fulani." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Ili kuwezesha shaders OpenGL ya kiendeshaji inahitaji kutumiwa." + #~ msgid "Toggle Cinematic" #~ msgstr "Togoa Cinematic" @@ -7775,5 +7871,9 @@ msgstr "cURL kikomo sambamba" #~ msgid "Yes" #~ msgstr "Ndio" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Umekufa." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/th/minetest.po b/po/th/minetest.po index 54e3dfa35..f33078298 100644 --- a/po/th/minetest.po +++ b/po/th/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Thai (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-07-08 08:41+0000\n" "Last-Translator: TZTarzan \n" "Language-Team: Thai " +msgstr "" + #: builtin/fstk/ui.lua #, fuzzy msgid "An error occurred in a Lua script:" @@ -309,6 +308,11 @@ msgstr "ติดตั้ง" msgid "Install missing dependencies" msgstr "ไฟล์อ้างอิงที่เลือกใช้ได้:" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "ติดตั้ง: ชนิดแฟ้มที่ไม่สนับสนุน \"$1\" หรือเกิดการเสียหาย" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -643,7 +647,8 @@ msgid "Offset" msgstr "ค่าชดเชย" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "ความมีอยู่" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -753,14 +758,6 @@ msgstr "ติดตั้ง Mod: ไม่สามารถค้นหาช msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "ติดตั้ง Mod: ไม่สามารถค้นหาชื่อของโฟลเดอร์ที่เหมาะสมสำหรับ modpack $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "ติดตั้ง: ชนิดแฟ้มที่ไม่สนับสนุน \"$1\" หรือเกิดการเสียหาย" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "ติดตั้ง: ไฟล์: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "ค้าหาไม่พบ mod หรือ modpack" @@ -1137,10 +1134,6 @@ msgstr "โคมไฟเรียบ" msgid "Texturing:" msgstr "พื้นผิว:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "การเปิดใช้งานต้องมีโปรแกรมควบคุม OpenGL ของ shaders ใช้." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "การแมปโทน" @@ -1175,7 +1168,7 @@ msgstr "โบกโหนด" msgid "Waving Plants" msgstr "โบกไม้" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "การเชื่อมต่อหมดเวลา" @@ -1204,7 +1197,8 @@ msgid "Connection error (timed out?)" msgstr "ข้อผิดพลาดการเชื่อมต่อ (หมดเวลา?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "ไม่สามารถค้นหา หรือโหลดเกม" #: src/client/clientlauncher.cpp @@ -1278,6 +1272,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "-ชื่อเซิร์ฟเวอร์: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "เกิดข้อผิดพลาดขึ้น:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "ปิดใช้งานการส่งต่ออัตโนมัติ" @@ -1286,6 +1290,22 @@ msgstr "ปิดใช้งานการส่งต่ออัตโนม msgid "Automatic forward enabled" msgstr "เปิดใช้งานการส่งต่ออัตโนมัติ" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "ปิดใช้งานการอัปเดตกล้องแล้ว" @@ -1294,6 +1314,10 @@ msgstr "ปิดใช้งานการอัปเดตกล้องแ msgid "Camera update enabled" msgstr "เปิดใช้งานการอัปเดตกล้องแล้ว" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "เปลี่ยนรหัสผ่าน" @@ -1306,6 +1330,11 @@ msgstr "ปิดใช้งานโหมดภาพยนตร์" msgid "Cinematic mode enabled" msgstr "เปิดใช้งานโหมดภาพยนตร์" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "ลูกค้า modding" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "การเขียนสคริปต์ฝั่งไคลเอ็นต์ถูกปิดใช้งาน" @@ -1314,6 +1343,10 @@ msgstr "การเขียนสคริปต์ฝั่งไคลเอ msgid "Connecting to server..." msgstr "เชื่อมต่อกับเซิร์ฟเวอร์" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "ต่อ" @@ -1351,6 +1384,11 @@ msgstr "" "- ล้อเมาส์: เลือกรายการ\n" "-%s9: แชท\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "สร้างไคลเอ็นต์..." @@ -1559,6 +1597,21 @@ msgstr "เสียงไม่ปิดเสียง" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "ช่วงการดูเปลี่ยนเป็น %d1" @@ -1916,6 +1969,15 @@ msgstr "แผนที่ย่อในโหมด surface, ซูม x1" msgid "Minimap in texture mode" msgstr "ขนาดพื้นผิวขั้นต่ำ" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "ไม่สามารถดาวน์โหลด $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "รหัสผ่านไม่ตรงกับ!" @@ -1924,7 +1986,7 @@ msgstr "รหัสผ่านไม่ตรงกับ!" msgid "Register and Join" msgstr "ลงทะเบียน และเข้าร่วม" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, fuzzy, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2118,7 +2180,8 @@ msgid "Muted" msgstr "เสียง" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "ระดับเสียง " #. ~ Imperative, as in "Enter/type in text". @@ -2348,6 +2411,10 @@ msgstr "" "ปรับการกำหนดค่า dpi ให้กับหน้าจอของคุณ (ไม่ใช่ X11 / Android เท่านั้น) เช่น สำหรับหน้าจอ " "4k." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2627,6 +2694,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "คำสั่ง" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2663,8 +2735,9 @@ msgid "Chat toggle key" msgstr "ปุ่มสลับการแชท" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "" +#, fuzzy +msgid "Chat weblinks" +msgstr "สนทนาแสดง" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2682,6 +2755,12 @@ msgstr "ปุ่มโหมดโรงภาพยนตร์" msgid "Clean transparent textures" msgstr "ทำความสะอาดพื้นผิวโปร่งใส" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "ไคลเอนต์" @@ -2758,6 +2837,22 @@ msgstr "" msgid "Command key" msgstr "คีย์คำสั่ง" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "เชื่อมกระจก" @@ -2852,7 +2947,7 @@ msgstr "Crosshair อัลฟา" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "Crosshair อัลฟา (ความทึบแสงระหว่าง 0 ถึง 255)." #: src/settings_translation_file.cpp @@ -2932,8 +3027,8 @@ msgstr "เกมเริ่มต้น" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3054,6 +3149,10 @@ msgstr "ปิดใช้งาน anticheat" msgid "Disallow empty passwords" msgstr "ไม่อนุญาตรหัสผ่านที่ว่างเปล่า" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "ชื่อโดเมนของเซิร์ฟเวอร์ที่จะแสดงในรายการเซิร์ฟเวอร์." @@ -3102,7 +3201,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3131,13 +3237,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "ช่วยให้ผู้เล่นได้รับความเสียหายและกำลังจะตาย." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "เปิดใช้งานการป้อนข้อมูลผู้ใช้แบบสุ่ม (ใช้สำหรับการทดสอบเท่านั้น)." @@ -3560,7 +3659,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -4007,7 +4106,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4094,7 +4193,7 @@ msgstr "ช่วงเวลาการทำซ้ำปุ่มจอยส #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "ประเภทของจอยสติ๊ก" #: src/settings_translation_file.cpp @@ -5154,7 +5253,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5461,7 +5560,8 @@ msgid "Mod channels" msgstr "ช่องทาง Mod" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "ปรับเปลี่ยนขนาดขององค์ประกอบ Hudbar." #: src/settings_translation_file.cpp @@ -5599,7 +5699,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5623,6 +5723,10 @@ msgid "" "open." msgstr "เปิดเมนูหยุดชั่วคราวเมื่อโฟกัสของหน้าต่างหายไป ไม่หยุดถ้า formspec คือ เปิด." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5772,9 +5876,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6080,26 +6184,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6208,7 +6304,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6323,6 +6419,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp #, fuzzy msgid "" @@ -6437,7 +6541,7 @@ msgstr "เส้นทางพื้นผิว" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6462,7 +6566,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "ตัวระบุของจอยสติ๊กที่จะใช้" #: src/settings_translation_file.cpp @@ -6537,9 +6641,10 @@ msgstr "" "รองรับ shader ในขณะนี้" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "ความไวของแกนจอยสติ๊กสำหรับการเลื่อน\n" "มุมมอง ingame frustum รอบ ๆ." @@ -6723,8 +6828,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "ใช้การกรอง bilinear เมื่อปรับขนาดพื้นผิว" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6920,6 +7026,11 @@ msgstr "โบกมือกันยาว" msgid "Waving plants" msgstr "โบกต้นไม้" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "สีของกล่องที่เลือก" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6949,7 +7060,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6975,7 +7086,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7116,24 +7227,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -7275,6 +7368,9 @@ msgstr "" #~ msgid "Generate normalmaps" #~ msgstr "สร้างแผนที่ปกติ" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "ติดตั้ง: ไฟล์: \"$1\"" + #~ msgid "Lightness sharpness" #~ msgstr "ความคมชัดของแสง" @@ -7383,6 +7479,9 @@ msgstr "" #~ msgid "This font will be used for certain languages." #~ msgstr "แบบอักษรนี้จะใช้สำหรับบางภาษา" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "การเปิดใช้งานต้องมีโปรแกรมควบคุม OpenGL ของ shaders ใช้." + #~ msgid "Toggle Cinematic" #~ msgstr "สลับโรงภาพยนตร์" @@ -7395,5 +7494,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "ใช่" +#, fuzzy +#~ msgid "You died." +#~ msgstr "คุณตายแล้ว" + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/tr/minetest.po b/po/tr/minetest.po index cb74c20a9..0cf7c8f4f 100644 --- a/po/tr/minetest.po +++ b/po/tr/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Turkish (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-08-04 06:32+0000\n" "Last-Translator: Oğuz Ersen \n" "Language-Team: Turkish ' to get more information, or '.help all' to list everything." msgstr "" -"Daha fazla bilgi almak için '.help ' veya her şeyi listelemek için " -"'.help all' kullanın." +"Daha fazla bilgi almak için '.help ' veya her şeyi listelemek için '." +"help all' kullanın." #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -93,6 +89,11 @@ msgstr "[all | ]" msgid "OK" msgstr "Tamam" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "Komut kullanılamıyor: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua betiğinde bir hata oluştu:" @@ -295,6 +296,11 @@ msgstr "$1 kur" msgid "Install missing dependencies" msgstr "Eksik bağımlılıkları kur" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Kur: Desteklenmeyen dosya türü \"$1\" veya bozuk arşiv" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +630,8 @@ msgid "Offset" msgstr "Kaydırma" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Süreklilik" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -734,14 +741,6 @@ msgstr "Mod Kur: $1 için gerçek mod adı bulunamadı" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "Mod Kur:$1 mod paketi için uygun bir klasör adı bulunamadı" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Kur: Desteklenmeyen dosya türü \"$1\" veya bozuk arşiv" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Kur: dosya: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Geçerli bir mod veya mod paketi bulunamadı" @@ -1109,10 +1108,6 @@ msgstr "Yumuşak Aydınlatma" msgid "Texturing:" msgstr "Doku:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "OpenGL sürücüleri seçilmeden gölgelemeler etkinleştirilemez." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Ton Eşleme" @@ -1145,7 +1140,7 @@ msgstr "Dalgalanan Sıvılar" msgid "Waving Plants" msgstr "Dalgalanan Bitkiler" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Bağlantı zaman aşımına uğradı." @@ -1174,7 +1169,8 @@ msgid "Connection error (timed out?)" msgstr "Bağlantı hatası (zaman aşımı?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Oyun bulunamıyor veya yüklenemiyor \"" #: src/client/clientlauncher.cpp @@ -1246,6 +1242,16 @@ msgstr "- Savaş (PvP): " msgid "- Server Name: " msgstr "- Sunucu Adı: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Bir hata oluştu:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Kendiliğinden ileri devre dışı" @@ -1254,6 +1260,23 @@ msgstr "Kendiliğinden ileri devre dışı" msgid "Automatic forward enabled" msgstr "Kendiliğinden ileri etkin" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "Blok sınırları" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Kamera güncelleme devre dışı" @@ -1262,6 +1285,10 @@ msgstr "Kamera güncelleme devre dışı" msgid "Camera update enabled" msgstr "Kamera güncelleme etkin" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Parola değiştir" @@ -1274,6 +1301,11 @@ msgstr "Sinematik kip devre dışı" msgid "Cinematic mode enabled" msgstr "Sinematik kip etkin" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "İstemci modlama" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "İstemci tarafı betik devre dışı" @@ -1282,6 +1314,10 @@ msgstr "İstemci tarafı betik devre dışı" msgid "Connecting to server..." msgstr "Sunucuya bağlanılıyor..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Devam et" @@ -1319,6 +1355,11 @@ msgstr "" "- Fare tekerleği: öge seç\n" "- %s: sohbet\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "İstemci yaratılıyor..." @@ -1525,6 +1566,21 @@ msgstr "Ses açık" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Görüntüleme uzaklığı değişti: %d" @@ -1857,6 +1913,15 @@ msgstr "Yüzey kipinde mini harita, Yakınlaştırma x%d" msgid "Minimap in texture mode" msgstr "Doku kipinde mini harita" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "$1 indirilemedi" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Parolalar eşleşmiyor!" @@ -1865,7 +1930,7 @@ msgstr "Parolalar eşleşmiyor!" msgid "Register and Join" msgstr "Kaydol ve Katıl" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2057,7 +2122,8 @@ msgid "Muted" msgstr "Ses Kısık" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Ses Seviyesi: " #. ~ Imperative, as in "Enter/type in text". @@ -2309,6 +2375,10 @@ msgstr "" "Ekranınızın (yalnızca Android/X11 olmayan) dpi yapılandırmasını ayarlayın " "ör: 4k ekranlar için." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2605,6 +2675,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "Sohbet komutu zaman iletisi eşiği" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Sohbet komutları" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Sohbet yazı tipi boyutu" @@ -2638,8 +2713,9 @@ msgid "Chat toggle key" msgstr "Sohbet açma/kapama tuşu" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Sohbet komutları" +#, fuzzy +msgid "Chat weblinks" +msgstr "Sohbet gösteriliyor" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2657,6 +2733,12 @@ msgstr "Sinematik kip tuşu" msgid "Clean transparent textures" msgstr "Saydam dokuları temizle" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "İstemci" @@ -2744,6 +2826,35 @@ msgstr "" msgid "Command key" msgstr "Komut tuşu" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Harita kütlerini diske kaydederken kullanılacak ZLib sıkıştırma düzeyi.\n" +"-1 - Zlib'in varsayılan sıkıştırma düzeyi\n" +"0 - hiçbir sıkıştırma yok, en hızlı\n" +"9 - en iyi sıkıştırma, en yavaş\n" +"(seviye 1-3, Zlib'in \"hızlı\" , 4-9 sıradan yöntemi kullanır)" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" +"Harita kütlerini istemciye(client) gönderirken kullanılacak ZLib sıkıştırma " +"düzeyi.\n" +"-1 - Zlib'in varsayılan sıkıştırma düzeyi\n" +"0 - hiçbir sıkıştırma yok, en hızlı\n" +"9 - en iyi sıkıştırma, en yavaş\n" +"(seviye 1-3, Zlib'in \"hızlı\" , 4-9 sıradan yöntemi kullanır)" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "Bitişik cam" @@ -2843,9 +2954,10 @@ msgid "Crosshair alpha" msgstr "Artı saydamlığı" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "Artı saydamlığı (solukluk, 0 ile 255 arasında).\n" "Ayrıca nesne artı rengini de denetler" @@ -2927,9 +3039,10 @@ msgid "Default stack size" msgstr "Öntanımlı yığın boyutu" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Gölge filtreleme kalitesini tanımla.\n" @@ -3063,6 +3176,10 @@ msgstr "Hile önleme devre dışı" msgid "Disallow empty passwords" msgstr "Boş parolalara izin verme" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Sunucu listesinde görüntülenecek sunucu alan adı." @@ -3112,8 +3229,20 @@ msgstr "" "Bu destek deneyseldir ve API değişebilir." #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"Poisson disk filtrelemeyi etkinleştir.\n" +"Doğru ise \"yumuşak gölgeler\" yapmak için poisson diski kullanır. Değilse " +"PCF filtreleme kullanır." + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Renkli gölgeleri etkinleştir. \n" @@ -3144,16 +3273,6 @@ msgstr "Mod güvenliğini etkinleştir" msgid "Enable players getting damage and dying." msgstr "Oyuncuların hasar almasını ve ölmesini etkinleştir." -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"Poisson disk filtrelemeyi etkinleştir.\n" -"Doğru ise \"yumuşak gölgeler\" yapmak için poisson diski kullanır. Değilse " -"PCF filtreleme kullanır." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "Rastgele kullanıcı girişini etkinleştir (yalnızca test için)." @@ -3603,10 +3722,11 @@ msgid "Global callbacks" msgstr "Genel geri çağrılar" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Genel harita üretim özellikleri.\n" "Mapgen v6'da 'decorations' bayrağı ağaçlar ve cangıl çimi hariç tüm " @@ -4106,7 +4226,8 @@ msgstr "" "Genellikle bu yalnızca çekirdek/yerleşik katkıda bulunanlar için gereklidir" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "Kayıt sırasında sohbet komutlarını belgele." #: src/settings_translation_file.cpp @@ -4198,7 +4319,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick düğmesi tekrarlama aralığı" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "Joystick ölü bölgesi" #: src/settings_translation_file.cpp @@ -5309,7 +5431,8 @@ msgid "Map save interval" msgstr "Harita kaydetme aralığı" #: src/settings_translation_file.cpp -msgid "Map update time" +#, fuzzy +msgid "Map shadows update frames" msgstr "Harita güncelleme zamanı" #: src/settings_translation_file.cpp @@ -5628,7 +5751,8 @@ msgid "Mod channels" msgstr "Mod kanalları" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "Hudbar öğelerinin boyutunu değiştirir." #: src/settings_translation_file.cpp @@ -5781,9 +5905,10 @@ msgstr "" "Birçok kullanıcı için en iyi ayar '1' olabilir." #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "/clearobjects tarafında tek seferde yüklenebilecek ek blokların sayısı.\n" @@ -5814,6 +5939,10 @@ msgstr "" "Pencere odağı kaybolduğunda duraklat menüsünü aç. Bir formspec açıksa\n" "duraklamaz." +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5979,11 +6108,12 @@ msgid "Prometheus listener address" msgstr "Prometheus dinleyici adresi" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Prometheus dinleyici adresi.\n" "Minetest ENABLE_PROMETHEUS seçeneği etkin olarak derlenmişse,\n" @@ -6331,22 +6461,11 @@ msgstr "" "anlamına gelir." #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"Gölge güncelleme zamanını ayarla.\n" -"Daha düşük değer, gölgeler ve harita güncellemelerinin daha hızlı olması " -"anlamına gelir, ancak daha fazla kaynak tüketir.\n" -"En düşük değer 0,001 saniye, en yüksek değer 0,2 saniyedir" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "Yumuşak gölge yarıçapı boyutunu ayarla.\n" "Daha düşük değerler daha keskin, daha büyük değerler daha yumuşak gölgeler " @@ -6354,10 +6473,11 @@ msgstr "" "En düşük değer 1.0 ve en yüksek değer 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "Güneş/Ay yörüngesinin eğimini derece olarak ayarla\n" "0 değeri, eğim / dikey yörünge olmadığı anlamına gelir.\n" @@ -6469,7 +6589,8 @@ msgstr "" "Bunu değiştirdikten sonra yeniden başlatma gerekir." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "Ad etiketi arka planlarını öntanımlı olarak göster" #: src/settings_translation_file.cpp @@ -6593,6 +6714,14 @@ msgstr "" "Modların veya oyunların belirli (veya tüm) ögeler için açıkça bir yığın " "ayarlayabileceğini unutmayın." +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6724,10 +6853,11 @@ msgid "Texture path" msgstr "Doku konumu" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" "Gölge eşlemenin işleneceği doku boyutu.\n" "Bu, 2'nin bir kuvveti olmalıdır.\n" @@ -6755,7 +6885,8 @@ msgid "The URL for the content repository" msgstr "İçerik deposu için URL" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "Joystick ölü bölgesi" #: src/settings_translation_file.cpp @@ -6847,9 +6978,10 @@ msgstr "" "desteklenmektedir" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "Oyun-içi görünüm frustum'unu hareket ettirirken\n" "joystick eksenlerinin hassasiyeti." @@ -7050,8 +7182,9 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Dokuları boyutlandırırken bilineer filtreleme kullan." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7257,6 +7390,11 @@ msgstr "Dalgalanan sıvılar dalga-boyu" msgid "Waving plants" msgstr "Dalgalanan bitkiler" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "Seçim kutusunu rengi" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7280,12 +7418,13 @@ msgstr "" "sürücüleri için, eski boyutlandırma yöntemini kullan." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7313,8 +7452,9 @@ msgstr "" "Devre dışı kılınırsa, yerine bitmap ve XML vektör yazı tipleri kullanılır." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Ad etiketi arka planlarının öntanımlı olarak gösterilip gösterilmeyileceği.\n" @@ -7376,7 +7516,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "İlk pencere boyutunun genişlik bileşeni. Tam ekran kipinde yok sayılır." +msgstr "" +"İlk pencere boyutunun genişlik bileşeni. Tam ekran kipinde yok sayılır." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7476,35 +7617,6 @@ msgstr "Daha alt arazinin ve göl yatağının Y-seviyesi." msgid "Y-level of seabed." msgstr "Deniz yatağının Y-seviyesi." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Harita kütlerini diske kaydederken kullanılacak ZLib sıkıştırma düzeyi.\n" -"-1 - Zlib'in varsayılan sıkıştırma düzeyi\n" -"0 - hiçbir sıkıştırma yok, en hızlı\n" -"9 - en iyi sıkıştırma, en yavaş\n" -"(seviye 1-3, Zlib'in \"hızlı\" , 4-9 sıradan yöntemi kullanır)" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" -"Harita kütlerini istemciye(client) gönderirken kullanılacak ZLib sıkıştırma " -"düzeyi.\n" -"-1 - Zlib'in varsayılan sıkıştırma düzeyi\n" -"0 - hiçbir sıkıştırma yok, en hızlı\n" -"9 - en iyi sıkıştırma, en yavaş\n" -"(seviye 1-3, Zlib'in \"hızlı\" , 4-9 sıradan yöntemi kullanır)" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL dosya indirme zaman aşımı" @@ -7716,6 +7828,9 @@ msgstr "cURL paralel sınırı" #~ msgid "IPv6 support." #~ msgstr "IPv6 desteği." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Kur: dosya: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Lav derinliği" @@ -7821,6 +7936,17 @@ msgstr "cURL paralel sınırı" #~ msgid "Select Package File:" #~ msgstr "Paket Dosyası Seç:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "Gölge güncelleme zamanını ayarla.\n" +#~ "Daha düşük değer, gölgeler ve harita güncellemelerinin daha hızlı olması " +#~ "anlamına gelir, ancak daha fazla kaynak tüketir.\n" +#~ "En düşük değer 0,001 saniye, en yüksek değer 0,2 saniyedir" + #~ msgid "Shadow limit" #~ msgstr "Gölge sınırı" @@ -7848,6 +7974,9 @@ msgstr "cURL paralel sınırı" #~ msgid "This font will be used for certain languages." #~ msgstr "Belirli diller için bu yazı tipi kullanılacak." +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "OpenGL sürücüleri seçilmeden gölgelemeler etkinleştirilemez." + #~ msgid "Toggle Cinematic" #~ msgstr "Sinematik Aç/Kapa" @@ -7885,5 +8014,8 @@ msgstr "cURL paralel sınırı" #~ msgid "Yes" #~ msgstr "Evet" +#~ msgid "You died." +#~ msgstr "Öldün." + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/tt/minetest.po b/po/tt/minetest.po index 2064907ff..e1fc70272 100644 --- a/po/tt/minetest.po +++ b/po/tt/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-04-08 18:26+0000\n" "Last-Translator: Timur Seber \n" "Language-Team: Tatar " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "" @@ -295,6 +294,10 @@ msgstr "" msgid "Install missing dependencies" msgstr "" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -620,7 +623,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -730,14 +733,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1101,10 +1096,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1137,7 +1128,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1166,7 +1157,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1236,6 +1227,15 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1244,6 +1244,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1252,6 +1268,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1264,6 +1284,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1272,6 +1296,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1295,6 +1323,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1489,6 +1522,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1821,6 +1869,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1829,7 +1885,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2016,7 +2072,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2223,6 +2280,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2489,6 +2550,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2522,7 +2587,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2541,6 +2606,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2616,6 +2687,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2707,7 +2794,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2784,8 +2871,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2903,6 +2990,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2949,7 +3040,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2977,13 +3075,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3376,7 +3467,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3808,7 +3899,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3892,7 +3983,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4721,7 +4812,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5014,7 +5105,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5146,7 +5237,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5170,6 +5261,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5310,9 +5405,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5605,26 +5700,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5715,7 +5802,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5820,6 +5907,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5930,7 +6025,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5948,7 +6043,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6017,7 +6112,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6180,7 +6275,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6363,6 +6458,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6384,7 +6483,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6399,7 +6498,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6525,24 +6624,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6554,3 +6635,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "cURL parallel limit" msgstr "" + +#, fuzzy +#~ msgid "You died." +#~ msgstr "Сез үлдегез" diff --git a/po/uk/minetest.po b/po/uk/minetest.po index f36fddc27..bb2bdd80f 100644 --- a/po/uk/minetest.po +++ b/po/uk/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Ukrainian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-06-07 14:33+0000\n" "Last-Translator: Andrij Mizyk \n" "Language-Team: Ukrainian " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Трапилася помилка у скрипті Lua:" @@ -302,6 +301,11 @@ msgstr "Встановити $1" msgid "Install missing dependencies" msgstr "Встановити відсутні залежності" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "Встановлення: тип файлу \"$1\" не підтримується або архів пошкоджено" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -630,7 +634,8 @@ msgid "Offset" msgstr "Зсув" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "Постійність" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -741,14 +746,6 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" "Встановлення мода: неможливо знайти відповідну назву теки для пакмоду $1" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "Встановлення: тип файлу \"$1\" не підтримується або архів пошкоджено" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "Встановлення: файл: \"$1\"" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "Неможливо знайти правильний мод або пакмод" @@ -1122,10 +1119,6 @@ msgstr "Згладжене освітлення" msgid "Texturing:" msgstr "Текстурування:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "Для того, щоб увімкнути шейдери, потрібно мати драйвер OpenGL." - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "Тоновий шейдер" @@ -1158,7 +1151,7 @@ msgstr "Хвилясті Рідини" msgid "Waving Plants" msgstr "Коливати квіти" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "Час очікування вийшов." @@ -1187,7 +1180,8 @@ msgid "Connection error (timed out?)" msgstr "Помилка з'єднання (час вийшов?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "Неможливо знайти або завантажити гру \"" #: src/client/clientlauncher.cpp @@ -1259,6 +1253,16 @@ msgstr "- PvP (бої): " msgid "- Server Name: " msgstr "- Назва сервера: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Трапилася помилка:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "Автоматичний рух вперед вимкнено" @@ -1267,6 +1271,22 @@ msgstr "Автоматичний рух вперед вимкнено" msgid "Automatic forward enabled" msgstr "Автоматичний рух вперед увімкнено" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "Оновлення камери вимкнено" @@ -1275,6 +1295,10 @@ msgstr "Оновлення камери вимкнено" msgid "Camera update enabled" msgstr "Оновлення камери увімкнено" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "Змінити пароль" @@ -1287,6 +1311,11 @@ msgstr "Кінорежим вимкнено" msgid "Cinematic mode enabled" msgstr "Кінорежим увімкнено" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "Клієнт-моди" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "Клієнтосторонні скрипти на клієнті вимкнено" @@ -1295,6 +1324,10 @@ msgstr "Клієнтосторонні скрипти на клієнті вим msgid "Connecting to server..." msgstr "Підключення до сервера..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "Продовжити" @@ -1332,6 +1365,11 @@ msgstr "" "- Mouse wheel: вибір предмета\n" "- %s: чат\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "Створення клієнта..." @@ -1539,6 +1577,21 @@ msgstr "Звук увімкнено" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "Видимість змінено до %d" @@ -1872,6 +1925,15 @@ msgstr "Мінімапа в режимі поверхні. Наближення msgid "Minimap in texture mode" msgstr "Мінімапа в режимі поверхня. Наближення х1" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "Не вдалося завантажити $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "Паролі не збігаються!" @@ -1880,7 +1942,7 @@ msgstr "Паролі не збігаються!" msgid "Register and Join" msgstr "Зареєструватися і увійти" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2075,7 +2137,8 @@ msgid "Muted" msgstr "Звук вимкнено" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "Гучність звуку: " #. ~ Imperative, as in "Enter/type in text". @@ -2330,6 +2393,10 @@ msgstr "" "Налаштувати dpi на вашому екрані (тільки не X11/Android), напр. для 4k-" "екранів." +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2613,6 +2680,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "Команди чату" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "Розмір шрифту чату" @@ -2646,8 +2718,9 @@ msgid "Chat toggle key" msgstr "Чат" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "Команди чату" +#, fuzzy +msgid "Chat weblinks" +msgstr "Чат увімкнено" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2665,6 +2738,12 @@ msgstr "Кінорежим" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "Клієнт" @@ -2741,6 +2820,22 @@ msgstr "" msgid "Command key" msgstr "Команда" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "З'єднувати скло" @@ -2833,7 +2928,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2913,8 +3008,8 @@ msgstr "Стандартна гра" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3033,6 +3128,10 @@ msgstr "Вимкнути античіт" msgid "Disallow empty passwords" msgstr "Заборонити порожні паролі" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "Доменне ім'я сервера, яке буде показуватися у списку серверів." @@ -3079,7 +3178,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3107,13 +3213,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3508,7 +3607,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3940,7 +4039,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -4025,7 +4124,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4854,7 +4953,7 @@ msgid "Map save interval" msgstr "Інтервал збереження мапи" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5154,7 +5253,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5286,7 +5385,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5310,6 +5409,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5453,9 +5556,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5752,26 +5855,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5866,7 +5961,7 @@ msgstr "" "Потрібен перезапуск після цієї зміни." #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5972,6 +6067,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6082,7 +6185,7 @@ msgstr "Шлях до текстури" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6100,7 +6203,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6169,7 +6272,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6332,7 +6435,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6519,6 +6622,10 @@ msgstr "Коливати воду" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6540,7 +6647,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6555,7 +6662,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6681,24 +6788,6 @@ msgstr "Y-Рівень нижнього рельєфу та морського msgid "Y-level of seabed." msgstr "Y-Рівень морського дна." -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6766,6 +6855,9 @@ msgstr "" #~ msgid "IPv6 support." #~ msgstr "Підтримка IPv6." +#~ msgid "Install: file: \"$1\"" +#~ msgstr "Встановлення: файл: \"$1\"" + #~ msgid "Lava depth" #~ msgstr "Глибина лави" @@ -6826,6 +6918,9 @@ msgstr "" #~ msgid "Start Singleplayer" #~ msgstr "Почати одиночну гру" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "Для того, щоб увімкнути шейдери, потрібно мати драйвер OpenGL." + #~ msgid "Toggle Cinematic" #~ msgstr "Кінематографічний режим" @@ -6835,5 +6930,9 @@ msgstr "" #~ msgid "Yes" #~ msgstr "Так" +#, fuzzy +#~ msgid "You died." +#~ msgstr "Ви загинули" + #~ msgid "needs_fallback_font" #~ msgstr "no" diff --git a/po/vi/minetest.po b/po/vi/minetest.po index 60be1b239..70ee9b5f1 100644 --- a/po/vi/minetest.po +++ b/po/vi/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Vietnamese (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2020-06-13 21:08+0000\n" "Last-Translator: darkcloudcat \n" "Language-Team: Vietnamese " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Đã xảy ra lỗi trong tập lệnh Lua:" @@ -299,6 +298,10 @@ msgstr "" msgid "Install missing dependencies" msgstr "Phụ thuộc tùy chọn:" +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -624,7 +627,7 @@ msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -734,14 +737,6 @@ msgstr "" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" @@ -1107,10 +1102,6 @@ msgstr "" msgid "Texturing:" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" @@ -1143,7 +1134,7 @@ msgstr "" msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" @@ -1172,7 +1163,7 @@ msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp @@ -1242,6 +1233,16 @@ msgstr "" msgid "- Server Name: " msgstr "" +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "Xảy ra lỗi:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" @@ -1250,6 +1251,22 @@ msgstr "" msgid "Automatic forward enabled" msgstr "" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "" @@ -1258,6 +1275,10 @@ msgstr "" msgid "Camera update enabled" msgstr "" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "" @@ -1270,6 +1291,10 @@ msgstr "" msgid "Cinematic mode enabled" msgstr "" +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" @@ -1278,6 +1303,10 @@ msgstr "" msgid "Connecting to server..." msgstr "" +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "" @@ -1301,6 +1330,11 @@ msgid "" "- %s: chat\n" msgstr "" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "" @@ -1495,6 +1529,21 @@ msgstr "" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1827,6 +1876,14 @@ msgstr "" msgid "Minimap in texture mode" msgstr "" +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" @@ -1835,7 +1892,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2022,7 +2079,8 @@ msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2229,6 +2287,10 @@ msgid "" "screens." msgstr "" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2495,6 +2557,10 @@ msgstr "" msgid "Chat command time message threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Chat commands" +msgstr "" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" @@ -2528,7 +2594,7 @@ msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp @@ -2547,6 +2613,12 @@ msgstr "" msgid "Clean transparent textures" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "" @@ -2622,6 +2694,22 @@ msgstr "" msgid "Command key" msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" @@ -2713,7 +2801,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp @@ -2790,8 +2878,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -2909,6 +2997,10 @@ msgstr "" msgid "Disallow empty passwords" msgstr "" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" @@ -2955,7 +3047,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -2983,13 +3082,6 @@ msgstr "" msgid "Enable players getting damage and dying." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" @@ -3382,7 +3474,7 @@ msgstr "" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3814,7 +3906,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp @@ -3898,7 +3990,7 @@ msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp @@ -4727,7 +4819,7 @@ msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp @@ -5020,7 +5112,7 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp @@ -5152,7 +5244,7 @@ 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" @@ -5176,6 +5268,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5316,9 +5412,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -5611,26 +5707,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -5721,7 +5809,7 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -5826,6 +5914,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -5936,7 +6032,7 @@ msgstr "" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -5954,7 +6050,7 @@ msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp @@ -6023,7 +6119,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6186,7 +6282,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -6369,6 +6465,10 @@ msgstr "" msgid "Waving plants" msgstr "" +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -6390,7 +6490,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -6405,7 +6505,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -6531,24 +6631,6 @@ msgstr "" msgid "Y-level of seabed." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "" @@ -6563,3 +6645,7 @@ msgstr "" #~ msgid "Ok" #~ msgstr "Được" + +#, fuzzy +#~ msgid "You died." +#~ msgstr "Bạn đã chết" diff --git a/po/yue/minetest.po b/po/yue/minetest.po index 1b4bdd2f4..96cb1ca69 100644 --- a/po/yue/minetest.po +++ b/po/yue/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: builtin/client/chatcommands.lua -msgid "Issued command: " +msgid "Clear the out chat queue" msgstr "" #: builtin/client/chatcommands.lua @@ -25,43 +25,43 @@ msgid "Empty command." msgstr "" #: builtin/client/chatcommands.lua -msgid "Invalid command: " +msgid "Exit to main menu" msgstr "" #: builtin/client/chatcommands.lua -msgid "List online players" +msgid "Invalid command: " msgstr "" #: builtin/client/chatcommands.lua -msgid "This command is disabled by server." +msgid "Issued command: " msgstr "" #: builtin/client/chatcommands.lua -msgid "Online players: " +msgid "List online players" msgstr "" #: builtin/client/chatcommands.lua -msgid "Exit to main menu" +msgid "Online players: " msgstr "" #: builtin/client/chatcommands.lua -msgid "Clear the out chat queue" +msgid "The out chat queue is now empty." msgstr "" #: builtin/client/chatcommands.lua -msgid "The out chat queue is now empty." +msgid "This command is disabled by server." msgstr "" -#: builtin/client/death_formspec.lua -msgid "You died." +#: builtin/client/death_formspec.lua src/client/game.cpp +msgid "Respawn" msgstr "" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" msgstr "" -#: builtin/client/death_formspec.lua src/client/game.cpp -msgid "Respawn" +#: builtin/common/chatcommands.lua +msgid "Available commands:" msgstr "" #: builtin/common/chatcommands.lua @@ -69,36 +69,36 @@ msgid "Available commands: " msgstr "" #: builtin/common/chatcommands.lua -msgid "" -"Use '.help ' to get more information, or '.help all' to list everything." +msgid "Command not available: " msgstr "" #: builtin/common/chatcommands.lua -msgid "Available commands:" +msgid "Get help for commands" msgstr "" #: builtin/common/chatcommands.lua -msgid "Command not available: " +msgid "" +"Use '.help ' to get more information, or '.help all' to list everything." msgstr "" #: builtin/common/chatcommands.lua msgid "[all | ]" msgstr "" -#: builtin/common/chatcommands.lua -msgid "Get help for commands" -msgstr "" - #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" msgstr "" #: builtin/fstk/ui.lua -msgid "The server has requested a reconnect:" +msgid "" msgstr "" #: builtin/fstk/ui.lua -msgid "Reconnect" +msgid "An error occurred in a Lua script:" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "An error occurred:" msgstr "" #: builtin/fstk/ui.lua @@ -106,15 +106,15 @@ msgid "Main menu" msgstr "" #: builtin/fstk/ui.lua -msgid "An error occurred in a Lua script:" +msgid "Reconnect" msgstr "" #: builtin/fstk/ui.lua -msgid "An error occurred:" +msgid "The server has requested a reconnect:" msgstr "" #: builtin/mainmenu/common.lua -msgid "Server supports protocol versions between $1 and $2. " +msgid "Protocol version mismatch. " msgstr "" #: builtin/mainmenu/common.lua @@ -122,7 +122,7 @@ msgid "Server enforces protocol version $1. " msgstr "" #: builtin/mainmenu/common.lua -msgid "We support protocol versions between version $1 and $2." +msgid "Server supports protocol versions between $1 and $2. " msgstr "" #: builtin/mainmenu/common.lua @@ -130,182 +130,182 @@ msgid "We only support protocol version $1." msgstr "" #: builtin/mainmenu/common.lua -msgid "Protocol version mismatch. " +msgid "We support protocol versions between version $1 and $2." msgstr "" -#: builtin/mainmenu/dlg_config_world.lua -msgid "World:" +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_create_world.lua +#: builtin/mainmenu/dlg_delete_content.lua +#: builtin/mainmenu/dlg_delete_world.lua +#: builtin/mainmenu/dlg_rename_modpack.lua +#: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp +#: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp +#: src/gui/guiPasswordChange.cpp +msgid "Cancel" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua -msgid "No modpack description provided." +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/tab_content.lua +msgid "Dependencies:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No game description provided." +msgid "Disable all" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Mod:" +msgid "Disable modpack" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No (optional) dependencies" +msgid "Enable all" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No hard dependencies" +msgid "Enable modpack" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua -msgid "Optional dependencies:" +#: builtin/mainmenu/dlg_config_world.lua +msgid "" +"Failed to enable mod \"$1\" as it contains disallowed characters. Only " +"characters [a-z0-9_] are allowed." msgstr "" -#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/tab_content.lua -msgid "Dependencies:" +#: builtin/mainmenu/dlg_config_world.lua +msgid "Find More Mods" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No optional dependencies" +msgid "Mod:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -#: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp -msgid "Save" +msgid "No (optional) dependencies" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/dlg_create_world.lua -#: builtin/mainmenu/dlg_delete_content.lua -#: builtin/mainmenu/dlg_delete_world.lua -#: builtin/mainmenu/dlg_rename_modpack.lua -#: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp -#: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp -#: src/gui/guiPasswordChange.cpp -msgid "Cancel" +#: builtin/mainmenu/dlg_config_world.lua +msgid "No game description provided." msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Find More Mods" +msgid "No hard dependencies" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Disable modpack" +msgid "No modpack description provided." msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Enable modpack" +msgid "No optional dependencies" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua -msgid "enabled" +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua +msgid "Optional dependencies:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Disable all" +#: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp +msgid "Save" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Enable all" +msgid "World:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "" -"Failed to enable mod \"$1\" as it contains disallowed characters. Only " -"characters [a-z0-9_] are allowed." +msgid "enabled" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "ContentDB is not available when Minetest was compiled without cURL" +msgid "\"$1\" already exists. Would you like to overwrite it?" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "All packages" +msgid "$1 and $2 dependencies will be installed." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Games" +msgid "$1 by $2" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Mods" +msgid "" +"$1 downloading,\n" +"$2 queued" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Texture packs" +msgid "$1 downloading..." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Failed to download $1" +msgid "$1 required dependencies could not be found." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Already installed" +msgid "$1 will be installed, and $2 dependencies will be skipped." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 by $2" +msgid "All packages" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Not found" +msgid "Already installed" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 and $2 dependencies will be installed." +msgid "Back to Main Menu" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 will be installed, and $2 dependencies will be skipped." +msgid "Base Game:" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 required dependencies could not be found." +msgid "ContentDB is not available when Minetest was compiled without cURL" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Please check that the base game is correct." +msgid "Downloading..." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install $1" +msgid "Failed to download $1" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Base Game:" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Games" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install missing dependencies" +msgid "Install" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install" +msgid "Install $1" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "\"$1\" already exists. Would you like to overwrite it?" +msgid "Install missing dependencies" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Overwrite" +msgid "Install: Unsupported file type or broken archive" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Back to Main Menu" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Mods" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "" -"$1 downloading,\n" -"$2 queued" +msgid "No packages could be retrieved" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 downloading..." +msgid "No results" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua @@ -313,23 +313,27 @@ msgid "No updates" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Update All [$1]" +msgid "Not found" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "No results" +msgid "Overwrite" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "No packages could be retrieved" +msgid "Please check that the base game is correct." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Downloading..." +msgid "Queued" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Queued" +msgid "Texture packs" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Uninstall" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua @@ -337,7 +341,7 @@ msgid "Update" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Uninstall" +msgid "Update All [$1]" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua @@ -345,75 +349,71 @@ msgid "View more information in a web browser" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Caverns" +msgid "A world named \"$1\" already exists" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Very large caverns deep in the underground" +msgid "Additional terrain" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Sea level rivers" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Altitude chill" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Rivers" +msgid "Altitude dry" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Mountains" +msgid "Biome blending" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Floatlands (experimental)" +msgid "Biomes" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Floating landmasses in the sky" -msgstr "" - -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Altitude chill" +msgid "Caverns" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Reduces heat with altitude" +msgid "Caves" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Altitude dry" +msgid "Create" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Reduces humidity with altitude" +msgid "Decorations" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Humid rivers" +msgid "Download a game, such as Minetest Game, from minetest.net" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Increases humidity around rivers" +msgid "Download one from minetest.net" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Vary river depth" +msgid "Dungeons" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Low humidity and high heat causes shallow or dry rivers" +msgid "Flat terrain" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Hills" +msgid "Floating landmasses in the sky" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Lakes" +msgid "Floatlands (experimental)" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Additional terrain" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Game" msgstr "" #: builtin/mainmenu/dlg_create_world.lua @@ -421,122 +421,126 @@ msgid "Generate non-fractal terrain: Oceans and underground" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Trees and jungle grass" +msgid "Hills" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Flat terrain" +msgid "Humid rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Mud flow" +msgid "Increases humidity around rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Terrain surface erosion" +msgid "Lakes" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Temperate, Desert, Jungle, Tundra, Taiga" +msgid "Low humidity and high heat causes shallow or dry rivers" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Temperate, Desert, Jungle" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Temperate, Desert" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen flags" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "You have no games installed." +msgid "Mapgen-specific flags" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Download one from minetest.net" +msgid "Mountains" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Caves" +msgid "Mud flow" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Dungeons" +msgid "Network of tunnels and caves" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Decorations" +msgid "No game selected" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "" -"Structures appearing on the terrain (no effect on trees and jungle grass " -"created by v6)" +msgid "Reduces heat with altitude" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Structures appearing on the terrain, typically trees and plants" +msgid "Reduces humidity with altitude" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Network of tunnels and caves" +msgid "Rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Biomes" +msgid "Sea level rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Biome blending" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Seed" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Mapgen flags" +#: builtin/mainmenu/dlg_create_world.lua +msgid "" +"Structures appearing on the terrain (no effect on trees and jungle grass " +"created by v6)" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Mapgen-specific flags" +msgid "Structures appearing on the terrain, typically trees and plants" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Warning: The Development Test is meant for developers." +msgid "Temperate, Desert" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Download a game, such as Minetest Game, from minetest.net" +msgid "Temperate, Desert, Jungle" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "World name" +msgid "Temperate, Desert, Jungle, Tundra, Taiga" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Seed" +msgid "Terrain surface erosion" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Mapgen" +#: builtin/mainmenu/dlg_create_world.lua +msgid "Trees and jungle grass" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Game" +#: builtin/mainmenu/dlg_create_world.lua +msgid "Vary river depth" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Create" +msgid "Very large caverns deep in the underground" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "A world named \"$1\" already exists" +msgid "Warning: The Development Test is meant for developers." msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "No game selected" +msgid "World name" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "You have no games installed." msgstr "" #: builtin/mainmenu/dlg_delete_content.lua @@ -565,105 +569,90 @@ msgstr "" msgid "Accept" msgstr "" +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "Rename Modpack:" +msgstr "" + #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" -#: builtin/mainmenu/dlg_rename_modpack.lua -msgid "Rename Modpack:" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "(No description of setting given)" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua -msgid "Disabled" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "2D Noise" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Enabled" +msgid "< Back to Settings page" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Browse" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp -msgid "Offset" -msgstr "" - -#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp -msgid "Scale" -msgstr "" - -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "X spread" +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua +msgid "Disabled" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Y spread" +msgid "Edit" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "2D Noise" +msgid "Enabled" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Z spread" +msgid "Lacunarity" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Octaves" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Lacunarity" +msgid "Persistence" msgstr "" -#. ~ "defaults" is a noise parameter flag. -#. It describes the default processing options -#. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "defaults" +msgid "Please enter a valid integer." msgstr "" -#. ~ "eased" is a noise parameter flag. -#. It is used to make the map smoother and -#. can be enabled in noise settings in -#. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "eased" +msgid "Please enter a valid number." msgstr "" -#. ~ "absvalue" is a noise parameter flag. -#. It is short for "absolute value". -#. It can be enabled in noise settings in -#. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "absvalue" +msgid "Restore Default" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "X" +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Scale" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Y" +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua +msgid "Search" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Z" +msgid "Select directory" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "(No description of setting given)" +msgid "Select file" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Please enter a valid integer." +msgid "Show technical names" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -675,55 +664,66 @@ msgid "The value must not be larger than $1." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Please enter a valid number." +msgid "X" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Select directory" +msgid "X spread" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Select file" +msgid "Y" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua -msgid "Search" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Y spread" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "< Back to Settings page" +msgid "Z" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Edit" +msgid "Z spread" msgstr "" +#. ~ "absvalue" is a noise parameter flag. +#. It is short for "absolute value". +#. It can be enabled in noise settings in +#. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Restore Default" +msgid "absvalue" msgstr "" +#. ~ "defaults" is a noise parameter flag. +#. It describes the default processing options +#. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Show technical names" +msgid "defaults" msgstr "" -#: builtin/mainmenu/pkgmgr.lua -msgid "$1 (Enabled)" +#. ~ "eased" is a noise parameter flag. +#. It is used to make the map smoother and +#. can be enabled in noise settings in +#. main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "eased" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a $1 as a texture pack" +msgid "$1 (Enabled)" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Failed to install $1 to $2" +msgid "$1 mods" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to find a valid mod or modpack" +msgid "Failed to install $1 to $2" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a modpack as a $1" +msgid "Install Mod: Unable to find real mod name for: $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua @@ -731,11 +731,11 @@ msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a mod as a $1" +msgid "Unable to find a valid mod or modpack" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Install Mod: Unable to find real mod name for: $1" +msgid "Unable to install a $1 as a texture pack" msgstr "" #: builtin/mainmenu/pkgmgr.lua @@ -743,15 +743,11 @@ msgid "Unable to install a game as a $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" +msgid "Unable to install a mod as a $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "$1 mods" +msgid "Unable to install a modpack as a $1" msgstr "" #: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp @@ -759,35 +755,31 @@ msgid "Loading..." msgstr "" #: builtin/mainmenu/serverlistmgr.lua -msgid "Try reenabling public serverlist and check your internet connection." +msgid "Public server list is disabled" msgstr "" #: builtin/mainmenu/serverlistmgr.lua -msgid "Public server list is disabled" +msgid "Try reenabling public serverlist and check your internet connection." msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" msgstr "" -#: builtin/mainmenu/tab_about.lua -msgid "Core Developers" -msgstr "" - #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Previous Core Developers" +msgid "Active renderer:" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Previous Contributors" +msgid "Core Developers" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Active renderer:" +msgid "Open User Data Directory" msgstr "" #: builtin/mainmenu/tab_about.lua @@ -797,11 +789,11 @@ msgid "" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Open User Data Directory" +msgid "Previous Contributors" msgstr "" -#: builtin/mainmenu/tab_content.lua -msgid "Installed Packages:" +#: builtin/mainmenu/tab_about.lua +msgid "Previous Core Developers" msgstr "" #: builtin/mainmenu/tab_content.lua @@ -809,51 +801,47 @@ msgid "Browse online content" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "No package description available" +msgid "Content" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Rename" +msgid "Disable Texture Pack" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "No dependencies." +msgid "Information:" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Disable Texture Pack" +msgid "Installed Packages:" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Use Texture Pack" +msgid "No dependencies." msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Information:" +msgid "No package description available" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Uninstall Package" +msgid "Rename" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Content" -msgstr "" - -#: builtin/mainmenu/tab_local.lua -msgid "Install games from ContentDB" +msgid "Uninstall Package" msgstr "" -#: builtin/mainmenu/tab_local.lua -msgid "Select Mods" +#: builtin/mainmenu/tab_content.lua +msgid "Use Texture Pack" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "New" +msgid "Announce Server" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Select World:" +msgid "Bind Address" msgstr "" #: builtin/mainmenu/tab_local.lua @@ -865,27 +853,35 @@ msgid "Enable Damage" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Host Server" +msgid "Host Game" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Host Game" +msgid "Host Server" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Announce Server" +msgid "Install games from ContentDB" msgstr "" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" msgstr "" +#: builtin/mainmenu/tab_local.lua +msgid "New" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "No world created or selected!" +msgstr "" + #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Password" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Bind Address" +msgid "Play Game" msgstr "" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua @@ -893,60 +889,60 @@ msgid "Port" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Server Port" +msgid "Select Mods" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Play Game" +msgid "Select World:" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "No world created or selected!" +msgid "Server Port" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Start Game" msgstr "" +#: builtin/mainmenu/tab_online.lua +msgid "Address" +msgstr "" + #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Refresh" +msgid "Connect" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Address" +msgid "Creative mode" msgstr "" +#. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -msgid "Server Description" +msgid "Damage / PvP" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Connect" +msgid "Del. Favorite" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Del. Favorite" +msgid "Favorites" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Ping" +msgid "Incompatible Servers" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Creative mode" -msgstr "" - -#. ~ PvP = Player versus Player -#: builtin/mainmenu/tab_online.lua -msgid "Damage / PvP" +msgid "Join Game" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Favorites" +msgid "Ping" msgstr "" #: builtin/mainmenu/tab_online.lua @@ -954,119 +950,115 @@ msgid "Public Servers" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Incompatible Servers" +msgid "Refresh" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Join Game" +msgid "Server Description" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Opaque Leaves" +msgid "2x" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Simple Leaves" +msgid "3D Clouds" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Fancy Leaves" +msgid "4x" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Node Outlining" +msgid "8x" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Node Highlighting" +msgid "All Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "None" +msgid "Antialiasing:" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "No Filter" +msgid "Autosave Screen Size" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "Trilinear Filter" -msgstr "" - -#: builtin/mainmenu/tab_settings.lua -msgid "No Mipmap" +#: builtin/mainmenu/tab_settings.lua src/client/game.cpp +msgid "Change Keys" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Mipmap" +msgid "Connected Glass" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "Mipmap + Aniso. Filter" +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Dynamic shadows" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "2x" +msgid "Dynamic shadows: " msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "4x" +msgid "Fancy Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "8x" +msgid "High" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Very Low" +msgid "Low" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Low" +msgid "Medium" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Medium" +msgid "Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "High" +msgid "Mipmap + Aniso. Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Ultra High" +msgid "No Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Smooth Lighting" +msgid "No Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Particles" +msgid "Node Highlighting" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "3D Clouds" +msgid "Node Outlining" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Opaque Water" +msgid "None" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Connected Glass" +msgid "Opaque Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Texturing:" +msgid "Opaque Water" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Antialiasing:" +msgid "Particles" msgstr "" #: builtin/mainmenu/tab_settings.lua @@ -1074,7 +1066,7 @@ msgid "Screen:" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Autosave Screen Size" +msgid "Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp @@ -1089,16 +1081,16 @@ msgstr "" msgid "Shaders (unavailable)" msgstr "" -#: builtin/mainmenu/tab_settings.lua src/client/game.cpp -msgid "Change Keys" +#: builtin/mainmenu/tab_settings.lua +msgid "Simple Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "All Settings" +msgid "Smooth Lighting" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Touchthreshold: (px)" +msgid "Texturing:" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp @@ -1106,43 +1098,43 @@ msgid "Tone Mapping" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Waving Liquids" +msgid "Touchthreshold: (px)" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Waving Leaves" +msgid "Trilinear Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Waving Plants" +msgid "Ultra High" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Dynamic shadows: " +msgid "Very Low" msgstr "" -#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -msgid "Dynamic shadows" +#: builtin/mainmenu/tab_settings.lua +msgid "Waving Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." +msgid "Waving Liquids" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Settings" +msgid "Waving Plants" msgstr "" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "" #: src/client/client.cpp -msgid "Loading textures..." +msgid "Done!" msgstr "" #: src/client/client.cpp -msgid "Rebuilding shaders..." +msgid "Initializing nodes" msgstr "" #: src/client/client.cpp @@ -1150,318 +1142,343 @@ msgid "Initializing nodes..." msgstr "" #: src/client/client.cpp -msgid "Initializing nodes" +msgid "Loading textures..." msgstr "" #: src/client/client.cpp -msgid "Done!" +msgid "Rebuilding shaders..." msgstr "" #: src/client/clientlauncher.cpp -msgid "Main Menu" +msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Connection error (timed out?)" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp -msgid "Provided password file failed to open: " +msgid "Invalid gamespec." msgstr "" #: src/client/clientlauncher.cpp -msgid "Please choose a name!" +msgid "Main Menu" msgstr "" #: src/client/clientlauncher.cpp -msgid "Player name too long." +msgid "No world selected and no address provided. Nothing to do." msgstr "" #: src/client/clientlauncher.cpp -msgid "No world selected and no address provided. Nothing to do." +msgid "Player name too long." msgstr "" #: src/client/clientlauncher.cpp -msgid "Provided world path doesn't exist: " +msgid "Please choose a name!" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +msgid "Provided password file failed to open: " msgstr "" #: src/client/clientlauncher.cpp -msgid "Invalid gamespec." +msgid "Provided world path doesn't exist: " msgstr "" #: src/client/game.cpp -msgid "Shutting down..." +msgid "" +"\n" +"Check debug.txt for details." msgstr "" #: src/client/game.cpp -msgid "Creating server..." +msgid "- Address: " msgstr "" #: src/client/game.cpp -msgid "Creating client..." +msgid "- Creative Mode: " msgstr "" #: src/client/game.cpp -msgid "Singleplayer" +msgid "- Damage: " msgstr "" #: src/client/game.cpp -msgid "Multiplayer" +msgid "- Mode: " msgstr "" #: src/client/game.cpp -msgid "Resolving address..." +msgid "- Port: " msgstr "" #: src/client/game.cpp -msgid "Connecting to server..." +msgid "- Public: " msgstr "" +#. ~ PvP = Player versus Player #: src/client/game.cpp -msgid "Item definitions..." +msgid "- PvP: " msgstr "" #: src/client/game.cpp -msgid "Node definitions..." +msgid "- Server Name: " msgstr "" #: src/client/game.cpp -msgid "Media..." +msgid "A serialization error occurred:" msgstr "" #: src/client/game.cpp -msgid "KiB/s" +#, c-format +msgid "Access denied. Reason: %s" msgstr "" #: src/client/game.cpp -msgid "MiB/s" +msgid "Automatic forward disabled" msgstr "" #: src/client/game.cpp -msgid "Client side scripting is disabled" +msgid "Automatic forward enabled" msgstr "" #: src/client/game.cpp -msgid "Sound muted" +msgid "Block bounds hidden" msgstr "" #: src/client/game.cpp -msgid "Sound unmuted" +msgid "Block bounds shown for all blocks" msgstr "" #: src/client/game.cpp -msgid "Sound system is disabled" +msgid "Block bounds shown for current block" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Volume changed to %d%%" +msgid "Block bounds shown for nearby blocks" msgstr "" #: src/client/game.cpp -msgid "Sound system is not supported on this build" +msgid "Camera update disabled" msgstr "" #: src/client/game.cpp -msgid "ok" +msgid "Camera update enabled" msgstr "" #: src/client/game.cpp -msgid "Fly mode enabled" +msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" #: src/client/game.cpp -msgid "Fly mode enabled (note: no 'fly' privilege)" +msgid "Change Password" msgstr "" #: src/client/game.cpp -msgid "Fly mode disabled" +msgid "Cinematic mode disabled" msgstr "" #: src/client/game.cpp -msgid "Pitch move mode enabled" +msgid "Cinematic mode enabled" msgstr "" #: src/client/game.cpp -msgid "Pitch move mode disabled" +msgid "Client disconnected" msgstr "" #: src/client/game.cpp -msgid "Fast mode enabled" +msgid "Client side scripting is disabled" msgstr "" #: src/client/game.cpp -msgid "Fast mode enabled (note: no 'fast' privilege)" +msgid "Connecting to server..." msgstr "" #: src/client/game.cpp -msgid "Fast mode disabled" +msgid "Connection failed for unknown reason" msgstr "" #: src/client/game.cpp -msgid "Noclip mode enabled" +msgid "Continue" msgstr "" #: src/client/game.cpp -msgid "Noclip mode enabled (note: no 'noclip' privilege)" +#, c-format +msgid "" +"Controls:\n" +"- %s: move forwards\n" +"- %s: move backwards\n" +"- %s: move left\n" +"- %s: move right\n" +"- %s: jump/climb up\n" +"- %s: dig/punch\n" +"- %s: place/use\n" +"- %s: sneak/climb down\n" +"- %s: drop item\n" +"- %s: inventory\n" +"- Mouse: turn/look\n" +"- Mouse wheel: select item\n" +"- %s: chat\n" msgstr "" #: src/client/game.cpp -msgid "Noclip mode disabled" +#, c-format +msgid "Couldn't resolve address: %s" msgstr "" #: src/client/game.cpp -msgid "Cinematic mode enabled" +msgid "Creating client..." msgstr "" #: src/client/game.cpp -msgid "Cinematic mode disabled" +msgid "Creating server..." msgstr "" #: src/client/game.cpp -msgid "Automatic forward enabled" +msgid "Debug info and profiler graph hidden" msgstr "" #: src/client/game.cpp -msgid "Automatic forward disabled" +msgid "Debug info shown" msgstr "" #: src/client/game.cpp -msgid "Minimap currently disabled by game or mod" +msgid "Debug info, profiler graph, and wireframe hidden" msgstr "" #: src/client/game.cpp -msgid "Fog disabled" +msgid "" +"Default Controls:\n" +"No menu visible:\n" +"- single tap: button activate\n" +"- double tap: place/use\n" +"- slide finger: look around\n" +"Menu/Inventory visible:\n" +"- double tap (outside):\n" +" -->close\n" +"- touch stack, touch slot:\n" +" --> move stack\n" +"- touch&drag, tap 2nd finger\n" +" --> place single item to slot\n" msgstr "" #: src/client/game.cpp -msgid "Fog enabled" +msgid "Disabled unlimited viewing range" msgstr "" #: src/client/game.cpp -msgid "Debug info shown" +msgid "Enabled unlimited viewing range" msgstr "" #: src/client/game.cpp -msgid "Profiler graph shown" +msgid "Exit to Menu" msgstr "" #: src/client/game.cpp -msgid "Wireframe shown" +msgid "Exit to OS" msgstr "" #: src/client/game.cpp -msgid "Debug info, profiler graph, and wireframe hidden" +msgid "Fast mode disabled" msgstr "" #: src/client/game.cpp -msgid "Debug info and profiler graph hidden" +msgid "Fast mode enabled" msgstr "" #: src/client/game.cpp -msgid "Camera update disabled" +msgid "Fast mode enabled (note: no 'fast' privilege)" msgstr "" #: src/client/game.cpp -msgid "Camera update enabled" +msgid "Fly mode disabled" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Viewing range is at maximum: %d" +msgid "Fly mode enabled" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Viewing range changed to %d" +msgid "Fly mode enabled (note: no 'fly' privilege)" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Viewing range is at minimum: %d" +msgid "Fog disabled" msgstr "" #: src/client/game.cpp -msgid "Enabled unlimited viewing range" +msgid "Fog enabled" msgstr "" #: src/client/game.cpp -msgid "Disabled unlimited viewing range" +msgid "Game info:" msgstr "" #: src/client/game.cpp -msgid "Zoom currently disabled by game or mod" +msgid "Game paused" msgstr "" #: src/client/game.cpp -msgid "" -"Default Controls:\n" -"No menu visible:\n" -"- single tap: button activate\n" -"- double tap: place/use\n" -"- slide finger: look around\n" -"Menu/Inventory visible:\n" -"- double tap (outside):\n" -" -->close\n" -"- touch stack, touch slot:\n" -" --> move stack\n" -"- touch&drag, tap 2nd finger\n" -" --> place single item to slot\n" +msgid "Hosting server" msgstr "" #: src/client/game.cpp -#, c-format -msgid "" -"Controls:\n" -"- %s: move forwards\n" -"- %s: move backwards\n" -"- %s: move left\n" -"- %s: move right\n" -"- %s: jump/climb up\n" -"- %s: dig/punch\n" -"- %s: place/use\n" -"- %s: sneak/climb down\n" -"- %s: drop item\n" -"- %s: inventory\n" -"- Mouse: turn/look\n" -"- Mouse wheel: select item\n" -"- %s: chat\n" +msgid "Item definitions..." msgstr "" #: src/client/game.cpp -msgid "Continue" +msgid "KiB/s" msgstr "" #: src/client/game.cpp -msgid "Change Password" +msgid "Media..." msgstr "" #: src/client/game.cpp -msgid "Game paused" +msgid "MiB/s" msgstr "" #: src/client/game.cpp -msgid "Sound Volume" +msgid "Minimap currently disabled by game or mod" msgstr "" #: src/client/game.cpp -msgid "Exit to Menu" +msgid "Multiplayer" msgstr "" #: src/client/game.cpp -msgid "Exit to OS" +msgid "Noclip mode disabled" msgstr "" #: src/client/game.cpp -msgid "Game info:" +msgid "Noclip mode enabled" msgstr "" #: src/client/game.cpp -msgid "- Mode: " +msgid "Noclip mode enabled (note: no 'noclip' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Node definitions..." +msgstr "" + +#: src/client/game.cpp +msgid "Off" +msgstr "" + +#: src/client/game.cpp +msgid "On" +msgstr "" + +#: src/client/game.cpp +msgid "Pitch move mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Pitch move mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Profiler graph shown" msgstr "" #: src/client/game.cpp @@ -1469,54 +1486,82 @@ msgid "Remote server" msgstr "" #: src/client/game.cpp -msgid "- Address: " +msgid "Resolving address..." msgstr "" #: src/client/game.cpp -msgid "Hosting server" +msgid "Shutting down..." msgstr "" #: src/client/game.cpp -msgid "- Port: " +msgid "Singleplayer" msgstr "" #: src/client/game.cpp -msgid "On" +msgid "Sound Volume" msgstr "" #: src/client/game.cpp -msgid "Off" +msgid "Sound muted" msgstr "" #: src/client/game.cpp -msgid "- Damage: " +msgid "Sound system is disabled" msgstr "" #: src/client/game.cpp -msgid "- Creative Mode: " +msgid "Sound system is not supported on this build" msgstr "" -#. ~ PvP = Player versus Player #: src/client/game.cpp -msgid "- PvP: " +msgid "Sound unmuted" msgstr "" #: src/client/game.cpp -msgid "- Public: " +#, c-format +msgid "The server is probably running a different version of %s." msgstr "" #: src/client/game.cpp -msgid "- Server Name: " +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" msgstr "" #: src/client/game.cpp -msgid "" -"\n" -"Check debug.txt for details." +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" msgstr "" -#: src/client/gameui.cpp -msgid "Chat shown" +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format +msgid "Viewing range changed to %d" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range is at maximum: %d" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range is at minimum: %d" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Volume changed to %d%%" +msgstr "" + +#: src/client/game.cpp +msgid "Wireframe shown" +msgstr "" + +#: src/client/game.cpp +msgid "Zoom currently disabled by game or mod" +msgstr "" + +#: src/client/game.cpp +msgid "ok" msgstr "" #: src/client/gameui.cpp @@ -1524,7 +1569,7 @@ msgid "Chat hidden" msgstr "" #: src/client/gameui.cpp -msgid "HUD shown" +msgid "Chat shown" msgstr "" #: src/client/gameui.cpp @@ -1532,135 +1577,137 @@ msgid "HUD hidden" msgstr "" #: src/client/gameui.cpp -#, c-format -msgid "Profiler shown (page %d of %d)" +msgid "HUD shown" msgstr "" #: src/client/gameui.cpp msgid "Profiler hidden" msgstr "" -#: src/client/keycode.cpp -msgid "Left Button" +#: src/client/gameui.cpp +#, c-format +msgid "Profiler shown (page %d of %d)" msgstr "" #: src/client/keycode.cpp -msgid "Right Button" +msgid "Apps" msgstr "" #: src/client/keycode.cpp -msgid "Middle Button" +msgid "Backspace" msgstr "" #: src/client/keycode.cpp -msgid "X Button 1" +msgid "Caps Lock" msgstr "" #: src/client/keycode.cpp -msgid "X Button 2" +msgid "Control" msgstr "" #: src/client/keycode.cpp -msgid "Backspace" +msgid "Down" msgstr "" #: src/client/keycode.cpp -msgid "Tab" +msgid "End" msgstr "" #: src/client/keycode.cpp -msgid "Return" +msgid "Erase EOF" msgstr "" #: src/client/keycode.cpp -msgid "Shift" +msgid "Execute" msgstr "" #: src/client/keycode.cpp -msgid "Control" +msgid "Help" msgstr "" -#. ~ Key name, common on Windows keyboards #: src/client/keycode.cpp -msgid "Menu" +msgid "Home" msgstr "" #: src/client/keycode.cpp -msgid "Pause" +msgid "IME Accept" msgstr "" #: src/client/keycode.cpp -msgid "Caps Lock" +msgid "IME Convert" msgstr "" #: src/client/keycode.cpp -msgid "Space" +msgid "IME Escape" msgstr "" #: src/client/keycode.cpp -msgid "Page up" +msgid "IME Mode Change" msgstr "" #: src/client/keycode.cpp -msgid "Page down" +msgid "IME Nonconvert" msgstr "" #: src/client/keycode.cpp -msgid "End" +msgid "Insert" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Left" msgstr "" #: src/client/keycode.cpp -msgid "Home" +msgid "Left Button" msgstr "" -#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp -msgid "Left" +#: src/client/keycode.cpp +msgid "Left Control" msgstr "" #: src/client/keycode.cpp -msgid "Up" +msgid "Left Menu" msgstr "" -#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp -msgid "Right" +#: src/client/keycode.cpp +msgid "Left Shift" msgstr "" #: src/client/keycode.cpp -msgid "Down" +msgid "Left Windows" msgstr "" -#. ~ Key name +#. ~ Key name, common on Windows keyboards #: src/client/keycode.cpp -msgid "Select" +msgid "Menu" msgstr "" -#. ~ "Print screen" key #: src/client/keycode.cpp -msgid "Print" +msgid "Middle Button" msgstr "" #: src/client/keycode.cpp -msgid "Execute" +msgid "Num Lock" msgstr "" #: src/client/keycode.cpp -msgid "Snapshot" +msgid "Numpad *" msgstr "" #: src/client/keycode.cpp -msgid "Insert" +msgid "Numpad +" msgstr "" #: src/client/keycode.cpp -msgid "Help" +msgid "Numpad -" msgstr "" #: src/client/keycode.cpp -msgid "Left Windows" +msgid "Numpad ." msgstr "" #: src/client/keycode.cpp -msgid "Right Windows" +msgid "Numpad /" msgstr "" #: src/client/keycode.cpp @@ -1704,120 +1751,138 @@ msgid "Numpad 9" msgstr "" #: src/client/keycode.cpp -msgid "Numpad *" +msgid "OEM Clear" msgstr "" #: src/client/keycode.cpp -msgid "Numpad +" +msgid "Page down" msgstr "" #: src/client/keycode.cpp -msgid "Numpad ." +msgid "Page up" msgstr "" #: src/client/keycode.cpp -msgid "Numpad -" +msgid "Pause" msgstr "" #: src/client/keycode.cpp -msgid "Numpad /" +msgid "Play" msgstr "" +#. ~ "Print screen" key #: src/client/keycode.cpp -msgid "Num Lock" +msgid "Print" msgstr "" #: src/client/keycode.cpp -msgid "Scroll Lock" +msgid "Return" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Right" msgstr "" #: src/client/keycode.cpp -msgid "Left Shift" +msgid "Right Button" msgstr "" #: src/client/keycode.cpp -msgid "Right Shift" +msgid "Right Control" msgstr "" #: src/client/keycode.cpp -msgid "Left Control" +msgid "Right Menu" msgstr "" #: src/client/keycode.cpp -msgid "Right Control" +msgid "Right Shift" msgstr "" #: src/client/keycode.cpp -msgid "Left Menu" +msgid "Right Windows" msgstr "" #: src/client/keycode.cpp -msgid "Right Menu" +msgid "Scroll Lock" msgstr "" +#. ~ Key name #: src/client/keycode.cpp -msgid "IME Escape" +msgid "Select" msgstr "" #: src/client/keycode.cpp -msgid "IME Convert" +msgid "Shift" msgstr "" #: src/client/keycode.cpp -msgid "IME Nonconvert" +msgid "Sleep" msgstr "" #: src/client/keycode.cpp -msgid "IME Accept" +msgid "Snapshot" msgstr "" #: src/client/keycode.cpp -msgid "IME Mode Change" +msgid "Space" msgstr "" #: src/client/keycode.cpp -msgid "Apps" +msgid "Tab" msgstr "" #: src/client/keycode.cpp -msgid "Sleep" +msgid "Up" msgstr "" #: src/client/keycode.cpp -msgid "Erase EOF" +msgid "X Button 1" msgstr "" #: src/client/keycode.cpp -msgid "Play" +msgid "X Button 2" msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Zoom" msgstr "" -#: src/client/keycode.cpp -msgid "OEM Clear" -msgstr "" - #: src/client/minimap.cpp msgid "Minimap hidden" msgstr "" #: src/client/minimap.cpp #, c-format -msgid "Minimap in surface mode, Zoom x%d" +msgid "Minimap in radar mode, Zoom x%d" msgstr "" #: src/client/minimap.cpp #, c-format -msgid "Minimap in radar mode, Zoom x%d" +msgid "Minimap in surface mode, Zoom x%d" msgstr "" #: src/client/minimap.cpp msgid "Minimap in texture mode" msgstr "" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp +msgid "Passwords do not match!" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp +msgid "Register and Join" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -1827,28 +1892,16 @@ msgid "" "creation, or click 'Cancel' to abort." msgstr "" -#: src/gui/guiConfirmRegistration.cpp -msgid "Register and Join" -msgstr "" - -#: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp -msgid "Passwords do not match!" -msgstr "" - #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" msgstr "" -#: src/gui/guiKeyChangeMenu.cpp -msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" -msgstr "" - #: src/gui/guiKeyChangeMenu.cpp msgid "\"Aux1\" = climb down" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Double tap \"jump\" to toggle fly" +msgid "Autoforward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp @@ -1856,91 +1909,95 @@ msgid "Automatic jumping" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Key already in use" +msgid "Aux1" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "press key" +msgid "Backward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Forward" +msgid "Block bounds" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Backward" +msgid "Change camera" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Aux1" +msgid "Chat" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Jump" +msgid "Command" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Sneak" +msgid "Console" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Drop" +msgid "Dec. range" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Inventory" +msgid "Dec. volume" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Prev. item" +msgid "Double tap \"jump\" to toggle fly" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Next item" +msgid "Drop" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Change camera" +msgid "Forward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle minimap" +msgid "Inc. range" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle fly" +msgid "Inc. volume" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle pitchmove" +msgid "Inventory" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle fast" +msgid "Jump" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle noclip" +msgid "Key already in use" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Mute" +msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Dec. volume" +msgid "Local command" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Inc. volume" +msgid "Mute" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Autoforward" +msgid "Next item" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Chat" +msgid "Prev. item" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Range select" msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp @@ -1948,71 +2005,72 @@ msgid "Screenshot" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Range select" +msgid "Sneak" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Dec. range" +msgid "Toggle HUD" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Inc. range" +msgid "Toggle chat log" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Console" +msgid "Toggle fast" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Command" +msgid "Toggle fly" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Local command" +msgid "Toggle fog" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Block bounds" +msgid "Toggle minimap" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle HUD" +msgid "Toggle noclip" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle chat log" +msgid "Toggle pitchmove" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle fog" +msgid "press key" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "Old Password" +msgid "Change" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "New Password" +msgid "Confirm Password" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "Confirm Password" +msgid "New Password" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "Change" +msgid "Old Password" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +msgid "Exit" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Exit" +msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Muted" +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2029,1571 +2087,1384 @@ msgid "LANG_CODE" msgstr "" #: src/settings_translation_file.cpp -msgid "Controls" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Build inside player" +msgid "" +"(Android) Fixes the position of virtual joystick.\n" +"If disabled, virtual joystick will center to first-touch's position." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If enabled, you can place blocks at the position (feet + eye level) where " -"you stand.\n" -"This is helpful when working with nodeboxes in small areas." +"(Android) Use virtual joystick to trigger \"Aux1\" button.\n" +"If enabled, virtual joystick will also tap \"Aux1\" button when out of main " +"circle." msgstr "" #: src/settings_translation_file.cpp -msgid "Flying" +msgid "" +"(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" +"Can be used to move a desired point to (0, 0) to create a\n" +"suitable spawn point, or to allow 'zooming in' on a desired\n" +"point by increasing 'scale'.\n" +"The default is tuned for a suitable spawn point for Mandelbrot\n" +"sets with default parameters, it may need altering in other\n" +"situations.\n" +"Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Player is able to fly without being affected by gravity.\n" -"This requires the \"fly\" privilege on the server." +"(X,Y,Z) scale of fractal in nodes.\n" +"Actual fractal size will be 2 to 3 times larger.\n" +"These numbers can be made very large, the fractal does\n" +"not have to fit inside the world.\n" +"Increase these to 'zoom' into the detail of the fractal.\n" +"Default is for a vertically-squashed shape suitable for\n" +"an island, set all 3 numbers equal for the raw shape." msgstr "" #: src/settings_translation_file.cpp -msgid "Pitch move mode" +msgid "2D noise that controls the shape/size of ridged mountains." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If enabled, makes move directions relative to the player's pitch when flying " -"or swimming." +msgid "2D noise that controls the shape/size of rolling hills." msgstr "" #: src/settings_translation_file.cpp -msgid "Fast movement" +msgid "2D noise that controls the shape/size of step mountains." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Fast movement (via the \"Aux1\" key).\n" -"This requires the \"fast\" privilege on the server." +msgid "2D noise that controls the size/occurrence of ridged mountain ranges." msgstr "" #: src/settings_translation_file.cpp -msgid "Noclip" +msgid "2D noise that controls the size/occurrence of rolling hills." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If enabled together with fly mode, player is able to fly through solid " -"nodes.\n" -"This requires the \"noclip\" privilege on the server." +msgid "2D noise that controls the size/occurrence of step mountain ranges." msgstr "" #: src/settings_translation_file.cpp -msgid "Cinematic mode" +msgid "2D noise that locates the river valleys and channels." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Smooths camera when looking around. Also called look or mouse smoothing.\n" -"Useful for recording videos." +msgid "3D clouds" msgstr "" #: src/settings_translation_file.cpp -msgid "Camera smoothing" +msgid "3D mode" msgstr "" #: src/settings_translation_file.cpp -msgid "Smooths rotation of camera. 0 to disable." +msgid "3D mode parallax strength" msgstr "" #: src/settings_translation_file.cpp -msgid "Camera smoothing in cinematic mode" +msgid "3D noise defining giant caverns." msgstr "" #: src/settings_translation_file.cpp -msgid "Smooths rotation of camera in cinematic mode. 0 to disable." +msgid "" +"3D noise defining mountain structure and height.\n" +"Also defines structure of floatland mountain terrain." msgstr "" #: src/settings_translation_file.cpp -msgid "Invert mouse" +msgid "" +"3D noise defining structure of floatlands.\n" +"If altered from the default, the noise 'scale' (0.7 by default) may need\n" +"to be adjusted, as floatland tapering functions best when this noise has\n" +"a value range of approximately -2.0 to 2.0." msgstr "" #: src/settings_translation_file.cpp -msgid "Invert vertical mouse movement." +msgid "3D noise defining structure of river canyon walls." msgstr "" #: src/settings_translation_file.cpp -msgid "Mouse sensitivity" +msgid "3D noise defining terrain." msgstr "" #: src/settings_translation_file.cpp -msgid "Mouse sensitivity multiplier." +msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." msgstr "" #: src/settings_translation_file.cpp -msgid "Aux1 key for climbing/descending" +msgid "3D noise that determines number of dungeons per mapchunk." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " -"and\n" -"descending." +"3D support.\n" +"Currently supported:\n" +"- none: no 3d output.\n" +"- anaglyph: cyan/magenta color 3d.\n" +"- interlaced: odd/even line based polarisation screen support.\n" +"- topbottom: split screen top/bottom.\n" +"- sidebyside: split screen side by side.\n" +"- crossview: Cross-eyed 3d\n" +"- pageflip: quadbuffer based 3d.\n" +"Note that the interlaced mode requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Double tap jump for fly" +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 "Double-tapping the jump key toggles fly mode." +msgid "A message to be displayed to all clients when the server crashes." msgstr "" #: src/settings_translation_file.cpp -msgid "Always fly and fast" +msgid "A message to be displayed to all clients when the server shuts down." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" -"enabled." +msgid "ABM interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Place repetition interval" +msgid "ABM time budget" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The time in seconds it takes between repeated node placements when holding\n" -"the place button." +msgid "Absolute limit of queued blocks to emerge" msgstr "" #: src/settings_translation_file.cpp -msgid "Automatically jump up single-node obstacles." +msgid "Acceleration in air" msgstr "" #: src/settings_translation_file.cpp -msgid "Safe digging and placing" +msgid "Acceleration of gravity, in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Prevent digging and placing from repeating when holding the mouse buttons.\n" -"Enable this when you dig or place too often by accident." +msgid "Active Block Modifiers" msgstr "" #: src/settings_translation_file.cpp -msgid "Random input" +msgid "Active block management interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable random user input (only used for testing)." +msgid "Active block range" msgstr "" #: src/settings_translation_file.cpp -msgid "Continuous forward" +msgid "Active object send range" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Continuous forward movement, toggled by autoforward key.\n" -"Press the autoforward key again or the backwards movement to disable." +"Address to connect to.\n" +"Leave this blank to start a local server.\n" +"Note that the address field in the main menu overrides this setting." msgstr "" #: src/settings_translation_file.cpp -msgid "Touch screen threshold" +msgid "Adds particles when digging a node." msgstr "" #: src/settings_translation_file.cpp -msgid "The length in pixels it takes for touch screen interaction to start." +msgid "" +"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " +"screens." msgstr "" #: src/settings_translation_file.cpp -msgid "Fixed virtual joystick" +msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" #: src/settings_translation_file.cpp +#, c-format msgid "" -"(Android) Fixes the position of virtual joystick.\n" -"If disabled, virtual joystick will center to first-touch's position." +"Adjusts the density of the floatland layer.\n" +"Increase value to increase density. Can be positive or negative.\n" +"Value = 0.0: 50% of volume is floatland.\n" +"Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" +"to be sure) creates a solid floatland layer." msgstr "" #: src/settings_translation_file.cpp -msgid "Virtual joystick triggers Aux1 button" +msgid "Advanced" msgstr "" #: src/settings_translation_file.cpp msgid "" -"(Android) Use virtual joystick to trigger \"Aux1\" button.\n" -"If enabled, virtual joystick will also tap \"Aux1\" button when out of main " -"circle." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Enable joysticks" +"Alters the light curve by applying 'gamma correction' to it.\n" +"Higher values make middle and lower light levels brighter.\n" +"Value '1.0' leaves the light curve unaltered.\n" +"This only has significant effect on daylight and artificial\n" +"light, it has very little effect on natural night light." msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick ID" +msgid "Always fly and fast" msgstr "" #: src/settings_translation_file.cpp -msgid "The identifier of the joystick to use" +msgid "Ambient occlusion gamma" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick type" +msgid "Amount of messages a player may send per 10 seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "The type of joystick" +msgid "Amplifies the valleys." msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick button repetition interval" +msgid "Anisotropic filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The time in seconds it takes between repeated events\n" -"when holding down a joystick button combination." +msgid "Announce server" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +msgid "Announce to this serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +msgid "Append item name" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick frustum sensitivity" +msgid "Append item name to tooltip." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +msgid "Apple trees noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Forward key" +msgid "Arm inertia" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for moving the player forward.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Arm inertia, gives a more realistic movement of\n" +"the arm when the camera moves." msgstr "" #: src/settings_translation_file.cpp -msgid "Backward key" +msgid "Ask to reconnect after crash" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for moving the player backward.\n" -"Will also disable autoforward, when active.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"At this distance the server will aggressively optimize which blocks are sent " +"to\n" +"clients.\n" +"Small values potentially improve performance a lot, at the expense of " +"visible\n" +"rendering glitches (some blocks will not be rendered under water and in " +"caves,\n" +"as well as sometimes on land).\n" +"Setting this to a value greater than max_block_send_distance disables this\n" +"optimization.\n" +"Stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "Left key" +msgid "Automatic forward key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving the player left.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Automatically jump up single-node obstacles." msgstr "" #: src/settings_translation_file.cpp -msgid "Right key" +msgid "Automatically report to the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving the player right.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Autosave screen size" msgstr "" #: src/settings_translation_file.cpp -msgid "Jump key" +msgid "Autoscaling mode" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for jumping.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Aux1 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Sneak key" +msgid "Aux1 key for climbing/descending" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for sneaking.\n" -"Also used for climbing down and descending in water if aux1_descends is " -"disabled.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Backward key" msgstr "" #: src/settings_translation_file.cpp -msgid "Dig key" +msgid "Base ground level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for digging.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Base terrain height." msgstr "" #: src/settings_translation_file.cpp -msgid "Place key" +msgid "Basic" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for placing.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Basic privileges" msgstr "" #: src/settings_translation_file.cpp -msgid "Inventory key" +msgid "Beach noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the inventory.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Beach noise threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Aux1 key" +msgid "Bilinear filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving fast in fast mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bind address" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat key" +msgid "Biome API temperature and humidity noise parameters" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the chat window.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Biome noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Command key" +msgid "Block send optimize distance" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the chat window to type commands.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bold and italic font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the chat window to type local commands.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bold and italic monospace font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Range select key" +msgid "Bold font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling unlimited view range.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bold monospace font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Fly key" +msgid "Build inside player" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling flying.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Builtin" msgstr "" #: src/settings_translation_file.cpp -msgid "Pitch move key" +msgid "" +"Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" +"Only works on GLES platforms. Most users will not need to change this.\n" +"Increasing can reduce artifacting on weaker GPUs.\n" +"0.1 = Default, 0.25 = Good value for weaker tablets." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling pitch move mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Camera smoothing" msgstr "" #: src/settings_translation_file.cpp -msgid "Fast key" +msgid "Camera smoothing in cinematic mode" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling fast mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Camera update toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Noclip key" +msgid "Cave noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling noclip mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cave noise #1" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar next key" +msgid "Cave noise #2" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the next item in the hotbar.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cave width" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar previous key" +msgid "Cave1 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the previous item in the hotbar.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cave2 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mute key" +msgid "Cavern limit" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for muting the game.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cavern noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Inc. volume key" +msgid "Cavern taper" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for increasing the volume.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cavern threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Dec. volume key" +msgid "Cavern upper limit" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for decreasing the volume.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Center of light curve boost range.\n" +"Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" #: src/settings_translation_file.cpp -msgid "Automatic forward key" +msgid "Chat command time message threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling autoforward.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat commands" msgstr "" #: src/settings_translation_file.cpp -msgid "Cinematic mode key" +msgid "Chat font size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling cinematic mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat key" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimap key" +msgid "Chat log level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling display of minimap.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat message count limit" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for taking screenshots.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat message format" msgstr "" #: src/settings_translation_file.cpp -msgid "Drop item key" +msgid "Chat message kick threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for dropping the currently selected item.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat message max length" msgstr "" #: src/settings_translation_file.cpp -msgid "View zoom key" +msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key to use view zoom when possible.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 1 key" +msgid "Chunk size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the first hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cinematic mode" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 2 key" +msgid "Cinematic mode key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the second hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Clean transparent textures" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 3 key" +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the third hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Client" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 4 key" +msgid "Client and Server" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the fourth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Client modding" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 5 key" +msgid "Client side modding restrictions" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the fifth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Client side node lookup range restriction" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 6 key" +msgid "Climbing speed" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the sixth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cloud radius" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 7 key" +msgid "Clouds" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the seventh hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Clouds are a client side effect." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 8 key" +msgid "Clouds in menu" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the eighth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Colored fog" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 9 key" +msgid "Colored shadows" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the ninth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Comma-separated list of flags to hide in the content repository.\n" +"\"nonfree\" can be used to hide packages which do not qualify as 'free " +"software',\n" +"as defined by the Free Software Foundation.\n" +"You can also specify content ratings.\n" +"These flags are independent from Minetest versions,\n" +"so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 10 key" +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 "" -"Key for selecting the tenth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"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 "Hotbar slot 11 key" +msgid "Command key" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 11th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 12 key" +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 12th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Connect glass" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 13 key" +msgid "Connect to external media server" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 13th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Connects glass if supported by node." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 14 key" +msgid "Console alpha" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 14th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Console color" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 15 key" +msgid "Console height" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 15th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "ContentDB Flag Blacklist" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 16 key" +msgid "ContentDB Max Concurrent Downloads" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 16th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "ContentDB URL" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 17 key" +msgid "Continuous forward" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 17th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Continuous forward movement, toggled by autoforward key.\n" +"Press the autoforward key again or the backwards movement to disable." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 18 key" +msgid "Controls" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 18th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Controls length of day/night cycle.\n" +"Examples:\n" +"72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 19 key" +msgid "Controls sinking speed in liquid." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 19th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Controls steepness/depth of lake depressions." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 20 key" +msgid "Controls steepness/height of hills." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 20th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Controls width of tunnels, a smaller value creates wider tunnels.\n" +"Value >= 10.0 completely disables generation of tunnels and avoids the\n" +"intensive noise calculations." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 21 key" +msgid "Crash message" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 21st hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Creative" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 22 key" +msgid "Crosshair alpha" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 22nd hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Crosshair alpha (opaqueness, between 0 and 255).\n" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 23 key" +msgid "Crosshair color" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 23rd hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Crosshair color (R,G,B).\n" +"Also controls the object crosshair color" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 24 key" +msgid "DPI" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 24th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Damage" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 25 key" +msgid "Debug info toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 25th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Debug log file size threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 26 key" +msgid "Debug log level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 26th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Dec. volume key" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 27 key" +msgid "Decrease this to increase liquid resistance to movement." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 27th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Dedicated server step" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 28 key" +msgid "Default acceleration" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 28th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Default game" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 29 key" +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 "" -"Key for selecting the 29th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Default password" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 30 key" +msgid "Default privileges" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 30th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Default report format" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 31 key" +msgid "Default stack size" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 31st hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" +"but also uses more resources." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 32 key" +msgid "Defines areas where trees have apples." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 32nd hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines areas with sandy beaches." msgstr "" #: src/settings_translation_file.cpp -msgid "HUD toggle key" +msgid "Defines distribution of higher terrain and steepness of cliffs." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of the HUD.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines distribution of higher terrain." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat toggle key" +msgid "Defines full size of caverns, smaller values create larger caverns." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of chat.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines large-scale river channel structure." msgstr "" #: src/settings_translation_file.cpp -msgid "Large chat console key" +msgid "Defines location and terrain of optional hills and lakes." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of the large chat console.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines the base ground level." msgstr "" #: src/settings_translation_file.cpp -msgid "Fog toggle key" +msgid "Defines the depth of the river channel." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of fog.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "" #: src/settings_translation_file.cpp -msgid "Camera update toggle key" +msgid "Defines the width of the river channel." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the camera update. Only used for development\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines the width of the river valley." msgstr "" #: src/settings_translation_file.cpp -msgid "Debug info toggle key" +msgid "Defines tree areas and tree density." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for toggling the display of debug info.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Delay between mesh updates on the client in ms. Increasing this will slow\n" +"down the rate of mesh updates, thus reducing jitter on slower clients." msgstr "" #: src/settings_translation_file.cpp -msgid "Profiler toggle key" +msgid "Delay in sending blocks after building" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of the profiler. Used for development.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Delay showing tooltips, stated in milliseconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Toggle camera mode key" +msgid "Deprecated Lua API handling" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for switching between first- and third-person camera.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Depth below which you'll find giant caverns." msgstr "" #: src/settings_translation_file.cpp -msgid "View range increase key" +msgid "Depth below which you'll find large caves." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for increasing the viewing range.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Description of server, to be displayed when players join and in the " +"serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "View range decrease key" +msgid "Desert noise threshold" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for decreasing the viewing range.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Deserts occur when np_biome exceeds this value.\n" +"When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" #: src/settings_translation_file.cpp -msgid "Graphics" +msgid "Desynchronize block animation" msgstr "" #: src/settings_translation_file.cpp -msgid "In-Game" +msgid "Dig key" msgstr "" #: src/settings_translation_file.cpp -msgid "Basic" +msgid "Digging particles" msgstr "" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Disable anticheat" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Whether nametag backgrounds should be shown by default.\n" -"Mods may still set a background." +msgid "Disallow empty passwords" msgstr "" #: src/settings_translation_file.cpp -msgid "VBO" +msgid "Display Density Scaling Factor" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable vertex buffer objects.\n" -"This should greatly improve graphics performance." +msgid "Domain name of server, to be displayed in the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "Fog" +msgid "Double tap jump for fly" msgstr "" #: src/settings_translation_file.cpp -msgid "Whether to fog out the end of the visible area." +msgid "Double-tapping the jump key toggles fly mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Leaves style" +msgid "Drop item key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Leaves style:\n" -"- Fancy: all faces visible\n" -"- Simple: only outer faces, if defined special_tiles are used\n" -"- Opaque: disable transparency" +msgid "Dump the mapgen debug information." msgstr "" #: src/settings_translation_file.cpp -msgid "Connect glass" +msgid "Dungeon maximum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "Connects glass if supported by node." +msgid "Dungeon minimum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "Smooth lighting" +msgid "Dungeon noise" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable smooth lighting with simple ambient occlusion.\n" -"Disable for speed or for different looks." +"Enable IPv6 support (for both client and server).\n" +"Required for IPv6 connections to work at all." msgstr "" #: src/settings_translation_file.cpp -msgid "Clouds" +msgid "" +"Enable Lua modding support on client.\n" +"This support is experimental and API can change." msgstr "" #: src/settings_translation_file.cpp -msgid "Clouds are a client side effect." +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." msgstr "" #: src/settings_translation_file.cpp -msgid "3D clouds" +msgid "" +"Enable colored shadows.\n" +"On true translucent nodes cast colored shadows. This is expensive." msgstr "" #: src/settings_translation_file.cpp -msgid "Use 3D cloud look instead of flat." +msgid "Enable console window" msgstr "" #: src/settings_translation_file.cpp -msgid "Node highlighting" +msgid "Enable creative mode for all players" msgstr "" #: src/settings_translation_file.cpp -msgid "Method used to highlight selected object." +msgid "Enable joysticks" msgstr "" #: src/settings_translation_file.cpp -msgid "Digging particles" +msgid "Enable mod channels support." msgstr "" #: src/settings_translation_file.cpp -msgid "Adds particles when digging a node." +msgid "Enable mod security" msgstr "" #: src/settings_translation_file.cpp -msgid "Filtering" +msgid "Enable players getting damage and dying." msgstr "" #: src/settings_translation_file.cpp -msgid "Mipmapping" +msgid "Enable random user input (only used for testing)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" -"especially when using a high resolution texture pack.\n" -"Gamma correct downscaling is not supported." +msgid "Enable register confirmation" msgstr "" #: src/settings_translation_file.cpp -msgid "Anisotropic filtering" +msgid "" +"Enable register confirmation when connecting to server.\n" +"If disabled, new account will be registered automatically." msgstr "" #: src/settings_translation_file.cpp -msgid "Use anisotropic filtering when viewing at textures from an angle." +msgid "" +"Enable smooth lighting with simple ambient occlusion.\n" +"Disable for speed or for different looks." msgstr "" #: src/settings_translation_file.cpp -msgid "Bilinear filtering" +msgid "" +"Enable to disallow old clients from connecting.\n" +"Older clients are compatible in the sense that they will not crash when " +"connecting\n" +"to new servers, but they may not support all new features that you are " +"expecting." msgstr "" #: src/settings_translation_file.cpp -msgid "Use bilinear filtering when scaling textures." +msgid "" +"Enable usage of remote media server (if provided by server).\n" +"Remote servers offer a significantly faster way to download media (e.g. " +"textures)\n" +"when connecting to the server." msgstr "" #: src/settings_translation_file.cpp -msgid "Trilinear filtering" +msgid "" +"Enable vertex buffer objects.\n" +"This should greatly improve graphics performance." msgstr "" #: src/settings_translation_file.cpp -msgid "Use trilinear filtering when scaling textures." +msgid "" +"Enable view bobbing and amount of view bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" #: src/settings_translation_file.cpp -msgid "Clean transparent textures" +msgid "" +"Enable/disable running an IPv6 server.\n" +"Ignored if bind_address is set.\n" +"Needs enable_ipv6 to be enabled." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Filtered textures can blend RGB values with fully-transparent neighbors,\n" -"which PNG optimizers usually discard, often resulting in dark or\n" -"light edges to transparent textures. Apply a filter to clean that up\n" -"at texture load time. This is automatically enabled if mipmapping is enabled." +"Enables Hable's 'Uncharted 2' filmic tone mapping.\n" +"Simulates the tone curve of photographic film and how this approximates the\n" +"appearance of high dynamic range images. Mid-range contrast is slightly\n" +"enhanced, highlights and shadows are gradually compressed." msgstr "" #: src/settings_translation_file.cpp -msgid "Minimum texture size" +msgid "Enables animation of inventory items." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" -"can be blurred, so automatically upscale them with nearest-neighbor\n" -"interpolation to preserve crisp pixels. This sets the minimum texture size\n" -"for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" -"bilinear/trilinear/anisotropic filtering is enabled.\n" -"This is also used as the base node texture size for world-aligned\n" -"texture autoscaling." +msgid "Enables caching of facedir rotated meshes." msgstr "" #: src/settings_translation_file.cpp -msgid "FSAA" +msgid "Enables minimap." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use multi-sample antialiasing (MSAA) to smooth out block edges.\n" -"This algorithm smooths out the 3D viewport while keeping the image sharp,\n" -"but it doesn't affect the insides of textures\n" -"(which is especially noticeable with transparent textures).\n" -"Visible spaces appear between nodes when shaders are disabled.\n" -"If set to 0, MSAA is disabled.\n" -"A restart is required after changing this option." +"Enables the sound system.\n" +"If disabled, this completely disables all sounds everywhere and the in-game\n" +"sound controls will be non-functional.\n" +"Changing this setting requires a restart." msgstr "" #: src/settings_translation_file.cpp -msgid "Undersampling" +msgid "Engine profiling data print interval" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Undersampling is similar to using a lower screen resolution, but it applies\n" -"to the game world only, keeping the GUI intact.\n" -"It should give a significant performance boost at the cost of less detailed " -"image.\n" -"Higher values result in a less detailed image." +msgid "Entity methods" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Shaders allow advanced visual effects and may increase performance on some " -"video\n" -"cards.\n" -"This only works with the OpenGL video backend." +"Exponent of the floatland tapering. Alters the tapering behaviour.\n" +"Value = 1.0 creates a uniform, linear tapering.\n" +"Values > 1.0 create a smooth tapering suitable for the default separated\n" +"floatlands.\n" +"Values < 1.0 (for example 0.25) create a more defined surface level with\n" +"flatter lowlands, suitable for a solid floatland layer." msgstr "" #: src/settings_translation_file.cpp -msgid "Shader path" +msgid "FPS when unfocused or paused" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path to shader directory. If no path is defined, default location will be " -"used." +msgid "FSAA" msgstr "" #: src/settings_translation_file.cpp -msgid "Filmic tone mapping" +msgid "Factor noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enables Hable's 'Uncharted 2' filmic tone mapping.\n" -"Simulates the tone curve of photographic film and how this approximates the\n" -"appearance of high dynamic range images. Mid-range contrast is slightly\n" -"enhanced, highlights and shadows are gradually compressed." +msgid "Fall bobbing factor" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving Nodes" +msgid "Fallback font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids" +msgid "Fast key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set to true to enable waving liquids (like water).\n" -"Requires shaders to be enabled." +msgid "Fast mode acceleration" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids wave height" +msgid "Fast mode speed" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The maximum height of the surface of waving liquids.\n" -"4.0 = Wave height is two nodes.\n" -"0.0 = Wave doesn't move at all.\n" -"Default is 1.0 (1/2 node).\n" -"Requires waving liquids to be enabled." +msgid "Fast movement" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids wavelength" +msgid "" +"Fast movement (via the \"Aux1\" key).\n" +"This requires the \"fast\" privilege on the server." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Length of liquid waves.\n" -"Requires waving liquids to be enabled." +msgid "Field of view" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids wave speed" +msgid "Field of view in degrees." msgstr "" #: src/settings_translation_file.cpp msgid "" -"How fast liquid waves will move. Higher = faster.\n" -"If negative, liquid waves will move backwards.\n" -"Requires waving liquids to be enabled." +"File in client/serverlist/ that contains your favorite servers displayed in " +"the\n" +"Multiplayer Tab." msgstr "" #: src/settings_translation_file.cpp -msgid "Waving leaves" +msgid "Filler depth" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set to true to enable waving leaves.\n" -"Requires shaders to be enabled." +msgid "Filler depth noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving plants" +msgid "Filmic tone mapping" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set to true to enable waving plants.\n" -"Requires shaders to be enabled." +"Filtered textures can blend RGB values with fully-transparent neighbors,\n" +"which PNG optimizers usually discard, often resulting in dark or\n" +"light edges to transparent textures. Apply a filter to clean that up\n" +"at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set to true to enable Shadow Mapping.\n" -"Requires shaders to be enabled." +msgid "Filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow strength" +msgid "First of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the shadow strength.\n" -"Lower value means lighter shadows, higher value means darker shadows." +msgid "First of two 3D noises that together define tunnels." msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow map max distance in nodes to render shadows" +msgid "Fixed map seed" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum distance to render shadows." +msgid "Fixed virtual joystick" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow map texture size" +msgid "Floatland density" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Texture size to render the shadow map on.\n" -"This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +msgid "Floatland maximum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow map texture in 32 bits" +msgid "Floatland minimum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Sets shadow texture quality to 32 bits.\n" -"On false, 16 bits texture will be used.\n" -"This can cause much more artifacts in the shadow." +msgid "Floatland noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Poisson filtering" +msgid "Floatland taper exponent" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." +msgid "Floatland tapering distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow filter quality" +msgid "Floatland water level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" -"but also uses more resources." +msgid "Fly key" msgstr "" #: src/settings_translation_file.cpp -msgid "Colored shadows" +msgid "Flying" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable colored shadows. \n" -"On true translucent nodes cast colored shadows. This is expensive." +msgid "Fog" msgstr "" #: src/settings_translation_file.cpp -msgid "Map update time" +msgid "Fog start" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" +msgid "Fog toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Soft shadow radius" +msgid "Font bold by default" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +msgid "Font italic by default" msgstr "" #: src/settings_translation_file.cpp -msgid "Sky Body Orbit Tilt" +msgid "Font shadow" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" -"Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +msgid "Font shadow alpha" msgstr "" #: src/settings_translation_file.cpp -msgid "Advanced" +msgid "Font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Arm inertia" +msgid "Font size of the default font in point (pt)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Arm inertia, gives a more realistic movement of\n" -"the arm when the camera moves." +msgid "Font size of the monospace font in point (pt)." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum FPS" +msgid "" +"Font size of the recent chat text and chat prompt in point (pt).\n" +"Value 0 will use the default font size." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If FPS would go higher than this, limit it by sleeping\n" -"to not waste CPU power for no benefit." +"Format of player chat messages. The following strings are valid " +"placeholders:\n" +"@name, @message, @timestamp (optional)" msgstr "" #: src/settings_translation_file.cpp -msgid "FPS when unfocused or paused" +msgid "Format of screenshots." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum FPS when the window is not focused, or when the game is paused." +msgid "Formspec Default Background Color" msgstr "" #: src/settings_translation_file.cpp -msgid "Pause on lost window focus" +msgid "Formspec Default Background Opacity" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Open the pause menu when the window's focus is lost. Does not pause if a " -"formspec is\n" -"open." +msgid "Formspec Full-Screen Background Color" msgstr "" #: src/settings_translation_file.cpp -msgid "Viewing range" +msgid "Formspec Full-Screen Background Opacity" msgstr "" #: src/settings_translation_file.cpp -msgid "View distance in nodes." +msgid "Formspec default background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Near plane" +msgid "Formspec default background opacity (between 0 and 255)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" -"Only works on GLES platforms. Most users will not need to change this.\n" -"Increasing can reduce artifacting on weaker GPUs.\n" -"0.1 = Default, 0.25 = Good value for weaker tablets." +msgid "Formspec full-screen background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Screen width" +msgid "Formspec full-screen background opacity (between 0 and 255)." msgstr "" #: src/settings_translation_file.cpp -msgid "Width component of the initial window size. Ignored in fullscreen mode." +msgid "Forward key" msgstr "" #: src/settings_translation_file.cpp -msgid "Screen height" +msgid "Fourth of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Height component of the initial window size. Ignored in fullscreen mode." +msgid "Fractal type" msgstr "" #: src/settings_translation_file.cpp -msgid "Autosave screen size" +msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "" #: src/settings_translation_file.cpp -msgid "Save window size automatically when modified." +msgid "FreeType fonts" msgstr "" #: src/settings_translation_file.cpp -msgid "Full screen" +msgid "" +"From how far blocks are generated for clients, stated in mapblocks (16 " +"nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "Fullscreen mode." +msgid "" +"From how far blocks are sent to clients, stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "VSync" +msgid "" +"From how far clients know about objects, stated in mapblocks (16 nodes).\n" +"\n" +"Setting this larger than active_block_range will also cause the server\n" +"to maintain active objects up to this distance in the direction the\n" +"player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" #: src/settings_translation_file.cpp -msgid "Vertical screen synchronization." +msgid "Full screen" msgstr "" #: src/settings_translation_file.cpp -msgid "Field of view" +msgid "Fullscreen mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Field of view in degrees." +msgid "GUI scaling" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve gamma" +msgid "GUI scaling filter" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Alters the light curve by applying 'gamma correction' to it.\n" -"Higher values make middle and lower light levels brighter.\n" -"Value '1.0' leaves the light curve unaltered.\n" -"This only has significant effect on daylight and artificial\n" -"light, it has very little effect on natural night light." +msgid "GUI scaling filter txr2img" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve low gradient" +msgid "Global callbacks" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Gradient of light curve at minimum light level.\n" -"Controls the contrast of the lowest light levels." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Light curve high gradient" +"Global map generation attributes.\n" +"In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp @@ -3602,1730 +3473,1872 @@ msgid "" "Controls the contrast of the highest light levels." msgstr "" -#: src/settings_translation_file.cpp -msgid "Light curve boost" -msgstr "" - #: src/settings_translation_file.cpp msgid "" -"Strength of light curve boost.\n" -"The 3 'boost' parameters define a range of the light\n" -"curve that is boosted in brightness." +"Gradient of light curve at minimum light level.\n" +"Controls the contrast of the lowest light levels." msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve boost center" +msgid "Graphics" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Center of light curve boost range.\n" -"Where 0.0 is minimum light level, 1.0 is maximum light level." +msgid "Gravity" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve boost spread" +msgid "Ground level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Spread of light curve boost range.\n" -"Controls the width of the range to be boosted.\n" -"Standard deviation of the light curve boost Gaussian." +msgid "Ground noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Texture path" +msgid "HTTP mods" msgstr "" #: src/settings_translation_file.cpp -msgid "Path to texture directory. All textures are first searched from here." +msgid "HUD scale factor" msgstr "" #: src/settings_translation_file.cpp -msgid "Video driver" +msgid "HUD toggle key" msgstr "" #: src/settings_translation_file.cpp msgid "" -"The rendering back-end.\n" -"A restart is required after changing this.\n" -"Note: On Android, stick with OGLES1 if unsure! App may fail to start " -"otherwise.\n" -"On other platforms, OpenGL is recommended.\n" -"Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" +"Handling for deprecated Lua API calls:\n" +"- none: Do not log deprecated calls\n" +"- log: mimic and log backtrace of deprecated call (default).\n" +"- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" #: src/settings_translation_file.cpp -msgid "Cloud radius" +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 "" -"Radius of cloud area stated in number of 64 node cloud squares.\n" -"Values larger than 26 will start to produce sharp cutoffs at cloud area " -"corners." +msgid "Heat blend noise" msgstr "" #: src/settings_translation_file.cpp -msgid "View bobbing factor" +msgid "Heat noise" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable view bobbing and amount of view bobbing.\n" -"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +"Height component of the initial window size. Ignored in fullscreen mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Fall bobbing factor" +msgid "Height noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Multiplier for fall bobbing.\n" -"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgid "Height select noise" msgstr "" #: src/settings_translation_file.cpp -msgid "3D mode" +msgid "Hill steepness" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"3D support.\n" -"Currently supported:\n" -"- none: no 3d output.\n" -"- anaglyph: cyan/magenta color 3d.\n" -"- interlaced: odd/even line based polarisation screen support.\n" -"- topbottom: split screen top/bottom.\n" -"- sidebyside: split screen side by side.\n" -"- crossview: Cross-eyed 3d\n" -"- pageflip: quadbuffer based 3d.\n" -"Note that the interlaced mode requires shaders to be enabled." +msgid "Hill threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "3D mode parallax strength" +msgid "Hilliness1 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Strength of 3D mode parallax." +msgid "Hilliness2 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Console height" +msgid "Hilliness3 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." +msgid "Hilliness4 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Console color" +msgid "Homepage of server, to be displayed in the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "In-game chat console background color (R,G,B)." +msgid "" +"Horizontal acceleration in air when jumping or falling,\n" +"in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Console alpha" +msgid "" +"Horizontal and vertical acceleration in fast mode,\n" +"in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." +msgid "" +"Horizontal and vertical acceleration on ground or when climbing,\n" +"in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Full-Screen Background Opacity" +msgid "Hotbar next key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec full-screen background opacity (between 0 and 255)." +msgid "Hotbar previous key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Full-Screen Background Color" +msgid "Hotbar slot 1 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec full-screen background color (R,G,B)." +msgid "Hotbar slot 10 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Default Background Opacity" +msgid "Hotbar slot 11 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec default background opacity (between 0 and 255)." +msgid "Hotbar slot 12 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Default Background Color" +msgid "Hotbar slot 13 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec default background color (R,G,B)." +msgid "Hotbar slot 14 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Selection box color" +msgid "Hotbar slot 15 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Selection box border color (R,G,B)." +msgid "Hotbar slot 16 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Selection box width" +msgid "Hotbar slot 17 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Width of the selection box lines around nodes." +msgid "Hotbar slot 18 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Crosshair color" +msgid "Hotbar slot 19 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Crosshair color (R,G,B).\n" -"Also controls the object crosshair color" +msgid "Hotbar slot 2 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Crosshair alpha" +msgid "Hotbar slot 20 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +msgid "Hotbar slot 21 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Recent Chat Messages" +msgid "Hotbar slot 22 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of recent chat messages to show" +msgid "Hotbar slot 23 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Desynchronize block animation" +msgid "Hotbar slot 24 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Whether node texture animations should be desynchronized per mapblock." +msgid "Hotbar slot 25 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum hotbar width" +msgid "Hotbar slot 26 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum proportion of current window to be used for hotbar.\n" -"Useful if there's something to be displayed right or left of hotbar." +msgid "Hotbar slot 27 key" msgstr "" #: src/settings_translation_file.cpp -msgid "HUD scale factor" +msgid "Hotbar slot 28 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +msgid "Hotbar slot 29 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mesh cache" +msgid "Hotbar slot 3 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Enables caching of facedir rotated meshes." +msgid "Hotbar slot 30 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock mesh generation delay" +msgid "Hotbar slot 31 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Delay between mesh updates on the client in ms. Increasing this will slow\n" -"down the rate of mesh updates, thus reducing jitter on slower clients." +msgid "Hotbar slot 32 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock mesh generator's MapBlock cache size in MB" +msgid "Hotbar slot 4 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Size of the MapBlock cache of the mesh generator. Increasing this will\n" -"increase the cache hit %, reducing the data being copied from the main\n" -"thread, thus reducing jitter." +msgid "Hotbar slot 5 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimap" +msgid "Hotbar slot 6 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Enables minimap." +msgid "Hotbar slot 7 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Round minimap" +msgid "Hotbar slot 8 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Shape of the minimap. Enabled = round, disabled = square." +msgid "Hotbar slot 9 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimap scan height" +msgid "How deep to make rivers." msgstr "" #: src/settings_translation_file.cpp msgid "" -"True = 256\n" -"False = 128\n" -"Usable to make minimap smoother on slower machines." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Colored fog" +"How fast liquid waves will move. Higher = faster.\n" +"If negative, liquid waves will move backwards.\n" +"Requires waving liquids to be enabled." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Make fog and sky colors depend on daytime (dawn/sunset) and view direction." +"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 "Ambient occlusion gamma" +msgid "How wide to make rivers." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The strength (darkness) of node ambient-occlusion shading.\n" -"Lower is darker, Higher is lighter. The valid range of values for this\n" -"setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" -"set to the nearest valid value." +msgid "Humidity blend noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Inventory items animations" +msgid "Humidity noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Enables animation of inventory items." +msgid "Humidity variation for biomes." msgstr "" #: src/settings_translation_file.cpp -msgid "Fog start" +msgid "IPv6" msgstr "" #: src/settings_translation_file.cpp -msgid "Fraction of the visible distance at which fog starts to be rendered" +msgid "IPv6 server" msgstr "" #: src/settings_translation_file.cpp -msgid "Opaque liquids" +msgid "" +"If FPS would go higher than this, limit it by sleeping\n" +"to not waste CPU power for no benefit." msgstr "" #: src/settings_translation_file.cpp -msgid "Makes all liquids opaque" +msgid "" +"If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" +"enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "World-aligned textures mode" +msgid "" +"If enabled the server will perform map block occlusion culling based on\n" +"on the eye position of the player. This can reduce the number of blocks\n" +"sent to the client 50-80%. The client will not longer receive most " +"invisible\n" +"so that the utility of noclip mode is reduced." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Textures on a node may be aligned either to the node or to the world.\n" -"The former mode suits better things like machines, furniture, etc., while\n" -"the latter makes stairs and microblocks fit surroundings better.\n" -"However, as this possibility is new, thus may not be used by older servers,\n" -"this option allows enforcing it for certain node types. Note though that\n" -"that is considered EXPERIMENTAL and may not work properly." +"If enabled together with fly mode, player is able to fly through solid " +"nodes.\n" +"This requires the \"noclip\" privilege on the server." msgstr "" #: src/settings_translation_file.cpp -msgid "Autoscaling mode" +msgid "" +"If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " +"and\n" +"descending." msgstr "" #: src/settings_translation_file.cpp msgid "" -"World-aligned textures may be scaled to span several nodes. However,\n" -"the server may not send the scale you want, especially if you use\n" -"a specially-designed texture pack; with this option, the client tries\n" -"to determine the scale automatically basing on the texture size.\n" -"See also texture_min_size.\n" -"Warning: This option is EXPERIMENTAL!" +"If enabled, actions are recorded for rollback.\n" +"This option is only read when server starts." msgstr "" #: src/settings_translation_file.cpp -msgid "Show entity selection boxes" +msgid "If enabled, disable cheat prevention in multiplayer." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Show entity selection boxes\n" -"A restart is required after changing this." +"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 "Menus" +msgid "" +"If enabled, makes move directions relative to the player's pitch when flying " +"or swimming." msgstr "" #: src/settings_translation_file.cpp -msgid "Clouds in menu" +msgid "If enabled, new players cannot join with an empty password." msgstr "" #: src/settings_translation_file.cpp -msgid "Use a cloud animation for the main menu background." +msgid "" +"If enabled, you can place blocks at the position (feet + eye level) where " +"you stand.\n" +"This is helpful when working with nodeboxes in small areas." msgstr "" #: src/settings_translation_file.cpp -msgid "GUI scaling" +msgid "" +"If the CSM restriction for node range is enabled, get_node calls are " +"limited\n" +"to this distance from the player to the node." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Scale GUI by a user specified value.\n" -"Use a nearest-neighbor-anti-alias filter to scale the GUI.\n" -"This will smooth over some of the rough edges, and blend\n" -"pixels when scaling down, at the cost of blurring some\n" -"edge pixels when images are scaled by non-integer sizes." +"If the execution of a chat command takes longer than this specified time in\n" +"seconds, add the time information to the chat command message" msgstr "" #: src/settings_translation_file.cpp -msgid "GUI scaling filter" +msgid "" +"If the file size of debug.txt exceeds the number of megabytes specified in\n" +"this setting when it is opened, the file is moved to debug.txt.1,\n" +"deleting an older debug.txt.1 if it exists.\n" +"debug.txt is only moved if this setting is positive." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"When gui_scaling_filter is true, all GUI images need to be\n" -"filtered in software, but some images are generated directly\n" -"to hardware (e.g. render-to-texture for nodes in inventory)." +msgid "If this is set, players will always (re)spawn at the given position." msgstr "" #: src/settings_translation_file.cpp -msgid "GUI scaling filter txr2img" +msgid "Ignore world errors" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"When gui_scaling_filter_txr2img is true, copy those images\n" -"from hardware to software for scaling. When false, fall back\n" -"to the old scaling method, for video drivers that don't\n" -"properly support downloading textures back from hardware." +msgid "In-Game" msgstr "" #: src/settings_translation_file.cpp -msgid "Tooltip delay" +msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." msgstr "" #: src/settings_translation_file.cpp -msgid "Delay showing tooltips, stated in milliseconds." +msgid "In-game chat console background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Append item name" +msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." msgstr "" #: src/settings_translation_file.cpp -msgid "Append item name to tooltip." +msgid "Inc. volume key" msgstr "" #: src/settings_translation_file.cpp -msgid "FreeType fonts" +msgid "Initial vertical speed when jumping, in nodes per second." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." +"Instrument builtin.\n" +"This is usually only needed by core/builtin contributors" msgstr "" #: src/settings_translation_file.cpp -msgid "Font bold by default" +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "Font italic by default" +msgid "" +"Instrument global callback functions on registration.\n" +"(anything you pass to a minetest.register_*() function)" msgstr "" #: src/settings_translation_file.cpp -msgid "Font shadow" +msgid "" +"Instrument the action function of Active Block Modifiers on registration." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Shadow offset (in pixels) of the default font. If 0, then shadow will not be " -"drawn." +"Instrument the action function of Loading Block Modifiers on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "Font shadow alpha" +msgid "Instrument the methods of entities on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." +msgid "Instrumentation" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size" +msgid "Interval of saving important changes in the world, stated in seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Interval of sending time of day to clients." msgstr "" #: src/settings_translation_file.cpp -msgid "Regular font path" +msgid "Inventory items animations" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" -"The fallback font will be used if the font cannot be loaded." +msgid "Inventory key" msgstr "" #: src/settings_translation_file.cpp -msgid "Bold font path" +msgid "Invert mouse" msgstr "" #: src/settings_translation_file.cpp -msgid "Italic font path" +msgid "Invert vertical mouse movement." msgstr "" #: src/settings_translation_file.cpp -msgid "Bold and italic font path" +msgid "Italic font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Monospace font size" +msgid "Italic monospace font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +msgid "Item entity TTL" msgstr "" #: src/settings_translation_file.cpp -msgid "Monospace font path" +msgid "Iterations" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" -"This font is used for e.g. the console and profiler screen." +"Iterations of the recursive function.\n" +"Increasing this increases the amount of fine detail, but also\n" +"increases processing load.\n" +"At iterations = 20 this mapgen has a similar load to mapgen V7." msgstr "" #: src/settings_translation_file.cpp -msgid "Bold monospace font path" +msgid "Joystick ID" msgstr "" #: src/settings_translation_file.cpp -msgid "Italic monospace font path" +msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Bold and italic monospace font path" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp -msgid "Fallback font path" +msgid "Joystick frustum sensitivity" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" -"This font will be used for certain languages or if the default font is " -"unavailable." +msgid "Joystick type" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat font size" +msgid "" +"Julia set only.\n" +"W component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Font size of the recent chat text and chat prompt in point (pt).\n" -"Value 0 will use the default font size." +"Julia set only.\n" +"X component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Screenshot folder" +msgid "" +"Julia set only.\n" +"Y component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to save screenshots at. Can be an absolute or relative path.\n" -"The folder will be created if it doesn't already exist." +"Julia set only.\n" +"Z component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Screenshot format" +msgid "Julia w" msgstr "" #: src/settings_translation_file.cpp -msgid "Format of screenshots." +msgid "Julia x" msgstr "" #: src/settings_translation_file.cpp -msgid "Screenshot quality" +msgid "Julia y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia z" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Jump key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Jumping speed" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Screenshot quality. Only used for JPEG format.\n" -"1 means worst quality; 100 means best quality.\n" -"Use 0 for default quality." +"Key for decreasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "DPI" +msgid "" +"Key for decreasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " -"screens." +"Key for digging.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable console window" +msgid "" +"Key for dropping the currently selected item.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Windows systems only: Start Minetest with the command line window in the " -"background.\n" -"Contains the same information as the file debug.txt (default name)." +"Key for increasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Sound" +msgid "" +"Key for increasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enables the sound system.\n" -"If disabled, this completely disables all sounds everywhere and the in-game\n" -"sound controls will be non-functional.\n" -"Changing this setting requires a restart." +"Key for jumping.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Volume" +msgid "" +"Key for moving fast in fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Volume of all sounds.\n" -"Requires the sound system to be enabled." +"Key for moving the player backward.\n" +"Will also disable autoforward, when active.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Mute sound" +msgid "" +"Key for moving the player forward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether to mute sounds. You can unmute sounds at any time, unless the\n" -"sound system is disabled (enable_sound=false).\n" -"In-game, you can toggle the mute state with the mute key or by using the\n" -"pause menu." +"Key for moving the player left.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Client" +msgid "" +"Key for moving the player right.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Network" +msgid "" +"Key for muting the game.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server address" +msgid "" +"Key for opening the chat window to type commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Address to connect to.\n" -"Leave this blank to start a local server.\n" -"Note that the address field in the main menu overrides this setting." +"Key for opening the chat window to type local commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Remote port" +msgid "" +"Key for opening the chat window.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Port to connect to (UDP).\n" -"Note that the port field in the main menu overrides this setting." +"Key for opening the inventory.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Prometheus listener address" +msgid "" +"Key for placing.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" -"enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Key for selecting the 11th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Saving map received from server" +msgid "" +"Key for selecting the 12th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Save the map received by the client on disk." +msgid "" +"Key for selecting the 13th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Connect to external media server" +msgid "" +"Key for selecting the 14th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable usage of remote media server (if provided by server).\n" -"Remote servers offer a significantly faster way to download media (e.g. " -"textures)\n" -"when connecting to the server." +"Key for selecting the 15th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Client modding" +msgid "" +"Key for selecting the 16th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable Lua modding support on client.\n" -"This support is experimental and API can change." +"Key for selecting the 17th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Serverlist URL" +msgid "" +"Key for selecting the 18th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "URL to the server list displayed in the Multiplayer Tab." +msgid "" +"Key for selecting the 19th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Serverlist file" +msgid "" +"Key for selecting the 20th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"File in client/serverlist/ that contains your favorite servers displayed in " -"the\n" -"Multiplayer Tab." +"Key for selecting the 21st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum size of the out chat queue" +msgid "" +"Key for selecting the 22nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum size of the out chat queue.\n" -"0 to disable queueing and -1 to make the queue size unlimited." +"Key for selecting the 23rd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable register confirmation" +msgid "" +"Key for selecting the 24th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable register confirmation when connecting to server.\n" -"If disabled, new account will be registered automatically." +"Key for selecting the 25th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock unload timeout" +msgid "" +"Key for selecting the 26th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Timeout for client to remove unused map data from memory." +msgid "" +"Key for selecting the 27th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock limit" +msgid "" +"Key for selecting the 28th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of mapblocks for client to be kept in memory.\n" -"Set to -1 for unlimited amount." +"Key for selecting the 29th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Show debug info" +msgid "" +"Key for selecting the 30th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether to show the client debug info (has the same effect as hitting F5)." +"Key for selecting the 31st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server / Singleplayer" +msgid "" +"Key for selecting the 32nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server name" +msgid "" +"Key for selecting the eighth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Name of the server, to be displayed when players join and in the serverlist." +"Key for selecting the fifth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server description" +msgid "" +"Key for selecting the first hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Description of server, to be displayed when players join and in the " -"serverlist." +"Key for selecting the fourth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Domain name of server, to be displayed in the serverlist." +msgid "" +"Key for selecting the next item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server URL" +msgid "" +"Key for selecting the ninth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Homepage of server, to be displayed in the serverlist." +msgid "" +"Key for selecting the previous item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Announce server" +msgid "" +"Key for selecting the second hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Automatically report to the serverlist." +msgid "" +"Key for selecting the seventh hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Announce to this serverlist." +msgid "" +"Key for selecting the sixth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Strip color codes" +msgid "" +"Key for selecting the tenth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Remove color codes from incoming chat messages\n" -"Use this to stop players from being able to use color in their messages" +"Key for selecting the third hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server port" +msgid "" +"Key for sneaking.\n" +"Also used for climbing down and descending in water if aux1_descends is " +"disabled.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Network port to listen (UDP).\n" -"This value will be overridden when starting from the main menu." +"Key for switching between first- and third-person camera.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Bind address" +msgid "" +"Key for taking screenshots.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "The network interface that the server listens on." +msgid "" +"Key for toggling autoforward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Strict protocol checking" +msgid "" +"Key for toggling cinematic mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling display of minimap.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable to disallow old clients from connecting.\n" -"Older clients are compatible in the sense that they will not crash when " -"connecting\n" -"to new servers, but they may not support all new features that you are " -"expecting." +"Key for toggling flying.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Remote media" +msgid "" +"Key for toggling noclip mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Specifies URL from which client fetches media instead of using UDP.\n" -"$filename should be accessible from $remote_media$filename via cURL\n" -"(obviously, remote_media should end with a slash).\n" -"Files that are not present will be fetched the usual way." +"Key for toggling pitch move mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "IPv6 server" +msgid "" +"Key for toggling the camera update. Only used for development\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable/disable running an IPv6 server.\n" -"Ignored if bind_address is set.\n" -"Needs enable_ipv6 to be enabled." +"Key for toggling the display of chat.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum simultaneous block sends per client" +msgid "" +"Key for toggling the display of debug info.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of blocks that are simultaneously sent per client.\n" -"The maximum total count is calculated dynamically:\n" -"max_total = ceil((#clients + max_users) * per_client / 4)" +"Key for toggling the display of fog.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Delay in sending blocks after building" +msgid "" +"Key for toggling the display of the HUD.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"To reduce lag, block transfers are slowed down when a player is building " -"something.\n" -"This determines how long they are slowed down after placing or removing a " -"node." +"Key for toggling the display of the large chat console.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Max. packets per iteration" +msgid "" +"Key for toggling the display of the profiler. Used for development.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" 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." +"Key for toggling unlimited view range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Map Compression Level for Network Transfer" +msgid "" +"Key to use view zoom when possible.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" +msgid "Kick players who sent more than X messages per 10 seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Default game" +msgid "Lake steepness" 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." +msgid "Lake threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Message of the day" +msgid "Language" msgstr "" #: src/settings_translation_file.cpp -msgid "Message of the day displayed to players connecting." +msgid "Large cave depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum users" +msgid "Large cave maximum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of players that can be connected simultaneously." +msgid "Large cave minimum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Map directory" +msgid "Large cave proportion flooded" 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." +msgid "Large chat console key" msgstr "" #: src/settings_translation_file.cpp -msgid "Item entity TTL" +msgid "Leaves style" 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." +"Leaves style:\n" +"- Fancy: all faces visible\n" +"- Simple: only outer faces, if defined special_tiles are used\n" +"- Opaque: disable transparency" msgstr "" #: src/settings_translation_file.cpp -msgid "Default stack size" +msgid "Left key" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Specifies the default stack size of nodes, items and tools.\n" -"Note that mods or games may explicitly set a stack for certain (or all) " -"items." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Damage" +"Length of a server tick and the interval at which objects are generally " +"updated over\n" +"network." msgstr "" #: src/settings_translation_file.cpp -msgid "Enable players getting damage and dying." +msgid "" +"Length of liquid waves.\n" +"Requires waving liquids to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Creative" +msgid "Length of time between Active Block Modifier (ABM) execution cycles" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable creative mode for all players" +msgid "Length of time between NodeTimer execution cycles" msgstr "" #: src/settings_translation_file.cpp -msgid "Fixed map seed" +msgid "Length of time between active block management cycles" 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." +"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 "Default password" +msgid "Light curve boost" msgstr "" #: src/settings_translation_file.cpp -msgid "New users need to input this password." +msgid "Light curve boost center" msgstr "" #: src/settings_translation_file.cpp -msgid "Default privileges" +msgid "Light curve boost spread" 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." +msgid "Light curve gamma" msgstr "" #: src/settings_translation_file.cpp -msgid "Basic privileges" +msgid "Light curve high gradient" msgstr "" #: src/settings_translation_file.cpp -msgid "Privileges that players with basic_privs can grant" +msgid "Light curve low gradient" msgstr "" #: src/settings_translation_file.cpp -msgid "Unlimited player transfer distance" +msgid "" +"Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" +"Only mapchunks completely within the mapgen limit are generated.\n" +"Value is stored per-world." 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." +"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 "Player transfer distance" +msgid "Liquid fluidity" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." +msgid "Liquid fluidity smoothing" msgstr "" #: src/settings_translation_file.cpp -msgid "Player versus player" +msgid "Liquid loop max" msgstr "" #: src/settings_translation_file.cpp -msgid "Whether to allow players to damage and kill each other." +msgid "Liquid queue purge time" msgstr "" #: src/settings_translation_file.cpp -msgid "Mod channels" +msgid "Liquid sinking" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable mod channels support." +msgid "Liquid update interval in seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Static spawnpoint" +msgid "Liquid update tick" msgstr "" #: src/settings_translation_file.cpp -msgid "If this is set, players will always (re)spawn at the given position." +msgid "Load the game profiler" msgstr "" #: src/settings_translation_file.cpp -msgid "Disallow empty passwords" +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 "If enabled, new players cannot join with an empty password." +msgid "Loading Block Modifiers" msgstr "" #: src/settings_translation_file.cpp -msgid "Disable anticheat" +msgid "Lower Y limit of dungeons." msgstr "" #: src/settings_translation_file.cpp -msgid "If enabled, disable cheat prevention in multiplayer." +msgid "Lower Y limit of floatlands." msgstr "" #: src/settings_translation_file.cpp -msgid "Rollback recording" +msgid "Main menu script" msgstr "" #: src/settings_translation_file.cpp msgid "" -"If enabled, actions are recorded for rollback.\n" -"This option is only read when server starts." +"Make fog and sky colors depend on daytime (dawn/sunset) and view direction." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message format" +msgid "Makes all liquids opaque" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Format of player chat messages. The following strings are valid " -"placeholders:\n" -"@name, @message, @timestamp (optional)" +msgid "Map Compression Level for Disk Storage" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat command time message threshold" +msgid "Map Compression Level for Network Transfer" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If the execution of a chat command takes longer than this specified time in\n" -"seconds, add the time information to the chat command message" +msgid "Map directory" msgstr "" #: src/settings_translation_file.cpp -msgid "Shutdown message" +msgid "Map generation attributes specific to Mapgen Carpathian." msgstr "" #: src/settings_translation_file.cpp -msgid "A message to be displayed to all clients when the server shuts down." +msgid "" +"Map generation attributes specific to Mapgen Flat.\n" +"Occasional lakes and hills can be added to the flat world." msgstr "" #: src/settings_translation_file.cpp -msgid "Crash message" +msgid "" +"Map generation attributes specific to Mapgen Fractal.\n" +"'terrain' enables the generation of non-fractal terrain:\n" +"ocean, islands and underground." msgstr "" #: src/settings_translation_file.cpp -msgid "A message to be displayed to all clients when the server crashes." +msgid "" +"Map generation attributes specific to Mapgen Valleys.\n" +"'altitude_chill': Reduces heat with altitude.\n" +"'humid_rivers': Increases humidity around rivers.\n" +"'vary_river_depth': If enabled, low humidity and high heat causes rivers\n" +"to become shallower and occasionally dry.\n" +"'altitude_dry': Reduces humidity with altitude." msgstr "" #: src/settings_translation_file.cpp -msgid "Ask to reconnect after crash" +msgid "Map generation attributes specific to Mapgen v5." 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" +"Map generation attributes specific to Mapgen v6.\n" +"The 'snowbiomes' flag enables the new 5 biome system.\n" +"When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" +"the 'jungles' flag is ignored." msgstr "" #: src/settings_translation_file.cpp msgid "" -"From how far clients know about objects, stated in mapblocks (16 nodes).\n" -"\n" -"Setting this larger than active_block_range will also cause the server\n" -"to maintain active objects up to this distance in the direction the\n" -"player is looking. (This can avoid mobs suddenly disappearing from view)" +"Map generation attributes specific to Mapgen v7.\n" +"'ridges': Rivers.\n" +"'floatlands': Floating land masses in the atmosphere.\n" +"'caverns': Giant caves deep underground." msgstr "" #: src/settings_translation_file.cpp -msgid "Active block range" +msgid "Map generation limit" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The radius of the volume of blocks around every player that is subject to " -"the\n" -"active block stuff, stated in mapblocks (16 nodes).\n" -"In active blocks objects are loaded and ABMs run.\n" -"This is also the minimum range in which active objects (mobs) are " -"maintained.\n" -"This should be configured together with active_object_send_range_blocks." +msgid "Map save interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp -msgid "Max block send distance" +msgid "Mapblock limit" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"From how far blocks are sent to clients, stated in mapblocks (16 nodes)." +msgid "Mapblock mesh generation delay" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum forceloaded blocks" +msgid "Mapblock mesh generator's MapBlock cache size in MB" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of forceloaded mapblocks." +msgid "Mapblock unload timeout" msgstr "" #: src/settings_translation_file.cpp -msgid "Time send interval" +msgid "Mapgen Carpathian" msgstr "" #: src/settings_translation_file.cpp -msgid "Interval of sending time of day to clients." +msgid "Mapgen Carpathian specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Time speed" +msgid "Mapgen Flat" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Controls length of day/night cycle.\n" -"Examples:\n" -"72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." +msgid "Mapgen Flat specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "World start time" +msgid "Mapgen Fractal" msgstr "" #: src/settings_translation_file.cpp -msgid "Time of day when a new world is started, in millihours (0-23999)." +msgid "Mapgen Fractal specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Map save interval" +msgid "Mapgen V5" msgstr "" #: src/settings_translation_file.cpp -msgid "Interval of saving important changes in the world, stated in seconds." +msgid "Mapgen V5 specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message max length" +msgid "Mapgen V6" msgstr "" #: src/settings_translation_file.cpp -msgid "Set the maximum character length of a chat message sent by clients." +msgid "Mapgen V6 specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message count limit" +msgid "Mapgen V7" msgstr "" #: src/settings_translation_file.cpp -msgid "Amount of messages a player may send per 10 seconds." +msgid "Mapgen V7 specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message kick threshold" +msgid "Mapgen Valleys" msgstr "" #: src/settings_translation_file.cpp -msgid "Kick players who sent more than X messages per 10 seconds." +msgid "Mapgen Valleys specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Physics" +msgid "Mapgen debug" msgstr "" #: src/settings_translation_file.cpp -msgid "Default acceleration" +msgid "Mapgen name" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Horizontal and vertical acceleration on ground or when climbing,\n" -"in nodes per second per second." +msgid "Max block generate distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Acceleration in air" +msgid "Max block send distance" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Horizontal acceleration in air when jumping or falling,\n" -"in nodes per second per second." +msgid "Max liquids processed per step." msgstr "" #: src/settings_translation_file.cpp -msgid "Fast mode acceleration" +msgid "Max. clearobjects extra blocks" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Horizontal and vertical acceleration in fast mode,\n" -"in nodes per second per second." +msgid "Max. packets per iteration" msgstr "" #: src/settings_translation_file.cpp -msgid "Walking speed" +msgid "Maximum FPS" msgstr "" #: src/settings_translation_file.cpp -msgid "Walking and flying speed, in nodes per second." +msgid "Maximum FPS when the window is not focused, or when the game is paused." msgstr "" #: src/settings_translation_file.cpp -msgid "Sneaking speed" +msgid "Maximum distance to render shadows." msgstr "" #: src/settings_translation_file.cpp -msgid "Sneaking speed, in nodes per second." +msgid "Maximum forceloaded blocks" msgstr "" #: src/settings_translation_file.cpp -msgid "Fast mode speed" +msgid "Maximum hotbar width" msgstr "" #: src/settings_translation_file.cpp -msgid "Walking, flying and climbing speed in fast mode, in nodes per second." +msgid "Maximum limit of random number of large caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "Climbing speed" +msgid "Maximum limit of random number of small caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "Vertical climbing speed, in nodes per second." +msgid "" +"Maximum liquid resistance. Controls deceleration when entering liquid at\n" +"high speed." msgstr "" #: src/settings_translation_file.cpp -msgid "Jumping speed" +msgid "" +"Maximum number of blocks that are simultaneously sent per client.\n" +"The maximum total count is calculated dynamically:\n" +"max_total = ceil((#clients + max_users) * per_client / 4)" msgstr "" #: src/settings_translation_file.cpp -msgid "Initial vertical speed when jumping, in nodes per second." +msgid "Maximum number of blocks that can be queued for loading." msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid fluidity" +msgid "" +"Maximum number of blocks to be queued that are to be generated.\n" +"This limit is enforced per player." msgstr "" #: src/settings_translation_file.cpp -msgid "Decrease this to increase liquid resistance to movement." +msgid "" +"Maximum number of blocks to be queued that are to be loaded from file.\n" +"This limit is enforced per player." msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid fluidity smoothing" +msgid "" +"Maximum number of concurrent downloads. Downloads exceeding this limit will " +"be queued.\n" +"This should be lower than curl_parallel_limit." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum number of forceloaded mapblocks." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum liquid resistance. Controls deceleration when entering liquid at\n" -"high speed." +"Maximum number of mapblocks for client to be kept in memory.\n" +"Set to -1 for unlimited amount." msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid sinking" +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 "Controls sinking speed in liquid." +msgid "Maximum number of players that can be connected simultaneously." msgstr "" #: src/settings_translation_file.cpp -msgid "Gravity" +msgid "Maximum number of recent chat messages to show" msgstr "" #: src/settings_translation_file.cpp -msgid "Acceleration of gravity, in nodes per second per second." +msgid "Maximum number of statically stored objects in a block." msgstr "" #: src/settings_translation_file.cpp -msgid "Deprecated Lua API handling" +msgid "Maximum objects per block" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Handling for deprecated Lua API calls:\n" -"- none: Do not log deprecated calls\n" -"- log: mimic and log backtrace of deprecated call (default).\n" -"- error: abort on usage of deprecated call (suggested for mod developers)." +"Maximum proportion of current window to be used for hotbar.\n" +"Useful if there's something to be displayed right or left of hotbar." msgstr "" #: src/settings_translation_file.cpp -msgid "Max. clearobjects extra blocks" +msgid "Maximum simultaneous block sends per client" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum size of the out chat queue" 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)." +"Maximum size of the out chat queue.\n" +"0 to disable queueing and -1 to make the queue size unlimited." msgstr "" #: src/settings_translation_file.cpp -msgid "Unload unused server data" +msgid "" +"Maximum time a file download (e.g. a mod download) may take, stated in " +"milliseconds." 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." +"Maximum time an interactive request (e.g. server list fetch) may take, " +"stated in milliseconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum objects per block" +msgid "Maximum users" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of statically stored objects in a block." +msgid "Menus" msgstr "" #: src/settings_translation_file.cpp -msgid "Synchronous SQLite" +msgid "Mesh cache" msgstr "" #: src/settings_translation_file.cpp -msgid "See https://www.sqlite.org/pragma.html#pragma_synchronous" +msgid "Message of the day" msgstr "" #: src/settings_translation_file.cpp -msgid "Map Compression Level for Disk Storage" +msgid "Message of the day displayed to players connecting." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" +msgid "Method used to highlight selected object." msgstr "" #: src/settings_translation_file.cpp -msgid "Dedicated server step" +msgid "Minimal level of logging to be written to chat." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Length of a server tick and the interval at which objects are generally " -"updated over\n" -"network." +msgid "Minimap" msgstr "" #: src/settings_translation_file.cpp -msgid "Active block management interval" +msgid "Minimap key" msgstr "" #: src/settings_translation_file.cpp -msgid "Length of time between active block management cycles" +msgid "Minimap scan height" msgstr "" #: src/settings_translation_file.cpp -msgid "ABM interval" +msgid "Minimum limit of random number of large caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "Length of time between Active Block Modifier (ABM) execution cycles" +msgid "Minimum limit of random number of small caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "ABM time budget" +msgid "Minimum texture size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The time budget allowed for ABMs to execute on each step\n" -"(as a fraction of the ABM Interval)" +msgid "Mipmapping" msgstr "" #: src/settings_translation_file.cpp -msgid "NodeTimer interval" +msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Length of time between NodeTimer execution cycles" +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp -msgid "Ignore world errors" +msgid "Monospace font path" 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." +msgid "Monospace font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid loop max" +msgid "Mountain height noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Max liquids processed per step." +msgid "Mountain noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid queue purge time" +msgid "Mountain variation noise" 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." +msgid "Mountain zero level" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid update tick" +msgid "Mouse sensitivity" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid update interval in seconds." +msgid "Mouse sensitivity multiplier." msgstr "" #: src/settings_translation_file.cpp -msgid "Block send optimize distance" +msgid "Mud noise" msgstr "" #: src/settings_translation_file.cpp msgid "" -"At this distance the server will aggressively optimize which blocks are sent " -"to\n" -"clients.\n" -"Small values potentially improve performance a lot, at the expense of " -"visible\n" -"rendering glitches (some blocks will not be rendered under water and in " -"caves,\n" -"as well as sometimes on land).\n" -"Setting this to a value greater than max_block_send_distance disables this\n" -"optimization.\n" -"Stated in mapblocks (16 nodes)." +"Multiplier for fall bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" #: src/settings_translation_file.cpp -msgid "Server side occlusion culling" +msgid "Mute key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mute sound" msgstr "" #: src/settings_translation_file.cpp msgid "" -"If enabled the server will perform map block occlusion culling based on\n" -"on the eye position of the player. This can reduce the number of blocks\n" -"sent to the client 50-80%. The client will not longer receive most " -"invisible\n" -"so that the utility of noclip mode is reduced." +"Name of map generator to be used when creating a new world.\n" +"Creating a world in the main menu will override this.\n" +"Current mapgens in a highly unstable state:\n" +"- The optional floatlands of v7 (disabled by default)." msgstr "" #: src/settings_translation_file.cpp -msgid "Client side modding restrictions" +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 "" -"Restricts the access of certain client-side functions on servers.\n" -"Combine the byteflags below to restrict client-side features, or set to 0\n" -"for no restrictions:\n" -"LOAD_CLIENT_MODS: 1 (disable loading client-provided mods)\n" -"CHAT_MESSAGES: 2 (disable send_chat_message call client-side)\n" -"READ_ITEMDEFS: 4 (disable get_item_def call client-side)\n" -"READ_NODEDEFS: 8 (disable get_node_def call client-side)\n" -"LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to\n" -"csm_restriction_noderange)\n" -"READ_PLAYERINFO: 32 (disable get_player_names call client-side)" +"Name of the server, to be displayed when players join and in the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "Client side node lookup range restriction" +msgid "Near plane" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If the CSM restriction for node range is enabled, get_node calls are " -"limited\n" -"to this distance from the player to the node." +msgid "Network" msgstr "" #: src/settings_translation_file.cpp -msgid "Security" +msgid "" +"Network port to listen (UDP).\n" +"This value will be overridden when starting from the main menu." msgstr "" #: src/settings_translation_file.cpp -msgid "Enable mod security" +msgid "New users need to input this password." msgstr "" #: src/settings_translation_file.cpp -msgid "Prevent mods from doing insecure things like running shell commands." +msgid "Noclip" msgstr "" #: src/settings_translation_file.cpp -msgid "Trusted mods" +msgid "Noclip key" 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())." +msgid "Node highlighting" msgstr "" #: src/settings_translation_file.cpp -msgid "HTTP mods" +msgid "NodeTimer interval" 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." +msgid "Noises" msgstr "" #: src/settings_translation_file.cpp -msgid "Profiling" +msgid "Number of emerge threads" msgstr "" #: src/settings_translation_file.cpp -msgid "Load the game profiler" +msgid "" +"Number of emerge threads to use.\n" +"Value 0:\n" +"- Automatic selection. The number of emerge threads will be\n" +"- 'number of processors - 2', with a lower limit of 1.\n" +"Any other value:\n" +"- Specifies the number of emerge threads, with a lower limit of 1.\n" +"WARNING: Increasing the number of emerge threads increases engine mapgen\n" +"speed, but this may harm game performance by interfering with other\n" +"processes, especially in singleplayer and/or when running Lua code in\n" +"'on_generated'. For many users the optimum setting may be '1'." 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." +"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 "Default report format" +msgid "Online Content Repository" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The default format in which profiles are being saved,\n" -"when calling `/profiler save [format]` without format." +msgid "Opaque liquids" msgstr "" #: src/settings_translation_file.cpp -msgid "Report path" +msgid "" +"Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." msgstr "" #: src/settings_translation_file.cpp msgid "" -"The file path relative to your worldpath in which profiles will be saved to." +"Open the pause menu when the window's focus is lost. Does not pause if a " +"formspec is\n" +"open." msgstr "" #: src/settings_translation_file.cpp -msgid "Instrumentation" +msgid "Optional override for chat weblink color." msgstr "" #: src/settings_translation_file.cpp -msgid "Entity methods" +msgid "" +"Path of the fallback font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"This font will be used for certain languages or if the default font is " +"unavailable." msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument the methods of entities on registration." +msgid "" +"Path to save screenshots at. Can be an absolute or relative path.\n" +"The folder will be created if it doesn't already exist." msgstr "" #: src/settings_translation_file.cpp -msgid "Active Block Modifiers" +msgid "" +"Path to shader directory. If no path is defined, default location will be " +"used." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Instrument the action function of Active Block Modifiers on registration." +msgid "Path to texture directory. All textures are first searched from here." msgstr "" #: src/settings_translation_file.cpp -msgid "Loading Block Modifiers" +msgid "" +"Path to the default font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"The fallback font will be used if the font cannot be loaded." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Instrument the action function of Loading Block Modifiers on registration." +"Path to the monospace font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"This font is used for e.g. the console and profiler screen." msgstr "" #: src/settings_translation_file.cpp -msgid "Chatcommands" +msgid "Pause on lost window focus" msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +msgid "Per-player limit of queued blocks load from disk" msgstr "" #: src/settings_translation_file.cpp -msgid "Global callbacks" +msgid "Per-player limit of queued blocks to generate" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Instrument global callback functions on registration.\n" -"(anything you pass to a minetest.register_*() function)" +msgid "Physics" msgstr "" #: src/settings_translation_file.cpp -msgid "Builtin" +msgid "Pitch move key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Instrument builtin.\n" -"This is usually only needed by core/builtin contributors" +msgid "Pitch move mode" msgstr "" #: src/settings_translation_file.cpp -msgid "Profiler" +msgid "Place key" 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." +msgid "Place repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Client and Server" +msgid "" +"Player is able to fly without being affected by gravity.\n" +"This requires the \"fly\" privilege on the server." msgstr "" #: src/settings_translation_file.cpp @@ -5333,578 +5346,612 @@ 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." +msgid "Player transfer distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Language" +msgid "Player versus player" 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." +msgid "Poisson filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "Debug log level" +msgid "" +"Port to connect to (UDP).\n" +"Note that the port field in the main menu overrides this setting." 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" +"Prevent digging and placing from repeating when holding the mouse buttons.\n" +"Enable this when you dig or place too often by accident." msgstr "" #: src/settings_translation_file.cpp -msgid "Debug log file size threshold" +msgid "Prevent mods from doing insecure things like running shell commands." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If the file size of debug.txt exceeds the number of megabytes specified in\n" -"this setting when it is opened, the file is moved to debug.txt.1,\n" -"deleting an older debug.txt.1 if it exists.\n" -"debug.txt is only moved if this setting is positive." +"Print the engine's profiling data in regular intervals (in seconds).\n" +"0 = disable. Useful for developers." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat log level" +msgid "Privileges that players with basic_privs can grant" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimal level of logging to be written to chat." +msgid "Profiler" msgstr "" #: src/settings_translation_file.cpp -msgid "IPv6" +msgid "Profiler toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable IPv6 support (for both client and server).\n" -"Required for IPv6 connections to work at all." +msgid "Profiling" msgstr "" #: src/settings_translation_file.cpp -msgid "cURL interactive timeout" +msgid "Prometheus listener address" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum time an interactive request (e.g. server list fetch) may take, " -"stated in milliseconds." +"Prometheus listener address.\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"enable metrics listener for Prometheus on that address.\n" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp -msgid "cURL parallel limit" +msgid "Proportion of large caves that contain liquid." 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." +"Radius of cloud area stated in number of 64 node cloud squares.\n" +"Values larger than 26 will start to produce sharp cutoffs at cloud area " +"corners." msgstr "" #: src/settings_translation_file.cpp -msgid "cURL file download timeout" +msgid "Raises terrain to make valleys around the rivers." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum time a file download (e.g. a mod download) may take, stated in " -"milliseconds." +msgid "Random input" msgstr "" #: src/settings_translation_file.cpp -msgid "Main menu script" +msgid "Range select key" msgstr "" #: src/settings_translation_file.cpp -msgid "Replaces the default main menu with a custom one." +msgid "Recent Chat Messages" msgstr "" #: src/settings_translation_file.cpp -msgid "Engine profiling data print interval" +msgid "Regular font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Print the engine's profiling data in regular intervals (in seconds).\n" -"0 = disable. Useful for developers." +msgid "Remote media" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen name" +msgid "Remote port" 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.\n" -"Current mapgens in a highly unstable state:\n" -"- The optional floatlands of v7 (disabled by default)." +"Remove color codes from incoming chat messages\n" +"Use this to stop players from being able to use color in their messages" msgstr "" #: src/settings_translation_file.cpp -msgid "Water level" +msgid "Replaces the default main menu with a custom one." msgstr "" #: src/settings_translation_file.cpp -msgid "Water surface level of the world." +msgid "Report path" msgstr "" #: src/settings_translation_file.cpp -msgid "Max block generate distance" +msgid "" +"Restricts the access of certain client-side functions on servers.\n" +"Combine the byteflags below to restrict client-side features, or set to 0\n" +"for no restrictions:\n" +"LOAD_CLIENT_MODS: 1 (disable loading client-provided mods)\n" +"CHAT_MESSAGES: 2 (disable send_chat_message call client-side)\n" +"READ_ITEMDEFS: 4 (disable get_item_def call client-side)\n" +"READ_NODEDEFS: 8 (disable get_node_def call client-side)\n" +"LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to\n" +"csm_restriction_noderange)\n" +"READ_PLAYERINFO: 32 (disable get_player_names call client-side)" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"From how far blocks are generated for clients, stated in mapblocks (16 " -"nodes)." +msgid "Ridge mountain spread noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Map generation limit" +msgid "Ridge noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" -"Only mapchunks completely within the mapgen limit are generated.\n" -"Value is stored per-world." +msgid "Ridge underwater noise" 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." +msgid "Ridged mountain size noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Biome API temperature and humidity noise parameters" +msgid "Right key" msgstr "" #: src/settings_translation_file.cpp -msgid "Heat noise" +msgid "River channel depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Temperature variation for biomes." +msgid "River channel width" msgstr "" #: src/settings_translation_file.cpp -msgid "Heat blend noise" +msgid "River depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Small-scale temperature variation for blending biomes on borders." +msgid "River noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Humidity noise" +msgid "River size" msgstr "" #: src/settings_translation_file.cpp -msgid "Humidity variation for biomes." +msgid "River valley width" msgstr "" #: src/settings_translation_file.cpp -msgid "Humidity blend noise" +msgid "Rollback recording" msgstr "" #: src/settings_translation_file.cpp -msgid "Small-scale humidity variation for blending biomes on borders." +msgid "Rolling hill size noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V5" +msgid "Rolling hills spread noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V5 specific flags" +msgid "Round minimap" msgstr "" #: src/settings_translation_file.cpp -msgid "Map generation attributes specific to Mapgen v5." +msgid "Safe digging and placing" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave width" +msgid "Sandy beaches occur when np_beach exceeds this value." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Controls width of tunnels, a smaller value creates wider tunnels.\n" -"Value >= 10.0 completely disables generation of tunnels and avoids the\n" -"intensive noise calculations." +msgid "Save the map received by the client on disk." msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave depth" +msgid "Save window size automatically when modified." msgstr "" #: src/settings_translation_file.cpp -msgid "Y of upper limit of large caves." +msgid "Saving map received from server" msgstr "" #: src/settings_translation_file.cpp -msgid "Small cave minimum number" +msgid "" +"Scale GUI by a user specified value.\n" +"Use a nearest-neighbor-anti-alias filter to scale the GUI.\n" +"This will smooth over some of the rough edges, and blend\n" +"pixels when scaling down, at the cost of blurring some\n" +"edge pixels when images are scaled by non-integer sizes." msgstr "" #: src/settings_translation_file.cpp -msgid "Minimum limit of random number of small caves per mapchunk." +msgid "Screen height" msgstr "" #: src/settings_translation_file.cpp -msgid "Small cave maximum number" +msgid "Screen width" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum limit of random number of small caves per mapchunk." +msgid "Screenshot folder" msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave minimum number" +msgid "Screenshot format" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimum limit of random number of large caves per mapchunk." +msgid "Screenshot quality" msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave maximum number" +msgid "" +"Screenshot quality. Only used for JPEG format.\n" +"1 means worst quality; 100 means best quality.\n" +"Use 0 for default quality." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum limit of random number of large caves per mapchunk." +msgid "Seabed noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave proportion flooded" +msgid "Second of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "Proportion of large caves that contain liquid." +msgid "Second of two 3D noises that together define tunnels." msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern limit" +msgid "Security" msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of cavern upper limit." +msgid "See https://www.sqlite.org/pragma.html#pragma_synchronous" msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern taper" +msgid "Selection box border color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Y-distance over which caverns expand to full size." +msgid "Selection box color" msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern threshold" +msgid "Selection box width" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines full size of caverns, smaller values create larger caverns." +msgid "" +"Selects one of 18 fractal types.\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 "Dungeon minimum Y" +msgid "Server / Singleplayer" msgstr "" #: src/settings_translation_file.cpp -msgid "Lower Y limit of dungeons." +msgid "Server URL" msgstr "" #: src/settings_translation_file.cpp -msgid "Dungeon maximum Y" +msgid "Server address" msgstr "" #: src/settings_translation_file.cpp -msgid "Upper Y limit of dungeons." +msgid "Server description" msgstr "" #: src/settings_translation_file.cpp -msgid "Noises" +msgid "Server name" msgstr "" #: src/settings_translation_file.cpp -msgid "Filler depth noise" +msgid "Server port" msgstr "" #: src/settings_translation_file.cpp -msgid "Variation of biome filler depth." +msgid "Server side occlusion culling" msgstr "" #: src/settings_translation_file.cpp -msgid "Factor noise" +msgid "Serverlist URL" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Variation of terrain vertical scale.\n" -"When noise is < -0.55 terrain is near-flat." +msgid "Serverlist file" msgstr "" #: src/settings_translation_file.cpp -msgid "Height noise" +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 "Y-level of average terrain surface." +msgid "Set the maximum character length of a chat message sent by clients." msgstr "" #: src/settings_translation_file.cpp -msgid "Cave1 noise" +msgid "" +"Set the shadow strength.\n" +"Lower value means lighter shadows, higher value means darker shadows." msgstr "" #: src/settings_translation_file.cpp -msgid "First of two 3D noises that together define tunnels." +msgid "" +"Set the soft shadow radius size.\n" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave2 noise" +msgid "" +"Set the tilt of Sun/Moon orbit in degrees.\n" +"Value of 0 means no tilt / vertical orbit.\n" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp -msgid "Second of two 3D noises that together define tunnels." +msgid "" +"Set to true to enable Shadow Mapping.\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern noise" +msgid "" +"Set to true to enable waving leaves.\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise defining giant caverns." +msgid "" +"Set to true to enable waving liquids (like water).\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Ground noise" +msgid "" +"Set to true to enable waving plants.\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise defining terrain." +msgid "" +"Sets shadow texture quality to 32 bits.\n" +"On false, 16 bits texture will be used.\n" +"This can cause much more artifacts in the shadow." msgstr "" #: src/settings_translation_file.cpp -msgid "Dungeon noise" +msgid "Shader path" msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise that determines number of dungeons per mapchunk." +msgid "" +"Shaders allow advanced visual effects and may increase performance on some " +"video\n" +"cards.\n" +"This only works with the OpenGL video backend." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V6" +msgid "Shadow filter quality" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V6 specific flags" +msgid "Shadow map max distance in nodes to render shadows" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen v6.\n" -"The 'snowbiomes' flag enables the new 5 biome system.\n" -"When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" -"the 'jungles' flag is ignored." +msgid "Shadow map texture in 32 bits" msgstr "" #: src/settings_translation_file.cpp -msgid "Desert noise threshold" +msgid "Shadow map texture size" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Deserts occur when np_biome exceeds this value.\n" -"When the 'snowbiomes' flag is enabled, this is ignored." +"Shadow offset (in pixels) of the default font. If 0, then shadow will not be " +"drawn." msgstr "" #: src/settings_translation_file.cpp -msgid "Beach noise threshold" +msgid "Shadow strength" msgstr "" #: src/settings_translation_file.cpp -msgid "Sandy beaches occur when np_beach exceeds this value." +msgid "Shape of the minimap. Enabled = round, disabled = square." msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain base noise" +msgid "Show debug info" msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of lower terrain and seabed." +msgid "Show entity selection boxes" msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain higher noise" +msgid "" +"Show entity selection boxes\n" +"A restart is required after changing this." msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of higher terrain that creates cliffs." +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp -msgid "Steepness noise" +msgid "Shutdown message" msgstr "" #: src/settings_translation_file.cpp -msgid "Varies steepness of cliffs." +msgid "" +"Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes).\n" +"WARNING!: There is no benefit, and there are several dangers, in\n" +"increasing this value above 5.\n" +"Reducing this value increases cave and dungeon density.\n" +"Altering this value is for special usage, leaving it unchanged is\n" +"recommended." msgstr "" #: src/settings_translation_file.cpp -msgid "Height select noise" +msgid "" +"Size of the MapBlock cache of the mesh generator. Increasing this will\n" +"increase the cache hit %, reducing the data being copied from the main\n" +"thread, thus reducing jitter." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines distribution of higher terrain." +msgid "Sky Body Orbit Tilt" msgstr "" #: src/settings_translation_file.cpp -msgid "Mud noise" +msgid "Slice w" msgstr "" #: src/settings_translation_file.cpp -msgid "Varies depth of biome surface nodes." +msgid "Slope and fill work together to modify the heights." msgstr "" #: src/settings_translation_file.cpp -msgid "Beach noise" +msgid "Small cave maximum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines areas with sandy beaches." +msgid "Small cave minimum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Biome noise" +msgid "Small-scale humidity variation for blending biomes on borders." msgstr "" #: src/settings_translation_file.cpp -msgid "Cave noise" +msgid "Small-scale temperature variation for blending biomes on borders." msgstr "" #: src/settings_translation_file.cpp -msgid "Variation of number of caves." +msgid "Smooth lighting" msgstr "" #: src/settings_translation_file.cpp -msgid "Trees noise" +msgid "" +"Smooths camera when looking around. Also called look or mouse smoothing.\n" +"Useful for recording videos." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines tree areas and tree density." +msgid "Smooths rotation of camera in cinematic mode. 0 to disable." msgstr "" #: src/settings_translation_file.cpp -msgid "Apple trees noise" +msgid "Smooths rotation of camera. 0 to disable." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines areas where trees have apples." +msgid "Sneak key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V7" +msgid "Sneaking speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V7 specific flags" +msgid "Sneaking speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen v7.\n" -"'ridges': Rivers.\n" -"'floatlands': Floating land masses in the atmosphere.\n" -"'caverns': Giant caves deep underground." +msgid "Soft shadow radius" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain zero level" +msgid "Sound" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Y of mountain density gradient zero level. Used to shift mountains " -"vertically." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Floatland minimum Y" +"Specifies URL from which client fetches media instead of using UDP.\n" +"$filename should be accessible from $remote_media$filename via cURL\n" +"(obviously, remote_media should end with a slash).\n" +"Files that are not present will be fetched the usual way." msgstr "" #: src/settings_translation_file.cpp -msgid "Lower Y limit of floatlands." +msgid "" +"Specifies the default stack size of nodes, items and tools.\n" +"Note that mods or games may explicitly set a stack for certain (or all) " +"items." msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland maximum Y" +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" msgstr "" #: src/settings_translation_file.cpp -msgid "Upper Y limit of floatlands." +msgid "" +"Spread of light curve boost range.\n" +"Controls the width of the range to be boosted.\n" +"Standard deviation of the light curve boost Gaussian." msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland tapering distance" +msgid "Static spawnpoint" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Y-distance over which floatlands taper from full density to nothing.\n" -"Tapering starts at this distance from the Y limit.\n" -"For a solid floatland layer, this controls the height of hills/mountains.\n" -"Must be less than or equal to half the distance between the Y limits." +msgid "Steepness noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland taper exponent" +msgid "Step mountain size noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Exponent of the floatland tapering. Alters the tapering behaviour.\n" -"Value = 1.0 creates a uniform, linear tapering.\n" -"Values > 1.0 create a smooth tapering suitable for the default separated\n" -"floatlands.\n" -"Values < 1.0 (for example 0.25) create a more defined surface level with\n" -"flatter lowlands, suitable for a solid floatland layer." +msgid "Step mountain spread noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland density" +msgid "Strength of 3D mode parallax." msgstr "" #: src/settings_translation_file.cpp -#, c-format msgid "" -"Adjusts the density of the floatland layer.\n" -"Increase value to increase density. Can be positive or negative.\n" -"Value = 0.0: 50% of volume is floatland.\n" -"Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" -"to be sure) creates a solid floatland layer." +"Strength of light curve boost.\n" +"The 3 'boost' parameters define a range of the light\n" +"curve that is boosted in brightness." msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland water level" +msgid "Strict protocol checking" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strip color codes" msgstr "" #: src/settings_translation_file.cpp @@ -5922,631 +5969,666 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain alternative noise" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Terrain persistence noise" +msgid "Synchronous SQLite" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Varies roughness of terrain.\n" -"Defines the 'persistence' value for terrain_base and terrain_alt noises." +msgid "Temperature variation for biomes." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines distribution of higher terrain and steepness of cliffs." +msgid "Terrain alternative noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain height noise" +msgid "Terrain base noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Variation of maximum mountain height (in nodes)." +msgid "Terrain height" msgstr "" #: src/settings_translation_file.cpp -msgid "Ridge underwater noise" +msgid "Terrain higher noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines large-scale river channel structure." +msgid "Terrain noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain noise" +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 "" -"3D noise defining mountain structure and height.\n" -"Also defines structure of floatland mountain terrain." +"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 "Ridge noise" +msgid "Terrain persistence noise" msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise defining structure of river canyon walls." +msgid "Texture path" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland noise" +msgid "" +"Texture size to render the shadow map on.\n" +"This must be a power of two.\n" +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp msgid "" -"3D noise defining structure of floatlands.\n" -"If altered from the default, the noise 'scale' (0.7 by default) may need\n" -"to be adjusted, as floatland tapering functions best when this noise has\n" -"a value range of approximately -2.0 to 2.0." +"Textures on a node may be aligned either to the node or to the world.\n" +"The former mode suits better things like machines, furniture, etc., while\n" +"the latter makes stairs and microblocks fit surroundings better.\n" +"However, as this possibility is new, thus may not be used by older servers,\n" +"this option allows enforcing it for certain node types. Note though that\n" +"that is considered EXPERIMENTAL and may not work properly." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Carpathian" +msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Carpathian specific flags" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp -msgid "Map generation attributes specific to Mapgen Carpathian." +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 "Base ground level" +msgid "The depth of dirt or other biome filler node." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the base ground level." +msgid "" +"The file path relative to your worldpath in which profiles will be saved to." msgstr "" #: src/settings_translation_file.cpp -msgid "River channel width" +msgid "The identifier of the joystick to use" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the width of the river channel." +msgid "The length in pixels it takes for touch screen interaction to start." msgstr "" #: src/settings_translation_file.cpp -msgid "River channel depth" +msgid "" +"The maximum height of the surface of waving liquids.\n" +"4.0 = Wave height is two nodes.\n" +"0.0 = Wave doesn't move at all.\n" +"Default is 1.0 (1/2 node).\n" +"Requires waving liquids to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the depth of the river channel." +msgid "The network interface that the server listens on." msgstr "" #: src/settings_translation_file.cpp -msgid "River valley width" +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 "Defines the width of the river valley." +msgid "" +"The radius of the volume of blocks around every player that is subject to " +"the\n" +"active block stuff, stated in mapblocks (16 nodes).\n" +"In active blocks objects are loaded and ABMs run.\n" +"This is also the minimum range in which active objects (mobs) are " +"maintained.\n" +"This should be configured together with active_object_send_range_blocks." msgstr "" #: src/settings_translation_file.cpp -msgid "Hilliness1 noise" +msgid "" +"The rendering back-end.\n" +"A restart is required after changing this.\n" +"Note: On Android, stick with OGLES1 if unsure! App may fail to start " +"otherwise.\n" +"On other platforms, OpenGL is recommended.\n" +"Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" #: src/settings_translation_file.cpp -msgid "First of 4 2D noises that together define hill/mountain range height." +msgid "" +"The sensitivity of the joystick axes for moving the\n" +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp -msgid "Hilliness2 noise" +msgid "" +"The strength (darkness) of node ambient-occlusion shading.\n" +"Lower is darker, Higher is lighter. The valid range of values for this\n" +"setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" +"set to the nearest valid value." msgstr "" #: src/settings_translation_file.cpp -msgid "Second of 4 2D noises that together define hill/mountain range height." +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 "Hilliness3 noise" +msgid "" +"The time budget allowed for ABMs to execute on each step\n" +"(as a fraction of the ABM Interval)" msgstr "" #: src/settings_translation_file.cpp -msgid "Third of 4 2D noises that together define hill/mountain range height." +msgid "" +"The time in seconds it takes between repeated events\n" +"when holding down a joystick button combination." msgstr "" #: src/settings_translation_file.cpp -msgid "Hilliness4 noise" +msgid "" +"The time in seconds it takes between repeated node placements when holding\n" +"the place button." msgstr "" #: src/settings_translation_file.cpp -msgid "Fourth of 4 2D noises that together define hill/mountain range height." +msgid "The type of joystick" msgstr "" #: src/settings_translation_file.cpp -msgid "Rolling hills spread noise" +msgid "" +"The vertical distance over which heat drops by 20 if 'altitude_chill' is\n" +"enabled. Also the vertical distance over which humidity drops by 10 if\n" +"'altitude_dry' is enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the size/occurrence of rolling hills." +msgid "Third of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "Ridge mountain spread noise" +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 "2D noise that controls the size/occurrence of ridged mountain ranges." +msgid "Time of day when a new world is started, in millihours (0-23999)." msgstr "" #: src/settings_translation_file.cpp -msgid "Step mountain spread noise" +msgid "Time send interval" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the size/occurrence of step mountain ranges." +msgid "Time speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Rolling hill size noise" +msgid "Timeout for client to remove unused map data from memory." msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the shape/size of rolling hills." +msgid "" +"To reduce lag, block transfers are slowed down when a player 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 "Ridged mountain size noise" +msgid "Toggle camera mode key" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the shape/size of ridged mountains." +msgid "Tooltip delay" msgstr "" #: src/settings_translation_file.cpp -msgid "Step mountain size noise" +msgid "Touch screen threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the shape/size of step mountains." +msgid "Trees noise" msgstr "" #: src/settings_translation_file.cpp -msgid "River noise" +msgid "Trilinear filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that locates the river valleys and channels." +msgid "" +"True = 256\n" +"False = 128\n" +"Usable to make minimap smoother on slower machines." msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain variation noise" +msgid "Trusted mods" msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." +msgid "URL to the server list displayed in the Multiplayer Tab." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Flat" +msgid "Undersampling" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Flat specific flags" +msgid "" +"Undersampling is similar to using a lower screen resolution, but it applies\n" +"to the game world only, keeping the GUI intact.\n" +"It should give a significant performance boost at the cost of less detailed " +"image.\n" +"Higher values result in a less detailed image." 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." +msgid "Unlimited player transfer distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Ground level" +msgid "Unload unused server data" msgstr "" #: src/settings_translation_file.cpp -msgid "Y of flat ground." +msgid "Upper Y limit of dungeons." msgstr "" #: src/settings_translation_file.cpp -msgid "Lake threshold" +msgid "Upper Y limit of floatlands." 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." +msgid "Use 3D cloud look instead of flat." msgstr "" #: src/settings_translation_file.cpp -msgid "Lake steepness" +msgid "Use a cloud animation for the main menu background." msgstr "" #: src/settings_translation_file.cpp -msgid "Controls steepness/depth of lake depressions." +msgid "Use anisotropic filtering when viewing at textures from an angle." msgstr "" #: src/settings_translation_file.cpp -msgid "Hill threshold" +msgid "Use bilinear filtering when scaling textures." 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." +"Use mipmapping to scale textures. May slightly increase performance,\n" +"especially when using a high resolution texture pack.\n" +"Gamma correct downscaling is not supported." msgstr "" #: src/settings_translation_file.cpp -msgid "Hill steepness" +msgid "" +"Use multi-sample antialiasing (MSAA) to smooth out block edges.\n" +"This algorithm smooths out the 3D viewport while keeping the image sharp,\n" +"but it doesn't affect the insides of textures\n" +"(which is especially noticeable with transparent textures).\n" +"Visible spaces appear between nodes when shaders are disabled.\n" +"If set to 0, MSAA is disabled.\n" +"A restart is required after changing this option." msgstr "" #: src/settings_translation_file.cpp -msgid "Controls steepness/height of hills." +msgid "Use trilinear filtering when scaling textures." msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain noise" +msgid "VBO" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines location and terrain of optional hills and lakes." +msgid "VSync" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Fractal" +msgid "Valley depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Fractal specific flags" +msgid "Valley fill" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen Fractal.\n" -"'terrain' enables the generation of non-fractal terrain:\n" -"ocean, islands and underground." +msgid "Valley profile" msgstr "" #: src/settings_translation_file.cpp -msgid "Fractal type" +msgid "Valley slope" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Selects one of 18 fractal types.\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." +msgid "Variation of biome filler depth." msgstr "" #: src/settings_translation_file.cpp -msgid "Iterations" +msgid "Variation of maximum mountain height (in nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Iterations of the recursive function.\n" -"Increasing this increases the amount of fine detail, but also\n" -"increases processing load.\n" -"At iterations = 20 this mapgen has a similar load to mapgen V7." +msgid "Variation of number of caves." msgstr "" #: src/settings_translation_file.cpp msgid "" -"(X,Y,Z) scale of fractal in nodes.\n" -"Actual fractal size will be 2 to 3 times larger.\n" -"These numbers can be made very large, the fractal does\n" -"not have to fit inside the world.\n" -"Increase these to 'zoom' into the detail of the fractal.\n" -"Default is for a vertically-squashed shape suitable for\n" -"an island, set all 3 numbers equal for the raw shape." +"Variation of terrain vertical scale.\n" +"When noise is < -0.55 terrain is near-flat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Varies depth of biome surface nodes." msgstr "" #: src/settings_translation_file.cpp msgid "" -"(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" -"Can be used to move a desired point to (0, 0) to create a\n" -"suitable spawn point, or to allow 'zooming in' on a desired\n" -"point by increasing 'scale'.\n" -"The default is tuned for a suitable spawn point for Mandelbrot\n" -"sets with default parameters, it may need altering in other\n" -"situations.\n" -"Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." +"Varies roughness of terrain.\n" +"Defines the 'persistence' value for terrain_base and terrain_alt noises." msgstr "" #: src/settings_translation_file.cpp -msgid "Slice w" +msgid "Varies steepness of cliffs." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"W coordinate of the generated 3D slice of a 4D fractal.\n" -"Determines which 3D slice of the 4D shape is generated.\n" -"Alters the shape of the fractal.\n" -"Has no effect on 3D fractals.\n" -"Range roughly -2 to 2." +msgid "Vertical climbing speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Julia x" +msgid "Vertical screen synchronization." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"X component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Range roughly -2 to 2." +msgid "Video driver" msgstr "" #: src/settings_translation_file.cpp -msgid "Julia y" +msgid "View bobbing factor" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"Y component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Range roughly -2 to 2." +msgid "View distance in nodes." msgstr "" #: src/settings_translation_file.cpp -msgid "Julia z" +msgid "View range decrease key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"Z component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Range roughly -2 to 2." +msgid "View range increase key" msgstr "" #: src/settings_translation_file.cpp -msgid "Julia w" +msgid "View zoom key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Viewing range" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Virtual joystick triggers Aux1 button" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Volume" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Julia set only.\n" -"W component of hypercomplex constant.\n" +"Volume of all sounds.\n" +"Requires the sound system to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"W coordinate of the generated 3D slice of a 4D fractal.\n" +"Determines which 3D slice of the 4D shape is generated.\n" "Alters the shape of the fractal.\n" "Has no effect on 3D fractals.\n" "Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Seabed noise" +msgid "Walking and flying speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of seabed." +msgid "Walking speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Valleys" +msgid "Walking, flying and climbing speed in fast mode, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Valleys specific flags" +msgid "Water level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen Valleys.\n" -"'altitude_chill': Reduces heat with altitude.\n" -"'humid_rivers': Increases humidity around rivers.\n" -"'vary_river_depth': If enabled, low humidity and high heat causes rivers\n" -"to become shallower and occasionally dry.\n" -"'altitude_dry': Reduces humidity with altitude." +msgid "Water surface level of the world." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The vertical distance over which heat drops by 20 if 'altitude_chill' is\n" -"enabled. Also the vertical distance over which humidity drops by 10 if\n" -"'altitude_dry' is enabled." +msgid "Waving Nodes" msgstr "" #: src/settings_translation_file.cpp -msgid "Depth below which you'll find large caves." +msgid "Waving leaves" msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern upper limit" +msgid "Waving liquids" msgstr "" #: src/settings_translation_file.cpp -msgid "Depth below which you'll find giant caverns." +msgid "Waving liquids wave height" msgstr "" #: src/settings_translation_file.cpp -msgid "River depth" +msgid "Waving liquids wave speed" msgstr "" #: src/settings_translation_file.cpp -msgid "How deep to make rivers." +msgid "Waving liquids wavelength" msgstr "" #: src/settings_translation_file.cpp -msgid "River size" +msgid "Waving plants" msgstr "" #: src/settings_translation_file.cpp -msgid "How wide to make rivers." +msgid "Weblink color" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave noise #1" +msgid "" +"When gui_scaling_filter is true, all GUI images need to be\n" +"filtered in software, but some images are generated directly\n" +"to hardware (e.g. render-to-texture for nodes in inventory)." msgstr "" #: src/settings_translation_file.cpp -msgid "Cave noise #2" +msgid "" +"When gui_scaling_filter_txr2img is true, copy those images\n" +"from hardware to software for scaling. When false, fall back\n" +"to the old scaling method, for video drivers that don't\n" +"properly support downloading textures back from hardware." msgstr "" #: src/settings_translation_file.cpp -msgid "Filler depth" +msgid "" +"When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" +"can be blurred, so automatically upscale them with nearest-neighbor\n" +"interpolation to preserve crisp pixels. This sets the minimum texture size\n" +"for the upscaled textures; higher values look sharper, but require more\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" +"bilinear/trilinear/anisotropic filtering is enabled.\n" +"This is also used as the base node texture size for world-aligned\n" +"texture autoscaling." msgstr "" #: src/settings_translation_file.cpp -msgid "The depth of dirt or other biome filler node." +msgid "" +"Whether FreeType fonts are used, requires FreeType support to be compiled " +"in.\n" +"If disabled, bitmap and XML vectors fonts are used instead." msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain height" +msgid "" +"Whether name tag backgrounds should be shown by default.\n" +"Mods may still set a background." msgstr "" #: src/settings_translation_file.cpp -msgid "Base terrain height." +msgid "Whether node texture animations should be desynchronized per mapblock." msgstr "" #: src/settings_translation_file.cpp -msgid "Valley depth" +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 "Raises terrain to make valleys around the rivers." +msgid "Whether to allow players to damage and kill each other." msgstr "" #: src/settings_translation_file.cpp -msgid "Valley fill" +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 "Slope and fill work together to modify the heights." +msgid "Whether to fog out the end of the visible area." msgstr "" #: src/settings_translation_file.cpp -msgid "Valley profile" +msgid "" +"Whether to mute sounds. You can unmute sounds at any time, unless the\n" +"sound system is disabled (enable_sound=false).\n" +"In-game, you can toggle the mute state with the mute key or by using the\n" +"pause menu." msgstr "" #: src/settings_translation_file.cpp -msgid "Amplifies the valleys." +msgid "" +"Whether to show the client debug info (has the same effect as hitting F5)." msgstr "" #: src/settings_translation_file.cpp -msgid "Valley slope" +msgid "Width component of the initial window size. Ignored in fullscreen mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Chunk size" +msgid "Width of the selection box lines around nodes." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes).\n" -"WARNING!: There is no benefit, and there are several dangers, in\n" -"increasing this value above 5.\n" -"Reducing this value increases cave and dungeon density.\n" -"Altering this value is for special usage, leaving it unchanged is\n" -"recommended." +"Windows systems only: Start Minetest with the command line window in the " +"background.\n" +"Contains the same information as the file debug.txt (default name)." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen debug" +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 "Dump the mapgen debug information." +msgid "World start time" msgstr "" #: src/settings_translation_file.cpp -msgid "Absolute limit of queued blocks to emerge" +msgid "" +"World-aligned textures may be scaled to span several nodes. However,\n" +"the server may not send the scale you want, especially if you use\n" +"a specially-designed texture pack; with this option, the client tries\n" +"to determine the scale automatically basing on the texture size.\n" +"See also texture_min_size.\n" +"Warning: This option is EXPERIMENTAL!" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of blocks that can be queued for loading." +msgid "World-aligned textures mode" msgstr "" #: src/settings_translation_file.cpp -msgid "Per-player limit of queued blocks load from disk" +msgid "Y of flat ground." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of blocks to be queued that are to be loaded from file.\n" -"This limit is enforced per player." +"Y of mountain density gradient zero level. Used to shift mountains " +"vertically." msgstr "" #: src/settings_translation_file.cpp -msgid "Per-player limit of queued blocks to generate" +msgid "Y of upper limit of large caves." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum number of blocks to be queued that are to be generated.\n" -"This limit is enforced per player." +msgid "Y-distance over which caverns expand to full size." msgstr "" #: src/settings_translation_file.cpp -msgid "Number of emerge threads" +msgid "" +"Y-distance over which floatlands taper from full density to nothing.\n" +"Tapering starts at this distance from the Y limit.\n" +"For a solid floatland layer, this controls the height of hills/mountains.\n" +"Must be less than or equal to half the distance between the Y limits." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Number of emerge threads to use.\n" -"Value 0:\n" -"- Automatic selection. The number of emerge threads will be\n" -"- 'number of processors - 2', with a lower limit of 1.\n" -"Any other value:\n" -"- Specifies the number of emerge threads, with a lower limit of 1.\n" -"WARNING: Increasing the number of emerge threads increases engine mapgen\n" -"speed, but this may harm game performance by interfering with other\n" -"processes, especially in singleplayer and/or when running Lua code in\n" -"'on_generated'. For many users the optimum setting may be '1'." +msgid "Y-level of average terrain surface." msgstr "" #: src/settings_translation_file.cpp -msgid "Online Content Repository" +msgid "Y-level of cavern upper limit." msgstr "" #: src/settings_translation_file.cpp -msgid "ContentDB URL" +msgid "Y-level of higher terrain that creates cliffs." msgstr "" #: src/settings_translation_file.cpp -msgid "The URL for the content repository" +msgid "Y-level of lower terrain and seabed." msgstr "" #: src/settings_translation_file.cpp -msgid "ContentDB Flag Blacklist" +msgid "Y-level of seabed." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Comma-separated list of flags to hide in the content repository.\n" -"\"nonfree\" can be used to hide packages which do not qualify as 'free " -"software',\n" -"as defined by the Free Software Foundation.\n" -"You can also specify content ratings.\n" -"These flags are independent from Minetest versions,\n" -"so see a full list at https://content.minetest.net/help/content_flags/" +msgid "cURL file download timeout" msgstr "" #: src/settings_translation_file.cpp -msgid "ContentDB Max Concurrent Downloads" +msgid "cURL interactive timeout" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum number of concurrent downloads. Downloads exceeding this limit will " -"be queued.\n" -"This should be lower than curl_parallel_limit." +msgid "cURL parallel limit" msgstr "" diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 75c2c49cb..0af489f7e 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-08-13 21:34+0000\n" "Last-Translator: Zhaolin Lau \n" "Language-Team: Chinese (Simplified) ' to get more information, or '.help all' to list everything." -msgstr "使用 '.help ' 获取该命令的更多信息,或使用 '.help all' 列出所有内容。" +msgstr "" +"使用 '.help ' 获取该命令的更多信息,或使用 '.help all' 列出所有内容。" #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -91,6 +88,11 @@ msgstr "[all | <命令>]" msgid "OK" msgstr "OK" +#: builtin/fstk/ui.lua +#, fuzzy +msgid "" +msgstr "命令不可用: " + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua 脚本发生错误:" @@ -291,6 +293,11 @@ msgstr "安装$1" msgid "Install missing dependencies" msgstr "安装缺失的依赖项" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "安装:“$1“为不支持的文件类型或已损坏" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -617,7 +624,8 @@ msgid "Offset" msgstr "补偿" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Persistance" +#, fuzzy +msgid "Persistence" msgstr "持续性" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -727,14 +735,6 @@ msgstr "安装mod:无法找到$1的真实mod名称" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "安装mod:无法找到mod包$1的合适文件夹名" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "安装:“$1“为不支持的文件类型或已损坏" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "安装:文件:”$1“" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "无法找到mod或mod包" @@ -1100,10 +1100,6 @@ msgstr "平滑光照" msgid "Texturing:" msgstr "材质:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "启用着色器需要使用OpenGL驱动。" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "色调映射" @@ -1136,7 +1132,7 @@ msgstr "摇动流体" msgid "Waving Plants" msgstr "摇摆植物" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "连接超时。" @@ -1165,7 +1161,8 @@ msgid "Connection error (timed out?)" msgstr "连接出错(超时?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "无法找到或者载入游戏 \"" #: src/client/clientlauncher.cpp @@ -1237,6 +1234,16 @@ msgstr "- 玩家对战: " msgid "- Server Name: " msgstr "- 服务器名称: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "发生了错误:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "自动前进已禁用" @@ -1245,6 +1252,23 @@ msgstr "自动前进已禁用" msgid "Automatic forward enabled" msgstr "自动前进已启用" +#: src/client/game.cpp +#, fuzzy +msgid "Block bounds hidden" +msgstr "地图块边界" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "已禁用镜头更新" @@ -1253,6 +1277,10 @@ msgstr "已禁用镜头更新" msgid "Camera update enabled" msgstr "已启用镜头更新" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "更改密码" @@ -1265,6 +1293,11 @@ msgstr "电影模式已禁用" msgid "Cinematic mode enabled" msgstr "电影模式已启用" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "客户端mod" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "客户端脚本已禁用" @@ -1273,6 +1306,10 @@ msgstr "客户端脚本已禁用" msgid "Connecting to server..." msgstr "正在连接服务器..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "继续" @@ -1310,6 +1347,11 @@ msgstr "" "- 鼠标滚轮: 选择物品\n" "- %s:聊天\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "正在建立客户端..." @@ -1516,6 +1558,21 @@ msgstr "已取消静音" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "视野范围已改变至%d" @@ -1848,6 +1905,15 @@ msgstr "地表模式小地图, 放大至%d倍" msgid "Minimap in texture mode" msgstr "材质模式小地图" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "下载 $1 失败" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "密码不匹配!" @@ -1856,7 +1922,7 @@ msgstr "密码不匹配!" msgid "Register and Join" msgstr "注册并加入" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2046,7 +2112,8 @@ msgid "Muted" msgstr "静音" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "音量: " #. ~ Imperative, as in "Enter/type in text". @@ -2293,6 +2360,10 @@ msgid "" "screens." msgstr "为支持4K等屏幕,调节像素点密度(非 X11/Android 环境才有效)。" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2585,6 +2656,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "显示聊天消息执行时间的阀值(秒)" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "聊天命令" + #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "聊天字体大小" @@ -2618,8 +2694,9 @@ msgid "Chat toggle key" msgstr "聊天启用/禁用键" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "聊天命令" +#, fuzzy +msgid "Chat weblinks" +msgstr "聊天已显示" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2637,6 +2714,12 @@ msgstr "电影模式键" msgid "Clean transparent textures" msgstr "干净透明材质" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "客户端" @@ -2722,6 +2805,22 @@ msgstr "" msgid "Command key" msgstr "命令键" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "连接玻璃" @@ -2819,9 +2918,10 @@ msgid "Crosshair alpha" msgstr "准星透明" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "" "准星透明度(0-255)。\n" "还控制对象准星的颜色" @@ -2903,9 +3003,10 @@ msgid "Default stack size" msgstr "默认栈大小" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "定阴影滤镜的质量\n" @@ -3030,6 +3131,10 @@ msgstr "禁用反作弊" msgid "Disallow empty passwords" msgstr "禁止使用空密码" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "服务器域名,将显示在服务器列表。" @@ -3079,8 +3184,19 @@ msgstr "" "该功能是实验性的,且API会变动。" #: src/settings_translation_file.cpp +#, fuzzy +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" +"启用poisson disk滤镜.\n" +"使用poisson disk来产生\"软阴影\",否则将使用PCF 滤镜." + +#: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Enable colored shadows. \n" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "启用彩色阴影。\n" @@ -3110,15 +3226,6 @@ msgstr "启用 mod 安全" msgid "Enable players getting damage and dying." msgstr "启用玩家受到伤害和死亡。" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" -"启用poisson disk滤镜.\n" -"使用poisson disk来产生\"软阴影\",否则将使用PCF 滤镜." - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "启用随机用户输入(仅用于测试)。" @@ -3555,10 +3662,11 @@ msgid "Global callbacks" msgstr "全局回调" #: src/settings_translation_file.cpp +#, fuzzy 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "全局地图生成属性。\n" "在地图生成器 v6 中‘decorations’标签控制除树木和丛林草外所有装饰物。\n" @@ -3985,7 +4093,9 @@ msgstr "" msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" -msgstr "如果聊天命令的执行时间长于此指定以秒为单位时间,请将时间信息添加到聊天命令消息中。" +msgstr "" +"如果聊天命令的执行时间长于此指定以秒为单位时间,请将时间信息添加到聊天命令消" +"息中。" #: src/settings_translation_file.cpp msgid "" @@ -4040,7 +4150,8 @@ msgstr "" "通常只有核心/内部构建者需要" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "登录时的聊天命令。" #: src/settings_translation_file.cpp @@ -4130,7 +4241,8 @@ msgid "Joystick button repetition interval" msgstr "摇杆按钮重复间隔" #: src/settings_translation_file.cpp -msgid "Joystick deadzone" +#, fuzzy +msgid "Joystick dead zone" msgstr "摇杆无效区" #: src/settings_translation_file.cpp @@ -5240,7 +5352,7 @@ msgstr "地图保存间隔" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "液体更新时钟间隔" #: src/settings_translation_file.cpp @@ -5414,7 +5526,9 @@ msgid "" "Maximum number of concurrent downloads. Downloads exceeding this limit will " "be queued.\n" "This should be lower than curl_parallel_limit." -msgstr "最大并发下载数。 超过此限制的下载将排队。 这应该低于 curl_parallel_limit(卷曲平行限制)。" +msgstr "" +"最大并发下载数。 超过此限制的下载将排队。 这应该低于 curl_parallel_limit(卷" +"曲平行限制)。" #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." @@ -5552,7 +5666,8 @@ msgid "Mod channels" msgstr "mod频道" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "更改hud栏元素大小。" #: src/settings_translation_file.cpp @@ -5703,9 +5818,10 @@ msgstr "" "佳值为'1'。" #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "/clearobjects每次能加载的额外方块数。\n" @@ -5734,6 +5850,10 @@ msgstr "" "当窗口焦点丢失是打开暂停菜单。如果游戏内窗口打开,\n" "则不暂停。" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5896,11 +6016,12 @@ msgid "Prometheus listener address" msgstr "Prometheus 监听器地址" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Prometheus 监听器地址。\n" "如果minetest是在启用ENABLE_PROMETHEUS选项的情况下编译的,\n" @@ -6243,31 +6364,22 @@ msgstr "" "较低的值表示较亮的阴影,较高的值表示较暗的阴影。" #: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" -"设置阴影更新时间。\n" -"较低的值意味着阴影和贴图更新更快,但会消耗更多资源。\n" -"最小值 0.001 秒 最大值 0.2 秒" - -#: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" "设置软阴影半径大小。\n" "较低的值意味着更清晰的阴影更大的值更柔和。\n" "最小值 1.0 和最大值 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" "以度为单位设置太阳/月亮轨道的倾斜度\n" "值 0 表示没有倾斜/垂直轨道。\n" @@ -6381,7 +6493,8 @@ msgstr "" "变更后须重新启动。" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +#, fuzzy +msgid "Show name tag backgrounds by default" msgstr "默认显示名称标签背景" #: src/settings_translation_file.cpp @@ -6504,6 +6617,14 @@ msgstr "" "指定节点、物品和工具的默认堆叠数量。\n" "请注意,mod或游戏可能会为某些(或所有)项目明确设置堆栈。" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6636,7 +6757,7 @@ msgstr "材质路径" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6654,7 +6775,8 @@ msgid "The URL for the content repository" msgstr "内容存储库的 URL" #: src/settings_translation_file.cpp -msgid "The deadzone of the joystick" +#, fuzzy +msgid "The dead zone of the joystick" msgstr "摇杆的无效区" #: src/settings_translation_file.cpp @@ -6725,7 +6847,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp @@ -6897,7 +7019,7 @@ msgstr "缩放材质时使用双线过滤。" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7086,6 +7208,11 @@ msgstr "波动液体波动长度" msgid "Waving plants" msgstr "摇动植物" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "选择框颜色" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7107,7 +7234,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7122,7 +7249,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7255,24 +7382,6 @@ msgstr "较低地形与海底的Y坐标。" msgid "Y-level of seabed." msgstr "海底的Y坐标。" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL 文件下载超时" @@ -7459,6 +7568,9 @@ msgstr "cURL 并发限制" #~ msgid "IPv6 support." #~ msgstr "IPv6 支持。" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "安装:文件:”$1“" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "巨大洞穴深度" @@ -7555,6 +7667,16 @@ msgstr "cURL 并发限制" #~ msgid "Select Package File:" #~ msgstr "选择包文件:" +#~ msgid "" +#~ "Set the shadow update time.\n" +#~ "Lower value means shadows and map updates faster, but it consume more " +#~ "resources.\n" +#~ "Minimun value 0.001 seconds max value 0.2 seconds" +#~ msgstr "" +#~ "设置阴影更新时间。\n" +#~ "较低的值意味着阴影和贴图更新更快,但会消耗更多资源。\n" +#~ "最小值 0.001 秒 最大值 0.2 秒" + #, fuzzy #~ msgid "Shadow limit" #~ msgstr "地图块限制" @@ -7579,6 +7701,9 @@ msgstr "cURL 并发限制" #~ msgid "This font will be used for certain languages." #~ msgstr "用于特定语言的字体。" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "启用着色器需要使用OpenGL驱动。" + #~ msgid "Toggle Cinematic" #~ msgstr "切换电影模式" @@ -7598,5 +7723,8 @@ msgstr "cURL 并发限制" #~ msgid "Yes" #~ msgstr "是" +#~ msgid "You died." +#~ msgstr "您已经死亡." + #~ msgid "needs_fallback_font" #~ msgstr "yes" diff --git a/po/zh_TW/minetest.po b/po/zh_TW/minetest.po index 8d6d22ae3..804f663f4 100644 --- a/po/zh_TW/minetest.po +++ b/po/zh_TW/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Chinese (Traditional) (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-16 18:27+0200\n" +"POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-05-20 14:34+0000\n" "Last-Translator: Yiu Man Ho \n" "Language-Team: Chinese (Traditional) " +msgstr "" + #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Lua 指令稿發生錯誤:" @@ -302,6 +301,11 @@ msgstr "安裝 $1" msgid "Install missing dependencies" msgstr "安裝缺少的依賴" +#: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy +msgid "Install: Unsupported file type or broken archive" +msgstr "安裝:「%1」檔案類型不支援,或是封存檔損壞" + #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" @@ -641,7 +645,7 @@ msgstr "補償" #: builtin/mainmenu/dlg_settings_advanced.lua #, fuzzy -msgid "Persistance" +msgid "Persistence" msgstr "暫留" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -751,14 +755,6 @@ msgstr "安裝 Mod:找不到下述項目的真實 Mod 名稱:$1" msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "安裝 Mod:找不到 $1 Mod 包適合的資料夾名稱" -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: Unsupported file type \"$1\" or broken archive" -msgstr "安裝:「%1」檔案類型不支援,或是封存檔損壞" - -#: builtin/mainmenu/pkgmgr.lua -msgid "Install: file: \"$1\"" -msgstr "安裝:檔案:「$1」" - #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "找不到有效的 Mod 或 Mod 包" @@ -1135,10 +1131,6 @@ msgstr "平滑光線" msgid "Texturing:" msgstr "紋理:" -#: builtin/mainmenu/tab_settings.lua -msgid "To enable shaders the OpenGL driver needs to be used." -msgstr "要啟用著色器,必須使用 OpenGL 驅動程式。" - #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "色調映射" @@ -1171,7 +1163,7 @@ msgstr "擺動液體" msgid "Waving Plants" msgstr "植物擺動" -#: src/client/client.cpp +#: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." msgstr "連線逾時。" @@ -1200,7 +1192,8 @@ msgid "Connection error (timed out?)" msgstr "連線錯誤(逾時?)" #: src/client/clientlauncher.cpp -msgid "Could not find or load game \"" +#, fuzzy +msgid "Could not find or load game: " msgstr "找不到或無法載入遊戲 \"" #: src/client/clientlauncher.cpp @@ -1272,6 +1265,16 @@ msgstr "- PvP: " msgid "- Server Name: " msgstr "- 伺服器名稱: " +#: src/client/game.cpp +#, fuzzy +msgid "A serialization error occurred:" +msgstr "發生錯誤:" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "已停用自動前進" @@ -1280,6 +1283,22 @@ msgstr "已停用自動前進" msgid "Automatic forward enabled" msgstr "已啟用自動前進" +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + #: src/client/game.cpp msgid "Camera update disabled" msgstr "已停用相機更新" @@ -1288,6 +1307,10 @@ msgstr "已停用相機更新" msgid "Camera update enabled" msgstr "已啟用相機更新" +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + #: src/client/game.cpp msgid "Change Password" msgstr "變更密碼" @@ -1300,6 +1323,11 @@ msgstr "已停用電影模式" msgid "Cinematic mode enabled" msgstr "已啟用電影模式" +#: src/client/game.cpp +#, fuzzy +msgid "Client disconnected" +msgstr "用戶端修改" + #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "已停用用戶端指令稿" @@ -1308,6 +1336,10 @@ msgstr "已停用用戶端指令稿" msgid "Connecting to server..." msgstr "正在連線至伺服器..." +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + #: src/client/game.cpp msgid "Continue" msgstr "繼續" @@ -1345,6 +1377,11 @@ msgstr "" "- 滑鼠滾輪:選取物品\n" "- %s:聊天\n" +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + #: src/client/game.cpp msgid "Creating client..." msgstr "正在建立用戶端..." @@ -1553,6 +1590,21 @@ msgstr "已取消靜音" #: src/client/game.cpp #, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format msgid "Viewing range changed to %d" msgstr "已調整視野至 %d" @@ -1886,6 +1938,15 @@ msgstr "表面模式的迷你地圖,放大 1 倍" msgid "Minimap in texture mode" msgstr "過濾器的最大材質大小" +#: src/gui/guiChatConsole.cpp +#, fuzzy +msgid "Failed to open webpage" +msgstr "無法下載 $1" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "密碼不符合!" @@ -1894,7 +1955,7 @@ msgstr "密碼不符合!" msgid "Register and Join" msgstr "註冊並加入" -#: src/gui/guiConfirmRegistration.cpp +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -2085,7 +2146,8 @@ msgid "Muted" msgstr "已靜音" #: src/gui/guiVolumeChange.cpp -msgid "Sound Volume: " +#, fuzzy, c-format +msgid "Sound Volume: %d%%" msgstr "音量: " #. ~ Imperative, as in "Enter/type in text". @@ -2321,6 +2383,10 @@ msgid "" "screens." msgstr "調整您螢幕的 DPI 設定(並不只有 X11/Android)例如 4K 螢幕。" +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + #: src/settings_translation_file.cpp #, c-format msgid "" @@ -2609,6 +2675,11 @@ msgstr "" msgid "Chat command time message threshold" msgstr "聊天訊息踢出閾值" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Chat commands" +msgstr "聊天指令" + #: src/settings_translation_file.cpp #, fuzzy msgid "Chat font size" @@ -2644,8 +2715,9 @@ msgid "Chat toggle key" msgstr "聊天切換按鍵" #: src/settings_translation_file.cpp -msgid "Chatcommands" -msgstr "聊天指令" +#, fuzzy +msgid "Chat weblinks" +msgstr "顯示聊天室" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2663,6 +2735,12 @@ msgstr "電影模式按鍵" msgid "Clean transparent textures" msgstr "清除透明材質" +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + #: src/settings_translation_file.cpp msgid "Client" msgstr "用戶端" @@ -2744,6 +2822,22 @@ msgstr "" msgid "Command key" msgstr "指令按鍵" +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +msgstr "" + #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "連接玻璃" @@ -2840,7 +2934,7 @@ msgstr "十字 alpha 值" #, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" -"Also controls the object crosshair color" +"This also applies to the object crosshair." msgstr "十字 alpha 值(不透明,0 至 255間)。" #: src/settings_translation_file.cpp @@ -2921,8 +3015,8 @@ msgstr "預設遊戲" #: src/settings_translation_file.cpp msgid "" -"Define shadow filtering quality\n" -"This simulates the soft shadows effect by applying a PCF or poisson disk\n" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" @@ -3053,6 +3147,10 @@ msgstr "停用反作弊" msgid "Disallow empty passwords" msgstr "不允許空密碼" +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "伺服器的域名,將會在伺服器列表中顯示。" @@ -3102,7 +3200,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable colored shadows. \n" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" @@ -3133,13 +3238,6 @@ msgstr "啟用 mod 安全性" msgid "Enable players getting damage and dying." msgstr "啟用玩家傷害及瀕死。" -#: src/settings_translation_file.cpp -msgid "" -"Enable poisson disk filtering.\n" -"On true uses poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." -msgstr "" - #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "啟用隨機使用者輸入(僅供測試使用)。" @@ -3574,7 +3672,7 @@ msgstr "全域回呼" 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." +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "全域地圖產生屬性。\n" "在 Mapgen v6 中,「decorations」旗標控制所有除了樹木\n" @@ -4044,7 +4142,8 @@ msgstr "" "這通常僅被核心/內建貢獻者需要" #: src/settings_translation_file.cpp -msgid "Instrument chatcommands on registration." +#, fuzzy +msgid "Instrument chat commands on registration." msgstr "分析登錄的聊天指令。" #: src/settings_translation_file.cpp @@ -4133,7 +4232,7 @@ msgstr "搖桿按鈕重覆間隔" #: src/settings_translation_file.cpp #, fuzzy -msgid "Joystick deadzone" +msgid "Joystick dead zone" msgstr "搖桿類型" #: src/settings_translation_file.cpp @@ -5251,7 +5350,7 @@ msgstr "地圖儲存間隔" #: src/settings_translation_file.cpp #, fuzzy -msgid "Map update time" +msgid "Map shadows update frames" msgstr "液體更新 tick" #: src/settings_translation_file.cpp @@ -5575,7 +5674,8 @@ msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the hudbar elements." +#, fuzzy +msgid "Modifies the size of the HUD elements." msgstr "修改 hudbar 元素的大小。" #: src/settings_translation_file.cpp @@ -5713,9 +5813,10 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy 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" +"This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" "可被 /clearobjects 一次載入的額外區塊數量。\n" @@ -5742,6 +5843,10 @@ msgid "" "open." msgstr "" +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Path of the fallback font.\n" @@ -5893,9 +5998,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" "Prometheus listener address.\n" -"If minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetch on http://127.0.0.1:30000/metrics" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp @@ -6231,26 +6336,18 @@ msgid "" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Set the shadow update time.\n" -"Lower value means shadows and map updates faster, but it consume more " -"resources.\n" -"Minimun value 0.001 seconds max value 0.2 seconds" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Set the soft shadow radius size.\n" -"Lower values mean sharper shadows bigger values softer.\n" -"Minimun value 1.0 and max value 10.0" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set the tilt of Sun/Moon orbit in degrees\n" +"Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" -"Minimun value 0.0 and max value 60.0" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp @@ -6362,7 +6459,7 @@ msgstr "" "變更後必須重新啟動以使其生效。" #: src/settings_translation_file.cpp -msgid "Show nametag backgrounds by default" +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp @@ -6479,6 +6576,14 @@ msgid "" "items." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Spread of light curve boost range.\n" @@ -6599,7 +6704,7 @@ msgstr "材質路徑" msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" -"Bigger numbers create better shadowsbut it is also more expensive." +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp @@ -6618,7 +6723,7 @@ msgstr "" #: src/settings_translation_file.cpp #, fuzzy -msgid "The deadzone of the joystick" +msgid "The dead zone of the joystick" msgstr "要使用的搖桿的識別碼" #: src/settings_translation_file.cpp @@ -6690,9 +6795,10 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" -"ingame view frustum around." +"in-game view frustum around." msgstr "" "在遊戲中,視野四處移動時的\n" "搖桿靈敏度。" @@ -6881,7 +6987,7 @@ msgstr "當縮放材質時使用雙線性過濾。" #: src/settings_translation_file.cpp msgid "" -"Use mip mapping to scale textures. May slightly increase performance,\n" +"Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" @@ -7085,6 +7191,11 @@ msgstr "波動的水長度" msgid "Waving plants" msgstr "植物擺動" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Weblink color" +msgstr "色彩選取框" + #: src/settings_translation_file.cpp msgid "" "When gui_scaling_filter is true, all GUI images need to be\n" @@ -7114,7 +7225,7 @@ msgid "" "can be blurred, so automatically upscale them with nearest-neighbor\n" "interpolation to preserve crisp pixels. This sets the minimum texture size\n" "for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applies if\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" "bilinear/trilinear/anisotropic filtering is enabled.\n" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." @@ -7137,7 +7248,7 @@ msgstr "是否使用 freetype 字型,需要將 freetype 支援編譯進來。" #: src/settings_translation_file.cpp msgid "" -"Whether nametag backgrounds should be shown by default.\n" +"Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" @@ -7277,24 +7388,6 @@ msgstr "較低地形與湖底的 Y 高度。" msgid "Y-level of seabed." msgstr "海底的 Y 高度。" -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when saving mapblocks to disk.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"ZLib compression level to use when sending mapblocks to the client.\n" -"-1 - Zlib's default compression level\n" -"0 - no compresson, fastest\n" -"9 - best compression, slowest\n" -"(levels 1-3 use Zlib's \"fast\" method, 4-9 use the normal method)" -msgstr "" - #: src/settings_translation_file.cpp msgid "cURL file download timeout" msgstr "cURL 檔案下載逾時" @@ -7468,6 +7561,9 @@ msgstr "cURL 並行限制" #~ msgid "IPv6 support." #~ msgstr "IPv6 支援。" +#~ msgid "Install: file: \"$1\"" +#~ msgstr "安裝:檔案:「$1」" + #, fuzzy #~ msgid "Lava depth" #~ msgstr "大型洞穴深度" @@ -7587,6 +7683,9 @@ msgstr "cURL 並行限制" #~ msgid "This font will be used for certain languages." #~ msgstr "這個字型將會被用於特定的語言。" +#~ msgid "To enable shaders the OpenGL driver needs to be used." +#~ msgstr "要啟用著色器,必須使用 OpenGL 驅動程式。" + #~ msgid "Toggle Cinematic" #~ msgstr "切換過場動畫" @@ -7620,5 +7719,9 @@ msgstr "cURL 並行限制" #~ msgid "Yes" #~ msgstr "是" +#, fuzzy +#~ msgid "You died." +#~ msgstr "您已死亡" + #~ msgid "needs_fallback_font" #~ msgstr "yes" -- cgit v1.2.3 From 57a59ae92d4bbfa4fdd60d7acd72c6440f63a49c Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 1 Dec 2021 20:22:33 +0100 Subject: Network: Delete copy constructor and use std::move instead (#11642) This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements. --- src/client/client.cpp | 2 +- src/network/connection.cpp | 445 ++++++++++++++++++++++---------------- src/network/connection.h | 416 ++++++++++++++++------------------- src/network/connectionthreads.cpp | 190 ++++++++-------- src/network/connectionthreads.h | 31 ++- src/unittest/test_connection.cpp | 10 +- src/util/pointer.h | 58 ++--- 7 files changed, 600 insertions(+), 552 deletions(-) diff --git a/src/client/client.cpp b/src/client/client.cpp index 45cc62a33..3ee1298ff 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -877,7 +877,7 @@ void Client::ProcessData(NetworkPacket *pkt) */ if(sender_peer_id != PEER_ID_SERVER) { infostream << "Client::ProcessData(): Discarding data not " - "coming from server: peer_id=" << sender_peer_id + "coming from server: peer_id=" << sender_peer_id << " command=" << pkt->getCommand() << std::endl; return; } diff --git a/src/network/connection.cpp b/src/network/connection.cpp index 548b2e3a0..2d3cf6e88 100644 --- a/src/network/connection.cpp +++ b/src/network/connection.cpp @@ -62,18 +62,27 @@ namespace con #define PING_TIMEOUT 5.0 -BufferedPacket makePacket(Address &address, const SharedBuffer &data, +u16 BufferedPacket::getSeqnum() const +{ + if (size() < BASE_HEADER_SIZE + 3) + return 0; // should never happen + + return readU16(&data[BASE_HEADER_SIZE + 1]); +} + +BufferedPacketPtr makePacket(Address &address, const SharedBuffer &data, u32 protocol_id, session_t sender_peer_id, u8 channel) { u32 packet_size = data.getSize() + BASE_HEADER_SIZE; - BufferedPacket p(packet_size); - p.address = address; - writeU32(&p.data[0], protocol_id); - writeU16(&p.data[4], sender_peer_id); - writeU8(&p.data[6], channel); + BufferedPacketPtr p(new BufferedPacket(packet_size)); + p->address = address; + + writeU32(&p->data[0], protocol_id); + writeU16(&p->data[4], sender_peer_id); + writeU8(&p->data[6], channel); - memcpy(&p.data[BASE_HEADER_SIZE], *data, data.getSize()); + memcpy(&p->data[BASE_HEADER_SIZE], *data, data.getSize()); return p; } @@ -169,9 +178,8 @@ void ReliablePacketBuffer::print() MutexAutoLock listlock(m_list_mutex); LOG(dout_con<<"Dump of ReliablePacketBuffer:" << std::endl); unsigned int index = 0; - for (BufferedPacket &bufferedPacket : m_list) { - u16 s = readU16(&(bufferedPacket.data[BASE_HEADER_SIZE+1])); - LOG(dout_con<getSeqnum() << std::endl); index++; } } @@ -188,16 +196,13 @@ u32 ReliablePacketBuffer::size() return m_list.size(); } -RPBSearchResult ReliablePacketBuffer::findPacket(u16 seqnum) +RPBSearchResult ReliablePacketBuffer::findPacketNoLock(u16 seqnum) { - std::list::iterator i = m_list.begin(); - for(; i != m_list.end(); ++i) - { - u16 s = readU16(&(i->data[BASE_HEADER_SIZE+1])); - if (s == seqnum) - break; + for (auto it = m_list.begin(); it != m_list.end(); ++it) { + if ((*it)->getSeqnum() == seqnum) + return it; } - return i; + return m_list.end(); } bool ReliablePacketBuffer::getFirstSeqnum(u16& result) @@ -205,54 +210,54 @@ bool ReliablePacketBuffer::getFirstSeqnum(u16& result) MutexAutoLock listlock(m_list_mutex); if (m_list.empty()) return false; - const BufferedPacket &p = m_list.front(); - result = readU16(&p.data[BASE_HEADER_SIZE + 1]); + result = m_list.front()->getSeqnum(); return true; } -BufferedPacket ReliablePacketBuffer::popFirst() +BufferedPacketPtr ReliablePacketBuffer::popFirst() { MutexAutoLock listlock(m_list_mutex); if (m_list.empty()) throw NotFoundException("Buffer is empty"); - BufferedPacket p = std::move(m_list.front()); + + BufferedPacketPtr p(m_list.front()); m_list.pop_front(); if (m_list.empty()) { m_oldest_non_answered_ack = 0; } else { - m_oldest_non_answered_ack = - readU16(&m_list.front().data[BASE_HEADER_SIZE + 1]); + m_oldest_non_answered_ack = m_list.front()->getSeqnum(); } return p; } -BufferedPacket ReliablePacketBuffer::popSeqnum(u16 seqnum) +BufferedPacketPtr ReliablePacketBuffer::popSeqnum(u16 seqnum) { MutexAutoLock listlock(m_list_mutex); - RPBSearchResult r = findPacket(seqnum); - if (r == notFound()) { + RPBSearchResult r = findPacketNoLock(seqnum); + if (r == m_list.end()) { LOG(dout_con<<"Sequence number: " << seqnum << " not found in reliable buffer"<getSeqnum(); } return p; } -void ReliablePacketBuffer::insert(const BufferedPacket &p, u16 next_expected) +void ReliablePacketBuffer::insert(BufferedPacketPtr &p_ptr, u16 next_expected) { MutexAutoLock listlock(m_list_mutex); - if (p.data.getSize() < BASE_HEADER_SIZE + 3) { + const BufferedPacket &p = *p_ptr; + + if (p.size() < BASE_HEADER_SIZE + 3) { errorstream << "ReliablePacketBuffer::insert(): Invalid data size for " "reliable packet" << std::endl; return; @@ -263,7 +268,7 @@ void ReliablePacketBuffer::insert(const BufferedPacket &p, u16 next_expected) << std::endl; return; } - u16 seqnum = readU16(&p.data[BASE_HEADER_SIZE + 1]); + const u16 seqnum = p.getSeqnum(); if (!seqnum_in_window(seqnum, next_expected, MAX_RELIABLE_WINDOW_SIZE)) { errorstream << "ReliablePacketBuffer::insert(): seqnum is outside of " @@ -280,44 +285,44 @@ void ReliablePacketBuffer::insert(const BufferedPacket &p, u16 next_expected) // Find the right place for the packet and insert it there // If list is empty, just add it - if (m_list.empty()) - { - m_list.push_back(p); + if (m_list.empty()) { + m_list.push_back(p_ptr); m_oldest_non_answered_ack = seqnum; // Done. return; } // Otherwise find the right place - std::list::iterator i = m_list.begin(); + auto it = m_list.begin(); // Find the first packet in the list which has a higher seqnum - u16 s = readU16(&(i->data[BASE_HEADER_SIZE+1])); + u16 s = (*it)->getSeqnum(); /* case seqnum is smaller then next_expected seqnum */ /* this is true e.g. on wrap around */ if (seqnum < next_expected) { - while(((s < seqnum) || (s >= next_expected)) && (i != m_list.end())) { - ++i; - if (i != m_list.end()) - s = readU16(&(i->data[BASE_HEADER_SIZE+1])); + while(((s < seqnum) || (s >= next_expected)) && (it != m_list.end())) { + ++it; + if (it != m_list.end()) + s = (*it)->getSeqnum(); } } /* non wrap around case (at least for incoming and next_expected */ else { - while(((s < seqnum) && (s >= next_expected)) && (i != m_list.end())) { - ++i; - if (i != m_list.end()) - s = readU16(&(i->data[BASE_HEADER_SIZE+1])); + while(((s < seqnum) && (s >= next_expected)) && (it != m_list.end())) { + ++it; + if (it != m_list.end()) + s = (*it)->getSeqnum(); } } if (s == seqnum) { /* nothing to do this seems to be a resent packet */ /* for paranoia reason data should be compared */ + auto &i = *it; if ( - (readU16(&(i->data[BASE_HEADER_SIZE+1])) != seqnum) || - (i->data.getSize() != p.data.getSize()) || + (i->getSeqnum() != seqnum) || + (i->size() != p.size()) || (i->address != p.address) ) { @@ -325,51 +330,52 @@ void ReliablePacketBuffer::insert(const BufferedPacket &p, u16 next_expected) fprintf(stderr, "Duplicated seqnum %d non matching packet detected:\n", seqnum); - fprintf(stderr, "Old: seqnum: %05d size: %04d, address: %s\n", - readU16(&(i->data[BASE_HEADER_SIZE+1])),i->data.getSize(), + fprintf(stderr, "Old: seqnum: %05d size: %04zu, address: %s\n", + i->getSeqnum(), i->size(), i->address.serializeString().c_str()); - fprintf(stderr, "New: seqnum: %05d size: %04u, address: %s\n", - readU16(&(p.data[BASE_HEADER_SIZE+1])),p.data.getSize(), + fprintf(stderr, "New: seqnum: %05d size: %04zu, address: %s\n", + p.getSeqnum(), p.size(), p.address.serializeString().c_str()); throw IncomingDataCorruption("duplicated packet isn't same as original one"); } } /* insert or push back */ - else if (i != m_list.end()) { - m_list.insert(i, p); + else if (it != m_list.end()) { + m_list.insert(it, p_ptr); } else { - m_list.push_back(p); + m_list.push_back(p_ptr); } /* update last packet number */ - m_oldest_non_answered_ack = readU16(&m_list.front().data[BASE_HEADER_SIZE+1]); + m_oldest_non_answered_ack = m_list.front()->getSeqnum(); } void ReliablePacketBuffer::incrementTimeouts(float dtime) { MutexAutoLock listlock(m_list_mutex); - for (BufferedPacket &bufferedPacket : m_list) { - bufferedPacket.time += dtime; - bufferedPacket.totaltime += dtime; + for (auto &packet : m_list) { + packet->time += dtime; + packet->totaltime += dtime; } } -std::list +std::list> ReliablePacketBuffer::getTimedOuts(float timeout, u32 max_packets) { MutexAutoLock listlock(m_list_mutex); - std::list timed_outs; - for (BufferedPacket &bufferedPacket : m_list) { - if (bufferedPacket.time >= timeout) { - // caller will resend packet so reset time and increase counter - bufferedPacket.time = 0.0f; - bufferedPacket.resend_count++; + std::list> timed_outs; + for (auto &packet : m_list) { + if (packet->time < timeout) + continue; - timed_outs.push_back(bufferedPacket); + // caller will resend packet so reset time and increase counter + packet->time = 0.0f; + packet->resend_count++; - if (timed_outs.size() >= max_packets) - break; - } + timed_outs.emplace_back(packet); + + if (timed_outs.size() >= max_packets) + break; } return timed_outs; } @@ -428,11 +434,13 @@ IncomingSplitBuffer::~IncomingSplitBuffer() } } -SharedBuffer IncomingSplitBuffer::insert(const BufferedPacket &p, bool reliable) +SharedBuffer IncomingSplitBuffer::insert(BufferedPacketPtr &p_ptr, bool reliable) { MutexAutoLock listlock(m_map_mutex); + const BufferedPacket &p = *p_ptr; + u32 headersize = BASE_HEADER_SIZE + 7; - if (p.data.getSize() < headersize) { + if (p.size() < headersize) { errorstream << "Invalid data size for split packet" << std::endl; return SharedBuffer(); } @@ -473,7 +481,7 @@ SharedBuffer IncomingSplitBuffer::insert(const BufferedPacket &p, bool relia < chunkdata(chunkdatasize); memcpy(*chunkdata, &(p.data[headersize]), chunkdatasize); @@ -520,14 +528,67 @@ void IncomingSplitBuffer::removeUnreliableTimedOuts(float dtime, float timeout) ConnectionCommand */ -void ConnectionCommand::send(session_t peer_id_, u8 channelnum_, NetworkPacket *pkt, - bool reliable_) +ConnectionCommandPtr ConnectionCommand::create(ConnectionCommandType type) +{ + return ConnectionCommandPtr(new ConnectionCommand(type)); +} + +ConnectionCommandPtr ConnectionCommand::serve(Address address) +{ + auto c = create(CONNCMD_SERVE); + c->address = address; + return c; +} + +ConnectionCommandPtr ConnectionCommand::connect(Address address) { - type = CONNCMD_SEND; - peer_id = peer_id_; - channelnum = channelnum_; - data = pkt->oldForgePacket(); - reliable = reliable_; + auto c = create(CONNCMD_CONNECT); + c->address = address; + return c; +} + +ConnectionCommandPtr ConnectionCommand::disconnect() +{ + return create(CONNCMD_DISCONNECT); +} + +ConnectionCommandPtr ConnectionCommand::disconnect_peer(session_t peer_id) +{ + auto c = create(CONNCMD_DISCONNECT_PEER); + c->peer_id = peer_id; + return c; +} + +ConnectionCommandPtr ConnectionCommand::send(session_t peer_id, u8 channelnum, + NetworkPacket *pkt, bool reliable) +{ + auto c = create(CONNCMD_SEND); + c->peer_id = peer_id; + c->channelnum = channelnum; + c->reliable = reliable; + c->data = pkt->oldForgePacket(); + return c; +} + +ConnectionCommandPtr ConnectionCommand::ack(session_t peer_id, u8 channelnum, const Buffer &data) +{ + auto c = create(CONCMD_ACK); + c->peer_id = peer_id; + c->channelnum = channelnum; + c->reliable = false; + data.copyTo(c->data); + return c; +} + +ConnectionCommandPtr ConnectionCommand::createPeer(session_t peer_id, const Buffer &data) +{ + auto c = create(CONCMD_CREATE_PEER); + c->peer_id = peer_id; + c->channelnum = 0; + c->reliable = true; + c->raw = true; + data.copyTo(c->data); + return c; } /* @@ -562,39 +623,38 @@ void Channel::setNextSplitSeqNum(u16 seqnum) u16 Channel::getOutgoingSequenceNumber(bool& successful) { MutexAutoLock internal(m_internal_mutex); + u16 retval = next_outgoing_seqnum; - u16 lowest_unacked_seqnumber; + successful = false; /* shortcut if there ain't any packet in outgoing list */ - if (outgoing_reliables_sent.empty()) - { + if (outgoing_reliables_sent.empty()) { + successful = true; next_outgoing_seqnum++; return retval; } - if (outgoing_reliables_sent.getFirstSeqnum(lowest_unacked_seqnumber)) - { + u16 lowest_unacked_seqnumber; + if (outgoing_reliables_sent.getFirstSeqnum(lowest_unacked_seqnumber)) { if (lowest_unacked_seqnumber < next_outgoing_seqnum) { // ugly cast but this one is required in order to tell compiler we // know about difference of two unsigned may be negative in general // but we already made sure it won't happen in this case if (((u16)(next_outgoing_seqnum - lowest_unacked_seqnumber)) > m_window_size) { - successful = false; return 0; } - } - else { + } else { // ugly cast but this one is required in order to tell compiler we // know about difference of two unsigned may be negative in general // but we already made sure it won't happen in this case if ((next_outgoing_seqnum + (u16)(SEQNUM_MAX - lowest_unacked_seqnumber)) > m_window_size) { - successful = false; return 0; } } } + successful = true; next_outgoing_seqnum++; return retval; } @@ -946,45 +1006,45 @@ bool UDPPeer::Ping(float dtime,SharedBuffer& data) return false; } -void UDPPeer::PutReliableSendCommand(ConnectionCommand &c, +void UDPPeer::PutReliableSendCommand(ConnectionCommandPtr &c, unsigned int max_packet_size) { if (m_pending_disconnect) return; - Channel &chan = channels[c.channelnum]; + Channel &chan = channels[c->channelnum]; if (chan.queued_commands.empty() && /* don't queue more packets then window size */ - (chan.queued_reliables.size() < chan.getWindowSize() / 2)) { + (chan.queued_reliables.size() + 1 < chan.getWindowSize() / 2)) { LOG(dout_con<getDesc() - <<" processing reliable command for peer id: " << c.peer_id - <<" data size: " << c.data.getSize() << std::endl); - if (!processReliableSendCommand(c,max_packet_size)) { - chan.queued_commands.push_back(c); - } - } - else { + <<" processing reliable command for peer id: " << c->peer_id + <<" data size: " << c->data.getSize() << std::endl); + if (processReliableSendCommand(c, max_packet_size)) + return; + } else { LOG(dout_con<getDesc() - <<" Queueing reliable command for peer id: " << c.peer_id - <<" data size: " << c.data.getSize() <= chan.getWindowSize() / 2) { + <<" Queueing reliable command for peer id: " << c->peer_id + <<" data size: " << c->data.getSize() <= chan.getWindowSize() / 2) { LOG(derr_con << m_connection->getDesc() - << "Possible packet stall to peer id: " << c.peer_id + << "Possible packet stall to peer id: " << c->peer_id << " queued_commands=" << chan.queued_commands.size() << std::endl); } } + chan.queued_commands.push_back(c); } bool UDPPeer::processReliableSendCommand( - ConnectionCommand &c, + ConnectionCommandPtr &c_ptr, unsigned int max_packet_size) { if (m_pending_disconnect) return true; + const auto &c = *c_ptr; Channel &chan = channels[c.channelnum]; u32 chunksize_max = max_packet_size @@ -1003,9 +1063,9 @@ bool UDPPeer::processReliableSendCommand( chan.setNextSplitSeqNum(split_sequence_number); } - bool have_sequence_number = true; + bool have_sequence_number = false; bool have_initial_sequence_number = false; - std::queue toadd; + std::queue toadd; volatile u16 initial_sequence_number = 0; for (SharedBuffer &original : originals) { @@ -1024,25 +1084,23 @@ bool UDPPeer::processReliableSendCommand( SharedBuffer reliable = makeReliablePacket(original, seqnum); // Add base headers and make a packet - BufferedPacket p = con::makePacket(address, reliable, + BufferedPacketPtr p = con::makePacket(address, reliable, m_connection->GetProtocolID(), m_connection->GetPeerID(), c.channelnum); - toadd.push(std::move(p)); + toadd.push(p); } if (have_sequence_number) { - volatile u16 pcount = 0; while (!toadd.empty()) { - BufferedPacket p = std::move(toadd.front()); + BufferedPacketPtr p = toadd.front(); toadd.pop(); // LOG(dout_con<getDesc() // << " queuing reliable packet for peer_id: " << c.peer_id // << " channel: " << (c.channelnum&0xFF) // << " seqnum: " << readU16(&p.data[BASE_HEADER_SIZE+1]) // << std::endl) - chan.queued_reliables.push(std::move(p)); - pcount++; + chan.queued_reliables.push(p); } sanity_check(chan.queued_reliables.size() < 0xFFFF); return true; @@ -1051,6 +1109,7 @@ bool UDPPeer::processReliableSendCommand( volatile u16 packets_available = toadd.size(); /* we didn't get a single sequence number no need to fill queue */ if (!have_initial_sequence_number) { + LOG(derr_con << m_connection->getDesc() << "Ran out of sequence numbers!" << std::endl); return false; } @@ -1096,18 +1155,18 @@ void UDPPeer::RunCommandQueues( (channel.queued_reliables.size() < maxtransfer) && (commands_processed < maxcommands)) { try { - ConnectionCommand c = channel.queued_commands.front(); + ConnectionCommandPtr c = channel.queued_commands.front(); LOG(dout_con << m_connection->getDesc() << " processing queued reliable command " << std::endl); // Packet is processed, remove it from queue - if (processReliableSendCommand(c,max_packet_size)) { + if (processReliableSendCommand(c, max_packet_size)) { channel.queued_commands.pop_front(); } else { LOG(dout_con << m_connection->getDesc() - << " Failed to queue packets for peer_id: " << c.peer_id - << ", delaying sending of " << c.data.getSize() + << " Failed to queue packets for peer_id: " << c->peer_id + << ", delaying sending of " << c->data.getSize() << " bytes" << std::endl); } } @@ -1130,13 +1189,70 @@ void UDPPeer::setNextSplitSequenceNumber(u8 channel, u16 seqnum) channels[channel].setNextSplitSeqNum(seqnum); } -SharedBuffer UDPPeer::addSplitPacket(u8 channel, const BufferedPacket &toadd, +SharedBuffer UDPPeer::addSplitPacket(u8 channel, BufferedPacketPtr &toadd, bool reliable) { assert(channel < CHANNEL_COUNT); // Pre-condition return channels[channel].incoming_splits.insert(toadd, reliable); } +/* + ConnectionEvent +*/ + +const char *ConnectionEvent::describe() const +{ + switch(type) { + case CONNEVENT_NONE: + return "CONNEVENT_NONE"; + case CONNEVENT_DATA_RECEIVED: + return "CONNEVENT_DATA_RECEIVED"; + case CONNEVENT_PEER_ADDED: + return "CONNEVENT_PEER_ADDED"; + case CONNEVENT_PEER_REMOVED: + return "CONNEVENT_PEER_REMOVED"; + case CONNEVENT_BIND_FAILED: + return "CONNEVENT_BIND_FAILED"; + } + return "Invalid ConnectionEvent"; +} + + +ConnectionEventPtr ConnectionEvent::create(ConnectionEventType type) +{ + return std::shared_ptr(new ConnectionEvent(type)); +} + +ConnectionEventPtr ConnectionEvent::dataReceived(session_t peer_id, const Buffer &data) +{ + auto e = create(CONNEVENT_DATA_RECEIVED); + e->peer_id = peer_id; + data.copyTo(e->data); + return e; +} + +ConnectionEventPtr ConnectionEvent::peerAdded(session_t peer_id, Address address) +{ + auto e = create(CONNEVENT_PEER_ADDED); + e->peer_id = peer_id; + e->address = address; + return e; +} + +ConnectionEventPtr ConnectionEvent::peerRemoved(session_t peer_id, bool is_timeout, Address address) +{ + auto e = create(CONNEVENT_PEER_REMOVED); + e->peer_id = peer_id; + e->timeout = is_timeout; + e->address = address; + return e; +} + +ConnectionEventPtr ConnectionEvent::bindFailed() +{ + return create(CONNEVENT_BIND_FAILED); +} + /* Connection */ @@ -1186,18 +1302,12 @@ Connection::~Connection() /* Internal stuff */ -void Connection::putEvent(const ConnectionEvent &e) +void Connection::putEvent(ConnectionEventPtr e) { - assert(e.type != CONNEVENT_NONE); // Pre-condition + assert(e->type != CONNEVENT_NONE); // Pre-condition m_event_queue.push_back(e); } -void Connection::putEvent(ConnectionEvent &&e) -{ - assert(e.type != CONNEVENT_NONE); // Pre-condition - m_event_queue.push_back(std::move(e)); -} - void Connection::TriggerSend() { m_sendThread->Trigger(); @@ -1260,11 +1370,9 @@ bool Connection::deletePeer(session_t peer_id, bool timeout) Address peer_address; //any peer has a primary address this never fails! peer->getAddress(MTP_PRIMARY, peer_address); - // Create event - ConnectionEvent e; - e.peerRemoved(peer_id, timeout, peer_address); - putEvent(e); + // Create event + putEvent(ConnectionEvent::peerRemoved(peer_id, timeout, peer_address)); peer->Drop(); return true; @@ -1272,18 +1380,16 @@ bool Connection::deletePeer(session_t peer_id, bool timeout) /* Interface */ -ConnectionEvent Connection::waitEvent(u32 timeout_ms) +ConnectionEventPtr Connection::waitEvent(u32 timeout_ms) { try { return m_event_queue.pop_front(timeout_ms); } catch(ItemNotFoundException &ex) { - ConnectionEvent e; - e.type = CONNEVENT_NONE; - return e; + return ConnectionEvent::create(CONNEVENT_NONE); } } -void Connection::putCommand(const ConnectionCommand &c) +void Connection::putCommand(ConnectionCommandPtr c) { if (!m_shutting_down) { m_command_queue.push_back(c); @@ -1291,26 +1397,14 @@ void Connection::putCommand(const ConnectionCommand &c) } } -void Connection::putCommand(ConnectionCommand &&c) -{ - if (!m_shutting_down) { - m_command_queue.push_back(std::move(c)); - m_sendThread->Trigger(); - } -} - void Connection::Serve(Address bind_addr) { - ConnectionCommand c; - c.serve(bind_addr); - putCommand(c); + putCommand(ConnectionCommand::serve(bind_addr)); } void Connection::Connect(Address address) { - ConnectionCommand c; - c.connect(address); - putCommand(c); + putCommand(ConnectionCommand::connect(address)); } bool Connection::Connected() @@ -1332,9 +1426,7 @@ bool Connection::Connected() void Connection::Disconnect() { - ConnectionCommand c; - c.disconnect(); - putCommand(c); + putCommand(ConnectionCommand::disconnect()); } bool Connection::Receive(NetworkPacket *pkt, u32 timeout) @@ -1345,11 +1437,15 @@ bool Connection::Receive(NetworkPacket *pkt, u32 timeout) This is not considered to be a problem (is it?) */ for(;;) { - ConnectionEvent e = waitEvent(timeout); - if (e.type != CONNEVENT_NONE) + ConnectionEventPtr e_ptr = waitEvent(timeout); + const ConnectionEvent &e = *e_ptr; + + if (e.type != CONNEVENT_NONE) { LOG(dout_con << getDesc() << ": Receive: got event: " << e.describe() << std::endl); - switch(e.type) { + } + + switch (e.type) { case CONNEVENT_NONE: return false; case CONNEVENT_DATA_RECEIVED: @@ -1397,10 +1493,7 @@ void Connection::Send(session_t peer_id, u8 channelnum, { assert(channelnum < CHANNEL_COUNT); // Pre-condition - ConnectionCommand c; - - c.send(peer_id, channelnum, pkt, reliable); - putCommand(std::move(c)); + putCommand(ConnectionCommand::send(peer_id, channelnum, pkt, reliable)); } Address Connection::GetPeerAddress(session_t peer_id) @@ -1499,41 +1592,31 @@ u16 Connection::createPeer(Address& sender, MTProtocols protocol, int fd) LOG(dout_con << getDesc() << "createPeer(): giving peer_id=" << peer_id_new << std::endl); - ConnectionCommand cmd; - Buffer reply(4); - writeU8(&reply[0], PACKET_TYPE_CONTROL); - writeU8(&reply[1], CONTROLTYPE_SET_PEER_ID); - writeU16(&reply[2], peer_id_new); - cmd.createPeer(peer_id_new,reply); - putCommand(std::move(cmd)); + { + Buffer reply(4); + writeU8(&reply[0], PACKET_TYPE_CONTROL); + writeU8(&reply[1], CONTROLTYPE_SET_PEER_ID); + writeU16(&reply[2], peer_id_new); + putCommand(ConnectionCommand::createPeer(peer_id_new, reply)); + } // Create peer addition event - ConnectionEvent e; - e.peerAdded(peer_id_new, sender); - putEvent(e); + putEvent(ConnectionEvent::peerAdded(peer_id_new, sender)); // We're now talking to a valid peer_id return peer_id_new; } -void Connection::PrintInfo(std::ostream &out) -{ - m_info_mutex.lock(); - out< ack(4); writeU8(&ack[0], PACKET_TYPE_CONTROL); writeU8(&ack[1], CONTROLTYPE_ACK); writeU16(&ack[2], seqnum); - c.ack(peer_id, channelnum, ack); - putCommand(std::move(c)); + putCommand(ConnectionCommand::ack(peer_id, channelnum, ack)); m_sendThread->Trigger(); } diff --git a/src/network/connection.h b/src/network/connection.h index ea74ffb1c..1afb4ae84 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -32,6 +32,95 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#define MAX_UDP_PEERS 65535 + +/* +=== NOTES === + +A packet is sent through a channel to a peer with a basic header: + Header (7 bytes): + [0] u32 protocol_id + [4] session_t sender_peer_id + [6] u8 channel +sender_peer_id: + Unique to each peer. + value 0 (PEER_ID_INEXISTENT) is reserved for making new connections + value 1 (PEER_ID_SERVER) is reserved for server + these constants are defined in constants.h +channel: + Channel numbers have no intrinsic meaning. Currently only 0, 1, 2 exist. +*/ +#define BASE_HEADER_SIZE 7 +#define CHANNEL_COUNT 3 + +/* +Packet types: + +CONTROL: This is a packet used by the protocol. +- When this is processed, nothing is handed to the user. + Header (2 byte): + [0] u8 type + [1] u8 controltype +controltype and data description: + CONTROLTYPE_ACK + [2] u16 seqnum + CONTROLTYPE_SET_PEER_ID + [2] session_t peer_id_new + CONTROLTYPE_PING + - There is no actual reply, but this can be sent in a reliable + packet to get a reply + CONTROLTYPE_DISCO +*/ +enum ControlType : u8 { + CONTROLTYPE_ACK = 0, + CONTROLTYPE_SET_PEER_ID = 1, + CONTROLTYPE_PING = 2, + CONTROLTYPE_DISCO = 3, +}; + +/* +ORIGINAL: This is a plain packet with no control and no error +checking at all. +- When this is processed, it is directly handed to the user. + Header (1 byte): + [0] u8 type +*/ +//#define TYPE_ORIGINAL 1 +#define ORIGINAL_HEADER_SIZE 1 + +/* +SPLIT: These are sequences of packets forming one bigger piece of +data. +- When processed and all the packet_nums 0...packet_count-1 are + present (this should be buffered), the resulting data shall be + directly handed to the user. +- If the data fails to come up in a reasonable time, the buffer shall + be silently discarded. +- These can be sent as-is or atop of a RELIABLE packet stream. + Header (7 bytes): + [0] u8 type + [1] u16 seqnum + [3] u16 chunk_count + [5] u16 chunk_num +*/ +//#define TYPE_SPLIT 2 + +/* +RELIABLE: Delivery of all RELIABLE packets shall be forced by ACKs, +and they shall be delivered in the same order as sent. This is done +with a buffer in the receiving and transmitting end. +- When this is processed, the contents of each packet is recursively + processed as packets. + Header (3 bytes): + [0] u8 type + [1] u16 seqnum + +*/ +//#define TYPE_RELIABLE 3 +#define RELIABLE_HEADER_SIZE 3 +#define SEQNUM_INITIAL 65500 +#define SEQNUM_MAX 65535 + class NetworkPacket; namespace con @@ -46,9 +135,13 @@ typedef enum MTProtocols { MTP_MINETEST_RELIABLE_UDP } MTProtocols; -#define MAX_UDP_PEERS 65535 - -#define SEQNUM_MAX 65535 +enum PacketType : u8 { + PACKET_TYPE_CONTROL = 0, + PACKET_TYPE_ORIGINAL = 1, + PACKET_TYPE_SPLIT = 2, + PACKET_TYPE_RELIABLE = 3, + PACKET_TYPE_MAX +}; inline bool seqnum_higher(u16 totest, u16 base) { @@ -85,24 +178,40 @@ static inline float CALC_DTIME(u64 lasttime, u64 curtime) return MYMAX(MYMIN(value,0.1),0.0); } -struct BufferedPacket -{ - BufferedPacket(u8 *a_data, u32 a_size): - data(a_data, a_size) - {} - BufferedPacket(u32 a_size): - data(a_size) - {} - Buffer data; // Data of the packet, including headers +/* + Struct for all kinds of packets. Includes following data: + BASE_HEADER + u8[] packet data (usually copied from SharedBuffer) +*/ +struct BufferedPacket { + BufferedPacket(u32 a_size) + { + m_data.resize(a_size); + data = &m_data[0]; + } + + DISABLE_CLASS_COPY(BufferedPacket) + + u16 getSeqnum() const; + + inline const size_t size() const { return m_data.size(); } + + u8 *data; // Direct memory access float time = 0.0f; // Seconds from buffering the packet or re-sending float totaltime = 0.0f; // Seconds from buffering the packet u64 absolute_send_time = -1; Address address; // Sender or destination unsigned int resend_count = 0; + +private: + std::vector m_data; // Data of the packet, including headers }; +typedef std::shared_ptr BufferedPacketPtr; + + // This adds the base headers to the data and makes a packet out of it -BufferedPacket makePacket(Address &address, const SharedBuffer &data, +BufferedPacketPtr makePacket(Address &address, const SharedBuffer &data, u32 protocol_id, session_t sender_peer_id, u8 channel); // Depending on size, make a TYPE_ORIGINAL or TYPE_SPLIT packet @@ -136,101 +245,12 @@ private: std::map> chunks; }; -/* -=== NOTES === - -A packet is sent through a channel to a peer with a basic header: - Header (7 bytes): - [0] u32 protocol_id - [4] session_t sender_peer_id - [6] u8 channel -sender_peer_id: - Unique to each peer. - value 0 (PEER_ID_INEXISTENT) is reserved for making new connections - value 1 (PEER_ID_SERVER) is reserved for server - these constants are defined in constants.h -channel: - Channel numbers have no intrinsic meaning. Currently only 0, 1, 2 exist. -*/ -#define BASE_HEADER_SIZE 7 -#define CHANNEL_COUNT 3 -/* -Packet types: - -CONTROL: This is a packet used by the protocol. -- When this is processed, nothing is handed to the user. - Header (2 byte): - [0] u8 type - [1] u8 controltype -controltype and data description: - CONTROLTYPE_ACK - [2] u16 seqnum - CONTROLTYPE_SET_PEER_ID - [2] session_t peer_id_new - CONTROLTYPE_PING - - There is no actual reply, but this can be sent in a reliable - packet to get a reply - CONTROLTYPE_DISCO -*/ -//#define TYPE_CONTROL 0 -#define CONTROLTYPE_ACK 0 -#define CONTROLTYPE_SET_PEER_ID 1 -#define CONTROLTYPE_PING 2 -#define CONTROLTYPE_DISCO 3 - -/* -ORIGINAL: This is a plain packet with no control and no error -checking at all. -- When this is processed, it is directly handed to the user. - Header (1 byte): - [0] u8 type -*/ -//#define TYPE_ORIGINAL 1 -#define ORIGINAL_HEADER_SIZE 1 -/* -SPLIT: These are sequences of packets forming one bigger piece of -data. -- When processed and all the packet_nums 0...packet_count-1 are - present (this should be buffered), the resulting data shall be - directly handed to the user. -- If the data fails to come up in a reasonable time, the buffer shall - be silently discarded. -- These can be sent as-is or atop of a RELIABLE packet stream. - Header (7 bytes): - [0] u8 type - [1] u16 seqnum - [3] u16 chunk_count - [5] u16 chunk_num -*/ -//#define TYPE_SPLIT 2 -/* -RELIABLE: Delivery of all RELIABLE packets shall be forced by ACKs, -and they shall be delivered in the same order as sent. This is done -with a buffer in the receiving and transmitting end. -- When this is processed, the contents of each packet is recursively - processed as packets. - Header (3 bytes): - [0] u8 type - [1] u16 seqnum - -*/ -//#define TYPE_RELIABLE 3 -#define RELIABLE_HEADER_SIZE 3 -#define SEQNUM_INITIAL 65500 - -enum PacketType: u8 { - PACKET_TYPE_CONTROL = 0, - PACKET_TYPE_ORIGINAL = 1, - PACKET_TYPE_SPLIT = 2, - PACKET_TYPE_RELIABLE = 3, - PACKET_TYPE_MAX -}; /* A buffer which stores reliable packets and sorts them internally for fast access to the smallest one. */ -typedef std::list::iterator RPBSearchResult; +typedef std::list::iterator RPBSearchResult; class ReliablePacketBuffer { @@ -239,12 +259,12 @@ public: bool getFirstSeqnum(u16& result); - BufferedPacket popFirst(); - BufferedPacket popSeqnum(u16 seqnum); - void insert(const BufferedPacket &p, u16 next_expected); + BufferedPacketPtr popFirst(); + BufferedPacketPtr popSeqnum(u16 seqnum); + void insert(BufferedPacketPtr &p_ptr, u16 next_expected); void incrementTimeouts(float dtime); - std::list getTimedOuts(float timeout, u32 max_packets); + std::list> getTimedOuts(float timeout, u32 max_packets); void print(); bool empty(); @@ -252,10 +272,9 @@ public: private: - RPBSearchResult findPacket(u16 seqnum); // does not perform locking - inline RPBSearchResult notFound() { return m_list.end(); } + RPBSearchResult findPacketNoLock(u16 seqnum); - std::list m_list; + std::list m_list; u16 m_oldest_non_answered_ack; @@ -274,7 +293,7 @@ public: Returns a reference counted buffer of length != 0 when a full split packet is constructed. If not, returns one of length 0. */ - SharedBuffer insert(const BufferedPacket &p, bool reliable); + SharedBuffer insert(BufferedPacketPtr &p_ptr, bool reliable); void removeUnreliableTimedOuts(float dtime, float timeout); @@ -285,25 +304,6 @@ private: std::mutex m_map_mutex; }; -struct OutgoingPacket -{ - session_t peer_id; - u8 channelnum; - SharedBuffer data; - bool reliable; - bool ack; - - OutgoingPacket(session_t peer_id_, u8 channelnum_, const SharedBuffer &data_, - bool reliable_,bool ack_=false): - peer_id(peer_id_), - channelnum(channelnum_), - data(data_), - reliable(reliable_), - ack(ack_) - { - } -}; - enum ConnectionCommandType{ CONNCMD_NONE, CONNCMD_SERVE, @@ -316,9 +316,13 @@ enum ConnectionCommandType{ CONCMD_CREATE_PEER }; +struct ConnectionCommand; +typedef std::shared_ptr ConnectionCommandPtr; + +// This is very similar to ConnectionEvent struct ConnectionCommand { - enum ConnectionCommandType type = CONNCMD_NONE; + const ConnectionCommandType type; Address address; session_t peer_id = PEER_ID_INEXISTENT; u8 channelnum = 0; @@ -326,48 +330,21 @@ struct ConnectionCommand bool reliable = false; bool raw = false; - ConnectionCommand() = default; - - void serve(Address address_) - { - type = CONNCMD_SERVE; - address = address_; - } - void connect(Address address_) - { - type = CONNCMD_CONNECT; - address = address_; - } - void disconnect() - { - type = CONNCMD_DISCONNECT; - } - void disconnect_peer(session_t peer_id_) - { - type = CONNCMD_DISCONNECT_PEER; - peer_id = peer_id_; - } + DISABLE_CLASS_COPY(ConnectionCommand); - void send(session_t peer_id_, u8 channelnum_, NetworkPacket *pkt, bool reliable_); + static ConnectionCommandPtr serve(Address address); + static ConnectionCommandPtr connect(Address address); + static ConnectionCommandPtr disconnect(); + static ConnectionCommandPtr disconnect_peer(session_t peer_id); + static ConnectionCommandPtr send(session_t peer_id, u8 channelnum, NetworkPacket *pkt, bool reliable); + static ConnectionCommandPtr ack(session_t peer_id, u8 channelnum, const Buffer &data); + static ConnectionCommandPtr createPeer(session_t peer_id, const Buffer &data); - void ack(session_t peer_id_, u8 channelnum_, const Buffer &data_) - { - type = CONCMD_ACK; - peer_id = peer_id_; - channelnum = channelnum_; - data = data_; - reliable = false; - } +private: + ConnectionCommand(ConnectionCommandType type_) : + type(type_) {} - void createPeer(session_t peer_id_, const Buffer &data_) - { - type = CONCMD_CREATE_PEER; - peer_id = peer_id_; - data = data_; - channelnum = 0; - reliable = true; - raw = true; - } + static ConnectionCommandPtr create(ConnectionCommandType type); }; /* maximum window size to use, 0xFFFF is theoretical maximum. don't think about @@ -402,10 +379,10 @@ public: ReliablePacketBuffer outgoing_reliables_sent; //queued reliable packets - std::queue queued_reliables; + std::queue queued_reliables; //queue commands prior splitting to packets - std::deque queued_commands; + std::deque queued_commands; IncomingSplitBuffer incoming_splits; @@ -514,7 +491,7 @@ class Peer { public: friend class PeerHelper; - Peer(Address address_,u16 id_,Connection* connection) : + Peer(Address address_,session_t id_,Connection* connection) : id(id_), m_connection(connection), address(address_), @@ -528,11 +505,11 @@ class Peer { }; // Unique id of the peer - u16 id; + const session_t id; void Drop(); - virtual void PutReliableSendCommand(ConnectionCommand &c, + virtual void PutReliableSendCommand(ConnectionCommandPtr &c, unsigned int max_packet_size) {}; virtual bool getAddress(MTProtocols type, Address& toset) = 0; @@ -549,7 +526,7 @@ class Peer { virtual u16 getNextSplitSequenceNumber(u8 channel) { return 0; }; virtual void setNextSplitSequenceNumber(u8 channel, u16 seqnum) {}; - virtual SharedBuffer addSplitPacket(u8 channel, const BufferedPacket &toadd, + virtual SharedBuffer addSplitPacket(u8 channel, BufferedPacketPtr &toadd, bool reliable) { errorstream << "Peer::addSplitPacket called," @@ -586,7 +563,7 @@ class Peer { bool IncUseCount(); void DecUseCount(); - std::mutex m_exclusive_access_mutex; + mutable std::mutex m_exclusive_access_mutex; bool m_pending_deletion = false; @@ -634,7 +611,7 @@ public: UDPPeer(u16 a_id, Address a_address, Connection* connection); virtual ~UDPPeer() = default; - void PutReliableSendCommand(ConnectionCommand &c, + void PutReliableSendCommand(ConnectionCommandPtr &c, unsigned int max_packet_size); bool getAddress(MTProtocols type, Address& toset); @@ -642,7 +619,7 @@ public: u16 getNextSplitSequenceNumber(u8 channel); void setNextSplitSequenceNumber(u8 channel, u16 seqnum); - SharedBuffer addSplitPacket(u8 channel, const BufferedPacket &toadd, + SharedBuffer addSplitPacket(u8 channel, BufferedPacketPtr &toadd, bool reliable); protected: @@ -671,7 +648,7 @@ private: float resend_timeout = 0.5; bool processReliableSendCommand( - ConnectionCommand &c, + ConnectionCommandPtr &c_ptr, unsigned int max_packet_size); }; @@ -679,7 +656,7 @@ private: Connection */ -enum ConnectionEventType{ +enum ConnectionEventType { CONNEVENT_NONE, CONNEVENT_DATA_RECEIVED, CONNEVENT_PEER_ADDED, @@ -687,56 +664,32 @@ enum ConnectionEventType{ CONNEVENT_BIND_FAILED, }; +struct ConnectionEvent; +typedef std::shared_ptr ConnectionEventPtr; + +// This is very similar to ConnectionCommand struct ConnectionEvent { - enum ConnectionEventType type = CONNEVENT_NONE; + const ConnectionEventType type; session_t peer_id = 0; Buffer data; bool timeout = false; Address address; - ConnectionEvent() = default; + // We don't want to copy "data" + DISABLE_CLASS_COPY(ConnectionEvent); - const char *describe() const - { - switch(type) { - case CONNEVENT_NONE: - return "CONNEVENT_NONE"; - case CONNEVENT_DATA_RECEIVED: - return "CONNEVENT_DATA_RECEIVED"; - case CONNEVENT_PEER_ADDED: - return "CONNEVENT_PEER_ADDED"; - case CONNEVENT_PEER_REMOVED: - return "CONNEVENT_PEER_REMOVED"; - case CONNEVENT_BIND_FAILED: - return "CONNEVENT_BIND_FAILED"; - } - return "Invalid ConnectionEvent"; - } + static ConnectionEventPtr create(ConnectionEventType type); + static ConnectionEventPtr dataReceived(session_t peer_id, const Buffer &data); + static ConnectionEventPtr peerAdded(session_t peer_id, Address address); + static ConnectionEventPtr peerRemoved(session_t peer_id, bool is_timeout, Address address); + static ConnectionEventPtr bindFailed(); - void dataReceived(session_t peer_id_, const Buffer &data_) - { - type = CONNEVENT_DATA_RECEIVED; - peer_id = peer_id_; - data = data_; - } - void peerAdded(session_t peer_id_, Address address_) - { - type = CONNEVENT_PEER_ADDED; - peer_id = peer_id_; - address = address_; - } - void peerRemoved(session_t peer_id_, bool timeout_, Address address_) - { - type = CONNEVENT_PEER_REMOVED; - peer_id = peer_id_; - timeout = timeout_; - address = address_; - } - void bindFailed() - { - type = CONNEVENT_BIND_FAILED; - } + const char *describe() const; + +private: + ConnectionEvent(ConnectionEventType type_) : + type(type_) {} }; class PeerHandler; @@ -752,10 +705,9 @@ public: ~Connection(); /* Interface */ - ConnectionEvent waitEvent(u32 timeout_ms); - // Warning: creates an unnecessary copy, prefer putCommand(T&&) if possible - void putCommand(const ConnectionCommand &c); - void putCommand(ConnectionCommand &&c); + ConnectionEventPtr waitEvent(u32 timeout_ms); + + void putCommand(ConnectionCommandPtr c); void SetTimeoutMs(u32 timeout) { m_bc_receive_timeout = timeout; } void Serve(Address bind_addr); @@ -785,8 +737,6 @@ protected: void sendAck(session_t peer_id, u8 channelnum, u16 seqnum); - void PrintInfo(std::ostream &out); - std::vector getPeerIDs() { MutexAutoLock peerlock(m_peers_mutex); @@ -795,13 +745,11 @@ protected: UDPSocket m_udpSocket; // Command queue: user -> SendThread - MutexedQueue m_command_queue; + MutexedQueue m_command_queue; bool Receive(NetworkPacket *pkt, u32 timeout); - // Warning: creates an unnecessary copy, prefer putEvent(T&&) if possible - void putEvent(const ConnectionEvent &e); - void putEvent(ConnectionEvent &&e); + void putEvent(ConnectionEventPtr e); void TriggerSend(); @@ -811,7 +759,7 @@ protected: } private: // Event queue: ReceiveThread -> user - MutexedQueue m_event_queue; + MutexedQueue m_event_queue; session_t m_peer_id = 0; u32 m_protocol_id; @@ -823,7 +771,7 @@ private: std::unique_ptr m_sendThread; std::unique_ptr m_receiveThread; - std::mutex m_info_mutex; + mutable std::mutex m_info_mutex; // Backwards compatibility PeerHandler *m_bc_peerhandler; diff --git a/src/network/connectionthreads.cpp b/src/network/connectionthreads.cpp index a306ced9b..dca065ae1 100644 --- a/src/network/connectionthreads.cpp +++ b/src/network/connectionthreads.cpp @@ -50,11 +50,11 @@ std::mutex log_conthread_mutex; #define WINDOW_SIZE 5 -static session_t readPeerId(u8 *packetdata) +static session_t readPeerId(const u8 *packetdata) { return readU16(&packetdata[4]); } -static u8 readChannel(u8 *packetdata) +static u8 readChannel(const u8 *packetdata) { return readU8(&packetdata[6]); } @@ -114,9 +114,9 @@ void *ConnectionSendThread::run() } /* translate commands to packets */ - ConnectionCommand c = m_connection->m_command_queue.pop_frontNoEx(0); - while (c.type != CONNCMD_NONE) { - if (c.reliable) + auto c = m_connection->m_command_queue.pop_frontNoEx(0); + while (c && c->type != CONNCMD_NONE) { + if (c->reliable) processReliableCommand(c); else processNonReliableCommand(c); @@ -227,21 +227,21 @@ void ConnectionSendThread::runTimeouts(float dtime) m_iteration_packets_avaialble -= timed_outs.size(); for (const auto &k : timed_outs) { - u8 channelnum = readChannel(*k.data); - u16 seqnum = readU16(&(k.data[BASE_HEADER_SIZE + 1])); + u8 channelnum = readChannel(k->data); + u16 seqnum = k->getSeqnum(); - channel.UpdateBytesLost(k.data.getSize()); + channel.UpdateBytesLost(k->size()); LOG(derr_con << m_connection->getDesc() << "RE-SENDING timed-out RELIABLE to " - << k.address.serializeString() + << k->address.serializeString() << "(t/o=" << resend_timeout << "): " - << "count=" << k.resend_count + << "count=" << k->resend_count << ", channel=" << ((int) channelnum & 0xff) << ", seqnum=" << seqnum << std::endl); - rawSend(k); + rawSend(k.get()); // do not handle rtt here as we can't decide if this packet was // lost or really takes more time to transmit @@ -274,25 +274,24 @@ void ConnectionSendThread::runTimeouts(float dtime) } } -void ConnectionSendThread::rawSend(const BufferedPacket &packet) +void ConnectionSendThread::rawSend(const BufferedPacket *p) { try { - m_connection->m_udpSocket.Send(packet.address, *packet.data, - packet.data.getSize()); + m_connection->m_udpSocket.Send(p->address, p->data, p->size()); LOG(dout_con << m_connection->getDesc() - << " rawSend: " << packet.data.getSize() + << " rawSend: " << p->size() << " bytes sent" << std::endl); } catch (SendFailedException &e) { LOG(derr_con << m_connection->getDesc() << "Connection::rawSend(): SendFailedException: " - << packet.address.serializeString() << std::endl); + << p->address.serializeString() << std::endl); } } -void ConnectionSendThread::sendAsPacketReliable(BufferedPacket &p, Channel *channel) +void ConnectionSendThread::sendAsPacketReliable(BufferedPacketPtr &p, Channel *channel) { try { - p.absolute_send_time = porting::getTimeMs(); + p->absolute_send_time = porting::getTimeMs(); // Buffer the packet channel->outgoing_reliables_sent.insert(p, (channel->readOutgoingSequenceNumber() - MAX_RELIABLE_WINDOW_SIZE) @@ -305,7 +304,7 @@ void ConnectionSendThread::sendAsPacketReliable(BufferedPacket &p, Channel *chan } // Send the packet - rawSend(p); + rawSend(p.get()); } bool ConnectionSendThread::rawSendAsPacket(session_t peer_id, u8 channelnum, @@ -321,11 +320,10 @@ bool ConnectionSendThread::rawSendAsPacket(session_t peer_id, u8 channelnum, Channel *channel = &(dynamic_cast(&peer)->channels[channelnum]); if (reliable) { - bool have_sequence_number_for_raw_packet = true; - u16 seqnum = - channel->getOutgoingSequenceNumber(have_sequence_number_for_raw_packet); + bool have_seqnum = false; + const u16 seqnum = channel->getOutgoingSequenceNumber(have_seqnum); - if (!have_sequence_number_for_raw_packet) + if (!have_seqnum) return false; SharedBuffer reliable = makeReliablePacket(data, seqnum); @@ -333,13 +331,12 @@ bool ConnectionSendThread::rawSendAsPacket(session_t peer_id, u8 channelnum, peer->getAddress(MTP_MINETEST_RELIABLE_UDP, peer_address); // Add base headers and make a packet - BufferedPacket p = con::makePacket(peer_address, reliable, + BufferedPacketPtr p = con::makePacket(peer_address, reliable, m_connection->GetProtocolID(), m_connection->GetPeerID(), channelnum); // first check if our send window is already maxed out - if (channel->outgoing_reliables_sent.size() - < channel->getWindowSize()) { + if (channel->outgoing_reliables_sent.size() < channel->getWindowSize()) { LOG(dout_con << m_connection->getDesc() << " INFO: sending a reliable packet to peer_id " << peer_id << " channel: " << (u32)channelnum @@ -352,19 +349,19 @@ bool ConnectionSendThread::rawSendAsPacket(session_t peer_id, u8 channelnum, << " INFO: queueing reliable packet for peer_id: " << peer_id << " channel: " << (u32)channelnum << " seqnum: " << seqnum << std::endl); - channel->queued_reliables.push(std::move(p)); + channel->queued_reliables.push(p); return false; } Address peer_address; if (peer->getAddress(MTP_UDP, peer_address)) { // Add base headers and make a packet - BufferedPacket p = con::makePacket(peer_address, data, + BufferedPacketPtr p = con::makePacket(peer_address, data, m_connection->GetProtocolID(), m_connection->GetPeerID(), channelnum); // Send the packet - rawSend(p); + rawSend(p.get()); return true; } @@ -374,11 +371,11 @@ bool ConnectionSendThread::rawSendAsPacket(session_t peer_id, u8 channelnum, return false; } -void ConnectionSendThread::processReliableCommand(ConnectionCommand &c) +void ConnectionSendThread::processReliableCommand(ConnectionCommandPtr &c) { - assert(c.reliable); // Pre-condition + assert(c->reliable); // Pre-condition - switch (c.type) { + switch (c->type) { case CONNCMD_NONE: LOG(dout_con << m_connection->getDesc() << "UDP processing reliable CONNCMD_NONE" << std::endl); @@ -399,7 +396,7 @@ void ConnectionSendThread::processReliableCommand(ConnectionCommand &c) case CONCMD_CREATE_PEER: LOG(dout_con << m_connection->getDesc() << "UDP processing reliable CONCMD_CREATE_PEER" << std::endl); - if (!rawSendAsPacket(c.peer_id, c.channelnum, c.data, c.reliable)) { + if (!rawSendAsPacket(c->peer_id, c->channelnum, c->data, c->reliable)) { /* put to queue if we couldn't send it immediately */ sendReliable(c); } @@ -412,13 +409,14 @@ void ConnectionSendThread::processReliableCommand(ConnectionCommand &c) FATAL_ERROR("Got command that shouldn't be reliable as reliable command"); default: LOG(dout_con << m_connection->getDesc() - << " Invalid reliable command type: " << c.type << std::endl); + << " Invalid reliable command type: " << c->type << std::endl); } } -void ConnectionSendThread::processNonReliableCommand(ConnectionCommand &c) +void ConnectionSendThread::processNonReliableCommand(ConnectionCommandPtr &c_ptr) { + const ConnectionCommand &c = *c_ptr; assert(!c.reliable); // Pre-condition switch (c.type) { @@ -480,9 +478,7 @@ void ConnectionSendThread::serve(Address bind_address) } catch (SocketException &e) { // Create event - ConnectionEvent ce; - ce.bindFailed(); - m_connection->putEvent(ce); + m_connection->putEvent(ConnectionEvent::bindFailed()); } } @@ -495,9 +491,7 @@ void ConnectionSendThread::connect(Address address) UDPPeer *peer = m_connection->createServerPeer(address); // Create event - ConnectionEvent e; - e.peerAdded(peer->id, peer->address); - m_connection->putEvent(e); + m_connection->putEvent(ConnectionEvent::peerAdded(peer->id, peer->address)); Address bind_addr; @@ -586,9 +580,9 @@ void ConnectionSendThread::send(session_t peer_id, u8 channelnum, } } -void ConnectionSendThread::sendReliable(ConnectionCommand &c) +void ConnectionSendThread::sendReliable(ConnectionCommandPtr &c) { - PeerHelper peer = m_connection->getPeerNoEx(c.peer_id); + PeerHelper peer = m_connection->getPeerNoEx(c->peer_id); if (!peer) return; @@ -604,7 +598,7 @@ void ConnectionSendThread::sendToAll(u8 channelnum, const SharedBuffer &data } } -void ConnectionSendThread::sendToAllReliable(ConnectionCommand &c) +void ConnectionSendThread::sendToAllReliable(ConnectionCommandPtr &c) { std::vector peerids = m_connection->getPeerIDs(); @@ -663,8 +657,12 @@ void ConnectionSendThread::sendPackets(float dtime) // first send queued reliable packets for all peers (if possible) for (unsigned int i = 0; i < CHANNEL_COUNT; i++) { Channel &channel = udpPeer->channels[i]; - u16 next_to_ack = 0; + // Reduces logging verbosity + if (channel.queued_reliables.empty()) + continue; + + u16 next_to_ack = 0; channel.outgoing_reliables_sent.getFirstSeqnum(next_to_ack); u16 next_to_receive = 0; channel.incoming_reliables.getFirstSeqnum(next_to_receive); @@ -694,13 +692,13 @@ void ConnectionSendThread::sendPackets(float dtime) channel.outgoing_reliables_sent.size() < channel.getWindowSize() && peer->m_increment_packets_remaining > 0) { - BufferedPacket p = std::move(channel.queued_reliables.front()); + BufferedPacketPtr p = channel.queued_reliables.front(); channel.queued_reliables.pop(); LOG(dout_con << m_connection->getDesc() << " INFO: sending a queued reliable packet " << " channel: " << i - << ", seqnum: " << readU16(&p.data[BASE_HEADER_SIZE + 1]) + << ", seqnum: " << p->getSeqnum() << std::endl); sendAsPacketReliable(p, &channel); @@ -881,17 +879,14 @@ void ConnectionReceiveThread::receive(SharedBuffer &packetdata, try { // First, see if there any buffered packets we can process now if (packet_queued) { - bool data_left = true; session_t peer_id; SharedBuffer resultdata; - while (data_left) { + while (true) { try { - data_left = getFromBuffers(peer_id, resultdata); - if (data_left) { - ConnectionEvent e; - e.dataReceived(peer_id, resultdata); - m_connection->putEvent(std::move(e)); - } + if (!getFromBuffers(peer_id, resultdata)) + break; + + m_connection->putEvent(ConnectionEvent::dataReceived(peer_id, resultdata)); } catch (ProcessedSilentlyException &e) { /* try reading again */ @@ -908,7 +903,7 @@ void ConnectionReceiveThread::receive(SharedBuffer &packetdata, return; if ((received_size < BASE_HEADER_SIZE) || - (readU32(&packetdata[0]) != m_connection->GetProtocolID())) { + (readU32(&packetdata[0]) != m_connection->GetProtocolID())) { LOG(derr_con << m_connection->getDesc() << "Receive(): Invalid incoming packet, " << "size: " << received_size @@ -999,9 +994,7 @@ void ConnectionReceiveThread::receive(SharedBuffer &packetdata, << ", channel: " << (u32)channelnum << ", returned " << resultdata.getSize() << " bytes" << std::endl); - ConnectionEvent e; - e.dataReceived(peer_id, resultdata); - m_connection->putEvent(std::move(e)); + m_connection->putEvent(ConnectionEvent::dataReceived(peer_id, resultdata)); } catch (ProcessedSilentlyException &e) { } @@ -1026,10 +1019,11 @@ bool ConnectionReceiveThread::getFromBuffers(session_t &peer_id, SharedBuffer(&peer) == 0) + UDPPeer *p = dynamic_cast(&peer); + if (!p) continue; - for (Channel &channel : (dynamic_cast(&peer))->channels) { + for (Channel &channel : p->channels) { if (checkIncomingBuffers(&channel, peer_id, dst)) { return true; } @@ -1042,32 +1036,34 @@ bool ConnectionReceiveThread::checkIncomingBuffers(Channel *channel, session_t &peer_id, SharedBuffer &dst) { u16 firstseqnum = 0; - if (channel->incoming_reliables.getFirstSeqnum(firstseqnum)) { - if (firstseqnum == channel->readNextIncomingSeqNum()) { - BufferedPacket p = channel->incoming_reliables.popFirst(); - peer_id = readPeerId(*p.data); - u8 channelnum = readChannel(*p.data); - u16 seqnum = readU16(&p.data[BASE_HEADER_SIZE + 1]); + if (!channel->incoming_reliables.getFirstSeqnum(firstseqnum)) + return false; - LOG(dout_con << m_connection->getDesc() - << "UNBUFFERING TYPE_RELIABLE" - << " seqnum=" << seqnum - << " peer_id=" << peer_id - << " channel=" << ((int) channelnum & 0xff) - << std::endl); + if (firstseqnum != channel->readNextIncomingSeqNum()) + return false; - channel->incNextIncomingSeqNum(); + BufferedPacketPtr p = channel->incoming_reliables.popFirst(); - u32 headers_size = BASE_HEADER_SIZE + RELIABLE_HEADER_SIZE; - // Get out the inside packet and re-process it - SharedBuffer payload(p.data.getSize() - headers_size); - memcpy(*payload, &p.data[headers_size], payload.getSize()); + peer_id = readPeerId(p->data); // Carried over to caller function + u8 channelnum = readChannel(p->data); + u16 seqnum = p->getSeqnum(); - dst = processPacket(channel, payload, peer_id, channelnum, true); - return true; - } - } - return false; + LOG(dout_con << m_connection->getDesc() + << "UNBUFFERING TYPE_RELIABLE" + << " seqnum=" << seqnum + << " peer_id=" << peer_id + << " channel=" << ((int) channelnum & 0xff) + << std::endl); + + channel->incNextIncomingSeqNum(); + + u32 headers_size = BASE_HEADER_SIZE + RELIABLE_HEADER_SIZE; + // Get out the inside packet and re-process it + SharedBuffer payload(p->size() - headers_size); + memcpy(*payload, &p->data[headers_size], payload.getSize()); + + dst = processPacket(channel, payload, peer_id, channelnum, true); + return true; } SharedBuffer ConnectionReceiveThread::processPacket(Channel *channel, @@ -1115,7 +1111,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan if (packetdata.getSize() < 2) throw InvalidIncomingDataException("packetdata.getSize() < 2"); - u8 controltype = readU8(&(packetdata[1])); + ControlType controltype = (ControlType)readU8(&(packetdata[1])); if (controltype == CONTROLTYPE_ACK) { assert(channel != NULL); @@ -1131,7 +1127,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan << seqnum << " ]" << std::endl); try { - BufferedPacket p = channel->outgoing_reliables_sent.popSeqnum(seqnum); + BufferedPacketPtr p = channel->outgoing_reliables_sent.popSeqnum(seqnum); // the rtt calculation will be a bit off for re-sent packets but that's okay { @@ -1140,14 +1136,14 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan // a overflow is quite unlikely but as it'd result in major // rtt miscalculation we handle it here - if (current_time > p.absolute_send_time) { - float rtt = (current_time - p.absolute_send_time) / 1000.0; + if (current_time > p->absolute_send_time) { + float rtt = (current_time - p->absolute_send_time) / 1000.0; // Let peer calculate stuff according to it // (avg_rtt and resend_timeout) dynamic_cast(peer)->reportRTT(rtt); - } else if (p.totaltime > 0) { - float rtt = p.totaltime; + } else if (p->totaltime > 0) { + float rtt = p->totaltime; // Let peer calculate stuff according to it // (avg_rtt and resend_timeout) @@ -1156,7 +1152,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan } // put bytes for max bandwidth calculation - channel->UpdateBytesSent(p.data.getSize(), 1); + channel->UpdateBytesSent(p->size(), 1); if (channel->outgoing_reliables_sent.size() == 0) m_connection->TriggerSend(); } catch (NotFoundException &e) { @@ -1204,7 +1200,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Control(Channel *chan throw ProcessedSilentlyException("Got a DISCO"); } else { LOG(derr_con << m_connection->getDesc() - << "INVALID TYPE_CONTROL: invalid controltype=" + << "INVALID controltype=" << ((int) controltype & 0xff) << std::endl); throw InvalidIncomingDataException("Invalid control type"); } @@ -1232,7 +1228,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Split(Channel *channe if (peer->getAddress(MTP_UDP, peer_address)) { // We have to create a packet again for buffering // This isn't actually too bad an idea. - BufferedPacket packet = makePacket(peer_address, + BufferedPacketPtr packet = con::makePacket(peer_address, packetdata, m_connection->GetProtocolID(), peer->id, @@ -1267,7 +1263,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Reliable(Channel *cha if (packetdata.getSize() < RELIABLE_HEADER_SIZE) throw InvalidIncomingDataException("packetdata.getSize() < RELIABLE_HEADER_SIZE"); - u16 seqnum = readU16(&packetdata[1]); + const u16 seqnum = readU16(&packetdata[1]); bool is_future_packet = false; bool is_old_packet = false; @@ -1311,7 +1307,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Reliable(Channel *cha // This one comes later, buffer it. // Actually we have to make a packet to buffer one. // Well, we have all the ingredients, so just do it. - BufferedPacket packet = con::makePacket( + BufferedPacketPtr packet = con::makePacket( peer_address, packetdata, m_connection->GetProtocolID(), @@ -1328,9 +1324,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Reliable(Channel *cha throw ProcessedQueued("Buffered future reliable packet"); } catch (AlreadyExistsException &e) { } catch (IncomingDataCorruption &e) { - ConnectionCommand discon; - discon.disconnect_peer(peer->id); - m_connection->putCommand(discon); + m_connection->putCommand(ConnectionCommand::disconnect_peer(peer->id)); LOG(derr_con << m_connection->getDesc() << "INVALID, TYPE_RELIABLE peer_id: " << peer->id @@ -1351,7 +1345,7 @@ SharedBuffer ConnectionReceiveThread::handlePacketType_Reliable(Channel *cha u16 queued_seqnum = 0; if (channel->incoming_reliables.getFirstSeqnum(queued_seqnum)) { if (queued_seqnum == seqnum) { - BufferedPacket queued_packet = channel->incoming_reliables.popFirst(); + BufferedPacketPtr queued_packet = channel->incoming_reliables.popFirst(); /** TODO find a way to verify the new against the old packet */ } } diff --git a/src/network/connectionthreads.h b/src/network/connectionthreads.h index 612407c3b..c2e2dae12 100644 --- a/src/network/connectionthreads.h +++ b/src/network/connectionthreads.h @@ -29,6 +29,25 @@ namespace con class Connection; +struct OutgoingPacket +{ + session_t peer_id; + u8 channelnum; + SharedBuffer data; + bool reliable; + bool ack; + + OutgoingPacket(session_t peer_id_, u8 channelnum_, const SharedBuffer &data_, + bool reliable_,bool ack_=false): + peer_id(peer_id_), + channelnum(channelnum_), + data(data_), + reliable(reliable_), + ack(ack_) + { + } +}; + class ConnectionSendThread : public Thread { @@ -51,27 +70,27 @@ public: private: void runTimeouts(float dtime); - void rawSend(const BufferedPacket &packet); + void rawSend(const BufferedPacket *p); bool rawSendAsPacket(session_t peer_id, u8 channelnum, const SharedBuffer &data, bool reliable); - void processReliableCommand(ConnectionCommand &c); - void processNonReliableCommand(ConnectionCommand &c); + void processReliableCommand(ConnectionCommandPtr &c); + void processNonReliableCommand(ConnectionCommandPtr &c); void serve(Address bind_address); void connect(Address address); void disconnect(); void disconnect_peer(session_t peer_id); void send(session_t peer_id, u8 channelnum, const SharedBuffer &data); - void sendReliable(ConnectionCommand &c); + void sendReliable(ConnectionCommandPtr &c); void sendToAll(u8 channelnum, const SharedBuffer &data); - void sendToAllReliable(ConnectionCommand &c); + void sendToAllReliable(ConnectionCommandPtr &c); void sendPackets(float dtime); void sendAsPacket(session_t peer_id, u8 channelnum, const SharedBuffer &data, bool ack = false); - void sendAsPacketReliable(BufferedPacket &p, Channel *channel); + void sendAsPacketReliable(BufferedPacketPtr &p, Channel *channel); bool packetsQueued(); diff --git a/src/unittest/test_connection.cpp b/src/unittest/test_connection.cpp index 23b7e9105..04fea90d6 100644 --- a/src/unittest/test_connection.cpp +++ b/src/unittest/test_connection.cpp @@ -124,7 +124,7 @@ void TestConnection::testHelpers() Address a(127,0,0,1, 10); const u16 seqnum = 34352; - con::BufferedPacket p1 = con::makePacket(a, data1, + con::BufferedPacketPtr p1 = con::makePacket(a, data1, proto_id, peer_id, channel); /* We should now have a packet with this data: @@ -135,10 +135,10 @@ void TestConnection::testHelpers() Data: [7] u8 data1[0] */ - UASSERT(readU32(&p1.data[0]) == proto_id); - UASSERT(readU16(&p1.data[4]) == peer_id); - UASSERT(readU8(&p1.data[6]) == channel); - UASSERT(readU8(&p1.data[7]) == data1[0]); + UASSERT(readU32(&p1->data[0]) == proto_id); + UASSERT(readU16(&p1->data[4]) == peer_id); + UASSERT(readU8(&p1->data[6]) == channel); + UASSERT(readU8(&p1->data[7]) == data1[0]); //infostream<<"initial data1[0]="<<((u32)data1[0]&0xff)< +#include // std::shared_ptr + + +template class ConstSharedPtr { +public: + ConstSharedPtr(T *ptr) : ptr(ptr) {} + ConstSharedPtr(const std::shared_ptr &ptr) : ptr(ptr) {} + + const T* get() const noexcept { return ptr.get(); } + const T& operator*() const noexcept { return *ptr.get(); } + const T* operator->() const noexcept { return ptr.get(); } + +private: + std::shared_ptr ptr; +}; template class Buffer @@ -40,17 +55,11 @@ public: else data = NULL; } - Buffer(const Buffer &buffer) - { - m_size = buffer.m_size; - if(m_size != 0) - { - data = new T[buffer.m_size]; - memcpy(data, buffer.data, buffer.m_size); - } - else - data = NULL; - } + + // Disable class copy + Buffer(const Buffer &) = delete; + Buffer &operator=(const Buffer &) = delete; + Buffer(Buffer &&buffer) { m_size = buffer.m_size; @@ -81,21 +90,6 @@ public: drop(); } - Buffer& operator=(const Buffer &buffer) - { - if(this == &buffer) - return *this; - drop(); - m_size = buffer.m_size; - if(m_size != 0) - { - data = new T[buffer.m_size]; - memcpy(data, buffer.data, buffer.m_size); - } - else - data = NULL; - return *this; - } Buffer& operator=(Buffer &&buffer) { if(this == &buffer) @@ -113,6 +107,18 @@ public: return *this; } + void copyTo(Buffer &buffer) const + { + buffer.drop(); + buffer.m_size = m_size; + if (m_size != 0) { + buffer.data = new T[m_size]; + memcpy(buffer.data, data, m_size); + } else { + buffer.data = nullptr; + } + } + T & operator[](unsigned int i) const { return data[i]; -- cgit v1.2.3 From 80c3c7e642749f9316a3eee2c235df3ce8be1666 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 1 Dec 2021 19:22:46 +0000 Subject: Improve error message if using "/help --" (#11796) --- builtin/common/chatcommands.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/builtin/common/chatcommands.lua b/builtin/common/chatcommands.lua index 21417e42b..7c3da0601 100644 --- a/builtin/common/chatcommands.lua +++ b/builtin/common/chatcommands.lua @@ -7,7 +7,9 @@ local S = core.get_translator("__builtin") core.registered_chatcommands = {} -- Interpret the parameters of a command, separating options and arguments. --- Input: parameters of a command +-- Input: command, param +-- command: name of command +-- param: parameters of command -- Returns: opts, args -- opts is a string of option letters, or false on error -- args is an array with the non-option arguments in order, or an error message @@ -19,14 +21,14 @@ core.registered_chatcommands = {} -- "cdg", {"a", "b", "e", "f"} -- Negative numbers are taken as arguments. Long options (--option) are -- currently rejected as reserved. -local function getopts(param) +local function getopts(command, param) local opts = "" local args = {} for match in param:gmatch("%S+") do if match:byte(1) == 45 then -- 45 = '-' local second = match:byte(2) if second == 45 then - return false, S("Flags beginning with -- are reserved") + return false, S("Invalid parameters (see /help @1).", command) elseif second and (second < 48 or second > 57) then -- 48 = '0', 57 = '9' opts = opts .. match:sub(2) else @@ -80,7 +82,7 @@ local function format_help_line(cmd, def) end local function do_help_cmd(name, param) - local opts, args = getopts(param) + local opts, args = getopts("help", param) if not opts then return false, args end -- cgit v1.2.3 From 7a043b3ebbbf250890f39a9afecebba1cc9826a6 Mon Sep 17 00:00:00 2001 From: Richard Liu Date: Sun, 5 Dec 2021 07:34:40 -0600 Subject: Fix wireshark packet dissector wrong coordinates (#11826) --- util/wireshark/minetest.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/wireshark/minetest.lua b/util/wireshark/minetest.lua index d954c7597..40e1956f3 100644 --- a/util/wireshark/minetest.lua +++ b/util/wireshark/minetest.lua @@ -422,8 +422,8 @@ do t:add(f_pointed_under_y, buffer(13,2)) t:add(f_pointed_under_z, buffer(15,2)) t:add(f_pointed_above_x, buffer(17,2)) - t:add(f_pointed_above_x, buffer(19,2)) - t:add(f_pointed_above_x, buffer(21,2)) + t:add(f_pointed_above_y, buffer(19,2)) + t:add(f_pointed_above_z, buffer(21,2)) elseif ptype == 2 then -- Object t:add(f_pointed_object_id, buffer(11,2)) end -- cgit v1.2.3 From ff934d538c00518476c31f5df6ebc4be5ca79591 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 5 Dec 2021 14:40:30 +0100 Subject: Fix various code & correctness issues (#11815) --- CMakeLists.txt | 2 +- src/client/content_cao.cpp | 2 +- src/client/game.cpp | 2 +- src/gettext.h | 3 +-- src/server.cpp | 12 +++++------- src/settings.cpp | 2 +- src/unittest/test_gettext.cpp | 36 ++++++++++++++++-------------------- src/unittest/test_utilities.cpp | 8 ++++---- 8 files changed, 30 insertions(+), 37 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ba99bc21..ea212bede 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ set(DEVELOPMENT_BUILD TRUE) set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}") if(VERSION_EXTRA) - set(VERSION_STRING ${VERSION_STRING}-${VERSION_EXTRA}) + set(VERSION_STRING "${VERSION_STRING}-${VERSION_EXTRA}") elseif(DEVELOPMENT_BUILD) set(VERSION_STRING "${VERSION_STRING}-dev") endif() diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 24a9e7921..a80a3ce4e 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -850,7 +850,7 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr) logOnce(oss, warningstream); video::ITexture *last = m_animated_meshnode->getMaterial(0).TextureLayer[0].Texture; - for (s32 i = 1; i < mat_count; i++) { + for (u32 i = 1; i < mat_count; i++) { auto &layer = m_animated_meshnode->getMaterial(i).TextureLayer[0]; if (!layer.Texture) layer.Texture = last; diff --git a/src/client/game.cpp b/src/client/game.cpp index fb993d92f..54028fd1d 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1383,7 +1383,7 @@ bool Game::createClient(const GameStartData &start_data) str += L" ["; str += text; str += L"]"; - delete text; + delete[] text; } str += L" ["; str += driver->getName(); diff --git a/src/gettext.h b/src/gettext.h index 67fd9244f..6225fef93 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -48,8 +48,7 @@ void init_gettext(const char *path, const std::string &configured_language, extern wchar_t *utf8_to_wide_c(const char *str); -// You must free the returned string! -// The returned string is allocated using new +// The returned string must be freed using delete[] inline const wchar_t *wgettext(const char *str) { // We must check here that is not an empty string to avoid trying to translate it diff --git a/src/server.cpp b/src/server.cpp index 5022221ee..c175cbcd2 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -517,9 +517,7 @@ void Server::stop() // Stop threads (set run=false first so both start stopping) m_thread->stop(); - //m_emergethread.setRun(false); m_thread->wait(); - //m_emergethread.stop(); infostream<<"Server: Threads stopped"<= 2.0) { - counter = 0.0; + counter -= dtime; + if (counter <= 0.0f) { + counter = 2.0f; m_emerge->startThreads(); } diff --git a/src/settings.cpp b/src/settings.cpp index 818d2bc41..cf7ec1b72 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -88,7 +88,7 @@ void SettingsHierarchy::onLayerCreated(int layer, Settings *obj) void SettingsHierarchy::onLayerRemoved(int layer) { - assert(layer >= 0 && layer < layers.size()); + assert(layer >= 0 && layer < (int)layers.size()); layers[layer] = nullptr; if (this == &g_hierarchy && layer == (int)SL_GLOBAL) g_settings = nullptr; diff --git a/src/unittest/test_gettext.cpp b/src/unittest/test_gettext.cpp index 98f73ec62..338a416d7 100644 --- a/src/unittest/test_gettext.cpp +++ b/src/unittest/test_gettext.cpp @@ -7,13 +7,12 @@ class TestGettext : public TestBase public: TestGettext() { TestManager::registerTestModule(this); - } + } const char *getName() { return "TestGettext"; } void runTests(IGameDef *gamedef); - void testSnfmtgettext(); void testFmtgettext(); }; @@ -24,24 +23,21 @@ void TestGettext::runTests(IGameDef *gamedef) TEST(testFmtgettext); } +// Make sure updatepo.sh does not pick up the strings +#define dummyname fmtgettext + void TestGettext::testFmtgettext() { - std::string buf = fmtgettext("Viewing range changed to %d", 12); - UASSERTEQ(std::string, buf, "Viewing range changed to 12"); - buf = fmtgettext( - "You are about to join this server with the name \"%s\" for the " - "first time.\n" - "If you proceed, a new account using your credentials will be " - "created on this server.\n" - "Please retype your password and click 'Register and Join' to " - "confirm account creation, or click 'Cancel' to abort." - , "A"); - UASSERTEQ(std::string, buf, - "You are about to join this server with the name \"A\" for the " - "first time.\n" - "If you proceed, a new account using your credentials will be " - "created on this server.\n" - "Please retype your password and click 'Register and Join' to " - "confirm account creation, or click 'Cancel' to abort." - ); + std::string buf = dummyname("sample text %d", 12); + UASSERTEQ(std::string, buf, "sample text 12"); + + std::string src, expect; + src = "You are about to join this server with the name \"%s\".\n"; + expect = "You are about to join this server with the name \"foo\".\n"; + for (int i = 0; i < 20; i++) { + src.append("loooong text"); + expect.append("loooong text"); + } + buf = dummyname(src.c_str(), "foo"); + UASSERTEQ(const std::string &, buf, expect); } diff --git a/src/unittest/test_utilities.cpp b/src/unittest/test_utilities.cpp index 039110d54..743fe4462 100644 --- a/src/unittest/test_utilities.cpp +++ b/src/unittest/test_utilities.cpp @@ -392,9 +392,9 @@ void TestUtilities::testIsPowerOfTwo() UASSERT(is_power_of_two(2) == true); UASSERT(is_power_of_two(3) == false); for (int exponent = 2; exponent <= 31; ++exponent) { - UASSERT(is_power_of_two((1 << exponent) - 1) == false); - UASSERT(is_power_of_two((1 << exponent)) == true); - UASSERT(is_power_of_two((1 << exponent) + 1) == false); + UASSERT(is_power_of_two((1U << exponent) - 1) == false); + UASSERT(is_power_of_two((1U << exponent)) == true); + UASSERT(is_power_of_two((1U << exponent) + 1) == false); } UASSERT(is_power_of_two(U32_MAX) == false); } @@ -629,4 +629,4 @@ void TestUtilities::testBase64() UASSERT(base64_is_valid("AAA=A") == false); UASSERT(base64_is_valid("AAAA=A") == false); UASSERT(base64_is_valid("AAAAA=A") == false); -} \ No newline at end of file +} -- cgit v1.2.3 From d9d219356aa31cd953303580ccde7f0e27dd0fe6 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 6 Dec 2021 00:04:33 +0100 Subject: Fix get_bone_position() on unset bones modifying their position closes #11840 --- src/server/unit_sao.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/server/unit_sao.cpp b/src/server/unit_sao.cpp index acbdd478a..9a49b0f43 100644 --- a/src/server/unit_sao.cpp +++ b/src/server/unit_sao.cpp @@ -84,8 +84,11 @@ void UnitSAO::setBonePosition(const std::string &bone, v3f position, v3f rotatio void UnitSAO::getBonePosition(const std::string &bone, v3f *position, v3f *rotation) { - *position = m_bone_position[bone].X; - *rotation = m_bone_position[bone].Y; + auto it = m_bone_position.find(bone); + if (it != m_bone_position.end()) { + *position = it->second.X; + *rotation = it->second.Y; + } } // clang-format off -- cgit v1.2.3 From a8c58d5cbba994849ea78e3eecefbefb70070bb7 Mon Sep 17 00:00:00 2001 From: Francisco Date: Fri, 10 Dec 2021 03:24:42 -0800 Subject: Add pauloue's ItemStack example to docs (#9853) --- doc/lua_api.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index aff739cfb..e26497555 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2181,6 +2181,21 @@ Example: meta:set_string("key", "value") print(dump(meta:to_table())) +Example manipulations of "description" and expected output behaviors: + + print(ItemStack("default:pick_steel"):get_description()) --> Steel Pickaxe + print(ItemStack("foobar"):get_description()) --> Unknown Item + + local stack = ItemStack("default:stone") + stack:get_meta():set_string("description", "Custom description\nAnother line") + print(stack:get_description()) --> Custom description\nAnother line + print(stack:get_short_description()) --> Custom description + + stack:get_meta():set_string("short_description", "Short") + print(stack:get_description()) --> Custom description\nAnother line + print(stack:get_short_description()) --> Short + + print(ItemStack("mod:item_with_no_desc"):get_description()) --> mod:item_with_no_desc -- cgit v1.2.3 From 1ab3eadd8785b4caceff5b79bd4476f648f4e563 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 2 Dec 2021 12:53:53 +0100 Subject: Update builtin locale --- builtin/locale/__builtin.de.tr | 14 +++++++++++--- builtin/locale/__builtin.it.tr | 10 +++++++--- builtin/locale/template.txt | 8 +++++--- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/builtin/locale/__builtin.de.tr b/builtin/locale/__builtin.de.tr index ee0b47a7e..0831e6559 100644 --- a/builtin/locale/__builtin.de.tr +++ b/builtin/locale/__builtin.de.tr @@ -187,12 +187,15 @@ You are already dead.=Sie sind schon tot. @1 is already dead.=@1 ist bereits tot. @1 has been killed.=@1 wurde getötet. Kill player or yourself=Einen Spieler oder Sie selbst töten +Invalid parameters (see /help @1).= +Too many arguments, try using just /help = Available commands: @1=Verfügbare Befehle: @1 Use '/help ' to get more information, or '/help all' to list everything.=„/help “ benutzen, um mehr Informationen zu erhalten, oder „/help all“, um alles aufzulisten. Available commands:=Verfügbare Befehle: Command not available: @1=Befehl nicht verfügbar: @1 -[all | privs | ]=[all | privs | ] -Get help for commands or list privileges=Hilfe für Befehle erhalten oder Privilegien auflisten +[all | privs | ] [-t]= +Get help for commands or list privileges (-t: output in chat)= +Available privileges:=Verfügbare Privilegien: Command=Befehl Parameters=Parameter For more information, click on any entry in the list.=Für mehr Informationen klicken Sie auf einen beliebigen Eintrag in der Liste. @@ -202,7 +205,6 @@ Available commands: (see also: /help )=Verfügbare Befehle: (siehe auch: /h Close=Schließen Privilege=Privileg Description=Beschreibung -Available privileges:=Verfügbare Privilegien: print [] | dump [] | save [ []] | reset=print [] | dump [] | save [ []] Handle the profiler and profiling data=Den Profiler und Profilingdaten verwalten Statistics written to action log.=Statistiken zum Aktionsprotokoll geschrieben. @@ -241,3 +243,9 @@ A total of @1 sample(s) were taken.=Es wurden insgesamt @1 Datenpunkt(e) aufgeze The output is limited to '@1'.=Die Ausgabe ist beschränkt auf „@1“. Saving of profile failed: @1=Speichern des Profils fehlgeschlagen: @1 Profile saved to @1=Profil abgespeichert nach @1 + + +##### not used anymore ##### + +[all | privs | ]=[all | privs | ] +Get help for commands or list privileges=Hilfe für Befehle erhalten oder Privilegien auflisten diff --git a/builtin/locale/__builtin.it.tr b/builtin/locale/__builtin.it.tr index 6e137db71..88866fdf3 100644 --- a/builtin/locale/__builtin.it.tr +++ b/builtin/locale/__builtin.it.tr @@ -187,12 +187,15 @@ You are already dead.=Sei già mortǝ. @1 is already dead.=@1 è già mortǝ. @1 has been killed.=@1 è stato uccisǝ. Kill player or yourself=Uccide un giocatore o te stessǝ +Invalid parameters (see /help @1).= +Too many arguments, try using just /help = Available commands: @1=Comandi disponibili: @1 Use '/help ' to get more information, or '/help all' to list everything.=Usa '/help ' per ottenere più informazioni, o '/help all' per elencare tutti i comandi. Available commands:=Comandi disponibili: Command not available: @1=Comando non disponibile: @1 -[all | privs | ]=[all | privs | ] -Get help for commands or list privileges=Richiama la finestra d'aiuto dei comandi o dei privilegi +[all | privs | ] [-t]= +Get help for commands or list privileges (-t: output in chat)= +Available privileges:=Privilegi disponibili: Command=Comando Parameters=Parametri For more information, click on any entry in the list.=Per più informazioni, clicca su una qualsiasi voce dell'elenco. @@ -202,7 +205,6 @@ Available commands: (see also: /help )=Comandi disponibili: (vedi anche /he Close=Chiudi Privilege=Privilegio Description=Descrizione -Available privileges:=Privilegi disponibili: print [] | dump [] | save [ []] | reset=print [] | dump [] | save [ []] | reset Handle the profiler and profiling data=Gestisce il profiler e i dati da esso elaborati Statistics written to action log.=Statistiche scritte nel log delle azioni. @@ -245,6 +247,8 @@ Profile saved to @1= ##### not used anymore ##### +[all | privs | ]=[all | privs | ] +Get help for commands or list privileges=Richiama la finestra d'aiuto dei comandi o dei privilegi Allows enabling various debug options that may affect gameplay=Permette di abilitare varie opzioni di debug che potrebbero influenzare l'esperienza di gioco [ | -1] [reconnect] []=[ | -1] [reconnect] [] Shutdown server (-1 cancels a delayed shutdown)=Arresta il server (-1 annulla un arresto programmato) diff --git a/builtin/locale/template.txt b/builtin/locale/template.txt index 7e40d0a2b..6c9caa270 100644 --- a/builtin/locale/template.txt +++ b/builtin/locale/template.txt @@ -187,12 +187,15 @@ You are already dead.= @1 is already dead.= @1 has been killed.= Kill player or yourself= +Invalid parameters (see /help @1).= +Too many arguments, try using just /help = Available commands: @1= Use '/help ' to get more information, or '/help all' to list everything.= Available commands:= Command not available: @1= -[all | privs | ]= -Get help for commands or list privileges= +[all | privs | ] [-t]= +Get help for commands or list privileges (-t: output in chat)= +Available privileges:= Command= Parameters= For more information, click on any entry in the list.= @@ -202,7 +205,6 @@ Available commands: (see also: /help )= Close= Privilege= Description= -Available privileges:= print [] | dump [] | save [ []] | reset= Handle the profiler and profiling data= Statistics written to action log.= -- cgit v1.2.3 From 76aa6103e39533d70f3b46e6df902dc6b4dd4104 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 2 Dec 2021 12:55:56 +0100 Subject: Update German locale translation --- builtin/locale/__builtin.de.tr | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/builtin/locale/__builtin.de.tr b/builtin/locale/__builtin.de.tr index 0831e6559..b5fea3609 100644 --- a/builtin/locale/__builtin.de.tr +++ b/builtin/locale/__builtin.de.tr @@ -187,14 +187,14 @@ You are already dead.=Sie sind schon tot. @1 is already dead.=@1 ist bereits tot. @1 has been killed.=@1 wurde getötet. Kill player or yourself=Einen Spieler oder Sie selbst töten -Invalid parameters (see /help @1).= -Too many arguments, try using just /help = +Invalid parameters (see /help @1).=Ungültige Parameter (siehe „/help @1“). +Too many arguments, try using just /help =Zu viele Argumente. Probieren Sie es mit „/help “ Available commands: @1=Verfügbare Befehle: @1 Use '/help ' to get more information, or '/help all' to list everything.=„/help “ benutzen, um mehr Informationen zu erhalten, oder „/help all“, um alles aufzulisten. Available commands:=Verfügbare Befehle: Command not available: @1=Befehl nicht verfügbar: @1 -[all | privs | ] [-t]= -Get help for commands or list privileges (-t: output in chat)= +[all | privs | ] [-t]=[all | privs | ] [-t] +Get help for commands or list privileges (-t: output in chat)=Hilfe für Befehle erhalten oder Privilegien auflisten (-t: Ausgabe im Chat) Available privileges:=Verfügbare Privilegien: Command=Befehl Parameters=Parameter @@ -243,9 +243,3 @@ A total of @1 sample(s) were taken.=Es wurden insgesamt @1 Datenpunkt(e) aufgeze The output is limited to '@1'.=Die Ausgabe ist beschränkt auf „@1“. Saving of profile failed: @1=Speichern des Profils fehlgeschlagen: @1 Profile saved to @1=Profil abgespeichert nach @1 - - -##### not used anymore ##### - -[all | privs | ]=[all | privs | ] -Get help for commands or list privileges=Hilfe für Befehle erhalten oder Privilegien auflisten -- cgit v1.2.3 From f71091bf52db9b9b58f2b08a7a99e69b2cf3376e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 3 Oct 2021 15:36:35 +0200 Subject: Remove creative/damage info in Esc/Pause menu --- src/client/game.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 54028fd1d..739409761 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -4283,16 +4283,18 @@ void Game::showPauseMenu() if (simple_singleplayer_mode || address.empty()) { static const std::string on = strgettext("On"); static const std::string off = strgettext("Off"); - const std::string &damage = g_settings->getBool("enable_damage") ? on : off; - const std::string &creative = g_settings->getBool("creative_mode") ? on : off; + // Note: Status of enable_damage and creative_mode settings is intentionally + // NOT shown here because the game might roll its own damage system and/or do + // a per-player Creative Mode, in which case writing it here would mislead. + bool damage = g_settings->getBool("enable_damage"); const std::string &announced = g_settings->getBool("server_announce") ? on : off; - os << strgettext("- Damage: ") << damage << "\n" - << strgettext("- Creative Mode: ") << creative << "\n"; if (!simple_singleplayer_mode) { - const std::string &pvp = g_settings->getBool("enable_pvp") ? on : off; - //~ PvP = Player versus Player - os << strgettext("- PvP: ") << pvp << "\n" - << strgettext("- Public: ") << announced << "\n"; + if (damage) { + const std::string &pvp = g_settings->getBool("enable_pvp") ? on : off; + //~ PvP = Player versus Player + os << strgettext("- PvP: ") << pvp << "\n"; + } + os << strgettext("- Public: ") << announced << "\n"; std::string server_name = g_settings->get("server_name"); str_formspec_escape(server_name); if (announced == on && !server_name.empty()) -- cgit v1.2.3 From 84efe279bb5fd5cce3f1d042b3aac412376fda1b Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 1 Dec 2021 21:11:32 +0100 Subject: Fix URL escaping in content store --- builtin/mainmenu/dlg_contentstore.lua | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index 58421ef75..9db67cf57 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -62,9 +62,19 @@ local REASON_UPDATE = "update" local REASON_DEPENDENCY = "dependency" +-- encodes for use as URL parameter or path component +local function urlencode(str) + return str:gsub("[^%a%d()._~-]", function(char) + return string.format("%%%02X", string.byte(char)) + end) +end +assert(urlencode("sample text?") == "sample%20text%3F") + + local function get_download_url(package, reason) local base_url = core.settings:get("contentdb_url") - local ret = base_url .. ("/packages/%s/%s/releases/%d/download/"):format(package.author, package.name, package.release) + local ret = base_url .. ("/packages/%s/releases/%d/download/"):format( + package.url_part, package.release) if reason then ret = ret .. "?reason=" .. reason end @@ -199,7 +209,7 @@ local function get_raw_dependencies(package) local url_fmt = "/api/packages/%s/dependencies/?only_hard=1&protocol_version=%s&engine_version=%s" local version = core.get_version() local base_url = core.settings:get("contentdb_url") - local url = base_url .. url_fmt:format(package.id, core.get_max_supp_proto(), version.string) + local url = base_url .. url_fmt:format(package.url_part, core.get_max_supp_proto(), urlencode(version.string)) local response = http.fetch_sync({ url = url }) if not response.succeeded then @@ -574,17 +584,16 @@ function store.load() local base_url = core.settings:get("contentdb_url") local url = base_url .. "/api/packages/?type=mod&type=game&type=txp&protocol_version=" .. - core.get_max_supp_proto() .. "&engine_version=" .. version.string + core.get_max_supp_proto() .. "&engine_version=" .. urlencode(version.string) for _, item in pairs(core.settings:get("contentdb_flag_blacklist"):split(",")) do item = item:trim() if item ~= "" then - url = url .. "&hide=" .. item + url = url .. "&hide=" .. urlencode(item) end end - local timeout = tonumber(core.settings:get("curl_file_download_timeout")) - local response = http.fetch_sync({ url = url, timeout = timeout }) + local response = http.fetch_sync({ url = url }) if not response.succeeded then return end @@ -594,12 +603,16 @@ function store.load() for _, package in pairs(store.packages_full) do local name_len = #package.name + -- This must match what store.update_paths() does! + package.id = package.author:lower() .. "/" if package.type == "game" and name_len > 5 and package.name:sub(name_len - 4) == "_game" then - package.id = package.author:lower() .. "/" .. package.name:sub(1, name_len - 5) + package.id = package.id .. package.name:sub(1, name_len - 5) else - package.id = package.author:lower() .. "/" .. package.name + package.id = package.id .. package.name end + package.url_part = urlencode(package.author) .. "/" .. urlencode(package.name) + if package.aliases then for _, alias in ipairs(package.aliases) do -- We currently don't support name changing @@ -1013,9 +1026,9 @@ function store.handle_submit(this, fields) end if fields["view_" .. i] then - local url = ("%s/packages/%s/%s?protocol_version=%d"):format( - core.settings:get("contentdb_url"), - package.author, package.name, core.get_max_supp_proto()) + local url = ("%s/packages/%s?protocol_version=%d"):format( + core.settings:get("contentdb_url"), package.url_part, + core.get_max_supp_proto()) core.open_url(url) return true end -- cgit v1.2.3 From fcf86ded8f8f5f0b0da9a59e4e9035838bf19d01 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Mon, 13 Dec 2021 17:43:29 +0100 Subject: Disable inventory if player's inventory formspec is blank (#11827) --- doc/lua_api.txt | 1 + src/client/game.cpp | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e26497555..ee7d63101 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6690,6 +6690,7 @@ object you are working with still exists. * `set_inventory_formspec(formspec)` * Redefine player's inventory form * Should usually be called in `on_joinplayer` + * If `formspec` is `""`, the player's inventory is disabled. * `get_inventory_formspec()`: returns a formspec string * `set_formspec_prepend(formspec)`: * the formspec string will be added to every formspec shown to the user, diff --git a/src/client/game.cpp b/src/client/game.cpp index 739409761..853a52ecf 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2060,15 +2060,22 @@ void Game::openInventory() InventoryLocation inventoryloc; inventoryloc.setCurrentPlayer(); - if (!client->modsLoaded() - || !client->getScript()->on_inventory_open(fs_src->m_client->getInventory(inventoryloc))) { - TextDest *txt_dst = new TextDestPlayerInventory(client); - auto *&formspec = m_game_ui->updateFormspec(""); - GUIFormSpecMenu::create(formspec, client, m_rendering_engine->get_gui_env(), - &input->joystick, fs_src, txt_dst, client->getFormspecPrepend(), sound); + if (client->modsLoaded() && client->getScript()->on_inventory_open(fs_src->m_client->getInventory(inventoryloc))) { + delete fs_src; + return; + } - formspec->setFormSpec(fs_src->getForm(), inventoryloc); + if (fs_src->getForm().empty()) { + delete fs_src; + return; } + + TextDest *txt_dst = new TextDestPlayerInventory(client); + auto *&formspec = m_game_ui->updateFormspec(""); + GUIFormSpecMenu::create(formspec, client, m_rendering_engine->get_gui_env(), + &input->joystick, fs_src, txt_dst, client->getFormspecPrepend(), sound); + + formspec->setFormSpec(fs_src->getForm(), inventoryloc); } -- cgit v1.2.3 From 378175497a6a5bb3492f268f71b8d55389e33fc4 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 15 Dec 2021 14:36:27 +0100 Subject: Fix some issues with buildbot scripts (#11860) --- util/buildbot/buildwin32.sh | 13 +++++++++++-- util/buildbot/buildwin64.sh | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index cdf6105d1..696297aed 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -31,9 +31,16 @@ fi toolchain_file=$dir/toolchain_${compiler/-gcc/}.cmake echo "Using $toolchain_file" -tmp=$(dirname "$(command -v $compiler)")/../i686-w64-mingw32/bin +# Try to find runtime DLLs in various paths (varies by distribution, sigh) +tmp=$(dirname "$(command -v $compiler)")/.. runtime_dlls= -[ -d "$tmp" ] && runtime_dlls=$(echo $tmp/lib{gcc_,stdc++-,winpthread-}*.dll | tr ' ' ';') +for name in lib{gcc_,stdc++-,winpthread-}'*'.dll; do + for dir in $tmp/i686-w64-mingw32/{bin,lib} $tmp/lib/gcc/i686-w64-mingw32/*; do + [ -d "$dir" ] || continue + file=$(echo $dir/$name) + [ -f "$file" ] && { runtime_dlls+="$file;"; break; } + done +done [ -z "$runtime_dlls" ] && echo "The compiler runtime DLLs could not be found, they might be missing in the final package." @@ -89,10 +96,12 @@ download "http://minetest.kitsunemimi.pw/openal_stripped.zip" '' unzip_nofolder if [ -n "$EXISTING_MINETEST_DIR" ]; then sourcedir="$( cd "$EXISTING_MINETEST_DIR" && pwd )" else + cd $builddir sourcedir=$PWD/$CORE_NAME [ -d $CORE_NAME ] && { pushd $CORE_NAME; git pull; popd; } || \ git clone -b $CORE_BRANCH $CORE_GIT $CORE_NAME if [ -z "$NO_MINETEST_GAME" ]; then + cd $sourcedir [ -d games/$GAME_NAME ] && { pushd games/$GAME_NAME; git pull; popd; } || \ git clone -b $GAME_BRANCH $GAME_GIT games/$GAME_NAME fi diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index f8ff3cfdd..20d0b3a6a 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -31,9 +31,16 @@ fi toolchain_file=$dir/toolchain_${compiler/-gcc/}.cmake echo "Using $toolchain_file" -tmp=$(dirname "$(command -v $compiler)")/../x86_64-w64-mingw32/bin +# Try to find runtime DLLs in various paths (varies by distribution, sigh) +tmp=$(dirname "$(command -v $compiler)")/.. runtime_dlls= -[ -d "$tmp" ] && runtime_dlls=$(echo $tmp/lib{gcc_,stdc++-,winpthread-}*.dll | tr ' ' ';') +for name in lib{gcc_,stdc++-,winpthread-}'*'.dll; do + for dir in $tmp/x86_64-w64-mingw32/{bin,lib} $tmp/lib/gcc/x86_64-w64-mingw32/*; do + [ -d "$dir" ] || continue + file=$(echo $dir/$name) + [ -f "$file" ] && { runtime_dlls+="$file;"; break; } + done +done [ -z "$runtime_dlls" ] && echo "The compiler runtime DLLs could not be found, they might be missing in the final package." @@ -89,10 +96,12 @@ download "http://minetest.kitsunemimi.pw/openal_stripped64.zip" 'openal_stripped if [ -n "$EXISTING_MINETEST_DIR" ]; then sourcedir="$( cd "$EXISTING_MINETEST_DIR" && pwd )" else + cd $builddir sourcedir=$PWD/$CORE_NAME [ -d $CORE_NAME ] && { pushd $CORE_NAME; git pull; popd; } || \ git clone -b $CORE_BRANCH $CORE_GIT $CORE_NAME if [ -z "$NO_MINETEST_GAME" ]; then + cd $sourcedir [ -d games/$GAME_NAME ] && { pushd games/$GAME_NAME; git pull; popd; } || \ git clone -b $GAME_BRANCH $GAME_GIT games/$GAME_NAME fi -- cgit v1.2.3 From 1c5ece8334d050379eb99fe2ead52f9f4db44249 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 15 Dec 2021 15:36:19 +0100 Subject: Fix eat sound not playing if eating last of stack --- builtin/game/item.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builtin/game/item.lua b/builtin/game/item.lua index c9ccb8801..5a83eafd2 100644 --- a/builtin/game/item.lua +++ b/builtin/game/item.lua @@ -499,11 +499,12 @@ function core.do_item_eat(hp_change, replace_with_item, itemstack, user, pointed return result end end + -- read definition before potentially emptying the stack + local def = itemstack:get_definition() if itemstack:take_item():is_empty() then return itemstack end - local def = itemstack:get_definition() if def and def.sound and def.sound.eat then core.sound_play(def.sound.eat, { pos = user:get_pos(), -- cgit v1.2.3 From 8472141b79c25092c90dea24aa873bd7ff792142 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 18 Dec 2021 20:36:43 +0100 Subject: Restructure devtest's unittests and run them in CI (#11859) --- .github/workflows/build.yml | 2 +- games/devtest/mods/unittests/crafting.lua | 18 +- games/devtest/mods/unittests/init.lua | 199 ++++++++++++++++++++++- games/devtest/mods/unittests/itemdescription.lua | 3 +- games/devtest/mods/unittests/misc.lua | 38 +++++ games/devtest/mods/unittests/player.lua | 46 +++--- games/devtest/mods/unittests/random.lua | 10 -- src/script/cpp_api/s_base.h | 9 + src/script/cpp_api/s_server.cpp | 6 +- src/script/cpp_api/s_server.h | 2 +- src/script/lua_api/l_server.cpp | 2 +- util/test_multiplayer.sh | 26 ++- 12 files changed, 289 insertions(+), 72 deletions(-) create mode 100644 games/devtest/mods/unittests/misc.lua delete mode 100644 games/devtest/mods/unittests/random.lua diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 417b4f650..af1de15ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,7 +93,7 @@ jobs: run: | ./bin/minetest --run-unittests - - name: Integration test + - name: Integration test + devtest run: | ./util/test_multiplayer.sh diff --git a/games/devtest/mods/unittests/crafting.lua b/games/devtest/mods/unittests/crafting.lua index eff13ce09..8c16d3efb 100644 --- a/games/devtest/mods/unittests/crafting.lua +++ b/games/devtest/mods/unittests/crafting.lua @@ -1,6 +1,7 @@ +dofile(core.get_modpath(core.get_current_modname()) .. "/crafting_prepare.lua") + -- Test minetest.clear_craft function local function test_clear_craft() - minetest.log("info", "[unittests] Testing minetest.clear_craft") -- Clearing by output minetest.register_craft({ output = "foo", @@ -22,11 +23,10 @@ local function test_clear_craft() minetest.clear_craft({recipe={{"foo", "bar"}}}) assert(minetest.get_all_craft_recipes("foo") == nil) end +unittests.register("test_clear_craft", test_clear_craft) -- Test minetest.get_craft_result function local function test_get_craft_result() - minetest.log("info", "[unittests] Testing minetest.get_craft_result") - -- normal local input = { method = "normal", @@ -107,14 +107,6 @@ local function test_get_craft_result() assert(output.item) minetest.log("info", "[unittests] unrepairable tool crafting output.item:to_table(): "..dump(output.item:to_table())) -- unrepairable tool must not yield any output - assert(output.item:get_name() == "") - + assert(output.item:is_empty()) end - -function unittests.test_crafting() - test_clear_craft() - test_get_craft_result() - minetest.log("action", "[unittests] Crafting tests passed!") - return true -end - +unittests.register("test_get_craft_result", test_get_craft_result) diff --git a/games/devtest/mods/unittests/init.lua b/games/devtest/mods/unittests/init.lua index 12c67f78b..0754d507f 100644 --- a/games/devtest/mods/unittests/init.lua +++ b/games/devtest/mods/unittests/init.lua @@ -1,18 +1,199 @@ unittests = {} +unittests.list = {} + +-- name: Name of the test +-- func: +-- for sync: function(player, pos), should error on failure +-- for async: function(callback, player, pos) +-- MUST call callback() or callback("error msg") in case of error once test is finished +-- this means you cannot use assert() in the test implementation +-- opts: { +-- player = false, -- Does test require a player? +-- map = false, -- Does test require map access? +-- async = false, -- Does the test run asynchronously? (read notes above!) +-- } +function unittests.register(name, func, opts) + local def = table.copy(opts or {}) + def.name = name + def.func = func + table.insert(unittests.list, def) +end + +function unittests.on_finished(all_passed) + -- free to override +end + +-- Calls invoke with a callback as argument +-- Suspends coroutine until that callback is called +-- Return values are passed through +local function await(invoke) + local co = coroutine.running() + assert(co) + local called_early = true + invoke(function(...) + if called_early == true then + called_early = {...} + else + coroutine.resume(co, ...) + end + end) + if called_early ~= true then + -- callback was already called before yielding + return unpack(called_early) + end + called_early = nil + return coroutine.yield() +end + +function unittests.run_one(idx, counters, out_callback, player, pos) + local def = unittests.list[idx] + if not def.player then + player = nil + elseif player == nil then + out_callback(false) + return false + end + if not def.map then + pos = nil + elseif pos == nil then + out_callback(false) + return false + end + + local tbegin = core.get_us_time() + local function done(status, err) + local tend = core.get_us_time() + local ms_taken = (tend - tbegin) / 1000 + + if not status then + core.log("error", err) + end + print(string.format("[%s] %s - %dms", + status and "PASS" or "FAIL", def.name, ms_taken)) + counters.time = counters.time + ms_taken + counters.total = counters.total + 1 + if status then + counters.passed = counters.passed + 1 + end + end + + if def.async then + core.log("info", "[unittest] running " .. def.name .. " (async)") + def.func(function(err) + done(err == nil, err) + out_callback(true) + end, player, pos) + else + core.log("info", "[unittest] running " .. def.name) + local status, err = pcall(def.func, player, pos) + done(status, err) + out_callback(true) + end + + return true +end + +local function wait_for_player(callback) + if #core.get_connected_players() > 0 then + return callback(core.get_connected_players()[1]) + end + local first = true + core.register_on_joinplayer(function(player) + if first then + callback(player) + first = false + end + end) +end + +local function wait_for_map(player, callback) + local check = function() + if core.get_node_or_nil(player:get_pos()) ~= nil then + callback() + else + minetest.after(0, check) + end + end + check() +end + +function unittests.run_all() + -- This runs in a coroutine so it uses await(). + local counters = { time = 0, total = 0, passed = 0 } + + -- Run standalone tests first + for idx = 1, #unittests.list do + local def = unittests.list[idx] + def.done = await(function(cb) + unittests.run_one(idx, counters, cb, nil, nil) + end) + end + + -- Wait for a player to join, run tests that require a player + local player = await(wait_for_player) + for idx = 1, #unittests.list do + local def = unittests.list[idx] + if not def.done then + def.done = await(function(cb) + unittests.run_one(idx, counters, cb, player, nil) + end) + end + end + + -- Wait for the world to generate/load, run tests that require map access + await(function(cb) + wait_for_map(player, cb) + end) + local pos = vector.round(player:get_pos()) + for idx = 1, #unittests.list do + local def = unittests.list[idx] + if not def.done then + def.done = await(function(cb) + unittests.run_one(idx, counters, cb, player, pos) + end) + end + end + + -- Print stats + assert(#unittests.list == counters.total) + print(string.rep("+", 80)) + print(string.format("Unit Test Results: %s", + counters.total == counters.passed and "PASSED" or "FAILED")) + print(string.format(" %d / %d failed tests.", + counters.total - counters.passed, counters.total)) + print(string.format(" Testing took %dms total.", counters.time)) + print(string.rep("+", 80)) + unittests.on_finished(counters.total == counters.passed) + return counters.total == counters.passed +end + +-------------- + local modpath = minetest.get_modpath("unittests") -dofile(modpath .. "/random.lua") +dofile(modpath .. "/misc.lua") dofile(modpath .. "/player.lua") -dofile(modpath .. "/crafting_prepare.lua") dofile(modpath .. "/crafting.lua") dofile(modpath .. "/itemdescription.lua") -if minetest.settings:get_bool("devtest_unittests_autostart", false) then - unittests.test_random() - unittests.test_crafting() - unittests.test_short_desc() - minetest.register_on_joinplayer(function(player) - unittests.test_player(player) +-------------- + +if core.settings:get_bool("devtest_unittests_autostart", false) then + core.after(0, function() + coroutine.wrap(unittests.run_all)() end) +else + minetest.register_chatcommand("unittests", { + privs = {basic_privs=true}, + description = "Runs devtest unittests (may modify player or map state)", + func = function(name, param) + unittests.on_finished = function(ok) + core.chat_send_player(name, + (ok and "All tests passed." or "There were test failures.") .. + " Check the console for detailed output.") + end + coroutine.wrap(unittests.run_all)() + return true, "" + end, + }) end - diff --git a/games/devtest/mods/unittests/itemdescription.lua b/games/devtest/mods/unittests/itemdescription.lua index d6ee6551a..dc62de7f0 100644 --- a/games/devtest/mods/unittests/itemdescription.lua +++ b/games/devtest/mods/unittests/itemdescription.lua @@ -25,7 +25,7 @@ minetest.register_chatcommand("item_description", { end }) -function unittests.test_short_desc() +local function test_short_desc() local function get_short_description(item) return ItemStack(item):get_short_description() end @@ -49,3 +49,4 @@ function unittests.test_short_desc() return true end +unittests.register("test_short_desc", test_short_desc) diff --git a/games/devtest/mods/unittests/misc.lua b/games/devtest/mods/unittests/misc.lua new file mode 100644 index 000000000..cf4f92cfa --- /dev/null +++ b/games/devtest/mods/unittests/misc.lua @@ -0,0 +1,38 @@ +local function test_random() + -- Try out PseudoRandom + local pseudo = PseudoRandom(13) + assert(pseudo:next() == 22290) + assert(pseudo:next() == 13854) +end +unittests.register("test_random", test_random) + +local function test_dynamic_media(cb, player) + if core.get_player_information(player:get_player_name()).protocol_version < 40 then + core.log("warning", "test_dynamic_media: Client too old, skipping test.") + return cb() + end + + -- Check that the client acknowledges media transfers + local path = core.get_worldpath() .. "/test_media.obj" + local f = io.open(path, "w") + f:write("# contents don't matter\n") + f:close() + + local call_ok = false + local ok = core.dynamic_add_media({ + filepath = path, + to_player = player:get_player_name(), + }, function(name) + if not call_ok then + cb("impossible condition") + end + cb() + end) + if not ok then + return cb("dynamic_add_media() returned error") + end + call_ok = true + + -- if the callback isn't called this test will just hang :shrug: +end +unittests.register("test_dynamic_media", test_dynamic_media, {async=true, player=true}) diff --git a/games/devtest/mods/unittests/player.lua b/games/devtest/mods/unittests/player.lua index 4a681310d..fa0557960 100644 --- a/games/devtest/mods/unittests/player.lua +++ b/games/devtest/mods/unittests/player.lua @@ -2,6 +2,21 @@ -- HP Change Reasons -- local expect = nil +minetest.register_on_player_hpchange(function(player, hp, reason) + if expect == nil then + return + end + + for key, value in pairs(reason) do + assert(expect[key] == value) + end + for key, value in pairs(expect) do + assert(reason[key] == value) + end + + expect = nil +end) + local function run_hpchangereason_tests(player) local old_hp = player:get_hp() @@ -20,7 +35,11 @@ local function run_hpchangereason_tests(player) player:set_hp(old_hp) end +unittests.register("test_hpchangereason", run_hpchangereason_tests, {player=true}) +-- +-- Player meta +-- local function run_player_meta_tests(player) local meta = player:get_meta() meta:set_string("foo", "bar") @@ -48,29 +67,4 @@ local function run_player_meta_tests(player) assert(meta:get_string("foo") == "") assert(meta:equals(meta2)) end - -function unittests.test_player(player) - minetest.register_on_player_hpchange(function(player, hp, reason) - if not expect then - return - end - - for key, value in pairs(reason) do - assert(expect[key] == value) - end - - for key, value in pairs(expect) do - assert(reason[key] == value) - end - - expect = nil - end) - - run_hpchangereason_tests(player) - run_player_meta_tests(player) - local msg = "Player tests passed for player '"..player:get_player_name().."'!" - minetest.chat_send_all(msg) - minetest.log("action", "[unittests] "..msg) - return true -end - +unittests.register("test_player_meta", run_player_meta_tests, {player=true}) diff --git a/games/devtest/mods/unittests/random.lua b/games/devtest/mods/unittests/random.lua deleted file mode 100644 index f94f0a88e..000000000 --- a/games/devtest/mods/unittests/random.lua +++ /dev/null @@ -1,10 +0,0 @@ -function unittests.test_random() - -- Try out PseudoRandom - minetest.log("action", "[unittests] Testing PseudoRandom ...") - local pseudo = PseudoRandom(13) - assert(pseudo:next() == 22290) - assert(pseudo:next() == 13854) - minetest.log("action", "[unittests] PseudoRandom test passed!") - return true -end - diff --git a/src/script/cpp_api/s_base.h b/src/script/cpp_api/s_base.h index 06df2abe3..244d81605 100644 --- a/src/script/cpp_api/s_base.h +++ b/src/script/cpp_api/s_base.h @@ -125,6 +125,15 @@ protected: friend class ModApiEnvMod; friend class LuaVoxelManip; + /* + Subtle edge case with coroutines: If for whatever reason you have a + method in a subclass that's called from existing lua_CFunction + (any of the l_*.cpp files) then make it static and take the lua_State* + as an argument. This is REQUIRED because getStack() will not return the + correct state if called inside coroutines. + + Also note that src/script/common/ is the better place for such helpers. + */ lua_State* getStack() { return m_luastack; } diff --git a/src/script/cpp_api/s_server.cpp b/src/script/cpp_api/s_server.cpp index 6ddb2630d..c255b0c71 100644 --- a/src/script/cpp_api/s_server.cpp +++ b/src/script/cpp_api/s_server.cpp @@ -198,10 +198,8 @@ std::string ScriptApiServer::formatChatMessage(const std::string &name, return ret; } -u32 ScriptApiServer::allocateDynamicMediaCallback(int f_idx) +u32 ScriptApiServer::allocateDynamicMediaCallback(lua_State *L, int f_idx) { - lua_State *L = getStack(); - if (f_idx < 0) f_idx = lua_gettop(L) + f_idx + 1; @@ -235,7 +233,7 @@ u32 ScriptApiServer::allocateDynamicMediaCallback(int f_idx) void ScriptApiServer::freeDynamicMediaCallback(u32 token) { - lua_State *L = getStack(); + SCRIPTAPI_PRECHECKHEADER verbosestream << "freeDynamicMediaCallback(" << token << ")" << std::endl; diff --git a/src/script/cpp_api/s_server.h b/src/script/cpp_api/s_server.h index c5c3d5596..58c8c0e48 100644 --- a/src/script/cpp_api/s_server.h +++ b/src/script/cpp_api/s_server.h @@ -51,7 +51,7 @@ public: const std::string &password); /* dynamic media handling */ - u32 allocateDynamicMediaCallback(int f_idx); + static u32 allocateDynamicMediaCallback(lua_State *L, int f_idx); void freeDynamicMediaCallback(u32 token); void on_dynamic_media_added(u32 token, const char *playername); diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 82a692070..88ab5e16b 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -496,7 +496,7 @@ int ModApiServer::l_dynamic_add_media(lua_State *L) CHECK_SECURE_PATH(L, filepath.c_str(), false); - u32 token = server->getScriptIface()->allocateDynamicMediaCallback(2); + u32 token = server->getScriptIface()->allocateDynamicMediaCallback(L, 2); bool ok = server->dynamicAddMedia(filepath, token, to_player, ephemeral); if (!ok) diff --git a/util/test_multiplayer.sh b/util/test_multiplayer.sh index 9fb894a30..5ffc044e0 100755 --- a/util/test_multiplayer.sh +++ b/util/test_multiplayer.sh @@ -20,7 +20,7 @@ waitfor () { } gdbrun () { - gdb -q -ex 'set confirm off' -ex 'r' -ex 'bt' -ex 'quit' --args "$@" + gdb -q -batch -ex 'set confirm off' -ex 'r' -ex 'bt' --args "$@" } [ -e $minetest ] || { echo "executable $minetest missing"; exit 1; } @@ -33,17 +33,27 @@ printf '%s\n' >$testspath/client1.conf \ enable_{sound,minimap,shaders}=false printf '%s\n' >$testspath/server.conf \ - max_block_send_distance=1 + max_block_send_distance=1 devtest_unittests_autostart=true cat >$worldpath/worldmods/test/init.lua <<"LUA" core.after(0, function() io.close(io.open(core.get_worldpath() .. "/startup", "w")) end) -core.register_on_joinplayer(function(player) - io.close(io.open(core.get_worldpath() .. "/player_joined", "w")) +local function callback(test_ok) + if not test_ok then + io.close(io.open(core.get_worldpath() .. "/test_failure", "w")) + end + io.close(io.open(core.get_worldpath() .. "/done", "w")) core.request_shutdown("", false, 2) -end) +end +if core.settings:get_bool("devtest_unittests_autostart") then + unittests.on_finished = callback +else + core.register_on_joinplayer(function() callback(true) end) +end LUA +printf '%s\n' >$worldpath/worldmods/test/mod.conf \ + name=test optional_depends=unittests echo "Starting server" gdbrun $minetest --server --config $conf_server --world $worldpath --gameid $gameid 2>&1 | sed -u 's/^/(server) /' & @@ -51,10 +61,14 @@ waitfor $worldpath/startup echo "Starting client" gdbrun $minetest --config $conf_client1 --go --address 127.0.0.1 2>&1 | sed -u 's/^/(client) /' & -waitfor $worldpath/player_joined +waitfor $worldpath/done echo "Waiting for client and server to exit" wait +if [ -f $worldpath/test_failure ]; then + echo "There were test failures." + exit 1 +fi echo "Success" exit 0 -- cgit v1.2.3 From 8c99f2232bdb52459ccf2a5b751cbe3f7797abc3 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 Dec 2021 18:31:29 +0100 Subject: Don't let HTTP API pass through untrusted function This has been a problem since the first day, oops. --- builtin/game/misc.lua | 5 +++-- src/script/common/c_internal.h | 2 ++ src/script/lua_api/l_http.cpp | 23 +++++++++++++++++++---- src/script/lua_api/l_http.h | 3 +++ 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index ef826eda7..e86efc50c 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -250,7 +250,7 @@ end -- HTTP callback interface -function core.http_add_fetch(httpenv) +core.set_http_api_lua(function(httpenv) httpenv.fetch = function(req, callback) local handle = httpenv.fetch_async(req) @@ -266,7 +266,8 @@ function core.http_add_fetch(httpenv) end return httpenv -end +end) +core.set_http_api_lua = nil function core.close_formspec(player_name, formname) diff --git a/src/script/common/c_internal.h b/src/script/common/c_internal.h index ab2d7b975..94cfd61fb 100644 --- a/src/script/common/c_internal.h +++ b/src/script/common/c_internal.h @@ -54,6 +54,8 @@ extern "C" { #define CUSTOM_RIDX_GLOBALS_BACKUP (CUSTOM_RIDX_BASE + 1) #define CUSTOM_RIDX_CURRENT_MOD_NAME (CUSTOM_RIDX_BASE + 2) #define CUSTOM_RIDX_BACKTRACE (CUSTOM_RIDX_BASE + 3) +#define CUSTOM_RIDX_HTTP_API_LUA (CUSTOM_RIDX_BASE + 4) + // Determine if CUSTOM_RIDX_SCRIPTAPI will hold a light or full userdata #if defined(__aarch64__) && USE_LUAJIT diff --git a/src/script/lua_api/l_http.cpp b/src/script/lua_api/l_http.cpp index 751ec9837..b385b698c 100644 --- a/src/script/lua_api/l_http.cpp +++ b/src/script/lua_api/l_http.cpp @@ -163,6 +163,20 @@ int ModApiHttp::l_http_fetch_async_get(lua_State *L) return 1; } +int ModApiHttp::l_set_http_api_lua(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + + // This is called by builtin to give us a function that will later + // populate the http_api table with additional method(s). + // We need this because access to the HTTP api is security-relevant and + // any mod could just mess with a global variable. + luaL_checktype(L, 1, LUA_TFUNCTION); + lua_rawseti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_HTTP_API_LUA); + + return 0; +} + int ModApiHttp::l_request_http_api(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -205,16 +219,16 @@ int ModApiHttp::l_request_http_api(lua_State *L) return 1; } - lua_getglobal(L, "core"); - lua_getfield(L, -1, "http_add_fetch"); + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_HTTP_API_LUA); + assert(lua_isfunction(L, -1)); lua_newtable(L); HTTP_API(fetch_async); HTTP_API(fetch_async_get); // Stack now looks like this: - // - // Now call core.http_add_fetch to append .fetch(request, callback) to table + //
+ // Now call it to append .fetch(request, callback) to table lua_call(L, 1, 1); return 1; @@ -247,6 +261,7 @@ void ModApiHttp::Initialize(lua_State *L, int top) API_FCT(get_http_api); } else { API_FCT(request_http_api); + API_FCT(set_http_api_lua); } #endif diff --git a/src/script/lua_api/l_http.h b/src/script/lua_api/l_http.h index c3a2a5276..17fa283ba 100644 --- a/src/script/lua_api/l_http.h +++ b/src/script/lua_api/l_http.h @@ -41,6 +41,9 @@ private: // http_fetch_async_get(handle) static int l_http_fetch_async_get(lua_State *L); + // set_http_api_lua() [internal] + static int l_set_http_api_lua(lua_State *L); + // request_http_api() static int l_request_http_api(lua_State *L); -- cgit v1.2.3 From f4054595482bf4573075f45d3ca56076a0d6113e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 Dec 2021 18:35:30 +0100 Subject: Remove setlocal and setupvalue from `debug` table whitelist It's likely that these could be used trick mods into revealing the insecure environment even if they do everything right (which is already hard enough). --- src/script/cpp_api/s_security.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index 5faf8cc80..11c277839 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -129,12 +129,10 @@ void ScriptApiSecurity::initializeSecurity() "traceback", "getinfo", "getmetatable", - "setupvalue", "setmetatable", "upvalueid", "sethook", "debug", - "setlocal", }; static const char *package_whitelist[] = { "config", -- cgit v1.2.3 From b2409b14d0682655363c1b3b3b6bafbaa7e7c1bf Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 Dec 2021 19:04:46 +0100 Subject: Refactor trusted mod checking code --- src/script/cpp_api/s_security.cpp | 33 +++++++++++++++++++++++++++++++++ src/script/cpp_api/s_security.h | 14 +++++++++----- src/script/lua_api/l_http.cpp | 39 +++------------------------------------ src/script/lua_api/l_util.cpp | 32 +------------------------------- 4 files changed, 46 insertions(+), 72 deletions(-) diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index 11c277839..ccd1214e3 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#include #include @@ -604,6 +605,38 @@ bool ScriptApiSecurity::checkPath(lua_State *L, const char *path, return false; } +bool ScriptApiSecurity::checkWhitelisted(lua_State *L, const std::string &setting) +{ + assert(str_starts_with(setting, "secure.")); + + // We have to make sure that this function is being called directly by + // a mod, otherwise a malicious mod could override this function and + // steal its return value. + lua_Debug info; + + // Make sure there's only one item below this function on the stack... + if (lua_getstack(L, 2, &info)) + return false; + FATAL_ERROR_IF(!lua_getstack(L, 1, &info), "lua_getstack() failed"); + FATAL_ERROR_IF(!lua_getinfo(L, "S", &info), "lua_getinfo() failed"); + + // ...and that that item is the main file scope. + if (strcmp(info.what, "main") != 0) + return false; + + // Mod must be listed in secure.http_mods or secure.trusted_mods + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_CURRENT_MOD_NAME); + if (!lua_isstring(L, -1)) + return false; + std::string mod_name = readParam(L, -1); + + std::string value = g_settings->get(setting); + value.erase(std::remove(value.begin(), value.end(), ' '), value.end()); + auto mod_list = str_split(value, ','); + + return CONTAINS(mod_list, mod_name); +} + int ScriptApiSecurity::sl_g_dofile(lua_State *L) { diff --git a/src/script/cpp_api/s_security.h b/src/script/cpp_api/s_security.h index 73e763548..619bf824f 100644 --- a/src/script/cpp_api/s_security.h +++ b/src/script/cpp_api/s_security.h @@ -40,11 +40,6 @@ with this program; if not, write to the Free Software Foundation, Inc., class ScriptApiSecurity : virtual public ScriptApiBase { public: - int getThread(lua_State *L); - // creates an empty Lua environment - void createEmptyEnv(lua_State *L); - // sets the enviroment to the table thats on top of the stack - void setLuaEnv(lua_State *L, int thread); // Sets up security on the ScriptApi's Lua state void initializeSecurity(); void initializeSecurityClient(); @@ -57,8 +52,17 @@ public: // Checks if mods are allowed to read (and optionally write) to the path static bool checkPath(lua_State *L, const char *path, bool write_required, bool *write_allowed=NULL); + // Check if mod is whitelisted in the given setting + // This additionally checks that the mod's main file scope is executing. + static bool checkWhitelisted(lua_State *L, const std::string &setting); private: + int getThread(lua_State *L); + // sets the enviroment to the table thats on top of the stack + void setLuaEnv(lua_State *L, int thread); + // creates an empty Lua environment + void createEmptyEnv(lua_State *L); + // Syntax: "sl_" '_' // (sl stands for Secure Lua) diff --git a/src/script/lua_api/l_http.cpp b/src/script/lua_api/l_http.cpp index b385b698c..bd359b3cc 100644 --- a/src/script/lua_api/l_http.cpp +++ b/src/script/lua_api/l_http.cpp @@ -21,14 +21,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common/c_converter.h" #include "common/c_content.h" #include "lua_api/l_http.h" +#include "cpp_api/s_security.h" #include "httpfetch.h" #include "settings.h" #include "debug.h" #include "log.h" -#include #include -#include #define HTTP_API(name) \ lua_pushstring(L, #name); \ @@ -181,40 +180,8 @@ int ModApiHttp::l_request_http_api(lua_State *L) { NO_MAP_LOCK_REQUIRED; - // We have to make sure that this function is being called directly by - // a mod, otherwise a malicious mod could override this function and - // steal its return value. - lua_Debug info; - - // Make sure there's only one item below this function on the stack... - if (lua_getstack(L, 2, &info)) { - return 0; - } - FATAL_ERROR_IF(!lua_getstack(L, 1, &info), "lua_getstack() failed"); - FATAL_ERROR_IF(!lua_getinfo(L, "S", &info), "lua_getinfo() failed"); - - // ...and that that item is the main file scope. - if (strcmp(info.what, "main") != 0) { - return 0; - } - - // Mod must be listed in secure.http_mods or secure.trusted_mods - lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_CURRENT_MOD_NAME); - if (!lua_isstring(L, -1)) { - return 0; - } - - std::string mod_name = readParam(L, -1); - std::string http_mods = g_settings->get("secure.http_mods"); - http_mods.erase(std::remove(http_mods.begin(), http_mods.end(), ' '), http_mods.end()); - std::vector mod_list_http = str_split(http_mods, ','); - - std::string trusted_mods = g_settings->get("secure.trusted_mods"); - trusted_mods.erase(std::remove(trusted_mods.begin(), trusted_mods.end(), ' '), trusted_mods.end()); - std::vector mod_list_trusted = str_split(trusted_mods, ','); - - mod_list_http.insert(mod_list_http.end(), mod_list_trusted.begin(), mod_list_trusted.end()); - if (std::find(mod_list_http.begin(), mod_list_http.end(), mod_name) == mod_list_http.end()) { + if (!ScriptApiSecurity::checkWhitelisted(L, "secure.http_mods") && + !ScriptApiSecurity::checkWhitelisted(L, "secure.trusted_mods")) { lua_pushnil(L); return 1; } diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp index 528d9c6dd..b04f26fda 100644 --- a/src/script/lua_api/l_util.cpp +++ b/src/script/lua_api/l_util.cpp @@ -41,7 +41,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/hex.h" #include "util/sha1.h" #include "util/png.h" -#include #include // log([level,] text) @@ -444,36 +443,7 @@ int ModApiUtil::l_request_insecure_environment(lua_State *L) return 1; } - // We have to make sure that this function is being called directly by - // a mod, otherwise a malicious mod could override this function and - // steal its return value. - lua_Debug info; - // Make sure there's only one item below this function on the stack... - if (lua_getstack(L, 2, &info)) { - return 0; - } - FATAL_ERROR_IF(!lua_getstack(L, 1, &info), "lua_getstack() failed"); - FATAL_ERROR_IF(!lua_getinfo(L, "S", &info), "lua_getinfo() failed"); - // ...and that that item is the main file scope. - if (strcmp(info.what, "main") != 0) { - return 0; - } - - // Get mod name - lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_CURRENT_MOD_NAME); - if (!lua_isstring(L, -1)) { - return 0; - } - - // Check secure.trusted_mods - std::string mod_name = readParam(L, -1); - std::string trusted_mods = g_settings->get("secure.trusted_mods"); - trusted_mods.erase(std::remove_if(trusted_mods.begin(), - trusted_mods.end(), static_cast(&std::isspace)), - trusted_mods.end()); - std::vector mod_list = str_split(trusted_mods, ','); - if (std::find(mod_list.begin(), mod_list.end(), mod_name) == - mod_list.end()) { + if (!ScriptApiSecurity::checkWhitelisted(L, "secure.trusted_mods")) { return 0; } -- cgit v1.2.3 From 49f7d2494ce178162a96da57315ad41f6c2796c6 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 Dec 2021 23:49:47 +0100 Subject: Protect font initialization with mutex fixes #4532 --- src/client/fontengine.cpp | 48 ++++++++++------------------------------------- src/client/fontengine.h | 5 ++++- 2 files changed, 14 insertions(+), 39 deletions(-) diff --git a/src/client/fontengine.cpp b/src/client/fontengine.cpp index f64315db4..35e908b0c 100644 --- a/src/client/fontengine.cpp +++ b/src/client/fontengine.cpp @@ -84,11 +84,13 @@ FontEngine::~FontEngine() /******************************************************************************/ void FontEngine::cleanCache() { + RecursiveMutexAutoLock l(m_font_mutex); + for (auto &font_cache_it : m_font_cache) { for (auto &font_it : font_cache_it) { font_it.second->drop(); - font_it.second = NULL; + font_it.second = nullptr; } font_cache_it.clear(); } @@ -122,6 +124,8 @@ irr::gui::IGUIFont *FontEngine::getFont(FontSpec spec, bool may_fail) if (spec.size == FONT_SIZE_UNSPECIFIED) spec.size = m_default_size[spec.mode]; + RecursiveMutexAutoLock l(m_font_mutex); + const auto &cache = m_font_cache[spec.getHash()]; auto it = cache.find(spec.size); if (it != cache.end()) @@ -149,13 +153,7 @@ irr::gui::IGUIFont *FontEngine::getFont(FontSpec spec, bool may_fail) /******************************************************************************/ unsigned int FontEngine::getTextHeight(const FontSpec &spec) { - irr::gui::IGUIFont *font = getFont(spec); - - // use current skin font as fallback - if (font == NULL) { - font = m_env->getSkin()->getFont(); - } - FATAL_ERROR_IF(font == NULL, "Could not get skin font"); + gui::IGUIFont *font = getFont(spec); return font->getDimension(L"Some unimportant example String").Height; } @@ -163,28 +161,15 @@ unsigned int FontEngine::getTextHeight(const FontSpec &spec) /******************************************************************************/ unsigned int FontEngine::getTextWidth(const std::wstring &text, const FontSpec &spec) { - irr::gui::IGUIFont *font = getFont(spec); - - // use current skin font as fallback - if (font == NULL) { - font = m_env->getSkin()->getFont(); - } - FATAL_ERROR_IF(font == NULL, "Could not get font"); + gui::IGUIFont *font = getFont(spec); return font->getDimension(text.c_str()).Width; } - /** get line height for a specific font (including empty room between lines) */ unsigned int FontEngine::getLineHeight(const FontSpec &spec) { - irr::gui::IGUIFont *font = getFont(spec); - - // use current skin font as fallback - if (font == NULL) { - font = m_env->getSkin()->getFont(); - } - FATAL_ERROR_IF(font == NULL, "Could not get font"); + gui::IGUIFont *font = getFont(spec); return font->getDimension(L"Some unimportant example String").Height + font->getKerningHeight(); @@ -238,22 +223,9 @@ void FontEngine::readSettings() void FontEngine::updateSkin() { gui::IGUIFont *font = getFont(); + assert(font); - if (font) - m_env->getSkin()->setFont(font); - else - errorstream << "FontEngine: Default font file: " << - "\n\t\"" << g_settings->get("font_path") << "\"" << - "\n\trequired for current screen configuration was not found" << - " or was invalid file format." << - "\n\tUsing irrlicht default font." << std::endl; - - // If we did fail to create a font our own make irrlicht find a default one - font = m_env->getSkin()->getFont(); - FATAL_ERROR_IF(font == NULL, "Could not create/get font"); - - u32 text_height = font->getDimension(L"Hello, world!").Height; - infostream << "FontEngine: measured text_height=" << text_height << std::endl; + m_env->getSkin()->setFont(font); } /******************************************************************************/ diff --git a/src/client/fontengine.h b/src/client/fontengine.h index 3d389ea48..403ac2e48 100644 --- a/src/client/fontengine.h +++ b/src/client/fontengine.h @@ -20,13 +20,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once #include -#include #include "util/basic_macros.h" #include "irrlichttypes.h" #include #include #include #include "settings.h" +#include "threading/mutex_auto_lock.h" #define FONT_SIZE_UNSPECIFIED 0xFFFFFFFF @@ -152,6 +152,9 @@ private: /** pointer to irrlicht gui environment */ gui::IGUIEnvironment* m_env = nullptr; + /** mutex used to protect font init and cache */ + std::recursive_mutex m_font_mutex; + /** internal storage for caching fonts of different size */ std::map m_font_cache[FM_MaxMode << 2]; -- cgit v1.2.3 From 1b664dd87084ec8614371ea951791b10533b83c2 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Sun, 19 Dec 2021 08:41:08 -0500 Subject: Use defined evaluation order in profiler See https://github.com/LuaJIT/LuaJIT/issues/238 --- builtin/profiler/instrumentation.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builtin/profiler/instrumentation.lua b/builtin/profiler/instrumentation.lua index 6b951a2c2..f80314b32 100644 --- a/builtin/profiler/instrumentation.lua +++ b/builtin/profiler/instrumentation.lua @@ -102,8 +102,9 @@ local function instrument(def) -- also called https://en.wikipedia.org/wiki/Continuation_passing_style -- Compared to table creation and unpacking it won't lose `nil` returns -- and is expected to be faster - -- `measure` will be executed after time() and func(...) - return measure(modname, instrument_name, time(), func(...)) + -- `measure` will be executed after func(...) + local start = time() + return measure(modname, instrument_name, start, func(...)) end end -- cgit v1.2.3 From 0c4929f0252811d9715b96379973929053d32ef0 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 19 Dec 2021 17:03:16 +0100 Subject: Remove wrong function from lua_api.txt --- doc/lua_api.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ee7d63101..1950659ab 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5665,8 +5665,6 @@ Sounds player actions (e.g. door closing). * `minetest.sound_stop(handle)` * `handle` is a handle returned by `minetest.sound_play` -* `minetest.sound_stop_all()` - Stops all currently playing non-ephermeral sounds. * `minetest.sound_fade(handle, step, gain)` * `handle` is a handle returned by `minetest.sound_play` * `step` determines how fast a sound will fade. -- cgit v1.2.3 From 7f6306ca964ac5b9245c433e3b688c5d4ee08c35 Mon Sep 17 00:00:00 2001 From: JosiahWI <41302989+JosiahWI@users.noreply.github.com> Date: Tue, 28 Dec 2021 07:05:49 -0600 Subject: Restore GCC 5 compatibility (#11778) --- src/client/client.h | 2 +- src/network/clientpackethandler.cpp | 3 ++- src/util/png.cpp | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/client/client.h b/src/client/client.h index b92b456f4..bae40f389 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -548,7 +548,7 @@ private: // Set of media filenames pushed by server at runtime std::unordered_set m_media_pushed_files; // Pending downloads of dynamic media (key: token) - std::vector>> m_pending_media_downloads; + std::vector>> m_pending_media_downloads; // time_of_day speed approximation for old protocol bool m_time_of_day_set = false; diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index d20a80fb7..6aececa7f 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -43,6 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "tileanimation.h" #include "gettext.h" #include "skyparams.h" +#include void Client::handleCommand_Deprecated(NetworkPacket* pkt) { @@ -1559,7 +1560,7 @@ void Client::handleCommand_MediaPush(NetworkPacket *pkt) m_media_pushed_files.insert(filename); // create a downloader for this file - auto downloader = new SingleMediaDownloader(cached); + auto downloader(std::make_shared(cached)); m_pending_media_downloads.emplace_back(token, downloader); downloader->addFile(filename, raw_hash); for (const auto &baseurl : m_remote_media_servers) diff --git a/src/util/png.cpp b/src/util/png.cpp index 7ac2e94a1..698cbc9a5 100755 --- a/src/util/png.cpp +++ b/src/util/png.cpp @@ -37,11 +37,11 @@ static void writeChunk(std::ostringstream &target, const std::string &chunk_str) std::string encodePNG(const u8 *data, u32 width, u32 height, s32 compression) { - auto file = std::ostringstream(std::ios::binary); + std::ostringstream file(std::ios::binary); file << "\x89PNG\r\n\x1a\n"; { - auto IHDR = std::ostringstream(std::ios::binary); + std::ostringstream IHDR(std::ios::binary); IHDR << "IHDR"; writeU32(IHDR, width); writeU32(IHDR, height); @@ -51,9 +51,9 @@ std::string encodePNG(const u8 *data, u32 width, u32 height, s32 compression) } { - auto IDAT = std::ostringstream(std::ios::binary); + std::ostringstream IDAT(std::ios::binary); IDAT << "IDAT"; - auto scanlines = std::ostringstream(std::ios::binary); + std::ostringstream scanlines(std::ios::binary); for(u32 i = 0; i < height; i++) { scanlines.write("\x00", 1); // Null predictor scanlines.write((const char*) data + width * 4 * i, width * 4); -- cgit v1.2.3 From cc64a0405ae0e4025f0b18be3bd0d813cb36fea0 Mon Sep 17 00:00:00 2001 From: "William L. DeRieux IV" Date: Tue, 28 Dec 2021 08:06:24 -0500 Subject: Automatically use SSE registers for FP operations on i386 (#11853) use SSE for floating-point operations to avoid issues with improper fp-rounding and loss of precision when moving fp-data to incompatible or less-precise registers/storage locations https://gcc.gnu.org/wiki/FloatingPointMath https://gcc.gnu.org/wiki/x87note --- CMakeLists.txt | 1 - src/CMakeLists.txt | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea212bede..3b4b9f4f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,7 +286,6 @@ endif() # Subdirectories # Be sure to add all relevant definitions above this - add_subdirectory(src) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4803b475b..e3389cea9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -769,6 +769,16 @@ else() # - we don't deal with Inf/NaN or signed zero set(MATH_FLAGS "-fno-math-errno -fno-trapping-math -ffinite-math-only -fno-signed-zeros") + # Enable SSE for floating point math on 32-bit x86 by default + # reasoning see minetest issue #11810 and https://gcc.gnu.org/wiki/FloatingPointMath + if(CMAKE_SIZEOF_VOID_P EQUAL 4) + check_c_source_compiles("#ifndef __i686__\n#error\n#endif\nint main(){}" IS_I686) + if(IS_I686) + message(STATUS "Detected Intel x86: using SSE instead of x87 FPU") + set(OTHER_FLAGS "${OTHER_FLAGS} -mfpmath=sse -msse") + endif() + endif() + set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops") if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|BSD|DragonFly)") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os") -- cgit v1.2.3 From 0fa54531d48eb2fcd09377a6fb8e7c81e09ada63 Mon Sep 17 00:00:00 2001 From: savilli <78875209+savilli@users.noreply.github.com> Date: Tue, 28 Dec 2021 16:08:21 +0300 Subject: Fix check that denies new clients from a singleplayer session --- src/network/serverpackethandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index c1ddb5005..e5a1bab1e 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -86,7 +86,7 @@ void Server::handleCommand_Init(NetworkPacket* pkt) // Do not allow multiple players in simple singleplayer mode. // This isn't a perfect way to do it, but will suffice for now - if (m_simple_singleplayer_mode && m_clients.getClientIDs().size() > 1) { + if (m_simple_singleplayer_mode && !m_clients.getClientIDs().empty()) { infostream << "Server: Not allowing another client (" << addr_s << ") to connect in simple singleplayer mode" << std::endl; DenyAccess(peer_id, SERVER_ACCESSDENIED_SINGLEPLAYER); -- cgit v1.2.3 From 481bb90eac45651ba6f71860ed669341fcbef6f1 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 29 Dec 2021 19:20:38 +0100 Subject: Fix segfault in drawItems() due to missing inventory list This fixes a nullptr dereference when the specified inventory list is not known. Happens when HUD elements are sent before the required inventory list is created. --- src/client/hud.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/hud.cpp b/src/client/hud.cpp index e08d2ef02..6011a8cff 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -224,6 +224,7 @@ void Hud::drawItem(const ItemStack &item, const core::rect& rect, } //NOTE: selectitem = 0 -> no selected; selectitem 1-based +// mainlist can be NULL, but draw the frame anyway. void Hud::drawItems(v2s32 upperleftpos, v2s32 screen_offset, s32 itemcount, s32 inv_offset, InventoryList *mainlist, u16 selectitem, u16 direction) { @@ -271,7 +272,8 @@ void Hud::drawItems(v2s32 upperleftpos, v2s32 screen_offset, s32 itemcount, // Draw items core::rect imgrect(0, 0, m_hotbar_imagesize, m_hotbar_imagesize); - for (s32 i = inv_offset; i < itemcount && (size_t)i < mainlist->getSize(); i++) { + const s32 list_size = mainlist ? mainlist->getSize() : 0; + for (s32 i = inv_offset; i < itemcount && i < list_size; i++) { s32 fullimglen = m_hotbar_imagesize + m_padding * 2; v2s32 steppos; @@ -401,6 +403,8 @@ void Hud::drawLuaElements(const v3s16 &camera_offset) break; } case HUD_ELEM_INVENTORY: { InventoryList *inv = inventory->getList(e->text); + if (!inv) + warningstream << "HUD: Unknown inventory list. name=" << e->text << std::endl; drawItems(pos, v2s32(e->offset.X, e->offset.Y), e->number, 0, inv, e->item, e->dir); break; } -- cgit v1.2.3 From 9b650b9efb1d4617c97e86639ff115067a73e83a Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 30 Dec 2021 00:59:53 +0300 Subject: Add more neighbors on mesh update (#6765) --- builtin/settingtypes.txt | 4 +++ src/client/client.cpp | 53 ++++++------------------------------ src/client/mesh_generator_thread.cpp | 53 +++++++++++++++++++++--------------- src/client/mesh_generator_thread.h | 5 ++-- src/defaultsettings.cpp | 2 ++ 5 files changed, 49 insertions(+), 68 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 81ebef67d..1bc5e7982 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -475,6 +475,10 @@ connected_glass (Connect glass) bool false # Disable for speed or for different looks. smooth_lighting (Smooth lighting) bool true +# Enables tradeoffs that reduce CPU load or increase rendering performance +# at the expense of minor visual glitches that do not impact game playability. +performance_tradeoffs (Tradeoffs for performance) bool false + # Clouds are a client side effect. enable_clouds (Clouds) bool true diff --git a/src/client/client.cpp b/src/client/client.cpp index 3ee1298ff..6e4a90a79 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -1611,20 +1611,7 @@ void Client::addUpdateMeshTask(v3s16 p, bool ack_to_server, bool urgent) void Client::addUpdateMeshTaskWithEdge(v3s16 blockpos, bool ack_to_server, bool urgent) { - try{ - addUpdateMeshTask(blockpos, ack_to_server, urgent); - } - catch(InvalidPositionException &e){} - - // Leading edge - for (int i=0;i<6;i++) - { - try{ - v3s16 p = blockpos + g_6dirs[i]; - addUpdateMeshTask(p, false, urgent); - } - catch(InvalidPositionException &e){} - } + m_mesh_update_thread.updateBlock(&m_env.getMap(), blockpos, ack_to_server, urgent, true); } void Client::addUpdateMeshTaskForNode(v3s16 nodepos, bool ack_to_server, bool urgent) @@ -1636,38 +1623,16 @@ void Client::addUpdateMeshTaskForNode(v3s16 nodepos, bool ack_to_server, bool ur < cached_blocks; size_t cache_hit_counter = 0; + CachedMapBlockData *cached_block = cacheBlock(map, p, FORCE_UPDATE); + if (!cached_block->data) + return false; // nothing to update cached_blocks.reserve(3*3*3); - v3s16 dp; - for (dp.X = -1; dp.X <= 1; dp.X++) - for (dp.Y = -1; dp.Y <= 1; dp.Y++) - for (dp.Z = -1; dp.Z <= 1; dp.Z++) { - v3s16 p1 = p + dp; - CachedMapBlockData *cached_block; - if (dp == v3s16(0, 0, 0)) - cached_block = cacheBlock(map, p1, FORCE_UPDATE); - else - cached_block = cacheBlock(map, p1, SKIP_UPDATE_IF_ALREADY_CACHED, - &cache_hit_counter); - cached_blocks.push_back(cached_block); - } + cached_blocks.push_back(cached_block); + for (v3s16 dp : g_26dirs) + cached_blocks.push_back(cacheBlock(map, p + dp, + SKIP_UPDATE_IF_ALREADY_CACHED, + &cache_hit_counter)); g_profiler->avg("MeshUpdateQueue: MapBlocks from cache [%]", 100.0f * cache_hit_counter / cached_blocks.size()); @@ -116,7 +112,7 @@ void MeshUpdateQueue::addBlock(Map *map, v3s16 p, bool ack_block_to_server, bool q->ack_block_to_server = true; q->crack_level = m_client->getCrackLevel(); q->crack_pos = m_client->getCrackPos(); - return; + return true; } } @@ -134,6 +130,7 @@ void MeshUpdateQueue::addBlock(Map *map, v3s16 p, bool ack_block_to_server, bool for (CachedMapBlockData *cached_block : cached_blocks) { cached_block->refcount_from_queue++; } + return true; } // Returned pointer must be deleted @@ -212,10 +209,7 @@ void MeshUpdateQueue::fillDataFromMapBlockCache(QueuedMeshUpdate *q) std::time_t t_now = std::time(0); // Collect data for 3*3*3 blocks from cache - v3s16 dp; - for (dp.X = -1; dp.X <= 1; dp.X++) - for (dp.Y = -1; dp.Y <= 1; dp.Y++) - for (dp.Z = -1; dp.Z <= 1; dp.Z++) { + for (v3s16 dp : g_27dirs) { v3s16 p = q->p + dp; CachedMapBlockData *cached_block = getCachedBlock(p); if (cached_block) { @@ -272,10 +266,25 @@ MeshUpdateThread::MeshUpdateThread(Client *client): } void MeshUpdateThread::updateBlock(Map *map, v3s16 p, bool ack_block_to_server, - bool urgent) + bool urgent, bool update_neighbors) { - // Allow the MeshUpdateQueue to do whatever it wants - m_queue_in.addBlock(map, p, ack_block_to_server, urgent); + static thread_local const bool many_neighbors = + g_settings->getBool("smooth_lighting") + && !g_settings->getFlag("performance_tradeoffs"); + if (!m_queue_in.addBlock(map, p, ack_block_to_server, urgent)) { + warningstream << "Update requested for non-existent block at (" + << p.X << ", " << p.Y << ", " << p.Z << ")" << std::endl; + return; + } + if (update_neighbors) { + if (many_neighbors) { + for (v3s16 dp : g_26dirs) + m_queue_in.addBlock(map, p + dp, false, urgent); + } else { + for (v3s16 dp : g_6dirs) + m_queue_in.addBlock(map, p + dp, false, urgent); + } + } deferUpdate(); } diff --git a/src/client/mesh_generator_thread.h b/src/client/mesh_generator_thread.h index 4371b8390..1b734bc06 100644 --- a/src/client/mesh_generator_thread.h +++ b/src/client/mesh_generator_thread.h @@ -66,7 +66,7 @@ public: // Caches the block at p and its neighbors (if needed) and queues a mesh // update for the block at p - void addBlock(Map *map, v3s16 p, bool ack_block_to_server, bool urgent); + bool addBlock(Map *map, v3s16 p, bool ack_block_to_server, bool urgent); // Returned pointer must be deleted // Returns NULL if queue is empty @@ -113,7 +113,8 @@ public: // Caches the block at p and its neighbors (if needed) and queues a mesh // update for the block at p - void updateBlock(Map *map, v3s16 p, bool ack_block_to_server, bool urgent); + void updateBlock(Map *map, v3s16 p, bool ack_block_to_server, bool urgent, + bool update_neighbors = false); v3s16 m_camera_offset; MutexedQueue m_queue_out; diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index d705552d6..635ec2257 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -184,6 +184,7 @@ void set_default_settings() settings->setDefault("leaves_style", "fancy"); settings->setDefault("connected_glass", "false"); settings->setDefault("smooth_lighting", "true"); + settings->setDefault("performance_tradeoffs", "false"); settings->setDefault("lighting_alpha", "0.0"); settings->setDefault("lighting_beta", "1.5"); settings->setDefault("display_gamma", "1.0"); @@ -477,6 +478,7 @@ void set_default_settings() settings->setDefault("screen_h", "0"); settings->setDefault("fullscreen", "true"); settings->setDefault("smooth_lighting", "false"); + settings->setDefault("performance_tradeoffs", "true"); settings->setDefault("max_simultaneous_block_sends_per_client", "10"); settings->setDefault("emergequeue_limit_diskonly", "16"); settings->setDefault("emergequeue_limit_generate", "16"); -- cgit v1.2.3 From 05573d6d8d9e5a756ab1b03b159b127144f8e775 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Wed, 29 Dec 2021 23:00:16 +0100 Subject: Remove unused (de)serializeAttributes() methods --- src/gui/guiButton.cpp | 79 ------------------------------------ src/gui/guiButton.h | 8 ---- src/gui/guiEditBox.cpp | 51 ----------------------- src/gui/guiEditBox.h | 8 ---- src/gui/guiEditBoxWithScrollbar.cpp | 20 --------- src/gui/guiEditBoxWithScrollbar.h | 6 --- src/gui/guiSkin.cpp | 42 ------------------- src/gui/guiSkin.h | 10 ----- src/irrlicht_changes/static_text.cpp | 44 -------------------- src/irrlicht_changes/static_text.h | 6 --- 10 files changed, 274 deletions(-) diff --git a/src/gui/guiButton.cpp b/src/gui/guiButton.cpp index d6dbddf54..ba95b81c3 100644 --- a/src/gui/guiButton.cpp +++ b/src/gui/guiButton.cpp @@ -632,85 +632,6 @@ bool GUIButton::isDrawingBorder() const } -//! Writes attributes of the element. -void GUIButton::serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const -{ - IGUIButton::serializeAttributes(out,options); - - out->addBool ("PushButton", IsPushButton ); - if (IsPushButton) - out->addBool("Pressed", Pressed); - - for ( u32 i=0; i<(u32)EGBIS_COUNT; ++i ) - { - if ( ButtonImages[i].Texture ) - { - core::stringc name( GUIButtonImageStateNames[i] ); - out->addTexture(name.c_str(), ButtonImages[i].Texture); - name += "Rect"; - out->addRect(name.c_str(), ButtonImages[i].SourceRect); - } - } - - out->addBool ("UseAlphaChannel", UseAlphaChannel); - out->addBool ("Border", DrawBorder); - out->addBool ("ScaleImage", ScaleImage); - - for ( u32 i=0; i<(u32)EGBS_COUNT; ++i ) - { - if ( ButtonSprites[i].Index >= 0 ) - { - core::stringc nameIndex( GUIButtonStateNames[i] ); - nameIndex += "Index"; - out->addInt(nameIndex.c_str(), ButtonSprites[i].Index ); - - core::stringc nameColor( GUIButtonStateNames[i] ); - nameColor += "Color"; - out->addColor(nameColor.c_str(), ButtonSprites[i].Color ); - - core::stringc nameLoop( GUIButtonStateNames[i] ); - nameLoop += "Loop"; - out->addBool(nameLoop.c_str(), ButtonSprites[i].Loop ); - - core::stringc nameScale( GUIButtonStateNames[i] ); - nameScale += "Scale"; - out->addBool(nameScale.c_str(), ButtonSprites[i].Scale ); - } - } - - // out->addString ("OverrideFont", OverrideFont); -} - - -//! Reads attributes of the element -void GUIButton::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0) -{ - IGUIButton::deserializeAttributes(in,options); - - IsPushButton = in->getAttributeAsBool("PushButton"); - Pressed = IsPushButton ? in->getAttributeAsBool("Pressed") : false; - - core::rect rec = in->getAttributeAsRect("ImageRect"); - if (rec.isValid()) - setImage( in->getAttributeAsTexture("Image"), rec); - else - setImage( in->getAttributeAsTexture("Image") ); - - rec = in->getAttributeAsRect("PressedImageRect"); - if (rec.isValid()) - setPressedImage( in->getAttributeAsTexture("PressedImage"), rec); - else - setPressedImage( in->getAttributeAsTexture("PressedImage") ); - - setDrawBorder(in->getAttributeAsBool("Border")); - setUseAlphaChannel(in->getAttributeAsBool("UseAlphaChannel")); - setScaleImage(in->getAttributeAsBool("ScaleImage")); - - // setOverrideFont(in->getAttributeAsString("OverrideFont")); - - updateAbsolutePosition(); -} - // PATCH GUIButton* GUIButton::addButton(IGUIEnvironment *environment, const core::rect& rectangle, ISimpleTextureSource *tsrc, diff --git a/src/gui/guiButton.h b/src/gui/guiButton.h index 834405f51..ee9bb6f21 100644 --- a/src/gui/guiButton.h +++ b/src/gui/guiButton.h @@ -221,14 +221,6 @@ public: return ClickControlState; } - //! Writes attributes of the element. - virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const override; - - //! Reads attributes of the element - virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options) override; - - - void setColor(video::SColor color); // PATCH //! Set element properties from a StyleSpec corresponding to the button state diff --git a/src/gui/guiEditBox.cpp b/src/gui/guiEditBox.cpp index 8459107cd..4a0f5013d 100644 --- a/src/gui/guiEditBox.cpp +++ b/src/gui/guiEditBox.cpp @@ -846,54 +846,3 @@ void GUIEditBox::updateVScrollBar() } } } - -void GUIEditBox::deserializeAttributes( - io::IAttributes *in, io::SAttributeReadWriteOptions *options = 0) -{ - IGUIEditBox::deserializeAttributes(in, options); - - setOverrideColor(in->getAttributeAsColor("OverrideColor")); - enableOverrideColor(in->getAttributeAsBool("OverrideColorEnabled")); - setMax(in->getAttributeAsInt("MaxChars")); - setWordWrap(in->getAttributeAsBool("WordWrap")); - setMultiLine(in->getAttributeAsBool("MultiLine")); - setAutoScroll(in->getAttributeAsBool("AutoScroll")); - core::stringw ch = in->getAttributeAsStringW("PasswordChar"); - - if (ch.empty()) - setPasswordBox(in->getAttributeAsBool("PasswordBox")); - else - setPasswordBox(in->getAttributeAsBool("PasswordBox"), ch[0]); - - setTextAlignment((EGUI_ALIGNMENT)in->getAttributeAsEnumeration( - "HTextAlign", GUIAlignmentNames), - (EGUI_ALIGNMENT)in->getAttributeAsEnumeration( - "VTextAlign", GUIAlignmentNames)); - - setWritable(in->getAttributeAsBool("Writable")); - // setOverrideFont(in->getAttributeAsFont("OverrideFont")); -} - -//! Writes attributes of the element. -void GUIEditBox::serializeAttributes( - io::IAttributes *out, io::SAttributeReadWriteOptions *options = 0) const -{ - // IGUIEditBox::serializeAttributes(out,options); - - out->addBool("OverrideColorEnabled", m_override_color_enabled); - out->addColor("OverrideColor", m_override_color); - // out->addFont("OverrideFont",m_override_font); - out->addInt("MaxChars", m_max); - out->addBool("WordWrap", m_word_wrap); - out->addBool("MultiLine", m_multiline); - out->addBool("AutoScroll", m_autoscroll); - out->addBool("PasswordBox", m_passwordbox); - core::stringw ch = L" "; - ch[0] = m_passwordchar; - out->addString("PasswordChar", ch.c_str()); - out->addEnum("HTextAlign", m_halign, GUIAlignmentNames); - out->addEnum("VTextAlign", m_valign, GUIAlignmentNames); - out->addBool("Writable", m_writable); - - IGUIEditBox::serializeAttributes(out, options); -} diff --git a/src/gui/guiEditBox.h b/src/gui/guiEditBox.h index 2a5c911bc..4c7413f54 100644 --- a/src/gui/guiEditBox.h +++ b/src/gui/guiEditBox.h @@ -130,14 +130,6 @@ public: //! called if an event happened. virtual bool OnEvent(const SEvent &event); - //! Writes attributes of the element. - virtual void serializeAttributes(io::IAttributes *out, - io::SAttributeReadWriteOptions *options) const; - - //! Reads attributes of the element - virtual void deserializeAttributes( - io::IAttributes *in, io::SAttributeReadWriteOptions *options); - virtual bool acceptsIME() { return isEnabled() && m_writable; }; protected: diff --git a/src/gui/guiEditBoxWithScrollbar.cpp b/src/gui/guiEditBoxWithScrollbar.cpp index fb4bc2a0b..1b7f7832a 100644 --- a/src/gui/guiEditBoxWithScrollbar.cpp +++ b/src/gui/guiEditBoxWithScrollbar.cpp @@ -652,26 +652,6 @@ void GUIEditBoxWithScrollBar::setBackgroundColor(const video::SColor &bg_color) m_bg_color_used = true; } -//! Writes attributes of the element. -void GUIEditBoxWithScrollBar::serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options = 0) const -{ - out->addBool("Border", m_border); - out->addBool("Background", m_background); - // out->addFont("OverrideFont", OverrideFont); - - GUIEditBox::serializeAttributes(out, options); -} - - -//! Reads attributes of the element -void GUIEditBoxWithScrollBar::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options = 0) -{ - GUIEditBox::deserializeAttributes(in, options); - - setDrawBorder(in->getAttributeAsBool("Border")); - setDrawBackground(in->getAttributeAsBool("Background")); -} - bool GUIEditBoxWithScrollBar::isDrawBackgroundEnabled() const { return false; } bool GUIEditBoxWithScrollBar::isDrawBorderEnabled() const { return false; } void GUIEditBoxWithScrollBar::setCursorChar(const wchar_t cursorChar) { } diff --git a/src/gui/guiEditBoxWithScrollbar.h b/src/gui/guiEditBoxWithScrollbar.h index 3f7450dcb..cea482fc2 100644 --- a/src/gui/guiEditBoxWithScrollbar.h +++ b/src/gui/guiEditBoxWithScrollbar.h @@ -31,12 +31,6 @@ public: //! Change the background color virtual void setBackgroundColor(const video::SColor &bg_color); - //! Writes attributes of the element. - virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; - - //! Reads attributes of the element - virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); - virtual bool isDrawBackgroundEnabled() const; virtual bool isDrawBorderEnabled() const; virtual void setCursorChar(const wchar_t cursorChar); diff --git a/src/gui/guiSkin.cpp b/src/gui/guiSkin.cpp index e09209bd9..ca692f6cb 100644 --- a/src/gui/guiSkin.cpp +++ b/src/gui/guiSkin.cpp @@ -1024,48 +1024,6 @@ void GUISkin::draw2DRectangle(IGUIElement* element, } -//! Writes attributes of the object. -//! Implement this to expose the attributes of your scene node animator for -//! scripting languages, editors, debuggers or xml serialization purposes. -void GUISkin::serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const -{ - u32 i; - for (i=0; iaddColor(GUISkinColorNames[i], Colors[i]); - - for (i=0; iaddInt(GUISkinSizeNames[i], Sizes[i]); - - for (i=0; iaddString(GUISkinTextNames[i], Texts[i].c_str()); - - for (i=0; iaddInt(GUISkinIconNames[i], Icons[i]); -} - - -//! Reads attributes of the object. -//! Implement this to set the attributes of your scene node animator for -//! scripting languages, editors, debuggers or xml deserialization purposes. -void GUISkin::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options) -{ - // TODO: This is not nice code for downward compatibility, whenever new values are added and users - // load an old skin the corresponding values will be set to 0. - u32 i; - for (i=0; igetAttributeAsColor(GUISkinColorNames[i]); - - for (i=0; igetAttributeAsInt(GUISkinSizeNames[i]); - - for (i=0; igetAttributeAsStringW(GUISkinTextNames[i]); - - for (i=0; igetAttributeAsInt(GUISkinIconNames[i]); -} - - //! gets the colors // PATCH void GUISkin::getColors(video::SColor* colors) diff --git a/src/gui/guiSkin.h b/src/gui/guiSkin.h index bbb900f9f..fa9b27bdd 100644 --- a/src/gui/guiSkin.h +++ b/src/gui/guiSkin.h @@ -290,16 +290,6 @@ namespace gui //! get the type of this skin virtual EGUI_SKIN_TYPE getType() const; - //! Writes attributes of the object. - //! Implement this to expose the attributes of your scene node animator for - //! scripting languages, editors, debuggers or xml serialization purposes. - virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const; - - //! Reads attributes of the object. - //! Implement this to set the attributes of your scene node animator for - //! scripting languages, editors, debuggers or xml deserialization purposes. - virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0); - //! gets the colors virtual void getColors(video::SColor* colors); // ::PATCH: diff --git a/src/irrlicht_changes/static_text.cpp b/src/irrlicht_changes/static_text.cpp index 8908a91f7..f548c3f71 100644 --- a/src/irrlicht_changes/static_text.cpp +++ b/src/irrlicht_changes/static_text.cpp @@ -588,50 +588,6 @@ s32 StaticText::getTextWidth() const } -//! Writes attributes of the element. -//! Implement this to expose the attributes of your element for -//! scripting languages, editors, debuggers or xml serialization purposes. -void StaticText::serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const -{ - IGUIStaticText::serializeAttributes(out,options); - - out->addBool ("Border", Border); - out->addBool ("OverrideColorEnabled",true); - out->addBool ("OverrideBGColorEnabled",ColoredText.hasBackground()); - out->addBool ("WordWrap", WordWrap); - out->addBool ("Background", Background); - out->addBool ("RightToLeft", RightToLeft); - out->addBool ("RestrainTextInside", RestrainTextInside); - out->addColor ("OverrideColor", ColoredText.getDefaultColor()); - out->addColor ("BGColor", ColoredText.getBackground()); - out->addEnum ("HTextAlign", HAlign, GUIAlignmentNames); - out->addEnum ("VTextAlign", VAlign, GUIAlignmentNames); - - // out->addFont ("OverrideFont", OverrideFont); -} - - -//! Reads attributes of the element -void StaticText::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0) -{ - IGUIStaticText::deserializeAttributes(in,options); - - Border = in->getAttributeAsBool("Border"); - setWordWrap(in->getAttributeAsBool("WordWrap")); - Background = in->getAttributeAsBool("Background"); - RightToLeft = in->getAttributeAsBool("RightToLeft"); - RestrainTextInside = in->getAttributeAsBool("RestrainTextInside"); - if (in->getAttributeAsBool("OverrideColorEnabled")) - ColoredText.setDefaultColor(in->getAttributeAsColor("OverrideColor")); - if (in->getAttributeAsBool("OverrideBGColorEnabled")) - ColoredText.setBackground(in->getAttributeAsColor("BGColor")); - - setTextAlignment( (EGUI_ALIGNMENT) in->getAttributeAsEnumeration("HTextAlign", GUIAlignmentNames), - (EGUI_ALIGNMENT) in->getAttributeAsEnumeration("VTextAlign", GUIAlignmentNames)); - - // OverrideFont = in->getAttributeAsFont("OverrideFont"); -} - } // end namespace gui #endif // USE_FREETYPE diff --git a/src/irrlicht_changes/static_text.h b/src/irrlicht_changes/static_text.h index 83bbf4c3d..17a3bf753 100644 --- a/src/irrlicht_changes/static_text.h +++ b/src/irrlicht_changes/static_text.h @@ -184,12 +184,6 @@ namespace gui //! Checks if the text should be interpreted as right-to-left text virtual bool isRightToLeft() const; - //! Writes attributes of the element. - virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; - - //! Reads attributes of the element - virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); - virtual bool hasType(EGUI_ELEMENT_TYPE t) const { return (t == EGUIET_ENRICHED_STATIC_TEXT) || (t == EGUIET_STATIC_TEXT); }; -- cgit v1.2.3 From 0ea8df4d64959a7c7ec4e55b4895d6b16dad3000 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 29 Dec 2021 23:01:26 +0100 Subject: Socket-related cleanups Improve error handling on Windows and reduce the size of the `Address` class --- src/client/game.cpp | 1 - src/filesys.cpp | 2 + src/network/address.cpp | 119 ++++++++++++++++--------------------------- src/network/address.h | 35 +++++++------ src/network/socket.cpp | 74 +++++++++++++-------------- src/network/socket.h | 14 ----- src/server.cpp | 5 +- src/unittest/test_socket.cpp | 18 +++---- 8 files changed, 113 insertions(+), 155 deletions(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 853a52ecf..f62d26e8f 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1444,7 +1444,6 @@ bool Game::connectToServer(const GameStartData &start_data, connect_address.Resolve(start_data.address.c_str()); if (connect_address.isZero()) { // i.e. INADDR_ANY, IN6ADDR_ANY - //connect_address.Resolve("localhost"); if (connect_address.isIPv6()) { IPv6AddressBytes addr_bytes; addr_bytes.bytes[15] = 1; diff --git a/src/filesys.cpp b/src/filesys.cpp index 60090c801..ea00def6a 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -41,7 +41,9 @@ namespace fs * Windows * ***********/ +#ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 +#endif #include #include #include diff --git a/src/network/address.cpp b/src/network/address.cpp index 05678aa62..90e561802 100644 --- a/src/network/address.cpp +++ b/src/network/address.cpp @@ -87,38 +87,31 @@ Address::Address(const IPv6AddressBytes *ipv6_bytes, u16 port) setPort(port); } -// Equality (address family, address and port must be equal) -bool Address::operator==(const Address &address) +// Equality (address family, IP and port must be equal) +bool Address::operator==(const Address &other) { - if (address.m_addr_family != m_addr_family || address.m_port != m_port) + if (other.m_addr_family != m_addr_family || other.m_port != m_port) return false; if (m_addr_family == AF_INET) { - return m_address.ipv4.sin_addr.s_addr == - address.m_address.ipv4.sin_addr.s_addr; + return m_address.ipv4.s_addr == other.m_address.ipv4.s_addr; } if (m_addr_family == AF_INET6) { - return memcmp(m_address.ipv6.sin6_addr.s6_addr, - address.m_address.ipv6.sin6_addr.s6_addr, 16) == 0; + return memcmp(m_address.ipv6.s6_addr, + other.m_address.ipv6.s6_addr, 16) == 0; } return false; } -bool Address::operator!=(const Address &address) -{ - return !(*this == address); -} - void Address::Resolve(const char *name) { if (!name || name[0] == 0) { - if (m_addr_family == AF_INET) { - setAddress((u32)0); - } else if (m_addr_family == AF_INET6) { - setAddress((IPv6AddressBytes *)0); - } + if (m_addr_family == AF_INET) + setAddress(static_cast(0)); + else if (m_addr_family == AF_INET6) + setAddress(static_cast(nullptr)); return; } @@ -126,9 +119,6 @@ void Address::Resolve(const char *name) memset(&hints, 0, sizeof(hints)); // Setup hints - hints.ai_socktype = 0; - hints.ai_protocol = 0; - hints.ai_flags = 0; if (g_settings->getBool("enable_ipv6")) { // AF_UNSPEC allows both IPv6 and IPv4 addresses to be returned hints.ai_family = AF_UNSPEC; @@ -145,14 +135,13 @@ void Address::Resolve(const char *name) if (resolved->ai_family == AF_INET) { struct sockaddr_in *t = (struct sockaddr_in *)resolved->ai_addr; m_addr_family = AF_INET; - m_address.ipv4 = *t; + m_address.ipv4 = t->sin_addr; } else if (resolved->ai_family == AF_INET6) { struct sockaddr_in6 *t = (struct sockaddr_in6 *)resolved->ai_addr; m_addr_family = AF_INET6; - m_address.ipv6 = *t; + m_address.ipv6 = t->sin6_addr; } else { - freeaddrinfo(resolved); - throw ResolveError(""); + m_addr_family = 0; } freeaddrinfo(resolved); } @@ -163,47 +152,37 @@ std::string Address::serializeString() const // windows XP doesnt have inet_ntop, maybe use better func #ifdef _WIN32 if (m_addr_family == AF_INET) { - u8 a, b, c, d; - u32 addr; - addr = ntohl(m_address.ipv4.sin_addr.s_addr); - a = (addr & 0xFF000000) >> 24; - b = (addr & 0x00FF0000) >> 16; - c = (addr & 0x0000FF00) >> 8; - d = (addr & 0x000000FF); - return itos(a) + "." + itos(b) + "." + itos(c) + "." + itos(d); + return inet_ntoa(m_address.ipv4); } else if (m_addr_family == AF_INET6) { std::ostringstream os; + os << std::hex; for (int i = 0; i < 16; i += 2) { - u16 section = (m_address.ipv6.sin6_addr.s6_addr[i] << 8) | - (m_address.ipv6.sin6_addr.s6_addr[i + 1]); - os << std::hex << section; + u16 section = (m_address.ipv6.s6_addr[i] << 8) | + (m_address.ipv6.s6_addr[i + 1]); + os << section; if (i < 14) os << ":"; } return os.str(); - } else - return std::string(""); + } else { + return ""; + } #else char str[INET6_ADDRSTRLEN]; - if (inet_ntop(m_addr_family, - (m_addr_family == AF_INET) - ? (void *)&(m_address.ipv4.sin_addr) - : (void *)&(m_address.ipv6.sin6_addr), - str, INET6_ADDRSTRLEN) == NULL) { - return std::string(""); - } - return std::string(str); + if (inet_ntop(m_addr_family, (void*) &m_address, str, sizeof(str)) == nullptr) + return ""; + return str; #endif } -struct sockaddr_in Address::getAddress() const +struct in_addr Address::getAddress() const { - return m_address.ipv4; // NOTE: NO PORT INCLUDED, use getPort() + return m_address.ipv4; } -struct sockaddr_in6 Address::getAddress6() const +struct in6_addr Address::getAddress6() const { - return m_address.ipv6; // NOTE: NO PORT INCLUDED, use getPort() + return m_address.ipv6; } u16 Address::getPort() const @@ -211,52 +190,39 @@ u16 Address::getPort() const return m_port; } -int Address::getFamily() const -{ - return m_addr_family; -} - -bool Address::isIPv6() const -{ - return m_addr_family == AF_INET6; -} - bool Address::isZero() const { if (m_addr_family == AF_INET) { - return m_address.ipv4.sin_addr.s_addr == 0; + return m_address.ipv4.s_addr == 0; } if (m_addr_family == AF_INET6) { static const char zero[16] = {0}; - return memcmp(m_address.ipv6.sin6_addr.s6_addr, zero, 16) == 0; + return memcmp(m_address.ipv6.s6_addr, zero, 16) == 0; } + return false; } void Address::setAddress(u32 address) { m_addr_family = AF_INET; - m_address.ipv4.sin_family = AF_INET; - m_address.ipv4.sin_addr.s_addr = htonl(address); + m_address.ipv4.s_addr = htonl(address); } void Address::setAddress(u8 a, u8 b, u8 c, u8 d) { - m_addr_family = AF_INET; - m_address.ipv4.sin_family = AF_INET; - u32 addr = htonl((a << 24) | (b << 16) | (c << 8) | d); - m_address.ipv4.sin_addr.s_addr = addr; + u32 addr = (a << 24) | (b << 16) | (c << 8) | d; + setAddress(addr); } void Address::setAddress(const IPv6AddressBytes *ipv6_bytes) { m_addr_family = AF_INET6; - m_address.ipv6.sin6_family = AF_INET6; if (ipv6_bytes) - memcpy(m_address.ipv6.sin6_addr.s6_addr, ipv6_bytes->bytes, 16); + memcpy(m_address.ipv6.s6_addr, ipv6_bytes->bytes, 16); else - memset(m_address.ipv6.sin6_addr.s6_addr, 0, 16); + memset(m_address.ipv6.s6_addr, 0, 16); } void Address::setPort(u16 port) @@ -268,23 +234,26 @@ void Address::print(std::ostream *s) const { if (m_addr_family == AF_INET6) *s << "[" << serializeString() << "]:" << m_port; - else + else if (m_addr_family == AF_INET) *s << serializeString() << ":" << m_port; + else + *s << "(undefined)"; } bool Address::isLocalhost() const { if (isIPv6()) { - static const unsigned char localhost_bytes[] = { + static const u8 localhost_bytes[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; - static const unsigned char mapped_ipv4_localhost[] = { + static const u8 mapped_ipv4_localhost[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff, 0x7f, 0, 0, 0}; - auto addr = m_address.ipv6.sin6_addr.s6_addr; + auto addr = m_address.ipv6.s6_addr; return memcmp(addr, localhost_bytes, 16) == 0 || memcmp(addr, mapped_ipv4_localhost, 13) == 0; } - return (m_address.ipv4.sin_addr.s_addr & 0xFF) == 0x7f; + auto addr = ntohl(m_address.ipv4.s_addr); + return (addr >> 24) == 0x7f; } diff --git a/src/network/address.h b/src/network/address.h index 4329c84a8..c2f5f2eef 100644 --- a/src/network/address.h +++ b/src/network/address.h @@ -36,9 +36,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes.h" #include "networkexceptions.h" -class IPv6AddressBytes +struct IPv6AddressBytes { -public: u8 bytes[16]; IPv6AddressBytes() { memset(bytes, 0, 16); } }; @@ -50,30 +49,34 @@ public: Address(u32 address, u16 port); Address(u8 a, u8 b, u8 c, u8 d, u16 port); Address(const IPv6AddressBytes *ipv6_bytes, u16 port); + bool operator==(const Address &address); - bool operator!=(const Address &address); + bool operator!=(const Address &address) { return !(*this == address); } + + struct in_addr getAddress() const; + struct in6_addr getAddress6() const; + u16 getPort() const; + int getFamily() const { return m_addr_family; } + bool isIPv6() const { return m_addr_family == AF_INET6; } + bool isZero() const; + void print(std::ostream *s) const; + std::string serializeString() const; + bool isLocalhost() const; + // Resolve() may throw ResolveError (address is unchanged in this case) void Resolve(const char *name); - struct sockaddr_in getAddress() const; - unsigned short getPort() const; + void setAddress(u32 address); void setAddress(u8 a, u8 b, u8 c, u8 d); void setAddress(const IPv6AddressBytes *ipv6_bytes); - struct sockaddr_in6 getAddress6() const; - int getFamily() const; - bool isIPv6() const; - bool isZero() const; - void setPort(unsigned short port); - void print(std::ostream *s) const; - std::string serializeString() const; - bool isLocalhost() const; + void setPort(u16 port); private: - unsigned int m_addr_family = 0; + unsigned short m_addr_family = 0; union { - struct sockaddr_in ipv4; - struct sockaddr_in6 ipv6; + struct in_addr ipv4; + struct in6_addr ipv6; } m_address; u16 m_port = 0; // Port is separate from sockaddr structures }; diff --git a/src/network/socket.cpp b/src/network/socket.cpp index 94a9f4180..0bb7ea234 100644 --- a/src/network/socket.cpp +++ b/src/network/socket.cpp @@ -23,14 +23,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include -#include -#include #include #include "util/string.h" #include "util/numeric.h" #include "constants.h" #include "debug.h" -#include "settings.h" #include "log.h" #ifdef _WIN32 @@ -42,9 +39,10 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #define LAST_SOCKET_ERR() WSAGetLastError() -typedef SOCKET socket_t; +#define SOCKET_ERR_STR(e) itos(e) typedef int socklen_t; #else +#include #include #include #include @@ -53,7 +51,7 @@ typedef int socklen_t; #include #include #define LAST_SOCKET_ERR() (errno) -typedef int socket_t; +#define SOCKET_ERR_STR(e) strerror(e) #endif // Set to true to enable verbose debug output @@ -113,7 +111,7 @@ bool UDPSocket::init(bool ipv6, bool noExceptions) } throw SocketException(std::string("Failed to create socket: error ") + - itos(LAST_SOCKET_ERR())); + SOCKET_ERR_STR(LAST_SOCKET_ERR())); } setTimeoutMs(0); @@ -153,40 +151,40 @@ void UDPSocket::Bind(Address addr) } if (addr.getFamily() != m_addr_family) { - static const char *errmsg = + const char *errmsg = "Socket and bind address families do not match"; errorstream << "Bind failed: " << errmsg << std::endl; throw SocketException(errmsg); } + int ret = 0; + if (m_addr_family == AF_INET6) { struct sockaddr_in6 address; memset(&address, 0, sizeof(address)); - address = addr.getAddress6(); address.sin6_family = AF_INET6; + address.sin6_addr = addr.getAddress6(); address.sin6_port = htons(addr.getPort()); - if (bind(m_handle, (const struct sockaddr *)&address, - sizeof(struct sockaddr_in6)) < 0) { - dstream << (int)m_handle << ": Bind failed: " << strerror(errno) - << std::endl; - throw SocketException("Failed to bind socket"); - } + ret = bind(m_handle, (const struct sockaddr *) &address, + sizeof(struct sockaddr_in6)); } else { struct sockaddr_in address; memset(&address, 0, sizeof(address)); - address = addr.getAddress(); address.sin_family = AF_INET; + address.sin_addr = addr.getAddress(); address.sin_port = htons(addr.getPort()); - if (bind(m_handle, (const struct sockaddr *)&address, - sizeof(struct sockaddr_in)) < 0) { - dstream << (int)m_handle << ": Bind failed: " << strerror(errno) - << std::endl; - throw SocketException("Failed to bind socket"); - } + ret = bind(m_handle, (const struct sockaddr *) &address, + sizeof(struct sockaddr_in)); + } + + if (ret < 0) { + dstream << (int)m_handle << ": Bind failed: " + << SOCKET_ERR_STR(LAST_SOCKET_ERR()) << std::endl; + throw SocketException("Failed to bind socket"); } } @@ -233,13 +231,19 @@ void UDPSocket::Send(const Address &destination, const void *data, int size) int sent; if (m_addr_family == AF_INET6) { - struct sockaddr_in6 address = destination.getAddress6(); + struct sockaddr_in6 address = {0}; + address.sin6_family = AF_INET6; + address.sin6_addr = destination.getAddress6(); address.sin6_port = htons(destination.getPort()); + sent = sendto(m_handle, (const char *)data, size, 0, (struct sockaddr *)&address, sizeof(struct sockaddr_in6)); } else { - struct sockaddr_in address = destination.getAddress(); + struct sockaddr_in address = {0}; + address.sin_family = AF_INET; + address.sin_addr = destination.getAddress(); address.sin_port = htons(destination.getPort()); + sent = sendto(m_handle, (const char *)data, size, 0, (struct sockaddr *)&address, sizeof(struct sockaddr_in)); } @@ -267,9 +271,9 @@ int UDPSocket::Receive(Address &sender, void *data, int size) return -1; u16 address_port = ntohs(address.sin6_port); - IPv6AddressBytes bytes; - memcpy(bytes.bytes, address.sin6_addr.s6_addr, 16); - sender = Address(&bytes, address_port); + const auto *bytes = reinterpret_cast + (address.sin6_addr.s6_addr); + sender = Address(bytes, address_port); } else { struct sockaddr_in address; memset(&address, 0, sizeof(address)); @@ -341,7 +345,12 @@ bool UDPSocket::WaitData(int timeout_ms) if (result == 0) return false; - if (result < 0 && (errno == EINTR || errno == EBADF)) { + int e = LAST_SOCKET_ERR(); +#ifdef _WIN32 + if (result < 0 && (e == WSAEINTR || e == WSAEBADF)) { +#else + if (result < 0 && (e == EINTR || e == EBADF)) { +#endif // N.B. select() fails when sockets are destroyed on Connection's dtor // with EBADF. Instead of doing tricky synchronization, allow this // thread to exit but don't throw an exception. @@ -349,18 +358,9 @@ bool UDPSocket::WaitData(int timeout_ms) } if (result < 0) { - dstream << m_handle << ": Select failed: " << strerror(errno) + dstream << (int)m_handle << ": Select failed: " << SOCKET_ERR_STR(e) << std::endl; -#ifdef _WIN32 - int e = WSAGetLastError(); - dstream << (int)m_handle << ": WSAGetLastError()=" << e << std::endl; - if (e == 10004 /* WSAEINTR */ || e == 10009 /* WSAEBADF */) { - infostream << "Ignoring WSAEINTR/WSAEBADF." << std::endl; - return false; - } -#endif - throw SocketException("Select failed"); } else if (!FD_ISSET(m_handle, &readset)) { // No data diff --git a/src/network/socket.h b/src/network/socket.h index e0e76f4c2..d34186b44 100644 --- a/src/network/socket.h +++ b/src/network/socket.h @@ -19,18 +19,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#ifdef _WIN32 -#ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0501 -#endif -#include -#include -#include -#else -#include -#include -#endif - #include #include #include "address.h" @@ -53,8 +41,6 @@ public: bool init(bool ipv6, bool noExceptions = false); - // void Close(); - // bool IsOpen(); void Send(const Address &destination, const void *data, int size); // Returns -1 if there is no data int Receive(Address &sender, void *data, int size); diff --git a/src/server.cpp b/src/server.cpp index c175cbcd2..a910185b9 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -507,8 +507,9 @@ void Server::start() << " \\/ \\/ \\/ \\/ \\/ " << std::endl; actionstream << "World at [" << m_path_world << "]" << std::endl; actionstream << "Server for gameid=\"" << m_gamespec.id - << "\" listening on " << m_bind_addr.serializeString() << ":" - << m_bind_addr.getPort() << "." << std::endl; + << "\" listening on "; + m_bind_addr.print(&actionstream); + actionstream << "." << std::endl; } void Server::stop() diff --git a/src/unittest/test_socket.cpp b/src/unittest/test_socket.cpp index 6d5cf334d..620021b59 100644 --- a/src/unittest/test_socket.cpp +++ b/src/unittest/test_socket.cpp @@ -97,11 +97,11 @@ void TestSocket::testIPv4Socket() UASSERT(strncmp(sendbuffer, rcvbuffer, sizeof(sendbuffer)) == 0); if (address != Address(0, 0, 0, 0, port)) { - UASSERT(sender.getAddress().sin_addr.s_addr == - address.getAddress().sin_addr.s_addr); + UASSERT(sender.getAddress().s_addr == + address.getAddress().s_addr); } else { - UASSERT(sender.getAddress().sin_addr.s_addr == - Address(127, 0, 0, 1, 0).getAddress().sin_addr.s_addr); + UASSERT(sender.getAddress().s_addr == + Address(127, 0, 0, 1, 0).getAddress().s_addr); } } @@ -128,7 +128,7 @@ void TestSocket::testIPv6Socket() socket6.Bind(address6); - try { + { socket6.Send(Address(&bytes, port), sendbuffer, sizeof(sendbuffer)); sleep_ms(50); @@ -142,10 +142,8 @@ void TestSocket::testIPv6Socket() } //FIXME: This fails on some systems UASSERT(strncmp(sendbuffer, rcvbuffer, sizeof(sendbuffer)) == 0); - UASSERT(memcmp(sender.getAddress6().sin6_addr.s6_addr, - Address(&bytes, 0).getAddress6().sin6_addr.s6_addr, 16) == 0); - } catch (SendFailedException &e) { - errorstream << "IPv6 support enabled but not available!" - << std::endl; + + UASSERT(memcmp(sender.getAddress6().s6_addr, + Address(&bytes, 0).getAddress6().s6_addr, 16) == 0); } } -- cgit v1.2.3 From 14c7fae378fc40f88d3c430dea2cb726afc005b1 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 29 Dec 2021 23:58:26 +0100 Subject: Formspec: Unify argument checks (#11851) --- src/gui/guiFormSpecMenu.cpp | 2152 +++++++++++++++++++++---------------------- src/gui/guiFormSpecMenu.h | 2 + 2 files changed, 1043 insertions(+), 1111 deletions(-) diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 1ce55673d..dfeea12db 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -81,6 +81,13 @@ with this program; if not, write to the Free Software Foundation, Inc., " specified: \"" << parts[b] << "\"" << std::endl; \ return; \ } + +#define MY_CHECKCLIENT(a) \ + if (!m_client) { \ + errorstream << "Attempted to use element " << a << " with m_client == nullptr." << std::endl; \ + return; \ + } + /* GUIFormSpecMenu */ @@ -294,8 +301,20 @@ v2s32 GUIFormSpecMenu::getRealCoordinateGeometry(const std::vector return v2s32(stof(v_geom[0]) * imgsize.X, stof(v_geom[1]) * imgsize.Y); } +bool GUIFormSpecMenu::precheckElement(const std::string &name, const std::string &element, + size_t args_min, size_t args_max, std::vector &parts) +{ + parts = split(element, ';'); + if (parts.size() >= args_min && (parts.size() <= args_max || m_formspec_version > FORMSPEC_API_VERSION)) + return true; + + errorstream << "Invalid " << name << " element(" << parts.size() << "): '" << element << "'" << std::endl; + return false; +} + void GUIFormSpecMenu::parseSize(parserData* data, const std::string &element) { + // Note: do not use precheckElement due to "," separator. std::vector parts = split(element,','); if (((parts.size() == 2) || parts.size() == 3) || @@ -349,14 +368,9 @@ void GUIFormSpecMenu::parseContainerEnd(parserData* data) void GUIFormSpecMenu::parseScrollContainer(parserData *data, const std::string &element) { - std::vector parts = split(element, ';'); - - if (parts.size() < 4 || - (parts.size() > 5 && m_formspec_version <= FORMSPEC_API_VERSION)) { - errorstream << "Invalid scroll_container start element (" << parts.size() - << "): '" << element << "'" << std::endl; + std::vector parts; + if (!precheckElement("scroll_container start", element, 4, 5, parts)) return; - } std::vector v_pos = split(parts[0], ','); std::vector v_geom = split(parts[1], ','); @@ -445,105 +459,95 @@ void GUIFormSpecMenu::parseScrollContainerEnd(parserData *data) void GUIFormSpecMenu::parseList(parserData *data, const std::string &element) { - if (m_client == 0) { - warningstream<<"invalid use of 'list' with m_client==0"< parts = split(element,';'); + std::vector parts; + if (!precheckElement("list", element, 4, 5, parts)) + return; - if (((parts.size() == 4) || (parts.size() == 5)) || - ((parts.size() > 5) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::string location = parts[0]; - std::string listname = parts[1]; - std::vector v_pos = split(parts[2],','); - std::vector v_geom = split(parts[3],','); - std::string startindex; - if (parts.size() == 5) - startindex = parts[4]; + std::string location = parts[0]; + std::string listname = parts[1]; + std::vector v_pos = split(parts[2],','); + std::vector v_geom = split(parts[3],','); + std::string startindex; + if (parts.size() == 5) + startindex = parts[4]; - MY_CHECKPOS("list",2); - MY_CHECKGEOM("list",3); + MY_CHECKPOS("list",2); + MY_CHECKGEOM("list",3); - InventoryLocation loc; + InventoryLocation loc; - if (location == "context" || location == "current_name") - loc = m_current_inventory_location; - else - loc.deSerialize(location); + if (location == "context" || location == "current_name") + loc = m_current_inventory_location; + else + loc.deSerialize(location); - v2s32 geom; - geom.X = stoi(v_geom[0]); - geom.Y = stoi(v_geom[1]); + v2s32 geom; + geom.X = stoi(v_geom[0]); + geom.Y = stoi(v_geom[1]); - s32 start_i = 0; - if (!startindex.empty()) - start_i = stoi(startindex); + s32 start_i = 0; + if (!startindex.empty()) + start_i = stoi(startindex); - if (geom.X < 0 || geom.Y < 0 || start_i < 0) { - errorstream << "Invalid list element: '" << element << "'" << std::endl; - return; - } + if (geom.X < 0 || geom.Y < 0 || start_i < 0) { + errorstream << "Invalid list element: '" << element << "'" << std::endl; + return; + } - if (!data->explicit_size) - warningstream << "invalid use of list without a size[] element" << std::endl; + if (!data->explicit_size) + warningstream << "invalid use of list without a size[] element" << std::endl; - FieldSpec spec( - "", - L"", - L"", - 258 + m_fields.size(), - 3 - ); + FieldSpec spec( + "", + L"", + L"", + 258 + m_fields.size(), + 3 + ); - auto style = getDefaultStyleForElement("list", spec.fname); + auto style = getDefaultStyleForElement("list", spec.fname); - v2f32 slot_scale = style.getVector2f(StyleSpec::SIZE, v2f32(0, 0)); - v2f32 slot_size( - slot_scale.X <= 0 ? imgsize.X : std::max(slot_scale.X * imgsize.X, 1), - slot_scale.Y <= 0 ? imgsize.Y : std::max(slot_scale.Y * imgsize.Y, 1) - ); + v2f32 slot_scale = style.getVector2f(StyleSpec::SIZE, v2f32(0, 0)); + v2f32 slot_size( + slot_scale.X <= 0 ? imgsize.X : std::max(slot_scale.X * imgsize.X, 1), + slot_scale.Y <= 0 ? imgsize.Y : std::max(slot_scale.Y * imgsize.Y, 1) + ); - v2f32 slot_spacing = style.getVector2f(StyleSpec::SPACING, v2f32(-1, -1)); - v2f32 default_spacing = data->real_coordinates ? - v2f32(imgsize.X * 0.25f, imgsize.Y * 0.25f) : - v2f32(spacing.X - imgsize.X, spacing.Y - imgsize.Y); + v2f32 slot_spacing = style.getVector2f(StyleSpec::SPACING, v2f32(-1, -1)); + v2f32 default_spacing = data->real_coordinates ? + v2f32(imgsize.X * 0.25f, imgsize.Y * 0.25f) : + v2f32(spacing.X - imgsize.X, spacing.Y - imgsize.Y); - slot_spacing.X = slot_spacing.X < 0 ? default_spacing.X : - imgsize.X * slot_spacing.X; - slot_spacing.Y = slot_spacing.Y < 0 ? default_spacing.Y : - imgsize.Y * slot_spacing.Y; + slot_spacing.X = slot_spacing.X < 0 ? default_spacing.X : + imgsize.X * slot_spacing.X; + slot_spacing.Y = slot_spacing.Y < 0 ? default_spacing.Y : + imgsize.Y * slot_spacing.Y; - slot_spacing += slot_size; + slot_spacing += slot_size; - v2s32 pos = data->real_coordinates ? getRealCoordinateBasePos(v_pos) : - getElementBasePos(&v_pos); + v2s32 pos = data->real_coordinates ? getRealCoordinateBasePos(v_pos) : + getElementBasePos(&v_pos); - core::rect rect = core::rect(pos.X, pos.Y, - pos.X + (geom.X - 1) * slot_spacing.X + slot_size.X, - pos.Y + (geom.Y - 1) * slot_spacing.Y + slot_size.Y); + core::rect rect = core::rect(pos.X, pos.Y, + pos.X + (geom.X - 1) * slot_spacing.X + slot_size.X, + pos.Y + (geom.Y - 1) * slot_spacing.Y + slot_size.Y); - GUIInventoryList *e = new GUIInventoryList(Environment, data->current_parent, - spec.fid, rect, m_invmgr, loc, listname, geom, start_i, - v2s32(slot_size.X, slot_size.Y), slot_spacing, this, - data->inventorylist_options, m_font); + GUIInventoryList *e = new GUIInventoryList(Environment, data->current_parent, + spec.fid, rect, m_invmgr, loc, listname, geom, start_i, + v2s32(slot_size.X, slot_size.Y), slot_spacing, this, + data->inventorylist_options, m_font); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - m_inventorylists.push_back(e); - m_fields.push_back(spec); - return; - } - errorstream<< "Invalid list element(" << parts.size() << "): '" << element << "'" << std::endl; + m_inventorylists.push_back(e); + m_fields.push_back(spec); } void GUIFormSpecMenu::parseListRing(parserData *data, const std::string &element) { - if (m_client == 0) { - errorstream << "WARNING: invalid use of 'listring' with m_client==0" << std::endl; - return; - } + MY_CHECKCLIENT("listring"); std::vector parts = split(element, ';'); @@ -578,157 +582,150 @@ void GUIFormSpecMenu::parseListRing(parserData *data, const std::string &element void GUIFormSpecMenu::parseCheckbox(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); - - if (((parts.size() >= 3) && (parts.size() <= 4)) || - ((parts.size() > 4) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::string name = parts[1]; - std::string label = parts[2]; - std::string selected; + std::vector parts; + if (!precheckElement("checkbox", element, 3, 4, parts)) + return; - if (parts.size() >= 4) - selected = parts[3]; + std::vector v_pos = split(parts[0],','); + std::string name = parts[1]; + std::string label = parts[2]; + std::string selected; - MY_CHECKPOS("checkbox",0); + if (parts.size() >= 4) + selected = parts[3]; - bool fselected = false; + MY_CHECKPOS("checkbox",0); - if (selected == "true") - fselected = true; + bool fselected = false; - std::wstring wlabel = translate_string(utf8_to_wide(unescape_string(label))); - const core::dimension2d label_size = m_font->getDimension(wlabel.c_str()); - s32 cb_size = Environment->getSkin()->getSize(gui::EGDS_CHECK_BOX_WIDTH); - s32 y_center = (std::max(label_size.Height, (u32)cb_size) + 1) / 2; + if (selected == "true") + fselected = true; - v2s32 pos; - core::rect rect; + std::wstring wlabel = translate_string(utf8_to_wide(unescape_string(label))); + const core::dimension2d label_size = m_font->getDimension(wlabel.c_str()); + s32 cb_size = Environment->getSkin()->getSize(gui::EGDS_CHECK_BOX_WIDTH); + s32 y_center = (std::max(label_size.Height, (u32)cb_size) + 1) / 2; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); + v2s32 pos; + core::rect rect; - rect = core::rect( - pos.X, - pos.Y - y_center, - pos.X + label_size.Width + cb_size + 7, - pos.Y + y_center - ); - } else { - pos = getElementBasePos(&v_pos); - rect = core::rect( - pos.X, - pos.Y + imgsize.Y / 2 - y_center, - pos.X + label_size.Width + cb_size + 7, - pos.Y + imgsize.Y / 2 + y_center - ); - } + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); - FieldSpec spec( - name, - wlabel, //Needed for displaying text on MSVC - wlabel, - 258+m_fields.size() + rect = core::rect( + pos.X, + pos.Y - y_center, + pos.X + label_size.Width + cb_size + 7, + pos.Y + y_center ); + } else { + pos = getElementBasePos(&v_pos); + rect = core::rect( + pos.X, + pos.Y + imgsize.Y / 2 - y_center, + pos.X + label_size.Width + cb_size + 7, + pos.Y + imgsize.Y / 2 + y_center + ); + } - spec.ftype = f_CheckBox; + FieldSpec spec( + name, + wlabel, //Needed for displaying text on MSVC + wlabel, + 258+m_fields.size() + ); - gui::IGUICheckBox *e = Environment->addCheckBox(fselected, rect, - data->current_parent, spec.fid, spec.flabel.c_str()); + spec.ftype = f_CheckBox; - auto style = getDefaultStyleForElement("checkbox", name); + gui::IGUICheckBox *e = Environment->addCheckBox(fselected, rect, + data->current_parent, spec.fid, spec.flabel.c_str()); - spec.sound = style.get(StyleSpec::Property::SOUND, ""); + auto style = getDefaultStyleForElement("checkbox", name); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + spec.sound = style.get(StyleSpec::Property::SOUND, ""); - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->grab(); - m_checkboxes.emplace_back(spec, e); - m_fields.push_back(spec); - return; + if (spec.fname == m_focused_element) { + Environment->setFocus(e); } - errorstream<< "Invalid checkbox element(" << parts.size() << "): '" << element << "'" << std::endl; + + e->grab(); + m_checkboxes.emplace_back(spec, e); + m_fields.push_back(spec); } void GUIFormSpecMenu::parseScrollBar(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); - - if (parts.size() >= 5) { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = parts[3]; - std::string value = parts[4]; + std::vector parts; + if (!precheckElement("scrollbar", element, 5, 5, parts)) + return; - MY_CHECKPOS("scrollbar",0); - MY_CHECKGEOM("scrollbar",1); + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = parts[3]; + std::string value = parts[4]; - v2s32 pos; - v2s32 dim; + MY_CHECKPOS("scrollbar",0); + MY_CHECKGEOM("scrollbar",1); - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - dim = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - dim.X = stof(v_geom[0]) * spacing.X; - dim.Y = stof(v_geom[1]) * spacing.Y; - } + v2s32 pos; + v2s32 dim; - core::rect rect = - core::rect(pos.X, pos.Y, pos.X + dim.X, pos.Y + dim.Y); + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + dim = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + dim.X = stof(v_geom[0]) * spacing.X; + dim.Y = stof(v_geom[1]) * spacing.Y; + } - FieldSpec spec( - name, - L"", - L"", - 258+m_fields.size() - ); + core::rect rect = + core::rect(pos.X, pos.Y, pos.X + dim.X, pos.Y + dim.Y); - bool is_horizontal = true; + FieldSpec spec( + name, + L"", + L"", + 258+m_fields.size() + ); - if (parts[2] == "vertical") - is_horizontal = false; + bool is_horizontal = true; - spec.ftype = f_ScrollBar; - spec.send = true; - GUIScrollBar *e = new GUIScrollBar(Environment, data->current_parent, - spec.fid, rect, is_horizontal, true); + if (parts[2] == "vertical") + is_horizontal = false; - auto style = getDefaultStyleForElement("scrollbar", name); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->setArrowsVisible(data->scrollbar_options.arrow_visiblity); + spec.ftype = f_ScrollBar; + spec.send = true; + GUIScrollBar *e = new GUIScrollBar(Environment, data->current_parent, + spec.fid, rect, is_horizontal, true); - s32 max = data->scrollbar_options.max; - s32 min = data->scrollbar_options.min; + auto style = getDefaultStyleForElement("scrollbar", name); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setArrowsVisible(data->scrollbar_options.arrow_visiblity); - e->setMax(max); - e->setMin(min); + s32 max = data->scrollbar_options.max; + s32 min = data->scrollbar_options.min; - e->setPos(stoi(parts[4])); + e->setMax(max); + e->setMin(min); - e->setSmallStep(data->scrollbar_options.small_step); - e->setLargeStep(data->scrollbar_options.large_step); + e->setPos(stoi(parts[4])); - s32 scrollbar_size = is_horizontal ? dim.X : dim.Y; + e->setSmallStep(data->scrollbar_options.small_step); + e->setLargeStep(data->scrollbar_options.large_step); - e->setPageSize(scrollbar_size * (max - min + 1) / data->scrollbar_options.thumb_size); + s32 scrollbar_size = is_horizontal ? dim.X : dim.Y; - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + e->setPageSize(scrollbar_size * (max - min + 1) / data->scrollbar_options.thumb_size); - m_scrollbars.emplace_back(spec,e); - m_fields.push_back(spec); - return; + if (spec.fname == m_focused_element) { + Environment->setFocus(e); } - errorstream << "Invalid scrollbar element(" << parts.size() << "): '" << element - << "'" << std::endl; + + m_scrollbars.emplace_back(spec,e); + m_fields.push_back(spec); } void GUIFormSpecMenu::parseScrollBarOptions(parserData* data, const std::string &element) @@ -786,11 +783,11 @@ void GUIFormSpecMenu::parseScrollBarOptions(parserData* data, const std::string void GUIFormSpecMenu::parseImage(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("image", element, 2, 3, parts)) + return; - if ((parts.size() == 3) || - ((parts.size() > 3) && (m_formspec_version > FORMSPEC_API_VERSION))) - { + if (parts.size() >= 3) { std::vector v_pos = split(parts[0],','); std::vector v_geom = split(parts[1],','); std::string name = unescape_string(parts[2]); @@ -842,54 +839,47 @@ void GUIFormSpecMenu::parseImage(parserData* data, const std::string &element) return; } - if (parts.size() == 2) { - std::vector v_pos = split(parts[0],','); - std::string name = unescape_string(parts[1]); - - MY_CHECKPOS("image", 0); + // Else: 2 arguments in "parts" - v2s32 pos = getElementBasePos(&v_pos); + std::vector v_pos = split(parts[0],','); + std::string name = unescape_string(parts[1]); - if (!data->explicit_size) - warningstream<<"invalid use of image without a size[] element"<getTexture(name); - if (!texture) { - errorstream << "GUIFormSpecMenu::parseImage() Unable to load texture:" - << std::endl << "\t" << name << std::endl; - return; - } + v2s32 pos = getElementBasePos(&v_pos); - FieldSpec spec( - name, - L"", - L"", - 258 + m_fields.size() - ); - gui::IGUIImage *e = Environment->addImage(texture, pos, true, - data->current_parent, spec.fid, 0); - auto style = getDefaultStyleForElement("image", spec.fname); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, m_formspec_version < 3)); - m_fields.push_back(spec); + if (!data->explicit_size) + warningstream<<"invalid use of image without a size[] element"<grab(); - m_clickthrough_elements.push_back(e); + video::ITexture *texture = m_tsrc->getTexture(name); + if (!texture) { + errorstream << "GUIFormSpecMenu::parseImage() Unable to load texture:" + << std::endl << "\t" << name << std::endl; return; } - errorstream<< "Invalid image element(" << parts.size() << "): '" << element << "'" << std::endl; + + FieldSpec spec( + name, + L"", + L"", + 258 + m_fields.size() + ); + gui::IGUIImage *e = Environment->addImage(texture, pos, true, + data->current_parent, spec.fid, 0); + auto style = getDefaultStyleForElement("image", spec.fname); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, m_formspec_version < 3)); + m_fields.push_back(spec); + + // images should let events through + e->grab(); + m_clickthrough_elements.push_back(e); } void GUIFormSpecMenu::parseAnimatedImage(parserData *data, const std::string &element) { - std::vector parts = split(element, ';'); - - if (parts.size() != 6 && parts.size() != 7 && - !(parts.size() > 7 && m_formspec_version > FORMSPEC_API_VERSION)) { - errorstream << "Invalid animated_image element(" << parts.size() - << "): '" << element << "'" << std::endl; + std::vector parts; + if (!precheckElement("animated_image", element, 6, 7, parts)) return; - } std::vector v_pos = split(parts[0], ','); std::vector v_geom = split(parts[1], ','); @@ -944,218 +934,207 @@ void GUIFormSpecMenu::parseAnimatedImage(parserData *data, const std::string &el void GUIFormSpecMenu::parseItemImage(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("item_image", element, 3, 3, parts)) + return; - if ((parts.size() == 3) || - ((parts.size() > 3) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = parts[2]; + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = parts[2]; - MY_CHECKPOS("itemimage",0); - MY_CHECKGEOM("itemimage",1); + MY_CHECKPOS("item_image",0); + MY_CHECKGEOM("item_image",1); - v2s32 pos; - v2s32 geom; + v2s32 pos; + v2s32 geom; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - geom.X = stof(v_geom[0]) * (float)imgsize.X; - geom.Y = stof(v_geom[1]) * (float)imgsize.Y; - } + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + geom.X = stof(v_geom[0]) * (float)imgsize.X; + geom.Y = stof(v_geom[1]) * (float)imgsize.Y; + } - if(!data->explicit_size) - warningstream<<"invalid use of item_image without a size[] element"<explicit_size) + warningstream<<"invalid use of item_image without a size[] element"<current_parent, spec.fid, - core::rect(pos, pos + geom), name, m_font, m_client); - auto style = getDefaultStyleForElement("item_image", spec.fname); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + GUIItemImage *e = new GUIItemImage(Environment, data->current_parent, spec.fid, + core::rect(pos, pos + geom), name, m_font, m_client); + auto style = getDefaultStyleForElement("item_image", spec.fname); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - // item images should let events through - m_clickthrough_elements.push_back(e); + // item images should let events through + m_clickthrough_elements.push_back(e); - m_fields.push_back(spec); - return; - } - errorstream<< "Invalid ItemImage element(" << parts.size() << "): '" << element << "'" << std::endl; + m_fields.push_back(spec); } void GUIFormSpecMenu::parseButton(parserData* data, const std::string &element, const std::string &type) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("button", element, 4, 4, parts)) + return; - if ((parts.size() == 4) || - ((parts.size() > 4) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = parts[2]; - std::string label = parts[3]; + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = parts[2]; + std::string label = parts[3]; - MY_CHECKPOS("button",0); - MY_CHECKGEOM("button",1); + MY_CHECKPOS("button",0); + MY_CHECKGEOM("button",1); - v2s32 pos; - v2s32 geom; - core::rect rect; + v2s32 pos; + v2s32 geom; + core::rect rect; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - rect = core::rect(pos.X, pos.Y, pos.X+geom.X, - pos.Y+geom.Y); - } else { - pos = getElementBasePos(&v_pos); - geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); - pos.Y += (stof(v_geom[1]) * (float)imgsize.Y)/2; + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + rect = core::rect(pos.X, pos.Y, pos.X+geom.X, + pos.Y+geom.Y); + } else { + pos = getElementBasePos(&v_pos); + geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); + pos.Y += (stof(v_geom[1]) * (float)imgsize.Y)/2; - rect = core::rect(pos.X, pos.Y - m_btn_height, - pos.X + geom.X, pos.Y + m_btn_height); - } + rect = core::rect(pos.X, pos.Y - m_btn_height, + pos.X + geom.X, pos.Y + m_btn_height); + } - if(!data->explicit_size) - warningstream<<"invalid use of button without a size[] element"<explicit_size) + warningstream<<"invalid use of button without a size[] element"<current_parent, spec.fid, spec.flabel.c_str()); + FieldSpec spec( + name, + wlabel, + L"", + 258 + m_fields.size() + ); + spec.ftype = f_Button; + if(type == "button_exit") + spec.is_exit = true; - auto style = getStyleForElement(type, name, (type != "button") ? "button" : ""); + GUIButton *e = GUIButton::addButton(Environment, rect, m_tsrc, + data->current_parent, spec.fid, spec.flabel.c_str()); - spec.sound = style[StyleSpec::STATE_DEFAULT].get(StyleSpec::Property::SOUND, ""); + auto style = getStyleForElement(type, name, (type != "button") ? "button" : ""); - e->setStyles(style); + spec.sound = style[StyleSpec::STATE_DEFAULT].get(StyleSpec::Property::SOUND, ""); - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + e->setStyles(style); - m_fields.push_back(spec); - return; + if (spec.fname == m_focused_element) { + Environment->setFocus(e); } - errorstream<< "Invalid button element(" << parts.size() << "): '" << element << "'" << std::endl; + + m_fields.push_back(spec); } void GUIFormSpecMenu::parseBackground(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("background", element, 3, 5, parts)) + return; - if ((parts.size() >= 3 && parts.size() <= 5) || - (parts.size() > 5 && m_formspec_version > FORMSPEC_API_VERSION)) { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = unescape_string(parts[2]); + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = unescape_string(parts[2]); - MY_CHECKPOS("background",0); - MY_CHECKGEOM("background",1); + MY_CHECKPOS("background",0); + MY_CHECKGEOM("background",1); - v2s32 pos; - v2s32 geom; + v2s32 pos; + v2s32 geom; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - pos.X -= (spacing.X - (float)imgsize.X) / 2; - pos.Y -= (spacing.Y - (float)imgsize.Y) / 2; + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + pos.X -= (spacing.X - (float)imgsize.X) / 2; + pos.Y -= (spacing.Y - (float)imgsize.Y) / 2; - geom.X = stof(v_geom[0]) * spacing.X; - geom.Y = stof(v_geom[1]) * spacing.Y; - } + geom.X = stof(v_geom[0]) * spacing.X; + geom.Y = stof(v_geom[1]) * spacing.Y; + } - bool clip = false; - if (parts.size() >= 4 && is_yes(parts[3])) { - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos) * -1; - geom = v2s32(0, 0); - } else { - pos.X = stoi(v_pos[0]); //acts as offset - pos.Y = stoi(v_pos[1]); - } - clip = true; + bool clip = false; + if (parts.size() >= 4 && is_yes(parts[3])) { + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos) * -1; + geom = v2s32(0, 0); + } else { + pos.X = stoi(v_pos[0]); //acts as offset + pos.Y = stoi(v_pos[1]); } + clip = true; + } - core::rect middle; - if (parts.size() >= 5) { - std::vector v_middle = split(parts[4], ','); - if (v_middle.size() == 1) { - s32 x = stoi(v_middle[0]); - middle.UpperLeftCorner = core::vector2di(x, x); - middle.LowerRightCorner = core::vector2di(-x, -x); - } else if (v_middle.size() == 2) { - s32 x = stoi(v_middle[0]); - s32 y = stoi(v_middle[1]); - middle.UpperLeftCorner = core::vector2di(x, y); - middle.LowerRightCorner = core::vector2di(-x, -y); - // `-x` is interpreted as `w - x` - } else if (v_middle.size() == 4) { - middle.UpperLeftCorner = core::vector2di(stoi(v_middle[0]), stoi(v_middle[1])); - middle.LowerRightCorner = core::vector2di(stoi(v_middle[2]), stoi(v_middle[3])); - } else { - warningstream << "Invalid rectangle given to middle param of background[] element" << std::endl; - } + core::rect middle; + if (parts.size() >= 5) { + std::vector v_middle = split(parts[4], ','); + if (v_middle.size() == 1) { + s32 x = stoi(v_middle[0]); + middle.UpperLeftCorner = core::vector2di(x, x); + middle.LowerRightCorner = core::vector2di(-x, -x); + } else if (v_middle.size() == 2) { + s32 x = stoi(v_middle[0]); + s32 y = stoi(v_middle[1]); + middle.UpperLeftCorner = core::vector2di(x, y); + middle.LowerRightCorner = core::vector2di(-x, -y); + // `-x` is interpreted as `w - x` + } else if (v_middle.size() == 4) { + middle.UpperLeftCorner = core::vector2di(stoi(v_middle[0]), stoi(v_middle[1])); + middle.LowerRightCorner = core::vector2di(stoi(v_middle[2]), stoi(v_middle[3])); + } else { + warningstream << "Invalid rectangle given to middle param of background[] element" << std::endl; } + } - if (!data->explicit_size && !clip) - warningstream << "invalid use of unclipped background without a size[] element" << std::endl; + if (!data->explicit_size && !clip) + warningstream << "invalid use of unclipped background without a size[] element" << std::endl; - FieldSpec spec( - name, - L"", - L"", - 258 + m_fields.size() - ); + FieldSpec spec( + name, + L"", + L"", + 258 + m_fields.size() + ); - core::rect rect; - if (!clip) { - // no auto_clip => position like normal image - rect = core::rect(pos, pos + geom); - } else { - // it will be auto-clipped when drawing - rect = core::rect(-pos, pos); - } + core::rect rect; + if (!clip) { + // no auto_clip => position like normal image + rect = core::rect(pos, pos + geom); + } else { + // it will be auto-clipped when drawing + rect = core::rect(-pos, pos); + } - GUIBackgroundImage *e = new GUIBackgroundImage(Environment, this, spec.fid, - rect, name, middle, m_tsrc, clip); + GUIBackgroundImage *e = new GUIBackgroundImage(Environment, this, spec.fid, + rect, name, middle, m_tsrc, clip); - FATAL_ERROR_IF(!e, "Failed to create background formspec element"); + FATAL_ERROR_IF(!e, "Failed to create background formspec element"); - e->setNotClipped(true); + e->setNotClipped(true); - e->setVisible(false); // the element is drawn manually before all others + e->setVisible(false); // the element is drawn manually before all others - m_backgrounds.push_back(e); - m_fields.push_back(spec); - return; - } - errorstream<< "Invalid background element(" << parts.size() << "): '" << element << "'" << std::endl; + m_backgrounds.push_back(e); + m_fields.push_back(spec); } void GUIFormSpecMenu::parseTableOptions(parserData* data, const std::string &element) @@ -1192,338 +1171,320 @@ void GUIFormSpecMenu::parseTableColumns(parserData* data, const std::string &ele void GUIFormSpecMenu::parseTable(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("table", element, 4, 5, parts)) + return; - if (((parts.size() == 4) || (parts.size() == 5)) || - ((parts.size() > 5) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = parts[2]; - std::vector items = split(parts[3],','); - std::string str_initial_selection; - std::string str_transparent = "false"; + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = parts[2]; + std::vector items = split(parts[3],','); + std::string str_initial_selection; + std::string str_transparent = "false"; - if (parts.size() >= 5) - str_initial_selection = parts[4]; + if (parts.size() >= 5) + str_initial_selection = parts[4]; - MY_CHECKPOS("table",0); - MY_CHECKGEOM("table",1); + MY_CHECKPOS("table",0); + MY_CHECKGEOM("table",1); - v2s32 pos; - v2s32 geom; + v2s32 pos; + v2s32 geom; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - geom.X = stof(v_geom[0]) * spacing.X; - geom.Y = stof(v_geom[1]) * spacing.Y; - } + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + geom.X = stof(v_geom[0]) * spacing.X; + geom.Y = stof(v_geom[1]) * spacing.Y; + } - core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); + core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); - FieldSpec spec( - name, - L"", - L"", - 258 + m_fields.size() - ); + FieldSpec spec( + name, + L"", + L"", + 258 + m_fields.size() + ); - spec.ftype = f_Table; + spec.ftype = f_Table; - for (std::string &item : items) { - item = wide_to_utf8(unescape_translate(utf8_to_wide(unescape_string(item)))); - } + for (std::string &item : items) { + item = wide_to_utf8(unescape_translate(utf8_to_wide(unescape_string(item)))); + } - //now really show table - GUITable *e = new GUITable(Environment, data->current_parent, spec.fid, - rect, m_tsrc); + //now really show table + GUITable *e = new GUITable(Environment, data->current_parent, spec.fid, + rect, m_tsrc); - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + if (spec.fname == m_focused_element) { + Environment->setFocus(e); + } - e->setTable(data->table_options, data->table_columns, items); + e->setTable(data->table_options, data->table_columns, items); - if (data->table_dyndata.find(name) != data->table_dyndata.end()) { - e->setDynamicData(data->table_dyndata[name]); - } + if (data->table_dyndata.find(name) != data->table_dyndata.end()) { + e->setDynamicData(data->table_dyndata[name]); + } - if (!str_initial_selection.empty() && str_initial_selection != "0") - e->setSelected(stoi(str_initial_selection)); + if (!str_initial_selection.empty() && str_initial_selection != "0") + e->setSelected(stoi(str_initial_selection)); - auto style = getDefaultStyleForElement("table", name); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->setOverrideFont(style.getFont()); + auto style = getDefaultStyleForElement("table", name); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setOverrideFont(style.getFont()); - m_tables.emplace_back(spec, e); - m_fields.push_back(spec); - return; - } - errorstream<< "Invalid table element(" << parts.size() << "): '" << element << "'" << std::endl; + m_tables.emplace_back(spec, e); + m_fields.push_back(spec); } void GUIFormSpecMenu::parseTextList(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("textlist", element, 4, 6, parts)) + return; - if (((parts.size() == 4) || (parts.size() == 5) || (parts.size() == 6)) || - ((parts.size() > 6) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = parts[2]; - std::vector items = split(parts[3],','); - std::string str_initial_selection; - std::string str_transparent = "false"; + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = parts[2]; + std::vector items = split(parts[3],','); + std::string str_initial_selection; + std::string str_transparent = "false"; - if (parts.size() >= 5) - str_initial_selection = parts[4]; + if (parts.size() >= 5) + str_initial_selection = parts[4]; - if (parts.size() >= 6) - str_transparent = parts[5]; + if (parts.size() >= 6) + str_transparent = parts[5]; - MY_CHECKPOS("textlist",0); - MY_CHECKGEOM("textlist",1); + MY_CHECKPOS("textlist",0); + MY_CHECKGEOM("textlist",1); - v2s32 pos; - v2s32 geom; + v2s32 pos; + v2s32 geom; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - geom.X = stof(v_geom[0]) * spacing.X; - geom.Y = stof(v_geom[1]) * spacing.Y; - } + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + geom.X = stof(v_geom[0]) * spacing.X; + geom.Y = stof(v_geom[1]) * spacing.Y; + } - core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); + core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); - FieldSpec spec( - name, - L"", - L"", - 258 + m_fields.size() - ); + FieldSpec spec( + name, + L"", + L"", + 258 + m_fields.size() + ); - spec.ftype = f_Table; + spec.ftype = f_Table; - for (std::string &item : items) { - item = wide_to_utf8(unescape_translate(utf8_to_wide(unescape_string(item)))); - } + for (std::string &item : items) { + item = wide_to_utf8(unescape_translate(utf8_to_wide(unescape_string(item)))); + } - //now really show list - GUITable *e = new GUITable(Environment, data->current_parent, spec.fid, - rect, m_tsrc); + //now really show list + GUITable *e = new GUITable(Environment, data->current_parent, spec.fid, + rect, m_tsrc); - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + if (spec.fname == m_focused_element) { + Environment->setFocus(e); + } - e->setTextList(items, is_yes(str_transparent)); + e->setTextList(items, is_yes(str_transparent)); - if (data->table_dyndata.find(name) != data->table_dyndata.end()) { - e->setDynamicData(data->table_dyndata[name]); - } + if (data->table_dyndata.find(name) != data->table_dyndata.end()) { + e->setDynamicData(data->table_dyndata[name]); + } - if (!str_initial_selection.empty() && str_initial_selection != "0") - e->setSelected(stoi(str_initial_selection)); + if (!str_initial_selection.empty() && str_initial_selection != "0") + e->setSelected(stoi(str_initial_selection)); - auto style = getDefaultStyleForElement("textlist", name); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->setOverrideFont(style.getFont()); + auto style = getDefaultStyleForElement("textlist", name); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setOverrideFont(style.getFont()); - m_tables.emplace_back(spec, e); - m_fields.push_back(spec); - return; - } - errorstream<< "Invalid textlist element(" << parts.size() << "): '" << element << "'" << std::endl; + m_tables.emplace_back(spec, e); + m_fields.push_back(spec); } void GUIFormSpecMenu::parseDropDown(parserData* data, const std::string &element) { - std::vector parts = split(element, ';'); - - if (parts.size() == 5 || parts.size() == 6 || - (parts.size() > 6 && m_formspec_version > FORMSPEC_API_VERSION)) - { - std::vector v_pos = split(parts[0], ','); - std::string name = parts[2]; - std::vector items = split(parts[3], ','); - std::string str_initial_selection = parts[4]; + std::vector parts; + if (!precheckElement("dropdown", element, 5, 6, parts)) + return; - if (parts.size() >= 6 && is_yes(parts[5])) - m_dropdown_index_event[name] = true; + std::vector v_pos = split(parts[0], ','); + std::string name = parts[2]; + std::vector items = split(parts[3], ','); + std::string str_initial_selection = parts[4]; - MY_CHECKPOS("dropdown",0); + if (parts.size() >= 6 && is_yes(parts[5])) + m_dropdown_index_event[name] = true; - v2s32 pos; - v2s32 geom; - core::rect rect; + MY_CHECKPOS("dropdown",0); - if (data->real_coordinates) { - std::vector v_geom = split(parts[1],','); + v2s32 pos; + v2s32 geom; + core::rect rect; - if (v_geom.size() == 1) - v_geom.emplace_back("1"); + if (data->real_coordinates) { + std::vector v_geom = split(parts[1],','); - MY_CHECKGEOM("dropdown",1); + if (v_geom.size() == 1) + v_geom.emplace_back("1"); - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); - } else { - pos = getElementBasePos(&v_pos); + MY_CHECKGEOM("dropdown",1); - s32 width = stof(parts[1]) * spacing.Y; + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); + } else { + pos = getElementBasePos(&v_pos); - rect = core::rect(pos.X, pos.Y, - pos.X + width, pos.Y + (m_btn_height * 2)); - } + s32 width = stof(parts[1]) * spacing.Y; - FieldSpec spec( - name, - L"", - L"", - 258 + m_fields.size() - ); + rect = core::rect(pos.X, pos.Y, + pos.X + width, pos.Y + (m_btn_height * 2)); + } - spec.ftype = f_DropDown; - spec.send = true; + FieldSpec spec( + name, + L"", + L"", + 258 + m_fields.size() + ); - //now really show list - gui::IGUIComboBox *e = Environment->addComboBox(rect, data->current_parent, - spec.fid); + spec.ftype = f_DropDown; + spec.send = true; - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + //now really show list + gui::IGUIComboBox *e = Environment->addComboBox(rect, data->current_parent, + spec.fid); - for (const std::string &item : items) { - e->addItem(unescape_translate(unescape_string( - utf8_to_wide(item))).c_str()); - } + if (spec.fname == m_focused_element) { + Environment->setFocus(e); + } - if (!str_initial_selection.empty()) - e->setSelected(stoi(str_initial_selection)-1); + for (const std::string &item : items) { + e->addItem(unescape_translate(unescape_string( + utf8_to_wide(item))).c_str()); + } - auto style = getDefaultStyleForElement("dropdown", name); + if (!str_initial_selection.empty()) + e->setSelected(stoi(str_initial_selection)-1); - spec.sound = style.get(StyleSpec::Property::SOUND, ""); + auto style = getDefaultStyleForElement("dropdown", name); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + spec.sound = style.get(StyleSpec::Property::SOUND, ""); - m_fields.push_back(spec); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - m_dropdowns.emplace_back(spec, std::vector()); - std::vector &values = m_dropdowns.back().second; - for (const std::string &item : items) { - values.push_back(unescape_string(item)); - } + m_fields.push_back(spec); - return; + m_dropdowns.emplace_back(spec, std::vector()); + std::vector &values = m_dropdowns.back().second; + for (const std::string &item : items) { + values.push_back(unescape_string(item)); } - errorstream << "Invalid dropdown element(" << parts.size() << "): '" << element - << "'" << std::endl; } void GUIFormSpecMenu::parseFieldCloseOnEnter(parserData *data, const std::string &element) { - std::vector parts = split(element,';'); - if (parts.size() == 2 || - (parts.size() > 2 && m_formspec_version > FORMSPEC_API_VERSION)) { - field_close_on_enter[parts[0]] = is_yes(parts[1]); - } + std::vector parts; + if (!precheckElement("field_close_on_enter", element, 2, 2, parts)) + return; + + field_close_on_enter[parts[0]] = is_yes(parts[1]); } void GUIFormSpecMenu::parsePwdField(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); - - if (parts.size() == 4 || - (parts.size() > 4 && m_formspec_version > FORMSPEC_API_VERSION)) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string name = parts[2]; - std::string label = parts[3]; - - MY_CHECKPOS("pwdfield",0); - MY_CHECKGEOM("pwdfield",1); + std::vector parts; + if (!precheckElement("pwdfield", element, 4, 4, parts)) + return; - v2s32 pos; - v2s32 geom; + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string name = parts[2]; + std::string label = parts[3]; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - pos -= padding; + MY_CHECKPOS("pwdfield",0); + MY_CHECKGEOM("pwdfield",1); - geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); + v2s32 pos; + v2s32 geom; - pos.Y += (stof(v_geom[1]) * (float)imgsize.Y)/2; - pos.Y -= m_btn_height; - geom.Y = m_btn_height*2; - } + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + pos -= padding; - core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); + geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); - std::wstring wlabel = translate_string(utf8_to_wide(unescape_string(label))); + pos.Y += (stof(v_geom[1]) * (float)imgsize.Y)/2; + pos.Y -= m_btn_height; + geom.Y = m_btn_height*2; + } - FieldSpec spec( - name, - wlabel, - L"", - 258 + m_fields.size(), - 0, - ECI_IBEAM - ); + core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); - spec.send = true; - gui::IGUIEditBox *e = Environment->addEditBox(0, rect, true, - data->current_parent, spec.fid); + std::wstring wlabel = translate_string(utf8_to_wide(unescape_string(label))); - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + FieldSpec spec( + name, + wlabel, + L"", + 258 + m_fields.size(), + 0, + ECI_IBEAM + ); - if (label.length() >= 1) { - int font_height = g_fontengine->getTextHeight(); - rect.UpperLeftCorner.Y -= font_height; - rect.LowerRightCorner.Y = rect.UpperLeftCorner.Y + font_height; - gui::StaticText::add(Environment, spec.flabel.c_str(), rect, false, true, - data->current_parent, 0); - } + spec.send = true; + gui::IGUIEditBox *e = Environment->addEditBox(0, rect, true, + data->current_parent, spec.fid); - e->setPasswordBox(true,L'*'); + if (spec.fname == m_focused_element) { + Environment->setFocus(e); + } - auto style = getDefaultStyleForElement("pwdfield", name, "field"); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->setDrawBorder(style.getBool(StyleSpec::BORDER, true)); - e->setOverrideColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); - e->setOverrideFont(style.getFont()); + if (label.length() >= 1) { + int font_height = g_fontengine->getTextHeight(); + rect.UpperLeftCorner.Y -= font_height; + rect.LowerRightCorner.Y = rect.UpperLeftCorner.Y + font_height; + gui::StaticText::add(Environment, spec.flabel.c_str(), rect, false, true, + data->current_parent, 0); + } - irr::SEvent evt; - evt.EventType = EET_KEY_INPUT_EVENT; - evt.KeyInput.Key = KEY_END; - evt.KeyInput.Char = 0; - evt.KeyInput.Control = false; - evt.KeyInput.Shift = false; - evt.KeyInput.PressedDown = true; - e->OnEvent(evt); + e->setPasswordBox(true,L'*'); - // Note: Before 5.2.0 "parts.size() >= 5" resulted in a - // warning referring to field_close_on_enter[]! + auto style = getDefaultStyleForElement("pwdfield", name, "field"); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setDrawBorder(style.getBool(StyleSpec::BORDER, true)); + e->setOverrideColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); + e->setOverrideFont(style.getFont()); + + irr::SEvent evt; + evt.EventType = EET_KEY_INPUT_EVENT; + evt.KeyInput.Key = KEY_END; + evt.KeyInput.Char = 0; + evt.KeyInput.Control = false; + evt.KeyInput.Shift = false; + evt.KeyInput.PressedDown = true; + e->OnEvent(evt); + + // Note: Before 5.2.0 "parts.size() >= 5" resulted in a + // warning referring to field_close_on_enter[]! - m_fields.push_back(spec); - return; - } - errorstream<< "Invalid pwdfield element(" << parts.size() << "): '" << element << "'" << std::endl; + m_fields.push_back(spec); } void GUIFormSpecMenu::createTextField(parserData *data, FieldSpec &spec, @@ -1710,31 +1671,26 @@ void GUIFormSpecMenu::parseTextArea(parserData* data, std::vector& void GUIFormSpecMenu::parseField(parserData* data, const std::string &element, const std::string &type) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement(type, element, 3, 5, parts)) + return; if (parts.size() == 3 || parts.size() == 4) { - parseSimpleField(data,parts); + parseSimpleField(data, parts); return; } - if ((parts.size() == 5) || - ((parts.size() > 5) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - parseTextArea(data,parts,type); - return; - } - errorstream<< "Invalid field element(" << parts.size() << "): '" << element << "'" << std::endl; + // Else: >= 5 arguments in "parts" + parseTextArea(data, parts, type); } void GUIFormSpecMenu::parseHyperText(parserData *data, const std::string &element) { - std::vector parts = split(element, ';'); + MY_CHECKCLIENT("list"); - if (parts.size() != 4 && - (parts.size() < 4 || m_formspec_version <= FORMSPEC_API_VERSION)) { - errorstream << "Invalid hypertext element(" << parts.size() << "): '" << element << "'" << std::endl; + std::vector parts; + if (!precheckElement("hypertext", element, 4, 4, parts)) return; - } std::vector v_pos = split(parts[0], ','); std::vector v_geom = split(parts[1], ','); @@ -1785,539 +1741,521 @@ void GUIFormSpecMenu::parseHyperText(parserData *data, const std::string &elemen void GUIFormSpecMenu::parseLabel(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("label", element, 2, 2, parts)) + return; - if ((parts.size() == 2) || - ((parts.size() > 2) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::string text = parts[1]; + std::vector v_pos = split(parts[0],','); + std::string text = parts[1]; - MY_CHECKPOS("label",0); + MY_CHECKPOS("label",0); - if(!data->explicit_size) - warningstream<<"invalid use of label without a size[] element"<explicit_size) + warningstream<<"invalid use of label without a size[] element"< lines = split(text, '\n'); + std::vector lines = split(text, '\n'); - auto style = getDefaultStyleForElement("label", ""); - gui::IGUIFont *font = style.getFont(); - if (!font) - font = m_font; + auto style = getDefaultStyleForElement("label", ""); + gui::IGUIFont *font = style.getFont(); + if (!font) + font = m_font; - for (unsigned int i = 0; i != lines.size(); i++) { - std::wstring wlabel_colors = translate_string( - utf8_to_wide(unescape_string(lines[i]))); - // Without color escapes to get the font dimensions - std::wstring wlabel_plain = unescape_enriched(wlabel_colors); + for (unsigned int i = 0; i != lines.size(); i++) { + std::wstring wlabel_colors = translate_string( + utf8_to_wide(unescape_string(lines[i]))); + // Without color escapes to get the font dimensions + std::wstring wlabel_plain = unescape_enriched(wlabel_colors); - core::rect rect; + core::rect rect; - if (data->real_coordinates) { - // Lines are spaced at the distance of 1/2 imgsize. - // This alows lines that line up with the new elements - // easily without sacrificing good line distance. If - // it was one whole imgsize, it would have too much - // spacing. - v2s32 pos = getRealCoordinateBasePos(v_pos); + if (data->real_coordinates) { + // Lines are spaced at the distance of 1/2 imgsize. + // This alows lines that line up with the new elements + // easily without sacrificing good line distance. If + // it was one whole imgsize, it would have too much + // spacing. + v2s32 pos = getRealCoordinateBasePos(v_pos); - // Labels are positioned by their center, not their top. - pos.Y += (((float) imgsize.Y) / -2) + (((float) imgsize.Y) * i / 2); + // Labels are positioned by their center, not their top. + pos.Y += (((float) imgsize.Y) / -2) + (((float) imgsize.Y) * i / 2); - rect = core::rect( - pos.X, pos.Y, - pos.X + font->getDimension(wlabel_plain.c_str()).Width, - pos.Y + imgsize.Y); + rect = core::rect( + pos.X, pos.Y, + pos.X + font->getDimension(wlabel_plain.c_str()).Width, + pos.Y + imgsize.Y); - } else { - // Lines are spaced at the nominal distance of - // 2/5 inventory slot, even if the font doesn't - // quite match that. This provides consistent - // form layout, at the expense of sometimes - // having sub-optimal spacing for the font. - // We multiply by 2 and then divide by 5, rather - // than multiply by 0.4, to get exact results - // in the integer cases: 0.4 is not exactly - // representable in binary floating point. - - v2s32 pos = getElementBasePos(nullptr); - pos.X += stof(v_pos[0]) * spacing.X; - pos.Y += (stof(v_pos[1]) + 7.0f / 30.0f) * spacing.Y; - - pos.Y += ((float) i) * spacing.Y * 2.0 / 5.0; - - rect = core::rect( - pos.X, pos.Y - m_btn_height, - pos.X + font->getDimension(wlabel_plain.c_str()).Width, - pos.Y + m_btn_height); - } + } else { + // Lines are spaced at the nominal distance of + // 2/5 inventory slot, even if the font doesn't + // quite match that. This provides consistent + // form layout, at the expense of sometimes + // having sub-optimal spacing for the font. + // We multiply by 2 and then divide by 5, rather + // than multiply by 0.4, to get exact results + // in the integer cases: 0.4 is not exactly + // representable in binary floating point. + + v2s32 pos = getElementBasePos(nullptr); + pos.X += stof(v_pos[0]) * spacing.X; + pos.Y += (stof(v_pos[1]) + 7.0f / 30.0f) * spacing.Y; + + pos.Y += ((float) i) * spacing.Y * 2.0 / 5.0; - FieldSpec spec( - "", - wlabel_colors, - L"", - 258 + m_fields.size(), - 4 - ); - gui::IGUIStaticText *e = gui::StaticText::add(Environment, - spec.flabel.c_str(), rect, false, false, data->current_parent, - spec.fid); - e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_CENTER); + rect = core::rect( + pos.X, pos.Y - m_btn_height, + pos.X + font->getDimension(wlabel_plain.c_str()).Width, + pos.Y + m_btn_height); + } - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->setOverrideColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); - e->setOverrideFont(font); + FieldSpec spec( + "", + wlabel_colors, + L"", + 258 + m_fields.size(), + 4 + ); + gui::IGUIStaticText *e = gui::StaticText::add(Environment, + spec.flabel.c_str(), rect, false, false, data->current_parent, + spec.fid); + e->setTextAlignment(gui::EGUIA_UPPERLEFT, gui::EGUIA_CENTER); - m_fields.push_back(spec); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setOverrideColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); + e->setOverrideFont(font); - // labels should let events through - e->grab(); - m_clickthrough_elements.push_back(e); - } + m_fields.push_back(spec); - return; + // labels should let events through + e->grab(); + m_clickthrough_elements.push_back(e); } - errorstream << "Invalid label element(" << parts.size() << "): '" << element - << "'" << std::endl; } void GUIFormSpecMenu::parseVertLabel(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("vertlabel", element, 2, 2, parts)) + return; - if ((parts.size() == 2) || - ((parts.size() > 2) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::wstring text = unescape_translate( - unescape_string(utf8_to_wide(parts[1]))); + std::vector v_pos = split(parts[0],','); + std::wstring text = unescape_translate( + unescape_string(utf8_to_wide(parts[1]))); - MY_CHECKPOS("vertlabel",1); + MY_CHECKPOS("vertlabel",1); - auto style = getDefaultStyleForElement("vertlabel", "", "label"); - gui::IGUIFont *font = style.getFont(); - if (!font) - font = m_font; + auto style = getDefaultStyleForElement("vertlabel", "", "label"); + gui::IGUIFont *font = style.getFont(); + if (!font) + font = m_font; - v2s32 pos; - core::rect rect; + v2s32 pos; + core::rect rect; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); - // Vertlabels are positioned by center, not left. - pos.X -= imgsize.X / 2; + // Vertlabels are positioned by center, not left. + pos.X -= imgsize.X / 2; - // We use text.length + 1 because without it, the rect - // isn't quite tall enough and cuts off the text. - rect = core::rect(pos.X, pos.Y, - pos.X + imgsize.X, - pos.Y + font_line_height(font) * - (text.length() + 1)); + // We use text.length + 1 because without it, the rect + // isn't quite tall enough and cuts off the text. + rect = core::rect(pos.X, pos.Y, + pos.X + imgsize.X, + pos.Y + font_line_height(font) * + (text.length() + 1)); - } else { - pos = getElementBasePos(&v_pos); + } else { + pos = getElementBasePos(&v_pos); - // As above, the length must be one longer. The width of - // the rect (15 pixels) seems rather arbitrary, but - // changing it might break something. - rect = core::rect( - pos.X, pos.Y+((imgsize.Y/2) - m_btn_height), - pos.X+15, pos.Y + - font_line_height(font) * - (text.length() + 1) + - ((imgsize.Y/2) - m_btn_height)); - } + // As above, the length must be one longer. The width of + // the rect (15 pixels) seems rather arbitrary, but + // changing it might break something. + rect = core::rect( + pos.X, pos.Y+((imgsize.Y/2) - m_btn_height), + pos.X+15, pos.Y + + font_line_height(font) * + (text.length() + 1) + + ((imgsize.Y/2) - m_btn_height)); + } - if(!data->explicit_size) - warningstream<<"invalid use of label without a size[] element"<explicit_size) + warningstream<<"invalid use of label without a size[] element"<current_parent, spec.fid); - e->setTextAlignment(gui::EGUIA_CENTER, gui::EGUIA_CENTER); + FieldSpec spec( + "", + label, + L"", + 258 + m_fields.size() + ); + gui::IGUIStaticText *e = gui::StaticText::add(Environment, spec.flabel.c_str(), + rect, false, false, data->current_parent, spec.fid); + e->setTextAlignment(gui::EGUIA_CENTER, gui::EGUIA_CENTER); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); - e->setOverrideColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); - e->setOverrideFont(font); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false)); + e->setOverrideColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); + e->setOverrideFont(font); - m_fields.push_back(spec); + m_fields.push_back(spec); - // vertlabels should let events through - e->grab(); - m_clickthrough_elements.push_back(e); - return; - } - errorstream<< "Invalid vertlabel element(" << parts.size() << "): '" << element << "'" << std::endl; + // vertlabels should let events through + e->grab(); + m_clickthrough_elements.push_back(e); } void GUIFormSpecMenu::parseImageButton(parserData* data, const std::string &element, const std::string &type) { - std::vector parts = split(element,';'); - - if ((((parts.size() >= 5) && (parts.size() <= 8)) && (parts.size() != 6)) || - ((parts.size() > 8) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string image_name = parts[2]; - std::string name = parts[3]; - std::string label = parts[4]; + std::vector parts; + if (!precheckElement("image_button", element, 5, 8, parts)) + return; - MY_CHECKPOS("imagebutton",0); - MY_CHECKGEOM("imagebutton",1); + if (parts.size() == 6) { + // Invalid argument count. + errorstream << "Invalid image_button element(" << parts.size() << "): '" << element << "'" << std::endl; + return; + } - std::string pressed_image_name; + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string image_name = parts[2]; + std::string name = parts[3]; + std::string label = parts[4]; - if (parts.size() >= 8) { - pressed_image_name = parts[7]; - } + MY_CHECKPOS("image_button",0); + MY_CHECKGEOM("image_button",1); - v2s32 pos; - v2s32 geom; + std::string pressed_image_name; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); - geom.Y = (stof(v_geom[1]) * spacing.Y) - (spacing.Y - imgsize.Y); - } + if (parts.size() >= 8) { + pressed_image_name = parts[7]; + } - core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, - pos.Y+geom.Y); + v2s32 pos; + v2s32 geom; - if (!data->explicit_size) - warningstream<<"invalid use of image_button without a size[] element"<real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); + geom.Y = (stof(v_geom[1]) * spacing.Y) - (spacing.Y - imgsize.Y); + } - image_name = unescape_string(image_name); - pressed_image_name = unescape_string(pressed_image_name); + core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, + pos.Y+geom.Y); - std::wstring wlabel = utf8_to_wide(unescape_string(label)); + if (!data->explicit_size) + warningstream<<"invalid use of image_button without a size[] element"<current_parent, spec.fid, spec.flabel.c_str()); + std::wstring wlabel = utf8_to_wide(unescape_string(label)); - if (spec.fname == m_focused_element) { - Environment->setFocus(e); - } + FieldSpec spec( + name, + wlabel, + utf8_to_wide(image_name), + 258 + m_fields.size() + ); + spec.ftype = f_Button; + if (type == "image_button_exit") + spec.is_exit = true; - auto style = getStyleForElement("image_button", spec.fname); + GUIButtonImage *e = GUIButtonImage::addButton(Environment, rect, m_tsrc, + data->current_parent, spec.fid, spec.flabel.c_str()); - spec.sound = style[StyleSpec::STATE_DEFAULT].get(StyleSpec::Property::SOUND, ""); + if (spec.fname == m_focused_element) { + Environment->setFocus(e); + } - // Override style properties with values specified directly in the element - if (!image_name.empty()) - style[StyleSpec::STATE_DEFAULT].set(StyleSpec::FGIMG, image_name); + auto style = getStyleForElement("image_button", spec.fname); - if (!pressed_image_name.empty()) - style[StyleSpec::STATE_PRESSED].set(StyleSpec::FGIMG, pressed_image_name); + spec.sound = style[StyleSpec::STATE_DEFAULT].get(StyleSpec::Property::SOUND, ""); - if (parts.size() >= 7) { - style[StyleSpec::STATE_DEFAULT].set(StyleSpec::NOCLIP, parts[5]); - style[StyleSpec::STATE_DEFAULT].set(StyleSpec::BORDER, parts[6]); - } + // Override style properties with values specified directly in the element + if (!image_name.empty()) + style[StyleSpec::STATE_DEFAULT].set(StyleSpec::FGIMG, image_name); - e->setStyles(style); - e->setScaleImage(true); + if (!pressed_image_name.empty()) + style[StyleSpec::STATE_PRESSED].set(StyleSpec::FGIMG, pressed_image_name); - m_fields.push_back(spec); - return; + if (parts.size() >= 7) { + style[StyleSpec::STATE_DEFAULT].set(StyleSpec::NOCLIP, parts[5]); + style[StyleSpec::STATE_DEFAULT].set(StyleSpec::BORDER, parts[6]); } - errorstream<< "Invalid imagebutton element(" << parts.size() << "): '" << element << "'" << std::endl; + e->setStyles(style); + e->setScaleImage(true); + + m_fields.push_back(spec); } void GUIFormSpecMenu::parseTabHeader(parserData* data, const std::string &element) { - std::vector parts = split(element, ';'); - - if (((parts.size() == 4) || (parts.size() == 6)) || (parts.size() == 7 && - data->real_coordinates) || ((parts.size() > 6) && - (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); + std::vector parts; + if (!precheckElement("tabheader", element, 4, 7, parts)) + return; - // If we're using real coordinates, add an extra field for height. - // Width is not here because tabs are the width of the text, and - // there's no reason to change that. - unsigned int i = 0; - std::vector v_geom = {"1", "1"}; // Dummy width and height - bool auto_width = true; - if (parts.size() == 7) { - i++; + // Length 7: Additional "height" parameter after "pos". Only valid with real_coordinates. + // Note: New arguments for the "height" syntax cannot be added without breaking older clients. + if (parts.size() == 5 || (parts.size() == 7 && !data->real_coordinates)) { + errorstream << "Invalid tabheader element(" << parts.size() << "): '" + << element << "'" << std::endl; + return; + } - v_geom = split(parts[1], ','); - if (v_geom.size() == 1) - v_geom.insert(v_geom.begin(), "1"); // Dummy value - else - auto_width = false; - } + std::vector v_pos = split(parts[0],','); - std::string name = parts[i+1]; - std::vector buttons = split(parts[i+2], ','); - std::string str_index = parts[i+3]; - bool show_background = true; - bool show_border = true; - int tab_index = stoi(str_index) - 1; + // If we're using real coordinates, add an extra field for height. + // Width is not here because tabs are the width of the text, and + // there's no reason to change that. + unsigned int i = 0; + std::vector v_geom = {"1", "1"}; // Dummy width and height + bool auto_width = true; + if (parts.size() == 7) { + i++; + + v_geom = split(parts[1], ','); + if (v_geom.size() == 1) + v_geom.insert(v_geom.begin(), "1"); // Dummy value + else + auto_width = false; + } - MY_CHECKPOS("tabheader", 0); + std::string name = parts[i+1]; + std::vector buttons = split(parts[i+2], ','); + std::string str_index = parts[i+3]; + bool show_background = true; + bool show_border = true; + int tab_index = stoi(str_index) - 1; - if (parts.size() == 6 + i) { - if (parts[4+i] == "true") - show_background = false; - if (parts[5+i] == "false") - show_border = false; - } + MY_CHECKPOS("tabheader", 0); - FieldSpec spec( - name, - L"", - L"", - 258 + m_fields.size() - ); + if (parts.size() == 6 + i) { + if (parts[4+i] == "true") + show_background = false; + if (parts[5+i] == "false") + show_border = false; + } - spec.ftype = f_TabHeader; + FieldSpec spec( + name, + L"", + L"", + 258 + m_fields.size() + ); - v2s32 pos; - v2s32 geom; + spec.ftype = f_TabHeader; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); + v2s32 pos; + v2s32 geom; - geom = getRealCoordinateGeometry(v_geom); - // Set default height - if (parts.size() <= 6) - geom.Y = m_btn_height * 2; - pos.Y -= geom.Y; // TabHeader base pos is the bottom, not the top. - if (auto_width) - geom.X = DesiredRect.getWidth(); // Set automatic width - - MY_CHECKGEOM("tabheader", 1); - } else { - v2f32 pos_f = pos_offset * spacing; - pos_f.X += stof(v_pos[0]) * spacing.X; - pos_f.Y += stof(v_pos[1]) * spacing.Y - m_btn_height * 2; - pos = v2s32(pos_f.X, pos_f.Y); + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + // Set default height + if (parts.size() <= 6) geom.Y = m_btn_height * 2; - geom.X = DesiredRect.getWidth(); - } + pos.Y -= geom.Y; // TabHeader base pos is the bottom, not the top. + if (auto_width) + geom.X = DesiredRect.getWidth(); // Set automatic width - core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, - pos.Y+geom.Y); + MY_CHECKGEOM("tabheader", 1); + } else { + v2f32 pos_f = pos_offset * spacing; + pos_f.X += stof(v_pos[0]) * spacing.X; + pos_f.Y += stof(v_pos[1]) * spacing.Y - m_btn_height * 2; + pos = v2s32(pos_f.X, pos_f.Y); - gui::IGUITabControl *e = Environment->addTabControl(rect, - data->current_parent, show_background, show_border, spec.fid); - e->setAlignment(irr::gui::EGUIA_UPPERLEFT, irr::gui::EGUIA_UPPERLEFT, - irr::gui::EGUIA_UPPERLEFT, irr::gui::EGUIA_LOWERRIGHT); - e->setTabHeight(geom.Y); + geom.Y = m_btn_height * 2; + geom.X = DesiredRect.getWidth(); + } - auto style = getDefaultStyleForElement("tabheader", name); + core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, + pos.Y+geom.Y); - spec.sound = style.get(StyleSpec::Property::SOUND, ""); + gui::IGUITabControl *e = Environment->addTabControl(rect, + data->current_parent, show_background, show_border, spec.fid); + e->setAlignment(irr::gui::EGUIA_UPPERLEFT, irr::gui::EGUIA_UPPERLEFT, + irr::gui::EGUIA_UPPERLEFT, irr::gui::EGUIA_LOWERRIGHT); + e->setTabHeight(geom.Y); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, true)); + auto style = getDefaultStyleForElement("tabheader", name); - for (const std::string &button : buttons) { - auto tab = e->addTab(unescape_translate(unescape_string( - utf8_to_wide(button))).c_str(), -1); - if (style.isNotDefault(StyleSpec::BGCOLOR)) - tab->setBackgroundColor(style.getColor(StyleSpec::BGCOLOR)); + spec.sound = style.get(StyleSpec::Property::SOUND, ""); - tab->setTextColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); - } + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, true)); - if ((tab_index >= 0) && - (buttons.size() < INT_MAX) && - (tab_index < (int) buttons.size())) - e->setActiveTab(tab_index); + for (const std::string &button : buttons) { + auto tab = e->addTab(unescape_translate(unescape_string( + utf8_to_wide(button))).c_str(), -1); + if (style.isNotDefault(StyleSpec::BGCOLOR)) + tab->setBackgroundColor(style.getColor(StyleSpec::BGCOLOR)); - m_fields.push_back(spec); - return; + tab->setTextColor(style.getColor(StyleSpec::TEXTCOLOR, video::SColor(0xFFFFFFFF))); } - errorstream << "Invalid TabHeader element(" << parts.size() << "): '" - << element << "'" << std::endl; + + if ((tab_index >= 0) && + (buttons.size() < INT_MAX) && + (tab_index < (int) buttons.size())) + e->setActiveTab(tab_index); + + m_fields.push_back(spec); } void GUIFormSpecMenu::parseItemImageButton(parserData* data, const std::string &element) { - if (m_client == 0) { - warningstream << "invalid use of item_image_button with m_client==0" - << std::endl; - return; - } + MY_CHECKCLIENT("item_image_button"); - std::vector parts = split(element,';'); - - if ((parts.size() == 5) || - ((parts.size() > 5) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0],','); - std::vector v_geom = split(parts[1],','); - std::string item_name = parts[2]; - std::string name = parts[3]; - std::string label = parts[4]; + std::vector parts; + if (!precheckElement("item_image_button", element, 5, 5, parts)) + return; - label = unescape_string(label); - item_name = unescape_string(item_name); + std::vector v_pos = split(parts[0],','); + std::vector v_geom = split(parts[1],','); + std::string item_name = parts[2]; + std::string name = parts[3]; + std::string label = parts[4]; - MY_CHECKPOS("itemimagebutton",0); - MY_CHECKGEOM("itemimagebutton",1); + label = unescape_string(label); + item_name = unescape_string(item_name); - v2s32 pos; - v2s32 geom; + MY_CHECKPOS("item_image_button",0); + MY_CHECKGEOM("item_image_button",1); - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); - geom.Y = (stof(v_geom[1]) * spacing.Y) - (spacing.Y - imgsize.Y); - } + v2s32 pos; + v2s32 geom; - core::rect rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + geom.X = (stof(v_geom[0]) * spacing.X) - (spacing.X - imgsize.X); + geom.Y = (stof(v_geom[1]) * spacing.Y) - (spacing.Y - imgsize.Y); + } - if(!data->explicit_size) - warningstream<<"invalid use of item_image_button without a size[] element"< rect = core::rect(pos.X, pos.Y, pos.X+geom.X, pos.Y+geom.Y); - IItemDefManager *idef = m_client->idef(); - ItemStack item; - item.deSerialize(item_name, idef); + if(!data->explicit_size) + warningstream<<"invalid use of item_image_button without a size[] element"<idef(); + ItemStack item; + item.deSerialize(item_name, idef); - // the spec for the button - FieldSpec spec_btn( - name, - utf8_to_wide(label), - utf8_to_wide(item_name), - 258 + m_fields.size(), - 2 - ); + m_tooltips[name] = + TooltipSpec(utf8_to_wide(item.getDefinition(idef).description), + m_default_tooltip_bgcolor, + m_default_tooltip_color); - GUIButtonItemImage *e_btn = GUIButtonItemImage::addButton(Environment, - rect, m_tsrc, data->current_parent, spec_btn.fid, spec_btn.flabel.c_str(), - item_name, m_client); + // the spec for the button + FieldSpec spec_btn( + name, + utf8_to_wide(label), + utf8_to_wide(item_name), + 258 + m_fields.size(), + 2 + ); - auto style = getStyleForElement("item_image_button", spec_btn.fname, "image_button"); + GUIButtonItemImage *e_btn = GUIButtonItemImage::addButton(Environment, + rect, m_tsrc, data->current_parent, spec_btn.fid, spec_btn.flabel.c_str(), + item_name, m_client); - spec_btn.sound = style[StyleSpec::STATE_DEFAULT].get(StyleSpec::Property::SOUND, ""); + auto style = getStyleForElement("item_image_button", spec_btn.fname, "image_button"); - e_btn->setStyles(style); + spec_btn.sound = style[StyleSpec::STATE_DEFAULT].get(StyleSpec::Property::SOUND, ""); - if (spec_btn.fname == m_focused_element) { - Environment->setFocus(e_btn); - } + e_btn->setStyles(style); - spec_btn.ftype = f_Button; - rect += data->basepos-padding; - spec_btn.rect = rect; - m_fields.push_back(spec_btn); - return; + if (spec_btn.fname == m_focused_element) { + Environment->setFocus(e_btn); } - errorstream<< "Invalid ItemImagebutton element(" << parts.size() << "): '" << element << "'" << std::endl; + + spec_btn.ftype = f_Button; + rect += data->basepos-padding; + spec_btn.rect = rect; + m_fields.push_back(spec_btn); } void GUIFormSpecMenu::parseBox(parserData* data, const std::string &element) { - std::vector parts = split(element, ';'); + std::vector parts; + if (!precheckElement("box", element, 3, 3, parts)) + return; - if ((parts.size() == 3) || - ((parts.size() > 3) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - std::vector v_pos = split(parts[0], ','); - std::vector v_geom = split(parts[1], ','); + std::vector v_pos = split(parts[0], ','); + std::vector v_geom = split(parts[1], ','); - MY_CHECKPOS("box", 0); - MY_CHECKGEOM("box", 1); + MY_CHECKPOS("box", 0); + MY_CHECKGEOM("box", 1); - v2s32 pos; - v2s32 geom; + v2s32 pos; + v2s32 geom; - if (data->real_coordinates) { - pos = getRealCoordinateBasePos(v_pos); - geom = getRealCoordinateGeometry(v_geom); - } else { - pos = getElementBasePos(&v_pos); - geom.X = stof(v_geom[0]) * spacing.X; - geom.Y = stof(v_geom[1]) * spacing.Y; - } + if (data->real_coordinates) { + pos = getRealCoordinateBasePos(v_pos); + geom = getRealCoordinateGeometry(v_geom); + } else { + pos = getElementBasePos(&v_pos); + geom.X = stof(v_geom[0]) * spacing.X; + geom.Y = stof(v_geom[1]) * spacing.Y; + } - FieldSpec spec( - "", - L"", - L"", - 258 + m_fields.size(), - -2 - ); - spec.ftype = f_Box; + FieldSpec spec( + "", + L"", + L"", + 258 + m_fields.size(), + -2 + ); + spec.ftype = f_Box; - auto style = getDefaultStyleForElement("box", spec.fname); + auto style = getDefaultStyleForElement("box", spec.fname); - video::SColor tmp_color; - std::array colors; - std::array bordercolors = {0x0, 0x0, 0x0, 0x0}; - std::array borderwidths = {0, 0, 0, 0}; + video::SColor tmp_color; + std::array colors; + std::array bordercolors = {0x0, 0x0, 0x0, 0x0}; + std::array borderwidths = {0, 0, 0, 0}; - if (parseColorString(parts[2], tmp_color, true, 0x8C)) { - colors = {tmp_color, tmp_color, tmp_color, tmp_color}; - } else { - colors = style.getColorArray(StyleSpec::COLORS, {0x0, 0x0, 0x0, 0x0}); - bordercolors = style.getColorArray(StyleSpec::BORDERCOLORS, - {0x0, 0x0, 0x0, 0x0}); - borderwidths = style.getIntArray(StyleSpec::BORDERWIDTHS, {0, 0, 0, 0}); - } + if (parseColorString(parts[2], tmp_color, true, 0x8C)) { + colors = {tmp_color, tmp_color, tmp_color, tmp_color}; + } else { + colors = style.getColorArray(StyleSpec::COLORS, {0x0, 0x0, 0x0, 0x0}); + bordercolors = style.getColorArray(StyleSpec::BORDERCOLORS, + {0x0, 0x0, 0x0, 0x0}); + borderwidths = style.getIntArray(StyleSpec::BORDERWIDTHS, {0, 0, 0, 0}); + } - core::rect rect(pos, pos + geom); + core::rect rect(pos, pos + geom); - GUIBox *e = new GUIBox(Environment, data->current_parent, spec.fid, rect, - colors, bordercolors, borderwidths); - e->setNotClipped(style.getBool(StyleSpec::NOCLIP, m_formspec_version < 3)); - e->drop(); + GUIBox *e = new GUIBox(Environment, data->current_parent, spec.fid, rect, + colors, bordercolors, borderwidths); + e->setNotClipped(style.getBool(StyleSpec::NOCLIP, m_formspec_version < 3)); + e->drop(); - m_fields.push_back(spec); - return; - } - errorstream << "Invalid Box element(" << parts.size() << "): '" << element - << "'" << std::endl; + m_fields.push_back(spec); } void GUIFormSpecMenu::parseBackgroundColor(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + if (!precheckElement("bgcolor", element, 2, 3, parts)) + return; + const u32 parameter_count = parts.size(); - if ((parameter_count > 2 && m_formspec_version < 3) || - (parameter_count > 3 && m_formspec_version <= FORMSPEC_API_VERSION)) { + if (parameter_count > 2 && m_formspec_version < 3) { errorstream << "Invalid bgcolor element(" << parameter_count << "): '" << element << "'" << std::endl; return; @@ -2348,49 +2286,51 @@ void GUIFormSpecMenu::parseBackgroundColor(parserData* data, const std::string & void GUIFormSpecMenu::parseListColors(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); + std::vector parts; + // Legacy Note: If clients older than 5.5.0-dev are supplied with additional arguments, + // the tooltip colors will be ignored. + if (!precheckElement("listcolors", element, 2, 5, parts)) + return; - if (((parts.size() == 2) || (parts.size() == 3) || (parts.size() == 5)) || - ((parts.size() > 5) && (m_formspec_version > FORMSPEC_API_VERSION))) - { - parseColorString(parts[0], data->inventorylist_options.slotbg_n, false); - parseColorString(parts[1], data->inventorylist_options.slotbg_h, false); + if (parts.size() == 4) { + // Invalid argument combination + errorstream << "Invalid listcolors element(" << parts.size() << "): '" + << element << "'" << std::endl; + return; + } - if (parts.size() >= 3) { - if (parseColorString(parts[2], data->inventorylist_options.slotbordercolor, - false)) { - data->inventorylist_options.slotborder = true; - } - } - if (parts.size() == 5) { - video::SColor tmp_color; + parseColorString(parts[0], data->inventorylist_options.slotbg_n, false); + parseColorString(parts[1], data->inventorylist_options.slotbg_h, false); - if (parseColorString(parts[3], tmp_color, false)) - m_default_tooltip_bgcolor = tmp_color; - if (parseColorString(parts[4], tmp_color, false)) - m_default_tooltip_color = tmp_color; + if (parts.size() >= 3) { + if (parseColorString(parts[2], data->inventorylist_options.slotbordercolor, + false)) { + data->inventorylist_options.slotborder = true; } + } + if (parts.size() >= 5) { + video::SColor tmp_color; - // update all already parsed inventorylists - for (GUIInventoryList *e : m_inventorylists) { - e->setSlotBGColors(data->inventorylist_options.slotbg_n, - data->inventorylist_options.slotbg_h); - e->setSlotBorders(data->inventorylist_options.slotborder, - data->inventorylist_options.slotbordercolor); - } - return; + if (parseColorString(parts[3], tmp_color, false)) + m_default_tooltip_bgcolor = tmp_color; + if (parseColorString(parts[4], tmp_color, false)) + m_default_tooltip_color = tmp_color; + } + + // update all already parsed inventorylists + for (GUIInventoryList *e : m_inventorylists) { + e->setSlotBGColors(data->inventorylist_options.slotbg_n, + data->inventorylist_options.slotbg_h); + e->setSlotBorders(data->inventorylist_options.slotborder, + data->inventorylist_options.slotbordercolor); } - errorstream<< "Invalid listcolors element(" << parts.size() << "): '" << element << "'" << std::endl; } void GUIFormSpecMenu::parseTooltip(parserData* data, const std::string &element) { - std::vector parts = split(element,';'); - if (parts.size() < 2) { - errorstream << "Invalid tooltip element(" << parts.size() << "): '" - << element << "'" << std::endl; + std::vector parts; + if (!precheckElement("tooltip", element, 2, 5, parts)) return; - } // Get mode and check size bool rect_mode = parts[0].find(',') != std::string::npos; @@ -2714,35 +2654,25 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b void GUIFormSpecMenu::parseSetFocus(const std::string &element) { - std::vector parts = split(element, ';'); - - if (parts.size() <= 2 || - (parts.size() > 2 && m_formspec_version > FORMSPEC_API_VERSION)) - { - if (m_is_form_regenerated) - return; // Never focus on resizing - - bool force_focus = parts.size() >= 2 && is_yes(parts[1]); - if (force_focus || m_text_dst->m_formname != m_last_formname) - setFocus(parts[0]); - + std::vector parts; + if (!precheckElement("set_focus", element, 2, 2, parts)) return; - } - errorstream << "Invalid set_focus element (" << parts.size() << "): '" << element - << "'" << std::endl; + if (m_is_form_regenerated) + return; // Never focus on resizing + + bool force_focus = parts.size() >= 2 && is_yes(parts[1]); + if (force_focus || m_text_dst->m_formname != m_last_formname) + setFocus(parts[0]); } void GUIFormSpecMenu::parseModel(parserData *data, const std::string &element) { - std::vector parts = split(element, ';'); + MY_CHECKCLIENT("model"); - if (parts.size() < 5 || (parts.size() > 10 && - m_formspec_version <= FORMSPEC_API_VERSION)) { - errorstream << "Invalid model element (" << parts.size() << "): '" << element - << "'" << std::endl; + std::vector parts; + if (!precheckElement("model", element, 5, 10, parts)) return; - } // Avoid length checks by resizing if (parts.size() < 10) diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index eee84eff6..4ba9f3959 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -279,6 +279,8 @@ protected: v2s32 getElementBasePos(const std::vector *v_pos); v2s32 getRealCoordinateBasePos(const std::vector &v_pos); v2s32 getRealCoordinateGeometry(const std::vector &v_geom); + bool precheckElement(const std::string &name, const std::string &element, + size_t args_min, size_t args_max, std::vector &parts); std::unordered_map> theme_by_type; std::unordered_map> theme_by_name; -- cgit v1.2.3 From 4a16ab3585dafdf4d36b2807a1ee9507be64b363 Mon Sep 17 00:00:00 2001 From: Vincent Robinson Date: Thu, 30 Dec 2021 12:54:21 -0800 Subject: Improve TTF support for pixel-style fonts (#11848) --- builtin/settingtypes.txt | 18 +++++++++++++++--- minetest.conf.example | 14 +++++++++++++- src/client/fontengine.cpp | 17 +++++++++++------ src/defaultsettings.cpp | 2 ++ 4 files changed, 41 insertions(+), 10 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 1bc5e7982..22e69e30a 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -900,9 +900,15 @@ font_shadow (Font shadow) int 1 # Opaqueness (alpha) of the shadow behind the default font, between 0 and 255. font_shadow_alpha (Font shadow alpha) int 127 0 255 -# Font size of the default font in point (pt). +# Font size of the default font where 1 unit = 1 pixel at 96 DPI font_size (Font size) int 16 1 +# For pixel-style fonts that do not scale well, this ensures that font sizes used +# with this font will always be divisible by this value, in pixels. For instance, +# a pixel font 16 pixels tall should have this set to 16, so it will only ever be +# sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +font_size_divisible_by (Font size divisible by) int 1 1 + # Path to the default font. # If “freetype” setting is enabled: Must be a TrueType font. # If “freetype” setting is disabled: Must be a bitmap or XML vectors font. @@ -913,8 +919,14 @@ font_path_bold (Bold font path) filepath fonts/Arimo-Bold.ttf font_path_italic (Italic font path) filepath fonts/Arimo-Italic.ttf font_path_bold_italic (Bold and italic font path) filepath fonts/Arimo-BoldItalic.ttf -# Font size of the monospace font in point (pt). -mono_font_size (Monospace font size) int 15 1 +# Font size of the monospace font where 1 unit = 1 pixel at 96 DPI +mono_font_size (Monospace font size) int 16 1 + +# For pixel-style fonts that do not scale well, this ensures that font sizes used +# with this font will always be divisible by this value, in pixels. For instance, +# a pixel font 16 pixels tall should have this set to 16, so it will only ever be +# sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +mono_font_size_divisible_by (Monospace font size divisible by) int 1 1 # Path to the monospace font. # If “freetype” setting is enabled: Must be a TrueType font. diff --git a/minetest.conf.example b/minetest.conf.example index 3f4d01420..919c2d52c 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1055,6 +1055,12 @@ # type: int min: 1 # font_size = 16 +# For pixel-style fonts that do not scale well, this ensures that font sizes used +# with this font will always be divisible by this value, in pixels. For instance, +# a pixel font 16 pixels tall should have this set to 16, so it will only ever be +# sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +# font_size_divisible_by = 1 + # Path to the default font. # If “freetype” setting is enabled: Must be a TrueType font. # If “freetype” setting is disabled: Must be a bitmap or XML vectors font. @@ -1073,7 +1079,13 @@ # Font size of the monospace font in point (pt). # type: int min: 1 -# mono_font_size = 15 +# mono_font_size = 16 + +# For pixel-style fonts that do not scale well, this ensures that font sizes used +# with this font will always be divisible by this value, in pixels. For instance, +# a pixel font 16 pixels tall should have this set to 16, so it will only ever be +# sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +# mono_font_size_divisible_by = 1 # Path to the monospace font. # If “freetype” setting is enabled: Must be a TrueType font. diff --git a/src/client/fontengine.cpp b/src/client/fontengine.cpp index 35e908b0c..e537b756c 100644 --- a/src/client/fontengine.cpp +++ b/src/client/fontengine.cpp @@ -66,11 +66,13 @@ FontEngine::FontEngine(gui::IGUIEnvironment* env) : g_settings->registerChangedCallback("font_path_bolditalic", font_setting_changed, NULL); g_settings->registerChangedCallback("font_shadow", font_setting_changed, NULL); g_settings->registerChangedCallback("font_shadow_alpha", font_setting_changed, NULL); + g_settings->registerChangedCallback("font_size_divisible_by", font_setting_changed, NULL); g_settings->registerChangedCallback("fallback_font_path", font_setting_changed, NULL); } g_settings->registerChangedCallback("mono_font_path", font_setting_changed, NULL); g_settings->registerChangedCallback("mono_font_size", font_setting_changed, NULL); + g_settings->registerChangedCallback("mono_font_size_divisible_by", font_setting_changed, NULL); g_settings->registerChangedCallback("screen_dpi", font_setting_changed, NULL); g_settings->registerChangedCallback("gui_scaling", font_setting_changed, NULL); } @@ -252,15 +254,18 @@ gui::IGUIFont *FontEngine::initFont(const FontSpec &spec) if (spec.italic) setting_suffix.append("_italic"); - u32 size = std::floor(RenderingEngine::getDisplayDensity() * - g_settings->getFloat("gui_scaling") * spec.size); + u32 size = std::max(spec.size * RenderingEngine::getDisplayDensity() * + g_settings->getFloat("gui_scaling"), 1); - if (size == 0) { - errorstream << "FontEngine: attempt to use font size 0" << std::endl; - errorstream << " display density: " << RenderingEngine::getDisplayDensity() << std::endl; - abort(); + // Constrain the font size to a certain multiple, if necessary + u16 divisible_by = g_settings->getU16(setting_prefix + "font_size_divisible_by"); + if (divisible_by > 1) { + size = std::max( + std::round((double)size / divisible_by) * divisible_by, divisible_by); } + sanity_check(size != 0); + u16 font_shadow = 0; u16 font_shadow_alpha = 0; g_settings->getU16NoEx(setting_prefix + "font_shadow", font_shadow); diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 635ec2257..47790a552 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -313,10 +313,12 @@ void set_default_settings() settings->setDefault("font_italic", "false"); settings->setDefault("font_shadow", "1"); settings->setDefault("font_shadow_alpha", "127"); + settings->setDefault("font_size_divisible_by", "1"); settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "Cousine-Regular.ttf")); settings->setDefault("mono_font_path_italic", porting::getDataPath("fonts" DIR_DELIM "Cousine-Italic.ttf")); settings->setDefault("mono_font_path_bold", porting::getDataPath("fonts" DIR_DELIM "Cousine-Bold.ttf")); settings->setDefault("mono_font_path_bold_italic", porting::getDataPath("fonts" DIR_DELIM "Cousine-BoldItalic.ttf")); + settings->setDefault("mono_font_size_divisible_by", "1"); settings->setDefault("fallback_font_path", porting::getDataPath("fonts" DIR_DELIM "DroidSansFallbackFull.ttf")); std::string font_size_str = std::to_string(TTF_DEFAULT_FONT_SIZE); -- cgit v1.2.3 From 544b9d5c72f690d6a729053616d26e023f7e0e28 Mon Sep 17 00:00:00 2001 From: Vincent Robinson Date: Thu, 30 Dec 2021 12:54:47 -0800 Subject: Add padding[] element to formspecs (#11821) --- doc/lua_api.txt | 17 +++++- games/devtest/mods/testformspec/formspec.lua | 65 ++++++++++++++++++-- src/gui/guiFormSpecMenu.cpp | 88 +++++++++++++++++++++++----- src/gui/guiFormSpecMenu.h | 3 + 4 files changed, 149 insertions(+), 24 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1950659ab..0879dcfb5 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -117,7 +117,7 @@ Menu music ----------- Games can provide custom main menu music. They are put inside a `menu` -directory inside the game directory. +directory inside the game directory. The music files are named `theme.ogg`. If you want to specify multiple music files for one game, add additional @@ -2326,9 +2326,20 @@ Elements * `position` and `anchor` elements need suitable values to avoid a formspec extending off the game window due to particular game window sizes. -### `no_prepend[]` +### `padding[,]` * Must be used after the `size`, `position`, and `anchor` elements (if present). +* Defines how much space is padded around the formspec if the formspec tries to + increase past the size of the screen and coordinates have to be shrunk. +* For X and Y, 0.0 represents no padding (the formspec can touch the edge of the + screen), and 0.5 represents half the screen (which forces the coordinate size + to 0). If negative, the formspec can extend off the edge of the screen. +* Defaults to [0.05, 0.05]. + +### `no_prepend[]` + +* Must be used after the `size`, `position`, `anchor`, and `padding` elements + (if present). * Disables player:set_formspec_prepend() from applying to this formspec. ### `real_coordinates[]` @@ -7915,7 +7926,7 @@ Used by `minetest.register_node`. items = {"default:sand", "default:desert_sand"}, }, { - -- Only drop if using an item in the "magicwand" group, or + -- Only drop if using an item in the "magicwand" group, or -- an item that is in both the "pickaxe" and the "lucky" -- groups. tool_groups = { diff --git a/games/devtest/mods/testformspec/formspec.lua b/games/devtest/mods/testformspec/formspec.lua index 501b5e354..c0db695b7 100644 --- a/games/devtest/mods/testformspec/formspec.lua +++ b/games/devtest/mods/testformspec/formspec.lua @@ -270,6 +270,16 @@ local scroll_fs = --style_type[label;border=;bgcolor=] --label[0.75,2;Reset] +local window = { + sizex = 12, + sizey = 13, + positionx = 0.5, + positiony = 0.5, + anchorx = 0.5, + anchory = 0.5, + paddingx = 0.05, + paddingy = 0.05 +} local pages = { -- Real Coordinates @@ -341,9 +351,28 @@ local pages = { "size[12,13]real_coordinates[true]" .. "container[0.5,1.5]" .. tabheaders_fs .. "container_end[]", - -- Inv + -- Inv "size[12,13]real_coordinates[true]" .. inv_style_fs, + -- Window + function() + return "formspec_version[3]" .. + string.format("size[%s,%s]position[%s,%s]anchor[%s,%s]padding[%s,%s]", + window.sizex, window.sizey, window.positionx, window.positiony, + window.anchorx, window.anchory, window.paddingx, window.paddingy) .. + string.format("field[0.5,0.5;2.5,0.5;sizex;X Size;%s]field[3.5,0.5;2.5,0.5;sizey;Y Size;%s]" .. + "field[0.5,1.5;2.5,0.5;positionx;X Position;%s]field[3.5,1.5;2.5,0.5;positiony;Y Position;%s]" .. + "field[0.5,2.5;2.5,0.5;anchorx;X Anchor;%s]field[3.5,2.5;2.5,0.5;anchory;Y Anchor;%s]" .. + "field[0.5,3.5;2.5,0.5;paddingx;X Padding;%s]field[3.5,3.5;2.5,0.5;paddingy;Y Padding;%s]" .. + "button[2,4.5;2.5,0.5;submit_window;Submit]", + window.sizex, window.sizey, window.positionx, window.positiony, + window.anchorx, window.anchory, window.paddingx, window.paddingy) .. + "field_close_on_enter[sizex;false]field_close_on_enter[sizey;false]" .. + "field_close_on_enter[positionx;false]field_close_on_enter[positiony;false]" .. + "field_close_on_enter[anchorx;false]field_close_on_enter[anchory;false]" .. + "field_close_on_enter[paddingx;false]field_close_on_enter[paddingy;false]" + end, + -- Animation [[ formspec_version[3] @@ -403,10 +432,14 @@ mouse control = true] ]], } -local function show_test_formspec(pname, page_id) - page_id = page_id or 2 +local page_id = 2 +local function show_test_formspec(pname) + local page = pages[page_id] + if type(page) == "function" then + page = page() + end - local fs = pages[page_id] .. "tabheader[0,0;8,0.65;maintabs;Real Coord,Styles,Noclip,Hypertext,Tabs,Invs,Anim,Model,ScrollC,Sound;" .. page_id .. ";false;false]" + local fs = page .. "tabheader[0,0;8,0.65;maintabs;Real Coord,Styles,Noclip,Hypertext,Tabs,Invs,Window,Anim,Model,ScrollC,Sound;" .. page_id .. ";false;false]" minetest.show_formspec(pname, "testformspec:formspec", fs) end @@ -416,9 +449,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) return false end - if fields.maintabs then - show_test_formspec(player:get_player_name(), tonumber(fields.maintabs)) + page_id = tonumber(fields.maintabs) + show_test_formspec(player:get_player_name()) return true end @@ -434,6 +467,26 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) minetest.chat_send_player(player:get_player_name(), "Hypertext action received: " .. tostring(fields.hypertext)) return true end + + for name, value in pairs(fields) do + if window[name] then + print(name, window[name]) + local num_val = tonumber(value) or 0 + + if name == "sizex" and num_val < 4 then + num_val = 6.5 + elseif name == "sizey" and num_val < 5 then + num_val = 5.5 + end + + window[name] = num_val + print(name, window[name]) + end + end + + if fields.submit_window then + show_test_formspec(player:get_player_name()) + end end) minetest.register_chatcommand("test_formspec", { diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index dfeea12db..2cf9d9942 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -2470,11 +2470,16 @@ bool GUIFormSpecMenu::parsePositionDirect(parserData *data, const std::string &e void GUIFormSpecMenu::parsePosition(parserData *data, const std::string &element) { - std::vector parts = split(element, ','); + std::vector parts = split(element, ';'); - if (parts.size() == 2) { - data->offset.X = stof(parts[0]); - data->offset.Y = stof(parts[1]); + if (parts.size() == 1 || + (parts.size() > 1 && m_formspec_version > FORMSPEC_API_VERSION)) { + std::vector v_geom = split(parts[0], ','); + + MY_CHECKGEOM("position", 0); + + data->offset.X = stof(v_geom[0]); + data->offset.Y = stof(v_geom[1]); return; } @@ -2504,11 +2509,16 @@ bool GUIFormSpecMenu::parseAnchorDirect(parserData *data, const std::string &ele void GUIFormSpecMenu::parseAnchor(parserData *data, const std::string &element) { - std::vector parts = split(element, ','); + std::vector parts = split(element, ';'); - if (parts.size() == 2) { - data->anchor.X = stof(parts[0]); - data->anchor.Y = stof(parts[1]); + if (parts.size() == 1 || + (parts.size() > 1 && m_formspec_version > FORMSPEC_API_VERSION)) { + std::vector v_geom = split(parts[0], ','); + + MY_CHECKGEOM("anchor", 0); + + data->anchor.X = stof(v_geom[0]); + data->anchor.Y = stof(v_geom[1]); return; } @@ -2516,6 +2526,46 @@ void GUIFormSpecMenu::parseAnchor(parserData *data, const std::string &element) << "'" << std::endl; } +bool GUIFormSpecMenu::parsePaddingDirect(parserData *data, const std::string &element) +{ + if (element.empty()) + return false; + + std::vector parts = split(element, '['); + + if (parts.size() != 2) + return false; + + std::string type = trim(parts[0]); + std::string description = trim(parts[1]); + + if (type != "padding") + return false; + + parsePadding(data, description); + + return true; +} + +void GUIFormSpecMenu::parsePadding(parserData *data, const std::string &element) +{ + std::vector parts = split(element, ';'); + + if (parts.size() == 1 || + (parts.size() > 1 && m_formspec_version > FORMSPEC_API_VERSION)) { + std::vector v_geom = split(parts[0], ','); + + MY_CHECKGEOM("padding", 0); + + data->padding.X = stof(v_geom[0]); + data->padding.Y = stof(v_geom[1]); + return; + } + + errorstream << "Invalid padding element (" << parts.size() << "): '" << element + << "'" << std::endl; +} + bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, bool style_type) { std::vector parts = split(element, ';'); @@ -3022,6 +3072,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) mydata.screensize = screensize; mydata.offset = v2f32(0.5f, 0.5f); mydata.anchor = v2f32(0.5f, 0.5f); + mydata.padding = v2f32(0.05f, 0.05f); mydata.simple_field_count = 0; // Base position of contents of form @@ -3124,7 +3175,14 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) } } - /* "no_prepend" element is always after "position" (or "size" element) if it used */ + /* "padding" element is always after "anchor" and previous if it is used */ + for (; i < elements.size(); i++) { + if (!parsePaddingDirect(&mydata, elements[i])) { + break; + } + } + + /* "no_prepend" element is always after "padding" and previous if it used */ bool enable_prepends = true; for (; i < elements.size(); i++) { if (elements[i].empty()) @@ -3189,11 +3247,9 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) double fitx_imgsize; double fity_imgsize; - // Pad the screensize with 5% of the screensize on all sides to ensure - // that even the largest formspecs don't touch the screen borders. v2f padded_screensize( - mydata.screensize.X * 0.9f, - mydata.screensize.Y * 0.9f + mydata.screensize.X * (1.0f - mydata.padding.X * 2.0f), + mydata.screensize.Y * (1.0f - mydata.padding.Y * 2.0f) ); if (mydata.real_coordinates) { @@ -3209,13 +3265,15 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) ((15.0 / 13.0) * (0.85 + mydata.invsize.Y)); } + s32 min_screen_dim = std::min(mydata.screensize.X, mydata.screensize.Y); + #ifdef HAVE_TOUCHSCREENGUI // In Android, the preferred imgsize should be larger to accommodate the // smaller screensize. - double prefer_imgsize = padded_screensize.Y / 10 * gui_scaling; + double prefer_imgsize = min_screen_dim / 10 * gui_scaling; #else // Desktop computers have more space, so try to fit 15 coordinates. - double prefer_imgsize = padded_screensize.Y / 15 * gui_scaling; + double prefer_imgsize = min_screen_dim / 15 * gui_scaling; #endif // Try to use the preferred imgsize, but if that's bigger than the maximum // size, use the maximum size. diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 4ba9f3959..0b4d3879d 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -368,6 +368,7 @@ private: v2s32 size; v2f32 offset; v2f32 anchor; + v2f32 padding; core::rect rect; v2s32 basepos; v2u32 screensize; @@ -449,6 +450,8 @@ private: void parsePosition(parserData *data, const std::string &element); bool parseAnchorDirect(parserData *data, const std::string &element); void parseAnchor(parserData *data, const std::string &element); + bool parsePaddingDirect(parserData *data, const std::string &element); + void parsePadding(parserData *data, const std::string &element); bool parseStyle(parserData *data, const std::string &element, bool style_type); void parseSetFocus(const std::string &element); void parseModel(parserData *data, const std::string &element); -- cgit v1.2.3 From 29d2b2ccd06cdd831a7fac66928bfa612003945c Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 1 Jan 2022 16:44:56 -0500 Subject: Print announce error response (#11878) Fix HTTPFetch caller and request ID to 64 bits Check that allocated caller ID is not DISCARD Print body if serverlist request returns error Don't print control characters from HTTP responses Document special HTTPFetch caller IDs Allow unicode to be printed --- src/client/clientmedia.h | 6 +++--- src/httpfetch.cpp | 51 ++++++++++++++++++++++++++---------------------- src/httpfetch.h | 27 +++++++++++++++---------- src/serverlist.cpp | 1 + src/util/string.cpp | 16 +++++++++++++++ src/util/string.h | 8 ++++++++ 6 files changed, 73 insertions(+), 36 deletions(-) diff --git a/src/client/clientmedia.h b/src/client/clientmedia.h index aa7b0f398..c297d737f 100644 --- a/src/client/clientmedia.h +++ b/src/client/clientmedia.h @@ -174,12 +174,12 @@ private: s32 m_uncached_received_count = 0; // Status of remote transfers - unsigned long m_httpfetch_caller; - unsigned long m_httpfetch_next_id = 0; + u64 m_httpfetch_caller; + u64 m_httpfetch_next_id = 0; s32 m_httpfetch_active = 0; s32 m_httpfetch_active_limit = 0; s32 m_outstanding_hash_sets = 0; - std::unordered_map m_remote_file_transfers; + std::unordered_map m_remote_file_transfers; // All files up to this name have either been received from a // remote server or failed on all remote servers, so those files diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp index 1307bfec3..16f0791c9 100644 --- a/src/httpfetch.cpp +++ b/src/httpfetch.cpp @@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "noise.h" static std::mutex g_httpfetch_mutex; -static std::unordered_map> +static std::unordered_map> g_httpfetch_results; static PcgRandom g_callerid_randomness; @@ -52,22 +52,21 @@ HTTPFetchRequest::HTTPFetchRequest() : static void httpfetch_deliver_result(const HTTPFetchResult &fetch_result) { - unsigned long caller = fetch_result.caller; + u64 caller = fetch_result.caller; if (caller != HTTPFETCH_DISCARD) { MutexAutoLock lock(g_httpfetch_mutex); g_httpfetch_results[caller].emplace(fetch_result); } } -static void httpfetch_request_clear(unsigned long caller); +static void httpfetch_request_clear(u64 caller); -unsigned long httpfetch_caller_alloc() +u64 httpfetch_caller_alloc() { MutexAutoLock lock(g_httpfetch_mutex); - // Check each caller ID except HTTPFETCH_DISCARD - const unsigned long discard = HTTPFETCH_DISCARD; - for (unsigned long caller = discard + 1; caller != discard; ++caller) { + // Check each caller ID except reserved ones + for (u64 caller = HTTPFETCH_CID_START; caller != 0; ++caller) { auto it = g_httpfetch_results.find(caller); if (it == g_httpfetch_results.end()) { verbosestream << "httpfetch_caller_alloc: allocating " @@ -79,18 +78,17 @@ unsigned long httpfetch_caller_alloc() } FATAL_ERROR("httpfetch_caller_alloc: ran out of caller IDs"); - return discard; } -unsigned long httpfetch_caller_alloc_secure() +u64 httpfetch_caller_alloc_secure() { MutexAutoLock lock(g_httpfetch_mutex); // Generate random caller IDs and make sure they're not - // already used or equal to HTTPFETCH_DISCARD + // already used or reserved. // Give up after 100 tries to prevent infinite loop - u8 tries = 100; - unsigned long caller; + size_t tries = 100; + u64 caller; do { caller = (((u64) g_callerid_randomness.next()) << 32) | @@ -100,7 +98,8 @@ unsigned long httpfetch_caller_alloc_secure() FATAL_ERROR("httpfetch_caller_alloc_secure: ran out of caller IDs"); return HTTPFETCH_DISCARD; } - } while (g_httpfetch_results.find(caller) != g_httpfetch_results.end()); + } while (caller >= HTTPFETCH_CID_START && + g_httpfetch_results.find(caller) != g_httpfetch_results.end()); verbosestream << "httpfetch_caller_alloc_secure: allocating " << caller << std::endl; @@ -110,7 +109,7 @@ unsigned long httpfetch_caller_alloc_secure() return caller; } -void httpfetch_caller_free(unsigned long caller) +void httpfetch_caller_free(u64 caller) { verbosestream<<"httpfetch_caller_free: freeing " <= 400) { + errorstream << "HTTPFetch for " << request.url + << " returned response code " << result.response_code << std::endl; + if (result.caller == HTTPFETCH_PRINT_ERR && !result.data.empty()) { + errorstream << "Response body:" << std::endl; + safe_print_string(errorstream, result.data); + errorstream << std::endl; + } } return &result; @@ -474,7 +479,7 @@ public: m_requests.push_back(req); } - void requestClear(unsigned long caller, Event *event) + void requestClear(u64 caller, Event *event) { Request req; req.type = RT_CLEAR; @@ -505,7 +510,7 @@ protected: } else if (req.type == RT_CLEAR) { - unsigned long caller = req.fetch_request.caller; + u64 caller = req.fetch_request.caller; // Abort all ongoing fetches for the caller for (std::vector::iterator @@ -778,7 +783,7 @@ void httpfetch_async(const HTTPFetchRequest &fetch_request) g_httpfetch_thread->start(); } -static void httpfetch_request_clear(unsigned long caller) +static void httpfetch_request_clear(u64 caller) { if (g_httpfetch_thread->isRunning()) { Event event; @@ -827,7 +832,7 @@ void httpfetch_async(const HTTPFetchRequest &fetch_request) httpfetch_deliver_result(fetch_result); } -static void httpfetch_request_clear(unsigned long caller) +static void httpfetch_request_clear(u64 caller) { } diff --git a/src/httpfetch.h b/src/httpfetch.h index 3b9f17f0a..a4901e63b 100644 --- a/src/httpfetch.h +++ b/src/httpfetch.h @@ -23,10 +23,17 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/string.h" #include "config.h" -// Can be used in place of "caller" in asynchronous transfers to discard result -// (used as default value of "caller") +// These can be used in place of "caller" in to specify special handling. +// Discard result (used as default value of "caller"). #define HTTPFETCH_DISCARD 0 +// Indicates that the result should not be discarded when performing a +// synchronous request (since a real caller ID is not needed for synchronous +// requests because the result does not have to be retrieved later). #define HTTPFETCH_SYNC 1 +// Print response body to console if the server returns an error code. +#define HTTPFETCH_PRINT_ERR 2 +// Start of regular allocated caller IDs. +#define HTTPFETCH_CID_START 3 // Methods enum HttpMethod : u8 @@ -43,11 +50,11 @@ struct HTTPFetchRequest // Identifies the caller (for asynchronous requests) // Ignored by httpfetch_sync - unsigned long caller = HTTPFETCH_DISCARD; + u64 caller = HTTPFETCH_DISCARD; // Some number that identifies the request // (when the same caller issues multiple httpfetch_async calls) - unsigned long request_id = 0; + u64 request_id = 0; // Timeout for the whole transfer, in milliseconds long timeout; @@ -85,8 +92,8 @@ struct HTTPFetchResult long response_code = 0; std::string data = ""; // The caller and request_id from the corresponding HTTPFetchRequest. - unsigned long caller = HTTPFETCH_DISCARD; - unsigned long request_id = 0; + u64 caller = HTTPFETCH_DISCARD; + u64 request_id = 0; HTTPFetchResult() = default; @@ -107,19 +114,19 @@ void httpfetch_async(const HTTPFetchRequest &fetch_request); // If any fetch for the given caller ID is complete, removes it from the // result queue, sets the fetch result and returns true. Otherwise returns false. -bool httpfetch_async_get(unsigned long caller, HTTPFetchResult &fetch_result); +bool httpfetch_async_get(u64 caller, HTTPFetchResult &fetch_result); // Allocates a caller ID for httpfetch_async // Not required if you want to set caller = HTTPFETCH_DISCARD -unsigned long httpfetch_caller_alloc(); +u64 httpfetch_caller_alloc(); // Allocates a non-predictable caller ID for httpfetch_async -unsigned long httpfetch_caller_alloc_secure(); +u64 httpfetch_caller_alloc_secure(); // Frees a caller ID allocated with httpfetch_caller_alloc // Note: This can be expensive, because the httpfetch thread is told // to stop any ongoing fetches for the given caller. -void httpfetch_caller_free(unsigned long caller); +void httpfetch_caller_free(u64 caller); // Performs a synchronous HTTP request. This blocks and therefore should // only be used from background threads. diff --git a/src/serverlist.cpp b/src/serverlist.cpp index 3bcab3d58..29e3ac9a6 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -97,6 +97,7 @@ void sendAnnounce(AnnounceAction action, } HTTPFetchRequest fetch_request; + fetch_request.caller = HTTPFETCH_PRINT_ERR; fetch_request.url = g_settings->get("serverlist_url") + std::string("/announce"); fetch_request.method = HTTP_POST; fetch_request.fields["json"] = fastWriteJson(server); diff --git a/src/util/string.cpp b/src/util/string.cpp index 8be5e320a..bc4664997 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -887,3 +887,19 @@ std::string sanitizeDirName(const std::string &str, const std::string &optional_ return wide_to_utf8(safe_name); } + + +void safe_print_string(std::ostream &os, const std::string &str) +{ + std::ostream::fmtflags flags = os.flags(); + os << std::hex; + for (const char c : str) { + if (IS_ASCII_PRINTABLE_CHAR(c) || IS_UTF8_MULTB_START(c) || + IS_UTF8_MULTB_INNER(c) || c == '\n' || c == '\t') { + os << c; + } else { + os << '<' << std::setw(2) << (int)c << '>'; + } + } + os.setf(flags); +} diff --git a/src/util/string.h b/src/util/string.h index bca998f56..8a9e83f22 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -753,3 +753,11 @@ inline irr::core::stringw utf8_to_stringw(const std::string &input) * 2. Remove 'unsafe' characters from the name by replacing them with '_' */ std::string sanitizeDirName(const std::string &str, const std::string &optional_prefix); + +/** + * Prints a sanitized version of a string without control characters. + * '\t' and '\n' are allowed, as are UTF-8 control characters (e.g. RTL). + * ASCII control characters are replaced with their hex encoding in angle + * brackets (e.g. "a\x1eb" -> "a<1e>b"). + */ +void safe_print_string(std::ostream &os, const std::string &str); -- cgit v1.2.3 From 8910c7f8ae1862d3d81e6f635789e765ae2e80b9 Mon Sep 17 00:00:00 2001 From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Sat, 1 Jan 2022 22:46:00 +0100 Subject: Better document sky_color scope (#11892) --- doc/lua_api.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 0879dcfb5..81b05abb0 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6803,29 +6803,29 @@ object you are working with still exists. * `textures`: A table containing up to six textures in the following order: Y+ (top), Y- (bottom), X- (west), X+ (east), Z+ (north), Z- (south). * `clouds`: Boolean for whether clouds appear. (default: `true`) - * `sky_color`: A table containing the following values, alpha is ignored: - * `day_sky`: ColorSpec, for the top half of the `"regular"` - sky during the day. (default: `#61b5f5`) - * `day_horizon`: ColorSpec, for the bottom half of the - `"regular"` sky during the day. (default: `#90d3f6`) - * `dawn_sky`: ColorSpec, for the top half of the `"regular"` - sky during dawn/sunset. (default: `#b4bafa`) + * `sky_color`: A table used in `"regular"` type only, containing the + following values (alpha is ignored): + * `day_sky`: ColorSpec, for the top half of the sky during the day. + (default: `#61b5f5`) + * `day_horizon`: ColorSpec, for the bottom half of the sky during the day. + (default: `#90d3f6`) + * `dawn_sky`: ColorSpec, for the top half of the sky during dawn/sunset. + (default: `#b4bafa`) The resulting sky color will be a darkened version of the ColorSpec. Warning: The darkening of the ColorSpec is subject to change. - * `dawn_horizon`: ColorSpec, for the bottom half of the `"regular"` - sky during dawn/sunset. (default: `#bac1f0`) + * `dawn_horizon`: ColorSpec, for the bottom half of the sky during dawn/sunset. + (default: `#bac1f0`) The resulting sky color will be a darkened version of the ColorSpec. Warning: The darkening of the ColorSpec is subject to change. - * `night_sky`: ColorSpec, for the top half of the `"regular"` - sky during the night. (default: `#006bff`) + * `night_sky`: ColorSpec, for the top half of the sky during the night. + (default: `#006bff`) The resulting sky color will be a dark version of the ColorSpec. Warning: The darkening of the ColorSpec is subject to change. - * `night_horizon`: ColorSpec, for the bottom half of the `"regular"` - sky during the night. (default: `#4090ff`) + * `night_horizon`: ColorSpec, for the bottom half of the sky during the night. + (default: `#4090ff`) The resulting sky color will be a dark version of the ColorSpec. Warning: The darkening of the ColorSpec is subject to change. - * `indoors`: ColorSpec, for when you're either indoors or - underground. Only applies to the `"regular"` sky. + * `indoors`: ColorSpec, for when you're either indoors or underground. (default: `#646464`) * `fog_sun_tint`: ColorSpec, changes the fog tinting for the sun at sunrise and sunset. -- cgit v1.2.3 From e030d9cff08636a3c9ed301efb5e35b7642ac166 Mon Sep 17 00:00:00 2001 From: x2048 Date: Sun, 2 Jan 2022 14:32:13 +0100 Subject: Recalculate normals before adding mesh to the scene --- src/client/content_cao.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index a80a3ce4e..db01945eb 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -764,10 +764,6 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr) grabMatrixNode(); scene::IAnimatedMesh *mesh = m_client->getMesh(m_prop.mesh, true); if (mesh) { - m_animated_meshnode = m_smgr->addAnimatedMeshSceneNode(mesh, m_matrixnode); - m_animated_meshnode->grab(); - mesh->drop(); // The scene node took hold of it - if (!checkMeshNormals(mesh)) { infostream << "GenericCAO: recalculating normals for mesh " << m_prop.mesh << std::endl; @@ -775,6 +771,9 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr) recalculateNormals(mesh, true, false); } + m_animated_meshnode = m_smgr->addAnimatedMeshSceneNode(mesh, m_matrixnode); + m_animated_meshnode->grab(); + mesh->drop(); // The scene node took hold of it m_animated_meshnode->animateJoints(); // Needed for some animations m_animated_meshnode->setScale(m_prop.visual_size); -- cgit v1.2.3 From 835524654ed95afd1c5584c398a78ac226d0f27e Mon Sep 17 00:00:00 2001 From: x2048 Date: Sun, 2 Jan 2022 22:45:55 +0100 Subject: Fix shadow mapping when PCF is disabled (#11888) --- client/shaders/nodes_shader/opengl_fragment.glsl | 1 + 1 file changed, 1 insertion(+) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index b4a605b28..9ee88eb39 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -185,6 +185,7 @@ float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDist float baseLength = getBaseLength(smTexCoord); float perspectiveFactor; + if (PCFBOUND == 0.0) return 0.0; // Return fast if sharp shadows are requested if (SOFTSHADOWRADIUS <= 1.0) { perspectiveFactor = getDeltaPerspectiveFactor(baseLength); -- cgit v1.2.3 From 84fdd369d45314a5b7946ff66fe5fce85c1abc1f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 3 Jan 2022 03:14:02 +0000 Subject: Cap damage overlay duration to 1 second (#11871) --- src/client/content_cao.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index db01945eb..9cc40c95f 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1859,6 +1859,8 @@ void GenericCAO::processMessage(const std::string &data) m_reset_textures_timer = 0.05; if(damage >= 2) m_reset_textures_timer += 0.05 * damage; + // Cap damage overlay to 1 second + m_reset_textures_timer = std::min(m_reset_textures_timer, 1.0f); updateTextures(m_current_texture_modifier + m_prop.damage_texture_modifier); } } @@ -1927,6 +1929,8 @@ bool GenericCAO::directReportPunch(v3f dir, const ItemStack *punchitem, m_reset_textures_timer = 0.05; if (result.damage >= 2) m_reset_textures_timer += 0.05 * result.damage; + // Cap damage overlay to 1 second + m_reset_textures_timer = std::min(m_reset_textures_timer, 1.0f); updateTextures(m_current_texture_modifier + m_prop.damage_texture_modifier); } } -- cgit v1.2.3 From 196562870552b156265feb83043da2bc21bd6246 Mon Sep 17 00:00:00 2001 From: Desour Date: Sun, 2 Jan 2022 17:16:16 +0100 Subject: Fix vector.from_string returning a table without vector metatable --- builtin/common/tests/vector_spec.lua | 1 + builtin/common/vector.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/builtin/common/tests/vector_spec.lua b/builtin/common/tests/vector_spec.lua index 2a50e2889..2f72f3383 100644 --- a/builtin/common/tests/vector_spec.lua +++ b/builtin/common/tests/vector_spec.lua @@ -300,6 +300,7 @@ describe("vector", function() it("from_string()", function() local v = vector.new(1, 2, 3.14) + assert.is_true(vector.check(vector.from_string("(1, 2, 3.14)"))) assert.same({v, 13}, {vector.from_string("(1, 2, 3.14)")}) assert.same({v, 12}, {vector.from_string("(1,2 ,3.14)")}) assert.same({v, 12}, {vector.from_string("(1,2,3.14,)")}) diff --git a/builtin/common/vector.lua b/builtin/common/vector.lua index 02fc1bdee..581d014e0 100644 --- a/builtin/common/vector.lua +++ b/builtin/common/vector.lua @@ -61,7 +61,7 @@ function vector.from_string(s, init) if not (x and y and z) then return nil end - return {x = x, y = y, z = z}, np + return fast_new(x, y, z), np end function vector.to_string(v) -- cgit v1.2.3 From d33ab97434633683196cee2c4593160736899124 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 4 Jan 2022 18:39:27 +0100 Subject: Inventory: Add ServerEnv checks for calls during script init This fixes 'minetest.get_inventory' calls to players or nodes during the load phase. --- src/server/serverinventorymgr.cpp | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/src/server/serverinventorymgr.cpp b/src/server/serverinventorymgr.cpp index 3aee003b4..63d1645cb 100644 --- a/src/server/serverinventorymgr.cpp +++ b/src/server/serverinventorymgr.cpp @@ -39,24 +39,29 @@ ServerInventoryManager::~ServerInventoryManager() Inventory *ServerInventoryManager::getInventory(const InventoryLocation &loc) { + // No m_env check here: allow creation and modification of detached inventories + switch (loc.type) { case InventoryLocation::UNDEFINED: case InventoryLocation::CURRENT_PLAYER: break; case InventoryLocation::PLAYER: { + if (!m_env) + return nullptr; + RemotePlayer *player = m_env->getPlayer(loc.name.c_str()); if (!player) return NULL; + PlayerSAO *playersao = player->getPlayerSAO(); - if (!playersao) - return NULL; - return playersao->getInventory(); + return playersao ? playersao->getInventory() : nullptr; } break; case InventoryLocation::NODEMETA: { + if (!m_env) + return nullptr; + NodeMetadata *meta = m_env->getMap().getNodeMetadata(loc.p); - if (!meta) - return NULL; - return meta->getInventory(); + return meta ? meta->getInventory() : nullptr; } break; case InventoryLocation::DETACHED: { auto it = m_detached_inventories.find(loc.name); @@ -151,12 +156,13 @@ bool ServerInventoryManager::removeDetachedInventory(const std::string &name) const std::string &owner = inv_it->second.owner; if (!owner.empty()) { - RemotePlayer *player = m_env->getPlayer(owner.c_str()); - - if (player && player->getPeerId() != PEER_ID_INEXISTENT) - m_env->getGameDef()->sendDetachedInventory( - nullptr, name, player->getPeerId()); + if (m_env) { + RemotePlayer *player = m_env->getPlayer(owner.c_str()); + if (player && player->getPeerId() != PEER_ID_INEXISTENT) + m_env->getGameDef()->sendDetachedInventory( + nullptr, name, player->getPeerId()); + } } else if (m_env) { // Notify all players about the change as soon ServerEnv exists m_env->getGameDef()->sendDetachedInventory( -- cgit v1.2.3 From e39b159845871fbb1634570bd4af999c1c72e6fa Mon Sep 17 00:00:00 2001 From: Vincent Robinson Date: Tue, 4 Jan 2022 17:47:32 -0800 Subject: Base formspec coordinate size on padded screensize --- src/gui/guiFormSpecMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 2cf9d9942..770a50bd9 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -3265,7 +3265,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) ((15.0 / 13.0) * (0.85 + mydata.invsize.Y)); } - s32 min_screen_dim = std::min(mydata.screensize.X, mydata.screensize.Y); + s32 min_screen_dim = std::min(padded_screensize.X, padded_screensize.Y); #ifdef HAVE_TOUCHSCREENGUI // In Android, the preferred imgsize should be larger to accommodate the -- cgit v1.2.3 From 85da2e284b8091062e1b53ad5a703aae6cbc3a3c Mon Sep 17 00:00:00 2001 From: Aritz Erkiaga Date: Thu, 6 Jan 2022 19:19:44 +0100 Subject: Fix incorrect bit positions in paramtype documentation --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 81b05abb0..d4dc19fdd 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1026,7 +1026,7 @@ The function of `param1` is determined by `paramtype` in node definition. `param1` is reserved for the engine when `paramtype != "none"`. * `paramtype = "light"` - * The value stores light with and without sun in its upper and lower 4 bits + * The value stores light with and without sun in its lower and upper 4 bits respectively. * Required by a light source node to enable spreading its light. * Required by the following drawtypes as they determine their visual -- cgit v1.2.3 From b81948a14c138517f6a227dac5b71f0b2facb33c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 6 Jan 2022 20:16:35 +0000 Subject: Fix damage wraparound if very high damage (#11872) --- doc/lua_api.txt | 2 +- src/script/cpp_api/s_entity.cpp | 2 +- src/script/cpp_api/s_entity.h | 2 +- src/script/cpp_api/s_player.cpp | 2 +- src/script/cpp_api/s_player.h | 2 +- src/tool.cpp | 4 +++- src/tool.h | 4 ++-- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d4dc19fdd..3edfd5bb1 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3524,7 +3524,7 @@ Helper functions * `minetest.get_hit_params(groups, tool_capabilities [, time_from_last_punch [, wear]])`: Simulates an item that punches an object. Returns a table with the following fields: - * `hp`: How much damage the punch would cause. + * `hp`: How much damage the punch would cause (between -65535 and 65535). * `wear`: How much wear would be added to the tool (ignored for non-tools). Parameters: * `groups`: Damage groups of the object diff --git a/src/script/cpp_api/s_entity.cpp b/src/script/cpp_api/s_entity.cpp index 746f7013e..06337b9e8 100644 --- a/src/script/cpp_api/s_entity.cpp +++ b/src/script/cpp_api/s_entity.cpp @@ -240,7 +240,7 @@ void ScriptApiEntity::luaentity_Step(u16 id, float dtime, // tool_capabilities, direction, damage) bool ScriptApiEntity::luaentity_Punch(u16 id, ServerActiveObject *puncher, float time_from_last_punch, - const ToolCapabilities *toolcap, v3f dir, s16 damage) + const ToolCapabilities *toolcap, v3f dir, s32 damage) { SCRIPTAPI_PRECHECKHEADER diff --git a/src/script/cpp_api/s_entity.h b/src/script/cpp_api/s_entity.h index b52f6e447..7658ae922 100644 --- a/src/script/cpp_api/s_entity.h +++ b/src/script/cpp_api/s_entity.h @@ -42,7 +42,7 @@ public: const collisionMoveResult *moveresult); bool luaentity_Punch(u16 id, ServerActiveObject *puncher, float time_from_last_punch, - const ToolCapabilities *toolcap, v3f dir, s16 damage); + const ToolCapabilities *toolcap, v3f dir, s32 damage); bool luaentity_on_death(u16 id, ServerActiveObject *killer); void luaentity_Rightclick(u16 id, ServerActiveObject *clicker); void luaentity_on_attach_child(u16 id, ServerActiveObject *child); diff --git a/src/script/cpp_api/s_player.cpp b/src/script/cpp_api/s_player.cpp index d3e6138dc..22b24f363 100644 --- a/src/script/cpp_api/s_player.cpp +++ b/src/script/cpp_api/s_player.cpp @@ -60,7 +60,7 @@ bool ScriptApiPlayer::on_punchplayer(ServerActiveObject *player, float time_from_last_punch, const ToolCapabilities *toolcap, v3f dir, - s16 damage) + s32 damage) { SCRIPTAPI_PRECHECKHEADER // Get core.registered_on_punchplayers diff --git a/src/script/cpp_api/s_player.h b/src/script/cpp_api/s_player.h index c0f141862..e866aee46 100644 --- a/src/script/cpp_api/s_player.h +++ b/src/script/cpp_api/s_player.h @@ -46,7 +46,7 @@ public: void on_cheat(ServerActiveObject *player, const std::string &cheat_type); bool on_punchplayer(ServerActiveObject *player, ServerActiveObject *hitter, float time_from_last_punch, const ToolCapabilities *toolcap, - v3f dir, s16 damage); + v3f dir, s32 damage); void on_rightclickplayer(ServerActiveObject *player, ServerActiveObject *clicker); s32 on_player_hpchange(ServerActiveObject *player, s32 hp_change, const PlayerHPChangeReason &reason); diff --git a/src/tool.cpp b/src/tool.cpp index b0749286d..075c6b3c5 100644 --- a/src/tool.cpp +++ b/src/tool.cpp @@ -306,7 +306,7 @@ HitParams getHitParams(const ItemGroupList &armor_groups, const ToolCapabilities *tp, float time_from_last_punch, u16 initial_wear) { - s16 damage = 0; + s32 damage = 0; float result_wear = 0.0f; float punch_interval_multiplier = rangelim(time_from_last_punch / tp->full_punch_interval, 0.0f, 1.0f); @@ -320,6 +320,8 @@ HitParams getHitParams(const ItemGroupList &armor_groups, result_wear = calculateResultWear(tp->punch_attack_uses, initial_wear); result_wear *= punch_interval_multiplier; } + // Keep damage in sane bounds for simplicity + damage = rangelim(damage, -U16_MAX, U16_MAX); u32 wear_i = (u32) result_wear; return {damage, wear_i}; diff --git a/src/tool.h b/src/tool.h index 0e3388485..8409f59af 100644 --- a/src/tool.h +++ b/src/tool.h @@ -106,11 +106,11 @@ DigParams getDigParams(const ItemGroupList &groups, struct HitParams { - s16 hp; + s32 hp; // Caused wear u32 wear; // u32 because wear could be 65536 (single-use weapon) - HitParams(s16 hp_ = 0, u32 wear_ = 0): + HitParams(s32 hp_ = 0, u32 wear_ = 0): hp(hp_), wear(wear_) {} -- cgit v1.2.3 From bf22569019749e421e8ffe0a73cff988a9a9c846 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Fri, 7 Jan 2022 13:28:49 -0500 Subject: Use a database for mod storage (#11763) --- doc/minetest.6 | 4 + src/client/client.cpp | 33 ++-- src/client/client.h | 3 +- src/content/mods.cpp | 83 ++-------- src/content/mods.h | 10 +- src/content/subgames.cpp | 1 + src/database/database-dummy.cpp | 38 +++++ src/database/database-dummy.h | 9 +- src/database/database-files.cpp | 136 +++++++++++++++- src/database/database-files.h | 26 +++ src/database/database-sqlite3.cpp | 105 +++++++++++++ src/database/database-sqlite3.h | 25 +++ src/database/database.h | 13 ++ src/gamedef.h | 3 +- src/main.cpp | 5 + src/script/lua_api/l_storage.cpp | 18 ++- src/server.cpp | 140 ++++++++++++++--- src/server.h | 11 +- src/unittest/CMakeLists.txt | 1 + src/unittest/test.cpp | 6 +- src/unittest/test_modmetadatadatabase.cpp | 253 ++++++++++++++++++++++++++++++ 21 files changed, 797 insertions(+), 126 deletions(-) create mode 100644 src/unittest/test_modmetadatadatabase.cpp diff --git a/doc/minetest.6 b/doc/minetest.6 index 42ed1a45f..6a3601f80 100644 --- a/doc/minetest.6 +++ b/doc/minetest.6 @@ -112,6 +112,10 @@ leveldb, and files. Migrate from current players backend to another. Possible values are sqlite3, leveldb, postgresql, dummy, and files. .TP +.B \-\-migrate-mod-storage +Migrate from current mod storage backend to another. Possible values are +sqlite3, dummy, and files. +.TP .B \-\-terminal Display an interactive terminal over ncurses during execution. diff --git a/src/client/client.cpp b/src/client/client.cpp index 6e4a90a79..2caa953e4 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -128,6 +128,11 @@ Client::Client( // Add local player m_env.setLocalPlayer(new LocalPlayer(this, playername)); + // Make the mod storage database and begin the save for later + m_mod_storage_database = + new ModMetadataDatabaseSQLite3(porting::path_user + DIR_DELIM + "client"); + m_mod_storage_database->beginSave(); + if (g_settings->getBool("enable_minimap")) { m_minimap = new Minimap(this); } @@ -305,6 +310,11 @@ Client::~Client() m_minimap = nullptr; delete m_media_downloader; + + // Write the changes and delete + if (m_mod_storage_database) + m_mod_storage_database->endSave(); + delete m_mod_storage_database; } void Client::connect(Address address, bool is_local_server) @@ -641,19 +651,12 @@ void Client::step(float dtime) } } + // Write changes to the mod storage m_mod_storage_save_timer -= dtime; if (m_mod_storage_save_timer <= 0.0f) { m_mod_storage_save_timer = g_settings->getFloat("server_map_save_interval"); - int n = 0; - for (std::unordered_map::const_iterator - it = m_mod_storages.begin(); it != m_mod_storages.end(); ++it) { - if (it->second->isModified()) { - it->second->save(getModStoragePath()); - n++; - } - } - if (n > 0) - infostream << "Saved " << n << " modified mod storages." << std::endl; + m_mod_storage_database->endSave(); + m_mod_storage_database->beginSave(); } // Write server map @@ -1960,16 +1963,8 @@ void Client::unregisterModStorage(const std::string &name) { std::unordered_map::const_iterator it = m_mod_storages.find(name); - if (it != m_mod_storages.end()) { - // Save unconditionaly on unregistration - it->second->save(getModStoragePath()); + if (it != m_mod_storages.end()) m_mod_storages.erase(name); - } -} - -std::string Client::getModStoragePath() const -{ - return porting::path_user + DIR_DELIM + "client" + DIR_DELIM + "mod_storage"; } /* diff --git a/src/client/client.h b/src/client/client.h index bae40f389..694cd7d1b 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -380,8 +380,8 @@ public: { return checkPrivilege(priv); } virtual scene::IAnimatedMesh* getMesh(const std::string &filename, bool cache = false); const std::string* getModFile(std::string filename); + ModMetadataDatabase *getModStorageDatabase() override { return m_mod_storage_database; } - std::string getModStoragePath() const override; bool registerModStorage(ModMetadata *meta) override; void unregisterModStorage(const std::string &name) override; @@ -590,6 +590,7 @@ private: // Client modding ClientScripting *m_script = nullptr; std::unordered_map m_mod_storages; + ModMetadataDatabase *m_mod_storage_database = nullptr; float m_mod_storage_save_timer = 10.0f; std::vector m_mods; StringMap m_mod_vfs; diff --git a/src/content/mods.cpp b/src/content/mods.cpp index 6f088a5b3..455506967 100644 --- a/src/content/mods.cpp +++ b/src/content/mods.cpp @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include "content/mods.h" +#include "database/database.h" #include "filesys.h" #include "log.h" #include "content/subgames.h" @@ -422,83 +423,29 @@ ClientModConfiguration::ClientModConfiguration(const std::string &path) : } #endif -ModMetadata::ModMetadata(const std::string &mod_name) : m_mod_name(mod_name) +ModMetadata::ModMetadata(const std::string &mod_name, ModMetadataDatabase *database): + m_mod_name(mod_name), m_database(database) { + m_database->getModEntries(m_mod_name, &m_stringvars); } void ModMetadata::clear() { + for (const auto &pair : m_stringvars) { + m_database->removeModEntry(m_mod_name, pair.first); + } Metadata::clear(); - m_modified = true; } -bool ModMetadata::save(const std::string &root_path) +bool ModMetadata::setString(const std::string &name, const std::string &var) { - Json::Value json; - for (StringMap::const_iterator it = m_stringvars.begin(); - it != m_stringvars.end(); ++it) { - json[it->first] = it->second; - } - - if (!fs::PathExists(root_path)) { - if (!fs::CreateAllDirs(root_path)) { - errorstream << "ModMetadata[" << m_mod_name - << "]: Unable to save. '" << root_path - << "' tree cannot be created." << std::endl; - return false; + if (Metadata::setString(name, var)) { + if (var.empty()) { + m_database->removeModEntry(m_mod_name, name); + } else { + m_database->setModEntry(m_mod_name, name, var); } - } else if (!fs::IsDir(root_path)) { - errorstream << "ModMetadata[" << m_mod_name << "]: Unable to save. '" - << root_path << "' is not a directory." << std::endl; - return false; - } - - bool w_ok = fs::safeWriteToFile( - root_path + DIR_DELIM + m_mod_name, fastWriteJson(json)); - - if (w_ok) { - m_modified = false; - } else { - errorstream << "ModMetadata[" << m_mod_name << "]: failed write file." - << std::endl; - } - return w_ok; -} - -bool ModMetadata::load(const std::string &root_path) -{ - m_stringvars.clear(); - - std::ifstream is((root_path + DIR_DELIM + m_mod_name).c_str(), - std::ios_base::binary); - if (!is.good()) { - return false; - } - - Json::Value root; - Json::CharReaderBuilder builder; - builder.settings_["collectComments"] = false; - std::string errs; - - if (!Json::parseFromStream(builder, is, &root, &errs)) { - errorstream << "ModMetadata[" << m_mod_name - << "]: failed read data " - "(Json decoding failure). Message: " - << errs << std::endl; - return false; - } - - const Json::Value::Members attr_list = root.getMemberNames(); - for (const auto &it : attr_list) { - Json::Value attr_value = root[it]; - m_stringvars[it] = attr_value.asString(); + return true; } - - return true; -} - -bool ModMetadata::setString(const std::string &name, const std::string &var) -{ - m_modified = Metadata::setString(name, var); - return m_modified; + return false; } diff --git a/src/content/mods.h b/src/content/mods.h index b56a97edb..dd3b6e0e6 100644 --- a/src/content/mods.h +++ b/src/content/mods.h @@ -31,6 +31,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "config.h" #include "metadata.h" +class ModMetadataDatabase; + #define MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_" struct ModSpec @@ -149,20 +151,16 @@ class ModMetadata : public Metadata { public: ModMetadata() = delete; - ModMetadata(const std::string &mod_name); + ModMetadata(const std::string &mod_name, ModMetadataDatabase *database); ~ModMetadata() = default; virtual void clear(); - bool save(const std::string &root_path); - bool load(const std::string &root_path); - - bool isModified() const { return m_modified; } const std::string &getModName() const { return m_mod_name; } virtual bool setString(const std::string &name, const std::string &var); private: std::string m_mod_name; - bool m_modified = false; + ModMetadataDatabase *m_database; }; diff --git a/src/content/subgames.cpp b/src/content/subgames.cpp index 30447c838..e834f40cd 100644 --- a/src/content/subgames.cpp +++ b/src/content/subgames.cpp @@ -358,6 +358,7 @@ void loadGameConfAndInitWorld(const std::string &path, const std::string &name, conf.set("backend", "sqlite3"); conf.set("player_backend", "sqlite3"); conf.set("auth_backend", "sqlite3"); + conf.set("mod_storage_backend", "sqlite3"); conf.setBool("creative_mode", g_settings->getBool("creative_mode")); conf.setBool("enable_damage", g_settings->getBool("enable_damage")); diff --git a/src/database/database-dummy.cpp b/src/database/database-dummy.cpp index b56f341c5..629b2fb04 100644 --- a/src/database/database-dummy.cpp +++ b/src/database/database-dummy.cpp @@ -80,3 +80,41 @@ void Database_Dummy::listPlayers(std::vector &res) res.emplace_back(player); } } + +bool Database_Dummy::getModEntries(const std::string &modname, StringMap *storage) +{ + const auto mod_pair = m_mod_meta_database.find(modname); + if (mod_pair != m_mod_meta_database.cend()) { + for (const auto &pair : mod_pair->second) { + (*storage)[pair.first] = pair.second; + } + } + return true; +} + +bool Database_Dummy::setModEntry(const std::string &modname, + const std::string &key, const std::string &value) +{ + auto mod_pair = m_mod_meta_database.find(modname); + if (mod_pair == m_mod_meta_database.end()) { + m_mod_meta_database[modname] = StringMap({{key, value}}); + } else { + mod_pair->second[key] = value; + } + return true; +} + +bool Database_Dummy::removeModEntry(const std::string &modname, const std::string &key) +{ + auto mod_pair = m_mod_meta_database.find(modname); + if (mod_pair != m_mod_meta_database.end()) + return mod_pair->second.erase(key) > 0; + return false; +} + +void Database_Dummy::listMods(std::vector *res) +{ + for (const auto &pair : m_mod_meta_database) { + res->push_back(pair.first); + } +} diff --git a/src/database/database-dummy.h b/src/database/database-dummy.h index b69919f84..44b9e8d68 100644 --- a/src/database/database-dummy.h +++ b/src/database/database-dummy.h @@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "database.h" #include "irrlichttypes.h" -class Database_Dummy : public MapDatabase, public PlayerDatabase +class Database_Dummy : public MapDatabase, public PlayerDatabase, public ModMetadataDatabase { public: bool saveBlock(const v3s16 &pos, const std::string &data); @@ -37,10 +37,17 @@ public: bool removePlayer(const std::string &name); void listPlayers(std::vector &res); + bool getModEntries(const std::string &modname, StringMap *storage); + bool setModEntry(const std::string &modname, + const std::string &key, const std::string &value); + bool removeModEntry(const std::string &modname, const std::string &key); + void listMods(std::vector *res); + void beginSave() {} void endSave() {} private: std::map m_database; std::set m_player_database; + std::unordered_map m_mod_meta_database; }; diff --git a/src/database/database-files.cpp b/src/database/database-files.cpp index d9d113b4e..9021ae61b 100644 --- a/src/database/database-files.cpp +++ b/src/database/database-files.cpp @@ -18,7 +18,6 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include -#include #include "convert_json.h" #include "database-files.h" #include "remoteplayer.h" @@ -376,3 +375,138 @@ bool AuthDatabaseFiles::writeAuthFile() } return true; } + +ModMetadataDatabaseFiles::ModMetadataDatabaseFiles(const std::string &savedir): + m_storage_dir(savedir + DIR_DELIM + "mod_storage") +{ +} + +bool ModMetadataDatabaseFiles::getModEntries(const std::string &modname, StringMap *storage) +{ + Json::Value *meta = getOrCreateJson(modname); + if (!meta) + return false; + + const Json::Value::Members attr_list = meta->getMemberNames(); + for (const auto &it : attr_list) { + Json::Value attr_value = (*meta)[it]; + (*storage)[it] = attr_value.asString(); + } + + return true; +} + +bool ModMetadataDatabaseFiles::setModEntry(const std::string &modname, + const std::string &key, const std::string &value) +{ + Json::Value *meta = getOrCreateJson(modname); + if (!meta) + return false; + + (*meta)[key] = Json::Value(value); + m_modified.insert(modname); + + return true; +} + +bool ModMetadataDatabaseFiles::removeModEntry(const std::string &modname, + const std::string &key) +{ + Json::Value *meta = getOrCreateJson(modname); + if (!meta) + return false; + + Json::Value removed; + if (meta->removeMember(key, &removed)) { + m_modified.insert(modname); + return true; + } + return false; +} + +void ModMetadataDatabaseFiles::beginSave() +{ +} + +void ModMetadataDatabaseFiles::endSave() +{ + if (!fs::CreateAllDirs(m_storage_dir)) { + errorstream << "ModMetadataDatabaseFiles: Unable to save. '" << m_storage_dir + << "' tree cannot be created." << std::endl; + return; + } + + for (auto it = m_modified.begin(); it != m_modified.end();) { + const std::string &modname = *it; + + if (!fs::PathExists(m_storage_dir)) { + if (!fs::CreateAllDirs(m_storage_dir)) { + errorstream << "ModMetadataDatabaseFiles[" << modname + << "]: Unable to save. '" << m_storage_dir + << "' tree cannot be created." << std::endl; + ++it; + continue; + } + } else if (!fs::IsDir(m_storage_dir)) { + errorstream << "ModMetadataDatabaseFiles[" << modname << "]: Unable to save. '" + << m_storage_dir << "' is not a directory." << std::endl; + ++it; + continue; + } + + const Json::Value &json = m_mod_meta[modname]; + + if (!fs::safeWriteToFile(m_storage_dir + DIR_DELIM + modname, fastWriteJson(json))) { + errorstream << "ModMetadataDatabaseFiles[" << modname + << "]: failed write file." << std::endl; + ++it; + continue; + } + + it = m_modified.erase(it); + } +} + +void ModMetadataDatabaseFiles::listMods(std::vector *res) +{ + // List in-memory metadata first. + for (const auto &pair : m_mod_meta) { + res->push_back(pair.first); + } + + // List other metadata present in the filesystem. + for (const auto &entry : fs::GetDirListing(m_storage_dir)) { + if (!entry.dir && m_mod_meta.count(entry.name) == 0) + res->push_back(entry.name); + } +} + +Json::Value *ModMetadataDatabaseFiles::getOrCreateJson(const std::string &modname) +{ + auto found = m_mod_meta.find(modname); + if (found == m_mod_meta.end()) { + fs::CreateAllDirs(m_storage_dir); + + Json::Value meta(Json::objectValue); + + std::string path = m_storage_dir + DIR_DELIM + modname; + if (fs::PathExists(path)) { + std::ifstream is(path.c_str(), std::ios_base::binary); + + Json::CharReaderBuilder builder; + builder.settings_["collectComments"] = false; + std::string errs; + + if (!Json::parseFromStream(builder, is, &meta, &errs)) { + errorstream << "ModMetadataDatabaseFiles[" << modname + << "]: failed read data (Json decoding failure). Message: " + << errs << std::endl; + return nullptr; + } + } + + return &(m_mod_meta[modname] = meta); + } else { + return &found->second; + } +} diff --git a/src/database/database-files.h b/src/database/database-files.h index e647a2e24..962e4d7bb 100644 --- a/src/database/database-files.h +++ b/src/database/database-files.h @@ -25,6 +25,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "database.h" #include +#include +#include class PlayerDatabaseFiles : public PlayerDatabase { @@ -69,3 +71,27 @@ private: bool readAuthFile(); bool writeAuthFile(); }; + +class ModMetadataDatabaseFiles : public ModMetadataDatabase +{ +public: + ModMetadataDatabaseFiles(const std::string &savedir); + virtual ~ModMetadataDatabaseFiles() = default; + + virtual bool getModEntries(const std::string &modname, StringMap *storage); + virtual bool setModEntry(const std::string &modname, + const std::string &key, const std::string &value); + virtual bool removeModEntry(const std::string &modname, const std::string &key); + virtual void listMods(std::vector *res); + + virtual void beginSave(); + virtual void endSave(); + +private: + Json::Value *getOrCreateJson(const std::string &modname); + bool writeJson(const std::string &modname, const Json::Value &json); + + std::string m_storage_dir; + std::unordered_map m_mod_meta; + std::unordered_set m_modified; +}; diff --git a/src/database/database-sqlite3.cpp b/src/database/database-sqlite3.cpp index 898acc265..e9442118e 100644 --- a/src/database/database-sqlite3.cpp +++ b/src/database/database-sqlite3.cpp @@ -779,3 +779,108 @@ void AuthDatabaseSQLite3::writePrivileges(const AuthEntry &authEntry) sqlite3_reset(m_stmt_write_privs); } } + +ModMetadataDatabaseSQLite3::ModMetadataDatabaseSQLite3(const std::string &savedir): + Database_SQLite3(savedir, "mod_storage"), ModMetadataDatabase() +{ +} + +ModMetadataDatabaseSQLite3::~ModMetadataDatabaseSQLite3() +{ + FINALIZE_STATEMENT(m_stmt_remove) + FINALIZE_STATEMENT(m_stmt_set) + FINALIZE_STATEMENT(m_stmt_get) +} + +void ModMetadataDatabaseSQLite3::createDatabase() +{ + assert(m_database); // Pre-condition + + SQLOK(sqlite3_exec(m_database, + "CREATE TABLE IF NOT EXISTS `entries` (\n" + " `modname` TEXT NOT NULL,\n" + " `key` BLOB NOT NULL,\n" + " `value` BLOB NOT NULL,\n" + " PRIMARY KEY (`modname`, `key`)\n" + ");\n", + NULL, NULL, NULL), + "Failed to create database table"); +} + +void ModMetadataDatabaseSQLite3::initStatements() +{ + PREPARE_STATEMENT(get, "SELECT `key`, `value` FROM `entries` WHERE `modname` = ?"); + PREPARE_STATEMENT(set, + "REPLACE INTO `entries` (`modname`, `key`, `value`) VALUES (?, ?, ?)"); + PREPARE_STATEMENT(remove, "DELETE FROM `entries` WHERE `modname` = ? AND `key` = ?"); +} + +bool ModMetadataDatabaseSQLite3::getModEntries(const std::string &modname, StringMap *storage) +{ + verifyDatabase(); + + str_to_sqlite(m_stmt_get, 1, modname); + while (sqlite3_step(m_stmt_get) == SQLITE_ROW) { + const char *key_data = (const char *) sqlite3_column_blob(m_stmt_get, 0); + size_t key_len = sqlite3_column_bytes(m_stmt_get, 0); + const char *value_data = (const char *) sqlite3_column_blob(m_stmt_get, 1); + size_t value_len = sqlite3_column_bytes(m_stmt_get, 1); + (*storage)[std::string(key_data, key_len)] = std::string(value_data, value_len); + } + sqlite3_vrfy(sqlite3_errcode(m_database), SQLITE_DONE); + + sqlite3_reset(m_stmt_get); + + return true; +} + +bool ModMetadataDatabaseSQLite3::setModEntry(const std::string &modname, + const std::string &key, const std::string &value) +{ + verifyDatabase(); + + str_to_sqlite(m_stmt_set, 1, modname); + SQLOK(sqlite3_bind_blob(m_stmt_set, 2, key.data(), key.size(), NULL), + "Internal error: failed to bind query at " __FILE__ ":" TOSTRING(__LINE__)); + SQLOK(sqlite3_bind_blob(m_stmt_set, 3, value.data(), value.size(), NULL), + "Internal error: failed to bind query at " __FILE__ ":" TOSTRING(__LINE__)); + SQLRES(sqlite3_step(m_stmt_set), SQLITE_DONE, "Failed to set mod entry") + + sqlite3_reset(m_stmt_set); + + return true; +} + +bool ModMetadataDatabaseSQLite3::removeModEntry(const std::string &modname, + const std::string &key) +{ + verifyDatabase(); + + str_to_sqlite(m_stmt_remove, 1, modname); + SQLOK(sqlite3_bind_blob(m_stmt_remove, 2, key.data(), key.size(), NULL), + "Internal error: failed to bind query at " __FILE__ ":" TOSTRING(__LINE__)); + sqlite3_vrfy(sqlite3_step(m_stmt_remove), SQLITE_DONE); + int changes = sqlite3_changes(m_database); + + sqlite3_reset(m_stmt_remove); + + return changes > 0; +} + +void ModMetadataDatabaseSQLite3::listMods(std::vector *res) +{ + verifyDatabase(); + + char *errmsg; + int status = sqlite3_exec(m_database, + "SELECT `modname` FROM `entries` GROUP BY `modname`;", + [](void *res_vp, int n_col, char **cols, char **col_names) -> int { + ((decltype(res)) res_vp)->emplace_back(cols[0]); + return 0; + }, (void *) res, &errmsg); + if (status != SQLITE_OK) { + DatabaseException e(std::string("Error trying to list mods with metadata: ") + errmsg); + sqlite3_free(errmsg); + throw e; + } +} diff --git a/src/database/database-sqlite3.h b/src/database/database-sqlite3.h index d7202a918..5e3d7c96c 100644 --- a/src/database/database-sqlite3.h +++ b/src/database/database-sqlite3.h @@ -232,3 +232,28 @@ private: sqlite3_stmt *m_stmt_delete_privs = nullptr; sqlite3_stmt *m_stmt_last_insert_rowid = nullptr; }; + +class ModMetadataDatabaseSQLite3 : private Database_SQLite3, public ModMetadataDatabase +{ +public: + ModMetadataDatabaseSQLite3(const std::string &savedir); + virtual ~ModMetadataDatabaseSQLite3(); + + virtual bool getModEntries(const std::string &modname, StringMap *storage); + virtual bool setModEntry(const std::string &modname, + const std::string &key, const std::string &value); + virtual bool removeModEntry(const std::string &modname, const std::string &key); + virtual void listMods(std::vector *res); + + virtual void beginSave() { Database_SQLite3::beginSave(); } + virtual void endSave() { Database_SQLite3::endSave(); } + +protected: + virtual void createDatabase(); + virtual void initStatements(); + +private: + sqlite3_stmt *m_stmt_get = nullptr; + sqlite3_stmt *m_stmt_set = nullptr; + sqlite3_stmt *m_stmt_remove = nullptr; +}; diff --git a/src/database/database.h b/src/database/database.h index b7d551935..fbb5befea 100644 --- a/src/database/database.h +++ b/src/database/database.h @@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irr_v3d.h" #include "irrlichttypes.h" #include "util/basic_macros.h" +#include "util/string.h" class Database { @@ -84,3 +85,15 @@ public: virtual void listNames(std::vector &res) = 0; virtual void reload() = 0; }; + +class ModMetadataDatabase : public Database +{ +public: + virtual ~ModMetadataDatabase() = default; + + virtual bool getModEntries(const std::string &modname, StringMap *storage) = 0; + virtual bool setModEntry(const std::string &modname, + const std::string &key, const std::string &value) = 0; + virtual bool removeModEntry(const std::string &modname, const std::string &key) = 0; + virtual void listMods(std::vector *res) = 0; +}; diff --git a/src/gamedef.h b/src/gamedef.h index bc0ee14c3..8a9246da2 100644 --- a/src/gamedef.h +++ b/src/gamedef.h @@ -33,6 +33,7 @@ class EmergeManager; class Camera; class ModChannel; class ModMetadata; +class ModMetadataDatabase; namespace irr { namespace scene { class IAnimatedMesh; @@ -70,9 +71,9 @@ public: virtual const std::vector &getMods() const = 0; virtual const ModSpec* getModSpec(const std::string &modname) const = 0; virtual std::string getWorldPath() const { return ""; } - virtual std::string getModStoragePath() const = 0; virtual bool registerModStorage(ModMetadata *storage) = 0; virtual void unregisterModStorage(const std::string &name) = 0; + virtual ModMetadataDatabase *getModStorageDatabase() = 0; virtual bool joinModChannel(const std::string &channel) = 0; virtual bool leaveModChannel(const std::string &channel) = 0; diff --git a/src/main.cpp b/src/main.cpp index 1044b327a..ca95ef874 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -299,6 +299,8 @@ static void set_allowed_options(OptionList *allowed_options) _("Migrate from current players backend to another (Only works when using minetestserver or with --server)")))); allowed_options->insert(std::make_pair("migrate-auth", ValueSpec(VALUETYPE_STRING, _("Migrate from current auth backend to another (Only works when using minetestserver or with --server)")))); + allowed_options->insert(std::make_pair("migrate-mod-storage", ValueSpec(VALUETYPE_STRING, + _("Migrate from current mod storage backend to another (Only works when using minetestserver or with --server)")))); allowed_options->insert(std::make_pair("terminal", ValueSpec(VALUETYPE_FLAG, _("Feature an interactive terminal (Only works when using minetestserver or with --server)")))); allowed_options->insert(std::make_pair("recompress", ValueSpec(VALUETYPE_FLAG, @@ -886,6 +888,9 @@ static bool run_dedicated_server(const GameParams &game_params, const Settings & if (cmd_args.exists("migrate-auth")) return ServerEnvironment::migrateAuthDatabase(game_params, cmd_args); + if (cmd_args.exists("migrate-mod-storage")) + return Server::migrateModStorageDatabase(game_params, cmd_args); + if (cmd_args.getFlag("recompress")) return recompress_map_database(game_params, cmd_args, bind_addr); diff --git a/src/script/lua_api/l_storage.cpp b/src/script/lua_api/l_storage.cpp index 978b315d5..b8f4347a8 100644 --- a/src/script/lua_api/l_storage.cpp +++ b/src/script/lua_api/l_storage.cpp @@ -32,19 +32,23 @@ int ModApiStorage::l_get_mod_storage(lua_State *L) std::string mod_name = readParam(L, -1); - ModMetadata *store = new ModMetadata(mod_name); + ModMetadata *store = nullptr; + if (IGameDef *gamedef = getGameDef(L)) { - store->load(gamedef->getModStoragePath()); - gamedef->registerModStorage(store); + store = new ModMetadata(mod_name, gamedef->getModStorageDatabase()); + if (gamedef->registerModStorage(store)) { + StorageRef::create(L, store); + int object = lua_gettop(L); + lua_pushvalue(L, object); + return 1; + } } else { - delete store; assert(false); // this should not happen } - StorageRef::create(L, store); - int object = lua_gettop(L); + delete store; - lua_pushvalue(L, object); + lua_pushnil(L); return 1; } diff --git a/src/server.cpp b/src/server.cpp index a910185b9..6cf790de1 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -66,6 +66,10 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "server/player_sao.h" #include "server/serverinventorymgr.h" #include "translation.h" +#include "database/database-sqlite3.h" +#include "database/database-files.h" +#include "database/database-dummy.h" +#include "gameparams.h" class ClientNotFoundException : public BaseException { @@ -344,10 +348,15 @@ Server::~Server() delete m_thread; } + // Write any changes before deletion. + if (m_mod_storage_database) + m_mod_storage_database->endSave(); + // Delete things in the reverse order of creation delete m_emerge; delete m_env; delete m_rollback; + delete m_mod_storage_database; delete m_banmanager; delete m_itemdef; delete m_nodedef; @@ -393,6 +402,10 @@ void Server::init() std::string ban_path = m_path_world + DIR_DELIM "ipban.txt"; m_banmanager = new BanManager(ban_path); + // Create mod storage database and begin a save for later + m_mod_storage_database = openModStorageDatabase(m_path_world); + m_mod_storage_database->beginSave(); + m_modmgr = std::unique_ptr(new ServerModManager(m_path_world)); std::vector unsatisfied_mods = m_modmgr->getUnsatisfiedMods(); // complain about mods with unsatisfied dependencies @@ -733,20 +746,12 @@ void Server::AsyncRunStep(bool initial_step) } m_clients.unlock(); - // Save mod storages if modified + // Write changes to the mod storage m_mod_storage_save_timer -= dtime; if (m_mod_storage_save_timer <= 0.0f) { m_mod_storage_save_timer = g_settings->getFloat("server_map_save_interval"); - int n = 0; - for (std::unordered_map::const_iterator - it = m_mod_storages.begin(); it != m_mod_storages.end(); ++it) { - if (it->second->isModified()) { - it->second->save(getModStoragePath()); - n++; - } - } - if (n > 0) - infostream << "Saved " << n << " modified mod storages." << std::endl; + m_mod_storage_database->endSave(); + m_mod_storage_database->beginSave(); } } @@ -3689,11 +3694,6 @@ std::string Server::getBuiltinLuaPath() return porting::path_share + DIR_DELIM + "builtin"; } -std::string Server::getModStoragePath() const -{ - return m_path_world + DIR_DELIM + "mod_storage"; -} - v3f Server::findSpawnPos() { ServerMap &map = m_env->getServerMap(); @@ -3857,11 +3857,8 @@ bool Server::registerModStorage(ModMetadata *storage) void Server::unregisterModStorage(const std::string &name) { std::unordered_map::const_iterator it = m_mod_storages.find(name); - if (it != m_mod_storages.end()) { - // Save unconditionaly on unregistration - it->second->save(getModStoragePath()); + if (it != m_mod_storages.end()) m_mod_storages.erase(name); - } } void dedicated_server_loop(Server &server, bool &kill) @@ -3999,3 +3996,106 @@ Translations *Server::getTranslationLanguage(const std::string &lang_code) return translations; } + +ModMetadataDatabase *Server::openModStorageDatabase(const std::string &world_path) +{ + std::string world_mt_path = world_path + DIR_DELIM + "world.mt"; + Settings world_mt; + if (!world_mt.readConfigFile(world_mt_path.c_str())) + throw BaseException("Cannot read world.mt!"); + + std::string backend = world_mt.exists("mod_storage_backend") ? + world_mt.get("mod_storage_backend") : "files"; + if (backend == "files") + warningstream << "/!\\ You are using the old mod storage files backend. " + << "This backend is deprecated and may be removed in a future release /!\\" + << std::endl << "Switching to SQLite3 is advised, " + << "please read http://wiki.minetest.net/Database_backends." << std::endl; + + return openModStorageDatabase(backend, world_path, world_mt); +} + +ModMetadataDatabase *Server::openModStorageDatabase(const std::string &backend, + const std::string &world_path, const Settings &world_mt) +{ + if (backend == "sqlite3") + return new ModMetadataDatabaseSQLite3(world_path); + + if (backend == "files") + return new ModMetadataDatabaseFiles(world_path); + + if (backend == "dummy") + return new Database_Dummy(); + + throw BaseException("Mod storage database backend " + backend + " not supported"); +} + +bool Server::migrateModStorageDatabase(const GameParams &game_params, const Settings &cmd_args) +{ + std::string migrate_to = cmd_args.get("migrate-mod-storage"); + Settings world_mt; + std::string world_mt_path = game_params.world_path + DIR_DELIM + "world.mt"; + if (!world_mt.readConfigFile(world_mt_path.c_str())) { + errorstream << "Cannot read world.mt!" << std::endl; + return false; + } + + std::string backend = world_mt.exists("mod_storage_backend") ? + world_mt.get("mod_storage_backend") : "files"; + if (backend == migrate_to) { + errorstream << "Cannot migrate: new backend is same" + << " as the old one" << std::endl; + return false; + } + + ModMetadataDatabase *srcdb = nullptr; + ModMetadataDatabase *dstdb = nullptr; + + bool succeeded = false; + + try { + srcdb = Server::openModStorageDatabase(backend, game_params.world_path, world_mt); + dstdb = Server::openModStorageDatabase(migrate_to, game_params.world_path, world_mt); + + dstdb->beginSave(); + + std::vector mod_list; + srcdb->listMods(&mod_list); + for (const std::string &modname : mod_list) { + StringMap meta; + srcdb->getModEntries(modname, &meta); + for (const auto &pair : meta) { + dstdb->setModEntry(modname, pair.first, pair.second); + } + } + + dstdb->endSave(); + + succeeded = true; + + actionstream << "Successfully migrated the metadata of " + << mod_list.size() << " mods" << std::endl; + world_mt.set("mod_storage_backend", migrate_to); + if (!world_mt.updateConfigFile(world_mt_path.c_str())) + errorstream << "Failed to update world.mt!" << std::endl; + else + actionstream << "world.mt updated" << std::endl; + + } catch (BaseException &e) { + errorstream << "An error occurred during migration: " << e.what() << std::endl; + } + + delete srcdb; + delete dstdb; + + if (succeeded && backend == "files") { + // Back up files + const std::string storage_path = game_params.world_path + DIR_DELIM + "mod_storage"; + const std::string backup_path = game_params.world_path + DIR_DELIM + "mod_storage.bak"; + if (!fs::Rename(storage_path, backup_path)) + warningstream << "After migration, " << storage_path + << " could not be renamed to " << backup_path << std::endl; + } + + return succeeded; +} diff --git a/src/server.h b/src/server.h index c5db0fdfb..12158feb7 100644 --- a/src/server.h +++ b/src/server.h @@ -283,6 +283,7 @@ public: virtual u16 allocateUnknownNodeId(const std::string &name); IRollbackManager *getRollbackManager() { return m_rollback; } virtual EmergeManager *getEmergeManager() { return m_emerge; } + virtual ModMetadataDatabase *getModStorageDatabase() { return m_mod_storage_database; } IWritableItemDefManager* getWritableItemDefManager(); NodeDefManager* getWritableNodeDefManager(); @@ -293,7 +294,6 @@ public: void getModNames(std::vector &modlist); std::string getBuiltinLuaPath(); virtual std::string getWorldPath() const { return m_path_world; } - virtual std::string getModStoragePath() const; inline bool isSingleplayer() { return m_simple_singleplayer_mode; } @@ -377,6 +377,14 @@ public: // Get or load translations for a language Translations *getTranslationLanguage(const std::string &lang_code); + static ModMetadataDatabase *openModStorageDatabase(const std::string &world_path); + + static ModMetadataDatabase *openModStorageDatabase(const std::string &backend, + const std::string &world_path, const Settings &world_mt); + + static bool migrateModStorageDatabase(const GameParams &game_params, + const Settings &cmd_args); + // Bind address Address m_bind_addr; @@ -678,6 +686,7 @@ private: s32 nextSoundId(); std::unordered_map m_mod_storages; + ModMetadataDatabase *m_mod_storage_database = nullptr; float m_mod_storage_save_timer = 10.0f; // CSM restrictions byteflag diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index 4d295e4ed..ce7921b55 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -14,6 +14,7 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_modchannels.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/test_modmetadatadatabase.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_nodedef.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_noderesolver.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_noise.cpp diff --git a/src/unittest/test.cpp b/src/unittest/test.cpp index af324e1b1..f223d567e 100644 --- a/src/unittest/test.cpp +++ b/src/unittest/test.cpp @@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "gamedef.h" #include "modchannels.h" #include "content/mods.h" +#include "database/database-dummy.h" #include "util/numeric.h" #include "porting.h" @@ -55,6 +56,7 @@ public: scene::ISceneManager *getSceneManager() { return m_scenemgr; } IRollbackManager *getRollbackManager() { return m_rollbackmgr; } EmergeManager *getEmergeManager() { return m_emergemgr; } + ModMetadataDatabase *getModStorageDatabase() { return m_mod_storage_database; } scene::IAnimatedMesh *getMesh(const std::string &filename) { return NULL; } bool checkLocalPrivilege(const std::string &priv) { return false; } @@ -68,7 +70,6 @@ public: return testmodspec; } virtual const ModSpec* getModSpec(const std::string &modname) const { return NULL; } - virtual std::string getModStoragePath() const { return "."; } virtual bool registerModStorage(ModMetadata *meta) { return true; } virtual void unregisterModStorage(const std::string &name) {} bool joinModChannel(const std::string &channel); @@ -89,11 +90,13 @@ private: scene::ISceneManager *m_scenemgr = nullptr; IRollbackManager *m_rollbackmgr = nullptr; EmergeManager *m_emergemgr = nullptr; + ModMetadataDatabase *m_mod_storage_database = nullptr; std::unique_ptr m_modchannel_mgr; }; TestGameDef::TestGameDef() : + m_mod_storage_database(new Database_Dummy()), m_modchannel_mgr(new ModChannelMgr()) { m_itemdef = createItemDefManager(); @@ -107,6 +110,7 @@ TestGameDef::~TestGameDef() { delete m_itemdef; delete m_nodedef; + delete m_mod_storage_database; } diff --git a/src/unittest/test_modmetadatadatabase.cpp b/src/unittest/test_modmetadatadatabase.cpp new file mode 100644 index 000000000..be97fae5e --- /dev/null +++ b/src/unittest/test_modmetadatadatabase.cpp @@ -0,0 +1,253 @@ +/* +Minetest +Copyright (C) 2018 bendeutsch, Ben Deutsch +Copyright (C) 2021 TurkeyMcMac, Jude Melton-Houghton + +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. +*/ + +// This file is an edited copy of test_authdatabase.cpp + +#include "test.h" + +#include +#include "database/database-files.h" +#include "database/database-sqlite3.h" +#include "filesys.h" + +namespace +{ +// Anonymous namespace to create classes that are only +// visible to this file +// +// These are helpers that return a *ModMetadataDatabase and +// allow us to run the same tests on different databases and +// database acquisition strategies. + +class ModMetadataDatabaseProvider +{ +public: + virtual ~ModMetadataDatabaseProvider() = default; + virtual ModMetadataDatabase *getModMetadataDatabase() = 0; +}; + +class FixedProvider : public ModMetadataDatabaseProvider +{ +public: + FixedProvider(ModMetadataDatabase *mod_meta_db) : mod_meta_db(mod_meta_db){}; + virtual ~FixedProvider(){}; + virtual ModMetadataDatabase *getModMetadataDatabase() { return mod_meta_db; }; + +private: + ModMetadataDatabase *mod_meta_db; +}; + +class FilesProvider : public ModMetadataDatabaseProvider +{ +public: + FilesProvider(const std::string &dir) : dir(dir){}; + virtual ~FilesProvider() + { + if (mod_meta_db) + mod_meta_db->endSave(); + delete mod_meta_db; + } + virtual ModMetadataDatabase *getModMetadataDatabase() + { + if (mod_meta_db) + mod_meta_db->endSave(); + delete mod_meta_db; + mod_meta_db = new ModMetadataDatabaseFiles(dir); + mod_meta_db->beginSave(); + return mod_meta_db; + }; + +private: + std::string dir; + ModMetadataDatabase *mod_meta_db = nullptr; +}; + +class SQLite3Provider : public ModMetadataDatabaseProvider +{ +public: + SQLite3Provider(const std::string &dir) : dir(dir){}; + virtual ~SQLite3Provider() + { + if (mod_meta_db) + mod_meta_db->endSave(); + delete mod_meta_db; + } + virtual ModMetadataDatabase *getModMetadataDatabase() + { + if (mod_meta_db) + mod_meta_db->endSave(); + delete mod_meta_db; + mod_meta_db = new ModMetadataDatabaseSQLite3(dir); + mod_meta_db->beginSave(); + return mod_meta_db; + }; + +private: + std::string dir; + ModMetadataDatabase *mod_meta_db = nullptr; +}; +} + +class TestModMetadataDatabase : public TestBase +{ +public: + TestModMetadataDatabase() { TestManager::registerTestModule(this); } + const char *getName() { return "TestModMetadataDatabase"; } + + void runTests(IGameDef *gamedef); + void runTestsForCurrentDB(); + + void testRecallFail(); + void testCreate(); + void testRecall(); + void testChange(); + void testRecallChanged(); + void testListMods(); + void testRemove(); + +private: + ModMetadataDatabaseProvider *mod_meta_provider; +}; + +static TestModMetadataDatabase g_test_instance; + +void TestModMetadataDatabase::runTests(IGameDef *gamedef) +{ + // fixed directory, for persistence + thread_local const std::string test_dir = getTestTempDirectory(); + + // Each set of tests is run twice for each database type: + // one where we reuse the same ModMetadataDatabase object (to test local caching), + // and one where we create a new ModMetadataDatabase object for each call + // (to test actual persistence). + + rawstream << "-------- Files database (same object)" << std::endl; + + ModMetadataDatabase *mod_meta_db = new ModMetadataDatabaseFiles(test_dir); + mod_meta_provider = new FixedProvider(mod_meta_db); + + runTestsForCurrentDB(); + + delete mod_meta_db; + delete mod_meta_provider; + + // reset database + fs::RecursiveDelete(test_dir + DIR_DELIM + "mod_storage"); + + rawstream << "-------- Files database (new objects)" << std::endl; + + mod_meta_provider = new FilesProvider(test_dir); + + runTestsForCurrentDB(); + + delete mod_meta_provider; + + rawstream << "-------- SQLite3 database (same object)" << std::endl; + + mod_meta_db = new ModMetadataDatabaseSQLite3(test_dir); + mod_meta_provider = new FixedProvider(mod_meta_db); + + runTestsForCurrentDB(); + + delete mod_meta_db; + delete mod_meta_provider; + + // reset database + fs::DeleteSingleFileOrEmptyDirectory(test_dir + DIR_DELIM + "mod_storage.sqlite"); + + rawstream << "-------- SQLite3 database (new objects)" << std::endl; + + mod_meta_provider = new SQLite3Provider(test_dir); + + runTestsForCurrentDB(); + + delete mod_meta_provider; +} + +//////////////////////////////////////////////////////////////////////////////// + +void TestModMetadataDatabase::runTestsForCurrentDB() +{ + TEST(testRecallFail); + TEST(testCreate); + TEST(testRecall); + TEST(testChange); + TEST(testRecallChanged); + TEST(testListMods); + TEST(testRemove); + TEST(testRecallFail); +} + +void TestModMetadataDatabase::testRecallFail() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + StringMap recalled; + mod_meta_db->getModEntries("mod1", &recalled); + UASSERT(recalled.empty()); +} + +void TestModMetadataDatabase::testCreate() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + StringMap recalled; + UASSERT(mod_meta_db->setModEntry("mod1", "key1", "value1")); +} + +void TestModMetadataDatabase::testRecall() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + StringMap recalled; + mod_meta_db->getModEntries("mod1", &recalled); + UASSERT(recalled.size() == 1); + UASSERT(recalled["key1"] == "value1"); +} + +void TestModMetadataDatabase::testChange() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + StringMap recalled; + UASSERT(mod_meta_db->setModEntry("mod1", "key1", "value2")); +} + +void TestModMetadataDatabase::testRecallChanged() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + StringMap recalled; + mod_meta_db->getModEntries("mod1", &recalled); + UASSERT(recalled.size() == 1); + UASSERT(recalled["key1"] == "value2"); +} + +void TestModMetadataDatabase::testListMods() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + UASSERT(mod_meta_db->setModEntry("mod2", "key1", "value1")); + std::vector mod_list; + mod_meta_db->listMods(&mod_list); + UASSERT(mod_list.size() == 2); + UASSERT(std::find(mod_list.cbegin(), mod_list.cend(), "mod1") != mod_list.cend()); + UASSERT(std::find(mod_list.cbegin(), mod_list.cend(), "mod2") != mod_list.cend()); +} + +void TestModMetadataDatabase::testRemove() +{ + ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase(); + UASSERT(mod_meta_db->removeModEntry("mod1", "key1")); +} -- cgit v1.2.3 From 76dbd0d2d04712dcad4f7c6afecb97fa8d662d6d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 8 Jan 2022 14:53:25 +0100 Subject: Fully remove bitmap font support (#11863) Freetype is now a build requirement. --- .github/workflows/build.yml | 23 ------ README.md | 18 ++--- android/native/jni/Android.mk | 1 - builtin/settingtypes.txt | 16 +--- doc/Doxyfile.in | 1 - fonts/mono_dejavu_sans_10.xml | Bin 257014 -> 0 bytes fonts/mono_dejavu_sans_100.png | Bin 56121 -> 0 bytes fonts/mono_dejavu_sans_11.xml | Bin 263644 -> 0 bytes fonts/mono_dejavu_sans_110.png | Bin 67613 -> 0 bytes fonts/mono_dejavu_sans_12.xml | Bin 268932 -> 0 bytes fonts/mono_dejavu_sans_120.png | Bin 73938 -> 0 bytes fonts/mono_dejavu_sans_14.xml | Bin 269188 -> 0 bytes fonts/mono_dejavu_sans_140.png | Bin 89073 -> 0 bytes fonts/mono_dejavu_sans_16.xml | Bin 275642 -> 0 bytes fonts/mono_dejavu_sans_160.png | Bin 101939 -> 0 bytes fonts/mono_dejavu_sans_18.xml | Bin 279962 -> 0 bytes fonts/mono_dejavu_sans_180.png | Bin 122274 -> 0 bytes fonts/mono_dejavu_sans_20.xml | Bin 282588 -> 0 bytes fonts/mono_dejavu_sans_200.png | Bin 138662 -> 0 bytes fonts/mono_dejavu_sans_22.xml | Bin 283950 -> 0 bytes fonts/mono_dejavu_sans_220.png | Bin 152844 -> 0 bytes fonts/mono_dejavu_sans_24.xml | Bin 286626 -> 0 bytes fonts/mono_dejavu_sans_240.png | Bin 170247 -> 0 bytes fonts/mono_dejavu_sans_26.xml | Bin 289710 -> 0 bytes fonts/mono_dejavu_sans_260.png | Bin 190156 -> 0 bytes fonts/mono_dejavu_sans_28.xml | Bin 292596 -> 0 bytes fonts/mono_dejavu_sans_280.png | Bin 200848 -> 0 bytes fonts/mono_dejavu_sans_4.xml | Bin 237740 -> 0 bytes fonts/mono_dejavu_sans_40.png | Bin 15668 -> 0 bytes fonts/mono_dejavu_sans_6.xml | Bin 245472 -> 0 bytes fonts/mono_dejavu_sans_60.png | Bin 29291 -> 0 bytes fonts/mono_dejavu_sans_8.xml | Bin 251876 -> 0 bytes fonts/mono_dejavu_sans_80.png | Bin 45552 -> 0 bytes fonts/mono_dejavu_sans_9.xml | Bin 254016 -> 0 bytes fonts/mono_dejavu_sans_90.png | Bin 50995 -> 0 bytes src/CMakeLists.txt | 49 ++++------- src/client/fontengine.cpp | 153 +++++------------------------------ src/client/fontengine.h | 9 +-- src/cmake_config.h.in | 1 - src/constants.h | 1 - src/defaultsettings.cpp | 11 +-- src/gui/guiChatConsole.cpp | 14 +--- src/gui/guiHyperText.cpp | 23 ++---- src/gui/guiHyperText.h | 11 +-- src/irrlicht_changes/CMakeLists.txt | 7 +- src/irrlicht_changes/static_text.cpp | 13 +-- src/irrlicht_changes/static_text.h | 36 --------- src/version.cpp | 1 - util/buildbot/buildwin32.sh | 1 - util/buildbot/buildwin64.sh | 1 - 50 files changed, 71 insertions(+), 319 deletions(-) delete mode 100644 fonts/mono_dejavu_sans_10.xml delete mode 100644 fonts/mono_dejavu_sans_100.png delete mode 100644 fonts/mono_dejavu_sans_11.xml delete mode 100644 fonts/mono_dejavu_sans_110.png delete mode 100644 fonts/mono_dejavu_sans_12.xml delete mode 100644 fonts/mono_dejavu_sans_120.png delete mode 100644 fonts/mono_dejavu_sans_14.xml delete mode 100644 fonts/mono_dejavu_sans_140.png delete mode 100644 fonts/mono_dejavu_sans_16.xml delete mode 100644 fonts/mono_dejavu_sans_160.png delete mode 100644 fonts/mono_dejavu_sans_18.xml delete mode 100644 fonts/mono_dejavu_sans_180.png delete mode 100644 fonts/mono_dejavu_sans_20.xml delete mode 100644 fonts/mono_dejavu_sans_200.png delete mode 100644 fonts/mono_dejavu_sans_22.xml delete mode 100644 fonts/mono_dejavu_sans_220.png delete mode 100644 fonts/mono_dejavu_sans_24.xml delete mode 100644 fonts/mono_dejavu_sans_240.png delete mode 100644 fonts/mono_dejavu_sans_26.xml delete mode 100644 fonts/mono_dejavu_sans_260.png delete mode 100644 fonts/mono_dejavu_sans_28.xml delete mode 100644 fonts/mono_dejavu_sans_280.png delete mode 100644 fonts/mono_dejavu_sans_4.xml delete mode 100644 fonts/mono_dejavu_sans_40.png delete mode 100644 fonts/mono_dejavu_sans_6.xml delete mode 100644 fonts/mono_dejavu_sans_60.png delete mode 100644 fonts/mono_dejavu_sans_8.xml delete mode 100644 fonts/mono_dejavu_sans_80.png delete mode 100644 fonts/mono_dejavu_sans_9.xml delete mode 100644 fonts/mono_dejavu_sans_90.png diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af1de15ec..b1ba78ed0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -150,29 +150,6 @@ jobs: run: | ./bin/minetestserver --run-unittests - # Build without freetype (client-only) - clang_9_no_freetype: - name: "clang_9 (FREETYPE=0)" - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - name: Install deps - run: | - source ./util/ci/common.sh - install_linux_deps clang-9 - - - name: Build - run: | - ./util/ci/build.sh - env: - CC: clang-9 - CXX: clang++-9 - CMAKE_FLAGS: "-DENABLE_FREETYPE=0 -DBUILD_SERVER=0" - - - name: Test - run: | - ./bin/minetest --run-unittests - docker: name: "Docker image" runs-on: ubuntu-18.04 diff --git a/README.md b/README.md index 009ae8d38..03a161c9a 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,8 @@ Compiling | GCC | 4.9+ | Can be replaced with Clang 3.4+ | | CMake | 3.5+ | | | IrrlichtMt | - | Custom version of Irrlicht, see https://github.com/minetest/irrlicht | -| SQLite3 | 3.0+ | | +| Freetype | 2.0+ | | +| SQLite3 | 3+ | | | Zstd | 1.0+ | | | LuaJIT | 2.0+ | Bundled Lua 5.1 is used if not present | | GMP | 5.0.0+ | Bundled mini-GMP is used if not present | @@ -143,7 +144,7 @@ Compiling For Debian/Ubuntu users: - sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev + sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev libluajit-5.1-dev For Fedora users: @@ -247,7 +248,6 @@ General options and their default values: MinSizeRel - Release build with -Os passed to compiler to make executable as small as possible ENABLE_CURL=ON - Build with cURL; Enables use of online mod repo, public serverlist and remote media fetching via http ENABLE_CURSES=ON - Build with (n)curses; Enables a server side terminal (command line option: --terminal) - ENABLE_FREETYPE=ON - Build with FreeType2; Allows using TTF fonts ENABLE_GETTEXT=ON - Build with Gettext; Allows using translations ENABLE_GLES=OFF - Build for OpenGL ES instead of OpenGL (requires support by IrrlichtMt) ENABLE_LEVELDB=ON - Build with LevelDB; Enables use of LevelDB map backend @@ -273,10 +273,10 @@ Library specific options: EGL_INCLUDE_DIR - Only if building with GLES; directory that contains egl.h EGL_LIBRARY - Only if building with GLES; path to libEGL.a/libEGL.so EXTRA_DLL - Only on Windows; optional paths to additional DLLs that should be packaged - FREETYPE_INCLUDE_DIR_freetype2 - Only if building with FreeType 2; directory that contains an freetype directory with files such as ftimage.h in it - FREETYPE_INCLUDE_DIR_ft2build - Only if building with FreeType 2; directory that contains ft2build.h - FREETYPE_LIBRARY - Only if building with FreeType 2; path to libfreetype.a/libfreetype.so/freetype.lib - FREETYPE_DLL - Only if building with FreeType 2 on Windows; path to libfreetype.dll + FREETYPE_INCLUDE_DIR_freetype2 - Directory that contains files such as ftimage.h + FREETYPE_INCLUDE_DIR_ft2build - Directory that contains ft2build.h + FREETYPE_LIBRARY - Path to libfreetype.a/libfreetype.so/freetype.lib + FREETYPE_DLL - Only on Windows; path to libfreetype-6.dll GETTEXT_DLL - Only when building with gettext on Windows; paths to libintl + libiconv DLLs GETTEXT_INCLUDE_DIR - Only when building with gettext; directory that contains iconv.h GETTEXT_LIBRARY - Only when building with gettext on Windows; path to libintl.dll.a @@ -337,7 +337,6 @@ vcpkg install zlib zstd curl[winssl] openal-soft libvorbis libogg libjpeg-turbo - **Don't forget about IrrlichtMt.** The easiest way is to clone it to `lib/irrlichtmt` as described in the Linux section. - `curl` is optional, but required to read the serverlist, `curl[winssl]` is required to use the content store. - `openal-soft`, `libvorbis` and `libogg` are optional, but required to use sound. -- `freetype` is optional, it allows true-type font rendering. - `luajit` is optional, it replaces the integrated Lua interpreter with a faster just-in-time interpreter. - `gmp` and `jsoncpp` are optional, otherwise the bundled versions will be compiled @@ -429,8 +428,7 @@ cmake .. \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 \ -DCMAKE_FIND_FRAMEWORK=LAST \ -DCMAKE_INSTALL_PREFIX=../build/macos/ \ - -DRUN_IN_PLACE=FALSE \ - -DENABLE_FREETYPE=TRUE -DENABLE_GETTEXT=TRUE + -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE make -j$(nproc) make install diff --git a/android/native/jni/Android.mk b/android/native/jni/Android.mk index 85c13bfb3..f8ca74d3c 100644 --- a/android/native/jni/Android.mk +++ b/android/native/jni/Android.mk @@ -91,7 +91,6 @@ LOCAL_CFLAGS += \ -DENABLE_GLES=1 \ -DUSE_CURL=1 \ -DUSE_SOUND=1 \ - -DUSE_FREETYPE=1 \ -DUSE_LEVELDB=0 \ -DUSE_LUAJIT=1 \ -DUSE_GETTEXT=1 \ diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 22e69e30a..c25a941de 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -886,10 +886,6 @@ tooltip_show_delay (Tooltip delay) int 400 # Append item name to tooltip. tooltip_append_itemname (Append item name) bool false -# Whether FreeType fonts are used, requires FreeType support to be compiled in. -# If disabled, bitmap and XML vectors fonts are used instead. -freetype (FreeType fonts) bool true - font_bold (Font bold by default) bool false font_italic (Font italic by default) bool false @@ -909,9 +905,7 @@ font_size (Font size) int 16 1 # sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. font_size_divisible_by (Font size divisible by) int 1 1 -# Path to the default font. -# If “freetype” setting is enabled: Must be a TrueType font. -# If “freetype” setting is disabled: Must be a bitmap or XML vectors font. +# Path to the default font. Must be a TrueType font. # The fallback font will be used if the font cannot be loaded. font_path (Regular font path) filepath fonts/Arimo-Regular.ttf @@ -928,9 +922,7 @@ mono_font_size (Monospace font size) int 16 1 # sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. mono_font_size_divisible_by (Monospace font size divisible by) int 1 1 -# Path to the monospace font. -# If “freetype” setting is enabled: Must be a TrueType font. -# If “freetype” setting is disabled: Must be a bitmap or XML vectors font. +# Path to the monospace font. Must be a TrueType font. # This font is used for e.g. the console and profiler screen. mono_font_path (Monospace font path) filepath fonts/Cousine-Regular.ttf @@ -938,9 +930,7 @@ mono_font_path_bold (Bold monospace font path) filepath fonts/Cousine-Bold.ttf mono_font_path_italic (Italic monospace font path) filepath fonts/Cousine-Italic.ttf mono_font_path_bold_italic (Bold and italic monospace font path) filepath fonts/Cousine-BoldItalic.ttf -# Path of the fallback font. -# If “freetype” setting is enabled: Must be a TrueType font. -# If “freetype” setting is disabled: Must be a bitmap or XML vectors font. +# Path of the fallback font. Must be a TrueType font. # This font will be used for certain languages or if the default font is unavailable. fallback_font_path (Fallback font path) filepath fonts/DroidSansFallbackFull.ttf diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index d7816f0e4..ae36fd6bf 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -16,7 +16,6 @@ PREDEFINED = "USE_SPATIAL=1" \ "USE_REDIS=1" \ "USE_SOUND=1" \ "USE_CURL=1" \ - "USE_FREETYPE=1" \ "USE_GETTEXT=1" # Input diff --git a/fonts/mono_dejavu_sans_10.xml b/fonts/mono_dejavu_sans_10.xml deleted file mode 100644 index 0276cedb6..000000000 Binary files a/fonts/mono_dejavu_sans_10.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_100.png b/fonts/mono_dejavu_sans_100.png deleted file mode 100644 index 45a312542..000000000 Binary files a/fonts/mono_dejavu_sans_100.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_11.xml b/fonts/mono_dejavu_sans_11.xml deleted file mode 100644 index f727ed2bb..000000000 Binary files a/fonts/mono_dejavu_sans_11.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_110.png b/fonts/mono_dejavu_sans_110.png deleted file mode 100644 index c90c0e242..000000000 Binary files a/fonts/mono_dejavu_sans_110.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_12.xml b/fonts/mono_dejavu_sans_12.xml deleted file mode 100644 index 38f6427be..000000000 Binary files a/fonts/mono_dejavu_sans_12.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_120.png b/fonts/mono_dejavu_sans_120.png deleted file mode 100644 index 0cebd70e8..000000000 Binary files a/fonts/mono_dejavu_sans_120.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_14.xml b/fonts/mono_dejavu_sans_14.xml deleted file mode 100644 index b90a34960..000000000 Binary files a/fonts/mono_dejavu_sans_14.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_140.png b/fonts/mono_dejavu_sans_140.png deleted file mode 100644 index a413759ea..000000000 Binary files a/fonts/mono_dejavu_sans_140.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_16.xml b/fonts/mono_dejavu_sans_16.xml deleted file mode 100644 index 3f7d2c2a2..000000000 Binary files a/fonts/mono_dejavu_sans_16.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_160.png b/fonts/mono_dejavu_sans_160.png deleted file mode 100644 index bd8a2f40a..000000000 Binary files a/fonts/mono_dejavu_sans_160.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_18.xml b/fonts/mono_dejavu_sans_18.xml deleted file mode 100644 index 92865cbfc..000000000 Binary files a/fonts/mono_dejavu_sans_18.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_180.png b/fonts/mono_dejavu_sans_180.png deleted file mode 100644 index a299afcbe..000000000 Binary files a/fonts/mono_dejavu_sans_180.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_20.xml b/fonts/mono_dejavu_sans_20.xml deleted file mode 100644 index acd8c77d0..000000000 Binary files a/fonts/mono_dejavu_sans_20.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_200.png b/fonts/mono_dejavu_sans_200.png deleted file mode 100644 index 68ee62681..000000000 Binary files a/fonts/mono_dejavu_sans_200.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_22.xml b/fonts/mono_dejavu_sans_22.xml deleted file mode 100644 index eafb4def6..000000000 Binary files a/fonts/mono_dejavu_sans_22.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_220.png b/fonts/mono_dejavu_sans_220.png deleted file mode 100644 index 042d7e094..000000000 Binary files a/fonts/mono_dejavu_sans_220.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_24.xml b/fonts/mono_dejavu_sans_24.xml deleted file mode 100644 index fc8b6232e..000000000 Binary files a/fonts/mono_dejavu_sans_24.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_240.png b/fonts/mono_dejavu_sans_240.png deleted file mode 100644 index d2d68c5bb..000000000 Binary files a/fonts/mono_dejavu_sans_240.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_26.xml b/fonts/mono_dejavu_sans_26.xml deleted file mode 100644 index 829f09948..000000000 Binary files a/fonts/mono_dejavu_sans_26.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_260.png b/fonts/mono_dejavu_sans_260.png deleted file mode 100644 index 3a8cb6c57..000000000 Binary files a/fonts/mono_dejavu_sans_260.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_28.xml b/fonts/mono_dejavu_sans_28.xml deleted file mode 100644 index b5b25bd07..000000000 Binary files a/fonts/mono_dejavu_sans_28.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_280.png b/fonts/mono_dejavu_sans_280.png deleted file mode 100644 index ccf62ba48..000000000 Binary files a/fonts/mono_dejavu_sans_280.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_4.xml b/fonts/mono_dejavu_sans_4.xml deleted file mode 100644 index cfebb39b3..000000000 Binary files a/fonts/mono_dejavu_sans_4.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_40.png b/fonts/mono_dejavu_sans_40.png deleted file mode 100644 index 24ed693f7..000000000 Binary files a/fonts/mono_dejavu_sans_40.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_6.xml b/fonts/mono_dejavu_sans_6.xml deleted file mode 100644 index d0e1de21d..000000000 Binary files a/fonts/mono_dejavu_sans_6.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_60.png b/fonts/mono_dejavu_sans_60.png deleted file mode 100644 index 326af996f..000000000 Binary files a/fonts/mono_dejavu_sans_60.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_8.xml b/fonts/mono_dejavu_sans_8.xml deleted file mode 100644 index c48bf7ccc..000000000 Binary files a/fonts/mono_dejavu_sans_8.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_80.png b/fonts/mono_dejavu_sans_80.png deleted file mode 100644 index 04326dbb2..000000000 Binary files a/fonts/mono_dejavu_sans_80.png and /dev/null differ diff --git a/fonts/mono_dejavu_sans_9.xml b/fonts/mono_dejavu_sans_9.xml deleted file mode 100644 index 74e841034..000000000 Binary files a/fonts/mono_dejavu_sans_9.xml and /dev/null differ diff --git a/fonts/mono_dejavu_sans_90.png b/fonts/mono_dejavu_sans_90.png deleted file mode 100644 index 65ac51858..000000000 Binary files a/fonts/mono_dejavu_sans_90.png and /dev/null differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e3389cea9..ed0929564 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -122,16 +122,8 @@ if(BUILD_CLIENT) endif() endif() - -option(ENABLE_FREETYPE "Enable FreeType2 (TrueType fonts and basic unicode support)" TRUE) -set(USE_FREETYPE FALSE) - -if(BUILD_CLIENT AND ENABLE_FREETYPE) - find_package(Freetype) - if(FREETYPE_FOUND) - message(STATUS "Freetype enabled.") - set(USE_FREETYPE TRUE) - endif() +if(BUILD_CLIENT) + find_package(Freetype REQUIRED) endif() option(ENABLE_CURSES "Enable ncurses console" TRUE) @@ -495,13 +487,11 @@ include_directories( ${PROJECT_SOURCE_DIR} ${ZLIB_INCLUDE_DIR} ${ZSTD_INCLUDE_DIR} - ${SOUND_INCLUDE_DIRS} ${SQLITE3_INCLUDE_DIR} ${LUA_INCLUDE_DIR} ${GMP_INCLUDE_DIR} ${JSON_INCLUDE_DIR} ${LUA_BIT_INCLUDE_DIR} - ${X11_INCLUDE_DIR} ${PROJECT_SOURCE_DIR}/script ) @@ -509,8 +499,12 @@ if(USE_GETTEXT) include_directories(${GETTEXT_INCLUDE_DIR}) endif() -if(USE_FREETYPE) - include_directories(${FREETYPE_INCLUDE_DIRS}) +if(BUILD_CLIENT) + include_directories( + ${FREETYPE_INCLUDE_DIRS} + ${SOUND_INCLUDE_DIRS} + ${X11_INCLUDE_DIR} + ) endif() if(USE_CURL) @@ -539,6 +533,7 @@ if(BUILD_CLIENT) ${GMP_LIBRARY} ${JSON_LIBRARY} ${LUA_BIT_LIBRARY} + ${FREETYPE_LIBRARY} ${PLATFORM_LIBS} ) if(NOT USE_LUAJIT) @@ -573,17 +568,11 @@ if(BUILD_CLIENT) ${CURL_LIBRARY} ) endif() - if(USE_FREETYPE) - if(FREETYPE_PKGCONFIG_FOUND) - set_target_properties(${PROJECT_NAME} - PROPERTIES - COMPILE_FLAGS "${FREETYPE_CFLAGS_STR}" - ) - endif() - target_link_libraries( - ${PROJECT_NAME} - ${FREETYPE_LIBRARY} - ) + if(FREETYPE_PKGCONFIG_FOUND) + set_target_properties(${PROJECT_NAME} + PROPERTIES + COMPILE_FLAGS "${FREETYPE_CFLAGS_STR}" + ) endif() if (USE_CURSES) target_link_libraries(${PROJECT_NAME} ${CURSES_LIBRARIES}) @@ -896,14 +885,8 @@ if(BUILD_CLIENT) endforeach() endif() - # Install necessary fonts depending on configuration - if(USE_FREETYPE) - install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../fonts" DESTINATION "${SHAREDIR}" - FILES_MATCHING PATTERN "*.ttf" PATTERN "*.txt") - else() - install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../fonts" DESTINATION "${SHAREDIR}" - FILES_MATCHING PATTERN "*.png" PATTERN "*.xml") - endif() + install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../fonts" DESTINATION "${SHAREDIR}" + FILES_MATCHING PATTERN "*.ttf" PATTERN "*.txt") endif(BUILD_CLIENT) if(BUILD_SERVER) diff --git a/src/client/fontengine.cpp b/src/client/fontengine.cpp index e537b756c..ad8305b45 100644 --- a/src/client/fontengine.cpp +++ b/src/client/fontengine.cpp @@ -24,10 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "porting.h" #include "filesys.h" #include "gettext.h" - -#if USE_FREETYPE #include "irrlicht_changes/CGUITTFont.h" -#endif /** maximum size distance for getting a "similar" font size */ #define MAX_FONT_SIZE_OFFSET 10 @@ -45,9 +42,8 @@ static void font_setting_changed(const std::string &name, void *userdata) FontEngine::FontEngine(gui::IGUIEnvironment* env) : m_env(env) { - for (u32 &i : m_default_size) { - i = (FontMode) FONT_SIZE_UNSPECIFIED; + i = FONT_SIZE_UNSPECIFIED; } assert(g_settings != NULL); // pre-condition @@ -56,25 +52,19 @@ FontEngine::FontEngine(gui::IGUIEnvironment* env) : readSettings(); - if (m_currentMode != FM_Simple) { - g_settings->registerChangedCallback("font_size", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_bold", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_italic", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_path", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_path_bold", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_path_italic", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_path_bolditalic", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_shadow", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_shadow_alpha", font_setting_changed, NULL); - g_settings->registerChangedCallback("font_size_divisible_by", font_setting_changed, NULL); - g_settings->registerChangedCallback("fallback_font_path", font_setting_changed, NULL); - } + const char *settings[] = { + "font_size", "font_bold", "font_italic", "font_size_divisible_by", + "mono_font_size", "mono_font_size_divisible_by", + "font_shadow", "font_shadow_alpha", + "font_path", "font_path_bold", "font_path_italic", "font_path_bold_italic", + "mono_font_path", "mono_font_path_bold", "mono_font_path_italic", + "mono_font_path_bold_italic", + "fallback_font_path", + "screen_dpi", "gui_scaling", + }; - g_settings->registerChangedCallback("mono_font_path", font_setting_changed, NULL); - g_settings->registerChangedCallback("mono_font_size", font_setting_changed, NULL); - g_settings->registerChangedCallback("mono_font_size_divisible_by", font_setting_changed, NULL); - g_settings->registerChangedCallback("screen_dpi", font_setting_changed, NULL); - g_settings->registerChangedCallback("gui_scaling", font_setting_changed, NULL); + for (auto name : settings) + g_settings->registerChangedCallback(name, font_setting_changed, NULL); } /******************************************************************************/ @@ -108,16 +98,8 @@ irr::gui::IGUIFont *FontEngine::getFont(FontSpec spec, bool may_fail) { if (spec.mode == FM_Unspecified) { spec.mode = m_currentMode; - } else if (m_currentMode == FM_Simple) { - // Freetype disabled -> Force simple mode - spec.mode = (spec.mode == FM_Mono || - spec.mode == FM_SimpleMono) ? - FM_SimpleMono : FM_Simple; - // Support for those could be added, but who cares? - spec.bold = false; - spec.italic = false; } else if (spec.mode == _FM_Fallback) { - // Fallback font doesn't support these either + // Fallback font doesn't support these spec.bold = false; spec.italic = false; } @@ -134,11 +116,7 @@ irr::gui::IGUIFont *FontEngine::getFont(FontSpec spec, bool may_fail) return it->second; // Font does not yet exist - gui::IGUIFont *font = nullptr; - if (spec.mode == FM_Simple || spec.mode == FM_SimpleMono) - font = initSimpleFont(spec); - else - font = initFont(spec); + gui::IGUIFont *font = initFont(spec); if (!font && !may_fail) { errorstream << "Minetest cannot continue without a valid font. " @@ -185,13 +163,6 @@ unsigned int FontEngine::getDefaultFontSize() unsigned int FontEngine::getFontSize(FontMode mode) { - if (m_currentMode == FM_Simple) { - if (mode == FM_Mono || mode == FM_SimpleMono) - return m_default_size[FM_SimpleMono]; - else - return m_default_size[FM_Simple]; - } - if (mode == FM_Unspecified) return m_default_size[FM_Standard]; @@ -201,20 +172,12 @@ unsigned int FontEngine::getFontSize(FontMode mode) /******************************************************************************/ void FontEngine::readSettings() { - if (USE_FREETYPE && g_settings->getBool("freetype")) { - m_default_size[FM_Standard] = g_settings->getU16("font_size"); - m_default_size[_FM_Fallback] = g_settings->getU16("font_size"); - m_default_size[FM_Mono] = g_settings->getU16("mono_font_size"); + m_default_size[FM_Standard] = g_settings->getU16("font_size"); + m_default_size[_FM_Fallback] = g_settings->getU16("font_size"); + m_default_size[FM_Mono] = g_settings->getU16("mono_font_size"); - m_default_bold = g_settings->getBool("font_bold"); - m_default_italic = g_settings->getBool("font_italic"); - - } else { - m_currentMode = FM_Simple; - } - - m_default_size[FM_Simple] = g_settings->getU16("font_size"); - m_default_size[FM_SimpleMono] = g_settings->getU16("mono_font_size"); + m_default_bold = g_settings->getBool("font_bold"); + m_default_italic = g_settings->getBool("font_italic"); cleanCache(); updateFontCache(); @@ -283,7 +246,6 @@ gui::IGUIFont *FontEngine::initFont(const FontSpec &spec) Settings::getLayer(SL_DEFAULTS)->get(path_setting) }; -#if USE_FREETYPE for (const std::string &font_path : fallback_settings) { gui::CGUITTFont *font = gui::CGUITTFont::createTTFont(m_env, font_path.c_str(), size, true, true, font_shadow, @@ -302,80 +264,5 @@ gui::IGUIFont *FontEngine::initFont(const FontSpec &spec) } return font; } -#else - errorstream << "FontEngine: Tried to load TTF font but Minetest was" - " compiled without Freetype." << std::endl; -#endif return nullptr; } - -/** initialize a font without freetype */ -gui::IGUIFont *FontEngine::initSimpleFont(const FontSpec &spec) -{ - assert(spec.mode == FM_Simple || spec.mode == FM_SimpleMono); - assert(spec.size != FONT_SIZE_UNSPECIFIED); - - const std::string &font_path = g_settings->get( - (spec.mode == FM_SimpleMono) ? "mono_font_path" : "font_path"); - - size_t pos_dot = font_path.find_last_of('.'); - std::string basename = font_path, ending; - if (pos_dot != std::string::npos) - ending = lowercase(font_path.substr(pos_dot)); - - if (ending == ".ttf") { - errorstream << "FontEngine: Found font \"" << font_path - << "\" but freetype is not available." << std::endl; - return nullptr; - } - - if (ending == ".xml" || ending == ".png") - basename = font_path.substr(0, pos_dot); - - u32 size = std::floor( - RenderingEngine::getDisplayDensity() * - g_settings->getFloat("gui_scaling") * - spec.size); - - irr::gui::IGUIFont *font = nullptr; - std::string font_extensions[] = { ".png", ".xml" }; - - // Find nearest matching font scale - // Does a "zig-zag motion" (positibe/negative), from 0 to MAX_FONT_SIZE_OFFSET - for (s32 zoffset = 0; zoffset < MAX_FONT_SIZE_OFFSET * 2; zoffset++) { - std::stringstream path; - - // LSB to sign - s32 sign = (zoffset & 1) ? -1 : 1; - s32 offset = zoffset >> 1; - - for (const std::string &ext : font_extensions) { - path.str(""); // Clear - path << basename << "_" << (size + offset * sign) << ext; - - if (!fs::PathExists(path.str())) - continue; - - font = m_env->getFont(path.str().c_str()); - - if (font) { - verbosestream << "FontEngine: found font: " << path.str() << std::endl; - break; - } - } - - if (font) - break; - } - - // try name direct - if (font == NULL) { - if (fs::PathExists(font_path)) { - font = m_env->getFont(font_path.c_str()); - if (font) - verbosestream << "FontEngine: found font: " << font_path << std::endl; - } - } - - return font; -} diff --git a/src/client/fontengine.h b/src/client/fontengine.h index 403ac2e48..78608e517 100644 --- a/src/client/fontengine.h +++ b/src/client/fontengine.h @@ -34,8 +34,6 @@ enum FontMode : u8 { FM_Standard = 0, FM_Mono, _FM_Fallback, // do not use directly - FM_Simple, - FM_SimpleMono, FM_MaxMode, FM_Unspecified }; @@ -140,9 +138,6 @@ private: /** initialize a new TTF font */ gui::IGUIFont *initFont(const FontSpec &spec); - /** initialize a font without freetype */ - gui::IGUIFont *initSimpleFont(const FontSpec &spec); - /** update current minetest skin with font changes */ void updateSkin(); @@ -165,8 +160,8 @@ private: bool m_default_bold = false; bool m_default_italic = false; - /** current font engine mode */ - FontMode m_currentMode = FM_Standard; + /** default font engine mode (fixed) */ + static const FontMode m_currentMode = FM_Standard; DISABLE_CLASS_COPY(FontEngine); }; diff --git a/src/cmake_config.h.in b/src/cmake_config.h.in index cfcee4b58..cf436d6dc 100644 --- a/src/cmake_config.h.in +++ b/src/cmake_config.h.in @@ -18,7 +18,6 @@ #cmakedefine01 USE_GETTEXT #cmakedefine01 USE_CURL #cmakedefine01 USE_SOUND -#cmakedefine01 USE_FREETYPE #cmakedefine01 USE_CURSES #cmakedefine01 USE_LEVELDB #cmakedefine01 USE_LUAJIT diff --git a/src/constants.h b/src/constants.h index 3cc3af094..ed858912d 100644 --- a/src/constants.h +++ b/src/constants.h @@ -111,4 +111,3 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #define TTF_DEFAULT_FONT_SIZE (16) -#define DEFAULT_FONT_SIZE (10) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 47790a552..9e4bb14b5 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -303,8 +303,7 @@ void set_default_settings() settings->setDefault("main_menu_path", ""); settings->setDefault("serverlist_file", "favoriteservers.json"); -#if USE_FREETYPE - settings->setDefault("freetype", "true"); + // General font settings settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "Arimo-Regular.ttf")); settings->setDefault("font_path_italic", porting::getDataPath("fonts" DIR_DELIM "Arimo-Italic.ttf")); settings->setDefault("font_path_bold", porting::getDataPath("fonts" DIR_DELIM "Arimo-Bold.ttf")); @@ -322,14 +321,6 @@ void set_default_settings() settings->setDefault("fallback_font_path", porting::getDataPath("fonts" DIR_DELIM "DroidSansFallbackFull.ttf")); std::string font_size_str = std::to_string(TTF_DEFAULT_FONT_SIZE); -#else - settings->setDefault("freetype", "false"); - settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "mono_dejavu_sans")); - settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "mono_dejavu_sans")); - - std::string font_size_str = std::to_string(DEFAULT_FONT_SIZE); -#endif - // General font settings settings->setDefault("font_size", font_size_str); settings->setDefault("mono_font_size", font_size_str); settings->setDefault("chat_font_size", "0"); // Default "font_size" diff --git a/src/gui/guiChatConsole.cpp b/src/gui/guiChatConsole.cpp index 0610c85cc..01e10ea2e 100644 --- a/src/gui/guiChatConsole.cpp +++ b/src/gui/guiChatConsole.cpp @@ -30,12 +30,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "client/fontengine.h" #include "log.h" #include "gettext.h" +#include "irrlicht_changes/CGUITTFont.h" #include -#if USE_FREETYPE - #include "irrlicht_changes/CGUITTFont.h" -#endif - inline u32 clamp_u8(s32 value) { return (u32) MYMIN(MYMAX(value, 0), 255); @@ -328,19 +325,16 @@ void GUIChatConsole::drawText() core::rect destrect( x, y, x + m_fontsize.X * fragment.text.size(), y + m_fontsize.Y); -#if USE_FREETYPE if (m_font->getType() == irr::gui::EGFT_CUSTOM) { - // Draw colored text if FreeType is enabled - irr::gui::CGUITTFont *tmp = dynamic_cast(m_font); + // Draw colored text if possible + gui::CGUITTFont *tmp = static_cast(m_font); tmp->draw( fragment.text, destrect, false, false, &AbsoluteClippingRect); - } else -#endif - { + } else { // Otherwise use standard text m_font->draw( fragment.text.c_str(), diff --git a/src/gui/guiHyperText.cpp b/src/gui/guiHyperText.cpp index ccfdcb81d..40450ce5f 100644 --- a/src/gui/guiHyperText.cpp +++ b/src/gui/guiHyperText.cpp @@ -17,31 +17,26 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "IGUIEnvironment.h" -#include "IGUIElement.h" +#include "guiHyperText.h" #include "guiScrollBar.h" -#include "IGUIFont.h" -#include -#include -#include -using namespace irr::gui; #include "client/fontengine.h" -#include #include "client/tile.h" #include "IVideoDriver.h" #include "client/client.h" #include "client/renderingengine.h" #include "hud.h" -#include "guiHyperText.h" #include "util/string.h" +#include "irrlicht_changes/CGUITTFont.h" -bool check_color(const std::string &str) +using namespace irr::gui; + +static bool check_color(const std::string &str) { irr::video::SColor color; return parseColorString(str, color, false); } -bool check_integer(const std::string &str) +static bool check_integer(const std::string &str) { if (str.empty()) return false; @@ -616,12 +611,10 @@ TextDrawer::TextDrawer(const wchar_t *text, Client *client, if (e.font) { e.dim.Width = e.font->getDimension(e.text.c_str()).Width; e.dim.Height = e.font->getDimension(L"Yy").Height; -#if USE_FREETYPE if (e.font->getType() == irr::gui::EGFT_CUSTOM) { - e.baseline = e.dim.Height - 1 - - ((irr::gui::CGUITTFont *)e.font)->getAscender() / 64; + CGUITTFont *tmp = static_cast(e.font); + e.baseline = e.dim.Height - 1 - tmp->getAscender() / 64; } -#endif } else { e.dim = {0, 0}; } diff --git a/src/gui/guiHyperText.h b/src/gui/guiHyperText.h index 5b936262e..04c664df5 100644 --- a/src/gui/guiHyperText.h +++ b/src/gui/guiHyperText.h @@ -19,16 +19,17 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "config.h" // for USE_FREETYPE +#include +#include +#include +#include +#include "irrlichttypes_extrabloated.h" using namespace irr; class ISimpleTextureSource; class Client; - -#if USE_FREETYPE -#include "irrlicht_changes/CGUITTFont.h" -#endif +class GUIScrollBar; class ParsedText { diff --git a/src/irrlicht_changes/CMakeLists.txt b/src/irrlicht_changes/CMakeLists.txt index 87c88f7e8..19f431af3 100644 --- a/src/irrlicht_changes/CMakeLists.txt +++ b/src/irrlicht_changes/CMakeLists.txt @@ -1,14 +1,9 @@ if (BUILD_CLIENT) set(client_irrlicht_changes_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/static_text.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/CGUITTFont.cpp ) - if (USE_FREETYPE) - set(client_irrlicht_changes_SRCS ${client_irrlicht_changes_SRCS} - ${CMAKE_CURRENT_SOURCE_DIR}/CGUITTFont.cpp - ) - endif() - # CMake require us to set a local scope and then parent scope # Else the last set win in parent scope set(client_irrlicht_changes_SRCS ${client_irrlicht_changes_SRCS} PARENT_SCOPE) diff --git a/src/irrlicht_changes/static_text.cpp b/src/irrlicht_changes/static_text.cpp index f548c3f71..baf0ea626 100644 --- a/src/irrlicht_changes/static_text.cpp +++ b/src/irrlicht_changes/static_text.cpp @@ -12,17 +12,12 @@ #include #include -#if USE_FREETYPE - #include "CGUITTFont.h" -#endif - +#include "CGUITTFont.h" #include "util/string.h" namespace irr { -#if USE_FREETYPE - namespace gui { //! constructor @@ -108,14 +103,12 @@ void StaticText::draw() font->getDimension(str.c_str()).Width; } -#if USE_FREETYPE if (font->getType() == irr::gui::EGFT_CUSTOM) { - irr::gui::CGUITTFont *tmp = static_cast(font); + CGUITTFont *tmp = static_cast(font); tmp->draw(str, r, HAlign == EGUIA_CENTER, VAlign == EGUIA_CENTER, (RestrainTextInside ? &AbsoluteClippingRect : NULL)); } else -#endif { // Draw non-colored text font->draw(str.c_str(), @@ -590,8 +583,6 @@ s32 StaticText::getTextWidth() const } // end namespace gui -#endif // USE_FREETYPE - } // end namespace irr diff --git a/src/irrlicht_changes/static_text.h b/src/irrlicht_changes/static_text.h index 17a3bf753..74ef62008 100644 --- a/src/irrlicht_changes/static_text.h +++ b/src/irrlicht_changes/static_text.h @@ -20,7 +20,6 @@ #include "config.h" #include -#if USE_FREETYPE namespace irr { @@ -230,41 +229,6 @@ inline void setStaticText(irr::gui::IGUIStaticText *static_text, const EnrichedS } } -#else // USE_FREETYPE - -namespace irr -{ -namespace gui -{ - -class StaticText -{ -public: - static irr::gui::IGUIStaticText *add( - irr::gui::IGUIEnvironment *guienv, - const EnrichedString &text, - const core::rect< s32 > &rectangle, - bool border = false, - bool wordWrap = true, - irr::gui::IGUIElement *parent = NULL, - s32 id = -1, - bool fillBackground = false) - { - return guienv->addStaticText(text.c_str(), rectangle, border, wordWrap, parent, id, fillBackground); - } -}; - -} // end namespace gui - -} // end namespace irr - -inline void setStaticText(irr::gui::IGUIStaticText *static_text, const EnrichedString &text) -{ - static_text->setText(text.c_str()); -} - -#endif - inline void setStaticText(irr::gui::IGUIStaticText *static_text, const wchar_t *text) { setStaticText(static_text, EnrichedString(text, static_text->getOverrideColor())); diff --git a/src/version.cpp b/src/version.cpp index c555f30af..f2aac37df 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -37,7 +37,6 @@ const char *g_build_info = #ifndef SERVER "USE_GETTEXT=" STR(USE_GETTEXT) "\n" "USE_SOUND=" STR(USE_SOUND) "\n" - "USE_FREETYPE=" STR(USE_FREETYPE) "\n" #endif "STATIC_SHAREDIR=" STR(STATIC_SHAREDIR) #if USE_GETTEXT && defined(STATIC_LOCALEDIR) diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index 696297aed..2eb9dab11 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -129,7 +129,6 @@ cmake -S $sourcedir -B . \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ -DENABLE_GETTEXT=1 \ - -DENABLE_FREETYPE=1 \ -DENABLE_LEVELDB=1 \ \ -DCMAKE_PREFIX_PATH=$libdir/irrlicht \ diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 20d0b3a6a..3dd4db687 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -129,7 +129,6 @@ cmake -S $sourcedir -B . \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ -DENABLE_GETTEXT=1 \ - -DENABLE_FREETYPE=1 \ -DENABLE_LEVELDB=1 \ \ -DCMAKE_PREFIX_PATH=$libdir/irrlicht \ -- cgit v1.2.3 From 5eb45e1ea03c6104f007efec6dd9c351f310193d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 9 Jan 2022 18:46:36 +0100 Subject: Restore pass-through of direction keys (#11924) This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable. --- src/client/client.cpp | 16 +++++----- src/client/clientlauncher.cpp | 4 +-- src/client/game.cpp | 36 +++------------------- src/client/inputhandler.h | 50 +++++++++++++++++++++--------- src/client/localplayer.cpp | 4 +-- src/client/localplayer.h | 2 +- src/network/serverpackethandler.cpp | 9 +----- src/player.cpp | 59 ++++++++++++++++++++++++++++++++++++ src/player.h | 33 ++++++++++++-------- src/script/lua_api/l_localplayer.cpp | 14 +++++---- src/script/lua_api/l_object.cpp | 36 ++++++++++++++-------- 11 files changed, 165 insertions(+), 98 deletions(-) diff --git a/src/client/client.cpp b/src/client/client.cpp index 2caa953e4..d4c271bab 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -931,7 +931,7 @@ void writePlayerPos(LocalPlayer *myplayer, ClientMap *clientMap, NetworkPacket * v3f sf = myplayer->getSpeed() * 100; s32 pitch = myplayer->getPitch() * 100; s32 yaw = myplayer->getYaw() * 100; - u32 keyPressed = myplayer->keyPressed; + u32 keyPressed = myplayer->control.getKeysPressed(); // scaled by 80, so that pi can fit into a u8 u8 fov = clientMap->getCameraFov() * 80; u8 wanted_range = MYMIN(255, @@ -1287,22 +1287,24 @@ void Client::sendPlayerPos() if (!player) return; - ClientMap &map = m_env.getClientMap(); - u8 camera_fov = map.getCameraFov(); - u8 wanted_range = map.getControl().wanted_range; - // Save bandwidth by only updating position when // player is not dead and something changed if (m_activeobjects_received && player->isDead()) return; + ClientMap &map = m_env.getClientMap(); + u8 camera_fov = map.getCameraFov(); + u8 wanted_range = map.getControl().wanted_range; + + u32 keyPressed = player->control.getKeysPressed(); + if ( player->last_position == player->getPosition() && player->last_speed == player->getSpeed() && player->last_pitch == player->getPitch() && player->last_yaw == player->getYaw() && - player->last_keyPressed == player->keyPressed && + player->last_keyPressed == keyPressed && player->last_camera_fov == camera_fov && player->last_wanted_range == wanted_range) return; @@ -1311,7 +1313,7 @@ void Client::sendPlayerPos() player->last_speed = player->getSpeed(); player->last_pitch = player->getPitch(); player->last_yaw = player->getYaw(); - player->last_keyPressed = player->keyPressed; + player->last_keyPressed = keyPressed; player->last_camera_fov = camera_fov; player->last_wanted_range = wanted_range; diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 95be72ca0..063154316 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -70,10 +70,10 @@ static void dump_start_data(const GameStartData &data) ClientLauncher::~ClientLauncher() { - delete receiver; - delete input; + delete receiver; + delete g_fontengine; delete g_gamecallback; diff --git a/src/client/game.cpp b/src/client/game.cpp index f62d26e8f..182dc3815 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2481,6 +2481,10 @@ void Game::updatePlayerControl(const CameraOrientation &cam) //TimeTaker tt("update player control", NULL, PRECISION_NANO); PlayerControl control( + isKeyDown(KeyType::FORWARD), + isKeyDown(KeyType::BACKWARD), + isKeyDown(KeyType::LEFT), + isKeyDown(KeyType::RIGHT), isKeyDown(KeyType::JUMP) || player->getAutojump(), isKeyDown(KeyType::AUX1), isKeyDown(KeyType::SNEAK), @@ -2511,39 +2515,7 @@ void Game::updatePlayerControl(const CameraOrientation &cam) } #endif - u32 keypress_bits = ( - ( (u32)(control.jump & 0x1) << 4) | - ( (u32)(control.aux1 & 0x1) << 5) | - ( (u32)(control.sneak & 0x1) << 6) | - ( (u32)(control.dig & 0x1) << 7) | - ( (u32)(control.place & 0x1) << 8) | - ( (u32)(control.zoom & 0x1) << 9) - ); - - // Set direction keys to ensure mod compatibility - if (control.movement_speed > 0.001f) { - float absolute_direction; - - // Check in original orientation (absolute value indicates forward / backward) - absolute_direction = abs(control.movement_direction); - if (absolute_direction < (3.0f / 8.0f * M_PI)) - keypress_bits |= (u32)(0x1 << 0); // Forward - if (absolute_direction > (5.0f / 8.0f * M_PI)) - keypress_bits |= (u32)(0x1 << 1); // Backward - - // Rotate entire coordinate system by 90 degrees (absolute value indicates left / right) - absolute_direction = control.movement_direction + M_PI_2; - if (absolute_direction >= M_PI) - absolute_direction -= 2 * M_PI; - absolute_direction = abs(absolute_direction); - if (absolute_direction < (3.0f / 8.0f * M_PI)) - keypress_bits |= (u32)(0x1 << 2); // Left - if (absolute_direction > (5.0f / 8.0f * M_PI)) - keypress_bits |= (u32)(0x1 << 3); // Right - } - client->setPlayerControl(control); - player->keyPressed = keypress_bits; //tt.stop(); } diff --git a/src/client/inputhandler.h b/src/client/inputhandler.h index e630b860e..3db105c51 100644 --- a/src/client/inputhandler.h +++ b/src/client/inputhandler.h @@ -152,8 +152,14 @@ public: // in the subsequent iteration of Game::processPlayerInteraction bool WasKeyReleased(const KeyPress &keycode) const { return keyWasReleased[keycode]; } - void listenForKey(const KeyPress &keyCode) { keysListenedFor.set(keyCode); } - void dontListenForKeys() { keysListenedFor.clear(); } + void listenForKey(const KeyPress &keyCode) + { + keysListenedFor.set(keyCode); + } + void dontListenForKeys() + { + keysListenedFor.clear(); + } s32 getMouseWheel() { @@ -189,8 +195,6 @@ public: #endif } - s32 mouse_wheel = 0; - JoystickController *joystick = nullptr; #ifdef HAVE_TOUCHSCREENGUI @@ -198,6 +202,8 @@ public: #endif private: + s32 mouse_wheel = 0; + // The current state of keys KeyList keyIsDown; @@ -272,6 +278,12 @@ public: { m_receiver->joystick = &joystick; } + + virtual ~RealInputHandler() + { + m_receiver->joystick = nullptr; + } + virtual bool isKeyDown(GameKeyType k) { return m_receiver->IsKeyDown(keycache.key[k]) || joystick.isKeyDown(k); @@ -288,6 +300,7 @@ public: { return m_receiver->WasKeyReleased(keycache.key[k]) || joystick.wasKeyReleased(k); } + virtual float getMovementSpeed() { bool f = m_receiver->IsKeyDown(keycache.key[KeyType::FORWARD]), @@ -307,6 +320,7 @@ public: } return joystick.getMovementSpeed(); } + virtual float getMovementDirection() { float x = 0, z = 0; @@ -326,10 +340,12 @@ public: else return joystick.getMovementDirection(); } + virtual bool cancelPressed() { return wasKeyDown(KeyType::ESC) || m_receiver->WasKeyDown(CancelKey); } + virtual void clearWasKeyPressed() { m_receiver->clearWasKeyPressed(); @@ -338,17 +354,21 @@ public: { m_receiver->clearWasKeyReleased(); } + virtual void listenForKey(const KeyPress &keyCode) { m_receiver->listenForKey(keyCode); } - virtual void dontListenForKeys() { m_receiver->dontListenForKeys(); } + virtual void dontListenForKeys() + { + m_receiver->dontListenForKeys(); + } + virtual v2s32 getMousePos() { - if (RenderingEngine::get_raw_device()->getCursorControl()) { - return RenderingEngine::get_raw_device() - ->getCursorControl() - ->getPosition(); + auto control = RenderingEngine::get_raw_device()->getCursorControl(); + if (control) { + return control->getPosition(); } return m_mousepos; @@ -356,16 +376,18 @@ public: virtual void setMousePos(s32 x, s32 y) { - if (RenderingEngine::get_raw_device()->getCursorControl()) { - RenderingEngine::get_raw_device() - ->getCursorControl() - ->setPosition(x, y); + auto control = RenderingEngine::get_raw_device()->getCursorControl(); + if (control) { + control->setPosition(x, y); } else { m_mousepos = v2s32(x, y); } } - virtual s32 getMouseWheel() { return m_receiver->getMouseWheel(); } + virtual s32 getMouseWheel() + { + return m_receiver->getMouseWheel(); + } void clear() { diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index 3f78d201d..4f1ea7bda 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -1096,10 +1096,8 @@ void LocalPlayer::handleAutojump(f32 dtime, Environment *env, if (m_autojump) return; - bool control_forward = keyPressed & (1 << 0); - bool could_autojump = - m_can_jump && !control.jump && !control.sneak && control_forward; + m_can_jump && !control.jump && !control.sneak && control.isMoving(); if (!could_autojump) return; diff --git a/src/client/localplayer.h b/src/client/localplayer.h index 13b35ae4e..577be2803 100644 --- a/src/client/localplayer.h +++ b/src/client/localplayer.h @@ -86,7 +86,7 @@ public: v3f last_speed; float last_pitch = 0.0f; float last_yaw = 0.0f; - unsigned int last_keyPressed = 0; + u32 last_keyPressed = 0; u8 last_camera_fov = 0; u8 last_wanted_range = 0; diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index e5a1bab1e..37b62c5cb 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -482,7 +482,6 @@ void Server::process_PlayerPos(RemotePlayer *player, PlayerSAO *playersao, f32 yaw = (f32)f32yaw / 100.0f; u32 keyPressed = 0; - // default behavior (in case an old client doesn't send these) f32 fov = 0; u8 wanted_range = 0; @@ -508,13 +507,7 @@ void Server::process_PlayerPos(RemotePlayer *player, PlayerSAO *playersao, playersao->setFov(fov); playersao->setWantedRange(wanted_range); - player->keyPressed = keyPressed; - player->control.jump = (keyPressed & (0x1 << 4)); - player->control.aux1 = (keyPressed & (0x1 << 5)); - player->control.sneak = (keyPressed & (0x1 << 6)); - player->control.dig = (keyPressed & (0x1 << 7)); - player->control.place = (keyPressed & (0x1 << 8)); - player->control.zoom = (keyPressed & (0x1 << 9)); + player->control.unpackKeysPressed(keyPressed); if (playersao->checkMovementCheat()) { // Call callbacks diff --git a/src/player.cpp b/src/player.cpp index d3ba5c2c2..347be30f1 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "player.h" +#include #include "threading/mutex_auto_lock.h" #include "util/numeric.h" #include "hud.h" @@ -159,6 +160,64 @@ void Player::clearHud() } } +#ifndef SERVER + +u32 PlayerControl::getKeysPressed() const +{ + u32 keypress_bits = + ( (u32)(jump & 1) << 4) | + ( (u32)(aux1 & 1) << 5) | + ( (u32)(sneak & 1) << 6) | + ( (u32)(dig & 1) << 7) | + ( (u32)(place & 1) << 8) | + ( (u32)(zoom & 1) << 9) + ; + + // If any direction keys are pressed pass those through + if (direction_keys != 0) + { + keypress_bits |= direction_keys; + } + // Otherwise set direction keys based on joystick movement (for mod compatibility) + else if (isMoving()) + { + float abs_d; + + // (absolute value indicates forward / backward) + abs_d = abs(movement_direction); + if (abs_d < 3.0f / 8.0f * M_PI) + keypress_bits |= (u32)1; // Forward + if (abs_d > 5.0f / 8.0f * M_PI) + keypress_bits |= (u32)1 << 1; // Backward + + // rotate entire coordinate system by 90 degree + abs_d = movement_direction + M_PI_2; + if (abs_d >= M_PI) + abs_d -= 2 * M_PI; + abs_d = abs(abs_d); + // (value now indicates left / right) + if (abs_d < 3.0f / 8.0f * M_PI) + keypress_bits |= (u32)1 << 2; // Left + if (abs_d > 5.0f / 8.0f * M_PI) + keypress_bits |= (u32)1 << 3; // Right + } + + return keypress_bits; +} + +#endif + +void PlayerControl::unpackKeysPressed(u32 keypress_bits) +{ + direction_keys = keypress_bits & 0xf; + jump = keypress_bits & (1 << 4); + aux1 = keypress_bits & (1 << 5); + sneak = keypress_bits & (1 << 6); + dig = keypress_bits & (1 << 7); + place = keypress_bits & (1 << 8); + zoom = keypress_bits & (1 << 9); +} + void PlayerSettings::readGlobalSettings() { free_move = g_settings->getBool("free_move"); diff --git a/src/player.h b/src/player.h index 3800e1a33..d769acdad 100644 --- a/src/player.h +++ b/src/player.h @@ -49,18 +49,18 @@ struct PlayerControl PlayerControl() = default; PlayerControl( - bool a_jump, - bool a_aux1, - bool a_sneak, + bool a_up, bool a_down, bool a_left, bool a_right, + bool a_jump, bool a_aux1, bool a_sneak, bool a_zoom, - bool a_dig, - bool a_place, - float a_pitch, - float a_yaw, - float a_movement_speed, - float a_movement_direction + bool a_dig, bool a_place, + float a_pitch, float a_yaw, + float a_movement_speed, float a_movement_direction ) { + // Encode direction keys into a single value so nobody uses it accidentally + // as movement_{speed,direction} is supposed to be the source of truth. + direction_keys = (a_up&1) | ((a_down&1) << 1) | + ((a_left&1) << 2) | ((a_right&1) << 3); jump = a_jump; aux1 = a_aux1; sneak = a_sneak; @@ -72,15 +72,26 @@ struct PlayerControl movement_speed = a_movement_speed; movement_direction = a_movement_direction; } + +#ifndef SERVER + // For client use + u32 getKeysPressed() const; + inline bool isMoving() const { return movement_speed > 0.001f; } +#endif + + // For server use + void unpackKeysPressed(u32 keypress_bits); + + u8 direction_keys = 0; bool jump = false; bool aux1 = false; bool sneak = false; bool zoom = false; bool dig = false; bool place = false; + // Note: These four are NOT available on the server float pitch = 0.0f; float yaw = 0.0f; - // Note: These two are NOT available on the server float movement_speed = 0.0f; float movement_direction = 0.0f; }; @@ -189,8 +200,6 @@ public: return m_fov_override_spec; } - u32 keyPressed = 0; - HudElement* getHud(u32 id); u32 addHud(HudElement* hud); HudElement* removeHud(u32 id); diff --git a/src/script/lua_api/l_localplayer.cpp b/src/script/lua_api/l_localplayer.cpp index bdbe98cb0..2efb976c7 100644 --- a/src/script/lua_api/l_localplayer.cpp +++ b/src/script/lua_api/l_localplayer.cpp @@ -230,13 +230,15 @@ int LuaLocalPlayer::l_get_control(lua_State *L) set("dig", c.dig); set("place", c.place); // Player movement in polar coordinates and non-binary speed - set("movement_speed", c.movement_speed); - set("movement_direction", c.movement_direction); + lua_pushnumber(L, c.movement_speed); + lua_setfield(L, -2, "movement_speed"); + lua_pushnumber(L, c.movement_direction); + lua_setfield(L, -2, "movement_direction"); // Provide direction keys to ensure compatibility - set("up", player->keyPressed & (1 << 0)); // Up, down, left, and right were removed in favor of - set("down", player->keyPressed & (1 << 1)); // analog direction indicators and are therefore not - set("left", player->keyPressed & (1 << 2)); // available as booleans anymore. The corresponding values - set("right", player->keyPressed & (1 << 3)); // can still be read from the keyPressed bits though. + set("up", c.direction_keys & (1 << 0)); + set("down", c.direction_keys & (1 << 1)); + set("left", c.direction_keys & (1 << 2)); + set("right", c.direction_keys & (1 << 3)); return 1; } diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 072b13d80..7d937b306 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1367,20 +1367,18 @@ int ObjectRef::l_get_player_control(lua_State *L) NO_MAP_LOCK_REQUIRED; ObjectRef *ref = checkobject(L, 1); RemotePlayer *player = getplayer(ref); - if (player == nullptr) { - lua_pushlstring(L, "", 0); - return 1; - } + if (player == nullptr) + return 0; const PlayerControl &control = player->getPlayerControl(); lua_newtable(L); - lua_pushboolean(L, player->keyPressed & (1 << 0)); + lua_pushboolean(L, control.direction_keys & (1 << 0)); lua_setfield(L, -2, "up"); - lua_pushboolean(L, player->keyPressed & (1 << 1)); + lua_pushboolean(L, control.direction_keys & (1 << 1)); lua_setfield(L, -2, "down"); - lua_pushboolean(L, player->keyPressed & (1 << 2)); + lua_pushboolean(L, control.direction_keys & (1 << 2)); lua_setfield(L, -2, "left"); - lua_pushboolean(L, player->keyPressed & (1 << 3)); + lua_pushboolean(L, control.direction_keys & (1 << 3)); lua_setfield(L, -2, "right"); lua_pushboolean(L, control.jump); lua_setfield(L, -2, "jump"); @@ -1408,12 +1406,24 @@ int ObjectRef::l_get_player_control_bits(lua_State *L) NO_MAP_LOCK_REQUIRED; ObjectRef *ref = checkobject(L, 1); RemotePlayer *player = getplayer(ref); - if (player == nullptr) { - lua_pushlstring(L, "", 0); - return 1; - } + if (player == nullptr) + return 0; + + const auto &c = player->getPlayerControl(); + + // This is very close to PlayerControl::getKeysPressed() but duplicated + // here so the encoding in the API is not inadvertedly changed. + u32 keypress_bits = + c.direction_keys | + ( (u32)(c.jump & 1) << 4) | + ( (u32)(c.aux1 & 1) << 5) | + ( (u32)(c.sneak & 1) << 6) | + ( (u32)(c.dig & 1) << 7) | + ( (u32)(c.place & 1) << 8) | + ( (u32)(c.zoom & 1) << 9) + ; - lua_pushnumber(L, player->keyPressed); + lua_pushinteger(L, keypress_bits); return 1; } -- cgit v1.2.3 From 8fab406c28bc5a18137d2653356c10880c827613 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 9 Jan 2022 18:33:37 +0100 Subject: Formspec: Fix bgcolor and set_focus checks --- src/gui/guiFormSpecMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 770a50bd9..85bd04900 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -2250,7 +2250,7 @@ void GUIFormSpecMenu::parseBox(parserData* data, const std::string &element) void GUIFormSpecMenu::parseBackgroundColor(parserData* data, const std::string &element) { std::vector parts; - if (!precheckElement("bgcolor", element, 2, 3, parts)) + if (!precheckElement("bgcolor", element, 1, 3, parts)) return; const u32 parameter_count = parts.size(); @@ -2705,7 +2705,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b void GUIFormSpecMenu::parseSetFocus(const std::string &element) { std::vector parts; - if (!precheckElement("set_focus", element, 2, 2, parts)) + if (!precheckElement("set_focus", element, 1, 2, parts)) return; if (m_is_form_regenerated) -- cgit v1.2.3 From b164e16d1be30220029729d63a1e621395ad00ad Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sun, 9 Jan 2022 19:56:55 +0100 Subject: Copy smoothing note to gui_scaling_filter description --- minetest.conf.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/minetest.conf.example b/minetest.conf.example index 919c2d52c..0562971de 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1014,6 +1014,9 @@ # When gui_scaling_filter is true, all GUI images need to be # filtered in software, but some images are generated directly # to hardware (e.g. render-to-texture for nodes in inventory). +# This will smooth over some of the rough edges, and blend +# pixels when scaling down, at the cost of blurring some +# edge pixels when images are scaled by non-integer sizes. # type: bool # gui_scaling_filter = false -- cgit v1.2.3 From 4c8c6497799c83cb5bac773ac4eac7ea572ec78f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 9 Jan 2022 21:15:35 +0100 Subject: Mainmenu game-related changes (#11887) fixes: * Switching between games does not immediately hide creative mode / damage buttons if so specified * World creation menu has a game selection list even though the menu already provides a gamebar * Showing gameid in world list is unnecessary * Choice of mapgen parameters in menu persists between games (and was half-broken) --- builtin/mainmenu/common.lua | 16 +- builtin/mainmenu/dlg_create_world.lua | 266 ++++++++++++++++++---------------- builtin/mainmenu/tab_local.lua | 84 +++++------ src/content/subgames.cpp | 17 +-- src/map_settings_manager.cpp | 9 +- src/mapgen/mapgen.cpp | 7 +- src/script/lua_api/l_mainmenu.cpp | 50 +++++-- src/settings.cpp | 12 +- src/settings.h | 5 +- 9 files changed, 259 insertions(+), 207 deletions(-) diff --git a/builtin/mainmenu/common.lua b/builtin/mainmenu/common.lua index b36c9596a..8db8bb8d1 100644 --- a/builtin/mainmenu/common.lua +++ b/builtin/mainmenu/common.lua @@ -125,17 +125,21 @@ os.tmpname = function() end -------------------------------------------------------------------------------- -function menu_render_worldlist() - local retval = "" +function menu_render_worldlist(show_gameid) + local retval = {} local current_worldlist = menudata.worldlist:get_list() + local row for i, v in ipairs(current_worldlist) do - if retval ~= "" then retval = retval .. "," end - retval = retval .. core.formspec_escape(v.name) .. - " \\[" .. core.formspec_escape(v.gameid) .. "\\]" + row = v.name + if show_gameid == nil or show_gameid == true then + row = row .. " [" .. v.gameid .. "]" + end + retval[#retval+1] = core.formspec_escape(row) + end - return retval + return table.concat(retval, ",") end function menu_handle_key_up_down(fields, textlist, settingname) diff --git a/builtin/mainmenu/dlg_create_world.lua b/builtin/mainmenu/dlg_create_world.lua index 5456eb3eb..8d1509f33 100644 --- a/builtin/mainmenu/dlg_create_world.lua +++ b/builtin/mainmenu/dlg_create_world.lua @@ -15,7 +15,8 @@ --with this program; if not, write to the Free Software Foundation, Inc., --51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -local worldname = "" +-- cf. tab_local, the gamebar already provides game selection so we hide the list from here +local hide_gamelist = PLATFORM ~= "Android" local function table_to_flags(ftable) -- Convert e.g. { jungles = true, caves = false } to "jungles,nocaves" @@ -31,9 +32,8 @@ local function strflag(flags, flag) return (flags[flag] == true) and "true" or "false" end -local cb_caverns = { "caverns", fgettext("Caverns"), "caverns", +local cb_caverns = { "caverns", fgettext("Caverns"), fgettext("Very large caverns deep in the underground") } -local tt_sea_rivers = fgettext("Sea level rivers") local flag_checkboxes = { v5 = { @@ -41,39 +41,38 @@ local flag_checkboxes = { }, v7 = { cb_caverns, - { "ridges", fgettext("Rivers"), "ridges", tt_sea_rivers }, - { "mountains", fgettext("Mountains"), "mountains" }, - { "floatlands", fgettext("Floatlands (experimental)"), "floatlands", + { "ridges", fgettext("Rivers"), fgettext("Sea level rivers") }, + { "mountains", fgettext("Mountains") }, + { "floatlands", fgettext("Floatlands (experimental)"), fgettext("Floating landmasses in the sky") }, }, carpathian = { cb_caverns, - { "rivers", fgettext("Rivers"), "rivers", tt_sea_rivers }, + { "rivers", fgettext("Rivers"), fgettext("Sea level rivers") }, }, valleys = { - { "altitude-chill", fgettext("Altitude chill"), "altitude_chill", + { "altitude_chill", fgettext("Altitude chill"), fgettext("Reduces heat with altitude") }, - { "altitude-dry", fgettext("Altitude dry"), "altitude_dry", + { "altitude_dry", fgettext("Altitude dry"), fgettext("Reduces humidity with altitude") }, - { "humid-rivers", fgettext("Humid rivers"), "humid_rivers", + { "humid_rivers", fgettext("Humid rivers"), fgettext("Increases humidity around rivers") }, - { "vary-river-depth", fgettext("Vary river depth"), "vary_river_depth", + { "vary_river_depth", fgettext("Vary river depth"), fgettext("Low humidity and high heat causes shallow or dry rivers") }, }, flat = { cb_caverns, - { "hills", fgettext("Hills"), "hills" }, - { "lakes", fgettext("Lakes"), "lakes" }, + { "hills", fgettext("Hills") }, + { "lakes", fgettext("Lakes") }, }, fractal = { - { "terrain", fgettext("Additional terrain"), "terrain", + { "terrain", fgettext("Additional terrain"), fgettext("Generate non-fractal terrain: Oceans and underground") }, }, v6 = { - { "trees", fgettext("Trees and jungle grass"), "trees" }, - { "flat", fgettext("Flat terrain"), "flat" }, - { "mudflow", fgettext("Mud flow"), "mudflow", - fgettext("Terrain surface erosion") }, + { "trees", fgettext("Trees and jungle grass") }, + { "flat", fgettext("Flat terrain") }, + { "mudflow", fgettext("Mud flow"), fgettext("Terrain surface erosion") }, -- Biome settings are in mgv6_biomes below }, } @@ -105,38 +104,26 @@ local function create_world_formspec(dialogdata) "button[4.75,2.5;3,0.5;world_create_cancel;" .. fgettext("Cancel") .. "]" end + local current_mg = dialogdata.mg local mapgens = core.get_mapgen_names() - local current_seed = core.settings:get("fixed_map_seed") or "" - local current_mg = core.settings:get("mg_name") local gameid = core.settings:get("menu_last_game") - local flags = { - main = core.settings:get_flags("mg_flags"), - v5 = core.settings:get_flags("mgv5_spflags"), - v6 = core.settings:get_flags("mgv6_spflags"), - v7 = core.settings:get_flags("mgv7_spflags"), - fractal = core.settings:get_flags("mgfractal_spflags"), - carpathian = core.settings:get_flags("mgcarpathian_spflags"), - valleys = core.settings:get_flags("mgvalleys_spflags"), - flat = core.settings:get_flags("mgflat_spflags"), - } - - local gameidx = 0 - if gameid ~= nil then - local _ - _, gameidx = pkgmgr.find_by_gameid(gameid) + local flags = dialogdata.flags - if gameidx == nil then - gameidx = 0 - end + local game, gameidx = pkgmgr.find_by_gameid(gameid) + if game == nil and hide_gamelist then + -- should never happen but just pick the first game + game = pkgmgr.get_game(1) + gameidx = 1 + core.settings:set("menu_last_game", game.id) + elseif game == nil then + gameidx = 0 end - local game_by_gameidx = core.get_game(gameidx) local disallowed_mapgen_settings = {} - if game_by_gameidx ~= nil then - local gamepath = game_by_gameidx.path - local gameconfig = Settings(gamepath.."/game.conf") + if game ~= nil then + local gameconfig = Settings(game.path.."/game.conf") local allowed_mapgens = (gameconfig:get("allowed_mapgens") or ""):split() for key, value in pairs(allowed_mapgens) do @@ -156,7 +143,7 @@ local function create_world_formspec(dialogdata) end end - if disallowed_mapgens then + if #disallowed_mapgens > 0 then for i = #mapgens, 1, -1 do if table.indexof(disallowed_mapgens, mapgens[i]) > 0 then table.remove(mapgens, i) @@ -172,23 +159,29 @@ local function create_world_formspec(dialogdata) local mglist = "" local selindex - local i = 1 - local first_mg - for k,v in pairs(mapgens) do - if not first_mg then - first_mg = v + do -- build the list of mapgens + local i = 1 + local first_mg + for k, v in pairs(mapgens) do + if not first_mg then + first_mg = v + end + if current_mg == v then + selindex = i + end + i = i + 1 + mglist = mglist .. core.formspec_escape(v) .. "," end - if current_mg == v then - selindex = i + if not selindex then + selindex = 1 + current_mg = first_mg end - i = i + 1 - mglist = mglist .. v .. "," - end - if not selindex then - selindex = 1 - current_mg = first_mg + mglist = mglist:sub(1, -2) end - mglist = mglist:sub(1, -2) + + -- The logic of the flag element IDs is as follows: + -- "flag_main_foo-bar-baz" controls dialogdata.flags["main"]["foo_bar_baz"] + -- see the buttonhandler for the implementation of this local mg_main_flags = function(mapgen, y) if mapgen == "singlenode" then @@ -198,11 +191,11 @@ local function create_world_formspec(dialogdata) return "", y end - local form = "checkbox[0," .. y .. ";flag_mg_caves;" .. + local form = "checkbox[0," .. y .. ";flag_main_caves;" .. fgettext("Caves") .. ";"..strflag(flags.main, "caves").."]" y = y + 0.5 - form = form .. "checkbox[0,"..y..";flag_mg_dungeons;" .. + form = form .. "checkbox[0,"..y..";flag_main_dungeons;" .. fgettext("Dungeons") .. ";"..strflag(flags.main, "dungeons").."]" y = y + 0.5 @@ -213,7 +206,7 @@ local function create_world_formspec(dialogdata) else d_tt = fgettext("Structures appearing on the terrain, typically trees and plants") end - form = form .. "checkbox[0,"..y..";flag_mg_decorations;" .. + form = form .. "checkbox[0,"..y..";flag_main_decorations;" .. d_name .. ";" .. strflag(flags.main, "decorations").."]" .. "tooltip[flag_mg_decorations;" .. @@ -221,7 +214,7 @@ local function create_world_formspec(dialogdata) "]" y = y + 0.5 - form = form .. "tooltip[flag_mg_caves;" .. + form = form .. "tooltip[flag_main_caves;" .. fgettext("Network of tunnels and caves") .. "]" return form, y @@ -235,13 +228,13 @@ local function create_world_formspec(dialogdata) return "", y end local form = "" - for _,tab in pairs(flag_checkboxes[mapgen]) do - local id = "flag_mg"..mapgen.."_"..tab[1] + for _, tab in pairs(flag_checkboxes[mapgen]) do + local id = "flag_"..mapgen.."_"..tab[1]:gsub("_", "-") form = form .. ("checkbox[0,%f;%s;%s;%s]"): - format(y, id, tab[2], strflag(flags[mapgen], tab[3])) + format(y, id, tab[2], strflag(flags[mapgen], tab[1])) - if tab[4] then - form = form .. "tooltip["..id..";"..tab[4].."]" + if tab[3] then + form = form .. "tooltip["..id..";"..tab[3].."]" end y = y + 0.5 end @@ -277,16 +270,14 @@ local function create_world_formspec(dialogdata) -- biomeblend y = y + 0.55 - form = form .. "checkbox[0,"..y..";flag_mgv6_biomeblend;" .. + form = form .. "checkbox[0,"..y..";flag_v6_biomeblend;" .. fgettext("Biome blending") .. ";"..strflag(flags.v6, "biomeblend").."]" .. - "tooltip[flag_mgv6_biomeblend;" .. + "tooltip[flag_v6_biomeblend;" .. fgettext("Smooth transition between biomes") .. "]" return form, y end - current_seed = core.formspec_escape(current_seed) - local y_start = 0.0 local y = y_start local str_flags, str_spflags @@ -323,21 +314,27 @@ local function create_world_formspec(dialogdata) "container[0,0]".. "field[0.3,0.6;6,0.5;te_world_name;" .. fgettext("World name") .. - ";" .. core.formspec_escape(worldname) .. "]" .. + ";" .. core.formspec_escape(dialogdata.worldname) .. "]" .. + "set_focus[te_world_name;false]" .. "field[0.3,1.7;6,0.5;te_seed;" .. fgettext("Seed") .. - ";".. current_seed .. "]" .. + ";".. core.formspec_escape(dialogdata.seed) .. "]" .. "label[0,2;" .. fgettext("Mapgen") .. "]".. - "dropdown[0,2.5;6.3;dd_mapgen;" .. mglist .. ";" .. selindex .. "]" .. + "dropdown[0,2.5;6.3;dd_mapgen;" .. mglist .. ";" .. selindex .. "]" + + if not hide_gamelist or devtest_only ~= "" then + retval = retval .. + "label[0,3.35;" .. fgettext("Game") .. "]".. + "textlist[0,3.85;5.8,"..gamelist_height..";games;" .. + pkgmgr.gamelist() .. ";" .. gameidx .. ";false]" .. + "container[0,4.5]" .. + devtest_only .. + "container_end[]" + end - "label[0,3.35;" .. fgettext("Game") .. "]".. - "textlist[0,3.85;5.8,"..gamelist_height..";games;" .. - pkgmgr.gamelist() .. ";" .. gameidx .. ";false]" .. - "container[0,4.5]" .. - devtest_only .. - "container_end[]" .. + retval = retval .. "container_end[]" .. -- Right side @@ -360,9 +357,20 @@ local function create_world_buttonhandler(this, fields) fields["key_enter"] then local worldname = fields["te_world_name"] - local gameindex = core.get_textlist_index("games") + local game, gameindex + if hide_gamelist then + game, gameindex = pkgmgr.find_by_gameid(core.settings:get("menu_last_game")) + else + gameindex = core.get_textlist_index("games") + game = pkgmgr.get_game(gameindex) + end - if gameindex ~= nil then + local message + if game == nil then + message = fgettext("No game selected") + end + + if message == nil then -- For unnamed worlds use the generated name 'world', -- where the number increments: it is set to 1 larger than the largest -- generated name number found. @@ -377,36 +385,48 @@ local function create_world_buttonhandler(this, fields) worldname = "world" .. worldnum_max + 1 end - core.settings:set("fixed_map_seed", fields["te_seed"]) - - local message - if not menudata.worldlist:uid_exists_raw(worldname) then - core.settings:set("mg_name",fields["dd_mapgen"]) - message = core.create_world(worldname,gameindex) - else + if menudata.worldlist:uid_exists_raw(worldname) then message = fgettext("A world named \"$1\" already exists", worldname) end + end - if message ~= nil then - gamedata.errormessage = message - else - core.settings:set("menu_last_game",pkgmgr.games[gameindex].id) - if this.data.update_worldlist_filter then - menudata.worldlist:set_filtercriteria(pkgmgr.games[gameindex].id) - mm_game_theme.update("singleplayer", pkgmgr.games[gameindex].id) - end - menudata.worldlist:refresh() - core.settings:set("mainmenu_last_selected_world", - menudata.worldlist:raw_index_by_uid(worldname)) + if message == nil then + this.data.seed = fields["te_seed"] + this.data.mg = fields["dd_mapgen"] + + -- actual names as used by engine + local settings = { + fixed_map_seed = this.data.seed, + mg_name = this.data.mg, + mg_flags = table_to_flags(this.data.flags.main), + mgv5_spflags = table_to_flags(this.data.flags.v5), + mgv6_spflags = table_to_flags(this.data.flags.v6), + mgv7_spflags = table_to_flags(this.data.flags.v7), + mgfractal_spflags = table_to_flags(this.data.flags.fractal), + mgcarpathian_spflags = table_to_flags(this.data.flags.carpathian), + mgvalleys_spflags = table_to_flags(this.data.flags.valleys), + mgflat_spflags = table_to_flags(this.data.flags.flat), + } + message = core.create_world(worldname, gameindex, settings) + end + + if message == nil then + core.settings:set("menu_last_game", game.id) + if this.data.update_worldlist_filter then + menudata.worldlist:set_filtercriteria(game.id) end - else - gamedata.errormessage = fgettext("No game selected") + menudata.worldlist:refresh() + core.settings:set("mainmenu_last_selected_world", + menudata.worldlist:raw_index_by_uid(worldname)) end + + gamedata.errormessage = message this:delete() return true end - worldname = fields.te_world_name + this.data.worldname = fields["te_world_name"] + this.data.seed = fields["te_seed"] if fields["games"] then local gameindex = core.get_textlist_index("games") @@ -417,22 +437,11 @@ local function create_world_buttonhandler(this, fields) for k,v in pairs(fields) do local split = string.split(k, "_", nil, 3) if split and split[1] == "flag" then - local setting - if split[2] == "mg" then - setting = "mg_flags" - else - setting = split[2].."_spflags" - end -- We replaced the underscore of flag names with a dash. local flag = string.gsub(split[3], "-", "_") - local ftable = core.settings:get_flags(setting) - if v == "true" then - ftable[flag] = true - else - ftable[flag] = false - end - local flags = table_to_flags(ftable) - core.settings:set(setting, flags) + local ftable = this.data.flags[split[2]] + assert(ftable) + ftable[flag] = v == "true" return true end end @@ -446,18 +455,16 @@ local function create_world_buttonhandler(this, fields) local entry = core.formspec_escape(fields["mgv6_biomes"]) for b=1, #mgv6_biomes do if entry == mgv6_biomes[b][1] then - local ftable = core.settings:get_flags("mgv6_spflags") + local ftable = this.data.flags.v6 ftable.jungles = mgv6_biomes[b][2].jungles ftable.snowbiomes = mgv6_biomes[b][2].snowbiomes - local flags = table_to_flags(ftable) - core.settings:set("mgv6_spflags", flags) return true end end end if fields["dd_mapgen"] then - core.settings:set("mg_name", fields["dd_mapgen"]) + this.data.mg = fields["dd_mapgen"] return true end @@ -466,12 +473,27 @@ end function create_create_world_dlg(update_worldlistfilter) - worldname = "" local retval = dialog_create("sp_create_world", create_world_formspec, create_world_buttonhandler, nil) - retval.update_worldlist_filter = update_worldlistfilter + retval.data = { + update_worldlist_filter = update_worldlistfilter, + worldname = "", + -- settings the world is created with: + seed = core.settings:get("fixed_map_seed") or "", + mg = core.settings:get("mg_name"), + flags = { + main = core.settings:get_flags("mg_flags"), + v5 = core.settings:get_flags("mgv5_spflags"), + v6 = core.settings:get_flags("mgv6_spflags"), + v7 = core.settings:get_flags("mgv7_spflags"), + fractal = core.settings:get_flags("mgfractal_spflags"), + carpathian = core.settings:get_flags("mgcarpathian_spflags"), + valleys = core.settings:get_flags("mgvalleys_spflags"), + flat = core.settings:get_flags("mgflat_spflags"), + } + } return retval end diff --git a/builtin/mainmenu/tab_local.lua b/builtin/mainmenu/tab_local.lua index 2d1a616a8..e77c6f04d 100644 --- a/builtin/mainmenu/tab_local.lua +++ b/builtin/mainmenu/tab_local.lua @@ -33,10 +33,30 @@ if enable_gamebar then return game end + -- Apply menu changes from given game + function apply_game(game) + core.set_topleft_text(game.name) + core.settings:set("menu_last_game", game.id) + menudata.worldlist:set_filtercriteria(game.id) + + mm_game_theme.update("singleplayer", game) -- this refreshes the formspec + + local index = filterlist.get_current_index(menudata.worldlist, + tonumber(core.settings:get("mainmenu_last_selected_world"))) + if not index or index < 1 then + local selected = core.get_textlist_index("sp_worlds") + if selected ~= nil and selected < #menudata.worldlist:get_list() then + index = selected + else + index = #menudata.worldlist:get_list() + end + end + menu_worldmt_legacy(index) + end + function singleplayer_refresh_gamebar() local old_bar = ui.find_by_name("game_button_bar") - if old_bar ~= nil then old_bar:delete() end @@ -51,26 +71,10 @@ if enable_gamebar then return true end - for key,value in pairs(fields) do - for j=1,#pkgmgr.games,1 do - if ("game_btnbar_" .. pkgmgr.games[j].id == key) then - mm_game_theme.update("singleplayer", pkgmgr.games[j]) - core.set_topleft_text(pkgmgr.games[j].name) - core.settings:set("menu_last_game",pkgmgr.games[j].id) - menudata.worldlist:set_filtercriteria(pkgmgr.games[j].id) - local index = filterlist.get_current_index(menudata.worldlist, - tonumber(core.settings:get("mainmenu_last_selected_world"))) - if not index or index < 1 then - local selected = core.get_textlist_index("sp_worlds") - if selected ~= nil and selected < #menudata.worldlist:get_list() then - index = selected - else - index = #menudata.worldlist:get_list() - end - end - menu_worldmt_legacy(index) - return true - end + for _, game in ipairs(pkgmgr.games) do + if fields["game_btnbar_" .. game.id] then + apply_game(game) + return true end end end @@ -79,25 +83,22 @@ if enable_gamebar then game_buttonbar_button_handler, {x=-0.3,y=5.9}, "horizontal", {x=12.4,y=1.15}) - for i=1,#pkgmgr.games,1 do - local btn_name = "game_btnbar_" .. pkgmgr.games[i].id + for _, game in ipairs(pkgmgr.games) do + local btn_name = "game_btnbar_" .. game.id local image = nil local text = nil - local tooltip = core.formspec_escape(pkgmgr.games[i].name) + local tooltip = core.formspec_escape(game.name) - if pkgmgr.games[i].menuicon_path ~= nil and - pkgmgr.games[i].menuicon_path ~= "" then - image = core.formspec_escape(pkgmgr.games[i].menuicon_path) + if (game.menuicon_path or "") ~= "" then + image = core.formspec_escape(game.menuicon_path) else - - local part1 = pkgmgr.games[i].id:sub(1,5) - local part2 = pkgmgr.games[i].id:sub(6,10) - local part3 = pkgmgr.games[i].id:sub(11) + local part1 = game.id:sub(1,5) + local part2 = game.id:sub(6,10) + local part3 = game.id:sub(11) text = part1 .. "\n" .. part2 - if part3 ~= nil and - part3 ~= "" then + if part3 ~= "" then text = text .. "\n" .. part3 end end @@ -147,8 +148,12 @@ local function get_formspec(tabview, name, tabdata) tonumber(core.settings:get("mainmenu_last_selected_world"))) local list = menudata.worldlist:get_list() local world = list and index and list[index] - local gameid = world and world.gameid - local game = gameid and pkgmgr.find_by_gameid(gameid) + local game + if world then + game = pkgmgr.find_by_gameid(world.gameid) + else + game = current_game() + end local disabled_settings = get_disabled_settings(game) local creative, damage, host = "", "", "" @@ -182,7 +187,7 @@ local function get_formspec(tabview, name, tabdata) damage .. host .. "textlist[3.9,0.4;7.9,3.45;sp_worlds;" .. - menu_render_worldlist() .. + menu_render_worldlist(not enable_gamebar) .. ";" .. index .. "]" if core.settings:get_bool("enable_server") and disabled_settings["enable_server"] == nil then @@ -319,7 +324,7 @@ local function main_button_handler(this, fields, name, tabdata) end if fields["world_create"] ~= nil then - local create_world_dlg = create_create_world_dlg(true) + local create_world_dlg = create_create_world_dlg(enable_gamebar) create_world_dlg:set_parent(this) this:hide() create_world_dlg:show() @@ -371,11 +376,8 @@ if enable_gamebar then function on_change(type, old_tab, new_tab) if (type == "ENTER") then local game = current_game() - if game then - menudata.worldlist:set_filtercriteria(game.id) - core.set_topleft_text(game.name) - mm_game_theme.update("singleplayer",game) + apply_game(game) end singleplayer_refresh_gamebar() diff --git a/src/content/subgames.cpp b/src/content/subgames.cpp index e834f40cd..62e82e0e4 100644 --- a/src/content/subgames.cpp +++ b/src/content/subgames.cpp @@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "log.h" #include "util/strfnd.h" #include "defaultsettings.h" // for set_default_settings -#include "mapgen/mapgen.h" // for MapgenParams +#include "map_settings_manager.h" #include "util/string.h" #ifndef SERVER @@ -370,19 +370,12 @@ void loadGameConfAndInitWorld(const std::string &path, const std::string &name, // Create map_meta.txt if does not already exist std::string map_meta_path = final_path + DIR_DELIM + "map_meta.txt"; if (!fs::PathExists(map_meta_path)) { - verbosestream << "Creating map_meta.txt (" << map_meta_path << ")" - << std::endl; - std::ostringstream oss(std::ios_base::binary); + MapSettingsManager mgr(map_meta_path); - Settings conf; - MapgenParams params; - - params.readParams(g_settings); - params.writeParams(&conf); - conf.writeLines(oss); - oss << "[end_of_params]\n"; + mgr.setMapSetting("seed", g_settings->get("fixed_map_seed")); - fs::safeWriteToFile(map_meta_path, oss.str()); + mgr.makeMapgenParams(); + mgr.saveMapMeta(); } // The Settings object is no longer needed for created worlds diff --git a/src/map_settings_manager.cpp b/src/map_settings_manager.cpp index 7e86a9937..c75483edb 100644 --- a/src/map_settings_manager.cpp +++ b/src/map_settings_manager.cpp @@ -52,14 +52,7 @@ MapSettingsManager::~MapSettingsManager() bool MapSettingsManager::getMapSetting( const std::string &name, std::string *value_out) { - // Try getting it normally first - if (m_map_settings->getNoEx(name, *value_out)) - return true; - - // If not we may have to resolve some compatibility kludges - if (name == "seed") - return Settings::getLayer(SL_GLOBAL)->getNoEx("fixed_map_seed", *value_out); - return false; + return m_map_settings->getNoEx(name, *value_out); } diff --git a/src/mapgen/mapgen.cpp b/src/mapgen/mapgen.cpp index 7984ff609..d767bd264 100644 --- a/src/mapgen/mapgen.cpp +++ b/src/mapgen/mapgen.cpp @@ -1018,10 +1018,11 @@ MapgenParams::~MapgenParams() void MapgenParams::readParams(const Settings *settings) { - std::string seed_str; - const char *seed_name = (settings == g_settings) ? "fixed_map_seed" : "seed"; + // should always be used via MapSettingsManager + assert(settings != g_settings); - if (settings->getNoEx(seed_name, seed_str)) { + std::string seed_str; + if (settings->getNoEx("seed", seed_str)) { if (!seed_str.empty()) seed = read_seed(seed_str.c_str()); else diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 3d80bdafa..736ad022f 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -414,25 +414,53 @@ int ModApiMainMenu::l_create_world(lua_State *L) const char *name = luaL_checkstring(L, 1); int gameidx = luaL_checkinteger(L,2) -1; + StringMap use_settings; + luaL_checktype(L, 3, LUA_TTABLE); + lua_pushnil(L); + while (lua_next(L, 3) != 0) { + // key at index -2 and value at index -1 + use_settings[luaL_checkstring(L, -2)] = luaL_checkstring(L, -1); + lua_pop(L, 1); + } + lua_pop(L, 1); + std::string path = porting::path_user + DIR_DELIM "worlds" + DIR_DELIM + sanitizeDirName(name, "world_"); std::vector games = getAvailableGames(); + if (gameidx < 0 || gameidx >= (int) games.size()) { + lua_pushstring(L, "Invalid game index"); + return 1; + } - if ((gameidx >= 0) && - (gameidx < (int) games.size())) { + // Set the settings for world creation + // this is a bad hack but the best we have right now.. + StringMap backup; + for (auto it : use_settings) { + if (g_settings->existsLocal(it.first)) + backup[it.first] = g_settings->get(it.first); + g_settings->set(it.first, it.second); + } - // Create world if it doesn't exist - try { - loadGameConfAndInitWorld(path, name, games[gameidx], true); - lua_pushnil(L); - } catch (const BaseException &e) { - lua_pushstring(L, (std::string("Failed to initialize world: ") + e.what()).c_str()); - } - } else { - lua_pushstring(L, "Invalid game index"); + // Create world if it doesn't exist + try { + loadGameConfAndInitWorld(path, name, games[gameidx], true); + lua_pushnil(L); + } catch (const BaseException &e) { + auto err = std::string("Failed to initialize world: ") + e.what(); + lua_pushstring(L, err.c_str()); } + + // Restore previous settings + for (auto it : use_settings) { + auto it2 = backup.find(it.first); + if (it2 == backup.end()) + g_settings->remove(it.first); // wasn't set before + else + g_settings->set(it.first, it2->second); // was set before + } + return 1; } diff --git a/src/settings.cpp b/src/settings.cpp index cf7ec1b72..0e44ee0bc 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -659,9 +659,7 @@ bool Settings::getNoiseParamsFromGroup(const std::string &name, bool Settings::exists(const std::string &name) const { - MutexAutoLock lock(m_mutex); - - if (m_settings.find(name) != m_settings.end()) + if (existsLocal(name)) return true; if (auto parent = getParent()) return parent->exists(name); @@ -669,6 +667,14 @@ bool Settings::exists(const std::string &name) const } +bool Settings::existsLocal(const std::string &name) const +{ + MutexAutoLock lock(m_mutex); + + return m_settings.find(name) != m_settings.end(); +} + + std::vector Settings::getNames() const { MutexAutoLock lock(m_mutex); diff --git a/src/settings.h b/src/settings.h index 4e32a3488..767d057f9 100644 --- a/src/settings.h +++ b/src/settings.h @@ -172,9 +172,12 @@ public: bool getNoiseParamsFromValue(const std::string &name, NoiseParams &np) const; bool getNoiseParamsFromGroup(const std::string &name, NoiseParams &np) const; - // return all keys used + // return all keys used in this object std::vector getNames() const; + // check if setting exists anywhere in the hierarchy bool exists(const std::string &name) const; + // check if setting exists in this object ("locally") + bool existsLocal(const std::string &name) const; /*************************************** -- cgit v1.2.3 From b2eb44afc50976dc0954c868977b5829f3ff8a19 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 12 Jan 2022 18:49:14 +0100 Subject: Fix NodeDef backwards compatibility to 5.3.0 (#11942) 1. Fixes crashes on older clients when [png is used as base image 2. Fixes liquid type assertion fails on debug builds --- src/nodedef.cpp | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 6f52b608b..8a5542837 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -207,7 +207,17 @@ void TileDef::serialize(std::ostream &os, u16 protocol_version) const u8 version = 6; writeU8(os, version); - os << serializeString16(name); + if (protocol_version > 39) { + os << serializeString16(name); + } else { + // Before f018737, TextureSource::getTextureAverageColor did not handle + // missing textures. "[png" can be used as base texture, but is not known + // on older clients. Hence use "blank.png" to avoid this problem. + if (!name.empty() && name[0] == '[') + os << serializeString16("blank.png^" + name); + else + os << serializeString16(name); + } animation.serialize(os, version); bool has_scale = scale > 0; u16 flags = 0; @@ -491,7 +501,16 @@ void ContentFeatures::serialize(std::ostream &os, u16 protocol_version) const writeU32(os, damage_per_second); // liquid - writeU8(os, liquid_type); + LiquidType liquid_type_bc = liquid_type; + if (protocol_version <= 39) { + // Since commit 7f25823, liquid drawtypes can be used even with LIQUID_NONE + // solution: force liquid type accordingly to accepted values + if (drawtype == NDT_LIQUID) + liquid_type_bc = LIQUID_SOURCE; + else if (drawtype == NDT_FLOWINGLIQUID) + liquid_type_bc = LIQUID_FLOWING; + } + writeU8(os, liquid_type_bc); os << serializeString16(liquid_alternative_flowing); os << serializeString16(liquid_alternative_source); writeU8(os, liquid_viscosity); -- cgit v1.2.3 From 97248c695730c29ca91fb7e56456d061f77744f5 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Thu, 13 Jan 2022 20:43:02 +0100 Subject: Add client/mod_storage.sqlite to .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 2e1e68157..bb5e0a0cd 100644 --- a/.gitignore +++ b/.gitignore @@ -114,3 +114,6 @@ compile_commands.json # Optional user provided library folder lib/irrlichtmt + +# Generated mod storage database +client/mod_storage.sqlite -- cgit v1.2.3 From a90b2a4d4f38e92b4016d9ac86e001398be729e7 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 14 Dec 2021 00:50:25 +0100 Subject: Raise minimum compiler versions Supporting these is not reasonable anymore and effectively we didn't do that anyway, brokenness was only noticed by chance and a PR to restore support for gcc 5.x is ready now. --- CMakeLists.txt | 9 ++------- README.md | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b4b9f4f5..f9fccf912 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,8 @@ project(minetest) set(PROJECT_NAME_CAPITALIZED "Minetest") set(CMAKE_CXX_STANDARD 11) -set(GCC_MINIMUM_VERSION "4.8") -set(CLANG_MINIMUM_VERSION "3.4") +set(GCC_MINIMUM_VERSION "5.1") +set(CLANG_MINIMUM_VERSION "3.5") # Also remember to set PROTOCOL_VERSION in network/networkprotocol.h when releasing set(VERSION_MAJOR 5) @@ -267,11 +267,6 @@ if(NOT USE_LUAJIT) add_subdirectory(lib/bitop) endif() -# JsonCpp doesn't compile well on GCC 4.8 -if(NOT USE_SYSTEM_JSONCPP) - set(GCC_MINIMUM_VERSION "4.9") -endif() - if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "${GCC_MINIMUM_VERSION}") message(FATAL_ERROR "Insufficient gcc version, found ${CMAKE_CXX_COMPILER_VERSION}. " diff --git a/README.md b/README.md index 03a161c9a..b3d2981f6 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ Compiling | Dependency | Version | Commentary | |------------|---------|------------| -| GCC | 4.9+ | Can be replaced with Clang 3.4+ | +| GCC | 5.1+ | or Clang 3.5+ | | CMake | 3.5+ | | | IrrlichtMt | - | Custom version of Irrlicht, see https://github.com/minetest/irrlicht | | Freetype | 2.0+ | | -- cgit v1.2.3 From 76e97e85a08ce71fea7654c729787c6c4409e0d8 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 14 Dec 2021 01:14:12 +0100 Subject: Update compiler versions in CI downgrade gcc 6 -> 5 to better match our minimum upgrade gcc and clang by moving two images to ubuntu 20.04 --- .github/workflows/build.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1ba78ed0..79f9af5c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,49 +30,49 @@ on: - '.dockerignore' jobs: - # This is our minor gcc compiler - gcc_6: + # Older gcc version (should be close to our minimum supported version) + gcc_5: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps g++-6 + install_linux_deps g++-5 - name: Build run: | ./util/ci/build.sh env: - CC: gcc-6 - CXX: g++-6 + CC: gcc-5 + CXX: g++-5 - name: Test run: | ./bin/minetest --run-unittests - # This is the current gcc compiler (available in bionic) - gcc_8: - runs-on: ubuntu-18.04 + # Current gcc version + gcc_10: + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps g++-8 + install_linux_deps g++-10 - name: Build run: | ./util/ci/build.sh env: - CC: gcc-8 - CXX: g++-8 + CC: gcc-10 + CXX: g++-10 - name: Test run: | ./bin/minetest --run-unittests - # This is our minor clang compiler + # Older clang version (should be close to our minimum supported version) clang_3_9: runs-on: ubuntu-18.04 steps: @@ -97,22 +97,22 @@ jobs: run: | ./util/test_multiplayer.sh - # This is the current clang version - clang_9: - runs-on: ubuntu-18.04 + # Current clang version + clang_10: + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps clang-9 valgrind libluajit-5.1-dev + install_linux_deps clang-10 valgrind libluajit-5.1-dev - name: Build run: | ./util/ci/build.sh env: - CC: clang-9 - CXX: clang++-9 + CC: clang-10 + CXX: clang++-10 CMAKE_FLAGS: "-DREQUIRE_LUAJIT=1" - name: Test -- cgit v1.2.3 From 72b14bd994659163d4c2ea0d769d329df8a0f937 Mon Sep 17 00:00:00 2001 From: savilli <78875209+savilli@users.noreply.github.com> Date: Sat, 15 Jan 2022 17:44:55 +0100 Subject: Don't call on_dieplayer callback two times (#11874) --- src/network/serverpackethandler.cpp | 3 +-- src/server.cpp | 51 +++++++++++++------------------------ src/server.h | 6 ++--- src/server/player_sao.cpp | 37 +++++++++++++-------------- src/server/player_sao.h | 4 +-- 5 files changed, 41 insertions(+), 60 deletions(-) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 37b62c5cb..12dc24460 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -819,8 +819,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt) << std::endl; PlayerHPChangeReason reason(PlayerHPChangeReason::FALL); - playersao->setHP((s32)playersao->getHP() - (s32)damage, reason, false); - SendPlayerHPOrDie(playersao, reason); // correct client side prediction + playersao->setHP((s32)playersao->getHP() - (s32)damage, reason, true); } } diff --git a/src/server.cpp b/src/server.cpp index 6cf790de1..45156db61 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1095,11 +1095,12 @@ PlayerSAO* Server::StageTwoClientInit(session_t peer_id) // Send inventory SendInventory(playersao, false); - // Send HP or death screen + // Send HP + SendPlayerHP(playersao); + + // Send death screen if (playersao->isDead()) SendDeathscreen(peer_id, false, v3f(0,0,0)); - else - SendPlayerHP(peer_id); // Send Breath SendPlayerBreath(playersao); @@ -1365,18 +1366,21 @@ void Server::SendMovement(session_t peer_id) Send(&pkt); } -void Server::SendPlayerHPOrDie(PlayerSAO *playersao, const PlayerHPChangeReason &reason) +void Server::HandlePlayerHPChange(PlayerSAO *playersao, const PlayerHPChangeReason &reason) { - if (playersao->isImmortal()) - return; + m_script->player_event(playersao, "health_changed"); + SendPlayerHP(playersao); - session_t peer_id = playersao->getPeerID(); - bool is_alive = !playersao->isDead(); + // Send to other clients + playersao->sendPunchCommand(); - if (is_alive) - SendPlayerHP(peer_id); - else - DiePlayer(peer_id, reason); + if (playersao->isDead()) + HandlePlayerDeath(playersao, reason); +} + +void Server::SendPlayerHP(PlayerSAO *playersao) +{ + SendHP(playersao->getPeerID(), playersao->getHP()); } void Server::SendHP(session_t peer_id, u16 hp) @@ -1810,18 +1814,6 @@ void Server::SendTimeOfDay(session_t peer_id, u16 time, f32 time_speed) } } -void Server::SendPlayerHP(session_t peer_id) -{ - PlayerSAO *playersao = getPlayerSAO(peer_id); - assert(playersao); - - SendHP(peer_id, playersao->getHP()); - m_script->player_event(playersao,"health_changed"); - - // Send to other clients - playersao->sendPunchCommand(); -} - void Server::SendPlayerBreath(PlayerSAO *sao) { assert(sao); @@ -2750,23 +2742,18 @@ void Server::sendDetachedInventories(session_t peer_id, bool incremental) Something random */ -void Server::DiePlayer(session_t peer_id, const PlayerHPChangeReason &reason) +void Server::HandlePlayerDeath(PlayerSAO *playersao, const PlayerHPChangeReason &reason) { - PlayerSAO *playersao = getPlayerSAO(peer_id); - assert(playersao); - infostream << "Server::DiePlayer(): Player " << playersao->getPlayer()->getName() << " dies" << std::endl; - playersao->setHP(0, reason); playersao->clearParentAttachment(); // Trigger scripted stuff m_script->on_dieplayer(playersao, reason); - SendPlayerHP(peer_id); - SendDeathscreen(peer_id, false, v3f(0,0,0)); + SendDeathscreen(playersao->getPeerID(), false, v3f(0,0,0)); } void Server::RespawnPlayer(session_t peer_id) @@ -2787,8 +2774,6 @@ void Server::RespawnPlayer(session_t peer_id) // setPos will send the new position to client playersao->setPos(findSpawnPos()); } - - SendPlayerHP(peer_id); } diff --git a/src/server.h b/src/server.h index 12158feb7..2741b3157 100644 --- a/src/server.h +++ b/src/server.h @@ -350,7 +350,8 @@ public: void printToConsoleOnly(const std::string &text); - void SendPlayerHPOrDie(PlayerSAO *player, const PlayerHPChangeReason &reason); + void HandlePlayerHPChange(PlayerSAO *sao, const PlayerHPChangeReason &reason); + void SendPlayerHP(PlayerSAO *sao); void SendPlayerBreath(PlayerSAO *sao); void SendInventory(PlayerSAO *playerSAO, bool incremental); void SendMovePlayer(session_t peer_id); @@ -438,7 +439,6 @@ private: virtual void SendChatMessage(session_t peer_id, const ChatMessage &message); void SendTimeOfDay(session_t peer_id, u16 time, f32 time_speed); - void SendPlayerHP(session_t peer_id); void SendLocalPlayerAnimations(session_t peer_id, v2s32 animation_frames[4], f32 animation_speed); @@ -510,7 +510,7 @@ private: Something random */ - void DiePlayer(session_t peer_id, const PlayerHPChangeReason &reason); + void HandlePlayerDeath(PlayerSAO* sao, const PlayerHPChangeReason &reason); void RespawnPlayer(session_t peer_id); void DeleteClient(session_t peer_id, ClientDeletionReason reason); void UpdateCrafting(RemotePlayer *player); diff --git a/src/server/player_sao.cpp b/src/server/player_sao.cpp index 83e17f830..d076d5783 100644 --- a/src/server/player_sao.cpp +++ b/src/server/player_sao.cpp @@ -463,36 +463,33 @@ void PlayerSAO::rightClick(ServerActiveObject *clicker) m_env->getScriptIface()->on_rightclickplayer(this, clicker); } -void PlayerSAO::setHP(s32 hp, const PlayerHPChangeReason &reason, bool send) +void PlayerSAO::setHP(s32 target_hp, const PlayerHPChangeReason &reason, bool from_client) { - if (hp == (s32)m_hp) - return; // Nothing to do + target_hp = rangelim(target_hp, 0, U16_MAX); - if (m_hp <= 0 && hp < (s32)m_hp) - return; // Cannot take more damage + if (target_hp == m_hp) + return; // Nothing to do - { - s32 hp_change = m_env->getScriptIface()->on_player_hpchange(this, hp - m_hp, reason); - if (hp_change == 0) - return; + s32 hp_change = m_env->getScriptIface()->on_player_hpchange(this, target_hp - (s32)m_hp, reason); - hp = m_hp + hp_change; - } + s32 hp = (s32)m_hp + std::min(hp_change, U16_MAX); // Protection against s32 overflow + hp = rangelim(hp, 0, U16_MAX); - s32 oldhp = m_hp; - hp = rangelim(hp, 0, m_prop.hp_max); + if (hp > m_prop.hp_max) + hp = m_prop.hp_max; - if (hp < oldhp && isImmortal()) - return; // Do not allow immortal players to be damaged - - m_hp = hp; + if (hp < m_hp && isImmortal()) + hp = m_hp; // Do not allow immortal players to be damaged // Update properties on death - if ((hp == 0) != (oldhp == 0)) + if ((hp == 0) != (m_hp == 0)) m_properties_sent = false; - if (send) - m_env->getGameDef()->SendPlayerHPOrDie(this, reason); + if (hp != m_hp) { + m_hp = hp; + m_env->getGameDef()->HandlePlayerHPChange(this, reason); + } else if (from_client) + m_env->getGameDef()->SendPlayerHP(this); } void PlayerSAO::setBreath(const u16 breath, bool send) diff --git a/src/server/player_sao.h b/src/server/player_sao.h index 47fe85413..96d8f7189 100644 --- a/src/server/player_sao.h +++ b/src/server/player_sao.h @@ -114,9 +114,9 @@ public: void rightClick(ServerActiveObject *clicker); void setHP(s32 hp, const PlayerHPChangeReason &reason) override { - return setHP(hp, reason, true); + return setHP(hp, reason, false); } - void setHP(s32 hp, const PlayerHPChangeReason &reason, bool send); + void setHP(s32 hp, const PlayerHPChangeReason &reason, bool from_client); void setHPRaw(u16 hp) { m_hp = hp; } u16 getBreath() const { return m_breath; } void setBreath(const u16 breath, bool send = true); -- cgit v1.2.3 From 379473b67007abf78d87ebbaf925b4948cf72ae6 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 9 Jan 2022 20:43:25 +0100 Subject: Improve situation around race condition with dynamic_add_media during client join --- src/server.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/server.cpp b/src/server.cpp index 45156db61..fdf02ed50 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3534,8 +3534,22 @@ bool Server::dynamicAddMedia(std::string filepath, std::unordered_set delivered, waiting; m_clients.lock(); for (auto &pair : m_clients.getClientList()) { - if (pair.second->getState() < CS_DefinitionsSent) + if (pair.second->getState() == CS_DefinitionsSent && !ephemeral) { + /* + If a client is in the DefinitionsSent state it is too late to + transfer the file via sendMediaAnnouncement() but at the same + time the client cannot accept a media push yet. + Short of artificially delaying the joining process there is no + way for the server to resolve this so we (currently) opt not to. + */ + warningstream << "The media \"" << filename << "\" (dynamic) could " + "not be delivered to " << pair.second->getName() + << " due to a race condition." << std::endl; continue; + } + if (pair.second->getState() < CS_Active) + continue; + const auto proto_ver = pair.second->net_proto_version; if (proto_ver < 39) continue; -- cgit v1.2.3 From 9a12e4499ecf5c1a3467af9c831d0d350a21923d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 13 Jan 2022 22:12:44 +0100 Subject: Minor improvements to Lua sandbox --- src/script/cpp_api/s_security.cpp | 30 ++++++++++++++++++++++++++---- src/script/cpp_api/s_security.h | 1 + 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index ccd1214e3..a6c5114b2 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -121,9 +121,7 @@ void ScriptApiSecurity::initializeSecurity() "date", "difftime", "getenv", - "setlocale", "time", - "tmpname", }; static const char *debug_whitelist[] = { "gethook", @@ -219,6 +217,7 @@ void ScriptApiSecurity::initializeSecurity() // And replace unsafe ones SECURE_API(os, remove); SECURE_API(os, rename); + SECURE_API(os, setlocale); lua_setglobal(L, "os"); lua_pop(L, 1); // Pop old OS @@ -250,6 +249,11 @@ void ScriptApiSecurity::initializeSecurity() lua_pop(L, 1); // Pop old jit #endif + // Get rid of 'core' in the old globals, we don't want anyone thinking it's + // safe or even usable. + lua_pushnil(L); + lua_setfield(L, old_globals, "core"); + lua_pop(L, 1); // Pop globals_backup @@ -285,7 +289,7 @@ void ScriptApiSecurity::initializeSecurityClient() "rawset", "select", "setfenv", - // getmetatable can be used to escape the sandbox + // getmetatable can be used to escape the sandbox <- ??? "setmetatable", "tonumber", "tostring", @@ -307,7 +311,7 @@ void ScriptApiSecurity::initializeSecurityClient() "time" }; static const char *debug_whitelist[] = { - "getinfo", + "getinfo", // used by builtin and unset before mods load "traceback" }; @@ -867,3 +871,21 @@ int ScriptApiSecurity::sl_os_remove(lua_State *L) lua_call(L, 1, 2); return 2; } + + +int ScriptApiSecurity::sl_os_setlocale(lua_State *L) +{ + const bool cat = lua_gettop(L) > 1; + // Don't allow changes + if (!lua_isnoneornil(L, 1)) { + lua_pushnil(L); + return 1; + } + + push_original(L, "os", "setlocale"); + lua_pushnil(L); + if (cat) + lua_pushvalue(L, 2); + lua_call(L, cat ? 2 : 1, 1); + return 1; +} diff --git a/src/script/cpp_api/s_security.h b/src/script/cpp_api/s_security.h index 619bf824f..880ce1638 100644 --- a/src/script/cpp_api/s_security.h +++ b/src/script/cpp_api/s_security.h @@ -79,4 +79,5 @@ private: static int sl_os_rename(lua_State *L); static int sl_os_remove(lua_State *L); + static int sl_os_setlocale(lua_State *L); }; -- cgit v1.2.3 From 7c93b2d7a3b681bcb10450229140858c4ba54c3c Mon Sep 17 00:00:00 2001 From: Alex <24834740+GreenXenith@users.noreply.github.com> Date: Sat, 15 Jan 2022 08:45:33 -0800 Subject: Give the ASCII console splash a facelift --- src/server.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index fdf02ed50..cff4cc58c 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -512,12 +512,12 @@ void Server::start() // ASCII art for the win! std::cerr - << " .__ __ __ " << std::endl - << " _____ |__| ____ _____/ |_ ____ _______/ |_ " << std::endl - << " / \\| |/ \\_/ __ \\ __\\/ __ \\ / ___/\\ __\\" << std::endl - << "| Y Y \\ | | \\ ___/| | \\ ___/ \\___ \\ | | " << std::endl - << "|__|_| /__|___| /\\___ >__| \\___ >____ > |__| " << std::endl - << " \\/ \\/ \\/ \\/ \\/ " << std::endl; + << " __. __. __. " << std::endl + << " _____ |__| ____ _____ / |_ _____ _____ / |_ " << std::endl + << " / \\| |/ \\ / __ \\ _\\/ __ \\/ __> _\\" << std::endl + << "| Y Y \\ | | \\ ___/| | | ___/\\___ \\| | " << std::endl + << "|__|_| / |___| /\\______> | \\______>_____/| | " << std::endl + << " \\/ \\/ \\/ \\/ \\/ " << std::endl; actionstream << "World at [" << m_path_world << "]" << std::endl; actionstream << "Server for gameid=\"" << m_gamespec.id << "\" listening on "; -- cgit v1.2.3 From b6555ee6aff8cd062034a08f1dbfca9c294cb0c6 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sat, 15 Jan 2022 20:52:20 +0100 Subject: Reset override material in anaglyph Reset override material properties before applying the color filter. --- src/client/render/anaglyph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/render/anaglyph.cpp b/src/client/render/anaglyph.cpp index 153e77400..2571f7333 100644 --- a/src/client/render/anaglyph.cpp +++ b/src/client/render/anaglyph.cpp @@ -30,6 +30,7 @@ void RenderingCoreAnaglyph::drawAll() void RenderingCoreAnaglyph::setupMaterial(int color_mask) { video::SOverrideMaterial &mat = driver->getOverrideMaterial(); + mat.reset(); mat.Material.ColorMask = color_mask; mat.EnableFlags = video::EMF_COLOR_MASK; mat.EnablePasses = scene::ESNRP_SKY_BOX | scene::ESNRP_SOLID | -- cgit v1.2.3 From b02b381af26c792d7f7feaa93198bb7efb2512de Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 16 Jan 2022 15:54:08 +0100 Subject: Bump IrrlichtMt to 1.9.0mt4 in CI --- .github/workflows/macos.yml | 2 +- .gitlab-ci.yml | 2 +- util/buildbot/buildwin32.sh | 2 +- util/buildbot/buildwin64.sh | 2 +- util/ci/common.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d97cff1aa..69253b70a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -22,7 +22,7 @@ on: - '.github/workflows/macos.yml' env: - IRRLICHT_TAG: 1.9.0mt3 + IRRLICHT_TAG: 1.9.0mt4 MINETEST_GAME_REPO: https://github.com/minetest/minetest_game.git MINETEST_GAME_BRANCH: master MINETEST_GAME_NAME: minetest_game diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1079c568..5d2600364 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ stages: - deploy variables: - IRRLICHT_TAG: "1.9.0mt3" + IRRLICHT_TAG: "1.9.0mt4" MINETEST_GAME_REPO: "https://github.com/minetest/minetest_game.git" CONTAINER_IMAGE: registry.gitlab.com/$CI_PROJECT_PATH diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index 2eb9dab11..9eb9a4050 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -45,7 +45,7 @@ done echo "The compiler runtime DLLs could not be found, they might be missing in the final package." # Get stuff -irrlicht_version=1.9.0mt3 +irrlicht_version=1.9.0mt4 ogg_version=1.3.4 vorbis_version=1.3.7 curl_version=7.76.1 diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 3dd4db687..eb1eae4c2 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -45,7 +45,7 @@ done echo "The compiler runtime DLLs could not be found, they might be missing in the final package." # Get stuff -irrlicht_version=1.9.0mt3 +irrlicht_version=1.9.0mt4 ogg_version=1.3.4 vorbis_version=1.3.7 curl_version=7.76.1 diff --git a/util/ci/common.sh b/util/ci/common.sh index 88bed9ed4..f9df54c4a 100644 --- a/util/ci/common.sh +++ b/util/ci/common.sh @@ -11,7 +11,7 @@ install_linux_deps() { shift pkgs+=(libirrlicht-dev) else - wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt3/ubuntu-bionic.tar.gz" + wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt4/ubuntu-bionic.tar.gz" sudo tar -xaf ubuntu-bionic.tar.gz -C /usr/local fi -- cgit v1.2.3 From 42839fa1db85ab6ce61c5a185f91919a5a9c067c Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 15 Jan 2022 17:28:59 +0100 Subject: Optimize folder handling in 'files' mod storage backend This regressed in bf22569019749e421e8ffe0a73cff988a9a9c846. --- src/database/database-files.cpp | 63 +++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 37 deletions(-) diff --git a/src/database/database-files.cpp b/src/database/database-files.cpp index 9021ae61b..7c0dbac28 100644 --- a/src/database/database-files.cpp +++ b/src/database/database-files.cpp @@ -430,35 +430,28 @@ void ModMetadataDatabaseFiles::beginSave() void ModMetadataDatabaseFiles::endSave() { + if (m_modified.empty()) + return; + if (!fs::CreateAllDirs(m_storage_dir)) { - errorstream << "ModMetadataDatabaseFiles: Unable to save. '" << m_storage_dir - << "' tree cannot be created." << std::endl; + errorstream << "ModMetadataDatabaseFiles: Unable to save. '" + << m_storage_dir << "' cannot be created." << std::endl; + return; + } + if (!fs::IsDir(m_storage_dir)) { + errorstream << "ModMetadataDatabaseFiles: Unable to save. '" + << m_storage_dir << "' is not a directory." << std::endl; return; } for (auto it = m_modified.begin(); it != m_modified.end();) { const std::string &modname = *it; - if (!fs::PathExists(m_storage_dir)) { - if (!fs::CreateAllDirs(m_storage_dir)) { - errorstream << "ModMetadataDatabaseFiles[" << modname - << "]: Unable to save. '" << m_storage_dir - << "' tree cannot be created." << std::endl; - ++it; - continue; - } - } else if (!fs::IsDir(m_storage_dir)) { - errorstream << "ModMetadataDatabaseFiles[" << modname << "]: Unable to save. '" - << m_storage_dir << "' is not a directory." << std::endl; - ++it; - continue; - } - const Json::Value &json = m_mod_meta[modname]; if (!fs::safeWriteToFile(m_storage_dir + DIR_DELIM + modname, fastWriteJson(json))) { errorstream << "ModMetadataDatabaseFiles[" << modname - << "]: failed write file." << std::endl; + << "]: failed to write file." << std::endl; ++it; continue; } @@ -484,29 +477,25 @@ void ModMetadataDatabaseFiles::listMods(std::vector *res) Json::Value *ModMetadataDatabaseFiles::getOrCreateJson(const std::string &modname) { auto found = m_mod_meta.find(modname); - if (found == m_mod_meta.end()) { - fs::CreateAllDirs(m_storage_dir); + if (found != m_mod_meta.end()) + return &found->second; - Json::Value meta(Json::objectValue); + Json::Value meta(Json::objectValue); - std::string path = m_storage_dir + DIR_DELIM + modname; - if (fs::PathExists(path)) { - std::ifstream is(path.c_str(), std::ios_base::binary); + std::string path = m_storage_dir + DIR_DELIM + modname; + if (fs::PathExists(path)) { + std::ifstream is(path.c_str(), std::ios_base::binary); - Json::CharReaderBuilder builder; - builder.settings_["collectComments"] = false; - std::string errs; + Json::CharReaderBuilder builder; + builder.settings_["collectComments"] = false; + std::string errs; - if (!Json::parseFromStream(builder, is, &meta, &errs)) { - errorstream << "ModMetadataDatabaseFiles[" << modname - << "]: failed read data (Json decoding failure). Message: " - << errs << std::endl; - return nullptr; - } + if (!Json::parseFromStream(builder, is, &meta, &errs)) { + errorstream << "ModMetadataDatabaseFiles[" << modname + << "]: failed to decode data: " << errs << std::endl; + return nullptr; } - - return &(m_mod_meta[modname] = meta); - } else { - return &found->second; } + + return &(m_mod_meta[modname] = meta); } -- cgit v1.2.3 From 7c321ad7f52eeefcd249f4268a2bf18ec12058cd Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 19 Jan 2022 18:52:27 +0100 Subject: Main menu: Fix automatic dependency enables on doubleclick When mods were toggled by double-click, the hard dependencies were no longer enabled automatically. However, the 'Enabled' checkbox did still work. This commit restores the behaviour as seen before commit c401a06 --- builtin/mainmenu/pkgmgr.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index e83a93c91..6de671529 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -435,6 +435,7 @@ function pkgmgr.enable_mod(this, toset) local toggled_mods = {} local enabled_mods = {} toggle_mod_or_modpack(list, toggled_mods, enabled_mods, toset, mod) + toset = mod.enabled -- Update if toggled if not toset then -- Mod(s) were disabled, so no dependencies need to be enabled -- cgit v1.2.3 From 4f6f09590c65187071096cceac5872293bc53b2f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 18 Jan 2022 19:25:53 +0100 Subject: Free arguments of cancelled minetest.after() jobs --- builtin/common/after.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/builtin/common/after.lua b/builtin/common/after.lua index e20f292f0..bce262537 100644 --- a/builtin/common/after.lua +++ b/builtin/common/after.lua @@ -37,7 +37,14 @@ function core.after(after, func, ...) arg = {...}, mod_origin = core.get_last_run_mod(), } + jobs[#jobs + 1] = new_job time_next = math.min(time_next, expire) - return { cancel = function() new_job.func = function() end end } + + return { + cancel = function() + new_job.func = function() end + new_job.args = {} + end + } end -- cgit v1.2.3 From f66ed2c27fa0f351ffb458224af74f3371d6f4ac Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 18 Jan 2022 19:19:40 +0100 Subject: Fix local animation not instantly updating after being set --- src/client/content_cao.cpp | 1 + src/network/clientpackethandler.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 9cc40c95f..1d4636a08 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1815,6 +1815,7 @@ void GenericCAO::processMessage(const std::string &data) { updateAnimation(); } + // FIXME: ^ This code is trash. It's also broken. } } else if (cmd == AO_CMD_SET_ANIMATION_SPEED) { m_animation_speed = readF32(is); diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 6aececa7f..f7c586b80 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -1404,6 +1404,8 @@ void Client::handleCommand_LocalPlayerAnimations(NetworkPacket* pkt) *pkt >> player->local_animations[2]; *pkt >> player->local_animations[3]; *pkt >> player->local_animation_speed; + + player->last_animation = -1; } void Client::handleCommand_EyeOffset(NetworkPacket* pkt) -- cgit v1.2.3 From 37d80784ddfc0ff07baee214570c80dc5dd92ca7 Mon Sep 17 00:00:00 2001 From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Sat, 22 Jan 2022 12:42:49 +0100 Subject: Allow resetting celestial vault elements by leaving its arguments empty (#11922) --- doc/lua_api.txt | 11 +++- src/client/clouds.h | 2 +- src/cloudparams.h | 30 --------- src/remoteplayer.cpp | 17 ++--- src/remoteplayer.h | 1 - src/script/lua_api/l_object.cpp | 140 ++++++++++++++++++++-------------------- src/skyparams.h | 43 ++++++++++-- 7 files changed, 124 insertions(+), 120 deletions(-) delete mode 100644 src/cloudparams.h diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3edfd5bb1..00c29f791 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6794,12 +6794,15 @@ object you are working with still exists. * `set_sky(sky_parameters)` * The presence of the function `set_sun`, `set_moon` or `set_stars` indicates whether `set_sky` accepts this format. Check the legacy format otherwise. + * Passing no arguments resets the sky to its default values. * `sky_parameters` is a table with the following optional fields: * `base_color`: ColorSpec, changes fog in "skybox" and "plain". + (default: `#ffffff`) * `type`: Available types: * `"regular"`: Uses 0 textures, `base_color` ignored * `"skybox"`: Uses 6 textures, `base_color` used as fog. * `"plain"`: Uses 0 textures, `base_color` used as both fog and sky. + (default: `"regular"`) * `textures`: A table containing up to six textures in the following order: Y+ (top), Y- (bottom), X- (west), X+ (east), Z+ (north), Z- (south). * `clouds`: Boolean for whether clouds appear. (default: `true`) @@ -6828,9 +6831,9 @@ object you are working with still exists. * `indoors`: ColorSpec, for when you're either indoors or underground. (default: `#646464`) * `fog_sun_tint`: ColorSpec, changes the fog tinting for the sun - at sunrise and sunset. + at sunrise and sunset. (default: `#f47d1d`) * `fog_moon_tint`: ColorSpec, changes the fog tinting for the moon - at sunrise and sunset. + at sunrise and sunset. (default: `#7f99cc`) * `fog_tint_type`: string, changes which mode the directional fog abides by, `"custom"` uses `sun_tint` and `moon_tint`, while `"default"` uses the classic Minetest sun and moon tinting. @@ -6848,6 +6851,7 @@ object you are working with still exists. * `get_sky_color()`: returns a table with the `sky_color` parameters as in `set_sky`. * `set_sun(sun_parameters)`: + * Passing no arguments resets the sun to its default values. * `sun_parameters` is a table with the following optional fields: * `visible`: Boolean for whether the sun is visible. (default: `true`) @@ -6863,6 +6867,7 @@ object you are working with still exists. * `get_sun()`: returns a table with the current sun parameters as in `set_sun`. * `set_moon(moon_parameters)`: + * Passing no arguments resets the moon to its default values. * `moon_parameters` is a table with the following optional fields: * `visible`: Boolean for whether the moon is visible. (default: `true`) @@ -6874,6 +6879,7 @@ object you are working with still exists. * `get_moon()`: returns a table with the current moon parameters as in `set_moon`. * `set_stars(star_parameters)`: + * Passing no arguments resets stars to their default values. * `star_parameters` is a table with the following optional fields: * `visible`: Boolean for whether the stars are visible. (default: `true`) @@ -6887,6 +6893,7 @@ object you are working with still exists. * `get_stars()`: returns a table with the current stars parameters as in `set_stars`. * `set_clouds(cloud_parameters)`: set cloud parameters + * Passing no arguments resets clouds to their default values. * `cloud_parameters` is a table with the following optional fields: * `density`: from `0` (no clouds) to `1` (full clouds) (default `0.4`) * `color`: basic cloud color with alpha channel, ColorSpec diff --git a/src/client/clouds.h b/src/client/clouds.h index c009a05b7..6db88d93c 100644 --- a/src/client/clouds.h +++ b/src/client/clouds.h @@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes_extrabloated.h" #include #include "constants.h" -#include "cloudparams.h" +#include "skyparams.h" // Menu clouds class Clouds; diff --git a/src/cloudparams.h b/src/cloudparams.h deleted file mode 100644 index 88b5760ee..000000000 --- a/src/cloudparams.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Minetest -Copyright (C) 2017 bendeutsch, Ben Deutsch - -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. -*/ - -#pragma once - -struct CloudParams -{ - float density; - video::SColor color_bright; - video::SColor color_ambient; - float thickness; - float height; - v2f speed; -}; diff --git a/src/remoteplayer.cpp b/src/remoteplayer.cpp index d537965a2..3f0eae0f0 100644 --- a/src/remoteplayer.cpp +++ b/src/remoteplayer.cpp @@ -68,19 +68,10 @@ RemotePlayer::RemotePlayer(const char *name, IItemDefManager *idef): m_cloud_params.speed = v2f(0.0f, -2.0f); // Skybox defaults: - - SkyboxDefaults sky_defaults; - - m_skybox_params.sky_color = sky_defaults.getSkyColorDefaults(); - m_skybox_params.type = "regular"; - m_skybox_params.clouds = true; - m_skybox_params.fog_sun_tint = video::SColor(255, 244, 125, 29); - m_skybox_params.fog_moon_tint = video::SColorf(0.5, 0.6, 0.8, 1).toSColor(); - m_skybox_params.fog_tint_type = "default"; - - m_sun_params = sky_defaults.getSunDefaults(); - m_moon_params = sky_defaults.getMoonDefaults(); - m_star_params = sky_defaults.getStarDefaults(); + m_skybox_params = SkyboxDefaults::getSkyDefaults(); + m_sun_params = SkyboxDefaults::getSunDefaults(); + m_moon_params = SkyboxDefaults::getMoonDefaults(); + m_star_params = SkyboxDefaults::getStarDefaults(); } diff --git a/src/remoteplayer.h b/src/remoteplayer.h index bd39b68ba..c8991480b 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -21,7 +21,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once #include "player.h" -#include "cloudparams.h" #include "skyparams.h" class PlayerSAO; diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 7d937b306..b177a9f7e 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1732,9 +1732,11 @@ int ObjectRef::l_set_sky(lua_State *L) return 0; SkyboxParams sky_params = player->getSkyParams(); - bool is_colorspec = is_color_table(L, 2); - if (lua_istable(L, 2) && !is_colorspec) { + // reset if empty + if (lua_isnoneornil(L, 2) && lua_isnone(L, 3)) { + sky_params = SkyboxDefaults::getSkyDefaults(); + } else if (lua_istable(L, 2) && !is_color_table(L, 2)) { lua_getfield(L, 2, "base_color"); if (!lua_isnil(L, -1)) read_color(L, -1, &sky_params.bgcolor); @@ -1758,17 +1760,11 @@ int ObjectRef::l_set_sky(lua_State *L) } lua_pop(L, 1); - /* - We want to avoid crashes, so we're checking even if we're not using them. - However, we want to ensure that the skybox can be set to nil when - using "regular" or "plain" skybox modes as textures aren't needed. - */ - - if (sky_params.textures.size() != 6 && sky_params.textures.size() > 0) + // Validate that we either have six or zero textures + if (sky_params.textures.size() != 6 && !sky_params.textures.empty()) throw LuaError("Skybox expects 6 textures!"); - sky_params.clouds = getboolfield_default(L, 2, - "clouds", sky_params.clouds); + sky_params.clouds = getboolfield_default(L, 2, "clouds", sky_params.clouds); lua_getfield(L, 2, "sky_color"); if (lua_istable(L, -1)) { @@ -1816,7 +1812,7 @@ int ObjectRef::l_set_sky(lua_State *L) sky_params.fog_tint_type = luaL_checkstring(L, -1); lua_pop(L, 1); - // Because we need to leave the "sky_color" table. + // pop "sky_color" table lua_pop(L, 1); } } else { @@ -1852,11 +1848,8 @@ int ObjectRef::l_set_sky(lua_State *L) if (lua_istable(L, 4)) { lua_pushnil(L); while (lua_next(L, 4) != 0) { - // Key at index -2, and value at index -1 - if (lua_isstring(L, -1)) - sky_params.textures.emplace_back(readParam(L, -1)); - else - sky_params.textures.emplace_back(""); + // Key at index -2, and value at index -1 + sky_params.textures.emplace_back(readParam(L, -1)); // Remove the value, keep the key for the next iteration lua_pop(L, 1); } @@ -1872,6 +1865,7 @@ int ObjectRef::l_set_sky(lua_State *L) getServer(L)->setMoon(player, moon_params); getServer(L)->setStars(player, star_params); } + getServer(L)->setSky(player, sky_params); lua_pushboolean(L, true); return 1; @@ -1947,21 +1941,20 @@ int ObjectRef::l_set_sun(lua_State *L) if (player == nullptr) return 0; - luaL_checktype(L, 2, LUA_TTABLE); SunParams sun_params = player->getSunParams(); - sun_params.visible = getboolfield_default(L, 2, - "visible", sun_params.visible); - sun_params.texture = getstringfield_default(L, 2, - "texture", sun_params.texture); - sun_params.tonemap = getstringfield_default(L, 2, - "tonemap", sun_params.tonemap); - sun_params.sunrise = getstringfield_default(L, 2, - "sunrise", sun_params.sunrise); - sun_params.sunrise_visible = getboolfield_default(L, 2, - "sunrise_visible", sun_params.sunrise_visible); - sun_params.scale = getfloatfield_default(L, 2, - "scale", sun_params.scale); + // reset if empty + if (lua_isnoneornil(L, 2)) { + sun_params = SkyboxDefaults::getSunDefaults(); + } else { + luaL_checktype(L, 2, LUA_TTABLE); + sun_params.visible = getboolfield_default(L, 2, "visible", sun_params.visible); + sun_params.texture = getstringfield_default(L, 2, "texture", sun_params.texture); + sun_params.tonemap = getstringfield_default(L, 2, "tonemap", sun_params.tonemap); + sun_params.sunrise = getstringfield_default(L, 2, "sunrise", sun_params.sunrise); + sun_params.sunrise_visible = getboolfield_default(L, 2, "sunrise_visible", sun_params.sunrise_visible); + sun_params.scale = getfloatfield_default(L, 2, "scale", sun_params.scale); + } getServer(L)->setSun(player, sun_params); lua_pushboolean(L, true); @@ -2004,17 +1997,18 @@ int ObjectRef::l_set_moon(lua_State *L) if (player == nullptr) return 0; - luaL_checktype(L, 2, LUA_TTABLE); MoonParams moon_params = player->getMoonParams(); - moon_params.visible = getboolfield_default(L, 2, - "visible", moon_params.visible); - moon_params.texture = getstringfield_default(L, 2, - "texture", moon_params.texture); - moon_params.tonemap = getstringfield_default(L, 2, - "tonemap", moon_params.tonemap); - moon_params.scale = getfloatfield_default(L, 2, - "scale", moon_params.scale); + // reset if empty + if (lua_isnoneornil(L, 2)) { + moon_params = SkyboxDefaults::getMoonDefaults(); + } else { + luaL_checktype(L, 2, LUA_TTABLE); + moon_params.visible = getboolfield_default(L, 2, "visible", moon_params.visible); + moon_params.texture = getstringfield_default(L, 2, "texture", moon_params.texture); + moon_params.tonemap = getstringfield_default(L, 2, "tonemap", moon_params.tonemap); + moon_params.scale = getfloatfield_default(L, 2, "scale", moon_params.scale); + } getServer(L)->setMoon(player, moon_params); lua_pushboolean(L, true); @@ -2053,21 +2047,24 @@ int ObjectRef::l_set_stars(lua_State *L) if (player == nullptr) return 0; - luaL_checktype(L, 2, LUA_TTABLE); StarParams star_params = player->getStarParams(); - star_params.visible = getboolfield_default(L, 2, - "visible", star_params.visible); - star_params.count = getintfield_default(L, 2, - "count", star_params.count); + // reset if empty + if (lua_isnoneornil(L, 2)) { + star_params = SkyboxDefaults::getStarDefaults(); + } else { + luaL_checktype(L, 2, LUA_TTABLE); + star_params.visible = getboolfield_default(L, 2, "visible", star_params.visible); + star_params.count = getintfield_default(L, 2, "count", star_params.count); - lua_getfield(L, 2, "star_color"); - if (!lua_isnil(L, -1)) - read_color(L, -1, &star_params.starcolor); - lua_pop(L, 1); + lua_getfield(L, 2, "star_color"); + if (!lua_isnil(L, -1)) + read_color(L, -1, &star_params.starcolor); + lua_pop(L, 1); - star_params.scale = getfloatfield_default(L, 2, - "scale", star_params.scale); + star_params.scale = getfloatfield_default(L, 2, + "scale", star_params.scale); + } getServer(L)->setStars(player, star_params); lua_pushboolean(L, true); @@ -2106,31 +2103,36 @@ int ObjectRef::l_set_clouds(lua_State *L) if (player == nullptr) return 0; - luaL_checktype(L, 2, LUA_TTABLE); CloudParams cloud_params = player->getCloudParams(); - cloud_params.density = getfloatfield_default(L, 2, "density", cloud_params.density); + // reset if empty + if (lua_isnoneornil(L, 2)) { + cloud_params = SkyboxDefaults::getCloudDefaults(); + } else { + luaL_checktype(L, 2, LUA_TTABLE); + cloud_params.density = getfloatfield_default(L, 2, "density", cloud_params.density); - lua_getfield(L, 2, "color"); - if (!lua_isnil(L, -1)) - read_color(L, -1, &cloud_params.color_bright); - lua_pop(L, 1); - lua_getfield(L, 2, "ambient"); - if (!lua_isnil(L, -1)) - read_color(L, -1, &cloud_params.color_ambient); - lua_pop(L, 1); + lua_getfield(L, 2, "color"); + if (!lua_isnil(L, -1)) + read_color(L, -1, &cloud_params.color_bright); + lua_pop(L, 1); + lua_getfield(L, 2, "ambient"); + if (!lua_isnil(L, -1)) + read_color(L, -1, &cloud_params.color_ambient); + lua_pop(L, 1); - cloud_params.height = getfloatfield_default(L, 2, "height", cloud_params.height ); - cloud_params.thickness = getfloatfield_default(L, 2, "thickness", cloud_params.thickness); + cloud_params.height = getfloatfield_default(L, 2, "height", cloud_params.height); + cloud_params.thickness = getfloatfield_default(L, 2, "thickness", cloud_params.thickness); - lua_getfield(L, 2, "speed"); - if (lua_istable(L, -1)) { - v2f new_speed; - new_speed.X = getfloatfield_default(L, -1, "x", 0); - new_speed.Y = getfloatfield_default(L, -1, "z", 0); - cloud_params.speed = new_speed; + lua_getfield(L, 2, "speed"); + if (lua_istable(L, -1)) { + v2f new_speed; + new_speed.X = getfloatfield_default(L, -1, "x", 0); + new_speed.Y = getfloatfield_default(L, -1, "z", 0); + cloud_params.speed = new_speed; + } + lua_pop(L, 1); } - lua_pop(L, 1); getServer(L)->setClouds(player, cloud_params); lua_pushboolean(L, true); diff --git a/src/skyparams.h b/src/skyparams.h index 1de494d69..cabbf531c 100644 --- a/src/skyparams.h +++ b/src/skyparams.h @@ -68,11 +68,34 @@ struct StarParams f32 scale; }; +struct CloudParams +{ + float density; + video::SColor color_bright; + video::SColor color_ambient; + float thickness; + float height; + v2f speed; +}; + // Utility class for setting default sky, sun, moon, stars values: class SkyboxDefaults { public: - const SkyColor getSkyColorDefaults() + static const SkyboxParams getSkyDefaults() + { + SkyboxParams sky; + sky.bgcolor = video::SColor(255, 255, 255, 255); + sky.type = "regular"; + sky.clouds = true; + sky.sky_color = getSkyColorDefaults(); + sky.fog_sun_tint = video::SColor(255, 244, 125, 29); + sky.fog_moon_tint = video::SColorf(0.5, 0.6, 0.8, 1).toSColor(); + sky.fog_tint_type = "default"; + return sky; + } + + static const SkyColor getSkyColorDefaults() { SkyColor sky; // Horizon colors @@ -87,7 +110,7 @@ public: return sky; } - const SunParams getSunDefaults() + static const SunParams getSunDefaults() { SunParams sun; sun.visible = true; @@ -99,7 +122,7 @@ public: return sun; } - const MoonParams getMoonDefaults() + static const MoonParams getMoonDefaults() { MoonParams moon; moon.visible = true; @@ -109,7 +132,7 @@ public: return moon; } - const StarParams getStarDefaults() + static const StarParams getStarDefaults() { StarParams stars; stars.visible = true; @@ -118,4 +141,16 @@ public: stars.scale = 1; return stars; } + + static const CloudParams getCloudDefaults() + { + CloudParams clouds; + clouds.density = 0.4f; + clouds.color_bright = video::SColor(229, 240, 240, 255); + clouds.color_ambient = video::SColor(255, 0, 0, 0); + clouds.thickness = 16.0f; + clouds.height = 120; + clouds.speed = v2f(0.0f, -2.0f); + return clouds; + } }; -- cgit v1.2.3 From f8cef52ea07de6a6ccaa6f9a853a8e5ccaaff4ce Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 22 Jan 2022 13:37:26 +0100 Subject: Fix consistency of sky sun/moon texture behaviour Also cleans up related code somewhat. --- doc/lua_api.txt | 4 +- src/client/game.cpp | 2 +- src/client/sky.cpp | 178 +++++++++++++----------------------- src/client/sky.h | 9 +- src/network/clientpackethandler.cpp | 12 +-- src/remoteplayer.cpp | 17 ++-- src/skyparams.h | 2 + 7 files changed, 82 insertions(+), 142 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 00c29f791..2331736c6 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6856,7 +6856,7 @@ object you are working with still exists. * `visible`: Boolean for whether the sun is visible. (default: `true`) * `texture`: A regular texture for the sun. Setting to `""` - will re-enable the mesh sun. (default: `"sun.png"`) + will re-enable the mesh sun. (default: "sun.png", if it exists) * `tonemap`: A 512x1 texture containing the tonemap for the sun (default: `"sun_tonemap.png"`) * `sunrise`: A regular texture for the sunrise texture. @@ -6872,7 +6872,7 @@ object you are working with still exists. * `visible`: Boolean for whether the moon is visible. (default: `true`) * `texture`: A regular texture for the moon. Setting to `""` - will re-enable the mesh moon. (default: `"moon.png"`) + will re-enable the mesh moon. (default: "moon.png", if it exists) * `tonemap`: A 512x1 texture containing the tonemap for the moon (default: `"moon_tonemap.png"`) * `scale`: Float controlling the overall size of the moon (default: `1`) diff --git a/src/client/game.cpp b/src/client/game.cpp index 182dc3815..b6052390b 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2862,7 +2862,7 @@ void Game::handleClientEvent_SetMoon(ClientEvent *event, CameraOrientation *cam) void Game::handleClientEvent_SetStars(ClientEvent *event, CameraOrientation *cam) { sky->setStarsVisible(event->star_params->visible); - sky->setStarCount(event->star_params->count, false); + sky->setStarCount(event->star_params->count); sky->setStarColor(event->star_params->starcolor); sky->setStarScale(event->star_params->scale); delete event->star_params; diff --git a/src/client/sky.cpp b/src/client/sky.cpp index 1cf9a4afc..0ab710eee 100644 --- a/src/client/sky.cpp +++ b/src/client/sky.cpp @@ -18,21 +18,21 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include "sky.h" -#include "ITexture.h" -#include "IVideoDriver.h" -#include "ISceneManager.h" -#include "ICameraSceneNode.h" -#include "S3DVertex.h" +#include +#include +#include +#include +#include #include "client/tile.h" #include "noise.h" // easeCurve #include "profiler.h" #include "util/numeric.h" -#include #include "client/renderingengine.h" #include "settings.h" #include "camera.h" // CameraModes -#include "config.h" + using namespace irr::core; static video::SMaterial baseMaterial() @@ -51,7 +51,14 @@ static video::SMaterial baseMaterial() mat.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE; mat.BackfaceCulling = false; return mat; -}; +} + +static inline void disableTextureFiltering(video::SMaterial &mat) +{ + mat.setFlag(video::E_MATERIAL_FLAG::EMF_BILINEAR_FILTER, false); + mat.setFlag(video::E_MATERIAL_FLAG::EMF_TRILINEAR_FILTER, false); + mat.setFlag(video::E_MATERIAL_FLAG::EMF_ANISOTROPIC_FILTER, false); +} Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShaderSource *ssrc) : scene::ISceneNode(rendering_engine->get_scene_manager()->getRootSceneNode(), @@ -65,6 +72,11 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade m_enable_shaders = g_settings->getBool("enable_shaders"); + m_sky_params = SkyboxDefaults::getSkyDefaults(); + m_sun_params = SkyboxDefaults::getSunDefaults(); + m_moon_params = SkyboxDefaults::getMoonDefaults(); + m_star_params = SkyboxDefaults::getStarDefaults(); + // Create materials m_materials[0] = baseMaterial(); @@ -73,49 +85,15 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade m_materials[0].ColorMaterial = video::ECM_NONE; m_materials[1] = baseMaterial(); - //m_materials[1].MaterialType = video::EMT_TRANSPARENT_VERTEX_ALPHA; m_materials[1].MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; m_materials[2] = baseMaterial(); m_materials[2].setTexture(0, tsrc->getTextureForMesh("sunrisebg.png")); m_materials[2].MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; - //m_materials[2].MaterialType = video::EMT_TRANSPARENT_ADD_COLOR; - - // Ensures that sun and moon textures and tonemaps are correct. - setSkyDefaults(); - m_sun_texture = tsrc->isKnownSourceImage(m_sun_params.texture) ? - tsrc->getTextureForMesh(m_sun_params.texture) : nullptr; - m_moon_texture = tsrc->isKnownSourceImage(m_moon_params.texture) ? - tsrc->getTextureForMesh(m_moon_params.texture) : nullptr; - m_sun_tonemap = tsrc->isKnownSourceImage(m_sun_params.tonemap) ? - tsrc->getTexture(m_sun_params.tonemap) : nullptr; - m_moon_tonemap = tsrc->isKnownSourceImage(m_moon_params.tonemap) ? - tsrc->getTexture(m_moon_params.tonemap) : nullptr; - if (m_sun_texture) { - m_materials[3] = baseMaterial(); - m_materials[3].setTexture(0, m_sun_texture); - m_materials[3].MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; - // Disables texture filtering - m_materials[3].setFlag(video::E_MATERIAL_FLAG::EMF_BILINEAR_FILTER, false); - m_materials[3].setFlag(video::E_MATERIAL_FLAG::EMF_TRILINEAR_FILTER, false); - m_materials[3].setFlag(video::E_MATERIAL_FLAG::EMF_ANISOTROPIC_FILTER, false); - // Use tonemaps if available - if (m_sun_tonemap) - m_materials[3].Lighting = true; - } - if (m_moon_texture) { - m_materials[4] = baseMaterial(); - m_materials[4].setTexture(0, m_moon_texture); - m_materials[4].MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; - // Disables texture filtering - m_materials[4].setFlag(video::E_MATERIAL_FLAG::EMF_BILINEAR_FILTER, false); - m_materials[4].setFlag(video::E_MATERIAL_FLAG::EMF_TRILINEAR_FILTER, false); - m_materials[4].setFlag(video::E_MATERIAL_FLAG::EMF_ANISOTROPIC_FILTER, false); - // Use tonemaps if available - if (m_moon_tonemap) - m_materials[4].Lighting = true; - } + setSunTexture(m_sun_params.texture, m_sun_params.tonemap, tsrc); + + setMoonTexture(m_moon_params.texture, m_moon_params.tonemap, tsrc); for (int i = 5; i < 11; i++) { m_materials[i] = baseMaterial(); @@ -130,7 +108,7 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade m_sky_body_orbit_tilt = rangelim(val, 0.0f, 60.0f); } - setStarCount(1000, true); + setStarCount(1000); } void Sky::OnRegisterSceneNode() @@ -386,20 +364,6 @@ void Sky::update(float time_of_day, float time_brightness, bool is_dawn = (time_brightness >= 0.20 && time_brightness < 0.35); - /* - Development colours - - video::SColorf bgcolor_bright_normal_f(170. / 255, 200. / 255, 230. / 255, 1.0); - video::SColorf bgcolor_bright_dawn_f(0.666, 200. / 255 * 0.7, 230. / 255 * 0.5, 1.0); - video::SColorf bgcolor_bright_dawn_f(0.666, 0.549, 0.220, 1.0); - video::SColorf bgcolor_bright_dawn_f(0.666 * 1.2, 0.549 * 1.0, 0.220 * 1.0, 1.0); - video::SColorf bgcolor_bright_dawn_f(0.666 * 1.2, 0.549 * 1.0, 0.220 * 1.2, 1.0); - - video::SColorf cloudcolor_bright_dawn_f(1.0, 0.591, 0.4); - video::SColorf cloudcolor_bright_dawn_f(1.0, 0.65, 0.44); - video::SColorf cloudcolor_bright_dawn_f(1.0, 0.7, 0.5); - */ - video::SColorf bgcolor_bright_normal_f = m_sky_params.sky_color.day_horizon; video::SColorf bgcolor_bright_indoor_f = m_sky_params.sky_color.indoors; video::SColorf bgcolor_bright_dawn_f = m_sky_params.sky_color.dawn_horizon; @@ -754,33 +718,29 @@ void Sky::setSunTexture(const std::string &sun_texture, // Ignore matching textures (with modifiers) entirely, // but lets at least update the tonemap before hand. m_sun_params.tonemap = sun_tonemap; - m_sun_tonemap = tsrc->isKnownSourceImage(m_sun_params.tonemap) ? - tsrc->getTexture(m_sun_params.tonemap) : nullptr; + m_sun_tonemap = tsrc->isKnownSourceImage(sun_tonemap) ? + tsrc->getTexture(sun_tonemap) : nullptr; m_materials[3].Lighting = !!m_sun_tonemap; - if (m_sun_params.texture == sun_texture) + if (m_sun_params.texture == sun_texture && !m_first_update) return; m_sun_params.texture = sun_texture; - if (sun_texture != "") { - // We want to ensure the texture exists first. - m_sun_texture = tsrc->getTextureForMesh(m_sun_params.texture); - - if (m_sun_texture) { - m_materials[3] = baseMaterial(); - m_materials[3].setTexture(0, m_sun_texture); - m_materials[3].MaterialType = video:: - EMT_TRANSPARENT_ALPHA_CHANNEL; - // Disables texture filtering - m_materials[3].setFlag( - video::E_MATERIAL_FLAG::EMF_BILINEAR_FILTER, false); - m_materials[3].setFlag( - video::E_MATERIAL_FLAG::EMF_TRILINEAR_FILTER, false); - m_materials[3].setFlag( - video::E_MATERIAL_FLAG::EMF_ANISOTROPIC_FILTER, false); - } - } else { - m_sun_texture = nullptr; + m_sun_texture = nullptr; + if (sun_texture == "sun.png") { + // Dumb compatibility fix: sun.png transparently falls back to no texture + m_sun_texture = tsrc->isKnownSourceImage(sun_texture) ? + tsrc->getTexture(sun_texture) : nullptr; + } else if (!sun_texture.empty()) { + m_sun_texture = tsrc->getTextureForMesh(sun_texture); + } + + if (m_sun_texture) { + m_materials[3] = baseMaterial(); + m_materials[3].setTexture(0, m_sun_texture); + m_materials[3].MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; + disableTextureFiltering(m_materials[3]); + m_materials[3].Lighting = !!m_sun_tonemap; } } @@ -802,40 +762,36 @@ void Sky::setMoonTexture(const std::string &moon_texture, // Ignore matching textures (with modifiers) entirely, // but lets at least update the tonemap before hand. m_moon_params.tonemap = moon_tonemap; - m_moon_tonemap = tsrc->isKnownSourceImage(m_moon_params.tonemap) ? - tsrc->getTexture(m_moon_params.tonemap) : nullptr; + m_moon_tonemap = tsrc->isKnownSourceImage(moon_tonemap) ? + tsrc->getTexture(moon_tonemap) : nullptr; m_materials[4].Lighting = !!m_moon_tonemap; - if (m_moon_params.texture == moon_texture) + if (m_moon_params.texture == moon_texture && !m_first_update) return; m_moon_params.texture = moon_texture; - if (moon_texture != "") { - // We want to ensure the texture exists first. - m_moon_texture = tsrc->getTextureForMesh(m_moon_params.texture); - - if (m_moon_texture) { - m_materials[4] = baseMaterial(); - m_materials[4].setTexture(0, m_moon_texture); - m_materials[4].MaterialType = video:: - EMT_TRANSPARENT_ALPHA_CHANNEL; - // Disables texture filtering - m_materials[4].setFlag( - video::E_MATERIAL_FLAG::EMF_BILINEAR_FILTER, false); - m_materials[4].setFlag( - video::E_MATERIAL_FLAG::EMF_TRILINEAR_FILTER, false); - m_materials[4].setFlag( - video::E_MATERIAL_FLAG::EMF_ANISOTROPIC_FILTER, false); - } - } else { - m_moon_texture = nullptr; + m_moon_texture = nullptr; + if (moon_texture == "moon.png") { + // Dumb compatibility fix: moon.png transparently falls back to no texture + m_moon_texture = tsrc->isKnownSourceImage(moon_texture) ? + tsrc->getTexture(moon_texture) : nullptr; + } else if (!moon_texture.empty()) { + m_moon_texture = tsrc->getTextureForMesh(moon_texture); + } + + if (m_moon_texture) { + m_materials[4] = baseMaterial(); + m_materials[4].setTexture(0, m_moon_texture); + m_materials[4].MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL; + disableTextureFiltering(m_materials[4]); + m_materials[4].Lighting = !!m_moon_tonemap; } } -void Sky::setStarCount(u16 star_count, bool force_update) +void Sky::setStarCount(u16 star_count) { // Allow force updating star count at game init. - if (m_star_params.count != star_count || force_update) { + if (m_star_params.count != star_count || m_first_update) { m_star_params.count = star_count; updateStars(); } @@ -924,16 +880,6 @@ void Sky::addTextureToSkybox(const std::string &texture, int material_id, m_materials[material_id+5].MaterialType = video::EMT_SOLID; } -// To be called once at game init to setup default values. -void Sky::setSkyDefaults() -{ - SkyboxDefaults sky_defaults; - m_sky_params.sky_color = sky_defaults.getSkyColorDefaults(); - m_sun_params = sky_defaults.getSunDefaults(); - m_moon_params = sky_defaults.getMoonDefaults(); - m_star_params = sky_defaults.getStarDefaults(); -} - float getWickedTimeOfDay(float time_of_day) { float nightlength = 0.415f; diff --git a/src/client/sky.h b/src/client/sky.h index 83106453b..3dc057b70 100644 --- a/src/client/sky.h +++ b/src/client/sky.h @@ -17,6 +17,8 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#pragma once + #include "irrlichttypes_extrabloated.h" #include #include @@ -25,8 +27,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "shader.h" #include "skyparams.h" -#pragma once - #define SKY_MATERIAL_COUNT 12 class ITextureSource; @@ -77,7 +77,7 @@ public: void setMoonScale(f32 moon_scale) { m_moon_params.scale = moon_scale; } void setStarsVisible(bool stars_visible) { m_star_params.visible = stars_visible; } - void setStarCount(u16 star_count, bool force_update); + void setStarCount(u16 star_count); void setStarColor(video::SColor star_color) { m_star_params.starcolor = star_color; } void setStarScale(f32 star_scale) { m_star_params.scale = star_scale; updateStars(); } @@ -150,7 +150,7 @@ private: bool m_visible = true; // Used when m_visible=false video::SColor m_fallback_bg_color = video::SColor(255, 255, 255, 255); - bool m_first_update = true; + bool m_first_update = true; // Set before the sky is updated for the first time float m_time_of_day; float m_time_brightness; bool m_sunlight_seen; @@ -206,7 +206,6 @@ private: void draw_stars(video::IVideoDriver *driver, float wicked_time_of_day); void place_sky_body(std::array &vertices, float horizon_position, float day_position); - void setSkyDefaults(); }; // calculates value for sky body positions for the given observed time of day diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index f7c586b80..47f259b92 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -1242,19 +1242,17 @@ void Client::handleCommand_HudSetSky(NetworkPacket* pkt) } catch (...) {} // Use default skybox settings: - SkyboxDefaults sky_defaults; - SunParams sun = sky_defaults.getSunDefaults(); - MoonParams moon = sky_defaults.getMoonDefaults(); - StarParams stars = sky_defaults.getStarDefaults(); + SunParams sun = SkyboxDefaults::getSunDefaults(); + MoonParams moon = SkyboxDefaults::getMoonDefaults(); + StarParams stars = SkyboxDefaults::getStarDefaults(); // Fix for "regular" skies, as color isn't kept: if (skybox.type == "regular") { - skybox.sky_color = sky_defaults.getSkyColorDefaults(); + skybox.sky_color = SkyboxDefaults::getSkyColorDefaults(); skybox.fog_tint_type = "default"; skybox.fog_moon_tint = video::SColor(255, 255, 255, 255); skybox.fog_sun_tint = video::SColor(255, 255, 255, 255); - } - else { + } else { sun.visible = false; sun.sunrise_visible = false; moon.visible = false; diff --git a/src/remoteplayer.cpp b/src/remoteplayer.cpp index 3f0eae0f0..20be7a8c8 100644 --- a/src/remoteplayer.cpp +++ b/src/remoteplayer.cpp @@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc., /* RemotePlayer */ + // static config cache for remoteplayer bool RemotePlayer::m_setting_cache_loaded = false; float RemotePlayer::m_setting_chat_message_limit_per_10sec = 0.0f; @@ -46,6 +47,7 @@ RemotePlayer::RemotePlayer(const char *name, IItemDefManager *idef): g_settings->getU16("chat_message_limit_trigger_kick"); RemotePlayer::m_setting_cache_loaded = true; } + movement_acceleration_default = g_settings->getFloat("movement_acceleration_default") * BS; movement_acceleration_air = g_settings->getFloat("movement_acceleration_air") * BS; movement_acceleration_fast = g_settings->getFloat("movement_acceleration_fast") * BS; @@ -59,19 +61,12 @@ RemotePlayer::RemotePlayer(const char *name, IItemDefManager *idef): movement_liquid_sink = g_settings->getFloat("movement_liquid_sink") * BS; movement_gravity = g_settings->getFloat("movement_gravity") * BS; - // copy defaults - m_cloud_params.density = 0.4f; - m_cloud_params.color_bright = video::SColor(229, 240, 240, 255); - m_cloud_params.color_ambient = video::SColor(255, 0, 0, 0); - m_cloud_params.height = 120.0f; - m_cloud_params.thickness = 16.0f; - m_cloud_params.speed = v2f(0.0f, -2.0f); - // Skybox defaults: + m_cloud_params = SkyboxDefaults::getCloudDefaults(); m_skybox_params = SkyboxDefaults::getSkyDefaults(); - m_sun_params = SkyboxDefaults::getSunDefaults(); - m_moon_params = SkyboxDefaults::getMoonDefaults(); - m_star_params = SkyboxDefaults::getStarDefaults(); + m_sun_params = SkyboxDefaults::getSunDefaults(); + m_moon_params = SkyboxDefaults::getMoonDefaults(); + m_star_params = SkyboxDefaults::getStarDefaults(); } diff --git a/src/skyparams.h b/src/skyparams.h index cabbf531c..f7f694427 100644 --- a/src/skyparams.h +++ b/src/skyparams.h @@ -82,6 +82,8 @@ struct CloudParams class SkyboxDefaults { public: + SkyboxDefaults() = delete; + static const SkyboxParams getSkyDefaults() { SkyboxParams sky; -- cgit v1.2.3 From 71317b8579385142c2a1cbad70a68cf661408855 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sat, 22 Jan 2022 17:18:27 +0100 Subject: Make sure nightRatio is always greater than zero. To avoid underfined behavior of GLSL pow() --- client/shaders/nodes_shader/opengl_fragment.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 9ee88eb39..762a676c6 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -512,7 +512,7 @@ void main(void) // turns out that nightRatio falls off much faster than // actual brightness of artificial light in relation to natual light. // Power ratio was measured on torches in MTG (brightness = 14). - float adjusted_night_ratio = pow(nightRatio, 0.6); + float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); if (f_normal_length != 0 && cosLight < 0.035) { shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, 0.035)/0.035); -- cgit v1.2.3 From 95a775cd3ae5a8281289acb36391b9ef27cc574d Mon Sep 17 00:00:00 2001 From: Vincent Robinson Date: Sat, 22 Jan 2022 15:55:43 -0800 Subject: Bump formspec version (#11980) --- doc/lua_api.txt | 10 ++++++---- src/network/networkprotocol.h | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 2331736c6..e37567ec3 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2271,18 +2271,20 @@ Examples Version History --------------- -* FORMSPEC VERSION 1: +* Formspec version 1 (pre-5.1.0): * (too much) -* FORMSPEC VERSION 2: +* Formspec version 2 (5.1.0): * Forced real coordinates * background9[]: 9-slice scaling parameters -* FORMSPEC VERSION 3: +* Formspec version 3 (5.2.0): * Formspec elements are drawn in the order of definition * bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor) * box[] and image[] elements enable clipping by default * new element: scroll_container[] -* FORMSPEC VERSION 4: +* Formspec version 4 (5.4.0): * Allow dropdown indexing events +* Formspec version 5 (5.5.0): + * Added padding[] element Elements -------- diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 8214cc5b1..7bf5801f5 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -230,7 +230,7 @@ with this program; if not, write to the Free Software Foundation, Inc., // base64-encoded SHA-1 (27+\0). // See also: Formspec Version History in doc/lua_api.txt -#define FORMSPEC_API_VERSION 4 +#define FORMSPEC_API_VERSION 5 #define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-" -- cgit v1.2.3 From 1b2176a426dd987795f20e9042a8d79f958b7b44 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Sat, 22 Jan 2022 18:56:17 -0500 Subject: Cancel emerge callbacks on shutdown --- src/emerge.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emerge.cpp b/src/emerge.cpp index 619b1fa8e..55ae99caf 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -724,6 +724,8 @@ void *EmergeThread::run() m_server->setAsyncFatalError(err.str()); } + cancelPendingItems(); + END_DEBUG_EXCEPTION_HANDLER return NULL; } -- cgit v1.2.3 From 37aa8468a0c8ac7f1cf223302ee95db65d79019f Mon Sep 17 00:00:00 2001 From: waxtatect Date: Sun, 28 Nov 2021 23:42:22 +0000 Subject: Translated using Weblate (French) Currently translated at 100.0% (1415 of 1415 strings) --- po/fr/minetest.po | 668 ++++++++++++++++++++++++++---------------------------- 1 file changed, 320 insertions(+), 348 deletions(-) diff --git a/po/fr/minetest.po b/po/fr/minetest.po index 3354529ca..937dd44f2 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-09-26 15:58+0000\n" +"PO-Revision-Date: 2021-12-01 19:27+0000\n" "Last-Translator: waxtatect \n" "Language-Team: French \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -64,7 +64,7 @@ msgstr "Commandes disponibles :" #: builtin/common/chatcommands.lua msgid "Available commands: " -msgstr "Commandes disponibles : " +msgstr "Commandes disponibles : " #: builtin/common/chatcommands.lua msgid "Command not available: " @@ -78,7 +78,7 @@ msgstr "Obtenir de l'aide pour les commandes" msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" -"Utilisez « .help  » pour obtenir plus d'informations, ou « .help all » " +"Utiliser « .help  » pour obtenir plus d'informations, ou « .help all » " "pour tout lister." #: builtin/common/chatcommands.lua @@ -90,9 +90,8 @@ msgid "OK" msgstr "OK" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Commande non disponible : " +msgstr "< aucun disponible >" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -201,7 +200,7 @@ msgstr "Aucune description fournie pour le pack de mods." #: builtin/mainmenu/dlg_config_world.lua msgid "No optional dependencies" -msgstr "Pas de dépendances facultatives" +msgstr "Pas de dépendances optionnelles" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua msgid "Optional dependencies:" @@ -298,11 +297,8 @@ msgid "Install missing dependencies" msgstr "Installer les dépendances manquantes" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "" -"Installation d'un mod : type de fichier non supporté « $1 » ou archive " -"endommagée" +msgstr "Installation : type de fichier non supporté ou archive endommagée" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -399,11 +395,11 @@ msgstr "Décorations" #: builtin/mainmenu/dlg_create_world.lua msgid "Download a game, such as Minetest Game, from minetest.net" -msgstr "Téléchargez un jeu comme Minetest Game depuis minetest.net" +msgstr "Télécharger un jeu comme Minetest Game depuis minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Download one from minetest.net" -msgstr "Téléchargez-en un depuis minetest.net" +msgstr "Télécharger en un depuis minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Dungeons" @@ -427,7 +423,7 @@ msgstr "Jeu" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "Générer un terrain non fractal : océans et souterrain" +msgstr "Générer un terrain non fractal : océans et souterrains" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" @@ -472,7 +468,7 @@ msgstr "Coulée de boue" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" -msgstr "Réseau souterrain" +msgstr "Réseau de tunnels et de grottes" #: builtin/mainmenu/dlg_create_world.lua msgid "No game selected" @@ -543,7 +539,7 @@ msgstr "Varier la profondeur fluviale" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" -msgstr "Très grande cavernes profondes" +msgstr "Très grandes cavernes profondes souterraines" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The Development Test is meant for developers." @@ -569,11 +565,11 @@ msgstr "Supprimer" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: failed to delete \"$1\"" -msgstr "Le gestionnaire de mods n'a pas pu supprimer « $1 »" +msgstr "Gestionnaire de mods : échec de la suppression de « $1 »" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: invalid path \"$1\"" -msgstr "Gestionnaire de mods : chemin de mod invalide « $1 »" +msgstr "Gestionnaire de mods : chemin invalide de « $1 »" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" @@ -592,8 +588,8 @@ msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" -"Ce pack de mods a un nom explicitement donné dans son fichier modpack.conf ; " -"il écrasera tout renommage effectué ici." +"Ce pack de mods a un nom explicitement donné dans son fichier modpack.conf " +"qui remplacera tout renommage effectué ici." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" @@ -636,9 +632,8 @@ msgid "Offset" msgstr "Décalage" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" -msgstr "Persistence" +msgstr "Persistance" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." @@ -662,7 +657,7 @@ msgstr "Rechercher" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" -msgstr "Choisissez un répertoire" +msgstr "Choisir un répertoire" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select file" @@ -725,7 +720,7 @@ msgstr "Paramètres par défaut" #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "eased" -msgstr "lissé" +msgstr "Lissé" #: builtin/mainmenu/pkgmgr.lua msgid "$1 (Enabled)" @@ -741,14 +736,13 @@ msgstr "Échec de l'installation de $1 vers $2" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find real mod name for: $1" -msgstr "" -"Installation d'un mod : impossible de trouver le vrai nom du mod pour : $1" +msgstr "Installer mod : impossible de trouver le nom réel du mod pour : $1" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" -"Installation un mod : impossible de trouver un nom de dossier valide pour le " -"pack de mods $1" +"Installer mod : impossible de trouver un nom de dossier valide pour le pack " +"de mods $1" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" @@ -756,11 +750,11 @@ msgstr "Impossible de trouver un mod ou un pack de mods valide" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a $1 as a texture pack" -msgstr "Échec de l'installation de $1 comme pack de textures" +msgstr "Impossible d'installer un $1 comme un pack de textures" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a game as a $1" -msgstr "Échec de l'installation du jeu comme un $1" +msgstr "Impossible d'installer un jeu comme un $1" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a mod as a $1" @@ -781,7 +775,7 @@ msgstr "La liste des serveurs publics est désactivée" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." msgstr "" -"Essayez de réactiver la liste des serveurs et vérifiez votre connexion " +"Essayer de réactiver la liste des serveurs et vérifier votre connexion " "Internet." #: builtin/mainmenu/tab_about.lua @@ -1179,13 +1173,12 @@ msgid "Connection error (timed out?)" msgstr "Erreur de connexion (perte de connexion ?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Impossible de trouver ou charger le jeu \"" +msgstr "Impossible de trouver ou charger le jeu : " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." -msgstr "gamespec invalide." +msgstr "Jeu spécifié invalide." #: src/client/clientlauncher.cpp msgid "Main Menu" @@ -1253,14 +1246,13 @@ msgid "- Server Name: " msgstr "– Nom du serveur : " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Une erreur est survenue :" +msgstr "Une erreur de sérialisation est survenue :" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Accès refusé. Raison : %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1271,21 +1263,20 @@ msgid "Automatic forward enabled" msgstr "Marche automatique activée" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Limites des blocs" +msgstr "Limites des blocs cachées" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Limites des blocs affichées pour tous les blocs" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Limites des blocs affichées pour le bloc actuel" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Limites des blocs affichées pour les blocs voisins" #: src/client/game.cpp msgid "Camera update disabled" @@ -1298,6 +1289,8 @@ msgstr "Mise à jour de la caméra activée" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" +"Impossible d'afficher les limites des blocs (nécessite le privilège « " +"basic_debug »)" #: src/client/game.cpp msgid "Change Password" @@ -1312,9 +1305,8 @@ msgid "Cinematic mode enabled" msgstr "Mode cinématique activé" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Personnalisation client" +msgstr "Client déconnecté" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1326,7 +1318,7 @@ msgstr "Connexion au serveur…" #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "La connexion a échoué pour une raison inconnue" #: src/client/game.cpp msgid "Continue" @@ -1368,7 +1360,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Impossible de résoudre l'adresse : %s" #: src/client/game.cpp msgid "Creating client..." @@ -1412,8 +1404,8 @@ msgstr "" "– Glissement du doigt : regarder autour\n" "Menu / Inventaire visible :\n" "– double-appui (en dehors) : fermeture\n" -"– objet(s) dans l'inventaire : déplacement\n" -"– appui, glissement et appui : pose d'un seul item par emplacement\n" +"– objets dans l'inventaire : déplacement\n" +"– appui, glissement et appui : pose d'un seul objet par emplacement\n" #: src/client/game.cpp msgid "Disabled unlimited viewing range" @@ -1561,7 +1553,7 @@ msgstr "Son coupé" #: src/client/game.cpp msgid "Sound system is disabled" -msgstr "L'audio système est désactivé" +msgstr "Le système audio est désactivé" #: src/client/game.cpp msgid "Sound system is not supported on this build" @@ -1574,17 +1566,17 @@ msgstr "Son rétabli" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Le serveur utilise probablement une version différente de %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Impossible de se connecter à %s car IPv6 est désactivé" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Impossible d’écouter sur %s car IPv6 est désactivé" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1604,7 +1596,7 @@ msgstr "Distance de vue minimale : %d" #: src/client/game.cpp #, c-format msgid "Volume changed to %d%%" -msgstr "Volume réglé sur %d %%" +msgstr "Volume réglé sur %d %%" #: src/client/game.cpp msgid "Wireframe shown" @@ -1921,13 +1913,12 @@ msgid "Minimap in texture mode" msgstr "Mini-carte en mode texture" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Échec du téléchargement de $1" +msgstr "Échec de l'ouverture de la page Web" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Ouverture de la page web" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1951,8 +1942,8 @@ msgstr "" "Si vous continuez, un nouveau compte utilisant vos identifiants sera créé " "sur ce serveur.\n" "Veuillez retaper votre mot de passe et cliquer sur « S'enregistrer et " -"rejoindre » pour confirmer la création de votre compte, ou cliquez sur " -"« Annuler »." +"rejoindre » pour confirmer la création de votre compte, ou cliquer sur « " +"Annuler »." #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" @@ -2104,7 +2095,7 @@ msgstr "Mouvement vertical" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" -msgstr "Appuyez sur une touche" +msgstr "Appuyer sur une touche" #: src/gui/guiPasswordChange.cpp msgid "Change" @@ -2131,9 +2122,9 @@ msgid "Muted" msgstr "Muet" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Volume du son : " +msgstr "Volume du son : %d %%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2209,7 +2200,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of ridged mountains." -msgstr "Bruit 2D controllant la forme et taille des montagnes crantées." +msgstr "Bruit 2D contrôlant la forme et taille des montagnes crantées." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of rolling hills." @@ -2311,7 +2302,7 @@ msgstr "" "– vertical : séparation côte à côte de l'écran.\n" "– vue mixte : 3D binoculaire.\n" "– « pageflip » : 3D basé sur « quadbuffer ».\n" -"Notez que le mode entrelacé nécessite que les shaders soient activés." +"Noter que le mode entrelacé nécessite que les shaders soient activés." #: src/settings_translation_file.cpp msgid "" @@ -2376,7 +2367,7 @@ msgid "" msgstr "" "Adresse où se connecter.\n" "Laisser vide pour démarrer un serveur local.\n" -"Notez que le champ de l'adresse dans le menu principal passe outre ce " +"Noter que le champ de l'adresse dans le menu principal passe outre ce " "paramètre." #: src/settings_translation_file.cpp @@ -2388,12 +2379,14 @@ msgid "" "Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " "screens." msgstr "" -"Ajuster la résolution de votre écran (non-X11 / Android seulement) ex. pour " -"les écrans 4k." +"Ajuste la configuration des PPP à votre écran (non X11 / Android seulement), " +"par exemple pour les écrans 4k." #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Ajuste la densité d'affichage détectée, utilisée pour la mise à l'échelle " +"des éléments de l'interface utilisateur." #: src/settings_translation_file.cpp #, c-format @@ -2407,7 +2400,7 @@ msgstr "" "Règle la densité de la couche de terrain flottant.\n" "Augmenter la valeur pour augmenter la densité. Peut être positive ou " "négative.\n" -"Valeur = 0,0 : 50 % du volume est terrain flottant.\n" +"Valeur = 0,0 : 50 % du volume est terrain flottant.\n" "Valeur = 2,0 (peut être plus élevée selon « mgv7_np_floatland », toujours " "vérifier pour être sûr) créée une couche de terrain flottant solide." @@ -2508,11 +2501,11 @@ msgstr "" "terre).\n" "Une valeur supérieure à « max_block_send_distance » désactive cette " "optimisation.\n" -"Définie en mapblocks (16 nœuds)." +"Établie en mapblocks (16 nœuds)." #: src/settings_translation_file.cpp msgid "Automatic forward key" -msgstr "Touche de marche automatique" +msgstr "Touche marche automatique" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." @@ -2532,7 +2525,7 @@ msgstr "Mode d'agrandissement automatique" #: src/settings_translation_file.cpp msgid "Aux1 key" -msgstr "Aux1" +msgstr "Touche Aux1" #: src/settings_translation_file.cpp msgid "Aux1 key for climbing/descending" @@ -2540,7 +2533,7 @@ msgstr "Touche Aux1 pour monter/descendre" #: src/settings_translation_file.cpp msgid "Backward key" -msgstr "Reculer" +msgstr "Touche reculer" #: src/settings_translation_file.cpp msgid "Base ground level" @@ -2560,11 +2553,11 @@ msgstr "Privilèges de base" #: src/settings_translation_file.cpp msgid "Beach noise" -msgstr "Bruit pour les plages" +msgstr "Bruit des plages" #: src/settings_translation_file.cpp msgid "Beach noise threshold" -msgstr "Seuil de bruit pour les plages" +msgstr "Seuil de bruit des plages" #: src/settings_translation_file.cpp msgid "Bilinear filtering" @@ -2634,31 +2627,31 @@ msgstr "Lissage du mouvement de la caméra en mode cinématique" #: src/settings_translation_file.cpp msgid "Camera update toggle key" -msgstr "Touche de mise à jour de la caméra" +msgstr "Touche mise à jour de la caméra" #: src/settings_translation_file.cpp msgid "Cave noise" -msgstr "Bruit des caves" +msgstr "Bruit de grottes" #: src/settings_translation_file.cpp msgid "Cave noise #1" -msgstr "Bruit de cave nº 1" +msgstr "Bruit de grottes nº 1" #: src/settings_translation_file.cpp msgid "Cave noise #2" -msgstr "Bruit de grotte nº 2" +msgstr "Bruit de grottes nº 2" #: src/settings_translation_file.cpp msgid "Cave width" -msgstr "Largeur de la grotte" +msgstr "Largeur des grottes" #: src/settings_translation_file.cpp msgid "Cave1 noise" -msgstr "Bruit des cave nº 1" +msgstr "Bruit de grottes nº 1" #: src/settings_translation_file.cpp msgid "Cave2 noise" -msgstr "Bruit des caves nº 2" +msgstr "Bruit de grottes nº 2" #: src/settings_translation_file.cpp msgid "Cavern limit" @@ -2666,11 +2659,11 @@ msgstr "Limite des cavernes" #: src/settings_translation_file.cpp msgid "Cavern noise" -msgstr "Bruit des caves" +msgstr "Bruit de cavernes" #: src/settings_translation_file.cpp msgid "Cavern taper" -msgstr "Conicité de la caverne" +msgstr "Conicité des cavernes" #: src/settings_translation_file.cpp msgid "Cavern threshold" @@ -2691,10 +2684,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Chat command time message threshold" -msgstr "Seuil du message de temps de commande de tchat" +msgstr "Seuil de message du temps de commande du tchat" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Commandes de tchat" @@ -2704,7 +2696,7 @@ msgstr "Taille de police du tchat" #: src/settings_translation_file.cpp msgid "Chat key" -msgstr "Tchatter" +msgstr "Touche tchat" #: src/settings_translation_file.cpp msgid "Chat log level" @@ -2712,11 +2704,11 @@ msgstr "Niveau du journal du tchat" #: src/settings_translation_file.cpp msgid "Chat message count limit" -msgstr "Limite du nombre de message de discussion" +msgstr "Limite du nombre de messages de tchat" #: src/settings_translation_file.cpp msgid "Chat message format" -msgstr "Format du message de tchat" +msgstr "Format de message du tchat" #: src/settings_translation_file.cpp msgid "Chat message kick threshold" @@ -2728,12 +2720,11 @@ msgstr "Longueur maximale d'un message de tchat" #: src/settings_translation_file.cpp msgid "Chat toggle key" -msgstr "Afficher le tchat" +msgstr "Touche afficher le tchat" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Tchat affiché" +msgstr "Liens web de tchat" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2745,7 +2736,7 @@ msgstr "Mode cinématique" #: src/settings_translation_file.cpp msgid "Cinematic mode key" -msgstr "Mode cinématique" +msgstr "Touche mode cinématique" #: src/settings_translation_file.cpp msgid "Clean transparent textures" @@ -2756,6 +2747,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Liens web cliquables (molette de la souris ou ctrl+clic gauche) activés dans " +"la sortie de la console de tchat." #: src/settings_translation_file.cpp msgid "Client" @@ -2819,7 +2812,7 @@ msgstr "" "« nonfree » peut être utilisé pour cacher les paquets non libres, comme " "défini par la Free Software Foundation.\n" "Vous pouvez aussi spécifier des classifications de contenu.\n" -"Ces drapeaux sont indépendants des versions de Minetest, consultez la liste " +"Ces drapeaux sont indépendants des versions de Minetest, consulter la liste " "complète à l'adresse https://content.minetest.net/help/content_flags/" #: src/settings_translation_file.cpp @@ -2843,39 +2836,32 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Command key" -msgstr "Commande" +msgstr "Touche commande" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Niveau de compression Zlib à utiliser lors de la sauvegarde des mapblocks " -"sur le disque.\n" -"-1 - niveau de compression de Zlib par défaut\n" -"0 - aucune compression, le plus rapide\n" -"9 - meilleure compression, le plus lent\n" -"(les niveaux 1–3 utilisent la méthode « rapide », 4–9 utilisent la méthode " -"normale)" +"Niveau de compression à utiliser lors de la sauvegarde des mapblocks sur le " +"disque.\n" +"-1 - utilise le niveau de compression par défaut\n" +"0 - compression minimale, le plus rapide\n" +"9 - meilleure compression, le plus lent" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Niveau de compression Zlib à utiliser lors de l'envoi des mapblocks au " -"client.\n" -"-1 - niveau de compression de Zlib par défaut\n" -"0 - aucune compression, le plus rapide\n" -"9 - meilleure compression, le plus lent\n" -"(les niveaux 1–3 utilisent la méthode « rapide », 4–9 utilisent la méthode " -"normale)" +"Niveau de compression à utiliser lors de l'envoi des mapblocks au client.\n" +"-1 - utilise le niveau de compression par défaut\n" +"0 - compression minimale, le plus rapide\n" +"9 - meilleure compression, le plus lent" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2923,7 +2909,7 @@ msgid "" "Press the autoforward key again or the backwards movement to disable." msgstr "" "Mouvement continu en avant, activé par la touche d'avance automatique.\n" -"Appuyez à nouveau sur la touche d'avance automatique ou de recul pour le " +"Appuyer à nouveau sur la touche d'avance automatique ou de recul pour le " "désactiver." #: src/settings_translation_file.cpp @@ -2960,9 +2946,9 @@ msgid "" "intensive noise calculations." msgstr "" "Contrôle la largeur des tunnels, une valeur plus faible crée des tunnels " -"plus large.\n" -"Valeur >= 10,0 désactive complètement la génération de tunnel et évite\n" -"le calcul intensif de bruit." +"plus larges.\n" +"Valeur >= 10,0 désactive complètement la génération de tunnels et évite le " +"calcul intensif de bruit." #: src/settings_translation_file.cpp msgid "Crash message" @@ -2977,13 +2963,12 @@ msgid "Crosshair alpha" msgstr "Opacité du réticule" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Opacité du réticule (entre 0 et 255).\n" -"Contrôle également la couleur du réticule de l'objet" +"Cela contrôle également la couleur du réticule de l'objet." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3007,7 +2992,7 @@ msgstr "Dégâts" #: src/settings_translation_file.cpp msgid "Debug info toggle key" -msgstr "Infos de débogage" +msgstr "Touche infos de débogage" #: src/settings_translation_file.cpp msgid "Debug log file size threshold" @@ -3019,11 +3004,11 @@ msgstr "Niveau du journal de débogage" #: src/settings_translation_file.cpp msgid "Dec. volume key" -msgstr "Touche pour diminuer le volume" +msgstr "Touche réduire le volume" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." -msgstr "Diminuez ceci pour augmenter la résistance liquide au mouvement." +msgstr "Réduire ceci pour augmenter la résistance liquide au mouvement." #: src/settings_translation_file.cpp msgid "Dedicated server step" @@ -3062,14 +3047,13 @@ msgid "Default stack size" msgstr "Taille d’empilement par défaut" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" -"Définir la qualité du filtrage des ombres. Ceci simule l'effet d'ombres " -"douces en appliquant un disque PCF ou poisson mais utilise également plus de " +"Défini la qualité du filtrage des ombres. Cela simule l'effet d'ombres " +"douces en appliquant un disque PCF ou Poisson mais utilise également plus de " "ressources." #: src/settings_translation_file.cpp @@ -3101,7 +3085,7 @@ msgstr "Définit la structure des canaux fluviaux à grande échelle." #: src/settings_translation_file.cpp msgid "Defines location and terrain of optional hills and lakes." msgstr "" -"Définit l'emplacement et le terrain des collines facultatives et des lacs." +"Définit l'emplacement et le terrain des collines et des lacs optionnels." #: src/settings_translation_file.cpp msgid "Defines the base ground level." @@ -3144,7 +3128,7 @@ msgstr "Retard dans les blocs envoyés après la construction" #: src/settings_translation_file.cpp msgid "Delay showing tooltips, stated in milliseconds." -msgstr "Délai d'apparition des infobulles, établie en millisecondes." +msgstr "Délai d'apparition des infobulles, établi en millisecondes." #: src/settings_translation_file.cpp msgid "Deprecated Lua API handling" @@ -3156,7 +3140,7 @@ msgstr "Profondeur en-dessous de laquelle se trouvent les grandes cavernes." #: src/settings_translation_file.cpp msgid "Depth below which you'll find large caves." -msgstr "Profondeur en-dessous duquel se trouvent de grandes caves." +msgstr "Profondeur en-dessous duquel se trouvent de grandes grottes." #: src/settings_translation_file.cpp msgid "" @@ -3168,7 +3152,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Desert noise threshold" -msgstr "Seuil du bruit pour le désert" +msgstr "Seuil de bruit des déserts" #: src/settings_translation_file.cpp msgid "" @@ -3185,7 +3169,7 @@ msgstr "Désynchroniser les textures animées par mapblock" #: src/settings_translation_file.cpp msgid "Dig key" -msgstr "Touche pour creuser" +msgstr "Touche creuser" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3201,7 +3185,7 @@ msgstr "Refuser les mots de passe vides" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Facteur d'échelle de la densité d'affichage" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3213,11 +3197,11 @@ msgstr "Double-appui sur « saut » pour voler" #: src/settings_translation_file.cpp msgid "Double-tapping the jump key toggles fly mode." -msgstr "Double-appui sur « saut » pour voler." +msgstr "Double-appui sur la touche « saut » pour voler." #: src/settings_translation_file.cpp msgid "Drop item key" -msgstr "Lâcher" +msgstr "Touche lâcher un objet" #: src/settings_translation_file.cpp msgid "Dump the mapgen debug information." @@ -3233,7 +3217,7 @@ msgstr "Minimum Y des donjons" #: src/settings_translation_file.cpp msgid "Dungeon noise" -msgstr "Bruit de donjon" +msgstr "Bruit de donjons" #: src/settings_translation_file.cpp msgid "" @@ -3252,7 +3236,6 @@ msgstr "" "Ce support est expérimental et l'API peut changer." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " @@ -3263,7 +3246,6 @@ msgstr "" "Sinon, utilise le filtrage PCF." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." @@ -3310,8 +3292,7 @@ msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" -"Active la confirmation d'enregistrement lorsque vous vous connectez à un " -"serveur.\n" +"Active la confirmation d'enregistrement lors de la connexion à un serveur.\n" "Si cette option est désactivée, le nouveau compte sera créé automatiquement." #: src/settings_translation_file.cpp @@ -3458,7 +3439,7 @@ msgstr "Chemin de police alternative" #: src/settings_translation_file.cpp msgid "Fast key" -msgstr "Mode rapide" +msgstr "Touche mode rapide" #: src/settings_translation_file.cpp msgid "Fast mode acceleration" @@ -3530,8 +3511,8 @@ msgstr "Filtrage" #: src/settings_translation_file.cpp msgid "First of 4 2D noises that together define hill/mountain range height." msgstr "" -"Le premier des 4 bruits 2D qui définissent la hauteur des collines et " -"montagnes." +"Le premier des 4 bruits 2D qui définissent ensemble la hauteur des collines " +"et des montagnes." #: src/settings_translation_file.cpp msgid "First of two 3D noises that together define tunnels." @@ -3575,7 +3556,7 @@ msgstr "Niveau d'eau des terrains flottants" #: src/settings_translation_file.cpp msgid "Fly key" -msgstr "Voler" +msgstr "Touche voler" #: src/settings_translation_file.cpp msgid "Flying" @@ -3591,7 +3572,7 @@ msgstr "Début du brouillard" #: src/settings_translation_file.cpp msgid "Fog toggle key" -msgstr "Brouillard" +msgstr "Touche brouillard" #: src/settings_translation_file.cpp msgid "Font bold by default" @@ -3611,7 +3592,7 @@ msgstr "Opacité de l'ombre de la police" #: src/settings_translation_file.cpp msgid "Font size" -msgstr "Taille de la police" +msgstr "Taille de police" #: src/settings_translation_file.cpp msgid "Font size of the default font in point (pt)." @@ -3619,15 +3600,16 @@ msgstr "La taille de police par défaut en point (pt)." #: src/settings_translation_file.cpp msgid "Font size of the monospace font in point (pt)." -msgstr "Taille de la police monospace en point (pt)." +msgstr "Taille de police monospace en point (pt)." #: src/settings_translation_file.cpp msgid "" "Font size of the recent chat text and chat prompt in point (pt).\n" "Value 0 will use the default font size." msgstr "" -"Taille de police (en pt) des messages récents et du curseur.\n" -"La valeur 0 correspond à la taille par défaut." +"Taille de police des messages récents de tchat et de l'invité de tchat en " +"point (pt).\n" +"La valeur 0 utilise la taille de police par défaut." #: src/settings_translation_file.cpp msgid "" @@ -3636,7 +3618,7 @@ msgid "" "@name, @message, @timestamp (optional)" msgstr "" "Format des messages de tchat des joueurs. Substituts valides :\n" -"@name, @message, @timestamp (facultatif)" +"@name, @message, @timestamp (optionnel)" #: src/settings_translation_file.cpp msgid "Format of screenshots." @@ -3677,13 +3659,13 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Forward key" -msgstr "Avancer" +msgstr "Touche avancer" #: src/settings_translation_file.cpp msgid "Fourth of 4 2D noises that together define hill/mountain range height." msgstr "" -"Le quatrième des 4 bruits 2D qui définissent la hauteur des collines et " -"montagnes." +"Le quatrième des 4 bruits 2D qui définissent ensemble la hauteur des " +"collines et des montagnes." #: src/settings_translation_file.cpp msgid "Fractal type" @@ -3722,12 +3704,12 @@ msgid "" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" "Distance maximale à laquelle les clients ont connaissance des objets, " -"définie en mapblocks (16 nœuds).\n" +"établie en mapblocks (16 nœuds).\n" "\n" -"Si vous définissez une valeur supérieure à « active_block_range », le " -"serveur va maintenir les objets actifs jusqu’à cette distance dans la " -"direction où un joueur regarde (cela peut éviter que des mobs disparaissent " -"soudainement de la vue)." +"Définir cela plus grand que « active_block_range », ainsi le serveur va " +"maintenir les objets actifs jusqu’à cette distance dans la direction où un " +"joueur regarde (cela peut éviter que des mobs disparaissent soudainement de " +"la vue)." #: src/settings_translation_file.cpp msgid "Full screen" @@ -3756,7 +3738,6 @@ msgid "Global callbacks" msgstr "Rappels globaux" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" @@ -3797,7 +3778,7 @@ msgstr "Niveau du sol" #: src/settings_translation_file.cpp msgid "Ground noise" -msgstr "Bruit pour la boue" +msgstr "Bruit au sol" #: src/settings_translation_file.cpp msgid "HTTP mods" @@ -3805,11 +3786,11 @@ msgstr "Mods HTTP" #: src/settings_translation_file.cpp msgid "HUD scale factor" -msgstr "Facteur mise à l'échelle du HUD" +msgstr "Facteur de mise à l'échelle de l'interface" #: src/settings_translation_file.cpp msgid "HUD toggle key" -msgstr "HUD" +msgstr "Touche HUD" #: src/settings_translation_file.cpp msgid "" @@ -3873,19 +3854,19 @@ msgstr "Seuil des collines" #: src/settings_translation_file.cpp msgid "Hilliness1 noise" -msgstr "Bruit de collines1" +msgstr "Bruit de collines nº 1" #: src/settings_translation_file.cpp msgid "Hilliness2 noise" -msgstr "Bruit de collines2" +msgstr "Bruit de collines nº 2" #: src/settings_translation_file.cpp msgid "Hilliness3 noise" -msgstr "Bruit de collines3" +msgstr "Bruit de collines nº 3" #: src/settings_translation_file.cpp msgid "Hilliness4 noise" -msgstr "Bruit de collines4" +msgstr "Bruit de collines nº 4" #: src/settings_translation_file.cpp msgid "Homepage of server, to be displayed in the serverlist." @@ -3925,131 +3906,131 @@ msgstr "Touche précédent sur la barre d'actions" #: src/settings_translation_file.cpp msgid "Hotbar slot 1 key" -msgstr "Touche de l'emplacement 1 de la barre d'action" +msgstr "Touche emplacement 1 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 10 key" -msgstr "Touche de l'emplacement 10 de la barre d'action" +msgstr "Touche emplacement 10 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 11 key" -msgstr "Touche de l'emplacement 11 de la barre d'action" +msgstr "Touche emplacement 11 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 12 key" -msgstr "Touche de l'emplacement 12 de la barre d'action" +msgstr "Touche emplacement 12 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 13 key" -msgstr "Touche de l'emplacement 13 de la barre d'action" +msgstr "Touche emplacement 13 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 14 key" -msgstr "Touche de l'emplacement 14 de la barre d'action" +msgstr "Touche emplacement 14 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 15 key" -msgstr "Touche de l'emplacement 15 de la barre d'action" +msgstr "Touche emplacement 15 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 16 key" -msgstr "Touche de l'emplacement 16 de la barre d'action" +msgstr "Touche emplacement 16 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 17 key" -msgstr "Touche de l'emplacement 17 de la barre d'action" +msgstr "Touche emplacement 17 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 18 key" -msgstr "Touche de l'emplacement 18 de la barre d'action" +msgstr "Touche emplacement 18 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 19 key" -msgstr "Touche de l'emplacement 19 de la barre d'action" +msgstr "Touche emplacement 19 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 2 key" -msgstr "Touche de l'emplacement 2 de la barre d'action" +msgstr "Touche emplacement 2 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 20 key" -msgstr "Touche de l'emplacement 20 de la barre d'action" +msgstr "Touche emplacement 20 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 21 key" -msgstr "Touche de l'emplacement 21 de la barre d'action" +msgstr "Touche emplacement 21 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 22 key" -msgstr "Touche de l'emplacement 22 de la barre d'action" +msgstr "Touche emplacement 22 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 23 key" -msgstr "Touche de l'emplacement 23 de la barre d'action" +msgstr "Touche emplacement 23 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 24 key" -msgstr "Touche de l'emplacement 24 de la barre d'action" +msgstr "Touche emplacement 24 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 25 key" -msgstr "Touche de l'emplacement 25 de la barre d'action" +msgstr "Touche emplacement 25 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 26 key" -msgstr "Touche de l'emplacement 26 de la barre d'action" +msgstr "Touche emplacement 26 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 27 key" -msgstr "Touche de l'emplacement 27 de la barre d'action" +msgstr "Touche emplacement 27 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 28 key" -msgstr "Touche de l'emplacement 28 de la barre d'action" +msgstr "Touche emplacement 28 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 29 key" -msgstr "Touche de l'emplacement 29 de la barre d'action" +msgstr "Touche emplacement 29 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 3 key" -msgstr "Touche de l'emplacement 3 de la barre d'action" +msgstr "Touche emplacement 3 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 30 key" -msgstr "Touche de l'emplacement 30 de la barre d'action" +msgstr "Touche emplacement 30 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 31 key" -msgstr "Touche de l'emplacement 31 de la barre d'action" +msgstr "Touche emplacement 31 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 32 key" -msgstr "Touche de l'emplacement 32 de la barre d'action" +msgstr "Touche emplacement 32 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 4 key" -msgstr "Touche de l'emplacement 4 de la barre d'action" +msgstr "Touche emplacement 4 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 5 key" -msgstr "Touche de l'emplacement 5 de la barre d'action" +msgstr "Touche emplacement 5 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 6 key" -msgstr "Touche de l'emplacement 6 de la barre d'action" +msgstr "Touche emplacement 6 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 7 key" -msgstr "Touche de l'emplacement 7 de la barre d'action" +msgstr "Touche emplacement 7 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 8 key" -msgstr "Touche de l'emplacement 8 de la barre d'action" +msgstr "Touche emplacement 8 de la barre d'action" #: src/settings_translation_file.cpp msgid "Hotbar slot 9 key" -msgstr "Touche de l'emplacement 9 de la barre d'action" +msgstr "Touche emplacement 9 de la barre d'action" #: src/settings_translation_file.cpp msgid "How deep to make rivers." @@ -4086,11 +4067,11 @@ msgstr "Bruit de mélange de l'humidité" #: src/settings_translation_file.cpp msgid "Humidity noise" -msgstr "Bruit d'humidité" +msgstr "Bruit de l'humidité" #: src/settings_translation_file.cpp msgid "Humidity variation for biomes." -msgstr "Variation d'humidité pour les biomes." +msgstr "Variation de l'humidité pour les biomes." #: src/settings_translation_file.cpp msgid "IPv6" @@ -4192,8 +4173,7 @@ msgid "" "This is helpful when working with nodeboxes in small areas." msgstr "" "Si activé, vous pourrez placer des blocs à la position où vous êtes.\n" -"C'est utile quand vous travaillez avec des modèles nodebox dans des zones " -"exiguës." +"C'est utile pour travailler avec des modèles nodebox dans des zones exiguës." #: src/settings_translation_file.cpp msgid "" @@ -4209,7 +4189,7 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" -"Si l'exécution d'une commande de chat prend plus de temps que cette durée " +"Si l'exécution d'une commande de tchat prend plus de temps que cette durée " "spécifiée en secondes, ajoute les informations de temps au message de la " "commande de tchat." @@ -4250,11 +4230,11 @@ msgstr "Couleur de l'arrière-plan de la console de tchat dans le jeu (R,V,B)." #: src/settings_translation_file.cpp msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." msgstr "" -"Hauteur de la console de tchat dans le jeu, entre 0,1 (10 %) et 1,0 (100 %)." +"Hauteur de la console de tchat dans le jeu, entre 0,1 (10 %) et 1,0 (100 %)." #: src/settings_translation_file.cpp msgid "Inc. volume key" -msgstr "Touche d'augmentation de volume" +msgstr "Touche augmenter le volume" #: src/settings_translation_file.cpp msgid "Initial vertical speed when jumping, in nodes per second." @@ -4270,7 +4250,6 @@ msgstr "" "noyau" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." msgstr "Instrument d'enregistrement des commandes de tchat." @@ -4307,8 +4286,8 @@ msgstr "Instrumentalisation" #: src/settings_translation_file.cpp msgid "Interval of saving important changes in the world, stated in seconds." msgstr "" -"Intervalle de sauvegarde des changements importants dans le monde, établie " -"en secondes." +"Intervalle de sauvegarde des changements importants dans le monde, établi en " +"secondes." #: src/settings_translation_file.cpp msgid "Interval of sending time of day to clients." @@ -4320,7 +4299,7 @@ msgstr "Animation des items d'inventaire" #: src/settings_translation_file.cpp msgid "Inventory key" -msgstr "Touche d'inventaire" +msgstr "Touche inventaire" #: src/settings_translation_file.cpp msgid "Invert mouse" @@ -4340,7 +4319,7 @@ msgstr "Chemin de la police Italique Monospace" #: src/settings_translation_file.cpp msgid "Item entity TTL" -msgstr "Durée de vie des items abandonnés" +msgstr "Temps de vie des entités objets" #: src/settings_translation_file.cpp msgid "Iterations" @@ -4354,7 +4333,7 @@ msgid "" "At iterations = 20 this mapgen has a similar load to mapgen V7." msgstr "" "Itérations de la fonction récursive.\n" -"L'augmenter augmente la quantité de détails, mais également la charge du " +"L'augmenter, augmente la quantité de détails, mais également la charge du " "processeur.\n" "Quand itérations = 20 cette méthode de génération est aussi gourmande en " "ressources que la méthode v7." @@ -4368,7 +4347,6 @@ msgid "Joystick button repetition interval" msgstr "Intervalle de répétition des boutons de la manette" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Zone morte de la manette" @@ -4448,7 +4426,7 @@ msgstr "Julia z" #: src/settings_translation_file.cpp msgid "Jump key" -msgstr "Sauter" +msgstr "Touche sauter" #: src/settings_translation_file.cpp msgid "Jumping speed" @@ -4460,7 +4438,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour diminuer le champ de vision.\n" +"Touche pour réduire la distance d'affichage.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4470,7 +4448,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour diminuer le volume.\n" +"Touche pour réduire le volume.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4490,7 +4468,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour jeter l'objet sélectionné.\n" +"Touche pour lâcher l'objet sélectionné.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4500,7 +4478,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour accroitre le champ de vision.\n" +"Touche pour augmenter la distance d'affichage.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4541,7 +4519,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour faire reculer le joueur.\n" +"Touche pour déplacer le joueurs en arrière.\n" "Désactive également l’avance automatique, lorsqu’elle est active.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4592,7 +4570,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour ouvrir la fenêtre du tchat pour entrer des commandes.\n" +"Touche pour ouvrir la fenêtre de tchat pour entrer des commandes.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4602,7 +4580,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour ouvrir la fenêtre du tchat pour entrer des commandes locales.\n" +"Touche pour ouvrir la fenêtre de tchat pour entrer des commandes locales.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4642,7 +4620,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour sélectionner le prochain item dans la barre d'action.\n" +"Touche pour sélectionner la 11ᵉ case de la barre d'action.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4782,7 +4760,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour sélectionner la 30ᵉ case de la barre d'action.\n" +"Touche pour sélectionner la 25ᵉ case de la barre d'action.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4902,7 +4880,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour sélectionner le prochain item dans la barre d'action.\n" +"Touche pour sélectionner l'objet suivant dans la barre d'action.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4922,7 +4900,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour sélectionner l'item précédent dans la barre d'action.\n" +"Touche pour sélectionner l'objet précédent dans la barre d'action.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4972,7 +4950,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour sélectionner le prochain item dans la barre d'action.\n" +"Touche pour sélectionner la troisième case de la barre d'action.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -4996,7 +4974,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour changer de vue entre la 1ère et 3ème personne.\n" +"Touche pour changer de vue entre la première et troisième personne.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5076,7 +5054,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Toucher pour passer en mode de direction libre.\n" +"Touche pour passer en mode de direction libre.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5127,7 +5105,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour afficher/masquer le HUD ( Affichage tête haute).\n" +"Touche pour afficher/masquer le HUD (affichage tête haute).\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5167,7 +5145,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Touche pour zoomer (lorsque c'est possible).\n" +"Touche pour zoomer si possible.\n" "Voir http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5190,7 +5168,7 @@ msgstr "Langue" #: src/settings_translation_file.cpp msgid "Large cave depth" -msgstr "Profondeur des grandes caves" +msgstr "Profondeur de grandes grottes" #: src/settings_translation_file.cpp msgid "Large cave maximum number" @@ -5206,11 +5184,11 @@ msgstr "Proportion de grandes grottes inondées" #: src/settings_translation_file.cpp msgid "Large chat console key" -msgstr "Touche de grande console de tchat" +msgstr "Touche grande console de tchat" #: src/settings_translation_file.cpp msgid "Leaves style" -msgstr "Apparence des feuilles d'arbres" +msgstr "Apparence des feuilles" #: src/settings_translation_file.cpp msgid "" @@ -5269,7 +5247,7 @@ msgid "" "- verbose" msgstr "" "Niveau de journalisation à écrire dans « debug.txt » :\n" -"–  (pas de journalisation)\n" +"– < rien > (pas de journalisation)\n" "– aucun (messages sans niveau)\n" "– erreur\n" "– avertissement\n" @@ -5427,8 +5405,8 @@ msgid "" "ocean, islands and underground." msgstr "" "Attributs spécifiques au générateur de terrain fractal.\n" -"« terrain » active la création de terrain non fractal : océan, îles et " -"souterrain." +"« terrain » active la création de terrains non fractals : océans, îles et " +"souterrains." #: src/settings_translation_file.cpp msgid "" @@ -5473,20 +5451,19 @@ msgstr "" "« montagnes » : montagnes.\n" "« crêtes » : rivières.\n" "« terrains flottants » : vaste terrain flottant dans l'atmosphère.\n" -"« cavernes » : grottes immenses et profondes." +"« cavernes » : cavernes immenses souterraines profondes." #: src/settings_translation_file.cpp msgid "Map generation limit" -msgstr "Limites de génération du terrain" +msgstr "Limite de génération du terrain" #: src/settings_translation_file.cpp msgid "Map save interval" msgstr "Intervalle de sauvegarde de la carte" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Intervalle de mise à jour de la carte" +msgstr "Images de mise à jour des ombres de la carte" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5562,7 +5539,7 @@ msgstr "Drapeaux spécifiques au générateur de terrain vallées" #: src/settings_translation_file.cpp msgid "Mapgen debug" -msgstr "Débogage de la génération du terrain" +msgstr "Débogage de la génération de terrain" #: src/settings_translation_file.cpp msgid "Mapgen name" @@ -5687,7 +5664,7 @@ msgid "" "client number." msgstr "" "Nombre maximal de paquets envoyés par étape d'envoi. Si vous avez une " -"connexion lente, essayez de réduire cette valeur, mais réduisez pas cette " +"connexion lente, essayer de réduire cette valeur, mais ne pas réduire cette " "valeur en-dessous du double du nombre de clients maximum sur le serveur." #: src/settings_translation_file.cpp @@ -5737,7 +5714,7 @@ msgid "" "milliseconds." msgstr "" "Durée maximale qu'un téléchargement de fichier (ex. : un téléchargement de " -"mod) peut prendre, exprimée en millisecondes." +"mod) peut prendre, établie en millisecondes." #: src/settings_translation_file.cpp msgid "" @@ -5745,7 +5722,7 @@ msgid "" "stated in milliseconds." msgstr "" "Durée maximale qu'une requête interactive (ex. : récupération de la liste de " -"serveurs) peut prendre, exprimée en millisecondes." +"serveurs) peut prendre, établie en millisecondes." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5781,7 +5758,7 @@ msgstr "Mini-carte" #: src/settings_translation_file.cpp msgid "Minimap key" -msgstr "Mini-carte" +msgstr "Touche mini-carte" #: src/settings_translation_file.cpp msgid "Minimap scan height" @@ -5808,9 +5785,8 @@ msgid "Mod channels" msgstr "Canaux de mods" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "Modifie la taille des éléments de la barre d'action principale." +msgstr "Modifie la taille des éléments de l'interface." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -5818,7 +5794,7 @@ msgstr "Chemin de la police Monospace" #: src/settings_translation_file.cpp msgid "Monospace font size" -msgstr "Taille de la police Monospace" +msgstr "Taille de police monospace" #: src/settings_translation_file.cpp msgid "Mountain height noise" @@ -5826,7 +5802,7 @@ msgstr "Bruit de hauteur des montagnes" #: src/settings_translation_file.cpp msgid "Mountain noise" -msgstr "Bruit pour les montagnes" +msgstr "Bruit des montagnes" #: src/settings_translation_file.cpp msgid "Mountain variation noise" @@ -5846,7 +5822,7 @@ msgstr "Facteur de sensibilité de la souris." #: src/settings_translation_file.cpp msgid "Mud noise" -msgstr "Bruit pour la boue" +msgstr "Bruit de boue" #: src/settings_translation_file.cpp msgid "" @@ -5858,7 +5834,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Mute key" -msgstr "Touche pour rendre le jeu muet" +msgstr "Touche muet" #: src/settings_translation_file.cpp msgid "Mute sound" @@ -5873,7 +5849,7 @@ msgid "" msgstr "" "Nom du générateur de terrain qui sera utilisé à la création d’un nouveau " "monde.\n" -"Cela sera perdu à la création d'un monde depuis le menu principal.\n" +"La création d'un monde depuis le menu principal le remplacera.\n" "Les générateurs de terrain actuellement très instables sont :\n" "– Les terrains flottants optionnels du générateur v7 (désactivé par défaut)." @@ -5884,9 +5860,9 @@ msgid "" "When starting from the main menu, this is overridden." msgstr "" "Nom du joueur.\n" -"Lors qu'un serveur est lancé, les clients se connectant avec ce nom sont " +"Lorsqu'un serveur est lancé, les clients se connectant avec ce nom sont " "administrateurs.\n" -"Lorsque vous démarrez à partir du menu principal, celui-ci est remplacé." +"Lors du démarrage à partir du menu principal, celui-ci est remplacé." #: src/settings_translation_file.cpp msgid "" @@ -5921,7 +5897,7 @@ msgstr "Sans collision" #: src/settings_translation_file.cpp msgid "Noclip key" -msgstr "Mode sans collision" +msgstr "Touche mode sans collision" #: src/settings_translation_file.cpp msgid "Node highlighting" @@ -5967,17 +5943,16 @@ msgstr "" "être « 1 »." #: src/settings_translation_file.cpp -#, fuzzy 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 "" -"Nombre d'extra-mapblocks qui peuvent être chargés par « /clearobjects » dans " -"l'immédiat.\n" -"C'est un compromis entre un transfert SQLite plafonné et la consommation " -"mémoire\n" -"(4096 = 100 Mo, comme règle fondamentale)." +"Nombre de blocs supplémentaires qui peuvent être chargés par « /clearobjects " +"» à la fois.\n" +"C'est un compromis entre la surcharge de transaction SQLite et la " +"consommation mémoire\n" +"(4096 = 100 Mo, comme règle générale)." #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -6004,7 +5979,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Remplacement optionnel pour la couleur du lien web du tchat." #: src/settings_translation_file.cpp msgid "" @@ -6080,7 +6055,7 @@ msgstr "Limite par joueur de blocs en attente à charger depuis le disque" #: src/settings_translation_file.cpp msgid "Per-player limit of queued blocks to generate" -msgstr "Limite par joueur des blocs émergents à créer" +msgstr "Limite par joueur de la file de blocs à générer" #: src/settings_translation_file.cpp msgid "Physics" @@ -6088,7 +6063,7 @@ msgstr "Physique" #: src/settings_translation_file.cpp msgid "Pitch move key" -msgstr "Touche de vol libre" +msgstr "Touche vol libre" #: src/settings_translation_file.cpp msgid "Pitch move mode" @@ -6096,7 +6071,7 @@ msgstr "Mode de mouvement libre" #: src/settings_translation_file.cpp msgid "Place key" -msgstr "Touche pour placer" +msgstr "Touche placer" #: src/settings_translation_file.cpp msgid "Place repetition interval" @@ -6132,16 +6107,16 @@ msgid "" "Note that the port field in the main menu overrides this setting." msgstr "" "Port où se connecter (UDP).\n" -"Notez que le champ de port dans le menu principal passe outre ce paramètre." +"Noter que le champ de port dans le menu principal passe outre ce paramètre." #: src/settings_translation_file.cpp msgid "" "Prevent digging and placing from repeating when holding the mouse buttons.\n" "Enable this when you dig or place too often by accident." msgstr "" -"Empêche le minage et le placement de se répéter lorsque vous maintenez les " -"boutons de la souris.\n" -"Activez cette option lorsque vous creusez ou placez trop souvent par " +"Empêche le minage et le placement de se répéter lors du maintien des boutons " +"de la souris.\n" +"Activer cette option lorsque vous creusez ou placez trop souvent par " "accident." #: src/settings_translation_file.cpp @@ -6171,7 +6146,7 @@ msgstr "Profileur" #: src/settings_translation_file.cpp msgid "Profiler toggle key" -msgstr "Profilage" +msgstr "Touche profilage" #: src/settings_translation_file.cpp msgid "Profiling" @@ -6182,7 +6157,6 @@ msgid "Prometheus listener address" msgstr "Adresse d'écoute pour Prometheus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6190,9 +6164,9 @@ msgid "" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Adresse d'écoute pour Prometheus.\n" -"Lorsque Minetest est compilé avec l'option ENABLE_PROMETHEUS, cette adresse " -"est utilisée pour l'écoute de données pour Prometheus.\n" -"Les données sont sur http://127.0.0.1:30000/metrics" +"Lorsque Minetest est compilé avec l'option « ENABLE_PROMETHEUS », cette " +"adresse est utilisée pour l'écoute de données pour Prometheus.\n" +"Les métriques peuvent être récupérées sur http://127.0.0.1:30000/metrics" #: src/settings_translation_file.cpp msgid "Proportion of large caves that contain liquid." @@ -6204,9 +6178,9 @@ msgid "" "Values larger than 26 will start to produce sharp cutoffs at cloud area " "corners." msgstr "" -"Rayon de l'aire des nuages où se trouve 64 blocs carrés de nuages.\n" -"Les valeurs plus grandes que 26 entraînent une « coupure » nette des nuages " -"aux coins de l'aire." +"Rayon de la zone de nuages établi en nombre de 64 blocs de nuages carrés.\n" +"Les valeurs plus grandes que 26 entraînent une coupure nette des nuages aux " +"coins des zones de nuages." #: src/settings_translation_file.cpp msgid "Raises terrain to make valleys around the rivers." @@ -6218,7 +6192,7 @@ msgstr "Entrée aléatoire" #: src/settings_translation_file.cpp msgid "Range select key" -msgstr "Distance d'affichage illimitée" +msgstr "Touche distance d'affichage illimitée" #: src/settings_translation_file.cpp msgid "Recent Chat Messages" @@ -6242,7 +6216,7 @@ msgid "" "Use this to stop players from being able to use color in their messages" msgstr "" "Supprime les codes couleurs venant des messages du tchat\n" -"Utilisez cette option pour empêcher les joueurs d’utiliser la couleur dans " +"Utiliser cette option pour empêcher les joueurs d’utiliser la couleur dans " "leurs messages" #: src/settings_translation_file.cpp @@ -6283,19 +6257,19 @@ msgstr "Bruit pour l'espacement des crêtes de montagnes" #: src/settings_translation_file.cpp msgid "Ridge noise" -msgstr "Bruit pour les crêtes" +msgstr "Bruit des crêtes" #: src/settings_translation_file.cpp msgid "Ridge underwater noise" -msgstr "Bruit pour les crêtes sous l'eau" +msgstr "Bruit des crêtes sous l'eau" #: src/settings_translation_file.cpp msgid "Ridged mountain size noise" -msgstr "Bruit pour la taille des crêtes de montagne" +msgstr "Bruit de la taille des crêtes de montagnes" #: src/settings_translation_file.cpp msgid "Right key" -msgstr "Droite" +msgstr "Touche droite" #: src/settings_translation_file.cpp msgid "River channel depth" @@ -6311,7 +6285,7 @@ msgstr "Profondeur des rivières" #: src/settings_translation_file.cpp msgid "River noise" -msgstr "Bruit pour les rivières" +msgstr "Bruit des rivières" #: src/settings_translation_file.cpp msgid "River size" @@ -6357,7 +6331,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Saving map received from server" -msgstr "Sauvegarder le monde du serveur" +msgstr "Sauvegarde de la carte reçue du serveur" #: src/settings_translation_file.cpp msgid "" @@ -6401,21 +6375,21 @@ msgid "" msgstr "" "Qualité de capture d'écran. Utilisé uniquement pour le format JPEG.\n" "1 signifie mauvaise qualité ; 100 signifie la meilleure qualité.\n" -"Utilisez 0 pour la qualité par défaut." +"Utiliser 0 pour la qualité par défaut." #: src/settings_translation_file.cpp msgid "Seabed noise" -msgstr "Bruit pour les fonds marins" +msgstr "Bruit des fonds marins" #: src/settings_translation_file.cpp msgid "Second of 4 2D noises that together define hill/mountain range height." msgstr "" -"Deuxième des 4 bruits 2D qui définissent ensemble la taille des collines et " -"montagnes." +"Deuxième des 4 bruits 2D qui définissent ensemble la hauteur des collines et " +"des montagnes." #: src/settings_translation_file.cpp msgid "Second of two 3D noises that together define tunnels." -msgstr "Deuxième des 2 bruits 3D qui définissent ensemble les tunnels." +msgstr "Deuxième des deux bruits 3D qui définissent ensemble les tunnels." #: src/settings_translation_file.cpp msgid "Security" @@ -6539,7 +6513,6 @@ msgstr "" "élevée signifie des ombres plus sombres." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" @@ -6548,18 +6521,17 @@ msgstr "" "Définit la taille du rayon de l'ombre douce.\n" "Les valeurs les plus faibles signifient des ombres plus nettes, les valeurs " "les plus élevées des ombres plus douces.\n" -"Valeur minimale 1,0 et maximale 10,0." +"Valeur minimale : 1,0 ; valeur maximale : 10,0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" -"Définit l'inclinaison de l'orbite du soleil/lune en degrés.\n" -"La valeur de 0 signifie aucune inclinaison/orbite verticale.\n" -"Valeur minimale 0,0 et maximale 60,0." +"Définit l'inclinaison de l'orbite du soleil / lune en degrés.\n" +"La valeur de 0 signifie aucune inclinaison / orbite verticale.\n" +"Valeur minimale : 0,0 ; valeur maximale : 60,0" #: src/settings_translation_file.cpp msgid "" @@ -6625,15 +6597,15 @@ msgstr "Qualité du filtre d’ombre" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" msgstr "" -"Distance maximale de la « shadow map » en nœuds pour le rendu des ombres" +"Distance maximale de la carte des ombres en nœuds pour le rendu des ombres" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "Texture de la « shadow map » en 32 bits" +msgstr "Texture de la carte des ombres en 32 bits" #: src/settings_translation_file.cpp msgid "Shadow map texture size" -msgstr "Taille de la texture de la « shadow map »" +msgstr "Taille de la texture de la carte des ombres" #: src/settings_translation_file.cpp msgid "" @@ -6668,7 +6640,6 @@ msgstr "" "Un redémarrage est nécessaire après cette modification." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" msgstr "Afficher l'arrière-plan des badges par défaut" @@ -6685,8 +6656,8 @@ msgid "" "Altering this value is for special usage, leaving it unchanged is\n" "recommended." msgstr "" -"Taille des mapchunks générés à la création de terrain, définie en mapblocks " -"(16 nœuds).\n" +"Taille des mapchunks générés à la création de terrain, établie en mapblocks (" +"16 nœuds).\n" "ATTENTION ! : Il n’y a aucun avantage, et plusieurs dangers, à augmenter " "cette valeur au-dessus de 5.\n" "Réduire cette valeur augmente la densité de cavernes et de donjons.\n" @@ -6727,7 +6698,8 @@ msgstr "Nombre minimal de petites grottes" #: src/settings_translation_file.cpp msgid "Small-scale humidity variation for blending biomes on borders." msgstr "" -"Variation d'humidité de petite échelle pour la transition entre les biomes." +"Variation de l'humidité de petite échelle pour la transition entre les " +"biomes." #: src/settings_translation_file.cpp msgid "Small-scale temperature variation for blending biomes on borders." @@ -6758,7 +6730,7 @@ msgstr "Lisse la rotation de la caméra. 0 pour désactiver." #: src/settings_translation_file.cpp msgid "Sneak key" -msgstr "Déplacement lent" +msgstr "Touche déplacement lent" #: src/settings_translation_file.cpp msgid "Sneaking speed" @@ -6808,6 +6780,11 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Réparti une mise à jour complète de la carte des ombres sur un nombre donné " +"d'images.\n" +"Des valeurs plus élevées peuvent rendre les ombres plus lentes, des valeurs " +"plus faibles consommeront plus de ressources.\n" +"Valeur minimale : 1 ; valeur maximale : 16" #: src/settings_translation_file.cpp msgid "" @@ -6825,15 +6802,15 @@ msgstr "Point d'apparition statique" #: src/settings_translation_file.cpp msgid "Steepness noise" -msgstr "Bruit pour les pentes" +msgstr "Bruit des pentes" #: src/settings_translation_file.cpp msgid "Step mountain size noise" -msgstr "Bruit pour la taille des montagnes en escalier" +msgstr "Bruit de la taille des montagnes en escalier" #: src/settings_translation_file.cpp msgid "Step mountain spread noise" -msgstr "Bruit pour l’étalement des montagnes en escalier" +msgstr "Bruit d'étalement des montagnes en escalier" #: src/settings_translation_file.cpp msgid "Strength of 3D mode parallax." @@ -6870,18 +6847,18 @@ msgid "" "server-intensive extreme water flow and to avoid vast flooding of the\n" "world surface below." msgstr "" -"Niveau de la surface de l'eau (facultatif) placée sur une couche solide de " +"Niveau de la surface de l'eau (optionnel) placée sur une couche solide de " "terrain flottant.\n" "L'eau est désactivée par défaut et ne sera placée que si cette valeur est " "définie à plus de « mgv7_floatland_ymax » - « mgv7_floatland_taper » (début " "de l’effilage du haut).\n" -"***ATTENTION, DANGER POTENTIEL AU MONDES ET AUX PERFORMANCES DES " -"SERVEURS*** :\n" +"***ATTENTION, DANGER POTENTIEL AU MONDES ET AUX PERFORMANCES DES SERVEURS*** " +":\n" "Lorsque le placement de l'eau est activé, les terrains flottants doivent " -"être configurés et vérifiés pour être une couche solide en mettant " -"« mgv7_floatland_density » à 2,0 (ou autre valeur dépendante de " -"« mgv7_np_floatland »), pour éviter les chutes d'eaux énormes qui " -"surchargent les serveurs et pourraient inonder les terres en dessous." +"être configurés et vérifiés pour être une couche solide en mettant « " +"mgv7_floatland_density » à 2,0 (ou autre valeur dépendante de « " +"mgv7_np_floatland »), pour éviter les chutes d'eaux énormes qui surchargent " +"les serveurs et pourraient inonder les terres en dessous." #: src/settings_translation_file.cpp msgid "Synchronous SQLite" @@ -6893,11 +6870,11 @@ msgstr "Variation de température pour les biomes." #: src/settings_translation_file.cpp msgid "Terrain alternative noise" -msgstr "Bruit alternatif pour le terrain" +msgstr "Bruit alternatif de terrain" #: src/settings_translation_file.cpp msgid "Terrain base noise" -msgstr "Bruit pour le terrain de base" +msgstr "Bruit de terrain de base" #: src/settings_translation_file.cpp msgid "Terrain height" @@ -6905,11 +6882,11 @@ msgstr "Hauteur du terrain" #: src/settings_translation_file.cpp msgid "Terrain higher noise" -msgstr "Bruit pour la hauteur du terrain" +msgstr "Bruit de hauteur du terrain" #: src/settings_translation_file.cpp msgid "Terrain noise" -msgstr "Bruit pour le terrain" +msgstr "Bruit de terrain" #: src/settings_translation_file.cpp msgid "" @@ -6918,7 +6895,7 @@ msgid "" "Adjust towards 0.0 for a larger proportion." msgstr "" "Seuil du bruit de relief pour les collines.\n" -"Contrôle la proportion sur la superficie d'un monde recouvert de collines.\n" +"Contrôle la proportion sur la zone d'un monde recouvert de collines.\n" "Ajuster vers 0,0 pour une plus grande proportion." #: src/settings_translation_file.cpp @@ -6928,25 +6905,24 @@ msgid "" "Adjust towards 0.0 for a larger proportion." msgstr "" "Seuil du bruit de relief pour les lacs.\n" -"Contrôle la proportion sur la superficie d'un monde recouvert de lacs.\n" +"Contrôle la proportion sur la zone d'un monde recouvert de lacs.\n" "Ajuster vers 0,0 pour une plus grande proportion." #: src/settings_translation_file.cpp msgid "Terrain persistence noise" -msgstr "Bruit du terrain persistant" +msgstr "Bruit de persistance du terrain" #: src/settings_translation_file.cpp msgid "Texture path" msgstr "Chemin des textures" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" -"Taille de la texture pour le rendu de la « shadow map ».\n" +"Taille de la texture pour le rendu de la carte des ombres.\n" "Il doit s'agir d'une puissance de deux.\n" "Les nombres plus grands créent de meilleures ombres, mais ils sont aussi " "plus coûteux." @@ -6965,7 +6941,7 @@ msgstr "" "dernier rend les escaliers et les microblocs mieux adaptés à " "l'environnement. Cependant, comme cette possibilité est nouvelle, elle ne " "peut donc pas être utilisée par les anciens serveurs, cette option permet de " -"l'appliquer pour certains types de nœuds. Notez cependant que c'est " +"l'appliquer pour certains types de nœuds. Noter cependant que c'est " "considéré comme EXPÉRIMENTAL et peut ne pas fonctionner correctement." #: src/settings_translation_file.cpp @@ -6973,7 +6949,6 @@ msgid "The URL for the content repository" msgstr "L'URL du dépôt de contenu en ligne" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "La zone morte de la manette" @@ -7045,9 +7020,9 @@ msgid "" "This should be configured together with active_object_send_range_blocks." msgstr "" "Le rayon du volume de blocs autour de chaque joueur soumis au bloc actif, " -"définie en mapblocks (16 nœuds).\n" -"Dans les blocs actifs, les objets sont chargés et les « ABMs » sont " -"exécutés.\n" +"établi en mapblocks (16 nœuds).\n" +"Dans les blocs actifs, les objets sont chargés et les « ABMs » sont exécutés." +"\n" "C'est également la distance minimale dans laquelle les objets actifs (mobs) " "sont conservés.\n" "Ceci devrait être configuré avec « active_object_send_range_blocks »." @@ -7063,14 +7038,13 @@ msgid "" msgstr "" "Le moteur de rendu.\n" "Un redémarrage est nécessaire après cette modification.\n" -"Remarque : Sur Android, restez avec OGLES1 en cas de doute ! Autrement, " +"Remarque : Sur Android, rester avec OGLES1 en cas de doute ! Autrement, " "l'application peut ne pas démarrer.\n" "Sur les autres plateformes, OpenGL est recommandé.\n" "Les shaders sont pris en charge par OpenGL (ordinateur de bureau uniquement) " "et OGLES2 (expérimental)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." @@ -7145,14 +7119,14 @@ msgstr "" msgid "Third of 4 2D noises that together define hill/mountain range height." msgstr "" "Le troisième des 4 bruits 2D qui définissent ensemble la hauteur des " -"collines et montagnes." +"collines et des montagnes." #: 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 "" -"Durée en secondes pendant laquelle les objets jetés sont présents.\n" +"Temps en secondes pour les entités objets (objets lâchés) à exister.\n" "Définir à -1 pour désactiver cette fonctionnalité." #: src/settings_translation_file.cpp @@ -7189,7 +7163,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Toggle camera mode key" -msgstr "Basculement en mode caméra" +msgstr "Touche basculer en mode caméra" #: src/settings_translation_file.cpp msgid "Tooltip delay" @@ -7201,7 +7175,7 @@ msgstr "Sensibilité de l'écran tactile" #: src/settings_translation_file.cpp msgid "Trees noise" -msgstr "Bruit pour les arbres" +msgstr "Bruit des arbres" #: src/settings_translation_file.cpp msgid "Trilinear filtering" @@ -7282,15 +7256,14 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Utilisation du filtrage bilinéaire." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" -"Utilise le mappage MIP pour mettre à l'échelle les textures.\n" -"Peut augmenter légèrement les performances, surtout si vous utilisez un pack " -"de textures haute résolution.\n" +"Utilise le mip-mapping pour mettre à l'échelle les textures.\n" +"Peut augmenter légèrement les performances, surtout lors de l'utilisation " +"d'un pack de textures haute résolution.\n" "La réduction d'échelle gamma correcte n'est pas prise en charge." #: src/settings_translation_file.cpp @@ -7331,7 +7304,7 @@ msgstr "Profondeur des vallées" #: src/settings_translation_file.cpp msgid "Valley fill" -msgstr "Comblement de vallée" +msgstr "Comblement des vallées" #: src/settings_translation_file.cpp msgid "Valley profile" @@ -7351,7 +7324,7 @@ msgstr "Variation de la hauteur maximale des montagnes (en blocs)." #: src/settings_translation_file.cpp msgid "Variation of number of caves." -msgstr "Variation du nombre de cavernes." +msgstr "Variation du nombre de grottes." #: src/settings_translation_file.cpp msgid "" @@ -7400,15 +7373,15 @@ msgstr "Distance d'affichage en blocs." #: src/settings_translation_file.cpp msgid "View range decrease key" -msgstr "Réduire la distance d'affichage" +msgstr "Touche réduire la distance d'affichage" #: src/settings_translation_file.cpp msgid "View range increase key" -msgstr "Augmenter la distance d'affichage" +msgstr "Touche augmenter la distance d'affichage" #: src/settings_translation_file.cpp msgid "View zoom key" -msgstr "Touche de vue du zoom" +msgstr "Touche zoomer" #: src/settings_translation_file.cpp msgid "Viewing range" @@ -7494,9 +7467,8 @@ msgid "Waving plants" msgstr "Plantes ondulantes" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Couleur des bords de sélection" +msgstr "Couleur du lien web" #: src/settings_translation_file.cpp msgid "" @@ -7522,7 +7494,6 @@ msgstr "" "matériel." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7539,7 +7510,7 @@ msgstr "" "moins floues. Ceci détermine la taille de la texture minimale pour les " "textures agrandies ; les valeurs plus hautes rendent plus détaillées, mais " "nécessitent plus de mémoire. Les puissances de 2 sont recommandées. Ce " -"paramètre s'applique uniquement si le filtrage bilinéaire/trilinéaire/" +"paramètre est appliqué uniquement si le filtrage bilinéaire/trilinéaire/" "anisotrope est activé.\n" "Ceci est également utilisée comme taille de texture de nœud par défaut pour " "l'agrandissement des textures basé sur le monde." @@ -7556,7 +7527,6 @@ msgstr "" "remplacement." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." @@ -7586,7 +7556,8 @@ msgid "" "Set this to true if your server is set up to restart automatically." msgstr "" "S’il faut demander aux clients de se reconnecter après un crash (Lua).\n" -"Activez-le si votre serveur est paramétré pour redémarrer automatiquement." +"Définir sur Activer si le serveur est paramétré pour redémarrer " +"automatiquement." #: src/settings_translation_file.cpp msgid "Whether to fog out the end of the visible area." @@ -7599,11 +7570,10 @@ msgid "" "In-game, you can toggle the mute state with the mute key or by using the\n" "pause menu." msgstr "" -"S'il faut mettre les sons en sourdine. Vous pouvez désactiver les sons à " -"tout moment, sauf si le système de sonorisation est désactivé " -"(enable_sound=false).\n" -"Dans le jeu, vous pouvez passer en mode silencieux avec la touche de mise en " -"sourdine ou en utilisant le menu pause." +"S'il faut couper le son. Vous pouvez réactiver le son à tout moment, sauf si " +"le système audio est désactivé (« enable_sound=false »).\n" +"Dans le jeu, vous pouvez basculer l'état du son avec la touche « Muet » ou " +"en utilisant le menu pause." #: src/settings_translation_file.cpp msgid "" @@ -7683,7 +7653,9 @@ msgstr "Limite haute Y des grandes grottes." #: src/settings_translation_file.cpp msgid "Y-distance over which caverns expand to full size." -msgstr "La distance Y jusqu'à laquelle la caverne peut s'étendre." +msgstr "" +"La distance Y jusqu'à laquelle les cavernes s'étendent à leur taille " +"maximale." #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From e7fe20ada6ab388209a2df752b7b1b5c8e51fb8e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 30 Nov 2021 13:35:39 +0000 Subject: Translated using Weblate (German) Currently translated at 100.0% (1415 of 1415 strings) --- po/de/minetest.po | 126 ++++++++++++++++++++++-------------------------------- 1 file changed, 50 insertions(+), 76 deletions(-) diff --git a/po/de/minetest.po b/po/de/minetest.po index b65b6b5ec..d7e0a4bb3 100644 --- a/po/de/minetest.po +++ b/po/de/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: German (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-06-21 15:38+0000\n" +"PO-Revision-Date: 2021-12-02 01:31+0000\n" "Last-Translator: Wuzzy \n" "Language-Team: German \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -90,9 +90,8 @@ msgid "OK" msgstr "OK" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Befehl nicht verfügbar: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -298,10 +297,8 @@ msgid "Install missing dependencies" msgstr "Fehlende Abhängigkeiten installieren" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "" -"Installation: Nicht unterstützter Dateityp „$1“ oder fehlerhaftes Archiv" +msgstr "Installation: Nicht unterstützter Dateityp oder kaputtes Archiv" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -635,7 +632,6 @@ msgid "Offset" msgstr "Versatz" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Persistenz" @@ -1176,9 +1172,8 @@ msgid "Connection error (timed out?)" msgstr "Verbindungsfehler (Zeitüberschreitung?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Spiel konnte nicht gefunden oder geladen werden: \"" +msgstr "Spiel konnte nicht gefunden oder geladen werden: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1250,14 +1245,13 @@ msgid "- Server Name: " msgstr "- Servername: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Ein Fehler ist aufgetreten:" +msgstr "Ein Serialisierungsfehler ist aufgetreten:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Zugriff verweigert. Grund: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1268,21 +1262,20 @@ msgid "Automatic forward enabled" msgstr "Vorwärtsautomatik aktiviert" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Blockgrenzen" +msgstr "Blockgrenzen verborgen" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Blockgrenzen für alle Blöcke angezeigt" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Blockgrenzen für aktuellen Block angezeigt" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Blockgrenzen für Blöcke in Nähe angezeigt" #: src/client/game.cpp msgid "Camera update disabled" @@ -1295,6 +1288,7 @@ msgstr "Kameraaktualisierung aktiviert" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" +"Blockgrenzen können nicht gezeigt werden („basic_debug“-Privileg benötigt)" #: src/client/game.cpp msgid "Change Password" @@ -1309,9 +1303,8 @@ msgid "Cinematic mode enabled" msgstr "Filmmodus aktiviert" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Client-Modding" +msgstr "Client getrennt" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1323,7 +1316,7 @@ msgstr "Mit Server verbinden …" #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Verbindung aus unbekanntem Grund fehlgeschlagen" #: src/client/game.cpp msgid "Continue" @@ -1365,7 +1358,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Adresse konnte nicht aufgelöst werden: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1574,17 +1567,18 @@ msgstr "Ton nicht mehr stumm" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Auf dem Server läuft möglicherweise eine andere Version von %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" msgstr "" +"Verbindung konnte nicht zu %s aufgebaut werden, weil IPv6 deaktiviert ist" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Konnte nicht auf %s lauschen, weil IPv6 deaktiviert ist" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1921,13 +1915,12 @@ msgid "Minimap in texture mode" msgstr "Übersichtskarte im Texturmodus" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Fehler beim Download von $1" +msgstr "Fehler beim Öffnen der Webseite" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Webseite öffnen" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2133,9 +2126,9 @@ msgid "Muted" msgstr "Stumm" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Tonlautstärke: " +msgstr "Tonlautstärke: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2406,6 +2399,8 @@ msgstr "DPI des Bildschirms (nicht für X11/Android) z.B. für 4K-Bildschirme." #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Die erfasste Anzeigendichte anpassen, benutzt für die Skalierung von UI-" +"Elementen." #: src/settings_translation_file.cpp #, c-format @@ -2708,7 +2703,6 @@ msgid "Chat command time message threshold" msgstr "Chatbefehlzeitnachrichtenschwellwert" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Chatbefehle" @@ -2745,9 +2739,8 @@ msgid "Chat toggle key" msgstr "Taste zum Umschalten des Chatprotokolls" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Chat angezeigt" +msgstr "Chatweblinks" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2770,6 +2763,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Anklickbare Weblinks (Mittelklick oder Strg+Linksklick) werden in der " +"Chatkonsolenausgabe aktiviert." #: src/settings_translation_file.cpp msgid "Client" @@ -2863,34 +2858,29 @@ msgid "Command key" msgstr "Befehlstaste" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"ZLib-Kompressionsniveau für Kartenblöcke im Festspeicher.\n" -"-1 - Zlib-Standard-Kompressionsniveau\n" -"0 - keine Kompression, am schnellsten\n" -"9 - beste Kompression, am langsamsten\n" -"(Niveaus 1-3 verwenden Zlibs „schnelles“ Verfahren, 4-9 das normale " -"Verfahren)" +"Zu verwendendes Kompressionsniveau, wenn Kartenblöcke auf den Datenträger " +"gespeichert werden.\n" +"-1 - Standard-Kompressionsniveau benutzen\n" +"0 - geringste Kompression, am schnellsten\n" +"9 - beste Kompression, am langsamsten" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"ZLib-Kompressionsniveau für Kartenblöcke, die zu Clients gesendet werden.\n" -"-1 - Zlib-Standard-Kompressionsniveau\n" +"Kompressionsniveau für Kartenblöcke, die zu Clients gesendet werden.\n" +"-1 - Standard-Kompressionsniveau benutzen\n" "0 - keine Kompression, am schnellsten\n" -"9 - beste Kompression, am langsamsten\n" -"(Niveaus 1-3 verwenden Zlibs „schnelles“ Verfahren, 4-9 das normale " -"Verfahren)" +"9 - beste Kompression, am langsamsten" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2991,13 +2981,12 @@ msgid "Crosshair alpha" msgstr "Fadenkreuzundurchsichtigkeit" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" -"Fadenkreuzundurchsichtigkeit (Wert zwischen 0 und 255).\n" -"Gilt auch für das Objektfadenkreuz" +"Fadenkreuz-Alpha (Undurchsichtigkeit, zwischen 0 und 255).\n" +"Gilt auch für das Objektfadenkreuz." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3078,13 +3067,12 @@ msgid "Default stack size" msgstr "Standardstapelgröße" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" -"Definiert die Schattenfilterqualität\n" +"Definiert die Schattenfilterqualität.\n" "Dies simuliert den weichen Schatteneffekt, indem eine PCF- oder Poisson-" "Scheibe angewendet wird,\n" "aber dies verbraucht auch mehr Ressourcen." @@ -3218,7 +3206,7 @@ msgstr "Leere Passwörter verbieten" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Anzeigendichtenskalierungsfaktor" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3269,7 +3257,6 @@ msgstr "" "Diese Unterstützung ist experimentell und die API kann sich ändern." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " @@ -3280,13 +3267,12 @@ msgstr "" "erzeugen. Ansonsten wird die PCF-Filterung benutzt." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Aktiviert gefärbte Schatten. \n" -"Falls aktiv, werden transluzente Blöcke gefärbte Schatten werden. Dies ist " +"Falls aktiv, werden transluzente Blöcke gefärbte Schatten werfen. Dies ist " "rechenintensiv." #: src/settings_translation_file.cpp @@ -3786,7 +3772,6 @@ msgid "Global callbacks" msgstr "Globale Rückruffunktionen" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" @@ -4306,7 +4291,6 @@ msgstr "" "Dies wird normalerweise nur von Haupt-/builtin-Entwicklern benötigt" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." msgstr "Chatbefehle bei ihrer Registrierung instrumentieren." @@ -4403,7 +4387,6 @@ msgid "Joystick button repetition interval" msgstr "Joystick-Button-Wiederholungsrate" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Joystick-Totbereich" @@ -5524,9 +5507,8 @@ msgid "Map save interval" msgstr "Speicherintervall der Karte" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Kartenupdatezeit" +msgstr "Kartenschatten-Aktualisierungsframes" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5857,9 +5839,8 @@ msgid "Mod channels" msgstr "Mod-Kanäle" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "Modifiziert die Größe der HUD-Leistenelemente." +msgstr "Modifiziert die Größe der HUD-Elemente." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -6015,7 +5996,6 @@ msgstr "" "Für viele Benutzer wird die optimale Einstellung wohl die „1“ sein." #: src/settings_translation_file.cpp -#, fuzzy 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" @@ -6051,7 +6031,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Optionaler manueller Wert für die Farbe von Chat-Weblinks." #: src/settings_translation_file.cpp msgid "" @@ -6229,7 +6209,6 @@ msgid "Prometheus listener address" msgstr "Prometheus-Lauschadresse" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6585,7 +6564,6 @@ msgstr "" "zu dunkleren Schatten." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" @@ -6597,7 +6575,6 @@ msgstr "" "Minimalwert: 1.0; Maximalwert: 10.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" @@ -6605,7 +6582,7 @@ msgid "" msgstr "" "Setzt die Neigung vom Sonnen-/Mondorbit in Grad.\n" "0 = keine Neigung / vertikaler Orbit.\n" -"Minimalwert: 0.0. Maximalwert: 60.0" +"Minimalwert: 0.0; Maximalwert: 60.0" #: src/settings_translation_file.cpp msgid "" @@ -6714,7 +6691,6 @@ msgstr "" "Nach Änderung ist ein Neustart erforderlich." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" msgstr "Standardmäßig Hintergründe für Namensschilder anzeigen" @@ -6853,6 +6829,11 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Eine vollständige Aktualisierung der Schattenkarte über der angegebenen\n" +"Anzahl Frames ausbreiten. Höhere Werte können dazu führen, dass\n" +"Schatten langsamer reagieren,\n" +"niedrigere Werte sind rechenintensiver.\n" +"Minimalwert: 1; Maximalwert: 16" #: src/settings_translation_file.cpp msgid "" @@ -6985,7 +6966,6 @@ msgid "Texture path" msgstr "Texturenpfad" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" @@ -7019,7 +6999,6 @@ msgid "The URL for the content repository" msgstr "Die URL für den Inhaltespeicher" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "Der Totbereich des Joysticks" @@ -7115,7 +7094,6 @@ msgstr "" "unterstützt." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." @@ -7327,7 +7305,6 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Bilineare Filterung bei der Skalierung von Texturen benutzen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" @@ -7541,9 +7518,8 @@ msgid "Waving plants" msgstr "Wehende Pflanzen" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Auswahlboxfarbe" +msgstr "Weblinkfarbe" #: src/settings_translation_file.cpp msgid "" @@ -7571,7 +7547,6 @@ msgstr "" "korrekt unterstützen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7605,7 +7580,6 @@ msgstr "" "benutzt." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." -- cgit v1.2.3 From a0edf2849aeebc1fb37ead1177caf471ab4a19d4 Mon Sep 17 00:00:00 2001 From: Muhammad Rifqi Priyo Susanto Date: Wed, 1 Dec 2021 12:00:07 +0000 Subject: Translated using Weblate (Indonesian) Currently translated at 99.9% (1414 of 1415 strings) --- po/id/minetest.po | 319 +++++++++++++++++++++++++----------------------------- 1 file changed, 149 insertions(+), 170 deletions(-) diff --git a/po/id/minetest.po b/po/id/minetest.po index 8a034f510..e8449f988 100644 --- a/po/id/minetest.po +++ b/po/id/minetest.po @@ -3,8 +3,9 @@ msgstr "" "Project-Id-Version: Indonesian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-02-23 15:50+0000\n" -"Last-Translator: Reza Almanda \n" +"PO-Revision-Date: 2021-12-02 01:31+0000\n" +"Last-Translator: Muhammad Rifqi Priyo Susanto " +"\n" "Language-Team: Indonesian \n" "Language: id\n" @@ -12,49 +13,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.5\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Ukuran maksimum antrean obrolan keluar" +msgstr "Bersihkan antrean obrolan keluar" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Perintah obrolan" +msgstr "Perintah kosong." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Menu Utama" +msgstr "Kembali ke menu utama" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Perintah lokal" +msgstr "Perintah tak sah: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Perintah yang dikeluarkan: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Pemain tunggal" +msgstr "Daftar pemain daring" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Pemain tunggal" +msgstr "Pemain daring " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Antrean obrolan keluar sekarang kosong." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Perintah ini dilarang oleh server." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,31 +60,31 @@ msgid "You died" msgstr "Anda mati" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Perintah lokal" +msgstr "Perintah yang ada:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Perintah lokal" +msgstr "Perintah yang ada: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Perintah tidak tersedia: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Dapatkan bantuan untuk perintah-perintah" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Pakai '.help ' untuk mendapatkan informasi lanjut atau '.help all' " +"untuk menampilkan semuanya." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -97,7 +92,7 @@ msgstr "Oke" #: builtin/fstk/ui.lua msgid "" -msgstr "" +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -302,9 +297,8 @@ msgid "Install missing dependencies" msgstr "Pasang dependensi yang belum ada" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Pemasangan: Tipe berkas \"$1\" tidak didukung atau arsip rusak" +msgstr "Pemasangan: Tipe berkas tidak didukung atau arsip rusak" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -773,9 +767,8 @@ msgid "Loading..." msgstr "Memuat..." #: builtin/mainmenu/serverlistmgr.lua -#, fuzzy msgid "Public server list is disabled" -msgstr "Skrip sisi klien dimatikan" +msgstr "Daftar server publik dimatikan" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -784,16 +777,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Tentang" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Penyumbang Aktif" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Batas pengiriman objek aktif" +msgstr "Penggambar aktif:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -928,9 +920,8 @@ msgid "Start Game" msgstr "Mulai Permainan" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Alamat: " +msgstr "Alamat" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -946,22 +937,20 @@ msgstr "Mode kreatif" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Kerusakan" +msgstr "Kerusakan/PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Hapus favorit" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "Favorit" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Server Tidak Kompatibel" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -972,18 +961,16 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Umumkan Server" +msgstr "Server Publik" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Segarkan" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" -msgstr "Keterangan server" +msgstr "Keterangan Server" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -1026,13 +1013,12 @@ msgid "Connected Glass" msgstr "Kaca Tersambung" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Bayangan fon" +msgstr "Bayangan dinamis" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Bayangan dinamis: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1040,15 +1026,15 @@ msgstr "Daun Megah" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Tinggi" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Rendah" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Menengah" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1136,11 +1122,11 @@ msgstr "Filter Trilinear" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Ultratinggi" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Sangat Rendah" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1183,9 +1169,8 @@ msgid "Connection error (timed out?)" msgstr "Galat sambungan (terlalu lama?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Tidak dapat mencari atau memuat permainan \"" +msgstr "Tidak dapat mencari atau memuat permainan: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1257,14 +1242,13 @@ msgid "- Server Name: " msgstr "- Nama Server: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Sebuah galat terjadi:" +msgstr "Sebuah galat serialisasi terjadi:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Akses ditolak. Alasan: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1276,19 +1260,19 @@ msgstr "Maju otomatis dinyalakan" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "Batasan blok disembunyikan" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Batasan blok ditampilkan untuk semua blok" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Batasan blok ditampilkan untuk blok saat ini" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Batasan blok ditampilkan untuk blok sekitar" #: src/client/game.cpp msgid "Camera update disabled" @@ -1300,7 +1284,7 @@ msgstr "Pembaruan kamera dinyalakan" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Tidak bisa menampilkan batasan blok (butuh hak 'basic_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1315,9 +1299,8 @@ msgid "Cinematic mode enabled" msgstr "Mode sinema dinyalakan" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Mod klien" +msgstr "Klien terputus" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1329,7 +1312,7 @@ msgstr "Menyambung ke server..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Sambungan gagal karena sebab yang tak diketahui" #: src/client/game.cpp msgid "Continue" @@ -1371,7 +1354,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Tidak bisa menyelesaikan alamat: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1502,9 +1485,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Peta mini sedang dilarang oleh permainan atau mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Pemain tunggal" +msgstr "Multipemain" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1581,17 +1563,17 @@ msgstr "Suara dibunyikan" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Server ini mungkin menjalankan versi %s yang berbeda." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Tidak bisa menyambung ke %s karena IPv6 dimatikan" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Tidak bisa mendengarkan %s karena IPv6 dimatikan" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1928,13 +1910,12 @@ msgid "Minimap in texture mode" msgstr "Peta mini mode tekstur" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Gagal mengunduh $1" +msgstr "Gagal membuka laman web" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Membuka laman web" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1964,9 +1945,8 @@ msgid "Proceed" msgstr "Lanjut" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Spesial\" = turun" +msgstr "\"Aux1\" = turun" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1978,7 +1958,7 @@ msgstr "Lompat otomatis" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1986,7 +1966,7 @@ msgstr "Mundur" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Batasan blok" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2139,9 +2119,9 @@ msgid "Muted" msgstr "Dibisukan" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Volume Suara: " +msgstr "Volume Suara: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2165,14 +2145,13 @@ msgstr "" "Jika dimatikan, joystick virtual akan menengah di posisi sentuhan pertama." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Gunakan joystick virtual untuk mengetuk tombol \"aux\".\n" -"Jika dinyalakan, joystick virtual juga akan mengetuk tombol \"aux\" saat " +"(Android) Gunakan joystick virtual untuk mengetuk tombol \"Aux1\".\n" +"Jika dinyalakan, joystick virtual juga akan mengetuk tombol \"Aux1\" saat " "berada di luar lingkaran utama." #: src/settings_translation_file.cpp @@ -2396,6 +2375,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Menyesuaikan kepadatan tampilan yang dideteksi, dipakai untuk mengatur skala " +"elemen UI." #: src/settings_translation_file.cpp #, c-format @@ -2530,14 +2511,12 @@ msgid "Autoscaling mode" msgstr "Mode penyekalaan otomatis" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Tombol lompat" +msgstr "Tombol Aux1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Tombol spesial untuk memanjat/turun" +msgstr "Tombol Aux1 untuk memanjat/turun" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2688,12 +2667,10 @@ msgstr "" "Nilai 0.0 adalah minimum, 1.0 adalah maksimum." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Ambang batas jumlah pesan sebelum ditendang keluar" +msgstr "Ambang batas waktu pesan perintah obrolan" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Perintah obrolan" @@ -2730,9 +2707,8 @@ msgid "Chat toggle key" msgstr "Tombol beralih obrolan" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Obrolan ditampilkan" +msgstr "Tautan web obrolan" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2755,6 +2731,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Tautan web yang bisa diklik (klik-tengah atau Ctrl+klik-kiri) dibolehkan " +"dalam konsol obrolan." #: src/settings_translation_file.cpp msgid "Client" @@ -2801,9 +2779,8 @@ msgid "Colored fog" msgstr "Kabut berwarna" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Kabut berwarna" +msgstr "Bayangan berwarna" #: src/settings_translation_file.cpp msgid "" @@ -2847,32 +2824,28 @@ msgid "Command key" msgstr "Tombol perintah" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Tingkat kompresi ZLib saat pengiriman blok peta kepada klien.\n" -"-1 - tingkat kompresi Zlib bawaan\n" -"0 - tanpa kompresi, tercepat\n" -"9 - kompresi terbaik, terlambat\n" -"(tingkat 1-3 pakai metode \"cepat\" Zlib, 4-9 pakai metode normal)" +"Tingkat kompresi saat menyimpan blok peta ke diska.\n" +"-1 - tingkat kompresi bawaan\n" +"0 - kompresi sedikit, tercepat\n" +"9 - kompresi terbaik, terlambat" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Tingkat kompresi ZLib saat penyimpanan blok peta kepada klien.\n" -"-1 - tingkat kompresi Zlib bawaan\n" -"0 - tanpa kompresi, tercepat\n" -"9 - kompresi terbaik, terlambat\n" -"(tingkat 1-3 pakai metode \"cepat\" Zlib, 4-9 pakai metode normal)" +"Tingkat kompresi saat mengirimkan blok peta kepada klien.\n" +"-1 - tingkat kompresi bawaan\n" +"0 - kompresi sedikit, tercepat\n" +"9 - kompresi terbaik, terlambat" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2972,13 +2945,12 @@ msgid "Crosshair alpha" msgstr "Keburaman crosshair" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Keburaman crosshair (keopakan, dari 0 sampai 255).\n" -"Juga mengatur warna crosshair objek" +"Juga mengatur warna crosshair objek." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3062,6 +3034,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" +"Mengatur kualitas filter bayangan.\n" +"Ini menyimulasikan efek bayangan halus dengan menerapkan PCF atau\n" +"diska Poisson, tetapi menggunakan sumber daya lebih banyak." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3188,7 +3163,7 @@ msgstr "Larang kata sandi kosong" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Faktor Skala Kepadatan Tampilan" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3244,21 +3219,27 @@ msgid "" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Menyalakan filter diska Poisson.\n" +"Nilai true berarti memakai diska Poisson untuk \"bayangan halus\". Nilai " +"lain berarti\n" +"memakai filter PCF." #: src/settings_translation_file.cpp msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Menyalakan bayangan berwarna.\n" +"Nilai true berarti nodus agak tembus pandang memiliki bayangan berwarna.\n" +"Ini sangat membutuhkan sumber daya besar." #: src/settings_translation_file.cpp msgid "Enable console window" msgstr "Gunakan jendela konsol" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "Gunakan mode kreatif pada peta baru." +msgstr "Nyalakan mode kreatif untuk semua pemain" #: src/settings_translation_file.cpp msgid "Enable joysticks" @@ -3447,12 +3428,11 @@ msgid "Fast movement" msgstr "Gerak cepat" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Gerak cepat (lewat tombol \"spesial\").\n" +"Gerak cepat (lewat tombol \"Aux1\").\n" "Membutuhkan hak \"fast\" pada server." #: src/settings_translation_file.cpp @@ -3485,7 +3465,6 @@ msgid "Filmic tone mapping" msgstr "Pemetaan suasana filmis" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3495,7 +3474,9 @@ msgstr "" "Tekstur yang difilter dapat memadukan nilai RGB dengan tetangganya yang\n" "sepenuhnya transparan, yang biasanya diabaikan oleh pengoptimal PNG,\n" "terkadang menghasilkan tepi gelap atau terang pada tekstur transparan. \n" -"Terapkan filter ini untuk membersihkannya ketika memuat tekstur." +"Terapkan filter ini untuk membersihkannya ketika memuat tekstur. Ini " +"dinyalakan\n" +"otomatis jika mipmap dinyalakan." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3719,7 +3700,6 @@ msgid "Global callbacks" msgstr "Callback global" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" @@ -3810,10 +3790,9 @@ msgid "Heat noise" msgstr "Noise panas" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Tinggi ukuran jendela mula-mula." +msgstr "Tinggi ukuran jendela mula-mula. Ini diabaikan dalam mode layar penuh." #: src/settings_translation_file.cpp msgid "Height noise" @@ -4067,12 +4046,11 @@ msgstr "" "dengan jeda agar tidak membuang tenaga CPU dengan percuma." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Jika dimatikan, tombol \"spesial\" digunakan untuk terbang cepat jika mode\n" +"Jika dimatikan, tombol \"Aux1\" digunakan untuk terbang cepat jika mode\n" "terbang dan cepat dinyalakan." #: src/settings_translation_file.cpp @@ -4099,14 +4077,12 @@ msgstr "" "Hal ini membutuhkan hak \"noclip\" pada server." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Jika dinyalakan, tombol \"spesial\" digunakan untuk bergerak turun alih-" -"alih\n" +"Jika dinyalakan, tombol \"Aux1\" digunakan untuk bergerak turun alih-alih\n" "tombol \"menyelinap\"." #: src/settings_translation_file.cpp @@ -4168,6 +4144,8 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Jika pelaksanaan perintah obrolan lebih lama daripada ini (dalam detik),\n" +"tambahkan informasi waktu ke pesan perintah obrolan" #: src/settings_translation_file.cpp msgid "" @@ -4225,9 +4203,8 @@ msgstr "" "Ini biasanya hanya dibutuhkan oleh kontributor inti/bawaan" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." -msgstr "Melengkapi perintah obrolan saat didaftarkan, dengan perkakas." +msgstr "Perkakas perintah obrolan saat pendaftaran." #: src/settings_translation_file.cpp msgid "" @@ -4320,7 +4297,6 @@ msgid "Joystick button repetition interval" msgstr "Jarak penekanan tombol joystick terus-menerus" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Zona mati joystick" @@ -5434,9 +5410,8 @@ msgid "Map save interval" msgstr "Selang waktu menyimpan peta" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Detikan pembaruan cairan" +msgstr "Bingkai pembaruan peta bayangan" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5550,7 +5525,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Jarak maksimum untuk menggambar bayangan." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5680,18 +5655,19 @@ msgstr "" "0 untuk mematikan pengantrean dan -1 untuk mengatur antrean tanpa batas." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Waktu maksimum dalam milidetik saat mengunduh berkas (misal.: mengunduh mod)." +"Waktu maksimum saat mengunduh berkas (misal.: mengunduh mod) dalam milidetik." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Waktu maksimum permintaan interaktif (misal ambil daftar server), dalam " +"milidetik." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5754,9 +5730,8 @@ msgid "Mod channels" msgstr "Saluran mod" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "Mengubah ukuran dari elemen hudbar." +msgstr "Mengubah ukuran elemen HUD." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -5908,7 +5883,6 @@ msgstr "" "\"1\"." #: src/settings_translation_file.cpp -#, fuzzy 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" @@ -5916,7 +5890,7 @@ msgid "" msgstr "" "Jumlah dari blok tambahan yang dapat dimuat oleh /clearobjects dalam satu " "waktu.\n" -"Ini adalah pemilihan antara transaksi sqlite dan\n" +"Ini adalah pemilihan antara transaksi SQLite dan\n" "penggunaan memori (4096=100MB, kasarannya)." #: src/settings_translation_file.cpp @@ -5944,7 +5918,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Penimpaan opsional untuk warna tautan web pada obrolan." #: src/settings_translation_file.cpp msgid "" @@ -6055,9 +6029,8 @@ msgid "Player versus player" msgstr "Pemain lawan pemain" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Pemfilteran bilinear" +msgstr "Pemfilteran Poisson" #: src/settings_translation_file.cpp msgid "" @@ -6110,7 +6083,6 @@ msgid "Prometheus listener address" msgstr "Alamat pendengar Prometheus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6456,6 +6428,8 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Atur kekuatan bayangan.\n" +"Nilai rendah berarti bayangan lebih terang, nilai tinggi berarti lebih gelap." #: src/settings_translation_file.cpp msgid "" @@ -6463,6 +6437,10 @@ msgid "" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" +"Atur besar jari-jari bayangan halus.\n" +"Nilai rendah berarti bayangan lebih tajam, nilai tinggi berarti lebih halus." +"\n" +"Nilai minimum: 1.0; nilai maksimum 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6470,14 +6448,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" +"Atur kemiringan orbit Matahari/Bulan dalam derajat.\n" +"Nilai 0 berarti tidak miring/orbit tegak.\n" +"Nilai minimum: 0.0; nilai maksimum 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Atur ke true untuk menyalakan daun melambai.\n" +"Atur ke true untuk menyalakan Pemetaan Bayangan.\n" "Membutuhkan penggunaan shader." #: src/settings_translation_file.cpp @@ -6510,6 +6490,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Atur kualitas tekstur bayangan ke 32 bit.\n" +"Nilai false berarti tekstur 16 bit akan dipakai.\n" +"Ini akan menimbulkan lebih banyak artefak pada bayangan." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6528,22 +6511,20 @@ msgstr "" "Ini hanya bekerja dengan video OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Kualitas tangkapan layar" +msgstr "Kualitas filter bayangan" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Jarak maks. peta bayangan (dalam nodus) untuk digambar" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Tekstur peta bayangan dalam 32 bit" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Ukuran tekstur minimum" +msgstr "Ukuran tekstur peta bayangan" #: src/settings_translation_file.cpp msgid "" @@ -6555,7 +6536,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Kekuatan bayangan" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6578,9 +6559,8 @@ msgstr "" "Dibutuhkan mulai ulang setelah mengganti ini." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "Fon tebal bawaan" +msgstr "Tampilkan latar belakang tanda nama secara bawaan" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6615,7 +6595,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Kemiringan Orbit Benda Langit" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6676,9 +6656,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Kelajuan menyelinap dalam nodus per detik." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Keburaman bayangan fon" +msgstr "Jari-jari bayangan halus" #: src/settings_translation_file.cpp msgid "Sound" @@ -6713,6 +6692,10 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Menyebarkan pembaruan peta bayangan dalam jumlah bingkai yang diberikan.\n" +"Nilai tinggi bisa membuat bayangan patah-patah, nilai rendah akan butuh\n" +"sumber daya lebih banyak.\n" +"Nilai minimum: 1; nilai maksimum: 16" #: src/settings_translation_file.cpp msgid "" @@ -6848,6 +6831,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" +"Ukuran tekstur tempat peta bayangan digambar.\n" +"Ini harus bernilai perpangkatan dua.\n" +"Nilai yang besar akan menghasilkan bayangan yang bagus, tetapi lebih berat." #: src/settings_translation_file.cpp msgid "" @@ -6870,7 +6856,6 @@ msgid "The URL for the content repository" msgstr "URL dari gudang konten" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "Zona mati joystick yang digunakan" @@ -6946,7 +6931,6 @@ msgstr "" "Ini harus diatur bersama dengan active_object_range." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -6962,7 +6946,6 @@ msgstr "" "Shader didukung oleh OpenGL (khusus desktop) dan OGLES2 (tahap percobaan)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." @@ -7162,15 +7145,14 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Gunakan pemfilteran bilinear saat mengubah ukuran tekstur." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" -"Pakai mip mapping untuk penyekalaan tekstur. Bisa sedikit menaikkan\n" +"Pakai mipmap untuk penyekalaan tekstur. Bisa sedikit menaikkan\n" "kinerja, terutama pada saat memakai paket tekstur beresolusi tinggi.\n" -"Pengecilan dengan tepat gamma tidak didukung." +"Pengecilan dengan tepat-gamma tidak didukung." #: src/settings_translation_file.cpp msgid "" @@ -7291,9 +7273,8 @@ msgid "Viewing range" msgstr "Jarak pandang" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Joystick virtual mengetuk tombol aux" +msgstr "Joystick virtual mengetuk tombol Aux1" #: src/settings_translation_file.cpp msgid "Volume" @@ -7372,9 +7353,8 @@ msgid "Waving plants" msgstr "Tanaman berayun" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Warna kotak pilihan" +msgstr "Warna tautan web" #: src/settings_translation_file.cpp msgid "" @@ -7399,7 +7379,6 @@ msgstr "" "mendukung pengunduhan tekstur dari perangkat keras." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7414,9 +7393,9 @@ msgstr "" "rendah dapat dikaburkan sehingga diperbesar otomatis dengan interpolasi\n" "nearest-neighbor untuk menjaga ketajaman piksel. Ini mengatur ukuran\n" "tekstur minimum untuk tekstur yang diperbesar; semakin tinggi semakin\n" -"tajam, tetapi butuh memori lebih. Perpangkatan dua disarankan. Mengatur\n" -"ini menjadi lebih dari 1 mungkin tidak tampak perubahannya kecuali\n" -"menggunakan filter bilinear/trilinear/anisotropik.\n" +"tajam, tetapi butuh memori lebih. Perpangkatan dua disarankan. Pengaturan\n" +"ini HANYA diterapkan jika menggunakan filter bilinear/trilinear/anisotropik." +"\n" "Ini juga dipakai sebagai ukuran dasar tekstur nodus untuk penyekalaan\n" "otomatis tekstur yang sejajar dengan dunia." @@ -7435,6 +7414,8 @@ msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" +"Apakah latar belakang tanda nama ditampilkan secara bawaan.\n" +"Mod masih bisa mengatur latar belakang." #: src/settings_translation_file.cpp msgid "Whether node texture animations should be desynchronized per mapblock." @@ -7482,9 +7463,8 @@ msgid "" msgstr "Apakah menampilkan informasi awakutu klien (sama dengan menekan F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Lebar ukuran jendela mula-mula." +msgstr "Lebar ukuran jendela mula-mula. Ini diabaikan dalam mode layar penuh." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7589,7 +7569,6 @@ msgid "cURL file download timeout" msgstr "Batas waktu cURL mengunduh berkas" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" msgstr "Waktu habis untuk cURL" -- cgit v1.2.3 From 828ecac8268a610deb861a8c8f0aaddb12dc5af2 Mon Sep 17 00:00:00 2001 From: Simone Starace Date: Wed, 1 Dec 2021 23:31:21 +0000 Subject: Translated using Weblate (Italian) Currently translated at 97.9% (1386 of 1415 strings) --- po/it/minetest.po | 236 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 124 insertions(+), 112 deletions(-) diff --git a/po/it/minetest.po b/po/it/minetest.po index d5622eacb..4de7c917b 100644 --- a/po/it/minetest.po +++ b/po/it/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Italian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-03-25 17:29+0000\n" -"Last-Translator: Alessandro Mandelli \n" +"PO-Revision-Date: 2021-12-02 01:31+0000\n" +"Last-Translator: Simone Starace \n" "Language-Team: Italian \n" "Language: it\n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.5.2-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Dimensione massima della coda esterna della chat" +msgstr "Pulisci la coda esterna della chat" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Comandi della chat" +msgstr "Comando vuoto." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Torna al menu" +msgstr "Ritorna al menu principale" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Comando locale" +msgstr "Comando Invalido: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Comando rilasciato: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Gioco locale" +msgstr "Lista di giocatori online" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Gioco locale" +msgstr "Giocatori Online: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "La coda esterna della chat è vuota adesso." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Questo comando è stato disabilitato dal server." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,27 +59,27 @@ msgid "You died" msgstr "Sei morto" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Comando locale" +msgstr "Comandi disponibili:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Comando locale" +msgstr "Comandi disponibili: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Comando non disponibile: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Ottieni aiuto per i comandi" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Scrivi '.help ' per avere più informazioni, oppure '.help all' per " +"avere la lista completa." #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -97,7 +91,7 @@ msgstr "Ok" #: builtin/fstk/ui.lua msgid "" -msgstr "" +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -302,9 +296,8 @@ msgid "Install missing dependencies" msgstr "Installa le dipendenze mancanti" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Installa: Tipo di file non supportato \"$1\" o archivio danneggiato" +msgstr "Installazione: Tipo di file non supportato o archivio danneggiato" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -636,7 +629,6 @@ msgid "Offset" msgstr "Scarto" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Persistenza" @@ -785,16 +777,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Riguardo a" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Contributori attivi" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Raggio di invio degli oggetti attivi" +msgstr "Rendering Attivo:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -929,9 +920,8 @@ msgid "Start Game" msgstr "Gioca" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Indirizzo: " +msgstr "Indirizzo" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -956,13 +946,12 @@ msgid "Del. Favorite" msgstr "Elimina preferito" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Preferito" +msgstr "Preferiti" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Server Incompatibili" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -973,16 +962,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Annunciare il server" +msgstr "Server Pubblici" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Ricarica" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Descrizione del server" @@ -1027,13 +1014,12 @@ msgid "Connected Glass" msgstr "Vetro contiguo" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Ombreggiatura carattere" +msgstr "Ombre dinamiche" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Ombre dinamiche: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1041,15 +1027,15 @@ msgstr "Foglie di qualità" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Alto" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Basso" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Medio" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1137,11 +1123,11 @@ msgstr "Filtro trilineare" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Molto Alto" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Molto Basso" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1184,9 +1170,8 @@ msgid "Connection error (timed out?)" msgstr "Errore di connessione (scaduta?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Impossibile trovare o caricare il gioco \"" +msgstr "Impossibile trovare o caricare il gioco \" " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1258,14 +1243,13 @@ msgid "- Server Name: " msgstr "- Nome server: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Si è verificato un errore:" +msgstr "Un errore di serializzazione si è verificato:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Accesso negato. Motivo: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1277,19 +1261,19 @@ msgstr "Avanzamento automatico abilitato" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "Limiti del blocco nascosto" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "I limiti del blocco sono mostrati per tutti i blocchi" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "I limiti del blocco sono mostrati per il blocco attuale" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "I limiti del blocco sono mostrati per i blocchi vicini" #: src/client/game.cpp msgid "Camera update disabled" @@ -1302,6 +1286,8 @@ msgstr "Aggiornamento telecamera abilitato" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" +"Impossibile mostrare i limiti del blocco (si ha bisogno del privilegio " +"'baisc_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1316,9 +1302,8 @@ msgid "Cinematic mode enabled" msgstr "Modalità cinematica abilitata" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Modifica del client" +msgstr "Client disconnesso" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1330,7 +1315,7 @@ msgstr "Connessione al server..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Connessione fallita per motivo sconosciuto" #: src/client/game.cpp msgid "Continue" @@ -1372,7 +1357,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Impossibile risolvere l'indirizzo: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1503,9 +1488,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Minimappa attualmente disabilitata dal gioco o da una mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Gioco locale" +msgstr "Multi giocatore" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1582,17 +1566,17 @@ msgstr "Suono attivato" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Il server sta probabilmente eseguendo una versione differente di %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Impossibile connettersi a %s perché IPv6 è disabilitato" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Impossibile ascoltare su %s perché IPv6 è disabilitato" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1929,13 +1913,12 @@ msgid "Minimap in texture mode" msgstr "Minimappa in modalità texture" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Impossibile scaricare $1" +msgstr "Impossibile aprire la pagina web" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Apertura pagina web" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1987,7 +1970,7 @@ msgstr "Indietreggia" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Limiti del blocco nascosto" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2139,9 +2122,9 @@ msgid "Muted" msgstr "Silenziato" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Volume suono: " +msgstr "Volume suono: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2408,6 +2391,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Aggiusta la densità del display rilevato, utilizzato per scalare gli " +"elementi UI." #: src/settings_translation_file.cpp #, c-format @@ -2710,7 +2695,6 @@ msgid "Chat command time message threshold" msgstr "Limite dei messaggi di chat per l'espulsione" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Comandi della chat" @@ -2772,6 +2756,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Link web cliccabili (tasto-centrale o Ctrl+tasto-sinistro) abilitati nel " +"output della chat." #: src/settings_translation_file.cpp msgid "Client" @@ -2818,9 +2804,8 @@ msgid "Colored fog" msgstr "Nebbia colorata" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Nebbia colorata" +msgstr "Ombre colorate" #: src/settings_translation_file.cpp msgid "" @@ -3087,6 +3072,10 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" +"Definisci la qualità del filtraggio delle ombre.\n" +"Questo simula l'effetto delle ombre morbide applicando un PCF o Poisson " +"disk\n" +"ma utilizza più risorse." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3216,7 +3205,7 @@ msgstr "Rifiutare le password vuote" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Fattore di Scala della densità del display" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3273,12 +3262,17 @@ msgid "" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Abilità il filtraggio Poisson disk\n" +"Se abilitato si hanno le \\\"ombre morbide\\\". Altrimenti utilizza il " +"filtraggio PCF." #: src/settings_translation_file.cpp msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Abilità ombre colorate.\n" +"Se abilitato nodi traslucidi producono ombre colorate. Questo è costoso." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3863,10 +3857,11 @@ msgid "Heat noise" msgstr "Rumore del calore" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Componente altezza della dimensione iniziale della finestra." +msgstr "" +"Componente altezza della dimensione iniziale della finestra. Ignorata in " +"modalità a schermo intero." #: src/settings_translation_file.cpp msgid "Height noise" @@ -4223,6 +4218,9 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Se l'esecuzione del comando in chat impiega più tempo di quello specificato " +"in\n" +"secondi, aggiungi l'informazione sul tempo al messaggio di comando in chat" #: src/settings_translation_file.cpp msgid "" @@ -5505,9 +5503,8 @@ msgid "Map save interval" msgstr "Intervallo di salvataggio della mappa" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Scatto di aggiornamento del liquido" +msgstr "Frame di aggiornamento delle mappe d'ombra" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5621,7 +5618,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Distanza massima per renderizzare le ombre." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5757,19 +5754,20 @@ msgstr "" "della coda." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Tempo massimo in ms che può richiedere lo scaricamento di un file (es. un " -"mod)." +"Tempo massimo in millisecondi che può richiedere lo scaricamento di un file (" +"es. un mod)." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Tempo massimo che può richiedere una richiesta interattiva (es. lista presa " +"dal server), dichiarato in secondi." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5992,7 +5990,6 @@ msgstr "" "Per molti utenti l'impostazione ottimale può essere '1'." #: src/settings_translation_file.cpp -#, fuzzy 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" @@ -6000,7 +5997,7 @@ msgid "" msgstr "" "Numero di blocchi extra che possono essere caricati da /clearobjects in una " "volta.\n" -"Questo è un controbilanciare tra spesa di transazione sqlite e\n" +"Questo è un compromesso tra spesa di transazione sqlite e\n" "consumo di memoria (4096 = 100MB, come regola generale)." #: src/settings_translation_file.cpp @@ -6028,7 +6025,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Sovrascrittura opzionale per i colori dei link web in chat." #: src/settings_translation_file.cpp msgid "" @@ -6152,9 +6149,8 @@ msgid "Player versus player" msgstr "Giocatore contro giocatore" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Filtraggio bilineare" +msgstr "Filtraggio Poisson" #: src/settings_translation_file.cpp msgid "" @@ -6565,6 +6561,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Imposta l'intensità dell'ombra.\n" +"Un valore basso significa avere ombre chiare, un valore alto significa avere " +"ombre scure." #: src/settings_translation_file.cpp msgid "" @@ -6572,6 +6571,10 @@ msgid "" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" +"Imposta la dimensione del raggio delle ombre morbide.\n" +"Valori bassi significano ombre nitide, valori alti significano ombre morbide." +"\n" +"Valore minimo: 1.0; Valore massimo: 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6579,14 +6582,16 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" +"Imposta l'inclinazione dell'orbita del Sole/Luna in gradi.\n" +"Il valore 0 significa nessuna inclinazione/orbita verticale.\n" +"Valore minimo: 0.0; valore massimo: 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Impostata su vero abilita le foglie ondeggianti.\n" +"Impostata su vero abilita la Mappatura delle ombre.\n" "Necessita l'attivazione degli shader." #: src/settings_translation_file.cpp @@ -6620,6 +6625,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Imposta la qualità della textura dell'ombra a 32 bit.\n" +"Su falso, 16 bit di texture saranno utilizzati.\n" +"Questo può causare molti più artefatti nell'ombra." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6638,22 +6646,21 @@ msgstr "" "Ciò funziona solo col supporto video OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Qualità degli screenshot" +msgstr "Qualità filtro ombra" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" msgstr "" +"Distanza massima della mappa delle ombre nei nodi per renderizzare le ombre" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Texture della mappa delle ombre in 32 bit" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Dimensione minima della texture" +msgstr "Dimensione della texture della mappa d'ombra" #: src/settings_translation_file.cpp msgid "" @@ -6665,7 +6672,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Intensità dell'ombra" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6789,9 +6796,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Velocità furtiva, in nodi al secondo." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Trasparenza dell'ombreggiatura del carattere" +msgstr "Raggio dell'ombra morbida" #: src/settings_translation_file.cpp msgid "Sound" @@ -6827,6 +6833,11 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Diffondi un aggiornamento completo della mappa d'ombra su un certo numero di " +"frame.\n" +"Valori alti potrebbero rendere le ombre laggose, valori bassi\n" +"consumeranno più risorse.\n" +"Valore minimo: 1; valore massimo: 16" #: src/settings_translation_file.cpp msgid "" @@ -6968,6 +6979,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" +"Dimensione della texture su cui renderizzare la mappa d'ombra.\n" +"Questa deve essere una potenza di due.\n" +"Valori alti creano ombre migliori ma è anche molto costoso." #: src/settings_translation_file.cpp msgid "" @@ -7069,7 +7083,6 @@ msgstr "" "active_object_send_range_blocks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -7078,12 +7091,13 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Il back-end di rendering per Irrlicht.\n" +"Il rendering di back-end.\n" "Dopo averlo cambiato è necessario un riavvio.\n" "Nota: su Android, restare con OGLES1 se incerti! Altrimenti l'app potrebbe " "non partire.\n" "Su altre piattaforme, si raccomanda OpenGL\n" -"Le shader sono supportate da OpenGL (solo su desktop) e OGLES2 (sperimentale)" +"Gli shader sono supportati da OpenGL (solo su desktop) e OGLES2 " +"(sperimentale)" #: src/settings_translation_file.cpp #, fuzzy @@ -7513,9 +7527,8 @@ msgid "Waving plants" msgstr "Piante ondeggianti" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Colore del riquadro di selezione" +msgstr "Colore del link web" #: src/settings_translation_file.cpp msgid "" @@ -7541,7 +7554,6 @@ msgstr "" "non supportano correttamente lo scaricamento delle texture dall'hardware." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7557,13 +7569,12 @@ msgstr "" "possono essere sfocate, così viene eseguito l'ingrandimento automatico con " "l'interpolazione nearest-neighbor\n" "per conservare pixel chiari. Questo imposta la dimensione minima delle " -"immagini\n" +"texture\n" "per le texture ingrandite; valori più alti hanno un aspetto più nitido, ma " "richiedono più memoria.\n" -"Sono raccomandate le potenze di 2. Impostarla a un valore maggiore di 1 " -"potrebbe non avere\n" -"un effetto visibile, a meno che il filtraggio bilineare/trilineare/" -"anisotropico sia abilitato.\n" +"Sono raccomandate le potenze di 2. Questa impostazione è SOLO applicabile " +"se\n" +"il filtraggio bilineare/trilineare/anisotropico è abilitato.\n" "Questo viene anche usato come dimensione di base per le immagini\n" "dei nodi per l'autoridimensionamento delle immagini con allineamento\n" "relativo al mondo." @@ -7639,9 +7650,10 @@ msgstr "" "premere F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Componente larghezza della dimensione iniziale della finestra." +msgstr "" +"Componente larghezza della dimensione iniziale della finestra. Ignorata in " +"modalità a schermo intero." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." -- cgit v1.2.3 From a2cdc6de33515e6be31a3e3473795798ec3b9427 Mon Sep 17 00:00:00 2001 From: Andrei Stepanov Date: Sun, 28 Nov 2021 23:23:42 +0000 Subject: Translated using Weblate (Russian) Currently translated at 96.5% (1366 of 1415 strings) --- po/ru/minetest.po | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index 7cdc31e6e..13a6d3d46 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-07-21 17:34+0000\n" -"Last-Translator: Чтабс \n" +"PO-Revision-Date: 2021-12-02 01:31+0000\n" +"Last-Translator: Andrei Stepanov \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -91,9 +91,8 @@ msgid "OK" msgstr "ОК" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Команда недоступна: " +msgstr "<недоступно>" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" -- cgit v1.2.3 From 9d1aed01fc471486bc2e18cc12aa58494f3df999 Mon Sep 17 00:00:00 2001 From: Oğuz Ersen Date: Sun, 28 Nov 2021 05:57:44 +0000 Subject: Translated using Weblate (Turkish) Currently translated at 98.6% (1396 of 1415 strings) --- po/tr/minetest.po | 90 ++++++++++++++++++++++--------------------------------- 1 file changed, 36 insertions(+), 54 deletions(-) diff --git a/po/tr/minetest.po b/po/tr/minetest.po index 0cf7c8f4f..15f712739 100644 --- a/po/tr/minetest.po +++ b/po/tr/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Turkish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-08-04 06:32+0000\n" +"PO-Revision-Date: 2021-12-02 01:31+0000\n" "Last-Translator: Oğuz Ersen \n" "Language-Team: Turkish \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -297,9 +297,8 @@ msgid "Install missing dependencies" msgstr "Eksik bağımlılıkları kur" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Kur: Desteklenmeyen dosya türü \"$1\" veya bozuk arşiv" +msgstr "Kur: Desteklenmeyen dosya türü veya bozuk arşiv" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -630,7 +629,6 @@ msgid "Offset" msgstr "Kaydırma" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Süreklilik" @@ -1169,9 +1167,8 @@ msgid "Connection error (timed out?)" msgstr "Bağlantı hatası (zaman aşımı?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Oyun bulunamıyor veya yüklenemiyor \"" +msgstr "Oyun bulunamadı veya yüklenemedi: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1250,7 +1247,7 @@ msgstr "Bir hata oluştu:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Erişim reddedildi. Neden: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1261,21 +1258,20 @@ msgid "Automatic forward enabled" msgstr "Kendiliğinden ileri etkin" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Blok sınırları" +msgstr "Blok sınırları gizli" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Blok sınırları tüm bloklar için gösteriliyor" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Blok sınırları geçerli blok için gösteriliyor" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Blok sınırları yakındaki bloklar için gösteriliyor" #: src/client/game.cpp msgid "Camera update disabled" @@ -1287,7 +1283,7 @@ msgstr "Kamera güncelleme etkin" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Blok sınırları gösterilemiyor ('basic_debug' ayrıcalığına ihtiyaç var)" #: src/client/game.cpp msgid "Change Password" @@ -1302,9 +1298,8 @@ msgid "Cinematic mode enabled" msgstr "Sinematik kip etkin" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "İstemci modlama" +msgstr "İstemci bağlantısı kesildi" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1316,7 +1311,7 @@ msgstr "Sunucuya bağlanılıyor..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Bilinmeyen bir nedenle bağlantı başarısız oldu" #: src/client/game.cpp msgid "Continue" @@ -1358,7 +1353,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Adres çözümlenemedi: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1567,17 +1562,17 @@ msgstr "Ses açık" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Sunucu muhtemelen farklı bir %s sürümü çalıştırıyor." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "IPv6 devre dışı bırakıldığı için %s bağlantısı kurulamıyor" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "IPv6 devre dışı bırakıldığından %s adresinde dinlenemiyor" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1914,13 +1909,12 @@ msgid "Minimap in texture mode" msgstr "Doku kipinde mini harita" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "$1 indirilemedi" +msgstr "Web sayfası açılamadı" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Web sayfası açılıyor" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2122,9 +2116,9 @@ msgid "Muted" msgstr "Ses Kısık" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Ses Seviyesi: " +msgstr "Ses Seviyesi: %%%d" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2676,7 +2670,6 @@ msgid "Chat command time message threshold" msgstr "Sohbet komutu zaman iletisi eşiği" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Sohbet komutları" @@ -2713,9 +2706,8 @@ msgid "Chat toggle key" msgstr "Sohbet açma/kapama tuşu" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Sohbet gösteriliyor" +msgstr "Sohbet web bağlantıları" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2738,6 +2730,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Sohbet konsolu çıktısında etkinleştirilen tıklanabilir (orta tıklama veya " +"Ctrl+sol tıklama) web bağlantıları." #: src/settings_translation_file.cpp msgid "Client" @@ -2827,33 +2821,29 @@ msgid "Command key" msgstr "Komut tuşu" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Harita kütlerini diske kaydederken kullanılacak ZLib sıkıştırma düzeyi.\n" -"-1 - Zlib'in varsayılan sıkıştırma düzeyi\n" +"Harita kütlerini diske kaydederken kullanılacak sıkıştırma düzeyi.\n" +"-1 - öntanımlı sıkıştırma düzeyini kullan\n" "0 - hiçbir sıkıştırma yok, en hızlı\n" -"9 - en iyi sıkıştırma, en yavaş\n" -"(seviye 1-3, Zlib'in \"hızlı\" , 4-9 sıradan yöntemi kullanır)" +"9 - en iyi sıkıştırma, en yavaş" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Harita kütlerini istemciye(client) gönderirken kullanılacak ZLib sıkıştırma " +"Harita kütlerini istemciye(client) gönderirken kullanılacak sıkıştırma " "düzeyi.\n" -"-1 - Zlib'in varsayılan sıkıştırma düzeyi\n" +"-1 - öntanımlı sıkıştırma düzeyini kullan\n" "0 - hiçbir sıkıştırma yok, en hızlı\n" -"9 - en iyi sıkıştırma, en yavaş\n" -"(seviye 1-3, Zlib'in \"hızlı\" , 4-9 sıradan yöntemi kullanır)" +"9 - en iyi sıkıştırma, en yavaş" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2954,13 +2944,12 @@ msgid "Crosshair alpha" msgstr "Artı saydamlığı" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Artı saydamlığı (solukluk, 0 ile 255 arasında).\n" -"Ayrıca nesne artı rengini de denetler" +"Ayrıca nesne artı rengi için de geçerlidir" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3039,14 +3028,13 @@ msgid "Default stack size" msgstr "Öntanımlı yığın boyutu" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Gölge filtreleme kalitesini tanımla.\n" -"Bu, bir PCF veya poisson diski uygulayarak yumuşak gölge efektini taklit " +"Bu, bir PCF veya Poisson diski uygulayarak yumuşak gölge efektini taklit " "eder,\n" "ancak aynı zamanda daha fazla kaynak kullanır." @@ -3229,23 +3217,21 @@ msgstr "" "Bu destek deneyseldir ve API değişebilir." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" "Poisson disk filtrelemeyi etkinleştir.\n" -"Doğru ise \"yumuşak gölgeler\" yapmak için poisson diski kullanır. Değilse " +"Doğru ise \"yumuşak gölgeler\" yapmak için Poisson diski kullanır. Değilse " "PCF filtreleme kullanır." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" -"Renkli gölgeleri etkinleştir. \n" +"Renkli gölgeleri etkinleştir.\n" "Doğru ise yarı saydam düğümlerde renkli gölgeler oluşturur. Bu fazla kaynak " "kullanır." @@ -4319,7 +4305,6 @@ msgid "Joystick button repetition interval" msgstr "Joystick düğmesi tekrarlama aralığı" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Joystick ölü bölgesi" @@ -5751,9 +5736,8 @@ msgid "Mod channels" msgstr "Mod kanalları" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "Hudbar öğelerinin boyutunu değiştirir." +msgstr "HUD ögelerinin boyutunu değiştirir." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -6885,9 +6869,8 @@ msgid "The URL for the content repository" msgstr "İçerik deposu için URL" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" -msgstr "Joystick ölü bölgesi" +msgstr "Joystick'in ölü bölgesi" #: src/settings_translation_file.cpp msgid "" @@ -7391,9 +7374,8 @@ msgid "Waving plants" msgstr "Dalgalanan bitkiler" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Seçim kutusunu rengi" +msgstr "Web bağlantısı rengi" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 8ab369475f675ff40865c339095f162b68632975 Mon Sep 17 00:00:00 2001 From: "Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi" Date: Sat, 27 Nov 2021 23:55:02 +0000 Subject: Translated using Weblate (Malay) Currently translated at 100.0% (1415 of 1415 strings) --- po/ms/minetest.po | 201 +++++++++++++++++++++++------------------------------- 1 file changed, 86 insertions(+), 115 deletions(-) diff --git a/po/ms/minetest.po b/po/ms/minetest.po index 22b7ad5df..55398b307 100644 --- a/po/ms/minetest.po +++ b/po/ms/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Malay (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-06-16 19:05+0000\n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" "Language-Team: Malay " -msgstr "Perintah tidak tersedia: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -298,9 +297,8 @@ msgid "Install missing dependencies" msgstr "Pasang kebergantungan yang hilang" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Pasang: Jenis fail \"$1\" tidak disokong atau arkib rosak" +msgstr "Pasang: Jenis fail tidak disokong atau arkib rosak" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -612,7 +610,7 @@ msgstr "Dilumpuhkan" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" -msgstr "Sunting" +msgstr "Edit" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" @@ -631,7 +629,6 @@ msgid "Offset" msgstr "Ofset" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Penerusan" @@ -786,7 +783,7 @@ msgstr "Penyumbang Aktif" #: builtin/mainmenu/tab_about.lua msgid "Active renderer:" -msgstr "Penterjemah aktif:" +msgstr "Pengemas gabung aktif:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -894,7 +891,7 @@ msgstr "Tiada dunia dicipta atau dipilih!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Password" -msgstr "Kata Laluan" +msgstr "Kata laluan" #: builtin/mainmenu/tab_local.lua msgid "Play Game" @@ -1170,9 +1167,8 @@ msgid "Connection error (timed out?)" msgstr "Ralat dalam penyambungan (tamat tempoh?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Tidak jumpa atau tidak boleh muatkan permainan \"" +msgstr "Tidak jumpa atau tidak boleh muatkan permainan: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1245,14 +1241,13 @@ msgid "- Server Name: " msgstr "- Nama Pelayan: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Telah berlakunya ralat:" +msgstr "Telah berlakunya ralat penyirian:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Capaian dinafikan. Sebab: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1263,21 +1258,20 @@ msgid "Automatic forward enabled" msgstr "Pergerakan automatik dibolehkan" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Batas blok" +msgstr "Batas blok disembunyikan" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Batas blok ditunjukkan untuk semua blok" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Batas blok ditunjukkan untuk blok semasa" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Batas blok ditunjukkan untuk blok berhampiran" #: src/client/game.cpp msgid "Camera update disabled" @@ -1289,7 +1283,7 @@ msgstr "Kemas kini kamera dibolehkan" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Tidak boleh tunjuk batas blok (perlukan keistimewaan 'basic_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1304,9 +1298,8 @@ msgid "Cinematic mode enabled" msgstr "Mod sinematik dibolehkan" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Mods klien" +msgstr "Klien dinyahsambung" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1318,7 +1311,7 @@ msgstr "Sedang menyambung kepada pelayan..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Sambungan gagal untuk sebab yang tidak diketahui" #: src/client/game.cpp msgid "Continue" @@ -1360,7 +1353,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Tidak mampu menyelesaikan alamat: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1571,17 +1564,17 @@ msgstr "Bunyi dinyahbisukan" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Kemungkinan pelayan menjalankan versi %s yang berlainan." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Tidak mampu sambung ke %s kerana IPv6 dilumpuhkan" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Tidak mampu dengar di %s kerana IPv6 dilumpuhkan" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1918,13 +1911,12 @@ msgid "Minimap in texture mode" msgstr "Peta mini dalam mod tekstur" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Gagal memuat turun $1" +msgstr "Gagal buka laman sesawang" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Membuka laman sesawang" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2036,7 +2028,7 @@ msgstr "Kekunci telah digunakan untuk fungsi lain" #: src/gui/guiKeyChangeMenu.cpp msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" msgstr "" -"Ikatan kekunci. (Jika menu ini berselerak, padam sesetengah benda dari fail " +"Ikatan kekunci. (Jika menu ini berselerak, buang sesetengah benda dari fail " "minetest.conf)" #: src/gui/guiKeyChangeMenu.cpp @@ -2128,9 +2120,9 @@ msgid "Muted" msgstr "Dibisukan" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Kekuatan Bunyi: " +msgstr "Kekuatan Bunyi: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2385,6 +2377,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Laraskan ketumpatan paparan yang dikesan, digunakan untuk menyesuaikan " +"elemen UI." #: src/settings_translation_file.cpp #, c-format @@ -2493,10 +2487,11 @@ msgstr "" "Pada jarak ini, pelayan akan mengoptimumkan secara agresif blok yang mana\n" "akan dihantar kepada klien.\n" "Nilai lebih kecil berkemungkinan boleh meningkatkan prestasi dengan banyak,\n" -"dengan mengorbankan glic penterjemahan tampak (sesetengah blok tidak akan\n" -"diterjemahkan di bawah air dan dalam gua, kekadang turut berlaku atas " +"dengan mengorbankan glic kemas gabung tampak (sesetengah blok tidak akan\n" +"dikemas gabung di bawah air dan dalam gua, kekadang turut berlaku atas " "daratan).\n" -"Menetapkan nilai ini lebih bear daripada nilai max_block_send_distance akan\n" +"Menetapkan nilai ini lebih besar daripada nilai max_block_send_distance " +"akan\n" "melumpuhkan pengoptimuman ini.\n" "Nyatakan dalam unit blokpeta (16 nod)." @@ -2682,7 +2677,6 @@ msgid "Chat command time message threshold" msgstr "Nilai ambang mesej masa perintah sembang" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Perintah sembang" @@ -2719,9 +2713,8 @@ msgid "Chat toggle key" msgstr "Kekunci togol sembang" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Sembang ditunjukkan" +msgstr "Pautan sesawang sembang" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2744,6 +2737,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Pautan sesawang boleh klik (klik-tengah atau Ctrl+klik-kiri) dibolehkan " +"dalam output konsol sembang." #: src/settings_translation_file.cpp msgid "Client" @@ -2818,7 +2813,7 @@ 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 "" -"Senarai mods yang dibenarkan mengakses API HTTP dipisahkan dengan koma,\n" +"Senarai mods yang dibenarkan mencapai API HTTP dipisahkan dengan koma,\n" "ini membolehkan mereka memuat naik kepada atau muat turun daripada internet." #: src/settings_translation_file.cpp @@ -2827,8 +2822,8 @@ msgid "" "functions even when mod security is on (via request_insecure_environment())." msgstr "" "Senarai dipisahkan dengan koma untuk mods boleh dipercayai yang dibenarkan " -"mengakses\n" -"fungsi tidak selamat walaupun ketika keselamatan mods diaktifkan (melalui " +"mencapai fungsi\n" +"tidak selamat walaupun ketika keselamatan mods diaktifkan (melalui " "request_insecure_environment())." #: src/settings_translation_file.cpp @@ -2836,33 +2831,28 @@ msgid "Command key" msgstr "Kekunci perintah" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Tahap pemampatan ZLib untuk digunakan apabila menyimpan blokpeta ke cakera.\n" -"-1 - tahap pemampatan lalai Zlib\n" -"0 - tiada pemampatan, paling laju\n" -"9 - pemampatan terbaik, paling lambat\n" -"(tahap 1-3 menggunakan kaedah \"fast\" Zlib, 4-9 menggunakan kaedah biasa)" +"Tahap pemampatan untuk digunakan apabila menyimpan blokpeta ke cakera.\n" +"-1 - guna tahap pemampatan lalai\n" +"0 - pemampatan paling sedikit, paling laju\n" +"9 - pemampatan paling banyak, paling lambat" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Tahap pemampatan ZLib untuk digunakan apabila menghantar blokpeta kepada " -"klien.\n" -"-1 - tahap pemampatan lalai Zlib\n" -"0 - tiada pemampatan, paling laju\n" -"9 - pemampatan terbaik, paling lambat\n" -"(tahap 1-3 menggunakan kaedah \"fast\" Zlib, 4-9 menggunakan kaedah biasa)" +"Tahap pemampatan untuk digunakan apabila menghantar blokpeta kepada klien.\n" +"-1 - guna tahap pemampatan lalai\n" +"0 - pemampatan paling sedikit, paling laju\n" +"9 - pemampatan paling banyak, paling lambat" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2963,13 +2953,12 @@ msgid "Crosshair alpha" msgstr "Nilai alfa rerambut silang" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Nilai alfa rerambut silang (kelegapan, antara 0 dan 255).\n" -"Juga mengawal warna rerambut silang objek" +"Nilai ini juga memberi kesan kepada rerambut silang objek." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3049,15 +3038,14 @@ msgid "Default stack size" msgstr "Saiz tindanan lalai" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" -"Mentakrifkan kualiti penapisan bayang\n" +"Mentakrifkan kualiti penapisan bayang.\n" "Tetapan ini menyelakukan kesan bayang lembut dengan menggunakan\n" -"PCF atau cakera poisson tetapi turut menggunakan lebih banyak sumber." +"PCF atau cakera Poisson tetapi turut menggunakan lebih banyak sumber." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3186,7 +3174,7 @@ msgstr "Menolak kata laluan kosong" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Faktor Skala Ketumpatan Paparan" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3238,18 +3226,16 @@ msgstr "" "Sokongan ini dalam ujikaji dan API boleh berubah." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" -"Membolehkan penapisan cakera poisson.\n" -"Jika dibenarkan, gunakan cakera poisson untuk membuat \"bayang lembut\". " +"Membolehkan penapisan cakera Poisson.\n" +"Jika dibenarkan, gunakan cakera Poisson untuk membuat \"bayang lembut\". " "Jika tidak, gunakan penapisan PCF." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." @@ -3304,7 +3290,7 @@ msgid "" "Disable for speed or for different looks." msgstr "" "Membolehkan pencahayaan lembut dengan oklusi sekitar yang ringkas.\n" -"Lumpuhkannya untuk kelajuan atau untuk kelihatan berbeza." +"Lumpuhkannya untuk kelajuan atau untuk kelihatan berlainan." #: src/settings_translation_file.cpp msgid "" @@ -3676,7 +3662,7 @@ msgstr "Jenis fraktal" #: src/settings_translation_file.cpp msgid "Fraction of the visible distance at which fog starts to be rendered" -msgstr "Bahagian daripada jarak boleh lihat di mana kabut mula dijana" +msgstr "Bahagian daripada jarak boleh lihat di mana kabut mula dikemas gabung" #: src/settings_translation_file.cpp msgid "FreeType fonts" @@ -3740,14 +3726,13 @@ msgid "Global callbacks" msgstr "Panggil balik sejagat" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atribut penjanaan peta sejagat.\n" -"Dalam janapeta v6, bendera 'decorations' mengawal semua hiasan kecuali " +"Dalam Janapeta v6, bendera 'decorations' mengawal semua hiasan kecuali " "pokok\n" "dan rumput hutan, dalam janapeta lain pula bendera ini mengawal semua hiasan." @@ -4042,7 +4027,7 @@ msgid "" "If negative, liquid waves will move backwards.\n" "Requires waving liquids to be enabled." msgstr "" -"Secepat mana gelora cecair akan bergerak. Nilai tinggi = lebih laju.\n" +"Secepat mana gelora cecair akan bergerak. Nilai tinggi = lebih cepat.\n" "Jika nilai negatif, gelora cecair akan bergerak ke belakang.\n" "Memerlukan tetapan cecair bergelora dibolehkan." @@ -4252,7 +4237,6 @@ msgstr "" "Ini selalunya hanya diperlukan oleh penyumbang teras/terbina dalam" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." msgstr "Memasang perintah sembang ketika pendaftaran." @@ -4345,7 +4329,6 @@ msgid "Joystick button repetition interval" msgstr "Selang masa pengulangan butang kayu bedik" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Zon mati kayu bedik" @@ -5343,7 +5326,7 @@ msgid "" "Useful for mod developers and server operators." msgstr "" "Memuatkan pembukah permainan untuk mengutip data pemprofilan permainan.\n" -"Menyediakan perintah /profiler untuk mengakses profil yang dikompil.\n" +"Menyediakan perintah /profiler untuk mencapai profil yang dikompil.\n" "Berguna untuk pembangun mods dan pengendali pelayan." #: src/settings_translation_file.cpp @@ -5460,9 +5443,8 @@ msgid "Map save interval" msgstr "Selang masa penyimpanan peta" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Masa kemas kini peta" +msgstr "Bingkai kemas kini bayang peta" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5576,7 +5558,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "Jarak maksimum untuk menterjemah bayang." +msgstr "Jarak maksimum untuk mengemas gabung bayang." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5651,7 +5633,7 @@ msgid "" "Maximum number of mapblocks for client to be kept in memory.\n" "Set to -1 for unlimited amount." msgstr "" -"Jumlah blok peta maksimum yang klien boleh simpan dalam memori.\n" +"Jumlah blok peta maksimum yang klien boleh simpan dalam ingatan.\n" "Tetapkan kepada -1 untuk jumlah tanpa had." #: src/settings_translation_file.cpp @@ -5783,9 +5765,8 @@ msgid "Mod channels" msgstr "Saluran mods" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "Mengubah saiz elemen palang papar pandu (hudbar)." +msgstr "Mengubah saiz elemen papar pandu (HUD)." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -5943,7 +5924,6 @@ msgstr "" "ialah '1'." #: src/settings_translation_file.cpp -#, fuzzy 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" @@ -5951,8 +5931,8 @@ msgid "" msgstr "" "Jumlah blok-blok tambahan yang boleh dimuatkan oleh /clearobjects pada " "sesuatu masa.\n" -"Ini merupakan keseimbangan antara overhed urus niaga sqlite\n" -"dan penggunaan memori (Kebiasaannya, 4096=100MB)." +"Ini merupakan keseimbangan antara overhed urus niaga SQLite\n" +"dan penggunaan ingatan (4096=100MB, mengikut kebiasaan)." #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -5978,7 +5958,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Pilihan mengatasi warna pautan sesawang di sembang." #: src/settings_translation_file.cpp msgid "" @@ -6152,7 +6132,6 @@ msgid "Prometheus listener address" msgstr "Alamat pendengar Prometheus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6160,7 +6139,7 @@ msgid "" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Alamat pendengar Prometheus.\n" -"Jika minetest dikompil dengan tetapan ENABLE_PROMETHEUS dibolehkan,\n" +"Jika Minetest dikompil dengan pilihan ENABLE_PROMETHEUS dibolehkan,\n" "membolehkan pendengar metrik untuk Prometheus pada alamat berkenaan.\n" "Metrik boleh diambil di http://127.0.0.1:30000/metrics" @@ -6236,7 +6215,7 @@ msgid "" "csm_restriction_noderange)\n" "READ_PLAYERINFO: 32 (disable get_player_names call client-side)" msgstr "" -"Hadkan akses sesetengah fungsi pihak klien di pelayan.\n" +"Hadkan capaian sesetengah fungsi pihak klien di pelayan.\n" "Gabungkan bendera bait di bawah ini untuk mengehadkan ciri-ciri pihak klien, " "atau\n" "tetapkan kepada 0 untuk tiada had:\n" @@ -6506,27 +6485,25 @@ msgstr "" "bayang lebih gelap." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" "Menetapkan saiz jejari bayang lembut.\n" -"Nilai lebih rendah untuk bayang lebih tajam dan nilai lebih tinggi untuk " -"bayang lebih lembut.\n" -"Nilai minimum 1.0 dan nilai maksimum 10.0" +"Nilai lebih rendah untuk bayang lebih tajam, nilai lebih tinggi untuk bayang " +"lebih lembut.\n" +"Nilai minimum: 1.0; nilai maksimum: 10.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" -"Menetapkan kecondongan orbit Matahari/Bulan dalam unit darjah\n" +"Menetapkan kecondongan orbit Matahari/Bulan dalam unit darjah.\n" "Nilai 0 untuk tidak condong / tiada orbit menegak.\n" -"Nilai minimum 0.0 dan nilai maksimum 60.0" +"Nilai minimum: 0.0; nilai maksimum: 60.0" #: src/settings_translation_file.cpp msgid "" @@ -6591,7 +6568,7 @@ msgstr "Kualiti penapisan bayang" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "Jarak maksimum peta bayang untuk menerjemah bayang, dalam unit nod" +msgstr "Jarak maksimum peta bayang untuk mengemas gabung bayang, dalam unit nod" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" @@ -6634,7 +6611,6 @@ msgstr "" "Anda perlu mulakan semula selepas mengubah tetapan ini." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" msgstr "Tunjuk latar belakang tag nama secara lalainya" @@ -6748,7 +6724,7 @@ msgid "" "Files that are not present will be fetched the usual way." msgstr "" "Menetapkan URL dari mana klien mengambil media, menggantikan UDP.\n" -"$filename mestilah boleh diakses daripada $remote_media$filename melalui\n" +"$filename mestilah boleh dicapai daripada $remote_media$filename melalui\n" "cURL (sudah tentu, remote_media mesti berakhir dengan tanda condong).\n" "Fail yang tidak wujud akan diambil dengan cara biasa." @@ -6769,6 +6745,10 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Sebar kemas kini lengkap peta bayang merentasi jumlah bingkai yang diberi.\n" +"Nilai lebih tinggi mungkin membuatkan bayang lembap bertindak balas,\n" +"nilai lebih rendah akan memakan lebih banyak sumber.\n" +"Nilai minimum: 1; nilai maksimum: 16" #: src/settings_translation_file.cpp msgid "" @@ -6906,16 +6886,14 @@ msgid "Texture path" msgstr "Laluan tekstur" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" -"Saiz tekstur yang akan digunakan untuk menerjemah peta bayang.\n" +"Saiz tekstur yang akan digunakan untuk mengemas gabung peta bayang.\n" "Nilai ini mestilah hasil kuasa dua.\n" -"Nombor lebih besar mencipta bayang lebih baik tetapi ia juga lebih banyak " -"guna sumber." +"Nombor lebih besar mencipta bayang lebih baik tetapi ia juga lebih berat." #: src/settings_translation_file.cpp msgid "" @@ -6941,7 +6919,6 @@ msgid "The URL for the content repository" msgstr "URL untuk repositori kandungan" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "Zon mati bagi kayu bedik yang digunakan" @@ -7024,7 +7001,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"Terjemahan bahagian belakang.\n" +"Kemas gabung bahagian belakang.\n" "Anda perlu memulakan semula selepas mengubah tetapan ini.\n" "Nota: Di Android, kekalkan dengan OGLES1 jika tidak pasti! Apl mungkin gagal " "dimulakan jika ditukar.\n" @@ -7032,7 +7009,6 @@ msgstr "" "Pembayang disokong oleh OpenGL (komputer sahaja) dan OGLES2 (dalam ujikaji)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." @@ -7131,7 +7107,7 @@ msgstr "Kelajuan masa" #: src/settings_translation_file.cpp msgid "Timeout for client to remove unused map data from memory." -msgstr "Had masa untuk klien membuang peta yang tidak digunakan dari memori." +msgstr "Had masa untuk klien membuang peta yang tidak digunakan dari ingatan." #: src/settings_translation_file.cpp msgid "" @@ -7235,7 +7211,6 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Gunakan penapisan bilinear apabila menyesuaikan tekstur." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" @@ -7446,9 +7421,8 @@ msgid "Waving plants" msgstr "Tumbuhan bergoyang" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Warna kotak pemilihan" +msgstr "Warna pautan sesawang" #: src/settings_translation_file.cpp msgid "" @@ -7460,8 +7434,7 @@ msgstr "" "semua\n" "imej GUI perlu ditapis dalam perisian, tetapi sesetengah imej dijana secara " "terus\n" -"ke perkakasan (contohnya, penterjemahan-ke-tekstur untuk nod dalam " -"inventori)." +"ke perkakasan (contohnya, kemas-gabung-ke-tekstur untuk nod dalam inventori)." #: src/settings_translation_file.cpp msgid "" @@ -7480,7 +7453,6 @@ msgstr "" "perkakasan." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7499,8 +7471,8 @@ msgstr "" "tekstur\n" "minimum untuk tekstur yang disesuai-naikkan; nilai lebih tinggi tampak " "lebih\n" -"tajam, tetapi memerlukan memori yang lebih banyak. Nilai kuasa 2 " -"digalakkan.\n" +"tajam, tetapi memerlukan ingatan yang lebih banyak. Nilai kuasa 2 digalakkan." +"\n" "Tetapan ini HANYA digunakan jika penapisan bilinear/trilinear/anisotropik " "dibolehkan.\n" "Tetapan ini juga digunakan sebagai saiz tekstur nod asas untuk\n" @@ -7517,13 +7489,12 @@ msgstr "" "digunakan." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" "Sama ada latar belakang tag nama patut ditunjukkan secara lalainya.\n" -"Mods masih boleh tetapkan latar belakang." +"Mods masih boleh menetapkan latar belakang." #: src/settings_translation_file.cpp msgid "Whether node texture animations should be desynchronized per mapblock." -- cgit v1.2.3 From f022f030d08bc8a01080b27f6012a16fc173f2fd Mon Sep 17 00:00:00 2001 From: abidin toumi Date: Tue, 30 Nov 2021 18:24:07 +0000 Subject: Translated using Weblate (Arabic) Currently translated at 37.8% (535 of 1415 strings) --- po/ar/minetest.po | 399 +++++++++++++++++++++++++++++------------------------- 1 file changed, 217 insertions(+), 182 deletions(-) diff --git a/po/ar/minetest.po b/po/ar/minetest.po index 5f539e66b..5aa8137b4 100644 --- a/po/ar/minetest.po +++ b/po/ar/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-10-10 21:02+0000\n" +"PO-Revision-Date: 2021-12-05 13:51+0000\n" "Last-Translator: abidin toumi \n" "Language-Team: Arabic \n" @@ -18,11 +18,11 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "امسح طابور الرسائل الصادرة" #: builtin/client/chatcommands.lua msgid "Empty command." @@ -50,7 +50,7 @@ msgstr "اللاعبون المتصلون: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "طابور الرسائل الصادرة فارغ." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." @@ -95,9 +95,8 @@ msgid "OK" msgstr "موافق" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "الأوامر غير المتاحة: " +msgstr "<ليس متاحًا>" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -270,7 +269,7 @@ msgstr "عُد للقائمة الرئيسة" #: builtin/mainmenu/dlg_contentstore.lua msgid "Base Game:" -msgstr "اللعبة القاعدية" +msgstr "اللعبة القاعدية :" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" @@ -385,11 +384,11 @@ msgstr "مواطن بيئية" #: builtin/mainmenu/dlg_create_world.lua msgid "Caverns" -msgstr "مغارات" +msgstr "كهوف" #: builtin/mainmenu/dlg_create_world.lua msgid "Caves" -msgstr "كهوف" +msgstr "مغارات" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" @@ -473,7 +472,7 @@ msgstr "تدفق الطين" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" -msgstr "شبكة أنفاق وكهوف" +msgstr "شبكة أنفاق ومغارات" #: builtin/mainmenu/dlg_create_world.lua msgid "No game selected" @@ -922,9 +921,8 @@ msgid "Start Game" msgstr "ابدأ اللعبة" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- العنوان: " +msgstr "عنوان" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -940,9 +938,8 @@ msgstr "النمط الإبداعي" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "- التضرر: " +msgstr "الضرر / قتال اللاعبين" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" @@ -1030,7 +1027,7 @@ msgstr "اوراق بتفاصيل واضحة" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "عالي" #: builtin/mainmenu/tab_settings.lua msgid "Low" @@ -1038,7 +1035,7 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "متوسط" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1126,11 +1123,11 @@ msgstr "مرشح خطي ثلاثي" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "عالية جدا" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "منخفضة جدًا" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1173,9 +1170,8 @@ msgid "Connection error (timed out?)" msgstr "خطأ في الاتصال (انتهاء المهلة؟)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "لا يمكن إيجاد أو تحميل لعبة \"" +msgstr "تعذر العثور على اللعبة أو تحميلها " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1249,12 +1245,12 @@ msgstr "- اسم الخادم: " #: src/client/game.cpp #, fuzzy msgid "A serialization error occurred:" -msgstr "حدث خطأ:" +msgstr "حدث خطأ في التسلسل:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "رُفض النفاذ. السبب: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1266,19 +1262,19 @@ msgstr "المشي التلقائي ممكن" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "حدود الكتل مخفية" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "حدود كل الكتل ظاهرة" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "حدود الكتلة الحالية ظاهرة" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "حدود الكتل القريبة ظاهرة" #: src/client/game.cpp msgid "Camera update disabled" @@ -1290,7 +1286,7 @@ msgstr "تحديث الكاميرا مفعل" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "تعذر إظهار حدود الكتل ( تحتاج امتياز 'basic_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1306,7 +1302,7 @@ msgstr "الوضع السينمائي مفعل" #: src/client/game.cpp msgid "Client disconnected" -msgstr "" +msgstr "فُصل الاتصال عن العميل" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1318,7 +1314,7 @@ msgstr "يتصل بالخادوم…" #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "فشل الاتصال لسبب مجهول" #: src/client/game.cpp msgid "Continue" @@ -1360,7 +1356,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "تعذر تحليل العنوان:%s" #: src/client/game.cpp msgid "Creating client..." @@ -1491,9 +1487,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "الخريطة المصغرة معطلة من قبل لعبة أو تعديل" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "لاعب منفرد" +msgstr "متعدد اللاعبين" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1570,12 +1565,12 @@ msgstr "الصوت غير مكتوم" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "يُحتمل أن نسخة الخادم مختلفة عن %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "تعذر الاتصال بـ %s لأن IPv6 معطلة" #: src/client/game.cpp #, c-format @@ -1652,9 +1647,8 @@ msgid "Caps Lock" msgstr "Caps Lock" #: src/client/keycode.cpp -#, fuzzy msgid "Control" -msgstr "Control" +msgstr "التحكم" #: src/client/keycode.cpp msgid "Down" @@ -1670,17 +1664,15 @@ msgstr "" #: src/client/keycode.cpp msgid "Execute" -msgstr "" +msgstr "شغّل" #: src/client/keycode.cpp -#, fuzzy msgid "Help" -msgstr "Help" +msgstr "مساعدة" #: src/client/keycode.cpp -#, fuzzy msgid "Home" -msgstr "Home" +msgstr "الرئيسية" #: src/client/keycode.cpp #, fuzzy @@ -1953,28 +1945,26 @@ msgid "Minimap hidden" msgstr "الخريطة المصغرة مخفية" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in radar mode, Zoom x%d" -msgstr "الخريطة المصغرة في وضع الرادار، تكبير x1" +msgstr "الخريطة المصغرة في وضع الرادار، تكبير x%d" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "الخريطة المصغرة في وضع الأسطح، تكبير x1" +msgstr "الخريطة المصغرة في وضع الأسطح، تكبير x%d" #: src/client/minimap.cpp -#, fuzzy msgid "Minimap in texture mode" -msgstr "الخريطة المصغرة في وضع الأسطح، تكبير x1" +msgstr "الخريطة المصغرة في وضع الاكساء" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "فشل تحميل $1" +msgstr "فشل فتح صفحة الويب" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "يفتح صفحة الويب" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2002,9 +1992,8 @@ msgid "Proceed" msgstr "تابع" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"خاص\" = التسلق نزولا" +msgstr "\"Aux1\" = التسلق نزولا" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -2016,7 +2005,7 @@ msgstr "القفز التلقائي" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -2024,7 +2013,7 @@ msgstr "للخلف" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "حدود الكتلة" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2044,11 +2033,11 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. range" -msgstr "" +msgstr "قلل المدى" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. volume" -msgstr "" +msgstr "قلل الحجم" #: src/gui/guiKeyChangeMenu.cpp msgid "Double tap \"jump\" to toggle fly" @@ -2064,11 +2053,11 @@ msgstr "للأمام" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. range" -msgstr "" +msgstr "زد المدى" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. volume" -msgstr "" +msgstr "زد الحجم" #: src/gui/guiKeyChangeMenu.cpp msgid "Inventory" @@ -2112,7 +2101,7 @@ msgstr "صوّر الشاشة" #: src/gui/guiKeyChangeMenu.cpp msgid "Sneak" -msgstr "" +msgstr "تسلل" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle HUD" @@ -2175,9 +2164,9 @@ msgid "Muted" msgstr "مكتوم" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "حجم الصوت: " +msgstr "حجم الصوت: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2260,11 +2249,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "3D clouds" -msgstr "" +msgstr "سحب ثلاثية الأبعاد" #: src/settings_translation_file.cpp msgid "3D mode" -msgstr "" +msgstr "وضع الشاشة ثلاثية الأبعاد" #: src/settings_translation_file.cpp msgid "3D mode parallax strength" @@ -2326,7 +2315,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." -msgstr "" +msgstr "رسالة ستعرض عند انهيار الخادم." #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." @@ -2346,23 +2335,23 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Acceleration in air" -msgstr "" +msgstr "تسارع الطيران" #: src/settings_translation_file.cpp msgid "Acceleration of gravity, in nodes per second per second." -msgstr "" +msgstr "تسارع الجاذبية، عقدة/ثانية²." #: src/settings_translation_file.cpp msgid "Active Block Modifiers" -msgstr "" +msgstr "معدِلات الكتل النشطة" #: src/settings_translation_file.cpp msgid "Active block management interval" -msgstr "" +msgstr "مهلة إدارة الكتل النشطة" #: src/settings_translation_file.cpp msgid "Active block range" -msgstr "" +msgstr "مدى الكتل النشطة" #: src/settings_translation_file.cpp msgid "Active object send range" @@ -2374,6 +2363,10 @@ msgid "" "Leave this blank to start a local server.\n" "Note that the address field in the main menu overrides this setting." msgstr "" +"عنوان الخادم\n" +"اتركه فارغًا لاستضافة لعبة محلية.\n" +"أدرك أن هذه القيمة ستُتجاوز إذا كان حقل العنوان في القائمة الرئيسية يحوي " +"عنوانًا." #: src/settings_translation_file.cpp msgid "Adds particles when digging a node." @@ -2401,9 +2394,10 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Advanced" -msgstr "" +msgstr "متقدم" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Alters the light curve by applying 'gamma correction' to it.\n" "Higher values make middle and lower light levels brighter.\n" @@ -2411,6 +2405,11 @@ msgid "" "This only has significant effect on daylight and artificial\n" "light, it has very little effect on natural night light." msgstr "" +"يعدل منحنى الضوء عن طريق تطبيق \"تصحيح جاما\" عليه.\n" +"القيم الأعلى تجعل مستويات الإضاءة المتوسطة والدنيا أكثر بريقًا.\n" +"تترك القيمة \"1.0\" منحنى الضوء على حاله.\n" +"لها تأثير كبير فقط على ضوء النهار والضوء الصناعي ، ولها تأثير ضئيل للغاية " +"على ضوء الليل الطبيعي." #: src/settings_translation_file.cpp msgid "Always fly and fast" @@ -2422,11 +2421,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Amount of messages a player may send per 10 seconds." -msgstr "" +msgstr "عدد اارسائل المسموح بها لكل 10 ثوان." #: src/settings_translation_file.cpp msgid "Amplifies the valleys." -msgstr "" +msgstr "تضخيم الوديان." #: src/settings_translation_file.cpp msgid "Anisotropic filtering" @@ -2434,15 +2433,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Announce server" -msgstr "" +msgstr "أعلن عن الخادم" #: src/settings_translation_file.cpp msgid "Announce to this serverlist." -msgstr "" +msgstr "أدرجه في هذه القائمة." #: src/settings_translation_file.cpp msgid "Append item name" -msgstr "" +msgstr "ضمّن اسم العنصر" #: src/settings_translation_file.cpp msgid "Append item name to tooltip." @@ -2464,7 +2463,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Ask to reconnect after crash" -msgstr "" +msgstr "اطلب إعادة الاتصال بعد انقطاعه" #: src/settings_translation_file.cpp msgid "" @@ -2483,11 +2482,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Automatic forward key" -msgstr "" +msgstr "زر المشي التلقائي" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." -msgstr "" +msgstr "قفز تلقائي فوق العوائق التي ارتفاعها كتلة واحدة." #: src/settings_translation_file.cpp msgid "Automatically report to the serverlist." @@ -2495,7 +2494,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Autosave screen size" -msgstr "" +msgstr "حفظ حجم الشاشة تلقائيًا" #: src/settings_translation_file.cpp msgid "Autoscaling mode" @@ -2503,11 +2502,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Aux1 key" -msgstr "" +msgstr "مفتاح Aux1" #: src/settings_translation_file.cpp msgid "Aux1 key for climbing/descending" -msgstr "" +msgstr "مفتاح Aux1 للتسلق / للنزول" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2515,19 +2514,19 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Base ground level" -msgstr "" +msgstr "مستوى الأرض الأساسي" #: src/settings_translation_file.cpp msgid "Base terrain height." -msgstr "" +msgstr "إرتفاع التضاريس الأساسي." #: src/settings_translation_file.cpp msgid "Basic" -msgstr "" +msgstr "أساسي" #: src/settings_translation_file.cpp msgid "Basic privileges" -msgstr "" +msgstr "الإمتيازات الأساسية" #: src/settings_translation_file.cpp msgid "Beach noise" @@ -2539,7 +2538,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Bilinear filtering" -msgstr "" +msgstr "ترشيح خطي ثنائي" #: src/settings_translation_file.cpp msgid "Bind address" @@ -2559,27 +2558,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Bold and italic font path" -msgstr "" +msgstr "مسار الخطين العريض والمائل" #: src/settings_translation_file.cpp msgid "Bold and italic monospace font path" -msgstr "" +msgstr "مسار خطي monospace العريض والمائل" #: src/settings_translation_file.cpp msgid "Bold font path" -msgstr "" +msgstr "مسار الخط العريض" #: src/settings_translation_file.cpp msgid "Bold monospace font path" -msgstr "" +msgstr "مسار خط monospace العريض" #: src/settings_translation_file.cpp msgid "Build inside player" -msgstr "" +msgstr "ضع الكتلة في موقع اللاعب" #: src/settings_translation_file.cpp msgid "Builtin" -msgstr "" +msgstr "مدمج" #: src/settings_translation_file.cpp msgid "" @@ -2591,11 +2590,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Camera smoothing" -msgstr "" +msgstr "انسيابية حركة الكامير" #: src/settings_translation_file.cpp msgid "Camera smoothing in cinematic mode" -msgstr "" +msgstr "انسيابية حركة الكامير في الوضع السنيمائي" #: src/settings_translation_file.cpp msgid "Camera update toggle key" @@ -2615,7 +2614,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Cave width" -msgstr "" +msgstr "عُرض المغارة" #: src/settings_translation_file.cpp msgid "Cave1 noise" @@ -2662,11 +2661,11 @@ msgstr "الأوامر" #: src/settings_translation_file.cpp msgid "Chat font size" -msgstr "" +msgstr "حجم خط المحادثة" #: src/settings_translation_file.cpp msgid "Chat key" -msgstr "" +msgstr "مفتاح المحادثة" #: src/settings_translation_file.cpp msgid "Chat log level" @@ -2674,11 +2673,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Chat message count limit" -msgstr "" +msgstr "حدُّ رسائل المحادثة" #: src/settings_translation_file.cpp msgid "Chat message format" -msgstr "" +msgstr "نسقُ رسائل المحادثة" #: src/settings_translation_file.cpp msgid "Chat message kick threshold" @@ -2686,16 +2685,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Chat message max length" -msgstr "" +msgstr "الطول الأقصى لرسائل المحادثة" #: src/settings_translation_file.cpp msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "الدردشة ظاهرة" +msgstr "روابط المحادثة" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2703,11 +2701,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Cinematic mode" -msgstr "" +msgstr "الوضع السنيمائي" #: src/settings_translation_file.cpp msgid "Cinematic mode key" -msgstr "" +msgstr "مفتاح الوضع السنيمائي" #: src/settings_translation_file.cpp msgid "Clean transparent textures" @@ -2718,14 +2716,16 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"روابط ويب قابلة للنقر (زر الفأرة الأوسط أو زر الفأرة الأيسر+Ctrl) مفعلة في " +"المحادثة." #: src/settings_translation_file.cpp msgid "Client" -msgstr "" +msgstr "عميل" #: src/settings_translation_file.cpp msgid "Client and Server" -msgstr "" +msgstr "عميل وخادم" #: src/settings_translation_file.cpp msgid "Client modding" @@ -2741,15 +2741,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Climbing speed" -msgstr "" +msgstr "سرعة التسلق" #: src/settings_translation_file.cpp msgid "Cloud radius" -msgstr "" +msgstr "تفاصيل السحاب" #: src/settings_translation_file.cpp msgid "Clouds" -msgstr "" +msgstr "سحاب" #: src/settings_translation_file.cpp msgid "Clouds are a client side effect." @@ -2757,15 +2757,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Clouds in menu" -msgstr "" +msgstr "سحب في القائمة" #: src/settings_translation_file.cpp msgid "Colored fog" -msgstr "" +msgstr "ضباب ملون" #: src/settings_translation_file.cpp msgid "Colored shadows" -msgstr "" +msgstr "ظلال ملونة" #: src/settings_translation_file.cpp msgid "" @@ -2801,6 +2801,10 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"مستوى ضغط لحفظ الملف mapblocks في القرص.\n" +"-1 - المستوى الافتراضي\n" +"0 - ضغط ضعيف، سريع\n" +"9 - ضغط قوي، بطيء" #: src/settings_translation_file.cpp msgid "" @@ -2809,18 +2813,22 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"مستوى ضغط لإرسال ملف mapblocks للعميل.\n" +"-1 - المستوى الافتراضي\n" +"0 - ضغط ضعيف، سريع\n" +"9 - ضغط قوي، بطيء" #: src/settings_translation_file.cpp msgid "Connect glass" -msgstr "" +msgstr "زجاج متصل" #: src/settings_translation_file.cpp msgid "Connect to external media server" -msgstr "" +msgstr "اتصل بخادم وسائط خارجي" #: src/settings_translation_file.cpp msgid "Connects glass if supported by node." -msgstr "" +msgstr "زجاج متصل اذا كانت العقدة تدعمه." #: src/settings_translation_file.cpp msgid "Console alpha" @@ -2858,7 +2866,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Controls" -msgstr "" +msgstr "التحكم" #: src/settings_translation_file.cpp msgid "" @@ -2866,6 +2874,9 @@ msgid "" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" +"يتحكم في طول دورة النهار والليل.\n" +"أمثلة:\n" +"72 = 20 دقيقة ، 360 = 4 دقائق ، 1 = 24 ساعة ، 0 = نهار / ليل أبدي." #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." @@ -2888,11 +2899,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Crash message" -msgstr "" +msgstr "رسالة الانهيار" #: src/settings_translation_file.cpp msgid "Creative" -msgstr "" +msgstr "إبداعي" #: src/settings_translation_file.cpp msgid "Crosshair alpha" @@ -2920,7 +2931,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Damage" -msgstr "" +msgstr "ضرر" #: src/settings_translation_file.cpp msgid "Debug info toggle key" @@ -2936,11 +2947,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Dec. volume key" -msgstr "" +msgstr "مفتاح تقليل الحجم" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." -msgstr "" +msgstr "قلل منه لزيادة مقاومة الحركة في السوائل." #: src/settings_translation_file.cpp msgid "Dedicated server step" @@ -2948,33 +2959,35 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Default acceleration" -msgstr "" +msgstr "التسارع الافتراضي" #: src/settings_translation_file.cpp msgid "Default game" -msgstr "" +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 "" +"اللعبة الافتراضية عند إنشاء عالم جديد.\n" +"سيُتجاوز هذا الخيار عند إنشاء عالم جديد من القائمة." #: src/settings_translation_file.cpp msgid "Default password" -msgstr "" +msgstr "كلمة المرور الافتراضية" #: src/settings_translation_file.cpp msgid "Default privileges" -msgstr "" +msgstr "الامتيازات الافتراضية" #: src/settings_translation_file.cpp msgid "Default report format" -msgstr "" +msgstr "نسقُ التقارير الافتراضي" #: src/settings_translation_file.cpp msgid "Default stack size" -msgstr "" +msgstr "حجم المكدس الافتراضي" #: src/settings_translation_file.cpp msgid "" @@ -2985,23 +2998,23 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." -msgstr "" +msgstr "يحدد المناطق التي تتواجد بها أشجار التفاح." #: src/settings_translation_file.cpp msgid "Defines areas with sandy beaches." -msgstr "" +msgstr "يحدد المناطق التي توجد بها شواطئ رملية." #: src/settings_translation_file.cpp msgid "Defines distribution of higher terrain and steepness of cliffs." -msgstr "" +msgstr "يحدد توزع التضاريس العالية والمنحدرات." #: src/settings_translation_file.cpp msgid "Defines distribution of higher terrain." -msgstr "" +msgstr "يحدد توزع التضاريس العالية." #: src/settings_translation_file.cpp msgid "Defines full size of caverns, smaller values create larger caverns." -msgstr "" +msgstr "يضبط حجم الكهوف ، كلما قلت القيمة زاد حجم الكهوف." #: src/settings_translation_file.cpp msgid "Defines large-scale river channel structure." @@ -3009,15 +3022,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Defines location and terrain of optional hills and lakes." -msgstr "" +msgstr "يحدد تضاريس التلال والبحيرات الاختيارية وموقعها." #: src/settings_translation_file.cpp msgid "Defines the base ground level." -msgstr "" +msgstr "يحدد مستوى الأرض الأساسي." #: src/settings_translation_file.cpp msgid "Defines the depth of the river channel." -msgstr "" +msgstr "يحدد عمق الأنهار." #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." @@ -3033,7 +3046,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Defines tree areas and tree density." -msgstr "" +msgstr "يحدد مواقع الأشجار وكثافتها." #: src/settings_translation_file.cpp msgid "" @@ -3043,19 +3056,20 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Delay in sending blocks after building" -msgstr "" +msgstr "تأخير إرسال الكتل بعد البناء" #: src/settings_translation_file.cpp msgid "Delay showing tooltips, stated in milliseconds." msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "Deprecated Lua API handling" -msgstr "" +msgstr "معالجة API Lua القديمة" #: src/settings_translation_file.cpp msgid "Depth below which you'll find giant caverns." -msgstr "" +msgstr "بُعد الكهوف الكبيرة عن السطح." #: src/settings_translation_file.cpp msgid "Depth below which you'll find large caves." @@ -3688,154 +3702,160 @@ msgid "" "Horizontal acceleration in air when jumping or falling,\n" "in nodes per second per second." msgstr "" +"التسارع الأفقي عند الصقوط والقفز،\n" +"وحدتها عقدة/ثانية²." #: src/settings_translation_file.cpp msgid "" "Horizontal and vertical acceleration in fast mode,\n" "in nodes per second per second." msgstr "" +"التسارع الأفقي والعمودي في نمط السرعة،\n" +"وحدتها عقدة/ثانية²." #: src/settings_translation_file.cpp msgid "" "Horizontal and vertical acceleration on ground or when climbing,\n" "in nodes per second per second." msgstr "" +"التسارع الأفقي والعمودي أثناء التسلق،\n" +"وحدتها عقدة/ثانية²." #: src/settings_translation_file.cpp msgid "Hotbar next key" -msgstr "" +msgstr "مفتاح العنصر التالي في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar previous key" -msgstr "" +msgstr "مفتاح العنصر السابق في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 1 key" -msgstr "" +msgstr "مفتاح الخانة 1 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 10 key" -msgstr "" +msgstr "مفتاح الخانة 10 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 11 key" -msgstr "" +msgstr "مفتاح الخانة 11 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 12 key" -msgstr "" +msgstr "مفتاح الخانة 21 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 13 key" -msgstr "" +msgstr "مفتاح الخانة 13 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 14 key" -msgstr "" +msgstr "مفتاح الخانة 14 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 15 key" -msgstr "" +msgstr "مفتاح الخانة 15 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 16 key" -msgstr "" +msgstr "مفتاح الخانة 16 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 17 key" -msgstr "" +msgstr "مفتاح الخانة 17 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 18 key" -msgstr "" +msgstr "مفتاح الخانة 18 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 19 key" -msgstr "" +msgstr "مفتاح الخانة 19 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 2 key" -msgstr "" +msgstr "مفتاح الخانة 2 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 20 key" -msgstr "" +msgstr "مفتاح الخانة 20 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 21 key" -msgstr "" +msgstr "مفتاح الخانة 21 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 22 key" -msgstr "" +msgstr "مفتاح الخانة 22 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 23 key" -msgstr "" +msgstr "مفتاح الخانة 23 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 24 key" -msgstr "" +msgstr "مفتاح الخانة 24 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 25 key" -msgstr "" +msgstr "مفتاح الخانة 25 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 26 key" -msgstr "" +msgstr "مفتاح الخانة 26 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 27 key" -msgstr "" +msgstr "مفتاح الخانة 27 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 28 key" -msgstr "" +msgstr "مفتاح الخانة 28 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 29 key" -msgstr "" +msgstr "مفتاح الخانة 29 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 3 key" -msgstr "" +msgstr "مفتاح الخانة 3 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 30 key" -msgstr "" +msgstr "مفتاح الخانة 30 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 31 key" -msgstr "" +msgstr "مفتاح الخانة 31 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 32 key" -msgstr "" +msgstr "مفتاح الخانة 32 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 4 key" -msgstr "" +msgstr "مفتاح الخانة 4 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 5 key" -msgstr "" +msgstr "مفتاح الخانة 5 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 6 key" -msgstr "" +msgstr "مفتاح الخانة 6 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 7 key" -msgstr "" +msgstr "مفتاح الخانة 7 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 8 key" -msgstr "" +msgstr "مفتاح الخانة 8 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "Hotbar slot 9 key" -msgstr "" +msgstr "مفتاح الخانة 9 في شريط الإجراءات" #: src/settings_translation_file.cpp msgid "How deep to make rivers." @@ -3847,6 +3867,9 @@ msgid "" "If negative, liquid waves will move backwards.\n" "Requires waving liquids to be enabled." msgstr "" +"سرعة موجات السوائل.كلما زادت القيمة زادت سرعتها.\n" +"إذا كانت سالبة ، فإن حركة الموجات ستكون لجهة المعاكسة .\n" +"لاستخدامها فعّل سوائل متموجة." #: src/settings_translation_file.cpp msgid "" @@ -3868,27 +3891,33 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Humidity variation for biomes." -msgstr "" +msgstr "اختلاف الرطوبة في الحيوم." #: src/settings_translation_file.cpp +#, fuzzy msgid "IPv6" -msgstr "" +msgstr "IPv6" #: src/settings_translation_file.cpp msgid "IPv6 server" -msgstr "" +msgstr "خادم IPv6" #: src/settings_translation_file.cpp msgid "" "If FPS would go higher than this, limit it by sleeping\n" "to not waste CPU power for no benefit." msgstr "" +"إذا كان عدد الإطارات في الثانية (FPS) يتجاوز هذه القيمة\n" +"حدّه حتى لا تستهلك سرعة المعالج هباءً." #: src/settings_translation_file.cpp msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" +"إذا تم تعطيله ، فسيتم استخدام مفتاح \"Aux1\" للطيران بسرعة إذا كانت أوضاع " +"الطيران والسرعة \n" +"مفعلة." #: src/settings_translation_file.cpp msgid "" @@ -3912,6 +3941,8 @@ msgid "" "and\n" "descending." msgstr "" +"إذا فُعّل ، سيستخدم مفتاح \"Aux1\" بدلاً من مفتاح \"التسلل\" للتحرك للتسلق " +"والنزول." #: src/settings_translation_file.cpp msgid "" @@ -3921,7 +3952,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "If enabled, disable cheat prevention in multiplayer." -msgstr "" +msgstr "إذا فُعّل، سيعطل مكافحة الغش في وضع تعدد اللاعبين." #: src/settings_translation_file.cpp msgid "" @@ -4672,19 +4703,19 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Language" -msgstr "" +msgstr "اللغة" #: src/settings_translation_file.cpp msgid "Large cave depth" -msgstr "" +msgstr "عمق المغارات الكبيرة" #: src/settings_translation_file.cpp msgid "Large cave maximum number" -msgstr "" +msgstr "أقصى عدد للمغارات الكبيرة" #: src/settings_translation_file.cpp msgid "Large cave minimum number" -msgstr "" +msgstr "أقل عدد للمغارات الكبيرة" #: src/settings_translation_file.cpp msgid "Large cave proportion flooded" @@ -4696,7 +4727,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Leaves style" -msgstr "" +msgstr "مظهر الأوراق" #: src/settings_translation_file.cpp msgid "" @@ -4705,6 +4736,10 @@ msgid "" "- Simple: only outer faces, if defined special_tiles are used\n" "- Opaque: disable transparency" msgstr "" +"مظهر أوراق الشجر:\n" +"- مفصل: كل الوجوه مرئية\n" +"- بسيط: الوجوه الخارجية فقط ، إذا تم تحديد \"special_tiles\"\n" +"- معتم: يعطل الشفافية" #: src/settings_translation_file.cpp msgid "Left key" -- cgit v1.2.3 From c745e711ecd749f15912e1f3ac7a7ade4fa28fd8 Mon Sep 17 00:00:00 2001 From: Marian Date: Sun, 28 Nov 2021 17:32:37 +0000 Subject: Translated using Weblate (Slovak) Currently translated at 100.0% (1415 of 1415 strings) --- po/sk/minetest.po | 136 ++++++++++++++++++++++-------------------------------- 1 file changed, 54 insertions(+), 82 deletions(-) diff --git a/po/sk/minetest.po b/po/sk/minetest.po index 6dd0652e3..87067a627 100644 --- a/po/sk/minetest.po +++ b/po/sk/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-08-13 21:34+0000\n" +"PO-Revision-Date: 2021-12-02 01:31+0000\n" "Last-Translator: Marian \n" "Language-Team: Slovak \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -95,9 +95,8 @@ msgid "OK" msgstr "OK" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Príkaz nie je k dispozícií: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -302,9 +301,8 @@ msgid "Install missing dependencies" msgstr "Nainštaluj chýbajúce závislosti" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Inštalácia: Nepodporovaný typ súboru \"$1\", alebo poškodený archív" +msgstr "Inštalácia: Nepodporovaný typ súboru, alebo poškodený archív" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -637,7 +635,6 @@ msgid "Offset" msgstr "Ofset" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Vytrvalosť" @@ -1179,9 +1176,8 @@ msgid "Connection error (timed out?)" msgstr "Chyba spojenia (časový limit?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Nie je možné nájsť alebo nahrať hru \"" +msgstr "Nie je možné nájsť alebo nahrať hru: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1253,14 +1249,13 @@ msgid "- Server Name: " msgstr "- Meno servera: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Chyba:" +msgstr "Chyba pri serializácií:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Prístup zamietnutý. Dôvod: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1271,21 +1266,20 @@ msgid "Automatic forward enabled" msgstr "Automatický pohyb vpred je aktivovaný" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Hranice bloku" +msgstr "Hranice bloku sú skryté" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Hranice bloku sú zobrazené pre všetky bloky" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Hranice bloku sú zobrazené pre aktuálny blok" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Hranice bloku sú zobrazené pre blízke bloky" #: src/client/game.cpp msgid "Camera update disabled" @@ -1298,6 +1292,7 @@ msgstr "Aktualizácia kamery je aktivovaná" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" +"Hranice bloku nie je možné zobraziť (je potrebné oprávnenie 'basic_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1312,9 +1307,8 @@ msgid "Cinematic mode enabled" msgstr "Filmový režim je aktivovaný" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Úpravy (modding) cez klienta" +msgstr "Klient je odpojený" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1326,7 +1320,7 @@ msgstr "Pripájam sa k serveru..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Spojenie sa z neznámeho dôvodu nepodarilo" #: src/client/game.cpp msgid "Continue" @@ -1368,7 +1362,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Nepodarilo za vyhodnotiť adresu: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1578,17 +1572,17 @@ msgstr "Zvuk je obnovený" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Na serveri pravdepodobne beží iná verzia %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Nemôžem sa pripojiť na %s, lebo IPv6 je zakázané" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Nemôžem sa spojiť s %s, lebo IPv6 je zakázané" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1925,13 +1919,12 @@ msgid "Minimap in texture mode" msgstr "Minimapa v móde textúry" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Nepodarilo sa stiahnuť $1" +msgstr "Nepodarilo sa otvoriť web stránku" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Otváram web stránku" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2135,9 +2128,9 @@ msgid "Muted" msgstr "Zvuk stlmený" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Hlasitosť: " +msgstr "Hlasitosť: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2391,6 +2384,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Uprav zistenú hustotu zobrazenia, použitú pre zmenu veľkosti prvkov " +"grafického rozhrania." #: src/settings_translation_file.cpp #, c-format @@ -2687,7 +2682,6 @@ msgid "Chat command time message threshold" msgstr "Časové obmedzenie príkazu v správe" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Komunikačné príkazy" @@ -2724,9 +2718,8 @@ msgid "Chat toggle key" msgstr "Tlačidlo Prepnutie komunikácie" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Komunikačná konzola je zobrazená" +msgstr "Komunikačná webové odkazy" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2749,6 +2742,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Spustiteľné webové odkazy (kliknutie stredným tlačítkom, alebo CTRL+ľave " +"kliknutie) sú v komunikačnej konzole povolené." #: src/settings_translation_file.cpp msgid "Client" @@ -2838,34 +2833,28 @@ msgid "Command key" msgstr "Tlačidlo Príkaz" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Úroveň kompresie ZLib používaný pri ukladaní blokov mapy na disk.\n" -"-1 - predvolená úroveň kompresie Zlib\n" -"0 - bez kompresie, najrýchlejšie\n" -"9 - najlepšia kompresia, najpomalšie\n" -"(pre úrovne 1-3 používa Zlib \"rýchlu\" metódu, pre 4-9 používa normálnu " -"metódu)" +"Úroveň kompresie použitej pri ukladaní blokov mapy na disk.\n" +"-1 - predvolená úroveň kompresie\n" +"0 - najmenšia kompresia, najrýchlejšie\n" +"9 - najlepšia kompresia, najpomalšie" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Úroveň kompresie ZLib používaný pri posielaní blokov mapy klientom.\n" -"-1 - predvolená úroveň kompresie Zlib\n" -"0 - bez kompresie, najrýchlejšie\n" -"9 - najlepšia kompresia, najpomalšie\n" -"(pre úrovne 1-3 používa Zlib \"rýchlu\" metódu, pre 4-9 používa normálnu " -"metódu)" +"Úroveň kompresie použitej pri posielaní blokov mapy klientom.\n" +"-1 - predvolená úroveň kompresie\n" +"0 - najmenšia kompresia, najrýchlejšie\n" +"9 - najlepšia kompresia, najpomalšie" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2965,13 +2954,12 @@ msgid "Crosshair alpha" msgstr "Priehľadnosť zameriavača" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Priehľadnosť zameriavača (nepriehľadnosť, medzi 0 a 255).\n" -"Tiež nastavuje farbu objektu zameriavača" +"Tiež nastavuje farbu objektu zameriavača." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3050,7 +3038,6 @@ msgid "Default stack size" msgstr "Štandardná veľkosť kôpky" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" @@ -3184,7 +3171,7 @@ msgstr "Zakáž prázdne heslá" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Faktor škálovania hustoty zobrazenia" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3235,7 +3222,6 @@ msgstr "" "Táto podpora je experimentálna a API sa môže zmeniť." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " @@ -3246,12 +3232,11 @@ msgstr "" "opačnom prípade sa použije PCF filtrovanie." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" -"Aktivuj farebné tiene. \n" +"Aktivuje farebné tiene.\n" "Ak je aktivovaný, tak priesvitné kocky dávajú farebné tiene. Toto je náročné." #: src/settings_translation_file.cpp @@ -3734,7 +3719,6 @@ msgid "Global callbacks" msgstr "Globálne odozvy" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" @@ -4235,7 +4219,6 @@ msgstr "" "Toto je obvykle potrebné len pre core/builtin prispievateľov" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." msgstr "Inštrumentuj komunikačné príkazy pri registrácií." @@ -4326,7 +4309,6 @@ msgid "Joystick button repetition interval" msgstr "Interval opakovania tlačidla joysticku" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Mŕtva zóna joysticku" @@ -5443,9 +5425,8 @@ msgid "Map save interval" msgstr "Interval ukladania mapy" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Aktualizačný čas mapy" +msgstr "Aktualizačný čas mapy tieňov" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5767,7 +5748,6 @@ msgid "Mod channels" msgstr "Komunikačné kanály rozšírení" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." msgstr "Upraví veľkosť elementov v užívateľskom rozhraní." @@ -5920,14 +5900,13 @@ msgstr "" "v 'on_generated'. Pre mnohých hráčov môže byť optimálne nastavenie '1'." #: src/settings_translation_file.cpp -#, fuzzy 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 "" "Počet extra blokov, ktoré môžu byť naraz nahrané pomocou /clearobjects.\n" -"Toto je kompromis medzi vyťažením sqlite transakciami\n" +"Toto je kompromis medzi vyťažením SQLite transakciami\n" "a spotrebou pamäti (4096=100MB, ako približné pravidlo)." #: src/settings_translation_file.cpp @@ -5954,7 +5933,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Voliteľná zmena farby webového odkazu v komunikačnej konzole." #: src/settings_translation_file.cpp msgid "" @@ -6125,7 +6104,6 @@ msgid "Prometheus listener address" msgstr "Odpočúvacia adresa Promethea" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6133,7 +6111,7 @@ msgid "" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Odpočúvacia adresa Promethea.\n" -"Ak je minetest skompilovaný s nastaveným ENABLE_PROMETHEUS,\n" +"Ak je Minetest skompilovaný s nastaveným ENABLE_PROMETHEUS,\n" "aktivuj odpočúvanie metriky pre Prometheus na zadanej adrese.\n" "Metrika môže byť získaná na http://127.0.0.1:30000/metrics" @@ -6474,7 +6452,6 @@ msgstr "" "tiene." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" @@ -6482,10 +6459,9 @@ msgid "" msgstr "" "Nastav dosah mäkkých tieňov.\n" "Nižšia hodnota znamená ostrejšie a vyššia jemnejšie tiene.\n" -"Minimálna hodnota je 1.0 a max. hodnota je 10.0" +"Minimálna hodnota: 1.0; max. hodnota: 10.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" @@ -6493,7 +6469,7 @@ msgid "" msgstr "" "Nastav sklon orbity slnka/mesiaca v stupňoch\n" "Hodnota 0 znamená bez vertikálneho sklonu orbity.\n" -"Minimálna hodnota je 0.0 a max. hodnota je 60.0" +"Minimálna hodnota: 0.0; max. hodnota: 60.0" #: src/settings_translation_file.cpp msgid "" @@ -6603,9 +6579,8 @@ msgstr "" "Po zmene je požadovaný reštart." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "Pri mene zobraz štandardne pozadie" +msgstr "Štandardne zobraz menovku pozadia" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6736,6 +6711,10 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Rozptýľ celkovú aktualizáciu mapy tieňov cez zadané množstvo snímok.\n" +"Vyššie hodnoty môžu spôsobiť trhanie tieňov, nižšie hodnoty\n" +"spotrebujú viac zdrojov.\n" +"Minimálna hodnota: 1; maximálna hodnota: 16" #: src/settings_translation_file.cpp msgid "" @@ -6869,7 +6848,6 @@ msgid "Texture path" msgstr "Cesta k textúram" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" @@ -6877,7 +6855,7 @@ msgid "" msgstr "" "Veľkosť textúry pre renderovanie mapy tieňov.\n" "Toto musí byť mocnina dvoch.\n" -"Väčšie čísla vytvoria lepšie tiene, ale sú aj naročnejšie." +"Väčšie čísla vytvoria lepšie tiene, ale sú aj náročnejšie." #: src/settings_translation_file.cpp msgid "" @@ -6900,7 +6878,6 @@ msgid "The URL for the content repository" msgstr "Webová adresa (URL) k úložisku doplnkov" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "Mŕtva zóna joysticku" @@ -6992,7 +6969,6 @@ msgstr "" "Shadery sú podporované v OpenGL (len pre desktop) a v OGLES2 (experimentálne)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." @@ -7189,14 +7165,13 @@ msgid "Use bilinear filtering when scaling textures." msgstr "Použi bilineárne filtrovanie pri zmene mierky textúr." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" -"Použi mip mapy pre úpravu textúr. Môže jemne zvýšiť výkon,\n" -"obzvlášť použití balíčka textúr s vysokým rozlíšením.\n" +"Použi mip mapy pre zmenu veľkosti textúr. Môže jemne zvýšiť výkon,\n" +"obzvlášť pri použití balíčka textúr s vysokým rozlíšením.\n" "Gama korektné podvzorkovanie nie je podporované." #: src/settings_translation_file.cpp @@ -7397,9 +7372,8 @@ msgid "Waving plants" msgstr "Vlniace sa rastliny" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Farba obrysu bloku" +msgstr "Farba webového odkazu" #: src/settings_translation_file.cpp msgid "" @@ -7424,7 +7398,6 @@ msgstr "" "nepodporujú sťahovanie textúr z hardvéru." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7457,12 +7430,11 @@ msgstr "" "Ak je zakázané, budú použité bitmapové a XML vektorové písma." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" -"Či sa má pri mene zobraziť pozadie.\n" +"Či sa má štandardne zobraziť menovka pozadia.\n" "Rozšírenia stále môžu pozadie nastaviť." #: src/settings_translation_file.cpp -- cgit v1.2.3 From 8eeab37473872a98be254e34c32bc815f713f19b Mon Sep 17 00:00:00 2001 From: BreadW Date: Fri, 3 Dec 2021 00:05:25 +0000 Subject: Translated using Weblate (Japanese) Currently translated at 100.0% (1415 of 1415 strings) --- po/ja/minetest.po | 167 +++++++++++++++++++++--------------------------------- 1 file changed, 65 insertions(+), 102 deletions(-) diff --git a/po/ja/minetest.po b/po/ja/minetest.po index c813c1430..5c19ca018 100644 --- a/po/ja/minetest.po +++ b/po/ja/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Japanese (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-07-17 13:33+0000\n" +"PO-Revision-Date: 2021-12-05 13:51+0000\n" "Last-Translator: BreadW \n" "Language-Team: Japanese \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -90,9 +90,8 @@ msgid "OK" msgstr "OK" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "コマンドは使用できません: " +msgstr "<利用できません>" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -297,9 +296,8 @@ msgid "Install missing dependencies" msgstr "不足依存Modインストール" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "インストール: \"$1\"は非対応のファイル形式か、壊れたアーカイブです" +msgstr "インストール: 非対応のファイル形式か、壊れたアーカイブ" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -629,7 +627,6 @@ msgid "Offset" msgstr "オフセット" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "永続性" @@ -1166,9 +1163,8 @@ msgid "Connection error (timed out?)" msgstr "接続エラー (タイムアウト?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "以下のゲームが見つからないか読み込めません \"" +msgstr "ゲームが見つからないか読み込めません: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1240,14 +1236,13 @@ msgid "- Server Name: " msgstr "- サーバー名: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "エラーが発生しました:" +msgstr "シリアライズエラーが発生しました:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "アクセスが拒否されました。理由: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1258,21 +1253,20 @@ msgid "Automatic forward enabled" msgstr "自動前進 有効" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "ブロック境界線表示切替" +msgstr "ブロック境界線を非表示" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "すべてのブロックにブロック境界線を表示" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "現在のブロックにブロック境界を表示" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "近くのブロックにブロック境界を表示" #: src/client/game.cpp msgid "Camera update disabled" @@ -1284,7 +1278,7 @@ msgstr "カメラ更新 有効" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "ブロック境界線を表示できません ('basic_debug' 特権が必要です)" #: src/client/game.cpp msgid "Change Password" @@ -1299,9 +1293,8 @@ msgid "Cinematic mode enabled" msgstr "映画風モード 有効" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "クライアントの改造" +msgstr "クライアントが切断されました" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1313,7 +1306,7 @@ msgstr "サーバーに接続中..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "未知の理由で接続に失敗しました" #: src/client/game.cpp msgid "Continue" @@ -1355,7 +1348,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "アドレスを解決できませんでした: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1564,17 +1557,17 @@ msgstr "消音 取り消し" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "サーバーが別のバージョン %s を実行している可能性があります。" #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "IPv6が無効なため、%sに接続できません" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "IPv6が無効なため、%sでリッスンできません" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1911,13 +1904,12 @@ msgid "Minimap in texture mode" msgstr "ミニマップ テクスチャモード" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "$1のダウンロードに失敗" +msgstr "ウェブページを開けませんでした" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "ウェブページを開いています" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2122,9 +2114,9 @@ msgid "Muted" msgstr "消音" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "音量: " +msgstr "音量: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2373,7 +2365,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." -msgstr "" +msgstr "検出されたディスプレイの密度を調整し、UI要素のスケーリングに使用します。" #: src/settings_translation_file.cpp #, c-format @@ -2669,7 +2661,6 @@ msgid "Chat command time message threshold" msgstr "チャットコマンド時間切れメッセージのしきい値" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "チャットコマンド" @@ -2706,9 +2697,8 @@ msgid "Chat toggle key" msgstr "チャット切替キー" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "チャット 表示" +msgstr "チャットのウェブリンク" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2730,7 +2720,7 @@ msgstr "テクスチャの透過を削除" msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." -msgstr "" +msgstr "チャットコンソールの出力で、クリック可能なウェブリンク(中クリックまたはCtrl+左クリック)を有効になります。" #: src/settings_translation_file.cpp msgid "Client" @@ -2820,32 +2810,28 @@ msgid "Command key" msgstr "コマンドキー" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"マップブロックをディスクに保存するときに使用する ZLib圧縮レベル。\n" -"-1 - Zlib の規定の圧縮レベル\n" -"0 - 圧縮なし、最速\n" -"9 - 最高の圧縮、最も遅い\n" -"(レベル 1〜3 はZlibの「高速」方式を使用し、4〜9 は通常方式を使用)" +"マップブロックをディスクに保存するときに使用する圧縮レベル。\n" +"-1 - 規定の圧縮レベルを使用\n" +"0 - 最小の圧縮、最も速い\n" +"9 - 最高の圧縮、最も遅い" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"マップブロックをクライアントに送信するときに使用する ZLib圧縮レベル。\n" -"-1 - Zlib の規定の圧縮レベル\n" -"0 - 圧縮なし、最速\n" -"9 - 最高の圧縮、最も遅い\n" -"(レベル 1〜3 はZlibの「高速」方式を使用し、4〜9 は通常方式を使用)" +"マップブロックをクライアントに送信するときに使用する圧縮レベル。\n" +"-1 - 規定の圧縮レベルを使用\n" +"0 - 最小の圧縮、最も速い\n" +"9 - 最高の圧縮、最も遅い" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2944,13 +2930,12 @@ msgid "Crosshair alpha" msgstr "十字カーソルの透過度" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "十字カーソルの透過度(不透明、0~255の間)。\n" -"オブジェクト十字カーソルの色も制御" +"これはオブジェクトの十字カーソルにも適用されます。" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3029,15 +3014,13 @@ msgid "Default stack size" msgstr "既定のスタック数" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" -"影のフィルタリング品質定義\n" -"これは、PCFまたはポアソンディスクを適用することで、やわらない影効果をシミュ" -"レートするものです。\n" +"影フィルタの品質を定義します。\n" +"これは、PCFまたはポアソンディスクを適用することで、やわらない影効果をシミュレートするものです。\n" "しかし、より多くのリソースを消費します。" #: src/settings_translation_file.cpp @@ -3160,7 +3143,7 @@ msgstr "空のパスワードを許可しない" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "ディスプレイ密度スケーリング係数" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3211,18 +3194,15 @@ msgstr "" "このサポートは実験的であり、APIは変わることがあります。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" "ポアソンディスクによるフィルタリングを有効にします。\n" -"true の場合、ポアソンディスクを使用して「やわらない影」を作ります。それ以外の" -"場合は、PCFフィルタリングを使用します。" +"true の場合、ポアソンディスクを使用して「やわらない影」を作ります。それ以外の場合は、PCFフィルタリングを使用します。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." @@ -3701,14 +3681,13 @@ msgid "Global callbacks" msgstr "グローバルコールバック" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" -"グローバルマップ生成属性。\n" -"マップジェネレータv6では、'decorations' フラグは木とジャングルの草を\n" +"全体的なマップ生成属性。\n" +"マップジェネレータv6では、'decorations' フラグで木とジャングルの草を\n" "除くすべての装飾を制御しますが、他のすべてのマップジェネレータでは\n" "このフラグがすべての装飾を制御します。" @@ -4198,7 +4177,6 @@ msgstr "" "これは通常、コア/ビルトイン貢献者にのみ必要" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." msgstr "チャットコマンドが登録されるとすぐに計測します。" @@ -4293,7 +4271,6 @@ msgid "Joystick button repetition interval" msgstr "ジョイスティックボタンの繰り返し間隔" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "ジョイスティックのデッドゾーン" @@ -5401,9 +5378,8 @@ msgid "Map save interval" msgstr "マップ保存間隔" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "マップの更新間隔" +msgstr "地図の影の更新フレーム" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5720,9 +5696,8 @@ msgid "Mod channels" msgstr "Modチャンネル" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "HUDバー要素のサイズを変更します。" +msgstr "HUD要素のサイズを変更します。" #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -5874,15 +5849,14 @@ msgstr "" "多くのユーザーにとって最適な設定は '1' です。" #: src/settings_translation_file.cpp -#, fuzzy 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 "" -"一度に /clearobjects によってロードできる追加ブロックの数。\n" +"/clearobjects によって一度に読み込みできる追加ブロックの数です。\n" "これは、SQLiteトランザクションのオーバーヘッドとメモリ消費の間の\n" -"トレードオフです (経験則として、4096 = 100MB)。" +"トレードオフです (大体 4096 = 100MB)。" #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -5908,7 +5882,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "チャットのウェブリンクの色を上書きするオプションです。" #: src/settings_translation_file.cpp msgid "" @@ -6081,7 +6055,6 @@ msgid "Prometheus listener address" msgstr "プロメテウスリスナーのアドレス" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6089,10 +6062,9 @@ msgid "" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "プロメテウスリスナーのアドレス。\n" -"minetest が ENABLE_PROMETHEUS オプションを有効にしてコンパイルされている場" -"合、\n" +"Minetest が ENABLE_PROMETHEUS オプションを有効にしてコンパイルされている場合、\n" "そのアドレスのプロメテウスのメトリックスリスナーを有効にします。\n" -"メトリックは http://127.0.0.1:30000/metrics で取得可能" +"メトリックスは http://127.0.0.1:30000/metrics で取得可能" #: src/settings_translation_file.cpp msgid "Proportion of large caves that contain liquid." @@ -6431,7 +6403,6 @@ msgstr "" "値が小さいほど影が薄く、値が大きいほど影が濃くなります。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" @@ -6439,18 +6410,17 @@ msgid "" msgstr "" "やわらない影の半径サイズを設定します。\n" "値が小さいほどシャープな影、大きいほどやわらない影になります。\n" -"最小値1.0、最大値10.0" +"最小値: 1.0、最大値: 10.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" -"太陽/月の軌道の傾きを度数で設定する\n" -"0 は傾きのない垂直な軌道を意味します。\n" -"最小値 0.0、最大値 60.0" +"太陽/月の軌道の傾きを度数で設定します。\n" +"0 は傾きのない垂直な軌道です。\n" +"最小値: 0.0、最大値: 60.0" #: src/settings_translation_file.cpp msgid "" @@ -6558,9 +6528,8 @@ msgstr "" "変更後は再起動が必要です。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "既定でネームタグの背景を表示" +msgstr "ネームタグの背景を既定で表示" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6690,6 +6659,10 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"影の描画の完全な更新を指定されたフレーム数に広げます。\n" +"値を大きくすると影が遅延することがあり、値を小さくすると\n" +"より多くのリソースを消費します。\n" +"最小値: 1、最大値: 16" #: src/settings_translation_file.cpp msgid "" @@ -6820,15 +6793,14 @@ msgid "Texture path" msgstr "テクスチャパス" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" -"影投影を描画するためのテクスチャサイズです。\n" +"影を描画するためのテクスチャサイズです。\n" "これは2の累乗でなければなりません。\n" -"数字が大きいほど良い影ができますが、負荷も高くなります。" +"数字が大きいほどより良い影ができますが、負荷も高くなります。" #: src/settings_translation_file.cpp msgid "" @@ -6852,7 +6824,6 @@ msgid "The URL for the content repository" msgstr "コンテンツリポジトリのURL" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "ジョイスティックのデッドゾーン" @@ -6942,7 +6913,6 @@ msgstr "" "ます。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." @@ -7132,7 +7102,6 @@ msgid "Use bilinear filtering when scaling textures." msgstr "テクスチャを拡大縮小する場合はバイリニアフィルタリングを使用します。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" @@ -7140,8 +7109,7 @@ msgid "" msgstr "" "ミップマッピングを使用してテクスチャを拡大縮小します。特に高解像度の\n" "テクスチャパックを使用する場合は、パフォーマンスがわずかに向上する\n" -"可能性があります。\n" -"ガンマ補正縮小はサポートされていません。" +"可能性があります。ガンマ補正縮小はサポートされていません。" #: src/settings_translation_file.cpp msgid "" @@ -7341,9 +7309,8 @@ msgid "Waving plants" msgstr "揺れる草花" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "選択ボックスの色" +msgstr "ウェブリンクの色" #: src/settings_translation_file.cpp msgid "" @@ -7369,7 +7336,6 @@ msgstr "" "ビデオドライバのときは、古い拡大縮小方法に戻ります。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7382,12 +7348,10 @@ msgid "" msgstr "" "バイリニア/トライリニア/異方性フィルタを使用すると、低解像度の\n" "テクスチャがぼやける可能性があるため、鮮明なピクセルを保持するために\n" -"最近傍補間を使用して自動的にそれらを拡大します。\n" -"これは拡大されたテクスチャのための最小テクスチャサイズを設定します。\n" -"より高い値はよりシャープに見えますが、より多くのメモリを必要とします。\n" -"2のべき乗が推奨されます。この設定は、\n" -"バイリニア/トライリニア/異方性フィルタリングが有効の場合にのみ適用されま" -"す。\n" +"最近傍補間を使用して自動的にそれらを拡大します。これは拡大されたテクスチャの\n" +"ための最小テクスチャサイズを設定します。より高い値はよりシャープに見えますが、\n" +"より多くのメモリを必要とします。2の累乗が推奨されます。この設定は、\n" +"バイリニア/トライリニア/異方性フィルタリングが有効の場合にのみ適用されます。\n" "これは整列テクスチャの自動スケーリング用の基準ノードテクスチャサイズと\n" "しても使用されます。" @@ -7403,12 +7367,11 @@ msgstr "" "す。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" -"既定でネームタグの背景を表示するかどうかです。\n" +"ネームタグの背景を既定で表示するかどうかです。\n" "Modで背景を設定することもできます。" #: src/settings_translation_file.cpp -- cgit v1.2.3 From 9b2dd0c7b325c24caaafd88281e1e1871b62215b Mon Sep 17 00:00:00 2001 From: Gabriel Cardoso Date: Thu, 9 Dec 2021 21:44:39 +0000 Subject: Translated using Weblate (Portuguese (Brazil)) Currently translated at 99.2% (1404 of 1415 strings) --- po/pt_BR/minetest.po | 96 ++++++++++++++++++++-------------------------------- 1 file changed, 36 insertions(+), 60 deletions(-) diff --git a/po/pt_BR/minetest.po b/po/pt_BR/minetest.po index f90ae9bf7..7f632b27d 100644 --- a/po/pt_BR/minetest.po +++ b/po/pt_BR/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Portuguese (Brazil) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-09-17 18:38+0000\n" -"Last-Translator: Ronoaldo Pereira \n" +"PO-Revision-Date: 2021-12-11 04:51+0000\n" +"Last-Translator: Gabriel Cardoso \n" "Language-Team: Portuguese (Brazil) \n" "Language: pt_BR\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.10-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -90,9 +90,8 @@ msgid "OK" msgstr "Ok" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Comando não disponível: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -298,9 +297,8 @@ msgid "Install missing dependencies" msgstr "Instalar dependências ausentes" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Instalação: Tipo de arquivo \"$1\" não suportado ou corrompido" +msgstr "Instalação: Tipo de arquivo não suportado ou corrompido" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -631,7 +629,6 @@ msgid "Offset" msgstr "Deslocamento" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Persistência" @@ -972,7 +969,6 @@ msgid "Refresh" msgstr "Atualizar" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Descrição do servidor" @@ -1173,9 +1169,8 @@ msgid "Connection error (timed out?)" msgstr "Erro de conexão (tempo excedido?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Não foi possível localizar ou carregar jogo \"" +msgstr "Não foi possível localizar ou carregar jogo " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1248,14 +1243,13 @@ msgid "- Server Name: " msgstr "Nome do servidor: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" msgstr "Ocorreu um erro:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Acesso negado. Razão:%s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1266,21 +1260,20 @@ msgid "Automatic forward enabled" msgstr "Avanço automático para frente habilitado" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Limites de bloco" +msgstr "Limites de bloco ocultos" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Limites de bloco mostrados para todos os blocos" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Limites de bloco mostrados para o bloco atual" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Limites de bloco mostrados para blocos próximos" #: src/client/game.cpp msgid "Camera update disabled" @@ -1307,9 +1300,8 @@ msgid "Cinematic mode enabled" msgstr "Modo cinemático habilitado" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Mods de Cliente Local" +msgstr "Cliente desconectado" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1321,7 +1313,7 @@ msgstr "Conectando ao servidor..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "A conexão falhou por motivo desconhecido" #: src/client/game.cpp msgid "Continue" @@ -1363,7 +1355,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Não foi possível resolver o endereço:%s" #: src/client/game.cpp msgid "Creating client..." @@ -1572,17 +1564,17 @@ msgstr "Som desmutado" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "O servidor provavelmente está executando uma versão diferente de%s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Não foi possível conectar a%s porque o IPv6 está desativado" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Incapaz de escutar em%s porque IPv6 está desabilitado" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1919,13 +1911,12 @@ msgid "Minimap in texture mode" msgstr "Minimapa em modo de textura" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Falha ao baixar $1" +msgstr "Falha ao abrir página da web" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Abrindo página da web" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1956,7 +1947,6 @@ msgid "Proceed" msgstr "Continuar" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" msgstr "\"Especial\" = descer" @@ -2131,9 +2121,9 @@ msgid "Muted" msgstr "Mutado" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Volume do som: " +msgstr "Volume do som: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2399,6 +2389,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Ajuste a densidade de exibição detectada, usada para dimensionar os " +"elementos da IU." #: src/settings_translation_file.cpp #, c-format @@ -2699,7 +2691,6 @@ msgid "Chat command time message threshold" msgstr "Limite de mensagem de tempo de comando de bate-papo" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Comandos de Chat" @@ -2736,9 +2727,8 @@ msgid "Chat toggle key" msgstr "Tecla comutadora de chat" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Conversa mostrada" +msgstr "Links de bate-papo" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2761,6 +2751,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Links da web clicáveis (clique do meio ou Ctrl + botão esquerdo) ativados na " +"saída do console de bate-papo." #: src/settings_translation_file.cpp msgid "Client" @@ -2852,7 +2844,6 @@ msgid "Command key" msgstr "Tecla de Comando" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" @@ -2867,7 +2858,6 @@ msgstr "" "normal)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" @@ -2979,13 +2969,12 @@ msgid "Crosshair alpha" msgstr "Alpha do cursor" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" -"Alpha do cursor (o quanto ele é opaco, níveis entre 0 e 255).\n" -"Também controla a cor da cruz do objeto" +"Alpha do cursor (quanto ele é opaco, níveis entre 0 e 255).\n" +"Também controla a cor da cruz do objeto." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3064,14 +3053,13 @@ msgid "Default stack size" msgstr "Tamanho padrão de stack" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" "Define a qualidade de filtragem de sombreamento\n" -"Isso simula um efeito de sombras suaves aplicando um PCF ou um poisson disk\n" +"Isso simula um efeito de sombras suaves aplicando um PCF ou um Poisson disk\n" "mas também usa mais recursos." #: src/settings_translation_file.cpp @@ -3253,25 +3241,23 @@ msgstr "" "Esse suporte é experimental e a API pode mudar." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" -"Ativa filtragem de poisson disk.\n" -"Quando em true usa o poisson disk para fazer \"sombras suaves\". Caso " -"contrário usa filtragem PCF." +"Ativa filtragem de Poisson disk.\n" +"Quando em true usa o Poisson disk para fazer \"sombras suaves\". Caso " +"contrário, usa filtragem PCF." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" "Ativa sombras coloridas.\n" -"Quando em true nodes translúcidos podem projetar sombras coloridas. Isso é " -"caro." +"Quando em true, nodes translúcidos podem projetar sombras coloridas. Requer " +"o uso de muitos recursos." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3752,14 +3738,13 @@ msgid "Global callbacks" msgstr "Chamadas de retorno Globais" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atributos de geração de mapa globais.\n" -"No gerador de mapa v6 a flag 'decorations' controla todas as decorações " +"No gerador de mapa v6 a flag 'decorations' controla todas as decorações, " "exceto árvores\n" "e gramas da selva, em todos os outros geradores de mapa essa flag controla " "todas as decorações." @@ -4360,7 +4345,6 @@ msgid "Joystick button repetition interval" msgstr "Intervalo de repetição do botão do Joystick" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "\"Zona morta\" do joystick" @@ -5802,7 +5786,6 @@ msgid "Mod channels" msgstr "Canais de mod" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." msgstr "Modifica o tamanho dos elementos do hudbar." @@ -5961,7 +5944,6 @@ msgstr "" "'on_generated'. Para muitos usuários, a configuração ideal pode ser '1'." #: src/settings_translation_file.cpp -#, fuzzy 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" @@ -5997,7 +5979,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Substituição opcional da cor do link do bate-papo." #: src/settings_translation_file.cpp msgid "" @@ -6170,7 +6152,6 @@ msgid "Prometheus listener address" msgstr "Endereço do Prometheus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6526,7 +6507,6 @@ msgstr "" "significam sombras mais fortes." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" @@ -6538,7 +6518,6 @@ msgstr "" "Valor mínimo 1.0 e valor máximo 10.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" @@ -6655,7 +6634,6 @@ msgstr "" "É necessário reiniciar após alterar isso." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" msgstr "Mostrar plano de fundo da nametag por padrão" @@ -6924,7 +6902,6 @@ msgid "Texture path" msgstr "Diretorio da textura" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Texture size to render the shadow map on.\n" "This must be a power of two.\n" @@ -6956,7 +6933,6 @@ msgid "The URL for the content repository" msgstr "A url para o repositório de conteúdo" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "A zona morta do joystick" -- cgit v1.2.3 From 7b46bcbbb83df75647418a7324547f1921ed9e3f Mon Sep 17 00:00:00 2001 From: IAmOlive Date: Thu, 9 Dec 2021 08:06:37 +0000 Subject: Translated using Weblate (Vietnamese) Currently translated at 20.3% (288 of 1415 strings) --- po/vi/minetest.po | 657 +++++++++++++++++++++++++++++------------------------- 1 file changed, 353 insertions(+), 304 deletions(-) diff --git a/po/vi/minetest.po b/po/vi/minetest.po index 70ee9b5f1..07f13cfef 100644 --- a/po/vi/minetest.po +++ b/po/vi/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Vietnamese (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2020-06-13 21:08+0000\n" -"Last-Translator: darkcloudcat \n" +"PO-Revision-Date: 2022-01-04 06:53+0000\n" +"Last-Translator: IAmOlive \n" "Language-Team: Vietnamese \n" "Language: vi\n" @@ -12,44 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.1-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Xóa hàng đợi trò chuyện" #: builtin/client/chatcommands.lua msgid "Empty command." -msgstr "" +msgstr "Lệnh trống." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Trình đơn chính" +msgstr "Thoát ra màn hình chính" #: builtin/client/chatcommands.lua msgid "Invalid command: " -msgstr "" +msgstr "Lệnh không hợp lệ: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Lệnh đã dùng: " #: builtin/client/chatcommands.lua msgid "List online players" -msgstr "" +msgstr "Liệt kê những người đang chơi trực tuyến" #: builtin/client/chatcommands.lua msgid "Online players: " -msgstr "" +msgstr "Những người đang chơi trực tuyến: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "Hàng đợi trò chuyện đã trống." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Lệnh này đã bị cấm trong máy chủ này." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -57,52 +56,54 @@ msgstr "Hồi sinh" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" -msgstr "Bạn đã chết" +msgstr "Bạn đã bị chết" #: builtin/common/chatcommands.lua msgid "Available commands:" -msgstr "" +msgstr "Lệnh có sẵn:" #: builtin/common/chatcommands.lua msgid "Available commands: " -msgstr "" +msgstr "Lệnh có sẵn: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Lệnh không có sẵn: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Trợ giúp về lệnh" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Dùng '.help ' để có thêm thông tin về một câu lệnh hoặc dùng " +"'.help all' để xem danh sách về những câu lệnh có sẵn." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" -msgstr "" +msgstr "OK" #: builtin/fstk/ui.lua msgid "" -msgstr "" +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" -msgstr "Đã xảy ra lỗi trong tập lệnh Lua:" +msgstr "Một lỗi đã xảy ra trong tập lệnh Lua:" #: builtin/fstk/ui.lua msgid "An error occurred:" -msgstr "Xảy ra lỗi:" +msgstr "Đã xảy ra lỗi:" #: builtin/fstk/ui.lua msgid "Main menu" -msgstr "Trình đơn chính" +msgstr "Màn hình chính" #: builtin/fstk/ui.lua msgid "Reconnect" @@ -114,7 +115,7 @@ msgstr "Máy chủ đã yêu cầu kết nối lại:" #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " -msgstr "Phiên bản giao thức không khớp " +msgstr "Phiên bản giao thức không khớp. " #: builtin/mainmenu/common.lua msgid "Server enforces protocol version $1. " @@ -154,11 +155,11 @@ msgstr "Vô hiệu hóa tất cả" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable modpack" -msgstr "Vô hiệu hóa modpack" +msgstr "Vô hiệu hóa gói mod" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable all" -msgstr "Cho phép tất cả" +msgstr "Kích hoạt tất cả" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable modpack" @@ -169,43 +170,40 @@ msgid "" "Failed to enable mod \"$1\" as it contains disallowed characters. Only " "characters [a-z0-9_] are allowed." msgstr "" -"Không thể bật mod \"$ 1\" vì nó chứa các ký tự không được phép. Chỉ cho phép " -"các ký tự [a-z0-9_]." +"Không thể bật mod \"$1\" vì nó chứa các ký tự không được phép. Chỉ cho phép " +"các ký tự Latinh; chữ số và ký tự \"_\"." #: builtin/mainmenu/dlg_config_world.lua msgid "Find More Mods" -msgstr "" +msgstr "Tìm thêm mod" #: builtin/mainmenu/dlg_config_world.lua msgid "Mod:" msgstr "Mod:" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No (optional) dependencies" -msgstr "Phụ thuộc tùy chọn:" +msgstr "Không có phần phụ thuộc bắt buộc nào" #: builtin/mainmenu/dlg_config_world.lua msgid "No game description provided." msgstr "Không có mô tả trò chơi được cung cấp." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No hard dependencies" -msgstr "Phụ thuộc tùy chọn:" +msgstr "Không có phần phụ thuộc khó nào" #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." -msgstr "Không có mô tả modpack được cung cấp." +msgstr "Không có mô tả mod được cung cấp." #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No optional dependencies" -msgstr "Phụ thuộc tùy chọn:" +msgstr "Không có phần phụ thuộc tùy chọn nào" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua msgid "Optional dependencies:" -msgstr "Phụ thuộc tùy chọn:" +msgstr "Phần phụ thuộc tùy chọn:" #: builtin/mainmenu/dlg_config_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp @@ -214,19 +212,19 @@ msgstr "Tiết kiệm" #: builtin/mainmenu/dlg_config_world.lua msgid "World:" -msgstr "Thế giới" +msgstr "Thế giới:" #: builtin/mainmenu/dlg_config_world.lua msgid "enabled" -msgstr "kích hoạt" +msgstr "đã kích hoạt" #: builtin/mainmenu/dlg_contentstore.lua msgid "\"$1\" already exists. Would you like to overwrite it?" -msgstr "" +msgstr "Đã có \"$1\". Bạn có muốn ghi đè nó không?" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." -msgstr "" +msgstr "Phần phụ thuộc $1 và $2 sẽ được cài đặt." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" @@ -237,19 +235,20 @@ msgid "" "$1 downloading,\n" "$2 queued" msgstr "" +"$1 đang cài đặt,\n" +"$2 đã được xếp vào hàng đợi" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "$1 downloading..." -msgstr "Đang tải..." +msgstr "Đang tải xuống $1..." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." -msgstr "" +msgstr "Không thể tìm thấy phần phụ thuộc $1 (cần thiết)." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 sẽ được cài, phần phụ thuộc $2 sẽ được bỏ qua." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" @@ -257,28 +256,27 @@ msgstr "Tất cả các gói" #: builtin/mainmenu/dlg_contentstore.lua msgid "Already installed" -msgstr "" +msgstr "Đã được cài" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" -msgstr "" +msgstr "Trở về màn hình chính" #: builtin/mainmenu/dlg_contentstore.lua msgid "Base Game:" -msgstr "" +msgstr "Trò chơi cơ bản:" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "" +msgstr "ContentDB không có sẵn khi Minetest được cài mà không có cURL" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Downloading..." -msgstr "Đang tải..." +msgstr "Đang tải xuống..." #: builtin/mainmenu/dlg_contentstore.lua msgid "Failed to download $1" -msgstr "" +msgstr "Không tải xuống được $1" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -287,20 +285,19 @@ msgstr "Trò chơi" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install" -msgstr "" +msgstr "Cài đặt" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install $1" -msgstr "" +msgstr "Cài đặt $1" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install missing dependencies" -msgstr "Phụ thuộc tùy chọn:" +msgstr "Cài phần phụ thuộc bị thiếu" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install: Unsupported file type or broken archive" -msgstr "" +msgstr "Cài đặt: Loại tệp không được hỗ trợ hoặc tệp lưu trữ bị hỏng" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -309,143 +306,144 @@ msgstr "Mod" #: builtin/mainmenu/dlg_contentstore.lua msgid "No packages could be retrieved" -msgstr "" +msgstr "Không nhận được gói nào" #: builtin/mainmenu/dlg_contentstore.lua msgid "No results" -msgstr "" +msgstr "Không có kết quả" #: builtin/mainmenu/dlg_contentstore.lua msgid "No updates" -msgstr "" +msgstr "Không có cập nhật mới" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Không tìm thấy" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" -msgstr "" +msgstr "Ghi đè" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." -msgstr "" +msgstr "Vui lòng kiểm tra xem trò chơi này có đúng không." #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Đã xếp vào hàng đợi" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" -msgstr "" +msgstr "Gói cấu hình khối" #: builtin/mainmenu/dlg_contentstore.lua msgid "Uninstall" -msgstr "" +msgstr "Gỡ cài đặt" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update" -msgstr "" +msgstr "Cập nhật" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" -msgstr "" +msgstr "Cập nhật tất cả [$1]" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" -msgstr "" +msgstr "Xem thêm thông tin trên trình duyệt web của bạn" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" -msgstr "" +msgstr "Thế giới \"$1\" đã tồn tại" #: builtin/mainmenu/dlg_create_world.lua msgid "Additional terrain" -msgstr "" +msgstr "Địa hình bổ sung" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Altitude chill" -msgstr "" +msgstr "Độ cao lạnh" #: builtin/mainmenu/dlg_create_world.lua msgid "Altitude dry" -msgstr "" +msgstr "Độ cao khô ráo" #: builtin/mainmenu/dlg_create_world.lua msgid "Biome blending" -msgstr "" +msgstr "Các khu vực sinh học đang trộn lại với nhau" #: builtin/mainmenu/dlg_create_world.lua msgid "Biomes" -msgstr "" +msgstr "Khu sinh học" #: builtin/mainmenu/dlg_create_world.lua msgid "Caverns" -msgstr "" +msgstr "Hang động" #: builtin/mainmenu/dlg_create_world.lua msgid "Caves" -msgstr "" +msgstr "Hang động" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" -msgstr "" +msgstr "Tạo" #: builtin/mainmenu/dlg_create_world.lua msgid "Decorations" -msgstr "" +msgstr "Vật trang trí" #: builtin/mainmenu/dlg_create_world.lua msgid "Download a game, such as Minetest Game, from minetest.net" msgstr "" +"Tải xuống một trò chơi, chẳng hạn như trò chơi Minetest, từ minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Download one from minetest.net" -msgstr "" +msgstr "Tải xuống một trò chơi từ minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Dungeons" -msgstr "" +msgstr "Ngục tối" #: builtin/mainmenu/dlg_create_world.lua msgid "Flat terrain" -msgstr "" +msgstr "Địa hình phẳng" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" -msgstr "" +msgstr "Vùng đất lơ lửng trên trời" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" -msgstr "" +msgstr "Vùng đất lơ lửng (đang trong thử nghiệm)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" -msgstr "" +msgstr "Trò chơi" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" -msgstr "" +msgstr "Tạo địa hình không phân dạng: Đại dương và lòng đất" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" -msgstr "" +msgstr "Đồi" #: builtin/mainmenu/dlg_create_world.lua msgid "Humid rivers" -msgstr "" +msgstr "Sông ẩm ướt" #: builtin/mainmenu/dlg_create_world.lua msgid "Increases humidity around rivers" -msgstr "" +msgstr "Tăng độ ẩm xung quanh sông" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" -msgstr "" +msgstr "Hồ nước" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "" +msgstr "Độ ẩm thấp và nhiệt độ cao làm cho sông cạn hoặc khô" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" @@ -453,43 +451,43 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" -msgstr "" +msgstr "Cờ của Mapgen" #: builtin/mainmenu/dlg_create_world.lua msgid "Mapgen-specific flags" -msgstr "" +msgstr "Cờ cụ thể của Mapgen" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" -msgstr "" +msgstr "Núi" #: builtin/mainmenu/dlg_create_world.lua msgid "Mud flow" -msgstr "" +msgstr "Suối bùn" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" -msgstr "" +msgstr "Mạng lưới đường hầm và hang động" #: builtin/mainmenu/dlg_create_world.lua msgid "No game selected" -msgstr "" +msgstr "Không có trò chơi nào được chọn" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "" +msgstr "Giảm nhiệt theo độ cao" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "" +msgstr "Giảm độ ẩm theo độ cao" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" -msgstr "" +msgstr "Sông" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" -msgstr "" +msgstr "Sông theo mực nước biển" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -498,109 +496,113 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" -msgstr "" +msgstr "Chuyển đổi suôn sẻ giữa các khu sinh học" #: builtin/mainmenu/dlg_create_world.lua msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" +"Các cấu trúc xuất hiện trên địa hình (không ảnh hưởng đến cây cối, cỏ rừng " +"và được tạo bởi v6)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" -msgstr "" +msgstr "Các cấu trúc xuất hiện trên địa hình, điển hình là cây cối và thực vật" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert" -msgstr "" +msgstr "Ôn đới, sa mạc" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "" +msgstr "Ôn đới, sa mạc, rừng rậm" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "" +msgstr "Ôn đới, sa mạc, rừng rậm, đồng cỏ, rừng taiga" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "" +msgstr "Xói mòn bề mặt địa hình" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -msgstr "" +msgstr "Cây và cỏ rừng" #: builtin/mainmenu/dlg_create_world.lua msgid "Vary river depth" -msgstr "" +msgstr "Độ sâu sông thay đổi" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" -msgstr "" +msgstr "Các hang động lớn nằm sâu trong lòng đất" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The Development Test is meant for developers." -msgstr "" +msgstr "Cảnh báo: Kiểm tra Phát triển chỉ dành cho các nhà phát triển." #: builtin/mainmenu/dlg_create_world.lua msgid "World name" -msgstr "" +msgstr "Tên thế giới" #: builtin/mainmenu/dlg_create_world.lua msgid "You have no games installed." -msgstr "" +msgstr "Bạn chưa cài đặt trò chơi nào." #: builtin/mainmenu/dlg_delete_content.lua msgid "Are you sure you want to delete \"$1\"?" -msgstr "" +msgstr "Bạn có chắc chắn muốn xóa \"$1\" không?" #: builtin/mainmenu/dlg_delete_content.lua #: builtin/mainmenu/dlg_delete_world.lua builtin/mainmenu/tab_local.lua #: src/client/keycode.cpp msgid "Delete" -msgstr "" +msgstr "Xóa" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: failed to delete \"$1\"" -msgstr "" +msgstr "pkgmgr: không xóa được \"$1\"" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: invalid path \"$1\"" -msgstr "" +msgstr "pkgmgr: đường dẫn \"$1\" không hợp lệ" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" -msgstr "" +msgstr "Xóa thế giới \"$ 1\"?" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Accept" -msgstr "" +msgstr "Chấp nhận" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Rename Modpack:" -msgstr "" +msgstr "Đổi tên mod:" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" +"Mod này có một tên rõ ràng được đưa ra trong tệp modpack.conf của nó, tên " +"này sẽ ghi đè bất kỳ sự đổi tên nào ở đây." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" -msgstr "" +msgstr "(Không có mô tả về Cài đặt nào được đưa ra)" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "2D Noise" -msgstr "" +msgstr "Âm thanh 2D" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" -msgstr "" +msgstr "< Về trang Cài đặt" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Browse" -msgstr "" +msgstr "Duyệt" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua msgid "Disabled" @@ -608,7 +610,7 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" -msgstr "" +msgstr "Chỉnh sửa" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" @@ -616,11 +618,11 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Lacunarity" -msgstr "" +msgstr "Khoảng cách" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Octaves" -msgstr "" +msgstr "Quãng tám" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Offset" @@ -628,47 +630,47 @@ msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Persistence" -msgstr "" +msgstr "Sự bền bỉ" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." -msgstr "" +msgstr "Vui lòng nhập một số nguyên hợp lệ." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid number." -msgstr "" +msgstr "Vui lòng nhập một số hợp lệ." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" -msgstr "" +msgstr "Phục hồi Cài đặt mặc định" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Scale" -msgstr "" +msgstr "Tỉ lệ" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua msgid "Search" -msgstr "" +msgstr "Tìm kiếm" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" -msgstr "" +msgstr "Chọn thư mục" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select file" -msgstr "" +msgstr "Chọn tệp" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Show technical names" -msgstr "" +msgstr "Hiển thị tên kỹ thuật" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must be at least $1." -msgstr "" +msgstr "Giá trị ít nhất phải là $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must not be larger than $1." -msgstr "" +msgstr "Giá trị không được lớn hơn $1." #: builtin/mainmenu/dlg_settings_advanced.lua msgid "X" @@ -700,14 +702,14 @@ msgstr "" #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "absvalue" -msgstr "" +msgstr "Giá trị tuyệt đối" #. ~ "defaults" is a noise parameter flag. #. It describes the default processing options #. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "defaults" -msgstr "" +msgstr "Mặc định" #. ~ "eased" is a noise parameter flag. #. It is used to make the map smoother and @@ -715,11 +717,11 @@ msgstr "" #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "eased" -msgstr "" +msgstr "Nới lỏng" #: builtin/mainmenu/pkgmgr.lua msgid "$1 (Enabled)" -msgstr "" +msgstr "$1 (đã bật)" #: builtin/mainmenu/pkgmgr.lua msgid "$1 mods" @@ -727,35 +729,35 @@ msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Failed to install $1 to $2" -msgstr "" +msgstr "Không cài đặt được $1 đến $2" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find real mod name for: $1" -msgstr "" +msgstr "Cài đặt mod: Không thể tìm thấy tên mod thật cho: $1" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find suitable folder name for modpack $1" -msgstr "" +msgstr "Cài đặt mod: Không thể tìm thấy tên thư mục phù hợp cho gói mod $1" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" -msgstr "" +msgstr "Không tìm thấy một mod hoặc gói mod hợp lệ" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a $1 as a texture pack" -msgstr "" +msgstr "Không thể cài đặt $1 dưới dạng gói kết cấu địa hình" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a game as a $1" -msgstr "" +msgstr "Không thể cài đặt trò chơi dưới dạng $1" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a mod as a $1" -msgstr "" +msgstr "Không thể cài đặt mod dưới dạng $1" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a modpack as a $1" -msgstr "" +msgstr "Không thể cài đặt gói mod dưới dạng $1" #: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp msgid "Loading..." @@ -763,192 +765,195 @@ msgstr "Đang tải..." #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" -msgstr "" +msgstr "Danh sách máy chủ công cộng bị tắt" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." msgstr "" -"Hãy thử kích hoạt lại danh sách máy chủ công cộng và kiểm tra kết nối " -"internet của bạn." +"Hãy thử kích hoạt lại danh sách máy chủ công cộng và kiểm tra kết nối mạng " +"của bạn." #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Giới thiệu" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" -msgstr "" +msgstr "Những người đóng góp tích cực" #: builtin/mainmenu/tab_about.lua msgid "Active renderer:" -msgstr "" +msgstr "Trình kết xuất hiện hoạt:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" -msgstr "" +msgstr "Các nhà phát triển cốt lõi" #: builtin/mainmenu/tab_about.lua msgid "Open User Data Directory" -msgstr "" +msgstr "Mở thư mục Dữ liệu người dùng" #: builtin/mainmenu/tab_about.lua msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" +"Mở thư mục chứa thế giới, trò chơi, bản mod do người dùng cung cấp\n" +"và các gói kết cấu trong trình quản lý / trình khám phá tệp." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" -msgstr "" +msgstr "Những người đóng góp trước đây" #: builtin/mainmenu/tab_about.lua msgid "Previous Core Developers" -msgstr "" +msgstr "Các nhà phát triển cốt lõi trước đây" #: builtin/mainmenu/tab_content.lua msgid "Browse online content" -msgstr "" +msgstr "Duyệt nội dung trực tuyến" #: builtin/mainmenu/tab_content.lua msgid "Content" -msgstr "" +msgstr "Nội dung" #: builtin/mainmenu/tab_content.lua msgid "Disable Texture Pack" -msgstr "" +msgstr "Tắt tất cả gói kết cấu" #: builtin/mainmenu/tab_content.lua msgid "Information:" -msgstr "" +msgstr "Thông tin:" #: builtin/mainmenu/tab_content.lua msgid "Installed Packages:" -msgstr "" +msgstr "Các gói đã cài đặt:" #: builtin/mainmenu/tab_content.lua msgid "No dependencies." -msgstr "" +msgstr "Không có phần phụ thuộc nào." #: builtin/mainmenu/tab_content.lua msgid "No package description available" -msgstr "" +msgstr "Không có mô tả gói" #: builtin/mainmenu/tab_content.lua msgid "Rename" -msgstr "" +msgstr "Đổi tên" #: builtin/mainmenu/tab_content.lua msgid "Uninstall Package" -msgstr "" +msgstr "Gỡ cài đặt gói" #: builtin/mainmenu/tab_content.lua msgid "Use Texture Pack" -msgstr "" +msgstr "Dùng gói cấu hình này" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" -msgstr "" +msgstr "Thông báo máy chủ" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" -msgstr "" +msgstr "Địa chỉ bắt buộc" #: builtin/mainmenu/tab_local.lua msgid "Creative Mode" -msgstr "" +msgstr "Chế độ sáng tạo" #: builtin/mainmenu/tab_local.lua msgid "Enable Damage" -msgstr "" +msgstr "Kích hoạt sát thương" #: builtin/mainmenu/tab_local.lua msgid "Host Game" -msgstr "" +msgstr "Lưu trữ trò chơi" #: builtin/mainmenu/tab_local.lua msgid "Host Server" -msgstr "" +msgstr "Lưu trữ máy chủ" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" -msgstr "" +msgstr "Cài đặt trò chơi từ ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Tên" #: builtin/mainmenu/tab_local.lua msgid "New" -msgstr "" +msgstr "Mới" #: builtin/mainmenu/tab_local.lua msgid "No world created or selected!" -msgstr "" +msgstr "Không có thế giới nào được tạo ra hoặc được lựa chọn." #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Password" -msgstr "" +msgstr "Mật khẩu" #: builtin/mainmenu/tab_local.lua msgid "Play Game" -msgstr "" +msgstr "Chơi trò chơi" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Port" -msgstr "" +msgstr "Cổng" #: builtin/mainmenu/tab_local.lua msgid "Select Mods" -msgstr "" +msgstr "Mod đã chọn" #: builtin/mainmenu/tab_local.lua msgid "Select World:" -msgstr "" +msgstr "Thế giới đã chọn:" #: builtin/mainmenu/tab_local.lua msgid "Server Port" -msgstr "" +msgstr "Cổng máy chủ" #: builtin/mainmenu/tab_local.lua msgid "Start Game" -msgstr "" +msgstr "Bắt đầu trò chơi" #: builtin/mainmenu/tab_online.lua msgid "Address" -msgstr "" +msgstr "Địa chỉ" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp +#, fuzzy msgid "Clear" -msgstr "" +msgstr "Xóa" #: builtin/mainmenu/tab_online.lua msgid "Connect" -msgstr "" +msgstr "Kết nối" #: builtin/mainmenu/tab_online.lua msgid "Creative mode" -msgstr "" +msgstr "Chế độ sáng tạo" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua msgid "Damage / PvP" -msgstr "" +msgstr "Sát thương / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" -msgstr "" +msgstr "Xóa yêu thích" #: builtin/mainmenu/tab_online.lua msgid "Favorites" -msgstr "" +msgstr "Yêu thích" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Máy chủ không tương thích" #: builtin/mainmenu/tab_online.lua msgid "Join Game" -msgstr "" +msgstr "Tham gia trò chơi" #: builtin/mainmenu/tab_online.lua msgid "Ping" @@ -956,15 +961,15 @@ msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Public Servers" -msgstr "" +msgstr "Máy chủ công cộng" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Làm mới" #: builtin/mainmenu/tab_online.lua msgid "Server Description" -msgstr "" +msgstr "Mô tả Máy chủ" #: builtin/mainmenu/tab_settings.lua msgid "2x" @@ -972,7 +977,7 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "3D Clouds" -msgstr "" +msgstr "Mây 3D" #: builtin/mainmenu/tab_settings.lua msgid "4x" @@ -984,7 +989,7 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "All Settings" -msgstr "" +msgstr "Tất cả cài đặt" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" @@ -992,67 +997,71 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Autosave Screen Size" -msgstr "" +msgstr "Tự động lưu kích cỡ màn hình" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" -msgstr "" +msgstr "Bộ lọc song tuyến" #: builtin/mainmenu/tab_settings.lua src/client/game.cpp msgid "Change Keys" -msgstr "" +msgstr "Thay đổi khóa" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" -msgstr "" +msgstr "Kính đã kết nối" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Bóng kiểu động lực học" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Bóng kiểu động lực học: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" -msgstr "" +msgstr "Lá lạ mắt" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Cao" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Thấp" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Trung bình" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Mipmap + Aniso. Filter" -msgstr "" +msgstr "Mipmap + Bộ lọc Aniso." #: builtin/mainmenu/tab_settings.lua msgid "No Filter" -msgstr "" +msgstr "Không bộ lọc" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "No Mipmap" -msgstr "" +msgstr "Không Mipmap" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Node Highlighting" -msgstr "" +msgstr "Đánh dấu node" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Node Outlining" -msgstr "" +msgstr "Phác thảo node" #: builtin/mainmenu/tab_settings.lua msgid "None" @@ -1060,47 +1069,48 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" -msgstr "" +msgstr "Lá đục" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Water" -msgstr "" +msgstr "Nước đục" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "Particles" -msgstr "" +msgstr "Vật rất nhỏ" #: builtin/mainmenu/tab_settings.lua msgid "Screen:" -msgstr "" +msgstr "Màn hình:" #: builtin/mainmenu/tab_settings.lua msgid "Settings" -msgstr "" +msgstr "Cài đặt" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" -msgstr "" +msgstr "Trình tạo bóng" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (experimental)" -msgstr "" +msgstr "Trình tạo bóng (đang trong thử nghiệm)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" -msgstr "" +msgstr "Trình tạo bóng (không tồn tại)" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" -msgstr "" +msgstr "Lá đơn giản" #: builtin/mainmenu/tab_settings.lua msgid "Smooth Lighting" -msgstr "" +msgstr "Ánh sáng mịn" #: builtin/mainmenu/tab_settings.lua msgid "Texturing:" -msgstr "" +msgstr "Cấu hình địa hình:" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" @@ -1112,204 +1122,210 @@ msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Trilinear Filter" -msgstr "" +msgstr "Bộ lọc tam song" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Cực cao" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Cực thấp" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" -msgstr "" +msgstr "Lá sóng" #: builtin/mainmenu/tab_settings.lua msgid "Waving Liquids" -msgstr "" +msgstr "Nước chuyển động như sóng" #: builtin/mainmenu/tab_settings.lua msgid "Waving Plants" -msgstr "" +msgstr "Sinh vật chuyển động như sóng" #: src/client/client.cpp src/client/game.cpp msgid "Connection timed out." -msgstr "" +msgstr "Kết nối quá hạn." #: src/client/client.cpp msgid "Done!" -msgstr "" +msgstr "Đã xong!" #: src/client/client.cpp +#, fuzzy msgid "Initializing nodes" -msgstr "" +msgstr "Đang khởi tạo các node" #: src/client/client.cpp +#, fuzzy msgid "Initializing nodes..." -msgstr "" +msgstr "Đang khởi tạo các node..." #: src/client/client.cpp msgid "Loading textures..." -msgstr "" +msgstr "Đang tải cấu hình địa hình..." #: src/client/client.cpp msgid "Rebuilding shaders..." -msgstr "" +msgstr "Đang xây dựng lại trình tạo bóng..." #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" -msgstr "" +msgstr "Lỗi kết nối (hết thời gian chờ?)" #: src/client/clientlauncher.cpp msgid "Could not find or load game: " -msgstr "" +msgstr "Không tìm thấy hoặc tải trò chơi: " #: src/client/clientlauncher.cpp +#, fuzzy msgid "Invalid gamespec." -msgstr "" +msgstr "Gamespec không hợp lệ." #: src/client/clientlauncher.cpp msgid "Main Menu" -msgstr "" +msgstr "Màn hình chính" #: src/client/clientlauncher.cpp msgid "No world selected and no address provided. Nothing to do." msgstr "" +"Không có thế giới nào được chọn và không có địa chỉ nào được cung cấp. Không " +"có gì làm hết." #: src/client/clientlauncher.cpp msgid "Player name too long." -msgstr "" +msgstr "Tên người chơi quá dài." #: src/client/clientlauncher.cpp msgid "Please choose a name!" -msgstr "" +msgstr "Xin vui lòng chọn một tên người chơi!" #: src/client/clientlauncher.cpp msgid "Provided password file failed to open: " -msgstr "" +msgstr "Không mở được tệp mật khẩu được cung cấp: " #: src/client/clientlauncher.cpp msgid "Provided world path doesn't exist: " -msgstr "" +msgstr "Đường dẫn thế giới được cung cấp không tồn tại: " #: src/client/game.cpp msgid "" "\n" "Check debug.txt for details." msgstr "" +"\n" +"Hãy kiểm tra debug.txt để có thông tin chi tiết." #: src/client/game.cpp msgid "- Address: " -msgstr "" +msgstr "- Địa chỉ: " #: src/client/game.cpp msgid "- Creative Mode: " -msgstr "" +msgstr "- Chế độ sáng tạo: " #: src/client/game.cpp msgid "- Damage: " -msgstr "" +msgstr "- Tổn hại: " #: src/client/game.cpp msgid "- Mode: " -msgstr "" +msgstr "- Chế độ: " #: src/client/game.cpp msgid "- Port: " -msgstr "" +msgstr "- Cổng: " #: src/client/game.cpp msgid "- Public: " -msgstr "" +msgstr "- Công cộng: " #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " -msgstr "" +msgstr "- PvP: " #: src/client/game.cpp msgid "- Server Name: " -msgstr "" +msgstr "- Tên máy chủ: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Xảy ra lỗi:" +msgstr "Đã xảy ra lỗi tuần tự hóa:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Quyền truy cập bị từ chối với lý do: %s" #: src/client/game.cpp msgid "Automatic forward disabled" -msgstr "" +msgstr "Tự động chuyển tiếp bị tắt" #: src/client/game.cpp msgid "Automatic forward enabled" -msgstr "" +msgstr "Tự động chuyển tiếp đã bật" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "Các ranh giới khối đã ẩn" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Đã hiển thị ranh giới cho tất cả các khối" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Đã hiển thị ranh giới hiển thị cho khối hiện tại" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Đã hiển thị ranh giới cho các khối gần bạn" #: src/client/game.cpp msgid "Camera update disabled" -msgstr "" +msgstr "Cập nhật máy ảnh đã tắt" #: src/client/game.cpp msgid "Camera update enabled" -msgstr "" +msgstr "Cập nhật máy ảnh đã bật" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Không thể hiển thị giới hạn khối (vì phải có quyền 'basic_debug')" #: src/client/game.cpp msgid "Change Password" -msgstr "" +msgstr "Đổi mật khẩu" #: src/client/game.cpp msgid "Cinematic mode disabled" -msgstr "" +msgstr "Chế độ điện ảnh đã tắt" #: src/client/game.cpp msgid "Cinematic mode enabled" -msgstr "" +msgstr "Chế độ điện ảnh đã bật" #: src/client/game.cpp msgid "Client disconnected" -msgstr "" +msgstr "Máy khách đã ngắt kết nối" #: src/client/game.cpp msgid "Client side scripting is disabled" -msgstr "" +msgstr "Lập trình phía máy khách đã tắt" #: src/client/game.cpp msgid "Connecting to server..." -msgstr "" +msgstr "Đang kết nối tới máy chủ..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Kết nối không thành công vì lý do không xác định" #: src/client/game.cpp msgid "Continue" -msgstr "" +msgstr "Tiếp tục" #: src/client/game.cpp #, c-format @@ -1329,31 +1345,45 @@ msgid "" "- Mouse wheel: select item\n" "- %s: chat\n" msgstr "" +"Điền khiển:\n" +"- %s: tiến lên\n" +"- %s: lùi về phía sau\n" +"- %s: di chuyển sang trái\n" +"- %s: di chuyển sang phải\n" +"- %s: nhảy lên / leo lên\n" +"- %s: đào / đấm\n" +"- %s: địa điểm / sử dụng\n" +"- %s: lẻn / leo xuống\n" +"- %s: thả đồ\n" +"- %s: khoảng không quảng cáo\n" +"- Chuột: xoay / nhìn\n" +"- Con lăn chuột: chọn đồ\n" +"- %s: trò chuyện\n" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Không thể giải mã địa chỉ: %s" #: src/client/game.cpp msgid "Creating client..." -msgstr "" +msgstr "Đang tạo máy khách..." #: src/client/game.cpp msgid "Creating server..." -msgstr "" +msgstr "Đang tạo máy chủ..." #: src/client/game.cpp msgid "Debug info and profiler graph hidden" -msgstr "" +msgstr "Thông tin gỡ lỗi và biểu đồ hồ sơ đã ẩn" #: src/client/game.cpp msgid "Debug info shown" -msgstr "" +msgstr "Thông tin gỡ lỗi đã hiển thị" #: src/client/game.cpp msgid "Debug info, profiler graph, and wireframe hidden" -msgstr "" +msgstr "Thông tin gỡ lỗi, biểu đồ hồ sơ và khung dây đã ẩn" #: src/client/game.cpp msgid "" @@ -1370,66 +1400,78 @@ msgid "" "- touch&drag, tap 2nd finger\n" " --> place single item to slot\n" msgstr "" +"Điều khiển mặc định:\n" +"Không có menu nào hiển thị:\n" +"- một lần nhấn: nút kích hoạt\n" +"- nhấn đúp: đặt / sử dụng\n" +"- trượt ngón tay: nhìn xung quanh\n" +"Menu / khoảng không quảng cáo hiển thị:\n" +"- nhấn đúp (bên ngoài):\n" +" -> đóng\n" +"- ngăn xếp cảm ứng, khe cắm cảm ứng:\n" +" -> di chuyển ngăn xếp\n" +"- chạm và kéo, chạm vào ngón tay thứ 2\n" +" -> đặt một mục duy nhất vào vị trí\n" #: src/client/game.cpp msgid "Disabled unlimited viewing range" -msgstr "" +msgstr "Đã tắt phạm vi nhìn không giới hạn" #: src/client/game.cpp msgid "Enabled unlimited viewing range" -msgstr "" +msgstr "Đã bật phạm vi nhìn không giới hạn" #: src/client/game.cpp msgid "Exit to Menu" -msgstr "" +msgstr "Thoát ra màn hình chính" #: src/client/game.cpp msgid "Exit to OS" -msgstr "" +msgstr "Tắt Minetest" #: src/client/game.cpp msgid "Fast mode disabled" -msgstr "" +msgstr "Chế độ nhanh đã tắt" #: src/client/game.cpp msgid "Fast mode enabled" -msgstr "" +msgstr "Chế độ nhanh đã bật" #: src/client/game.cpp msgid "Fast mode enabled (note: no 'fast' privilege)" -msgstr "" +msgstr "Chế độ nhanh đã bật (ghi chú: không có ưu tiên cho 'nhanh')" #: src/client/game.cpp msgid "Fly mode disabled" -msgstr "" +msgstr "Chế độ bay đã tắt" #: src/client/game.cpp msgid "Fly mode enabled" -msgstr "" +msgstr "Chế độ bay đã bật" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" -msgstr "" +msgstr "Chế độ bay đã bật (ghi chú: không có ưu tiên cho 'bay')" #: src/client/game.cpp msgid "Fog disabled" -msgstr "" +msgstr "Sương mù đã tắt" #: src/client/game.cpp msgid "Fog enabled" -msgstr "" +msgstr "Sương mù đã bật" #: src/client/game.cpp msgid "Game info:" -msgstr "" +msgstr "Thông tin trò chơi:" #: src/client/game.cpp msgid "Game paused" -msgstr "" +msgstr "Trò chơi đã được tạm dừng" #: src/client/game.cpp msgid "Hosting server" -msgstr "" +msgstr "Đang tải máy chủ" #: src/client/game.cpp msgid "Item definitions..." @@ -1437,7 +1479,7 @@ msgstr "" #: src/client/game.cpp msgid "KiB/s" -msgstr "" +msgstr "KiB/s" #: src/client/game.cpp msgid "Media..." @@ -2820,7 +2862,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Damage" -msgstr "" +msgstr "Sát thương" #: src/settings_translation_file.cpp msgid "Debug info toggle key" @@ -3080,7 +3122,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Enable players getting damage and dying." -msgstr "" +msgstr "Cho phép người chơi nhận sát thương và chết." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." @@ -4985,6 +5027,9 @@ msgid "" "be queued.\n" "This should be lower than curl_parallel_limit." msgstr "" +"Số lượt tải xuống đồng thời tối đa. Tải xuống vượt quá giới hạn sẽ được xếp " +"hàng đợi.\n" +"Giá trị này phải thấp hơn curl_parallel_limit." #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." @@ -5906,6 +5951,10 @@ msgid "" "(obviously, remote_media should end with a slash).\n" "Files that are not present will be fetched the usual way." msgstr "" +"Chỉ định URL mà từ đó ứng dụng khách tìm phương tiện thay vì sử dụng UDP.\n" +"$filename có thể truy cập được từ $remote_media$filename qua cURL\n" +"(trong đó, remote_media phải kết thúc bằng dấu gạch chéo).\n" +"Các tệp không có mặt sẽ được tìm theo cách thông thường." #: src/settings_translation_file.cpp msgid "" @@ -6521,7 +6570,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Whether to allow players to damage and kill each other." -msgstr "" +msgstr "Có cho phép người chơi sát thương và giết lẫn nhau hay không." #: src/settings_translation_file.cpp msgid "" @@ -6633,15 +6682,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "cURL file download timeout" -msgstr "" +msgstr "Hết thời gian chờ tải xuống tệp trong cURL" #: src/settings_translation_file.cpp msgid "cURL interactive timeout" -msgstr "" +msgstr "Hết thời gian tương tác với cURL" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -msgstr "" +msgstr "Gặp giới hạn số lượng tệp tải xuống trong cURL" #~ msgid "Ok" #~ msgstr "Được" -- cgit v1.2.3 From e59e16161f1825d63c75366b9449a7ffe886b162 Mon Sep 17 00:00:00 2001 From: Linerly Date: Sun, 12 Dec 2021 00:33:35 +0000 Subject: Translated using Weblate (Indonesian) Currently translated at 100.0% (1415 of 1415 strings) --- po/id/minetest.po | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/po/id/minetest.po b/po/id/minetest.po index e8449f988..460e71c4e 100644 --- a/po/id/minetest.po +++ b/po/id/minetest.po @@ -3,9 +3,8 @@ msgstr "" "Project-Id-Version: Indonesian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-02 01:31+0000\n" -"Last-Translator: Muhammad Rifqi Priyo Susanto " -"\n" +"PO-Revision-Date: 2021-12-13 00:52+0000\n" +"Last-Translator: Linerly \n" "Language-Team: Indonesian \n" "Language: id\n" @@ -29,7 +28,7 @@ msgstr "Kembali ke menu utama" #: builtin/client/chatcommands.lua msgid "Invalid command: " -msgstr "Perintah tak sah: " +msgstr "Perintah tidak sah " #: builtin/client/chatcommands.lua msgid "Issued command: " @@ -41,15 +40,15 @@ msgstr "Daftar pemain daring" #: builtin/client/chatcommands.lua msgid "Online players: " -msgstr "Pemain daring " +msgstr "Pemain daring: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "Antrean obrolan keluar sekarang kosong." +msgstr "Antran obrolan keluar sudah dibersihkan." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "Perintah ini dilarang oleh server." +msgstr "Perintah ini dinonaktifkan oleh server." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -84,7 +83,7 @@ msgstr "" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "[all | ]" +msgstr "[semua | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -629,9 +628,8 @@ msgid "Offset" msgstr "Pergeseran" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" -msgstr "Persistensi" +msgstr "Kegigihan" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." -- cgit v1.2.3 From f6ae8b63507c91b22910a262dfbd29cb823288a4 Mon Sep 17 00:00:00 2001 From: Nikita Epifanov Date: Thu, 16 Dec 2021 13:13:55 +0000 Subject: Translated using Weblate (Russian) Currently translated at 97.6% (1382 of 1415 strings) --- po/ru/minetest.po | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index 13a6d3d46..5be86da96 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-02 01:31+0000\n" -"Last-Translator: Andrei Stepanov \n" +"PO-Revision-Date: 2021-12-17 13:52+0000\n" +"Last-Translator: Nikita Epifanov \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.10\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1253,7 +1253,7 @@ msgstr "Произошла ошибка:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Доступ запрещен. Причина: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1270,15 +1270,15 @@ msgstr "Границы блока" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Границы показаны для всех блоков" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Границы показаны для текущего блока" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Границы показаны для блоков рядом" #: src/client/game.cpp msgid "Camera update disabled" @@ -1290,7 +1290,7 @@ msgstr "Обновление камеры включено" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Нельзя показать границы блока (нужна привилегия 'basic_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1319,7 +1319,7 @@ msgstr "Подключение к серверу..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Сбой соединения по неизвестной причине" #: src/client/game.cpp msgid "Continue" @@ -1361,7 +1361,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Не удалось разрешить адрес: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1571,17 +1571,17 @@ msgstr "Звук включён" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Вероятно, на сервере используется другая версия %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Не удаётся подключиться к %s, так как IPv6 отключён" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Не удаётся прослушать %s, так как IPv6 отключён" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1924,7 +1924,7 @@ msgstr "Не удалось загрузить $1" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Открытие страницы" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2389,6 +2389,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Настройка обнаруженной плотности дисплея, используется для масштабирования " +"элементов интерфейса." #: src/settings_translation_file.cpp #, c-format @@ -2750,7 +2752,7 @@ msgstr "Очистить прозрачные текстуры" msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." -msgstr "" +msgstr "Нажимающиеся ссылки (СКМ или Ctrl+ЛКМ) включены в консоли." #: src/settings_translation_file.cpp msgid "Client" @@ -3192,7 +3194,7 @@ msgstr "Запретить пустой пароль" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Коэффициент масштабирования плотности отображения" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -5958,7 +5960,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Необязательное переопределение цвета ссылки в чате." #: src/settings_translation_file.cpp msgid "" @@ -6750,6 +6752,11 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Распространяет полное обновление карты теней на заданное количество кадров.\n" +"Более высокие значения могут сделать тени нестабильными, более низкие " +"значения\n" +"будут потреблять больше ресурсов.\n" +"Минимальное значение: 1; максимальное значение: 16" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 02c288fa13725a5fca80f48e812c27b3b3a121a7 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Fri, 17 Dec 2021 19:03:09 +0000 Subject: Translated using Weblate (Swedish) Currently translated at 58.5% (828 of 1415 strings) --- po/sv/minetest.po | 511 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 295 insertions(+), 216 deletions(-) diff --git a/po/sv/minetest.po b/po/sv/minetest.po index f5a6f9523..74985e00c 100644 --- a/po/sv/minetest.po +++ b/po/sv/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Swedish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-11-27 18:30+0000\n" +"PO-Revision-Date: 2021-12-18 21:51+0000\n" "Last-Translator: ROllerozxa \n" "Language-Team: Swedish \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.10\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -52,7 +52,7 @@ msgstr "Detta kommando är inaktiverat av servern." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" -msgstr "Återföds" +msgstr "Återuppstå" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" @@ -90,9 +90,8 @@ msgid "OK" msgstr "OK" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Kommando inte tillgängligt: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -152,7 +151,7 @@ msgstr "Beroenden:" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable all" -msgstr "Inaktivera allt" +msgstr "Avaktivera alla" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable modpack" @@ -160,7 +159,7 @@ msgstr "Avaktivera modpaket" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable all" -msgstr "Aktivera alla" +msgstr "Aktivera allt" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable modpack" @@ -249,7 +248,7 @@ msgstr "$1 nödvändiga beroenden kunde inte hittas." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." -msgstr "" +msgstr "$1 kommer att installeras och $2 beroenden hoppas över." #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" @@ -297,9 +296,8 @@ msgid "Install missing dependencies" msgstr "Installera saknade beroenden" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Installation: ej stöd för filtyp \"$1\" eller trasigt arkiv" +msgstr "Installation: Filtyp stöds inte eller trasigt arkiv" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -630,7 +628,6 @@ msgid "Offset" msgstr "Förskjutning" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Persistens" @@ -704,7 +701,7 @@ msgstr "Z-spridning" #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "absvalue" -msgstr "" +msgstr "absolutvärde" #. ~ "defaults" is a noise parameter flag. #. It describes the default processing options @@ -719,7 +716,7 @@ msgstr "standarder" #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "eased" -msgstr "" +msgstr "lättad" #: builtin/mainmenu/pkgmgr.lua msgid "$1 (Enabled)" @@ -1009,7 +1006,7 @@ msgstr "Ändra Tangenter" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" -msgstr "Sammankopplat glas" +msgstr "Sammanfogat Glas" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" @@ -1168,9 +1165,8 @@ msgid "Connection error (timed out?)" msgstr "Anslutningsfel (tidsgräns nådd?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Kunde inte hitta eller ladda spel \"" +msgstr "Kunde inte hitta eller ladda spel: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1242,14 +1238,13 @@ msgid "- Server Name: " msgstr "- Servernamn: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Ett fel uppstod:" +msgstr "Ett serialiseringsfel uppstod:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Åtkomst nekad. Anledning: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1260,21 +1255,20 @@ msgid "Automatic forward enabled" msgstr "Automatiskt framåt aktiverat" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Blockgränser" +msgstr "Blockgränser dolda" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Blockgränser visas för alla block" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Blockgränser visas för det aktuella blocket" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Blockgränser visas för närliggande block" #: src/client/game.cpp msgid "Camera update disabled" @@ -1286,7 +1280,7 @@ msgstr "Kamerauppdatering aktiverat" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Kan inte visa blockgränser (behöver behörigheten 'basic_debug')" #: src/client/game.cpp msgid "Change Password" @@ -1301,9 +1295,8 @@ msgid "Cinematic mode enabled" msgstr "Filmiskt länge aktiverat" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Klientmoddande" +msgstr "Klienten frånkopplades" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1315,7 +1308,7 @@ msgstr "Ansluter till server..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Anslutningen misslyckades av okänd anledning" #: src/client/game.cpp msgid "Continue" @@ -1357,7 +1350,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Kunde inte lösa adressen: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1560,24 +1553,23 @@ msgid "Sound system is not supported on this build" msgstr "Ljudsystem stöds inte i detta bygge" #: src/client/game.cpp -#, fuzzy msgid "Sound unmuted" -msgstr "Ljudvolym" +msgstr "Ljud påsatt" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Servern kör troligtvist en annan version av %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Kan inte ansluta till %s eftersom IPv6 är inaktiverad" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Kan inte lyssna på %s eftersom IPv6 är inaktiverad" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1914,13 +1906,12 @@ msgid "Minimap in texture mode" msgstr "Minimapp i texturläge" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Misslyckades ladda ner $1" +msgstr "Misslyckades att öppna hemsida" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Öppnar hemsida" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2125,9 +2116,9 @@ msgid "Muted" msgstr "Tyst" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Ljudvolym: " +msgstr "Ljudvolym: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2147,6 +2138,9 @@ msgid "" "(Android) Fixes the position of virtual joystick.\n" "If disabled, virtual joystick will center to first-touch's position." msgstr "" +"(Android) Fastställer den virtuella joystickens position.\n" +"Om inaktiverad centreras den virtuella joysticken till det första " +"fingertryckets position." #: src/settings_translation_file.cpp msgid "" @@ -2154,6 +2148,9 @@ msgid "" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" +"(Android) Använd den virtuella joysticken för \"Aux1\"-knappen.\n" +"Om aktiverad kommer den virtuella joysticken att aktivera \"Aux1\"-knappen " +"när den är utanför huvudcirkeln." #: src/settings_translation_file.cpp msgid "" @@ -2185,34 +2182,41 @@ msgid "" "Default is for a vertically-squashed shape suitable for\n" "an island, set all 3 numbers equal for the raw shape." msgstr "" +"(X,Y,Z) fraktalens skala i noder.\n" +"Den riktiga storleken kommer att vara 2 till 3 gånger större.\n" +"Siffrorna kan göras mycket stora, men fraktalen\n" +"behöver inte rymmas i världen.\n" +"Öka dessa för att 'zooma' in i fraktalens detaljer.\n" +"Standardvärdet är för en vertikalt mosad form som passar för\n" +"en ö, ställ in alla 3 siffrorna lika för den ursprungliga formen." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of ridged mountains." -msgstr "" +msgstr "2D-brus som styr formen/storleken på berg." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of rolling hills." -msgstr "" +msgstr "2D-brus som styr formen/storleken av rullande kullar." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of step mountains." -msgstr "" +msgstr "2D-brus som styr formen/storleken på steppberg." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of ridged mountain ranges." -msgstr "" +msgstr "2D-brus som styr storleken/förekomsten av bergskedjor med rågångar." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of rolling hills." -msgstr "" +msgstr "2D-brus som styr storleken/förekomsten av rullande kullar." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of step mountain ranges." -msgstr "" +msgstr "2D-brus som styr storleken/förekomsten av bergskedjor med rågångar." #: src/settings_translation_file.cpp msgid "2D noise that locates the river valleys and channels." -msgstr "" +msgstr "2D-brus som lokaliserar floddalar och kanaler." #: src/settings_translation_file.cpp msgid "3D clouds" @@ -2224,7 +2228,7 @@ msgstr "3D-läge" #: src/settings_translation_file.cpp msgid "3D mode parallax strength" -msgstr "" +msgstr "Parallaxstyrka i 3D-läge" #: src/settings_translation_file.cpp msgid "3D noise defining giant caverns." @@ -2245,6 +2249,12 @@ msgid "" "to be adjusted, as floatland tapering functions best when this noise has\n" "a value range of approximately -2.0 to 2.0." msgstr "" +"3D-brus som definierar strukturen hos floatlands.\n" +"Om det ändras från standardvärdet kan brusets 'skala' (vanligtvist 0.7) " +"behöva\n" +"justeras, eftersom avsmalningen av floatlands fungerar bäst när detta brus " +"har\n" +"ett värdeintervall på ungefär -2.0 till 2.0." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2256,11 +2266,11 @@ msgstr "3D brusdefinierad terräng." #: src/settings_translation_file.cpp msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." -msgstr "" +msgstr "3D-brus för bergsöverhäng, klippor osv. Vanligtvist små variationer." #: src/settings_translation_file.cpp msgid "3D noise that determines number of dungeons per mapchunk." -msgstr "" +msgstr "3D-brus som bestämmer antalet fängelsehålor per mappchunk." #: src/settings_translation_file.cpp msgid "" @@ -2364,6 +2374,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Justera den identifierade skärmdensiteten, vilket används för skalning av " +"gränssnittet." #: src/settings_translation_file.cpp #, c-format @@ -2374,6 +2386,11 @@ msgid "" "Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" "to be sure) creates a solid floatland layer." msgstr "" +"Justerar tätheten hos floatlandslagret.\n" +"Öka värdet för att öka tätheten. Kan vara positiv eller negativ.\n" +"Värde = 0.0: 50% av volymen är floatland.\n" +"Värde = 2.0 (kan vara högre beroende på 'mgv7_np_floatland', testa alltid\n" +"för att vara säker) skapar ett fast floatlandslager." #: src/settings_translation_file.cpp msgid "Advanced" @@ -2387,6 +2404,12 @@ msgid "" "This only has significant effect on daylight and artificial\n" "light, it has very little effect on natural night light." msgstr "" +"Ändrar ljuskurvan genom att tillämpa 'gammakorrigering' på den.\n" +"Högre värden leder till att de mellersta och lägre ljusnivåerna blir ljusare." +"\n" +"Värdet '1.0' lämnar ljuskurvan oförändrad. Detta har endast betydande\n" +"effekt på dagsljus och konstgjort ljus, det har väldigt liten effekt på\n" +"naturligt nattljus." #: src/settings_translation_file.cpp msgid "Always fly and fast" @@ -2418,11 +2441,11 @@ msgstr "Annonsera till serverlistan." #: src/settings_translation_file.cpp msgid "Append item name" -msgstr "" +msgstr "Infoga objektnamn" #: src/settings_translation_file.cpp msgid "Append item name to tooltip." -msgstr "" +msgstr "Infoga objektnamn till verktygstips." #: src/settings_translation_file.cpp msgid "Apple trees noise" @@ -2437,6 +2460,8 @@ msgid "" "Arm inertia, gives a more realistic movement of\n" "the arm when the camera moves." msgstr "" +"Armtröghet, ger mer realistisk rörelse av armen\n" +"när kameran förflyttar sig." #: src/settings_translation_file.cpp msgid "Ask to reconnect after crash" @@ -2503,7 +2528,7 @@ msgstr "Bakåttangent" #: src/settings_translation_file.cpp msgid "Base ground level" -msgstr "" +msgstr "Grundnivå" #: src/settings_translation_file.cpp msgid "Base terrain height." @@ -2543,7 +2568,7 @@ msgstr "Biotopoljud" #: src/settings_translation_file.cpp msgid "Block send optimize distance" -msgstr "" +msgstr "Distans för optimering av blockskickning" #: src/settings_translation_file.cpp msgid "Bold and italic font path" @@ -2576,6 +2601,11 @@ msgid "" "Increasing can reduce artifacting on weaker GPUs.\n" "0.1 = Default, 0.25 = Good value for weaker tablets." msgstr "" +"Kameraavståndet 'nära urklippsplan' i noder, mellan 0 och 0.25\n" +"Fungerar bara på GLES-plattformar. De flesta användare behöver inte ändra " +"detta.\n" +"Ökning kan minska artefakter på svagare GPU:er.\n" +"0.1 = Standard, 0.25 = Bra värde för svagare tabletter." #: src/settings_translation_file.cpp msgid "Camera smoothing" @@ -2638,13 +2668,14 @@ msgid "" "Center of light curve boost range.\n" "Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" +"Center för ljuskurvans förstärkningsområde.\n" +"0.0 är minsta ljusnivå, 1.0 är högsta ljusnivå." #: src/settings_translation_file.cpp msgid "Chat command time message threshold" msgstr "Chattkommando tidströskel" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Chattkommandon" @@ -2662,7 +2693,7 @@ msgstr "Chattens loggnivå" #: src/settings_translation_file.cpp msgid "Chat message count limit" -msgstr "" +msgstr "Gräns för antalet chattmeddelanden" #: src/settings_translation_file.cpp msgid "Chat message format" @@ -2674,16 +2705,15 @@ msgstr "Chattmeddelandens sparkningströskel" #: src/settings_translation_file.cpp msgid "Chat message max length" -msgstr "" +msgstr "Högsta längd för chattmeddelande" #: src/settings_translation_file.cpp msgid "Chat toggle key" msgstr "Chattangent Av/På" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Chatt visas" +msgstr "Weblänkar i chatt" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2706,6 +2736,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Klickbara weblänkar (mellanklicka eller Ctrl+vänsterklicka) aktiverad i " +"chattkonsolens utdata." #: src/settings_translation_file.cpp msgid "Client" @@ -2725,7 +2757,7 @@ msgstr "Begränsningar för klientmoddning" #: src/settings_translation_file.cpp msgid "Client side node lookup range restriction" -msgstr "" +msgstr "Begränsing av klientsidig nodsökningsområde" #: src/settings_translation_file.cpp msgid "Climbing speed" @@ -2765,6 +2797,13 @@ msgid "" "These flags are independent from Minetest versions,\n" "so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" +"Kommaseparerad lista av flaggar som ska döljas i innehållsdatabasen.\n" +"\"nonfree\" kan användas för att gömma paket som inte kvalifieras som 'fri " +"programvara',\n" +"per Free Software Foundations definition.\n" +"Du kan även specifiera innehållsvarningar.\n" +"Dessa flaggor är oberoende från Minetest-versioner,\n" +"så en full lista finns på https://content.minetest.net/help/content_flags/" #: src/settings_translation_file.cpp msgid "" @@ -2795,6 +2834,10 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"Komprimeringsnivå att använda när mappblock sparas till disk.\n" +"-1 - använd standardnivå\n" +"0 - minst komprimering, snabbast\n" +"9 - bäst komprimering, långsammast" #: src/settings_translation_file.cpp msgid "" @@ -2803,6 +2846,10 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"Komprimeringsnivå att använda när mappblock skickas till klienten.\n" +"-1 - använd standardnivå\n" +"0 - minst komprimering, snabbast\n" +"9 - bäst komprimering, långsammast" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2830,11 +2877,11 @@ msgstr "Konsolhöjd" #: src/settings_translation_file.cpp msgid "ContentDB Flag Blacklist" -msgstr "" +msgstr "ContentDB Flaggsvartlista" #: src/settings_translation_file.cpp msgid "ContentDB Max Concurrent Downloads" -msgstr "" +msgstr "ContentDB Högsta Parallella Nedladdningar" #: src/settings_translation_file.cpp msgid "ContentDB URL" @@ -2849,6 +2896,9 @@ msgid "" "Continuous forward movement, toggled by autoforward key.\n" "Press the autoforward key again or the backwards movement to disable." msgstr "" +"Kontinuerlig framåtgående rörelse, växlas med hjälp av autoforward-tagenten." +"\n" +"Tryck på autoforward-knappen igen eller på bakåtknappen för att inaktivera." #: src/settings_translation_file.cpp msgid "Controls" @@ -2867,7 +2917,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." -msgstr "" +msgstr "Styr sjunkhastigheten i vätska." #: src/settings_translation_file.cpp msgid "Controls steepness/depth of lake depressions." @@ -2883,6 +2933,9 @@ msgid "" "Value >= 10.0 completely disables generation of tunnels and avoids the\n" "intensive noise calculations." msgstr "" +"Kontrollerar tunnlarnas bredd, ett mindre värde ger bredare tunnlar.\n" +"Värde >= 10.0 inaktiverar helt generering av tunnlar och undviker\n" +"intensiva brusberäkningar." #: src/settings_translation_file.cpp msgid "Crash message" @@ -2897,13 +2950,12 @@ msgid "Crosshair alpha" msgstr "Hårkorsalpha" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Hårkorsalpha (ogenomskinlighet, mellan 0 och 255).\n" -"Kontrollerar även objektets hårkorsfärg" +"Kontrollerar även objektets hårkorsfärg." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2914,6 +2966,8 @@ msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" +"Hårkorsfärg (R,G,B).\n" +"Styr även hårkorsets färg på objektet" #: src/settings_translation_file.cpp msgid "DPI" @@ -2941,7 +2995,7 @@ msgstr "Tangent för volymsänkning" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." -msgstr "" +msgstr "Minska detta för att öka vätskans motstånd mot rörelser." #: src/settings_translation_file.cpp msgid "Dedicated server step" @@ -2985,6 +3039,10 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" +"Definiera kvaliteten på skuggfiltrering.\n" +"Detta simulerar den mjuka skuggeffekten genom att tillämpa en PCF- eller " +"Poisson-skiva\n" +"men använder också mer resurser." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3095,7 +3153,7 @@ msgstr "Desynkronisera blockanimation" #: src/settings_translation_file.cpp msgid "Dig key" -msgstr "" +msgstr "Gräv-knapp" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3111,7 +3169,7 @@ msgstr "Tillåt inte tomma lösenord" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Skalningsfaktor för displaytäthet" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3119,27 +3177,27 @@ msgstr "Domännamn för server, att visas i serverlistan." #: src/settings_translation_file.cpp msgid "Double tap jump for fly" -msgstr "" +msgstr "Dubbeltryck på hoppknapp för att flyga" #: src/settings_translation_file.cpp msgid "Double-tapping the jump key toggles fly mode." -msgstr "" +msgstr "Om du trycker på hoppknappen aktiveras flygläge." #: src/settings_translation_file.cpp msgid "Drop item key" -msgstr "" +msgstr "Släpp objekt-tagent" #: src/settings_translation_file.cpp msgid "Dump the mapgen debug information." -msgstr "" +msgstr "Dumpa felsökningsinformation för mapgen." #: src/settings_translation_file.cpp msgid "Dungeon maximum Y" -msgstr "" +msgstr "Maximalt Y för fängelsehålor" #: src/settings_translation_file.cpp msgid "Dungeon minimum Y" -msgstr "" +msgstr "Minimalt Y för fängelsehålor" #: src/settings_translation_file.cpp msgid "Dungeon noise" @@ -3150,12 +3208,16 @@ msgid "" "Enable IPv6 support (for both client and server).\n" "Required for IPv6 connections to work at all." msgstr "" +"Aktivera IPv6-stöd (för både klient och server).\n" +"Krävs för att IPv6-anslutningar ska fungera." #: src/settings_translation_file.cpp msgid "" "Enable Lua modding support on client.\n" "This support is experimental and API can change." msgstr "" +"Aktivera stöd för Lua-modifiering på klienten.\n" +"Detta är experimentellt och API:et kan ändras." #: src/settings_translation_file.cpp msgid "" @@ -3163,56 +3225,65 @@ msgid "" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Aktivera Poisson-diskfiltrering.\n" +"När aktiverad används Poisson-disk för att göra \"mjuka skuggor\". Annars " +"används PCF-filtrering." #: src/settings_translation_file.cpp msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Aktivera färgade skuggor.\n" +"När aktiverad kastar genomskinliga noder färgade skuggor. Detta är intensivt." #: src/settings_translation_file.cpp msgid "Enable console window" -msgstr "" +msgstr "Aktivera konsollfönster" #: src/settings_translation_file.cpp msgid "Enable creative mode for all players" -msgstr "" +msgstr "Aktivera kreativt läge för alla spelare" #: src/settings_translation_file.cpp msgid "Enable joysticks" -msgstr "" +msgstr "Aktivera joysticks" #: src/settings_translation_file.cpp msgid "Enable mod channels support." -msgstr "" +msgstr "Aktivera stöd för mod-kanaler." #: src/settings_translation_file.cpp msgid "Enable mod security" -msgstr "" +msgstr "Aktivera modsäkerhet" #: src/settings_translation_file.cpp msgid "Enable players getting damage and dying." -msgstr "" +msgstr "Gör det möjligt för spelare att skadas och dö." #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." -msgstr "" +msgstr "Aktivera slumpmässig användarinmatning (används endast för testning)." #: src/settings_translation_file.cpp msgid "Enable register confirmation" -msgstr "" +msgstr "Aktivera registreringsbekräftelse" #: src/settings_translation_file.cpp msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" +"Aktivera bekräftelse av registrering när du ansluter till servern.\n" +"När inaktiverad registreras ett nytt konto automatiskt." #: src/settings_translation_file.cpp msgid "" "Enable smooth lighting with simple ambient occlusion.\n" "Disable for speed or for different looks." msgstr "" +"Möjliggör mjuk belysning med enkel omgivande ocklusion.\n" +"Inaktivera för prestanda eller för ett annat utseende." #: src/settings_translation_file.cpp msgid "" @@ -3222,6 +3293,10 @@ msgid "" "to new servers, but they may not support all new features that you are " "expecting." msgstr "" +"Aktivera för att hindra gamla klienter från att ansluta.\n" +"Äldre klienter är kompatibla i och med att de inte krashar när de ansluter\n" +"till nya servrar, men de kanske inte stöder alla nya funktioner du förväntar " +"dig." #: src/settings_translation_file.cpp msgid "" @@ -3230,12 +3305,18 @@ msgid "" "textures)\n" "when connecting to the server." msgstr "" +"Aktivera användning av fjärrmedieserver (om tillhandahålld av servern).\n" +"Fjärrservrar är ett betydligt snabbare sätt att hämta media (t.ex. texturer)" +"\n" +"när du ansluter till servern." #: src/settings_translation_file.cpp msgid "" "Enable vertex buffer objects.\n" "This should greatly improve graphics performance." msgstr "" +"Aktivera vertexbuffertobjekt.\n" +"Detta bör avsevärt förbättra grafikprestandan." #: src/settings_translation_file.cpp msgid "" @@ -3249,6 +3330,9 @@ msgid "" "Ignored if bind_address is set.\n" "Needs enable_ipv6 to be enabled." msgstr "" +"Aktivera/avaktivera en IPv6-server.\n" +"Ignoreras om bind_address är angedd.\n" +"Kräver att enable_ipv6 är aktiverat." #: src/settings_translation_file.cpp msgid "" @@ -3257,6 +3341,10 @@ msgid "" "appearance of high dynamic range images. Mid-range contrast is slightly\n" "enhanced, highlights and shadows are gradually compressed." msgstr "" +"Aktiverar Hable's 'Uncharted 2' filmisk tonmappning.\n" +"Simulerar tonkurvan hos fotografisk film och hur den liknar utseendet\n" +"på bilder med högt dynamiskt omfång. Kontrasten i mitten av intervallet\n" +"förstärks något, ljuspunkter och skuggor komprimeras gradvis." #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." @@ -3264,11 +3352,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Enables caching of facedir rotated meshes." -msgstr "" +msgstr "Aktiverar cachning av facedirroterade mesher." #: src/settings_translation_file.cpp msgid "Enables minimap." -msgstr "" +msgstr "Aktiverar minimap." #: src/settings_translation_file.cpp msgid "" @@ -3277,14 +3365,18 @@ msgid "" "sound controls will be non-functional.\n" "Changing this setting requires a restart." msgstr "" +"Aktiverar ljudsystemet.\n" +"När inaktiverat inaktiveras alla ljud överallt och spelets\n" +"ljudkontroller kommer inte fungera.\n" +"Omstart krävs för att ändra den här inställningen." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" -msgstr "" +msgstr "Intervall för utskrift av motorprofileringsdata" #: src/settings_translation_file.cpp msgid "Entity methods" -msgstr "" +msgstr "Entitetsmetoder" #: src/settings_translation_file.cpp msgid "" @@ -3298,53 +3390,55 @@ msgstr "" #: src/settings_translation_file.cpp msgid "FPS when unfocused or paused" -msgstr "" +msgstr "FPS när ofokuserad eller pausad" #: src/settings_translation_file.cpp msgid "FSAA" -msgstr "" +msgstr "FSAA" #: src/settings_translation_file.cpp msgid "Factor noise" -msgstr "" +msgstr "Faktorbrus" #: src/settings_translation_file.cpp msgid "Fall bobbing factor" -msgstr "" +msgstr "Fallets bobbingfaktor" #: src/settings_translation_file.cpp msgid "Fallback font path" -msgstr "" +msgstr "Sökväg för reservtypsnitt" #: src/settings_translation_file.cpp msgid "Fast key" -msgstr "" +msgstr "Snabbknapp" #: src/settings_translation_file.cpp msgid "Fast mode acceleration" -msgstr "" +msgstr "Acceleration i snabbt läge" #: src/settings_translation_file.cpp msgid "Fast mode speed" -msgstr "" +msgstr "Hastighet i snabbt läge" #: src/settings_translation_file.cpp msgid "Fast movement" -msgstr "" +msgstr "Snabb rörelse" #: src/settings_translation_file.cpp msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" +"Snabb rörelse (via \"Aux1\"-tagenten).\n" +"Detta kräver \"snabb\"-privilegiet på servern." #: src/settings_translation_file.cpp msgid "Field of view" -msgstr "" +msgstr "Synfält" #: src/settings_translation_file.cpp msgid "Field of view in degrees." -msgstr "" +msgstr "Synfält i grader." #: src/settings_translation_file.cpp msgid "" @@ -3352,18 +3446,20 @@ msgid "" "the\n" "Multiplayer Tab." msgstr "" +"Filen i client/serverlist/ som innehåller dina favoritservrar som visas i\n" +"fliken Anslut Spel." #: src/settings_translation_file.cpp msgid "Filler depth" -msgstr "" +msgstr "Fyllnadsdjup" #: src/settings_translation_file.cpp msgid "Filler depth noise" -msgstr "" +msgstr "Fyllnadsdjupbrus" #: src/settings_translation_file.cpp msgid "Filmic tone mapping" -msgstr "" +msgstr "Filmisk tonmappning" #: src/settings_translation_file.cpp msgid "" @@ -3375,27 +3471,28 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Filtering" -msgstr "" +msgstr "Filtrering" #: src/settings_translation_file.cpp msgid "First of 4 2D noises that together define hill/mountain range height." msgstr "" +"Första av 4 2D-brus som tillsammans definierar höjden på kullar och berg." #: src/settings_translation_file.cpp msgid "First of two 3D noises that together define tunnels." -msgstr "" +msgstr "Första av två 3D-brus som tillsammans definierar tunnlar." #: src/settings_translation_file.cpp msgid "Fixed map seed" -msgstr "" +msgstr "Fastställd kartseed" #: src/settings_translation_file.cpp msgid "Fixed virtual joystick" -msgstr "" +msgstr "Fast virtuell joystick" #: src/settings_translation_file.cpp msgid "Floatland density" -msgstr "" +msgstr "Floatlanddensitet" #: src/settings_translation_file.cpp msgid "Floatland maximum Y" @@ -3423,51 +3520,51 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fly key" -msgstr "" +msgstr "Flygknapp" #: src/settings_translation_file.cpp msgid "Flying" -msgstr "" +msgstr "Flyga" #: src/settings_translation_file.cpp msgid "Fog" -msgstr "" +msgstr "Dimma" #: src/settings_translation_file.cpp msgid "Fog start" -msgstr "" +msgstr "Start av dimma" #: src/settings_translation_file.cpp msgid "Fog toggle key" -msgstr "" +msgstr "Växlingstagent för dimma" #: src/settings_translation_file.cpp msgid "Font bold by default" -msgstr "" +msgstr "Fetstilat typsnitt som standard" #: src/settings_translation_file.cpp msgid "Font italic by default" -msgstr "" +msgstr "Kursivt typsnitt som standard" #: src/settings_translation_file.cpp msgid "Font shadow" -msgstr "" +msgstr "Typsnittsskugga" #: src/settings_translation_file.cpp msgid "Font shadow alpha" -msgstr "" +msgstr "Genomskinlighet för typsnittsskugga" #: src/settings_translation_file.cpp msgid "Font size" -msgstr "" +msgstr "Typsnittsstorlek" #: src/settings_translation_file.cpp msgid "Font size of the default font in point (pt)." -msgstr "" +msgstr "Storleken för standardtypsnittet i punkter (pt)." #: src/settings_translation_file.cpp msgid "Font size of the monospace font in point (pt)." -msgstr "" +msgstr "Storleken för monospacetypsnittet i punkter (pt)." #: src/settings_translation_file.cpp msgid "" @@ -3484,70 +3581,72 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Format of screenshots." -msgstr "" +msgstr "Format för skärmdumpar." #: src/settings_translation_file.cpp msgid "Formspec Default Background Color" -msgstr "" +msgstr "Formspec Standardbakgrundsfärg" #: src/settings_translation_file.cpp msgid "Formspec Default Background Opacity" -msgstr "" +msgstr "Formspec Standardbakgrundsopacitet" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Color" -msgstr "" +msgstr "Formspec Standardbakgrundsfärg för fullskärm" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Opacity" -msgstr "" +msgstr "Formspec Standardbakgrundsopacitet för fullskärm" #: src/settings_translation_file.cpp msgid "Formspec default background color (R,G,B)." -msgstr "" +msgstr "Formspec Standardbakgrundsfärg (R,G,B)." #: src/settings_translation_file.cpp msgid "Formspec default background opacity (between 0 and 255)." -msgstr "" +msgstr "Formspec standardbakgrundsopacitet (mellan 0 och 255)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background color (R,G,B)." -msgstr "" +msgstr "Formspec bakgrundsfärg för fullskärm (R,G,B)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background opacity (between 0 and 255)." -msgstr "" +msgstr "Formspec bakgrundsopacitet för fullskärm (mellan 0 och 255)." #: src/settings_translation_file.cpp msgid "Forward key" -msgstr "" +msgstr "Framåtknapp" #: src/settings_translation_file.cpp msgid "Fourth of 4 2D noises that together define hill/mountain range height." -msgstr "" +msgstr "Fyra av 4 2D-brus som tillsammans definerar höjden för kullar och berg." #: src/settings_translation_file.cpp msgid "Fractal type" -msgstr "" +msgstr "Fraktaltyp" #: src/settings_translation_file.cpp msgid "Fraction of the visible distance at which fog starts to be rendered" -msgstr "" +msgstr "Bråkdel av den synliga distansen som dimma börjar" #: src/settings_translation_file.cpp msgid "FreeType fonts" -msgstr "" +msgstr "FreeType-typsnitt" #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " "nodes)." msgstr "" +"Hur långt bort block genereras för klienter, mätt i mappblock (16 noder)." #: src/settings_translation_file.cpp msgid "" "From how far blocks are sent to clients, stated in mapblocks (16 nodes)." msgstr "" +"Från hur långt block skickas till klienten, mätt i mappblock (16 noder)." #: src/settings_translation_file.cpp msgid "" @@ -3560,27 +3659,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Full screen" -msgstr "" +msgstr "Fullskärm" #: src/settings_translation_file.cpp msgid "Fullscreen mode." -msgstr "" +msgstr "Fullskärmsläge." #: src/settings_translation_file.cpp msgid "GUI scaling" -msgstr "" +msgstr "Gränssnittsskalning" #: src/settings_translation_file.cpp msgid "GUI scaling filter" -msgstr "" +msgstr "Filter för Gränssnittsskalning" #: src/settings_translation_file.cpp msgid "GUI scaling filter txr2img" -msgstr "" +msgstr "Filter för Gränssnittsskalning txr2img" #: src/settings_translation_file.cpp msgid "Global callbacks" -msgstr "" +msgstr "Globala återkallelser" #: src/settings_translation_file.cpp msgid "" @@ -3603,15 +3702,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Graphics" -msgstr "" +msgstr "Grafik" #: src/settings_translation_file.cpp msgid "Gravity" -msgstr "" +msgstr "Gravitation" #: src/settings_translation_file.cpp msgid "Ground level" -msgstr "" +msgstr "Marknivå" #: src/settings_translation_file.cpp msgid "Ground noise" @@ -3619,15 +3718,15 @@ msgstr "Ytbrus" #: src/settings_translation_file.cpp msgid "HTTP mods" -msgstr "" +msgstr "HTTP-moddar" #: src/settings_translation_file.cpp msgid "HUD scale factor" -msgstr "" +msgstr "HUD-skalningsfaktor" #: src/settings_translation_file.cpp msgid "HUD toggle key" -msgstr "" +msgstr "HUD-växlingsknapp" #: src/settings_translation_file.cpp msgid "" @@ -3648,58 +3747,60 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Heat blend noise" -msgstr "" +msgstr "Värmeblandingsbrus" #: src/settings_translation_file.cpp msgid "Heat noise" -msgstr "" +msgstr "Värmebrus" #: src/settings_translation_file.cpp msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "" +msgstr "Höjden av den inledande fönsterstorleken. Ignorerad i fullskärmsläge." #: src/settings_translation_file.cpp msgid "Height noise" -msgstr "" +msgstr "Höjdbrus" #: src/settings_translation_file.cpp msgid "Height select noise" -msgstr "" +msgstr "Höjdvalbrus" #: src/settings_translation_file.cpp msgid "Hill steepness" -msgstr "" +msgstr "Kullslättning" #: src/settings_translation_file.cpp msgid "Hill threshold" -msgstr "" +msgstr "Kulltröskel" #: src/settings_translation_file.cpp msgid "Hilliness1 noise" -msgstr "" +msgstr "Kullig1 brus" #: src/settings_translation_file.cpp msgid "Hilliness2 noise" -msgstr "" +msgstr "Kullig2 brus" #: src/settings_translation_file.cpp msgid "Hilliness3 noise" -msgstr "" +msgstr "Kullig3 brus" #: src/settings_translation_file.cpp msgid "Hilliness4 noise" -msgstr "" +msgstr "Kullig4 brus" #: src/settings_translation_file.cpp msgid "Homepage of server, to be displayed in the serverlist." -msgstr "" +msgstr "Hemsida för servern, som visas i serverlistan." #: src/settings_translation_file.cpp msgid "" "Horizontal acceleration in air when jumping or falling,\n" "in nodes per second per second." msgstr "" +"Horisontell acceleration i luften vid hopp eller fall,\n" +"i noder per sekund per sekund." #: src/settings_translation_file.cpp msgid "" @@ -4971,32 +5072,28 @@ msgid "Mapgen Fractal" msgstr "Mapgen Fraktal" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Fractal specific flags" -msgstr "Kartgenerator" +msgstr "Specifika flaggar för fraktal" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen V5" -msgstr "Kartgenerator" +msgstr "Kartgenerator V5" #: src/settings_translation_file.cpp msgid "Mapgen V5 specific flags" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen V6" -msgstr "Kartgenerator" +msgstr "Kartgenerator V6" #: src/settings_translation_file.cpp msgid "Mapgen V6 specific flags" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen V7" -msgstr "Kartgenerator" +msgstr "Kartgenerator V7" #: src/settings_translation_file.cpp msgid "Mapgen V7 specific flags" @@ -5446,18 +5543,16 @@ msgid "Physics" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Pitch move key" -msgstr "Tangent för filmiskt länge" +msgstr "" #: src/settings_translation_file.cpp msgid "Pitch move mode" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Place key" -msgstr "Tangent för filmiskt länge" +msgstr "Placeraknapp" #: src/settings_translation_file.cpp msgid "Place repetition interval" @@ -5482,9 +5577,8 @@ msgid "Player versus player" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bilinjär filtrering" +msgstr "Poissonfiltrering" #: src/settings_translation_file.cpp msgid "" @@ -5636,9 +5730,8 @@ msgid "River depth" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "River noise" -msgstr "Grottoljud" +msgstr "Flodbrus" #: src/settings_translation_file.cpp msgid "River size" @@ -5753,7 +5846,6 @@ msgid "Selection box width" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Selects one of 18 fractal types.\n" "1 = 4D \"Roundy\" Mandelbrot set.\n" @@ -5775,25 +5867,25 @@ msgid "" "17 = 4D \"Mandelbulb\" Mandelbrot set.\n" "18 = 4D \"Mandelbulb\" Julia set." msgstr "" -"Val av 18 fractaler från 9 formler.\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." +"Val av 18 fraktaler.\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." #: src/settings_translation_file.cpp msgid "Server / Singleplayer" @@ -5893,9 +5985,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shader path" -msgstr "Välj sökväg" +msgstr "Shader-sökväg" #: src/settings_translation_file.cpp msgid "" @@ -6025,18 +6116,16 @@ msgid "Sneak key" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Sneaking speed" -msgstr "Nedstigande hastighet" +msgstr "Smyghastighet" #: src/settings_translation_file.cpp msgid "Sneaking speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Molnradie" +msgstr "Radie för mjuk skugga" #: src/settings_translation_file.cpp msgid "Sound" @@ -6138,9 +6227,8 @@ msgid "Terrain base noise" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Terrain height" -msgstr "Bas för terränghöjd" +msgstr "Terränghöjd" #: src/settings_translation_file.cpp msgid "Terrain higher noise" @@ -6353,9 +6441,8 @@ msgid "Tooltip delay" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Touch screen threshold" -msgstr "Strandoljudströskel" +msgstr "Tröskelvärde för pekskärm" #: src/settings_translation_file.cpp msgid "Trees noise" @@ -6591,24 +6678,20 @@ msgid "Waving leaves" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids" -msgstr "Vajande Löv" +msgstr "Vajande vätskor" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids wave height" -msgstr "Böljande Vatten" +msgstr "Våghöjd för vajande vätskor" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids wave speed" -msgstr "Vajande Löv" +msgstr "Våghastighet för vajande vätskor" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids wavelength" -msgstr "Böljande Vatten" +msgstr "Våglängd för vajande vätskor" #: src/settings_translation_file.cpp msgid "Waving plants" @@ -6717,9 +6800,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "World start time" -msgstr "Världnamn" +msgstr "Världsstarttid" #: src/settings_translation_file.cpp msgid "" @@ -6770,14 +6852,12 @@ msgid "Y-level of cavern upper limit." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Y-level of higher terrain that creates cliffs." -msgstr "Y-nivå av lägre terräng och sjöbottnar." +msgstr "Y-nivå för högre terräng som skapar klippor." #: src/settings_translation_file.cpp -#, fuzzy msgid "Y-level of lower terrain and seabed." -msgstr "Y-nivå av lägre terräng och sjöbottnar." +msgstr "Y-nivå för lägre terräng och sjöbottnar." #: src/settings_translation_file.cpp msgid "Y-level of seabed." @@ -6788,9 +6868,8 @@ msgid "cURL file download timeout" msgstr "cURL filhemladdning tidsgräns" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL-timeout" +msgstr "cURL-interaktivtimeout" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From 7f1db70919238bb44dde87bd85c7b9c56f5cac5c Mon Sep 17 00:00:00 2001 From: xerxstirb Date: Fri, 17 Dec 2021 20:50:08 +0000 Subject: Translated using Weblate (Swedish) Currently translated at 58.5% (828 of 1415 strings) --- po/sv/minetest.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/sv/minetest.po b/po/sv/minetest.po index 74985e00c..889b74064 100644 --- a/po/sv/minetest.po +++ b/po/sv/minetest.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" "PO-Revision-Date: 2021-12-18 21:51+0000\n" -"Last-Translator: ROllerozxa \n" +"Last-Translator: xerxstirb \n" "Language-Team: Swedish \n" "Language: sv\n" @@ -2089,7 +2089,7 @@ msgstr "Slå av/på pitchmove" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" -msgstr "tryck knapp" +msgstr "tryck på knapp" #: src/gui/guiPasswordChange.cpp msgid "Change" -- cgit v1.2.3 From 9740a3568556f269a32f636c274325ce295d7783 Mon Sep 17 00:00:00 2001 From: Stas Kies Date: Mon, 20 Dec 2021 20:06:26 +0000 Subject: Translated using Weblate (Russian) Currently translated at 98.5% (1394 of 1415 strings) --- po/ru/minetest.po | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index 5be86da96..af69ebf19 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-17 13:52+0000\n" -"Last-Translator: Nikita Epifanov \n" +"PO-Revision-Date: 2021-12-20 21:44+0000\n" +"Last-Translator: Stas Kies \n" "Language-Team: Russian \n" "Language: ru\n" @@ -1172,9 +1172,8 @@ msgid "Connection error (timed out?)" msgstr "Ошибка соединения (тайм-аут?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Невозможно найти или загрузить игру \"" +msgstr "Не удалось найти или загрузить игру: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1246,9 +1245,8 @@ msgid "- Server Name: " msgstr "- Имя сервера: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Произошла ошибка:" +msgstr "Произошла ошибка сериализации:" #: src/client/game.cpp #, c-format @@ -1264,9 +1262,8 @@ msgid "Automatic forward enabled" msgstr "Автобег включён" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Границы блока" +msgstr "Границы блока скрыты" #: src/client/game.cpp msgid "Block bounds shown for all blocks" @@ -1305,9 +1302,8 @@ msgid "Cinematic mode enabled" msgstr "Режим кино включён" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Моддинг клиента" +msgstr "Клиент отключился" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1918,9 +1914,8 @@ msgid "Minimap in texture mode" msgstr "Минимальный размер текстуры" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Не удалось загрузить $1" +msgstr "Не удалось открыть веб-страницу" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" @@ -2129,9 +2124,9 @@ msgid "Muted" msgstr "Заглушить" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Громкость звука: " +msgstr "Громкость звука: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2691,9 +2686,8 @@ msgid "Chat command time message threshold" msgstr "Порог cообщения команды чата" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" -msgstr "Команды в чате" +msgstr "Команды чата" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2728,9 +2722,8 @@ msgid "Chat toggle key" msgstr "Кнопка переключения чата" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Отображение чата включено" +msgstr "Веб-ссылки чата" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2970,13 +2963,12 @@ msgid "Crosshair alpha" msgstr "Прозрачность перекрестия" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Прозрачность прицела (от 0 (прозрачно) до 255 (непрозрачно)).\n" -"Также контролирует цвет перекрестия объекта" +"Также контролирует перекрестия объекта." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -4237,7 +4229,6 @@ msgstr "" "Обычно это нужно тем, кто пишет код для движка" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." msgstr "Выполнять команды в чате при регистрации." @@ -4328,7 +4319,6 @@ msgid "Joystick button repetition interval" msgstr "Интервал повторного клика кнопкой джойстика" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "Мертвая зона джойстика" @@ -5770,7 +5760,6 @@ msgid "Mod channels" msgstr "Каналы модификаций" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." msgstr "Изменяет размер элементов игрового интерфейса." -- cgit v1.2.3 From 02478d2db6be3dd50222313db822b0358342fc2f Mon Sep 17 00:00:00 2001 From: pesder Date: Wed, 22 Dec 2021 00:53:18 +0000 Subject: Translated using Weblate (Chinese (Traditional)) Currently translated at 70.3% (996 of 1415 strings) --- po/zh_TW/minetest.po | 350 +++++++++++++++++++++------------------------------ 1 file changed, 146 insertions(+), 204 deletions(-) diff --git a/po/zh_TW/minetest.po b/po/zh_TW/minetest.po index 804f663f4..b4e06327c 100644 --- a/po/zh_TW/minetest.po +++ b/po/zh_TW/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Traditional) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-05-20 14:34+0000\n" -"Last-Translator: Yiu Man Ho \n" +"PO-Revision-Date: 2021-12-24 07:50+0000\n" +"Last-Translator: pesder \n" "Language-Team: Chinese (Traditional) \n" "Language: zh_TW\n" @@ -12,48 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "清除聊天佇列" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "聊天指令" +msgstr "清空指令。" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "離開,回到選單" +msgstr "離開並回到選單" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "本機指令" +msgstr "無效的指令: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "發送的指令: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "單人遊戲" +msgstr "列出線上玩家" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "單人遊戲" +msgstr "線上玩家: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "對外聊天佇列現在為空。" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "這個指令被伺服器停用。" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,31 +59,29 @@ msgid "You died" msgstr "您已死亡" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "本機指令" +msgstr "可用的指令:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "本機指令" +msgstr "可用的指令: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "指令無法使用: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "取得指令的說明" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." -msgstr "" +msgstr "使用「.help 」來取得更多資訊,或使用「.help all」來列出所有指令。" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -96,7 +89,7 @@ msgstr "OK" #: builtin/fstk/ui.lua msgid "" -msgstr "" +msgstr "<沒有可用的>" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -258,23 +251,20 @@ msgid "All packages" msgstr "所有套件" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Already installed" -msgstr "已使用此按鍵" +msgstr "已安裝" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" msgstr "返回主選單" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Base Game:" -msgstr "主持遊戲" +msgstr "主遊戲:" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "ContentDB is not available when Minetest was compiled without cURL" -msgstr "在沒有cURL的情況下編譯Minetest時,ContentDB不可用" +msgstr "在沒有 cURL 的情況下編譯 Minetest 時,ContentDB 不可用" #: builtin/mainmenu/dlg_contentstore.lua msgid "Downloading..." @@ -302,9 +292,8 @@ msgid "Install missing dependencies" msgstr "安裝缺少的依賴" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "安裝:「%1」檔案類型不支援,或是封存檔損壞" +msgstr "安裝:檔案類型不支援,或是封存檔損壞" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -440,12 +429,10 @@ msgid "Hills" msgstr "山" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Humid rivers" -msgstr "顯示卡驅動程式" +msgstr "潮濕的河流" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Increases humidity around rivers" msgstr "增加河流周圍的濕度" @@ -454,9 +441,8 @@ msgid "Lakes" msgstr "河流" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "因低濕度和高熱量而導致河流淺或乾燥" +msgstr "因低濕度和高熱度而導致河流淺或乾燥" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" @@ -479,7 +465,6 @@ msgid "Mud flow" msgstr "泥石流" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Network of tunnels and caves" msgstr "隧道和洞穴網絡" @@ -489,11 +474,11 @@ msgstr "未選擇遊戲" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" -msgstr "" +msgstr "隨海拔降低熱度" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" -msgstr "" +msgstr "濕度隨海拔升高而降低" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" @@ -523,31 +508,28 @@ msgid "Structures appearing on the terrain, typically trees and plants" msgstr "出現在世界上的結構,通常是樹木和植物" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Temperate, Desert" msgstr "溫帶沙漠" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" -msgstr "" +msgstr "溫帶、沙漠、叢林" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" -msgstr "" +msgstr "溫帶,沙漠,叢林,苔原,針葉林" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Terrain surface erosion" -msgstr "地形基礎高度" +msgstr "地形表面侵蝕" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" msgstr "樹木和叢林草" #: builtin/mainmenu/dlg_create_world.lua -#, fuzzy msgid "Vary river depth" -msgstr "河流深度" +msgstr "變化的河流深度" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" @@ -630,9 +612,8 @@ msgid "Enabled" msgstr "已啟用" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Lacunarity" -msgstr "Lacunarity" +msgstr "空隙" #: builtin/mainmenu/dlg_settings_advanced.lua #, fuzzy @@ -644,9 +625,8 @@ msgid "Offset" msgstr "補償" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" -msgstr "暫留" +msgstr "持續性" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." @@ -789,7 +769,7 @@ msgstr "請嘗試重新啟用公共伺服器清單並檢查您的網際網路連 #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "關於" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -889,13 +869,12 @@ msgid "Host Server" msgstr "主機伺服器" #: builtin/mainmenu/tab_local.lua -#, fuzzy msgid "Install games from ContentDB" -msgstr "從ContentDB安裝遊戲" +msgstr "從 ContentDB 安裝遊戲" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "名稱" #: builtin/mainmenu/tab_local.lua msgid "New" @@ -934,9 +913,8 @@ msgid "Start Game" msgstr "開始遊戲" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- 地址: " +msgstr "地址" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -952,22 +930,20 @@ msgstr "創造模式" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "傷害" +msgstr "傷害 / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "刪除收藏" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "收藏" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "不相容的伺服器" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -978,16 +954,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "公佈伺服器" +msgstr "公開伺服器" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "重新整理" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "伺服器描述" @@ -1032,13 +1006,12 @@ msgid "Connected Glass" msgstr "連接玻璃" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "字型陰影" +msgstr "動態陰影" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "動態陰影: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1046,23 +1019,21 @@ msgstr "華麗葉子" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "高" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "低" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "中" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Mipmap" msgstr "Mip 貼圖" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "Mipmap + Aniso. Filter" msgstr "Mip 貼圖 + Aniso. 過濾器" @@ -1071,7 +1042,6 @@ msgid "No Filter" msgstr "沒有過濾器" #: builtin/mainmenu/tab_settings.lua -#, fuzzy msgid "No Mipmap" msgstr "沒有 Mip 貼圖" @@ -1145,11 +1115,11 @@ msgstr "三線性過濾器" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "超高" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "很低" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1192,9 +1162,8 @@ msgid "Connection error (timed out?)" msgstr "連線錯誤(逾時?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "找不到或無法載入遊戲 \"" +msgstr "找不到或無法載入遊戲: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1266,14 +1235,13 @@ msgid "- Server Name: " msgstr "- 伺服器名稱: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "發生錯誤:" +msgstr "序列化時發生錯誤:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "存取被拒絕。原因︰%s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1285,19 +1253,19 @@ msgstr "已啟用自動前進" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "區塊邊界隱藏" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "區塊邊界顯示所有區塊" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "區塊邊界顯示目前區塊" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "區塊邊界顯示鄰接區塊" #: src/client/game.cpp msgid "Camera update disabled" @@ -1309,7 +1277,7 @@ msgstr "已啟用相機更新" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "不能顯示區塊邊界 (需要「basic_debug」權限)" #: src/client/game.cpp msgid "Change Password" @@ -1324,9 +1292,8 @@ msgid "Cinematic mode enabled" msgstr "已啟用電影模式" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "用戶端修改" +msgstr "用戶端已斷線" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1338,14 +1305,14 @@ msgstr "正在連線至伺服器..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "連線失敗,原因不明" #: src/client/game.cpp msgid "Continue" msgstr "繼續" #: src/client/game.cpp -#, fuzzy, c-format +#, c-format msgid "" "Controls:\n" "- %s: move forwards\n" @@ -1367,20 +1334,20 @@ msgstr "" "- %s:向後移動\n" "- %s:向左移動\n" "- %s:向右移動\n" -"- %s:跳躍/攀爬\n" -"- %s:潛行/往下\n" +"- %s:跳躍/向上攀爬\n" +"- %s:挖/打\n" +"- %s:放置/使用\n" +"- %s:潛行/向下攀爬\n" "- %s:丟棄物品\n" "- %s:物品欄\n" "- 滑鼠:旋轉/觀看\n" -"- 滑鼠左鍵:挖/推擠\n" -"- 滑鼠右鍵:放置/使用\n" "- 滑鼠滾輪:選取物品\n" "- %s:聊天\n" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "無法解析位址︰%s" #: src/client/game.cpp msgid "Creating client..." @@ -1511,9 +1478,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "迷你地圖目前已被遊戲或 Mod 停用" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "單人遊戲" +msgstr "多人遊戲" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1576,7 +1542,6 @@ msgid "Sound muted" msgstr "已靜音" #: src/client/game.cpp -#, fuzzy msgid "Sound system is disabled" msgstr "聲音系統已被禁用" @@ -1591,17 +1556,17 @@ msgstr "已取消靜音" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "此伺服器可能執行的是不同版本的 %s。" #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "無法連線至 %s 因為 IPv6 已停用" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "無法聽取 %s 因為 IPv6 已停用" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1924,28 +1889,26 @@ msgid "Minimap hidden" msgstr "已隱藏迷你地圖" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in radar mode, Zoom x%d" -msgstr "雷達模式的迷你地圖,放大 1 倍" +msgstr "雷達模式的迷你地圖,放大 %d 倍" #: src/client/minimap.cpp -#, fuzzy, c-format +#, c-format msgid "Minimap in surface mode, Zoom x%d" -msgstr "表面模式的迷你地圖,放大 1 倍" +msgstr "表面模式的迷你地圖,放大 %d 倍" #: src/client/minimap.cpp -#, fuzzy msgid "Minimap in texture mode" -msgstr "過濾器的最大材質大小" +msgstr "材質模式的迷你地圖" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "無法下載 $1" +msgstr "無法開啟網頁" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "正在開啟網頁" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1973,9 +1936,8 @@ msgid "Proceed" msgstr "繼續" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "\"Special\" = 向下攀爬" +msgstr "\"Aux1\" = 向下攀爬" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1987,7 +1949,7 @@ msgstr "自動跳躍" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1995,7 +1957,7 @@ msgstr "後退" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "區塊邊界" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2146,9 +2108,9 @@ msgid "Muted" msgstr "已靜音" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "音量: " +msgstr "音量:%d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2172,12 +2134,13 @@ msgstr "" "如停用,虛擬搖桿將會置中於第一個觸碰的位置。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." -msgstr "(Android) 使用虛擬搖桿觸發 \"aux\" 按鍵。\n" +msgstr "" +"(Android) 使用虛擬搖桿觸發 \"Aux1\" 按鍵。\n" +"如果啟用,虛擬搖桿在離開主圓圈時也會觸發 \"Aux1\" 按鍵。" #: src/settings_translation_file.cpp #, fuzzy @@ -2216,9 +2179,8 @@ msgid "2D noise that controls the shape/size of rolling hills." msgstr "控制波狀丘陵地之形狀或大小的 2D 雜訊值。" #: src/settings_translation_file.cpp -#, fuzzy msgid "2D noise that controls the shape/size of step mountains." -msgstr "控制 Step mountains 之形狀或大小的 2D 雜訊值。" +msgstr "控制階梯山脈之形狀或大小的 2D 雜訊值。" #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of ridged mountain ranges." @@ -2332,7 +2294,7 @@ msgstr "ABM 間隔" #: src/settings_translation_file.cpp msgid "ABM time budget" -msgstr "" +msgstr "ABM 時間預算" #: src/settings_translation_file.cpp #, fuzzy @@ -2385,7 +2347,7 @@ msgstr "調整您螢幕的 DPI 設定(並不只有 X11/Android)例如 4K 螢 #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." -msgstr "" +msgstr "調整偵測到的顯示密度,用來縮放 UI 元件。" #: src/settings_translation_file.cpp #, c-format @@ -2451,16 +2413,16 @@ msgid "Apple trees noise" msgstr "蘋果樹雜訊" #: src/settings_translation_file.cpp -#, fuzzy msgid "Arm inertia" msgstr "慣性手臂" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Arm inertia, gives a more realistic movement of\n" "the arm when the camera moves." -msgstr "慣性手臂,當相機移動時提供更加真實的手臂運動。" +msgstr "" +"慣性手臂,當相機移動時提供\n" +"更加真實的手臂運動。" #: src/settings_translation_file.cpp msgid "Ask to reconnect after crash" @@ -2488,16 +2450,14 @@ msgstr "" "在地圖區塊中顯示(16 個節點)" #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatic forward key" -msgstr "前進鍵" +msgstr "自動前進鍵" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." -msgstr "" +msgstr "自動跳過單個障礙物。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatically report to the serverlist." msgstr "自動回報到伺服器列表。" @@ -2507,38 +2467,33 @@ msgstr "自動儲存視窗大小" #: src/settings_translation_file.cpp msgid "Autoscaling mode" -msgstr "" +msgstr "自動縮放模式" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "跳躍鍵" +msgstr "Aux1 鍵" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "用於攀爬/下降的按鍵" +msgstr "用於攀爬/下降的 Aux1 按鍵" #: src/settings_translation_file.cpp msgid "Backward key" msgstr "後退鍵" #: src/settings_translation_file.cpp -#, fuzzy msgid "Base ground level" -msgstr "地面高度" +msgstr "基礎地平面" #: src/settings_translation_file.cpp -#, fuzzy msgid "Base terrain height." -msgstr "基礎地形高度" +msgstr "基礎地形高度。" #: src/settings_translation_file.cpp msgid "Basic" msgstr "基礎" #: src/settings_translation_file.cpp -#, fuzzy msgid "Basic privileges" msgstr "基礎特權" @@ -2567,29 +2522,24 @@ msgid "Biome noise" msgstr "生物雜訊" #: src/settings_translation_file.cpp -#, fuzzy msgid "Block send optimize distance" msgstr "區塊傳送最佳化距離" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold and italic font path" -msgstr "等寬字型路徑" +msgstr "粗體與斜體字型路徑" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold and italic monospace font path" -msgstr "等寬字型路徑" +msgstr "粗體與斜體等寬字型路徑" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold font path" -msgstr "字型路徑" +msgstr "粗體字型路徑" #: src/settings_translation_file.cpp -#, fuzzy msgid "Bold monospace font path" -msgstr "等寬字型路徑" +msgstr "粗體等寬字型路徑" #: src/settings_translation_file.cpp msgid "Build inside player" @@ -2660,9 +2610,8 @@ msgid "Cavern threshold" msgstr "洞穴閾值" #: src/settings_translation_file.cpp -#, fuzzy msgid "Cavern upper limit" -msgstr "洞穴極限" +msgstr "洞穴上層極限" #: src/settings_translation_file.cpp msgid "" @@ -2676,23 +2625,20 @@ msgid "Chat command time message threshold" msgstr "聊天訊息踢出閾值" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "聊天指令" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat font size" -msgstr "字型大小" +msgstr "聊天字型大小" #: src/settings_translation_file.cpp msgid "Chat key" msgstr "聊天按鍵" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat log level" -msgstr "除錯記錄等級" +msgstr "聊天記錄等級" #: src/settings_translation_file.cpp msgid "Chat message count limit" @@ -2715,9 +2661,8 @@ msgid "Chat toggle key" msgstr "聊天切換按鍵" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "顯示聊天室" +msgstr "顯示網頁連結" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2739,7 +2684,7 @@ msgstr "清除透明材質" msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." -msgstr "" +msgstr "在聊天室主控台輸出中可以點選網頁連結 (滑鼠中鍵或 Ctrl+left-單擊)。" #: src/settings_translation_file.cpp msgid "Client" @@ -2754,13 +2699,12 @@ msgid "Client modding" msgstr "用戶端修改" #: src/settings_translation_file.cpp -#, fuzzy msgid "Client side modding restrictions" -msgstr "用戶端修改" +msgstr "用戶端修改限制" #: src/settings_translation_file.cpp msgid "Client side node lookup range restriction" -msgstr "" +msgstr "用戶端節點查詢範圍限制" #: src/settings_translation_file.cpp msgid "Climbing speed" @@ -2787,9 +2731,8 @@ msgid "Colored fog" msgstr "彩色迷霧" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "彩色迷霧" +msgstr "彩色陰影" #: src/settings_translation_file.cpp msgid "" @@ -2864,16 +2807,15 @@ msgstr "終端機高度" #: src/settings_translation_file.cpp msgid "ContentDB Flag Blacklist" -msgstr "" +msgstr "ContentDB 旗標黑名單列表" #: src/settings_translation_file.cpp msgid "ContentDB Max Concurrent Downloads" -msgstr "" +msgstr "ContentDB 最大並行下載數" #: src/settings_translation_file.cpp -#, fuzzy msgid "ContentDB URL" -msgstr "繼續" +msgstr "ContentDB URL" #: src/settings_translation_file.cpp msgid "Continuous forward" @@ -2884,24 +2826,26 @@ msgid "" "Continuous forward movement, toggled by autoforward key.\n" "Press the autoforward key again or the backwards movement to disable." msgstr "" +"連續前進,通過自動前進鍵切換。\n" +"再次按自動前進鍵或向後移動即可禁用。" #: src/settings_translation_file.cpp msgid "Controls" msgstr "控制" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Controls length of day/night cycle.\n" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" "控制日/夜循環的長度。\n" -"範例:72 = 20分鐘,360 = 4分鐘,1 = 24小時,0 = 日/夜/一切保持不變。" +"範例:\n" +"72 = 20分鐘,360 = 4分鐘,1 = 24小時,0 = 日/夜/一切保持不變。" #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." -msgstr "" +msgstr "控制在液體中的下沉速度。" #: src/settings_translation_file.cpp msgid "Controls steepness/depth of lake depressions." @@ -2917,6 +2861,9 @@ msgid "" "Value >= 10.0 completely disables generation of tunnels and avoids the\n" "intensive noise calculations." msgstr "" +"控制隧道的寬度,較小的值將創建較寬的隧道。\n" +"數值 > = 10.0 完全禁用了隧道的生成,並避免了\n" +"密集的噪聲計算。" #: src/settings_translation_file.cpp msgid "Crash message" @@ -2931,11 +2878,12 @@ msgid "Crosshair alpha" msgstr "十字 alpha 值" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." -msgstr "十字 alpha 值(不透明,0 至 255間)。" +msgstr "" +"十字 alpha 值(不透明,0 至 255間)。\n" +"這也會套用到物件十字。" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2946,6 +2894,8 @@ msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" +"十字準線顏色(R,G,B)。\n" +"還控制物件的十字線顏色" #: src/settings_translation_file.cpp msgid "DPI" @@ -2960,9 +2910,8 @@ msgid "Debug info toggle key" msgstr "除錯資訊切換按鍵" #: src/settings_translation_file.cpp -#, fuzzy msgid "Debug log file size threshold" -msgstr "沙漠雜訊閾值" +msgstr "除錯紀錄檔案大小閾值" #: src/settings_translation_file.cpp msgid "Debug log level" @@ -2974,7 +2923,7 @@ msgstr "音量減少鍵" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." -msgstr "" +msgstr "減少此值可增加液體的運動阻力。" #: src/settings_translation_file.cpp msgid "Dedicated server step" @@ -3009,9 +2958,8 @@ msgid "Default report format" msgstr "缺省報告格式" #: src/settings_translation_file.cpp -#, fuzzy msgid "Default stack size" -msgstr "預設遊戲" +msgstr "預設堆疊大小" #: src/settings_translation_file.cpp msgid "" @@ -3051,28 +2999,24 @@ msgid "Defines location and terrain of optional hills and lakes." msgstr "定義可選的山丘與湖泊的位置與地形。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the base ground level." -msgstr "定義樹木區與樹木密度。" +msgstr "定義基礎地面高度。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the depth of the river channel." -msgstr "定義樹木區與樹木密度。" +msgstr "定義河道的深度。" #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "定義玩家最大可傳送的距離,以方塊計(0 = 不限制)。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river channel." -msgstr "定義大型河道結構。" +msgstr "定義河道寬度。" #: src/settings_translation_file.cpp -#, fuzzy msgid "Defines the width of the river valley." -msgstr "定義樹上有蘋果的區域。" +msgstr "定義河谷的寬度。" #: src/settings_translation_file.cpp msgid "Defines tree areas and tree density." @@ -3118,22 +3062,20 @@ msgid "Desert noise threshold" msgstr "沙漠雜訊閾值" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Deserts occur when np_biome exceeds this value.\n" "When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" "當 np_biome 超過此值時,會產生沙漠。\n" -"當啟用新的生物群系統時,這個將會被忽略。" +"當啟用新的生物群系統'snowbiomes'時,這個將會被忽略。" #: src/settings_translation_file.cpp msgid "Desynchronize block animation" msgstr "異步化方塊動畫" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dig key" -msgstr "右鍵" +msgstr "挖掘鍵" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3149,7 +3091,7 @@ msgstr "不允許空密碼" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "顯示密度縮放因子" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3174,11 +3116,11 @@ msgstr "轉儲 mapgen 的除錯資訊。" #: src/settings_translation_file.cpp msgid "Dungeon maximum Y" -msgstr "" +msgstr "地城最大 X" #: src/settings_translation_file.cpp msgid "Dungeon minimum Y" -msgstr "" +msgstr "地城最大 Y" #: src/settings_translation_file.cpp msgid "Dungeon noise" @@ -3189,6 +3131,8 @@ msgid "" "Enable IPv6 support (for both client and server).\n" "Required for IPv6 connections to work at all." msgstr "" +"啟用 IPv6 支援(針對客戶端和伺服器)。\n" +"IPv6 連線需要它才能運作。" #: src/settings_translation_file.cpp msgid "" @@ -3216,19 +3160,16 @@ msgid "Enable console window" msgstr "啟用終端機視窗" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable creative mode for all players" -msgstr "為新建立的地圖啟用創造模式。" +msgstr "為所有的玩家啟用創造模式" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable joysticks" msgstr "啟用搖桿" #: src/settings_translation_file.cpp -#, fuzzy msgid "Enable mod channels support." -msgstr "啟用 mod 安全性" +msgstr "啟用 mod 頻道支援。" #: src/settings_translation_file.cpp msgid "Enable mod security" @@ -3244,13 +3185,15 @@ msgstr "啟用隨機使用者輸入(僅供測試使用)。" #: src/settings_translation_file.cpp msgid "Enable register confirmation" -msgstr "" +msgstr "啟用註冊確認" #: src/settings_translation_file.cpp msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" +"連線到伺服器時啟用註冊確認。\n" +"如果停用,會自動註冊新的帳號。" #: src/settings_translation_file.cpp msgid "" @@ -3298,15 +3241,14 @@ msgstr "" "舉例來說:設為 0 就不會有視野晃動;1.0 是一般情況;2.0 為雙倍。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable/disable running an IPv6 server.\n" "Ignored if bind_address is set.\n" "Needs enable_ipv6 to be enabled." msgstr "" -"啟用/停用執行 IPv6 伺服器。IPv6 伺服器可能會限制只有\n" -"IPv6 用戶端才能連線,取決於系統設定。\n" -"當 bind_address 被設定時將會被忽略。" +"啟用/停用執行 IPv6 伺服器。\n" +"當 bind_address 被設定時將會被忽略。\n" +"需要啟用 enable_ipv6。" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From c416394ab2a1179285f9c9b9bb04e2eda31a9b81 Mon Sep 17 00:00:00 2001 From: Gert-dev Date: Tue, 28 Dec 2021 20:19:17 +0000 Subject: Translated using Weblate (Dutch) Currently translated at 100.0% (1415 of 1415 strings) --- po/nl/minetest.po | 351 +++++++++++++++++++++++++----------------------------- 1 file changed, 163 insertions(+), 188 deletions(-) diff --git a/po/nl/minetest.po b/po/nl/minetest.po index 1bad56b64..9363448dd 100644 --- a/po/nl/minetest.po +++ b/po/nl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Dutch (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-10-14 07:35+0000\n" -"Last-Translator: Molly \n" +"PO-Revision-Date: 2021-12-29 20:51+0000\n" +"Last-Translator: Gert-dev \n" "Language-Team: Dutch \n" "Language: nl\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -83,16 +83,15 @@ msgstr "" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "[all | ]" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" msgstr "Oke" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Instructie niet beschikbaar: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -299,9 +298,8 @@ msgid "Install missing dependencies" msgstr "Installeer ontbrekende afhankelijkheden" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Installeren: niet ondersteund bestandstype \"$1\" of defect archief" +msgstr "Installeren: Niet ondersteund bestandstype of defect archief" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -635,7 +633,6 @@ msgid "Offset" msgstr "afstand" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Persistentie" @@ -772,9 +769,8 @@ msgid "Loading..." msgstr "Laden..." #: builtin/mainmenu/serverlistmgr.lua -#, fuzzy msgid "Public server list is disabled" -msgstr "Client-side scripting is uitgeschakeld" +msgstr "Publieke serverlijst is uitgeschakeld" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." @@ -791,9 +787,8 @@ msgid "Active Contributors" msgstr "Andere actieve ontwikkelaars" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Bereik waarbinnen actieve objecten gestuurd worden" +msgstr "Actieve renderer:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -953,7 +948,6 @@ msgid "Del. Favorite" msgstr "Verwijder Favoriete" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" msgstr "Favorieten" @@ -1011,7 +1005,7 @@ msgstr "Schermafmetingen automatisch bewaren" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" -msgstr "Bilineaire Filtering" +msgstr "Bilineair filteren" #: builtin/mainmenu/tab_settings.lua src/client/game.cpp msgid "Change Keys" @@ -1127,7 +1121,7 @@ msgstr "Toetsgrenswaarde: (px)" #: builtin/mainmenu/tab_settings.lua msgid "Trilinear Filter" -msgstr "Tri-Lineare Filtering" +msgstr "Trilineair filteren" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" @@ -1178,9 +1172,8 @@ msgid "Connection error (timed out?)" msgstr "Fout bij verbinden (time out?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Kan het spel niet laden of niet vinden \"" +msgstr "Kan het spel niet vinden of laden: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1252,14 +1245,13 @@ msgid "- Server Name: " msgstr "- Server Naam: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Er is een fout opgetreden:" +msgstr "Er is een serialisatie-fout opgetreden:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Toegang geweigerd. Reden: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1270,21 +1262,20 @@ msgid "Automatic forward enabled" msgstr "Automatisch vooruit ingeschakeld" #: src/client/game.cpp -#, fuzzy msgid "Block bounds hidden" -msgstr "Blok grenzen" +msgstr "Blokgrenzen verborgen" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Blokgrenzen getoond voor alle blokken" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Blokgrenzen getoond voor huidige blok" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Blokgrenzen getoond voor nabije blokken" #: src/client/game.cpp msgid "Camera update disabled" @@ -1296,7 +1287,7 @@ msgstr "Camera-update ingeschakeld" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Kan blokgrenzen niet tonen (privilege 'basic_debug' is nodig)" #: src/client/game.cpp msgid "Change Password" @@ -1311,9 +1302,8 @@ msgid "Cinematic mode enabled" msgstr "Filmische modus ingeschakeld" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Cliënt personalisatie (modding)" +msgstr "Gebruiker heeft verbinding verbroken" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1325,7 +1315,7 @@ msgstr "Verbinding met de server wordt gemaakt..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Verbinding mislukt om onbekende reden" #: src/client/game.cpp msgid "Continue" @@ -1367,7 +1357,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Adres kon niet opgezocht worden: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1576,17 +1566,17 @@ msgstr "Geluid niet gedempt" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "De server gebruikt waarschijnlijk een andere versie van %s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Kon niet verbinden met %s omdat IPv6 uitgeschakeld werd" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Kon niet luisteren naar %s omdat IPv6 uitgeschakeld werd" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1923,13 +1913,12 @@ msgid "Minimap in texture mode" msgstr "Minimap textuur modus" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Installeren van mod $1 is mislukt" +msgstr "Openen van webpagina mislukt" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Website openen" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2135,9 +2124,9 @@ msgid "Muted" msgstr "Gedempt" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Geluidsvolume: " +msgstr "Geluidsvolume: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2162,14 +2151,13 @@ msgstr "" "van de eerste aanraking." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Gebruik virtuele joystick om de \"aux\" -knop te activeren. \n" -"Indien ingeschakeld, zal de virtuele joystick ook op de \"aux\" -knop tikken " +"(Android) Gebruik virtuele joystick om de \"aux\"-knop te activeren.\n" +"Indien ingeschakeld, zal de virtuele joystick ook op de \"aux\"-knop tikken " "wanneer deze buiten de hoofdcirkel is." #: src/settings_translation_file.cpp @@ -2401,6 +2389,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Pas de gedetecteerde weergavedichtheid aan, gebruikt om elementen uit de " +"gebruikersinterface te schalen." #: src/settings_translation_file.cpp #, c-format @@ -2455,7 +2445,7 @@ msgstr "Versterkt de valleien." #: src/settings_translation_file.cpp msgid "Anisotropic filtering" -msgstr "Anisotropische filtering" +msgstr "Anisotropisch filteren" #: src/settings_translation_file.cpp msgid "Announce server" @@ -2541,14 +2531,12 @@ msgid "Autoscaling mode" msgstr "Automatische schaalmodus" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Springen toets" +msgstr "Aux1-toets" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Gebruik de 'speciaal'-toets voor klimmen en dalen" +msgstr "Aux1-toets voor klimmen/afdalen" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2580,7 +2568,7 @@ msgstr "Strand geluid grenswaarde" #: src/settings_translation_file.cpp msgid "Bilinear filtering" -msgstr "Bi-Lineaire filtering" +msgstr "Bilineair filteren" #: src/settings_translation_file.cpp msgid "Bind address" @@ -2700,14 +2688,12 @@ msgstr "" "Waar 0,0 het minimale lichtniveau is, is 1,0 het maximale lichtniveau." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Drempel voor kick van chatbericht" +msgstr "Tijdsdrempel voor berichten chatcommando's" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" -msgstr "Chat-commando's" +msgstr "Chatcommando's" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2742,9 +2728,8 @@ msgid "Chat toggle key" msgstr "Toets voor tonen/verbergen chat" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Chat weergegeven" +msgstr "Weblinks chat" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2767,6 +2752,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Aanklikbare weblinks (middelklik of ctrl+linkermuisklik) ingeschakedl in " +"console-uitvoer chat." #: src/settings_translation_file.cpp msgid "Client" @@ -2859,34 +2846,28 @@ msgid "Command key" msgstr "Commando-toets" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Zlib compressie niveau om mapblokken op de harde schijf te bewaren.\n" -"-1: Zlib's standaard compressie niveau\n" -"0: geen compressie, snelst\n" -"9: maximale compressie, traagst\n" -"(niveau's 1 tot 3 gebruiken Zlib's snelle methode, 4 tot 9 gebruiken de " -"normale methode)" +"Compressieniveau bij bewaren mapblokken op harde schijf.\n" +"-1 - standaardcompressieniveau\n" +"0 - minste compressie, snelst\n" +"9 - meeste compressie, traagst" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Zlib compressie niveau om mapblokken te versturen naar de client.\n" -"-1: Zlib's standaard compressie niveau\n" -"0: geen compressie, snelst\n" -"9: maximale compressie, traagst\n" -"(niveau's 1 tot 3 gebruiken Zlib's snelle methode, 4 tot 9 gebruiken de " -"normale methode)" +"Compressieniveau bij versturen mapblokken naar cliënt.\n" +"-1 - standaardcompressieniveau\n" +"0 - minste compressie, snelst\n" +"9 - meeste compressie, traagst" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2990,13 +2971,12 @@ msgid "Crosshair alpha" msgstr "Draadkruis-alphawaarde" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" -"Draadkruis-alphawaarde (ondoorzichtigheid; tussen 0 en 255).\n" -"Controleert ook het object draadkruis kleur" +"Alfawaarde crosshair (ondoorzichtigheid, tussen 0 en 255).\n" +"Ook van toepassing op de crosshair voor objecten." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3075,16 +3055,14 @@ msgid "Default stack size" msgstr "Standaard voorwerpenstapel grootte" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" -"Defineer schaduw filtering kwaliteit\n" -"Dit simuleert de zachte schaduw effect door een PCF of poisson schijf te " -"toepassen\n" -"maar gebruikt meer middelen." +"Definieer kwaliteit schaduwfiltering\n" +"Dit simuleert zachte schaduwen d.m.v. een PCF of Poisson-schijf\n" +"maar is ook gebruiksintensiever." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3212,7 +3190,7 @@ msgstr "Lege wachtwoorden niet toestaan" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Weergavedichtheid-schaalfactor" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3244,7 +3222,7 @@ msgstr "Dungeon minimaal Y" #: src/settings_translation_file.cpp msgid "Dungeon noise" -msgstr "Kerker ruis" +msgstr "Lawaai in kerkers" #: src/settings_translation_file.cpp msgid "" @@ -3268,12 +3246,18 @@ msgid "" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Filteren d.m.v. Poisson-schijf inschakelen.\n" +"Indien ingeschakeld, wordt een Poisson-schijf gebruikt om zachte schaduwen " +"te genereren. In het andere geval wordt PCF-filteren toegepast." #: src/settings_translation_file.cpp msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Gekleurde schaduwen inschakelen.\n" +"Indien ingeschakeld werpen doorzichtige nodes gekleurde schaduwen af. Dit is " +"arbeidsintensief." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3477,13 +3461,12 @@ msgid "Fast movement" msgstr "Snelle modus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Snelle beweging (via de \"speciaal\" toets). \n" -"Dit vereist het \"snel bewegen\" recht op de server." +"Snelle beweging (via de \"Aux1\"-toets).\n" +"Dit vereist het recht \"snel bewegen\" op de server." #: src/settings_translation_file.cpp msgid "Field of view" @@ -3516,18 +3499,18 @@ msgid "Filmic tone mapping" msgstr "Filmisch tone-mapping" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" "light edges to transparent textures. Apply a filter to clean that up\n" "at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" -"Gefilterde texturen kunnen RGB-waarden vermengen met transparante buren,\n" -"die door PNG-optimalisators vaak verwijderd worden. Dit kan donkere of " -"lichte\n" -"randen bij transparante texturen tot gevolg hebben.\n" -"Gebruik dit filter om dat tijdens het laden van texturen te herstellen." +"Gefilterde texturen kunnen RGB-waarden mengen met die van volledig\n" +"transparante buren, die door PNG-optimalisatoren vaak verwijderd worden,\n" +"wat vaak voor donkere of lichtere randen bij transparante texturen zorgt.\n" +"Gebruik een filter om dat tijdens het laden van texturen te herstellen. Dit " +"wordt\n" +"automatisch ingeschakeld als mipmapping aan staat." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3760,20 +3743,16 @@ msgid "Global callbacks" msgstr "Algemene callbacks" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" -"Algemene wereldgenerator instellingen.\n" -"De vlag 'decorations' bepaalt de aanwezigheid van alle decoraties, behalve\n" -"bij generator v6,\n" -"waar de aanwezigheid van bomen en oerwoud-gras er niet\n" -"door beïnvloed wordt.\n" -"Vlaggen die niet in de lijst van vlaggen staan, behouden hun standaard-" -"waarde.\n" -"Zet \"no\" voor een vlag om hem expliciet uit te zetten." +"Algemene wereldgeneratorinstellingen.\n" +"In Mapgen v6 beïnvloedt de vlag \"decorations\" alle decoraties behalve " +"bomen.\n" +"en junglegras. In alle andere generatoren beïnvloedt deze vlag alle " +"decoraties." #: src/settings_translation_file.cpp msgid "" @@ -3856,10 +3835,11 @@ msgid "Heat noise" msgstr "Hitte geluid" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Aanvangshoogte van het venster." +msgstr "" +"Hoogtecomponent van de initiële grootte van het venster. Wordt genegeerd in " +"fullscreen-modus." #: src/settings_translation_file.cpp msgid "Height noise" @@ -4113,14 +4093,12 @@ msgstr "" "kracht verspild wordt zonder dat het toegevoegde waarde heeft." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Indien uitgeschakeld, dan wordt met de \"speciaal\" toets snel gevlogen " -"wanneer\n" -"de \"vliegen\" en de \"snel\" modus aanstaan." +"Indien uitgeschakeld wordt de \"Aux1\"-toets gebruikt om snel te vliegen\n" +"als modi \"vliegen\" en \"snel\" beide aan staan." #: src/settings_translation_file.cpp msgid "" @@ -4148,14 +4126,14 @@ msgstr "" "Dit vereist het \"noclip\" voorrecht op de server." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Indien aangeschakeld, dan wordt de \"speciaal\" toets gebruikt voor\n" -"omlaagklimmen en dalen i.p.v. de \"sluipen\" toets." +"Indien ingeschakeld wordt de \"Aux1\"-toets gebruikt i.p.v. de \"Sneak\"-" +"toets om\n" +"omlaag te klimmen en af te dalen." #: src/settings_translation_file.cpp msgid "" @@ -4217,6 +4195,8 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Als het uitvoeren van een chatcommando langer duurt dan de opgegeven tijd\n" +"in seconden, voeg dan tijdsinformatie toe aan het bijhorende bericht" #: src/settings_translation_file.cpp msgid "" @@ -4277,9 +4257,8 @@ msgstr "" "het core/builtin-gedeelte van de server" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." -msgstr "Profileer chat-commando's bij het registreren." +msgstr "Profileer chatcommando's bij het registreren." #: src/settings_translation_file.cpp msgid "" @@ -4372,9 +4351,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick-knop herhalingsinterval" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" -msgstr "Joystick dode zone" +msgstr "Dode zone Joystick" #: src/settings_translation_file.cpp msgid "Joystick frustum sensitivity" @@ -5491,9 +5469,8 @@ msgid "Map save interval" msgstr "Interval voor opslaan wereld" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Vloeistof verspreidingssnelheid" +msgstr "Aantal frames voor bijwerken schaduwmap" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5609,7 +5586,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Maximumafstand bij renderen schaduwen." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5744,12 +5721,11 @@ msgstr "" "'0' om de wachtrij uit te schakelen en '-1' om de wachtrij oneindig te maken." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Maximale duur voor een download van een bestand (bijv. een mod). In " +"Maximale duur voor het downloaden van een bestand (bv. een mod), in " "milliseconden." #: src/settings_translation_file.cpp @@ -5757,6 +5733,8 @@ msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Maximale duur voor het afhandelen van een interactieve aanvraag (bv. ophalen " +"serverlijst), in milliseconden." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5822,9 +5800,8 @@ msgid "Mod channels" msgstr "Mod-kanalen" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "Veranderd de grootte van de HUDbar elementen." +msgstr "Verandert de grootte van de HUD-elementen." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -5988,18 +5965,14 @@ msgstr "" "'on_generated'. Voor veel gebruikers kan de optimale instelling '1' zijn." #: src/settings_translation_file.cpp -#, fuzzy 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 "" -"Aantal extra blokken (van 16x16x16 nodes) dat door het commando '/" -"clearobjects'\n" -"tegelijk geladen mag worden.\n" -"Dit aantal is een compromis tussen snelheid enerzijds (vanwege de overhead " -"van een sqlite\n" -"transactie), en geheugengebruik anderzijds (4096 = ca. 100MB)." +"Aantal extra blokken dat '/clearobjects' tegelijk mag laden.\n" +"Dit is een compromis tussen overhead van SQLite-transacties en\n" +"geheugengebruik (als vuistregel is 4096 gelijk aan 100 MB)." #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -6027,7 +6000,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Optionele overschrijving van de kleur van weblinks in chat." #: src/settings_translation_file.cpp msgid "" @@ -6150,9 +6123,8 @@ msgid "Player versus player" msgstr "Speler tegen speler" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Bi-Lineaire filtering" +msgstr "Poisson-filteren" #: src/settings_translation_file.cpp msgid "" @@ -6205,7 +6177,6 @@ msgid "Prometheus listener address" msgstr "Adres om te luisteren naar Prometheus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6213,9 +6184,9 @@ msgid "" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" "Adres om te luisteren naar Prometheus.\n" -"Als Minetest is gecompileerd met de optie ENABLE_PROMETHEUS,\n" -"zal dit adres gebruikt worden om naar Prometheus te luisteren.\n" -"Meetwaarden zullen kunnen bekeken worden op http://127.0.0.1:30000/metrics" +"Indien Minetest gecompileerd werd met de optie ENABLE_PROMETHEUS,\n" +"dan zal dit adres gebruikt worden om naar Prometheus te luisteren.\n" +"Meetwaarden kunnen opgehaald worden op http://127.0.0.1:30000/metrics" #: src/settings_translation_file.cpp msgid "Proportion of large caves that contain liquid." @@ -6553,6 +6524,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Schaduwsterkte instellen.\n" +"Een lagere waarde betekent lichtere schaduwen, een hogere waarde donkerdere " +"schaduwen." #: src/settings_translation_file.cpp msgid "" @@ -6560,6 +6534,9 @@ msgid "" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" +"Radiusgrootte zachte schaduwen instellen.\n" +"Lagere waarden betekenen scherpere schaduwen, hogere waarden zachtere.\n" +"Minimumwaarde: 1.0; maximumwaarde: 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6567,15 +6544,17 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" +"Tilt van baan zon/maan in graden instellen:\n" +"Een waarde van 0 betekent geen tilt / verticale baan.\n" +"Minimumwaarde: 0.0; maximumwaarde: 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Bewegende bladeren staan aan indien 'true'.\n" -"Dit vereist dat 'shaders' ook aanstaan." +"Schakel in om schaduwmapping in te schakelen.\n" +"Dit vereist dat 'shaders' ook aan staan." #: src/settings_translation_file.cpp msgid "" @@ -6607,6 +6586,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Schaduwtextuurkwaliteit op 32-bits zetten.\n" +"Indien uitgeschakeld worden 16-bits texturen gebruikt,\n" +"wat voor meer ruis in schaduwen kan zorgen." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6624,22 +6606,20 @@ msgstr "" "Alleen mogelijk met OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Screenshot kwaliteit" +msgstr "Kwaliteit schaduwfilter" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Maximumafstand in nodes om schaduwen schaduwmap op te renderen" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "32-bits-schaduwmaptexturen" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Minimale textuur-grootte" +msgstr "Textuurgrootte schaduwmap" #: src/settings_translation_file.cpp msgid "" @@ -6651,7 +6631,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Schaduwsterkte" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6674,9 +6654,8 @@ msgstr "" "Een herstart is noodzakelijk om de wijziging te activeren." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "Standaard vetgedrukt" +msgstr "Standaard achtergronden naam-tags tonen" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6712,7 +6691,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Tilt baan hemellichaam" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6773,9 +6752,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Sluipsnelheid, in blokken per seconde." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Fontschaduw alphawaarde" +msgstr "Radius zachte schaduwen" #: src/settings_translation_file.cpp msgid "Sound" @@ -6811,6 +6789,11 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Verspeid een volledige update van de schaduwmap over het opgegeven aantal " +"frames.\n" +"Hogere waarden kunnen schaduwen \"laggy\" maken, lagere\n" +"waarden kosten meer moeite.\n" +"Minimumwaarde: 1; maximumwaarde: 16" #: src/settings_translation_file.cpp msgid "" @@ -6952,6 +6935,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" +"Grootte textuur om de schaduwmap op te renderen.\n" +"Dit moet een macht van twee zijn.\n" +"Grotere numbers zorgen voor betere schaduwen maar kosten ook meer moeite." #: src/settings_translation_file.cpp msgid "" @@ -6978,9 +6964,8 @@ msgid "The URL for the content repository" msgstr "De URL voor de inhoudsrepository" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" -msgstr "De dode zone van de stuurknuppel die u gebruikt" +msgstr "De dode zone van de joystick" #: src/settings_translation_file.cpp msgid "" @@ -7056,7 +7041,6 @@ msgstr "" "Dit moet samen met active_object_send_range_blocks worden geconfigureerd." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -7065,22 +7049,21 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"De rendering back-end voor Irrlicht. \n" -"Na het wijzigen hiervan is een herstart vereist. \n" -"Opmerking: op Android, blijf bij OGLES1 als je het niet zeker weet! Anders " -"start de app mogelijk niet. \n" +"Back-end om mee te renderen.\n" +"Een herstart is vereist om dit definitief te wijzigen.\n" +"Opmerking: Op Android, blijf bij OGLES1 als je het niet zeker weet! Anders " +"start de app mogelijk niet.\n" "Op andere platformen wordt OpenGL aanbevolen.\n" -"OpenGL (alleen op desktop pc) en OGLES2 (experimenteel), zijn de enige " -"drivers met shader-ondersteuning momenteel" +"Zowel OpenGL (alleen op desktop) als OGLES2 (experimenteel) ondersteunen " +"shaders" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." msgstr "" -"De gevoeligheid van de assen van de joystick voor het bewegen van de " -"frustrum in het spel." +"De gevoeligheid van de assen van de joystick bij\n" +"het bewegen van de camera-frustum in het spel." #: src/settings_translation_file.cpp msgid "" @@ -7209,7 +7192,7 @@ msgstr "Bomen ruis" #: src/settings_translation_file.cpp msgid "Trilinear filtering" -msgstr "Tri-Lineare Filtering" +msgstr "Trilineair filteren" #: src/settings_translation_file.cpp msgid "" @@ -7274,22 +7257,20 @@ msgstr "Toon wolken in de achtergrond van het hoofdmenu." #: src/settings_translation_file.cpp msgid "Use anisotropic filtering when viewing at textures from an angle." -msgstr "Gebruik anisotropische filtering voor texturen getoond onder een hoek." +msgstr "Gebruik anisotropisch filteren voor texturen getoond onder een hoek." #: src/settings_translation_file.cpp msgid "Use bilinear filtering when scaling textures." -msgstr "Gebruik bi-lineaire filtering bij het schalen van texturen." +msgstr "Gebruik bilineair filteren bij het schalen van texturen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Use mipmapping to scale textures. May slightly increase performance,\n" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" -"Gebruik mip-mapping om texturen te schalen. Kan de prestaties enigszins " -"verbeteren, \n" -"vooral bij gebruik van een textuurpakket met hoge resolutie. \n" +"Mipmapping gebruiken om texturen te schalen. Kan performantie lichtjes\n" +"verbeteren, vooral in combinatie met textuurpakketten van hoge resolutie.\n" "Gamma-correcte verkleining wordt niet ondersteund." #: src/settings_translation_file.cpp @@ -7313,7 +7294,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Use trilinear filtering when scaling textures." -msgstr "Gebruik tri-lineaire filtering om texturen te schalen." +msgstr "Gebruik trilineair filteren om texturen te schalen." #: src/settings_translation_file.cpp msgid "VBO" @@ -7412,9 +7393,8 @@ msgid "Viewing range" msgstr "Zichtafstand" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Virtuele joystick activeert aux-knop" +msgstr "Virtuele joystick activeert Aux1-toets" #: src/settings_translation_file.cpp msgid "Volume" @@ -7491,9 +7471,8 @@ msgid "Waving plants" msgstr "Bewegende planten" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Kleur van selectie-randen" +msgstr "Kleur weblinks" #: src/settings_translation_file.cpp msgid "" @@ -7520,7 +7499,6 @@ msgstr "" "terug naar het werkgeheugen." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" "can be blurred, so automatically upscale them with nearest-neighbor\n" @@ -7531,20 +7509,15 @@ msgid "" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." msgstr "" -"Als bi-lineaire, tri-lineaire of anisotropische filters gebruikt worden, " -"dan\n" -"kunnen lage-resolutie texturen vaag worden. Verhoog hun resolutie dmv\n" -"naaste-buur-interpolatie zodat de scherpte behouden blijft. Deze optie\n" -"bepaalt de minimale textuurgroote na het verhogen van de resolutie. Hogere\n" -"waarden geven een scherper beeld, maar kosten meer geheugen. Het is " -"aanbevolen\n" -"machten van 2 te gebruiken. Een waarde groter dan 1 heeft wellicht geen " -"zichtbaar\n" -"effect indien bi-lineaire, tri-lineaire of anisotropische filtering niet aan " -"staan.\n" -"Dit wordt ook gebruikt als basis node textuurgrootte voor wereld-" -"gealigneerde\n" -"automatische textuurschaling." +"Bij gebruik bilineair/trilineair/anisotropisch filteren kunnen texturen van\n" +"lage resolutie vaag worden; verhoog daardoor hun resolutie d.m.v.\n" +"\"naaste-buur-interpolatie\" om ze scherper te houden. Deze optie bepaalt\n" +"de minimale textuurgrootte na het omhoog schalen; hogere waarden geven\n" +"scherper beeld, maar kosten meer geheugen. Het is aanbevolen machten van\n" +"2 te gebruiken. Deze optie heeft enkel effect als bilineair, trilineair of\n" +"anisotropisch filteren aan staan.\n" +"Deze optie geldt ook als textuurgrootte van basisnodes voor\n" +"automatisch en met de wereld gealigneerd omhoog schalen van texturen." #: src/settings_translation_file.cpp msgid "" @@ -7562,6 +7535,8 @@ msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" +"Of achtergronden van naam-tags standaard getoond moeten worden.\n" +"Mods kunnen alsnog een achtergrond instellen." #: src/settings_translation_file.cpp msgid "Whether node texture animations should be desynchronized per mapblock." @@ -7614,9 +7589,10 @@ msgstr "" "toets)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Aanvangsbreedte van het venster." +msgstr "" +"Breedtecomponent van de initiële grootte van het venster. Wordt genegeerd in " +"fullscreen-modus." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7729,9 +7705,8 @@ msgid "cURL file download timeout" msgstr "timeout voor cURL download" #: src/settings_translation_file.cpp -#, fuzzy msgid "cURL interactive timeout" -msgstr "cURL time-out" +msgstr "cURL interactieve time-out" #: src/settings_translation_file.cpp msgid "cURL parallel limit" -- cgit v1.2.3 From bb2d79f9307b8dd62f306c83b40b01845f5c4dc5 Mon Sep 17 00:00:00 2001 From: Mateusz Mendel Date: Wed, 29 Dec 2021 20:45:21 +0000 Subject: Translated using Weblate (Polish) Currently translated at 69.6% (985 of 1415 strings) --- po/pl/minetest.po | 266 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 224 insertions(+), 42 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 86a606fd2..8c8d2153c 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-08-25 16:34+0000\n" -"Last-Translator: A M \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: Mateusz Mendel \n" "Language-Team: Polish \n" "Language: pl\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.8.1-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1294,7 +1294,7 @@ msgstr "Wystąpił błąd:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Odmowa dostępu. Powód: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1310,16 +1310,19 @@ msgid "Block bounds hidden" msgstr "Granice bloków" #: src/client/game.cpp +#, fuzzy msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Granice bloku pokazane dla wszystkich bloków" #: src/client/game.cpp +#, fuzzy msgid "Block bounds shown for current block" -msgstr "" +msgstr "Granice bloku wyświetlane dla bieżącego bloku" #: src/client/game.cpp +#, fuzzy msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Granice bloków pokazane dla pobliskich bloków" #: src/client/game.cpp msgid "Camera update disabled" @@ -1330,8 +1333,9 @@ msgid "Camera update enabled" msgstr "Aktualizowanie kamery włączone" #: src/client/game.cpp +#, fuzzy msgid "Can't show block bounds (need 'basic_debug' privilege)" -msgstr "" +msgstr "Can't show block bounds (need 'basic_debug' privilege)" #: src/client/game.cpp msgid "Change Password" @@ -1359,8 +1363,9 @@ msgid "Connecting to server..." msgstr "Łączenie z serwerem..." #: src/client/game.cpp +#, fuzzy msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Połączenie nie powiodło się z nieznanego powodu" #: src/client/game.cpp msgid "Continue" @@ -1398,9 +1403,9 @@ msgstr "" "- %s: czatuj↵\n" #: src/client/game.cpp -#, c-format +#, c-format, fuzzy msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Nie można rozwiązać adresu: %s." #: src/client/game.cpp msgid "Creating client..." @@ -1610,19 +1615,19 @@ msgid "Sound unmuted" msgstr "Głośność włączona ponownie" #: src/client/game.cpp -#, c-format +#, c-format, fuzzy msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Serwer prawdopodobnie pracuje na innej wersji %s." #: src/client/game.cpp -#, c-format +#, c-format, fuzzy msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Nie można połączyć się z %s, ponieważ IPv6 jest wyłączony" #: src/client/game.cpp -#, c-format +#, c-format, fuzzy msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Nie można nasłuchiwać na %s, ponieważ IPv6 jest wyłączony" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1965,8 +1970,9 @@ msgid "Failed to open webpage" msgstr "Pobieranie $1 do $2 nie powiodło się :(" #: src/gui/guiChatConsole.cpp +#, fuzzy msgid "Opening webpage" -msgstr "" +msgstr "Strona początkowa" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2439,8 +2445,10 @@ msgstr "" "ekranów 4k." #: src/settings_translation_file.cpp +#, fuzzy msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Dostosuj wykrytą gęstość wyświetlania, używaną do skalowania elementów UI." #: src/settings_translation_file.cpp #, fuzzy, c-format @@ -2809,10 +2817,13 @@ msgid "Clean transparent textures" msgstr "Czyste przeźroczyste tekstury" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Klikalne łącza internetowe (środkowe kliknięcie lub Ctrl+ kliknięcie lewym " +"przyciskiem myszy) włączone w wyjściach konsoli czatu." #: src/settings_translation_file.cpp msgid "Client" @@ -2905,20 +2916,30 @@ msgid "Command key" msgstr "Klawisz komend" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Compression level to use when saving mapblocks to disk.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"Poziom kompresji jaki ma być stosowany przy zapisie bloków map na dysk.\n" +"-1 - użyj domyślnego poziomu kompresji\n" +"0 - najmniejsza kompresja, najszybsza\n" +"9 - najlepsza kompresja, najwolniejsza" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"Poziom kompresji jaki ma być użyty podczas wysyłania mapbloków do klienta.\n" +"-1 - użyj domyślnego poziomu kompresji\n" +"0 - najmniejsza kompresja, najszybsza\n" +"9 - najlepsza kompresja, najwolniejsza" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -3252,8 +3273,9 @@ msgid "Disallow empty passwords" msgstr "Nie zezwalaj na puste hasła" #: src/settings_translation_file.cpp +#, fuzzy msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Wyświetl współczynnik skalowania gęstości" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3431,12 +3453,20 @@ msgstr "" "Wymaga włączenia enable_ipv6." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Enables Hable's 'Uncharted 2' filmic tone mapping.\n" "Simulates the tone curve of photographic film and how this approximates the\n" "appearance of high dynamic range images. Mid-range contrast is slightly\n" "enhanced, highlights and shadows are gradually compressed." msgstr "" +"Umożliwia Hable's 'Uncharted 2' filmowe mapowanie tonów.\n" +"Symuluje krzywą tonalną kliszy fotograficznej i sposób, w jaki przybliża " +"ona\n" +"wygląd obrazów o wysokim zakresie dynamiki. Kontrast w średnim zakresie jest " +"lekko wzmocniony\n" +"Wzmocnienie kontrastu w średnich zakresach, stopniowa kompresja świateł i " +"cieni." #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." @@ -3473,6 +3503,7 @@ msgid "Entity methods" msgstr "Metody bytów" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Exponent of the floatland tapering. Alters the tapering behaviour.\n" "Value = 1.0 creates a uniform, linear tapering.\n" @@ -3481,6 +3512,13 @@ msgid "" "Values < 1.0 (for example 0.25) create a more defined surface level with\n" "flatter lowlands, suitable for a solid floatland layer." msgstr "" +"Wykładnik zwężenia pływającej wyspy. Zmienia zachowanie zwężenia.\n" +"Wartość = 1.0 tworzy jednolite, liniowe zwężenie.\n" +"Wartości > 1.0 tworzą gładkie zwężenie odpowiednie dla domyślnie " +"odseparowanych\n" +"floatlands.\n" +"Wartości < 1.0 (np. 0.25) tworzą bardziej zdefiniowany poziom powierzchni z\n" +"płaskimi nizinami, odpowiednimi dla jednolitej warstwy pływających wysp." #: src/settings_translation_file.cpp #, fuzzy @@ -3626,8 +3664,9 @@ msgid "Floatland tapering distance" msgstr "Odległość zwężania latających wysp" #: src/settings_translation_file.cpp +#, fuzzy msgid "Floatland water level" -msgstr "" +msgstr "Poziom wody pływającej wyspy" #: src/settings_translation_file.cpp msgid "Fly key" @@ -3650,12 +3689,14 @@ msgid "Fog toggle key" msgstr "Klawisz przełączania mgły" #: src/settings_translation_file.cpp +#, fuzzy msgid "Font bold by default" -msgstr "" +msgstr "Domyślnie pogrubiona czcionka" #: src/settings_translation_file.cpp +#, fuzzy msgid "Font italic by default" -msgstr "" +msgstr "Domyślnie kursywa czcionki" #: src/settings_translation_file.cpp msgid "Font shadow" @@ -3670,18 +3711,23 @@ msgid "Font size" msgstr "Rozmiar czcionki" #: src/settings_translation_file.cpp +#, fuzzy msgid "Font size of the default font in point (pt)." -msgstr "" +msgstr "Rozmiar domyślnej czcionki w punktach (pt)." #: src/settings_translation_file.cpp +#, fuzzy msgid "Font size of the monospace font in point (pt)." -msgstr "" +msgstr "Rozmiar czcionki monospace w punktach (pt)." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Font size of the recent chat text and chat prompt in point (pt).\n" "Value 0 will use the default font size." msgstr "" +"Rozmiar czcionki tekstu ostatniej rozmowy i monitu rozmowy w punktach (pt).\n" +"Wartość 0 spowoduje użycie domyślnego rozmiaru czcionki." #: src/settings_translation_file.cpp #, fuzzy @@ -3772,6 +3818,7 @@ msgstr "" "(16 węzłów)." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "From how far clients know about objects, stated in mapblocks (16 nodes).\n" "\n" @@ -3779,6 +3826,14 @@ msgid "" "to maintain active objects up to this distance in the direction the\n" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" +"Maksymalna odległość z której klienci wiedzą o obiektach, podawanych w " +"blokach map (16 węzłów).\n" +"\n" +"Ustawienie wartości większej niż active_block_range spowoduje również, że " +"serwer\n" +"będzie utrzymywał aktywne obiekty do tej odległości w kierunku w którym " +"patrzy gracz. (Dzięki temu można uniknąć nagłego zniknięcia mobów z pola " +"widzenia)" #: src/settings_translation_file.cpp msgid "Full screen" @@ -4149,11 +4204,15 @@ msgid "How deep to make rivers." msgstr "Jak głębokie tworzyć rzeki." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "How fast liquid waves will move. Higher = faster.\n" "If negative, liquid waves will move backwards.\n" "Requires waving liquids to be enabled." msgstr "" +"Jak szybko fale cieczy będą się poruszać. Wyższa = szybciej.\n" +"Wartość ujemna, fale cieczy będą poruszać się do tyłu.\n" +"Wymaga włączenia falowania cieczy." #: src/settings_translation_file.cpp msgid "" @@ -4286,25 +4345,40 @@ msgstr "" "Pomocne gdy pracujesz na małych powierzchniach." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "If the CSM restriction for node range is enabled, get_node calls are " "limited\n" "to this distance from the player to the node." msgstr "" +"Jeśli ograniczenie CSM dla zasięgu węzła jest włączone, wywołania get_node " +"są ograniczone\n" +"do tej odległości od gracza do węzła." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Jeśli wykonanie polecenia czatu trwa dłużej niż określony czas w sekundach, " +"dodaj informację o czasie do komunikatu polecenia czatu w\n" +"sekundach" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "If the file size of debug.txt exceeds the number of megabytes specified in\n" "this setting when it is opened, the file is moved to debug.txt.1,\n" "deleting an older debug.txt.1 if it exists.\n" "debug.txt is only moved if this setting is positive." msgstr "" +"Jeśli rozmiar pliku debug.txt przekroczy liczbę megabajtów określoną w tym " +"ustawieniu, plik zostanie przeniesiony do pliku debug.txt.1.\n" +"w tym ustawieniu, plik jest przenoszony do debug.txt.1,\n" +"usuwając starszy debug.txt.1, jeśli taki istnieje.\n" +"debug.txt jest przenoszony tylko wtedy, gdy wartość tego ustawienia jest " +"dodatnia." #: src/settings_translation_file.cpp msgid "If this is set, players will always (re)spawn at the given position." @@ -4427,12 +4501,17 @@ msgid "Iterations" msgstr "Iteracje" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Iterations of the recursive function.\n" "Increasing this increases the amount of fine detail, but also\n" "increases processing load.\n" "At iterations = 20 this mapgen has a similar load to mapgen V7." msgstr "" +"Iteracje funkcji rekursywnej.\n" +"Zwiększenie tej wartości zwiększa ilość drobnych szczegółów, ale również\n" +"zwiększa obciążenie przetwarzania.\n" +"Przy iteracjach = 20 ten mapgen ma podobne obciążenie jak mapgen V7." #: src/settings_translation_file.cpp msgid "Joystick ID" @@ -5313,16 +5392,19 @@ msgid "Large cave depth" msgstr "Głębia dużej jaskini" #: src/settings_translation_file.cpp +#, fuzzy msgid "Large cave maximum number" -msgstr "" +msgstr "Maksymalna liczba dużych jaskiń" #: src/settings_translation_file.cpp +#, fuzzy msgid "Large cave minimum number" -msgstr "" +msgstr "Minimalna liczba dużych jaskiń" #: src/settings_translation_file.cpp +#, fuzzy msgid "Large cave proportion flooded" -msgstr "" +msgstr "Duża część jaskini zalana" #: src/settings_translation_file.cpp msgid "Large chat console key" @@ -5526,12 +5608,14 @@ msgid "Makes all liquids opaque" msgstr "Zmienia ciecze w nieprzeźroczyste" #: src/settings_translation_file.cpp +#, fuzzy msgid "Map Compression Level for Disk Storage" -msgstr "" +msgstr "Poziom kompresji mapy dla pamięci masowej dysku" #: src/settings_translation_file.cpp +#, fuzzy msgid "Map Compression Level for Network Transfer" -msgstr "" +msgstr "Poziom kompresji map dla transferu sieciowego" #: src/settings_translation_file.cpp msgid "Map directory" @@ -5562,6 +5646,7 @@ msgstr "" "oceanu, wysp oraz podziemi." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Map generation attributes specific to Mapgen Valleys.\n" "'altitude_chill': Reduces heat with altitude.\n" @@ -5570,6 +5655,13 @@ msgid "" "to become shallower and occasionally dry.\n" "'altitude_dry': Reduces humidity with altitude." msgstr "" +"Atrybuty generowania mapy specyficzne dla dolin Mapgen.\n" +"'altitude_chill': Zmniejsza ciepło wraz z wysokością nad poziomem morza.\n" +"'humid_rivers': Zwiększa wilgotność wokół rzek.\n" +"'vary_river_depth': Jeżeli włączone, niska wilgotność i wysoka temperatura " +"powoduje, że rzeki\n" +"stają się płytsze i czasami wysychają.\n" +"'altitude_dry': Zmniejsza wilgotność wraz z wysokością." #: src/settings_translation_file.cpp #, fuzzy @@ -5740,8 +5832,9 @@ msgid "Maximum FPS when the window is not focused, or when the game is paused." msgstr "Maksymalny FPS gdy gra spauzowana." #: src/settings_translation_file.cpp +#, fuzzy msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Maksymalna odległość do renderowania cieni." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5753,12 +5846,14 @@ msgid "Maximum hotbar width" msgstr "Maksymalna długość hotbar" #: src/settings_translation_file.cpp +#, fuzzy msgid "Maximum limit of random number of large caves per mapchunk." -msgstr "" +msgstr "Maksymalny limit losowej liczby dużych jaskiń na mapchunk." #: src/settings_translation_file.cpp +#, fuzzy msgid "Maximum limit of random number of small caves per mapchunk." -msgstr "" +msgstr "Maksymalny limit losowej liczby małych jaskiń na mapchunk." #: src/settings_translation_file.cpp #, fuzzy @@ -5770,11 +5865,15 @@ msgstr "" "z dużą prędkością." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Maximum number of blocks that are simultaneously sent per client.\n" "The maximum total count is calculated dynamically:\n" "max_total = ceil((#clients + max_users) * per_client / 4)" msgstr "" +"Maksymalna ilość bloków, które są jednocześnie wysyłane na jednego klienta.\n" +"Maksymalna łączna liczba jest obliczana dynamicznie:\n" +"max_total = ceil((#clients + max_users) * per_client / 4)" #: src/settings_translation_file.cpp msgid "Maximum number of blocks that can be queued for loading." @@ -5800,11 +5899,15 @@ msgstr "" "Pozostaw puste a odpowiednia liczba zostanie dobrana automatycznie." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Maximum number of concurrent downloads. Downloads exceeding this limit will " "be queued.\n" "This should be lower than curl_parallel_limit." msgstr "" +"Maksymalna liczba jednocześnie pobieranych plików. Pobieranie przekraczające " +"ten limit zostanie umieszczone w kolejce.\n" +"Powinien być niższy niż curl_parallel_limit." #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." @@ -5879,10 +5982,13 @@ msgid "" msgstr "Maksymalny czas na pobranie pliku (np.: moda) w ms." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Maksymalny czas, jaki może zająć interaktywne żądanie (np. pobranie listy z " +"serwera), podany w milisekundach." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5909,8 +6015,9 @@ msgid "Method used to highlight selected object." msgstr "Metoda użyta do podświetlenia wybranego obiektu." #: src/settings_translation_file.cpp +#, fuzzy msgid "Minimal level of logging to be written to chat." -msgstr "" +msgstr "Minimalny poziom logowania, który ma być zapisywany na czacie." #: src/settings_translation_file.cpp msgid "Minimap" @@ -5930,8 +6037,9 @@ msgid "Minimum limit of random number of large caves per mapchunk." msgstr "Szum 3D, który wpływa na liczbę lochów na jeden mapchunk." #: src/settings_translation_file.cpp +#, fuzzy msgid "Minimum limit of random number of small caves per mapchunk." -msgstr "" +msgstr "Minimalny limit losowej liczby małych jaskiń na mapchunk." #: src/settings_translation_file.cpp #, fuzzy @@ -6006,12 +6114,17 @@ msgid "Mute sound" msgstr "Wycisz dźwięk" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Name of map generator to be used when creating a new world.\n" "Creating a world in the main menu will override this.\n" "Current mapgens in a highly unstable state:\n" "- The optional floatlands of v7 (disabled by default)." msgstr "" +"Nazwa generatora map, który ma być użyty podczas tworzenia nowego świata.\n" +"Tworzenie świata w menu głównym nadpisze tę wartość.\n" +"Obecne mapgeny są w bardzo niestabilnym stanie:\n" +"- Opcjonalne floatlands z v7 (domyślnie wyłączone)." #: src/settings_translation_file.cpp msgid "" @@ -6075,6 +6188,7 @@ msgid "Number of emerge threads" msgstr "Liczba powstających wątków" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Number of emerge threads to use.\n" "Value 0:\n" @@ -6087,6 +6201,18 @@ msgid "" "processes, especially in singleplayer and/or when running Lua code in\n" "'on_generated'. For many users the optimum setting may be '1'." msgstr "" +"Ilość wątków emerge do wykorzystania.\n" +"Wartość 0:\n" +"- Wybór automatyczny. Liczba wątków emerge będzie wynosić\n" +"- 'liczba procesorów - 2', z dolną granicą 1.\n" +"Dowolna inna wartość:\n" +"- Określa liczbę wątków emerge, z dolnym limitem równym 1.\n" +"OSTRZEŻENIE: Zwiększenie liczby wątków emerge zwiększa szybkość mapgena " +"silnika,\n" +"ale może to wpłynąć na wydajność gry przez zakłócanie innych\n" +"procesami, szczególnie w grze dla pojedynczego gracza i/lub podczas " +"uruchamiania kodu Lua w\n" +"'on_generated'. Dla wielu użytkowników optymalnym ustawieniem może być '1'." #: src/settings_translation_file.cpp #, fuzzy @@ -6110,9 +6236,12 @@ msgid "Opaque liquids" msgstr "Nieprzeźroczyste ciecze" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." msgstr "" +"Nieprzezroczystość (alfa) cienia za domyślną czcionką, w zakresie od 0 do " +"255." #: src/settings_translation_file.cpp msgid "" @@ -6124,10 +6253,12 @@ msgstr "" "formspec jest otwarty." #: src/settings_translation_file.cpp +#, fuzzy msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Opcjonalna zmiana koloru łącza internetowego czatu." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Path of the fallback font.\n" "If “freetype” setting is enabled: Must be a TrueType font.\n" @@ -6135,12 +6266,22 @@ msgid "" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" +"Ścieżka do czcionki awaryjnej.\n" +"Jeśli ustawienie \"freetype\" jest włączone: Musi być czcionką TrueType.\n" +"Jeśli ustawienie \"freetype\" jest wyłączone: Musi być czcionką bitmapową " +"lub wektorową XML.\n" +"Ta czcionka będzie używana dla niektórych języków lub jeśli domyślna " +"czcionka jest niedostępna." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Path to save screenshots at. Can be an absolute or relative path.\n" "The folder will be created if it doesn't already exist." msgstr "" +"Ścieżka w której zapisywane są zrzuty ekranu. Może być bezwzględna lub " +"względna.\n" +"Folder zostanie utworzony, jeśli jeszcze nie istnieje." #: src/settings_translation_file.cpp msgid "" @@ -6157,28 +6298,41 @@ msgstr "" "wyszukiwane z tej lokalizacji." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Path to the default font.\n" "If “freetype” setting is enabled: Must be a TrueType font.\n" "If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" +"Ścieżka do domyślnej czcionki.\n" +"Jeśli włączone jest ustawienie \"freetype\": Musi być czcionką TrueType.\n" +"Jeśli ustawienie \"freetype\" jest wyłączone: Musi być czcionką bitmapową " +"lub wektorową XML.\n" +"Czcionka awaryjna zostanie użyta, jeśli nie może zostać załadowana." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Path to the monospace font.\n" "If “freetype” setting is enabled: Must be a TrueType font.\n" "If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" +"Ścieżka do czcionki monospace.\n" +"Jeśli włączone jest ustawienie \"freetype\": Musi być czcionką TrueType.\n" +"Jeśli ustawienie \"freetype\" jest wyłączone: Musi być czcionką bitmapową " +"lub wektorową XML.\n" +"Ta czcionka jest używana np. w konsoli i na ekranie profilera." #: src/settings_translation_file.cpp msgid "Pause on lost window focus" msgstr "Pauza, gdy okno jest nieaktywne" #: src/settings_translation_file.cpp +#, fuzzy msgid "Per-player limit of queued blocks load from disk" -msgstr "" +msgstr "Limit załadowanych bloków z dysku na jednego gracza" #: src/settings_translation_file.cpp #, fuzzy @@ -6286,20 +6440,27 @@ msgid "Profiling" msgstr "Profilowanie modyfikacji" #: src/settings_translation_file.cpp +#, fuzzy msgid "Prometheus listener address" -msgstr "" +msgstr "Adres słuchacza Prometheusa" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" "enable metrics listener for Prometheus on that address.\n" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" +"Adres listenera Prometheus.\n" +"Jeśli Minetest jest skompilowany z włączoną opcją ENABLE_PROMETHEUS,\n" +"włącz słuchanie metryk dla Prometheusa na tym adresie.\n" +"Metryki mogą być pobierane na stronie http://127.0.0.1:30000/metrics" #: src/settings_translation_file.cpp +#, fuzzy msgid "Proportion of large caves that contain liquid." -msgstr "" +msgstr "Proporcja dużych jaskiń, które zawierają ciecz." #: src/settings_translation_file.cpp msgid "" @@ -6631,24 +6792,37 @@ msgstr "" "Ustaw maksymalny ciąg znaków wiadomości czatu wysyłanych przez klientów." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Ustaw siłę cienia.\n" +"Niższa wartość oznacza jaśniejsze cienie, wyższa wartość oznacza ciemniejsze " +"cienie." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the soft shadow radius size.\n" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" +"Ustaw rozmiar zasięgu gładkiego cienia.\n" +"Niższe wartości oznaczają ostrzejsze cienie, wyższe wartości oznaczają " +"gładsze cienie.\n" +"Minimalna wartość: 1.0; maksymalna wartość: 10.0" #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Set the tilt of Sun/Moon orbit in degrees.\n" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" +"Ustaw nachylenie orbity Słońca/Księżyca w stopniach.\n" +"Wartość 0 oznacza brak nachylenia / orbitę pionową.\n" +"Wartość minimalna: 0.0; wartość maksymalna: 60.0" #: src/settings_translation_file.cpp #, fuzzy @@ -6687,11 +6861,15 @@ msgstr "" "Wymaga shaderów." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "Sets shadow texture quality to 32 bits.\n" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Ustawia jakość tekstury cienia na 32 bity.\n" +"Jeśli wartość jest fałszywa, używana będzie tekstura 16-bitowa.\n" +"Może to powodować znacznie więcej artefaktów w cieniu." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6714,12 +6892,14 @@ msgid "Shadow filter quality" msgstr "Jakość zrzutu ekranu" #: src/settings_translation_file.cpp +#, fuzzy msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Maksymalna odległość mapy cieni w węzłach do renderowania cieni" #: src/settings_translation_file.cpp +#, fuzzy msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Tekstura mapy cieni w 32 bitach" #: src/settings_translation_file.cpp #, fuzzy @@ -6734,8 +6914,9 @@ msgid "" msgstr "Offset cienia czcionki, jeżeli 0 to cień nie będzie rysowany." #: src/settings_translation_file.cpp +#, fuzzy msgid "Shadow strength" -msgstr "" +msgstr "Siła cienia" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6759,8 +6940,9 @@ msgstr "" "Wymagany restart po zmianie ustawienia." #: src/settings_translation_file.cpp +#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "" +msgstr "Domyślnie wyświetlaj tła znaczników imiennych" #: src/settings_translation_file.cpp msgid "Shutdown message" -- cgit v1.2.3 From b1ea3a6199e15ef9367ffadd644b44dd830182ef Mon Sep 17 00:00:00 2001 From: ssantos Date: Sun, 2 Jan 2022 10:45:51 +0000 Subject: Translated using Weblate (Portuguese) Currently translated at 98.9% (1400 of 1415 strings) --- po/pt/minetest.po | 278 ++++++++++++++++++++++++++---------------------------- 1 file changed, 133 insertions(+), 145 deletions(-) diff --git a/po/pt/minetest.po b/po/pt/minetest.po index e04ddbbb9..7b319be6d 100644 --- a/po/pt/minetest.po +++ b/po/pt/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Portuguese (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-05-10 16:33+0000\n" +"PO-Revision-Date: 2022-01-04 06:53+0000\n" "Last-Translator: ssantos \n" "Language-Team: Portuguese \n" @@ -12,49 +12,43 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Clear the out chat queue" -msgstr "Tamanho máximo da fila do chat" +msgstr "Limpe a fila de espera do chat" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Comandos do Chat" +msgstr "Comando vazio." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Sair para o Menu" +msgstr "Sair para o menu principal" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Comandos do Chat" +msgstr "Comando inválido: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Comando emitido: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Um Jogador" +msgstr "Liste os jogadores online" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Um Jogador" +msgstr "Jogadores online: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "A fila de espera do chat agora está vazia." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Este comando está desativado pelo servidor." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,31 +59,31 @@ msgid "You died" msgstr "Você morreu" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Comandos do Chat" +msgstr "Comandos disponíveis:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Comandos do Chat" +msgstr "Comandos disponíveis: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Comando não disponível: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Obtenha ajuda para comandos" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"Use '.help ' para conseguir mais informação, ou '.help all' para listar " +"tudo." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all| ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" @@ -97,7 +91,7 @@ msgstr "OK" #: builtin/fstk/ui.lua msgid "" -msgstr "" +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -303,9 +297,8 @@ msgid "Install missing dependencies" msgstr "Instalar dependências ausentes" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Instalar: Tipo de ficheiro \"$1\" não suportado ou corrompido" +msgstr "Instalação: Tipo de arquivo não suportado ou corrompido" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -636,7 +629,6 @@ msgid "Offset" msgstr "Deslocamento" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Persistência" @@ -786,16 +778,15 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Sobre" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "Contribuidores Ativos" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Distância de envio de objetos ativos" +msgstr "Renderizador ativo:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" @@ -930,9 +921,8 @@ msgid "Start Game" msgstr "Iniciar o jogo" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Endereço: " +msgstr "Endereço" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -948,22 +938,20 @@ msgstr "Modo Criativo" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Ativar dano" +msgstr "Dano / PvP" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "Rem. Favorito" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favorito" +msgstr "Favoritos" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Servidores incompatíveis" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -974,16 +962,14 @@ msgid "Ping" msgstr "Ping" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Anunciar servidor" +msgstr "Servidores Públicos" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Atualizar" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Descrição do servidor" @@ -1028,13 +1014,12 @@ msgid "Connected Glass" msgstr "Vidro conectado" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -#, fuzzy msgid "Dynamic shadows" -msgstr "Sombra da fonte" +msgstr "Sombras dinâmicas" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Sombras dinâmicas: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1042,15 +1027,15 @@ msgstr "Folhas detalhadas" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Alto" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Baixo" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Médio" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1138,11 +1123,11 @@ msgstr "Filtro trilinear" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Muito Alto" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Muito Baixo" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1185,9 +1170,8 @@ msgid "Connection error (timed out?)" msgstr "Erro de ligação (excedeu tempo?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Não foi possível encontrar ou carregar jogo \"" +msgstr "Não foi possível localizar ou carregar jogo " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1259,14 +1243,13 @@ msgid "- Server Name: " msgstr "Nome do servidor: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" msgstr "Ocorreu um erro:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Acesso negado. Razão:%s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1278,19 +1261,19 @@ msgstr "Avanço automático para frente ativado" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "Limites de bloco ocultos" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Limites de bloco mostrados para todos os blocos" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Limites de bloco mostrados para o bloco atual" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Limites de bloco mostrados para blocos próximos" #: src/client/game.cpp msgid "Camera update disabled" @@ -1317,9 +1300,8 @@ msgid "Cinematic mode enabled" msgstr "Modo cinemático ativado" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Cliente" +msgstr "Cliente desconectado" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1331,7 +1313,7 @@ msgstr "A conectar ao servidor..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "A conexão falhou por motivo desconhecido" #: src/client/game.cpp msgid "Continue" @@ -1373,7 +1355,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Não foi possível resolver o endereço:%s" #: src/client/game.cpp msgid "Creating client..." @@ -1504,9 +1486,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Minipapa atualmente desativado por jogo ou mod" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Um Jogador" +msgstr "Multi-jogador" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1583,17 +1564,17 @@ msgstr "Som desmutado" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "O servidor provavelmente está executando uma versão diferente de%s." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Não foi possível conectar a%s porque o IPv6 está desativado" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Incapaz de escutar em%s porque IPv6 está desativado" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1930,13 +1911,12 @@ msgid "Minimap in texture mode" msgstr "Minimapa em modo de textura" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Falhou em descarregar $1" +msgstr "Falha ao abrir página da web" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Abrindo página da web" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1967,7 +1947,6 @@ msgid "Proceed" msgstr "Continuar" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" msgstr "\"Especial\" = descer" @@ -1981,7 +1960,7 @@ msgstr "Pulo automático" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Especial" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1989,7 +1968,7 @@ msgstr "Recuar" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Limites de bloco" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2140,9 +2119,9 @@ msgid "Muted" msgstr "Mutado" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Volume do som: " +msgstr "Volume do som: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2167,15 +2146,14 @@ msgstr "" "toque." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Use joystick virtual para ativar botão \"aux\".\n" -"Se ativado, o joystick virtual vai também clicar no botão \"aux\" quando " -"estiver fora do círculo principal." +"(Android) Use joystick virtual para ativar botão \"especial\".\n" +"Se ativado, o joystick virtual vai também clicar no botão \"especial\" " +"quando estiver fora do circulo principal." #: src/settings_translation_file.cpp msgid "" @@ -2404,6 +2382,8 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Ajuste a densidade de exibição detectada, usada para dimensionar os " +"elementos da IU." #: src/settings_translation_file.cpp #, c-format @@ -2541,14 +2521,12 @@ msgid "Autoscaling mode" msgstr "Modo de alto escalamento" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Tecla de saltar" +msgstr "Tecla especial" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Tecla especial pra escalar/descer" +msgstr "Tecla Aux1 pra escalar/descer" #: src/settings_translation_file.cpp msgid "Backward key" @@ -2699,14 +2677,12 @@ msgstr "" "0,0 é o nível mínimo de luz, 1,0 é o nível máximo de luz." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Limite da mensagem de expulsão" +msgstr "Limite de mensagem de tempo de comando de bate-papo" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" -msgstr "Comandos do Chat" +msgstr "Comandos de Chat" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2741,9 +2717,8 @@ msgid "Chat toggle key" msgstr "Tecla mostra/esconde conversação" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Conversa mostrada" +msgstr "Ligações de bate-papo" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2766,6 +2741,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Ligações da web clicáveis (clique do meio ou Ctrl + botão esquerdo) ativados " +"na saída do console de bate-papo." #: src/settings_translation_file.cpp msgid "Client" @@ -2812,9 +2789,8 @@ msgid "Colored fog" msgstr "Névoa colorida" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Névoa colorida" +msgstr "Sombra colorida" #: src/settings_translation_file.cpp msgid "" @@ -2873,7 +2849,6 @@ msgstr "" "normal)" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Compression level to use when sending mapblocks to the client.\n" "-1 - use default compression level\n" @@ -2985,13 +2960,12 @@ msgid "Crosshair alpha" msgstr "Opacidade do cursor" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" -"fAlpha do cursor (o quanto ele é opaco, níveis entre 0 e 255).\n" -"Também controla a cor da cruz do objeto" +"Alpha do cursor (quanto ele é opaco, níveis entre 0 e 255).\n" +"Também controla a cor da cruz do objeto." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3075,6 +3049,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" +"Define a qualidade de filtragem de sombreamento\n" +"Isso simula um efeito de sombras suaves aplicando um PCF ou um Poisson disk\n" +"mas também usa mais recursos." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3261,12 +3238,18 @@ msgid "" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Ativa filtragem de Poisson disk.\n" +"Quando em true usa o Poisson disk para fazer \"sombras suaves\". Caso " +"contrário, usa filtragem PCF." #: src/settings_translation_file.cpp msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Ativa sombras coloridas.\n" +"Quando em true, nodes translúcidos podem projetar sombras coloridas. Requer " +"o uso de muitos recursos." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3470,12 +3453,11 @@ msgid "Fast movement" msgstr "Modo rápido" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Fast movement (via the \"Aux1\" key).\n" "This requires the \"fast\" privilege on the server." msgstr "" -"Movimento rápido (através da tecla \"especial\").\n" +"Movimento rápido (através da tecla \"Aux1\").\n" "Isso requer o privilegio \"fast\" no servidor." #: src/settings_translation_file.cpp @@ -3508,7 +3490,6 @@ msgid "Filmic tone mapping" msgstr "Mapeamento de tom fílmico" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Filtered textures can blend RGB values with fully-transparent neighbors,\n" "which PNG optimizers usually discard, often resulting in dark or\n" @@ -3517,8 +3498,9 @@ msgid "" msgstr "" "Texturas filtradas podem misturar valores RGB com os vizinhos totalmente \n" "transparentes, o qual otimizadores PNG geralmente descartam, por vezes \n" -"resultando em uma linha escura em texturas transparentes.\n" -"Aplicar esse filtro para limpar isso no tempo de carregamento da textura." +"resultando numa linha escura em texturas transparentes.\n" +"Aplique esse filtro para limpar isso no momento de carregamento da textura.\n" +"Esse filtro será ativo automaticamente ao ativar \"mipmapping\"." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3746,14 +3728,13 @@ msgid "Global callbacks" msgstr "Chamadas de retorno Globais" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Atributos de geração de mapa globais.\n" -"No gerador de mapa v6 a flag 'decorations' controla todas as decorações " +"No gerador de mapa v6 a flag 'decorations' controla todas as decorações, " "exceto árvores\n" "e gramas da selva, em todos os outros geradores de mapa essa flag controla " "todas as decorações." @@ -3838,10 +3819,11 @@ msgid "Heat noise" msgstr "Ruído para cavernas #1" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "Altura da janela inicial." +msgstr "" +"Componente de altura do tamanho da janela inicial. Ignorado em modo de ecrã " +"cheio." #: src/settings_translation_file.cpp msgid "Height noise" @@ -4095,13 +4077,13 @@ msgstr "" "para não gastar a potência da CPU desnecessariamente." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" "enabled." msgstr "" -"Se estiver desativado, a tecla \"especial será usada para voar rápido se " -"modo voo e rápido estiverem ativados." +"Se estiver desativado, a tecla \"especial\" será usada para voar rápido se " +"modo voo e rápido estiverem\n" +"ativados." #: src/settings_translation_file.cpp msgid "" @@ -4130,13 +4112,12 @@ msgstr "" "Isto requer o privilégio \"noclip\" no servidor." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " "and\n" "descending." msgstr "" -"Se ativado, a tecla \"especial\" em vez de \"esgueirar\" servirá para usada " +"Se ativado, a tecla \"especial\" em vez de \"esgueirar\" servirá para\n" "descer." #: src/settings_translation_file.cpp @@ -4197,6 +4178,9 @@ msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Se a execução de um comando de chat demorar mais do que o tempo especificado " +"em\n" +"segundos, adicione a informação do tempo na mensagem-comando" #: src/settings_translation_file.cpp msgid "" @@ -4354,7 +4338,6 @@ msgid "Joystick button repetition interval" msgstr "Intervalo de repetição do botão do Joystick" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" msgstr "\"Zona morta\" do joystick" @@ -5718,19 +5701,20 @@ msgstr "" "0 para desativar a fila e -1 para a tornar ilimitada." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Maximum time a file download (e.g. a mod download) may take, stated in " "milliseconds." msgstr "" -"Tempo máximo em ms para descarregamento de ficheiro (por exemplo, um " -"ficheiro ZIP de um modificador) pode tomar." +"Tempo máximo em ms para descarregar ficheiros (por exemplo, um mod) pode " +"tomar." #: src/settings_translation_file.cpp msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Tempo máximo que um pedido interativo (ex: busca de lista de servidores) " +"pode levar, em milissegundos." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5795,7 +5779,6 @@ msgid "Mod channels" msgstr "Canais de mod" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." msgstr "Modifica o tamanho dos elementos do hudbar." @@ -5954,16 +5937,15 @@ msgstr "" "'on_generated'. Para muitos utilizadores, a configuração ideal pode ser '1'." #: src/settings_translation_file.cpp -#, fuzzy 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 "" -"Número de blocos extras que pode ser carregados por /clearobjects ao mesmo " -"tempo.\n" -"Esta é uma troca entre sobrecarga de transação do sqlite e consumo de " -"memória (4096 = 100 MB, como uma regra de ouro)." +"Quantidde de blocos adicionais que podem ser carregados por /clearobjects ao " +"mesmo tempo.\n" +"Esta é uma troca entre sobrecarga de transação do sqlite e\n" +"consumo de memória (4096 = 100 MB, como uma regra de ouro)." #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -5989,7 +5971,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "Substituição opcional da cor de ligações do bate-papo." #: src/settings_translation_file.cpp msgid "" @@ -6108,9 +6090,8 @@ msgid "Player versus player" msgstr "Jogador contra jogador" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Filtro bi-linear" +msgstr "Filtragem de Poisson" #: src/settings_translation_file.cpp msgid "" @@ -6163,7 +6144,6 @@ msgid "Prometheus listener address" msgstr "Endereço do Prometheus" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Prometheus listener address.\n" "If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" @@ -6511,6 +6491,9 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Defina a força da sombra.\n" +"Valores mais baixo significam sombras mais brandas, valores mais altos " +"significam sombras mais fortes." #: src/settings_translation_file.cpp msgid "" @@ -6518,6 +6501,10 @@ msgid "" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" +"Defina o tamanho do raio de sombras suaves.\n" +"Valores mais baixos significam sombras mais nítidas e valores altos sombras " +"suaves.\n" +"Valor mínimo 1.0 e valor máximo 10.0" #: src/settings_translation_file.cpp msgid "" @@ -6525,15 +6512,17 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" +"Defina a inclinação da órbita do Sol/Lua em graus\n" +"Valor 0 significa sem inclinação/ órbita vertical.\n" +"Valor mínimo de 0.0 e máximo de 60.0" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Definido como true ativa o balanço das folhas.\n" -"Requer que os sombreadores estejam ativados." +"Defina para true para ativar o Mapeamento de Sombras.\n" +"Requer sombreadores para ser ativado." #: src/settings_translation_file.cpp msgid "" @@ -6565,6 +6554,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Define a qualidade da textura das sombras para 32 bits.\n" +"Quando false, a textura de 16 bits será usada\n" +"Isso pode fazer com que muito mais coisas aparecam nas sombras." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6582,22 +6574,20 @@ msgstr "" "Só funcionam com o modo de vídeo OpenGL." #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Qualidade da Captura de ecrã" +msgstr "Qualidade do filtro de sombras" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Distância do mapa de sombras em nodes para renderizar sombras" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "Textura do mapa de sombras em 32 bits" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow map texture size" -msgstr "Tamanho mínimo da textura" +msgstr "Tamanho da textura do mapa de sombras" #: src/settings_translation_file.cpp msgid "" @@ -6609,7 +6599,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Força da sombra" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6632,9 +6622,8 @@ msgstr "" "É necessário reiniciar após alterar isso." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "Fonte em negrito por predefinição" +msgstr "Mostrar plano de fundo da nametag por padrão" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6667,7 +6656,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Inclinação Da Órbita Do Céu" #: src/settings_translation_file.cpp msgid "Slice w" @@ -6729,9 +6718,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "Velocidade furtiva, em nós por segundo." #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Opacidade da sombra da fonte" +msgstr "Raio das sombras suaves" #: src/settings_translation_file.cpp msgid "Sound" @@ -6906,6 +6894,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" +"Tamanho da textura em que o mapa de sombras será renderizado em.\n" +"Deve ser um múltiplo de dois.\n" +"Números maiores criam sombras melhores mas também esvazia a conta do banco." #: src/settings_translation_file.cpp msgid "" @@ -6929,7 +6920,6 @@ msgid "The URL for the content repository" msgstr "A url para o repositório de conteúdo" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" msgstr "A zona morta do joystick" @@ -7006,7 +6996,6 @@ msgstr "" "Isso deve ser configurado junto com active_object_send_range_blocks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "The rendering back-end.\n" "A restart is required after changing this.\n" @@ -7015,7 +7004,7 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" -"O back-end de renderização para Irrlicht.\n" +"O back-end de renderização.\n" "É necessário reiniciar após alterar isso.\n" "Nota: No Android, use OGLES1 se não tiver certeza! A app pode falhar ao " "iniciar de outra forma.\n" @@ -7358,9 +7347,8 @@ msgid "Viewing range" msgstr "Intervalo de visualização" #: src/settings_translation_file.cpp -#, fuzzy msgid "Virtual joystick triggers Aux1 button" -msgstr "Joystick virtual ativa botão auxiliar" +msgstr "Joystick virtual ativa botão especial" #: src/settings_translation_file.cpp msgid "Volume" @@ -7557,9 +7545,9 @@ msgstr "" "premir F5)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Width component of the initial window size. Ignored in fullscreen mode." -msgstr "Largura da janela inicial." +msgstr "" +"Componente de tamanho da janela inicial. Ignorado em modo de ecrã cheio." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." -- cgit v1.2.3 From c8d621e0b41f045eca7e9f0b517ef4cbb1be2814 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Wed, 5 Jan 2022 15:35:23 +0000 Subject: Translated using Weblate (French) Currently translated at 100.0% (1415 of 1415 strings) --- po/fr/minetest.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/po/fr/minetest.po b/po/fr/minetest.po index 937dd44f2..7f198b2c4 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-01 19:27+0000\n" -"Last-Translator: waxtatect \n" +"PO-Revision-Date: 2022-01-09 15:58+0000\n" +"Last-Translator: AFCMS \n" "Language-Team: French \n" "Language: fr\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -209,7 +209,7 @@ msgstr "Dépendances optionnelles :" #: builtin/mainmenu/dlg_config_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp msgid "Save" -msgstr "Enregistrer" +msgstr "Sauvegarder" #: builtin/mainmenu/dlg_config_world.lua msgid "World:" @@ -342,6 +342,7 @@ msgid "Uninstall" msgstr "Désinstaller" #: builtin/mainmenu/dlg_contentstore.lua +#, fuzzy msgid "Update" msgstr "Mise à jour" @@ -1086,7 +1087,7 @@ msgstr "Écran :" #: builtin/mainmenu/tab_settings.lua msgid "Settings" -msgstr "Réglages" +msgstr "Paramètres" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" -- cgit v1.2.3 From 471031e516576967e38eddd2fadcc4703a4275c4 Mon Sep 17 00:00:00 2001 From: waxtatect Date: Sun, 9 Jan 2022 13:28:16 +0000 Subject: Translated using Weblate (French) Currently translated at 99.9% (1414 of 1415 strings) --- po/fr/minetest.po | 133 +++++++++++++++++++++++++++++------------------------- 1 file changed, 71 insertions(+), 62 deletions(-) diff --git a/po/fr/minetest.po b/po/fr/minetest.po index 7f198b2c4..774cee01f 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-09 15:58+0000\n" -"Last-Translator: AFCMS \n" +"PO-Revision-Date: 2022-01-09 17:50+0000\n" +"Last-Translator: waxtatect \n" "Language-Team: French \n" "Language: fr\n" @@ -342,9 +342,8 @@ msgid "Uninstall" msgstr "Désinstaller" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Update" -msgstr "Mise à jour" +msgstr "Mettre à jour" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" @@ -2279,7 +2278,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "3D noise that determines number of dungeons per mapchunk." -msgstr "Bruit 3D qui détermine le nombre de donjons par mapchunk." +msgstr "Bruit 3D qui détermine le nombre de donjons par tranche de carte." #: src/settings_translation_file.cpp msgid "" @@ -2354,7 +2353,7 @@ msgstr "intervalle de gestion des blocs actifs" #: src/settings_translation_file.cpp msgid "Active block range" -msgstr "Portée des mapblocks actifs" +msgstr "Portée des blocs actifs" #: src/settings_translation_file.cpp msgid "Active object send range" @@ -2502,7 +2501,7 @@ msgstr "" "terre).\n" "Une valeur supérieure à « max_block_send_distance » désactive cette " "optimisation.\n" -"Établie en mapblocks (16 nœuds)." +"Établie en blocs de carte (16 nœuds)." #: src/settings_translation_file.cpp msgid "Automatic forward key" @@ -2729,7 +2728,7 @@ msgstr "Liens web de tchat" #: src/settings_translation_file.cpp msgid "Chunk size" -msgstr "Taille des chunks" +msgstr "Taille des tranches" #: src/settings_translation_file.cpp msgid "Cinematic mode" @@ -2846,8 +2845,8 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Niveau de compression à utiliser lors de la sauvegarde des mapblocks sur le " -"disque.\n" +"Niveau de compression à utiliser lors de la sauvegarde des blocs de carte " +"sur le disque.\n" "-1 - utilise le niveau de compression par défaut\n" "0 - compression minimale, le plus rapide\n" "9 - meilleure compression, le plus lent" @@ -2859,7 +2858,8 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" -"Niveau de compression à utiliser lors de l'envoi des mapblocks au client.\n" +"Niveau de compression à utiliser lors de l'envoi des blocs de carte au " +"client.\n" "-1 - utilise le niveau de compression par défaut\n" "0 - compression minimale, le plus rapide\n" "9 - meilleure compression, le plus lent" @@ -3166,7 +3166,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Desynchronize block animation" -msgstr "Désynchroniser les textures animées par mapblock" +msgstr "Désynchroniser les animations de blocs" #: src/settings_translation_file.cpp msgid "Dig key" @@ -3686,14 +3686,14 @@ msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " "nodes)." msgstr "" -"Distance maximale de génération des mapblocks (16^3 blocs) depuis la " -"position du client." +"Distance maximale de génération des blocs depuis la position du client, " +"établie en blocs de carte (16^3 blocs)." #: src/settings_translation_file.cpp msgid "" "From how far blocks are sent to clients, stated in mapblocks (16 nodes)." msgstr "" -"Distance maximale d'envoi des mapblocks aux clients, établie en mapblocks " +"Distance maximale d'envoi des blocs aux clients, établie en blocs de carte " "(16^3 blocs)." #: src/settings_translation_file.cpp @@ -3705,7 +3705,7 @@ msgid "" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" "Distance maximale à laquelle les clients ont connaissance des objets, " -"établie en mapblocks (16 nœuds).\n" +"établie en blocs de carte (16 nœuds).\n" "\n" "Définir cela plus grand que « active_block_range », ainsi le serveur va " "maintenir les objets actifs jusqu’à cette distance dans la direction où un " @@ -3755,7 +3755,7 @@ msgid "" "Controls the contrast of the highest light levels." msgstr "" "Gradient de la courbe de lumière au niveau de lumière maximale.\n" -"Contrôle le contraste de la lumière aux niveaux d'éclairage les plus élevés." +"Contrôle le contraste aux niveaux d'éclairage les plus élevés." #: src/settings_translation_file.cpp msgid "" @@ -3763,7 +3763,7 @@ msgid "" "Controls the contrast of the lowest light levels." msgstr "" "Gradient de la courbe de lumière au niveau de lumière minimale.\n" -"Contrôle le contraste de la lumière aux niveaux d'éclairage les plus bas." +"Contrôle le contraste aux niveaux d'éclairage les plus bas." #: src/settings_translation_file.cpp msgid "Graphics" @@ -3817,7 +3817,7 @@ msgid "" msgstr "" "Auto-instrumentaliser le profileur :\n" "* Instrumentalise une fonction vide.\n" -"La surcharge sera évaluée. (l'auto-instrumentalisation ajoute 1 appel de " +"La surcharge est évaluée (l'auto-instrumentalisation ajoute 1 appel de " "fonction à chaque fois).\n" "* Instrumentalise l’échantillonneur utilisé pour mettre à jour les " "statistiques." @@ -4053,10 +4053,9 @@ msgid "" "How much the server will wait before unloading unused mapblocks.\n" "Higher value is smoother, but will use more RAM." msgstr "" -"Délai maximal jusqu'où le serveur va attendre avant de purger les mapblocks " -"inactifs.\n" -"Une valeur plus grande est plus confortable, mais utilise davantage de " -"mémoire." +"Combien de temps le serveur attendra avant de décharger les blocs de carte " +"inutilisés.\n" +"Une valeur plus élevée est plus fluide, mais utilise plus de RAM." #: src/settings_translation_file.cpp msgid "How wide to make rivers." @@ -4087,9 +4086,9 @@ msgid "" "If FPS would go higher than this, limit it by sleeping\n" "to not waste CPU power for no benefit." msgstr "" -"Si le nombre d'images par seconde (FPS) veut aller au-delà de cette valeur, " -"il est limité\n" -"pour ne pas gaspiller inutilement les ressources du processeur." +"Si les FPS (nombre d'images par seconde) sont supérieurs à cette valeur, " +"limitez-les en les mettant en sommeil pour ne pas gaspiller la puissance du " +"CPU sans aucun bénéfice." #: src/settings_translation_file.cpp msgid "" @@ -4174,7 +4173,8 @@ msgid "" "This is helpful when working with nodeboxes in small areas." msgstr "" "Si activé, vous pourrez placer des blocs à la position où vous êtes.\n" -"C'est utile pour travailler avec des modèles nodebox dans des zones exiguës." +"C'est utile pour travailler avec des modèles « nodebox » dans des zones " +"exiguës." #: src/settings_translation_file.cpp msgid "" @@ -5266,11 +5266,11 @@ msgstr "Centre d'amplification de la courbe de lumière" #: src/settings_translation_file.cpp msgid "Light curve boost spread" -msgstr "Étalement du boost de la courbe de lumière" +msgstr "Étalement de l'amplification de la courbe de lumière" #: src/settings_translation_file.cpp msgid "Light curve gamma" -msgstr "Courbe de lumière gamma" +msgstr "Gamma de la courbe de lumière" #: src/settings_translation_file.cpp msgid "Light curve high gradient" @@ -5288,7 +5288,8 @@ msgid "" msgstr "" "Limite du générateur de terrain, en nœuds, dans les 6 directions à partir de " "(0,0,0).\n" -"Seules les tranches totalement comprises dans cette limite sont générées.\n" +"Seules les tranches de la carte totalement comprises dans cette limite sont " +"générées.\n" "Valeur différente pour chaque monde." #: src/settings_translation_file.cpp @@ -5468,19 +5469,19 @@ msgstr "Images de mise à jour des ombres de la carte" #: src/settings_translation_file.cpp msgid "Mapblock limit" -msgstr "Limite des mapblocks" +msgstr "Limite des blocs de carte" #: src/settings_translation_file.cpp msgid "Mapblock mesh generation delay" -msgstr "Délai de génération des maillages de mapblocks" +msgstr "Délai de génération des maillages de blocs de carte" #: src/settings_translation_file.cpp msgid "Mapblock mesh generator's MapBlock cache size in MB" -msgstr "Taille du cache de mapblocks en Mo du générateur de maillage" +msgstr "Taille du cache de blocs de carte en Mo du générateur de maillage" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" -msgstr "Délai d'interruption du déchargement des mapblocks" +msgstr "Délai d'interruption du déchargement de blocs de carte" #: src/settings_translation_file.cpp msgid "Mapgen Carpathian" @@ -5548,11 +5549,11 @@ msgstr "Nom du générateur de terrain" #: src/settings_translation_file.cpp msgid "Max block generate distance" -msgstr "Distance maximale de génération des mapblocks" +msgstr "Distance maximale de génération de blocs" #: src/settings_translation_file.cpp msgid "Max block send distance" -msgstr "Distance maximale d'envoi des mapblocks" +msgstr "Distance maximale d'envoi de blocs" #: src/settings_translation_file.cpp msgid "Max liquids processed per step." @@ -5560,7 +5561,7 @@ msgstr "Maximum de liquides traités par étape de serveur." #: src/settings_translation_file.cpp msgid "Max. clearobjects extra blocks" -msgstr "Maximum d'extra-mapblocks par « clearobjects »" +msgstr "Blocs supplémentaires maximum de « clearobjects »" #: src/settings_translation_file.cpp msgid "Max. packets per iteration" @@ -5582,7 +5583,7 @@ msgstr "Distance maximale pour le rendu des ombres." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" -msgstr "Mapblocks maximum chargés de force" +msgstr "Blocs maximum chargés de force" #: src/settings_translation_file.cpp msgid "Maximum hotbar width" @@ -5591,11 +5592,12 @@ msgstr "Largeur maximale de la barre d'inventaire" #: src/settings_translation_file.cpp msgid "Maximum limit of random number of large caves per mapchunk." msgstr "" -"Limite maximale pour le nombre aléatoire de grandes grottes par mapchunk." +"Limite maximale du nombre aléatoire de grandes grottes par tranche de carte." #: src/settings_translation_file.cpp msgid "Maximum limit of random number of small caves per mapchunk." -msgstr "Limite maximale du nombre aléatoire de petites grottes par mapchunk." +msgstr "" +"Limite maximale du nombre aléatoire de petites grottes par tranche de carte." #: src/settings_translation_file.cpp msgid "" @@ -5617,24 +5619,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum number of blocks that can be queued for loading." -msgstr "Nombre maximal de mapblocks qui peuvent être listés pour chargement." +msgstr "" +"Nombre maximal de blocs qui peuvent être mis en file d'attente pour " +"chargement." #: src/settings_translation_file.cpp msgid "" "Maximum number of blocks to be queued that are to be generated.\n" "This limit is enforced per player." msgstr "" -"Nombre maximal de mapblocks à lister qui doivent être générés.\n" -"Laisser ce champ vide pour un montant approprié défini automatiquement." +"Nombre maximal de blocs à mettre en file d'attente qui doivent être générés." +"\n" +"Cette limite est appliquée par joueur." #: src/settings_translation_file.cpp msgid "" "Maximum number of blocks to be queued that are to be loaded from file.\n" "This limit is enforced per player." msgstr "" -"Nombre maximal de mapblocks à lister qui doivent être générés depuis un " -"fichier.\n" -"Laisser ce champ vide pour un montant approprié défini automatiquement." +"Nombre maximal de blocs à mettre en file d'attente qui doivent être chargés " +"depuis un fichier.\n" +"Cette limite est appliquée par joueur." #: src/settings_translation_file.cpp msgid "" @@ -5648,14 +5653,14 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." -msgstr "Nombre maximal de mapblocks chargés de force." +msgstr "Nombre maximal de blocs de carte chargés de force." #: src/settings_translation_file.cpp msgid "" "Maximum number of mapblocks for client to be kept in memory.\n" "Set to -1 for unlimited amount." msgstr "" -"Nombre maximal de mapblocks gardés dans la mémoire du client.\n" +"Nombre maximal de blocs de carte pour le client à garder en mémoire.\n" "Définir à -1 pour un montant illimité." #: src/settings_translation_file.cpp @@ -5678,7 +5683,7 @@ msgstr "Nombre maximal de message récent à afficher" #: src/settings_translation_file.cpp msgid "Maximum number of statically stored objects in a block." -msgstr "Nombre maximal d'objets sauvegardés dans un mapblock (16^3 blocs)." +msgstr "Nombre maximal d'objets sauvegardés dans un bloc de carte (16^3 blocs)." #: src/settings_translation_file.cpp msgid "Maximum objects per block" @@ -5767,11 +5772,13 @@ msgstr "Hauteur de balayage de la mini-carte" #: src/settings_translation_file.cpp msgid "Minimum limit of random number of large caves per mapchunk." -msgstr "Minimum pour le nombre de grandes grottes par mapchunk tiré au hasard." +msgstr "" +"Limite minimale du nombre aléatoire de grandes grottes par tranche de carte." #: src/settings_translation_file.cpp msgid "Minimum limit of random number of small caves per mapchunk." -msgstr "Minimum pour le nombre de petites grottes par mapchunk tiré au hasard." +msgstr "" +"Limite minimale du nombre aléatoire de petites grottes par tranche de carte." #: src/settings_translation_file.cpp msgid "Minimum texture size" @@ -6328,7 +6335,7 @@ msgstr "Sauvegarde le monde du serveur sur le disque dur du client." #: src/settings_translation_file.cpp msgid "Save window size automatically when modified." msgstr "" -"Sauvegarder automatiquement la taille de la fenêtre quand elle est modifiée." +"Sauvegarde automatiquement la taille de la fenêtre quand elle est modifiée." #: src/settings_translation_file.cpp msgid "Saving map received from server" @@ -6657,8 +6664,8 @@ msgid "" "Altering this value is for special usage, leaving it unchanged is\n" "recommended." msgstr "" -"Taille des mapchunks générés à la création de terrain, établie en mapblocks (" -"16 nœuds).\n" +"Taille des tranches de carte générés à la création de terrain, établie en " +"blocs de carte (16 nœuds).\n" "ATTENTION ! : Il n’y a aucun avantage, et plusieurs dangers, à augmenter " "cette valeur au-dessus de 5.\n" "Réduire cette valeur augmente la densité de cavernes et de donjons.\n" @@ -6671,7 +6678,7 @@ msgid "" "increase the cache hit %, reducing the data being copied from the main\n" "thread, thus reducing jitter." msgstr "" -"Taille du cache de mapblocks du générateur de maillage. Augmenter ceci " +"Taille du cache de blocs de carte du générateur de maillage. Augmenter ceci " "augmente le % d'interception du cache et réduit la copie de données dans le " "fil principal, réduisant les tremblements." @@ -7021,7 +7028,7 @@ msgid "" "This should be configured together with active_object_send_range_blocks." msgstr "" "Le rayon du volume de blocs autour de chaque joueur soumis au bloc actif, " -"établi en mapblocks (16 nœuds).\n" +"établi en blocs de carte (16 nœuds).\n" "Dans les blocs actifs, les objets sont chargés et les « ABMs » sont exécutés." "\n" "C'est également la distance minimale dans laquelle les objets actifs (mobs) " @@ -7147,8 +7154,8 @@ msgstr "Vitesse du temps" #: src/settings_translation_file.cpp msgid "Timeout for client to remove unused map data from memory." msgstr "" -"Délai pendant lequel le client supprime les données de la carte de sa " -"mémoire." +"Délai d'interruption pour le client pour supprimer les données de carte " +"inutilisées de la mémoire." #: src/settings_translation_file.cpp msgid "" @@ -7227,7 +7234,7 @@ msgstr "Distance de transfert du joueur illimitée" #: src/settings_translation_file.cpp msgid "Unload unused server data" -msgstr "Purger les données de serveur inutiles" +msgstr "Décharger les données de serveur inutilisées" #: src/settings_translation_file.cpp msgid "Upper Y limit of dungeons." @@ -7453,11 +7460,11 @@ msgstr "Liquides ondulants" #: src/settings_translation_file.cpp msgid "Waving liquids wave height" -msgstr "Hauteur des vagues" +msgstr "Hauteur des vagues des liquides ondulants" #: src/settings_translation_file.cpp msgid "Waving liquids wave speed" -msgstr "Vitesse de mouvement des liquides" +msgstr "Vitesse de mouvement des liquides ondulants" #: src/settings_translation_file.cpp msgid "Waving liquids wavelength" @@ -7537,7 +7544,9 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Whether node texture animations should be desynchronized per mapblock." -msgstr "Détermine la désynchronisation des textures animées par mapblock." +msgstr "" +"Détermine la désynchronisation des animations de texture de nœud par bloc de " +"carte." #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 4decded6abcbb0e478810dce00ba048d901e81cd Mon Sep 17 00:00:00 2001 From: Minetest-j45 Date: Sat, 8 Jan 2022 18:37:42 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 79.6% (1127 of 1415 strings) --- po/es/minetest.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index 816111759..f16aade38 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-10-06 14:41+0000\n" -"Last-Translator: Joaquín Villalba \n" +"PO-Revision-Date: 2022-01-10 02:53+0000\n" +"Last-Translator: Minetest-j45 \n" "Language-Team: Spanish \n" "Language: es\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -656,7 +656,7 @@ msgstr "Escala" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua msgid "Search" -msgstr "Buscar" +msgstr "Búsqueda" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" @@ -1088,7 +1088,7 @@ msgstr "Pantalla:" #: builtin/mainmenu/tab_settings.lua msgid "Settings" -msgstr "Configuración" +msgstr "Ajustes" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" @@ -1678,7 +1678,7 @@ msgstr "Ejecutar" #: src/client/keycode.cpp msgid "Help" -msgstr "Ayuda" +msgstr "Ayudar" #: src/client/keycode.cpp msgid "Home" -- cgit v1.2.3 From 7645c9511084b0eea6c32acf9c4076bd60b166c3 Mon Sep 17 00:00:00 2001 From: Allan Nordhøy Date: Sat, 8 Jan 2022 10:57:57 +0000 Subject: Translated using Weblate (Norwegian Bokmål) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 54.7% (775 of 1415 strings) --- po/nb/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/nb/minetest.po b/po/nb/minetest.po index 653646a0f..9517ff9ed 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-08-08 01:37+0000\n" +"PO-Revision-Date: 2022-01-10 07:37+0000\n" "Last-Translator: Allan Nordhøy \n" "Language-Team: Norwegian Bokmål \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -889,7 +889,7 @@ msgstr "Installer spill fra ContentDB" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "" +msgstr "Navn" #: builtin/mainmenu/tab_local.lua msgid "New" -- cgit v1.2.3 From b4cc25f25be77625ed69e26feaae56485648aa68 Mon Sep 17 00:00:00 2001 From: 109247019824 Date: Mon, 10 Jan 2022 11:11:19 +0000 Subject: Translated using Weblate (Bulgarian) Currently translated at 30.6% (434 of 1415 strings) --- po/bg/minetest.po | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/po/bg/minetest.po b/po/bg/minetest.po index f3649f6d2..02a4453f3 100644 --- a/po/bg/minetest.po +++ b/po/bg/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-10-08 20:02+0000\n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" "Last-Translator: 109247019824 \n" "Language-Team: Bulgarian \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -88,16 +88,15 @@ msgstr "" #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | <команда>]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" msgstr "Добре" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Недостъпни команди: " +msgstr "<няма достъпни>" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -303,9 +302,8 @@ msgid "Install missing dependencies" msgstr "Инсталиране на липсващи зависимости" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Инсталиране: Неподдържан вид на файла „$ 1“ или повреден архив" +msgstr "Инсталиране: Неподдържан вид на файл или повреден архив" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -1179,7 +1177,7 @@ msgstr "Грешка при свързване (изтекло време?)" #: src/client/clientlauncher.cpp msgid "Could not find or load game: " -msgstr "" +msgstr "Не може да бъде намерена или заредена игра: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1243,6 +1241,7 @@ msgstr "- Обществен: " #. ~ PvP = Player versus Player #: src/client/game.cpp +#, fuzzy msgid "- PvP: " msgstr "- PvP: " @@ -1258,7 +1257,7 @@ msgstr "Възникна грешка:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Достъпът е отказан. Причина: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1311,7 +1310,7 @@ msgstr "Кинематографичният режим е включен" #: src/client/game.cpp msgid "Client disconnected" -msgstr "" +msgstr "Клиентът е изключен" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1323,7 +1322,7 @@ msgstr "Свързване със сървър…" #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Грешка във връзката поради неизвестна причина" #: src/client/game.cpp msgid "Continue" @@ -1562,7 +1561,7 @@ msgstr "Звукът е пуснат" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "Сървърът вероятно използва друго издание на %s." #: src/client/game.cpp #, c-format @@ -1909,13 +1908,12 @@ msgid "Minimap in texture mode" msgstr "Картата е в режим на текстура" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Грешка при изтеглянето на $1" +msgstr "Грешка при отваряне на страница" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Отваряне на страница" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1993,7 +1991,7 @@ msgstr "Намал. на звука" #: src/gui/guiKeyChangeMenu.cpp msgid "Double tap \"jump\" to toggle fly" -msgstr "Два пъти „скок“ превключва полета" +msgstr "Двоен „скок“ превключва летене" #: src/gui/guiKeyChangeMenu.cpp msgid "Drop" @@ -2118,15 +2116,15 @@ msgid "Muted" msgstr "Без звук" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Сила на звука: " +msgstr "Сила на звука: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. #: src/gui/modalMenu.cpp msgid "Enter " -msgstr "" +msgstr "Въведете " #. ~ DO NOT TRANSLATE THIS LITERALLY! #. This is a special string which needs to contain the translation's -- cgit v1.2.3 From c4b47269a4a49d8e062495326bfa5b19d38fbbce Mon Sep 17 00:00:00 2001 From: debiankaios Date: Sun, 9 Jan 2022 21:09:55 +0000 Subject: Translated using Weblate (German) Currently translated at 100.0% (1415 of 1415 strings) --- po/de/minetest.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/po/de/minetest.po b/po/de/minetest.po index d7e0a4bb3..acc182e43 100644 --- a/po/de/minetest.po +++ b/po/de/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: German (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-02 01:31+0000\n" -"Last-Translator: Wuzzy \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: debiankaios \n" "Language-Team: German \n" "Language: de\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -343,7 +343,7 @@ msgstr "Deinstallieren" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update" -msgstr "Aktualisieren" +msgstr "Update" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" @@ -561,7 +561,7 @@ msgstr "Sind Sie sicher, dass „$1“ gelöscht werden soll?" #: builtin/mainmenu/dlg_delete_world.lua builtin/mainmenu/tab_local.lua #: src/client/keycode.cpp msgid "Delete" -msgstr "Entfernen" +msgstr "Löschen" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: failed to delete \"$1\"" @@ -1065,7 +1065,7 @@ msgstr "Blöcke umranden" #: builtin/mainmenu/tab_settings.lua msgid "None" -msgstr "Keines" +msgstr "keine" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" -- cgit v1.2.3 From c3a82b9a49aa91f6d9ef2ac5d0737994482f398b Mon Sep 17 00:00:00 2001 From: Joaquín Villalba Date: Mon, 10 Jan 2022 02:53:40 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 79.6% (1127 of 1415 strings) --- po/es/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index f16aade38..e0b0e55a3 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-10 02:53+0000\n" -"Last-Translator: Minetest-j45 \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: Joaquín Villalba \n" "Language-Team: Spanish \n" "Language: es\n" @@ -656,7 +656,7 @@ msgstr "Escala" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua msgid "Search" -msgstr "Búsqueda" +msgstr "Buscar" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" @@ -1678,7 +1678,7 @@ msgstr "Ejecutar" #: src/client/keycode.cpp msgid "Help" -msgstr "Ayudar" +msgstr "Ayuda" #: src/client/keycode.cpp msgid "Home" -- cgit v1.2.3 From d9caa1bd481a3c947628f3d35e5ef9550c043b52 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sun, 9 Jan 2022 20:23:00 +0000 Subject: Translated using Weblate (French) Currently translated at 100.0% (1415 of 1415 strings) --- po/fr/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/fr/minetest.po b/po/fr/minetest.po index 774cee01f..f9bc539f4 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-09 17:50+0000\n" -"Last-Translator: waxtatect \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: AFCMS \n" "Language-Team: French \n" "Language: fr\n" @@ -1294,7 +1294,7 @@ msgstr "" #: src/client/game.cpp msgid "Change Password" -msgstr "Changer de mot de passe" +msgstr "Changer le mot de passe" #: src/client/game.cpp msgid "Cinematic mode disabled" -- cgit v1.2.3 From d4746b349de550ccfa37dc8435e4edd5e66a6f7b Mon Sep 17 00:00:00 2001 From: Muhammad Rifqi Priyo Susanto Date: Sat, 8 Jan 2022 07:00:56 +0000 Subject: Translated using Weblate (Indonesian) Currently translated at 100.0% (1415 of 1415 strings) --- po/id/minetest.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/po/id/minetest.po b/po/id/minetest.po index 460e71c4e..4b7208164 100644 --- a/po/id/minetest.po +++ b/po/id/minetest.po @@ -3,8 +3,9 @@ msgstr "" "Project-Id-Version: Indonesian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-13 00:52+0000\n" -"Last-Translator: Linerly \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: Muhammad Rifqi Priyo Susanto " +"\n" "Language-Team: Indonesian \n" "Language: id\n" @@ -12,7 +13,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1060,7 +1061,7 @@ msgstr "Garis Bentuk Nodus" #: builtin/mainmenu/tab_settings.lua msgid "None" -msgstr "Tidak ada" +msgstr "Tidak Ada" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" @@ -1286,7 +1287,7 @@ msgstr "Tidak bisa menampilkan batasan blok (butuh hak 'basic_debug')" #: src/client/game.cpp msgid "Change Password" -msgstr "Ganti kata sandi" +msgstr "Ganti Kata Sandi" #: src/client/game.cpp msgid "Cinematic mode disabled" @@ -1664,7 +1665,7 @@ msgstr "Execute" #: src/client/keycode.cpp msgid "Help" -msgstr "Help" +msgstr "Bantuan" #: src/client/keycode.cpp msgid "Home" -- cgit v1.2.3 From 1a98351212cc3c443ce3e4030e415326be91b508 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Mon, 10 Jan 2022 07:40:52 +0000 Subject: Translated using Weblate (Norwegian Bokmål) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 56.5% (800 of 1415 strings) --- po/nb/minetest.po | 60 +++++++++++++++++++++++++------------------------------ 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/po/nb/minetest.po b/po/nb/minetest.po index 9517ff9ed..66a74271d 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-10 07:37+0000\n" -"Last-Translator: Allan Nordhøy \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: Imre Kristoffer Eilertsen \n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" @@ -233,7 +233,7 @@ msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" -msgstr "" +msgstr "$1 av $2" #: builtin/mainmenu/dlg_contentstore.lua msgid "" @@ -322,17 +322,16 @@ msgid "No results" msgstr "Resultatløst" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "No updates" -msgstr "Oppdater" +msgstr "Ingen oppdateringer" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" -msgstr "" +msgstr "Ikke funnet" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" -msgstr "" +msgstr "Overskriv" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." @@ -340,7 +339,7 @@ msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" -msgstr "" +msgstr "Satt i kø" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" @@ -785,7 +784,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Om" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -900,9 +899,8 @@ msgid "No world created or selected!" msgstr "Ingen verden opprettet eller valgt!" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Password" -msgstr "Nytt passord" +msgstr "Passord" #: builtin/mainmenu/tab_local.lua msgid "Play Game" @@ -930,9 +928,8 @@ msgid "Start Game" msgstr "Start spill" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Adresse: " +msgstr "Adresse" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -957,9 +954,8 @@ msgid "Del. Favorite" msgstr "Slett favoritt" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Favoritt" +msgstr "Favoritter" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" @@ -980,7 +976,7 @@ msgstr "Annonseringstjener" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Oppdater" #: builtin/mainmenu/tab_online.lua #, fuzzy @@ -1042,15 +1038,15 @@ msgstr "Forseggjorte blader" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Høy" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Lav" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Medium" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1139,11 +1135,11 @@ msgstr "Trilineært filter" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Ultrahøy" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Veldig lav" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1505,9 +1501,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Enkeltspiller" +msgstr "Flerspiller" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -3358,7 +3353,7 @@ msgstr "Maks FPS når spillet ikke har fokus eller er pauset" #: src/settings_translation_file.cpp msgid "FSAA" -msgstr "" +msgstr "FSAA" #: src/settings_translation_file.cpp msgid "Factor noise" @@ -4147,7 +4142,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Iterations" -msgstr "" +msgstr "Ringer" #: src/settings_translation_file.cpp msgid "" @@ -4175,9 +4170,8 @@ msgid "Joystick frustum sensitivity" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick type" -msgstr "Spillstikketype" +msgstr "Kontrollertype" #: src/settings_translation_file.cpp msgid "" @@ -4915,7 +4909,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Language" -msgstr "" +msgstr "Språk" #: src/settings_translation_file.cpp msgid "Large cave depth" @@ -5552,7 +5546,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Network" -msgstr "" +msgstr "Nettverk" #: src/settings_translation_file.cpp msgid "" @@ -5767,7 +5761,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Profiling" -msgstr "" +msgstr "Profilering" #: src/settings_translation_file.cpp msgid "Prometheus listener address" @@ -5952,11 +5946,11 @@ msgstr "Mappe for skjermdumper" #: src/settings_translation_file.cpp msgid "Screenshot format" -msgstr "" +msgstr "Skjermklippformat" #: src/settings_translation_file.cpp msgid "Screenshot quality" -msgstr "" +msgstr "Skjermklippkvalitet" #: src/settings_translation_file.cpp msgid "" @@ -6730,7 +6724,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "VSync" -msgstr "" +msgstr "VSync" #: src/settings_translation_file.cpp msgid "Valley depth" -- cgit v1.2.3 From 620ba513756c40a82699211fb9f9c2c341cae0d1 Mon Sep 17 00:00:00 2001 From: Mikitko Date: Mon, 10 Jan 2022 07:48:18 +0000 Subject: Translated using Weblate (Russian) Currently translated at 98.5% (1394 of 1415 strings) --- po/ru/minetest.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index af69ebf19..4cc23842b 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-20 21:44+0000\n" -"Last-Translator: Stas Kies \n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"Last-Translator: Mikitko \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.10\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -654,7 +654,7 @@ msgstr "Масштаб" #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua msgid "Search" -msgstr "Искать" +msgstr "Поиск" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" @@ -1670,7 +1670,7 @@ msgstr "Выполнить" #: src/client/keycode.cpp msgid "Help" -msgstr "Справка" +msgstr "Помощь" #: src/client/keycode.cpp msgid "Home" -- cgit v1.2.3 From c6f3dcc0096bc71eeb23daddf143da23ebd72ddf Mon Sep 17 00:00:00 2001 From: "Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi" Date: Sat, 8 Jan 2022 18:04:00 +0000 Subject: Translated using Weblate (Malay (Jawi)) Currently translated at 65.3% (925 of 1415 strings) --- po/ms_Arab/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/ms_Arab/minetest.po b/po/ms_Arab/minetest.po index 5746ca478..d539aaba6 100644 --- a/po/ms_Arab/minetest.po +++ b/po/ms_Arab/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2020-10-20 18:26+0000\n" +"PO-Revision-Date: 2022-01-10 23:53+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" "Language-Team: Malay (Jawi) Date: Tue, 11 Jan 2022 18:19:17 +0000 Subject: Translated using Weblate (Polish) Currently translated at 69.8% (988 of 1415 strings) --- po/pl/minetest.po | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/po/pl/minetest.po b/po/pl/minetest.po index 8c8d2153c..b0daf2098 100644 --- a/po/pl/minetest.po +++ b/po/pl/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Polish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-10 23:53+0000\n" -"Last-Translator: Mateusz Mendel \n" +"PO-Revision-Date: 2022-01-12 18:52+0000\n" +"Last-Translator: Sebastian Jasiński \n" "Language-Team: Polish \n" "Language: pl\n" @@ -68,21 +68,18 @@ msgid "Available commands: " msgstr "Dostępne komendy: " #: builtin/common/chatcommands.lua -#, fuzzy msgid "Command not available: " -msgstr "Komenda nie jest dostępna: " +msgstr "Polecenie nie jest dostępne: " #: builtin/common/chatcommands.lua -#, fuzzy msgid "Get help for commands" -msgstr "Uzyskaj pomoc dotyczącą komend" +msgstr "Uzyskaj pomoc dotyczącą poleceń" #: builtin/common/chatcommands.lua -#, fuzzy msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" -"Użyj '.help ' aby uzyskać więcej informacji lub '.help all' aby " +"Użyj '.help ', aby uzyskać więcej informacji lub '.help all', aby " "wyświetlić wszystko." #: builtin/common/chatcommands.lua -- cgit v1.2.3 From c07aeb0075a4dd4bbe79003877c9c1fb053aaac3 Mon Sep 17 00:00:00 2001 From: pampogo kiraly Date: Thu, 13 Jan 2022 21:16:10 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 79.7% (1129 of 1415 strings) --- po/hu/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/hu/minetest.po b/po/hu/minetest.po index 659daa73c..68b765e7b 100644 --- a/po/hu/minetest.po +++ b/po/hu/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Hungarian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-07-27 23:16+0000\n" -"Last-Translator: Ács Zoltán \n" +"PO-Revision-Date: 2022-01-13 22:35+0000\n" +"Last-Translator: pampogo kiraly \n" "Language-Team: Hungarian \n" "Language: hu\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.10.1\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1291,7 +1291,7 @@ msgstr "" #: src/client/game.cpp msgid "Change Password" -msgstr "Jelszó változtatása" +msgstr "Jelszó Módosítása" #: src/client/game.cpp msgid "Cinematic mode disabled" -- cgit v1.2.3 From 0be76c0bf5cf6e6cda4845dce3b3496666d321ff Mon Sep 17 00:00:00 2001 From: Kisbenedek Márton Date: Fri, 14 Jan 2022 21:45:19 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 79.9% (1131 of 1415 strings) --- po/hu/minetest.po | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/po/hu/minetest.po b/po/hu/minetest.po index 68b765e7b..14cd6c562 100644 --- a/po/hu/minetest.po +++ b/po/hu/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Hungarian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-13 22:35+0000\n" -"Last-Translator: pampogo kiraly \n" +"PO-Revision-Date: 2022-01-16 02:52+0000\n" +"Last-Translator: Kisbenedek Márton \n" "Language-Team: Hungarian \n" "Language: hu\n" @@ -1170,9 +1170,8 @@ msgid "Connection error (timed out?)" msgstr "Kapcsolódási hiba (időtúllépés?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Nem található vagy nem betölthető a játék" +msgstr "Nem található vagy nem betölthető a játék: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -2124,9 +2123,9 @@ msgid "Muted" msgstr "Némitva" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Hangerő: " +msgstr "Hangerő: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. -- cgit v1.2.3 From f1ac573e9a04889fe5c646196a74028970bf852e Mon Sep 17 00:00:00 2001 From: Yiu Man Ho Date: Sat, 15 Jan 2022 02:40:18 +0000 Subject: Translated using Weblate (Chinese (Traditional)) Currently translated at 79.9% (1131 of 1415 strings) --- po/zh_TW/minetest.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/zh_TW/minetest.po b/po/zh_TW/minetest.po index b4e06327c..ade27bc78 100644 --- a/po/zh_TW/minetest.po +++ b/po/zh_TW/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Traditional) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-24 07:50+0000\n" -"Last-Translator: pesder \n" +"PO-Revision-Date: 2022-01-16 02:52+0000\n" +"Last-Translator: Yiu Man Ho \n" "Language-Team: Chinese (Traditional) \n" "Language: zh_TW\n" @@ -874,7 +874,7 @@ msgstr "從 ContentDB 安裝遊戲" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Name" -msgstr "名稱" +msgstr "名字" #: builtin/mainmenu/tab_local.lua msgid "New" -- cgit v1.2.3 From 6c3c2b3f921caf5d1525d57a5ace9e4ed579d79c Mon Sep 17 00:00:00 2001 From: Mehmet Ali <2045uuttb@relay.firefox.com> Date: Sun, 16 Jan 2022 11:47:06 +0000 Subject: Translated using Weblate (Turkish) Currently translated at 98.6% (1396 of 1415 strings) --- po/tr/minetest.po | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/po/tr/minetest.po b/po/tr/minetest.po index 15f712739..ea9181f07 100644 --- a/po/tr/minetest.po +++ b/po/tr/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Turkish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-12-02 01:31+0000\n" -"Last-Translator: Oğuz Ersen \n" +"PO-Revision-Date: 2022-01-22 11:52+0000\n" +"Last-Translator: Mehmet Ali <2045uuttb@relay.firefox.com>\n" "Language-Team: Turkish \n" "Language: tr\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -90,9 +90,8 @@ msgid "OK" msgstr "Tamam" #: builtin/fstk/ui.lua -#, fuzzy msgid "" -msgstr "Komut kullanılamıyor: " +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -343,7 +342,7 @@ msgstr "Kaldır" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update" -msgstr "Güncelle" +msgstr "Güncelleme" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" @@ -1240,9 +1239,8 @@ msgid "- Server Name: " msgstr "- Sunucu Adı: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Bir hata oluştu:" +msgstr "Serileştirme hatası oluştu:" #: src/client/game.cpp #, c-format -- cgit v1.2.3 From 7a8efa7f4f38b13bcc9f862fc9dfa4047ad37fec Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 19 Jan 2022 22:04:53 +0000 Subject: Translated using Weblate (German) Currently translated at 100.0% (1415 of 1415 strings) --- po/de/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/de/minetest.po b/po/de/minetest.po index acc182e43..42a583a17 100644 --- a/po/de/minetest.po +++ b/po/de/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: German (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-10 23:53+0000\n" -"Last-Translator: debiankaios \n" +"PO-Revision-Date: 2022-01-19 22:55+0000\n" +"Last-Translator: Wuzzy \n" "Language-Team: German \n" "Language: de\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1065,7 +1065,7 @@ msgstr "Blöcke umranden" #: builtin/mainmenu/tab_settings.lua msgid "None" -msgstr "keine" +msgstr "Keine" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" -- cgit v1.2.3 From 319c4d127446d806d6a406ef3167a12434fa5092 Mon Sep 17 00:00:00 2001 From: Gao Tiesuan Date: Thu, 20 Jan 2022 12:50:53 +0100 Subject: Added translation using Weblate (Chinese (Literary)) --- po/lzh/minetest.po | 6634 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 6634 insertions(+) create mode 100644 po/lzh/minetest.po diff --git a/po/lzh/minetest.po b/po/lzh/minetest.po new file mode 100644 index 000000000..a696bc286 --- /dev/null +++ b/po/lzh/minetest.po @@ -0,0 +1,6634 @@ +# 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: 2021-11-27 19:42+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: lzh\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: builtin/client/chatcommands.lua +msgid "Issued command: " +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Empty command." +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Invalid command: " +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "List online players" +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "This command is disabled by server." +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Online players: " +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Exit to main menu" +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "Clear the out chat queue" +msgstr "" + +#: builtin/client/chatcommands.lua +msgid "The out chat queue is now empty." +msgstr "" + +#: builtin/client/death_formspec.lua src/client/game.cpp +msgid "You died" +msgstr "" + +#: builtin/client/death_formspec.lua src/client/game.cpp +msgid "Respawn" +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Available commands: " +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "" +"Use '.help ' to get more information, or '.help all' to list everything." +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Available commands:" +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Command not available: " +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "[all | ]" +msgstr "" + +#: builtin/common/chatcommands.lua +msgid "Get help for commands" +msgstr "" + +#: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp +msgid "OK" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "The server has requested a reconnect:" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "Reconnect" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "Main menu" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "An error occurred in a Lua script:" +msgstr "" + +#: builtin/fstk/ui.lua +msgid "An error occurred:" +msgstr "" + +#: builtin/mainmenu/common.lua +msgid "Server supports protocol versions between $1 and $2. " +msgstr "" + +#: 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 "" + +#: builtin/mainmenu/common.lua +msgid "We only support protocol version $1." +msgstr "" + +#: builtin/mainmenu/common.lua +msgid "Protocol version mismatch. " +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "World:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No modpack description provided." +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No game description provided." +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Mod:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No (optional) dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No hard dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua +msgid "Optional dependencies:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/tab_content.lua +msgid "Dependencies:" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "No optional dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +#: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp +msgid "Save" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_create_world.lua +#: builtin/mainmenu/dlg_delete_content.lua +#: builtin/mainmenu/dlg_delete_world.lua +#: builtin/mainmenu/dlg_rename_modpack.lua +#: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp +#: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp +#: src/gui/guiPasswordChange.cpp +msgid "Cancel" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Find More Mods" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Disable modpack" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Enable modpack" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "enabled" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Disable all" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "Enable all" +msgstr "" + +#: builtin/mainmenu/dlg_config_world.lua +msgid "" +"Failed to enable mod \"$1\" as it contains disallowed characters. Only " +"characters [a-z0-9_] are allowed." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "ContentDB is not available when Minetest was compiled without cURL" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "All packages" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Games" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Mods" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Texture packs" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Failed to download $1" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install: Unsupported file type or broken archive" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Already installed" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 by $2" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Not found" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 and $2 dependencies will be installed." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 will be installed, and $2 dependencies will be skipped." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 required dependencies could not be found." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Please check that the base game is correct." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install $1" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Base Game:" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install missing dependencies" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Install" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "\"$1\" already exists. Would you like to overwrite it?" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Overwrite" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Back to Main Menu" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "" +"$1 downloading,\n" +"$2 queued" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "$1 downloading..." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "No updates" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Update All [$1]" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "No results" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "No packages could be retrieved" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Downloading..." +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Queued" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Update" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "Uninstall" +msgstr "" + +#: builtin/mainmenu/dlg_contentstore.lua +msgid "View more information in a web browser" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Caverns" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Very large caverns deep in the underground" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Sea level rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Mountains" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Floatlands (experimental)" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Floating landmasses in the sky" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Altitude chill" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Reduces heat with altitude" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Altitude dry" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Reduces humidity with altitude" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Humid rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Increases humidity around rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Vary river depth" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Low humidity and high heat causes shallow or dry rivers" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Hills" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Lakes" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Additional terrain" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Generate non-fractal terrain: Oceans and underground" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Trees and jungle grass" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Flat terrain" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Mud flow" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Terrain surface erosion" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Temperate, Desert, Jungle, Tundra, Taiga" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Temperate, Desert, Jungle" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Temperate, Desert" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "You have no games installed." +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Download one from minetest.net" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Caves" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Dungeons" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Decorations" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "" +"Structures appearing on the terrain (no effect on trees and jungle grass " +"created by v6)" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Structures appearing on the terrain, typically trees and plants" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Network of tunnels and caves" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Biomes" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Biome blending" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Smooth transition between biomes" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen flags" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Mapgen-specific flags" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Warning: The Development Test is meant for developers." +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Download a game, such as Minetest Game, from minetest.net" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "World name" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Seed" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Game" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Create" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "A world named \"$1\" already exists" +msgstr "" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "No game selected" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +msgid "Are you sure you want to delete \"$1\"?" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +#: builtin/mainmenu/dlg_delete_world.lua builtin/mainmenu/tab_local.lua +#: src/client/keycode.cpp +msgid "Delete" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +msgid "pkgmgr: failed to delete \"$1\"" +msgstr "" + +#: builtin/mainmenu/dlg_delete_content.lua +msgid "pkgmgr: invalid path \"$1\"" +msgstr "" + +#: builtin/mainmenu/dlg_delete_world.lua +msgid "Delete World \"$1\"?" +msgstr "" + +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "Accept" +msgstr "" + +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "" +"This modpack has an explicit name given in its modpack.conf which will " +"override any renaming here." +msgstr "" + +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "Rename Modpack:" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua +msgid "Disabled" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Enabled" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Browse" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Offset" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Scale" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "X spread" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Y spread" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "2D Noise" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Z spread" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Octaves" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Persistence" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Lacunarity" +msgstr "" + +#. ~ "defaults" is a noise parameter flag. +#. It describes the default processing options +#. for noise settings in main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "defaults" +msgstr "" + +#. ~ "eased" is a noise parameter flag. +#. It is used to make the map smoother and +#. can be enabled in noise settings in +#. main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "eased" +msgstr "" + +#. ~ "absvalue" is a noise parameter flag. +#. It is short for "absolute value". +#. It can be enabled in noise settings in +#. main menu -> "All Settings". +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "absvalue" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "X" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Y" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Z" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "(No description of setting given)" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Please enter a valid integer." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "The value must be at least $1." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "The value must not be larger than $1." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Please enter a valid number." +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Select directory" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Select file" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua +msgid "Search" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "< Back to Settings page" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Edit" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Restore Default" +msgstr "" + +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Show technical names" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "$1 (Enabled)" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a $1 as a texture pack" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Failed to install $1 to $2" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to find a valid mod or modpack" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a modpack as a $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Install Mod: Unable to find suitable folder name for modpack $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a mod as a $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Install Mod: Unable to find real mod name for: $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "Unable to install a game as a $1" +msgstr "" + +#: builtin/mainmenu/pkgmgr.lua +msgid "$1 mods" +msgstr "" + +#: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp +msgid "Loading..." +msgstr "" + +#: builtin/mainmenu/serverlistmgr.lua +msgid "Try reenabling public serverlist and check your internet connection." +msgstr "" + +#: builtin/mainmenu/serverlistmgr.lua +msgid "Public server list is disabled" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "About" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Core Developers" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Active Contributors" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Previous Core Developers" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Previous Contributors" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Active renderer:" +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "" +"Opens the directory that contains user-provided worlds, games, mods,\n" +"and texture packs in a file manager / explorer." +msgstr "" + +#: builtin/mainmenu/tab_about.lua +msgid "Open User Data Directory" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Installed Packages:" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Browse online content" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "No package description available" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Rename" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "No dependencies." +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Disable Texture Pack" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Use Texture Pack" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Information:" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Uninstall Package" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Content" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Install games from ContentDB" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Creative Mode" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Enable Damage" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Host Server" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Select Mods" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "New" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Select World:" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Host Game" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Announce Server" +msgstr "" + +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Name" +msgstr "" + +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Password" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Bind Address" +msgstr "" + +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Port" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Server Port" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Play Game" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "No world created or selected!" +msgstr "" + +#: builtin/mainmenu/tab_local.lua +msgid "Start Game" +msgstr "" + +#: builtin/mainmenu/tab_online.lua src/client/keycode.cpp +msgid "Clear" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Refresh" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Address" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Server Description" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Connect" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Del. Favorite" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Ping" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Creative mode" +msgstr "" + +#. ~ PvP = Player versus Player +#: builtin/mainmenu/tab_online.lua +msgid "Damage / PvP" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Favorites" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Public Servers" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Incompatible Servers" +msgstr "" + +#: builtin/mainmenu/tab_online.lua +msgid "Join Game" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Opaque Leaves" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Simple Leaves" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Fancy Leaves" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Node Outlining" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Node Highlighting" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "None" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "No Filter" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Bilinear Filter" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Trilinear Filter" +msgstr "" + +#: 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 +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 "Very Low" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Low" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Medium" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "High" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Ultra High" +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 +msgid "Screen:" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Autosave Screen Size" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Shaders" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Shaders (experimental)" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Shaders (unavailable)" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/client/game.cpp +msgid "Change Keys" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "All Settings" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Touchthreshold: (px)" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Tone Mapping" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Waving Liquids" +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 "Dynamic shadows: " +msgstr "" + +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Dynamic shadows" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Settings" +msgstr "" + +#: src/client/client.cpp src/client/game.cpp +msgid "Connection timed out." +msgstr "" + +#: src/client/client.cpp +msgid "Loading textures..." +msgstr "" + +#: src/client/client.cpp +msgid "Rebuilding shaders..." +msgstr "" + +#: src/client/client.cpp +msgid "Initializing nodes..." +msgstr "" + +#: src/client/client.cpp +msgid "Initializing nodes" +msgstr "" + +#: src/client/client.cpp +msgid "Done!" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Main Menu" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Connection error (timed out?)" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Provided password file failed to open: " +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Please choose a name!" +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Player name too long." +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "No world selected and no address provided. Nothing to do." +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Provided world path doesn't exist: " +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Could not find or load game: " +msgstr "" + +#: src/client/clientlauncher.cpp +msgid "Invalid gamespec." +msgstr "" + +#: src/client/game.cpp +msgid "Shutting down..." +msgstr "" + +#: src/client/game.cpp +msgid "Creating server..." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Creating client..." +msgstr "" + +#: src/client/game.cpp +msgid "Connection failed for unknown reason" +msgstr "" + +#: src/client/game.cpp +msgid "Singleplayer" +msgstr "" + +#: src/client/game.cpp +msgid "Multiplayer" +msgstr "" + +#: src/client/game.cpp +msgid "Resolving address..." +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Couldn't resolve address: %s" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Access denied. Reason: %s" +msgstr "" + +#: src/client/game.cpp +msgid "Connecting to server..." +msgstr "" + +#: src/client/game.cpp +msgid "Client disconnected" +msgstr "" + +#: src/client/game.cpp +msgid "Item definitions..." +msgstr "" + +#: src/client/game.cpp +msgid "Node definitions..." +msgstr "" + +#: src/client/game.cpp +msgid "Media..." +msgstr "" + +#: src/client/game.cpp +msgid "KiB/s" +msgstr "" + +#: src/client/game.cpp +msgid "MiB/s" +msgstr "" + +#: src/client/game.cpp +msgid "Client side scripting is disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Sound muted" +msgstr "" + +#: src/client/game.cpp +msgid "Sound unmuted" +msgstr "" + +#: src/client/game.cpp +msgid "Sound system is disabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Volume changed to %d%%" +msgstr "" + +#: src/client/game.cpp +msgid "Sound system is not supported on this build" +msgstr "" + +#: src/client/game.cpp +msgid "ok" +msgstr "" + +#: src/client/game.cpp +msgid "Fly mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fly mode enabled (note: no 'fly' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Fly mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Pitch move mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Pitch move mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fast mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fast mode enabled (note: no 'fast' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Fast mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Noclip mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Noclip mode enabled (note: no 'noclip' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Noclip mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Cinematic mode enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Cinematic mode disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for current block" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for nearby blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Block bounds shown for all blocks" +msgstr "" + +#: src/client/game.cpp +msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgstr "" + +#: src/client/game.cpp +msgid "Automatic forward enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Automatic forward disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Minimap currently disabled by game or mod" +msgstr "" + +#: src/client/game.cpp +msgid "Fog disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Fog enabled" +msgstr "" + +#: src/client/game.cpp +msgid "Debug info shown" +msgstr "" + +#: src/client/game.cpp +msgid "Profiler graph shown" +msgstr "" + +#: src/client/game.cpp +msgid "Wireframe shown" +msgstr "" + +#: src/client/game.cpp +msgid "Debug info, profiler graph, and wireframe hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Debug info and profiler graph hidden" +msgstr "" + +#: src/client/game.cpp +msgid "Camera update disabled" +msgstr "" + +#: src/client/game.cpp +msgid "Camera update enabled" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range is at maximum: %d" +msgstr "" + +#: src/client/game.cpp src/unittest/test_gettext.cpp +#, c-format +msgid "Viewing range changed to %d" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "Viewing range is at minimum: %d" +msgstr "" + +#: src/client/game.cpp +msgid "Enabled unlimited viewing range" +msgstr "" + +#: src/client/game.cpp +msgid "Disabled unlimited viewing range" +msgstr "" + +#: src/client/game.cpp +msgid "Zoom currently disabled by game or mod" +msgstr "" + +#: src/client/game.cpp +msgid "" +"Default Controls:\n" +"No menu visible:\n" +"- single tap: button activate\n" +"- double tap: place/use\n" +"- slide finger: look around\n" +"Menu/Inventory visible:\n" +"- double tap (outside):\n" +" -->close\n" +"- touch stack, touch slot:\n" +" --> move stack\n" +"- touch&drag, tap 2nd finger\n" +" --> place single item to slot\n" +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "" +"Controls:\n" +"- %s: move forwards\n" +"- %s: move backwards\n" +"- %s: move left\n" +"- %s: move right\n" +"- %s: jump/climb up\n" +"- %s: dig/punch\n" +"- %s: place/use\n" +"- %s: sneak/climb down\n" +"- %s: drop item\n" +"- %s: inventory\n" +"- Mouse: turn/look\n" +"- Mouse wheel: select item\n" +"- %s: chat\n" +msgstr "" + +#: src/client/game.cpp +msgid "Continue" +msgstr "" + +#: src/client/game.cpp +msgid "Change Password" +msgstr "" + +#: src/client/game.cpp +msgid "Game paused" +msgstr "" + +#: src/client/game.cpp +msgid "Sound Volume" +msgstr "" + +#: src/client/game.cpp +msgid "Exit to Menu" +msgstr "" + +#: src/client/game.cpp +msgid "Exit to OS" +msgstr "" + +#: src/client/game.cpp +msgid "Game info:" +msgstr "" + +#: src/client/game.cpp +msgid "- Mode: " +msgstr "" + +#: src/client/game.cpp +msgid "Remote server" +msgstr "" + +#: src/client/game.cpp +msgid "- Address: " +msgstr "" + +#: src/client/game.cpp +msgid "Hosting server" +msgstr "" + +#: src/client/game.cpp +msgid "- Port: " +msgstr "" + +#: src/client/game.cpp +msgid "On" +msgstr "" + +#: src/client/game.cpp +msgid "Off" +msgstr "" + +#: src/client/game.cpp +msgid "- Damage: " +msgstr "" + +#: src/client/game.cpp +msgid "- Creative Mode: " +msgstr "" + +#. ~ PvP = Player versus Player +#: src/client/game.cpp +msgid "- PvP: " +msgstr "" + +#: src/client/game.cpp +msgid "- Public: " +msgstr "" + +#: src/client/game.cpp +msgid "- Server Name: " +msgstr "" + +#: src/client/game.cpp +#, c-format +msgid "The server is probably running a different version of %s." +msgstr "" + +#: src/client/game.cpp +msgid "A serialization error occurred:" +msgstr "" + +#: src/client/game.cpp +msgid "" +"\n" +"Check debug.txt for details." +msgstr "" + +#: src/client/gameui.cpp +msgid "Chat shown" +msgstr "" + +#: src/client/gameui.cpp +msgid "Chat hidden" +msgstr "" + +#: src/client/gameui.cpp +msgid "HUD shown" +msgstr "" + +#: src/client/gameui.cpp +msgid "HUD hidden" +msgstr "" + +#: src/client/gameui.cpp +#, c-format +msgid "Profiler shown (page %d of %d)" +msgstr "" + +#: src/client/gameui.cpp +msgid "Profiler hidden" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Button" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Button" +msgstr "" + +#: src/client/keycode.cpp +msgid "Middle Button" +msgstr "" + +#: src/client/keycode.cpp +msgid "X Button 1" +msgstr "" + +#: src/client/keycode.cpp +msgid "X Button 2" +msgstr "" + +#: src/client/keycode.cpp +msgid "Backspace" +msgstr "" + +#: src/client/keycode.cpp +msgid "Tab" +msgstr "" + +#: src/client/keycode.cpp +msgid "Return" +msgstr "" + +#: src/client/keycode.cpp +msgid "Shift" +msgstr "" + +#: src/client/keycode.cpp +msgid "Control" +msgstr "" + +#. ~ Key name, common on Windows keyboards +#: src/client/keycode.cpp +msgid "Menu" +msgstr "" + +#: src/client/keycode.cpp +msgid "Pause" +msgstr "" + +#: src/client/keycode.cpp +msgid "Caps Lock" +msgstr "" + +#: src/client/keycode.cpp +msgid "Space" +msgstr "" + +#: src/client/keycode.cpp +msgid "Page up" +msgstr "" + +#: src/client/keycode.cpp +msgid "Page down" +msgstr "" + +#: src/client/keycode.cpp +msgid "End" +msgstr "" + +#: src/client/keycode.cpp +msgid "Home" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Left" +msgstr "" + +#: src/client/keycode.cpp +msgid "Up" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Right" +msgstr "" + +#: src/client/keycode.cpp +msgid "Down" +msgstr "" + +#. ~ Key name +#: src/client/keycode.cpp +msgid "Select" +msgstr "" + +#. ~ "Print screen" key +#: src/client/keycode.cpp +msgid "Print" +msgstr "" + +#: src/client/keycode.cpp +msgid "Execute" +msgstr "" + +#: src/client/keycode.cpp +msgid "Snapshot" +msgstr "" + +#: src/client/keycode.cpp +msgid "Insert" +msgstr "" + +#: src/client/keycode.cpp +msgid "Help" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Windows" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Windows" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 0" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 1" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 2" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 3" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 4" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 5" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 6" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 7" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 8" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad 9" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad *" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad +" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad ." +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad -" +msgstr "" + +#: src/client/keycode.cpp +msgid "Numpad /" +msgstr "" + +#: src/client/keycode.cpp +msgid "Num Lock" +msgstr "" + +#: src/client/keycode.cpp +msgid "Scroll Lock" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Shift" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Shift" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Control" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Control" +msgstr "" + +#: src/client/keycode.cpp +msgid "Left Menu" +msgstr "" + +#: src/client/keycode.cpp +msgid "Right Menu" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Escape" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Convert" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Nonconvert" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Accept" +msgstr "" + +#: src/client/keycode.cpp +msgid "IME Mode Change" +msgstr "" + +#: src/client/keycode.cpp +msgid "Apps" +msgstr "" + +#: src/client/keycode.cpp +msgid "Sleep" +msgstr "" + +#: src/client/keycode.cpp +msgid "Erase EOF" +msgstr "" + +#: src/client/keycode.cpp +msgid "Play" +msgstr "" + +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Zoom" +msgstr "" + +#: src/client/keycode.cpp +msgid "OEM Clear" +msgstr "" + +#: src/client/minimap.cpp +msgid "Minimap hidden" +msgstr "" + +#: src/client/minimap.cpp +#, c-format +msgid "Minimap in surface mode, Zoom x%d" +msgstr "" + +#: src/client/minimap.cpp +#, c-format +msgid "Minimap in radar mode, Zoom x%d" +msgstr "" + +#: src/client/minimap.cpp +msgid "Minimap in texture mode" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Opening webpage" +msgstr "" + +#: src/gui/guiChatConsole.cpp +msgid "Failed to open webpage" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#, c-format +msgid "" +"You are about to join this server with the name \"%s\" for the first time.\n" +"If you proceed, a new account using your credentials will be created on this " +"server.\n" +"Please retype your password and click 'Register and Join' to confirm account " +"creation, or click 'Cancel' to abort." +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp +msgid "Register and Join" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp +msgid "Passwords do not match!" +msgstr "" + +#: src/gui/guiFormSpecMenu.cpp +msgid "Proceed" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "\"Aux1\" = climb down" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Double tap \"jump\" to toggle fly" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp +msgid "Automatic jumping" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Key already in use" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "press key" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Forward" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Backward" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Aux1" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Jump" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Sneak" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Drop" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Inventory" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Prev. item" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Next item" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Change camera" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle minimap" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle fly" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle pitchmove" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle fast" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle noclip" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Mute" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Dec. volume" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Inc. volume" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Autoforward" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Chat" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp +msgid "Screenshot" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Range select" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Dec. range" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Inc. range" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Console" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Command" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Local command" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Block bounds" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle HUD" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle chat log" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Toggle fog" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "Old Password" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "New Password" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "Confirm Password" +msgstr "" + +#: src/gui/guiPasswordChange.cpp +msgid "Change" +msgstr "" + +#: src/gui/guiVolumeChange.cpp +#, c-format +msgid "Sound Volume: %d%%" +msgstr "" + +#: src/gui/guiVolumeChange.cpp +msgid "Exit" +msgstr "" + +#: src/gui/guiVolumeChange.cpp +msgid "Muted" +msgstr "" + +#. ~ Imperative, as in "Enter/type in text". +#. Don't forget the space. +#: src/gui/modalMenu.cpp +msgid "Enter " +msgstr "" + +#. ~ DO NOT TRANSLATE THIS LITERALLY! +#. This is a special string which needs to contain the translation's +#. language code (e.g. "de" for German). +#: src/network/clientpackethandler.cpp src/script/lua_api/l_client.cpp +msgid "LANG_CODE" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Build inside player" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled, you can place blocks at the position (feet + eye level) where " +"you stand.\n" +"This is helpful when working with nodeboxes in small areas." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Flying" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Player is able to fly without being affected by gravity.\n" +"This requires the \"fly\" privilege on the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Pitch move mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled, makes move directions relative to the player's pitch when flying " +"or swimming." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast movement" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Fast movement (via the \"Aux1\" key).\n" +"This requires the \"fast\" privilege on the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noclip" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled together with fly mode, player is able to fly through solid " +"nodes.\n" +"This requires the \"noclip\" privilege on the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cinematic mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Smooths camera when looking around. Also called look or mouse smoothing.\n" +"Useful for recording videos." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Camera smoothing" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Smooths rotation of camera. 0 to disable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Camera smoothing in cinematic mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Smooths rotation of camera in cinematic mode. 0 to disable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Invert mouse" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Invert vertical mouse movement." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mouse sensitivity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mouse sensitivity multiplier." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Aux1 key for climbing/descending" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " +"and\n" +"descending." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Double tap jump for fly" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Double-tapping the jump key toggles fly mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Always fly and fast" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" +"enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Place repetition interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The time in seconds it takes between repeated node placements when holding\n" +"the place button." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Automatically jump up single-node obstacles." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Safe digging and placing" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Prevent digging and placing from repeating when holding the mouse buttons.\n" +"Enable this when you dig or place too often by accident." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Random input" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable random user input (only used for testing)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Continuous forward" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Continuous forward movement, toggled by autoforward key.\n" +"Press the autoforward key again or the backwards movement to disable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Touch screen threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The length in pixels it takes for touch screen interaction to start." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fixed virtual joystick" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(Android) Fixes the position of virtual joystick.\n" +"If disabled, virtual joystick will center to first-touch's position." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Virtual joystick triggers Aux1 button" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(Android) Use virtual joystick to trigger \"Aux1\" button.\n" +"If enabled, virtual joystick will also tap \"Aux1\" button when out of main " +"circle." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable joysticks" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick ID" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The identifier of the joystick to use" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick type" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The type of joystick" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick button repetition interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The time in seconds it takes between repeated events\n" +"when holding down a joystick button combination." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick dead zone" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The dead zone of the joystick" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Joystick frustum sensitivity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The sensitivity of the joystick axes for moving the\n" +"in-game view frustum around." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Forward key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player forward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Backward key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player backward.\n" +"Will also disable autoforward, when active.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Left key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player left.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Right key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving the player right.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Jump key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for jumping.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sneak key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for sneaking.\n" +"Also used for climbing down and descending in water if aux1_descends is " +"disabled.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dig key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for digging.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Place key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for placing.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Inventory key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the inventory.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Aux1 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for moving fast in fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the chat window.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Command key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the chat window to type commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for opening the chat window to type local commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Range select key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling unlimited view range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fly key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling flying.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Pitch move key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling pitch move mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noclip key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling noclip mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar next key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the next item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar previous key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the previous item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mute key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for muting the game.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Inc. volume key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for increasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dec. volume key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for decreasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Automatic forward key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling autoforward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cinematic mode key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling cinematic mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimap key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling display of minimap.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for taking screenshots.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Drop item key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for dropping the currently selected item.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View zoom key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key to use view zoom when possible.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 1 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the first hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 2 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the second hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 3 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the third hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 4 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the fourth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 5 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the fifth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 6 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the sixth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 7 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the seventh hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 8 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the eighth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 9 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the ninth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 10 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the tenth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 11 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 11th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 12 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 12th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 13 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 13th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 14 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 14th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 15 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 15th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 16 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 16th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 17 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 17th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 18 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 18th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 19 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 19th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 20 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 20th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 21 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 21st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 22 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 22nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 23 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 23rd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 24 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 24th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 25 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 25th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 26 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 26th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 27 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 27th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 28 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 28th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 29 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 29th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 30 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 30th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 31 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 31st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hotbar slot 32 key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for selecting the 32nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "HUD toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of the HUD.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of chat.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large chat console key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of the large chat console.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fog toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of fog.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Camera update toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the camera update. Only used for development\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Debug info toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of debug info.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Profiler toggle key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for toggling the display of the profiler. Used for development.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Toggle camera mode key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for switching between first- and third-person camera.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View range increase key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for increasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View range decrease key" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Key for decreasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Graphics" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-Game" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Basic" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Show name tag backgrounds by default" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether name tag backgrounds should be shown by default.\n" +"Mods may still set a background." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "VBO" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable vertex buffer objects.\n" +"This should greatly improve graphics performance." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fog" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Whether to fog out the end of the visible area." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Leaves style" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Leaves style:\n" +"- Fancy: all faces visible\n" +"- Simple: only outer faces, if defined special_tiles are used\n" +"- Opaque: disable transparency" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Connect glass" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Connects glass if supported by node." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Smooth lighting" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable smooth lighting with simple ambient occlusion.\n" +"Disable for speed or for different looks." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clouds" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clouds are a client side effect." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D clouds" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use 3D cloud look instead of flat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Node highlighting" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Method used to highlight selected object." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Digging particles" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Adds particles when digging a node." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mipmapping" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Use mipmapping to scale textures. May slightly increase performance,\n" +"especially when using a high resolution texture pack.\n" +"Gamma correct downscaling is not supported." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Anisotropic filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use anisotropic filtering when viewing at textures from an angle." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bilinear filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use bilinear filtering when scaling textures." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Trilinear filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use trilinear filtering when scaling textures." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clean transparent textures" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Filtered textures can blend RGB values with fully-transparent neighbors,\n" +"which PNG optimizers usually discard, often resulting in dark or\n" +"light edges to transparent textures. Apply a filter to clean that up\n" +"at texture load time. This is automatically enabled if mipmapping is enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimum texture size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" +"can be blurred, so automatically upscale them with nearest-neighbor\n" +"interpolation to preserve crisp pixels. This sets the minimum texture size\n" +"for the upscaled textures; higher values look sharper, but require more\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" +"bilinear/trilinear/anisotropic filtering is enabled.\n" +"This is also used as the base node texture size for world-aligned\n" +"texture autoscaling." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "FSAA" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Use multi-sample antialiasing (MSAA) to smooth out block edges.\n" +"This algorithm smooths out the 3D viewport while keeping the image sharp,\n" +"but it doesn't affect the insides of textures\n" +"(which is especially noticeable with transparent textures).\n" +"Visible spaces appear between nodes when shaders are disabled.\n" +"If set to 0, MSAA is disabled.\n" +"A restart is required after changing this option." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Undersampling" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Undersampling is similar to using a lower screen resolution, but it applies\n" +"to the game world only, keeping the GUI intact.\n" +"It should give a significant performance boost at the cost of less detailed " +"image.\n" +"Higher values result in a less detailed image." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Shaders allow advanced visual effects and may increase performance on some " +"video\n" +"cards.\n" +"This only works with the OpenGL video backend." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shader path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to shader directory. If no path is defined, default location will be " +"used." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Filmic tone mapping" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enables Hable's 'Uncharted 2' filmic tone mapping.\n" +"Simulates the tone curve of photographic film and how this approximates the\n" +"appearance of high dynamic range images. Mid-range contrast is slightly\n" +"enhanced, highlights and shadows are gradually compressed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving Nodes" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable waving liquids (like water).\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids wave height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The maximum height of the surface of waving liquids.\n" +"4.0 = Wave height is two nodes.\n" +"0.0 = Wave doesn't move at all.\n" +"Default is 1.0 (1/2 node).\n" +"Requires waving liquids to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids wavelength" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Length of liquid waves.\n" +"Requires waving liquids to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving liquids wave speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"How fast liquid waves will move. Higher = faster.\n" +"If negative, liquid waves will move backwards.\n" +"Requires waving liquids to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving leaves" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable waving leaves.\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Waving plants" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable waving plants.\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set to true to enable Shadow Mapping.\n" +"Requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow strength" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the shadow strength.\n" +"Lower value means lighter shadows, higher value means darker shadows." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow map max distance in nodes to render shadows" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum distance to render shadows." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow map texture size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Texture size to render the shadow map on.\n" +"This must be a power of two.\n" +"Bigger numbers create better shadows but it is also more expensive." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow map texture in 32 bits" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Sets shadow texture quality to 32 bits.\n" +"On false, 16 bits texture will be used.\n" +"This can cause much more artifacts in the shadow." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Poisson filtering" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shadow filter quality" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" +"but also uses more resources." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Colored shadows" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable colored shadows.\n" +"On true translucent nodes cast colored shadows. This is expensive." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map shadows update frames" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Soft shadow radius" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the soft shadow radius size.\n" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sky Body Orbit Tilt" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Set the tilt of Sun/Moon orbit in degrees.\n" +"Value of 0 means no tilt / vertical orbit.\n" +"Minimum value: 0.0; maximum value: 60.0" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Advanced" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Arm inertia" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Arm inertia, gives a more realistic movement of\n" +"the arm when the camera moves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum FPS" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If FPS would go higher than this, limit it by sleeping\n" +"to not waste CPU power for no benefit." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "FPS when unfocused or paused" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum FPS when the window is not focused, or when the game is paused." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Pause on lost window focus" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Open the pause menu when the window's focus is lost. Does not pause if a " +"formspec is\n" +"open." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Viewing range" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View distance in nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Near plane" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" +"Only works on GLES platforms. Most users will not need to change this.\n" +"Increasing can reduce artifacting on weaker GPUs.\n" +"0.1 = Default, 0.25 = Good value for weaker tablets." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screen width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Width component of the initial window size. Ignored in fullscreen mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screen height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Height component of the initial window size. Ignored in fullscreen mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Autosave screen size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Save window size automatically when modified." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Full screen" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fullscreen mode." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "VSync" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Vertical screen synchronization." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Field of view" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Field of view in degrees." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve gamma" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Alters the light curve by applying 'gamma correction' to it.\n" +"Higher values make middle and lower light levels brighter.\n" +"Value '1.0' leaves the light curve unaltered.\n" +"This only has significant effect on daylight and artificial\n" +"light, it has very little effect on natural night light." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve low gradient" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Gradient of light curve at minimum light level.\n" +"Controls the contrast of the lowest light levels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve high gradient" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Gradient of light curve at maximum light level.\n" +"Controls the contrast of the highest light levels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve boost" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Strength of light curve boost.\n" +"The 3 'boost' parameters define a range of the light\n" +"curve that is boosted in brightness." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve boost center" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Center of light curve boost range.\n" +"Where 0.0 is minimum light level, 1.0 is maximum light level." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Light curve boost spread" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Spread of light curve boost range.\n" +"Controls the width of the range to be boosted.\n" +"Standard deviation of the light curve boost Gaussian." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Texture path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Path to texture directory. All textures are first searched from here." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Video driver" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The rendering back-end.\n" +"A restart is required after changing this.\n" +"Note: On Android, stick with OGLES1 if unsure! App may fail to start " +"otherwise.\n" +"On other platforms, OpenGL is recommended.\n" +"Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cloud radius" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Radius of cloud area stated in number of 64 node cloud squares.\n" +"Values larger than 26 will start to produce sharp cutoffs at cloud area " +"corners." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "View bobbing factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable view bobbing and amount of view bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fall bobbing factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Multiplier for fall bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"3D support.\n" +"Currently supported:\n" +"- none: no 3d output.\n" +"- anaglyph: cyan/magenta color 3d.\n" +"- interlaced: odd/even line based polarisation screen support.\n" +"- topbottom: split screen top/bottom.\n" +"- sidebyside: split screen side by side.\n" +"- crossview: Cross-eyed 3d\n" +"- pageflip: quadbuffer based 3d.\n" +"Note that the interlaced mode requires shaders to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D mode parallax strength" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strength of 3D mode parallax." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Console height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Console color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-game chat console background color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Console alpha" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Full-Screen Background Opacity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec full-screen background opacity (between 0 and 255)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Full-Screen Background Color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec full-screen background color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Default Background Opacity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec default background opacity (between 0 and 255)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec Default Background Color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Formspec default background color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Selection box color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Selection box border color (R,G,B)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Selection box width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Width of the selection box lines around nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Crosshair color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Crosshair color (R,G,B).\n" +"Also controls the object crosshair color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Crosshair alpha" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Crosshair alpha (opaqueness, between 0 and 255).\n" +"This also applies to the object crosshair." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Recent Chat Messages" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum number of recent chat messages to show" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Desynchronize block animation" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Whether node texture animations should be desynchronized per mapblock." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum hotbar width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum proportion of current window to be used for hotbar.\n" +"Useful if there's something to be displayed right or left of hotbar." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "HUD scale factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Modifies the size of the HUD elements." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mesh cache" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enables caching of facedir rotated meshes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock mesh generation delay" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Delay between mesh updates on the client in ms. Increasing this will slow\n" +"down the rate of mesh updates, thus reducing jitter on slower clients." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock mesh generator's MapBlock cache size in MB" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Size of the MapBlock cache of the mesh generator. Increasing this will\n" +"increase the cache hit %, reducing the data being copied from the main\n" +"thread, thus reducing jitter." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimap" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enables minimap." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Round minimap" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Shape of the minimap. Enabled = round, disabled = square." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimap scan height" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"True = 256\n" +"False = 128\n" +"Usable to make minimap smoother on slower machines." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Colored fog" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Make fog and sky colors depend on daytime (dawn/sunset) and view direction." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ambient occlusion gamma" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The strength (darkness) of node ambient-occlusion shading.\n" +"Lower is darker, Higher is lighter. The valid range of values for this\n" +"setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" +"set to the nearest valid value." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Inventory items animations" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enables animation of inventory items." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fog start" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fraction of the visible distance at which fog starts to be rendered" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Opaque liquids" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Makes all liquids opaque" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "World-aligned textures mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Textures on a node may be aligned either to the node or to the world.\n" +"The former mode suits better things like machines, furniture, etc., while\n" +"the latter makes stairs and microblocks fit surroundings better.\n" +"However, as this possibility is new, thus may not be used by older servers,\n" +"this option allows enforcing it for certain node types. Note though that\n" +"that is considered EXPERIMENTAL and may not work properly." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Autoscaling mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"World-aligned textures may be scaled to span several nodes. However,\n" +"the server may not send the scale you want, especially if you use\n" +"a specially-designed texture pack; with this option, the client tries\n" +"to determine the scale automatically basing on the texture size.\n" +"See also texture_min_size.\n" +"Warning: This option is EXPERIMENTAL!" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Show entity selection boxes" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Show entity selection boxes\n" +"A restart is required after changing this." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Menus" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Clouds in menu" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Use a cloud animation for the main menu background." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "GUI scaling" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Scale GUI by a user specified value.\n" +"Use a nearest-neighbor-anti-alias filter to scale the GUI.\n" +"This will smooth over some of the rough edges, and blend\n" +"pixels when scaling down, at the cost of blurring some\n" +"edge pixels when images are scaled by non-integer sizes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "GUI scaling filter" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"When gui_scaling_filter is true, all GUI images need to be\n" +"filtered in software, but some images are generated directly\n" +"to hardware (e.g. render-to-texture for nodes in inventory)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "GUI scaling filter txr2img" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"When gui_scaling_filter_txr2img is true, copy those images\n" +"from hardware to software for scaling. When false, fall back\n" +"to the old scaling method, for video drivers that don't\n" +"properly support downloading textures back from hardware." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Tooltip delay" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Delay showing tooltips, stated in milliseconds." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Append item name" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Append item name to tooltip." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "FreeType fonts" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether FreeType fonts are used, requires FreeType support to be compiled " +"in.\n" +"If disabled, bitmap and XML vectors fonts are used instead." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font bold by default" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font italic by default" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font shadow" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Shadow offset (in pixels) of the default font. If 0, then shadow will not be " +"drawn." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font shadow alpha" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size of the default font in point (pt)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Regular font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to the default font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"The fallback font will be used if the font cannot be loaded." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Italic font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold and italic font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Monospace font size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size of the monospace font in point (pt)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to the monospace font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"This font is used for e.g. the console and profiler screen." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Italic monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bold and italic monospace font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fallback font path" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path of the fallback font.\n" +"If “freetype” setting is enabled: Must be a TrueType font.\n" +"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"This font will be used for certain languages or if the default font is " +"unavailable." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat font size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Font size of the recent chat text and chat prompt in point (pt).\n" +"Value 0 will use the default font size." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screenshot folder" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Path to save screenshots at. Can be an absolute or relative path.\n" +"The folder will be created if it doesn't already exist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screenshot format" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Format of screenshots." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Screenshot quality" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Screenshot quality. Only used for JPEG format.\n" +"1 means worst quality; 100 means best quality.\n" +"Use 0 for default quality." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "DPI" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " +"screens." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Display Density Scaling Factor" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Adjust the detected display density, used for scaling UI elements." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable console window" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Windows systems only: Start Minetest with the command line window in the " +"background.\n" +"Contains the same information as the file debug.txt (default name)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sound" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enables the sound system.\n" +"If disabled, this completely disables all sounds everywhere and the in-game\n" +"sound controls will be non-functional.\n" +"Changing this setting requires a restart." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Volume" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Volume of all sounds.\n" +"Requires the sound system to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mute sound" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether to mute sounds. You can unmute sounds at any time, unless the\n" +"sound system is disabled (enable_sound=false).\n" +"In-game, you can toggle the mute state with the mute key or by using the\n" +"pause menu." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat weblinks" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Weblink color" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Optional override for chat weblink color." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Network" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server address" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Address to connect to.\n" +"Leave this blank to start a local server.\n" +"Note that the address field in the main menu overrides this setting." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Remote port" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Port to connect to (UDP).\n" +"Note that the port field in the main menu overrides this setting." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Prometheus listener address" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Prometheus listener address.\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"enable metrics listener for Prometheus on that address.\n" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Saving map received from server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Save the map received by the client on disk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Connect to external media server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable usage of remote media server (if provided by server).\n" +"Remote servers offer a significantly faster way to download media (e.g. " +"textures)\n" +"when connecting to the server." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client modding" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable Lua modding support on client.\n" +"This support is experimental and API can change." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Serverlist URL" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "URL to the server list displayed in the Multiplayer Tab." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Serverlist file" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"File in client/serverlist/ that contains your favorite servers displayed in " +"the\n" +"Multiplayer Tab." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum size of the out chat queue" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum size of the out chat queue.\n" +"0 to disable queueing and -1 to make the queue size unlimited." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable register confirmation" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable register confirmation when connecting to server.\n" +"If disabled, new account will be registered automatically." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock unload timeout" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Timeout for client to remove unused map data from memory." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapblock limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of mapblocks for client to be kept in memory.\n" +"Set to -1 for unlimited amount." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Show debug info" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Whether to show the client debug info (has the same effect as hitting F5)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server / Singleplayer" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server name" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Name of the server, to be displayed when players join and in the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server description" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Description of server, to be displayed when players join and in the " +"serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Domain name of server, to be displayed in the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server URL" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Homepage of server, to be displayed in the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Announce server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Automatically report to the serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Announce to this serverlist." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strip color codes" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Remove color codes from incoming chat messages\n" +"Use this to stop players from being able to use color in their messages" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server port" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Network port to listen (UDP).\n" +"This value will be overridden when starting from the main menu." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Bind address" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The network interface that the server listens on." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strict protocol checking" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable to disallow old clients from connecting.\n" +"Older clients are compatible in the sense that they will not crash when " +"connecting\n" +"to new servers, but they may not support all new features that you are " +"expecting." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Remote media" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Specifies URL from which client fetches media instead of using UDP.\n" +"$filename should be accessible from $remote_media$filename via cURL\n" +"(obviously, remote_media should end with a slash).\n" +"Files that are not present will be fetched the usual way." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "IPv6 server" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable/disable running an IPv6 server.\n" +"Ignored if bind_address is set.\n" +"Needs enable_ipv6 to be enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum simultaneous block sends per client" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of blocks that are simultaneously sent per client.\n" +"The maximum total count is calculated dynamically:\n" +"max_total = ceil((#clients + max_users) * per_client / 4)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Delay in sending blocks after building" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"To reduce lag, block transfers are slowed down when a player 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 "Map Compression Level for Network Transfer" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +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 be connected 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 "Default stack size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Specifies the default stack size of nodes, items and tools.\n" +"Note that mods or games may explicitly set a stack for certain (or all) " +"items." +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 "Creative" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable creative mode for all players" +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 "Mod channels" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Enable mod channels support." +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 "Chat message format" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Format of player chat messages. The following strings are valid " +"placeholders:\n" +"@name, @message, @timestamp (optional)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat command time message threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If the execution of a chat command takes longer than this specified time in\n" +"seconds, add the time information to the chat command message" +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).\n" +"\n" +"Setting this larger than active_block_range will also cause the server\n" +"to maintain active objects up to this distance in the direction the\n" +"player is looking. (This can avoid mobs suddenly disappearing from view)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Active block range" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The radius of the volume of blocks around every player that is subject to " +"the\n" +"active block stuff, stated in mapblocks (16 nodes).\n" +"In active blocks objects are loaded and ABMs run.\n" +"This is also the minimum range in which active objects (mobs) are " +"maintained.\n" +"This should be configured together with active_object_send_range_blocks." +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:\n" +"72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "World start time" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Time of day when a new world is started, in millihours (0-23999)." +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 "Chat message max length" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Set the maximum character length of a chat message sent by clients." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat message count limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Amount of messages a player may send per 10 seconds." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat message kick threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Kick players who sent more than X messages per 10 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 "" +"Horizontal and vertical acceleration on ground or when climbing,\n" +"in nodes per second per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Acceleration in air" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Horizontal acceleration in air when jumping or falling,\n" +"in nodes per second per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast mode acceleration" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Horizontal and vertical acceleration in fast mode,\n" +"in nodes per second per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Walking speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Walking and flying speed, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sneaking speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sneaking speed, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fast mode speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Walking, flying and climbing speed in fast mode, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Climbing speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Vertical climbing speed, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Jumping speed" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Initial vertical speed when jumping, in nodes per second." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Liquid fluidity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Decrease this to increase liquid resistance to movement." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Liquid fluidity smoothing" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum liquid resistance. Controls deceleration when entering liquid at\n" +"high speed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Liquid sinking" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls sinking speed in liquid." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Gravity" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Acceleration of gravity, in nodes per second per second." +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" +"- none: Do not log deprecated calls\n" +"- log: mimic and log backtrace of deprecated call (default).\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 https://www.sqlite.org/pragma.html#pragma_synchronous" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map Compression Level for Disk Storage" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" +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\n" +"network." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Active block management interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Length of time between active block management cycles" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ABM interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Length of time between Active Block Modifier (ABM) execution cycles" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ABM time budget" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The time budget allowed for ABMs to execute on each step\n" +"(as a fraction of the ABM Interval)" +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 "Block send optimize distance" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"At this distance the server will aggressively optimize which blocks are sent " +"to\n" +"clients.\n" +"Small values potentially improve performance a lot, at the expense of " +"visible\n" +"rendering glitches (some blocks will not be rendered under water and in " +"caves,\n" +"as well as sometimes on land).\n" +"Setting this to a value greater than max_block_send_distance disables this\n" +"optimization.\n" +"Stated in mapblocks (16 nodes)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Server side occlusion culling" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If enabled the server will perform map block occlusion culling based on\n" +"on the eye position of the player. This can reduce the number of blocks\n" +"sent to the client 50-80%. The client will not longer receive most " +"invisible\n" +"so that the utility of noclip mode is reduced." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client side modding restrictions" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Restricts the access of certain client-side functions on servers.\n" +"Combine the byteflags below to restrict client-side features, or set to 0\n" +"for no restrictions:\n" +"LOAD_CLIENT_MODS: 1 (disable loading client-provided mods)\n" +"CHAT_MESSAGES: 2 (disable send_chat_message call client-side)\n" +"READ_ITEMDEFS: 4 (disable get_item_def call client-side)\n" +"READ_NODEDEFS: 8 (disable get_node_def call client-side)\n" +"LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to\n" +"csm_restriction_noderange)\n" +"READ_PLAYERINFO: 32 (disable get_player_names call client-side)" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Client side node lookup range restriction" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If the CSM restriction for node range is enabled, get_node calls are " +"limited\n" +"to this distance from the player to the node." +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." +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 "Chat commands" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Instrument chat commands 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 "Debug log file size threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"If the file size of debug.txt exceeds the number of megabytes specified in\n" +"this setting when it is opened, the file is moved to debug.txt.1,\n" +"deleting an older debug.txt.1 if it exists.\n" +"debug.txt is only moved if this setting is positive." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Chat log level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimal level of logging to be written to chat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "IPv6" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enable IPv6 support (for both client and server).\n" +"Required for IPv6 connections to work at all." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "cURL interactive timeout" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum time an interactive request (e.g. server list fetch) may take, " +"stated in milliseconds." +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 a file download (e.g. a mod download) may take, stated in " +"milliseconds." +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 "Engine profiling data print interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Print the engine's profiling data in regular intervals (in seconds).\n" +"0 = disable. Useful for developers." +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.\n" +"Current mapgens in a highly unstable state:\n" +"- The optional floatlands of v7 (disabled by default)." +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 "" +"Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" +"Only mapchunks completely within the mapgen limit are generated.\n" +"Value is stored per-world." +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 jungle grass, in all other mapgens this flag controls all decorations." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Biome API temperature and humidity noise parameters" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Heat noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Temperature variation for biomes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Heat blend noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small-scale temperature variation for blending biomes on borders." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Humidity noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Humidity variation for biomes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Humidity blend noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small-scale humidity variation for blending biomes on borders." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V5" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V5 specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map generation attributes specific to Mapgen v5." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Controls width of tunnels, a smaller value creates wider tunnels.\n" +"Value >= 10.0 completely disables generation of tunnels and avoids the\n" +"intensive noise calculations." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave depth" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y of upper limit of large caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small cave minimum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimum limit of random number of small caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Small cave maximum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum limit of random number of small caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave minimum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Minimum limit of random number of large caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave maximum number" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum limit of random number of large caves per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Large cave proportion flooded" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Proportion of large caves that contain liquid." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of cavern upper limit." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern taper" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-distance over which caverns expand to full size." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines full size of caverns, smaller values create larger caverns." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dungeon minimum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Lower Y limit of dungeons." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dungeon maximum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Upper Y limit of dungeons." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noises" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Filler depth noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Variation of biome filler depth." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Factor noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Variation of terrain vertical scale.\n" +"When noise is < -0.55 terrain is near-flat." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Height noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of average terrain surface." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave1 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "First of two 3D noises that together define tunnels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave2 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Second of two 3D noises that together define tunnels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise defining giant caverns." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ground noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise defining terrain." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dungeon noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise that determines number of dungeons per mapchunk." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V6" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V6 specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen v6.\n" +"The 'snowbiomes' flag enables the new 5 biome system.\n" +"When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" +"the 'jungles' flag is ignored." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Desert noise threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Deserts occur when np_biome exceeds this value.\n" +"When the 'snowbiomes' flag is enabled, this is ignored." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Beach noise threshold" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Sandy beaches occur when np_beach exceeds this value." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain base noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of lower terrain and seabed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain higher noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of higher terrain that creates cliffs." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Steepness noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Varies steepness of cliffs." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Height select noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines distribution of higher terrain." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mud noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Varies depth of biome surface nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Beach noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines areas with sandy beaches." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Biome noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cave noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Variation of number of caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Trees noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines tree areas and tree density." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Apple trees noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines areas where trees have apples." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V7" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen V7 specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen v7.\n" +"'ridges': Rivers.\n" +"'floatlands': Floating land masses in the atmosphere.\n" +"'caverns': Giant caves deep underground." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain zero level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Y of mountain density gradient zero level. Used to shift mountains " +"vertically." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland minimum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Lower Y limit of floatlands." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland maximum Y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Upper Y limit of floatlands." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland tapering distance" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Y-distance over which floatlands taper from full density to nothing.\n" +"Tapering starts at this distance from the Y limit.\n" +"For a solid floatland layer, this controls the height of hills/mountains.\n" +"Must be less than or equal to half the distance between the Y limits." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland taper exponent" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Exponent of the floatland tapering. Alters the tapering behaviour.\n" +"Value = 1.0 creates a uniform, linear tapering.\n" +"Values > 1.0 create a smooth tapering suitable for the default separated\n" +"floatlands.\n" +"Values < 1.0 (for example 0.25) create a more defined surface level with\n" +"flatter lowlands, suitable for a solid floatland layer." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland density" +msgstr "" + +#: src/settings_translation_file.cpp +#, c-format +msgid "" +"Adjusts the density of the floatland layer.\n" +"Increase value to increase density. Can be positive or negative.\n" +"Value = 0.0: 50% of volume is floatland.\n" +"Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" +"to be sure) creates a solid floatland layer." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland water level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Surface level of optional water placed on a solid floatland layer.\n" +"Water is disabled by default and will only be placed if this value is set\n" +"to above 'mgv7_floatland_ymax' - 'mgv7_floatland_taper' (the start of the\n" +"upper tapering).\n" +"***WARNING, POTENTIAL DANGER TO WORLDS AND SERVER PERFORMANCE***:\n" +"When enabling water placement the floatlands must be configured and tested\n" +"to be a solid layer by setting 'mgv7_floatland_density' to 2.0 (or other\n" +"required value depending on 'mgv7_np_floatland'), to avoid\n" +"server-intensive extreme water flow and to avoid vast flooding of the\n" +"world surface below." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain alternative noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain persistence noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Varies roughness of terrain.\n" +"Defines the 'persistence' value for terrain_base and terrain_alt noises." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines distribution of higher terrain and steepness of cliffs." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain height noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Variation of maximum mountain height (in nodes)." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridge underwater noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines large-scale river channel structure." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"3D noise defining mountain structure and height.\n" +"Also defines structure of floatland mountain terrain." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridge noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise defining structure of river canyon walls." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Floatland noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"3D noise defining structure of floatlands.\n" +"If altered from the default, the noise 'scale' (0.7 by default) may need\n" +"to be adjusted, as floatland tapering functions best when this noise has\n" +"a value range of approximately -2.0 to 2.0." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Carpathian" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Carpathian specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Map generation attributes specific to Mapgen Carpathian." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Base ground level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the base ground level." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River channel width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the width of the river channel." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River channel depth" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the depth of the river channel." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River valley width" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines the width of the river valley." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness1 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "First of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness2 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Second of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness3 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Third of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Hilliness4 noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fourth of 4 2D noises that together define hill/mountain range height." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Rolling hills spread noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the size/occurrence of rolling hills." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridge mountain spread noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the size/occurrence of ridged mountain ranges." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Step mountain spread noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the size/occurrence of step mountain ranges." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Rolling hill size noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the shape/size of rolling hills." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ridged mountain size noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the shape/size of ridged mountains." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Step mountain size noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that controls the shape/size of step mountains." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "River noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "2D noise that locates the river valleys and channels." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mountain variation noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Flat" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Flat specific 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." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Ground level" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y of flat ground." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "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 "Lake steepness" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls steepness/depth of lake depressions." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "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 "Hill steepness" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Controls steepness/height of hills." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Terrain noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Defines location and terrain of optional hills and lakes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Fractal" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Fractal specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen Fractal.\n" +"'terrain' enables the generation of non-fractal terrain:\n" +"ocean, islands and underground." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Fractal type" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Selects one of 18 fractal types.\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 "Iterations" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Iterations of the recursive function.\n" +"Increasing this increases the amount of fine detail, but also\n" +"increases processing load.\n" +"At iterations = 20 this mapgen has a similar load to mapgen V7." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(X,Y,Z) scale of fractal in nodes.\n" +"Actual fractal size will be 2 to 3 times larger.\n" +"These numbers can be made very large, the fractal does\n" +"not have to fit inside the world.\n" +"Increase these to 'zoom' into the detail of the fractal.\n" +"Default is for a vertically-squashed shape suitable for\n" +"an island, set all 3 numbers equal for the raw shape." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" +"Can be used to move a desired point to (0, 0) to create a\n" +"suitable spawn point, or to allow 'zooming in' on a desired\n" +"point by increasing 'scale'.\n" +"The default is tuned for a suitable spawn point for Mandelbrot\n" +"sets with default parameters, it may need altering in other\n" +"situations.\n" +"Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Slice w" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"W coordinate of the generated 3D slice of a 4D fractal.\n" +"Determines which 3D slice of the 4D shape is generated.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia x" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"X component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia y" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"Y component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia z" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"Z component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Julia w" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Julia set only.\n" +"W component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Seabed noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-level of seabed." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Valleys" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen Valleys specific flags" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Map generation attributes specific to Mapgen Valleys.\n" +"'altitude_chill': Reduces heat with altitude.\n" +"'humid_rivers': Increases humidity around rivers.\n" +"'vary_river_depth': If enabled, low humidity and high heat causes rivers\n" +"to become shallower and occasionally dry.\n" +"'altitude_dry': Reduces humidity with altitude." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"The vertical distance over which heat drops by 20 if 'altitude_chill' is\n" +"enabled. Also the vertical distance over which humidity drops by 10 if\n" +"'altitude_dry' is enabled." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Depth below which you'll find large caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Cavern upper limit" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Depth below which you'll find giant caverns." +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 "Cave noise #1" +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 biome filler node." +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 "Chunk size" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes).\n" +"WARNING!: There is no benefit, and there are several dangers, in\n" +"increasing this value above 5.\n" +"Reducing this value increases cave and dungeon density.\n" +"Altering this value is for special usage, leaving it unchanged is\n" +"recommended." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Mapgen debug" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Dump the mapgen debug information." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Absolute limit of queued blocks to emerge" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Maximum number of blocks that can be queued for loading." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Per-player limit of queued blocks load from disk" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of blocks to be queued that are to be loaded from file.\n" +"This limit is enforced per player." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Per-player limit of queued blocks to generate" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of blocks to be queued that are to be generated.\n" +"This limit is enforced per player." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Number of emerge threads" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Number of emerge threads to use.\n" +"Value 0:\n" +"- Automatic selection. The number of emerge threads will be\n" +"- 'number of processors - 2', with a lower limit of 1.\n" +"Any other value:\n" +"- Specifies the number of emerge threads, with a lower limit of 1.\n" +"WARNING: Increasing the number of emerge threads increases engine mapgen\n" +"speed, but this may harm game performance by interfering with other\n" +"processes, especially in singleplayer and/or when running Lua code in\n" +"'on_generated'. For many users the optimum setting may be '1'." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Online Content Repository" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ContentDB URL" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "The URL for the content repository" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ContentDB Flag Blacklist" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Comma-separated list of flags to hide in the content repository.\n" +"\"nonfree\" can be used to hide packages which do not qualify as 'free " +"software',\n" +"as defined by the Free Software Foundation.\n" +"You can also specify content ratings.\n" +"These flags are independent from Minetest versions,\n" +"so see a full list at https://content.minetest.net/help/content_flags/" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "ContentDB Max Concurrent Downloads" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Maximum number of concurrent downloads. Downloads exceeding this limit will " +"be queued.\n" +"This should be lower than curl_parallel_limit." +msgstr "" -- cgit v1.2.3 From 94128924b2ded4bca804907863880da6cf86e358 Mon Sep 17 00:00:00 2001 From: Gao Tiesuan Date: Thu, 20 Jan 2022 11:53:46 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 92.4% (1308 of 1415 strings) --- po/zh_CN/minetest.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 0af489f7e..028cba2eb 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2021-08-13 21:34+0000\n" -"Last-Translator: Zhaolin Lau \n" +"PO-Revision-Date: 2022-01-20 14:35+0000\n" +"Last-Translator: Gao Tiesuan \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -520,7 +520,7 @@ msgstr "温带,沙漠,丛林,苔原,泰加林带" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "地形表面腐烂" +msgstr "地形表面侵蚀" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" -- cgit v1.2.3 From 2c338032edfc3a9a76a98aed1d5db722f9f8b94e Mon Sep 17 00:00:00 2001 From: Gao Tiesuan Date: Thu, 20 Jan 2022 11:51:56 +0000 Subject: Translated using Weblate (Chinese (Literary)) Currently translated at 0.6% (9 of 1415 strings) --- po/lzh/minetest.po | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/po/lzh/minetest.po b/po/lzh/minetest.po index a696bc286..0bf9c1154 100644 --- a/po/lzh/minetest.po +++ b/po/lzh/minetest.po @@ -8,21 +8,24 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" +"PO-Revision-Date: 2022-01-20 14:35+0000\n" +"Last-Translator: Gao Tiesuan \n" +"Language-Team: Chinese (Literary) \n" "Language: lzh\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 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "令之传者: " #: builtin/client/chatcommands.lua msgid "Empty command." -msgstr "" +msgstr "空令。" #: builtin/client/chatcommands.lua msgid "Invalid command: " @@ -54,11 +57,11 @@ msgstr "" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" -msgstr "" +msgstr "尔死矣" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" -msgstr "" +msgstr "复生" #: builtin/common/chatcommands.lua msgid "Available commands: " @@ -362,7 +365,7 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" -msgstr "" +msgstr "川" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" @@ -430,15 +433,15 @@ msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Flat terrain" -msgstr "" +msgstr "平地" #: builtin/mainmenu/dlg_create_world.lua msgid "Mud flow" -msgstr "" +msgstr "泥流" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" -msgstr "" +msgstr "地表之蚀" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" @@ -1267,7 +1270,7 @@ msgstr "" #: src/client/game.cpp msgid "Sound muted" -msgstr "" +msgstr "消音" #: src/client/game.cpp msgid "Sound unmuted" -- cgit v1.2.3 From 8c486aaeae75128c5865c038983e220209fe3903 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 22 Jan 2022 18:06:43 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 79.5% (1125 of 1415 strings) --- po/es/minetest.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/po/es/minetest.po b/po/es/minetest.po index e0b0e55a3..25cb486c0 100644 --- a/po/es/minetest.po +++ b/po/es/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Spanish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-10 23:53+0000\n" -"Last-Translator: Joaquín Villalba \n" +"PO-Revision-Date: 2022-01-23 18:54+0000\n" +"Last-Translator: rubenwardy \n" "Language-Team: Spanish \n" "Language: es\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -1068,7 +1068,7 @@ msgstr "Marcar nodos" #: builtin/mainmenu/tab_settings.lua msgid "None" -msgstr "Ninguno" +msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" @@ -1299,7 +1299,7 @@ msgstr "" #: src/client/game.cpp msgid "Change Password" -msgstr "Cambiar contraseña" +msgstr "" #: src/client/game.cpp msgid "Cinematic mode disabled" -- cgit v1.2.3 From 76d781674900abce9280a88d405fbf2592428b69 Mon Sep 17 00:00:00 2001 From: Balázs Kovács Date: Tue, 25 Jan 2022 11:33:07 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 85.5% (1210 of 1415 strings) --- po/hu/minetest.po | 327 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 200 insertions(+), 127 deletions(-) diff --git a/po/hu/minetest.po b/po/hu/minetest.po index 14cd6c562..e7c9525ea 100644 --- a/po/hu/minetest.po +++ b/po/hu/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Hungarian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-16 02:52+0000\n" -"Last-Translator: Kisbenedek Márton \n" +"PO-Revision-Date: 2022-01-25 22:04+0000\n" +"Last-Translator: Balázs Kovács \n" "Language-Team: Hungarian \n" "Language: hu\n" @@ -12,11 +12,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Kimenő üzenetek sorának törlése" #: builtin/client/chatcommands.lua msgid "Empty command." @@ -32,7 +32,7 @@ msgstr "Érvénytelen parancs: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Kiadott parancs: " #: builtin/client/chatcommands.lua msgid "List online players" @@ -44,11 +44,11 @@ msgstr "Online játékosok: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." -msgstr "" +msgstr "A kiemenő üzenetek sora jelenleg üres." #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Ezt a parancsot a szerver letiltotta." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -64,32 +64,35 @@ msgstr "Elérhető parancsok:" #: builtin/common/chatcommands.lua msgid "Available commands: " -msgstr "elérhető parancsok: " +msgstr "Elérhető parancsok: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "A parancs nem elérhető: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Segítség kérése a parancsokhoz" #: builtin/common/chatcommands.lua msgid "" "Use '.help ' to get more information, or '.help all' to list everything." msgstr "" +"További információkhoz adja ki a '.help ' parancsot, vagy az összes " +"kilistázásához a '.help all' parancsot." #: builtin/common/chatcommands.lua msgid "[all | ]" -msgstr "" +msgstr "[all | ]" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" msgstr "OKÉ" #: builtin/fstk/ui.lua +#, fuzzy msgid "" -msgstr "" +msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -181,7 +184,7 @@ msgstr "Mod:" #: builtin/mainmenu/dlg_config_world.lua msgid "No (optional) dependencies" -msgstr "Nincsenek (választható) függőségek:" +msgstr "Nincsenek (választható) függőségek" #: builtin/mainmenu/dlg_config_world.lua msgid "No game description provided." @@ -189,7 +192,7 @@ msgstr "Nincs elérhető játékleírás." #: builtin/mainmenu/dlg_config_world.lua msgid "No hard dependencies" -msgstr "Nincsenek komolyabb függőségek." +msgstr "Nincsenek kötelező függőségek" #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." @@ -294,9 +297,8 @@ msgid "Install missing dependencies" msgstr "hiányzó függőségek telepitése" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Telepítés: nem támogatott „$1” fájltípus, vagy sérült archívum" +msgstr "Telepítés: nem támogatott fájltípus vagy sérült archívum" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -777,7 +779,7 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Névjegy" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -951,7 +953,7 @@ msgstr "Kedvencek" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Inkompatibilis szerverek" #: builtin/mainmenu/tab_online.lua msgid "Join Game" @@ -967,7 +969,7 @@ msgstr "Nyilvános szerverek" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Frissítés" #: builtin/mainmenu/tab_online.lua msgid "Server Description" @@ -1019,7 +1021,7 @@ msgstr "Dinamikus árnyékok" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Dinamikus árnyékok: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1027,15 +1029,15 @@ msgstr "Szép levelek" #: builtin/mainmenu/tab_settings.lua msgid "High" -msgstr "" +msgstr "Magas" #: builtin/mainmenu/tab_settings.lua msgid "Low" -msgstr "" +msgstr "Alacsony" #: builtin/mainmenu/tab_settings.lua msgid "Medium" -msgstr "" +msgstr "Közepes" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" @@ -1123,11 +1125,11 @@ msgstr "Trilineáris szűrés" #: builtin/mainmenu/tab_settings.lua msgid "Ultra High" -msgstr "" +msgstr "Nagyon magas" #: builtin/mainmenu/tab_settings.lua msgid "Very Low" -msgstr "" +msgstr "Nagyon alacsony" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" @@ -1250,7 +1252,7 @@ msgstr "Hiba történt:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Hozzáférés megtagadva. Oka: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1262,19 +1264,19 @@ msgstr "Automatikus előre engedélyezve" #: src/client/game.cpp msgid "Block bounds hidden" -msgstr "" +msgstr "Blokkhatárok elrejtve" #: src/client/game.cpp msgid "Block bounds shown for all blocks" -msgstr "" +msgstr "Blokkhatárok mutatása minden blokk esetén" #: src/client/game.cpp msgid "Block bounds shown for current block" -msgstr "" +msgstr "Blokkhatárok mutatása az aktuális blokk esetén" #: src/client/game.cpp msgid "Block bounds shown for nearby blocks" -msgstr "" +msgstr "Blokkhatárok mutatása a közeli blokkok esetén" #: src/client/game.cpp msgid "Camera update disabled" @@ -1287,6 +1289,7 @@ msgstr "Kamera frissítés engedélyezve" #: src/client/game.cpp msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" +"Blokkhatárok mutatása nem lehetséges ('basic_debug' jogosultság szükséges)" #: src/client/game.cpp msgid "Change Password" @@ -1301,9 +1304,8 @@ msgid "Cinematic mode enabled" msgstr "Filmszerű mód engedélyezve" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Kliens modolás" +msgstr "Kliens lecsatlakozott" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1315,7 +1317,7 @@ msgstr "Kapcsolódás szerverhez..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Kapcsolat megszakadt ismeretlen okból" #: src/client/game.cpp msgid "Continue" @@ -1346,6 +1348,7 @@ msgstr "" "- %s: mozgás jobbra\n" "- %s: ugrás/mászás\n" "- %s: ásás/ütés\n" +"- %s: letevés/használat\n" "- %s: lopakodás/lefelé mászás\n" "- %s: tárgy eldobása\n" "- %s: eszköztár\n" @@ -1356,7 +1359,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "Cím feloldása sikertelen: %s" #: src/client/game.cpp msgid "Creating client..." @@ -1565,17 +1568,17 @@ msgstr "Hang visszahangosítva" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "A szerveren valószínűleg a %s másik verziója fut." #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "Nem lehet csatlakozni a %s-hoz mivel az IPv6 nincs engedélyezve" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "Nem lehet figyelni a %s-t mert az IPv6 nincs engedélyezve" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1912,13 +1915,12 @@ msgid "Minimap in texture mode" msgstr "Minimap textúra módban" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "$1 letöltése nem sikerült" +msgstr "Weblap megnyitása nem sikerült" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Weblap megnyitása" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1937,12 +1939,12 @@ msgid "" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" -"Te most először csatlakozol a(z) %$ szerverre, \"%$\" névvel.\n" -"Ha folytatod, akkor egy új fiók lesz létrehozva a hitelesítő adatokkal a " +"Most először csatlakozol erre a szerverre a \"%s\" névvel.\n" +"Ha folytatod, akkor a hitelesítő adataiddal egy új fiók jön létre a " "szerveren.\n" -"Kérlek írd be újra a jelszavad, kattints Regisztrációra majd " -"Bejelentkezésre, hogy megerősítsd a fióklétrehozást vagy kattints Kilépés " -"gombra a megszakításhoz." +"Kérlek írd be újra a jelszavad, majd kattints a \"Regisztráció és " +"Bejelentkezés\"-re, hogy megerősítsd a fióklétrehozást, vagy kattints a " +"\"Mégse\" gombra a megszakításhoz." #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" @@ -1962,7 +1964,7 @@ msgstr "Automatikus ugrás" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -1970,7 +1972,7 @@ msgstr "Hátra" #: src/gui/guiKeyChangeMenu.cpp msgid "Block bounds" -msgstr "" +msgstr "Blokkhatárok" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" @@ -2170,6 +2172,17 @@ msgid "" "situations.\n" "Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." msgstr "" +"A fraktál (X,Y,Z) relatív pozíciója a világ közepéhez képest, egységekben " +"mérve.\n" +"Használható arra, hogy egy kívánt pontot a (0, 0)-ra tegyünk, hogy " +"megfelelő\n" +"játékoskezdőpontot készítsünk, vagy hogy \"rázoomoljunk\" egy kívánt pontra\n" +"az egység növelése által.\n" +"Az alapérték úgy lett meghatározva, hogy megfelelő játékoskezdőpontot adjon\n" +"az alapparaméterekkel generált Mandelbrot-halmazokhoz, de egyéb esetben\n" +"lehet, hogy meg kell változtatni.\n" +"Nagyjából -2 és 2 közötti értékek. Blokkokban mért pozícióhoz szorzzunk az " +"egységgel." #: src/settings_translation_file.cpp msgid "" @@ -2181,6 +2194,13 @@ msgid "" "Default is for a vertically-squashed shape suitable for\n" "an island, set all 3 numbers equal for the raw shape." msgstr "" +"A fraktál (X,Y,Z) méretezési faktora blokktávolságban kifejezve.\n" +"A fraktál tényleges mérete 2-3-szorosa lesz ennek.\n" +"Ezek a számok nagyon nagyok is lehetnek, a fraktálnak\n" +"nem kell elférnie a világban.\n" +"Növelje meg, hogy \"rázoomoljon\" a fraktál részleteire.\n" +"Az alapérték egy függőlegesen összenyomott alakot ad, amely\n" +"szigetekhez alkalmas. Ha a 3 szám egyenlő, a nyers alakot kapjuk." #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of ridged mountains." @@ -2205,7 +2225,7 @@ msgstr "2D zaj, amely a dombok méretét/előfordulását szabályozza." #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of step mountain ranges." -msgstr "" +msgstr "2D zaj, amely a lépcsős hegységek méretét/előrordulását szabályozza." #: src/settings_translation_file.cpp msgid "2D noise that locates the river valleys and channels." @@ -2222,7 +2242,7 @@ msgstr "3D mód" #: src/settings_translation_file.cpp msgid "3D mode parallax strength" -msgstr "" +msgstr "3D mód parallax hatásának erőssége" #: src/settings_translation_file.cpp msgid "3D noise defining giant caverns." @@ -2243,6 +2263,10 @@ msgid "" "to be adjusted, as floatland tapering functions best when this noise has\n" "a value range of approximately -2.0 to 2.0." msgstr "" +"A lebegő földek szerkezetét meghatározó 3D zaj.\n" +"Ha az alapértékekekt megváltoztatják, a zajszintet is át kell állítani\n" +"(0,7 alapbeállításban), mivel a lebegő földeket vékonyítása akkor a\n" +"leghatékonyabb, ha ez az érték körülbelül -2,0 és 2,0 közötti." #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." @@ -2276,12 +2300,13 @@ msgid "" msgstr "" "3D támogatás.\n" "Jelenleg támogatott:\n" -"- none: nincs 3d kimenet.\n" -"- anaglyph: cián/magenta színű 3d.\n" -"- interlaced: páros/páratlan soralapú polarizációs képernyő támogatás.\n" -"- topbottom: osztott képernyő fent/lent.\n" -"- sidebyside: osztott képernyő kétoldalt.\n" -"- pageflip: quadbuffer alapú 3d.\n" +"- none: nincs 3d kimenet.\n" +"- anaglyph: cián/magenta színű 3d.\n" +"- interlaced: páros/páratlan soralapú polarizációs képernyő támogatás.\n" +"- topbottom: osztott képernyő fent/lent.\n" +"- sidebyside: osztott képernyő kétoldalt.\n" +"- crossview: bandzsítva nézendő 3d\n" +"- pageflip: quadbuffer alapú 3d.\n" "Ne feledje, hogy az interlaced üzemmód, igényli az árnyékolók használatát." #: src/settings_translation_file.cpp @@ -2361,9 +2386,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" +"Az észlelt képsűrűség kiigazítása a felhasználói felület elemeinek " +"méretezéséhez." #: src/settings_translation_file.cpp -#, c-format +#, c-format, fuzzy msgid "" "Adjusts the density of the floatland layer.\n" "Increase value to increase density. Can be positive or negative.\n" @@ -2371,6 +2398,13 @@ msgid "" "Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" "to be sure) creates a solid floatland layer." msgstr "" +"A lebegő föld réteg sűrűségét szabályozza.\n" +"Nagyobb sűrűséghez használjon nagyobb értéket. Lehet pozitív vagy negatív is." +"\n" +"Érték = 0,0: a térfogat 50%-a lebegő föld.\n" +"Érték = 2,0 (magasabb is lehet az 'mgv7_np_floatland'-től függően, a " +"biztonság\n" +"kedvéért mindig próbálja ki) egybefüggő lebegő föld réteget eredményez." #: src/settings_translation_file.cpp msgid "Advanced" @@ -2384,6 +2418,11 @@ msgid "" "This only has significant effect on daylight and artificial\n" "light, it has very little effect on natural night light." msgstr "" +"Módosítja a fénygörbét gamma korrekció hozzáadásával.\n" +"Magasabb értékek esetén a közepes és alacsony fényszintek világosabbak.\n" +"Az 1,0-ás érték a fénygörbét érintetlenül hagyja.\n" +"Csak a nappali és a mesterséges fényt befolyásolja jelentősen,\n" +"a természetes éjszakai fényre nagyon kis hatása van." #: src/settings_translation_file.cpp msgid "Always fly and fast" @@ -2456,12 +2495,14 @@ msgid "" "Stated in mapblocks (16 nodes)." msgstr "" "Ennél a távolságnál a szerver agresszívan optimalizálja, hogy melyik " -"blokkokat küldje a klienseknek.\n" +"blokkokat\n" +"küldje a klienseknek.\n" "Kis értékek valószínűleg sokat javítanak a teljesítményen, látható " -"megjelenítési hibák árán.\n" -"(Néhány víz alatti és barlangokban lévő blokk nem jelenik meg, néha a " -"felszínen lévők sem.)\n" -"Ha nagyobb, mint a \"max_block_send_distance\", akkor nincs optimalizáció.\n" +"megjelenítési\n" +"hibák árán. (Néhány víz alatti és barlangokban lévő blokk nem jelenik meg,\n" +"néha a felszínen lévők sem.)\n" +"Ha ez az érték nagyobb, mint a \"max_block_send_distance\", akkor nincs\n" +"optimalizáció.\n" "A távolság blokkokban értendő (16 node)." #: src/settings_translation_file.cpp @@ -2571,6 +2612,12 @@ msgid "" "Increasing can reduce artifacting on weaker GPUs.\n" "0.1 = Default, 0.25 = Good value for weaker tablets." msgstr "" +"A kamera \"közelségi vágósíkjának\" blokktávolságban mért távolsága 0 és " +"0,25 között.\n" +"Csak GLES platformon működik. A legtöbb felhasználó változatlanul hagyhatja." +"\n" +"Növelése csökkentheti a grafikai hibákat a gyengébb GPU-kon.\n" +"0,1 = alapértelmezett, 0,25 = jóválasztás gyengébb tabletekhez." #: src/settings_translation_file.cpp msgid "Camera smoothing" @@ -2633,6 +2680,8 @@ msgid "" "Center of light curve boost range.\n" "Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" +"A fénygörbe közepének erősítési tartománya.\n" +"Ahol 0,0 a minimális fényszint, 1,0 a maximális fényszint." #: src/settings_translation_file.cpp #, fuzzy @@ -2640,7 +2689,6 @@ msgid "Chat command time message threshold" msgstr "Csevegésparancs üzeneteinek küszöbe" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Parancsok" @@ -2677,9 +2725,8 @@ msgid "Chat toggle key" msgstr "Csevegés váltása gomb" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Csevegés megjelenítése" +msgstr "Internetes linkek a csevegésben" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2702,6 +2749,8 @@ msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." msgstr "" +"Kattintható internetes hivatkozások (középső egérkattintás vagy Ctrl+bal " +"klikk) engedélyezve az elküldött chatüzenetekben." #: src/settings_translation_file.cpp msgid "Client" @@ -2721,7 +2770,7 @@ msgstr "Kliens modolási korlátozások" #: src/settings_translation_file.cpp msgid "Client side node lookup range restriction" -msgstr "" +msgstr "A blokk keresési távolság kliensoldali korlátozása" #: src/settings_translation_file.cpp msgid "Climbing speed" @@ -2761,6 +2810,14 @@ msgid "" "These flags are independent from Minetest versions,\n" "so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" +"A tartalomtárban elrejtendő jelölők vesszővel tagolt listája.\n" +"\"nonfree\" használatával elrejthetők azok a csomagok, amelyek nem tartoznak " +"a\n" +"\"szabad szoftverek kategóriájába a Free Software Foundation meghatározása " +"szerint.\n" +"Megadhatja továbbá a tartalom besorolásait is.\n" +"Ezek a jelölők függetlenek a Minetest verziótól, ezért nézze meg\n" +"a teljes listát itt: https://content.minetest.net/help/content_flags/" #: src/settings_translation_file.cpp msgid "" @@ -2792,6 +2849,10 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"A tömörítés foka a térképblokkok lemezre mentéséhez.\n" +"-1 - alapértelmezett tömörítési fok\n" +"0 - legkisebb tömörítés, leggyorsabb\n" +"9 - legjobb tömörítés, leglassabb" #: src/settings_translation_file.cpp msgid "" @@ -2800,6 +2861,10 @@ msgid "" "0 - least compression, fastest\n" "9 - best compression, slowest" msgstr "" +"Tömörítés foka a térképblokkok kliensnek küldéséhez.\n" +"-1 - alapértelmezett tömörítési fok\n" +"0 - legkisebb tömörítés, leggyorsabb\n" +"9 - legjobb tömörítés, leglassabb" #: src/settings_translation_file.cpp msgid "Connect glass" @@ -2831,7 +2896,7 @@ msgstr "ContentDB zászló feketelista" #: src/settings_translation_file.cpp msgid "ContentDB Max Concurrent Downloads" -msgstr "" +msgstr "ContentDB egyidejű letöltések maximális száma" #: src/settings_translation_file.cpp msgid "ContentDB URL" @@ -2861,7 +2926,8 @@ msgid "" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" "Nappal/éjjel ciklus hosszát határozza meg.\n" -"Példák: 72 = 20 perc, 360 = 4 perc, 1 = 24 óra, 0 = nappal/éjjel/bármelyik " +"Példák:\n" +"72 = 20 perc, 360 = 4 perc, 1 = 24 óra, 0 = nappal/éjjel/bármelyik " "változatlan marad." #: src/settings_translation_file.cpp @@ -2900,13 +2966,12 @@ msgid "Crosshair alpha" msgstr "Célkereszt átlátszóság" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" "Célkereszt átlátszóság (0 és 255 között).\n" -"Az objektum célkereszt színét is meghatározza" +"Az objektum célkereszt színét is meghatározza." #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -2981,7 +3046,6 @@ msgid "Default report format" msgstr "Alapértelmezett jelentésformátum" #: src/settings_translation_file.cpp -#, fuzzy msgid "Default stack size" msgstr "Alapértelmezett kötegméret" @@ -2991,6 +3055,9 @@ msgid "" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" +"Árnyékszűrők minőségének beállítása.\n" +"Lágy árnyék effektus szimulálása PCF vagy Poisson disk eljárással,\n" +"de egyéb erőforrásokat is használ." #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3117,7 +3184,7 @@ msgstr "Üres jelszavak tiltása" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "Képsűrűség méretezési faktor" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3173,12 +3240,18 @@ msgid "" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" +"Poisson disk szűrés engedélyezése.\n" +"Igazra állítás esetén Poisson disk eljárással képez lágy árnyékokat. " +"Különben a PCF szűrőt használja." #: src/settings_translation_file.cpp msgid "" "Enable colored shadows.\n" "On true translucent nodes cast colored shadows. This is expensive." msgstr "" +"Színes árnyékok engedélyezése.\n" +"Igaz érték esetén áttettsző blokkok színes árnyékot vethetnek. " +"Erőforrásigényes." #: src/settings_translation_file.cpp msgid "Enable console window" @@ -3215,13 +3288,13 @@ msgid "Enable register confirmation" msgstr "Regisztráció megerősítés engedélyezése" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" -"Engedélyezze a regisztráció megerősítését, amikor csatlakozik a szerverhez.\n" -"Letiltás esetén az új fiók automatikusan regisztrálásra kerül." +"Ha be van kapcsolva, a regisztráció megerősítését kéri, amikor csatlakozik " +"egy szerverhez.\n" +"Ha ki van kapcsolva, az új fiók automatikusan regisztrálásra kerül." #: src/settings_translation_file.cpp msgid "" @@ -3271,7 +3344,7 @@ msgid "" msgstr "" "Bekapcsolja a fejmozgást és beállítja a mértékét.\n" "Pl: 0 nincs fejmozgás; 1.0 alapértelmezett fejmozgás van; 2.0 dupla " -"fejmozgás van" +"fejmozgás van." #: src/settings_translation_file.cpp msgid "" @@ -3290,15 +3363,18 @@ msgid "" "appearance of high dynamic range images. Mid-range contrast is slightly\n" "enhanced, highlights and shadows are gradually compressed." msgstr "" +"Engedélyezi Hable 'Uncharted 2' színtónusleképezését.\n" +"A fotófilmek színgörbéjét szimulálja és utánozza a nagy dinamikatartományú\n" +"képi megjelenést. A közepző színtartomány kontrasztját kissé\n" +"erősíti, a világosabb és sötétebb részeket fokozatosan tömöríti." #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." msgstr "Az eszköztárelemek animációjának engedélyezése." #: src/settings_translation_file.cpp -#, fuzzy msgid "Enables caching of facedir rotated meshes." -msgstr "Engedélyezi az elforgatott hálók gyorsítótárazását." +msgstr "Az elforgatott hálók irányának gyorsítótárazásának engedélyezése." #: src/settings_translation_file.cpp msgid "Enables minimap." @@ -3312,7 +3388,8 @@ msgid "" "Changing this setting requires a restart." msgstr "" "Engedélyezi a hangrendszert.\n" -"Ha ki van kapcsolva teljesen kikapcsol minden hangot és a játék hangvezérlői " +"Ha ki van kapcsolva, teljesen kikapcsol minden hangot és a játék " +"hangvezérlői\n" "nem fognak működni.\n" "Ennek a beállításnak a megváltoztatása a játék újraindítását igényli." @@ -3333,6 +3410,13 @@ msgid "" "Values < 1.0 (for example 0.25) create a more defined surface level with\n" "flatter lowlands, suitable for a solid floatland layer." msgstr "" +"A lebegő földek vékonyításának kitevője. A vékonyítás módján változtat.\n" +"Érték = 1,0 egyeneletes, lineáris vékonyítás.\n" +"Értékek > 1,0 az alapértelmezett különálló lebegő földekhez illő könnyed\n" +"vékonyítás.\n" +"Értékek < 1,0 (például 0,25) határozottab felszínt képez laposabb " +"alföldekkel,\n" +"egybefüggű lebegő föld réteghez használható." #: src/settings_translation_file.cpp msgid "FPS when unfocused or paused" @@ -3553,16 +3637,14 @@ msgid "Formspec default background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec default background opacity (between 0 and 255)." msgstr "" -"Játékon belüli csevegő konzol hátterének alfája (átlátszatlanság, 0 és 255 " +"Játékon belüli kezelőpanelek hátterének alfája (átlátszatlanság, 0 és 255 " "között)." #: src/settings_translation_file.cpp -#, fuzzy msgid "Formspec full-screen background color (R,G,B)." -msgstr "Játékon belüli csevegő konzol hátterének színe (R,G,B)." +msgstr "Játékon belüli teljes képrenyős kezelőpanelek hátterének színe (R,G,B)." #: src/settings_translation_file.cpp msgid "Formspec full-screen background opacity (between 0 and 255)." @@ -3638,16 +3720,16 @@ msgid "Global callbacks" msgstr "Globális visszatérések" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Global map generation attributes.\n" "In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" "and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" "Globális térképgenerálási jellemzők.\n" -"A v6 térképgenerátorban a 'decorations' zászló szabályozza az összes\n" -"dekorációt, kivéve a fákat és a dzsungelfüvet, a többi térképgenerátornál " -"pedig az összeset." +"A Mapgen v6 térképgenerátorban a 'decorations' jelző szabályozza az összes " +"dekorációt,\n" +"kivéve a fákat és a dzsungelfüvet, a többi térképgenerátornál pedig az " +"összeset." #: src/settings_translation_file.cpp msgid "" @@ -3720,10 +3802,11 @@ msgid "Heat noise" msgstr "Hőzaj" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Height component of the initial window size. Ignored in fullscreen mode." -msgstr "A kezdeti ablak magassága." +msgstr "" +"A kezdeti ablak magassága. Teljes képernyős módban nem kerül figyelmbe " +"vételre." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3775,7 +3858,7 @@ msgid "" "in nodes per second per second." msgstr "" "Vízszintes és függőleges gyorsulás gyors módban,\n" -"node/másodpercben/másodpercben." +"node/másodperc/másodpercben." #: src/settings_translation_file.cpp msgid "" @@ -4005,8 +4088,9 @@ msgid "" "and\n" "descending." msgstr "" -"Ha engedélyezve van, az \"Aux1\"gomb lesz használatban a \"lopakodás" -"\" (sneak) helyett lefelé mászáskor, vagy ereszkedéskor." +"Ha engedélyezve van, az \"Aux1\"gomb lesz használatban a \"lopakodás\" " +"(sneak) helyett lefelé mászáskor,\n" +"vagy ereszkedéskor." #: src/settings_translation_file.cpp msgid "" @@ -4115,9 +4199,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Instrument chat commands on registration." -msgstr "Csevegésparancsok bemutatása regisztrációkor." +msgstr "Csevegésparancsok behangolása regisztrációkor." #: src/settings_translation_file.cpp msgid "" @@ -4206,9 +4289,8 @@ msgid "Joystick button repetition interval" msgstr "Joystick gomb ismétlési időköz" #: src/settings_translation_file.cpp -#, fuzzy msgid "Joystick dead zone" -msgstr "Joystick holtzóna" +msgstr "Joystick holttér" #: src/settings_translation_file.cpp msgid "Joystick frustum sensitivity" @@ -5136,7 +5218,6 @@ msgid "Light curve low gradient" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" "Only mapchunks completely within the mapgen limit are generated.\n" @@ -5144,7 +5225,9 @@ msgid "" msgstr "" "A térképgenerálás határa, node-okban, mind a 6 irányban a (0, 0, 0) " "pozíciótól kezdve.\n" -"Csak a teljesen a határon belül lévő térképdarabkák generálódnak le." +"Csak a teljesen a térképgenerálási határon belül lévő térképdarabkák " +"generálódnak le.\n" +"Az érték világonként külön tárolódik." #: src/settings_translation_file.cpp msgid "" @@ -5234,9 +5317,8 @@ msgid "Map directory" msgstr "Térkép mappája" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map generation attributes specific to Mapgen Carpathian." -msgstr "A Kárpát térképgenerátor sajátos tulajdonságai." +msgstr "A Kárpátok térképgenerátorra vonatkozó térképgenerálási beállítások." #: src/settings_translation_file.cpp msgid "" @@ -5311,9 +5393,8 @@ msgid "Map save interval" msgstr "Térkép mentésének időköze" #: src/settings_translation_file.cpp -#, fuzzy msgid "Map shadows update frames" -msgstr "Térkép frissítési idő" +msgstr "Árnyéktérkép frissítési idő" #: src/settings_translation_file.cpp msgid "Mapblock limit" @@ -5324,9 +5405,8 @@ msgid "Mapblock mesh generation delay" msgstr "Térképblokk háló generálási késleltetés" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapblock mesh generator's MapBlock cache size in MB" -msgstr "Térképblokk hálógenerátor gyorsítótár mérete MB-ban" +msgstr "Térképblokk hálógenerátor MapBlock gyorsítótár mérete MB-ban" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" @@ -5429,9 +5509,8 @@ msgid "Maximum distance to render shadows." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum forceloaded blocks" -msgstr "A maximálisan terhelt blokkok" +msgstr "Az erőltetett betöltésű blokkok maximuma" #: src/settings_translation_file.cpp msgid "Maximum hotbar width" @@ -5510,7 +5589,7 @@ msgstr "Az egy időben csatlakozó játékosok maximális száma." #: src/settings_translation_file.cpp msgid "Maximum number of recent chat messages to show" -msgstr "A megjelenítendő csevegésüzenetek maximális száma." +msgstr "A megjelenítendő csevegésüzenetek maximális száma" #: src/settings_translation_file.cpp msgid "Maximum number of statically stored objects in a block." @@ -5597,10 +5676,9 @@ msgid "Minimap scan height" msgstr "Kistérkép letapogatási magasság" #: src/settings_translation_file.cpp -#, fuzzy msgid "Minimum limit of random number of large caves per mapchunk." msgstr "" -"Nagy barlangok térképblokkonként való véletlenszerű számának minimum " +"Az egy térképblokkra véletlenszerűen jutó nagy barlangok számának minimális " "korlátja." #: src/settings_translation_file.cpp @@ -5620,9 +5698,8 @@ msgid "Mod channels" msgstr "Mod csatornák" #: src/settings_translation_file.cpp -#, fuzzy msgid "Modifies the size of the HUD elements." -msgstr "A hudbar elemméretét módosítja" +msgstr "A HUD elemméretét módosítja." #: src/settings_translation_file.cpp msgid "Monospace font path" @@ -5986,7 +6063,7 @@ msgid "" msgstr "" "Színkódok eltávolítása a bejövő csevegésüzenetekből\n" "Használd ezt hogy megakadályozd, hogy a játékosok színeket használjanak az " -"üzeneteikben." +"üzeneteikben" #: src/settings_translation_file.cpp msgid "Replaces the default main menu with a custom one." @@ -6279,12 +6356,11 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Set to true to enable Shadow Mapping.\n" "Requires shaders to be enabled." msgstr "" -"Az igazra állítása engedélyezi az árnyáktérképezést.\n" +"Állítsa igazra az árnyáktérképezés (Shadow Mapping) engedélyezéséhez.\n" "Az árnyalók engedélyezése szükséges hozzá." #: src/settings_translation_file.cpp @@ -6329,8 +6405,9 @@ msgid "" "cards.\n" "This only works with the OpenGL video backend." msgstr "" -"Az árnyalók fejlett vizuális effekteket engedélyeznek és növelhetik a " -"teljesítményt néhány videókártya esetében.\n" +"Az árnyalók fejlett vizuális effekteket tesznek lehetővé és növelhetik a " +"teljesítményt\n" +"néhány videókártya esetében.\n" "Csak OpenGL-el működnek." #: src/settings_translation_file.cpp @@ -6382,9 +6459,8 @@ msgstr "" "A változtatás után a játék újraindítása szükséges." #: src/settings_translation_file.cpp -#, fuzzy msgid "Show name tag backgrounds by default" -msgstr "Névcímke hátterek megjelenítése alapértelmezetten" +msgstr "Névcímkék háttere alapértelmezésben látszik" #: src/settings_translation_file.cpp msgid "Shutdown message" @@ -6466,7 +6542,7 @@ msgstr "Lopakodás sebessége" #: src/settings_translation_file.cpp msgid "Sneaking speed, in nodes per second." -msgstr "Lopakodás sebessége node/másodpercben" +msgstr "Lopakodás sebessége node/másodpercben." #: src/settings_translation_file.cpp msgid "Soft shadow radius" @@ -6515,9 +6591,8 @@ msgid "Steepness noise" msgstr "Meredekség zaj" #: src/settings_translation_file.cpp -#, fuzzy msgid "Step mountain size noise" -msgstr "Terep magasság" +msgstr "Lépcsős hegyek méretének zajossága" #: src/settings_translation_file.cpp msgid "Step mountain spread noise" @@ -6628,9 +6703,8 @@ msgid "The URL for the content repository" msgstr "Az URL a tartalomtárhoz" #: src/settings_translation_file.cpp -#, fuzzy msgid "The dead zone of the joystick" -msgstr "A joystick holtzónája" +msgstr "A joystick holttere" #: src/settings_translation_file.cpp msgid "" @@ -6730,15 +6804,15 @@ msgid "" "The time in seconds it takes between repeated events\n" "when holding down a joystick button combination." msgstr "" -"Ennyi másodperc szükséges az ismételt jobb kattintáshoz a joystick gomb " -"nyomva tartásakor." +"Ennyi másodperc szükséges az esemény megismétléséhez\n" +"a joystick gombok nyomva tartásakor." #: src/settings_translation_file.cpp msgid "" "The time in seconds it takes between repeated node placements when holding\n" "the place button." msgstr "" -"Ennyi másodperc szükséges az ismételt node elhelyezéshez az elhelyezés gomb " +"Ennyi másodperc szükséges az ismételt node elhelyezéshez az elhelyezés gomb\n" "nyomva tartásakor." #: src/settings_translation_file.cpp @@ -7062,9 +7136,8 @@ msgid "Waving plants" msgstr "Hullámzó növények" #: src/settings_translation_file.cpp -#, fuzzy msgid "Weblink color" -msgstr "Kijelölő doboz színe" +msgstr "Internetes hivatkozások színe" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 4f0d7738b32d143d055b93d1dca9fc9dd4545950 Mon Sep 17 00:00:00 2001 From: poi Date: Tue, 25 Jan 2022 05:58:59 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 93.8% (1328 of 1415 strings) --- po/zh_CN/minetest.po | 89 ++++++++++++++++++++++++++-------------------------- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 028cba2eb..4d0f2e41c 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-11-27 19:42+0100\n" -"PO-Revision-Date: 2022-01-20 14:35+0000\n" -"Last-Translator: Gao Tiesuan \n" +"PO-Revision-Date: 2022-01-25 22:04+0000\n" +"Last-Translator: poi \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -91,7 +91,7 @@ msgstr "OK" #: builtin/fstk/ui.lua #, fuzzy msgid "" -msgstr "命令不可用: " +msgstr "命令不可用:" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" @@ -296,7 +296,7 @@ msgstr "安装缺失的依赖项" #: builtin/mainmenu/dlg_contentstore.lua #, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "安装:“$1“为不支持的文件类型或已损坏" +msgstr "安装:文件类型不支持或档案已损坏" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -1161,9 +1161,8 @@ msgid "Connection error (timed out?)" msgstr "连接出错(超时?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "无法找到或者载入游戏 \"" +msgstr "找不到子游戏或者无法载入子游戏: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1235,14 +1234,13 @@ msgid "- Server Name: " msgstr "- 服务器名称: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "发生了错误:" +msgstr "序列化发生了错误:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "访问被拒绝。原因:%s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1294,9 +1292,8 @@ msgid "Cinematic mode enabled" msgstr "电影模式已启用" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "客户端mod" +msgstr "与客户端的连接已断开" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1308,7 +1305,7 @@ msgstr "正在连接服务器..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "连接失败,原因不明" #: src/client/game.cpp msgid "Continue" @@ -1350,7 +1347,7 @@ msgstr "" #: src/client/game.cpp #, c-format msgid "Couldn't resolve address: %s" -msgstr "" +msgstr "地址无法解析:%s" #: src/client/game.cpp msgid "Creating client..." @@ -1559,17 +1556,17 @@ msgstr "已取消静音" #: src/client/game.cpp #, c-format msgid "The server is probably running a different version of %s." -msgstr "" +msgstr "此服务器运行的可能是别的版本,%s。" #: src/client/game.cpp #, c-format msgid "Unable to connect to %s because IPv6 is disabled" -msgstr "" +msgstr "无法连接到 %s,因为 IPv6 已禁用" #: src/client/game.cpp #, c-format msgid "Unable to listen on %s because IPv6 is disabled" -msgstr "" +msgstr "无法监听 %s,因为 IPv6 已禁用" #: src/client/game.cpp src/unittest/test_gettext.cpp #, c-format @@ -1906,13 +1903,12 @@ msgid "Minimap in texture mode" msgstr "材质模式小地图" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "下载 $1 失败" +msgstr "网页打不开" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "正在打开网页" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -2112,9 +2108,9 @@ msgid "Muted" msgstr "静音" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "音量: " +msgstr "音量:%d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2361,8 +2357,9 @@ msgid "" msgstr "为支持4K等屏幕,调节像素点密度(非 X11/Android 环境才有效)。" #: src/settings_translation_file.cpp +#, fuzzy msgid "Adjust the detected display density, used for scaling UI elements." -msgstr "" +msgstr "调整检测到的显示密度,用来缩放 UI 元素。" #: src/settings_translation_file.cpp #, c-format @@ -2374,10 +2371,10 @@ msgid "" "to be sure) creates a solid floatland layer." msgstr "" "调整悬空岛层的密度。\n" -"增加值以增加密度。可以是正值或负值。\n" -"值等于0.0, 容积的50%是floatland。\n" -"值等于2.0 ,(可以更高,取决于 'mgv7_np_floatland' ,始终测试以确定)\n" -"创建一个坚实的悬空岛层。" +"增加值,就增加密度。可以是正值或负值。\n" +"值等于 0.0, 容积的 50% 是悬空岛。\n" +"值等于 2.0,(值可以更高,取决于“mgv7_np_floatland”,但一定要测试确定)\n" +"创建一个密实的悬空岛层。" #: src/settings_translation_file.cpp msgid "Advanced" @@ -2657,9 +2654,8 @@ msgid "Chat command time message threshold" msgstr "显示聊天消息执行时间的阀值(秒)" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" -msgstr "聊天命令" +msgstr "聊天指令" #: src/settings_translation_file.cpp msgid "Chat font size" @@ -2694,9 +2690,8 @@ msgid "Chat toggle key" msgstr "聊天启用/禁用键" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "聊天已显示" +msgstr "聊天网页链接" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2718,7 +2713,7 @@ msgstr "干净透明材质" msgid "" "Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " "output." -msgstr "" +msgstr "在聊天控制台输出中启用了可点击的网页链接(中键单击或 Ctrl + 左键单击)。" #: src/settings_translation_file.cpp msgid "Client" @@ -2923,8 +2918,8 @@ msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "This also applies to the object crosshair." msgstr "" -"准星透明度(0-255)。\n" -"还控制对象准星的颜色" +"准星不透明度(0-255)。\n" +"实体准星的不透明度也会使用此值。" #: src/settings_translation_file.cpp msgid "Crosshair color" @@ -3003,15 +2998,14 @@ msgid "Default stack size" msgstr "默认栈大小" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Define shadow filtering quality.\n" "This simulates the soft shadows effect by applying a PCF or Poisson disk\n" "but also uses more resources." msgstr "" -"定阴影滤镜的质量\n" -"通过应用 PCF 或 poisson disk来模拟软阴影效果\n" -"但这会使用更多的资源。" +"设定阴影滤镜的质量。\n" +"使用 PCF 或 泊松盘(Poisson disk)算法模拟软阴影效果\n" +"但也会使用更多的硬件资源。" #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." @@ -3133,7 +3127,7 @@ msgstr "禁止使用空密码" #: src/settings_translation_file.cpp msgid "Display Density Scaling Factor" -msgstr "" +msgstr "显示密度比例系数" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." @@ -3184,14 +3178,13 @@ msgstr "" "该功能是实验性的,且API会变动。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Enable Poisson disk filtering.\n" "On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " "filtering." msgstr "" -"启用poisson disk滤镜.\n" -"使用poisson disk来产生\"软阴影\",否则将使用PCF 滤镜." +"启用泊松盘(Poisson disk)滤镜。\n" +"使用泊松盘算法来产生“软阴影”。不启用的话就会使用 PCF 滤镜。" #: src/settings_translation_file.cpp #, fuzzy @@ -4087,7 +4080,7 @@ msgid "" "to this distance from the player to the node." msgstr "" "如果客户端mod方块范围限制启用,限制get_node至玩家\n" -"到方块的距离" +"到方块的距离。" #: src/settings_translation_file.cpp msgid "" @@ -5852,7 +5845,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "替换聊天网页链接的颜色,可用可不用。" #: src/settings_translation_file.cpp msgid "" @@ -6624,6 +6617,10 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"把完整地更新一次阴影贴图这项任务分配给多少帧去完成。\n" +"较高的值可能会使阴影滞后,较低的值\n" +"将消耗更多硬件资源。\n" +"最小值:1;最大值:16" #: src/settings_translation_file.cpp msgid "" @@ -6759,6 +6756,9 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" +"用于渲染阴影贴图的材质尺寸。\n" +"数值必须是 2 的幂。\n" +"数值更大,阴影更好,但运算也更加复杂。" #: src/settings_translation_file.cpp msgid "" @@ -6786,8 +6786,9 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "The depth of dirt or other biome filler node." -msgstr "泥土深度或其他生物群系过滤节点" +msgstr "泥土深度或其他生物群系过滤节点。" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 0d0786e41440b51ffe4eefb05a0c1d3024e0ad65 Mon Sep 17 00:00:00 2001 From: "updatepo.sh" Date: Tue, 25 Jan 2022 23:18:50 +0100 Subject: Update example config and translation .cpp --- minetest.conf.example | 31 ++++++++++++------------------- src/settings_translation_file.cpp | 18 +++++++++++------- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index 0562971de..7849a5393 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -533,6 +533,11 @@ # type: bool # smooth_lighting = true +# Enables tradeoffs that reduce CPU load or increase rendering performance +# at the expense of minor visual glitches that do not impact game playability. +# type: bool +# performance_tradeoffs = false + # Clouds are a client side effect. # type: bool # enable_clouds = true @@ -1014,9 +1019,6 @@ # When gui_scaling_filter is true, all GUI images need to be # filtered in software, but some images are generated directly # to hardware (e.g. render-to-texture for nodes in inventory). -# This will smooth over some of the rough edges, and blend -# pixels when scaling down, at the cost of blurring some -# edge pixels when images are scaled by non-integer sizes. # type: bool # gui_scaling_filter = false @@ -1035,11 +1037,6 @@ # type: bool # tooltip_append_itemname = false -# Whether FreeType fonts are used, requires FreeType support to be compiled in. -# If disabled, bitmap and XML vectors fonts are used instead. -# type: bool -# freetype = true - # type: bool # font_bold = false @@ -1054,7 +1051,7 @@ # type: int min: 0 max: 255 # font_shadow_alpha = 127 -# Font size of the default font in point (pt). +# Font size of the default font where 1 unit = 1 pixel at 96 DPI # type: int min: 1 # font_size = 16 @@ -1062,11 +1059,10 @@ # with this font will always be divisible by this value, in pixels. For instance, # a pixel font 16 pixels tall should have this set to 16, so it will only ever be # sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +# type: int min: 1 # font_size_divisible_by = 1 -# Path to the default font. -# If “freetype” setting is enabled: Must be a TrueType font. -# If “freetype” setting is disabled: Must be a bitmap or XML vectors font. +# Path to the default font. Must be a TrueType font. # The fallback font will be used if the font cannot be loaded. # type: filepath # font_path = fonts/Arimo-Regular.ttf @@ -1080,7 +1076,7 @@ # type: filepath # font_path_bold_italic = fonts/Arimo-BoldItalic.ttf -# Font size of the monospace font in point (pt). +# Font size of the monospace font where 1 unit = 1 pixel at 96 DPI # type: int min: 1 # mono_font_size = 16 @@ -1088,11 +1084,10 @@ # with this font will always be divisible by this value, in pixels. For instance, # a pixel font 16 pixels tall should have this set to 16, so it will only ever be # sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32. +# type: int min: 1 # mono_font_size_divisible_by = 1 -# Path to the monospace font. -# If “freetype” setting is enabled: Must be a TrueType font. -# If “freetype” setting is disabled: Must be a bitmap or XML vectors font. +# Path to the monospace font. Must be a TrueType font. # This font is used for e.g. the console and profiler screen. # type: filepath # mono_font_path = fonts/Cousine-Regular.ttf @@ -1106,9 +1101,7 @@ # type: filepath # mono_font_path_bold_italic = fonts/Cousine-BoldItalic.ttf -# Path of the fallback font. -# If “freetype” setting is enabled: Must be a TrueType font. -# If “freetype” setting is disabled: Must be a bitmap or XML vectors font. +# Path of the fallback font. Must be a TrueType font. # This font will be used for certain languages or if the default font is unavailable. # type: filepath # fallback_font_path = fonts/DroidSansFallbackFull.ttf diff --git a/src/settings_translation_file.cpp b/src/settings_translation_file.cpp index ad2093382..ebb7ba9be 100644 --- a/src/settings_translation_file.cpp +++ b/src/settings_translation_file.cpp @@ -215,6 +215,8 @@ fake_function() { gettext("Connects glass if supported by node."); gettext("Smooth lighting"); gettext("Enable smooth lighting with simple ambient occlusion.\nDisable for speed or for different looks."); + gettext("Tradeoffs for performance"); + gettext("Enables tradeoffs that reduce CPU load or increase rendering performance\nat the expense of minor visual glitches that do not impact game playability."); gettext("Clouds"); gettext("Clouds are a client side effect."); gettext("3D clouds"); @@ -406,8 +408,6 @@ fake_function() { gettext("Delay showing tooltips, stated in milliseconds."); gettext("Append item name"); gettext("Append item name to tooltip."); - gettext("FreeType fonts"); - gettext("Whether FreeType fonts are used, requires FreeType support to be compiled in.\nIf disabled, bitmap and XML vectors fonts are used instead."); gettext("Font bold by default"); gettext("Font italic by default"); gettext("Font shadow"); @@ -415,21 +415,25 @@ fake_function() { gettext("Font shadow alpha"); gettext("Opaqueness (alpha) of the shadow behind the default font, between 0 and 255."); gettext("Font size"); - gettext("Font size of the default font in point (pt)."); + gettext("Font size of the default font where 1 unit = 1 pixel at 96 DPI"); + gettext("Font size divisible by"); + gettext("For pixel-style fonts that do not scale well, this ensures that font sizes used\nwith this font will always be divisible by this value, in pixels. For instance,\na pixel font 16 pixels tall should have this set to 16, so it will only ever be\nsized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32."); gettext("Regular font path"); - gettext("Path to the default font.\nIf “freetype” setting is enabled: Must be a TrueType font.\nIf “freetype” setting is disabled: Must be a bitmap or XML vectors font.\nThe fallback font will be used if the font cannot be loaded."); + gettext("Path to the default font. Must be a TrueType font.\nThe fallback font will be used if the font cannot be loaded."); gettext("Bold font path"); gettext("Italic font path"); gettext("Bold and italic font path"); gettext("Monospace font size"); - gettext("Font size of the monospace font in point (pt)."); + gettext("Font size of the monospace font where 1 unit = 1 pixel at 96 DPI"); + gettext("Monospace font size divisible by"); + gettext("For pixel-style fonts that do not scale well, this ensures that font sizes used\nwith this font will always be divisible by this value, in pixels. For instance,\na pixel font 16 pixels tall should have this set to 16, so it will only ever be\nsized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32."); gettext("Monospace font path"); - gettext("Path to the monospace font.\nIf “freetype” setting is enabled: Must be a TrueType font.\nIf “freetype” setting is disabled: Must be a bitmap or XML vectors font.\nThis font is used for e.g. the console and profiler screen."); + gettext("Path to the monospace font. Must be a TrueType font.\nThis font is used for e.g. the console and profiler screen."); gettext("Bold monospace font path"); gettext("Italic monospace font path"); gettext("Bold and italic monospace font path"); gettext("Fallback font path"); - gettext("Path of the fallback font.\nIf “freetype” setting is enabled: Must be a TrueType font.\nIf “freetype” setting is disabled: Must be a bitmap or XML vectors font.\nThis font will be used for certain languages or if the default font is unavailable."); + gettext("Path of the fallback font. Must be a TrueType font.\nThis font will be used for certain languages or if the default font is unavailable."); gettext("Chat font size"); gettext("Font size of the recent chat text and chat prompt in point (pt).\nValue 0 will use the default font size."); gettext("Screenshot folder"); -- cgit v1.2.3 From 48e508052ad477eda1142f08990d523c8b9701ea Mon Sep 17 00:00:00 2001 From: "updatepo.sh" Date: Tue, 25 Jan 2022 23:19:13 +0100 Subject: Update translations --- po/ar/minetest.po | 76 +- po/be/minetest.po | 92 +- po/bg/minetest.po | 76 +- po/ca/minetest.po | 80 +- po/cs/minetest.po | 82 +- po/da/minetest.po | 81 +- po/de/minetest.po | 99 +- po/dv/minetest.po | 70 +- po/el/minetest.po | 70 +- po/eo/minetest.po | 96 +- po/es/minetest.po | 82 +- po/et/minetest.po | 76 +- po/eu/minetest.po | 76 +- po/fi/minetest.po | 79 +- po/fil/minetest.po | 70 +- po/fr/minetest.po | 134 +- po/gd/minetest.po | 78 +- po/gl/minetest.po | 70 +- po/he/minetest.po | 76 +- po/hi/minetest.po | 76 +- po/hu/minetest.po | 112 +- po/id/minetest.po | 105 +- po/it/minetest.po | 105 +- po/ja/minetest.po | 124 +- po/jbo/minetest.po | 73 +- po/kk/minetest.po | 73 +- po/kn/minetest.po | 70 +- po/ko/minetest.po | 80 +- po/ky/minetest.po | 80 +- po/lt/minetest.po | 76 +- po/lv/minetest.po | 76 +- po/lzh/minetest.po | 4564 ++++++++++++++++++++++++------------------------ po/minetest.pot | 80 +- po/mr/minetest.po | 70 +- po/ms/minetest.po | 104 +- po/ms_Arab/minetest.po | 95 +- po/nb/minetest.po | 80 +- po/nl/minetest.po | 99 +- po/nn/minetest.po | 78 +- po/pl/minetest.po | 100 +- po/pt/minetest.po | 97 +- po/pt_BR/minetest.po | 97 +- po/ro/minetest.po | 76 +- po/ru/minetest.po | 97 +- po/sk/minetest.po | 97 +- po/sl/minetest.po | 76 +- po/sr_Cyrl/minetest.po | 76 +- po/sr_Latn/minetest.po | 70 +- po/sv/minetest.po | 96 +- po/sw/minetest.po | 98 +- po/th/minetest.po | 90 +- po/tr/minetest.po | 97 +- po/tt/minetest.po | 70 +- po/uk/minetest.po | 76 +- po/vi/minetest.po | 80 +- po/yue/minetest.po | 70 +- po/zh_CN/minetest.po | 88 +- po/zh_TW/minetest.po | 90 +- 58 files changed, 5129 insertions(+), 4295 deletions(-) diff --git a/po/ar/minetest.po b/po/ar/minetest.po index 5aa8137b4..fc4891024 100644 --- a/po/ar/minetest.po +++ b/po/ar/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: 2021-12-05 13:51+0000\n" "Last-Translator: abidin toumi \n" "Language-Team: Arabic \n" "Language-Team: Belarusian \n" "Language-Team: Bulgarian \n" "Language-Team: Catalan \n" "Language-Team: Czech \n" "Language-Team: Danish \n" "Language-Team: German \n" "Language-Team: Dhivehi \n" "Language-Team: Greek \n" "Language-Team: Esperanto \n" "Language-Team: Spanish \n" "Language-Team: Estonian \n" "Language-Team: Basque \n" "Language-Team: Finnish \n" "Language-Team: French \n" "Language-Team: Gaelic \n" "Language-Team: Galician \n" "Language-Team: Hebrew \n" "Language-Team: Hindi \n" "Language-Team: Hungarian \n" @@ -1211,14 +1211,6 @@ msgstr "" msgid "- Address: " msgstr "- Alamat: " -#: src/client/game.cpp -msgid "- Creative Mode: " -msgstr "- Mode Kreatif: " - -#: src/client/game.cpp -msgid "- Damage: " -msgstr "- Kerusakan: " - #: src/client/game.cpp msgid "- Mode: " msgstr "- Mode: " @@ -1574,7 +1566,7 @@ msgstr "Tidak bisa menyambung ke %s karena IPv6 dimatikan" msgid "Unable to listen on %s because IPv6 is disabled" msgstr "Tidak bisa mendengarkan %s karena IPv6 dimatikan" -#: src/client/game.cpp src/unittest/test_gettext.cpp +#: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "Jarak pandang diubah menjadi %d" @@ -1924,7 +1916,7 @@ msgstr "Kata sandi tidak cocok!" msgid "Register and Join" msgstr "Daftar dan Gabung" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -3366,6 +3358,12 @@ msgstr "" "akan tidak berfungsi.\n" "Perubahan pengaturan ini membutuhkan mulai ulang." +#: src/settings_translation_file.cpp +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." +msgstr "" + #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "Jarak pencetakan data profiling mesin" @@ -3566,11 +3564,17 @@ msgid "Font size" msgstr "Ukuran fon" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Font size divisible by" +msgstr "" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" msgstr "Ukuran fon bawaan dalam poin (pt)." #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +#, fuzzy +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" msgstr "Ukuran fon monospace bawaan dalam poin (pt)." #: src/settings_translation_file.cpp @@ -3581,6 +3585,17 @@ msgstr "" "Ukuran fon teks obrolan terkini dan prompt obrolan dalam poin (pt).\n" "Nilai 0 akan memakai ukuran bawaan." +#: src/settings_translation_file.cpp +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Format of player chat messages. The following strings are valid " @@ -3642,10 +3657,6 @@ msgstr "Jenis fraktal" msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "Bagian dari jarak pandang tempat kabut mulai tampak" -#: src/settings_translation_file.cpp -msgid "FreeType fonts" -msgstr "Fon FreeType" - #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " @@ -5740,6 +5751,11 @@ msgstr "Jalur fon monospace" msgid "Monospace font size" msgstr "Ukuran fon monospace" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Monospace font size divisible by" +msgstr "Ukuran fon monospace" + #: src/settings_translation_file.cpp msgid "Mountain height noise" msgstr "Noise ketinggian gunung" @@ -5920,10 +5936,9 @@ msgid "Optional override for chat weblink color." msgstr "Penimpaan opsional untuk warna tautan web pada obrolan." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" @@ -5952,10 +5967,9 @@ msgid "Path to texture directory. All textures are first searched from here." msgstr "Jalur ke direktori tekstur. Semua tekstur akan dicari mulai dari sini." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" "Jalur ke fon bawaan.\n" @@ -5964,10 +5978,9 @@ msgstr "" "Fon cadangan akan dipakai jika fon tidak dapat dimuat." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" "Jalur ke fon monospace.\n" @@ -6437,8 +6450,8 @@ msgid "" "Minimum value: 1.0; maximum value: 10.0" msgstr "" "Atur besar jari-jari bayangan halus.\n" -"Nilai rendah berarti bayangan lebih tajam, nilai tinggi berarti lebih halus." -"\n" +"Nilai rendah berarti bayangan lebih tajam, nilai tinggi berarti lebih " +"halus.\n" "Nilai minimum: 1.0; nilai maksimum 10.0" #: src/settings_translation_file.cpp @@ -7067,6 +7080,10 @@ msgstr "Jeda tooltip" msgid "Touch screen threshold" msgstr "Ambang batas layar sentuh" +#: src/settings_translation_file.cpp +msgid "Tradeoffs for performance" +msgstr "" + #: src/settings_translation_file.cpp msgid "Trees noise" msgstr "Noise pepohonan" @@ -7393,21 +7410,11 @@ msgstr "" "nearest-neighbor untuk menjaga ketajaman piksel. Ini mengatur ukuran\n" "tekstur minimum untuk tekstur yang diperbesar; semakin tinggi semakin\n" "tajam, tetapi butuh memori lebih. Perpangkatan dua disarankan. Pengaturan\n" -"ini HANYA diterapkan jika menggunakan filter bilinear/trilinear/anisotropik." -"\n" +"ini HANYA diterapkan jika menggunakan filter bilinear/trilinear/" +"anisotropik.\n" "Ini juga dipakai sebagai ukuran dasar tekstur nodus untuk penyekalaan\n" "otomatis tekstur yang sejajar dengan dunia." -#: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" -"Apakah fon FreeType digunakan, membutuhkan dukungan FreeType saat " -"dikompilasi.\n" -"Jika dimatikan, fon bitmap dan vektor XML akan dipakai." - #: src/settings_translation_file.cpp msgid "" "Whether name tag backgrounds should be shown by default.\n" @@ -7575,6 +7582,12 @@ msgstr "Waktu habis untuk cURL" msgid "cURL parallel limit" msgstr "Batas cURL paralel" +#~ msgid "- Creative Mode: " +#~ msgstr "- Mode Kreatif: " + +#~ msgid "- Damage: " +#~ msgstr "- Kerusakan: " + #~ msgid "" #~ "0 = parallax occlusion with slope information (faster).\n" #~ "1 = relief mapping (slower, more accurate)." @@ -7745,6 +7758,9 @@ msgstr "Batas cURL paralel" #~ msgid "Font size of the fallback font in point (pt)." #~ msgstr "Ukuran fon cadangan bawaan dalam poin (pt)." +#~ msgid "FreeType fonts" +#~ msgstr "Fon FreeType" + #~ msgid "Full screen BPP" #~ msgstr "BPP layar penuh" @@ -7922,6 +7938,15 @@ msgstr "Batas cURL paralel" #~ msgid "Waving water" #~ msgstr "Air berombak" +#~ msgid "" +#~ "Whether FreeType fonts are used, requires FreeType support to be compiled " +#~ "in.\n" +#~ "If disabled, bitmap and XML vectors fonts are used instead." +#~ msgstr "" +#~ "Apakah fon FreeType digunakan, membutuhkan dukungan FreeType saat " +#~ "dikompilasi.\n" +#~ "Jika dimatikan, fon bitmap dan vektor XML akan dipakai." + #~ msgid "Whether dungeons occasionally project from the terrain." #~ msgstr "Apakah dungeon terkadang muncul dari medan." diff --git a/po/it/minetest.po b/po/it/minetest.po index 4de7c917b..0a0997f38 100644 --- a/po/it/minetest.po +++ b/po/it/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Italian (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: 2021-12-02 01:31+0000\n" "Last-Translator: Simone Starace \n" "Language-Team: Italian \n" "Language-Team: Japanese \n" "Language-Team: Lojban \n" "Language-Team: Kazakh \n" "Language-Team: Kannada \n" "Language-Team: Korean \n" "Language-Team: Kyrgyz \n" "Language-Team: Lithuanian \n" "Language-Team: Latvian \n" "Language-Team: Chinese (Literary) ' to get more information, or '.help all' to list everything." +msgid "Available commands: " msgstr "" #: builtin/common/chatcommands.lua -msgid "Available commands:" +msgid "Command not available: " msgstr "" #: builtin/common/chatcommands.lua -msgid "Command not available: " +msgid "Get help for commands" msgstr "" #: builtin/common/chatcommands.lua -msgid "[all | ]" +msgid "" +"Use '.help ' to get more information, or '.help all' to list everything." msgstr "" #: builtin/common/chatcommands.lua -msgid "Get help for commands" +msgid "[all | ]" msgstr "" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp @@ -97,11 +97,11 @@ msgid "" msgstr "" #: builtin/fstk/ui.lua -msgid "The server has requested a reconnect:" +msgid "An error occurred in a Lua script:" msgstr "" #: builtin/fstk/ui.lua -msgid "Reconnect" +msgid "An error occurred:" msgstr "" #: builtin/fstk/ui.lua @@ -109,15 +109,15 @@ msgid "Main menu" msgstr "" #: builtin/fstk/ui.lua -msgid "An error occurred in a Lua script:" +msgid "Reconnect" msgstr "" #: builtin/fstk/ui.lua -msgid "An error occurred:" +msgid "The server has requested a reconnect:" msgstr "" #: builtin/mainmenu/common.lua -msgid "Server supports protocol versions between $1 and $2. " +msgid "Protocol version mismatch. " msgstr "" #: builtin/mainmenu/common.lua @@ -125,7 +125,7 @@ msgid "Server enforces protocol version $1. " msgstr "" #: builtin/mainmenu/common.lua -msgid "We support protocol versions between version $1 and $2." +msgid "Server supports protocol versions between $1 and $2. " msgstr "" #: builtin/mainmenu/common.lua @@ -133,210 +133,210 @@ msgid "We only support protocol version $1." msgstr "" #: builtin/mainmenu/common.lua -msgid "Protocol version mismatch. " +msgid "We support protocol versions between version $1 and $2." msgstr "" -#: builtin/mainmenu/dlg_config_world.lua -msgid "World:" +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/dlg_create_world.lua +#: builtin/mainmenu/dlg_delete_content.lua +#: builtin/mainmenu/dlg_delete_world.lua +#: builtin/mainmenu/dlg_rename_modpack.lua +#: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp +#: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp +#: src/gui/guiPasswordChange.cpp +msgid "Cancel" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua -msgid "No modpack description provided." +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua +#: builtin/mainmenu/tab_content.lua +msgid "Dependencies:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No game description provided." +msgid "Disable all" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Mod:" +msgid "Disable modpack" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No (optional) dependencies" +msgid "Enable all" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No hard dependencies" +msgid "Enable modpack" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua -msgid "Optional dependencies:" +#: builtin/mainmenu/dlg_config_world.lua +msgid "" +"Failed to enable mod \"$1\" as it contains disallowed characters. Only " +"characters [a-z0-9_] are allowed." msgstr "" -#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/tab_content.lua -msgid "Dependencies:" +#: builtin/mainmenu/dlg_config_world.lua +msgid "Find More Mods" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "No optional dependencies" +msgid "Mod:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -#: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp -msgid "Save" +msgid "No (optional) dependencies" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/dlg_create_world.lua -#: builtin/mainmenu/dlg_delete_content.lua -#: builtin/mainmenu/dlg_delete_world.lua -#: builtin/mainmenu/dlg_rename_modpack.lua -#: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp -#: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp -#: src/gui/guiPasswordChange.cpp -msgid "Cancel" +#: builtin/mainmenu/dlg_config_world.lua +msgid "No game description provided." msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Find More Mods" +msgid "No hard dependencies" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Disable modpack" +msgid "No modpack description provided." msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Enable modpack" +msgid "No optional dependencies" msgstr "" -#: builtin/mainmenu/dlg_config_world.lua -msgid "enabled" +#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua +msgid "Optional dependencies:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Disable all" +#: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp +msgid "Save" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "Enable all" +msgid "World:" msgstr "" #: builtin/mainmenu/dlg_config_world.lua -msgid "" -"Failed to enable mod \"$1\" as it contains disallowed characters. Only " -"characters [a-z0-9_] are allowed." +msgid "enabled" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "ContentDB is not available when Minetest was compiled without cURL" +msgid "\"$1\" already exists. Would you like to overwrite it?" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "All packages" +msgid "$1 and $2 dependencies will be installed." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Games" +msgid "$1 by $2" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Mods" +msgid "" +"$1 downloading,\n" +"$2 queued" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Texture packs" +msgid "$1 downloading..." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Failed to download $1" +msgid "$1 required dependencies could not be found." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install: Unsupported file type or broken archive" +msgid "$1 will be installed, and $2 dependencies will be skipped." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Already installed" +msgid "All packages" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 by $2" +msgid "Already installed" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Not found" +msgid "Back to Main Menu" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 and $2 dependencies will be installed." +msgid "Base Game:" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 will be installed, and $2 dependencies will be skipped." +msgid "ContentDB is not available when Minetest was compiled without cURL" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 required dependencies could not be found." +msgid "Downloading..." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Please check that the base game is correct." +msgid "Failed to download $1" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install $1" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Games" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Base Game:" +msgid "Install" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install missing dependencies" +msgid "Install $1" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Install" +msgid "Install missing dependencies" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "\"$1\" already exists. Would you like to overwrite it?" +msgid "Install: Unsupported file type or broken archive" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Overwrite" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Mods" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Back to Main Menu" +msgid "No packages could be retrieved" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "" -"$1 downloading,\n" -"$2 queued" +msgid "No results" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "$1 downloading..." +msgid "No updates" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "No updates" +msgid "Not found" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Update All [$1]" +msgid "Overwrite" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "No results" +msgid "Please check that the base game is correct." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "No packages could be retrieved" +msgid "Queued" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Downloading..." +msgid "Texture packs" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Queued" +msgid "Uninstall" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua @@ -344,7 +344,7 @@ msgid "Update" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua -msgid "Uninstall" +msgid "Update All [$1]" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua @@ -352,75 +352,71 @@ msgid "View more information in a web browser" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Caverns" +msgid "A world named \"$1\" already exists" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Very large caverns deep in the underground" +msgid "Additional terrain" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Sea level rivers" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Altitude chill" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Rivers" -msgstr "川" - -#: builtin/mainmenu/dlg_create_world.lua -msgid "Mountains" +msgid "Altitude dry" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Floatlands (experimental)" +msgid "Biome blending" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Floating landmasses in the sky" +msgid "Biomes" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Altitude chill" +#: builtin/mainmenu/dlg_create_world.lua +msgid "Caverns" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Reduces heat with altitude" +msgid "Caves" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Altitude dry" +msgid "Create" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Reduces humidity with altitude" +msgid "Decorations" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Humid rivers" +msgid "Download a game, such as Minetest Game, from minetest.net" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Increases humidity around rivers" +msgid "Download one from minetest.net" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Vary river depth" +msgid "Dungeons" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Low humidity and high heat causes shallow or dry rivers" -msgstr "" +msgid "Flat terrain" +msgstr "平地" #: builtin/mainmenu/dlg_create_world.lua -msgid "Hills" +msgid "Floating landmasses in the sky" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Lakes" +msgid "Floatlands (experimental)" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Additional terrain" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Game" msgstr "" #: builtin/mainmenu/dlg_create_world.lua @@ -428,122 +424,126 @@ msgid "Generate non-fractal terrain: Oceans and underground" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Trees and jungle grass" +msgid "Hills" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Flat terrain" -msgstr "平地" +msgid "Humid rivers" +msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Mud flow" -msgstr "泥流" +msgid "Increases humidity around rivers" +msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Terrain surface erosion" -msgstr "地表之蚀" +msgid "Lakes" +msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Temperate, Desert, Jungle, Tundra, Taiga" +msgid "Low humidity and high heat causes shallow or dry rivers" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Temperate, Desert, Jungle" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua -msgid "Temperate, Desert" +#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp +msgid "Mapgen flags" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "You have no games installed." +msgid "Mapgen-specific flags" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Download one from minetest.net" +msgid "Mountains" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Caves" -msgstr "" +msgid "Mud flow" +msgstr "泥流" #: builtin/mainmenu/dlg_create_world.lua -msgid "Dungeons" +msgid "Network of tunnels and caves" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Decorations" +msgid "No game selected" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "" -"Structures appearing on the terrain (no effect on trees and jungle grass " -"created by v6)" +msgid "Reduces heat with altitude" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Structures appearing on the terrain, typically trees and plants" +msgid "Reduces humidity with altitude" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Network of tunnels and caves" -msgstr "" +msgid "Rivers" +msgstr "川" #: builtin/mainmenu/dlg_create_world.lua -msgid "Biomes" +msgid "Sea level rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Biome blending" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Seed" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Mapgen flags" +#: builtin/mainmenu/dlg_create_world.lua +msgid "" +"Structures appearing on the terrain (no effect on trees and jungle grass " +"created by v6)" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Mapgen-specific flags" +msgid "Structures appearing on the terrain, typically trees and plants" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Warning: The Development Test is meant for developers." +msgid "Temperate, Desert" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Download a game, such as Minetest Game, from minetest.net" +msgid "Temperate, Desert, Jungle" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "World name" +msgid "Temperate, Desert, Jungle, Tundra, Taiga" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Seed" +msgid "Terrain surface erosion" +msgstr "地表之蚀" + +#: builtin/mainmenu/dlg_create_world.lua +msgid "Trees and jungle grass" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Mapgen" +#: builtin/mainmenu/dlg_create_world.lua +msgid "Vary river depth" msgstr "" -#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp -msgid "Game" +#: builtin/mainmenu/dlg_create_world.lua +msgid "Very large caverns deep in the underground" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Create" +msgid "Warning: The Development Test is meant for developers." msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "A world named \"$1\" already exists" +msgid "World name" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "No game selected" +msgid "You have no games installed." msgstr "" #: builtin/mainmenu/dlg_delete_content.lua @@ -572,54 +572,54 @@ msgstr "" msgid "Accept" msgstr "" +#: builtin/mainmenu/dlg_rename_modpack.lua +msgid "Rename Modpack:" +msgstr "" + #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" -#: builtin/mainmenu/dlg_rename_modpack.lua -msgid "Rename Modpack:" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "(No description of setting given)" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua -msgid "Disabled" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "2D Noise" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Enabled" +msgid "< Back to Settings page" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Browse" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp -msgid "Offset" -msgstr "" - -#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp -msgid "Scale" +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_settings.lua +msgid "Disabled" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "X spread" +msgid "Edit" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Y spread" +msgid "Enabled" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "2D Noise" +msgid "Lacunarity" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Z spread" +msgid "Octaves" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Octaves" +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua @@ -627,90 +627,90 @@ msgid "Persistence" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Lacunarity" +msgid "Please enter a valid integer." msgstr "" -#. ~ "defaults" is a noise parameter flag. -#. It describes the default processing options -#. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "defaults" +msgid "Please enter a valid number." msgstr "" -#. ~ "eased" is a noise parameter flag. -#. It is used to make the map smoother and -#. can be enabled in noise settings in -#. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "eased" +msgid "Restore Default" msgstr "" -#. ~ "absvalue" is a noise parameter flag. -#. It is short for "absolute value". -#. It can be enabled in noise settings in -#. main menu -> "All Settings". -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "absvalue" +#: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp +msgid "Scale" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua -msgid "X" +#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua +msgid "Search" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Y" +msgid "Select directory" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Z" +msgid "Select file" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "(No description of setting given)" +msgid "Show technical names" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Please enter a valid integer." +msgid "The value must be at least $1." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "The value must be at least $1." +msgid "The value must not be larger than $1." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "The value must not be larger than $1." +msgid "X" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Please enter a valid number." +msgid "X spread" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Select directory" +msgid "Y" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Select file" +msgid "Y spread" msgstr "" -#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_online.lua -msgid "Search" +#: builtin/mainmenu/dlg_settings_advanced.lua +msgid "Z" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "< Back to Settings page" +msgid "Z spread" msgstr "" +#. ~ "absvalue" is a noise parameter flag. +#. It is short for "absolute value". +#. It can be enabled in noise settings in +#. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Edit" +msgid "absvalue" msgstr "" +#. ~ "defaults" is a noise parameter flag. +#. It describes the default processing options +#. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Restore Default" +msgid "defaults" msgstr "" +#. ~ "eased" is a noise parameter flag. +#. It is used to make the map smoother and +#. can be enabled in noise settings in +#. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua -msgid "Show technical names" +msgid "eased" msgstr "" #: builtin/mainmenu/pkgmgr.lua @@ -718,7 +718,7 @@ msgid "$1 (Enabled)" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a $1 as a texture pack" +msgid "$1 mods" msgstr "" #: builtin/mainmenu/pkgmgr.lua @@ -726,31 +726,31 @@ msgid "Failed to install $1 to $2" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to find a valid mod or modpack" +msgid "Install Mod: Unable to find real mod name for: $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a modpack as a $1" +msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Install Mod: Unable to find suitable folder name for modpack $1" +msgid "Unable to find a valid mod or modpack" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a mod as a $1" +msgid "Unable to install a $1 as a texture pack" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Install Mod: Unable to find real mod name for: $1" +msgid "Unable to install a game as a $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "Unable to install a game as a $1" +msgid "Unable to install a mod as a $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua -msgid "$1 mods" +msgid "Unable to install a modpack as a $1" msgstr "" #: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp @@ -758,35 +758,31 @@ msgid "Loading..." msgstr "" #: builtin/mainmenu/serverlistmgr.lua -msgid "Try reenabling public serverlist and check your internet connection." +msgid "Public server list is disabled" msgstr "" #: builtin/mainmenu/serverlistmgr.lua -msgid "Public server list is disabled" +msgid "Try reenabling public serverlist and check your internet connection." msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" msgstr "" -#: builtin/mainmenu/tab_about.lua -msgid "Core Developers" -msgstr "" - #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Previous Core Developers" +msgid "Active renderer:" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Previous Contributors" +msgid "Core Developers" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Active renderer:" +msgid "Open User Data Directory" msgstr "" #: builtin/mainmenu/tab_about.lua @@ -796,11 +792,11 @@ msgid "" msgstr "" #: builtin/mainmenu/tab_about.lua -msgid "Open User Data Directory" +msgid "Previous Contributors" msgstr "" -#: builtin/mainmenu/tab_content.lua -msgid "Installed Packages:" +#: builtin/mainmenu/tab_about.lua +msgid "Previous Core Developers" msgstr "" #: builtin/mainmenu/tab_content.lua @@ -808,27 +804,31 @@ msgid "Browse online content" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "No package description available" +msgid "Content" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Rename" +msgid "Disable Texture Pack" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "No dependencies." +msgid "Information:" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Disable Texture Pack" +msgid "Installed Packages:" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Use Texture Pack" +msgid "No dependencies." msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Information:" +msgid "No package description available" +msgstr "" + +#: builtin/mainmenu/tab_content.lua +msgid "Rename" msgstr "" #: builtin/mainmenu/tab_content.lua @@ -836,47 +836,47 @@ msgid "Uninstall Package" msgstr "" #: builtin/mainmenu/tab_content.lua -msgid "Content" +msgid "Use Texture Pack" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Install games from ContentDB" +msgid "Announce Server" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Creative Mode" +msgid "Bind Address" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Enable Damage" +msgid "Creative Mode" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Host Server" +msgid "Enable Damage" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Select Mods" +msgid "Host Game" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "New" +msgid "Host Server" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Select World:" +msgid "Install games from ContentDB" msgstr "" -#: builtin/mainmenu/tab_local.lua -msgid "Host Game" +#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua +msgid "Name" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Announce Server" +msgid "New" msgstr "" -#: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua -msgid "Name" +#: builtin/mainmenu/tab_local.lua +msgid "No world created or selected!" msgstr "" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua @@ -884,7 +884,7 @@ msgid "Password" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Bind Address" +msgid "Play Game" msgstr "" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua @@ -892,39 +892,40 @@ msgid "Port" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Server Port" +msgid "Select Mods" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "Play Game" +msgid "Select World:" msgstr "" #: builtin/mainmenu/tab_local.lua -msgid "No world created or selected!" +msgid "Server Port" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Start Game" msgstr "" -#: builtin/mainmenu/tab_online.lua src/client/keycode.cpp -msgid "Clear" +#: builtin/mainmenu/tab_online.lua +msgid "Address" msgstr "" -#: builtin/mainmenu/tab_online.lua -msgid "Refresh" +#: builtin/mainmenu/tab_online.lua src/client/keycode.cpp +msgid "Clear" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Address" +msgid "Connect" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Server Description" +msgid "Creative mode" msgstr "" +#. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -msgid "Connect" +msgid "Damage / PvP" msgstr "" #: builtin/mainmenu/tab_online.lua @@ -932,20 +933,19 @@ msgid "Del. Favorite" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Ping" +msgid "Favorites" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Creative mode" +msgid "Incompatible Servers" msgstr "" -#. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -msgid "Damage / PvP" +msgid "Join Game" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Favorites" +msgid "Ping" msgstr "" #: builtin/mainmenu/tab_online.lua @@ -953,119 +953,115 @@ msgid "Public Servers" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Incompatible Servers" +msgid "Refresh" msgstr "" #: builtin/mainmenu/tab_online.lua -msgid "Join Game" +msgid "Server Description" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Opaque Leaves" +msgid "2x" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Simple Leaves" +msgid "3D Clouds" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Fancy Leaves" +msgid "4x" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Node Outlining" +msgid "8x" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Node Highlighting" +msgid "All Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "None" +msgid "Antialiasing:" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "No Filter" +msgid "Autosave Screen Size" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "Trilinear Filter" -msgstr "" - -#: builtin/mainmenu/tab_settings.lua -msgid "No Mipmap" +#: builtin/mainmenu/tab_settings.lua src/client/game.cpp +msgid "Change Keys" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Mipmap" +msgid "Connected Glass" msgstr "" -#: builtin/mainmenu/tab_settings.lua -msgid "Mipmap + Aniso. Filter" +#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp +msgid "Dynamic shadows" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "2x" +msgid "Dynamic shadows: " msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "4x" +msgid "Fancy Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "8x" +msgid "High" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Very Low" +msgid "Low" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Low" +msgid "Medium" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Medium" +msgid "Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "High" +msgid "Mipmap + Aniso. Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Ultra High" +msgid "No Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Smooth Lighting" +msgid "No Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Particles" +msgid "Node Highlighting" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "3D Clouds" +msgid "Node Outlining" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Opaque Water" +msgid "None" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Connected Glass" +msgid "Opaque Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Texturing:" +msgid "Opaque Water" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Antialiasing:" +msgid "Particles" msgstr "" #: builtin/mainmenu/tab_settings.lua @@ -1073,7 +1069,7 @@ msgid "Screen:" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Autosave Screen Size" +msgid "Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp @@ -1088,16 +1084,16 @@ msgstr "" msgid "Shaders (unavailable)" msgstr "" -#: builtin/mainmenu/tab_settings.lua src/client/game.cpp -msgid "Change Keys" +#: builtin/mainmenu/tab_settings.lua +msgid "Simple Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "All Settings" +msgid "Smooth Lighting" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Touchthreshold: (px)" +msgid "Texturing:" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp @@ -1105,27 +1101,31 @@ msgid "Tone Mapping" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Waving Liquids" +msgid "Touchthreshold: (px)" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Waving Leaves" +msgid "Trilinear Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Waving Plants" +msgid "Ultra High" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Dynamic shadows: " +msgid "Very Low" msgstr "" -#: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp -msgid "Dynamic shadows" +#: builtin/mainmenu/tab_settings.lua +msgid "Waving Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua -msgid "Settings" +msgid "Waving Liquids" +msgstr "" + +#: builtin/mainmenu/tab_settings.lua +msgid "Waving Plants" msgstr "" #: src/client/client.cpp src/client/game.cpp @@ -1133,11 +1133,11 @@ msgid "Connection timed out." msgstr "" #: src/client/client.cpp -msgid "Loading textures..." +msgid "Done!" msgstr "" #: src/client/client.cpp -msgid "Rebuilding shaders..." +msgid "Initializing nodes" msgstr "" #: src/client/client.cpp @@ -1145,426 +1145,422 @@ msgid "Initializing nodes..." msgstr "" #: src/client/client.cpp -msgid "Initializing nodes" +msgid "Loading textures..." msgstr "" #: src/client/client.cpp -msgid "Done!" +msgid "Rebuilding shaders..." msgstr "" #: src/client/clientlauncher.cpp -msgid "Main Menu" +msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp -msgid "Connection error (timed out?)" +msgid "Could not find or load game: " msgstr "" #: src/client/clientlauncher.cpp -msgid "Provided password file failed to open: " +msgid "Invalid gamespec." msgstr "" #: src/client/clientlauncher.cpp -msgid "Please choose a name!" +msgid "Main Menu" msgstr "" #: src/client/clientlauncher.cpp -msgid "Player name too long." +msgid "No world selected and no address provided. Nothing to do." msgstr "" #: src/client/clientlauncher.cpp -msgid "No world selected and no address provided. Nothing to do." +msgid "Player name too long." msgstr "" #: src/client/clientlauncher.cpp -msgid "Provided world path doesn't exist: " +msgid "Please choose a name!" msgstr "" #: src/client/clientlauncher.cpp -msgid "Could not find or load game: " +msgid "Provided password file failed to open: " msgstr "" #: src/client/clientlauncher.cpp -msgid "Invalid gamespec." +msgid "Provided world path doesn't exist: " msgstr "" #: src/client/game.cpp -msgid "Shutting down..." +msgid "" +"\n" +"Check debug.txt for details." msgstr "" #: src/client/game.cpp -msgid "Creating server..." +msgid "- Address: " msgstr "" #: src/client/game.cpp -#, c-format -msgid "Unable to listen on %s because IPv6 is disabled" +msgid "- Mode: " msgstr "" #: src/client/game.cpp -msgid "Creating client..." +msgid "- Port: " msgstr "" #: src/client/game.cpp -msgid "Connection failed for unknown reason" +msgid "- Public: " msgstr "" +#. ~ PvP = Player versus Player #: src/client/game.cpp -msgid "Singleplayer" +msgid "- PvP: " msgstr "" #: src/client/game.cpp -msgid "Multiplayer" +msgid "- Server Name: " msgstr "" #: src/client/game.cpp -msgid "Resolving address..." +msgid "A serialization error occurred:" msgstr "" #: src/client/game.cpp #, c-format -msgid "Couldn't resolve address: %s" +msgid "Access denied. Reason: %s" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Unable to connect to %s because IPv6 is disabled" +msgid "Automatic forward disabled" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Access denied. Reason: %s" +msgid "Automatic forward enabled" msgstr "" #: src/client/game.cpp -msgid "Connecting to server..." +msgid "Block bounds hidden" msgstr "" #: src/client/game.cpp -msgid "Client disconnected" +msgid "Block bounds shown for all blocks" msgstr "" #: src/client/game.cpp -msgid "Item definitions..." +msgid "Block bounds shown for current block" msgstr "" #: src/client/game.cpp -msgid "Node definitions..." +msgid "Block bounds shown for nearby blocks" msgstr "" #: src/client/game.cpp -msgid "Media..." +msgid "Camera update disabled" msgstr "" #: src/client/game.cpp -msgid "KiB/s" +msgid "Camera update enabled" msgstr "" #: src/client/game.cpp -msgid "MiB/s" +msgid "Can't show block bounds (need 'basic_debug' privilege)" msgstr "" #: src/client/game.cpp -msgid "Client side scripting is disabled" +msgid "Change Password" msgstr "" #: src/client/game.cpp -msgid "Sound muted" -msgstr "消音" +msgid "Cinematic mode disabled" +msgstr "" #: src/client/game.cpp -msgid "Sound unmuted" +msgid "Cinematic mode enabled" msgstr "" #: src/client/game.cpp -msgid "Sound system is disabled" +msgid "Client disconnected" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Volume changed to %d%%" +msgid "Client side scripting is disabled" msgstr "" #: src/client/game.cpp -msgid "Sound system is not supported on this build" +msgid "Connecting to server..." msgstr "" #: src/client/game.cpp -msgid "ok" +msgid "Connection failed for unknown reason" msgstr "" #: src/client/game.cpp -msgid "Fly mode enabled" +msgid "Continue" msgstr "" #: src/client/game.cpp -msgid "Fly mode enabled (note: no 'fly' privilege)" +#, c-format +msgid "" +"Controls:\n" +"- %s: move forwards\n" +"- %s: move backwards\n" +"- %s: move left\n" +"- %s: move right\n" +"- %s: jump/climb up\n" +"- %s: dig/punch\n" +"- %s: place/use\n" +"- %s: sneak/climb down\n" +"- %s: drop item\n" +"- %s: inventory\n" +"- Mouse: turn/look\n" +"- Mouse wheel: select item\n" +"- %s: chat\n" msgstr "" #: src/client/game.cpp -msgid "Fly mode disabled" +#, c-format +msgid "Couldn't resolve address: %s" msgstr "" #: src/client/game.cpp -msgid "Pitch move mode enabled" +msgid "Creating client..." msgstr "" #: src/client/game.cpp -msgid "Pitch move mode disabled" +msgid "Creating server..." msgstr "" #: src/client/game.cpp -msgid "Fast mode enabled" +msgid "Debug info and profiler graph hidden" msgstr "" #: src/client/game.cpp -msgid "Fast mode enabled (note: no 'fast' privilege)" +msgid "Debug info shown" msgstr "" #: src/client/game.cpp -msgid "Fast mode disabled" +msgid "Debug info, profiler graph, and wireframe hidden" msgstr "" #: src/client/game.cpp -msgid "Noclip mode enabled" +msgid "" +"Default Controls:\n" +"No menu visible:\n" +"- single tap: button activate\n" +"- double tap: place/use\n" +"- slide finger: look around\n" +"Menu/Inventory visible:\n" +"- double tap (outside):\n" +" -->close\n" +"- touch stack, touch slot:\n" +" --> move stack\n" +"- touch&drag, tap 2nd finger\n" +" --> place single item to slot\n" msgstr "" #: src/client/game.cpp -msgid "Noclip mode enabled (note: no 'noclip' privilege)" +msgid "Disabled unlimited viewing range" msgstr "" #: src/client/game.cpp -msgid "Noclip mode disabled" +msgid "Enabled unlimited viewing range" msgstr "" #: src/client/game.cpp -msgid "Cinematic mode enabled" +msgid "Exit to Menu" msgstr "" #: src/client/game.cpp -msgid "Cinematic mode disabled" +msgid "Exit to OS" msgstr "" #: src/client/game.cpp -msgid "Block bounds hidden" +msgid "Fast mode disabled" msgstr "" #: src/client/game.cpp -msgid "Block bounds shown for current block" +msgid "Fast mode enabled" msgstr "" #: src/client/game.cpp -msgid "Block bounds shown for nearby blocks" +msgid "Fast mode enabled (note: no 'fast' privilege)" msgstr "" #: src/client/game.cpp -msgid "Block bounds shown for all blocks" +msgid "Fly mode disabled" msgstr "" #: src/client/game.cpp -msgid "Can't show block bounds (need 'basic_debug' privilege)" +msgid "Fly mode enabled" msgstr "" #: src/client/game.cpp -msgid "Automatic forward enabled" +msgid "Fly mode enabled (note: no 'fly' privilege)" msgstr "" #: src/client/game.cpp -msgid "Automatic forward disabled" +msgid "Fog disabled" msgstr "" #: src/client/game.cpp -msgid "Minimap currently disabled by game or mod" +msgid "Fog enabled" msgstr "" #: src/client/game.cpp -msgid "Fog disabled" +msgid "Game info:" msgstr "" #: src/client/game.cpp -msgid "Fog enabled" +msgid "Game paused" msgstr "" #: src/client/game.cpp -msgid "Debug info shown" +msgid "Hosting server" msgstr "" #: src/client/game.cpp -msgid "Profiler graph shown" +msgid "Item definitions..." msgstr "" #: src/client/game.cpp -msgid "Wireframe shown" +msgid "KiB/s" msgstr "" #: src/client/game.cpp -msgid "Debug info, profiler graph, and wireframe hidden" +msgid "Media..." msgstr "" #: src/client/game.cpp -msgid "Debug info and profiler graph hidden" +msgid "MiB/s" msgstr "" #: src/client/game.cpp -msgid "Camera update disabled" +msgid "Minimap currently disabled by game or mod" msgstr "" #: src/client/game.cpp -msgid "Camera update enabled" +msgid "Multiplayer" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Viewing range is at maximum: %d" -msgstr "" - -#: src/client/game.cpp src/unittest/test_gettext.cpp -#, c-format -msgid "Viewing range changed to %d" +msgid "Noclip mode disabled" msgstr "" #: src/client/game.cpp -#, c-format -msgid "Viewing range is at minimum: %d" +msgid "Noclip mode enabled" msgstr "" #: src/client/game.cpp -msgid "Enabled unlimited viewing range" +msgid "Noclip mode enabled (note: no 'noclip' privilege)" msgstr "" #: src/client/game.cpp -msgid "Disabled unlimited viewing range" +msgid "Node definitions..." msgstr "" #: src/client/game.cpp -msgid "Zoom currently disabled by game or mod" +msgid "Off" msgstr "" #: src/client/game.cpp -msgid "" -"Default Controls:\n" -"No menu visible:\n" -"- single tap: button activate\n" -"- double tap: place/use\n" -"- slide finger: look around\n" -"Menu/Inventory visible:\n" -"- double tap (outside):\n" -" -->close\n" -"- touch stack, touch slot:\n" -" --> move stack\n" -"- touch&drag, tap 2nd finger\n" -" --> place single item to slot\n" +msgid "On" msgstr "" #: src/client/game.cpp -#, c-format -msgid "" -"Controls:\n" -"- %s: move forwards\n" -"- %s: move backwards\n" -"- %s: move left\n" -"- %s: move right\n" -"- %s: jump/climb up\n" -"- %s: dig/punch\n" -"- %s: place/use\n" -"- %s: sneak/climb down\n" -"- %s: drop item\n" -"- %s: inventory\n" -"- Mouse: turn/look\n" -"- Mouse wheel: select item\n" -"- %s: chat\n" +msgid "Pitch move mode disabled" msgstr "" #: src/client/game.cpp -msgid "Continue" +msgid "Pitch move mode enabled" msgstr "" #: src/client/game.cpp -msgid "Change Password" +msgid "Profiler graph shown" msgstr "" #: src/client/game.cpp -msgid "Game paused" +msgid "Remote server" msgstr "" #: src/client/game.cpp -msgid "Sound Volume" +msgid "Resolving address..." msgstr "" #: src/client/game.cpp -msgid "Exit to Menu" +msgid "Shutting down..." msgstr "" #: src/client/game.cpp -msgid "Exit to OS" +msgid "Singleplayer" msgstr "" #: src/client/game.cpp -msgid "Game info:" +msgid "Sound Volume" msgstr "" #: src/client/game.cpp -msgid "- Mode: " -msgstr "" +msgid "Sound muted" +msgstr "消音" #: src/client/game.cpp -msgid "Remote server" +msgid "Sound system is disabled" msgstr "" #: src/client/game.cpp -msgid "- Address: " +msgid "Sound system is not supported on this build" msgstr "" #: src/client/game.cpp -msgid "Hosting server" +msgid "Sound unmuted" msgstr "" #: src/client/game.cpp -msgid "- Port: " +#, c-format +msgid "The server is probably running a different version of %s." msgstr "" #: src/client/game.cpp -msgid "On" +#, c-format +msgid "Unable to connect to %s because IPv6 is disabled" msgstr "" #: src/client/game.cpp -msgid "Off" +#, c-format +msgid "Unable to listen on %s because IPv6 is disabled" msgstr "" #: src/client/game.cpp -msgid "- Damage: " +#, c-format +msgid "Viewing range changed to %d" msgstr "" #: src/client/game.cpp -msgid "- Creative Mode: " +#, c-format +msgid "Viewing range is at maximum: %d" msgstr "" -#. ~ PvP = Player versus Player #: src/client/game.cpp -msgid "- PvP: " +#, c-format +msgid "Viewing range is at minimum: %d" msgstr "" #: src/client/game.cpp -msgid "- Public: " +#, c-format +msgid "Volume changed to %d%%" msgstr "" #: src/client/game.cpp -msgid "- Server Name: " +msgid "Wireframe shown" msgstr "" #: src/client/game.cpp -#, c-format -msgid "The server is probably running a different version of %s." +msgid "Zoom currently disabled by game or mod" msgstr "" #: src/client/game.cpp -msgid "A serialization error occurred:" +msgid "ok" msgstr "" -#: src/client/game.cpp -msgid "" -"\n" -"Check debug.txt for details." +#: src/client/gameui.cpp +msgid "Chat hidden" msgstr "" #: src/client/gameui.cpp @@ -1572,7 +1568,7 @@ msgid "Chat shown" msgstr "" #: src/client/gameui.cpp -msgid "Chat hidden" +msgid "HUD hidden" msgstr "" #: src/client/gameui.cpp @@ -1580,7 +1576,7 @@ msgid "HUD shown" msgstr "" #: src/client/gameui.cpp -msgid "HUD hidden" +msgid "Profiler hidden" msgstr "" #: src/client/gameui.cpp @@ -1588,131 +1584,125 @@ msgstr "" msgid "Profiler shown (page %d of %d)" msgstr "" -#: src/client/gameui.cpp -msgid "Profiler hidden" -msgstr "" - #: src/client/keycode.cpp -msgid "Left Button" +msgid "Apps" msgstr "" #: src/client/keycode.cpp -msgid "Right Button" +msgid "Backspace" msgstr "" #: src/client/keycode.cpp -msgid "Middle Button" +msgid "Caps Lock" msgstr "" #: src/client/keycode.cpp -msgid "X Button 1" +msgid "Control" msgstr "" #: src/client/keycode.cpp -msgid "X Button 2" +msgid "Down" msgstr "" #: src/client/keycode.cpp -msgid "Backspace" +msgid "End" msgstr "" #: src/client/keycode.cpp -msgid "Tab" +msgid "Erase EOF" msgstr "" #: src/client/keycode.cpp -msgid "Return" +msgid "Execute" msgstr "" #: src/client/keycode.cpp -msgid "Shift" +msgid "Help" msgstr "" #: src/client/keycode.cpp -msgid "Control" +msgid "Home" msgstr "" -#. ~ Key name, common on Windows keyboards #: src/client/keycode.cpp -msgid "Menu" +msgid "IME Accept" msgstr "" #: src/client/keycode.cpp -msgid "Pause" +msgid "IME Convert" msgstr "" #: src/client/keycode.cpp -msgid "Caps Lock" +msgid "IME Escape" msgstr "" #: src/client/keycode.cpp -msgid "Space" +msgid "IME Mode Change" msgstr "" #: src/client/keycode.cpp -msgid "Page up" +msgid "IME Nonconvert" msgstr "" #: src/client/keycode.cpp -msgid "Page down" +msgid "Insert" msgstr "" -#: src/client/keycode.cpp -msgid "End" +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Left" msgstr "" #: src/client/keycode.cpp -msgid "Home" +msgid "Left Button" msgstr "" -#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp -msgid "Left" +#: src/client/keycode.cpp +msgid "Left Control" msgstr "" #: src/client/keycode.cpp -msgid "Up" +msgid "Left Menu" msgstr "" -#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp -msgid "Right" +#: src/client/keycode.cpp +msgid "Left Shift" msgstr "" #: src/client/keycode.cpp -msgid "Down" +msgid "Left Windows" msgstr "" -#. ~ Key name +#. ~ Key name, common on Windows keyboards #: src/client/keycode.cpp -msgid "Select" +msgid "Menu" msgstr "" -#. ~ "Print screen" key #: src/client/keycode.cpp -msgid "Print" +msgid "Middle Button" msgstr "" #: src/client/keycode.cpp -msgid "Execute" +msgid "Num Lock" msgstr "" #: src/client/keycode.cpp -msgid "Snapshot" +msgid "Numpad *" msgstr "" #: src/client/keycode.cpp -msgid "Insert" +msgid "Numpad +" msgstr "" #: src/client/keycode.cpp -msgid "Help" +msgid "Numpad -" msgstr "" #: src/client/keycode.cpp -msgid "Left Windows" +msgid "Numpad ." msgstr "" #: src/client/keycode.cpp -msgid "Right Windows" +msgid "Numpad /" msgstr "" #: src/client/keycode.cpp @@ -1756,99 +1746,101 @@ msgid "Numpad 9" msgstr "" #: src/client/keycode.cpp -msgid "Numpad *" +msgid "OEM Clear" msgstr "" #: src/client/keycode.cpp -msgid "Numpad +" +msgid "Page down" msgstr "" #: src/client/keycode.cpp -msgid "Numpad ." +msgid "Page up" msgstr "" #: src/client/keycode.cpp -msgid "Numpad -" +msgid "Pause" msgstr "" #: src/client/keycode.cpp -msgid "Numpad /" +msgid "Play" msgstr "" +#. ~ "Print screen" key #: src/client/keycode.cpp -msgid "Num Lock" +msgid "Print" msgstr "" #: src/client/keycode.cpp -msgid "Scroll Lock" +msgid "Return" msgstr "" -#: src/client/keycode.cpp -msgid "Left Shift" +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Right" msgstr "" #: src/client/keycode.cpp -msgid "Right Shift" +msgid "Right Button" msgstr "" #: src/client/keycode.cpp -msgid "Left Control" +msgid "Right Control" msgstr "" #: src/client/keycode.cpp -msgid "Right Control" +msgid "Right Menu" msgstr "" #: src/client/keycode.cpp -msgid "Left Menu" +msgid "Right Shift" msgstr "" #: src/client/keycode.cpp -msgid "Right Menu" +msgid "Right Windows" msgstr "" #: src/client/keycode.cpp -msgid "IME Escape" +msgid "Scroll Lock" msgstr "" +#. ~ Key name #: src/client/keycode.cpp -msgid "IME Convert" +msgid "Select" msgstr "" #: src/client/keycode.cpp -msgid "IME Nonconvert" +msgid "Shift" msgstr "" #: src/client/keycode.cpp -msgid "IME Accept" +msgid "Sleep" msgstr "" #: src/client/keycode.cpp -msgid "IME Mode Change" +msgid "Snapshot" msgstr "" #: src/client/keycode.cpp -msgid "Apps" +msgid "Space" msgstr "" #: src/client/keycode.cpp -msgid "Sleep" +msgid "Tab" msgstr "" #: src/client/keycode.cpp -msgid "Erase EOF" +msgid "Up" msgstr "" #: src/client/keycode.cpp -msgid "Play" +msgid "X Button 1" msgstr "" -#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp -msgid "Zoom" +#: src/client/keycode.cpp +msgid "X Button 2" msgstr "" -#: src/client/keycode.cpp -msgid "OEM Clear" +#: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp +msgid "Zoom" msgstr "" #: src/client/minimap.cpp @@ -1857,12 +1849,12 @@ msgstr "" #: src/client/minimap.cpp #, c-format -msgid "Minimap in surface mode, Zoom x%d" +msgid "Minimap in radar mode, Zoom x%d" msgstr "" #: src/client/minimap.cpp #, c-format -msgid "Minimap in radar mode, Zoom x%d" +msgid "Minimap in surface mode, Zoom x%d" msgstr "" #: src/client/minimap.cpp @@ -1870,14 +1862,22 @@ msgid "Minimap in texture mode" msgstr "" #: src/gui/guiChatConsole.cpp -msgid "Opening webpage" +msgid "Failed to open webpage" msgstr "" #: src/gui/guiChatConsole.cpp -msgid "Failed to open webpage" +msgid "Opening webpage" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp +msgid "Passwords do not match!" +msgstr "" + +#: src/gui/guiConfirmRegistration.cpp +msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -1887,28 +1887,16 @@ msgid "" "creation, or click 'Cancel' to abort." msgstr "" -#: src/gui/guiConfirmRegistration.cpp -msgid "Register and Join" -msgstr "" - -#: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp -msgid "Passwords do not match!" -msgstr "" - #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" msgstr "" -#: src/gui/guiKeyChangeMenu.cpp -msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" -msgstr "" - #: src/gui/guiKeyChangeMenu.cpp msgid "\"Aux1\" = climb down" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Double tap \"jump\" to toggle fly" +msgid "Autoforward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp @@ -1916,91 +1904,95 @@ msgid "Automatic jumping" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Key already in use" +msgid "Aux1" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "press key" +msgid "Backward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Forward" +msgid "Block bounds" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Backward" +msgid "Change camera" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Aux1" +msgid "Chat" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Jump" +msgid "Command" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Sneak" +msgid "Console" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Drop" +msgid "Dec. range" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Inventory" +msgid "Dec. volume" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Prev. item" +msgid "Double tap \"jump\" to toggle fly" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Next item" +msgid "Drop" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Change camera" +msgid "Forward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle minimap" +msgid "Inc. range" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle fly" +msgid "Inc. volume" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle pitchmove" +msgid "Inventory" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle fast" +msgid "Jump" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle noclip" +msgid "Key already in use" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Mute" +msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Dec. volume" +msgid "Local command" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Inc. volume" +msgid "Mute" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Autoforward" +msgid "Next item" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Chat" +msgid "Prev. item" +msgstr "" + +#: src/gui/guiKeyChangeMenu.cpp +msgid "Range select" msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp @@ -2008,72 +2000,72 @@ msgid "Screenshot" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Range select" +msgid "Sneak" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Dec. range" +msgid "Toggle HUD" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Inc. range" +msgid "Toggle chat log" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Console" +msgid "Toggle fast" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Command" +msgid "Toggle fly" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Local command" +msgid "Toggle fog" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Block bounds" +msgid "Toggle minimap" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle HUD" +msgid "Toggle noclip" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle chat log" +msgid "Toggle pitchmove" msgstr "" #: src/gui/guiKeyChangeMenu.cpp -msgid "Toggle fog" +msgid "press key" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "Old Password" +msgid "Change" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "New Password" +msgid "Confirm Password" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "Confirm Password" +msgid "New Password" msgstr "" #: src/gui/guiPasswordChange.cpp -msgid "Change" +msgid "Old Password" msgstr "" #: src/gui/guiVolumeChange.cpp -#, c-format -msgid "Sound Volume: %d%%" +msgid "Exit" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Exit" +msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp -msgid "Muted" +#, c-format +msgid "Sound Volume: %d%%" msgstr "" #. ~ Imperative, as in "Enter/type in text". @@ -2090,1561 +2082,1407 @@ msgid "LANG_CODE" msgstr "" #: src/settings_translation_file.cpp -msgid "Controls" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Build inside player" +msgid "" +"(Android) Fixes the position of virtual joystick.\n" +"If disabled, virtual joystick will center to first-touch's position." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If enabled, you can place blocks at the position (feet + eye level) where " -"you stand.\n" -"This is helpful when working with nodeboxes in small areas." +"(Android) Use virtual joystick to trigger \"Aux1\" button.\n" +"If enabled, virtual joystick will also tap \"Aux1\" button when out of main " +"circle." msgstr "" #: src/settings_translation_file.cpp -msgid "Flying" +msgid "" +"(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" +"Can be used to move a desired point to (0, 0) to create a\n" +"suitable spawn point, or to allow 'zooming in' on a desired\n" +"point by increasing 'scale'.\n" +"The default is tuned for a suitable spawn point for Mandelbrot\n" +"sets with default parameters, it may need altering in other\n" +"situations.\n" +"Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Player is able to fly without being affected by gravity.\n" -"This requires the \"fly\" privilege on the server." +"(X,Y,Z) scale of fractal in nodes.\n" +"Actual fractal size will be 2 to 3 times larger.\n" +"These numbers can be made very large, the fractal does\n" +"not have to fit inside the world.\n" +"Increase these to 'zoom' into the detail of the fractal.\n" +"Default is for a vertically-squashed shape suitable for\n" +"an island, set all 3 numbers equal for the raw shape." msgstr "" #: src/settings_translation_file.cpp -msgid "Pitch move mode" +msgid "2D noise that controls the shape/size of ridged mountains." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If enabled, makes move directions relative to the player's pitch when flying " -"or swimming." +msgid "2D noise that controls the shape/size of rolling hills." msgstr "" #: src/settings_translation_file.cpp -msgid "Fast movement" +msgid "2D noise that controls the shape/size of step mountains." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Fast movement (via the \"Aux1\" key).\n" -"This requires the \"fast\" privilege on the server." +msgid "2D noise that controls the size/occurrence of ridged mountain ranges." msgstr "" #: src/settings_translation_file.cpp -msgid "Noclip" +msgid "2D noise that controls the size/occurrence of rolling hills." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If enabled together with fly mode, player is able to fly through solid " -"nodes.\n" -"This requires the \"noclip\" privilege on the server." +msgid "2D noise that controls the size/occurrence of step mountain ranges." msgstr "" #: src/settings_translation_file.cpp -msgid "Cinematic mode" +msgid "2D noise that locates the river valleys and channels." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Smooths camera when looking around. Also called look or mouse smoothing.\n" -"Useful for recording videos." +msgid "3D clouds" msgstr "" #: src/settings_translation_file.cpp -msgid "Camera smoothing" +msgid "3D mode" msgstr "" #: src/settings_translation_file.cpp -msgid "Smooths rotation of camera. 0 to disable." +msgid "3D mode parallax strength" msgstr "" #: src/settings_translation_file.cpp -msgid "Camera smoothing in cinematic mode" +msgid "3D noise defining giant caverns." msgstr "" #: src/settings_translation_file.cpp -msgid "Smooths rotation of camera in cinematic mode. 0 to disable." +msgid "" +"3D noise defining mountain structure and height.\n" +"Also defines structure of floatland mountain terrain." msgstr "" #: src/settings_translation_file.cpp -msgid "Invert mouse" +msgid "" +"3D noise defining structure of floatlands.\n" +"If altered from the default, the noise 'scale' (0.7 by default) may need\n" +"to be adjusted, as floatland tapering functions best when this noise has\n" +"a value range of approximately -2.0 to 2.0." msgstr "" #: src/settings_translation_file.cpp -msgid "Invert vertical mouse movement." +msgid "3D noise defining structure of river canyon walls." msgstr "" #: src/settings_translation_file.cpp -msgid "Mouse sensitivity" +msgid "3D noise defining terrain." msgstr "" #: src/settings_translation_file.cpp -msgid "Mouse sensitivity multiplier." +msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." msgstr "" #: src/settings_translation_file.cpp -msgid "Aux1 key for climbing/descending" +msgid "3D noise that determines number of dungeons per mapchunk." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " -"and\n" -"descending." +"3D support.\n" +"Currently supported:\n" +"- none: no 3d output.\n" +"- anaglyph: cyan/magenta color 3d.\n" +"- interlaced: odd/even line based polarisation screen support.\n" +"- topbottom: split screen top/bottom.\n" +"- sidebyside: split screen side by side.\n" +"- crossview: Cross-eyed 3d\n" +"- pageflip: quadbuffer based 3d.\n" +"Note that the interlaced mode requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Double tap jump for fly" +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 "Double-tapping the jump key toggles fly mode." +msgid "A message to be displayed to all clients when the server crashes." msgstr "" #: src/settings_translation_file.cpp -msgid "Always fly and fast" +msgid "A message to be displayed to all clients when the server shuts down." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" -"enabled." +msgid "ABM interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Place repetition interval" +msgid "ABM time budget" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The time in seconds it takes between repeated node placements when holding\n" -"the place button." +msgid "Absolute limit of queued blocks to emerge" msgstr "" #: src/settings_translation_file.cpp -msgid "Automatically jump up single-node obstacles." +msgid "Acceleration in air" msgstr "" #: src/settings_translation_file.cpp -msgid "Safe digging and placing" +msgid "Acceleration of gravity, in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Prevent digging and placing from repeating when holding the mouse buttons.\n" -"Enable this when you dig or place too often by accident." +msgid "Active Block Modifiers" msgstr "" #: src/settings_translation_file.cpp -msgid "Random input" +msgid "Active block management interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable random user input (only used for testing)." +msgid "Active block range" msgstr "" #: src/settings_translation_file.cpp -msgid "Continuous forward" +msgid "Active object send range" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Continuous forward movement, toggled by autoforward key.\n" -"Press the autoforward key again or the backwards movement to disable." +"Address to connect to.\n" +"Leave this blank to start a local server.\n" +"Note that the address field in the main menu overrides this setting." msgstr "" #: src/settings_translation_file.cpp -msgid "Touch screen threshold" +msgid "Adds particles when digging a node." msgstr "" #: src/settings_translation_file.cpp -msgid "The length in pixels it takes for touch screen interaction to start." +msgid "" +"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " +"screens." msgstr "" #: src/settings_translation_file.cpp -msgid "Fixed virtual joystick" +msgid "Adjust the detected display density, used for scaling UI elements." msgstr "" #: src/settings_translation_file.cpp +#, c-format msgid "" -"(Android) Fixes the position of virtual joystick.\n" -"If disabled, virtual joystick will center to first-touch's position." +"Adjusts the density of the floatland layer.\n" +"Increase value to increase density. Can be positive or negative.\n" +"Value = 0.0: 50% of volume is floatland.\n" +"Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" +"to be sure) creates a solid floatland layer." msgstr "" #: src/settings_translation_file.cpp -msgid "Virtual joystick triggers Aux1 button" +msgid "Advanced" msgstr "" #: src/settings_translation_file.cpp msgid "" -"(Android) Use virtual joystick to trigger \"Aux1\" button.\n" -"If enabled, virtual joystick will also tap \"Aux1\" button when out of main " -"circle." +"Alters the light curve by applying 'gamma correction' to it.\n" +"Higher values make middle and lower light levels brighter.\n" +"Value '1.0' leaves the light curve unaltered.\n" +"This only has significant effect on daylight and artificial\n" +"light, it has very little effect on natural night light." msgstr "" #: src/settings_translation_file.cpp -msgid "Enable joysticks" +msgid "Always fly and fast" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick ID" +msgid "Ambient occlusion gamma" msgstr "" #: src/settings_translation_file.cpp -msgid "The identifier of the joystick to use" +msgid "Amount of messages a player may send per 10 seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick type" +msgid "Amplifies the valleys." msgstr "" #: src/settings_translation_file.cpp -msgid "The type of joystick" +msgid "Anisotropic filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick button repetition interval" +msgid "Announce server" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The time in seconds it takes between repeated events\n" -"when holding down a joystick button combination." +msgid "Announce to this serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick dead zone" +msgid "Append item name" msgstr "" #: src/settings_translation_file.cpp -msgid "The dead zone of the joystick" +msgid "Append item name to tooltip." msgstr "" #: src/settings_translation_file.cpp -msgid "Joystick frustum sensitivity" +msgid "Apple trees noise" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Arm inertia" msgstr "" #: src/settings_translation_file.cpp msgid "" -"The sensitivity of the joystick axes for moving the\n" -"in-game view frustum around." +"Arm inertia, gives a more realistic movement of\n" +"the arm when the camera moves." msgstr "" #: src/settings_translation_file.cpp -msgid "Forward key" +msgid "Ask to reconnect after crash" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for moving the player forward.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"At this distance the server will aggressively optimize which blocks are sent " +"to\n" +"clients.\n" +"Small values potentially improve performance a lot, at the expense of " +"visible\n" +"rendering glitches (some blocks will not be rendered under water and in " +"caves,\n" +"as well as sometimes on land).\n" +"Setting this to a value greater than max_block_send_distance disables this\n" +"optimization.\n" +"Stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "Backward key" +msgid "Automatic forward key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving the player backward.\n" -"Will also disable autoforward, when active.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Automatically jump up single-node obstacles." msgstr "" #: src/settings_translation_file.cpp -msgid "Left key" +msgid "Automatically report to the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving the player left.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Autosave screen size" msgstr "" #: src/settings_translation_file.cpp -msgid "Right key" +msgid "Autoscaling mode" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving the player right.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Aux1 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Jump key" +msgid "Aux1 key for climbing/descending" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for jumping.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Backward key" msgstr "" #: src/settings_translation_file.cpp -msgid "Sneak key" +msgid "Base ground level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for sneaking.\n" -"Also used for climbing down and descending in water if aux1_descends is " -"disabled.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Base terrain height." msgstr "" #: src/settings_translation_file.cpp -msgid "Dig key" +msgid "Basic" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for digging.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Basic privileges" msgstr "" #: src/settings_translation_file.cpp -msgid "Place key" +msgid "Beach noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for placing.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Beach noise threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Inventory key" +msgid "Bilinear filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the inventory.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bind address" msgstr "" #: src/settings_translation_file.cpp -msgid "Aux1 key" +msgid "Biome API temperature and humidity noise parameters" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for moving fast in fast mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Biome noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat key" +msgid "Block send optimize distance" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the chat window.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bold and italic font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Command key" +msgid "Bold and italic monospace font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the chat window to type commands.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bold font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for opening the chat window to type local commands.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Bold monospace font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Range select key" +msgid "Build inside player" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling unlimited view range.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Builtin" msgstr "" #: src/settings_translation_file.cpp -msgid "Fly key" +msgid "" +"Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" +"Only works on GLES platforms. Most users will not need to change this.\n" +"Increasing can reduce artifacting on weaker GPUs.\n" +"0.1 = Default, 0.25 = Good value for weaker tablets." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling flying.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Camera smoothing" msgstr "" #: src/settings_translation_file.cpp -msgid "Pitch move key" +msgid "Camera smoothing in cinematic mode" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling pitch move mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Camera update toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Fast key" +msgid "Cave noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling fast mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cave noise #1" msgstr "" #: src/settings_translation_file.cpp -msgid "Noclip key" +msgid "Cave noise #2" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling noclip mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cave width" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar next key" +msgid "Cave1 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the next item in the hotbar.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cave2 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar previous key" +msgid "Cavern limit" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the previous item in the hotbar.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cavern noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mute key" +msgid "Cavern taper" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for muting the game.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cavern threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Inc. volume key" +msgid "Cavern upper limit" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for increasing the volume.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Center of light curve boost range.\n" +"Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" #: src/settings_translation_file.cpp -msgid "Dec. volume key" +msgid "Chat command time message threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for decreasing the volume.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat commands" msgstr "" #: src/settings_translation_file.cpp -msgid "Automatic forward key" +msgid "Chat font size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling autoforward.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat key" msgstr "" #: src/settings_translation_file.cpp -msgid "Cinematic mode key" +msgid "Chat log level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling cinematic mode.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat message count limit" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimap key" +msgid "Chat message format" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling display of minimap.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat message kick threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for taking screenshots.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat message max length" msgstr "" #: src/settings_translation_file.cpp -msgid "Drop item key" +msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for dropping the currently selected item.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Chat weblinks" msgstr "" #: src/settings_translation_file.cpp -msgid "View zoom key" +msgid "Chunk size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key to use view zoom when possible.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cinematic mode" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 1 key" +msgid "Cinematic mode key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the first hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Clean transparent textures" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 2 key" +msgid "" +"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " +"output." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the second hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Client" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 3 key" +msgid "Client and Server" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the third hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Client modding" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 4 key" +msgid "Client side modding restrictions" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the fourth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Client side node lookup range restriction" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 5 key" +msgid "Climbing speed" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the fifth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Cloud radius" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 6 key" +msgid "Clouds" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the sixth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Clouds are a client side effect." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 7 key" +msgid "Clouds in menu" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the seventh hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Colored fog" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 8 key" +msgid "Colored shadows" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the eighth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Comma-separated list of flags to hide in the content repository.\n" +"\"nonfree\" can be used to hide packages which do not qualify as 'free " +"software',\n" +"as defined by the Free Software Foundation.\n" +"You can also specify content ratings.\n" +"These flags are independent from Minetest versions,\n" +"so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 9 key" +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 "" -"Key for selecting the ninth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"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 "Hotbar slot 10 key" +msgid "Command key" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the tenth hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Compression level to use when saving mapblocks to disk.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 11 key" +msgid "" +"Compression level to use when sending mapblocks to the client.\n" +"-1 - use default compression level\n" +"0 - least compression, fastest\n" +"9 - best compression, slowest" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 11th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Connect glass" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 12 key" +msgid "Connect to external media server" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 12th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Connects glass if supported by node." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 13 key" +msgid "Console alpha" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 13th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Console color" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 14 key" +msgid "Console height" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 14th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "ContentDB Flag Blacklist" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 15 key" +msgid "ContentDB Max Concurrent Downloads" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 15th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "ContentDB URL" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 16 key" +msgid "Continuous forward" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 16th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Continuous forward movement, toggled by autoforward key.\n" +"Press the autoforward key again or the backwards movement to disable." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 17 key" +msgid "Controls" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 17th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Controls length of day/night cycle.\n" +"Examples:\n" +"72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 18 key" +msgid "Controls sinking speed in liquid." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 18th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Controls steepness/depth of lake depressions." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 19 key" +msgid "Controls steepness/height of hills." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 19th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Controls width of tunnels, a smaller value creates wider tunnels.\n" +"Value >= 10.0 completely disables generation of tunnels and avoids the\n" +"intensive noise calculations." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 20 key" +msgid "Crash message" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 20th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Creative" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 21 key" +msgid "Crosshair alpha" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 21st hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Crosshair alpha (opaqueness, between 0 and 255).\n" +"This also applies to the object crosshair." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 22 key" +msgid "Crosshair color" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 22nd hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Crosshair color (R,G,B).\n" +"Also controls the object crosshair color" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 23 key" +msgid "DPI" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 23rd hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Damage" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 24 key" +msgid "Debug info toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 24th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Debug log file size threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 25 key" +msgid "Debug log level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 25th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Dec. volume key" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 26 key" +msgid "Decrease this to increase liquid resistance to movement." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 26th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Dedicated server step" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 27 key" +msgid "Default acceleration" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 27th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Default game" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 28 key" +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 "" -"Key for selecting the 28th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Default password" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 29 key" +msgid "Default privileges" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 29th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Default report format" msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 30 key" +msgid "Default stack size" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for selecting the 30th hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Define shadow filtering quality.\n" +"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" +"but also uses more resources." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 31 key" +msgid "Defines areas where trees have apples." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 31st hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines areas with sandy beaches." msgstr "" #: src/settings_translation_file.cpp -msgid "Hotbar slot 32 key" +msgid "Defines distribution of higher terrain and steepness of cliffs." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for selecting the 32nd hotbar slot.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines distribution of higher terrain." msgstr "" #: src/settings_translation_file.cpp -msgid "HUD toggle key" +msgid "Defines full size of caverns, smaller values create larger caverns." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of the HUD.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines large-scale river channel structure." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat toggle key" +msgid "Defines location and terrain of optional hills and lakes." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of chat.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines the base ground level." msgstr "" #: src/settings_translation_file.cpp -msgid "Large chat console key" +msgid "Defines the depth of the river channel." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of the large chat console.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "" #: src/settings_translation_file.cpp -msgid "Fog toggle key" +msgid "Defines the width of the river channel." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of fog.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Defines the width of the river valley." msgstr "" #: src/settings_translation_file.cpp -msgid "Camera update toggle key" +msgid "Defines tree areas and tree density." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for toggling the camera update. Only used for development\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Delay between mesh updates on the client in ms. Increasing this will slow\n" +"down the rate of mesh updates, thus reducing jitter on slower clients." msgstr "" #: src/settings_translation_file.cpp -msgid "Debug info toggle key" +msgid "Delay in sending blocks after building" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of debug info.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Delay showing tooltips, stated in milliseconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Profiler toggle key" +msgid "Deprecated Lua API handling" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for toggling the display of the profiler. Used for development.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Depth below which you'll find giant caverns." msgstr "" #: src/settings_translation_file.cpp -msgid "Toggle camera mode key" +msgid "Depth below which you'll find large caves." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for switching between first- and third-person camera.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Description of server, to be displayed when players join and in the " +"serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "View range increase key" +msgid "Desert noise threshold" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Key for increasing the viewing range.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +"Deserts occur when np_biome exceeds this value.\n" +"When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" #: src/settings_translation_file.cpp -msgid "View range decrease key" +msgid "Desynchronize block animation" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Key for decreasing the viewing range.\n" -"See http://irrlicht.sourceforge.net/docu/namespaceirr." -"html#a54da2a0e231901735e3da1b0edf72eb3" +msgid "Dig key" msgstr "" #: src/settings_translation_file.cpp -msgid "Graphics" +msgid "Digging particles" msgstr "" #: src/settings_translation_file.cpp -msgid "In-Game" +msgid "Disable anticheat" msgstr "" #: src/settings_translation_file.cpp -msgid "Basic" +msgid "Disallow empty passwords" msgstr "" #: src/settings_translation_file.cpp -msgid "Show name tag backgrounds by default" +msgid "Display Density Scaling Factor" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Whether name tag backgrounds should be shown by default.\n" -"Mods may still set a background." +msgid "Domain name of server, to be displayed in the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "VBO" +msgid "Double tap jump for fly" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable vertex buffer objects.\n" -"This should greatly improve graphics performance." +msgid "Double-tapping the jump key toggles fly mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Fog" +msgid "Drop item key" msgstr "" #: src/settings_translation_file.cpp -msgid "Whether to fog out the end of the visible area." +msgid "Dump the mapgen debug information." msgstr "" #: src/settings_translation_file.cpp -msgid "Leaves style" +msgid "Dungeon maximum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Leaves style:\n" -"- Fancy: all faces visible\n" -"- Simple: only outer faces, if defined special_tiles are used\n" -"- Opaque: disable transparency" +msgid "Dungeon minimum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "Connect glass" +msgid "Dungeon noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Connects glass if supported by node." +msgid "" +"Enable IPv6 support (for both client and server).\n" +"Required for IPv6 connections to work at all." msgstr "" #: src/settings_translation_file.cpp -msgid "Smooth lighting" +msgid "" +"Enable Lua modding support on client.\n" +"This support is experimental and API can change." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable smooth lighting with simple ambient occlusion.\n" -"Disable for speed or for different looks." +"Enable Poisson disk filtering.\n" +"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " +"filtering." msgstr "" #: src/settings_translation_file.cpp -msgid "Clouds" +msgid "" +"Enable colored shadows.\n" +"On true translucent nodes cast colored shadows. This is expensive." msgstr "" #: src/settings_translation_file.cpp -msgid "Clouds are a client side effect." +msgid "Enable console window" msgstr "" #: src/settings_translation_file.cpp -msgid "3D clouds" +msgid "Enable creative mode for all players" msgstr "" #: src/settings_translation_file.cpp -msgid "Use 3D cloud look instead of flat." +msgid "Enable joysticks" msgstr "" #: src/settings_translation_file.cpp -msgid "Node highlighting" +msgid "Enable mod channels support." msgstr "" #: src/settings_translation_file.cpp -msgid "Method used to highlight selected object." +msgid "Enable mod security" msgstr "" #: src/settings_translation_file.cpp -msgid "Digging particles" +msgid "Enable players getting damage and dying." msgstr "" #: src/settings_translation_file.cpp -msgid "Adds particles when digging a node." +msgid "Enable random user input (only used for testing)." msgstr "" #: src/settings_translation_file.cpp -msgid "Filtering" +msgid "Enable register confirmation" msgstr "" #: src/settings_translation_file.cpp -msgid "Mipmapping" +msgid "" +"Enable register confirmation when connecting to server.\n" +"If disabled, new account will be registered automatically." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Use mipmapping to scale textures. May slightly increase performance,\n" -"especially when using a high resolution texture pack.\n" -"Gamma correct downscaling is not supported." +"Enable smooth lighting with simple ambient occlusion.\n" +"Disable for speed or for different looks." msgstr "" #: src/settings_translation_file.cpp -msgid "Anisotropic filtering" +msgid "" +"Enable to disallow old clients from connecting.\n" +"Older clients are compatible in the sense that they will not crash when " +"connecting\n" +"to new servers, but they may not support all new features that you are " +"expecting." msgstr "" #: src/settings_translation_file.cpp -msgid "Use anisotropic filtering when viewing at textures from an angle." +msgid "" +"Enable usage of remote media server (if provided by server).\n" +"Remote servers offer a significantly faster way to download media (e.g. " +"textures)\n" +"when connecting to the server." msgstr "" #: src/settings_translation_file.cpp -msgid "Bilinear filtering" +msgid "" +"Enable vertex buffer objects.\n" +"This should greatly improve graphics performance." msgstr "" #: src/settings_translation_file.cpp -msgid "Use bilinear filtering when scaling textures." +msgid "" +"Enable view bobbing and amount of view bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" #: src/settings_translation_file.cpp -msgid "Trilinear filtering" +msgid "" +"Enable/disable running an IPv6 server.\n" +"Ignored if bind_address is set.\n" +"Needs enable_ipv6 to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Use trilinear filtering when scaling textures." +msgid "" +"Enables Hable's 'Uncharted 2' filmic tone mapping.\n" +"Simulates the tone curve of photographic film and how this approximates the\n" +"appearance of high dynamic range images. Mid-range contrast is slightly\n" +"enhanced, highlights and shadows are gradually compressed." msgstr "" #: src/settings_translation_file.cpp -msgid "Clean transparent textures" +msgid "Enables animation of inventory items." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Filtered textures can blend RGB values with fully-transparent neighbors,\n" -"which PNG optimizers usually discard, often resulting in dark or\n" -"light edges to transparent textures. Apply a filter to clean that up\n" -"at texture load time. This is automatically enabled if mipmapping is enabled." +msgid "Enables caching of facedir rotated meshes." msgstr "" #: src/settings_translation_file.cpp -msgid "Minimum texture size" +msgid "Enables minimap." msgstr "" #: src/settings_translation_file.cpp msgid "" -"When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" -"can be blurred, so automatically upscale them with nearest-neighbor\n" -"interpolation to preserve crisp pixels. This sets the minimum texture size\n" -"for the upscaled textures; higher values look sharper, but require more\n" -"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" -"bilinear/trilinear/anisotropic filtering is enabled.\n" -"This is also used as the base node texture size for world-aligned\n" -"texture autoscaling." +"Enables the sound system.\n" +"If disabled, this completely disables all sounds everywhere and the in-game\n" +"sound controls will be non-functional.\n" +"Changing this setting requires a restart." msgstr "" #: src/settings_translation_file.cpp -msgid "FSAA" +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Use multi-sample antialiasing (MSAA) to smooth out block edges.\n" -"This algorithm smooths out the 3D viewport while keeping the image sharp,\n" -"but it doesn't affect the insides of textures\n" -"(which is especially noticeable with transparent textures).\n" -"Visible spaces appear between nodes when shaders are disabled.\n" -"If set to 0, MSAA is disabled.\n" -"A restart is required after changing this option." +msgid "Engine profiling data print interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Undersampling" +msgid "Entity methods" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Undersampling is similar to using a lower screen resolution, but it applies\n" -"to the game world only, keeping the GUI intact.\n" -"It should give a significant performance boost at the cost of less detailed " -"image.\n" -"Higher values result in a less detailed image." +"Exponent of the floatland tapering. Alters the tapering behaviour.\n" +"Value = 1.0 creates a uniform, linear tapering.\n" +"Values > 1.0 create a smooth tapering suitable for the default separated\n" +"floatlands.\n" +"Values < 1.0 (for example 0.25) create a more defined surface level with\n" +"flatter lowlands, suitable for a solid floatland layer." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Shaders allow advanced visual effects and may increase performance on some " -"video\n" -"cards.\n" -"This only works with the OpenGL video backend." +msgid "FPS when unfocused or paused" msgstr "" #: src/settings_translation_file.cpp -msgid "Shader path" +msgid "FSAA" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path to shader directory. If no path is defined, default location will be " -"used." +msgid "Factor noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Filmic tone mapping" +msgid "Fall bobbing factor" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enables Hable's 'Uncharted 2' filmic tone mapping.\n" -"Simulates the tone curve of photographic film and how this approximates the\n" -"appearance of high dynamic range images. Mid-range contrast is slightly\n" -"enhanced, highlights and shadows are gradually compressed." +msgid "Fallback font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving Nodes" +msgid "Fast key" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids" +msgid "Fast mode acceleration" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set to true to enable waving liquids (like water).\n" -"Requires shaders to be enabled." +msgid "Fast mode speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids wave height" +msgid "Fast movement" msgstr "" #: src/settings_translation_file.cpp msgid "" -"The maximum height of the surface of waving liquids.\n" -"4.0 = Wave height is two nodes.\n" -"0.0 = Wave doesn't move at all.\n" -"Default is 1.0 (1/2 node).\n" -"Requires waving liquids to be enabled." +"Fast movement (via the \"Aux1\" key).\n" +"This requires the \"fast\" privilege on the server." msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids wavelength" +msgid "Field of view" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Field of view in degrees." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Length of liquid waves.\n" -"Requires waving liquids to be enabled." +"File in client/serverlist/ that contains your favorite servers displayed in " +"the\n" +"Multiplayer Tab." msgstr "" #: src/settings_translation_file.cpp -msgid "Waving liquids wave speed" +msgid "Filler depth" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"How fast liquid waves will move. Higher = faster.\n" -"If negative, liquid waves will move backwards.\n" -"Requires waving liquids to be enabled." +msgid "Filler depth noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Waving leaves" +msgid "Filmic tone mapping" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Set to true to enable waving leaves.\n" -"Requires shaders to be enabled." +"Filtered textures can blend RGB values with fully-transparent neighbors,\n" +"which PNG optimizers usually discard, often resulting in dark or\n" +"light edges to transparent textures. Apply a filter to clean that up\n" +"at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Waving plants" +msgid "Filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set to true to enable waving plants.\n" -"Requires shaders to be enabled." +msgid "First of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set to true to enable Shadow Mapping.\n" -"Requires shaders to be enabled." +msgid "First of two 3D noises that together define tunnels." msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow strength" +msgid "Fixed map seed" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the shadow strength.\n" -"Lower value means lighter shadows, higher value means darker shadows." +msgid "Fixed virtual joystick" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow map max distance in nodes to render shadows" +msgid "Floatland density" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum distance to render shadows." +msgid "Floatland maximum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow map texture size" +msgid "Floatland minimum Y" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Texture size to render the shadow map on.\n" -"This must be a power of two.\n" -"Bigger numbers create better shadows but it is also more expensive." +msgid "Floatland noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow map texture in 32 bits" +msgid "Floatland taper exponent" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Sets shadow texture quality to 32 bits.\n" -"On false, 16 bits texture will be used.\n" -"This can cause much more artifacts in the shadow." +msgid "Floatland tapering distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Poisson filtering" +msgid "Floatland water level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable Poisson disk filtering.\n" -"On true uses Poisson disk to make \"soft shadows\". Otherwise uses PCF " -"filtering." +msgid "Fly key" msgstr "" #: src/settings_translation_file.cpp -msgid "Shadow filter quality" +msgid "Flying" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Define shadow filtering quality.\n" -"This simulates the soft shadows effect by applying a PCF or Poisson disk\n" -"but also uses more resources." +msgid "Fog" msgstr "" #: src/settings_translation_file.cpp -msgid "Colored shadows" +msgid "Fog start" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable colored shadows.\n" -"On true translucent nodes cast colored shadows. This is expensive." +msgid "Fog toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "Map shadows update frames" +msgid "Font bold by default" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Spread a complete update of shadow map over given amount of frames.\n" -"Higher values might make shadows laggy, lower values\n" -"will consume more resources.\n" -"Minimum value: 1; maximum value: 16" +msgid "Font italic by default" msgstr "" #: src/settings_translation_file.cpp -msgid "Soft shadow radius" +msgid "Font shadow" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the soft shadow radius size.\n" -"Lower values mean sharper shadows, bigger values mean softer shadows.\n" -"Minimum value: 1.0; maximum value: 10.0" +msgid "Font shadow alpha" msgstr "" #: src/settings_translation_file.cpp -msgid "Sky Body Orbit Tilt" +msgid "Font size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Set the tilt of Sun/Moon orbit in degrees.\n" -"Value of 0 means no tilt / vertical orbit.\n" -"Minimum value: 0.0; maximum value: 60.0" +msgid "Font size divisible by" msgstr "" #: src/settings_translation_file.cpp -msgid "Advanced" +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" msgstr "" #: src/settings_translation_file.cpp -msgid "Arm inertia" +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Arm inertia, gives a more realistic movement of\n" -"the arm when the camera moves." +"Font size of the recent chat text and chat prompt in point (pt).\n" +"Value 0 will use the default font size." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum FPS" +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If FPS would go higher than this, limit it by sleeping\n" -"to not waste CPU power for no benefit." +"Format of player chat messages. The following strings are valid " +"placeholders:\n" +"@name, @message, @timestamp (optional)" msgstr "" #: src/settings_translation_file.cpp -msgid "FPS when unfocused or paused" +msgid "Format of screenshots." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum FPS when the window is not focused, or when the game is paused." +msgid "Formspec Default Background Color" msgstr "" #: src/settings_translation_file.cpp -msgid "Pause on lost window focus" +msgid "Formspec Default Background Opacity" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Open the pause menu when the window's focus is lost. Does not pause if a " -"formspec is\n" -"open." +msgid "Formspec Full-Screen Background Color" msgstr "" #: src/settings_translation_file.cpp -msgid "Viewing range" +msgid "Formspec Full-Screen Background Opacity" msgstr "" #: src/settings_translation_file.cpp -msgid "View distance in nodes." +msgid "Formspec default background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Near plane" +msgid "Formspec default background opacity (between 0 and 255)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" -"Only works on GLES platforms. Most users will not need to change this.\n" -"Increasing can reduce artifacting on weaker GPUs.\n" -"0.1 = Default, 0.25 = Good value for weaker tablets." +msgid "Formspec full-screen background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Screen width" +msgid "Formspec full-screen background opacity (between 0 and 255)." msgstr "" #: src/settings_translation_file.cpp -msgid "Width component of the initial window size. Ignored in fullscreen mode." +msgid "Forward key" msgstr "" #: src/settings_translation_file.cpp -msgid "Screen height" +msgid "Fourth of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Height component of the initial window size. Ignored in fullscreen mode." +msgid "Fractal type" msgstr "" #: src/settings_translation_file.cpp -msgid "Autosave screen size" +msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "" #: src/settings_translation_file.cpp -msgid "Save window size automatically when modified." +msgid "" +"From how far blocks are generated for clients, stated in mapblocks (16 " +"nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "Full screen" +msgid "" +"From how far blocks are sent to clients, stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "Fullscreen mode." +msgid "" +"From how far clients know about objects, stated in mapblocks (16 nodes).\n" +"\n" +"Setting this larger than active_block_range will also cause the server\n" +"to maintain active objects up to this distance in the direction the\n" +"player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" #: src/settings_translation_file.cpp -msgid "VSync" +msgid "Full screen" msgstr "" #: src/settings_translation_file.cpp -msgid "Vertical screen synchronization." +msgid "Fullscreen mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Field of view" +msgid "GUI scaling" msgstr "" #: src/settings_translation_file.cpp -msgid "Field of view in degrees." +msgid "GUI scaling filter" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve gamma" +msgid "GUI scaling filter txr2img" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Global callbacks" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Alters the light curve by applying 'gamma correction' to it.\n" -"Higher values make middle and lower light levels brighter.\n" -"Value '1.0' leaves the light curve unaltered.\n" -"This only has significant effect on daylight and artificial\n" -"light, it has very little effect on natural night light." +"Global map generation attributes.\n" +"In Mapgen v6 the 'decorations' flag controls all decorations except trees\n" +"and jungle grass, in all other mapgens this flag controls all decorations." msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve low gradient" +msgid "" +"Gradient of light curve at maximum light level.\n" +"Controls the contrast of the highest light levels." msgstr "" #: src/settings_translation_file.cpp @@ -3654,1763 +3492,1863 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve high gradient" +msgid "Graphics" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Gradient of light curve at maximum light level.\n" -"Controls the contrast of the highest light levels." +msgid "Gravity" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve boost" +msgid "Ground level" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Strength of light curve boost.\n" -"The 3 'boost' parameters define a range of the light\n" -"curve that is boosted in brightness." +msgid "Ground noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve boost center" +msgid "HTTP mods" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Center of light curve boost range.\n" -"Where 0.0 is minimum light level, 1.0 is maximum light level." +msgid "HUD scale factor" msgstr "" #: src/settings_translation_file.cpp -msgid "Light curve boost spread" +msgid "HUD toggle key" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Spread of light curve boost range.\n" -"Controls the width of the range to be boosted.\n" -"Standard deviation of the light curve boost Gaussian." +"Handling for deprecated Lua API calls:\n" +"- none: Do not log deprecated calls\n" +"- log: mimic and log backtrace of deprecated call (default).\n" +"- error: abort on usage of deprecated call (suggested for mod developers)." msgstr "" #: src/settings_translation_file.cpp -msgid "Texture path" +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 "Path to texture directory. All textures are first searched from here." +msgid "Heat blend noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Video driver" +msgid "Heat noise" msgstr "" #: src/settings_translation_file.cpp msgid "" -"The rendering back-end.\n" -"A restart is required after changing this.\n" -"Note: On Android, stick with OGLES1 if unsure! App may fail to start " -"otherwise.\n" -"On other platforms, OpenGL is recommended.\n" -"Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" +"Height component of the initial window size. Ignored in fullscreen mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Cloud radius" +msgid "Height noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Radius of cloud area stated in number of 64 node cloud squares.\n" -"Values larger than 26 will start to produce sharp cutoffs at cloud area " -"corners." +msgid "Height select noise" msgstr "" #: src/settings_translation_file.cpp -msgid "View bobbing factor" +msgid "Hill steepness" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable view bobbing and amount of view bobbing.\n" -"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgid "Hill threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Fall bobbing factor" +msgid "Hilliness1 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Multiplier for fall bobbing.\n" -"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." +msgid "Hilliness2 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "3D mode" +msgid "Hilliness3 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"3D support.\n" -"Currently supported:\n" -"- none: no 3d output.\n" -"- anaglyph: cyan/magenta color 3d.\n" -"- interlaced: odd/even line based polarisation screen support.\n" -"- topbottom: split screen top/bottom.\n" -"- sidebyside: split screen side by side.\n" -"- crossview: Cross-eyed 3d\n" -"- pageflip: quadbuffer based 3d.\n" -"Note that the interlaced mode requires shaders to be enabled." +msgid "Hilliness4 noise" msgstr "" #: src/settings_translation_file.cpp -msgid "3D mode parallax strength" +msgid "Homepage of server, to be displayed in the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "Strength of 3D mode parallax." +msgid "" +"Horizontal acceleration in air when jumping or falling,\n" +"in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Console height" +msgid "" +"Horizontal and vertical acceleration in fast mode,\n" +"in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." +msgid "" +"Horizontal and vertical acceleration on ground or when climbing,\n" +"in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Console color" +msgid "Hotbar next key" msgstr "" #: src/settings_translation_file.cpp -msgid "In-game chat console background color (R,G,B)." +msgid "Hotbar previous key" msgstr "" #: src/settings_translation_file.cpp -msgid "Console alpha" +msgid "Hotbar slot 1 key" msgstr "" #: src/settings_translation_file.cpp -msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." +msgid "Hotbar slot 10 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Full-Screen Background Opacity" +msgid "Hotbar slot 11 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec full-screen background opacity (between 0 and 255)." +msgid "Hotbar slot 12 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Full-Screen Background Color" +msgid "Hotbar slot 13 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec full-screen background color (R,G,B)." +msgid "Hotbar slot 14 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Default Background Opacity" +msgid "Hotbar slot 15 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec default background opacity (between 0 and 255)." +msgid "Hotbar slot 16 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec Default Background Color" +msgid "Hotbar slot 17 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Formspec default background color (R,G,B)." +msgid "Hotbar slot 18 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Selection box color" +msgid "Hotbar slot 19 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Selection box border color (R,G,B)." +msgid "Hotbar slot 2 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Selection box width" +msgid "Hotbar slot 20 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Width of the selection box lines around nodes." +msgid "Hotbar slot 21 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Crosshair color" +msgid "Hotbar slot 22 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Crosshair color (R,G,B).\n" -"Also controls the object crosshair color" +msgid "Hotbar slot 23 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Crosshair alpha" +msgid "Hotbar slot 24 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Crosshair alpha (opaqueness, between 0 and 255).\n" -"This also applies to the object crosshair." +msgid "Hotbar slot 25 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Recent Chat Messages" +msgid "Hotbar slot 26 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of recent chat messages to show" +msgid "Hotbar slot 27 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Desynchronize block animation" +msgid "Hotbar slot 28 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Whether node texture animations should be desynchronized per mapblock." +msgid "Hotbar slot 29 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum hotbar width" +msgid "Hotbar slot 3 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum proportion of current window to be used for hotbar.\n" -"Useful if there's something to be displayed right or left of hotbar." +msgid "Hotbar slot 30 key" msgstr "" #: src/settings_translation_file.cpp -msgid "HUD scale factor" +msgid "Hotbar slot 31 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Modifies the size of the HUD elements." +msgid "Hotbar slot 32 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mesh cache" +msgid "Hotbar slot 4 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Enables caching of facedir rotated meshes." +msgid "Hotbar slot 5 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock mesh generation delay" +msgid "Hotbar slot 6 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Delay between mesh updates on the client in ms. Increasing this will slow\n" -"down the rate of mesh updates, thus reducing jitter on slower clients." +msgid "Hotbar slot 7 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock mesh generator's MapBlock cache size in MB" +msgid "Hotbar slot 8 key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Size of the MapBlock cache of the mesh generator. Increasing this will\n" -"increase the cache hit %, reducing the data being copied from the main\n" -"thread, thus reducing jitter." +msgid "Hotbar slot 9 key" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimap" +msgid "How deep to make rivers." msgstr "" #: src/settings_translation_file.cpp -msgid "Enables minimap." +msgid "" +"How fast liquid waves will move. Higher = faster.\n" +"If negative, liquid waves will move backwards.\n" +"Requires waving liquids to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Round minimap" +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 "Shape of the minimap. Enabled = round, disabled = square." +msgid "How wide to make rivers." msgstr "" #: src/settings_translation_file.cpp -msgid "Minimap scan height" +msgid "Humidity blend noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"True = 256\n" -"False = 128\n" -"Usable to make minimap smoother on slower machines." +msgid "Humidity noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Colored fog" +msgid "Humidity variation for biomes." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Make fog and sky colors depend on daytime (dawn/sunset) and view direction." +msgid "IPv6" msgstr "" #: src/settings_translation_file.cpp -msgid "Ambient occlusion gamma" +msgid "IPv6 server" msgstr "" #: src/settings_translation_file.cpp msgid "" -"The strength (darkness) of node ambient-occlusion shading.\n" -"Lower is darker, Higher is lighter. The valid range of values for this\n" -"setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" -"set to the nearest valid value." +"If FPS would go higher than this, limit it by sleeping\n" +"to not waste CPU power for no benefit." msgstr "" #: src/settings_translation_file.cpp -msgid "Inventory items animations" +msgid "" +"If disabled, \"Aux1\" key is used to fly fast if both fly and fast mode are\n" +"enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Enables animation of inventory items." +msgid "" +"If enabled the server will perform map block occlusion culling based on\n" +"on the eye position of the player. This can reduce the number of blocks\n" +"sent to the client 50-80%. The client will not longer receive most " +"invisible\n" +"so that the utility of noclip mode is reduced." msgstr "" #: src/settings_translation_file.cpp -msgid "Fog start" +msgid "" +"If enabled together with fly mode, player is able to fly through solid " +"nodes.\n" +"This requires the \"noclip\" privilege on the server." msgstr "" #: src/settings_translation_file.cpp -msgid "Fraction of the visible distance at which fog starts to be rendered" +msgid "" +"If enabled, \"Aux1\" key instead of \"Sneak\" key is used for climbing down " +"and\n" +"descending." msgstr "" #: src/settings_translation_file.cpp -msgid "Opaque liquids" +msgid "" +"If enabled, actions are recorded for rollback.\n" +"This option is only read when server starts." msgstr "" #: src/settings_translation_file.cpp -msgid "Makes all liquids opaque" +msgid "If enabled, disable cheat prevention in multiplayer." msgstr "" #: src/settings_translation_file.cpp -msgid "World-aligned textures mode" +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 "" -"Textures on a node may be aligned either to the node or to the world.\n" -"The former mode suits better things like machines, furniture, etc., while\n" -"the latter makes stairs and microblocks fit surroundings better.\n" -"However, as this possibility is new, thus may not be used by older servers,\n" -"this option allows enforcing it for certain node types. Note though that\n" -"that is considered EXPERIMENTAL and may not work properly." +"If enabled, makes move directions relative to the player's pitch when flying " +"or swimming." msgstr "" #: src/settings_translation_file.cpp -msgid "Autoscaling mode" +msgid "If enabled, new players cannot join with an empty password." msgstr "" #: src/settings_translation_file.cpp msgid "" -"World-aligned textures may be scaled to span several nodes. However,\n" -"the server may not send the scale you want, especially if you use\n" -"a specially-designed texture pack; with this option, the client tries\n" -"to determine the scale automatically basing on the texture size.\n" -"See also texture_min_size.\n" -"Warning: This option is EXPERIMENTAL!" +"If enabled, you can place blocks at the position (feet + eye level) where " +"you stand.\n" +"This is helpful when working with nodeboxes in small areas." msgstr "" #: src/settings_translation_file.cpp -msgid "Show entity selection boxes" +msgid "" +"If the CSM restriction for node range is enabled, get_node calls are " +"limited\n" +"to this distance from the player to the node." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Show entity selection boxes\n" -"A restart is required after changing this." +"If the execution of a chat command takes longer than this specified time in\n" +"seconds, add the time information to the chat command message" msgstr "" #: src/settings_translation_file.cpp -msgid "Menus" +msgid "" +"If the file size of debug.txt exceeds the number of megabytes specified in\n" +"this setting when it is opened, the file is moved to debug.txt.1,\n" +"deleting an older debug.txt.1 if it exists.\n" +"debug.txt is only moved if this setting is positive." msgstr "" #: src/settings_translation_file.cpp -msgid "Clouds in menu" +msgid "If this is set, players will always (re)spawn at the given position." msgstr "" #: src/settings_translation_file.cpp -msgid "Use a cloud animation for the main menu background." +msgid "Ignore world errors" msgstr "" #: src/settings_translation_file.cpp -msgid "GUI scaling" +msgid "In-Game" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Scale GUI by a user specified value.\n" -"Use a nearest-neighbor-anti-alias filter to scale the GUI.\n" -"This will smooth over some of the rough edges, and blend\n" -"pixels when scaling down, at the cost of blurring some\n" -"edge pixels when images are scaled by non-integer sizes." +msgid "In-game chat console background alpha (opaqueness, between 0 and 255)." msgstr "" #: src/settings_translation_file.cpp -msgid "GUI scaling filter" +msgid "In-game chat console background color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"When gui_scaling_filter is true, all GUI images need to be\n" -"filtered in software, but some images are generated directly\n" -"to hardware (e.g. render-to-texture for nodes in inventory)." +msgid "In-game chat console height, between 0.1 (10%) and 1.0 (100%)." msgstr "" #: src/settings_translation_file.cpp -msgid "GUI scaling filter txr2img" +msgid "Inc. volume key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"When gui_scaling_filter_txr2img is true, copy those images\n" -"from hardware to software for scaling. When false, fall back\n" -"to the old scaling method, for video drivers that don't\n" -"properly support downloading textures back from hardware." +msgid "Initial vertical speed when jumping, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Tooltip delay" +msgid "" +"Instrument builtin.\n" +"This is usually only needed by core/builtin contributors" msgstr "" #: src/settings_translation_file.cpp -msgid "Delay showing tooltips, stated in milliseconds." +msgid "Instrument chat commands on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "Append item name" +msgid "" +"Instrument global callback functions on registration.\n" +"(anything you pass to a minetest.register_*() function)" msgstr "" #: src/settings_translation_file.cpp -msgid "Append item name to tooltip." +msgid "" +"Instrument the action function of Active Block Modifiers on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "FreeType fonts" +msgid "" +"Instrument the action function of Loading Block Modifiers on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Font bold by default" +msgid "Instrument the methods of entities on registration." msgstr "" #: src/settings_translation_file.cpp -msgid "Font italic by default" +msgid "Instrumentation" msgstr "" #: src/settings_translation_file.cpp -msgid "Font shadow" +msgid "Interval of saving important changes in the world, stated in seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Shadow offset (in pixels) of the default font. If 0, then shadow will not be " -"drawn." +msgid "Interval of sending time of day to clients." msgstr "" #: src/settings_translation_file.cpp -msgid "Font shadow alpha" +msgid "Inventory items animations" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." +msgid "Inventory key" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size" +msgid "Invert mouse" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Invert vertical mouse movement." msgstr "" #: src/settings_translation_file.cpp -msgid "Regular font path" +msgid "Italic font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" -"The fallback font will be used if the font cannot be loaded." +msgid "Italic monospace font path" msgstr "" #: src/settings_translation_file.cpp -msgid "Bold font path" +msgid "Item entity TTL" msgstr "" #: src/settings_translation_file.cpp -msgid "Italic font path" +msgid "Iterations" msgstr "" #: src/settings_translation_file.cpp -msgid "Bold and italic font path" +msgid "" +"Iterations of the recursive function.\n" +"Increasing this increases the amount of fine detail, but also\n" +"increases processing load.\n" +"At iterations = 20 this mapgen has a similar load to mapgen V7." msgstr "" #: src/settings_translation_file.cpp -msgid "Monospace font size" +msgid "Joystick ID" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +msgid "Joystick button repetition interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Monospace font path" +msgid "Joystick dead zone" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" -"This font is used for e.g. the console and profiler screen." +msgid "Joystick frustum sensitivity" msgstr "" #: src/settings_translation_file.cpp -msgid "Bold monospace font path" +msgid "Joystick type" msgstr "" #: src/settings_translation_file.cpp -msgid "Italic monospace font path" +msgid "" +"Julia set only.\n" +"W component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Bold and italic monospace font path" +msgid "" +"Julia set only.\n" +"X component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Fallback font path" +msgid "" +"Julia set only.\n" +"Y component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" -"This font will be used for certain languages or if the default font is " -"unavailable." +"Julia set only.\n" +"Z component of hypercomplex constant.\n" +"Alters the shape of the fractal.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat font size" +msgid "Julia w" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Font size of the recent chat text and chat prompt in point (pt).\n" -"Value 0 will use the default font size." +msgid "Julia x" msgstr "" #: src/settings_translation_file.cpp -msgid "Screenshot folder" +msgid "Julia y" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Path to save screenshots at. Can be an absolute or relative path.\n" -"The folder will be created if it doesn't already exist." +msgid "Julia z" msgstr "" #: src/settings_translation_file.cpp -msgid "Screenshot format" +msgid "Jump key" msgstr "" #: src/settings_translation_file.cpp -msgid "Format of screenshots." +msgid "Jumping speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Screenshot quality" +msgid "" +"Key for decreasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Screenshot quality. Only used for JPEG format.\n" -"1 means worst quality; 100 means best quality.\n" -"Use 0 for default quality." +"Key for decreasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "DPI" +msgid "" +"Key for digging.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " -"screens." +"Key for dropping the currently selected item.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Display Density Scaling Factor" +msgid "" +"Key for increasing the viewing range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Adjust the detected display density, used for scaling UI elements." +msgid "" +"Key for increasing the volume.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable console window" +msgid "" +"Key for jumping.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Windows systems only: Start Minetest with the command line window in the " -"background.\n" -"Contains the same information as the file debug.txt (default name)." +"Key for moving fast in fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Sound" +msgid "" +"Key for moving the player backward.\n" +"Will also disable autoforward, when active.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enables the sound system.\n" -"If disabled, this completely disables all sounds everywhere and the in-game\n" -"sound controls will be non-functional.\n" -"Changing this setting requires a restart." +"Key for moving the player forward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Volume" +msgid "" +"Key for moving the player left.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Volume of all sounds.\n" -"Requires the sound system to be enabled." +"Key for moving the player right.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Mute sound" +msgid "" +"Key for muting the game.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether to mute sounds. You can unmute sounds at any time, unless the\n" -"sound system is disabled (enable_sound=false).\n" -"In-game, you can toggle the mute state with the mute key or by using the\n" -"pause menu." +"Key for opening the chat window to type commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Client" +msgid "" +"Key for opening the chat window to type local commands.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat weblinks" +msgid "" +"Key for opening the chat window.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console " -"output." +"Key for opening the inventory.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Weblink color" +msgid "" +"Key for placing.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Optional override for chat weblink color." +msgid "" +"Key for selecting the 11th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Network" +msgid "" +"Key for selecting the 12th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server address" +msgid "" +"Key for selecting the 13th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Address to connect to.\n" -"Leave this blank to start a local server.\n" -"Note that the address field in the main menu overrides this setting." +"Key for selecting the 14th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Remote port" +msgid "" +"Key for selecting the 15th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Port to connect to (UDP).\n" -"Note that the port field in the main menu overrides this setting." +"Key for selecting the 16th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Prometheus listener address" +msgid "" +"Key for selecting the 17th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Prometheus listener address.\n" -"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" -"enable metrics listener for Prometheus on that address.\n" -"Metrics can be fetched on http://127.0.0.1:30000/metrics" +"Key for selecting the 18th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Saving map received from server" +msgid "" +"Key for selecting the 19th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Save the map received by the client on disk." +msgid "" +"Key for selecting the 20th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Connect to external media server" +msgid "" +"Key for selecting the 21st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable usage of remote media server (if provided by server).\n" -"Remote servers offer a significantly faster way to download media (e.g. " -"textures)\n" -"when connecting to the server." +"Key for selecting the 22nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Client modding" +msgid "" +"Key for selecting the 23rd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable Lua modding support on client.\n" -"This support is experimental and API can change." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Serverlist URL" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "URL to the server list displayed in the Multiplayer Tab." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Serverlist file" +"Key for selecting the 24th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"File in client/serverlist/ that contains your favorite servers displayed in " -"the\n" -"Multiplayer Tab." +"Key for selecting the 25th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum size of the out chat queue" +msgid "" +"Key for selecting the 26th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum size of the out chat queue.\n" -"0 to disable queueing and -1 to make the queue size unlimited." +"Key for selecting the 27th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable register confirmation" +msgid "" +"Key for selecting the 28th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable register confirmation when connecting to server.\n" -"If disabled, new account will be registered automatically." +"Key for selecting the 29th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock unload timeout" +msgid "" +"Key for selecting the 30th hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Timeout for client to remove unused map data from memory." +msgid "" +"Key for selecting the 31st hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapblock limit" +msgid "" +"Key for selecting the 32nd hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of mapblocks for client to be kept in memory.\n" -"Set to -1 for unlimited amount." +"Key for selecting the eighth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Show debug info" +msgid "" +"Key for selecting the fifth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Whether to show the client debug info (has the same effect as hitting F5)." +"Key for selecting the first hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server / Singleplayer" +msgid "" +"Key for selecting the fourth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server name" +msgid "" +"Key for selecting the next item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Name of the server, to be displayed when players join and in the serverlist." +"Key for selecting the ninth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server description" +msgid "" +"Key for selecting the previous item in the hotbar.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Description of server, to be displayed when players join and in the " -"serverlist." +"Key for selecting the second hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Domain name of server, to be displayed in the serverlist." +msgid "" +"Key for selecting the seventh hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server URL" +msgid "" +"Key for selecting the sixth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Homepage of server, to be displayed in the serverlist." +msgid "" +"Key for selecting the tenth hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Announce server" +msgid "" +"Key for selecting the third hotbar slot.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Automatically report to the serverlist." +msgid "" +"Key for sneaking.\n" +"Also used for climbing down and descending in water if aux1_descends is " +"disabled.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Announce to this serverlist." +msgid "" +"Key for switching between first- and third-person camera.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Strip color codes" +msgid "" +"Key for taking screenshots.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Remove color codes from incoming chat messages\n" -"Use this to stop players from being able to use color in their messages" +"Key for toggling autoforward.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Server port" +msgid "" +"Key for toggling cinematic mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Network port to listen (UDP).\n" -"This value will be overridden when starting from the main menu." +"Key for toggling display of minimap.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Bind address" +msgid "" +"Key for toggling fast mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "The network interface that the server listens on." +msgid "" +"Key for toggling flying.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Strict protocol checking" +msgid "" +"Key for toggling noclip mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable to disallow old clients from connecting.\n" -"Older clients are compatible in the sense that they will not crash when " -"connecting\n" -"to new servers, but they may not support all new features that you are " -"expecting." +"Key for toggling pitch move mode.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Remote media" +msgid "" +"Key for toggling the camera update. Only used for development\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Specifies URL from which client fetches media instead of using UDP.\n" -"$filename should be accessible from $remote_media$filename via cURL\n" -"(obviously, remote_media should end with a slash).\n" -"Files that are not present will be fetched the usual way." +"Key for toggling the display of chat.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "IPv6 server" +msgid "" +"Key for toggling the display of debug info.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Enable/disable running an IPv6 server.\n" -"Ignored if bind_address is set.\n" -"Needs enable_ipv6 to be enabled." +"Key for toggling the display of fog.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum simultaneous block sends per client" +msgid "" +"Key for toggling the display of the HUD.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of blocks that are simultaneously sent per client.\n" -"The maximum total count is calculated dynamically:\n" -"max_total = ceil((#clients + max_users) * per_client / 4)" +"Key for toggling the display of the large chat console.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Delay in sending blocks after building" +msgid "" +"Key for toggling the display of the profiler. Used for development.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp msgid "" -"To reduce lag, block transfers are slowed down when a player is building " -"something.\n" -"This determines how long they are slowed down after placing or removing a " -"node." +"Key for toggling unlimited view range.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" #: src/settings_translation_file.cpp -msgid "Max. packets per iteration" +msgid "" +"Key to use view zoom when possible.\n" +"See http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" 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." +msgid "Kick players who sent more than X messages per 10 seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Map Compression Level for Network Transfer" +msgid "Lake steepness" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Compression level to use when sending mapblocks to the client.\n" -"-1 - use default compression level\n" -"0 - least compression, fastest\n" -"9 - best compression, slowest" +msgid "Lake threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "Default game" +msgid "Language" 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." +msgid "Large cave depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Message of the day" +msgid "Large cave maximum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Message of the day displayed to players connecting." +msgid "Large cave minimum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum users" +msgid "Large cave proportion flooded" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of players that can be connected simultaneously." +msgid "Large chat console key" msgstr "" #: src/settings_translation_file.cpp -msgid "Map directory" +msgid "Leaves style" 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." +"Leaves style:\n" +"- Fancy: all faces visible\n" +"- Simple: only outer faces, if defined special_tiles are used\n" +"- Opaque: disable transparency" msgstr "" #: src/settings_translation_file.cpp -msgid "Item entity TTL" +msgid "Left key" 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 "Default stack size" +"Length of a server tick and the interval at which objects are generally " +"updated over\n" +"network." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Specifies the default stack size of nodes, items and tools.\n" -"Note that mods or games may explicitly set a stack for certain (or all) " -"items." +"Length of liquid waves.\n" +"Requires waving liquids to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Damage" +msgid "Length of time between Active Block Modifier (ABM) execution cycles" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable players getting damage and dying." +msgid "Length of time between NodeTimer execution cycles" msgstr "" #: src/settings_translation_file.cpp -msgid "Creative" +msgid "Length of time between active block management cycles" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable creative mode for all players" +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 "Fixed map seed" +msgid "Light curve boost" 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." +msgid "Light curve boost center" msgstr "" #: src/settings_translation_file.cpp -msgid "Default password" +msgid "Light curve boost spread" msgstr "" #: src/settings_translation_file.cpp -msgid "New users need to input this password." +msgid "Light curve gamma" msgstr "" #: src/settings_translation_file.cpp -msgid "Default privileges" +msgid "Light curve high gradient" 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." +msgid "Light curve low gradient" msgstr "" #: src/settings_translation_file.cpp -msgid "Basic privileges" +msgid "" +"Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" +"Only mapchunks completely within the mapgen limit are generated.\n" +"Value is stored per-world." msgstr "" #: src/settings_translation_file.cpp -msgid "Privileges that players with basic_privs can grant" +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 "Unlimited player transfer distance" +msgid "Liquid fluidity" 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." +msgid "Liquid fluidity smoothing" msgstr "" #: src/settings_translation_file.cpp -msgid "Player transfer distance" +msgid "Liquid loop max" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." +msgid "Liquid queue purge time" msgstr "" #: src/settings_translation_file.cpp -msgid "Player versus player" +msgid "Liquid sinking" msgstr "" #: src/settings_translation_file.cpp -msgid "Whether to allow players to damage and kill each other." +msgid "Liquid update interval in seconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Mod channels" +msgid "Liquid update tick" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable mod channels support." +msgid "Load the game profiler" msgstr "" #: src/settings_translation_file.cpp -msgid "Static spawnpoint" +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 "If this is set, players will always (re)spawn at the given position." +msgid "Loading Block Modifiers" msgstr "" #: src/settings_translation_file.cpp -msgid "Disallow empty passwords" +msgid "Lower Y limit of dungeons." msgstr "" #: src/settings_translation_file.cpp -msgid "If enabled, new players cannot join with an empty password." +msgid "Lower Y limit of floatlands." msgstr "" #: src/settings_translation_file.cpp -msgid "Disable anticheat" +msgid "Main menu script" msgstr "" #: src/settings_translation_file.cpp -msgid "If enabled, disable cheat prevention in multiplayer." +msgid "" +"Make fog and sky colors depend on daytime (dawn/sunset) and view direction." msgstr "" #: src/settings_translation_file.cpp -msgid "Rollback recording" +msgid "Makes all liquids opaque" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If enabled, actions are recorded for rollback.\n" -"This option is only read when server starts." +msgid "Map Compression Level for Disk Storage" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message format" +msgid "Map Compression Level for Network Transfer" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Format of player chat messages. The following strings are valid " -"placeholders:\n" -"@name, @message, @timestamp (optional)" +msgid "Map directory" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat command time message threshold" +msgid "Map generation attributes specific to Mapgen Carpathian." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If the execution of a chat command takes longer than this specified time in\n" -"seconds, add the time information to the chat command message" +"Map generation attributes specific to Mapgen Flat.\n" +"Occasional lakes and hills can be added to the flat world." msgstr "" #: src/settings_translation_file.cpp -msgid "Shutdown message" +msgid "" +"Map generation attributes specific to Mapgen Fractal.\n" +"'terrain' enables the generation of non-fractal terrain:\n" +"ocean, islands and underground." msgstr "" #: src/settings_translation_file.cpp -msgid "A message to be displayed to all clients when the server shuts down." +msgid "" +"Map generation attributes specific to Mapgen Valleys.\n" +"'altitude_chill': Reduces heat with altitude.\n" +"'humid_rivers': Increases humidity around rivers.\n" +"'vary_river_depth': If enabled, low humidity and high heat causes rivers\n" +"to become shallower and occasionally dry.\n" +"'altitude_dry': Reduces humidity with altitude." msgstr "" #: src/settings_translation_file.cpp -msgid "Crash message" +msgid "Map generation attributes specific to Mapgen v5." msgstr "" #: src/settings_translation_file.cpp -msgid "A message to be displayed to all clients when the server crashes." +msgid "" +"Map generation attributes specific to Mapgen v6.\n" +"The 'snowbiomes' flag enables the new 5 biome system.\n" +"When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" +"the 'jungles' flag is ignored." msgstr "" #: src/settings_translation_file.cpp -msgid "Ask to reconnect after crash" +msgid "" +"Map generation attributes specific to Mapgen v7.\n" +"'ridges': Rivers.\n" +"'floatlands': Floating land masses in the atmosphere.\n" +"'caverns': Giant caves deep underground." 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." +msgid "Map generation limit" msgstr "" #: src/settings_translation_file.cpp -msgid "Active object send range" +msgid "Map save interval" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"From how far clients know about objects, stated in mapblocks (16 nodes).\n" -"\n" -"Setting this larger than active_block_range will also cause the server\n" -"to maintain active objects up to this distance in the direction the\n" -"player is looking. (This can avoid mobs suddenly disappearing from view)" +msgid "Map shadows update frames" msgstr "" #: src/settings_translation_file.cpp -msgid "Active block range" +msgid "Mapblock limit" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The radius of the volume of blocks around every player that is subject to " -"the\n" -"active block stuff, stated in mapblocks (16 nodes).\n" -"In active blocks objects are loaded and ABMs run.\n" -"This is also the minimum range in which active objects (mobs) are " -"maintained.\n" -"This should be configured together with active_object_send_range_blocks." +msgid "Mapblock mesh generation delay" msgstr "" #: src/settings_translation_file.cpp -msgid "Max block send distance" +msgid "Mapblock mesh generator's MapBlock cache size in MB" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"From how far blocks are sent to clients, stated in mapblocks (16 nodes)." +msgid "Mapblock unload timeout" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum forceloaded blocks" +msgid "Mapgen Carpathian" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of forceloaded mapblocks." +msgid "Mapgen Carpathian specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Time send interval" +msgid "Mapgen Flat" msgstr "" #: src/settings_translation_file.cpp -msgid "Interval of sending time of day to clients." +msgid "Mapgen Flat specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Time speed" +msgid "Mapgen Fractal" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Controls length of day/night cycle.\n" -"Examples:\n" -"72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." +msgid "Mapgen Fractal specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "World start time" +msgid "Mapgen V5" msgstr "" #: src/settings_translation_file.cpp -msgid "Time of day when a new world is started, in millihours (0-23999)." +msgid "Mapgen V5 specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Map save interval" +msgid "Mapgen V6" msgstr "" #: src/settings_translation_file.cpp -msgid "Interval of saving important changes in the world, stated in seconds." +msgid "Mapgen V6 specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message max length" +msgid "Mapgen V7" msgstr "" #: src/settings_translation_file.cpp -msgid "Set the maximum character length of a chat message sent by clients." +msgid "Mapgen V7 specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message count limit" +msgid "Mapgen Valleys" msgstr "" #: src/settings_translation_file.cpp -msgid "Amount of messages a player may send per 10 seconds." +msgid "Mapgen Valleys specific flags" msgstr "" #: src/settings_translation_file.cpp -msgid "Chat message kick threshold" +msgid "Mapgen debug" msgstr "" #: src/settings_translation_file.cpp -msgid "Kick players who sent more than X messages per 10 seconds." +msgid "Mapgen name" msgstr "" #: src/settings_translation_file.cpp -msgid "Physics" +msgid "Max block generate distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Default acceleration" +msgid "Max block send distance" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Horizontal and vertical acceleration on ground or when climbing,\n" -"in nodes per second per second." +msgid "Max liquids processed per step." msgstr "" #: src/settings_translation_file.cpp -msgid "Acceleration in air" +msgid "Max. clearobjects extra blocks" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Horizontal acceleration in air when jumping or falling,\n" -"in nodes per second per second." +msgid "Max. packets per iteration" msgstr "" #: src/settings_translation_file.cpp -msgid "Fast mode acceleration" +msgid "Maximum FPS" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Horizontal and vertical acceleration in fast mode,\n" -"in nodes per second per second." +msgid "Maximum FPS when the window is not focused, or when the game is paused." msgstr "" #: src/settings_translation_file.cpp -msgid "Walking speed" +msgid "Maximum distance to render shadows." msgstr "" #: src/settings_translation_file.cpp -msgid "Walking and flying speed, in nodes per second." +msgid "Maximum forceloaded blocks" msgstr "" #: src/settings_translation_file.cpp -msgid "Sneaking speed" +msgid "Maximum hotbar width" msgstr "" #: src/settings_translation_file.cpp -msgid "Sneaking speed, in nodes per second." +msgid "Maximum limit of random number of large caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "Fast mode speed" +msgid "Maximum limit of random number of small caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "Walking, flying and climbing speed in fast mode, in nodes per second." +msgid "" +"Maximum liquid resistance. Controls deceleration when entering liquid at\n" +"high speed." msgstr "" #: src/settings_translation_file.cpp -msgid "Climbing speed" +msgid "" +"Maximum number of blocks that are simultaneously sent per client.\n" +"The maximum total count is calculated dynamically:\n" +"max_total = ceil((#clients + max_users) * per_client / 4)" msgstr "" #: src/settings_translation_file.cpp -msgid "Vertical climbing speed, in nodes per second." +msgid "Maximum number of blocks that can be queued for loading." msgstr "" #: src/settings_translation_file.cpp -msgid "Jumping speed" +msgid "" +"Maximum number of blocks to be queued that are to be generated.\n" +"This limit is enforced per player." msgstr "" #: src/settings_translation_file.cpp -msgid "Initial vertical speed when jumping, in nodes per second." +msgid "" +"Maximum number of blocks to be queued that are to be loaded from file.\n" +"This limit is enforced per player." msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid fluidity" +msgid "" +"Maximum number of concurrent downloads. Downloads exceeding this limit will " +"be queued.\n" +"This should be lower than curl_parallel_limit." msgstr "" #: src/settings_translation_file.cpp -msgid "Decrease this to increase liquid resistance to movement." +msgid "Maximum number of forceloaded mapblocks." msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid fluidity smoothing" +msgid "" +"Maximum number of mapblocks for client to be kept in memory.\n" +"Set to -1 for unlimited amount." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum liquid resistance. Controls deceleration when entering liquid at\n" -"high speed." +"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 "Liquid sinking" +msgid "Maximum number of players that can be connected simultaneously." msgstr "" #: src/settings_translation_file.cpp -msgid "Controls sinking speed in liquid." +msgid "Maximum number of recent chat messages to show" msgstr "" #: src/settings_translation_file.cpp -msgid "Gravity" +msgid "Maximum number of statically stored objects in a block." msgstr "" #: src/settings_translation_file.cpp -msgid "Acceleration of gravity, in nodes per second per second." +msgid "Maximum objects per block" msgstr "" #: src/settings_translation_file.cpp -msgid "Deprecated Lua API handling" +msgid "" +"Maximum proportion of current window to be used for hotbar.\n" +"Useful if there's something to be displayed right or left of hotbar." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Handling for deprecated Lua API calls:\n" -"- none: Do not log deprecated calls\n" -"- log: mimic and log backtrace of deprecated call (default).\n" -"- error: abort on usage of deprecated call (suggested for mod developers)." +msgid "Maximum simultaneous block sends per client" msgstr "" #: src/settings_translation_file.cpp -msgid "Max. clearobjects extra blocks" +msgid "Maximum size of the out chat queue" 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)." +"Maximum size of the out chat queue.\n" +"0 to disable queueing and -1 to make the queue size unlimited." msgstr "" #: src/settings_translation_file.cpp -msgid "Unload unused server data" +msgid "" +"Maximum time a file download (e.g. a mod download) may take, stated in " +"milliseconds." 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." +"Maximum time an interactive request (e.g. server list fetch) may take, " +"stated in milliseconds." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum objects per block" +msgid "Maximum users" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of statically stored objects in a block." +msgid "Menus" msgstr "" #: src/settings_translation_file.cpp -msgid "Synchronous SQLite" +msgid "Mesh cache" msgstr "" #: src/settings_translation_file.cpp -msgid "See https://www.sqlite.org/pragma.html#pragma_synchronous" +msgid "Message of the day" msgstr "" #: src/settings_translation_file.cpp -msgid "Map Compression Level for Disk Storage" +msgid "Message of the day displayed to players connecting." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Compression level to use when saving mapblocks to disk.\n" -"-1 - use default compression level\n" -"0 - least compression, fastest\n" -"9 - best compression, slowest" +msgid "Method used to highlight selected object." msgstr "" #: src/settings_translation_file.cpp -msgid "Dedicated server step" +msgid "Minimal level of logging to be written to chat." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Length of a server tick and the interval at which objects are generally " -"updated over\n" -"network." +msgid "Minimap" msgstr "" #: src/settings_translation_file.cpp -msgid "Active block management interval" +msgid "Minimap key" msgstr "" #: src/settings_translation_file.cpp -msgid "Length of time between active block management cycles" +msgid "Minimap scan height" msgstr "" #: src/settings_translation_file.cpp -msgid "ABM interval" +msgid "Minimum limit of random number of large caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "Length of time between Active Block Modifier (ABM) execution cycles" +msgid "Minimum limit of random number of small caves per mapchunk." msgstr "" #: src/settings_translation_file.cpp -msgid "ABM time budget" +msgid "Minimum texture size" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"The time budget allowed for ABMs to execute on each step\n" -"(as a fraction of the ABM Interval)" +msgid "Mipmapping" msgstr "" #: src/settings_translation_file.cpp -msgid "NodeTimer interval" +msgid "Mod channels" msgstr "" #: src/settings_translation_file.cpp -msgid "Length of time between NodeTimer execution cycles" +msgid "Modifies the size of the HUD elements." msgstr "" #: src/settings_translation_file.cpp -msgid "Ignore world errors" +msgid "Monospace font path" 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." +msgid "Monospace font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid loop max" +msgid "Monospace font size divisible by" msgstr "" #: src/settings_translation_file.cpp -msgid "Max liquids processed per step." +msgid "Mountain height noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid queue purge time" +msgid "Mountain noise" 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." +msgid "Mountain variation noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid update tick" +msgid "Mountain zero level" msgstr "" #: src/settings_translation_file.cpp -msgid "Liquid update interval in seconds." +msgid "Mouse sensitivity" msgstr "" #: src/settings_translation_file.cpp -msgid "Block send optimize distance" +msgid "Mouse sensitivity multiplier." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"At this distance the server will aggressively optimize which blocks are sent " -"to\n" -"clients.\n" -"Small values potentially improve performance a lot, at the expense of " -"visible\n" -"rendering glitches (some blocks will not be rendered under water and in " -"caves,\n" -"as well as sometimes on land).\n" -"Setting this to a value greater than max_block_send_distance disables this\n" -"optimization.\n" -"Stated in mapblocks (16 nodes)." +msgid "Mud noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Server side occlusion culling" +msgid "" +"Multiplier for fall bobbing.\n" +"For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"If enabled the server will perform map block occlusion culling based on\n" -"on the eye position of the player. This can reduce the number of blocks\n" -"sent to the client 50-80%. The client will not longer receive most " -"invisible\n" -"so that the utility of noclip mode is reduced." +msgid "Mute key" msgstr "" #: src/settings_translation_file.cpp -msgid "Client side modding restrictions" +msgid "Mute sound" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Restricts the access of certain client-side functions on servers.\n" -"Combine the byteflags below to restrict client-side features, or set to 0\n" -"for no restrictions:\n" -"LOAD_CLIENT_MODS: 1 (disable loading client-provided mods)\n" -"CHAT_MESSAGES: 2 (disable send_chat_message call client-side)\n" -"READ_ITEMDEFS: 4 (disable get_item_def call client-side)\n" -"READ_NODEDEFS: 8 (disable get_node_def call client-side)\n" -"LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to\n" -"csm_restriction_noderange)\n" -"READ_PLAYERINFO: 32 (disable get_player_names call client-side)" +"Name of map generator to be used when creating a new world.\n" +"Creating a world in the main menu will override this.\n" +"Current mapgens in a highly unstable state:\n" +"- The optional floatlands of v7 (disabled by default)." msgstr "" #: src/settings_translation_file.cpp -msgid "Client side node lookup range restriction" +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 "" -"If the CSM restriction for node range is enabled, get_node calls are " -"limited\n" -"to this distance from the player to the node." +"Name of the server, to be displayed when players join and in the serverlist." msgstr "" #: src/settings_translation_file.cpp -msgid "Security" +msgid "Near plane" msgstr "" #: src/settings_translation_file.cpp -msgid "Enable mod security" +msgid "Network" msgstr "" #: src/settings_translation_file.cpp -msgid "Prevent mods from doing insecure things like running shell commands." +msgid "" +"Network port to listen (UDP).\n" +"This value will be overridden when starting from the main menu." msgstr "" #: src/settings_translation_file.cpp -msgid "Trusted mods" +msgid "New users need to input this password." 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())." +msgid "Noclip" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Noclip key" msgstr "" #: src/settings_translation_file.cpp -msgid "HTTP mods" +msgid "Node highlighting" 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." +msgid "NodeTimer interval" msgstr "" #: src/settings_translation_file.cpp -msgid "Profiling" +msgid "Noises" msgstr "" #: src/settings_translation_file.cpp -msgid "Load the game profiler" +msgid "Number of emerge threads" 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." +"Number of emerge threads to use.\n" +"Value 0:\n" +"- Automatic selection. The number of emerge threads will be\n" +"- 'number of processors - 2', with a lower limit of 1.\n" +"Any other value:\n" +"- Specifies the number of emerge threads, with a lower limit of 1.\n" +"WARNING: Increasing the number of emerge threads increases engine mapgen\n" +"speed, but this may harm game performance by interfering with other\n" +"processes, especially in singleplayer and/or when running Lua code in\n" +"'on_generated'. For many users the optimum setting may be '1'." msgstr "" #: src/settings_translation_file.cpp -msgid "Default report format" +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 "" -"The default format in which profiles are being saved,\n" -"when calling `/profiler save [format]` without format." +msgid "Online Content Repository" msgstr "" #: src/settings_translation_file.cpp -msgid "Report path" +msgid "Opaque liquids" msgstr "" #: src/settings_translation_file.cpp msgid "" -"The file path relative to your worldpath in which profiles will be saved to." +"Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." msgstr "" #: src/settings_translation_file.cpp -msgid "Instrumentation" +msgid "" +"Open the pause menu when the window's focus is lost. Does not pause if a " +"formspec is\n" +"open." msgstr "" #: src/settings_translation_file.cpp -msgid "Entity methods" +msgid "Optional override for chat weblink color." msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument the methods of entities on registration." +msgid "" +"Path of the fallback font. Must be a TrueType font.\n" +"This font will be used for certain languages or if the default font is " +"unavailable." msgstr "" #: src/settings_translation_file.cpp -msgid "Active Block Modifiers" +msgid "" +"Path to save screenshots at. Can be an absolute or relative path.\n" +"The folder will be created if it doesn't already exist." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Instrument the action function of Active Block Modifiers on registration." +"Path to shader directory. If no path is defined, default location will be " +"used." msgstr "" #: src/settings_translation_file.cpp -msgid "Loading Block Modifiers" +msgid "Path to texture directory. All textures are first searched from here." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Instrument the action function of Loading Block Modifiers on registration." +"Path to the default font. Must be a TrueType font.\n" +"The fallback font will be used if the font cannot be loaded." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat commands" +msgid "" +"Path to the monospace font. Must be a TrueType font.\n" +"This font is used for e.g. the console and profiler screen." msgstr "" #: src/settings_translation_file.cpp -msgid "Instrument chat commands on registration." +msgid "Pause on lost window focus" msgstr "" #: src/settings_translation_file.cpp -msgid "Global callbacks" +msgid "Per-player limit of queued blocks load from disk" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Instrument global callback functions on registration.\n" -"(anything you pass to a minetest.register_*() function)" +msgid "Per-player limit of queued blocks to generate" msgstr "" #: src/settings_translation_file.cpp -msgid "Builtin" +msgid "Physics" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Instrument builtin.\n" -"This is usually only needed by core/builtin contributors" +msgid "Pitch move key" msgstr "" #: src/settings_translation_file.cpp -msgid "Profiler" +msgid "Pitch move mode" 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." +msgid "Place key" msgstr "" #: src/settings_translation_file.cpp -msgid "Client and Server" +msgid "Place repetition interval" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Player is able to fly without being affected by gravity.\n" +"This requires the \"fly\" privilege on the server." msgstr "" #: src/settings_translation_file.cpp @@ -5418,578 +5356,612 @@ 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." +msgid "Player transfer distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Language" +msgid "Player versus player" 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." +msgid "Poisson filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "Debug log level" +msgid "" +"Port to connect to (UDP).\n" +"Note that the port field in the main menu overrides this setting." 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" +"Prevent digging and placing from repeating when holding the mouse buttons.\n" +"Enable this when you dig or place too often by accident." msgstr "" #: src/settings_translation_file.cpp -msgid "Debug log file size threshold" +msgid "Prevent mods from doing insecure things like running shell commands." msgstr "" #: src/settings_translation_file.cpp msgid "" -"If the file size of debug.txt exceeds the number of megabytes specified in\n" -"this setting when it is opened, the file is moved to debug.txt.1,\n" -"deleting an older debug.txt.1 if it exists.\n" -"debug.txt is only moved if this setting is positive." +"Print the engine's profiling data in regular intervals (in seconds).\n" +"0 = disable. Useful for developers." msgstr "" #: src/settings_translation_file.cpp -msgid "Chat log level" +msgid "Privileges that players with basic_privs can grant" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimal level of logging to be written to chat." +msgid "Profiler" msgstr "" #: src/settings_translation_file.cpp -msgid "IPv6" +msgid "Profiler toggle key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Enable IPv6 support (for both client and server).\n" -"Required for IPv6 connections to work at all." +msgid "Profiling" msgstr "" #: src/settings_translation_file.cpp -msgid "cURL interactive timeout" +msgid "Prometheus listener address" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum time an interactive request (e.g. server list fetch) may take, " -"stated in milliseconds." +"Prometheus listener address.\n" +"If Minetest is compiled with ENABLE_PROMETHEUS option enabled,\n" +"enable metrics listener for Prometheus on that address.\n" +"Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" #: src/settings_translation_file.cpp -msgid "cURL parallel limit" +msgid "Proportion of large caves that contain liquid." 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." +"Radius of cloud area stated in number of 64 node cloud squares.\n" +"Values larger than 26 will start to produce sharp cutoffs at cloud area " +"corners." msgstr "" #: src/settings_translation_file.cpp -msgid "cURL file download timeout" +msgid "Raises terrain to make valleys around the rivers." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum time a file download (e.g. a mod download) may take, stated in " -"milliseconds." +msgid "Random input" msgstr "" #: src/settings_translation_file.cpp -msgid "Main menu script" +msgid "Range select key" msgstr "" #: src/settings_translation_file.cpp -msgid "Replaces the default main menu with a custom one." +msgid "Recent Chat Messages" msgstr "" #: src/settings_translation_file.cpp -msgid "Engine profiling data print interval" +msgid "Regular font path" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Print the engine's profiling data in regular intervals (in seconds).\n" -"0 = disable. Useful for developers." +msgid "Remote media" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen name" +msgid "Remote port" 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.\n" -"Current mapgens in a highly unstable state:\n" -"- The optional floatlands of v7 (disabled by default)." +"Remove color codes from incoming chat messages\n" +"Use this to stop players from being able to use color in their messages" msgstr "" #: src/settings_translation_file.cpp -msgid "Water level" +msgid "Replaces the default main menu with a custom one." msgstr "" #: src/settings_translation_file.cpp -msgid "Water surface level of the world." +msgid "Report path" msgstr "" #: src/settings_translation_file.cpp -msgid "Max block generate distance" +msgid "" +"Restricts the access of certain client-side functions on servers.\n" +"Combine the byteflags below to restrict client-side features, or set to 0\n" +"for no restrictions:\n" +"LOAD_CLIENT_MODS: 1 (disable loading client-provided mods)\n" +"CHAT_MESSAGES: 2 (disable send_chat_message call client-side)\n" +"READ_ITEMDEFS: 4 (disable get_item_def call client-side)\n" +"READ_NODEDEFS: 8 (disable get_node_def call client-side)\n" +"LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to\n" +"csm_restriction_noderange)\n" +"READ_PLAYERINFO: 32 (disable get_player_names call client-side)" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"From how far blocks are generated for clients, stated in mapblocks (16 " -"nodes)." +msgid "Ridge mountain spread noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Map generation limit" +msgid "Ridge noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).\n" -"Only mapchunks completely within the mapgen limit are generated.\n" -"Value is stored per-world." +msgid "Ridge underwater noise" 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 jungle grass, in all other mapgens this flag controls all decorations." +msgid "Ridged mountain size noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Biome API temperature and humidity noise parameters" +msgid "Right key" msgstr "" #: src/settings_translation_file.cpp -msgid "Heat noise" +msgid "River channel depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Temperature variation for biomes." +msgid "River channel width" msgstr "" #: src/settings_translation_file.cpp -msgid "Heat blend noise" +msgid "River depth" msgstr "" #: src/settings_translation_file.cpp -msgid "Small-scale temperature variation for blending biomes on borders." +msgid "River noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Humidity noise" +msgid "River size" msgstr "" #: src/settings_translation_file.cpp -msgid "Humidity variation for biomes." +msgid "River valley width" msgstr "" #: src/settings_translation_file.cpp -msgid "Humidity blend noise" +msgid "Rollback recording" msgstr "" #: src/settings_translation_file.cpp -msgid "Small-scale humidity variation for blending biomes on borders." +msgid "Rolling hill size noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V5" +msgid "Rolling hills spread noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V5 specific flags" +msgid "Round minimap" msgstr "" #: src/settings_translation_file.cpp -msgid "Map generation attributes specific to Mapgen v5." +msgid "Safe digging and placing" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave width" +msgid "Sandy beaches occur when np_beach exceeds this value." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Controls width of tunnels, a smaller value creates wider tunnels.\n" -"Value >= 10.0 completely disables generation of tunnels and avoids the\n" -"intensive noise calculations." +msgid "Save the map received by the client on disk." msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave depth" +msgid "Save window size automatically when modified." msgstr "" #: src/settings_translation_file.cpp -msgid "Y of upper limit of large caves." +msgid "Saving map received from server" msgstr "" #: src/settings_translation_file.cpp -msgid "Small cave minimum number" +msgid "" +"Scale GUI by a user specified value.\n" +"Use a nearest-neighbor-anti-alias filter to scale the GUI.\n" +"This will smooth over some of the rough edges, and blend\n" +"pixels when scaling down, at the cost of blurring some\n" +"edge pixels when images are scaled by non-integer sizes." msgstr "" #: src/settings_translation_file.cpp -msgid "Minimum limit of random number of small caves per mapchunk." +msgid "Screen height" msgstr "" #: src/settings_translation_file.cpp -msgid "Small cave maximum number" +msgid "Screen width" msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum limit of random number of small caves per mapchunk." +msgid "Screenshot folder" msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave minimum number" +msgid "Screenshot format" msgstr "" #: src/settings_translation_file.cpp -msgid "Minimum limit of random number of large caves per mapchunk." +msgid "Screenshot quality" msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave maximum number" +msgid "" +"Screenshot quality. Only used for JPEG format.\n" +"1 means worst quality; 100 means best quality.\n" +"Use 0 for default quality." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum limit of random number of large caves per mapchunk." +msgid "Seabed noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Large cave proportion flooded" +msgid "Second of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "Proportion of large caves that contain liquid." +msgid "Second of two 3D noises that together define tunnels." msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern limit" +msgid "Security" msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of cavern upper limit." +msgid "See https://www.sqlite.org/pragma.html#pragma_synchronous" msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern taper" +msgid "Selection box border color (R,G,B)." msgstr "" #: src/settings_translation_file.cpp -msgid "Y-distance over which caverns expand to full size." +msgid "Selection box color" msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern threshold" +msgid "Selection box width" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines full size of caverns, smaller values create larger caverns." +msgid "" +"Selects one of 18 fractal types.\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 "Dungeon minimum Y" +msgid "Server / Singleplayer" msgstr "" #: src/settings_translation_file.cpp -msgid "Lower Y limit of dungeons." +msgid "Server URL" msgstr "" #: src/settings_translation_file.cpp -msgid "Dungeon maximum Y" +msgid "Server address" msgstr "" #: src/settings_translation_file.cpp -msgid "Upper Y limit of dungeons." +msgid "Server description" msgstr "" #: src/settings_translation_file.cpp -msgid "Noises" +msgid "Server name" msgstr "" #: src/settings_translation_file.cpp -msgid "Filler depth noise" +msgid "Server port" msgstr "" #: src/settings_translation_file.cpp -msgid "Variation of biome filler depth." +msgid "Server side occlusion culling" msgstr "" #: src/settings_translation_file.cpp -msgid "Factor noise" +msgid "Serverlist URL" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Variation of terrain vertical scale.\n" -"When noise is < -0.55 terrain is near-flat." +msgid "Serverlist file" msgstr "" #: src/settings_translation_file.cpp -msgid "Height noise" +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 "Y-level of average terrain surface." +msgid "Set the maximum character length of a chat message sent by clients." msgstr "" #: src/settings_translation_file.cpp -msgid "Cave1 noise" +msgid "" +"Set the shadow strength.\n" +"Lower value means lighter shadows, higher value means darker shadows." msgstr "" #: src/settings_translation_file.cpp -msgid "First of two 3D noises that together define tunnels." +msgid "" +"Set the soft shadow radius size.\n" +"Lower values mean sharper shadows, bigger values mean softer shadows.\n" +"Minimum value: 1.0; maximum value: 10.0" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave2 noise" +msgid "" +"Set the tilt of Sun/Moon orbit in degrees.\n" +"Value of 0 means no tilt / vertical orbit.\n" +"Minimum value: 0.0; maximum value: 60.0" msgstr "" #: src/settings_translation_file.cpp -msgid "Second of two 3D noises that together define tunnels." +msgid "" +"Set to true to enable Shadow Mapping.\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern noise" +msgid "" +"Set to true to enable waving leaves.\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise defining giant caverns." +msgid "" +"Set to true to enable waving liquids (like water).\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Ground noise" +msgid "" +"Set to true to enable waving plants.\n" +"Requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise defining terrain." +msgid "" +"Sets shadow texture quality to 32 bits.\n" +"On false, 16 bits texture will be used.\n" +"This can cause much more artifacts in the shadow." msgstr "" #: src/settings_translation_file.cpp -msgid "Dungeon noise" +msgid "Shader path" msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise that determines number of dungeons per mapchunk." +msgid "" +"Shaders allow advanced visual effects and may increase performance on some " +"video\n" +"cards.\n" +"This only works with the OpenGL video backend." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V6" +msgid "Shadow filter quality" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V6 specific flags" +msgid "Shadow map max distance in nodes to render shadows" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen v6.\n" -"The 'snowbiomes' flag enables the new 5 biome system.\n" -"When the 'snowbiomes' flag is enabled jungles are automatically enabled and\n" -"the 'jungles' flag is ignored." +msgid "Shadow map texture in 32 bits" msgstr "" #: src/settings_translation_file.cpp -msgid "Desert noise threshold" +msgid "Shadow map texture size" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Deserts occur when np_biome exceeds this value.\n" -"When the 'snowbiomes' flag is enabled, this is ignored." +"Shadow offset (in pixels) of the default font. If 0, then shadow will not be " +"drawn." msgstr "" #: src/settings_translation_file.cpp -msgid "Beach noise threshold" +msgid "Shadow strength" msgstr "" #: src/settings_translation_file.cpp -msgid "Sandy beaches occur when np_beach exceeds this value." +msgid "Shape of the minimap. Enabled = round, disabled = square." msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain base noise" +msgid "Show debug info" msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of lower terrain and seabed." +msgid "Show entity selection boxes" msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain higher noise" +msgid "" +"Show entity selection boxes\n" +"A restart is required after changing this." msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of higher terrain that creates cliffs." +msgid "Show name tag backgrounds by default" msgstr "" #: src/settings_translation_file.cpp -msgid "Steepness noise" +msgid "Shutdown message" msgstr "" #: src/settings_translation_file.cpp -msgid "Varies steepness of cliffs." +msgid "" +"Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes).\n" +"WARNING!: There is no benefit, and there are several dangers, in\n" +"increasing this value above 5.\n" +"Reducing this value increases cave and dungeon density.\n" +"Altering this value is for special usage, leaving it unchanged is\n" +"recommended." msgstr "" #: src/settings_translation_file.cpp -msgid "Height select noise" +msgid "" +"Size of the MapBlock cache of the mesh generator. Increasing this will\n" +"increase the cache hit %, reducing the data being copied from the main\n" +"thread, thus reducing jitter." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines distribution of higher terrain." +msgid "Sky Body Orbit Tilt" msgstr "" #: src/settings_translation_file.cpp -msgid "Mud noise" +msgid "Slice w" msgstr "" #: src/settings_translation_file.cpp -msgid "Varies depth of biome surface nodes." +msgid "Slope and fill work together to modify the heights." msgstr "" #: src/settings_translation_file.cpp -msgid "Beach noise" +msgid "Small cave maximum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines areas with sandy beaches." +msgid "Small cave minimum number" msgstr "" #: src/settings_translation_file.cpp -msgid "Biome noise" +msgid "Small-scale humidity variation for blending biomes on borders." msgstr "" #: src/settings_translation_file.cpp -msgid "Cave noise" +msgid "Small-scale temperature variation for blending biomes on borders." msgstr "" #: src/settings_translation_file.cpp -msgid "Variation of number of caves." +msgid "Smooth lighting" msgstr "" #: src/settings_translation_file.cpp -msgid "Trees noise" +msgid "" +"Smooths camera when looking around. Also called look or mouse smoothing.\n" +"Useful for recording videos." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines tree areas and tree density." +msgid "Smooths rotation of camera in cinematic mode. 0 to disable." msgstr "" #: src/settings_translation_file.cpp -msgid "Apple trees noise" +msgid "Smooths rotation of camera. 0 to disable." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines areas where trees have apples." +msgid "Sneak key" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V7" +msgid "Sneaking speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen V7 specific flags" +msgid "Sneaking speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen v7.\n" -"'ridges': Rivers.\n" -"'floatlands': Floating land masses in the atmosphere.\n" -"'caverns': Giant caves deep underground." +msgid "Soft shadow radius" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain zero level" +msgid "Sound" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Y of mountain density gradient zero level. Used to shift mountains " -"vertically." -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Floatland minimum Y" +"Specifies URL from which client fetches media instead of using UDP.\n" +"$filename should be accessible from $remote_media$filename via cURL\n" +"(obviously, remote_media should end with a slash).\n" +"Files that are not present will be fetched the usual way." msgstr "" #: src/settings_translation_file.cpp -msgid "Lower Y limit of floatlands." +msgid "" +"Specifies the default stack size of nodes, items and tools.\n" +"Note that mods or games may explicitly set a stack for certain (or all) " +"items." msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland maximum Y" +msgid "" +"Spread a complete update of shadow map over given amount of frames.\n" +"Higher values might make shadows laggy, lower values\n" +"will consume more resources.\n" +"Minimum value: 1; maximum value: 16" msgstr "" #: src/settings_translation_file.cpp -msgid "Upper Y limit of floatlands." +msgid "" +"Spread of light curve boost range.\n" +"Controls the width of the range to be boosted.\n" +"Standard deviation of the light curve boost Gaussian." msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland tapering distance" +msgid "Static spawnpoint" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Y-distance over which floatlands taper from full density to nothing.\n" -"Tapering starts at this distance from the Y limit.\n" -"For a solid floatland layer, this controls the height of hills/mountains.\n" -"Must be less than or equal to half the distance between the Y limits." +msgid "Steepness noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland taper exponent" +msgid "Step mountain size noise" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Exponent of the floatland tapering. Alters the tapering behaviour.\n" -"Value = 1.0 creates a uniform, linear tapering.\n" -"Values > 1.0 create a smooth tapering suitable for the default separated\n" -"floatlands.\n" -"Values < 1.0 (for example 0.25) create a more defined surface level with\n" -"flatter lowlands, suitable for a solid floatland layer." +msgid "Step mountain spread noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland density" +msgid "Strength of 3D mode parallax." msgstr "" #: src/settings_translation_file.cpp -#, c-format msgid "" -"Adjusts the density of the floatland layer.\n" -"Increase value to increase density. Can be positive or negative.\n" -"Value = 0.0: 50% of volume is floatland.\n" -"Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" -"to be sure) creates a solid floatland layer." +"Strength of light curve boost.\n" +"The 3 'boost' parameters define a range of the light\n" +"curve that is boosted in brightness." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Strict protocol checking" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland water level" +msgid "Strip color codes" msgstr "" #: src/settings_translation_file.cpp @@ -6007,631 +5979,663 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain alternative noise" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "Terrain persistence noise" +msgid "Synchronous SQLite" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Varies roughness of terrain.\n" -"Defines the 'persistence' value for terrain_base and terrain_alt noises." +msgid "Temperature variation for biomes." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines distribution of higher terrain and steepness of cliffs." +msgid "Terrain alternative noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain height noise" +msgid "Terrain base noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Variation of maximum mountain height (in nodes)." +msgid "Terrain height" msgstr "" #: src/settings_translation_file.cpp -msgid "Ridge underwater noise" +msgid "Terrain higher noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines large-scale river channel structure." +msgid "Terrain noise" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain noise" +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 "" -"3D noise defining mountain structure and height.\n" -"Also defines structure of floatland mountain terrain." +"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 "Ridge noise" +msgid "Terrain persistence noise" msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise defining structure of river canyon walls." +msgid "Texture path" msgstr "" #: src/settings_translation_file.cpp -msgid "Floatland noise" +msgid "" +"Texture size to render the shadow map on.\n" +"This must be a power of two.\n" +"Bigger numbers create better shadows but it is also more expensive." msgstr "" #: src/settings_translation_file.cpp msgid "" -"3D noise defining structure of floatlands.\n" -"If altered from the default, the noise 'scale' (0.7 by default) may need\n" -"to be adjusted, as floatland tapering functions best when this noise has\n" -"a value range of approximately -2.0 to 2.0." +"Textures on a node may be aligned either to the node or to the world.\n" +"The former mode suits better things like machines, furniture, etc., while\n" +"the latter makes stairs and microblocks fit surroundings better.\n" +"However, as this possibility is new, thus may not be used by older servers,\n" +"this option allows enforcing it for certain node types. Note though that\n" +"that is considered EXPERIMENTAL and may not work properly." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Carpathian" +msgid "The URL for the content repository" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Carpathian specific flags" +msgid "The dead zone of the joystick" msgstr "" #: src/settings_translation_file.cpp -msgid "Map generation attributes specific to Mapgen Carpathian." +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 "Base ground level" +msgid "The depth of dirt or other biome filler node." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the base ground level." +msgid "" +"The file path relative to your worldpath in which profiles will be saved to." msgstr "" #: src/settings_translation_file.cpp -msgid "River channel width" +msgid "The identifier of the joystick to use" msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the width of the river channel." +msgid "The length in pixels it takes for touch screen interaction to start." msgstr "" #: src/settings_translation_file.cpp -msgid "River channel depth" +msgid "" +"The maximum height of the surface of waving liquids.\n" +"4.0 = Wave height is two nodes.\n" +"0.0 = Wave doesn't move at all.\n" +"Default is 1.0 (1/2 node).\n" +"Requires waving liquids to be enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines the depth of the river channel." +msgid "The network interface that the server listens on." msgstr "" #: src/settings_translation_file.cpp -msgid "River valley width" +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 "Defines the width of the river valley." +msgid "" +"The radius of the volume of blocks around every player that is subject to " +"the\n" +"active block stuff, stated in mapblocks (16 nodes).\n" +"In active blocks objects are loaded and ABMs run.\n" +"This is also the minimum range in which active objects (mobs) are " +"maintained.\n" +"This should be configured together with active_object_send_range_blocks." msgstr "" #: src/settings_translation_file.cpp -msgid "Hilliness1 noise" +msgid "" +"The rendering back-end.\n" +"A restart is required after changing this.\n" +"Note: On Android, stick with OGLES1 if unsure! App may fail to start " +"otherwise.\n" +"On other platforms, OpenGL is recommended.\n" +"Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" #: src/settings_translation_file.cpp -msgid "First of 4 2D noises that together define hill/mountain range height." +msgid "" +"The sensitivity of the joystick axes for moving the\n" +"in-game view frustum around." msgstr "" #: src/settings_translation_file.cpp -msgid "Hilliness2 noise" +msgid "" +"The strength (darkness) of node ambient-occlusion shading.\n" +"Lower is darker, Higher is lighter. The valid range of values for this\n" +"setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" +"set to the nearest valid value." msgstr "" #: src/settings_translation_file.cpp -msgid "Second of 4 2D noises that together define hill/mountain range height." +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 "Hilliness3 noise" +msgid "" +"The time budget allowed for ABMs to execute on each step\n" +"(as a fraction of the ABM Interval)" msgstr "" #: src/settings_translation_file.cpp -msgid "Third of 4 2D noises that together define hill/mountain range height." +msgid "" +"The time in seconds it takes between repeated events\n" +"when holding down a joystick button combination." msgstr "" #: src/settings_translation_file.cpp -msgid "Hilliness4 noise" +msgid "" +"The time in seconds it takes between repeated node placements when holding\n" +"the place button." msgstr "" #: src/settings_translation_file.cpp -msgid "Fourth of 4 2D noises that together define hill/mountain range height." +msgid "The type of joystick" msgstr "" #: src/settings_translation_file.cpp -msgid "Rolling hills spread noise" +msgid "" +"The vertical distance over which heat drops by 20 if 'altitude_chill' is\n" +"enabled. Also the vertical distance over which humidity drops by 10 if\n" +"'altitude_dry' is enabled." msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the size/occurrence of rolling hills." +msgid "Third of 4 2D noises that together define hill/mountain range height." msgstr "" #: src/settings_translation_file.cpp -msgid "Ridge mountain spread noise" +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 "2D noise that controls the size/occurrence of ridged mountain ranges." +msgid "Time of day when a new world is started, in millihours (0-23999)." msgstr "" #: src/settings_translation_file.cpp -msgid "Step mountain spread noise" +msgid "Time send interval" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the size/occurrence of step mountain ranges." +msgid "Time speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Rolling hill size noise" +msgid "Timeout for client to remove unused map data from memory." msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the shape/size of rolling hills." +msgid "" +"To reduce lag, block transfers are slowed down when a player 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 "Ridged mountain size noise" +msgid "Toggle camera mode key" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the shape/size of ridged mountains." +msgid "Tooltip delay" msgstr "" #: src/settings_translation_file.cpp -msgid "Step mountain size noise" +msgid "Touch screen threshold" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that controls the shape/size of step mountains." +msgid "Tradeoffs for performance" msgstr "" #: src/settings_translation_file.cpp -msgid "River noise" +msgid "Trees noise" msgstr "" #: src/settings_translation_file.cpp -msgid "2D noise that locates the river valleys and channels." +msgid "Trilinear filtering" msgstr "" #: src/settings_translation_file.cpp -msgid "Mountain variation noise" +msgid "" +"True = 256\n" +"False = 128\n" +"Usable to make minimap smoother on slower machines." msgstr "" #: src/settings_translation_file.cpp -msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." +msgid "Trusted mods" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Flat" +msgid "URL to the server list displayed in the Multiplayer Tab." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Flat specific flags" +msgid "Undersampling" 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." +"Undersampling is similar to using a lower screen resolution, but it applies\n" +"to the game world only, keeping the GUI intact.\n" +"It should give a significant performance boost at the cost of less detailed " +"image.\n" +"Higher values result in a less detailed image." msgstr "" #: src/settings_translation_file.cpp -msgid "Ground level" +msgid "Unlimited player transfer distance" msgstr "" #: src/settings_translation_file.cpp -msgid "Y of flat ground." +msgid "Unload unused server data" msgstr "" #: src/settings_translation_file.cpp -msgid "Lake threshold" +msgid "Upper Y limit of dungeons." 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." +msgid "Upper Y limit of floatlands." msgstr "" #: src/settings_translation_file.cpp -msgid "Lake steepness" +msgid "Use 3D cloud look instead of flat." msgstr "" #: src/settings_translation_file.cpp -msgid "Controls steepness/depth of lake depressions." +msgid "Use a cloud animation for the main menu background." msgstr "" #: src/settings_translation_file.cpp -msgid "Hill threshold" +msgid "Use anisotropic filtering when viewing at textures from an angle." 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." +msgid "Use bilinear filtering when scaling textures." msgstr "" #: src/settings_translation_file.cpp -msgid "Hill steepness" +msgid "" +"Use mipmapping to scale textures. May slightly increase performance,\n" +"especially when using a high resolution texture pack.\n" +"Gamma correct downscaling is not supported." msgstr "" #: src/settings_translation_file.cpp -msgid "Controls steepness/height of hills." +msgid "" +"Use multi-sample antialiasing (MSAA) to smooth out block edges.\n" +"This algorithm smooths out the 3D viewport while keeping the image sharp,\n" +"but it doesn't affect the insides of textures\n" +"(which is especially noticeable with transparent textures).\n" +"Visible spaces appear between nodes when shaders are disabled.\n" +"If set to 0, MSAA is disabled.\n" +"A restart is required after changing this option." msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain noise" +msgid "Use trilinear filtering when scaling textures." msgstr "" #: src/settings_translation_file.cpp -msgid "Defines location and terrain of optional hills and lakes." +msgid "VBO" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Fractal" +msgid "VSync" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Fractal specific flags" +msgid "Valley depth" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Map generation attributes specific to Mapgen Fractal.\n" -"'terrain' enables the generation of non-fractal terrain:\n" -"ocean, islands and underground." +msgid "Valley fill" msgstr "" #: src/settings_translation_file.cpp -msgid "Fractal type" +msgid "Valley profile" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Selects one of 18 fractal types.\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." +msgid "Valley slope" msgstr "" #: src/settings_translation_file.cpp -msgid "Iterations" +msgid "Variation of biome filler depth." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Iterations of the recursive function.\n" -"Increasing this increases the amount of fine detail, but also\n" -"increases processing load.\n" -"At iterations = 20 this mapgen has a similar load to mapgen V7." +msgid "Variation of maximum mountain height (in nodes)." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"(X,Y,Z) scale of fractal in nodes.\n" -"Actual fractal size will be 2 to 3 times larger.\n" -"These numbers can be made very large, the fractal does\n" -"not have to fit inside the world.\n" -"Increase these to 'zoom' into the detail of the fractal.\n" -"Default is for a vertically-squashed shape suitable for\n" -"an island, set all 3 numbers equal for the raw shape." +msgid "Variation of number of caves." msgstr "" #: src/settings_translation_file.cpp msgid "" -"(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" -"Can be used to move a desired point to (0, 0) to create a\n" -"suitable spawn point, or to allow 'zooming in' on a desired\n" -"point by increasing 'scale'.\n" -"The default is tuned for a suitable spawn point for Mandelbrot\n" -"sets with default parameters, it may need altering in other\n" -"situations.\n" -"Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." +"Variation of terrain vertical scale.\n" +"When noise is < -0.55 terrain is near-flat." msgstr "" #: src/settings_translation_file.cpp -msgid "Slice w" +msgid "Varies depth of biome surface nodes." msgstr "" #: src/settings_translation_file.cpp msgid "" -"W coordinate of the generated 3D slice of a 4D fractal.\n" -"Determines which 3D slice of the 4D shape is generated.\n" -"Alters the shape of the fractal.\n" -"Has no effect on 3D fractals.\n" -"Range roughly -2 to 2." +"Varies roughness of terrain.\n" +"Defines the 'persistence' value for terrain_base and terrain_alt noises." msgstr "" #: src/settings_translation_file.cpp -msgid "Julia x" +msgid "Varies steepness of cliffs." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"X component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Range roughly -2 to 2." +msgid "Vertical climbing speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Julia y" +msgid "Vertical screen synchronization." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"Y component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Range roughly -2 to 2." +msgid "Video driver" msgstr "" #: src/settings_translation_file.cpp -msgid "Julia z" +msgid "View bobbing factor" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"Z component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Range roughly -2 to 2." +msgid "View distance in nodes." msgstr "" #: src/settings_translation_file.cpp -msgid "Julia w" +msgid "View range decrease key" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Julia set only.\n" -"W component of hypercomplex constant.\n" -"Alters the shape of the fractal.\n" -"Has no effect on 3D fractals.\n" -"Range roughly -2 to 2." +msgid "View range increase key" msgstr "" #: src/settings_translation_file.cpp -msgid "Seabed noise" +msgid "View zoom key" msgstr "" #: src/settings_translation_file.cpp -msgid "Y-level of seabed." +msgid "Viewing range" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Valleys" +msgid "Virtual joystick triggers Aux1 button" msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen Valleys specific flags" +msgid "Volume" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Map generation attributes specific to Mapgen Valleys.\n" -"'altitude_chill': Reduces heat with altitude.\n" -"'humid_rivers': Increases humidity around rivers.\n" -"'vary_river_depth': If enabled, low humidity and high heat causes rivers\n" -"to become shallower and occasionally dry.\n" -"'altitude_dry': Reduces humidity with altitude." +"Volume of all sounds.\n" +"Requires the sound system to be enabled." msgstr "" #: src/settings_translation_file.cpp msgid "" -"The vertical distance over which heat drops by 20 if 'altitude_chill' is\n" -"enabled. Also the vertical distance over which humidity drops by 10 if\n" -"'altitude_dry' is enabled." +"W coordinate of the generated 3D slice of a 4D fractal.\n" +"Determines which 3D slice of the 4D shape is generated.\n" +"Alters the shape of the fractal.\n" +"Has no effect on 3D fractals.\n" +"Range roughly -2 to 2." msgstr "" #: src/settings_translation_file.cpp -msgid "Depth below which you'll find large caves." +msgid "Walking and flying speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "Cavern upper limit" +msgid "Walking speed" msgstr "" #: src/settings_translation_file.cpp -msgid "Depth below which you'll find giant caverns." +msgid "Walking, flying and climbing speed in fast mode, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -msgid "River depth" +msgid "Water level" msgstr "" #: src/settings_translation_file.cpp -msgid "How deep to make rivers." +msgid "Water surface level of the world." msgstr "" #: src/settings_translation_file.cpp -msgid "River size" +msgid "Waving Nodes" msgstr "" #: src/settings_translation_file.cpp -msgid "How wide to make rivers." +msgid "Waving leaves" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave noise #1" +msgid "Waving liquids" msgstr "" #: src/settings_translation_file.cpp -msgid "Cave noise #2" +msgid "Waving liquids wave height" msgstr "" #: src/settings_translation_file.cpp -msgid "Filler depth" +msgid "Waving liquids wave speed" msgstr "" #: src/settings_translation_file.cpp -msgid "The depth of dirt or other biome filler node." +msgid "Waving liquids wavelength" msgstr "" #: src/settings_translation_file.cpp -msgid "Terrain height" +msgid "Waving plants" msgstr "" #: src/settings_translation_file.cpp -msgid "Base terrain height." +msgid "Weblink color" msgstr "" #: src/settings_translation_file.cpp -msgid "Valley depth" +msgid "" +"When gui_scaling_filter is true, all GUI images need to be\n" +"filtered in software, but some images are generated directly\n" +"to hardware (e.g. render-to-texture for nodes in inventory)." msgstr "" #: src/settings_translation_file.cpp -msgid "Raises terrain to make valleys around the rivers." +msgid "" +"When gui_scaling_filter_txr2img is true, copy those images\n" +"from hardware to software for scaling. When false, fall back\n" +"to the old scaling method, for video drivers that don't\n" +"properly support downloading textures back from hardware." msgstr "" #: src/settings_translation_file.cpp -msgid "Valley fill" +msgid "" +"When using bilinear/trilinear/anisotropic filters, low-resolution textures\n" +"can be blurred, so automatically upscale them with nearest-neighbor\n" +"interpolation to preserve crisp pixels. This sets the minimum texture size\n" +"for the upscaled textures; higher values look sharper, but require more\n" +"memory. Powers of 2 are recommended. This setting is ONLY applied if\n" +"bilinear/trilinear/anisotropic filtering is enabled.\n" +"This is also used as the base node texture size for world-aligned\n" +"texture autoscaling." msgstr "" #: src/settings_translation_file.cpp -msgid "Slope and fill work together to modify the heights." +msgid "" +"Whether name tag backgrounds should be shown by default.\n" +"Mods may still set a background." msgstr "" #: src/settings_translation_file.cpp -msgid "Valley profile" +msgid "Whether node texture animations should be desynchronized per mapblock." msgstr "" #: src/settings_translation_file.cpp -msgid "Amplifies the valleys." +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 "Valley slope" +msgid "Whether to allow players to damage and kill each other." msgstr "" #: src/settings_translation_file.cpp -msgid "Chunk size" +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 "Whether to fog out the end of the visible area." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes).\n" -"WARNING!: There is no benefit, and there are several dangers, in\n" -"increasing this value above 5.\n" -"Reducing this value increases cave and dungeon density.\n" -"Altering this value is for special usage, leaving it unchanged is\n" -"recommended." +"Whether to mute sounds. You can unmute sounds at any time, unless the\n" +"sound system is disabled (enable_sound=false).\n" +"In-game, you can toggle the mute state with the mute key or by using the\n" +"pause menu." msgstr "" #: src/settings_translation_file.cpp -msgid "Mapgen debug" +msgid "" +"Whether to show the client debug info (has the same effect as hitting F5)." msgstr "" #: src/settings_translation_file.cpp -msgid "Dump the mapgen debug information." +msgid "Width component of the initial window size. Ignored in fullscreen mode." msgstr "" #: src/settings_translation_file.cpp -msgid "Absolute limit of queued blocks to emerge" +msgid "Width of the selection box lines around nodes." msgstr "" #: src/settings_translation_file.cpp -msgid "Maximum number of blocks that can be queued for loading." +msgid "" +"Windows systems only: Start Minetest with the command line window in the " +"background.\n" +"Contains the same information as the file debug.txt (default name)." msgstr "" #: src/settings_translation_file.cpp -msgid "Per-player limit of queued blocks load from disk" +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 "World start time" msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of blocks to be queued that are to be loaded from file.\n" -"This limit is enforced per player." +"World-aligned textures may be scaled to span several nodes. However,\n" +"the server may not send the scale you want, especially if you use\n" +"a specially-designed texture pack; with this option, the client tries\n" +"to determine the scale automatically basing on the texture size.\n" +"See also texture_min_size.\n" +"Warning: This option is EXPERIMENTAL!" msgstr "" #: src/settings_translation_file.cpp -msgid "Per-player limit of queued blocks to generate" +msgid "World-aligned textures mode" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y of flat ground." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Maximum number of blocks to be queued that are to be generated.\n" -"This limit is enforced per player." +"Y of mountain density gradient zero level. Used to shift mountains " +"vertically." msgstr "" #: src/settings_translation_file.cpp -msgid "Number of emerge threads" +msgid "Y of upper limit of large caves." +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Y-distance over which caverns expand to full size." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Number of emerge threads to use.\n" -"Value 0:\n" -"- Automatic selection. The number of emerge threads will be\n" -"- 'number of processors - 2', with a lower limit of 1.\n" -"Any other value:\n" -"- Specifies the number of emerge threads, with a lower limit of 1.\n" -"WARNING: Increasing the number of emerge threads increases engine mapgen\n" -"speed, but this may harm game performance by interfering with other\n" -"processes, especially in singleplayer and/or when running Lua code in\n" -"'on_generated'. For many users the optimum setting may be '1'." +"Y-distance over which floatlands taper from full density to nothing.\n" +"Tapering starts at this distance from the Y limit.\n" +"For a solid floatland layer, this controls the height of hills/mountains.\n" +"Must be less than or equal to half the distance between the Y limits." msgstr "" #: src/settings_translation_file.cpp -msgid "Online Content Repository" +msgid "Y-level of average terrain surface." msgstr "" #: src/settings_translation_file.cpp -msgid "ContentDB URL" +msgid "Y-level of cavern upper limit." msgstr "" #: src/settings_translation_file.cpp -msgid "The URL for the content repository" +msgid "Y-level of higher terrain that creates cliffs." msgstr "" #: src/settings_translation_file.cpp -msgid "ContentDB Flag Blacklist" +msgid "Y-level of lower terrain and seabed." msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Comma-separated list of flags to hide in the content repository.\n" -"\"nonfree\" can be used to hide packages which do not qualify as 'free " -"software',\n" -"as defined by the Free Software Foundation.\n" -"You can also specify content ratings.\n" -"These flags are independent from Minetest versions,\n" -"so see a full list at https://content.minetest.net/help/content_flags/" +msgid "Y-level of seabed." msgstr "" #: src/settings_translation_file.cpp -msgid "ContentDB Max Concurrent Downloads" +msgid "cURL file download timeout" msgstr "" #: src/settings_translation_file.cpp -msgid "" -"Maximum number of concurrent downloads. Downloads exceeding this limit will " -"be queued.\n" -"This should be lower than curl_parallel_limit." +msgid "cURL interactive timeout" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "cURL parallel limit" msgstr "" diff --git a/po/minetest.pot b/po/minetest.pot index e40fc194d..0cddb4abf 100644 --- a/po/minetest.pot +++ b/po/minetest.pot @@ -8,13 +8,13 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: builtin/client/chatcommands.lua @@ -358,11 +358,11 @@ msgid "Very large caverns deep in the underground" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Sea level rivers" +msgid "Rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "Rivers" +msgid "Sea level rivers" msgstr "" #: builtin/mainmenu/dlg_create_world.lua @@ -537,11 +537,11 @@ msgid "Create" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "A world named \"$1\" already exists" +msgid "No game selected" msgstr "" #: builtin/mainmenu/dlg_create_world.lua -msgid "No game selected" +msgid "A world named \"$1\" already exists" msgstr "" #: builtin/mainmenu/dlg_delete_content.lua @@ -1416,7 +1416,7 @@ msgstr "" msgid "Viewing range is at maximum: %d" msgstr "" -#: src/client/game.cpp src/unittest/test_gettext.cpp +#: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1529,14 +1529,6 @@ msgstr "" msgid "Off" msgstr "" -#: src/client/game.cpp -msgid "- Damage: " -msgstr "" - -#: src/client/game.cpp -msgid "- Creative Mode: " -msgstr "" - #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " @@ -1875,7 +1867,7 @@ msgstr "" msgid "Failed to open webpage" msgstr "" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -3179,6 +3171,16 @@ msgid "" "Disable for speed or for different looks." msgstr "" +#: src/settings_translation_file.cpp +msgid "Tradeoffs for performance" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." +msgstr "" + #: src/settings_translation_file.cpp msgid "Clouds" msgstr "" @@ -4101,17 +4103,6 @@ msgstr "" msgid "Append item name to tooltip." msgstr "" -#: src/settings_translation_file.cpp -msgid "FreeType fonts" -msgstr "" - -#: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" - #: src/settings_translation_file.cpp msgid "Font bold by default" msgstr "" @@ -4144,7 +4135,22 @@ msgid "Font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size divisible by" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" #: src/settings_translation_file.cpp @@ -4153,9 +4159,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" @@ -4176,7 +4180,11 @@ msgid "Monospace font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Monospace font size divisible by" msgstr "" #: src/settings_translation_file.cpp @@ -4185,9 +4193,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" @@ -4209,9 +4215,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" diff --git a/po/mr/minetest.po b/po/mr/minetest.po index aec436e98..d1a4e213e 100644 --- a/po/mr/minetest.po +++ b/po/mr/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: 2021-06-10 14:35+0000\n" "Last-Translator: Avyukt More \n" "Language-Team: Marathi \n" @@ -1211,14 +1211,6 @@ msgstr "" msgid "- Address: " msgstr "- Alamat: " -#: src/client/game.cpp -msgid "- Creative Mode: " -msgstr "- Mod Kreatif: " - -#: src/client/game.cpp -msgid "- Damage: " -msgstr "- Boleh cedera: " - #: src/client/game.cpp msgid "- Mode: " msgstr "- Mod: " @@ -1576,7 +1568,7 @@ msgstr "Tidak mampu sambung ke %s kerana IPv6 dilumpuhkan" msgid "Unable to listen on %s because IPv6 is disabled" msgstr "Tidak mampu dengar di %s kerana IPv6 dilumpuhkan" -#: src/client/game.cpp src/unittest/test_gettext.cpp +#: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "Jarak pandang ditukar ke %d" @@ -1926,7 +1918,7 @@ msgstr "Kata laluan tidak padan!" msgid "Register and Join" msgstr "Daftar dan Sertai" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -3381,6 +3373,12 @@ msgstr "" "dan kawalan bunyi dalam permainan tidak akan berfungsi.\n" "Pengubahan tetapan ini memerlukan permulaan semula." +#: src/settings_translation_file.cpp +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." +msgstr "" + #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "Selang masa cetak data pemprofilan enjin" @@ -3584,11 +3582,17 @@ msgid "Font size" msgstr "Saiz fon" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Font size divisible by" +msgstr "" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" msgstr "Saiz fon bagi fon lalai dalan unit titik (pt)." #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +#, fuzzy +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" msgstr "Saiz fon bagi fon monospace dalam unit titik (pt)." #: src/settings_translation_file.cpp @@ -3599,6 +3603,17 @@ msgstr "" "Saiz fon tulisan sembang baru-baru ini dan prom dalam unit titik (pt).\n" "Nilai 0 akan menggunakan saiz fon lalai." +#: src/settings_translation_file.cpp +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Format of player chat messages. The following strings are valid " @@ -3664,10 +3679,6 @@ msgstr "Jenis fraktal" msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "Bahagian daripada jarak boleh lihat di mana kabut mula dikemas gabung" -#: src/settings_translation_file.cpp -msgid "FreeType fonts" -msgstr "Fon FreeType" - #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " @@ -5776,6 +5787,11 @@ msgstr "Laluan fon monospace" msgid "Monospace font size" msgstr "Saiz fon monospace" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Monospace font size divisible by" +msgstr "Saiz fon monospace" + #: src/settings_translation_file.cpp msgid "Mountain height noise" msgstr "Hingar ketinggian gunung" @@ -5961,10 +5977,9 @@ msgid "Optional override for chat weblink color." msgstr "Pilihan mengatasi warna pautan sesawang di sembang." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" @@ -5996,10 +6011,9 @@ msgid "Path to texture directory. All textures are first searched from here." msgstr "Laluan ke direktori tekstur. Semua tekstur dicari dari sini dahulu." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" "Laluan fon lalai.\n" @@ -6009,10 +6023,9 @@ msgstr "" "Fon berbalik akan digunakan sekiranya fon ini tidak dapat dimuatkan." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" "Laluan fon monospace.\n" @@ -6568,7 +6581,8 @@ msgstr "Kualiti penapisan bayang" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "Jarak maksimum peta bayang untuk mengemas gabung bayang, dalam unit nod" +msgstr "" +"Jarak maksimum peta bayang untuk mengemas gabung bayang, dalam unit nod" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" @@ -7133,6 +7147,10 @@ msgstr "Lengah tip alatan" msgid "Touch screen threshold" msgstr "Nilai ambang skrin sentuh" +#: src/settings_translation_file.cpp +msgid "Tradeoffs for performance" +msgstr "" + #: src/settings_translation_file.cpp msgid "Trees noise" msgstr "Hingar pokok" @@ -7471,23 +7489,13 @@ msgstr "" "tekstur\n" "minimum untuk tekstur yang disesuai-naikkan; nilai lebih tinggi tampak " "lebih\n" -"tajam, tetapi memerlukan ingatan yang lebih banyak. Nilai kuasa 2 digalakkan." -"\n" +"tajam, tetapi memerlukan ingatan yang lebih banyak. Nilai kuasa 2 " +"digalakkan.\n" "Tetapan ini HANYA digunakan jika penapisan bilinear/trilinear/anisotropik " "dibolehkan.\n" "Tetapan ini juga digunakan sebagai saiz tekstur nod asas untuk\n" "penyesuaian automatik bagi tekstur jajaran dunia." -#: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" -"Menetapkan sama ada fon FreeType digunakan, memerlukan sokongan Freetype\n" -"dikompil bersama. Jika dilumpuhkan, fon peta bit dan vektor XML akan " -"digunakan." - #: src/settings_translation_file.cpp msgid "" "Whether name tag backgrounds should be shown by default.\n" @@ -7664,6 +7672,12 @@ msgstr "Had masa saling tindak cURL" msgid "cURL parallel limit" msgstr "Had cURL selari" +#~ msgid "- Creative Mode: " +#~ msgstr "- Mod Kreatif: " + +#~ msgid "- Damage: " +#~ msgstr "- Boleh cedera: " + #~ msgid "" #~ "0 = parallax occlusion with slope information (faster).\n" #~ "1 = relief mapping (slower, more accurate)." @@ -7845,6 +7859,9 @@ msgstr "Had cURL selari" #~ msgid "Font size of the fallback font in point (pt)." #~ msgstr "Saiz fon bagi fon berbalik dalam unit titik (pt)." +#~ msgid "FreeType fonts" +#~ msgstr "Fon FreeType" + #~ msgid "Full screen BPP" #~ msgstr "BPP skrin penuh" @@ -8036,6 +8053,15 @@ msgstr "Had cURL selari" #~ msgid "Waving water" #~ msgstr "Air bergelora" +#~ msgid "" +#~ "Whether FreeType fonts are used, requires FreeType support to be compiled " +#~ "in.\n" +#~ "If disabled, bitmap and XML vectors fonts are used instead." +#~ msgstr "" +#~ "Menetapkan sama ada fon FreeType digunakan, memerlukan sokongan Freetype\n" +#~ "dikompil bersama. Jika dilumpuhkan, fon peta bit dan vektor XML akan " +#~ "digunakan." + #~ msgid "Whether dungeons occasionally project from the terrain." #~ msgstr "" #~ "Sama ada kurungan bawah tanah kadang-kala terlunjur daripada rupa bumi." diff --git a/po/ms_Arab/minetest.po b/po/ms_Arab/minetest.po index d539aaba6..4924cf7b4 100644 --- a/po/ms_Arab/minetest.po +++ b/po/ms_Arab/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: 2022-01-10 23:53+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" @@ -1236,14 +1236,6 @@ msgstr "" msgid "- Address: " msgstr "- علامت: " -#: src/client/game.cpp -msgid "- Creative Mode: " -msgstr "- مود کرياتيف: " - -#: src/client/game.cpp -msgid "- Damage: " -msgstr "- بوليه چدرا " - #: src/client/game.cpp msgid "- Mode: " msgstr "- مود: " @@ -1602,7 +1594,7 @@ msgstr "" msgid "Unable to listen on %s because IPv6 is disabled" msgstr "" -#: src/client/game.cpp src/unittest/test_gettext.cpp +#: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "جارق ڤندڠ دتوکر ک%d" @@ -1954,7 +1946,7 @@ msgstr "کات لالوان تيدق ڤادن!" msgid "Register and Join" msgstr "دفتر دان سرتاٴي" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -3333,6 +3325,12 @@ msgstr "" "دان کاولن بوڽي دالم ڤرماٴينن تيدق اکن برفوڠسي.\n" "ڤڠوبهن تتڤن اين ممرلوکن ڤرمولاٴن سمولا." +#: src/settings_translation_file.cpp +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." +msgstr "" + #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "" @@ -3528,11 +3526,17 @@ msgid "Font size" msgstr "سايز فون" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Font size divisible by" +msgstr "" + +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" msgstr "سايز فون باݢي فون لالاي دالم اونيت تيتيق (pt)." #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +#, fuzzy +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" msgstr "سايز فون باݢي فون monospace دالم اونيت تيتيق (pt)." #: src/settings_translation_file.cpp @@ -3543,6 +3547,17 @@ msgstr "" "سايز فون توليسن سيمبڠ بارو٢ اين دان ڤروم دالم اونيت تيتيق (pt).\n" "نيلاي 0 اکن مڠݢوناکن سايز فون لالاي." +#: src/settings_translation_file.cpp +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Format of player chat messages. The following strings are valid " @@ -3605,10 +3620,6 @@ msgstr "" msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "بهاݢين درڤد جارق بوليه ليهت دمان کابوت مولا دجان" -#: src/settings_translation_file.cpp -msgid "FreeType fonts" -msgstr "فون FreeType" - #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " @@ -5587,6 +5598,11 @@ msgstr "لالوان فون monospace" msgid "Monospace font size" msgstr "سايز فون monospace" +#: src/settings_translation_file.cpp +#, fuzzy +msgid "Monospace font size divisible by" +msgstr "سايز فون monospace" + #: src/settings_translation_file.cpp msgid "Mountain height noise" msgstr "" @@ -5745,10 +5761,9 @@ msgid "Optional override for chat weblink color." msgstr "" #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" @@ -5778,10 +5793,9 @@ msgid "Path to texture directory. All textures are first searched from here." msgstr "لالوان کديريکتوري تيکستور. سموا تيکستور دچاري دري سيني داهولو." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" "لالوان فون لالاي.\n" @@ -5790,10 +5804,9 @@ msgstr "" "فون برباليق اکن دݢوناکن سکيراڽ فون اين تيدق داڤت دمواتکن." #: src/settings_translation_file.cpp +#, fuzzy msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" "لالوان فون monospace.\n" @@ -6810,6 +6823,10 @@ msgstr "لڠه تيڤ التن" msgid "Touch screen threshold" msgstr "نيلاي امبڠ سکرين سنتوه" +#: src/settings_translation_file.cpp +msgid "Tradeoffs for performance" +msgstr "" + #: src/settings_translation_file.cpp msgid "Trees noise" msgstr "" @@ -7127,15 +7144,6 @@ msgstr "" "بيلينيار\\تريلينيار\\انيسوتروڤيک دبوليهکن. اين جوݢ دݢوناکن سباݢاي\n" "سايز تيکستور نود اساس اونتوق أوتوڤڽسواين تيکستور جاجرن دنيا." -#: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" -"منتڤکن سام اد فون FreeType دݢوناکن⹁ ممرلوکن سوکوڠن Freetype\n" -"دکومڤيل برسام. جيک دلومڤوهکن⹁ فون ڤتا بيت دان ۏيکتور XML اکن دݢوناکن." - #: src/settings_translation_file.cpp msgid "" "Whether name tag backgrounds should be shown by default.\n" @@ -7298,6 +7306,12 @@ msgstr "" msgid "cURL parallel limit" msgstr "" +#~ msgid "- Creative Mode: " +#~ msgstr "- مود کرياتيف: " + +#~ msgid "- Damage: " +#~ msgstr "- بوليه چدرا " + #~ msgid "" #~ "0 = parallax occlusion with slope information (faster).\n" #~ "1 = relief mapping (slower, more accurate)." @@ -7388,6 +7402,9 @@ msgstr "" #~ msgid "Font size of the fallback font in point (pt)." #~ msgstr "سايز فون باݢي فون برباليق دالم اونيت تيتيق (pt)." +#~ msgid "FreeType fonts" +#~ msgstr "فون FreeType" + #~ msgid "Full screen BPP" #~ msgstr "BPP سکرين ڤنوه" @@ -7493,6 +7510,14 @@ msgstr "" #~ msgid "View" #~ msgstr "ليهت" +#~ msgid "" +#~ "Whether FreeType fonts are used, requires FreeType support to be compiled " +#~ "in.\n" +#~ "If disabled, bitmap and XML vectors fonts are used instead." +#~ msgstr "" +#~ "منتڤکن سام اد فون FreeType دݢوناکن⹁ ممرلوکن سوکوڠن Freetype\n" +#~ "دکومڤيل برسام. جيک دلومڤوهکن⹁ فون ڤتا بيت دان ۏيکتور XML اکن دݢوناکن." + #~ msgid "Yes" #~ msgstr "ياٴ" diff --git a/po/nb/minetest.po b/po/nb/minetest.po index 66a74271d..d550602e6 100644 --- a/po/nb/minetest.po +++ b/po/nb/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Norwegian Bokmål (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: 2022-01-10 23:53+0000\n" "Last-Translator: Imre Kristoffer Eilertsen \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" "Language-Team: Norwegian Nynorsk \n" "Language-Team: Polish \n" "Language-Team: Portuguese \n" "Language-Team: Portuguese (Brazil) \n" "Language-Team: Romanian \n" "Language-Team: Russian \n" "Language-Team: Slovak \n" "Language-Team: Slovenian \n" "Language-Team: Serbian (cyrillic) \n" "Language-Team: Serbian (latin) \n" "Language-Team: Swedish \n" "Language-Team: Swahili \n" "Language-Team: Thai \n" "Language-Team: Turkish \n" "Language-Team: Tatar \n" "Language-Team: Ukrainian \n" "Language-Team: Vietnamese ' to get more information, or '.help all' to list everything." msgstr "" -"Dùng '.help ' để có thêm thông tin về một câu lệnh hoặc dùng " -"'.help all' để xem danh sách về những câu lệnh có sẵn." +"Dùng '.help ' để có thêm thông tin về một câu lệnh hoặc dùng '." +"help all' để xem danh sách về những câu lệnh có sẵn." #: builtin/common/chatcommands.lua msgid "[all | ]" @@ -1221,14 +1221,6 @@ msgstr "" msgid "- Address: " msgstr "- Địa chỉ: " -#: src/client/game.cpp -msgid "- Creative Mode: " -msgstr "- Chế độ sáng tạo: " - -#: src/client/game.cpp -msgid "- Damage: " -msgstr "- Tổn hại: " - #: src/client/game.cpp msgid "- Mode: " msgstr "- Chế độ: " @@ -1584,7 +1576,7 @@ msgstr "" msgid "Unable to listen on %s because IPv6 is disabled" msgstr "" -#: src/client/game.cpp src/unittest/test_gettext.cpp +#: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1934,7 +1926,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -3208,6 +3200,12 @@ msgid "" "Changing this setting requires a restart." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." +msgstr "" + #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "" @@ -3392,11 +3390,15 @@ msgid "Font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Font size divisible by" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" msgstr "" #: src/settings_translation_file.cpp @@ -3405,6 +3407,17 @@ msgid "" "Value 0 will use the default font size." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Format of player chat messages. The following strings are valid " @@ -3464,10 +3477,6 @@ msgstr "" msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "" -#: src/settings_translation_file.cpp -msgid "FreeType fonts" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " @@ -5168,6 +5177,10 @@ msgstr "" msgid "Monospace font size" msgstr "" +#: src/settings_translation_file.cpp +msgid "Monospace font size divisible by" +msgstr "" + #: src/settings_translation_file.cpp msgid "Mountain height noise" msgstr "" @@ -5319,9 +5332,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" @@ -5344,17 +5355,13 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" @@ -6261,6 +6268,10 @@ msgstr "" msgid "Touch screen threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Tradeoffs for performance" +msgstr "" + #: src/settings_translation_file.cpp msgid "Trees noise" msgstr "" @@ -6545,13 +6556,6 @@ msgid "" "texture autoscaling." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Whether name tag backgrounds should be shown by default.\n" @@ -6692,6 +6696,12 @@ msgstr "Hết thời gian tương tác với cURL" msgid "cURL parallel limit" msgstr "Gặp giới hạn số lượng tệp tải xuống trong cURL" +#~ msgid "- Creative Mode: " +#~ msgstr "- Chế độ sáng tạo: " + +#~ msgid "- Damage: " +#~ msgstr "- Tổn hại: " + #~ msgid "Ok" #~ msgstr "Được" diff --git a/po/yue/minetest.po b/po/yue/minetest.po index 96cb1ca69..45631b422 100644 --- a/po/yue/minetest.po +++ b/po/yue/minetest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -1195,14 +1195,6 @@ msgstr "" msgid "- Address: " msgstr "" -#: src/client/game.cpp -msgid "- Creative Mode: " -msgstr "" - -#: src/client/game.cpp -msgid "- Damage: " -msgstr "" - #: src/client/game.cpp msgid "- Mode: " msgstr "" @@ -1532,7 +1524,7 @@ msgstr "" msgid "Unable to listen on %s because IPv6 is disabled" msgstr "" -#: src/client/game.cpp src/unittest/test_gettext.cpp +#: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "" @@ -1882,7 +1874,7 @@ msgstr "" msgid "Register and Join" msgstr "" -#: src/gui/guiConfirmRegistration.cpp src/unittest/test_gettext.cpp +#: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" @@ -3156,6 +3148,12 @@ msgid "" "Changing this setting requires a restart." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"Enables tradeoffs that reduce CPU load or increase rendering performance\n" +"at the expense of minor visual glitches that do not impact game playability." +msgstr "" + #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" msgstr "" @@ -3340,11 +3338,15 @@ msgid "Font size" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the default font in point (pt)." +msgid "Font size divisible by" msgstr "" #: src/settings_translation_file.cpp -msgid "Font size of the monospace font in point (pt)." +msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" +msgstr "" + +#: src/settings_translation_file.cpp +msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" msgstr "" #: src/settings_translation_file.cpp @@ -3353,6 +3355,17 @@ msgid "" "Value 0 will use the default font size." msgstr "" +#: src/settings_translation_file.cpp +msgid "" +"For pixel-style fonts that do not scale well, this ensures that font sizes " +"used\n" +"with this font will always be divisible by this value, in pixels. For " +"instance,\n" +"a pixel font 16 pixels tall should have this set to 16, so it will only ever " +"be\n" +"sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." +msgstr "" + #: src/settings_translation_file.cpp msgid "" "Format of player chat messages. The following strings are valid " @@ -3412,10 +3425,6 @@ msgstr "" msgid "Fraction of the visible distance at which fog starts to be rendered" msgstr "" -#: src/settings_translation_file.cpp -msgid "FreeType fonts" -msgstr "" - #: src/settings_translation_file.cpp msgid "" "From how far blocks are generated for clients, stated in mapblocks (16 " @@ -5113,6 +5122,10 @@ msgstr "" msgid "Monospace font size" msgstr "" +#: src/settings_translation_file.cpp +msgid "Monospace font size divisible by" +msgstr "" + #: src/settings_translation_file.cpp msgid "Mountain height noise" msgstr "" @@ -5264,9 +5277,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path of the fallback font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" @@ -5289,17 +5300,13 @@ msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the default font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" #: src/settings_translation_file.cpp msgid "" -"Path to the monospace font.\n" -"If “freetype” setting is enabled: Must be a TrueType font.\n" -"If “freetype” setting is disabled: Must be a bitmap or XML vectors font.\n" +"Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" @@ -6202,6 +6209,10 @@ msgstr "" msgid "Touch screen threshold" msgstr "" +#: src/settings_translation_file.cpp +msgid "Tradeoffs for performance" +msgstr "" + #: src/settings_translation_file.cpp msgid "Trees noise" msgstr "" @@ -6486,13 +6497,6 @@ msgid "" "texture autoscaling." msgstr "" -#: src/settings_translation_file.cpp -msgid "" -"Whether FreeType fonts are used, requires FreeType support to be compiled " -"in.\n" -"If disabled, bitmap and XML vectors fonts are used instead." -msgstr "" - #: src/settings_translation_file.cpp msgid "" "Whether name tag backgrounds should be shown by default.\n" diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index 4d0f2e41c..cc9bb383d 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-27 19:42+0100\n" +"POT-Creation-Date: 2022-01-25 23:19+0100\n" "PO-Revision-Date: 2022-01-25 22:04+0000\n" "Last-Translator: poi \n" "Language-Team: Chinese (Simplified) \n" "Language-Team: Chinese (Traditional) Date: Thu, 27 Jan 2022 22:22:58 +0100 Subject: Define control(bits) as "unset" for entities (#11995) --- doc/lua_api.txt | 25 ++++++++++++++----------- src/script/lua_api/l_object.cpp | 13 ++++++++----- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e37567ec3..faaed55e1 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6716,18 +6716,21 @@ object you are working with still exists. `aux1`, `sneak`, `dig`, `place`, `LMB`, `RMB`, and `zoom`. * The fields `LMB` and `RMB` are equal to `dig` and `place` respectively, and exist only to preserve backwards compatibility. + * Returns an empty table `{}` if the object is not a player. * `get_player_control_bits()`: returns integer with bit packed player pressed - keys. Bits: - * 0 - up - * 1 - down - * 2 - left - * 3 - right - * 4 - jump - * 5 - aux1 - * 6 - sneak - * 7 - dig - * 8 - place - * 9 - zoom + keys. + * Bits: + * 0 - up + * 1 - down + * 2 - left + * 3 - right + * 4 - jump + * 5 - aux1 + * 6 - sneak + * 7 - dig + * 8 - place + * 9 - zoom + * Returns `0` (no bits set) if the object is not a player. * `set_physics_override(override_table)` * `override_table` is a table with the following fields: * `speed`: multiplier to default walking speed value (default: `1`) diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index b177a9f7e..407b48db0 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1367,11 +1367,12 @@ int ObjectRef::l_get_player_control(lua_State *L) NO_MAP_LOCK_REQUIRED; ObjectRef *ref = checkobject(L, 1); RemotePlayer *player = getplayer(ref); - if (player == nullptr) - return 0; - const PlayerControl &control = player->getPlayerControl(); lua_newtable(L); + if (player == nullptr) + return 1; + + const PlayerControl &control = player->getPlayerControl(); lua_pushboolean(L, control.direction_keys & (1 << 0)); lua_setfield(L, -2, "up"); lua_pushboolean(L, control.direction_keys & (1 << 1)); @@ -1406,8 +1407,10 @@ int ObjectRef::l_get_player_control_bits(lua_State *L) NO_MAP_LOCK_REQUIRED; ObjectRef *ref = checkobject(L, 1); RemotePlayer *player = getplayer(ref); - if (player == nullptr) - return 0; + if (player == nullptr) { + lua_pushinteger(L, 0); + return 1; + } const auto &c = player->getPlayerControl(); -- cgit v1.2.3 From 47735c273c96e582f6e9bceee223270ad2a99236 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Thu, 27 Jan 2022 22:23:14 +0100 Subject: Builtin: Sanity-check /time inputs (#11993) This enforces the documented bounds for the /time command. --- builtin/game/chat.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index 99296f782..0f5739d5c 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -1034,12 +1034,11 @@ core.register_chatcommand("time", { end local hour, minute = param:match("^(%d+):(%d+)$") if not hour then - local new_time = tonumber(param) - if not new_time then - return false, S("Invalid time.") + local new_time = tonumber(param) or -1 + if new_time ~= new_time or new_time < 0 or new_time > 24000 then + return false, S("Invalid time (must be between 0 and 24000).") end - -- Backward compatibility. - core.set_timeofday((new_time % 24000) / 24000) + core.set_timeofday(new_time / 24000) core.log("action", name .. " sets time to " .. new_time) return true, S("Time of day changed.") end -- cgit v1.2.3 From fc161e757c14a0d0b86e69fb5ec631fae8b448de Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Thu, 27 Jan 2022 16:24:30 -0500 Subject: Automatically migrate client mod storage (#11960) --- src/client/client.cpp | 28 ++++++++++++++++++++++++++++ src/client/client.h | 3 +++ src/client/game.cpp | 17 ++++++++++++----- 3 files changed, 43 insertions(+), 5 deletions(-) diff --git a/src/client/client.cpp b/src/client/client.cpp index d4c271bab..935a82653 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -50,6 +50,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "clientmap.h" #include "clientmedia.h" #include "version.h" +#include "database/database-files.h" #include "database/database-sqlite3.h" #include "serialization.h" #include "guiscalingfilter.h" @@ -140,6 +141,33 @@ Client::Client( m_cache_save_interval = g_settings->getU16("server_map_save_interval"); } +void Client::migrateModStorage() +{ + std::string mod_storage_dir = porting::path_user + DIR_DELIM + "client"; + std::string old_mod_storage = mod_storage_dir + DIR_DELIM + "mod_storage"; + if (fs::IsDir(old_mod_storage)) { + infostream << "Migrating client mod storage to SQLite3 database" << std::endl; + { + ModMetadataDatabaseFiles files_db(mod_storage_dir); + std::vector mod_list; + files_db.listMods(&mod_list); + for (const std::string &modname : mod_list) { + infostream << "Migrating client mod storage for mod " << modname << std::endl; + StringMap meta; + files_db.getModEntries(modname, &meta); + for (const auto &pair : meta) { + m_mod_storage_database->setModEntry(modname, pair.first, pair.second); + } + } + } + if (!fs::Rename(old_mod_storage, old_mod_storage + ".bak")) { + // Execution cannot move forward if the migration does not complete. + throw BaseException("Could not finish migrating client mod storage"); + } + infostream << "Finished migration of client mod storage" << std::endl; + } +} + void Client::loadMods() { // Don't load mods twice. diff --git a/src/client/client.h b/src/client/client.h index 694cd7d1b..84c85471d 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -385,6 +385,9 @@ public: bool registerModStorage(ModMetadata *meta) override; void unregisterModStorage(const std::string &name) override; + // Migrates away old files-based mod storage if necessary + void migrateModStorage(); + // The following set of functions is used by ClientMediaDownloader // Insert a media file appropriately into the appropriate manager bool loadMedia(const std::string &data, const std::string &filename, diff --git a/src/client/game.cpp b/src/client/game.cpp index b6052390b..7478e225f 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1466,11 +1466,18 @@ bool Game::connectToServer(const GameStartData &start_data, return false; } - client = new Client(start_data.name.c_str(), - start_data.password, start_data.address, - *draw_control, texture_src, shader_src, - itemdef_manager, nodedef_manager, sound, eventmgr, - m_rendering_engine, connect_address.isIPv6(), m_game_ui.get()); + try { + client = new Client(start_data.name.c_str(), + start_data.password, start_data.address, + *draw_control, texture_src, shader_src, + itemdef_manager, nodedef_manager, sound, eventmgr, + m_rendering_engine, connect_address.isIPv6(), m_game_ui.get()); + client->migrateModStorage(); + } catch (const BaseException &e) { + *error_message = fmtgettext("Error creating client: %s", e.what()); + errorstream << *error_message << std::endl; + return false; + } client->m_simple_singleplayer_mode = simple_singleplayer_mode; -- cgit v1.2.3 From 058846d687bef214fe6216938d4cf8bf2c79290e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 22 Jan 2022 17:56:35 +0100 Subject: Rework drawtime and related timekeeping code to use microseconds --- src/client/camera.cpp | 2 +- src/client/camera.h | 4 +- src/client/game.cpp | 153 ++++++++++++++++++++++++---------------------- src/client/game.h | 2 +- src/client/gameui.cpp | 8 +-- src/client/gameui.h | 2 + src/gui/profilergraph.cpp | 15 ++++- 7 files changed, 101 insertions(+), 85 deletions(-) diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 3712d77ea..d1f19adb3 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -308,7 +308,7 @@ void Camera::addArmInertia(f32 player_yaw) } } -void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_reload_ratio) +void Camera::update(LocalPlayer* player, f32 frametime, f32 tool_reload_ratio) { // Get player position // Smooth the movement when walking up stairs diff --git a/src/client/camera.h b/src/client/camera.h index 3e1cb4fdf..403d6024c 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -140,9 +140,7 @@ public: void step(f32 dtime); // Update the camera from the local player's position. - // busytime is used to adjust the viewing range. - void update(LocalPlayer* player, f32 frametime, f32 busytime, - f32 tool_reload_ratio); + void update(LocalPlayer* player, f32 frametime, f32 tool_reload_ratio); // Update render distance void updateViewingRange(); diff --git a/src/client/game.cpp b/src/client/game.cpp index 7478e225f..8959b5f15 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -575,10 +575,19 @@ public: /**************************************************************************** ****************************************************************************/ -const float object_hit_delay = 0.2; +const static float object_hit_delay = 0.2; struct FpsControl { - u32 last_time, busy_time, sleep_time; + FpsControl() : last_time(0), busy_time(0), sleep_time(0) {} + + void reset(); + + void limit(IrrlichtDevice *device, f32 *dtime); + + u32 getBusyMs() const { return busy_time / 1000; } + + // all values in microseconds (us) + u64 last_time, busy_time, sleep_time; }; @@ -712,7 +721,7 @@ protected: void updatePlayerControl(const CameraOrientation &cam); void step(f32 *dtime); void processClientEvents(CameraOrientation *cam); - void updateCamera(u32 busy_time, f32 dtime); + void updateCamera(f32 dtime); void updateSound(f32 dtime); void processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug); /*! @@ -743,8 +752,6 @@ protected: void updateShadows(); // Misc - void limitFps(FpsControl *fps_timings, f32 *dtime); - void showOverlayMessage(const char *msg, float dtime, int percent, bool draw_clouds = true); @@ -1056,14 +1063,14 @@ void Game::run() RunStats stats = { 0 }; CameraOrientation cam_view_target = { 0 }; CameraOrientation cam_view = { 0 }; - FpsControl draw_times = { 0 }; + FpsControl draw_times; f32 dtime; // in seconds /* Clear the profiler */ Profiler::GraphValues dummyvalues; g_profiler->graphGet(dummyvalues); - draw_times.last_time = m_rendering_engine->get_timer_time(); + draw_times.reset(); set_light_table(g_settings->getFloat("display_gamma")); @@ -1095,7 +1102,7 @@ void Game::run() // Calculate dtime = // m_rendering_engine->run() from this iteration // + Sleep time until the wanted FPS are reached - limitFps(&draw_times, &dtime); + draw_times.limit(device, &dtime); // Prepare render data for next iteration @@ -1125,7 +1132,7 @@ void Game::run() step(&dtime); processClientEvents(&cam_view_target); updateDebugState(); - updateCamera(draw_times.busy_time, dtime); + updateCamera(dtime); updateSound(dtime); processPlayerInteraction(dtime, m_game_ui->m_flags.show_hud, m_game_ui->m_flags.show_basic_debug); @@ -1495,15 +1502,15 @@ bool Game::connectToServer(const GameStartData &start_data, try { input->clear(); - FpsControl fps_control = { 0 }; + FpsControl fps_control; f32 dtime; f32 wait_time = 0; // in seconds - fps_control.last_time = m_rendering_engine->get_timer_time(); + fps_control.reset(); while (m_rendering_engine->run()) { - limitFps(&fps_control, &dtime); + fps_control.limit(device, &dtime); // Update client and server client->step(dtime); @@ -1570,14 +1577,14 @@ bool Game::getServerContent(bool *aborted) { input->clear(); - FpsControl fps_control = { 0 }; + FpsControl fps_control; f32 dtime; // in seconds - fps_control.last_time = m_rendering_engine->get_timer_time(); + fps_control.reset(); while (m_rendering_engine->run()) { - limitFps(&fps_control, &dtime); + fps_control.limit(device, &dtime); // Update client and server client->step(dtime); @@ -1774,10 +1781,10 @@ void Game::updateProfilers(const RunStats &stats, const FpsControl &draw_times, } // Update update graphs - g_profiler->graphAdd("Time non-rendering [ms]", + g_profiler->graphAdd("Time non-rendering [us]", draw_times.busy_time - stats.drawtime); - g_profiler->graphAdd("Sleep [ms]", draw_times.sleep_time); + g_profiler->graphAdd("Sleep [us]", draw_times.sleep_time); g_profiler->graphAdd("FPS", 1.0f / dtime); } @@ -1810,9 +1817,9 @@ void Game::updateStats(RunStats *stats, const FpsControl &draw_times, /* Busytime average and jitter calculation */ jp = &stats->busy_time_jitter; - jp->avg = jp->avg + draw_times.busy_time * 0.02; + jp->avg = jp->avg + draw_times.getBusyMs() * 0.02; - jitter = draw_times.busy_time - jp->avg; + jitter = draw_times.getBusyMs() - jp->avg; if (jitter > jp->max) jp->max = jitter; @@ -2932,7 +2939,7 @@ void Game::updateChat(f32 dtime) m_game_ui->updateChatSize(); } -void Game::updateCamera(u32 busy_time, f32 dtime) +void Game::updateCamera(f32 dtime) { LocalPlayer *player = client->getEnv().getLocalPlayer(); @@ -2971,7 +2978,7 @@ void Game::updateCamera(u32 busy_time, f32 dtime) float tool_reload_ratio = runData.time_from_last_punch / full_punch_interval; tool_reload_ratio = MYMIN(tool_reload_ratio, 1.0); - camera->update(player, dtime, busy_time / 1000.0f, tool_reload_ratio); + camera->update(player, dtime, tool_reload_ratio); camera->step(dtime); v3f camera_position = camera->getPosition(); @@ -3847,6 +3854,24 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, ); } + /* + Damage camera tilt + */ + if (player->hurt_tilt_timer > 0.0f) { + player->hurt_tilt_timer -= dtime * 6.0f; + + if (player->hurt_tilt_timer < 0.0f) + player->hurt_tilt_strength = 0.0f; + } + + /* + Update minimap pos and rotation + */ + if (mapper && m_game_ui->m_flags.show_hud) { + mapper->setPos(floatToInt(player->getPosition(), BS)); + mapper->setAngle(player->getYaw()); + } + /* Get chat messages from client */ @@ -3920,11 +3945,11 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, } while (false); /* - Drawing begins + ==================== Drawing begins ==================== */ - const video::SColor &skycolor = sky->getSkyColor(); + const video::SColor skycolor = sky->getSkyColor(); - TimeTaker tt_draw("Draw scene"); + TimeTaker tt_draw("Draw scene", nullptr, PRECISION_MICRO); driver->beginScene(true, true, skycolor); bool draw_wield_tool = (m_game_ui->m_flags.show_hud && @@ -3963,25 +3988,7 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, } /* - Damage camera tilt - */ - if (player->hurt_tilt_timer > 0.0f) { - player->hurt_tilt_timer -= dtime * 6.0f; - - if (player->hurt_tilt_timer < 0.0f) - player->hurt_tilt_strength = 0.0f; - } - - /* - Update minimap pos and rotation - */ - if (mapper && m_game_ui->m_flags.show_hud) { - mapper->setPos(floatToInt(player->getPosition(), BS)); - mapper->setAngle(player->getYaw()); - } - - /* - End scene + ==================== End scene ==================== */ if (++m_reset_HW_buffer_counter > 500) { /* @@ -4004,11 +4011,12 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, driver->removeAllHardwareBuffers(); m_reset_HW_buffer_counter = 0; } + driver->endScene(); stats->drawtime = tt_draw.stop(true); - g_profiler->avg("Game::updateFrame(): draw scene [ms]", stats->drawtime); - g_profiler->graphAdd("Update frame [ms]", tt_update.stop(true)); + g_profiler->graphAdd("Draw scene [us]", stats->drawtime); + g_profiler->avg("Game::updateFrame(): update frame [ms]", tt_update.stop(true)); } /* Log times and stuff for visualization */ @@ -4052,47 +4060,46 @@ void Game::updateShadows() Misc ****************************************************************************/ -/* On some computers framerate doesn't seem to be automatically limited - */ -inline void Game::limitFps(FpsControl *fps_timings, f32 *dtime) +void FpsControl::reset() { - // not using getRealTime is necessary for wine - device->getTimer()->tick(); // Maker sure device time is up-to-date - u32 time = device->getTimer()->getTime(); - u32 last_time = fps_timings->last_time; - - if (time > last_time) // Make sure time hasn't overflowed - fps_timings->busy_time = time - last_time; - else - fps_timings->busy_time = 0; + last_time = porting::getTimeUs(); +} - u32 frametime_min = 1000 / ( +/* + * On some computers framerate doesn't seem to be automatically limited + */ +void FpsControl::limit(IrrlichtDevice *device, f32 *dtime) +{ + const u64 frametime_min = 1000000.0f / ( device->isWindowFocused() && !g_menumgr.pausesGame() ? g_settings->getFloat("fps_max") : g_settings->getFloat("fps_max_unfocused")); - if (fps_timings->busy_time < frametime_min) { - fps_timings->sleep_time = frametime_min - fps_timings->busy_time; - device->sleep(fps_timings->sleep_time); + u64 time = porting::getTimeUs(); + + if (time > last_time) // Make sure time hasn't overflowed + busy_time = time - last_time; + else + busy_time = 0; + + if (busy_time < frametime_min) { + sleep_time = frametime_min - busy_time; + if (sleep_time > 1000) + sleep_ms(sleep_time / 1000); } else { - fps_timings->sleep_time = 0; + sleep_time = 0; } - /* Get the new value of the device timer. Note that device->sleep() may - * not sleep for the entire requested time as sleep may be interrupted and - * therefore it is arguably more accurate to get the new time from the - * device rather than calculating it by adding sleep_time to time. - */ - - device->getTimer()->tick(); // Update device timer - time = device->getTimer()->getTime(); + // Read the timer again to accurately determine how long we actually slept, + // rather than calculating it by adding sleep_time to time. + time = porting::getTimeUs(); - if (time > last_time) // Make sure last_time hasn't overflowed - *dtime = (time - last_time) / 1000.0; + if (time > last_time) // Make sure last_time hasn't overflowed + *dtime = (time - last_time) / 1000000.0f; else *dtime = 0; - fps_timings->last_time = time; + last_time = time; } void Game::showOverlayMessage(const char *msg, float dtime, int percent, bool draw_clouds) diff --git a/src/client/game.h b/src/client/game.h index fbbf106db..d87e747c5 100644 --- a/src/client/game.h +++ b/src/client/game.h @@ -33,7 +33,7 @@ struct Jitter { }; struct RunStats { - u32 drawtime; + u64 drawtime; // (us) Jitter dtime_jitter, busy_time_jitter; }; diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp index ecb8e0ec4..bae5241b1 100644 --- a/src/client/gameui.cpp +++ b/src/client/gameui.cpp @@ -104,16 +104,16 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_ // Minimal debug text must only contain info that can't give a gameplay advantage if (m_flags.show_minimal_debug) { - static float drawtime_avg = 0; - drawtime_avg = drawtime_avg * 0.95 + stats.drawtime * 0.05; - u16 fps = 1.0 / stats.dtime_jitter.avg; + const u16 fps = 1.0 / stats.dtime_jitter.avg; + m_drawtime_avg *= 0.95f; + m_drawtime_avg += 0.05f * (stats.drawtime / 1000); std::ostringstream os(std::ios_base::binary); os << std::fixed << PROJECT_NAME_C " " << g_version_hash << " | FPS: " << fps << std::setprecision(0) - << " | drawtime: " << drawtime_avg << "ms" + << " | drawtime: " << m_drawtime_avg << "ms" << std::setprecision(1) << " | dtime jitter: " << (stats.dtime_jitter.max_fraction * 100.0) << "%" diff --git a/src/client/gameui.h b/src/client/gameui.h index 3f31f1b57..cc9377bdc 100644 --- a/src/client/gameui.h +++ b/src/client/gameui.h @@ -110,6 +110,8 @@ public: private: Flags m_flags; + float m_drawtime_avg = 0; + gui::IGUIStaticText *m_guitext = nullptr; // First line of debug text gui::IGUIStaticText *m_guitext2 = nullptr; // Second line of debug text diff --git a/src/gui/profilergraph.cpp b/src/gui/profilergraph.cpp index b29285e2f..f71ef3799 100644 --- a/src/gui/profilergraph.cpp +++ b/src/gui/profilergraph.cpp @@ -94,20 +94,29 @@ void ProfilerGraph::draw(s32 x_left, s32 y_bottom, video::IVideoDriver *driver, show_min = 0; } - s32 texth = 15; + const s32 texth = 15; char buf[10]; - porting::mt_snprintf(buf, sizeof(buf), "%.3g", show_max); + if (floorf(show_max) == show_max) + porting::mt_snprintf(buf, sizeof(buf), "%.5g", show_max); + else + porting::mt_snprintf(buf, sizeof(buf), "%.3g", show_max); font->draw(utf8_to_wide(buf).c_str(), core::rect(textx, y - graphh, textx2, y - graphh + texth), meta.color); - porting::mt_snprintf(buf, sizeof(buf), "%.3g", show_min); + + if (floorf(show_min) == show_min) + porting::mt_snprintf(buf, sizeof(buf), "%.5g", show_min); + else + porting::mt_snprintf(buf, sizeof(buf), "%.3g", show_min); font->draw(utf8_to_wide(buf).c_str(), core::rect(textx, y - texth, textx2, y), meta.color); + font->draw(utf8_to_wide(id).c_str(), core::rect(textx, y - graphh / 2 - texth / 2, textx2, y - graphh / 2 + texth / 2), meta.color); + s32 graph1y = y; s32 graph1h = graphh; bool relativegraph = (show_min != 0 && show_min != show_max); -- cgit v1.2.3 From 7aea5cb88f9a8cc9f9ca52ecd4d13cfd7ab16e69 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 22 Jan 2022 20:20:43 +0100 Subject: Enable high-res timers on Windows This should fix issues like #11891, caused by the fps limiting code being unable to operate correctly. --- src/CMakeLists.txt | 2 +- src/porting.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ed0929564..7f207244c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -268,7 +268,7 @@ if(WIN32) else() # Probably MinGW = GCC set(PLATFORM_LIBS "") endif() - set(PLATFORM_LIBS ws2_32.lib version.lib shlwapi.lib ${PLATFORM_LIBS}) + set(PLATFORM_LIBS ws2_32.lib version.lib shlwapi.lib winmm.lib ${PLATFORM_LIBS}) set(EXTRA_DLL "" CACHE FILEPATH "Optional paths to additional DLLs that should be packaged") diff --git a/src/porting.cpp b/src/porting.cpp index 4c87bddee..f78de39ad 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include + #include #endif #if !defined(_WIN32) #include @@ -766,6 +767,9 @@ bool open_directory(const std::string &path) inline double get_perf_freq() { + // Also use this opportunity to enable high-res timers + timeBeginPeriod(1); + LARGE_INTEGER freq; QueryPerformanceFrequency(&freq); return freq.QuadPart; -- cgit v1.2.3 From 22f0c66abbd02c8d7a66a81cf853f7c7fb84fe17 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 22 Jan 2022 20:38:52 +0100 Subject: Request execution on dedicated GPU on Windows --- src/porting.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/porting.cpp b/src/porting.cpp index f78de39ad..caf9e9be3 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -70,6 +70,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#if !defined(SERVER) && defined(_WIN32) +// On Windows export some driver-specific variables to encourage Minetest to be +// executed on the discrete GPU in case of systems with two. Portability is fun. +extern "C" { + __declspec(dllexport) DWORD NvOptimusEnablement = 1; + __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1; +} +#endif + namespace porting { -- cgit v1.2.3 From 91c6728eb8cebf060b5a3aaed588a7b6dbf266ad Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 24 Jan 2022 22:49:36 +0100 Subject: Add game name to server status string --- src/server.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server.cpp b/src/server.cpp index cff4cc58c..23a7dc5a0 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3109,6 +3109,8 @@ std::string Server::getStatusString() os << "# Server: "; // Version os << "version: " << g_version_string; + // Game + os << " | game: " << (m_gamespec.name.empty() ? m_gamespec.id : m_gamespec.name); // Uptime os << " | uptime: " << duration_to_string((int) m_uptime_counter->get()); // Max lag estimate -- cgit v1.2.3 From 66e8aae9f2a28ee31ffe30694fdb61a8fdceb8d7 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 19 Jan 2022 22:42:53 +0100 Subject: Get rid of legacy workaround in SQLite backend tested on Android 11, fixes #11937 --- src/database/database-sqlite3.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/database/database-sqlite3.cpp b/src/database/database-sqlite3.cpp index e9442118e..1e63ae9d8 100644 --- a/src/database/database-sqlite3.cpp +++ b/src/database/database-sqlite3.cpp @@ -228,11 +228,7 @@ void MapDatabaseSQLite3::createDatabase() void MapDatabaseSQLite3::initStatements() { PREPARE_STATEMENT(read, "SELECT `data` FROM `blocks` WHERE `pos` = ? LIMIT 1"); -#ifdef __ANDROID__ - PREPARE_STATEMENT(write, "INSERT INTO `blocks` (`pos`, `data`) VALUES (?, ?)"); -#else PREPARE_STATEMENT(write, "REPLACE INTO `blocks` (`pos`, `data`) VALUES (?, ?)"); -#endif PREPARE_STATEMENT(delete, "DELETE FROM `blocks` WHERE `pos` = ?"); PREPARE_STATEMENT(list, "SELECT `pos` FROM `blocks`"); @@ -265,19 +261,6 @@ bool MapDatabaseSQLite3::saveBlock(const v3s16 &pos, const std::string &data) { verifyDatabase(); -#ifdef __ANDROID__ - /** - * Note: For some unknown reason SQLite3 fails to REPLACE blocks on Android, - * deleting them and then inserting works. - */ - bindPos(m_stmt_read, pos); - - if (sqlite3_step(m_stmt_read) == SQLITE_ROW) { - deleteBlock(pos); - } - sqlite3_reset(m_stmt_read); -#endif - bindPos(m_stmt_write, pos); SQLOK(sqlite3_bind_blob(m_stmt_write, 2, data.data(), data.size(), NULL), "Internal error: failed to bind query at " __FILE__ ":" TOSTRING(__LINE__)); -- cgit v1.2.3 From a27362de6a66692b191f8db0eea13f8d9302cef6 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 16 Oct 2021 19:21:53 +0200 Subject: Disable dynamic shadows for the 5.5.0 release The dynamic shadows are yet not in the desired state to justify the inclusion into version 5.5.0. A stable release is long overdue, hence this allows fixes to continue in 5.6.0-dev to finally release an acceptable version of the dynamic shadows feature. Reverting this commit is highly recommended to proceed in development. --- builtin/mainmenu/tab_settings.lua | 14 +++++------ builtin/settingtypes.txt | 52 --------------------------------------- src/client/mapblock_mesh.cpp | 2 +- src/client/render/core.cpp | 2 +- src/client/renderingengine.h | 4 +-- src/client/shader.cpp | 2 +- src/client/sky.cpp | 2 +- 7 files changed, 13 insertions(+), 65 deletions(-) diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index 42f7f8daf..700b7390f 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -218,10 +218,10 @@ local function formspec(tabview, name, tabdata) "checkbox[8.25,1.5;cb_waving_leaves;" .. fgettext("Waving Leaves") .. ";" .. dump(core.settings:get_bool("enable_waving_leaves")) .. "]" .. "checkbox[8.25,2;cb_waving_plants;" .. fgettext("Waving Plants") .. ";" - .. dump(core.settings:get_bool("enable_waving_plants")) .. "]".. - "label[8.25,3.0;" .. fgettext("Dynamic shadows: ") .. "]" .. - "dropdown[8.25,3.5;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";" - .. getSettingIndex.ShadowMapping() .. "]" + .. dump(core.settings:get_bool("enable_waving_plants")) .. "]" + --"label[8.25,3.0;" .. fgettext("Dynamic shadows: ") .. "]" .. + --"dropdown[8.25,3.5;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";" + -- .. getSettingIndex.ShadowMapping() .. "]" else tab_string = tab_string .. "label[8.38,0.7;" .. core.colorize("#888888", @@ -231,9 +231,9 @@ local function formspec(tabview, name, tabdata) "label[8.38,1.7;" .. core.colorize("#888888", fgettext("Waving Leaves")) .. "]" .. "label[8.38,2.2;" .. core.colorize("#888888", - fgettext("Waving Plants")) .. "]".. - "label[8.38,2.7;" .. core.colorize("#888888", - fgettext("Dynamic shadows")) .. "]" + fgettext("Waving Plants")) .. "]" + --"label[8.38,2.7;" .. core.colorize("#888888", + -- fgettext("Dynamic shadows")) .. "]" end return tab_string diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index c25a941de..9f01c67cf 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -586,58 +586,6 @@ enable_waving_leaves (Waving leaves) bool false # Requires shaders to be enabled. enable_waving_plants (Waving plants) bool false -[***Dynamic shadows] - -# Set to true to enable Shadow Mapping. -# Requires shaders to be enabled. -enable_dynamic_shadows (Dynamic shadows) bool false - -# Set the shadow strength. -# Lower value means lighter shadows, higher value means darker shadows. -shadow_strength (Shadow strength) float 0.2 0.05 1.0 - -# Maximum distance to render shadows. -shadow_map_max_distance (Shadow map max distance in nodes to render shadows) float 120.0 10.0 1000.0 - -# Texture size to render the shadow map on. -# This must be a power of two. -# Bigger numbers create better shadows but it is also more expensive. -shadow_map_texture_size (Shadow map texture size) int 1024 128 8192 - -# Sets shadow texture quality to 32 bits. -# On false, 16 bits texture will be used. -# This can cause much more artifacts in the shadow. -shadow_map_texture_32bit (Shadow map texture in 32 bits) bool true - -# Enable Poisson disk filtering. -# On true uses Poisson disk to make "soft shadows". Otherwise uses PCF filtering. -shadow_poisson_filter (Poisson filtering) bool true - -# Define shadow filtering quality. -# This simulates the soft shadows effect by applying a PCF or Poisson disk -# but also uses more resources. -shadow_filters (Shadow filter quality) enum 1 0,1,2 - -# Enable colored shadows. -# On true translucent nodes cast colored shadows. This is expensive. -shadow_map_color (Colored shadows) bool false - -# Spread a complete update of shadow map over given amount of frames. -# Higher values might make shadows laggy, lower values -# will consume more resources. -# Minimum value: 1; maximum value: 16 -shadow_update_frames (Map shadows update frames) int 8 1 16 - -# Set the soft shadow radius size. -# Lower values mean sharper shadows, bigger values mean softer shadows. -# Minimum value: 1.0; maximum value: 10.0 -shadow_soft_radius (Soft shadow radius) float 1.0 1.0 10.0 - -# Set the tilt of Sun/Moon orbit in degrees. -# Value of 0 means no tilt / vertical orbit. -# Minimum value: 0.0; maximum value: 60.0 -shadow_sky_body_orbit_tilt (Sky Body Orbit Tilt) float 0.0 0.0 60.0 - [**Advanced] # Arm inertia, gives a more realistic movement of diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index 03522eca9..249a56087 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -861,7 +861,7 @@ static void updateFastFaceRow( g_settings->getBool("enable_waving_water"); static thread_local const bool force_not_tiling = - g_settings->getBool("enable_dynamic_shadows"); + false && g_settings->getBool("enable_dynamic_shadows"); v3s16 p = startpos; diff --git a/src/client/render/core.cpp b/src/client/render/core.cpp index f151832f3..44ef1c98c 100644 --- a/src/client/render/core.cpp +++ b/src/client/render/core.cpp @@ -36,7 +36,7 @@ RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud virtual_size = screensize; if (g_settings->getBool("enable_shaders") && - g_settings->getBool("enable_dynamic_shadows")) { + false && g_settings->getBool("enable_dynamic_shadows")) { shadow_renderer = new ShadowRenderer(device, client); } } diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h index 6f104bba9..a0ddb0d9a 100644 --- a/src/client/renderingengine.h +++ b/src/client/renderingengine.h @@ -123,8 +123,8 @@ public: // FIXME: this is still global when it shouldn't be static ShadowRenderer *get_shadow_renderer() { - if (s_singleton && s_singleton->core) - return s_singleton->core->get_shadow_renderer(); + //if (s_singleton && s_singleton->core) + // return s_singleton->core->get_shadow_renderer(); return nullptr; } static std::vector getSupportedVideoDrivers(); diff --git a/src/client/shader.cpp b/src/client/shader.cpp index dc9e9ae6d..c04a25862 100644 --- a/src/client/shader.cpp +++ b/src/client/shader.cpp @@ -733,7 +733,7 @@ ShaderInfo ShaderSource::generateShader(const std::string &name, shaders_header << "#define FOG_START " << core::clamp(g_settings->getFloat("fog_start"), 0.0f, 0.99f) << "\n"; - if (g_settings->getBool("enable_dynamic_shadows")) { + if (false && g_settings->getBool("enable_dynamic_shadows")) { shaders_header << "#define ENABLE_DYNAMIC_SHADOWS 1\n"; if (g_settings->getBool("shadow_map_color")) shaders_header << "#define COLORED_SHADOWS 1\n"; diff --git a/src/client/sky.cpp b/src/client/sky.cpp index 0ab710eee..7fe90c6cd 100644 --- a/src/client/sky.cpp +++ b/src/client/sky.cpp @@ -103,7 +103,7 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade m_directional_colored_fog = g_settings->getBool("directional_colored_fog"); - if (g_settings->getBool("enable_dynamic_shadows")) { + if (false && g_settings->getBool("enable_dynamic_shadows")) { float val = g_settings->getFloat("shadow_sky_body_orbit_tilt"); m_sky_body_orbit_tilt = rangelim(val, 0.0f, 60.0f); } -- cgit v1.2.3 From 74a384de0acd52410269d160e94f1705cb4de300 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 28 Jan 2022 19:02:38 +0100 Subject: Auto-update minetest.conf.example --- minetest.conf.example | 63 --------------------------------------------------- 1 file changed, 63 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index 7849a5393..dd51fe259 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -666,69 +666,6 @@ # type: bool # enable_waving_plants = false -#### Dynamic shadows - -# Set to true to enable Shadow Mapping. -# Requires shaders to be enabled. -# type: bool -# enable_dynamic_shadows = false - -# Set the shadow strength. -# Lower value means lighter shadows, higher value means darker shadows. -# type: float min: 0.05 max: 1 -# shadow_strength = 0.2 - -# Maximum distance to render shadows. -# type: float min: 10 max: 1000 -# shadow_map_max_distance = 120.0 - -# Texture size to render the shadow map on. -# This must be a power of two. -# Bigger numbers create better shadows but it is also more expensive. -# type: int min: 128 max: 8192 -# shadow_map_texture_size = 1024 - -# Sets shadow texture quality to 32 bits. -# On false, 16 bits texture will be used. -# This can cause much more artifacts in the shadow. -# type: bool -# shadow_map_texture_32bit = true - -# Enable Poisson disk filtering. -# On true uses Poisson disk to make "soft shadows". Otherwise uses PCF filtering. -# type: bool -# shadow_poisson_filter = true - -# Define shadow filtering quality. -# This simulates the soft shadows effect by applying a PCF or Poisson disk -# but also uses more resources. -# type: enum values: 0, 1, 2 -# shadow_filters = 1 - -# Enable colored shadows. -# On true translucent nodes cast colored shadows. This is expensive. -# type: bool -# shadow_map_color = false - -# Spread a complete update of shadow map over given amount of frames. -# Higher values might make shadows laggy, lower values -# will consume more resources. -# Minimum value: 1; maximum value: 16 -# type: int min: 1 max: 16 -# shadow_update_frames = 8 - -# Set the soft shadow radius size. -# Lower values mean sharper shadows, bigger values mean softer shadows. -# Minimum value: 1.0; maximum value: 10.0 -# type: float min: 1 max: 10 -# shadow_soft_radius = 1.0 - -# Set the tilt of Sun/Moon orbit in degrees. -# Value of 0 means no tilt / vertical orbit. -# Minimum value: 0.0; maximum value: 60.0 -# type: float min: 0 max: 60 -# shadow_sky_body_orbit_tilt = 0.0 - ### Advanced # Arm inertia, gives a more realistic movement of -- cgit v1.2.3 From a9bccb964f6c6ffe9d4f84922d9be640e4dd2f1e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 Dec 2021 17:21:14 +0100 Subject: Raise max mapgen limit constant to align with mapblock size --- builtin/game/chat.lua | 2 +- builtin/settingtypes.txt | 2 +- minetest.conf.example | 4 +-- src/constants.h | 2 +- src/defaultsettings.cpp | 2 +- src/map.cpp | 9 +----- src/mapblock.h | 2 +- src/unittest/CMakeLists.txt | 1 + src/unittest/test_map.cpp | 68 +++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 77 insertions(+), 15 deletions(-) create mode 100644 src/unittest/test_map.cpp diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index 0f5739d5c..b73e32876 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -524,7 +524,7 @@ end -- Teleports player to

if possible local function teleport_to_pos(name, p) - local lm = 31000 + local lm = 31007 -- equals MAX_MAP_GENERATION_LIMIT in C++ if p.x < -lm or p.x > lm or p.y < -lm or p.y > lm or p.z < -lm or p.z > lm then return false, S("Cannot teleport out of map bounds!") diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 9f01c67cf..42b45aa00 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1459,7 +1459,7 @@ max_block_generate_distance (Max block generate distance) int 10 # Limit of map generation, in nodes, in all 6 directions from (0, 0, 0). # Only mapchunks completely within the mapgen limit are generated. # Value is stored per-world. -mapgen_limit (Map generation limit) int 31000 0 31000 +mapgen_limit (Map generation limit) int 31007 0 31007 # Global map generation attributes. # In Mapgen v6 the 'decorations' flag controls all decorations except trees diff --git a/minetest.conf.example b/minetest.conf.example index dd51fe259..7f4b5d946 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1767,8 +1767,8 @@ # Limit of map generation, in nodes, in all 6 directions from (0, 0, 0). # Only mapchunks completely within the mapgen limit are generated. # Value is stored per-world. -# type: int min: 0 max: 31000 -# mapgen_limit = 31000 +# type: int min: 0 max: 31007 +# mapgen_limit = 31007 # Global map generation attributes. # In Mapgen v6 the 'decorations' flag controls all decorations except trees diff --git a/src/constants.h b/src/constants.h index ed858912d..b9d4f8d70 100644 --- a/src/constants.h +++ b/src/constants.h @@ -64,7 +64,7 @@ with this program; if not, write to the Free Software Foundation, Inc., // I really don't want to make every algorithm to check if it's going near // the limit or not, so this is lower. // This is the maximum value the setting map_generation_limit can be -#define MAX_MAP_GENERATION_LIMIT (31000) +#define MAX_MAP_GENERATION_LIMIT (31007) // Size of node in floating-point units // The original idea behind this is to disallow plain casts between diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 9e4bb14b5..600fc65f3 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -435,7 +435,7 @@ void set_default_settings() // Mapgen settings->setDefault("mg_name", "v7"); settings->setDefault("water_level", "1"); - settings->setDefault("mapgen_limit", "31000"); + settings->setDefault("mapgen_limit", "31007"); settings->setDefault("chunksize", "5"); settings->setDefault("fixed_map_seed", ""); settings->setDefault("max_block_generate_distance", "10"); diff --git a/src/map.cpp b/src/map.cpp index 77031e17d..a11bbb96a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1444,11 +1444,7 @@ MapSector *ServerMap::createSector(v2s16 p2d) /* Do not create over max mapgen limit */ - const s16 max_limit_bp = MAX_MAP_GENERATION_LIMIT / MAP_BLOCKSIZE; - if (p2d.X < -max_limit_bp || - p2d.X > max_limit_bp || - p2d.Y < -max_limit_bp || - p2d.Y > max_limit_bp) + if (blockpos_over_max_limit(v3s16(p2d.X, 0, p2d.Y))) throw InvalidPositionException("createSector(): pos. over max mapgen limit"); /* @@ -1457,9 +1453,6 @@ MapSector *ServerMap::createSector(v2s16 p2d) sector = new MapSector(this, p2d, m_gamedef); - // Sector position on map in nodes - //v2s16 nodepos2d = p2d * MAP_BLOCKSIZE; - /* Insert to container */ diff --git a/src/mapblock.h b/src/mapblock.h index e729fdb1c..a86db7b70 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -601,7 +601,7 @@ typedef std::vector MapBlockVect; inline bool objectpos_over_limit(v3f p) { - const float max_limit_bs = MAX_MAP_GENERATION_LIMIT * BS; + const float max_limit_bs = (MAX_MAP_GENERATION_LIMIT + 0.5f) * BS; return p.X < -max_limit_bs || p.X > max_limit_bs || p.Y < -max_limit_bs || diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index ce7921b55..936436364 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -11,6 +11,7 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_filepath.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_inventory.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_irrptr.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/test_map.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_modchannels.cpp diff --git a/src/unittest/test_map.cpp b/src/unittest/test_map.cpp new file mode 100644 index 000000000..82e55e1aa --- /dev/null +++ b/src/unittest/test_map.cpp @@ -0,0 +1,68 @@ +/* +Minetest + +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 "test.h" + +#include +#include "mapblock.h" + +class TestMap : public TestBase +{ +public: + TestMap() { TestManager::registerTestModule(this); } + const char *getName() { return "TestMap"; } + + void runTests(IGameDef *gamedef); + + void testMaxMapgenLimit(); +}; + +static TestMap g_test_instance; + +void TestMap::runTests(IGameDef *gamedef) +{ + TEST(testMaxMapgenLimit); +} + +//////////////////////////////////////////////////////////////////////////////// + +void TestMap::testMaxMapgenLimit() +{ + // limit must end on a mapblock boundary + UASSERTEQ(int, MAX_MAP_GENERATION_LIMIT % MAP_BLOCKSIZE, MAP_BLOCKSIZE - 1); + + // objectpos_over_limit should do exactly this except the last node + // actually spans from LIMIT-0.5 to LIMIT+0.5 + float limit_times_bs = MAX_MAP_GENERATION_LIMIT * BS; + UASSERT(objectpos_over_limit(v3f(limit_times_bs-BS/2)) == false); + UASSERT(objectpos_over_limit(v3f(limit_times_bs)) == false); + UASSERT(objectpos_over_limit(v3f(limit_times_bs+BS/2)) == false); + UASSERT(objectpos_over_limit(v3f(limit_times_bs+BS)) == true); + + UASSERT(objectpos_over_limit(v3f(-limit_times_bs+BS/2)) == false); + UASSERT(objectpos_over_limit(v3f(-limit_times_bs)) == false); + UASSERT(objectpos_over_limit(v3f(-limit_times_bs-BS/2)) == false); + UASSERT(objectpos_over_limit(v3f(-limit_times_bs-BS)) == true); + + // blockpos_over_max_limit + s16 limit_block = MAX_MAP_GENERATION_LIMIT / MAP_BLOCKSIZE; + UASSERT(blockpos_over_max_limit(v3s16(limit_block)) == false); + UASSERT(blockpos_over_max_limit(v3s16(limit_block+1)) == true); + UASSERT(blockpos_over_max_limit(v3s16(-limit_block)) == false); + UASSERT(blockpos_over_max_limit(v3s16(-limit_block-1)) == true); +} -- cgit v1.2.3 From f69eead62e71e22d1810e0dedfa363cb9f210268 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 9 Jan 2022 18:34:36 +0100 Subject: Get rid of empty test file --- src/unittest/CMakeLists.txt | 1 - src/unittest/test_player.cpp | 39 --------------------------------------- 2 files changed, 40 deletions(-) delete mode 100644 src/unittest/test_player.cpp diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index 936436364..92f31ecac 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -20,7 +20,6 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_noderesolver.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_noise.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_objdef.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/test_player.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_profiler.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_random.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_schematic.cpp diff --git a/src/unittest/test_player.cpp b/src/unittest/test_player.cpp deleted file mode 100644 index 6990b4016..000000000 --- a/src/unittest/test_player.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* -Minetest -Copyright (C) 2010-2016 nerzhul, Loic Blot - -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 "test.h" - -#include "exceptions.h" -#include "remoteplayer.h" -#include "server.h" - -class TestPlayer : public TestBase -{ -public: - TestPlayer() { TestManager::registerTestModule(this); } - const char *getName() { return "TestPlayer"; } - - void runTests(IGameDef *gamedef); -}; - -static TestPlayer g_test_instance; - -void TestPlayer::runTests(IGameDef *gamedef) -{ -} -- cgit v1.2.3 From 172acce352acfadacce498915d8eca75e2266731 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Sun, 30 Jan 2022 13:49:52 +0100 Subject: Fix Minetest logo when installed system-wide --- builtin/mainmenu/game_theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/mainmenu/game_theme.lua b/builtin/mainmenu/game_theme.lua index f8deb29a1..89e1b66c8 100644 --- a/builtin/mainmenu/game_theme.lua +++ b/builtin/mainmenu/game_theme.lua @@ -20,7 +20,7 @@ mm_game_theme = {} -------------------------------------------------------------------------------- function mm_game_theme.init() - mm_game_theme.defaulttexturedir = core.get_texturepath() .. DIR_DELIM .. "base" .. + mm_game_theme.defaulttexturedir = core.get_texturepath_share() .. DIR_DELIM .. "base" .. DIR_DELIM .. "pack" .. DIR_DELIM mm_game_theme.basetexturedir = mm_game_theme.defaulttexturedir -- cgit v1.2.3 From 777fb616b6d5a5e71583b881df90d89ff8fc3e7c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 30 Jan 2022 00:39:58 +0100 Subject: Update builtin translation templates --- builtin/locale/__builtin.de.tr | 7 ++++++- builtin/locale/__builtin.it.tr | 3 ++- builtin/locale/template.txt | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/builtin/locale/__builtin.de.tr b/builtin/locale/__builtin.de.tr index b5fea3609..725610186 100644 --- a/builtin/locale/__builtin.de.tr +++ b/builtin/locale/__builtin.de.tr @@ -139,7 +139,7 @@ This command was disabled by a mod or game.=Dieser Befehl wurde von einer Mod od Show or set time of day=Tageszeit anzeigen oder setzen Current time is @1:@2.=Es ist jetzt @1:@2 Uhr. You don't have permission to run this command (missing privilege: @1).=Sie haben nicht die Erlaubnis, diesen Befehl auszuführen (fehlendes Privileg: @1). -Invalid time.=Ungültige Zeit. +Invalid time (must be between 0 and 24000).= Time of day changed.=Tageszeit geändert. Invalid hour (must be between 0 and 23 inclusive).=Ungültige Stunde (muss zwischen 0 und 23 inklusive liegen). Invalid minute (must be between 0 and 59 inclusive).=Ungültige Minute (muss zwischen 0 und 59 inklusive liegen). @@ -243,3 +243,8 @@ A total of @1 sample(s) were taken.=Es wurden insgesamt @1 Datenpunkt(e) aufgeze The output is limited to '@1'.=Die Ausgabe ist beschränkt auf „@1“. Saving of profile failed: @1=Speichern des Profils fehlgeschlagen: @1 Profile saved to @1=Profil abgespeichert nach @1 + + +##### not used anymore ##### + +Invalid time.=Ungültige Zeit. diff --git a/builtin/locale/__builtin.it.tr b/builtin/locale/__builtin.it.tr index 88866fdf3..77f85c766 100644 --- a/builtin/locale/__builtin.it.tr +++ b/builtin/locale/__builtin.it.tr @@ -139,7 +139,7 @@ This command was disabled by a mod or game.=Questo comando è stato disabilitato Show or set time of day=Mostra o imposta l'orario della giornata Current time is @1:@2.=Orario corrente: @1:@2. You don't have permission to run this command (missing privilege: @1).=Non hai il permesso di eseguire questo comando (privilegio mancante: @1) -Invalid time.=Orario non valido. +Invalid time (must be between 0 and 24000).= Time of day changed.=Orario della giornata cambiato. Invalid hour (must be between 0 and 23 inclusive).=Ora non valida (deve essere tra 0 e 23 inclusi) Invalid minute (must be between 0 and 59 inclusive).=Minuto non valido (deve essere tra 0 e 59 inclusi) @@ -247,6 +247,7 @@ Profile saved to @1= ##### not used anymore ##### +Invalid time.=Orario non valido. [all | privs | ]=[all | privs | ] Get help for commands or list privileges=Richiama la finestra d'aiuto dei comandi o dei privilegi Allows enabling various debug options that may affect gameplay=Permette di abilitare varie opzioni di debug che potrebbero influenzare l'esperienza di gioco diff --git a/builtin/locale/template.txt b/builtin/locale/template.txt index 6c9caa270..308d17f37 100644 --- a/builtin/locale/template.txt +++ b/builtin/locale/template.txt @@ -139,7 +139,7 @@ This command was disabled by a mod or game.= Show or set time of day= Current time is @1:@2.= You don't have permission to run this command (missing privilege: @1).= -Invalid time.= +Invalid time (must be between 0 and 24000).= Time of day changed.= Invalid hour (must be between 0 and 23 inclusive).= Invalid minute (must be between 0 and 59 inclusive).= -- cgit v1.2.3 From 9d3135a21b31eea6dcec67b887243bcb6124b6a1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 30 Jan 2022 00:40:45 +0100 Subject: Update German builtin translation --- builtin/locale/__builtin.de.tr | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/builtin/locale/__builtin.de.tr b/builtin/locale/__builtin.de.tr index 725610186..1b29f81e7 100644 --- a/builtin/locale/__builtin.de.tr +++ b/builtin/locale/__builtin.de.tr @@ -139,7 +139,7 @@ This command was disabled by a mod or game.=Dieser Befehl wurde von einer Mod od Show or set time of day=Tageszeit anzeigen oder setzen Current time is @1:@2.=Es ist jetzt @1:@2 Uhr. You don't have permission to run this command (missing privilege: @1).=Sie haben nicht die Erlaubnis, diesen Befehl auszuführen (fehlendes Privileg: @1). -Invalid time (must be between 0 and 24000).= +Invalid time (must be between 0 and 24000).=Ungültige Zeit (muss zwischen 0 und 24000 liegen). Time of day changed.=Tageszeit geändert. Invalid hour (must be between 0 and 23 inclusive).=Ungültige Stunde (muss zwischen 0 und 23 inklusive liegen). Invalid minute (must be between 0 and 59 inclusive).=Ungültige Minute (muss zwischen 0 und 59 inklusive liegen). @@ -243,8 +243,3 @@ A total of @1 sample(s) were taken.=Es wurden insgesamt @1 Datenpunkt(e) aufgeze The output is limited to '@1'.=Die Ausgabe ist beschränkt auf „@1“. Saving of profile failed: @1=Speichern des Profils fehlgeschlagen: @1 Profile saved to @1=Profil abgespeichert nach @1 - - -##### not used anymore ##### - -Invalid time.=Ungültige Zeit. -- cgit v1.2.3 From 17bb2712cb87883beaf8df962b8e56e303cbc590 Mon Sep 17 00:00:00 2001 From: Thomas Wagner Nielsen Date: Wed, 26 Jan 2022 08:40:11 +0000 Subject: Translated using Weblate (Danish) Currently translated at 39.9% (566 of 1416 strings) --- po/da/minetest.po | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/po/da/minetest.po b/po/da/minetest.po index fc2fe796c..732d9f304 100644 --- a/po/da/minetest.po +++ b/po/da/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Danish (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2020-03-31 10:14+0000\n" -"Last-Translator: sfan5 \n" +"PO-Revision-Date: 2022-01-26 12:17+0000\n" +"Last-Translator: Thomas Wagner Nielsen \n" "Language-Team: Danish \n" "Language: da\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.0-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -29,9 +29,8 @@ msgid "Exit to main menu" msgstr "Afslut til menu" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Lokal kommando" +msgstr "Ugyldig kommando: " #: builtin/client/chatcommands.lua msgid "Issued command: " @@ -43,9 +42,8 @@ msgid "List online players" msgstr "Enlig spiller" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Enlig spiller" +msgstr "Online-spillere: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -64,14 +62,12 @@ msgid "You died" msgstr "Du døde" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Lokal kommando" +msgstr "Tilgængelige kommandoer:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Lokal kommando" +msgstr "Tilgængelige kommandoer: " #: builtin/common/chatcommands.lua msgid "Command not available: " @@ -188,9 +184,8 @@ msgid "Mod:" msgstr "Mod:" #: builtin/mainmenu/dlg_config_world.lua -#, fuzzy msgid "No (optional) dependencies" -msgstr "Valgfrie afhængigheder:" +msgstr "Ingen (valgfrie) afhængigheder" #: builtin/mainmenu/dlg_config_world.lua msgid "No game description provided." @@ -958,7 +953,7 @@ msgstr "Vær vært for spil" #: builtin/mainmenu/tab_online.lua #, fuzzy msgid "Address" -msgstr "- Adresse: " +msgstr "Adresse" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -1218,9 +1213,8 @@ msgid "Connection error (timed out?)" msgstr "Forbindelses fejl (udløbelse af tidsfrist?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Kunne ikke finde eller indlæse spil \"" +msgstr "Kunne ikke finde eller indlæse spillet: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -2194,7 +2188,7 @@ msgstr "Lydløs" #: src/gui/guiVolumeChange.cpp #, fuzzy, c-format msgid "Sound Volume: %d%%" -msgstr "Lydstyrke: " +msgstr "Lydstyrke: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. -- cgit v1.2.3 From 8b9e5b47df07616e987461e65113a8e81c086c71 Mon Sep 17 00:00:00 2001 From: Balázs Kovács Date: Wed, 26 Jan 2022 20:39:24 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 86.0% (1219 of 1416 strings) --- po/hu/minetest.po | 661 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 515 insertions(+), 146 deletions(-) diff --git a/po/hu/minetest.po b/po/hu/minetest.po index 13c48ffd6..ab9d0c49f 100644 --- a/po/hu/minetest.po +++ b/po/hu/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Hungarian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2022-01-25 22:04+0000\n" +"PO-Revision-Date: 2022-01-29 21:28+0000\n" "Last-Translator: Balázs Kovács \n" "Language-Team: Hungarian \n" @@ -90,7 +90,6 @@ msgid "OK" msgstr "OKÉ" #: builtin/fstk/ui.lua -#, fuzzy msgid "" msgstr "" @@ -631,7 +630,6 @@ msgid "Offset" msgstr "Eltolás" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Folytonosság" @@ -1237,9 +1235,8 @@ msgid "- Server Name: " msgstr "- Kiszolgáló neve: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Hiba történt:" +msgstr "Szerializációs hiba történt:" #: src/client/game.cpp #, c-format @@ -1343,7 +1340,7 @@ msgstr "" "- %s: letevés/használat\n" "- %s: lopakodás/lefelé mászás\n" "- %s: tárgy eldobása\n" -"- %s: eszköztár\n" +"- %s: felszerelés\n" "- Egér: forgás/nézelődés\n" "- Egérgörgő: tárgy kiválasztása\n" "- %s: csevegés\n" @@ -1389,17 +1386,17 @@ msgid "" " --> place single item to slot\n" msgstr "" "Alapértelmezett irányítás:\n" -"Nem látható menü:\n" +"Ha nem látható menü:\n" "- egy érintés: gomb aktiválás\n" "- dupla érintés: lehelyezés/használat\n" "- ujj csúsztatás: körbenézés\n" -"Menü/Eszköztár látható:\n" +"Ha a Menü/Felszerelés látható:\n" "- dupla érintés (kívül):\n" " -->bezárás\n" -"- stack, vagy slot érintése:\n" -" --> stack mozgatás\n" +"- köteg, vagy hely érintése:\n" +" --> köteg mozgatás\n" "- \"érint&húz\", érintés 2. ujjal\n" -" --> egy elem slotba helyezése\n" +" --> letesz egyetlen tárgyat a helyre\n" #: src/client/game.cpp msgid "Disabled unlimited viewing range" @@ -2382,7 +2379,7 @@ msgstr "" "méretezéséhez." #: src/settings_translation_file.cpp -#, fuzzy, c-format +#, c-format msgid "" "Adjusts the density of the floatland layer.\n" "Increase value to increase density. Can be positive or negative.\n" @@ -2391,8 +2388,8 @@ msgid "" "to be sure) creates a solid floatland layer." msgstr "" "A lebegő föld réteg sűrűségét szabályozza.\n" -"Nagyobb sűrűséghez használjon nagyobb értéket. Lehet pozitív vagy negatív " -"is.\n" +"Nagyobb sűrűséghez használjon nagyobb értéket. Lehet pozitív vagy negatív is." +"\n" "Érték = 0,0: a térfogat 50%-a lebegő föld.\n" "Érték = 2,0 (magasabb is lehet az 'mgv7_np_floatland'-től függően, a " "biztonság\n" @@ -2422,7 +2419,7 @@ msgstr "Repülés és gyors mód mindig" #: src/settings_translation_file.cpp msgid "Ambient occlusion gamma" -msgstr "Ambiens okklúzió gamma" +msgstr "Környezeti árnyékolás gamma" #: src/settings_translation_file.cpp msgid "Amount of messages a player may send per 10 seconds." @@ -2676,9 +2673,8 @@ msgstr "" "Ahol 0,0 a minimális fényszint, 1,0 a maximális fényszint." #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat command time message threshold" -msgstr "Csevegésparancs üzeneteinek küszöbe" +msgstr "Csevegésparancs üzeneteinek időkorlátja" #: src/settings_translation_file.cpp msgid "Chat commands" @@ -3293,7 +3289,7 @@ msgid "" "Enable smooth lighting with simple ambient occlusion.\n" "Disable for speed or for different looks." msgstr "" -"A simított megvilágítás engedélyezése egyszerű ambient occlusion-nel.\n" +"A simított megvilágítás engedélyezése egyszerű környezeti árnyékolással.\n" "A sebesség érdekében vagy másféle kinézetért kikapcsolhatod." #: src/settings_translation_file.cpp @@ -3334,7 +3330,7 @@ msgid "" "Enable view bobbing and amount of view bobbing.\n" "For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" -"Bekapcsolja a fejmozgást és beállítja a mértékét.\n" +"Bekapcsolja a fejbillegést és beállítja a mértékét.\n" "Pl: 0 nincs fejmozgás; 1.0 alapértelmezett fejmozgás van; 2.0 dupla " "fejmozgás van." @@ -3362,7 +3358,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." -msgstr "Az eszköztárelemek animációjának engedélyezése." +msgstr "Az felszerelésben lévő tárgyak animációjának engedélyezése." #: src/settings_translation_file.cpp msgid "Enables caching of facedir rotated meshes." @@ -3390,6 +3386,10 @@ msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." msgstr "" +"Engedélyez olyan kompromisszimus megoldásokat, amelyek csökkentik a CPU " +"terhelését vagy\n" +"növelik a renderelési teljesítményt kisebb vizuális hibák árán, amelyek nem " +"befolyásolják a játszhatóságot." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3397,7 +3397,7 @@ msgstr "Játékmotor profiler adatok kiírási időköze" #: src/settings_translation_file.cpp msgid "Entity methods" -msgstr "Egység metódusok" +msgstr "Entitás metódusok" #: src/settings_translation_file.cpp msgid "" @@ -3430,7 +3430,7 @@ msgstr "Tényezőzaj" #: src/settings_translation_file.cpp msgid "Fall bobbing factor" -msgstr "Leesési bólintási tényező" +msgstr "Leesés utáni fejrázkódási tényező" #: src/settings_translation_file.cpp msgid "Fallback font path" @@ -3497,6 +3497,14 @@ msgid "" "light edges to transparent textures. Apply a filter to clean that up\n" "at texture load time. This is automatically enabled if mipmapping is enabled." msgstr "" +"A szűrt textúrák vegyíthetik a teljesen átlátszó szomszédokkal rendelkező " +"RGB értékeket,\n" +"amit a PNG optimalizálók általában figyelmen kívül hagynak, és ez gyakran " +"sötét vagy\n" +"világos élekhez vezet az átlátszó textúráknál. Használjon szűrőt ezeknek a " +"textúra betöltésekor\n" +"történő eltüntetésére. Ez automatikusan bekapcsol, ha a mipmapping be van " +"kapcsolva." #: src/settings_translation_file.cpp msgid "Filtering" @@ -3505,10 +3513,13 @@ msgstr "Szűrés" #: src/settings_translation_file.cpp msgid "First of 4 2D noises that together define hill/mountain range height." msgstr "" +"Az első a négy 2D zajból, amelyek együttesen meghatározzák a dombságok/" +"hegységek magasságát." #: src/settings_translation_file.cpp msgid "First of two 3D noises that together define tunnels." msgstr "" +"Az első a két 3D zajból, amelyek együttesen meghatározzák az alagutakat." #: src/settings_translation_file.cpp msgid "Fixed map seed" @@ -3588,22 +3599,25 @@ msgstr "Betűtípus mérete" #: src/settings_translation_file.cpp msgid "Font size divisible by" -msgstr "" +msgstr "Betűméret osztója" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" -msgstr "Az alapértelmezett betűtípus mérete képpontban (pt)." +msgstr "" +"Az alapértelmezett betűtípus betűmérete, ahol 1 egység = 1 pixel 96 DPI " +"esetén" #: src/settings_translation_file.cpp msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" -msgstr "" +msgstr "A monospace betűtípus betűmérete, ahol 1 egység = 1 pixel 96 DPI esetén" #: src/settings_translation_file.cpp msgid "" "Font size of the recent chat text and chat prompt in point (pt).\n" "Value 0 will use the default font size." msgstr "" +"A legutóbbi csevegésszövegek és üzenetek betűmérete pontban (pt).\n" +"0 érték esetén az alapértelmezett betűméretet fogja használni." #: src/settings_translation_file.cpp msgid "" @@ -3615,6 +3629,13 @@ msgid "" "be\n" "sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" +"A pixeles stílusú betűtípusokhoz, amelyek nem méretezhetők olyan jól, ez " +"biztosítja, hogy a használt\n" +"betűméretek az ilyen betűtípus esetén mindig oszthatók legyenek ezzel az " +"értékkel, pixelben. Például\n" +"egy 16 pixel magas pixeles stílusú betűtípus esetén ezt 16-ra kell állítani, " +"ezáltal csak 16, 32, 48 stb.\n" +"lesz használható, ezért ha egy mod 25-ös méretet igényel, 32-est fog kapni." #: src/settings_translation_file.cpp msgid "" @@ -3632,23 +3653,23 @@ msgstr "Képernyőmentések formátuma." #: src/settings_translation_file.cpp msgid "Formspec Default Background Color" -msgstr "" +msgstr "Formspec panelek alapértelmezett háttérszíne" #: src/settings_translation_file.cpp msgid "Formspec Default Background Opacity" -msgstr "" +msgstr "Formspec panelek hátterének alapértelmezett átlátszósága" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Color" -msgstr "" +msgstr "Teljes képernyős Formspec panelek háttérszíne" #: src/settings_translation_file.cpp msgid "Formspec Full-Screen Background Opacity" -msgstr "" +msgstr "Teljes képernyős Formspec panelek hátterének átlátszósága" #: src/settings_translation_file.cpp msgid "Formspec default background color (R,G,B)." -msgstr "" +msgstr "Formspec panelek alapértelmezett háttérszíne (R,G,B)." #: src/settings_translation_file.cpp msgid "Formspec default background opacity (between 0 and 255)." @@ -3673,6 +3694,8 @@ msgstr "Előre gomb" #: src/settings_translation_file.cpp msgid "Fourth of 4 2D noises that together define hill/mountain range height." msgstr "" +"A negyedik a négy 2D zajból, amelyek együttesen meghatározzák a dombságok/" +"hegységek magasságát." #: src/settings_translation_file.cpp msgid "Fractal type" @@ -3680,7 +3703,7 @@ msgstr "Fraktál típusa" #: src/settings_translation_file.cpp msgid "Fraction of the visible distance at which fog starts to be rendered" -msgstr "" +msgstr "A látótávolságnak az a része, amelynél a köd renderelése kezdődik" #: src/settings_translation_file.cpp msgid "" @@ -3705,6 +3728,14 @@ msgid "" "to maintain active objects up to this distance in the direction the\n" "player is looking. (This can avoid mobs suddenly disappearing from view)" msgstr "" +"Mekkora távolságból észleljék a kliensek az objektumokat, térképblokkokban " +"mérve (16 blokk).\n" +"\n" +"Ha nagyobbra van állítva, mint az active_block_range, akkor a szervert arra " +"kényszeríti, hogy\n" +"az aktív objektumokat betöltve tartsa eddig a távolságig a játékos " +"tekintetének irányában.\n" +"(Ez megakadályozza, hogy a mobok hirtelen eltűnjenek a látómezőből)" #: src/settings_translation_file.cpp msgid "Full screen" @@ -3747,12 +3778,16 @@ msgid "" "Gradient of light curve at maximum light level.\n" "Controls the contrast of the highest light levels." msgstr "" +"A fénygörbe gradiense a legmagasabb fényszinten.\n" +"A legmagasabb fényszintek kontrasztrját szabályozza." #: src/settings_translation_file.cpp msgid "" "Gradient of light curve at minimum light level.\n" "Controls the contrast of the lowest light levels." msgstr "" +"A fénygörbe gradiense a legalacsonyabb fényszinten.\n" +"A legalacsonyabb fényszintek kontrasztrját szabályozza." #: src/settings_translation_file.cpp msgid "Graphics" @@ -3803,6 +3838,11 @@ msgid "" "call).\n" "* Instrument the sampler being used to update the statistics." msgstr "" +"Hagyja, hogy a profiler behangolja magát:\n" +"* Üres függvény behangolása.\n" +"Ezáltal mérhető, hogy a hangolás maga mennyi időbe telik (+1 függvényhívás)." +"\n" +"* A mintavevő hangolása a mutatószámok frissítésehez." #: src/settings_translation_file.cpp msgid "Heat blend noise" @@ -3816,8 +3856,7 @@ msgstr "Hőzaj" msgid "" "Height component of the initial window size. Ignored in fullscreen mode." msgstr "" -"A kezdeti ablak magassága. Teljes képernyős módban nem kerül figyelmbe " -"vételre." +"A kezdőablak magassága. Teljes képernyős módban nem kerül figyelmbe vételre." #: src/settings_translation_file.cpp msgid "Height noise" @@ -3881,139 +3920,139 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Hotbar next key" -msgstr "Gyorssáv következő gomb" +msgstr "Gyorselérési sáv következő gomb" #: src/settings_translation_file.cpp msgid "Hotbar previous key" -msgstr "Gyorssáv előző gomb" +msgstr "Gyorselérési sáv előző gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 1 key" -msgstr "" +msgstr "Gyorselérési sáv 1-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 10 key" -msgstr "" +msgstr "Gyorselérési sáv 10-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 11 key" -msgstr "" +msgstr "Gyorselérési sáv 11-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 12 key" -msgstr "" +msgstr "Gyorselérési sáv 12-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 13 key" -msgstr "" +msgstr "Gyorselérési sáv 13-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 14 key" -msgstr "" +msgstr "Gyorselérési sáv 14-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 15 key" -msgstr "" +msgstr "Gyorselérési sáv 15-ös hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 16 key" -msgstr "" +msgstr "Gyorselérési sáv 16-os hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 17 key" -msgstr "" +msgstr "Gyorselérési sáv 17-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 18 key" -msgstr "" +msgstr "Gyorselérési sáv 18-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 19 key" -msgstr "" +msgstr "Gyorselérési sáv 19-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 2 key" -msgstr "" +msgstr "Gyorselérési sáv 2-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 20 key" -msgstr "" +msgstr "Gyorselérési sáv 20-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 21 key" -msgstr "" +msgstr "Gyorselérési sáv 21-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 22 key" -msgstr "" +msgstr "Gyorselérési sáv 22-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 23 key" -msgstr "" +msgstr "Gyorselérési sáv 23-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 24 key" -msgstr "" +msgstr "Gyorselérési sáv 24-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 25 key" -msgstr "" +msgstr "Gyorselérési sáv 25-ös hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 26 key" -msgstr "" +msgstr "Gyorselérési sáv 26-os hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 27 key" -msgstr "" +msgstr "Gyorselérési sáv 27-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 28 key" -msgstr "" +msgstr "Gyorselérési sáv 28-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 29 key" -msgstr "" +msgstr "Gyorselérési sáv 29-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 3 key" -msgstr "" +msgstr "Gyorselérési sáv 3-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 30 key" -msgstr "" +msgstr "Gyorselérési sáv 30-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 31 key" -msgstr "" +msgstr "Gyorselérési sáv 31-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 32 key" -msgstr "" +msgstr "Gyorselérési sáv 32-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 4 key" -msgstr "" +msgstr "Gyorselérési sáv 4-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 5 key" -msgstr "" +msgstr "Gyorselérési sáv 5-ös hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 6 key" -msgstr "" +msgstr "Gyorselérési sáv 6-os hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 7 key" -msgstr "" +msgstr "Gyorselérési sáv 7-es hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 8 key" -msgstr "" +msgstr "Gyorselérési sáv 8-as hely gomb" #: src/settings_translation_file.cpp msgid "Hotbar slot 9 key" -msgstr "" +msgstr "Gyorselérési sáv 9-es hely gomb" #: src/settings_translation_file.cpp msgid "How deep to make rivers." @@ -4025,13 +4064,16 @@ msgid "" "If negative, liquid waves will move backwards.\n" "Requires waving liquids to be enabled." msgstr "" +"Milyen gyorsan mozognak a folyadékhullámok. Magasabb = gyorsabb.\n" +"Ha negatív, a folyadékhullámok hátrafelé mozognak.\n" +"A hullámzó folyadékokat engedélyezni kell hozzá." #: 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 "" -"Mennyi ideig vár a szerver, mielőtt betöltetlenné teszi a nem használt " +"Mennyi ideig vár a szerver, mielőtt eltávolítja a memóriából a nem használt " "térképblokkokat.\n" "Magasabb érték egyenletesebb, de több RAM-ot használ." @@ -4083,6 +4125,10 @@ msgid "" "invisible\n" "so that the utility of noclip mode is reduced." msgstr "" +"Ha engedélyezve, a szerver kiválogatja a takarásban lévő térképblokkokat\n" +"a játékos szemszögének megfelelően. Ezáltal a kliensnek küldött blokkok\n" +"száma 50-80%-kal csökkenthető. A klines nem kapja ezentúl a legtöbb nem\n" +"látható blokkot, emiatt a noclip mód (falonátjárás) kevésbé lesz használható." #: src/settings_translation_file.cpp msgid "" @@ -4108,7 +4154,8 @@ msgid "" "If enabled, actions are recorded for rollback.\n" "This option is only read when server starts." msgstr "" -"Ha engedélyezve van, akkor a műveletek rögzülnek a visszagörgetéshez.\n" +"Ha engedélyezve van, akkor a műveletek rögzülnek a visszavonhatóság " +"érdekében.\n" "Ez az opció csak akkor van beolvasva, amikor a szerver elindul." #: src/settings_translation_file.cpp @@ -4152,12 +4199,19 @@ msgid "" "limited\n" "to this distance from the player to the node." msgstr "" +"Ha a CSM korlátozás be van kapcsolva az aktív blokktávolságra, akkor a " +"get_node\n" +"hívások korlátozva lesznek a játkostól e távolságon belül található " +"blokkokra." #: src/settings_translation_file.cpp msgid "" "If the execution of a chat command takes longer than this specified time in\n" "seconds, add the time information to the chat command message" msgstr "" +"Ha egy parancs végrehajtása tovább tart, mint az itt másodpercben megadott " +"idő,\n" +"az időadatok hozzá lesznek fűzve a parancs visszajelző üzenetéhez" #: src/settings_translation_file.cpp msgid "" @@ -4166,6 +4220,10 @@ msgid "" "deleting an older debug.txt.1 if it exists.\n" "debug.txt is only moved if this setting is positive." msgstr "" +"Ha a debug.txt fájlmérete megabájtban meghaladja megnyitáskor az itt \n" +"megadott számot, a fájl átnevezésre kerül debug.txt.1-re,\n" +"és ha létezett egy régebbi debug.txt.1, az törlésre kerül.\n" +"A debug.txt csak akkor lesz átnevezve, ha ez a beállítás engedélyzve van." #: src/settings_translation_file.cpp msgid "If this is set, players will always (re)spawn at the given position." @@ -4208,6 +4266,8 @@ msgid "" "Instrument builtin.\n" "This is usually only needed by core/builtin contributors" msgstr "" +"Beépülő behangolása.\n" +"Erre általában csak core/builtin közreműködőknek van szükségük" #: src/settings_translation_file.cpp msgid "Instrument chat commands on registration." @@ -4218,24 +4278,27 @@ msgid "" "Instrument global callback functions on registration.\n" "(anything you pass to a minetest.register_*() function)" msgstr "" +"A globális callback függvények behangolása regisztrációkor.\n" +"(bármi, amit átadsz egy minetest.register_*() függvénynek)" #: src/settings_translation_file.cpp msgid "" "Instrument the action function of Active Block Modifiers on registration." -msgstr "" +msgstr "Az Aktív blokk módosítók akciófüggvényének behangolása regisztrációkor." #: src/settings_translation_file.cpp msgid "" "Instrument the action function of Loading Block Modifiers on registration." msgstr "" +"A Betöltendő blokk módosítók akciófüggvényének behangolása regisztrációkor." #: src/settings_translation_file.cpp msgid "Instrument the methods of entities on registration." -msgstr "" +msgstr "Az entitások metódusainak hangolása regisztrációkor." #: src/settings_translation_file.cpp msgid "Instrumentation" -msgstr "" +msgstr "Behangolás" #: src/settings_translation_file.cpp msgid "Interval of saving important changes in the world, stated in seconds." @@ -4244,15 +4307,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Interval of sending time of day to clients." -msgstr "" +msgstr "A napszak kliensnek való küldésének gyakorisága." #: src/settings_translation_file.cpp msgid "Inventory items animations" -msgstr "Eszköztár elemek animációi" +msgstr "Felszerelésben lévő tárgyak animációi" #: src/settings_translation_file.cpp msgid "Inventory key" -msgstr "Eszköztár gomb" +msgstr "Felszerelés gomb" #: src/settings_translation_file.cpp msgid "Invert mouse" @@ -4305,7 +4368,7 @@ msgstr "Joystick holttér" #: src/settings_translation_file.cpp msgid "Joystick frustum sensitivity" -msgstr "Joystick frustum érzékenység" +msgstr "Joystick látómező érzékenység" #: src/settings_translation_file.cpp msgid "Joystick type" @@ -4553,7 +4616,7 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" -"Gomb az eszköztár megnyitásához.\n" +"Gomb a felszerelés megnyitásához.\n" "Lásd: http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" @@ -5077,6 +5140,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"A profiler kijelzőjének kapcsológombja. Fejlesztéshez használatos.\n" +"Lásd http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -5163,6 +5229,9 @@ msgid "" "updated over\n" "network." msgstr "" +"A szerver órajelének hossza és az az intervallum, amely alatt az " +"objektumokat általánosan\n" +"frissíti a hálózaton." #: src/settings_translation_file.cpp msgid "" @@ -5178,11 +5247,11 @@ msgstr "Az Aktív Blokk módosító (ABM) végrehajtási ciklusok közötti idő #: src/settings_translation_file.cpp msgid "Length of time between NodeTimer execution cycles" -msgstr "" +msgstr "Két NodeTimer végrehajtás között eltelt idő" #: src/settings_translation_file.cpp msgid "Length of time between active block management cycles" -msgstr "" +msgstr "Két aktív blokk kezelési fázis között eltelt idő" #: src/settings_translation_file.cpp msgid "" @@ -5206,27 +5275,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Light curve boost" -msgstr "" +msgstr "Fénygörbe kiemelés" #: src/settings_translation_file.cpp msgid "Light curve boost center" -msgstr "" +msgstr "Fénygörbe kiemelés középpontja" #: src/settings_translation_file.cpp msgid "Light curve boost spread" -msgstr "" +msgstr "Fénygörbe kiemelés kiterjedése" #: src/settings_translation_file.cpp msgid "Light curve gamma" -msgstr "" +msgstr "Fénygörbe kiemelés gammája" #: src/settings_translation_file.cpp msgid "Light curve high gradient" -msgstr "" +msgstr "A fénygörbe tetejének gradiense" #: src/settings_translation_file.cpp msgid "Light curve low gradient" -msgstr "" +msgstr "A fénygörbe aljának gradiense" #: src/settings_translation_file.cpp msgid "" @@ -5248,6 +5317,11 @@ msgid "" "- Downloads performed by main menu (e.g. mod manager).\n" "Only has an effect if compiled with cURL." msgstr "" +"A párhzamos HTTP-kérések számának korlátja. Hatása:\n" +"- Médialekérések, ha a szerver remote_media beállítást használ.\n" +"- Szerverlista letöltés és szerverközzététel.\n" +"- Letöltések a főmenüből (pl. mod manager).\n" +"Csak akkor van hatása, ha cURL-lel lett összeállítva." #: src/settings_translation_file.cpp msgid "Liquid fluidity" @@ -5263,7 +5337,7 @@ msgstr "Folyadékhullámzás maximum" #: src/settings_translation_file.cpp msgid "Liquid queue purge time" -msgstr "" +msgstr "Folyadék sortisztítási ideje" #: src/settings_translation_file.cpp msgid "Liquid sinking" @@ -5287,10 +5361,14 @@ msgid "" "Provides a /profiler command to access the compiled profile.\n" "Useful for mod developers and server operators." msgstr "" +"A játék profiler betöltése hogy játékprofílozási adatokat gyűjtsön.\n" +"Elérhetővé teszi a /profiler parancsot, amellyel elérhetők az összeállított " +"profilok.\n" +"Hasznos lehet mod fejelsztőknek és szerver üzemeltetőknek." #: src/settings_translation_file.cpp msgid "Loading Block Modifiers" -msgstr "Blokk módosítók betöltése" +msgstr "Betöltendő blokk módosítók" #: src/settings_translation_file.cpp msgid "Lower Y limit of dungeons." @@ -5317,11 +5395,11 @@ msgstr "Az összes folyadékot átlátszatlanná teszi" #: src/settings_translation_file.cpp msgid "Map Compression Level for Disk Storage" -msgstr "" +msgstr "A térkép tömörítésének foka merevlemezen való tároláshoz" #: src/settings_translation_file.cpp msgid "Map Compression Level for Network Transfer" -msgstr "" +msgstr "A térkép tömörítésének foka hálózati átvitelhez" #: src/settings_translation_file.cpp msgid "Map directory" @@ -5421,7 +5499,7 @@ msgstr "Térképblokk hálógenerátor MapBlock gyorsítótár mérete MB-ban" #: src/settings_translation_file.cpp msgid "Mapblock unload timeout" -msgstr "" +msgstr "Térképblokk memóriaürítésének időkorlátja" #: src/settings_translation_file.cpp msgid "Mapgen Carpathian" @@ -5501,7 +5579,7 @@ msgstr "Max folyadék feldolgozva lépésenként." #: src/settings_translation_file.cpp msgid "Max. clearobjects extra blocks" -msgstr "" +msgstr "Max. objektumtakarítás az extra blokkora" #: src/settings_translation_file.cpp msgid "Max. packets per iteration" @@ -5517,7 +5595,7 @@ msgstr "Maximum FPS, amikor a játék szüneteltetve van, vagy nincs fókuszban. #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." -msgstr "" +msgstr "Az árnyékok renderelésének maximális távolsága." #: src/settings_translation_file.cpp msgid "Maximum forceloaded blocks" @@ -5525,21 +5603,27 @@ msgstr "Az erőltetett betöltésű blokkok maximuma" #: src/settings_translation_file.cpp msgid "Maximum hotbar width" -msgstr "Maximum hotbar szélesség" +msgstr "Gyorselérési sáv maximális szélessége" #: src/settings_translation_file.cpp msgid "Maximum limit of random number of large caves per mapchunk." msgstr "" +"A véletlenszerűen egy térképdarabkára jutó nagy barlangok számának maximális " +"korlátja." #: src/settings_translation_file.cpp msgid "Maximum limit of random number of small caves per mapchunk." msgstr "" +"A véletlenszerűen egy térképdarabkára jutó kis barlangok számának maximális " +"korlátja." #: src/settings_translation_file.cpp msgid "" "Maximum liquid resistance. Controls deceleration when entering liquid at\n" "high speed." msgstr "" +"Maximális közegellenállás folyadékban. A nagy sebességgel folyadékba való\n" +"belépéskor bekövetkező lassulást szabályozza." #: src/settings_translation_file.cpp msgid "" @@ -5547,6 +5631,9 @@ msgid "" "The maximum total count is calculated dynamically:\n" "max_total = ceil((#clients + max_users) * per_client / 4)" msgstr "" +"A szimultán küldött blokkok maximális száma kliensenként.\n" +"A maximális összértéket így számoljuk dinamikusan:\n" +"max_total = ceil((#clients + max_users) * per_client / 4)" #: src/settings_translation_file.cpp msgid "Maximum number of blocks that can be queued for loading." @@ -5574,10 +5661,13 @@ msgid "" "be queued.\n" "This should be lower than curl_parallel_limit." msgstr "" +"Az egyszerre folyó letöltések maximális száma. A korláton túli letöltéseket " +"várólistára teszi.\n" +"A curl_parallel_limit-nél kisebbnek kell lennie." #: src/settings_translation_file.cpp msgid "Maximum number of forceloaded mapblocks." -msgstr "" +msgstr "Az erőltetetten betöltött térképblokkok maximális száma." #: src/settings_translation_file.cpp msgid "" @@ -5593,6 +5683,9 @@ msgid "" "try reducing it, but don't reduce it to a number below double of targeted\n" "client number." msgstr "" +"A lépésenként küldött csomagok maximális száma,\n" +"ha lassú kapcsolattal rendelkezel, próbáld csökkenteni,\n" +"de ne csökkentsd a kívánt kliensszám duplája alá." #: src/settings_translation_file.cpp msgid "Maximum number of players that can be connected simultaneously." @@ -5615,8 +5708,8 @@ msgid "" "Maximum proportion of current window to be used for hotbar.\n" "Useful if there's something to be displayed right or left of hotbar." msgstr "" -"Az aktuális ablak maximum hányada a hotbar számára.\n" -"Hasznos, ha valamit el kell helyezni a hotbar jobb, vagy bal oldalán." +"Az aktuális ablak maximum hányada a gyorselérési sáv számára.\n" +"Hasznos, ha valamit el kell helyezni a sáv jobb, vagy bal oldalán." #: src/settings_translation_file.cpp msgid "Maximum simultaneous block sends per client" @@ -5624,13 +5717,15 @@ msgstr "Az egyidejűleg a kliensenként küldött térképblokkok maximális sz #: src/settings_translation_file.cpp msgid "Maximum size of the out chat queue" -msgstr "" +msgstr "Kimenő üzenetek sorának maximális mérete" #: src/settings_translation_file.cpp msgid "" "Maximum size of the out chat queue.\n" "0 to disable queueing and -1 to make the queue size unlimited." msgstr "" +"A kimenő üzenetek sorának maximális mérete.\n" +"0 letiltja a várolistára helyezést, míg -1 korlátlanná teszi a sor méretét." #: src/settings_translation_file.cpp msgid "" @@ -5645,6 +5740,8 @@ msgid "" "Maximum time an interactive request (e.g. server list fetch) may take, " "stated in milliseconds." msgstr "" +"Az interaktív kérések (pl. szerverlista lekérése) számára rendelkezésre álló " +"maximális idő milliszekundumban." #: src/settings_translation_file.cpp msgid "Maximum users" @@ -5656,7 +5753,7 @@ msgstr "Menük" #: src/settings_translation_file.cpp msgid "Mesh cache" -msgstr "" +msgstr "Poligonháló cashe" #: src/settings_translation_file.cpp msgid "Message of the day" @@ -5672,7 +5769,7 @@ msgstr "Kijelölt objektum kiemelésére használt módszer." #: src/settings_translation_file.cpp msgid "Minimal level of logging to be written to chat." -msgstr "" +msgstr "A naplózás csevegésbe írásának minimális szintje." #: src/settings_translation_file.cpp msgid "Minimap" @@ -5689,12 +5786,14 @@ msgstr "Kistérkép letapogatási magasság" #: src/settings_translation_file.cpp msgid "Minimum limit of random number of large caves per mapchunk." msgstr "" -"Az egy térképblokkra véletlenszerűen jutó nagy barlangok számának minimális " +"A véletlenszerűen egy térképdarabkára jutó nagy barlangok számának minimális " "korlátja." #: src/settings_translation_file.cpp msgid "Minimum limit of random number of small caves per mapchunk." msgstr "" +"A véletlenszerűen egy térképdarabkára jutó kis barlangok számának minimális " +"korlátja." #: src/settings_translation_file.cpp msgid "Minimum texture size" @@ -5721,9 +5820,8 @@ msgid "Monospace font size" msgstr "Monospace betűméret" #: src/settings_translation_file.cpp -#, fuzzy msgid "Monospace font size divisible by" -msgstr "Monospace betűméret" +msgstr "Monospace betűméret osztója" #: src/settings_translation_file.cpp msgid "Mountain height noise" @@ -5758,6 +5856,8 @@ msgid "" "Multiplier for fall bobbing.\n" "For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" +"A zuhanás utáni fejbillenés szorzója.\n" +"Például: 0 nincs biccentés; 1,0 normál; 2,0 dupla." #: src/settings_translation_file.cpp msgid "Mute key" @@ -5774,6 +5874,10 @@ msgid "" "Current mapgens in a highly unstable state:\n" "- The optional floatlands of v7 (disabled by default)." msgstr "" +"Az új világ létrehozásakor használandó térképgenerátor neve.\n" +"Új világ főmenüben történő létrehozása felülírja ezt.\n" +"Jelenleg a következő térképgenerátorok nagyon instabilak:\n" +"- Az opcionális lebegő földek a v7-ben (alapértelmezés szerint tiltott)." #: src/settings_translation_file.cpp msgid "" @@ -5805,6 +5909,8 @@ msgid "" "Network port to listen (UDP).\n" "This value will be overridden when starting from the main menu." msgstr "" +"Figyelt hálózati port (UDP).\n" +"Főmenüből való indításkor felülíródik ez az érték." #: src/settings_translation_file.cpp msgid "New users need to input this password." @@ -5812,7 +5918,7 @@ msgstr "Az új felhasználóknak ezt a jelszót kell megadniuk." #: src/settings_translation_file.cpp msgid "Noclip" -msgstr "" +msgstr "Noclip" #: src/settings_translation_file.cpp msgid "Noclip key" @@ -5824,7 +5930,7 @@ msgstr "Node kiemelés" #: src/settings_translation_file.cpp msgid "NodeTimer interval" -msgstr "" +msgstr "NodeTimer időköz" #: src/settings_translation_file.cpp msgid "Noises" @@ -5832,7 +5938,7 @@ msgstr "Zajok" #: src/settings_translation_file.cpp msgid "Number of emerge threads" -msgstr "" +msgstr "A térképblokk betöltő szálak száma" #: src/settings_translation_file.cpp msgid "" @@ -5847,6 +5953,21 @@ msgid "" "processes, especially in singleplayer and/or when running Lua code in\n" "'on_generated'. For many users the optimum setting may be '1'." msgstr "" +"A térképblokkok betöltésére használt szálak száma.\n" +"Érték 0:\n" +"- Automatikus választás. A térképblokkok betöltését végző szálak száma\n" +"- \"processzorok száma - 2\" lesz, de legalább 1.\n" +"Bármilyen más érték:\n" +"- Meghatározza a térképblokkbetöltő szálak számát, amelynek alsó korlátja " +"1.\n" +"FIGYELEM: A térképblokkbetöltő szálak számának növelése növeli a játékmotor " +"mapgen\n" +"folyamatainak sebességét, de csökkentheti a játékteljesítményt azáltal, hogy " +"más\n" +"folyamatokat akadályoznak, különösen egyjátékos módban és/vagy Lua kódok " +"futtatásakor\n" +"az 'on_generated' eseményben. Sok játékos számára valószínűleg az 1 az " +"optimális beállítás." #: src/settings_translation_file.cpp msgid "" @@ -5854,6 +5975,9 @@ msgid "" "This is a trade-off between SQLite transaction overhead and\n" "memory consumption (4096=100MB, as a rule of thumb)." msgstr "" +"A /clearobjects parancs által egyidejűleg betölthető extra blokkok száma.\n" +"Kompromisszum az SQLite tranzakciók erőforrásigénye és a\n" +"memóriahasználat között (4096=100MB hüvelykujjszabályként)." #: src/settings_translation_file.cpp msgid "Online Content Repository" @@ -5867,6 +5991,8 @@ msgstr "Átlátszatlan folyadékok" msgid "" "Opaqueness (alpha) of the shadow behind the default font, between 0 and 255." msgstr "" +"Az alapértelmezett betűtípus mögötti árnyék átlátszatlansága (alfa) 0 és 255 " +"között." #: src/settings_translation_file.cpp msgid "" @@ -5874,10 +6000,13 @@ msgid "" "formspec is\n" "open." msgstr "" +"Megnyitja a szünet menüt, ha az ablak kikerül a fókuszból. Nem szünetel, ha " +"nyitva van\n" +"egy formspec panel." #: src/settings_translation_file.cpp msgid "Optional override for chat weblink color." -msgstr "" +msgstr "A csevegésben lévő internetes linkek színének opcionális felülírása." #: src/settings_translation_file.cpp msgid "" @@ -5885,18 +6014,26 @@ msgid "" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" +"A tartalék betűtípus elérési útvonala. TrueType betűtípusnak kell lenni.\n" +"Bizonyos nyelvek ezt a betűtípust használják vagy ha az alapértelmezett " +"betűtípus nem elérhető." #: src/settings_translation_file.cpp msgid "" "Path to save screenshots at. Can be an absolute or relative path.\n" "The folder will be created if it doesn't already exist." msgstr "" +"A képernyőképek mentésének elérési útvonala. Lehet abszolút vagy relatív " +"elérési út.\n" +"Ha még nem létezik a mappa, létre lesz hozva." #: src/settings_translation_file.cpp msgid "" "Path to shader directory. If no path is defined, default location will be " "used." msgstr "" +"Az árnyékolókat tartalmazó mappa elérési útvonala. Ha nincs beállítva, az " +"alapértelmezett útvonalat használja." #: src/settings_translation_file.cpp msgid "Path to texture directory. All textures are first searched from here." @@ -5907,24 +6044,31 @@ msgid "" "Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" +"Az alapértelmezett betűtípus elérési útja. TrueType betűtípusnak kell lenni." +"\n" +"Ha nem lehet betölteni a betűtípust, a tartalék betűtípust fogja használni." #: src/settings_translation_file.cpp msgid "" "Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" +"A monospace betűtípus elérési útvonala. TrueType betűtípusnak kell lenni.\n" +"Ezt a betűtípust használja pl. a konzol és a profiler képernyő." #: src/settings_translation_file.cpp msgid "Pause on lost window focus" -msgstr "" +msgstr "Szüneteltetés ha az ablak kikerül a fókuszból" #: src/settings_translation_file.cpp msgid "Per-player limit of queued blocks load from disk" msgstr "" +"A merevlemezről várólistára töltött blokkok számának korlátja játékosonként" #: src/settings_translation_file.cpp msgid "Per-player limit of queued blocks to generate" msgstr "" +"A várólistára töltött létrehozandó blokkok számának korlátja játékosonként" #: src/settings_translation_file.cpp msgid "Physics" @@ -5960,7 +6104,7 @@ msgstr "Játékos neve" #: src/settings_translation_file.cpp msgid "Player transfer distance" -msgstr "" +msgstr "Játékosátviteli távolság" #: src/settings_translation_file.cpp msgid "Player versus player" @@ -5983,6 +6127,10 @@ msgid "" "Prevent digging and placing from repeating when holding the mouse buttons.\n" "Enable this when you dig or place too often by accident." msgstr "" +"Ásás és lehelyezés ismétlődésének megakadályozása, amikor nyomva tartod az " +"egérbombokat.\n" +"Engedélyezd, ha túl gyakran fordul elő, hogy véletlenül lehelyezel vagy " +"kiásol blokkokat." #: src/settings_translation_file.cpp msgid "Prevent mods from doing insecure things like running shell commands." @@ -6013,11 +6161,11 @@ msgstr "Profiler váltó gomb" #: src/settings_translation_file.cpp msgid "Profiling" -msgstr "" +msgstr "Pfolilozás" #: src/settings_translation_file.cpp msgid "Prometheus listener address" -msgstr "" +msgstr "Prometheus figyelési cím" #: src/settings_translation_file.cpp msgid "" @@ -6026,6 +6174,11 @@ msgid "" "enable metrics listener for Prometheus on that address.\n" "Metrics can be fetched on http://127.0.0.1:30000/metrics" msgstr "" +"Prometheus figyelési cím.\n" +"Ha a Minetest-et az ENABLE_PROMETHEUS opció engedélyezésével állítták össze," +"\n" +"elérhetővé válnak a Prometheus mérőszám figyelői ezen a címen.\n" +"A mérőszámok itt érhetők el: http://127.0.0.1:30000/metrics" #: src/settings_translation_file.cpp msgid "Proportion of large caves that contain liquid." @@ -6037,6 +6190,8 @@ msgid "" "Values larger than 26 will start to produce sharp cutoffs at cloud area " "corners." msgstr "" +"A felhők kiterjedése 64 blokkos felhőnégyzetek számában mérve.\n" +"26-nál nagyobb értékek éles határt eredményeznek a felhők sarkainál." #: src/settings_translation_file.cpp msgid "Raises terrain to make valleys around the rivers." @@ -6096,22 +6251,32 @@ msgid "" "csm_restriction_noderange)\n" "READ_PLAYERINFO: 32 (disable get_player_names call client-side)" msgstr "" +"Korlátozza bizonyos kliensoldali függvényekhez a hozzáférést a szerveren.\n" +"Kombináld az alábbi bájtcímkéket a kliensoldali képességek korlátozásához,\n" +"vagy állítsd 0-ra a korlátozások eltávolításához:\n" +"LOAD_CLIENT_MODS: 1 (letitlja a kliensoldali modok betöltését)\n" +"CHAT_MESSAGES: 2 (letiltja a send_chat_message hívásokat kliensoldalon)\n" +"READ_ITEMDEFS: 4 (letiltja a get_item_def hívásokat kliensoldalon)\n" +"READ_NODEDEFS: 8 (letiltja a get_node_def hívásokat kliensoldalon)\n" +"LOOKUP_NODES_LIMIT: 16 (korlátozza a get_node hívásokat kliensoldalon a\n" +"csm_restriction_noderange esetén)\n" +"READ_PLAYERINFO: 32 (letiltja a get_player_names hívásokat kliensoldalon)" #: src/settings_translation_file.cpp msgid "Ridge mountain spread noise" -msgstr "" +msgstr "A hegyvonulatok kiterjedésének zaja" #: src/settings_translation_file.cpp msgid "Ridge noise" -msgstr "" +msgstr "Hegygerinc zaj" #: src/settings_translation_file.cpp msgid "Ridge underwater noise" -msgstr "" +msgstr "Víz alatti hegygerinc zaj" #: src/settings_translation_file.cpp msgid "Ridged mountain size noise" -msgstr "" +msgstr "Hegyvonulatok méretének zaja" #: src/settings_translation_file.cpp msgid "Right key" @@ -6143,7 +6308,7 @@ msgstr "Folyóvölgy szélessége" #: src/settings_translation_file.cpp msgid "Rollback recording" -msgstr "" +msgstr "Visszavonási pontok rögzítése" #: src/settings_translation_file.cpp msgid "Rolling hill size noise" @@ -6163,7 +6328,7 @@ msgstr "Biztonságos ásás és elhelyezés" #: src/settings_translation_file.cpp msgid "Sandy beaches occur when np_beach exceeds this value." -msgstr "" +msgstr "Homokos partok képződnek, ha az np_beach meghaladja ezt az értéket." #: src/settings_translation_file.cpp msgid "Save the map received by the client on disk." @@ -6229,10 +6394,13 @@ msgstr "Folyómeder zaj" #: src/settings_translation_file.cpp msgid "Second of 4 2D noises that together define hill/mountain range height." msgstr "" +"A második a négy 2D zajból, amelyek együttesen meghatározzák a dombságok/" +"hegységek magasságát." #: src/settings_translation_file.cpp msgid "Second of two 3D noises that together define tunnels." msgstr "" +"A második a két 3D zajból, amelyek együttesen meghatározzák az alagutakat." #: src/settings_translation_file.cpp msgid "Security" @@ -6255,7 +6423,6 @@ msgid "Selection box width" msgstr "Kijelölő doboz szélessége" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Selects one of 18 fractal types.\n" "1 = 4D \"Roundy\" Mandelbrot set.\n" @@ -6323,7 +6490,7 @@ msgstr "Szerver port" #: src/settings_translation_file.cpp msgid "Server side occlusion culling" -msgstr "" +msgstr "Takarásban lévő térképblokkok szerveroldali kiválogatása" #: src/settings_translation_file.cpp msgid "Serverlist URL" @@ -6350,6 +6517,8 @@ msgid "" "Set the shadow strength.\n" "Lower value means lighter shadows, higher value means darker shadows." msgstr "" +"Az árnyékok kivehetőségét szabályozza.\n" +"Kisebb érték világosabb, magasabb érték sötétebb árnyékokat jelent." #: src/settings_translation_file.cpp msgid "" @@ -6357,6 +6526,9 @@ msgid "" "Lower values mean sharper shadows, bigger values mean softer shadows.\n" "Minimum value: 1.0; maximum value: 10.0" msgstr "" +"Az árnyékok lágy szélének kiterjedését szabályozza.\n" +"Kisebb érték élesebb, nagyobb érték lágyabb árnyékokat jelent.\n" +"Minimális érték: 1,0; maximális érték: 10,0" #: src/settings_translation_file.cpp msgid "" @@ -6364,6 +6536,9 @@ msgid "" "Value of 0 means no tilt / vertical orbit.\n" "Minimum value: 0.0; maximum value: 60.0" msgstr "" +"A Nap/Hold pályájának fokokban mért döntési szögét szabályozza.\n" +"A 0 érték azt jelenti, hogy nincs döntés / függőleges a pályájuk.\n" +"Minimális érték: 0,0; maximális érték: 60,0" #: src/settings_translation_file.cpp msgid "" @@ -6403,6 +6578,9 @@ msgid "" "On false, 16 bits texture will be used.\n" "This can cause much more artifacts in the shadow." msgstr "" +"Az árnyék textúrájának minőségét 32 bitesre állítja.\n" +"Ha hamis, 16 bites textúrát fog használni.\n" +"Ez sokkal több grafikai hibát okoz az árnyékon." #: src/settings_translation_file.cpp msgid "Shader path" @@ -6426,11 +6604,11 @@ msgstr "Árnyék szűrő minőség" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" -msgstr "" +msgstr "Az árnyéktérkép maximális renderelési távolsága blokkban" #: src/settings_translation_file.cpp msgid "Shadow map texture in 32 bits" -msgstr "" +msgstr "32 bites árnyéktérkép textúra" #: src/settings_translation_file.cpp msgid "Shadow map texture size" @@ -6444,7 +6622,7 @@ msgstr "Betűtípus árnyékának eltolása. Ha 0, akkor nem lesz árnyék rajzo #: src/settings_translation_file.cpp msgid "Shadow strength" -msgstr "" +msgstr "Árnyék kivehetősége" #: src/settings_translation_file.cpp msgid "Shape of the minimap. Enabled = round, disabled = square." @@ -6485,6 +6663,14 @@ msgid "" "Altering this value is for special usage, leaving it unchanged is\n" "recommended." msgstr "" +"A mapgen által generált térképdarabka mérete térképblokkokban (16 blokk) " +"mérve.\n" +"FIGYELEM!: Nincs értelme és bizonyos veszélyekkel is jár ennek az értéknek\n" +"5 fölés emelése.\n" +"Ha csökkentjük ezt az értéket, gyakrabban fordulnak elő barlangok és " +"tömlöcök.\n" +"Változtasd meg, ha valami különleges okból kell, de ajánlott\n" +"változatlanul hagyni." #: src/settings_translation_file.cpp msgid "" @@ -6492,14 +6678,18 @@ msgid "" "increase the cache hit %, reducing the data being copied from the main\n" "thread, thus reducing jitter." msgstr "" +"A poligonhálót generáló MapBlock cache mérete. Növelése megnöveli a\n" +"cache kiszolgálási teljesítményét, ezáltal csökken a fő szálból másolt " +"adatok\n" +"mennyisége, és ezáltal csökken a szaggatás." #: src/settings_translation_file.cpp msgid "Sky Body Orbit Tilt" -msgstr "" +msgstr "Égitestek pályájának döntése" #: src/settings_translation_file.cpp msgid "Slice w" -msgstr "" +msgstr "W szelet" #: src/settings_translation_file.cpp msgid "Slope and fill work together to modify the heights." @@ -6516,10 +6706,13 @@ msgstr "Kis barlangok minimális száma" #: src/settings_translation_file.cpp msgid "Small-scale humidity variation for blending biomes on borders." msgstr "" +"A biomok közötti átmeneti határra vonatkozó kisléptékű páratartalom-" +"ingadozás." #: src/settings_translation_file.cpp msgid "Small-scale temperature variation for blending biomes on borders." msgstr "" +"A biomok közötti átmeneti határra vonatkozó kisléptékű hőmérséklet-ingadozás." #: src/settings_translation_file.cpp msgid "Smooth lighting" @@ -6569,6 +6762,13 @@ msgid "" "(obviously, remote_media should end with a slash).\n" "Files that are not present will be fetched the usual way." msgstr "" +"Meghatározza, mely URL-ről töltse le a kliens a médiatartalmat az UDP " +"helyett.\n" +"$filename -nek elérhetőnek kell lennie a $remote_media$filename helyről " +"cURL\n" +"használatával (nyilván, a remote_media elérési útnak perjelre kell végződni)." +"\n" +"A nem elérhető fájlokat a normál módon fogja letölteni." #: src/settings_translation_file.cpp msgid "" @@ -6576,6 +6776,9 @@ msgid "" "Note that mods or games may explicitly set a stack for certain (or all) " "items." msgstr "" +"A blokkok, tárgyak és eszközök alapértelmezett kötegméretét szabályozza.\n" +"Megjegyzendő, hogy a modok vagy játékok kifejezetten meghatározhatják a " +"kötegek méretét bizonyos vagy az összes tárgy esetén." #: src/settings_translation_file.cpp msgid "" @@ -6584,6 +6787,10 @@ msgid "" "will consume more resources.\n" "Minimum value: 1; maximum value: 16" msgstr "" +"Az árnyéktérkép firssítését széthúzza a megadott számú képkockára.\n" +"Magasabb érték esetén az árnyékok késhetnek, alacsabb érékek\n" +"viszont több erőforrást igényelnek.\n" +"Minimális érték: 1; maximális érték: 16" #: src/settings_translation_file.cpp msgid "" @@ -6591,6 +6798,9 @@ msgid "" "Controls the width of the range to be boosted.\n" "Standard deviation of the light curve boost Gaussian." msgstr "" +"A fénygörbe kiemelésének hatósugara.\n" +"A kiemelendő tartomány szélességét szabályozza.\n" +"A fénygörbe kiemelés Gauss-görbéjének szórása." #: src/settings_translation_file.cpp msgid "Static spawnpoint" @@ -6606,11 +6816,11 @@ msgstr "Lépcsős hegyek méretének zajossága" #: src/settings_translation_file.cpp msgid "Step mountain spread noise" -msgstr "" +msgstr "Lépcsős hegy kiterjedésének zaja" #: src/settings_translation_file.cpp msgid "Strength of 3D mode parallax." -msgstr "" +msgstr "3D mód parallax hatásának erőssége." #: src/settings_translation_file.cpp msgid "" @@ -6618,14 +6828,17 @@ msgid "" "The 3 'boost' parameters define a range of the light\n" "curve that is boosted in brightness." msgstr "" +"A fénygörbe kiemelésének erőssége.\n" +"A 3 'boost' parameter a fénygörbe egy tartományát\n" +"határozza meg, amelyeken erősebbek a fények." #: src/settings_translation_file.cpp msgid "Strict protocol checking" -msgstr "" +msgstr "Szigorú protokollellenőrzés" #: src/settings_translation_file.cpp msgid "Strip color codes" -msgstr "" +msgstr "Színkódok kinyerése" #: src/settings_translation_file.cpp msgid "" @@ -6640,10 +6853,27 @@ msgid "" "server-intensive extreme water flow and to avoid vast flooding of the\n" "world surface below." msgstr "" +"Az egybefüggő lebegő föld rétegre opcionálisan helyezhető vízfelület szintje." +"\n" +"Alapértelmezésben a víz nem engedélyezett és csak akkor helyezi le, ha ez " +"az\n" +"érték nagyobb, mint 'mgv7_floatland_ymax' - 'mgv7_floatland_taper' (a " +"vékonyítás\n" +"felső részének kezdete).\n" +"***FIGYELEM! VESZÉLYES LEHET A VILÁGOKRA ÉS A SZERVERTELJESÍTMÉNYRE***:\n" +"Ha endgedélyezve van a vízelhelyezés, úgy kell konfigurálni a lebegő " +"földeket és\n" +"tesztelni kell, hogy valóban egybefüggő réteget alkosson, az " +"'mgv7_floatland_density'\n" +"értékének 2,0-nak (vagy az 'mgv7_np_floatland'-től függően más szükséges " +"értéknek)\n" +"kell lenni, hogy elkerülhető legyen a szervert leterhelő extrém vízfolyás és " +"az alatta lévő\n" +"földfelszín elárasztása." #: src/settings_translation_file.cpp msgid "Synchronous SQLite" -msgstr "" +msgstr "Szinkron SQLite" #: src/settings_translation_file.cpp msgid "Temperature variation for biomes." @@ -6675,6 +6905,9 @@ msgid "" "Controls proportion of world area covered by hills.\n" "Adjust towards 0.0 for a larger proportion." msgstr "" +"A dombok terep zajküszöbe.\n" +"A világ dombokkal fedett területének arányát szabályozza.\n" +"Állítsd 0,0-hoz közelebb, hogy az arány növekedjen." #: src/settings_translation_file.cpp msgid "" @@ -6682,10 +6915,13 @@ msgid "" "Controls proportion of world area covered by lakes.\n" "Adjust towards 0.0 for a larger proportion." msgstr "" +"A tavak terep zajküszöbe.\n" +"A világ tavakkal fedett területének arányát szabályozza.\n" +"Állítsd 0,0-hoz közelebb, hogy az arány növekedjen." #: src/settings_translation_file.cpp msgid "Terrain persistence noise" -msgstr "" +msgstr "Terep folytonossági zaj" #: src/settings_translation_file.cpp msgid "Texture path" @@ -6697,6 +6933,10 @@ msgid "" "This must be a power of two.\n" "Bigger numbers create better shadows but it is also more expensive." msgstr "" +"Az árnyéktérkép rendereléséhez használt textúraméret.\n" +"Kettő hatványának kell lennie.\n" +"Nagyobb számok nagyobb árnyékokat hoznak létre, de ez egyben " +"erőforrásigényesebb is." #: src/settings_translation_file.cpp msgid "" @@ -6707,6 +6947,16 @@ msgid "" "this option allows enforcing it for certain node types. Note though that\n" "that is considered EXPERIMENTAL and may not work properly." msgstr "" +"Egy blokk textúráját lehet a blokkhoz vagy a világhoz igazítani.\n" +"Az első megoldás jobban illik olyan dolgokhoz, mint a gépek, bútorok stb.,\n" +"míg a másodikkal jobban beleillenek a környezetükbe a lépcsők és " +"mikroblokkok.\n" +"Mivel azonban ez a lehetőség még új, és így a régebbi szerverek még nem " +"használják,\n" +"ezzel az opcióval ki lehet kényszeríteni ezt bizonyos blokkokra. Meg kell " +"azonban\n" +"jegyezni, hogy ez még KÍSÉRLETI fázisban van és lehet, hogy nem működik " +"helyesen." #: src/settings_translation_file.cpp msgid "The URL for the content repository" @@ -6721,15 +6971,18 @@ msgid "" "The default format in which profiles are being saved,\n" "when calling `/profiler save [format]` without format." msgstr "" +"A profilok mentéséhez használt alapértelmezett formátum, amikor\n" +"formátum nélkül kerül meghívásra a `/profiler save [format]` parancs." #: src/settings_translation_file.cpp msgid "The depth of dirt or other biome filler node." -msgstr "" +msgstr "A föld vagy egyéb biom feltöltő blokk mélysége." #: src/settings_translation_file.cpp msgid "" "The file path relative to your worldpath in which profiles will be saved to." msgstr "" +"A profilok mentésének relatív elérési útja a világod elérési útjához képest." #: src/settings_translation_file.cpp msgid "The identifier of the joystick to use" @@ -6738,6 +6991,7 @@ msgstr "A használni kívánt joystick azonosítója" #: src/settings_translation_file.cpp msgid "The length in pixels it takes for touch screen interaction to start." msgstr "" +"Az érintőképernyős interakció megkezdéséhez szükséges távolság pixelekben." #: src/settings_translation_file.cpp msgid "" @@ -6747,10 +7001,15 @@ msgid "" "Default is 1.0 (1/2 node).\n" "Requires waving liquids to be enabled." msgstr "" +"A hullámzó folyadékok felszínének maximális magassága.\n" +"4,0 = A hullámok magasága két blokk.\n" +"0,0 = A hullámok egyáltalán nem mozognak.\n" +"Az alapértelmezett érték 1,0 (1/2 blokk).\n" +"A hullámzó folyadék engedélyezése szükséges hozzá." #: src/settings_translation_file.cpp msgid "The network interface that the server listens on." -msgstr "" +msgstr "A hálózati interfész, amelyen a szerver figyel." #: src/settings_translation_file.cpp msgid "" @@ -6771,6 +7030,13 @@ msgid "" "maintained.\n" "This should be configured together with active_object_send_range_blocks." msgstr "" +"A játékosok körüli blokktérfogat sugara, amelyen belül érvényesülnek\n" +"az aktív blokkok dolgai. Térképblokkban (16 blokk) mérve.\n" +"Az aktív blokkokban betöltődnek az objektumok és ABM-ek futnak.\n" +"Ez egyben az a legkisebb sugár is, amelyen belül az aktív objektumokról " +"(mobok) gondoskodik a játék.\n" +"Ezt a beállítást az active_object_send_range_blocks-szal összhangban kell " +"megadni." #: src/settings_translation_file.cpp msgid "" @@ -6781,12 +7047,21 @@ msgid "" "On other platforms, OpenGL is recommended.\n" "Shaders are supported by OpenGL (desktop only) and OGLES2 (experimental)" msgstr "" +"A renderelő háttérprogram.\n" +"Ha ezt megváltoztatod, újraindítás szükséges.\n" +"Megjegyzés: Androidon, hagyd OGLES1-en, ha bizonytalan vagy! Lehet, hogy nem " +"indul az app különben.\n" +"Más platformokon az OpenGL az ajánlott.\n" +"Az árnyékolókat az OpenGL (csak asztali rendszeren) és OGLES2 (kísérleti) " +"támogatja" #: src/settings_translation_file.cpp msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." msgstr "" +"A jostick tengelyeinek érzékenysége, amely\n" +"a játékbeli látómező mozgatását befolyásolja." #: src/settings_translation_file.cpp msgid "" @@ -6795,6 +7070,12 @@ msgid "" "setting is 0.25 to 4.0 inclusive. If the value is out of range it will be\n" "set to the nearest valid value." msgstr "" +"A körülvett, illetve takarásban lévő blokkok árnyékolásának erőssége " +"(sötétsége).\n" +"Alacsonyabb érték sötétebb, magasabb érték világosabb. E beállítás érvényes\n" +"értéktartománya 0,25-től 4,0-ig terjed. Ha a tartományon kívüli értéket " +"adunk meg,\n" +"a legközelebbi érvényes értékre lesz állítva." #: src/settings_translation_file.cpp msgid "" @@ -6802,12 +7083,18 @@ msgid "" "capacity until an attempt is made to decrease its size by dumping old queue\n" "items. A value of 0 disables the functionality." msgstr "" +"A másodpercben megadott idő, ameddig a folyadékok várólistája a számítási\n" +"teljesítmény fölé nőhet, és ezután megpróbálja csökkenteni a méretét azáltal," +"\n" +"hogy törli a régóta sorbanálló elemeket. A 0 érték letiltja ezt a funkciót." #: src/settings_translation_file.cpp msgid "" "The time budget allowed for ABMs to execute on each step\n" "(as a fraction of the ABM Interval)" msgstr "" +"Az ABM-ek rendelkezésére álló lépésenkénti végrehajtási időkeret\n" +"(az ABM intervallum törtrésze)" #: src/settings_translation_file.cpp msgid "" @@ -6835,26 +7122,33 @@ msgid "" "enabled. Also the vertical distance over which humidity drops by 10 if\n" "'altitude_dry' is enabled." msgstr "" +"Az a függőleges távolság, amely során a hőmérséklet 20 fokkal csökken, ha az " +"'altitude_chill'\n" +"be van kapcsolva. Ugyanez a távolság, amely során a páratartalom esik 10 " +"egységgel, ha az\n" +"'altitude_dry' be van kapcsolva." #: src/settings_translation_file.cpp msgid "Third of 4 2D noises that together define hill/mountain range height." msgstr "" +"A harmadik a négy 2D zajból, amelyek együttesen meghatározzák a dombságok/" +"hegységek magasságát." #: 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 "" -"Annak az ideje, hogy mennyi ideig \"élnek\" az eldobott tárgyak.\n" +"Annak az ideje, hogy mennyi ideig maradnak meg az eldobott tárgyak.\n" "-1-re állítás kikapcsolja ezt a funkciót." #: src/settings_translation_file.cpp msgid "Time of day when a new world is started, in millihours (0-23999)." -msgstr "" +msgstr "Az új világ létrehozásakor érvényes napszak milliórában (0-23999)." #: src/settings_translation_file.cpp msgid "Time send interval" -msgstr "" +msgstr "Idő küldési gyakoriság" #: src/settings_translation_file.cpp msgid "Time speed" @@ -6863,6 +7157,8 @@ msgstr "Idő sebessége" #: src/settings_translation_file.cpp msgid "Timeout for client to remove unused map data from memory." msgstr "" +"A kliens rendelkezésére álló időkorlát, hogy eltávolítsa a használaton " +"kívüli térképadatokat a memóriából." #: src/settings_translation_file.cpp msgid "" @@ -6890,7 +7186,7 @@ msgstr "Érintőképernyő küszöbe" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "Teljesítménybeli kompromisszumok" #: src/settings_translation_file.cpp msgid "Trees noise" @@ -6920,7 +7216,7 @@ msgstr "A Többjátékos fül alatt megjelenített szerverlista URL-je." #: src/settings_translation_file.cpp msgid "Undersampling" -msgstr "" +msgstr "Alulmintavételezés" #: src/settings_translation_file.cpp msgid "" @@ -6930,6 +7226,12 @@ msgid "" "image.\n" "Higher values result in a less detailed image." msgstr "" +"Az alulmintavételezés olyan, mintha kisebb képernyőfelbontást használnál, " +"de\n" +"csak a játék világára van hatással, a GUI-t változatlanul hagyja.\n" +"Sokkal jobb teljesítmény érhető el vele annak árán, hogy a kép kevésbé\n" +"részletgazdaggá válik. Magasabb értékek kevésbé részletes képet " +"eredményeznek." #: src/settings_translation_file.cpp msgid "Unlimited player transfer distance" @@ -6937,7 +7239,7 @@ msgstr "Korlátlan játékosátviteli távolság" #: src/settings_translation_file.cpp msgid "Unload unused server data" -msgstr "" +msgstr "A használaton kívüli szerveradatok eltávolítása a memóriából" #: src/settings_translation_file.cpp msgid "Upper Y limit of dungeons." @@ -6969,6 +7271,9 @@ msgid "" "especially when using a high resolution texture pack.\n" "Gamma correct downscaling is not supported." msgstr "" +"Mipmapping használata a textúrák méretezéséhez. Kis mértékben növelheti a\n" +"teljesítményt, különösen nagy felbontású textúracsomagok használatakor.\n" +"Gamma-megőrző zsugorítás nem támogatott." #: src/settings_translation_file.cpp msgid "" @@ -6980,6 +7285,13 @@ msgid "" "If set to 0, MSAA is disabled.\n" "A restart is required after changing this option." msgstr "" +"Többmintás élsimítás (MSAA) használata a blokkélek simításához.\n" +"Ez az algoritmus kisimítja a 3D látómezőt miközben a kép éles marad,\n" +"a textúrák beljsejét azonban nem módosítja\n" +"(ami főleg az átlátszó textúráknál vehető észre).\n" +"A blokkok között látható rések jelennek meg, ha az árnyékolók nincsenek\n" +"engedélyezve. Ha 0-ra van állítva, az MSAA tiltva van.\n" +"E beállítás megváltoztatása után újraindítás szükséges." #: src/settings_translation_file.cpp msgid "Use trilinear filtering when scaling textures." @@ -6987,7 +7299,7 @@ msgstr "Trilineáris szűrés a textúrák méretezéséhez." #: src/settings_translation_file.cpp msgid "VBO" -msgstr "" +msgstr "VBO" #: src/settings_translation_file.cpp msgid "VSync" @@ -7006,7 +7318,6 @@ msgid "Valley profile" msgstr "Völgyek profilja" #: src/settings_translation_file.cpp -#, fuzzy msgid "Valley slope" msgstr "Völgyek meredeksége" @@ -7016,7 +7327,7 @@ msgstr "A biom töltőanyag mélységének változékonysága." #: src/settings_translation_file.cpp msgid "Variation of maximum mountain height (in nodes)." -msgstr "" +msgstr "A legnagyobb eltérés a hegyek magasságában (blokkokban)." #: src/settings_translation_file.cpp msgid "Variation of number of caves." @@ -7027,20 +7338,24 @@ msgid "" "Variation of terrain vertical scale.\n" "When noise is < -0.55 terrain is near-flat." msgstr "" +"A terep függőleges kiterjedésének mozgástere.\n" +"Ha a zaj < -0,55, akkor a terep szinte lapos." #: src/settings_translation_file.cpp msgid "Varies depth of biome surface nodes." -msgstr "" +msgstr "A biomok felületét képező blokkréteg mélységét variálja." #: src/settings_translation_file.cpp msgid "" "Varies roughness of terrain.\n" "Defines the 'persistence' value for terrain_base and terrain_alt noises." msgstr "" +"A terep töredezettségét variálja.\n" +"Meghatározza a terrain_base és terrain_alt zajok folytonosságának értékét." #: src/settings_translation_file.cpp msgid "Varies steepness of cliffs." -msgstr "A szirtek meredekségét állítja." +msgstr "A szirtek meredekségét variálja." #: src/settings_translation_file.cpp msgid "Vertical climbing speed, in nodes per second." @@ -7056,7 +7371,7 @@ msgstr "Videó driver" #: src/settings_translation_file.cpp msgid "View bobbing factor" -msgstr "" +msgstr "Fejbillegési faktor" #: src/settings_translation_file.cpp msgid "View distance in nodes." @@ -7080,7 +7395,7 @@ msgstr "Látóterület" #: src/settings_translation_file.cpp msgid "Virtual joystick triggers Aux1 button" -msgstr "" +msgstr "Virtuális joystick gombok Aux1 gomb" #: src/settings_translation_file.cpp msgid "Volume" @@ -7091,6 +7406,8 @@ msgid "" "Volume of all sounds.\n" "Requires the sound system to be enabled." msgstr "" +"Az összes hang hangereje.\n" +"A hangrendszer engedélyezésére van szükség hozzá." #: src/settings_translation_file.cpp msgid "" @@ -7100,6 +7417,11 @@ msgid "" "Has no effect on 3D fractals.\n" "Range roughly -2 to 2." msgstr "" +"A 4D fraktál generált 3D szeletének W koordinátája.\n" +"Meghatározza, hogy a 4D-s alakzat mely 3D-s szeletét kell generálni.\n" +"Megváltoztatja a fraktál alakját.\n" +"Nincs hatása a 3D fraktálokra.\n" +"Nagyjából -2 és 2 közötti az értéktartománya." #: src/settings_translation_file.cpp msgid "Walking and flying speed, in nodes per second." @@ -7159,6 +7481,9 @@ msgid "" "filtered in software, but some images are generated directly\n" "to hardware (e.g. render-to-texture for nodes in inventory)." msgstr "" +"Ha a gui_scaling_filter értéke igaz, minden GUI képet szoftveres\n" +"szűrő fogja kezelni, de néhány kép közvetlenül a harverre\n" +"generálódik (pl. a felszerelésben lévő blokkok textúrára renderelése)." #: src/settings_translation_file.cpp msgid "" @@ -7167,6 +7492,10 @@ msgid "" "to the old scaling method, for video drivers that don't\n" "properly support downloading textures back from hardware." msgstr "" +"Ha a gui_scaling_filter_txr2img be van kapcsolva, ezeket a képeket\n" +"a hardverről a szoftverbe másolja méretezésre. Ha ki van kapcsolva,\n" +"a régi méretezési módszert használja, azoknál a videó drivereknél,\n" +"amelyek nem megfelelően támogatják a textúra hardverről való letöltését." #: src/settings_translation_file.cpp msgid "" @@ -7179,22 +7508,41 @@ msgid "" "This is also used as the base node texture size for world-aligned\n" "texture autoscaling." msgstr "" +"A bilineáris/trilineáris/anizotróp szűrők használatakor, a kis felbontású " +"textúrák\n" +"homályosak lehetnek, ezért automatikusan felskálázza őket legközelebbi\n" +"szomszéd módszerrel, hogy megőrizze az éles pixeleket. Ez a beállítás " +"meghatározza\n" +"a minimális textúraméretet a felnagyított textúrákhoz; magasabb értéknél " +"élesebb,\n" +"de több memóriát igényel. 2 hatványait ajánlott használni. CSAK akkor " +"érvényes ez a\n" +"beállítás, ha a bilineáris/trilineáris/anizotróp szűrés engedélyezett.\n" +"Ez egyben azon blokkok alap textúraméreteként is használatos, amelyeknél a " +"világhoz\n" +"igazítva kell méretezni a textúrát." #: src/settings_translation_file.cpp msgid "" "Whether name tag backgrounds should be shown by default.\n" "Mods may still set a background." msgstr "" +"Látszódjon-e a névcímkék háttere alapértelmezésként.\n" +"A modok ettől még a beállíthatják a hátteret." #: src/settings_translation_file.cpp msgid "Whether node texture animations should be desynchronized per mapblock." msgstr "" +"Legyen-e független a blokkok textúraanimációinak időzítése az egyes " +"térképblokkokban." #: 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 "" +"Lássák-e a játékosokat a kliensek mindenféle távolsági korlát nélkül.\n" +"Elavult, használd a player_transfer_distance beállítást ehelyett." #: src/settings_translation_file.cpp msgid "Whether to allow players to damage and kill each other." @@ -7219,6 +7567,10 @@ msgid "" "In-game, you can toggle the mute state with the mute key or by using the\n" "pause menu." msgstr "" +"Némítsuk-e le a hangokat. Bármikor visszakapcsolhatod a hangokat, kivéve,\n" +"ha a hangrendszer le van tiltva (enable_sound=false).\n" +"A játékon belül a némítás állapotát a némítás gombbal vagy a szünet\n" +"menüben tudod beállítani." #: src/settings_translation_file.cpp msgid "" @@ -7229,6 +7581,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Width component of the initial window size. Ignored in fullscreen mode." msgstr "" +"A kezdőablak szélessége. Teljes képernyős módban nem kerül figyelmbe vételre." #: src/settings_translation_file.cpp msgid "Width of the selection box lines around nodes." @@ -7265,10 +7618,18 @@ msgid "" "See also texture_min_size.\n" "Warning: This option is EXPERIMENTAL!" msgstr "" +"A világhoz igazított textúrák több blokkra is ki kiterjedhetnek. A szerver\n" +"azonban nem biztos, hogy az általad kívánt módon terjeszti ki azt, különösen," +"\n" +"ha egyedi tervezésű textúracsomagról van szó; ezzel a beállítással a kliens\n" +"megpróbálja automatikusan meghatározni a méretezést a textúra mérete alapján." +"\n" +"Lásd még texture_min_size.\n" +"Figyelem: Ez KÍSÉRLETI beállítás!" #: src/settings_translation_file.cpp msgid "World-aligned textures mode" -msgstr "" +msgstr "Világhoz igazított textúrakezelési mód" #: src/settings_translation_file.cpp msgid "Y of flat ground." @@ -7279,6 +7640,8 @@ msgid "" "Y of mountain density gradient zero level. Used to shift mountains " "vertically." msgstr "" +"A hegyek sűrűséggradiensének alapsíkjának Y koordinátája. A hegyek " +"függőleges eltolásához használatos." #: src/settings_translation_file.cpp msgid "Y of upper limit of large caves." @@ -7295,6 +7658,12 @@ msgid "" "For a solid floatland layer, this controls the height of hills/mountains.\n" "Must be less than or equal to half the distance between the Y limits." msgstr "" +"Az az Y irányú távolság, amely során a lebegő földek a maximális sűrűségtől " +"kezdve teljesen elvékonyodnak.\n" +"A vékonyítás ennél az Y határtól való távolságnál kezdőik.\n" +"Egybefüggő lebegő föld rétegek esetén, ez a beállítás szabályozza a dombok/" +"hegyek magasságát.\n" +"Kisebbnek vagy egyenlőnek kell lennie az Y határok közötti távolság felénél." #: src/settings_translation_file.cpp msgid "Y-level of average terrain surface." -- cgit v1.2.3 From 9205f102082e44501b7f45b7293df208f7e336ef Mon Sep 17 00:00:00 2001 From: "Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi" Date: Wed, 26 Jan 2022 08:23:46 +0000 Subject: Translated using Weblate (Malay) Currently translated at 100.0% (1416 of 1416 strings) --- po/ms/minetest.po | 65 ++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 34 deletions(-) diff --git a/po/ms/minetest.po b/po/ms/minetest.po index 621903823..e1d067e79 100644 --- a/po/ms/minetest.po +++ b/po/ms/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Malay (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2022-01-10 23:53+0000\n" +"PO-Revision-Date: 2022-01-30 18:51+0000\n" "Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat " "Yasuyoshi \n" "Language-Team: Malay Date: Wed, 26 Jan 2022 14:10:04 +0000 Subject: Translated using Weblate (Slovak) Currently translated at 100.0% (1416 of 1416 strings) --- po/sk/minetest.po | 44 +++++++++++++++++++------------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/po/sk/minetest.po b/po/sk/minetest.po index 99ff01005..22cf8e570 100644 --- a/po/sk/minetest.po +++ b/po/sk/minetest.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2021-12-02 01:31+0000\n" +"PO-Revision-Date: 2022-01-26 22:42+0000\n" "Last-Translator: Marian \n" "Language-Team: Slovak \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -3370,6 +3370,8 @@ msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." msgstr "" +"Povolí kompromis, ktorý zníži zaťaženie CPU, alebo zvýši výkon renderovania\n" +"za cenu drobných vizuálnych chýb, ktoré neovplyvnia hrateľnosť." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3575,17 +3577,15 @@ msgstr "Veľkosť písma" #: src/settings_translation_file.cpp msgid "Font size divisible by" -msgstr "" +msgstr "Veľkosť písma deliteľná" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" -msgstr "Veľkosť písma štandardného písma v bodoch (pt)." +msgstr "Veľkosť písma štandardného fontu, kde 1jednotka = 1 pixel pri 96 DPI" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" -msgstr "Veľkosť písma s pevnou šírkou v bodoch (pt)." +msgstr "Veľkosť písma s pevnou šírkou, kde 1jednotka = 1 pixel pri 96 DPI" #: src/settings_translation_file.cpp msgid "" @@ -3606,6 +3606,13 @@ msgid "" "be\n" "sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" +"Pre pixelové písma, ktoré sa zle škálujú, toto zabezpečí, že použité " +"veľkosti písma\n" +"s týmto fontom budú vždy deliteľné touto hodnotou v pixeloch. Napríklad,\n" +"pixelové písmo vysoké 16 pixelov, by malo mať toto nastavené na 16, aby sa " +"veľkosť\n" +"menila len na hodnoty 16, 32, 48, atď., takže rozšírenie požadujúce veľkosť " +"25 dostane 32." #: src/settings_translation_file.cpp msgid "" @@ -5771,9 +5778,8 @@ msgid "Monospace font size" msgstr "Veľkosť písmo s pevnou šírkou" #: src/settings_translation_file.cpp -#, fuzzy msgid "Monospace font size divisible by" -msgstr "Veľkosť písmo s pevnou šírkou" +msgstr "Veľkosť písma s pevnou šírkou deliteľná" #: src/settings_translation_file.cpp msgid "Mountain height noise" @@ -5952,16 +5958,12 @@ msgid "Optional override for chat weblink color." msgstr "Voliteľná zmena farby webového odkazu v komunikačnej konzole." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" -"Cesta k záložnému písmu.\n" -"Ak je aktívne nastavenie “freetype”: Musí to byť TrueType písmo.\n" -"Ak je zakázané nastavenie “freetype”: Musí to byť bitmapové, alebo XML " -"vektorové písmo.\n" +"Cesta k záložnému písmu. Musí to byť TrueType font.\n" "Toto písmo bude použité pre určité jazyky, alebo ak nie je štandardné písmo " "k dispozícií." @@ -5987,27 +5989,19 @@ msgid "Path to texture directory. All textures are first searched from here." msgstr "Cesta do adresára s textúrami. Všetky textúry sú najprv hľadané tu." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" -"Cesta k štandardnému písmu.\n" -"Ak je aktivné nastavenie “freetype”: Musí to byť TrueType písmo.\n" -"Ak je zakázané nastavenie “freetype”: Musí to byť bitmapové, alebo XML " -"vektorové písmo.\n" +"Cesta k štandardnému písmu. Musí to byť TrueType font.\n" "Bude použité záložné písmo, ak nebude možné písmo nahrať." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" -"Cesta k písmu s pevnou šírkou.\n" -"Ak je aktívne nastavenie “freetype”: Musí to byť TrueType písmo.\n" -"Ak je zakázané nastavenie “freetype”: Musí to byť bitmapové, alebo XML " -"vektorové písmo.\n" +"Cesta k písmu s pevnou šírkou. Musí to byť TrueType font.\n" "Toto písmo je použité pre napr. konzolu a okno profilera." #: src/settings_translation_file.cpp @@ -7103,7 +7097,7 @@ msgstr "Prah citlivosti dotykovej obrazovky" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "Kompromisy za výkon" #: src/settings_translation_file.cpp msgid "Trees noise" -- cgit v1.2.3 From f3e23ae9723d7d0ce95ebd90949291f3a5dc55bb Mon Sep 17 00:00:00 2001 From: BreadW Date: Thu, 27 Jan 2022 12:32:26 +0000 Subject: Translated using Weblate (Japanese) Currently translated at 100.0% (1416 of 1416 strings) --- po/ja/minetest.po | 49 ++++++++++++++++++------------------------------- 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/po/ja/minetest.po b/po/ja/minetest.po index 86e6922ef..722f8a728 100644 --- a/po/ja/minetest.po +++ b/po/ja/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Japanese (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2021-12-05 13:51+0000\n" +"PO-Revision-Date: 2022-01-29 21:28+0000\n" "Last-Translator: BreadW \n" "Language-Team: Japanese \n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -771,7 +771,7 @@ msgstr "インターネット接続を確認し、公開サーバー一覧を再 #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "About" +msgstr "情報" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" @@ -3347,6 +3347,8 @@ msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." msgstr "" +"ゲームのプレイアビリティに影響を与えない小さな視覚的な不具合を犠牲にして\n" +"CPU負荷を軽減するか、レンダリングパフォーマンスを向上させるトレードオフを有効にします。" #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3548,17 +3550,15 @@ msgstr "フォントの大きさ" #: src/settings_translation_file.cpp msgid "Font size divisible by" -msgstr "" +msgstr "割り切れるフォントサイズ" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" -msgstr "既定のフォントのフォント サイズ (pt)。" +msgstr "96 DPIで1ユニット=1ピクセルとなる既定のフォントのフォントサイズ" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" -msgstr "固定幅フォントのフォントサイズ (pt)。" +msgstr "96 DPIで1ユニット=1ピクセルとなる固定幅フォントのフォントサイズ" #: src/settings_translation_file.cpp msgid "" @@ -3578,6 +3578,10 @@ msgid "" "be\n" "sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" +"拡大縮小がうまくいかないピクセルスタイルのフォントの場合、このフォントで\n" +"使用されるフォントサイズは、常にこの値で割り切れます。例えば高さ16ピクセルの\n" +"ピクセルフォントの場合、この値を16に設定すると、16、32、48などのサイズにしか\n" +"なりませんので、25のサイズを要求したMODは32を取得します。" #: src/settings_translation_file.cpp msgid "" @@ -5724,9 +5728,8 @@ msgid "Monospace font size" msgstr "固定幅フォントのサイズ" #: src/settings_translation_file.cpp -#, fuzzy msgid "Monospace font size divisible by" -msgstr "固定幅フォントのサイズ" +msgstr "割り切れる固定幅フォントのサイズ" #: src/settings_translation_file.cpp msgid "Mountain height noise" @@ -5906,19 +5909,13 @@ msgid "Optional override for chat weblink color." msgstr "チャットのウェブリンクの色を上書きするオプションです。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" -"フォールバックフォントのパス。\n" -"「フリータイプフォント」が有効な場合:TrueTypeフォントでなければなりませ" -"ん。\n" -"「フリータイプフォント」が無効な場合:ビットマップまたはXMLベクターフォント\n" -"でなければなりません。\n" -"このフォントは特定の言語で使用されるか、規定のフォントが使用できない\n" -"ときに使用されます。" +"フォールバックフォントのパス。TrueType フォントでなければなりません。\n" +"このフォントは特定の言語か、規定のフォントが使用できないときに使用されます。" #: src/settings_translation_file.cpp msgid "" @@ -5943,29 +5940,19 @@ msgstr "" "検索されます。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" -"既定のフォントのパス。\n" -"「フリータイプフォント」が有効な場合:TrueTypeフォントでなければなりませ" -"ん。\n" -"「フリータイプフォント」が無効な場合:ビットマップまたはXMLベクターフォント\n" -"でなければなりません。\n" +"既定のフォントのパス。TrueType フォントでなければなりません。\n" "このフォールバックフォントはフォントが読み込めないときに使用されます。" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" -"固定幅フォントのパス。\n" -"「フリータイプフォント」が有効な場合:TrueTypeフォントでなければなりませ" -"ん。\n" -"「フリータイプフォント」が無効な場合:ビットマップまたはXMLベクターフォント\n" -"でなければなりません。\n" +"固定幅フォントのパス。TrueType フォントでなければなりません。\n" "このフォントはコンソールや観測記録画面などで使用されます。" #: src/settings_translation_file.cpp @@ -7047,7 +7034,7 @@ msgstr "タッチスクリーンのしきい値" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "パフォーマンスのためのトレードオフ" #: src/settings_translation_file.cpp msgid "Trees noise" -- cgit v1.2.3 From fcd06d99c66c1e67e733d3750e2e36c2196e92bf Mon Sep 17 00:00:00 2001 From: waxtatect Date: Fri, 28 Jan 2022 19:35:24 +0000 Subject: Translated using Weblate (French) Currently translated at 100.0% (1416 of 1416 strings) --- po/fr/minetest.po | 103 ++++++++++++++++++++++++++---------------------------- 1 file changed, 49 insertions(+), 54 deletions(-) diff --git a/po/fr/minetest.po b/po/fr/minetest.po index eac97c69a..551052004 100644 --- a/po/fr/minetest.po +++ b/po/fr/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: French (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2022-01-10 23:53+0000\n" -"Last-Translator: AFCMS \n" +"PO-Revision-Date: 2022-01-29 00:17+0000\n" +"Last-Translator: waxtatect \n" "Language-Team: French \n" "Language: fr\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -803,9 +803,9 @@ msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" -"Ouvre le répertoire qui contient les mondes fournis par les utilisateurs, " -"les jeux, les mods,\n" -"et des paquets de textures dans un gestionnaire de fichiers." +"Ouvre le répertoire qui contient les mondes, les jeux, les mods et les packs " +"de textures\n" +"fournis par l'utilisateur dans un gestionnaire de fichiers/explorateur." #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" @@ -2577,15 +2577,15 @@ msgstr "Chemin de la police en gras et en italique" #: src/settings_translation_file.cpp msgid "Bold and italic monospace font path" -msgstr "Chemin de la police Monospace en gras et en italique" +msgstr "Chemin de la police monospace en gras et en italique" #: src/settings_translation_file.cpp msgid "Bold font path" -msgstr "Chemin du fichier de police en gras" +msgstr "Chemin de la police en gras" #: src/settings_translation_file.cpp msgid "Bold monospace font path" -msgstr "Chemin de la police Monospace en gras" +msgstr "Chemin de la police monospace en gras" #: src/settings_translation_file.cpp msgid "Build inside player" @@ -2684,7 +2684,7 @@ msgstr "Commandes de tchat" #: src/settings_translation_file.cpp msgid "Chat font size" -msgstr "Taille de police du tchat" +msgstr "Taille de la police du tchat" #: src/settings_translation_file.cpp msgid "Chat key" @@ -3389,6 +3389,9 @@ msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." msgstr "" +"Active les compromis qui réduisent la charge du CPU ou augmentent les " +"performances de rendu au détriment de problèmes visuels mineurs qui n'ont " +"pas d'impact sur la jouabilité du jeu." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3434,7 +3437,7 @@ msgstr "Intensité du mouvement de tête en tombant" #: src/settings_translation_file.cpp msgid "Fallback font path" -msgstr "Chemin de police alternative" +msgstr "Chemin de la police alternative" #: src/settings_translation_file.cpp msgid "Fast key" @@ -3575,11 +3578,11 @@ msgstr "Touche brouillard" #: src/settings_translation_file.cpp msgid "Font bold by default" -msgstr "La police est en gras par défaut" +msgstr "Police en gras par défaut" #: src/settings_translation_file.cpp msgid "Font italic by default" -msgstr "La police est en italique par défaut" +msgstr "Police en italique par défaut" #: src/settings_translation_file.cpp msgid "Font shadow" @@ -3591,28 +3594,26 @@ msgstr "Opacité de l'ombre de la police" #: src/settings_translation_file.cpp msgid "Font size" -msgstr "Taille de police" +msgstr "Taille de la police" #: src/settings_translation_file.cpp msgid "Font size divisible by" -msgstr "" +msgstr "Taille de la police divisible par" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" -msgstr "La taille de police par défaut en point (pt)." +msgstr "Taille de la police par défaut où 1 unité = 1 pixel à 96 PPP" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" -msgstr "Taille de police monospace en point (pt)." +msgstr "Taille de la police monospace où 1 unité = 1 pixel à 96 PPP" #: src/settings_translation_file.cpp msgid "" "Font size of the recent chat text and chat prompt in point (pt).\n" "Value 0 will use the default font size." msgstr "" -"Taille de police des messages récents de tchat et de l'invité de tchat en " +"Taille de la police des messages récents de tchat et de l'invité de tchat en " "point (pt).\n" "La valeur 0 utilise la taille de police par défaut." @@ -3626,6 +3627,12 @@ msgid "" "be\n" "sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" +"Pour les polices de style pixel qui ne s'adaptent pas bien, cela garantit " +"que les tailles de police utilisées avec cette police seront toujours " +"divisibles par cette valeur, en pixels. Par exemple une police de style " +"pixel de 16 pixels de haut doit avoir cette valeur définie sur 16, alors " +"elle ne sera jamais que de taille 16, 32, 48, etc., donc un mod demandant " +"une taille de 25 obtiendra 32." #: src/settings_translation_file.cpp msgid "" @@ -4323,11 +4330,11 @@ msgstr "Inverser les mouvements verticaux de la souris." #: src/settings_translation_file.cpp msgid "Italic font path" -msgstr "Chemin de la police Italique" +msgstr "Chemin de la police italique" #: src/settings_translation_file.cpp msgid "Italic monospace font path" -msgstr "Chemin de la police Italique Monospace" +msgstr "Chemin de la police monospace en italique" #: src/settings_translation_file.cpp msgid "Item entity TTL" @@ -5810,16 +5817,15 @@ msgstr "Modifie la taille des éléments de l'interface." #: src/settings_translation_file.cpp msgid "Monospace font path" -msgstr "Chemin de la police Monospace" +msgstr "Chemin de la police monospace" #: src/settings_translation_file.cpp msgid "Monospace font size" -msgstr "Taille de police monospace" +msgstr "Taille de la police monospace" #: src/settings_translation_file.cpp -#, fuzzy msgid "Monospace font size divisible by" -msgstr "Taille de police monospace" +msgstr "Taille de la police monospace divisible par" #: src/settings_translation_file.cpp msgid "Mountain height noise" @@ -6007,25 +6013,21 @@ msgid "Optional override for chat weblink color." msgstr "Remplacement optionnel pour la couleur du lien web du tchat." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" -"Chemin de la police de repli.\n" -"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" -"Si le paramètre « freetype » est désactivé : doit être une police de " -"vecteurs bitmap ou XML.\n" +"Chemin de la police alternative. Doit être une police TrueType.\n" "Cette police sera utilisée pour certaines langues ou si la police par défaut " -"n’est pas disponible." +"est indisponible." #: src/settings_translation_file.cpp msgid "" "Path to save screenshots at. Can be an absolute or relative path.\n" "The folder will be created if it doesn't already exist." msgstr "" -"Chemin d'accès pour les captures d'écran (absolu ou relatif).\n" +"Chemin pour enregistrer les captures d'écran (absolu ou relatif).\n" "La création du dossier sera faite si besoin." #: src/settings_translation_file.cpp @@ -6043,27 +6045,19 @@ msgstr "" "cherchées dans ce dossier." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" -"Chemin vers la police par défaut.\n" -"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" -"Si le paramètre « freetype » est désactivé : doit être une police de " -"vecteurs bitmap ou XML.\n" -"La police de rentrée sera utilisée si la police ne peut pas être chargée." +"Chemin de la police par défaut. Doit être une police TrueType.\n" +"La police alternative sera utilisée si la police ne peut pas être chargée." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" -"Chemin vers la police monospace.\n" -"Si le paramètre « freetype » est activé : doit être une police TrueType.\n" -"Si le paramètre « freetype » est désactivé : doit être une police de " -"vecteurs bitmap ou XML.\n" +"Chemin de la police monospace. Doit être une police TrueType.\n" "Cette police est utilisée par exemple pour la console et l’écran du " "profileur." @@ -6222,7 +6216,7 @@ msgstr "Messages de discussion récents" #: src/settings_translation_file.cpp msgid "Regular font path" -msgstr "Chemin d'accès pour la police normale" +msgstr "Chemin de la police par défaut" #: src/settings_translation_file.cpp msgid "Remote media" @@ -6959,12 +6953,13 @@ msgid "" "that is considered EXPERIMENTAL and may not work properly." msgstr "" "Les textures sur un nœud peuvent être alignées soit sur le nœud, soit sur le " -"monde. L'ancien mode convient mieux aux machines, aux meubles, etc. ce " -"dernier rend les escaliers et les microblocs mieux adaptés à " -"l'environnement. Cependant, comme cette possibilité est nouvelle, elle ne " -"peut donc pas être utilisée par les anciens serveurs, cette option permet de " -"l'appliquer pour certains types de nœuds. Noter cependant que c'est " -"considéré comme EXPÉRIMENTAL et peut ne pas fonctionner correctement." +"monde. Le premier mode convient mieux aux choses comme des machines, des " +"meubles, etc., tandis que le second rend les escaliers et les microblocs " +"mieux adaptés à l'environnement. Cependant, comme cette possibilité est " +"nouvelle, elle ne peut donc pas être utilisée par les anciens serveurs, " +"cette option permet de l'appliquer pour certains types de nœuds. Noter " +"cependant que c'est considéré comme EXPÉRIMENTAL et peut ne pas fonctionner " +"correctement." #: src/settings_translation_file.cpp msgid "The URL for the content repository" @@ -7197,7 +7192,7 @@ msgstr "Sensibilité de l'écran tactile" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "Compromis pour la performance" #: src/settings_translation_file.cpp msgid "Trees noise" @@ -7538,8 +7533,8 @@ msgstr "" "nécessitent plus de mémoire. Les puissances de 2 sont recommandées. Ce " "paramètre est appliqué uniquement si le filtrage bilinéaire/trilinéaire/" "anisotrope est activé.\n" -"Ceci est également utilisée comme taille de texture de nœud par défaut pour " -"l'agrandissement des textures basé sur le monde." +"Ceci est également utilisée comme taille de texture de nœud de base pour " +"l'agrandissement automatique des textures alignées sur le monde." #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 7c393f8658b8072b1238de39fec43f7348166602 Mon Sep 17 00:00:00 2001 From: Andrij Mizyk Date: Sat, 29 Jan 2022 18:05:43 +0000 Subject: Translated using Weblate (Ukrainian) Currently translated at 48.7% (691 of 1416 strings) --- po/uk/minetest.po | 622 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 327 insertions(+), 295 deletions(-) diff --git a/po/uk/minetest.po b/po/uk/minetest.po index 3e0cf4e3b..aa2928099 100644 --- a/po/uk/minetest.po +++ b/po/uk/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Ukrainian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2021-06-07 14:33+0000\n" +"PO-Revision-Date: 2022-01-30 18:51+0000\n" "Last-Translator: Andrij Mizyk \n" "Language-Team: Ukrainian \n" @@ -13,40 +13,35 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" -msgstr "" +msgstr "Очистити чергу чату" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Empty command." -msgstr "Команди чату" +msgstr "Порожня команда." #: builtin/client/chatcommands.lua -#, fuzzy msgid "Exit to main menu" -msgstr "Вихід в меню" +msgstr "Вихід в основне меню" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Invalid command: " -msgstr "Команда (локальна)" +msgstr "Неправильна команда: " #: builtin/client/chatcommands.lua msgid "Issued command: " -msgstr "" +msgstr "Проблемна команда: " #: builtin/client/chatcommands.lua -#, fuzzy msgid "List online players" -msgstr "Одиночна гра" +msgstr "Список гравців у мережі" #: builtin/client/chatcommands.lua -#, fuzzy msgid "Online players: " -msgstr "Одиночна гра" +msgstr "Гравці в мережі: " #: builtin/client/chatcommands.lua msgid "The out chat queue is now empty." @@ -54,7 +49,7 @@ msgstr "" #: builtin/client/chatcommands.lua msgid "This command is disabled by server." -msgstr "" +msgstr "Ця команда вимкнена на сервері." #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" @@ -65,22 +60,20 @@ msgid "You died" msgstr "Ви загинули" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands:" -msgstr "Команда (локальна)" +msgstr "Доступні команди:" #: builtin/common/chatcommands.lua -#, fuzzy msgid "Available commands: " -msgstr "Команда (локальна)" +msgstr "Доступні команди: " #: builtin/common/chatcommands.lua msgid "Command not available: " -msgstr "" +msgstr "Команда не доступна: " #: builtin/common/chatcommands.lua msgid "Get help for commands" -msgstr "" +msgstr "Отримати довідку для команд" #: builtin/common/chatcommands.lua msgid "" @@ -93,7 +86,7 @@ msgstr "" #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" -msgstr "ОК" +msgstr "Добре" #: builtin/fstk/ui.lua msgid "" @@ -101,7 +94,7 @@ msgstr "" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" -msgstr "Трапилася помилка у скрипті Lua:" +msgstr "Трапилася помилка в скрипті Lua:" #: builtin/fstk/ui.lua msgid "An error occurred:" @@ -109,11 +102,11 @@ msgstr "Трапилася помилка:" #: builtin/fstk/ui.lua msgid "Main menu" -msgstr "Головне меню" +msgstr "Основне меню" #: builtin/fstk/ui.lua msgid "Reconnect" -msgstr "Перепідключення" +msgstr "Перезʼєднання" #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" @@ -302,9 +295,8 @@ msgid "Install missing dependencies" msgstr "Встановити відсутні залежності" #: builtin/mainmenu/dlg_contentstore.lua -#, fuzzy msgid "Install: Unsupported file type or broken archive" -msgstr "Встановлення: тип файлу \"$1\" не підтримується або архів пошкоджено" +msgstr "Установлення: Непідтримуваний тип файлу або пошкоджений архів" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua @@ -634,7 +626,6 @@ msgid "Offset" msgstr "Зсув" #: builtin/mainmenu/dlg_settings_advanced.lua -#, fuzzy msgid "Persistence" msgstr "Постійність" @@ -782,24 +773,23 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "About" -msgstr "" +msgstr "Про" #: builtin/mainmenu/tab_about.lua msgid "Active Contributors" -msgstr "Активні учасники" +msgstr "Активні співрозробники" #: builtin/mainmenu/tab_about.lua -#, fuzzy msgid "Active renderer:" -msgstr "Діапазон відправлення активних блоків" +msgstr "Активний промальовувач:" #: builtin/mainmenu/tab_about.lua msgid "Core Developers" -msgstr "Розробники ядра" +msgstr "Основні розробники" #: builtin/mainmenu/tab_about.lua msgid "Open User Data Directory" -msgstr "Відкрийте каталог користувацьких даних" +msgstr "Відкрити каталог користувацьких даних" #: builtin/mainmenu/tab_about.lua msgid "" @@ -811,19 +801,19 @@ msgstr "" #: builtin/mainmenu/tab_about.lua msgid "Previous Contributors" -msgstr "Попередні учасники" +msgstr "Попередні співрозробники" #: builtin/mainmenu/tab_about.lua msgid "Previous Core Developers" -msgstr "Попередні розробники ядра" +msgstr "Попередні основні розробники" #: builtin/mainmenu/tab_content.lua msgid "Browse online content" -msgstr "Переглянути контент у мережі" +msgstr "Оглянути вміст у мережі" #: builtin/mainmenu/tab_content.lua msgid "Content" -msgstr "Контент" +msgstr "Вміст" #: builtin/mainmenu/tab_content.lua msgid "Disable Texture Pack" @@ -855,11 +845,11 @@ msgstr "Видалити пакунок" #: builtin/mainmenu/tab_content.lua msgid "Use Texture Pack" -msgstr "Увімкнути набір текстур" +msgstr "Викор. набір текстур" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" -msgstr "Публічний" +msgstr "Анонсувати сервер" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" @@ -867,11 +857,11 @@ msgstr "Закріпити адресу" #: builtin/mainmenu/tab_local.lua msgid "Creative Mode" -msgstr "Творчій режим" +msgstr "Творчий режим" #: builtin/mainmenu/tab_local.lua msgid "Enable Damage" -msgstr "Увімкнути ушкодження" +msgstr "Дозволити пошкодження" #: builtin/mainmenu/tab_local.lua msgid "Host Game" @@ -903,7 +893,7 @@ msgstr "Пароль" #: builtin/mainmenu/tab_local.lua msgid "Play Game" -msgstr "Грати" +msgstr "Грати гру" #: builtin/mainmenu/tab_local.lua builtin/mainmenu/tab_online.lua msgid "Port" @@ -926,9 +916,8 @@ msgid "Start Game" msgstr "Почати гру" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Address" -msgstr "- Адреса: " +msgstr "Адреса" #: builtin/mainmenu/tab_online.lua src/client/keycode.cpp msgid "Clear" @@ -936,50 +925,46 @@ msgstr "Очистити" #: builtin/mainmenu/tab_online.lua msgid "Connect" -msgstr "Під'єднатися" +msgstr "Зʼєднатися" #: builtin/mainmenu/tab_online.lua msgid "Creative mode" -msgstr "Творчій режим" +msgstr "Творчий режим" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Damage / PvP" -msgstr "Поранення" +msgstr "Пошкодження / ГпГ" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" -msgstr "Видалити з закладок" +msgstr "Видалити зі закладок" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Favorites" -msgstr "Закладки" +msgstr "Відібрані" #: builtin/mainmenu/tab_online.lua msgid "Incompatible Servers" -msgstr "" +msgstr "Несумісні сервери" #: builtin/mainmenu/tab_online.lua msgid "Join Game" -msgstr "Під'єднатися до гри" +msgstr "Долучитися до гри" #: builtin/mainmenu/tab_online.lua msgid "Ping" -msgstr "Пінг" +msgstr "Пінґ" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Public Servers" -msgstr "Публічний" +msgstr "Публічні сервери" #: builtin/mainmenu/tab_online.lua msgid "Refresh" -msgstr "" +msgstr "Оновити" #: builtin/mainmenu/tab_online.lua -#, fuzzy msgid "Server Description" msgstr "Опис сервера" @@ -1001,7 +986,7 @@ msgstr "8x" #: builtin/mainmenu/tab_settings.lua msgid "All Settings" -msgstr "Всі налаштування" +msgstr "Усі налаштування" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" @@ -1013,7 +998,7 @@ msgstr "Зберігати розмір вікна" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" -msgstr "Білінійна фільтрація" +msgstr "Дволінійне фільтрування" #: builtin/mainmenu/tab_settings.lua src/client/game.cpp msgid "Change Keys" @@ -1021,15 +1006,15 @@ msgstr "Змінити клавіші" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" -msgstr "З'єднане скло" +msgstr "Зʼєднане скло" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Dynamic shadows" -msgstr "" +msgstr "Динамічні тіні" #: builtin/mainmenu/tab_settings.lua msgid "Dynamic shadows: " -msgstr "" +msgstr "Динамічні тіні: " #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" @@ -1057,7 +1042,7 @@ msgstr "Міпмапи і анізотропний фільтр" #: builtin/mainmenu/tab_settings.lua msgid "No Filter" -msgstr "Без фільтрації" +msgstr "Без фільтрування" #: builtin/mainmenu/tab_settings.lua msgid "No Mipmap" @@ -1097,7 +1082,7 @@ msgstr "Налаштування" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" -msgstr "Шейдери" +msgstr "Відтінювачі" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (experimental)" @@ -1105,7 +1090,7 @@ msgstr "Відтінювачі (експериментальне)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" -msgstr "Шейдери (недоступно)" +msgstr "Відтінювачі (недоступно)" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" @@ -1157,15 +1142,15 @@ msgstr "Час очікування вийшов." #: src/client/client.cpp msgid "Done!" -msgstr "Виконано!" +msgstr "Готово!" #: src/client/client.cpp msgid "Initializing nodes" -msgstr "Ініціалізація блоків" +msgstr "Ініціалізування блоків" #: src/client/client.cpp msgid "Initializing nodes..." -msgstr "Ініціалізація блоків..." +msgstr "Ініціалізування блоків..." #: src/client/client.cpp msgid "Loading textures..." @@ -1177,12 +1162,11 @@ msgstr "Перебудова шейдерів..." #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" -msgstr "Помилка з'єднання (час вийшов?)" +msgstr "Помилка зʼєднання (час вийшов?)" #: src/client/clientlauncher.cpp -#, fuzzy msgid "Could not find or load game: " -msgstr "Неможливо знайти або завантажити гру \"" +msgstr "Неможливо знайти або завантажити гру: " #: src/client/clientlauncher.cpp msgid "Invalid gamespec." @@ -1190,7 +1174,7 @@ msgstr "Помилкова конфігурація gamespec." #: src/client/clientlauncher.cpp msgid "Main Menu" -msgstr "Головне Меню" +msgstr "Основне меню" #: src/client/clientlauncher.cpp msgid "No world selected and no address provided. Nothing to do." @@ -1198,11 +1182,11 @@ msgstr "Жоден світ не вибрано та не надано адре #: src/client/clientlauncher.cpp msgid "Player name too long." -msgstr "Ім'я гравця занадто довге." +msgstr "Імʼя гравця задовге." #: src/client/clientlauncher.cpp msgid "Please choose a name!" -msgstr "Будь-ласка введіть ім'я!" +msgstr "Будь-ласка, оберіть імʼя!" #: src/client/clientlauncher.cpp msgid "Provided password file failed to open: " @@ -1239,21 +1223,20 @@ msgstr "- Публічний: " #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " -msgstr "- PvP (бої): " +msgstr "- ГпГ (бої): " #: src/client/game.cpp msgid "- Server Name: " msgstr "- Назва сервера: " #: src/client/game.cpp -#, fuzzy msgid "A serialization error occurred:" -msgstr "Трапилася помилка:" +msgstr "Трапилася помилка серіалізації:" #: src/client/game.cpp #, c-format msgid "Access denied. Reason: %s" -msgstr "" +msgstr "Доступ відхилено. Причина: %s" #: src/client/game.cpp msgid "Automatic forward disabled" @@ -1304,9 +1287,8 @@ msgid "Cinematic mode enabled" msgstr "Кінорежим увімкнено" #: src/client/game.cpp -#, fuzzy msgid "Client disconnected" -msgstr "Клієнт-моди" +msgstr "Клієнта відʼєднано" #: src/client/game.cpp msgid "Client side scripting is disabled" @@ -1318,7 +1300,7 @@ msgstr "Підключення до сервера..." #: src/client/game.cpp msgid "Connection failed for unknown reason" -msgstr "" +msgstr "Невдале зʼєднання з невідомих причин" #: src/client/game.cpp msgid "Continue" @@ -1353,8 +1335,8 @@ msgstr "" "- %s: крастися/лізти вниз\n" "- %s: кинути предмет\n" "- %s: інвентар\n" -"- Mouse: поворот/дивитися\n" -"- Mouse wheel: вибір предмета\n" +"- Миша: поворот/дивитися\n" +"- Коліщатко миші: вибір предмета\n" "- %s: чат\n" #: src/client/game.cpp @@ -1420,11 +1402,11 @@ msgstr "Необмежена видимість (повільно)" #: src/client/game.cpp msgid "Exit to Menu" -msgstr "Вихід в меню" +msgstr "Вихід у меню" #: src/client/game.cpp msgid "Exit to OS" -msgstr "Вихід з гри" +msgstr "Вихід із гри" #: src/client/game.cpp msgid "Fast mode disabled" @@ -1491,9 +1473,8 @@ msgid "Minimap currently disabled by game or mod" msgstr "Мінімапа вимкнена грою або модифікацією" #: src/client/game.cpp -#, fuzzy msgid "Multiplayer" -msgstr "Одиночна гра" +msgstr "Багатокористувацька гра" #: src/client/game.cpp msgid "Noclip mode disabled" @@ -1513,11 +1494,11 @@ msgstr "Визначення блоків..." #: src/client/game.cpp msgid "Off" -msgstr "Вимкнено" +msgstr "Вимк." #: src/client/game.cpp msgid "On" -msgstr "Увімкнено" +msgstr "Увім." #: src/client/game.cpp msgid "Pitch move mode disabled" @@ -1612,23 +1593,23 @@ msgstr "Наближення (бінокль) вимкнено грою або #: src/client/game.cpp msgid "ok" -msgstr "гаразд" +msgstr "добре" #: src/client/gameui.cpp msgid "Chat hidden" -msgstr "Чат вимкнено" +msgstr "Чат сховано" #: src/client/gameui.cpp msgid "Chat shown" -msgstr "Чат увімкнено" +msgstr "Чат показано" #: src/client/gameui.cpp msgid "HUD hidden" -msgstr "Позначки на екрані вимкнено" +msgstr "HUD приховано" #: src/client/gameui.cpp msgid "HUD shown" -msgstr "Позначки на екрані увімкнено" +msgstr "HUD показано" #: src/client/gameui.cpp msgid "Profiler hidden" @@ -1645,7 +1626,7 @@ msgstr "Додатки" #: src/client/keycode.cpp msgid "Backspace" -msgstr "Назад (Backspace)" +msgstr "Backspace" #: src/client/keycode.cpp msgid "Caps Lock" @@ -1673,7 +1654,7 @@ msgstr "Виконати" #: src/client/keycode.cpp msgid "Help" -msgstr "Допомога" +msgstr "Довідка" #: src/client/keycode.cpp msgid "Home" @@ -1860,7 +1841,7 @@ msgstr "Scroll Lock" #. ~ Key name #: src/client/keycode.cpp msgid "Select" -msgstr "Обрати" +msgstr "Вибрати" #: src/client/keycode.cpp msgid "Shift" @@ -1872,7 +1853,7 @@ msgstr "Сон" #: src/client/keycode.cpp msgid "Snapshot" -msgstr "Знімок" +msgstr "Зріз" #: src/client/keycode.cpp msgid "Space" @@ -1913,18 +1894,16 @@ msgid "Minimap in surface mode, Zoom x%d" msgstr "Мінімапа в режимі поверхні. Наближення x%d" #: src/client/minimap.cpp -#, fuzzy msgid "Minimap in texture mode" -msgstr "Мінімапа в режимі поверхня. Наближення х1" +msgstr "Мінімапа в текстурному режимі" #: src/gui/guiChatConsole.cpp -#, fuzzy msgid "Failed to open webpage" -msgstr "Не вдалося завантажити $1" +msgstr "Не вдалося завантажити вебсторінку" #: src/gui/guiChatConsole.cpp msgid "Opening webpage" -msgstr "" +msgstr "Відкривання вебсторінки" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" @@ -1954,9 +1933,8 @@ msgid "Proceed" msgstr "Далі" #: src/gui/guiKeyChangeMenu.cpp -#, fuzzy msgid "\"Aux1\" = climb down" -msgstr "Спеціальна = спускатися" +msgstr "\"Aux1\" = лізти вниз" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" @@ -1968,7 +1946,7 @@ msgstr "Автоматичне перестрибування" #: src/gui/guiKeyChangeMenu.cpp msgid "Aux1" -msgstr "" +msgstr "Aux1" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" @@ -2042,7 +2020,7 @@ msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Local command" -msgstr "Команда (локальна)" +msgstr "Локальна команда" #: src/gui/guiKeyChangeMenu.cpp msgid "Mute" @@ -2050,11 +2028,11 @@ msgstr "Вимкнути звук" #: src/gui/guiKeyChangeMenu.cpp msgid "Next item" -msgstr "Наступний слот" +msgstr "Наступний предмет" #: src/gui/guiKeyChangeMenu.cpp msgid "Prev. item" -msgstr "Попередній слот" +msgstr "Попередній предмет" #: src/gui/guiKeyChangeMenu.cpp msgid "Range select" @@ -2062,7 +2040,7 @@ msgstr "Вибір діапазону" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Screenshot" -msgstr "Знімок екрану" +msgstr "Знімок екрана" #: src/gui/guiKeyChangeMenu.cpp msgid "Sneak" @@ -2070,11 +2048,11 @@ msgstr "Крастися" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle HUD" -msgstr "Увімкнути позначки на екрані" +msgstr "Увімкнути HUD" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle chat log" -msgstr "Увімкнути чат (журнал)" +msgstr "Увімкнути журнал чату" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fast" @@ -2102,7 +2080,7 @@ msgstr "Увімкнути висотний рух" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" -msgstr "виберіть" +msgstr "натисніть клавішу" #: src/gui/guiPasswordChange.cpp msgid "Change" @@ -2110,7 +2088,7 @@ msgstr "Змінити" #: src/gui/guiPasswordChange.cpp msgid "Confirm Password" -msgstr "Підтвердити новий пароль" +msgstr "Підтвердіть пароль" #: src/gui/guiPasswordChange.cpp msgid "New Password" @@ -2129,9 +2107,9 @@ msgid "Muted" msgstr "Звук вимкнено" #: src/gui/guiVolumeChange.cpp -#, fuzzy, c-format +#, c-format msgid "Sound Volume: %d%%" -msgstr "Гучність звуку: " +msgstr "Гучність звуку: %d%%" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. @@ -2156,16 +2134,15 @@ msgstr "" "дотику." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "(Android) Use virtual joystick to trigger \"Aux1\" button.\n" "If enabled, virtual joystick will also tap \"Aux1\" button when out of main " "circle." msgstr "" -"(Android) Використовувати віртуальний джойстик для активації кнопки \"aux" -"\".\n" -"Якщо увімкнено, віртуальний джойстик також натисне \"aux\", коли поза межами " -"головного кола." +"(Android) Використовувати віртуальний джойстик для активації кнопки \"Aux1\"." +"\n" +"Якщо ввімкнено, віртуальний джойстик також натисне \"Aux1\", коли поза " +"межами головного кола." #: src/settings_translation_file.cpp msgid "" @@ -2235,7 +2212,7 @@ msgstr "2D шум що розміщує долини та русла річок. #: src/settings_translation_file.cpp msgid "3D clouds" -msgstr "Об'ємні хмари" +msgstr "Обʼємні хмари" #: src/settings_translation_file.cpp msgid "3D mode" @@ -2341,7 +2318,7 @@ msgstr "Абсолютний ліміт відображення блоків з #: src/settings_translation_file.cpp msgid "Acceleration in air" -msgstr "Прискорення у повітрі" +msgstr "Прискорення в повітрі" #: src/settings_translation_file.cpp msgid "Acceleration of gravity, in nodes per second per second." @@ -2496,7 +2473,6 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Automatic forward key" msgstr "Клавіша автоматичного руху вперед" @@ -2517,18 +2493,16 @@ msgid "Autoscaling mode" msgstr "Режим автомасштабування" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key" -msgstr "Стрибок" +msgstr "Клавіша Aux1" #: src/settings_translation_file.cpp -#, fuzzy msgid "Aux1 key for climbing/descending" -msgstr "Спеціальна клавіша для руху вгору/вниз" +msgstr "Клавіша Aux1 для піднімання/спуску" #: src/settings_translation_file.cpp msgid "Backward key" -msgstr "Назад" +msgstr "Клавіша Назад" #: src/settings_translation_file.cpp msgid "Base ground level" @@ -2673,7 +2647,6 @@ msgid "Chat command time message threshold" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat commands" msgstr "Команди чату" @@ -2707,12 +2680,11 @@ msgstr "Максимальна довжина повідомлення чату" #: src/settings_translation_file.cpp msgid "Chat toggle key" -msgstr "Чат" +msgstr "Клавіша увімкнення чату" #: src/settings_translation_file.cpp -#, fuzzy msgid "Chat weblinks" -msgstr "Чат увімкнено" +msgstr "Вебпосилання чату" #: src/settings_translation_file.cpp msgid "Chunk size" @@ -2724,7 +2696,7 @@ msgstr "Кінорежим" #: src/settings_translation_file.cpp msgid "Cinematic mode key" -msgstr "Кінорежим" +msgstr "Клавіша кінорежиму" #: src/settings_translation_file.cpp msgid "Clean transparent textures" @@ -2781,9 +2753,8 @@ msgid "Colored fog" msgstr "Кольоровий туман" #: src/settings_translation_file.cpp -#, fuzzy msgid "Colored shadows" -msgstr "Кольоровий туман" +msgstr "Кольорові тіні" #: src/settings_translation_file.cpp msgid "" @@ -2810,7 +2781,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Command key" -msgstr "Команда" +msgstr "Клавіша команди" #: src/settings_translation_file.cpp msgid "" @@ -2861,9 +2832,8 @@ msgid "ContentDB Max Concurrent Downloads" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "ContentDB URL" -msgstr "Додатки" +msgstr "URL ContentDB" #: src/settings_translation_file.cpp msgid "Continuous forward" @@ -2907,7 +2877,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Crash message" -msgstr "" +msgstr "Повідомлення збою" #: src/settings_translation_file.cpp msgid "Creative" @@ -2943,7 +2913,7 @@ msgstr "Поранення" #: src/settings_translation_file.cpp msgid "Debug info toggle key" -msgstr "" +msgstr "Клавіша увімкнення даних налагодження" #: src/settings_translation_file.cpp msgid "Debug log file size threshold" @@ -2951,11 +2921,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Debug log level" -msgstr "" +msgstr "Рівень журналу зневадження" #: src/settings_translation_file.cpp msgid "Dec. volume key" -msgstr "" +msgstr "Клавіша зменш. гучності" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." @@ -2991,12 +2961,11 @@ msgstr "Стандартні права" #: src/settings_translation_file.cpp msgid "Default report format" -msgstr "" +msgstr "Типовий формат звіту" #: src/settings_translation_file.cpp -#, fuzzy msgid "Default stack size" -msgstr "Стандартна гра" +msgstr "Типовий розмір стеку" #: src/settings_translation_file.cpp msgid "" @@ -3104,9 +3073,8 @@ msgid "Desynchronize block animation" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Dig key" -msgstr "Права клавіша" +msgstr "Клавіша Копати" #: src/settings_translation_file.cpp msgid "Digging particles" @@ -3138,7 +3106,7 @@ msgstr "Подвійне натискання кнопки стрибка вми #: src/settings_translation_file.cpp msgid "Drop item key" -msgstr "Кнопка для викидання предметів" +msgstr "Клавіша викидання предметів" #: src/settings_translation_file.cpp msgid "Dump the mapgen debug information." @@ -3183,11 +3151,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Enable console window" -msgstr "" +msgstr "Дозволити вікно консолі" #: src/settings_translation_file.cpp msgid "Enable creative mode for all players" -msgstr "" +msgstr "Дозволити режим творчості для всіх гравців" #: src/settings_translation_file.cpp msgid "Enable joysticks" @@ -3271,7 +3239,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." -msgstr "" +msgstr "Дозволити анімацію предметів інвентаря." #: src/settings_translation_file.cpp msgid "Enables caching of facedir rotated meshes." @@ -3314,9 +3282,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "FPS when unfocused or paused" -msgstr "Максимум FPS при паузі." +msgstr "FPS, коли призупинено або поза фокусом" #: src/settings_translation_file.cpp msgid "FSAA" @@ -3331,13 +3298,12 @@ msgid "Fall bobbing factor" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Fallback font path" -msgstr "Шлях до шрифту" +msgstr "Шлях до резервного шрифту" #: src/settings_translation_file.cpp msgid "Fast key" -msgstr "" +msgstr "Швидка клавіша" #: src/settings_translation_file.cpp msgid "Fast mode acceleration" @@ -3345,11 +3311,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fast mode speed" -msgstr "" +msgstr "Швидкість швидкого режиму" #: src/settings_translation_file.cpp msgid "Fast movement" -msgstr "" +msgstr "Швидкі рухи" #: src/settings_translation_file.cpp msgid "" @@ -3442,11 +3408,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fly key" -msgstr "Кнопка для польоту" +msgstr "Клавіша польоту" #: src/settings_translation_file.cpp msgid "Flying" -msgstr "" +msgstr "Політ" #: src/settings_translation_file.cpp msgid "Fog" @@ -3458,23 +3424,23 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Fog toggle key" -msgstr "" +msgstr "Клавіша ввімкнення туману" #: src/settings_translation_file.cpp msgid "Font bold by default" -msgstr "" +msgstr "Типовий грубий шрифт" #: src/settings_translation_file.cpp msgid "Font italic by default" -msgstr "" +msgstr "Типовий похилий шрифт" #: src/settings_translation_file.cpp msgid "Font shadow" -msgstr "" +msgstr "Тінь шрифту" #: src/settings_translation_file.cpp msgid "Font shadow alpha" -msgstr "" +msgstr "Альфа-тінь шрифту" #: src/settings_translation_file.cpp msgid "Font size" @@ -3518,7 +3484,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Format of screenshots." -msgstr "" +msgstr "Формат знімків екрана." #: src/settings_translation_file.cpp msgid "Formspec Default Background Color" @@ -3554,7 +3520,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Forward key" -msgstr "Вперед" +msgstr "Клавіша Вперед" #: src/settings_translation_file.cpp msgid "Fourth of 4 2D noises that together define hill/mountain range height." @@ -3657,7 +3623,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "HUD toggle key" -msgstr "" +msgstr "Клавіша ввімкнення HUD" #: src/settings_translation_file.cpp msgid "" @@ -3753,135 +3719,135 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Hotbar slot 1 key" -msgstr "" +msgstr "Клавіша слоту 1 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 10 key" -msgstr "" +msgstr "Клавіша слоту 10 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 11 key" -msgstr "" +msgstr "Клавіша слоту 11 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 12 key" -msgstr "" +msgstr "Клавіша слоту 12 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 13 key" -msgstr "" +msgstr "Клавіша слоту 13 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 14 key" -msgstr "" +msgstr "Клавіша слоту 14 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 15 key" -msgstr "" +msgstr "Клавіша слоту 15 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 16 key" -msgstr "" +msgstr "Клавіша слоту 16 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 17 key" -msgstr "" +msgstr "Клавіша слоту 17 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 18 key" -msgstr "" +msgstr "Клавіша слоту 18 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 19 key" -msgstr "" +msgstr "Клавіша слоту 19 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 2 key" -msgstr "" +msgstr "Клавіша слоту 2 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 20 key" -msgstr "" +msgstr "Клавіша слоту 20 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 21 key" -msgstr "" +msgstr "Клавіша слоту 21 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 22 key" -msgstr "" +msgstr "Клавіша слоту 22 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 23 key" -msgstr "" +msgstr "Клавіша слоту 23 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 24 key" -msgstr "" +msgstr "Клавіша слоту 24 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 25 key" -msgstr "" +msgstr "Клавіша слоту 25 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 26 key" -msgstr "" +msgstr "Клавіша слоту 26 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 27 key" -msgstr "" +msgstr "Клавіша слоту 27 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 28 key" -msgstr "" +msgstr "Клавіша слоту 28 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 29 key" -msgstr "" +msgstr "Клавіша слоту 29 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 3 key" -msgstr "" +msgstr "Клавіша слоту 3 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 30 key" -msgstr "" +msgstr "Клавіша слоту 30 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 31 key" -msgstr "" +msgstr "Клавіша слоту 31 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 32 key" -msgstr "" +msgstr "Клавіша слоту 32 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 4 key" -msgstr "" +msgstr "Клавіша слоту 4 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 5 key" -msgstr "" +msgstr "Клавіша слоту 5 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 6 key" -msgstr "" +msgstr "Клавіша слоту 6 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 7 key" -msgstr "" +msgstr "Клавіша слоту 7 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 8 key" -msgstr "" +msgstr "Клавіша слоту 8 швидкої панелі" #: src/settings_translation_file.cpp msgid "Hotbar slot 9 key" -msgstr "" +msgstr "Клавіша слоту 9 швидкої панелі" #: src/settings_translation_file.cpp msgid "How deep to make rivers." -msgstr "" +msgstr "Як глибоко робити ріки." #: src/settings_translation_file.cpp msgid "" @@ -3898,7 +3864,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "How wide to make rivers." -msgstr "" +msgstr "Як широко робити ріки." #: src/settings_translation_file.cpp msgid "Humidity blend noise" @@ -4015,7 +3981,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Ignore world errors" -msgstr "" +msgstr "Ігнорувати помилки світу" #: src/settings_translation_file.cpp msgid "In-Game" @@ -4035,7 +4001,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Inc. volume key" -msgstr "Збільшити гучність" +msgstr "Клавіша збільш. гучності" #: src/settings_translation_file.cpp msgid "Initial vertical speed when jumping, in nodes per second." @@ -4085,28 +4051,27 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Inventory items animations" -msgstr "" +msgstr "Анімація предметів інвентаря" #: src/settings_translation_file.cpp msgid "Inventory key" -msgstr "Інвентар" +msgstr "Клавіша інвентаря" #: src/settings_translation_file.cpp msgid "Invert mouse" -msgstr "" +msgstr "Інвертувати мишку" #: src/settings_translation_file.cpp msgid "Invert vertical mouse movement." -msgstr "" +msgstr "Інвертувати вертикальні рухи мишки." #: src/settings_translation_file.cpp -#, fuzzy msgid "Italic font path" -msgstr "Шлях до шрифту" +msgstr "Шлях до похилого шрифту" #: src/settings_translation_file.cpp msgid "Italic monospace font path" -msgstr "" +msgstr "Шлях до похилого моноширного шрифту" #: src/settings_translation_file.cpp msgid "Item entity TTL" @@ -4114,7 +4079,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Iterations" -msgstr "" +msgstr "Ітерації" #: src/settings_translation_file.cpp msgid "" @@ -4126,7 +4091,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Joystick ID" -msgstr "" +msgstr "ІД джойстика" #: src/settings_translation_file.cpp msgid "Joystick button repetition interval" @@ -4142,7 +4107,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Joystick type" -msgstr "" +msgstr "Тип джойстика" #: src/settings_translation_file.cpp msgid "" @@ -4195,11 +4160,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Jump key" -msgstr "Стрибок" +msgstr "Клавіша Стрибок" #: src/settings_translation_file.cpp msgid "Jumping speed" -msgstr "" +msgstr "Швидкість стрибання" #: src/settings_translation_file.cpp msgid "" @@ -4207,6 +4172,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для зменшення видимості.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4214,6 +4182,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для зменшення гучності.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4221,6 +4192,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для копання.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4228,6 +4202,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для кидання поточного предмета.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4235,6 +4212,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для збільшення видимості.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4242,6 +4222,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для збільшення гучності.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4249,6 +4232,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для стрибання.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4256,6 +4242,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для швидкого руху у швидкому режимі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4271,6 +4260,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для руху гравця вперед.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4278,6 +4270,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для руху гравця вліво.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4285,6 +4280,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для руху гравця вправо.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4292,6 +4290,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для приглушення гри.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4299,6 +4300,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для відкривання вікна чату для введення команд.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4306,6 +4310,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для відкривання вікна чату для набирання локальних команд.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4313,6 +4320,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для відкривання вікна чату.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4320,6 +4330,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для відкривання інвентаря.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4327,6 +4340,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша покласти.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4334,6 +4350,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 11-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4341,6 +4360,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 12-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4348,6 +4370,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 13-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4355,6 +4380,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 14-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4362,6 +4390,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 15-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4369,6 +4400,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 16-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4376,6 +4410,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 17-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4383,6 +4420,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 18-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4390,6 +4430,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 19-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4397,6 +4440,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша для вибору 20-го слоту швидкої панелі.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4672,6 +4718,9 @@ msgid "" "See http://irrlicht.sourceforge.net/docu/namespaceirr." "html#a54da2a0e231901735e3da1b0edf72eb3" msgstr "" +"Клавіша ввімкнення відображення HUD.\n" +"Дивіться http://irrlicht.sourceforge.net/docu/namespaceirr." +"html#a54da2a0e231901735e3da1b0edf72eb3" #: src/settings_translation_file.cpp msgid "" @@ -4883,7 +4932,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Main menu script" -msgstr "" +msgstr "Скрипт основного меню" #: src/settings_translation_file.cpp msgid "" @@ -4904,7 +4953,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Map directory" -msgstr "Тека мапи" +msgstr "Каталог мапи" #: src/settings_translation_file.cpp msgid "Map generation attributes specific to Mapgen Carpathian." @@ -5002,9 +5051,8 @@ msgid "Mapgen Fractal" msgstr "Генератор світу: фрактальний" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen Fractal specific flags" -msgstr "Генератор світу: фрактальний" +msgstr "Мітки для фрактального ґенератора світу" #: src/settings_translation_file.cpp msgid "Mapgen V5" @@ -5039,14 +5087,12 @@ msgid "Mapgen Valleys specific flags" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen debug" -msgstr "Налагодження генерації світу" +msgstr "Налагодження ґенератора світу" #: src/settings_translation_file.cpp -#, fuzzy msgid "Mapgen name" -msgstr "Назва генерації світу" +msgstr "Назва ґенератора світу" #: src/settings_translation_file.cpp msgid "Max block generate distance" @@ -5057,28 +5103,24 @@ msgid "Max block send distance" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Max liquids processed per step." -msgstr "Максимальна кількість рідин, оброблених на крок." +msgstr "Найбільша кількість рідини на крок." #: src/settings_translation_file.cpp msgid "Max. clearobjects extra blocks" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Max. packets per iteration" -msgstr "Максимальна кількість пакетів за одну ітерацію" +msgstr "Найбільша кількість пакетів на ітерацію" #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum FPS" -msgstr "Максимальна кількість кадрів в секунду (FPS)" +msgstr "Найбільша кількість FPS" #: src/settings_translation_file.cpp -#, fuzzy msgid "Maximum FPS when the window is not focused, or when the game is paused." -msgstr "Максимум FPS при паузі." +msgstr "Найбільша кількість FPS, коли вікно поза фокусом або гру призупинено." #: src/settings_translation_file.cpp msgid "Maximum distance to render shadows." @@ -5167,7 +5209,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum objects per block" -msgstr "" +msgstr "Найбільша кількість обʼєктів на блок" #: src/settings_translation_file.cpp msgid "" @@ -5203,7 +5245,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Maximum users" -msgstr "Максимум користувачів" +msgstr "Найбільше користувачів" #: src/settings_translation_file.cpp msgid "Menus" @@ -5215,7 +5257,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Message of the day" -msgstr "" +msgstr "Повідомлення дня" #: src/settings_translation_file.cpp msgid "Message of the day displayed to players connecting." @@ -5235,7 +5277,7 @@ msgstr "Мінімапа" #: src/settings_translation_file.cpp msgid "Minimap key" -msgstr "" +msgstr "Клавіша мінімапи" #: src/settings_translation_file.cpp msgid "Minimap scan height" @@ -5263,15 +5305,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Modifies the size of the HUD elements." -msgstr "" +msgstr "Змінює розмір елементів HUD." #: src/settings_translation_file.cpp msgid "Monospace font path" -msgstr "" +msgstr "Шлях до моноширного шрифту" #: src/settings_translation_file.cpp msgid "Monospace font size" -msgstr "" +msgstr "Розмір моноширного шрифту" #: src/settings_translation_file.cpp msgid "Monospace font size divisible by" @@ -5317,7 +5359,7 @@ msgstr "Вимкнути звук" #: src/settings_translation_file.cpp msgid "Mute sound" -msgstr "" +msgstr "Заглушити звук" #: src/settings_translation_file.cpp msgid "" @@ -5375,7 +5417,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Noises" -msgstr "" +msgstr "Шуми" #: src/settings_translation_file.cpp msgid "Number of emerge threads" @@ -5404,7 +5446,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Online Content Repository" -msgstr "" +msgstr "Репозиторій мережевого вмісту" #: src/settings_translation_file.cpp msgid "Opaque liquids" @@ -5478,18 +5520,16 @@ msgid "Physics" msgstr "Фізика" #: src/settings_translation_file.cpp -#, fuzzy msgid "Pitch move key" -msgstr "Кнопка польоту" +msgstr "Клавіша зміни висоти" #: src/settings_translation_file.cpp msgid "Pitch move mode" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Place key" -msgstr "Кнопка для польоту" +msgstr "Клавіша покласти" #: src/settings_translation_file.cpp msgid "Place repetition interval" @@ -5503,7 +5543,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Player name" -msgstr "Ім'я гравця" +msgstr "Імʼя гравця" #: src/settings_translation_file.cpp msgid "Player transfer distance" @@ -5514,9 +5554,8 @@ msgid "Player versus player" msgstr "Гравець проти гравця" #: src/settings_translation_file.cpp -#, fuzzy msgid "Poisson filtering" -msgstr "Білінійна фільтрація" +msgstr "Фільтрування Пуасона" #: src/settings_translation_file.cpp msgid "" @@ -5593,20 +5632,19 @@ msgstr "Вибір діапазону" #: src/settings_translation_file.cpp msgid "Recent Chat Messages" -msgstr "" +msgstr "Останні повідомлення чату" #: src/settings_translation_file.cpp -#, fuzzy msgid "Regular font path" -msgstr "Шлях для звіту" +msgstr "Шлях до звичайного шрифту" #: src/settings_translation_file.cpp msgid "Remote media" -msgstr "" +msgstr "Віддалені ресурси" #: src/settings_translation_file.cpp msgid "Remote port" -msgstr "" +msgstr "Віддалений порт" #: src/settings_translation_file.cpp msgid "" @@ -5657,9 +5695,8 @@ msgid "Right key" msgstr "Права клавіша" #: src/settings_translation_file.cpp -#, fuzzy msgid "River channel depth" -msgstr "Глибина великих печер" +msgstr "Глибина каналу річки" #: src/settings_translation_file.cpp msgid "River channel width" @@ -5667,7 +5704,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "River depth" -msgstr "" +msgstr "Глибина річки" #: src/settings_translation_file.cpp msgid "River noise" @@ -5675,7 +5712,7 @@ msgstr "Річковий шум" #: src/settings_translation_file.cpp msgid "River size" -msgstr "" +msgstr "Розмір річки" #: src/settings_translation_file.cpp msgid "River valley width" @@ -5736,7 +5773,7 @@ msgstr "Ширина екрана" #: src/settings_translation_file.cpp msgid "Screenshot folder" -msgstr "" +msgstr "Тека для знімків екрана" #: src/settings_translation_file.cpp msgid "Screenshot format" @@ -5810,7 +5847,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Server / Singleplayer" -msgstr "Сервер / Гра" +msgstr "Сервер / Одиночна гра" #: src/settings_translation_file.cpp msgid "Server URL" @@ -5838,11 +5875,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Serverlist URL" -msgstr "Адреса списку публічних серверів" +msgstr "Адреса списку серверів" #: src/settings_translation_file.cpp msgid "Serverlist file" -msgstr "Файл списку публічних серверів" +msgstr "Файл списку серверів" #: src/settings_translation_file.cpp msgid "" @@ -5920,9 +5957,8 @@ msgid "" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Shadow filter quality" -msgstr "Якість знімку" +msgstr "Якість фільтру тіні" #: src/settings_translation_file.cpp msgid "Shadow map max distance in nodes to render shadows" @@ -5952,20 +5988,19 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Show debug info" -msgstr "" +msgstr "Показати дані зневадження" #: src/settings_translation_file.cpp msgid "Show entity selection boxes" msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Show entity selection boxes\n" "A restart is required after changing this." msgstr "" -"Вказати мову. Залиште порожнім, щоб використовувати системну мову.\n" -"Потрібен перезапуск після цієї зміни." +"Показати поле виділення обʼєктів\n" +"Після зміни потрібно перезапустити." #: src/settings_translation_file.cpp msgid "Show name tag backgrounds by default" @@ -5973,7 +6008,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Shutdown message" -msgstr "" +msgstr "Вимкнути повідомлення" #: src/settings_translation_file.cpp msgid "" @@ -6051,9 +6086,8 @@ msgid "Sneaking speed, in nodes per second." msgstr "" #: src/settings_translation_file.cpp -#, fuzzy msgid "Soft shadow radius" -msgstr "Радіус хмар" +msgstr "Радіус легких тіней" #: src/settings_translation_file.cpp msgid "Sound" @@ -6211,7 +6245,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "The dead zone of the joystick" -msgstr "" +msgstr "Мертва зона джойстика" #: src/settings_translation_file.cpp msgid "" @@ -6317,7 +6351,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "The type of joystick" -msgstr "" +msgstr "Тип джойстика" #: src/settings_translation_file.cpp msgid "" @@ -6342,11 +6376,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Time send interval" -msgstr "" +msgstr "Період надсилання часу" #: src/settings_translation_file.cpp msgid "Time speed" -msgstr "" +msgstr "Швидкість часу" #: src/settings_translation_file.cpp msgid "Timeout for client to remove unused map data from memory." @@ -6378,7 +6412,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Trees noise" -msgstr "" +msgstr "Шум дерев" #: src/settings_translation_file.cpp msgid "Trilinear filtering" @@ -6564,13 +6598,15 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Volume" -msgstr "Гучність звуку" +msgstr "Гучність" #: src/settings_translation_file.cpp msgid "" "Volume of all sounds.\n" "Requires the sound system to be enabled." msgstr "" +"Гучність усіх звуків.\n" +"Вимагає увімкнення системи звуку." #: src/settings_translation_file.cpp msgid "" @@ -6583,11 +6619,11 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Walking and flying speed, in nodes per second." -msgstr "" +msgstr "Швидкість ходьби і польоту, в блоках за секунду." #: src/settings_translation_file.cpp msgid "Walking speed" -msgstr "" +msgstr "Швидкість ходьби" #: src/settings_translation_file.cpp msgid "Walking, flying and climbing speed in fast mode, in nodes per second." @@ -6595,7 +6631,7 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Water level" -msgstr "" +msgstr "Рівень води" #: src/settings_translation_file.cpp msgid "Water surface level of the world." @@ -6603,39 +6639,35 @@ msgstr "" #: src/settings_translation_file.cpp msgid "Waving Nodes" -msgstr "Блоки, що коливаються" +msgstr "Коливання блоків" #: src/settings_translation_file.cpp msgid "Waving leaves" -msgstr "Листя, що коливається" +msgstr "Коливання листя" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids" -msgstr "Хвилясті Рідини" +msgstr "Хвилясті рідини" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids wave height" -msgstr "Коливати воду" +msgstr "Висота хвилі хвилястих рідин" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids wave speed" -msgstr "Коливати листя" +msgstr "Швидкість хвилі хвилястих рідин" #: src/settings_translation_file.cpp -#, fuzzy msgid "Waving liquids wavelength" -msgstr "Коливати воду" +msgstr "Довжина хвилі хвилястих рідин" #: src/settings_translation_file.cpp msgid "Waving plants" -msgstr "" +msgstr "Коливання рослин" #: src/settings_translation_file.cpp msgid "Weblink color" -msgstr "" +msgstr "Колір вебпосилання" #: src/settings_translation_file.cpp msgid "" -- cgit v1.2.3 From 49adce1a63a673884bba2613134c4c050bdf32bc Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 29 Jan 2022 19:28:44 +0000 Subject: Translated using Weblate (German) Currently translated at 100.0% (1416 of 1416 strings) --- po/de/minetest.po | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/po/de/minetest.po b/po/de/minetest.po index 542d3126c..972359a32 100644 --- a/po/de/minetest.po +++ b/po/de/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: German (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2022-01-19 22:55+0000\n" +"PO-Revision-Date: 2022-01-29 21:28+0000\n" "Last-Translator: Wuzzy \n" "Language-Team: German \n" @@ -3416,6 +3416,10 @@ msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." msgstr "" +"Aktiviert Kompromisse, die die CPU-Last verringern oder die Rendering-" +"Leistung erhöhen\n" +"auf Kosten kleinerer visueller Fehler, die die Spielbarkeit nicht " +"beeinträchtigen." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3623,17 +3627,16 @@ msgstr "Schriftgröße" #: src/settings_translation_file.cpp msgid "Font size divisible by" -msgstr "" +msgstr "Schriftgröße teilbar durch" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the default font where 1 unit = 1 pixel at 96 DPI" -msgstr "Schriftgröße der Standardschrift in Punkt (pt)." +msgstr "Schriftgröße der Standardschrift, wobei 1 Einheit = 1 Pixel bei 96 DPI" #: src/settings_translation_file.cpp -#, fuzzy msgid "Font size of the monospace font where 1 unit = 1 pixel at 96 DPI" -msgstr "Schriftgröße der Festbreitenschrift in Punkt (pt)." +msgstr "" +"Schriftgröße der Festbreitenschrift, wobei 1 Einheit = 1 Pixel bei 96 DPI" #: src/settings_translation_file.cpp msgid "" @@ -3654,6 +3657,15 @@ msgid "" "be\n" "sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" +"Bei Schriften im Pixelstil, die sich nicht gut skalieren lassen, stellt dies " +"sicher,\n" +"dass die mit dieser Schrift verwendeten Schriftgrößen immer durch diesen " +"Wert\n" +"in Pixeln teilbar ist. Zum Beispiel: Eine Pixelschrift mit einer Höhe von 16 " +"Pixeln\n" +"sollte auf 16 gesetzt werden, so dass sie immer nur die Größe 16, 32, 48 " +"usw. hat,\n" +"damit eine Mod, die eine Größe von 25 anfordert, 32 erhält." #: src/settings_translation_file.cpp msgid "" @@ -5862,9 +5874,8 @@ msgid "Monospace font size" msgstr "Größe der Festbreitenschrift" #: src/settings_translation_file.cpp -#, fuzzy msgid "Monospace font size divisible by" -msgstr "Größe der Festbreitenschrift" +msgstr "Festbreitenschriftgröße teilbar durch" #: src/settings_translation_file.cpp msgid "Mountain height noise" @@ -6050,17 +6061,12 @@ msgid "Optional override for chat weblink color." msgstr "Optionaler manueller Wert für die Farbe von Chat-Weblinks." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path of the fallback font. Must be a TrueType font.\n" "This font will be used for certain languages or if the default font is " "unavailable." msgstr "" -"Pfad der Ersatzschrift.\n" -"Falls die „freetype“-Einstellung aktiviert ist: Muss eine TrueType-Schrift " -"sein.\n" -"Falls die „freetype“-Einstellung deaktiviert ist: Muss eine Bitmap- oder XML-" -"Vektor-Schrift sein.\n" +"Pfad der Ersatzschrift. Muss eine TrueType-Schrift sein.\n" "Diese Schrift wird für bestimmte Sprachen benutzt, oder, wenn die " "Standardschrift nicht verfügbar ist." @@ -6087,30 +6093,20 @@ msgstr "" "Pfad der Texturenverzeichnisse. Alle Texturen werden von dort zuerst gesucht." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the default font. Must be a TrueType font.\n" "The fallback font will be used if the font cannot be loaded." msgstr "" -"Pfad der Standardschrift.\n" -"Falls die „freetype“-Einstellung aktiviert ist: Muss eine TrueType-Schrift " -"sein.\n" -"Falls die „freetype“-Einstellung deaktiviert ist: Muss eine Bitmap- oder XML-" -"Vektor-Schrift sein.\n" +"Pfad der Standardschrift. Muss eine TrueType-Schrift sein.\n" "Die Ersatzschrift wird benutzt, falls diese Schrift nicht geladen werden " "kann." #: src/settings_translation_file.cpp -#, fuzzy msgid "" "Path to the monospace font. Must be a TrueType font.\n" "This font is used for e.g. the console and profiler screen." msgstr "" -"Pfad der Festbreitenschrift.\n" -"Falls die „freetype“-Einstellung aktiviert ist: Muss eine TrueType-Schrift " -"sein.\n" -"Falls die „freetype“-Einstellung deaktiviert ist: Muss eine Bitmap- oder XML-" -"Vektor-Schrift sein.\n" +"Pfad der Festbreitenschrift. Muss eine TrueType-Schrift sein.\n" "Diese Schrift wird z.B. für die Konsole und die Profiler-Anzeige benutzt." #: src/settings_translation_file.cpp @@ -7238,7 +7234,7 @@ msgstr "Touchscreenschwellwert" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "Kompromisse für Performanz" #: src/settings_translation_file.cpp msgid "Trees noise" -- cgit v1.2.3 From 98982065edc3dd8cb98a431f75c8f00be0370b66 Mon Sep 17 00:00:00 2001 From: Nikita Epifanov Date: Fri, 28 Jan 2022 12:48:43 +0000 Subject: Translated using Weblate (Russian) Currently translated at 97.8% (1386 of 1416 strings) --- po/ru/minetest.po | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/po/ru/minetest.po b/po/ru/minetest.po index 3ea7c5bbe..916b15064 100644 --- a/po/ru/minetest.po +++ b/po/ru/minetest.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: Russian (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2022-01-10 23:53+0000\n" -"Last-Translator: Mikitko \n" +"PO-Revision-Date: 2022-01-29 21:28+0000\n" +"Last-Translator: Nikita Epifanov \n" "Language-Team: Russian \n" "Language: ru\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.11-dev\n" #: builtin/client/chatcommands.lua msgid "Clear the out chat queue" @@ -613,7 +613,7 @@ msgstr "Отключено" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" -msgstr "Изменить" +msgstr "Редактировать" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" @@ -1064,8 +1064,9 @@ msgid "Node Outlining" msgstr "Обводка нод" #: builtin/mainmenu/tab_settings.lua +#, fuzzy msgid "None" -msgstr "Нет" +msgstr "Ничего" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" @@ -2501,7 +2502,7 @@ msgstr "Автоматическая кнопка вперед" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." -msgstr "Автоматический подъем на одиночные блоки." +msgstr "Автоматический подъем на одиночные ноды." #: src/settings_translation_file.cpp msgid "Automatically report to the serverlist." @@ -3390,6 +3391,9 @@ msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." msgstr "" +"Обеспечивает компромисс, который снижает использование ЦП или увеличивает " +"производительность рендеринга\n" +"ценой мелких визуальных дефектов, не влияющих на геймплей." #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -3592,8 +3596,9 @@ msgid "Font size" msgstr "Размер шрифта" #: src/settings_translation_file.cpp +#, fuzzy msgid "Font size divisible by" -msgstr "" +msgstr "Размер шрифта, кратный" #: src/settings_translation_file.cpp #, fuzzy @@ -3614,6 +3619,7 @@ msgstr "" "Значение 0 будет использовать размер шрифта по умолчанию." #: src/settings_translation_file.cpp +#, fuzzy msgid "" "For pixel-style fonts that do not scale well, this ensures that font sizes " "used\n" @@ -3623,6 +3629,12 @@ msgid "" "be\n" "sized 16, 32, 48, etc., so a mod requesting a size of 25 will get 32." msgstr "" +"Для шрифтов пиксельного стиля, которые плохо масштабируются, это " +"гарантирует, что размеры шрифта, используемые\n" +"с этим шрифтом всегда будут кратны этому значению в пикселях. Например,\n" +"пиксельный шрифт высотой 16 пикселей должен иметь значение 16, поэтому он " +"всегда будет иметь только\n" +"16, 32, 48 и т.д., поэтому мод, запрашивающий размер 25, получит 32." #: src/settings_translation_file.cpp msgid "" @@ -7075,7 +7087,7 @@ msgid "" "The time in seconds it takes between repeated node placements when holding\n" "the place button." msgstr "" -"Задержка перед повторным размещением блока в секундах\n" +"Задержка перед повторным размещением ноды в секундах\n" "при удержании клавиши размещения." #: src/settings_translation_file.cpp @@ -7151,7 +7163,7 @@ msgstr "Порог сенсорного экрана" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "Компромиссы для производительности" #: src/settings_translation_file.cpp msgid "Trees noise" -- cgit v1.2.3 From a0e4b2bf54a1c21609a9683e15e01e016d52e75a Mon Sep 17 00:00:00 2001 From: poi Date: Sun, 30 Jan 2022 13:21:33 +0000 Subject: Translated using Weblate (Chinese (Simplified)) Currently translated at 93.4% (1323 of 1416 strings) --- po/zh_CN/minetest.po | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/po/zh_CN/minetest.po b/po/zh_CN/minetest.po index cc9bb383d..1b9e17f8e 100644 --- a/po/zh_CN/minetest.po +++ b/po/zh_CN/minetest.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Chinese (Simplified) (Minetest)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-25 23:19+0100\n" -"PO-Revision-Date: 2022-01-25 22:04+0000\n" +"PO-Revision-Date: 2022-01-30 18:51+0000\n" "Last-Translator: poi \n" "Language-Team: Chinese (Simplified) \n" @@ -3325,7 +3325,7 @@ msgstr "" msgid "" "Enables tradeoffs that reduce CPU load or increase rendering performance\n" "at the expense of minor visual glitches that do not impact game playability." -msgstr "" +msgstr "允许不影响可玩性的轻微视觉错误,以此减少 CPU 负载,或提高渲染性能。" #: src/settings_translation_file.cpp msgid "Engine profiling data print interval" @@ -6864,6 +6864,8 @@ msgid "" "The sensitivity of the joystick axes for moving the\n" "in-game view frustum around." msgstr "" +"摇杆轴灵敏度(用于移动子游戏中棱台体形状的\n" +"可见区域的摇杆轴)。" #: src/settings_translation_file.cpp msgid "" @@ -6963,7 +6965,7 @@ msgstr "触屏阈值" #: src/settings_translation_file.cpp msgid "Tradeoffs for performance" -msgstr "" +msgstr "性能权衡" #: src/settings_translation_file.cpp msgid "Trees noise" -- cgit v1.2.3 From b66477c29f50c52c102be6412bb1754e0cfed143 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 30 Jan 2022 21:31:18 +0100 Subject: Abort raycasts that go out-of-bounds (#12006) --- src/environment.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/environment.cpp b/src/environment.cpp index 06f2b8bf9..b04f77557 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -169,6 +169,12 @@ void Environment::continueRaycast(RaycastState *state, PointedThing *result) new_nodes.MaxEdge.Z = new_nodes.MinEdge.Z; } + if (new_nodes.MaxEdge.X == S16_MAX || + new_nodes.MaxEdge.Y == S16_MAX || + new_nodes.MaxEdge.Z == S16_MAX) { + break; // About to go out of bounds + } + // For each untested node for (s16 x = new_nodes.MinEdge.X; x <= new_nodes.MaxEdge.X; x++) for (s16 y = new_nodes.MinEdge.Y; y <= new_nodes.MaxEdge.Y; y++) -- cgit v1.2.3 From 5da204f5bcda7a45ce17f04651627fd8a9d70a82 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 30 Jan 2022 21:32:49 +0100 Subject: Get rid of `basic_debug` last minute This isn't a revert but rather just disables the codepaths. also see #12011 --- builtin/game/privileges.lua | 4 ---- src/client/game.cpp | 18 ++++++++---------- src/client/gameui.cpp | 1 - src/network/clientpackethandler.cpp | 5 ----- src/network/networkprotocol.h | 1 - 5 files changed, 8 insertions(+), 21 deletions(-) diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua index 97681655e..2ff4c093c 100644 --- a/builtin/game/privileges.lua +++ b/builtin/game/privileges.lua @@ -97,10 +97,6 @@ core.register_privilege("rollback", { description = S("Can use the rollback functionality"), give_to_singleplayer = false, }) -core.register_privilege("basic_debug", { - description = S("Can view more debug info that might give a gameplay advantage"), - give_to_singleplayer = false, -}) core.register_privilege("debug", { description = S("Can enable wireframe"), give_to_singleplayer = false, diff --git a/src/client/game.cpp b/src/client/game.cpp index 8959b5f15..4337d308e 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1740,7 +1740,7 @@ void Game::processQueues() void Game::updateDebugState() { - bool has_basic_debug = client->checkPrivilege("basic_debug"); + const bool has_basic_debug = true; bool has_debug = client->checkPrivilege("debug"); if (m_game_ui->m_flags.show_basic_debug) { @@ -2211,7 +2211,7 @@ void Game::toggleCinematic() void Game::toggleBlockBounds() { - if (client->checkPrivilege("basic_debug")) { + if (true /* basic_debug */) { enum Hud::BlockBoundsMode newmode = hud->toggleBlockBounds(); switch (newmode) { case Hud::BLOCK_BOUNDS_OFF: @@ -2307,26 +2307,24 @@ void Game::toggleDebug() // The debug text can be in 2 modes: minimal and basic. // * Minimal: Only technical client info that not gameplay-relevant // * Basic: Info that might give gameplay advantage, e.g. pos, angle - // Basic mode is used when player has "basic_debug" priv, - // otherwise the Minimal mode is used. + // Basic mode is always used. + + const bool has_basic_debug = true; if (!m_game_ui->m_flags.show_minimal_debug) { m_game_ui->m_flags.show_minimal_debug = true; - if (client->checkPrivilege("basic_debug")) { + if (has_basic_debug) m_game_ui->m_flags.show_basic_debug = true; - } m_game_ui->m_flags.show_profiler_graph = false; draw_control->show_wireframe = false; m_game_ui->showTranslatedStatusText("Debug info shown"); } else if (!m_game_ui->m_flags.show_profiler_graph && !draw_control->show_wireframe) { - if (client->checkPrivilege("basic_debug")) { + if (has_basic_debug) m_game_ui->m_flags.show_basic_debug = true; - } m_game_ui->m_flags.show_profiler_graph = true; m_game_ui->showTranslatedStatusText("Profiler graph shown"); } else if (!draw_control->show_wireframe && client->checkPrivilege("debug")) { - if (client->checkPrivilege("basic_debug")) { + if (has_basic_debug) m_game_ui->m_flags.show_basic_debug = true; - } m_game_ui->m_flags.show_profiler_graph = false; draw_control->show_wireframe = true; m_game_ui->showTranslatedStatusText("Wireframe shown"); diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp index bae5241b1..8505ea3ae 100644 --- a/src/client/gameui.cpp +++ b/src/client/gameui.cpp @@ -210,7 +210,6 @@ void GameUI::initFlags() { m_flags = GameUI::Flags(); m_flags.show_minimal_debug = g_settings->getBool("show_debug"); - m_flags.show_basic_debug = false; } void GameUI::showMinimap(bool show) diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 47f259b92..48ad60ac6 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -900,11 +900,6 @@ void Client::handleCommand_Privileges(NetworkPacket* pkt) m_privileges.insert(priv); infostream << priv << " "; } - - // Enable basic_debug on server versions before it was added - if (m_proto_ver < 40) - m_privileges.insert("basic_debug"); - infostream << std::endl; } diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 7bf5801f5..a5ff53216 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -206,7 +206,6 @@ with this program; if not, write to the Free Software Foundation, Inc., Adds new sun, moon and stars packets Minimap modes PROTOCOL VERSION 40: - Added 'basic_debug' privilege TOCLIENT_MEDIA_PUSH changed, TOSERVER_HAVE_MEDIA added */ -- cgit v1.2.3 From 5e4a01f2debd173058963f3c19dd954fcd039660 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 30 Jan 2022 21:33:08 +0100 Subject: Update credits for 5.5.0 release (#12001) --- builtin/mainmenu/tab_about.lua | 50 +++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/builtin/mainmenu/tab_about.lua b/builtin/mainmenu/tab_about.lua index a1a7d4bfb..ba258fd2d 100644 --- a/builtin/mainmenu/tab_about.lua +++ b/builtin/mainmenu/tab_about.lua @@ -28,32 +28,35 @@ local core_developers = { "Lars Hofhansl ", "Pierre-Yves Rollo ", "v-rob ", + "hecks", + "Hugues Ross ", + "Dmitry Kostenko (x2048) ", } -- For updating active/previous contributors, see the script in ./util/gather_git_credits.py local active_contributors = { - "Wuzzy [devtest game, visual corrections]", - "Zughy [Visual improvements, various fixes]", - "Maksim (MoNTE48) [Android]", + "Wuzzy [I18n for builtin, liquid features, fixes]", + "Zughy [Various features and fixes]", "numzero [Graphics and rendering]", - "appgurueu [Various internal fixes]", - "Desour [Formspec and vector API changes]", - "HybridDog [Rendering fixes and documentation]", - "Hugues Ross [Graphics-related improvements]", - "ANAND (ClobberXD) [Mouse buttons rebinding]", - "luk3yx [Fixes]", - "hecks [Audiovisuals, Lua API]", - "LoneWolfHT [Object crosshair, documentation fixes]", - "Lejo [Server-related improvements]", - "EvidenceB [Compass HUD element]", - "Paul Ouellette (pauloue) [Lua API, documentation]", - "TheTermos [Collision detection, physics]", + "Desour [Internal fixes, Clipboard on X11]", + "Lars Müller [Various internal fixes]", + "JosiahWI [CMake, cleanups and fixes]", + "HybridDog [builtin, documentation]", + "Jude Melton-Houghton [Database implementation]", + "savilli [Fixes]", + "Liso [Shadow Mapping]", + "MoNTE48 [Build fix]", + "Jean-Patrick Guerrero (kilbith) [Fixes]", + "ROllerozxa [Code cleanups]", + "Lejo [bitop library integration]", + "LoneWolfHT [Build fixes]", + "NeroBurner [Joystick]", + "Elias Fleckenstein [Internal fixes]", "David CARLIER [Unix & Haiku build fixes]", - "dcbrwn [Object shading]", - "Elias Fleckenstein [API features/fixes]", - "Jean-Patrick Guerrero (kilbith) [model element, visual fixes]", - "k.h.lai [Memory leak fixes, documentation]", + "pecksin [Clickable web links]", + "srfqi [Android & rendering fixes]", + "EvidenceB [Formspec]", } local previous_core_developers = { @@ -70,6 +73,7 @@ local previous_core_developers = { "Zeno", "ShadowNinja ", "Auke Kok (sofar) ", + "Aaron Suen ", } local previous_contributors = { @@ -80,10 +84,10 @@ local previous_contributors = { "MirceaKitsune ", "Constantin Wenger (SpeedProg)", "Ciaran Gultnieks (CiaranG)", - "stujones11 [Android UX improvements]", - "Rogier [Fixes]", - "Gregory Currie (gregorycu) [optimisation]", - "srifqi [Fixes]", + "Paul Ouellette (pauloue)", + "stujones11", + "Rogier ", + "Gregory Currie (gregorycu)", "JacobF", "Jeija [HTTP, particles]", } -- cgit v1.2.3 From 484a4b518f6025f2cdec9eb89fdf3883eb57fc28 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 30 Jan 2022 22:44:29 +0100 Subject: Add another very awful workaround to prevent a crash on Mingw32 This appears to be the same issue as 70df3d54f37c280f7afe60f6e964b8406577f39f. Hopefully the next MinGW update will remove the need for this. --- src/serialization.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/serialization.cpp b/src/serialization.cpp index b6ce3b37f..d4d7b5f6e 100644 --- a/src/serialization.cpp +++ b/src/serialization.cpp @@ -208,11 +208,31 @@ struct ZSTD_Deleter { } }; +#if defined(__MINGW32__) && !defined(__MINGW64__) +/* + * This is exactly as dumb as it looks. + * Yes, this is a memory leak. No, we don't have better solution right now. + */ +template class leaky_ptr +{ + T *value; +public: + leaky_ptr(T *value) : value(value) {}; + T *get() { return value; } +}; +#endif + void compressZstd(const u8 *data, size_t data_size, std::ostream &os, int level) { +#if defined(__MINGW32__) && !defined(__MINGW64__) + // leaks one context per thread but doesn't crash :shrug: + thread_local leaky_ptr stream(ZSTD_createCStream()); +#else // reusing the context is recommended for performance // it will destroyed when the thread ends thread_local std::unique_ptr stream(ZSTD_createCStream()); +#endif + ZSTD_initCStream(stream.get(), level); @@ -256,9 +276,14 @@ void compressZstd(const std::string &data, std::ostream &os, int level) void decompressZstd(std::istream &is, std::ostream &os) { +#if defined(__MINGW32__) && !defined(__MINGW64__) + // leaks one context per thread but doesn't crash :shrug: + thread_local leaky_ptr stream(ZSTD_createDStream()); +#else // reusing the context is recommended for performance // it will destroyed when the thread ends thread_local std::unique_ptr stream(ZSTD_createDStream()); +#endif ZSTD_initDStream(stream.get()); -- cgit v1.2.3 From 54b805ffd0002821f228ab6eb25704bcb58e3080 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 30 Jan 2022 22:58:18 +0100 Subject: Bump version to 5.5.0 --- CMakeLists.txt | 2 +- android/build.gradle | 4 ++-- misc/net.minetest.minetest.appdata.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9fccf912..40a9ce15f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ set(VERSION_PATCH 0) set(VERSION_EXTRA "" CACHE STRING "Stuff to append to version string") # Change to false for releases -set(DEVELOPMENT_BUILD TRUE) +set(DEVELOPMENT_BUILD FALSE) set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}") if(VERSION_EXTRA) diff --git a/android/build.gradle b/android/build.gradle index e2fd2b3db..71e995e48 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,8 +3,8 @@ project.ext.set("versionMajor", 5) // Version Major project.ext.set("versionMinor", 5) // Version Minor project.ext.set("versionPatch", 0) // Version Patch -project.ext.set("versionExtra", "-dev") // Version Extra -project.ext.set("versionCode", 32) // Android Version Code +project.ext.set("versionExtra", "") // Version Extra +project.ext.set("versionCode", 38) // Android Version Code // NOTE: +2 after each release! // +1 for ARM and +1 for ARM64 APK's, because // each APK must have a larger `versionCode` than the previous diff --git a/misc/net.minetest.minetest.appdata.xml b/misc/net.minetest.minetest.appdata.xml index 0e5397b37..a6b61448e 100644 --- a/misc/net.minetest.minetest.appdata.xml +++ b/misc/net.minetest.minetest.appdata.xml @@ -62,6 +62,6 @@ minetest sfan5@live.de - + -- cgit v1.2.3 From 8c0331d2449cf71049c7ce9c06d141e2846ebcb0 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 30 Jan 2022 22:58:19 +0100 Subject: Continue with 5.6.0-dev --- CMakeLists.txt | 4 ++-- android/build.gradle | 4 ++-- doc/client_lua_api.txt | 2 +- doc/menu_lua_api.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 40a9ce15f..1da83a99c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,12 +17,12 @@ set(CLANG_MINIMUM_VERSION "3.5") # Also remember to set PROTOCOL_VERSION in network/networkprotocol.h when releasing set(VERSION_MAJOR 5) -set(VERSION_MINOR 5) +set(VERSION_MINOR 6) set(VERSION_PATCH 0) set(VERSION_EXTRA "" CACHE STRING "Stuff to append to version string") # Change to false for releases -set(DEVELOPMENT_BUILD FALSE) +set(DEVELOPMENT_BUILD TRUE) set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}") if(VERSION_EXTRA) diff --git a/android/build.gradle b/android/build.gradle index 71e995e48..f861ba702 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,9 +1,9 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. project.ext.set("versionMajor", 5) // Version Major -project.ext.set("versionMinor", 5) // Version Minor +project.ext.set("versionMinor", 6) // Version Minor project.ext.set("versionPatch", 0) // Version Patch -project.ext.set("versionExtra", "") // Version Extra +project.ext.set("versionExtra", "-dev") // Version Extra project.ext.set("versionCode", 38) // Android Version Code // NOTE: +2 after each release! // +1 for ARM and +1 for ARM64 APK's, because diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 32be8c849..e3cc2dd16 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1,4 +1,4 @@ -Minetest Lua Client Modding API Reference 5.5.0 +Minetest Lua Client Modding API Reference 5.6.0 ================================================ * More information at * Developer Wiki: diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 9bc0c46bd..a8928441e 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -1,4 +1,4 @@ -Minetest Lua Mainmenu API Reference 5.5.0 +Minetest Lua Mainmenu API Reference 5.6.0 ========================================= Introduction -- cgit v1.2.3 From 128f6359e936bcdc5e26409ddd73438bce9c6dd6 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 30 Jan 2022 22:40:53 +0000 Subject: Use virtual paths to specify exact mod to enable (#11784) --- builtin/mainmenu/dlg_config_world.lua | 25 ++++++++-- builtin/mainmenu/dlg_settings_advanced.lua | 2 +- builtin/mainmenu/pkgmgr.lua | 72 +++++++++++++++++++--------- doc/menu_lua_api.txt | 17 +++++-- doc/world_format.txt | 13 +++++ src/content/mods.cpp | 76 +++++++++++++++++++++--------- src/content/mods.h | 57 ++++++++++++++++++---- src/content/subgames.cpp | 11 ++--- src/content/subgames.h | 10 ++-- src/script/lua_api/l_mainmenu.cpp | 12 ++--- src/server/mods.cpp | 6 ++- 11 files changed, 222 insertions(+), 79 deletions(-) diff --git a/builtin/mainmenu/dlg_config_world.lua b/builtin/mainmenu/dlg_config_world.lua index 9bdf92a74..510d9f804 100644 --- a/builtin/mainmenu/dlg_config_world.lua +++ b/builtin/mainmenu/dlg_config_world.lua @@ -205,14 +205,19 @@ local function handle_buttons(this, fields) local mods = worldfile:to_table() local rawlist = this.data.list:get_raw_list() + local was_set = {} for i = 1, #rawlist do local mod = rawlist[i] if not mod.is_modpack and not mod.is_game_content then if modname_valid(mod.name) then - worldfile:set("load_mod_" .. mod.name, - mod.enabled and "true" or "false") + if mod.enabled then + worldfile:set("load_mod_" .. mod.name, mod.virtual_path) + was_set[mod.name] = true + elseif not was_set[mod.name] then + worldfile:set("load_mod_" .. mod.name, "false") + end elseif mod.enabled then gamedata.errormessage = fgettext_ne("Failed to enable mo" .. "d \"$1\" as it contains disallowed characters. " .. @@ -256,12 +261,26 @@ local function handle_buttons(this, fields) if fields.btn_enable_all_mods then local list = this.data.list:get_raw_list() + -- When multiple copies of a mod are installed, we need to avoid enabling multiple of them + -- at a time. So lets first collect all the enabled mods, and then use this to exclude + -- multiple enables. + + local was_enabled = {} for i = 1, #list do if not list[i].is_game_content - and not list[i].is_modpack then + and not list[i].is_modpack and list[i].enabled then + was_enabled[list[i].name] = true + end + end + + for i = 1, #list do + if not list[i].is_game_content and not list[i].is_modpack and + not was_enabled[list[i].name] then list[i].enabled = true + was_enabled[list[i].name] = true end end + enabled_all = true return true end diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index 06fd32d84..772509670 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -378,7 +378,7 @@ local function parse_config_file(read_all, parse_mods) -- Parse mods local mods_category_initialized = false local mods = {} - get_mods(core.get_modpath(), mods) + get_mods(core.get_modpath(), "mods", mods) for _, mod in ipairs(mods) do local path = mod.path .. DIR_DELIM .. FILENAME local file = io.open(path, "r") diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index 6de671529..eeeb5641b 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -100,12 +100,13 @@ local function load_texture_packs(txtpath, retval) end end -function get_mods(path,retval,modpack) +function get_mods(path, virtual_path, retval, modpack) local mods = core.get_dir_list(path, true) for _, name in ipairs(mods) do if name:sub(1, 1) ~= "." then - local prefix = path .. DIR_DELIM .. name + local mod_path = path .. DIR_DELIM .. name + local mod_virtual_path = virtual_path .. "/" .. name local toadd = { dir_name = name, parent_dir = path, @@ -114,18 +115,18 @@ function get_mods(path,retval,modpack) -- Get config file local mod_conf - local modpack_conf = io.open(prefix .. DIR_DELIM .. "modpack.conf") + local modpack_conf = io.open(mod_path .. DIR_DELIM .. "modpack.conf") if modpack_conf then toadd.is_modpack = true modpack_conf:close() - mod_conf = Settings(prefix .. DIR_DELIM .. "modpack.conf"):to_table() + mod_conf = Settings(mod_path .. DIR_DELIM .. "modpack.conf"):to_table() if mod_conf.name then name = mod_conf.name toadd.is_name_explicit = true end else - mod_conf = Settings(prefix .. DIR_DELIM .. "mod.conf"):to_table() + mod_conf = Settings(mod_path .. DIR_DELIM .. "mod.conf"):to_table() if mod_conf.name then name = mod_conf.name toadd.is_name_explicit = true @@ -136,12 +137,13 @@ function get_mods(path,retval,modpack) toadd.name = name toadd.author = mod_conf.author toadd.release = tonumber(mod_conf.release) or 0 - toadd.path = prefix + toadd.path = mod_path + toadd.virtual_path = mod_virtual_path toadd.type = "mod" -- Check modpack.txt -- Note: modpack.conf is already checked above - local modpackfile = io.open(prefix .. DIR_DELIM .. "modpack.txt") + local modpackfile = io.open(mod_path .. DIR_DELIM .. "modpack.txt") if modpackfile then modpackfile:close() toadd.is_modpack = true @@ -153,7 +155,7 @@ function get_mods(path,retval,modpack) elseif toadd.is_modpack then toadd.type = "modpack" toadd.is_modpack = true - get_mods(prefix, retval, name) + get_mods(mod_path, mod_virtual_path, retval, name) end end end @@ -397,6 +399,14 @@ function pkgmgr.is_modpack_entirely_enabled(data, name) return true end +local function disable_all_by_name(list, name, except) + for i=1, #list do + if list[i].name == name and list[i] ~= except then + list[i].enabled = false + end + end +end + ---------- toggles or en/disables a mod or modpack and its dependencies -------- local function toggle_mod_or_modpack(list, toggled_mods, enabled_mods, toset, mod) if not mod.is_modpack then @@ -404,6 +414,9 @@ local function toggle_mod_or_modpack(list, toggled_mods, enabled_mods, toset, mo if toset == nil then toset = not mod.enabled end + if toset then + disable_all_by_name(list, mod.name, mod) + end if mod.enabled ~= toset then mod.enabled = toset toggled_mods[#toggled_mods+1] = mod.name @@ -648,8 +661,8 @@ function pkgmgr.preparemodlist(data) --read global mods local modpaths = core.get_modpaths() - for _, modpath in ipairs(modpaths) do - get_mods(modpath, global_mods) + for key, modpath in pairs(modpaths) do + get_mods(modpath, key, global_mods) end for i=1,#global_mods,1 do @@ -688,22 +701,37 @@ function pkgmgr.preparemodlist(data) DIR_DELIM .. "world.mt" local worldfile = Settings(filename) - - for key,value in pairs(worldfile:to_table()) do + for key, value in pairs(worldfile:to_table()) do if key:sub(1, 9) == "load_mod_" then key = key:sub(10) - local element = nil - for i=1,#retval,1 do + local mod_found = false + + local fallback_found = false + local fallback_mod = nil + + for i=1, #retval do if retval[i].name == key and - not retval[i].is_modpack then - element = retval[i] - break + not retval[i].is_modpack then + if core.is_yes(value) or retval[i].virtual_path == value then + retval[i].enabled = true + mod_found = true + break + elseif fallback_found then + -- Only allow fallback if only one mod matches + fallback_mod = nil + else + fallback_found = true + fallback_mod = retval[i] + end end end - if element ~= nil then - element.enabled = value ~= "false" and value ~= "nil" and value - else - core.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found") + + if not mod_found then + if fallback_mod and value:find("/") then + fallback_mod.enabled = true + else + core.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found") + end end end end @@ -797,7 +825,7 @@ function pkgmgr.get_game_mods(gamespec, retval) if gamespec ~= nil and gamespec.gamemods_path ~= nil and gamespec.gamemods_path ~= "" then - get_mods(gamespec.gamemods_path, retval) + get_mods(gamespec.gamemods_path, ("games/%s/mods"):format(gamespec.id), retval) end end diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index a8928441e..c2931af31 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -221,13 +221,24 @@ Package - content which is downloadable from the content db, may or may not be i * returns path to global user data, the directory that contains user-provided mods, worlds, games, and texture packs. * core.get_modpath() (possible in async calls) - * returns path to global modpath, where mods can be installed + * returns path to global modpath in the user path, where mods can be installed * core.get_modpaths() (possible in async calls) - * returns list of paths to global modpaths, where mods have been installed - + * returns table of virtual path to global modpaths, where mods have been installed The difference with "core.get_modpath" is that no mods should be installed in these directories by Minetest -- they might be read-only. + Ex: + + ``` + { + mods = "/home/user/.minetest/mods", + share = "/usr/share/minetest/mods", + + -- Custom dirs can be specified by the MINETEST_MOD_DIR env variable + ["/path/to/custom/dir"] = "/path/to/custom/dir", + } + ``` + * core.get_clientmodpath() (possible in async calls) * returns path to global client-side modpath * core.get_gamepath() (possible in async calls) diff --git a/doc/world_format.txt b/doc/world_format.txt index eb1d7f728..98c9d2009 100644 --- a/doc/world_format.txt +++ b/doc/world_format.txt @@ -133,6 +133,19 @@ Example content (added indentation and - explanations): load_mod_ = false - whether is to be loaded in this world auth_backend = files - which DB backend to use for authentication data +For load_mod_, the possible values are: + +* `false` - Do not load the mod. +* `true` - Load the mod from wherever it is found (may cause conflicts if the same mod appears also in some other place). +* `mods/modpack/moddir` - Relative path to the mod + * Must be one of the following: + * `mods/`: mods in the user path's mods folder (ex `/home/user/.minetest/mods`) + * `share/`: mods in the share's mods folder (ex: `/usr/share/minetest/mods`) + * `/path/to/env`: you can use absolute paths to mods inside folders specified with the `MINETEST_MOD_PATH` env variable. + * Other locations and absolute paths are not supported + * Note that `moddir` is the directory name, not the mod name specified in mod.conf. + + Player File Format =================== diff --git a/src/content/mods.cpp b/src/content/mods.cpp index 455506967..f75119bbb 100644 --- a/src/content/mods.cpp +++ b/src/content/mods.cpp @@ -89,7 +89,7 @@ void parseModContents(ModSpec &spec) modpack2_is.close(); spec.is_modpack = true; - spec.modpack_content = getModsInPath(spec.path, true); + spec.modpack_content = getModsInPath(spec.path, spec.virtual_path, true); } else { Settings info; @@ -167,13 +167,14 @@ void parseModContents(ModSpec &spec) } std::map getModsInPath( - const std::string &path, bool part_of_modpack) + const std::string &path, const std::string &virtual_path, bool part_of_modpack) { // NOTE: this function works in mutual recursion with parseModContents std::map result; std::vector dirlist = fs::GetDirListing(path); - std::string modpath; + std::string mod_path; + std::string mod_virtual_path; for (const fs::DirListNode &dln : dirlist) { if (!dln.dir) @@ -185,10 +186,14 @@ std::map getModsInPath( if (modname[0] == '.') continue; - modpath.clear(); - modpath.append(path).append(DIR_DELIM).append(modname); + mod_path.clear(); + mod_path.append(path).append(DIR_DELIM).append(modname); - ModSpec spec(modname, modpath, part_of_modpack); + mod_virtual_path.clear(); + // Intentionally uses / to keep paths same on different platforms + mod_virtual_path.append(virtual_path).append("/").append(modname); + + ModSpec spec(modname, mod_path, part_of_modpack, mod_virtual_path); parseModContents(spec); result.insert(std::make_pair(modname, spec)); } @@ -228,9 +233,9 @@ void ModConfiguration::printUnsatisfiedModsError() const } } -void ModConfiguration::addModsInPath(const std::string &path) +void ModConfiguration::addModsInPath(const std::string &path, const std::string &virtual_path) { - addMods(flattenMods(getModsInPath(path))); + addMods(flattenMods(getModsInPath(path, virtual_path))); } void ModConfiguration::addMods(const std::vector &new_mods) @@ -294,29 +299,39 @@ void ModConfiguration::addMods(const std::vector &new_mods) } void ModConfiguration::addModsFromConfig( - const std::string &settings_path, const std::set &mods) + const std::string &settings_path, + const std::unordered_map &modPaths) { Settings conf; - std::set load_mod_names; + std::unordered_map load_mod_names; conf.readConfigFile(settings_path.c_str()); std::vector names = conf.getNames(); for (const std::string &name : names) { - if (name.compare(0, 9, "load_mod_") == 0 && conf.get(name) != "false" && - conf.get(name) != "nil") - load_mod_names.insert(name.substr(9)); + const auto &value = conf.get(name); + if (name.compare(0, 9, "load_mod_") == 0 && value != "false" && + value != "nil") + load_mod_names[name.substr(9)] = value; } std::vector addon_mods; - for (const std::string &i : mods) { - std::vector addon_mods_in_path = flattenMods(getModsInPath(i)); + std::unordered_map> candidates; + + for (const auto &modPath : modPaths) { + std::vector addon_mods_in_path = flattenMods(getModsInPath(modPath.second, modPath.first)); for (std::vector::const_iterator it = addon_mods_in_path.begin(); it != addon_mods_in_path.end(); ++it) { const ModSpec &mod = *it; - if (load_mod_names.count(mod.name) != 0) - addon_mods.push_back(mod); - else + const auto &pair = load_mod_names.find(mod.name); + if (pair != load_mod_names.end()) { + if (is_yes(pair->second) || pair->second == mod.virtual_path) { + addon_mods.push_back(mod); + } else { + candidates[pair->first].emplace_back(mod.virtual_path); + } + } else { conf.setBool("load_mod_" + mod.name, false); + } } } conf.updateConfigFile(settings_path.c_str()); @@ -335,9 +350,22 @@ void ModConfiguration::addModsFromConfig( if (!load_mod_names.empty()) { errorstream << "The following mods could not be found:"; - for (const std::string &mod : load_mod_names) - errorstream << " \"" << mod << "\""; + for (const auto &pair : load_mod_names) + errorstream << " \"" << pair.first << "\""; errorstream << std::endl; + + for (const auto &pair : load_mod_names) { + const auto &candidate = candidates.find(pair.first); + if (candidate != candidates.end()) { + errorstream << "Unable to load " << pair.first << " as the specified path " + << pair.second << " could not be found. " + << "However, it is available in the following locations:" + << std::endl; + for (const auto &path : candidate->second) { + errorstream << " - " << path << std::endl; + } + } + } } } @@ -413,10 +441,12 @@ void ModConfiguration::resolveDependencies() ClientModConfiguration::ClientModConfiguration(const std::string &path) : ModConfiguration(path) { - std::set paths; + std::unordered_map paths; std::string path_user = porting::path_user + DIR_DELIM + "clientmods"; - paths.insert(path); - paths.insert(path_user); + if (path != path_user) { + paths["share"] = path; + } + paths["mods"] = path_user; std::string settings_path = path_user + DIR_DELIM + "mods.conf"; addModsFromConfig(settings_path, paths); diff --git a/src/content/mods.h b/src/content/mods.h index dd3b6e0e6..ab0a9300e 100644 --- a/src/content/mods.h +++ b/src/content/mods.h @@ -51,17 +51,36 @@ struct ModSpec bool part_of_modpack = false; bool is_modpack = false; + /** + * A constructed canonical path to represent this mod's location. + * This intended to be used as an identifier for a modpath that tolerates file movement, + * and cannot be used to read the mod files. + * + * Note that `mymod` is the directory name, not the mod name specified in mod.conf. + * + * Ex: + * + * - mods/mymod + * - mods/mymod (1) + * (^ this would have name=mymod in mod.conf) + * - mods/modpack1/mymod + * - games/mygame/mods/mymod + * - worldmods/mymod + */ + std::string virtual_path; + // For logging purposes std::vector deprecation_msgs; // if modpack: std::map modpack_content; - ModSpec(const std::string &name = "", const std::string &path = "") : - name(name), path(path) + + ModSpec() { } - ModSpec(const std::string &name, const std::string &path, bool part_of_modpack) : - name(name), path(path), part_of_modpack(part_of_modpack) + + ModSpec(const std::string &name, const std::string &path, bool part_of_modpack, const std::string &virtual_path) : + name(name), path(path), part_of_modpack(part_of_modpack), virtual_path(virtual_path) { } @@ -71,8 +90,16 @@ struct ModSpec // Retrieves depends, optdepends, is_modpack and modpack_content void parseModContents(ModSpec &mod); -std::map getModsInPath( - const std::string &path, bool part_of_modpack = false); +/** + * Gets a list of all mods and modpacks in path + * + * @param Path to search, should be absolute + * @param part_of_modpack Is this searching within a modpack? + * @param virtual_path Virtual path for this directory, see comment in ModSpec + * @returns map of mods + */ +std::map getModsInPath(const std::string &path, + const std::string &virtual_path, bool part_of_modpack = false); // replaces modpack Modspecs with their content std::vector flattenMods(const std::map &mods); @@ -97,15 +124,25 @@ public: protected: ModConfiguration(const std::string &worldpath); - // adds all mods in the given path. used for games, modpacks - // and world-specific mods (worldmods-folders) - void addModsInPath(const std::string &path); + + /** + * adds all mods in the given path. used for games, modpacks + * and world-specific mods (worldmods-folders) + * + * @param path To search, should be absolute + * @param virtual_path Virtual path for this directory, see comment in ModSpec + */ + void addModsInPath(const std::string &path, const std::string &virtual_path); // adds all mods in the set. void addMods(const std::vector &new_mods); + /** + * @param settings_path Path to world.mt + * @param modPaths Map from virtual name to mod path + */ void addModsFromConfig(const std::string &settings_path, - const std::set &mods); + const std::unordered_map &modPaths); void checkConflictsAndDeps(); diff --git a/src/content/subgames.cpp b/src/content/subgames.cpp index 62e82e0e4..23355990e 100644 --- a/src/content/subgames.cpp +++ b/src/content/subgames.cpp @@ -107,14 +107,13 @@ SubgameSpec findSubgame(const std::string &id) std::string gamemod_path = game_path + DIR_DELIM + "mods"; // Find mod directories - std::set mods_paths; - if (!user_game) - mods_paths.insert(share + DIR_DELIM + "mods"); - if (user != share || user_game) - mods_paths.insert(user + DIR_DELIM + "mods"); + std::unordered_map mods_paths; + mods_paths["mods"] = user + DIR_DELIM + "mods"; + if (!user_game && user != share) + mods_paths["share"] = share + DIR_DELIM + "mods"; for (const std::string &mod_path : getEnvModPaths()) { - mods_paths.insert(mod_path); + mods_paths[fs::AbsolutePath(mod_path)] = mod_path; } // Get meta diff --git a/src/content/subgames.h b/src/content/subgames.h index 4a50803e8..d36b4952f 100644 --- a/src/content/subgames.h +++ b/src/content/subgames.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#include #include class Settings; @@ -33,13 +34,16 @@ struct SubgameSpec int release; std::string path; std::string gamemods_path; - std::set addon_mods_paths; + + /** + * Map from virtual path to mods path + */ + std::unordered_map addon_mods_paths; std::string menuicon_path; SubgameSpec(const std::string &id = "", const std::string &path = "", const std::string &gamemods_path = "", - const std::set &addon_mods_paths = - std::set(), + const std::unordered_map &addon_mods_paths = {}, const std::string &name = "", const std::string &menuicon_path = "", const std::string &author = "", int release = 0) : diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 736ad022f..db031dde5 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -323,9 +323,9 @@ int ModApiMainMenu::l_get_games(lua_State *L) lua_newtable(L); int table2 = lua_gettop(L); int internal_index = 1; - for (const std::string &addon_mods_path : game.addon_mods_paths) { + for (const auto &addon_mods_path : game.addon_mods_paths) { lua_pushnumber(L, internal_index); - lua_pushstring(L, addon_mods_path.c_str()); + lua_pushstring(L, addon_mods_path.second.c_str()); lua_settable(L, table2); internal_index++; } @@ -533,14 +533,14 @@ int ModApiMainMenu::l_get_modpath(lua_State *L) /******************************************************************************/ int ModApiMainMenu::l_get_modpaths(lua_State *L) { - int index = 1; lua_newtable(L); + ModApiMainMenu::l_get_modpath(L); - lua_rawseti(L, -2, index); + lua_setfield(L, -2, "mods"); + for (const std::string &component : getEnvModPaths()) { - index++; lua_pushstring(L, component.c_str()); - lua_rawseti(L, -2, index); + lua_setfield(L, -2, fs::AbsolutePath(component).c_str()); } return 1; } diff --git a/src/server/mods.cpp b/src/server/mods.cpp index 609d8c346..ba76d4746 100644 --- a/src/server/mods.cpp +++ b/src/server/mods.cpp @@ -41,8 +41,10 @@ ServerModManager::ServerModManager(const std::string &worldpath) : SubgameSpec gamespec = findWorldSubgame(worldpath); // Add all game mods and all world mods - addModsInPath(gamespec.gamemods_path); - addModsInPath(worldpath + DIR_DELIM + "worldmods"); + std::string game_virtual_path; + game_virtual_path.append("games/").append(gamespec.id).append("/mods"); + addModsInPath(gamespec.gamemods_path, game_virtual_path); + addModsInPath(worldpath + DIR_DELIM + "worldmods", "worldmods"); // Load normal mods std::string worldmt = worldpath + DIR_DELIM + "world.mt"; -- cgit v1.2.3 From 80812b86d6097ae67ec61f99357497cbaaf43c80 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 8 Jan 2022 11:45:05 +0100 Subject: Document moon orientation relative to sun --- doc/lua_api.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index faaed55e1..e9140a972 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6877,7 +6877,9 @@ object you are working with still exists. * `visible`: Boolean for whether the moon is visible. (default: `true`) * `texture`: A regular texture for the moon. Setting to `""` - will re-enable the mesh moon. (default: "moon.png", if it exists) + will re-enable the mesh moon. (default: `"moon.png"`, if it exists) + Note: Relative to the sun, the moon texture is rotated by 180°. + You can use the `^[transformR180` texture modifier to achieve the same orientation. * `tonemap`: A 512x1 texture containing the tonemap for the moon (default: `"moon_tonemap.png"`) * `scale`: Float controlling the overall size of the moon (default: `1`) -- cgit v1.2.3 From 1e4d6672be35e075de6add3d4d4e97793a911efc Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Fri, 28 Jan 2022 17:50:51 +0100 Subject: Fix builtin statbar backgrounds see #12000 --- builtin/game/statbars.lua | 68 +++++++++++++++++++++++------------------------ src/client/hud.cpp | 7 +++-- 2 files changed, 37 insertions(+), 38 deletions(-) diff --git a/builtin/game/statbars.lua b/builtin/game/statbars.lua index db5087a16..cb7ff7b76 100644 --- a/builtin/game/statbars.lua +++ b/builtin/game/statbars.lua @@ -1,39 +1,39 @@ -- cache setting local enable_damage = core.settings:get_bool("enable_damage") -local health_bar_definition = { - hud_elem_type = "statbar", - position = {x = 0.5, y = 1}, - text = "heart.png", - text2 = "heart_gone.png", - number = core.PLAYER_MAX_HP_DEFAULT, - item = core.PLAYER_MAX_HP_DEFAULT, - direction = 0, - size = {x = 24, y = 24}, - offset = {x = (-10 * 24) - 25, y = -(48 + 24 + 16)}, -} - -local breath_bar_definition = { - hud_elem_type = "statbar", - position = {x = 0.5, y = 1}, - text = "bubble.png", - text2 = "bubble_gone.png", - number = core.PLAYER_MAX_BREATH_DEFAULT, - item = core.PLAYER_MAX_BREATH_DEFAULT * 2, - direction = 0, - size = {x = 24, y = 24}, - offset = {x = 25, y= -(48 + 24 + 16)}, +local bar_definitions = { + hp = { + hud_elem_type = "statbar", + position = {x = 0.5, y = 1}, + text = "heart.png", + text2 = "heart_gone.png", + number = core.PLAYER_MAX_HP_DEFAULT, + item = core.PLAYER_MAX_HP_DEFAULT, + direction = 0, + size = {x = 24, y = 24}, + offset = {x = (-10 * 24) - 25, y = -(48 + 24 + 16)}, + }, + breath = { + hud_elem_type = "statbar", + position = {x = 0.5, y = 1}, + text = "bubble.png", + text2 = "bubble_gone.png", + number = core.PLAYER_MAX_BREATH_DEFAULT * 2, + item = core.PLAYER_MAX_BREATH_DEFAULT * 2, + direction = 0, + size = {x = 24, y = 24}, + offset = {x = 25, y= -(48 + 24 + 16)}, + }, } local hud_ids = {} -local function scaleToDefault(player, field) - -- Scale "hp" or "breath" to the default dimensions +local function scaleToHudMax(player, field) + -- Scale "hp" or "breath" to the hud maximum dimensions local current = player["get_" .. field](player) - local nominal = core["PLAYER_MAX_" .. field:upper() .. "_DEFAULT"] - local max_display = math.max(nominal, - math.max(player:get_properties()[field .. "_max"], current)) - return current / max_display * nominal + local nominal = bar_definitions[field].item + local max_display = math.max(player:get_properties()[field .. "_max"], current) + return math.ceil(current / max_display * nominal) end local function update_builtin_statbars(player) @@ -55,9 +55,9 @@ local function update_builtin_statbars(player) local immortal = player:get_armor_groups().immortal == 1 if flags.healthbar and enable_damage and not immortal then - local number = scaleToDefault(player, "hp") + local number = scaleToHudMax(player, "hp") if hud.id_healthbar == nil then - local hud_def = table.copy(health_bar_definition) + local hud_def = table.copy(bar_definitions.hp) hud_def.number = number hud.id_healthbar = player:hud_add(hud_def) else @@ -73,9 +73,9 @@ local function update_builtin_statbars(player) local breath = player:get_breath() local breath_max = player:get_properties().breath_max if show_breathbar and breath <= breath_max then - local number = 2 * scaleToDefault(player, "breath") + local number = scaleToHudMax(player, "breath") if not hud.id_breathbar and breath < breath_max then - local hud_def = table.copy(breath_bar_definition) + local hud_def = table.copy(bar_definitions.breath) hud_def.number = number hud.id_breathbar = player:hud_add(hud_def) elseif hud.id_breathbar then @@ -145,7 +145,7 @@ function core.hud_replace_builtin(hud_name, definition) end if hud_name == "health" then - health_bar_definition = definition + bar_definitions.hp = definition for name, ids in pairs(hud_ids) do local player = core.get_player_by_name(name) @@ -159,7 +159,7 @@ function core.hud_replace_builtin(hud_name, definition) end if hud_name == "breath" then - breath_bar_definition = definition + bar_definitions.breath = definition for name, ids in pairs(hud_ids) do local player = core.get_player_by_name(name) diff --git a/src/client/hud.cpp b/src/client/hud.cpp index 6011a8cff..259a18ab9 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -676,7 +676,7 @@ void Hud::drawStatbar(v2s32 pos, u16 corner, u16 drawdir, // Rectangles for 1/2 the "off state" texture core::rect srchalfrect2, dsthalfrect2; - if (count % 2 == 1) { + if (count % 2 == 1 || maxcount % 2 == 1) { // Need to draw halves: Calculate rectangles srchalfrect = calculate_clipping_rect(srcd, steppos); dsthalfrect = calculate_clipping_rect(dstd, steppos); @@ -711,7 +711,7 @@ void Hud::drawStatbar(v2s32 pos, u16 corner, u16 drawdir, } } - if (stat_texture_bg && maxcount > count / 2) { + if (stat_texture_bg && maxcount > count) { // Draw "off state" textures s32 start_offset; if (count % 2 == 1) @@ -731,8 +731,7 @@ void Hud::drawStatbar(v2s32 pos, u16 corner, u16 drawdir, if (maxcount % 2 == 1) { draw2DImageFilterScaled(driver, stat_texture_bg, - dsthalfrect + p, srchalfrect, - NULL, colors, true); + dsthalfrect + p, srchalfrect, NULL, colors, true); } } } -- cgit v1.2.3 From c61998bd2000427b96fc506edffa9fa4e27a1a9b Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 31 Jan 2022 21:48:14 +0000 Subject: Revert "Disable dynamic shadows for the 5.5.0 release" (#12032) --- builtin/mainmenu/tab_settings.lua | 14 +++++------ builtin/settingtypes.txt | 52 +++++++++++++++++++++++++++++++++++++++ src/client/mapblock_mesh.cpp | 2 +- src/client/render/core.cpp | 2 +- src/client/renderingengine.h | 4 +-- src/client/shader.cpp | 2 +- src/client/sky.cpp | 2 +- 7 files changed, 65 insertions(+), 13 deletions(-) diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index 700b7390f..42f7f8daf 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -218,10 +218,10 @@ local function formspec(tabview, name, tabdata) "checkbox[8.25,1.5;cb_waving_leaves;" .. fgettext("Waving Leaves") .. ";" .. dump(core.settings:get_bool("enable_waving_leaves")) .. "]" .. "checkbox[8.25,2;cb_waving_plants;" .. fgettext("Waving Plants") .. ";" - .. dump(core.settings:get_bool("enable_waving_plants")) .. "]" - --"label[8.25,3.0;" .. fgettext("Dynamic shadows: ") .. "]" .. - --"dropdown[8.25,3.5;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";" - -- .. getSettingIndex.ShadowMapping() .. "]" + .. dump(core.settings:get_bool("enable_waving_plants")) .. "]".. + "label[8.25,3.0;" .. fgettext("Dynamic shadows: ") .. "]" .. + "dropdown[8.25,3.5;3.5;dd_shadows;" .. dd_options.shadow_levels[1] .. ";" + .. getSettingIndex.ShadowMapping() .. "]" else tab_string = tab_string .. "label[8.38,0.7;" .. core.colorize("#888888", @@ -231,9 +231,9 @@ local function formspec(tabview, name, tabdata) "label[8.38,1.7;" .. core.colorize("#888888", fgettext("Waving Leaves")) .. "]" .. "label[8.38,2.2;" .. core.colorize("#888888", - fgettext("Waving Plants")) .. "]" - --"label[8.38,2.7;" .. core.colorize("#888888", - -- fgettext("Dynamic shadows")) .. "]" + fgettext("Waving Plants")) .. "]".. + "label[8.38,2.7;" .. core.colorize("#888888", + fgettext("Dynamic shadows")) .. "]" end return tab_string diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 42b45aa00..ef8b84cff 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -586,6 +586,58 @@ enable_waving_leaves (Waving leaves) bool false # Requires shaders to be enabled. enable_waving_plants (Waving plants) bool false +[***Dynamic shadows] + +# Set to true to enable Shadow Mapping. +# Requires shaders to be enabled. +enable_dynamic_shadows (Dynamic shadows) bool false + +# Set the shadow strength. +# Lower value means lighter shadows, higher value means darker shadows. +shadow_strength (Shadow strength) float 0.2 0.05 1.0 + +# Maximum distance to render shadows. +shadow_map_max_distance (Shadow map max distance in nodes to render shadows) float 120.0 10.0 1000.0 + +# Texture size to render the shadow map on. +# This must be a power of two. +# Bigger numbers create better shadows but it is also more expensive. +shadow_map_texture_size (Shadow map texture size) int 1024 128 8192 + +# Sets shadow texture quality to 32 bits. +# On false, 16 bits texture will be used. +# This can cause much more artifacts in the shadow. +shadow_map_texture_32bit (Shadow map texture in 32 bits) bool true + +# Enable Poisson disk filtering. +# On true uses Poisson disk to make "soft shadows". Otherwise uses PCF filtering. +shadow_poisson_filter (Poisson filtering) bool true + +# Define shadow filtering quality. +# This simulates the soft shadows effect by applying a PCF or Poisson disk +# but also uses more resources. +shadow_filters (Shadow filter quality) enum 1 0,1,2 + +# Enable colored shadows. +# On true translucent nodes cast colored shadows. This is expensive. +shadow_map_color (Colored shadows) bool false + +# Spread a complete update of shadow map over given amount of frames. +# Higher values might make shadows laggy, lower values +# will consume more resources. +# Minimum value: 1; maximum value: 16 +shadow_update_frames (Map shadows update frames) int 8 1 16 + +# Set the soft shadow radius size. +# Lower values mean sharper shadows, bigger values mean softer shadows. +# Minimum value: 1.0; maximum value: 10.0 +shadow_soft_radius (Soft shadow radius) float 1.0 1.0 10.0 + +# Set the tilt of Sun/Moon orbit in degrees. +# Value of 0 means no tilt / vertical orbit. +# Minimum value: 0.0; maximum value: 60.0 +shadow_sky_body_orbit_tilt (Sky Body Orbit Tilt) float 0.0 0.0 60.0 + [**Advanced] # Arm inertia, gives a more realistic movement of diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index 249a56087..03522eca9 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -861,7 +861,7 @@ static void updateFastFaceRow( g_settings->getBool("enable_waving_water"); static thread_local const bool force_not_tiling = - false && g_settings->getBool("enable_dynamic_shadows"); + g_settings->getBool("enable_dynamic_shadows"); v3s16 p = startpos; diff --git a/src/client/render/core.cpp b/src/client/render/core.cpp index 44ef1c98c..f151832f3 100644 --- a/src/client/render/core.cpp +++ b/src/client/render/core.cpp @@ -36,7 +36,7 @@ RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud virtual_size = screensize; if (g_settings->getBool("enable_shaders") && - false && g_settings->getBool("enable_dynamic_shadows")) { + g_settings->getBool("enable_dynamic_shadows")) { shadow_renderer = new ShadowRenderer(device, client); } } diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h index a0ddb0d9a..6f104bba9 100644 --- a/src/client/renderingengine.h +++ b/src/client/renderingengine.h @@ -123,8 +123,8 @@ public: // FIXME: this is still global when it shouldn't be static ShadowRenderer *get_shadow_renderer() { - //if (s_singleton && s_singleton->core) - // return s_singleton->core->get_shadow_renderer(); + if (s_singleton && s_singleton->core) + return s_singleton->core->get_shadow_renderer(); return nullptr; } static std::vector getSupportedVideoDrivers(); diff --git a/src/client/shader.cpp b/src/client/shader.cpp index c04a25862..dc9e9ae6d 100644 --- a/src/client/shader.cpp +++ b/src/client/shader.cpp @@ -733,7 +733,7 @@ ShaderInfo ShaderSource::generateShader(const std::string &name, shaders_header << "#define FOG_START " << core::clamp(g_settings->getFloat("fog_start"), 0.0f, 0.99f) << "\n"; - if (false && g_settings->getBool("enable_dynamic_shadows")) { + if (g_settings->getBool("enable_dynamic_shadows")) { shaders_header << "#define ENABLE_DYNAMIC_SHADOWS 1\n"; if (g_settings->getBool("shadow_map_color")) shaders_header << "#define COLORED_SHADOWS 1\n"; diff --git a/src/client/sky.cpp b/src/client/sky.cpp index 7fe90c6cd..0ab710eee 100644 --- a/src/client/sky.cpp +++ b/src/client/sky.cpp @@ -103,7 +103,7 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade m_directional_colored_fog = g_settings->getBool("directional_colored_fog"); - if (false && g_settings->getBool("enable_dynamic_shadows")) { + if (g_settings->getBool("enable_dynamic_shadows")) { float val = g_settings->getFloat("shadow_sky_body_orbit_tilt"); m_sky_body_orbit_tilt = rangelim(val, 0.0f, 60.0f); } -- cgit v1.2.3 From 163d3547e65a6cea8a3e555557407e88d8e09183 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 31 Jan 2022 22:42:37 +0100 Subject: Fix macOS compile instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3d2981f6..eb2728f20 100644 --- a/README.md +++ b/README.md @@ -430,7 +430,7 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX=../build/macos/ \ -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -make -j$(nproc) +make -j$(sysctl -n hw.logicalcpu) make install ``` -- cgit v1.2.3 From d387e9b6d39d9689b79da21fa263c93d2b26e840 Mon Sep 17 00:00:00 2001 From: DS Date: Thu, 3 Feb 2022 11:43:28 +0100 Subject: Add more documentation for the list[] fs element (#11979) --- doc/lua_api.txt | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e9140a972..7061a5b8a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2388,21 +2388,23 @@ Elements * End of a scroll_container, following elements are no longer bound to this container. -### `list[;;,;,;]` +### `list[;;,;,;]` -* Show an inventory list if it has been sent to the client. Nothing will - be shown if the inventory list is of size 0. +* Show an inventory list if it has been sent to the client. +* If the inventory list changes (eg. it didn't exist before, it's resized, or its items + are moved) while the formspec is open, the formspec element may (but is not guaranteed + to) adapt to the new inventory list. +* Item slots are drawn in a grid from left to right, then up to down, ordered + according to the slot index. +* `W` and `H` are in inventory slots, not in coordinates. +* `starting item index` (Optional): The index of the first (upper-left) item to draw. + Indices start at `0`. Default is `0`. +* The number of shown slots is the minimum of `W*H` and the inventory list's size minus + `starting item index`. * **Note**: With the new coordinate system, the spacing between inventory slots is one-fourth the size of an inventory slot by default. Also see [Styling Formspecs] for changing the size of slots and spacing. -### `list[;;,;,;]` - -* Show an inventory list if it has been sent to the client. Nothing will - be shown if the inventory list is of size 0. -* **Note**: With the new coordinate system, the spacing between inventory - slots is one-fourth the size of an inventory slot. - ### `listring[;]` * Allows to create a ring of inventory lists -- cgit v1.2.3 From 1c73902005bb5c7a40be5571bff9c232d8c69536 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 1 Feb 2022 20:49:19 -0500 Subject: Clean up ClientInterface locking --- src/clientiface.h | 11 +- src/network/serverpackethandler.cpp | 3 +- src/server.cpp | 255 +++++++++++++++++------------------- 3 files changed, 128 insertions(+), 141 deletions(-) diff --git a/src/clientiface.h b/src/clientiface.h index b1591ddb0..1be9c972a 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "network/networkprotocol.h" #include "network/address.h" #include "porting.h" +#include "threading/mutex_auto_lock.h" #include #include @@ -503,9 +504,13 @@ public: static std::string state2Name(ClientState state); protected: - //TODO find way to avoid this functions - void lock() { m_clients_mutex.lock(); } - void unlock() { m_clients_mutex.unlock(); } + class AutoLock { + public: + AutoLock(ClientInterface &iface): m_lock(iface.m_clients_mutex) {} + + private: + RecursiveMutexAutoLock m_lock; + }; RemoteClientMap& getClientList() { return m_clients; } diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 12dc24460..a983424ba 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -452,7 +452,7 @@ void Server::handleCommand_GotBlocks(NetworkPacket* pkt) ("GOTBLOCKS length is too short"); } - m_clients.lock(); + ClientInterface::AutoLock lock(m_clients); RemoteClient *client = m_clients.lockedGetClientNoEx(pkt->getPeerId()); for (u16 i = 0; i < count; i++) { @@ -460,7 +460,6 @@ void Server::handleCommand_GotBlocks(NetworkPacket* pkt) *pkt >> p; client->GotBlock(p); } - m_clients.unlock(); } void Server::process_PlayerPos(RemotePlayer *player, PlayerSAO *playersao, diff --git a/src/server.cpp b/src/server.cpp index 23a7dc5a0..df7083b68 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -723,28 +723,29 @@ void Server::AsyncRunStep(bool initial_step) //infostream<<"Server: Checking added and deleted active objects"<set(clients.size()); - for (const auto &client_it : clients) { - RemoteClient *client = client_it.second; + m_player_gauge->set(clients.size()); + for (const auto &client_it : clients) { + RemoteClient *client = client_it.second; - if (client->getState() < CS_DefinitionsSent) - continue; + if (client->getState() < CS_DefinitionsSent) + continue; - // This can happen if the client times out somehow - if (!m_env->getPlayer(client->peer_id)) - continue; + // This can happen if the client times out somehow + if (!m_env->getPlayer(client->peer_id)) + continue; - PlayerSAO *playersao = getPlayerSAO(client->peer_id); - if (!playersao) - continue; + PlayerSAO *playersao = getPlayerSAO(client->peer_id); + if (!playersao) + continue; - SendActiveObjectRemoveAdd(client, playersao); + SendActiveObjectRemoveAdd(client, playersao); + } } - m_clients.unlock(); // Write changes to the mod storage m_mod_storage_save_timer -= dtime; @@ -787,63 +788,64 @@ void Server::AsyncRunStep(bool initial_step) m_aom_buffer_counter->increment(aom_count); - m_clients.lock(); - const RemoteClientMap &clients = m_clients.getClientList(); - // Route data to every client - std::string reliable_data, unreliable_data; - for (const auto &client_it : clients) { - reliable_data.clear(); - unreliable_data.clear(); - RemoteClient *client = client_it.second; - PlayerSAO *player = getPlayerSAO(client->peer_id); - // Go through all objects in message buffer - for (const auto &buffered_message : buffered_messages) { - // If object does not exist or is not known by client, skip it - u16 id = buffered_message.first; - ServerActiveObject *sao = m_env->getActiveObject(id); - if (!sao || client->m_known_objects.find(id) == client->m_known_objects.end()) - continue; + { + ClientInterface::AutoLock clientlock(m_clients); + const RemoteClientMap &clients = m_clients.getClientList(); + // Route data to every client + std::string reliable_data, unreliable_data; + for (const auto &client_it : clients) { + reliable_data.clear(); + unreliable_data.clear(); + RemoteClient *client = client_it.second; + PlayerSAO *player = getPlayerSAO(client->peer_id); + // Go through all objects in message buffer + for (const auto &buffered_message : buffered_messages) { + // If object does not exist or is not known by client, skip it + u16 id = buffered_message.first; + ServerActiveObject *sao = m_env->getActiveObject(id); + if (!sao || client->m_known_objects.find(id) == client->m_known_objects.end()) + continue; - // Get message list of object - std::vector* list = buffered_message.second; - // Go through every message - for (const ActiveObjectMessage &aom : *list) { - // Send position updates to players who do not see the attachment - if (aom.datastring[0] == AO_CMD_UPDATE_POSITION) { - if (sao->getId() == player->getId()) - continue; - - // Do not send position updates for attached players - // as long the parent is known to the client - ServerActiveObject *parent = sao->getParent(); - if (parent && client->m_known_objects.find(parent->getId()) != - client->m_known_objects.end()) - continue; + // Get message list of object + std::vector* list = buffered_message.second; + // Go through every message + for (const ActiveObjectMessage &aom : *list) { + // Send position updates to players who do not see the attachment + if (aom.datastring[0] == AO_CMD_UPDATE_POSITION) { + if (sao->getId() == player->getId()) + continue; + + // Do not send position updates for attached players + // as long the parent is known to the client + ServerActiveObject *parent = sao->getParent(); + if (parent && client->m_known_objects.find(parent->getId()) != + client->m_known_objects.end()) + continue; + } + + // Add full new data to appropriate buffer + std::string &buffer = aom.reliable ? reliable_data : unreliable_data; + char idbuf[2]; + writeU16((u8*) idbuf, aom.id); + // u16 id + // std::string data + buffer.append(idbuf, sizeof(idbuf)); + buffer.append(serializeString16(aom.datastring)); } - - // Add full new data to appropriate buffer - std::string &buffer = aom.reliable ? reliable_data : unreliable_data; - char idbuf[2]; - writeU16((u8*) idbuf, aom.id); - // u16 id - // std::string data - buffer.append(idbuf, sizeof(idbuf)); - buffer.append(serializeString16(aom.datastring)); } - } - /* - reliable_data and unreliable_data are now ready. - Send them. - */ - if (!reliable_data.empty()) { - SendActiveObjectMessages(client->peer_id, reliable_data); - } + /* + reliable_data and unreliable_data are now ready. + Send them. + */ + if (!reliable_data.empty()) { + SendActiveObjectMessages(client->peer_id, reliable_data); + } - if (!unreliable_data.empty()) { - SendActiveObjectMessages(client->peer_id, unreliable_data, false); + if (!unreliable_data.empty()) { + SendActiveObjectMessages(client->peer_id, unreliable_data, false); + } } } - m_clients.unlock(); // Clear buffered_messages for (auto &buffered_message : buffered_messages) { @@ -1050,18 +1052,14 @@ PlayerSAO* Server::StageTwoClientInit(session_t peer_id) { std::string playername; PlayerSAO *playersao = NULL; - m_clients.lock(); - try { + { + ClientInterface::AutoLock clientlock(m_clients); RemoteClient* client = m_clients.lockedGetClientNoEx(peer_id, CS_InitDone); if (client) { playername = client->getName(); playersao = emergePlayer(playername.c_str(), peer_id, client->net_proto_version); } - } catch (std::exception &e) { - m_clients.unlock(); - throw; } - m_clients.unlock(); RemotePlayer *player = m_env->getPlayer(playername.c_str()); @@ -1233,13 +1231,12 @@ void Server::onMapEditEvent(const MapEditEvent &event) void Server::SetBlocksNotSent(std::map& block) { std::vector clients = m_clients.getClientIDs(); - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); // Set the modified blocks unsent for all the clients for (const session_t client_id : clients) { if (RemoteClient *client = m_clients.lockedGetClientNoEx(client_id)) client->SetBlocksNotSent(block); } - m_clients.unlock(); } void Server::peerAdded(con::Peer *peer) @@ -1267,13 +1264,11 @@ bool Server::getClientConInfo(session_t peer_id, con::rtt_stat_type type, float* bool Server::getClientInfo(session_t peer_id, ClientInfo &ret) { - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); RemoteClient* client = m_clients.lockedGetClientNoEx(peer_id, CS_Invalid); - if (!client) { - m_clients.unlock(); + if (!client) return false; - } ret.state = client->getState(); ret.addr = client->getAddress(); @@ -1288,8 +1283,6 @@ bool Server::getClientInfo(session_t peer_id, ClientInfo &ret) ret.lang_code = client->getLangCode(); - m_clients.unlock(); - return true; } @@ -2218,7 +2211,7 @@ void Server::sendRemoveNode(v3s16 p, std::unordered_set *far_players, pkt << p; std::vector clients = m_clients.getClientIDs(); - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); for (session_t client_id : clients) { RemoteClient *client = m_clients.lockedGetClientNoEx(client_id); @@ -2241,8 +2234,6 @@ void Server::sendRemoveNode(v3s16 p, std::unordered_set *far_players, // Send as reliable m_clients.send(client_id, 0, &pkt, true); } - - m_clients.unlock(); } void Server::sendAddNode(v3s16 p, MapNode n, std::unordered_set *far_players, @@ -2257,7 +2248,7 @@ void Server::sendAddNode(v3s16 p, MapNode n, std::unordered_set *far_player << (u8) (remove_metadata ? 0 : 1); std::vector clients = m_clients.getClientIDs(); - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); for (session_t client_id : clients) { RemoteClient *client = m_clients.lockedGetClientNoEx(client_id); @@ -2280,8 +2271,6 @@ void Server::sendAddNode(v3s16 p, MapNode n, std::unordered_set *far_player // Send as reliable m_clients.send(client_id, 0, &pkt, true); } - - m_clients.unlock(); } void Server::sendMetadataChanged(const std::list &meta_updates, float far_d_nodes) @@ -2290,7 +2279,7 @@ void Server::sendMetadataChanged(const std::list &meta_updates, float far NodeMetadataList meta_updates_list(false); std::vector clients = m_clients.getClientIDs(); - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); for (session_t i : clients) { RemoteClient *client = m_clients.lockedGetClientNoEx(i); @@ -2331,8 +2320,6 @@ void Server::sendMetadataChanged(const std::list &meta_updates, float far meta_updates_list.clear(); } - - m_clients.unlock(); } void Server::SendBlockNoLock(session_t peer_id, MapBlock *block, u8 ver, @@ -2368,7 +2355,7 @@ void Server::SendBlocks(float dtime) std::vector clients = m_clients.getClientIDs(); - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); for (const session_t client_id : clients) { RemoteClient *client = m_clients.lockedGetClientNoEx(client_id, CS_Active); @@ -2378,7 +2365,6 @@ void Server::SendBlocks(float dtime) total_sending += client->getSendingCount(); client->GetNextBlocks(m_env,m_emerge, dtime, queue); } - m_clients.unlock(); } // Sort. @@ -2386,7 +2372,7 @@ void Server::SendBlocks(float dtime) // Lowest is most important. std::sort(queue.begin(), queue.end()); - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); // Maximal total count calculation // The per-client block sends is halved with the maximal online users @@ -2415,7 +2401,6 @@ void Server::SendBlocks(float dtime) client->SentBlock(block_to_send.pos); total_sending++; } - m_clients.unlock(); } bool Server::SendBlock(session_t peer_id, const v3s16 &blockpos) @@ -2424,15 +2409,12 @@ bool Server::SendBlock(session_t peer_id, const v3s16 &blockpos) if (!block) return false; - m_clients.lock(); + ClientInterface::AutoLock clientlock(m_clients); RemoteClient *client = m_clients.lockedGetClientNoEx(peer_id, CS_Active); - if (!client || client->isBlockSent(blockpos)) { - m_clients.unlock(); + if (!client || client->isBlockSent(blockpos)) return false; - } SendBlockNoLock(peer_id, block, client->serialization_version, client->net_proto_version); - m_clients.unlock(); return true; } @@ -3534,48 +3516,49 @@ bool Server::dynamicAddMedia(std::string filepath, legacy_pkt.putLongString(filedata); std::unordered_set delivered, waiting; - m_clients.lock(); - for (auto &pair : m_clients.getClientList()) { - if (pair.second->getState() == CS_DefinitionsSent && !ephemeral) { - /* - If a client is in the DefinitionsSent state it is too late to - transfer the file via sendMediaAnnouncement() but at the same - time the client cannot accept a media push yet. - Short of artificially delaying the joining process there is no - way for the server to resolve this so we (currently) opt not to. - */ - warningstream << "The media \"" << filename << "\" (dynamic) could " - "not be delivered to " << pair.second->getName() - << " due to a race condition." << std::endl; - continue; - } - if (pair.second->getState() < CS_Active) - continue; + { + ClientInterface::AutoLock clientlock(m_clients); + for (auto &pair : m_clients.getClientList()) { + if (pair.second->getState() == CS_DefinitionsSent && !ephemeral) { + /* + If a client is in the DefinitionsSent state it is too late to + transfer the file via sendMediaAnnouncement() but at the same + time the client cannot accept a media push yet. + Short of artificially delaying the joining process there is no + way for the server to resolve this so we (currently) opt not to. + */ + warningstream << "The media \"" << filename << "\" (dynamic) could " + "not be delivered to " << pair.second->getName() + << " due to a race condition." << std::endl; + continue; + } + if (pair.second->getState() < CS_Active) + continue; - const auto proto_ver = pair.second->net_proto_version; - if (proto_ver < 39) - continue; + const auto proto_ver = pair.second->net_proto_version; + if (proto_ver < 39) + continue; - const session_t peer_id = pair.second->peer_id; - if (!to_player.empty() && getPlayerName(peer_id) != to_player) - continue; + const session_t peer_id = pair.second->peer_id; + if (!to_player.empty() && getPlayerName(peer_id) != to_player) + continue; - if (proto_ver < 40) { - delivered.emplace(peer_id); - /* - The network layer only guarantees ordered delivery inside a channel. - Since the very next packet could be one that uses the media, we have - to push the media over ALL channels to ensure it is processed before - it is used. In practice this means channels 1 and 0. - */ - m_clients.send(peer_id, 1, &legacy_pkt, true); - m_clients.send(peer_id, 0, &legacy_pkt, true); - } else { - waiting.emplace(peer_id); - Send(peer_id, &pkt); + if (proto_ver < 40) { + delivered.emplace(peer_id); + /* + The network layer only guarantees ordered delivery inside a channel. + Since the very next packet could be one that uses the media, we have + to push the media over ALL channels to ensure it is processed before + it is used. In practice this means channels 1 and 0. + */ + m_clients.send(peer_id, 1, &legacy_pkt, true); + m_clients.send(peer_id, 0, &legacy_pkt, true); + } else { + waiting.emplace(peer_id); + Send(peer_id, &pkt); + } } } - m_clients.unlock(); // Run callback for players that already had the file delivered (legacy-only) for (session_t peer_id : delivered) { -- cgit v1.2.3 From 1ee37148a8072fe6350124cd51c812c3d3fb069a Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Fri, 4 Feb 2022 20:28:43 +0100 Subject: Fix types of get_mapgen_setting_noiseparams (#12025) --- builtin/mainmenu/dlg_settings_advanced.lua | 30 +++++++++++++----------------- src/script/common/c_content.cpp | 21 ++++++++------------- src/script/common/c_converter.cpp | 27 --------------------------- src/script/common/c_converter.h | 3 --- 4 files changed, 21 insertions(+), 60 deletions(-) diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index 772509670..83f905446 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -517,24 +517,20 @@ end local function get_current_np_group_as_string(setting) local value = core.settings:get_np_group(setting.name) - local t if value == nil then - t = setting.default - else - t = value.offset .. ", " .. - value.scale .. ", (" .. - value.spread.x .. ", " .. - value.spread.y .. ", " .. - value.spread.z .. "), " .. - value.seed .. ", " .. - value.octaves .. ", " .. - value.persistence .. ", " .. - value.lacunarity - if value.flags ~= "" then - t = t .. ", " .. value.flags - end + return setting.default end - return t + return ("%g, %g, (%g, %g, %g), %g, %g, %g, %g"):format( + value.offset, + value.scale, + value.spread.x, + value.spread.y, + value.spread.z, + value.seed, + value.octaves, + value.persistence, + value.lacunarity + ) .. (value.flags ~= "" and (", " .. value.flags) or "") end local checkboxes = {} -- handle checkboxes events @@ -667,7 +663,7 @@ local function create_change_setting_formspec(dialogdata) elseif setting.type == "v3f" then local val = get_current_value(setting) local v3f = {} - for line in val:gmatch("[+-]?[%d.-e]+") do -- All numeric characters + for line in val:gmatch("[+-]?[%d.+-eE]+") do -- All numeric characters table.insert(v3f, line) end diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 8a5a3fe71..b6eaa6b13 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -1697,24 +1697,19 @@ bool read_noiseparams(lua_State *L, int index, NoiseParams *np) void push_noiseparams(lua_State *L, NoiseParams *np) { lua_newtable(L); - push_float_string(L, np->offset); - lua_setfield(L, -2, "offset"); - push_float_string(L, np->scale); - lua_setfield(L, -2, "scale"); - push_float_string(L, np->persist); - lua_setfield(L, -2, "persistence"); - push_float_string(L, np->lacunarity); - lua_setfield(L, -2, "lacunarity"); - lua_pushnumber(L, np->seed); - lua_setfield(L, -2, "seed"); - lua_pushnumber(L, np->octaves); - lua_setfield(L, -2, "octaves"); + setfloatfield(L, -1, "offset", np->offset); + setfloatfield(L, -1, "scale", np->scale); + setfloatfield(L, -1, "persist", np->persist); + setfloatfield(L, -1, "persistence", np->persist); + setfloatfield(L, -1, "lacunarity", np->lacunarity); + setintfield( L, -1, "seed", np->seed); + setintfield( L, -1, "octaves", np->octaves); push_flags_string(L, flagdesc_noiseparams, np->flags, np->flags); lua_setfield(L, -2, "flags"); - push_v3_float_string(L, np->spread); + push_v3f(L, np->spread); lua_setfield(L, -2, "spread"); } diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index 19734b913..716405593 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -73,13 +73,6 @@ static void set_vector_metatable(lua_State *L) lua_pop(L, 1); } - -void push_float_string(lua_State *L, float value) -{ - auto str = ftos(value); - lua_pushstring(L, str.c_str()); -} - void push_v3f(lua_State *L, v3f p) { lua_createtable(L, 0, 3); @@ -101,26 +94,6 @@ void push_v2f(lua_State *L, v2f p) lua_setfield(L, -2, "y"); } -void push_v3_float_string(lua_State *L, v3f p) -{ - lua_createtable(L, 0, 3); - push_float_string(L, p.X); - lua_setfield(L, -2, "x"); - push_float_string(L, p.Y); - lua_setfield(L, -2, "y"); - push_float_string(L, p.Z); - lua_setfield(L, -2, "z"); -} - -void push_v2_float_string(lua_State *L, v2f p) -{ - lua_createtable(L, 0, 2); - push_float_string(L, p.X); - lua_setfield(L, -2, "x"); - push_float_string(L, p.Y); - lua_setfield(L, -2, "y"); -} - v2s16 read_v2s16(lua_State *L, int index) { v2s16 p; diff --git a/src/script/common/c_converter.h b/src/script/common/c_converter.h index 6ad6f3212..a14eb9186 100644 --- a/src/script/common/c_converter.h +++ b/src/script/common/c_converter.h @@ -118,9 +118,6 @@ std::vector read_aabb3f_vector (lua_State *L, int index, f32 scale); size_t read_stringlist (lua_State *L, int index, std::vector *result); -void push_float_string (lua_State *L, float value); -void push_v3_float_string(lua_State *L, v3f p); -void push_v2_float_string(lua_State *L, v2f p); void push_v2s16 (lua_State *L, v2s16 p); void push_v2s32 (lua_State *L, v2s32 p); void push_v3s16 (lua_State *L, v3s16 p); -- cgit v1.2.3 From afb061c374ed6797f47b0806aba26845713d15ac Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 4 Feb 2022 20:29:28 +0100 Subject: Fix broken server startup if curl is disabled (#12046) --- src/script/lua_api/l_http.cpp | 35 +++++++++++++++++++++-------------- src/script/lua_api/l_http.h | 7 ++++--- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/src/script/lua_api/l_http.cpp b/src/script/lua_api/l_http.cpp index bd359b3cc..5566a8523 100644 --- a/src/script/lua_api/l_http.cpp +++ b/src/script/lua_api/l_http.cpp @@ -162,20 +162,6 @@ int ModApiHttp::l_http_fetch_async_get(lua_State *L) return 1; } -int ModApiHttp::l_set_http_api_lua(lua_State *L) -{ - NO_MAP_LOCK_REQUIRED; - - // This is called by builtin to give us a function that will later - // populate the http_api table with additional method(s). - // We need this because access to the HTTP api is security-relevant and - // any mod could just mess with a global variable. - luaL_checktype(L, 1, LUA_TFUNCTION); - lua_rawseti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_HTTP_API_LUA); - - return 0; -} - int ModApiHttp::l_request_http_api(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -215,6 +201,22 @@ int ModApiHttp::l_get_http_api(lua_State *L) #endif +int ModApiHttp::l_set_http_api_lua(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + +#if USE_CURL + // This is called by builtin to give us a function that will later + // populate the http_api table with additional method(s). + // We need this because access to the HTTP api is security-relevant and + // any mod could just mess with a global variable. + luaL_checktype(L, 1, LUA_TFUNCTION); + lua_rawseti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_HTTP_API_LUA); +#endif + + return 0; +} + void ModApiHttp::Initialize(lua_State *L, int top) { #if USE_CURL @@ -231,6 +233,11 @@ void ModApiHttp::Initialize(lua_State *L, int top) API_FCT(set_http_api_lua); } +#else + + // Define this function anyway so builtin can call it without checking + API_FCT(set_http_api_lua); + #endif } diff --git a/src/script/lua_api/l_http.h b/src/script/lua_api/l_http.h index 17fa283ba..8d084ecd9 100644 --- a/src/script/lua_api/l_http.h +++ b/src/script/lua_api/l_http.h @@ -41,9 +41,6 @@ private: // http_fetch_async_get(handle) static int l_http_fetch_async_get(lua_State *L); - // set_http_api_lua() [internal] - static int l_set_http_api_lua(lua_State *L); - // request_http_api() static int l_request_http_api(lua_State *L); @@ -51,6 +48,10 @@ private: static int l_get_http_api(lua_State *L); #endif + // set_http_api_lua() [internal] + static int l_set_http_api_lua(lua_State *L); + + public: static void Initialize(lua_State *L, int top); static void InitializeAsync(lua_State *L, int top); -- cgit v1.2.3 From be05c9022d8b6eff63f477bc8ca52efd7d631cb6 Mon Sep 17 00:00:00 2001 From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Fri, 4 Feb 2022 20:29:39 +0100 Subject: Update copyright year in README (#12029) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb2728f20..19de0cc2b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Minetest Minetest is a free open-source voxel game engine with easy modding and game creation. -Copyright (C) 2010-2020 Perttu Ahola +Copyright (C) 2010-2022 Perttu Ahola and contributors (see source file comments and the version control log) In case you downloaded the source code -- cgit v1.2.3 From b9ee29a9456a66c3670b2a1389878e0896395f58 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Tue, 8 Feb 2022 19:28:32 +0100 Subject: Send HUD flags only if changed --- src/server.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index df7083b68..76345686a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3271,9 +3271,12 @@ bool Server::hudSetFlags(RemotePlayer *player, u32 flags, u32 mask) if (!player) return false; + u32 new_hud_flags = (player->hud_flags & ~mask) | flags; + if (new_hud_flags == player->hud_flags) // no change + return true; + SendHUDSetFlags(player->getPeerId(), flags, mask); - player->hud_flags &= ~mask; - player->hud_flags |= flags; + player->hud_flags = new_hud_flags; PlayerSAO* playersao = player->getPlayerSAO(); -- cgit v1.2.3 From 0dd8e8c2427f12a8a7d080132e9c588c66baa41b Mon Sep 17 00:00:00 2001 From: Gaël C Date: Tue, 8 Feb 2022 19:30:49 +0100 Subject: Noise params serialization fixup --- builtin/mainmenu/dlg_settings_advanced.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index 83f905446..46c3f445c 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -497,22 +497,22 @@ end local function get_current_np_group(setting) local value = core.settings:get_np_group(setting.name) - local t = {} if value == nil then - t = setting.values - else - table.insert(t, value.offset) - table.insert(t, value.scale) - table.insert(t, value.spread.x) - table.insert(t, value.spread.y) - table.insert(t, value.spread.z) - table.insert(t, value.seed) - table.insert(t, value.octaves) - table.insert(t, value.persistence) - table.insert(t, value.lacunarity) - table.insert(t, value.flags) + return setting.values end - return t + local p = "%g" + return { + p:format(value.offset), + p:format(value.scale), + p:format(value.spread.x), + p:format(value.spread.y), + p:format(value.spread.z), + p:format(value.seed), + p:format(value.octaves), + p:format(value.persistence), + p:format(value.lacunarity), + value.flags + } end local function get_current_np_group_as_string(setting) -- cgit v1.2.3 From ce199d6f9e65d6ba51cbf2e1f948586ddc617317 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 3 Feb 2022 21:34:30 +0100 Subject: Update MinGW used by CI This made a rebuild of 32-bit deps necessary. They were updated in the process and this was done for 64-bit too for consistency. --- .github/workflows/build.yml | 8 ++++---- .gitlab-ci.yml | 2 +- util/buildbot/buildwin32.sh | 34 +++++++++++++++++++--------------- util/buildbot/buildwin64.sh | 19 ++++++++++--------- 4 files changed, 34 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79f9af5c7..78027d09c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,13 +162,13 @@ jobs: win32: name: "MinGW cross-compiler (32-bit)" - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install compiler run: | sudo apt-get update -q && sudo apt-get install gettext -qyy - wget http://minetest.kitsunemimi.pw/mingw-w64-i686_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz + wget http://minetest.kitsunemimi.pw/mingw-w64-i686_11.2.0_ubuntu20.04.tar.xz -O mingw.tar.xz sudo tar -xaf mingw.tar.xz -C /usr - name: Build @@ -180,13 +180,13 @@ jobs: win64: name: "MinGW cross-compiler (64-bit)" - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install compiler run: | sudo apt-get update -q && sudo apt-get install gettext -qyy - wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz + wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_11.2.0_ubuntu20.04.tar.xz -O mingw.tar.xz sudo tar -xaf mingw.tar.xz -C /usr - name: Build diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d2600364..feb334bee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -198,7 +198,7 @@ build:fedora-28: before_script: - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install -y wget xz-utils unzip git cmake gettext - - wget -nv http://minetest.kitsunemimi.pw/mingw-w64-${WIN_ARCH}_9.2.0_ubuntu18.04.tar.xz -O mingw.tar.xz + - wget -nv http://minetest.kitsunemimi.pw/mingw-w64-${WIN_ARCH}_11.2.0_ubuntu20.04.tar.xz -O mingw.tar.xz - tar -xaf mingw.tar.xz -C /usr .build_win_template: diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index 9eb9a4050..78b87ec57 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -46,16 +46,17 @@ done # Get stuff irrlicht_version=1.9.0mt4 -ogg_version=1.3.4 +ogg_version=1.3.5 +openal_version=1.21.1 vorbis_version=1.3.7 -curl_version=7.76.1 +curl_version=7.81.0 gettext_version=0.20.1 -freetype_version=2.10.4 -sqlite3_version=3.35.5 +freetype_version=2.11.1 +sqlite3_version=3.37.2 luajit_version=2.1.0-beta3 leveldb_version=1.23 zlib_version=1.2.11 -zstd_version=1.4.9 +zstd_version=1.5.2 mkdir -p $libdir @@ -78,19 +79,22 @@ download () { fi } +# 'dw2' just points to rebuilt versions after a toolchain change +# this distinction should be gotten rid of next time + cd $libdir -download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win32.zip" irrlicht-$irrlicht_version.zip -download "http://minetest.kitsunemimi.pw/zlib-$zlib_version-win32.zip" +download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win32-dw2.zip" irrlicht-$irrlicht_version.zip +download "http://minetest.kitsunemimi.pw/dw2/zlib-$zlib_version-win32.zip" download "http://minetest.kitsunemimi.pw/zstd-$zstd_version-win32.zip" download "http://minetest.kitsunemimi.pw/libogg-$ogg_version-win32.zip" -download "http://minetest.kitsunemimi.pw/libvorbis-$vorbis_version-win32.zip" +download "http://minetest.kitsunemimi.pw/dw2/libvorbis-$vorbis_version-win32.zip" download "http://minetest.kitsunemimi.pw/curl-$curl_version-win32.zip" -download "http://minetest.kitsunemimi.pw/gettext-$gettext_version-win32.zip" +download "http://minetest.kitsunemimi.pw/dw2/gettext-$gettext_version-win32.zip" download "http://minetest.kitsunemimi.pw/freetype2-$freetype_version-win32.zip" freetype-$freetype_version.zip download "http://minetest.kitsunemimi.pw/sqlite3-$sqlite3_version-win32.zip" -download "http://minetest.kitsunemimi.pw/luajit-$luajit_version-win32.zip" -download "http://minetest.kitsunemimi.pw/libleveldb-$leveldb_version-win32.zip" leveldb-$leveldb_version.zip -download "http://minetest.kitsunemimi.pw/openal_stripped.zip" '' unzip_nofolder +download "http://minetest.kitsunemimi.pw/dw2/luajit-$luajit_version-win32.zip" +download "http://minetest.kitsunemimi.pw/dw2/libleveldb-$leveldb_version-win32.zip" leveldb-$leveldb_version.zip +download "http://minetest.kitsunemimi.pw/openal-soft-$openal_version-win32.zip" # Set source dir, downloading Minetest as needed if [ -n "$EXISTING_MINETEST_DIR" ]; then @@ -154,9 +158,9 @@ cmake -S $sourcedir -B . \ -DVORBIS_DLL="$vorbis_dlls" \ -DVORBISFILE_LIBRARY=$libdir/libvorbis/lib/libvorbisfile.dll.a \ \ - -DOPENAL_INCLUDE_DIR=$libdir/openal_stripped/include/AL \ - -DOPENAL_LIBRARY=$libdir/openal_stripped/lib/libOpenAL32.dll.a \ - -DOPENAL_DLL=$libdir/openal_stripped/bin/OpenAL32.dll \ + -DOPENAL_INCLUDE_DIR=$libdir/openal/include/AL \ + -DOPENAL_LIBRARY=$libdir/openal/lib/libOpenAL32.dll.a \ + -DOPENAL_DLL=$libdir/openal/bin/OpenAL32.dll \ \ -DCURL_DLL=$libdir/curl/bin/libcurl-4.dll \ -DCURL_INCLUDE_DIR=$libdir/curl/include \ diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index eb1eae4c2..7526cc200 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -46,16 +46,17 @@ done # Get stuff irrlicht_version=1.9.0mt4 -ogg_version=1.3.4 +ogg_version=1.3.5 +openal_version=1.21.1 vorbis_version=1.3.7 -curl_version=7.76.1 +curl_version=7.81.0 gettext_version=0.20.1 -freetype_version=2.10.4 -sqlite3_version=3.35.5 +freetype_version=2.11.1 +sqlite3_version=3.37.2 luajit_version=2.1.0-beta3 leveldb_version=1.23 zlib_version=1.2.11 -zstd_version=1.4.9 +zstd_version=1.5.2 mkdir -p $libdir @@ -90,7 +91,7 @@ download "http://minetest.kitsunemimi.pw/freetype2-$freetype_version-win64.zip" download "http://minetest.kitsunemimi.pw/sqlite3-$sqlite3_version-win64.zip" download "http://minetest.kitsunemimi.pw/luajit-$luajit_version-win64.zip" download "http://minetest.kitsunemimi.pw/libleveldb-$leveldb_version-win64.zip" leveldb-$leveldb_version.zip -download "http://minetest.kitsunemimi.pw/openal_stripped64.zip" 'openal_stripped.zip' unzip_nofolder +download "http://minetest.kitsunemimi.pw/openal-soft-$openal_version-win64.zip" # Set source dir, downloading Minetest as needed if [ -n "$EXISTING_MINETEST_DIR" ]; then @@ -154,9 +155,9 @@ cmake -S $sourcedir -B . \ -DVORBIS_DLL="$vorbis_dlls" \ -DVORBISFILE_LIBRARY=$libdir/libvorbis/lib/libvorbisfile.dll.a \ \ - -DOPENAL_INCLUDE_DIR=$libdir/openal_stripped/include/AL \ - -DOPENAL_LIBRARY=$libdir/openal_stripped/lib/libOpenAL32.dll.a \ - -DOPENAL_DLL=$libdir/openal_stripped/bin/OpenAL32.dll \ + -DOPENAL_INCLUDE_DIR=$libdir/openal/include/AL \ + -DOPENAL_LIBRARY=$libdir/openal/lib/libOpenAL32.dll.a \ + -DOPENAL_DLL=$libdir/openal/bin/OpenAL32.dll \ \ -DCURL_DLL=$libdir/curl/bin/libcurl-4.dll \ -DCURL_INCLUDE_DIR=$libdir/curl/include \ -- cgit v1.2.3 From ba6fbc417ecb812345c1747f42b6606dfc8e1d5b Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 3 Feb 2022 21:35:08 +0100 Subject: Remove awful Mingw32 workarounds Instead a warning is triggered if an affected compiler is detected. closes #12022 --- src/main.cpp | 8 ++++++++ src/script/common/c_converter.cpp | 8 -------- src/serialization.cpp | 28 ++-------------------------- 3 files changed, 10 insertions(+), 34 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ca95ef874..5ea212d8a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -65,6 +65,14 @@ extern "C" { #error Minetest cannot be built without exceptions or RTTI #endif +#if defined(__MINGW32__) && !defined(__MINGW64__) && !defined(__clang__) && \ + (__GNUC__ < 11 || (__GNUC__ == 11 && __GNUC_MINOR__ < 1)) +// see e.g. https://github.com/minetest/minetest/issues/10137 +#warning ================================== +#warning 32-bit MinGW gcc before 11.1 has known issues with crashes on thread exit, you should upgrade. +#warning ================================== +#endif + #define DEBUGFILE "debug.txt" #define DEFAULT_SERVER_PORT 30000 diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index 716405593..08fb9ad30 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -452,17 +452,9 @@ size_t read_stringlist(lua_State *L, int index, std::vector *result Table field getters */ -#if defined(__MINGW32__) && !defined(__MINGW64__) -/* MinGW 32-bit somehow crashes in the std::set destructor when this - * variable is thread-local, so just don't do that. */ -static std::set warned_msgs; -#endif - bool check_field_or_nil(lua_State *L, int index, int type, const char *fieldname) { -#if !defined(__MINGW32__) || defined(__MINGW64__) thread_local std::set warned_msgs; -#endif int t = lua_type(L, index); if (t == LUA_TNIL) diff --git a/src/serialization.cpp b/src/serialization.cpp index d4d7b5f6e..d3009bc83 100644 --- a/src/serialization.cpp +++ b/src/serialization.cpp @@ -208,30 +208,11 @@ struct ZSTD_Deleter { } }; -#if defined(__MINGW32__) && !defined(__MINGW64__) -/* - * This is exactly as dumb as it looks. - * Yes, this is a memory leak. No, we don't have better solution right now. - */ -template class leaky_ptr -{ - T *value; -public: - leaky_ptr(T *value) : value(value) {}; - T *get() { return value; } -}; -#endif - void compressZstd(const u8 *data, size_t data_size, std::ostream &os, int level) { -#if defined(__MINGW32__) && !defined(__MINGW64__) - // leaks one context per thread but doesn't crash :shrug: - thread_local leaky_ptr stream(ZSTD_createCStream()); -#else // reusing the context is recommended for performance - // it will destroyed when the thread ends + // it will be destroyed when the thread ends thread_local std::unique_ptr stream(ZSTD_createCStream()); -#endif ZSTD_initCStream(stream.get(), level); @@ -276,14 +257,9 @@ void compressZstd(const std::string &data, std::ostream &os, int level) void decompressZstd(std::istream &is, std::ostream &os) { -#if defined(__MINGW32__) && !defined(__MINGW64__) - // leaks one context per thread but doesn't crash :shrug: - thread_local leaky_ptr stream(ZSTD_createDStream()); -#else // reusing the context is recommended for performance - // it will destroyed when the thread ends + // it will be destroyed when the thread ends thread_local std::unique_ptr stream(ZSTD_createDStream()); -#endif ZSTD_initDStream(stream.get()); -- cgit v1.2.3 From ad1da994b2b9d660c41f8ba784ff830aa2693d3b Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Tue, 8 Feb 2022 19:33:10 +0100 Subject: Increase max objects per block defaults (#12055) --- builtin/settingtypes.txt | 2 +- minetest.conf.example | 2 +- src/defaultsettings.cpp | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index ef8b84cff..ff2d72927 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1306,7 +1306,7 @@ max_clearobjects_extra_loaded_blocks (Max. clearobjects extra blocks) int 4096 server_unload_unused_data_timeout (Unload unused server data) int 29 # Maximum number of statically stored objects in a block. -max_objects_per_block (Maximum objects per block) int 64 +max_objects_per_block (Maximum objects per block) int 256 # See https://www.sqlite.org/pragma.html#pragma_synchronous sqlite_synchronous (Synchronous SQLite) enum 2 0,1,2 diff --git a/minetest.conf.example b/minetest.conf.example index 7f4b5d946..ed2ebc969 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1514,7 +1514,7 @@ # Maximum number of statically stored objects in a block. # type: int -# max_objects_per_block = 64 +# max_objects_per_block = 256 # See https://www.sqlite.org/pragma.html#pragma_synchronous # type: enum values: 0, 1, 2 diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 600fc65f3..b935c0e21 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -386,7 +386,7 @@ void set_default_settings() settings->setDefault("time_speed", "72"); settings->setDefault("world_start_time", "6125"); settings->setDefault("server_unload_unused_data_timeout", "29"); - settings->setDefault("max_objects_per_block", "64"); + settings->setDefault("max_objects_per_block", "256"); settings->setDefault("server_map_save_interval", "5.3"); settings->setDefault("chat_message_max_size", "500"); settings->setDefault("chat_message_limit_per_10sec", "8.0"); @@ -479,7 +479,6 @@ void set_default_settings() settings->setDefault("enable_3d_clouds", "false"); settings->setDefault("fps_max", "30"); settings->setDefault("fps_max_unfocused", "10"); - settings->setDefault("max_objects_per_block", "20"); settings->setDefault("sqlite_synchronous", "1"); settings->setDefault("map_compression_level_disk", "-1"); settings->setDefault("map_compression_level_net", "-1"); -- cgit v1.2.3 From a8707158a5be8c604fdb028a9c5f68ce5804016e Mon Sep 17 00:00:00 2001 From: DS Date: Thu, 10 Feb 2022 12:17:52 +0100 Subject: Allow to set the displayed item count and its alignment via meta (#8448) * Allow to set the displayed item count and its offset via meta * fix rect constr call * devtest: add dump_item chatcommand * fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now * add missing utf8 to wide conversion * rename to count_meta --- doc/lua_api.txt | 7 ++++ games/devtest/mods/util_commands/init.lua | 47 +++++++++++++++++++++ src/client/hud.cpp | 69 +++++++++++++++++++++++++------ 3 files changed, 111 insertions(+), 12 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 7061a5b8a..1dc5f305d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2174,6 +2174,13 @@ Some of the values in the key-value store are handled specially: * `color`: A `ColorString`, which sets the stack's color. * `palette_index`: If the item has a palette, this is used to get the current color from the palette. +* `count_meta`: Replace the displayed count with any string. +* `count_alignment`: Set the alignment of the displayed count value. This is an + int value. The lowest 2 bits specify the alignment in x-direction, the 3rd and + 4th bit specify the alignment in y-direction: + 0 = default, 1 = left / up, 2 = middle, 3 = right / down + The default currently is the same as right/down. + Example: 6 = 2 + 1*4 = middle,up Example: diff --git a/games/devtest/mods/util_commands/init.lua b/games/devtest/mods/util_commands/init.lua index 79acaa0d0..9be989e67 100644 --- a/games/devtest/mods/util_commands/init.lua +++ b/games/devtest/mods/util_commands/init.lua @@ -246,3 +246,50 @@ function minetest.handle_node_drops(pos, drops, digger) end end end + +minetest.register_chatcommand("set_displayed_itemcount", { + params = "(-s \"\" [-c ]) | -a ", + description = "Set the displayed itemcount of the wielded item", + func = function(name, param) + local player = minetest.get_player_by_name(name) + local item = player:get_wielded_item() + local meta = item:get_meta() + local flag1 = param:sub(1, 2) + if flag1 == "-s" then + if param:sub(3, 4) ~= " \"" then + return false, "Error: Space and string with \"s expected after -s." + end + local se = param:find("\"", 5, true) + if not se then + return false, "Error: String with two \"s expected after -s." + end + local s = param:sub(5, se - 1) + if param:sub(se + 1, se + 4) == " -c " then + s = minetest.colorize(param:sub(se + 5), s) + end + meta:set_string("count_meta", s) + elseif flag1 == "-a" then + local num = tonumber(param:sub(4)) + if not num then + return false, "Error: Invalid number: "..param:sub(4) + end + meta:set_int("count_alignment", num) + else + return false + end + player:set_wielded_item(item) + return true, "Displayed itemcount set." + end, +}) + +minetest.register_chatcommand("dump_item", { + params = "", + description = "Prints a dump of the wielded item in table form", + func = function(name, param) + local player = minetest.get_player_by_name(name) + local item = player:get_wielded_item() + local str = dump(item:to_table()) + print(str) + return true, str + end, +}) diff --git a/src/client/hud.cpp b/src/client/hud.cpp index 259a18ab9..01f4d6ff3 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -1013,6 +1013,10 @@ void drawItemStack( bool has_mesh = false; ItemMesh *imesh; + core::rect viewrect = rect; + if (clip != nullptr) + viewrect.clipAgainst(*clip); + // Render as mesh if animated or no inventory image if ((enable_animations && rotation_kind < IT_ROT_NONE) || def.inventory_image.empty()) { imesh = client->idef()->getWieldMesh(def.name, client); @@ -1034,9 +1038,6 @@ void drawItemStack( core::rect oldViewPort = driver->getViewPort(); core::matrix4 oldProjMat = driver->getTransform(video::ETS_PROJECTION); core::matrix4 oldViewMat = driver->getTransform(video::ETS_VIEW); - core::rect viewrect = rect; - if (clip) - viewrect.clipAgainst(*clip); core::matrix4 ProjMatrix; ProjMatrix.buildProjectionMatrixOrthoLH(2.0f, 2.0f, -1.0f, 100.0f); @@ -1180,24 +1181,68 @@ void drawItemStack( driver->draw2DRectangle(color, progressrect2, clip); } - if (font != NULL && item.count >= 2) { + const std::string &count_text = item.metadata.getString("count_meta"); + if (font != nullptr && (item.count >= 2 || !count_text.empty())) { // Get the item count as a string - std::string text = itos(item.count); - v2u32 dim = font->getDimension(utf8_to_wide(text).c_str()); + std::string text = count_text.empty() ? itos(item.count) : count_text; + v2u32 dim = font->getDimension(utf8_to_wide(unescape_enriched(text)).c_str()); v2s32 sdim(dim.X, dim.Y); core::rect rect2( - /*rect.UpperLeftCorner, - core::dimension2d(rect.getWidth(), 15)*/ rect.LowerRightCorner - sdim, - sdim + rect.LowerRightCorner ); - video::SColor bgcolor(128, 0, 0, 0); - driver->draw2DRectangle(bgcolor, rect2, clip); + // get the count alignment + s32 count_alignment = stoi(item.metadata.getString("count_alignment")); + if (count_alignment != 0) { + s32 a_x = count_alignment & 3; + s32 a_y = (count_alignment >> 2) & 3; + + s32 x1, x2, y1, y2; + switch (a_x) { + case 1: // left + x1 = rect.UpperLeftCorner.X; + x2 = x1 + sdim.X; + break; + case 2: // middle + x1 = (rect.UpperLeftCorner.X + rect.LowerRightCorner.X - sdim.X) / 2; + x2 = x1 + sdim.X; + break; + case 3: // right + x2 = rect.LowerRightCorner.X; + x1 = x2 - sdim.X; + break; + default: // 0 = default + x1 = rect2.UpperLeftCorner.X; + x2 = rect2.LowerRightCorner.X; + break; + } + + switch (a_y) { + case 1: // up + y1 = rect.UpperLeftCorner.Y; + y2 = y1 + sdim.Y; + break; + case 2: // middle + y1 = (rect.UpperLeftCorner.Y + rect.LowerRightCorner.Y - sdim.Y) / 2; + y2 = y1 + sdim.Y; + break; + case 3: // down + y2 = rect.LowerRightCorner.Y; + y1 = y2 - sdim.Y; + break; + default: // 0 = default + y1 = rect2.UpperLeftCorner.Y; + y2 = rect2.LowerRightCorner.Y; + break; + } + + rect2 = core::rect(x1, y1, x2, y2); + } video::SColor color(255, 255, 255, 255); - font->draw(text.c_str(), rect2, color, false, false, clip); + font->draw(utf8_to_wide(text).c_str(), rect2, color, false, false, &viewrect); } } -- cgit v1.2.3 From 0cd9c5b5be47dffd433e9bad8fd2119eb9ddf0f5 Mon Sep 17 00:00:00 2001 From: Dennis Jenkins Date: Sat, 12 Feb 2022 11:23:46 -0800 Subject: Correct world_format.txt specification (#12061) The node timers appear at the end of a mapblock for map format version >= 25, not just map format version 25. --- doc/world_format.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/world_format.txt b/doc/world_format.txt index 98c9d2009..3035c4efb 100644 --- a/doc/world_format.txt +++ b/doc/world_format.txt @@ -346,6 +346,9 @@ if map format version >= 29: - 0xffffffff = invalid/unknown timestamp, nothing should be done with the time difference when loaded + u8 name_id_mapping_version + - Should be zero for map format version 29. + u16 num_name_id_mappings foreach num_name_id_mappings u16 id @@ -447,7 +450,7 @@ if map format version < 29: u8[name_len] name - Node timers -if map format version == 25: +if map format version >= 25: u8 length of the data of a single timer (always 2+4+4=10) u16 num_of_timers foreach num_of_timers: -- cgit v1.2.3 From 10cf2f3eddb9106a87721e36f0dd284ec041c4d8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 12 Feb 2022 19:23:58 +0000 Subject: Add support for 'seed' in disallow_mapgen_settings (#12023) --- builtin/mainmenu/dlg_create_world.lua | 17 +++++++++++------ doc/lua_api.txt | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/builtin/mainmenu/dlg_create_world.lua b/builtin/mainmenu/dlg_create_world.lua index 8d1509f33..76ceb0f16 100644 --- a/builtin/mainmenu/dlg_create_world.lua +++ b/builtin/mainmenu/dlg_create_world.lua @@ -315,12 +315,17 @@ local function create_world_formspec(dialogdata) "field[0.3,0.6;6,0.5;te_world_name;" .. fgettext("World name") .. ";" .. core.formspec_escape(dialogdata.worldname) .. "]" .. - "set_focus[te_world_name;false]" .. + "set_focus[te_world_name;false]" - "field[0.3,1.7;6,0.5;te_seed;" .. - fgettext("Seed") .. - ";".. core.formspec_escape(dialogdata.seed) .. "]" .. + if not disallowed_mapgen_settings["seed"] then + retval = retval .. "field[0.3,1.7;6,0.5;te_seed;" .. + fgettext("Seed") .. + ";".. core.formspec_escape(dialogdata.seed) .. "]" + + end + + retval = retval .. "label[0,2;" .. fgettext("Mapgen") .. "]".. "dropdown[0,2.5;6.3;dd_mapgen;" .. mglist .. ";" .. selindex .. "]" @@ -391,7 +396,7 @@ local function create_world_buttonhandler(this, fields) end if message == nil then - this.data.seed = fields["te_seed"] + this.data.seed = fields["te_seed"] or "" this.data.mg = fields["dd_mapgen"] -- actual names as used by engine @@ -426,7 +431,7 @@ local function create_world_buttonhandler(this, fields) end this.data.worldname = fields["te_world_name"] - this.data.seed = fields["te_seed"] + this.data.seed = fields["te_seed"] or "" if fields["games"] then local gameindex = core.get_textlist_index("games") diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1dc5f305d..23408ff6c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -78,7 +78,7 @@ The game directory can contain the following files: * `disallowed_mapgen_settings= ` e.g. `disallowed_mapgen_settings = mgv5_spflags` These mapgen settings are hidden for this game in the world creation - dialog and game start menu. + dialog and game start menu. Add `seed` to hide the seed input field. * `disabled_settings = ` e.g. `disabled_settings = enable_damage, creative_mode` These settings are hidden for this game in the "Start game" tab -- cgit v1.2.3 From 258ae994915e1b9fc5b3a72627886f2ce4334902 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Sat, 12 Feb 2022 20:24:20 +0100 Subject: Apply texture pack main menu textures immediately (#12018) --- builtin/mainmenu/tab_content.lua | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/builtin/mainmenu/tab_content.lua b/builtin/mainmenu/tab_content.lua index fb7f121f8..dd11570e9 100644 --- a/builtin/mainmenu/tab_content.lua +++ b/builtin/mainmenu/tab_content.lua @@ -154,6 +154,9 @@ local function handle_doubleclick(pkg) core.settings:set("texture_path", pkg.path) end packages = nil + + mm_game_theme.init() + mm_game_theme.reset() end end @@ -197,17 +200,17 @@ local function handle_buttons(tabview, fields, tabname, tabdata) return true end - if fields.btn_mod_mgr_use_txp then - local txp = packages:get_list()[tabdata.selected_pkg] - core.settings:set("texture_path", txp.path) - packages = nil - return true - end - + if fields.btn_mod_mgr_use_txp or fields.btn_mod_mgr_disable_txp then + local txp_path = "" + if fields.btn_mod_mgr_use_txp then + txp_path = packages:get_list()[tabdata.selected_pkg].path + end - if fields.btn_mod_mgr_disable_txp then - core.settings:set("texture_path", "") + core.settings:set("texture_path", txp_path) packages = nil + + mm_game_theme.init() + mm_game_theme.reset() return true end -- cgit v1.2.3 From 5d0b18a0d0bd02a9b77b8948d6887bb661a385da Mon Sep 17 00:00:00 2001 From: pecksin <78765996+pecksin@users.noreply.github.com> Date: Wed, 16 Feb 2022 17:06:00 -0500 Subject: Use absolute value for bouncy in collision (#11969) * use abs(bouncy) in collision * test case for negative bouncy * send abs(bouncy) to old clients --- games/devtest/mods/testnodes/properties.lua | 4 ++-- src/collision.cpp | 3 ++- src/nodedef.cpp | 7 ++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/games/devtest/mods/testnodes/properties.lua b/games/devtest/mods/testnodes/properties.lua index 51f703d7c..89facf71c 100644 --- a/games/devtest/mods/testnodes/properties.lua +++ b/games/devtest/mods/testnodes/properties.lua @@ -252,9 +252,9 @@ for i=-100, 100, 25 do end -- Bouncy nodes (various bounce levels) -for i=20, 180, 20 do +for i=-140, 180, 20 do local val = math.floor(((i-20)/200)*255) - minetest.register_node("testnodes:bouncy"..i, { + minetest.register_node(("testnodes:bouncy"..i):gsub("-","NEG"), { description = S("Bouncy Node (@1%)", i), groups = {bouncy=i, dig_immediate=3}, diff --git a/src/collision.cpp b/src/collision.cpp index d85a56884..ccc3a058d 100644 --- a/src/collision.cpp +++ b/src/collision.cpp @@ -303,7 +303,8 @@ collisionMoveResult collisionMoveSimple(Environment *env, IGameDef *gamedef, if (!f.walkable) continue; - int n_bouncy_value = itemgroup_get(f.groups, "bouncy"); + // Negative bouncy may have a meaning, but we need +value here. + int n_bouncy_value = abs(itemgroup_get(f.groups, "bouncy")); int neighbors = 0; if (f.drawtype == NDT_NODEBOX && diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 8a5542837..fe0cc4bb0 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -452,7 +452,12 @@ void ContentFeatures::serialize(std::ostream &os, u16 protocol_version) const writeU16(os, groups.size()); for (const auto &group : groups) { os << serializeString16(group.first); - writeS16(os, group.second); + if (protocol_version < 41 && group.first.compare("bouncy") == 0) { + // Old clients may choke on negative bouncy value + writeS16(os, abs(group.second)); + } else { + writeS16(os, group.second); + } } writeU8(os, param_type); writeU8(os, param_type_2); -- cgit v1.2.3 From c31b3017222edd6e93bdeb02f05a3df7b6b23a1a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 14 Feb 2022 21:01:42 +0100 Subject: Clean up ClientReady packet handling fixes #12073 --- src/network/serverpackethandler.cpp | 56 ++++++++++++++++--------------------- src/remoteplayer.h | 4 +-- src/server.cpp | 19 +++++++------ 3 files changed, 35 insertions(+), 44 deletions(-) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index a983424ba..8163cb820 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -380,55 +380,47 @@ void Server::handleCommand_ClientReady(NetworkPacket* pkt) { session_t peer_id = pkt->getPeerId(); - PlayerSAO* playersao = StageTwoClientInit(peer_id); - - if (playersao == NULL) { - errorstream << "TOSERVER_CLIENT_READY stage 2 client init failed " - "peer_id=" << peer_id << std::endl; - DisconnectPeer(peer_id); - return; - } - - - if (pkt->getSize() < 8) { - errorstream << "TOSERVER_CLIENT_READY client sent inconsistent data, " - "disconnecting peer_id: " << peer_id << std::endl; - DisconnectPeer(peer_id); - return; - } - + // decode all information first u8 major_ver, minor_ver, patch_ver, reserved; + u16 formspec_ver = 1; // v1 for clients older than 5.1.0-dev std::string full_ver; + *pkt >> major_ver >> minor_ver >> patch_ver >> reserved >> full_ver; + if (pkt->getRemainingBytes() >= 2) + *pkt >> formspec_ver; m_clients.setClientVersion(peer_id, major_ver, minor_ver, patch_ver, full_ver); - if (pkt->getRemainingBytes() >= 2) - *pkt >> playersao->getPlayer()->formspec_version; - - const std::vector &players = m_clients.getPlayerNames(); - NetworkPacket list_pkt(TOCLIENT_UPDATE_PLAYER_LIST, 0, peer_id); - list_pkt << (u8) PLAYER_LIST_INIT << (u16) players.size(); - for (const std::string &player: players) { - list_pkt << player; + // Emerge player + PlayerSAO* playersao = StageTwoClientInit(peer_id); + if (!playersao) { + errorstream << "Server: stage 2 client init failed " + "peer_id=" << peer_id << std::endl; + DisconnectPeer(peer_id); + return; } - m_clients.send(peer_id, 0, &list_pkt, true); - NetworkPacket notice_pkt(TOCLIENT_UPDATE_PLAYER_LIST, 0, PEER_ID_INEXISTENT); - // (u16) 1 + std::string represents a pseudo vector serialization representation - notice_pkt << (u8) PLAYER_LIST_ADD << (u16) 1 << std::string(playersao->getPlayer()->getName()); - m_clients.sendToAll(¬ice_pkt); + playersao->getPlayer()->formspec_version = formspec_ver; m_clients.event(peer_id, CSE_SetClientReady); + // Send player list to this client + { + const std::vector &players = m_clients.getPlayerNames(); + NetworkPacket list_pkt(TOCLIENT_UPDATE_PLAYER_LIST, 0, peer_id); + list_pkt << (u8) PLAYER_LIST_INIT << (u16) players.size(); + for (const auto &player : players) + list_pkt << player; + Send(peer_id, &list_pkt); + } + s64 last_login; m_script->getAuth(playersao->getPlayer()->getName(), nullptr, nullptr, &last_login); m_script->on_joinplayer(playersao, last_login); // Send shutdown timer if shutdown has been scheduled - if (m_shutdown_state.isTimerRunning()) { + if (m_shutdown_state.isTimerRunning()) SendChatMessage(peer_id, m_shutdown_state.getShutdownTimerMessage()); - } } void Server::handleCommand_GotBlocks(NetworkPacket* pkt) diff --git a/src/remoteplayer.h b/src/remoteplayer.h index c8991480b..e33630841 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -128,9 +128,7 @@ public: void setDirty(bool dirty) { m_dirty = true; } u16 protocol_version = 0; - - // v1 for clients older than 5.1.0-dev - u16 formspec_version = 1; + u16 formspec_version = 0; session_t getPeerId() const { return m_peer_id; } diff --git a/src/server.cpp b/src/server.cpp index 76345686a..685d8bb25 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1104,20 +1104,21 @@ PlayerSAO* Server::StageTwoClientInit(session_t peer_id) SendPlayerBreath(playersao); /* - Print out action + Update player list and print action */ { - Address addr = getPeerAddress(player->getPeerId()); - std::string ip_str = addr.serializeString(); - const std::vector &names = m_clients.getPlayerNames(); + NetworkPacket notice_pkt(TOCLIENT_UPDATE_PLAYER_LIST, 0, PEER_ID_INEXISTENT); + notice_pkt << (u8) PLAYER_LIST_ADD << (u16) 1 << std::string(player->getName()); + m_clients.sendToAll(¬ice_pkt); + } + { + std::string ip_str = getPeerAddress(player->getPeerId()).serializeString(); + const auto &names = m_clients.getPlayerNames(); actionstream << player->getName() << " [" << ip_str << "] joins game. List of players: "; - - for (const std::string &name : names) { + for (const std::string &name : names) actionstream << name << " "; - } - - actionstream << player->getName() <getName() << std::endl; } return playersao; } -- cgit v1.2.3 From 0a0fb11c218cf6c9ac419a8b4fda759fa3ed96e1 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Tue, 22 Feb 2022 19:17:08 +0100 Subject: Lua API: Consistently use double vs. single quotes (#12075) --- doc/lua_api.txt | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 23408ff6c..543f00542 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1683,10 +1683,10 @@ wear value. Syntax: Examples: -* `'default:apple'`: 1 apple -* `'default:dirt 5'`: 5 dirt -* `'default:pick_stone'`: a new stone pickaxe -* `'default:pick_wood 1 21323'`: a wooden pickaxe, ca. 1/3 worn out +* `"default:apple"`: 1 apple +* `"default:dirt 5"`: 5 dirt +* `"default:pick_stone"`: a new stone pickaxe +* `"default:pick_wood 1 21323"`: a wooden pickaxe, ca. 1/3 worn out ### Table format @@ -1776,21 +1776,21 @@ Groups in crafting recipes An example: Make meat soup from any meat, any water and any bowl: { - output = 'food:meat_soup_raw', + output = "food:meat_soup_raw", recipe = { - {'group:meat'}, - {'group:water'}, - {'group:bowl'}, + {"group:meat"}, + {"group:water"}, + {"group:bowl"}, }, - -- preserve = {'group:bowl'}, -- Not implemented yet (TODO) + -- preserve = {"group:bowl"}, -- Not implemented yet (TODO) } Another example: Make red wool from white wool and red dye: { - type = 'shapeless', - output = 'wool:red', - recipe = {'wool:white', 'group:dye,basecolor_red'}, + type = "shapeless", + output = "wool:red", + recipe = {"wool:white", "group:dye,basecolor_red"}, } Special groups @@ -5982,11 +5982,11 @@ Misc. This is due to the fact that JSON has two distinct array and object values. * Example: `write_json({10, {a = false}})`, - returns `"[10, {\"a\": false}]"` + returns `'[10, {"a": false}]'` * `minetest.serialize(table)`: returns a string * Convert a table containing tables, strings, numbers, booleans and `nil`s into string form readable by `minetest.deserialize` - * Example: `serialize({foo='bar'})`, returns `'return { ["foo"] = "bar" }'` + * Example: `serialize({foo="bar"})`, returns `'return { ["foo"] = "bar" }'` * `minetest.deserialize(string[, safe])`: returns a table * Convert a string returned by `minetest.serialize` into a table * `string` is loaded in an empty sandbox environment. @@ -5998,7 +5998,7 @@ Misc. value of `safe`. It is fine to serialize then deserialize user-provided data, but directly providing user input to deserialize is always unsafe. * Example: `deserialize('return { ["foo"] = "bar" }')`, - returns `{foo='bar'}` + returns `{foo="bar"}` * Example: `deserialize('print("foo")')`, returns `nil` (function call fails), returns `error:[string "print("foo")"]:1: attempt to call global 'print' (a nil value)` @@ -8091,11 +8091,11 @@ Used by `minetest.register_craft`. ### Shaped { - output = 'default:pick_stone', + output = "default:pick_stone", recipe = { - {'default:cobble', 'default:cobble', 'default:cobble'}, - {'', 'default:stick', ''}, - {'', 'default:stick', ''}, -- Also groups; e.g. 'group:crumbly' + {"default:cobble", "default:cobble", "default:cobble"}, + {"", "default:stick", ""}, + {"", "default:stick", ""}, -- Also groups; e.g. "group:crumbly" }, replacements = , -- replacements: replace one input item with another item on crafting @@ -8106,7 +8106,7 @@ Used by `minetest.register_craft`. { type = "shapeless", - output = 'mushrooms:mushroom_stew', + output = "mushrooms:mushroom_stew", recipe = { "mushrooms:bowl", "mushrooms:mushroom_brown", -- cgit v1.2.3 From 7c227d2a004068267dbe713259d57374a70c29e4 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Tue, 22 Feb 2022 19:17:40 +0100 Subject: Add TGA test nodes to devtest (#11978) --- games/devtest/mods/testnodes/textures.lua | 117 +++++++++++++++++++++ .../textures/testnodes_tga_type10_32bpp_bt.tga | Bin 0 -> 179 bytes .../textures/testnodes_tga_type10_32bpp_tb.tga | Bin 0 -> 179 bytes .../textures/testnodes_tga_type1_24bpp_bt.tga | Bin 0 -> 120 bytes .../textures/testnodes_tga_type1_24bpp_tb.tga | Bin 0 -> 120 bytes .../textures/testnodes_tga_type2_16bpp_bt.tga | Bin 0 -> 172 bytes .../textures/testnodes_tga_type2_16bpp_tb.tga | Bin 0 -> 172 bytes .../textures/testnodes_tga_type2_32bpp_bt.tga | Bin 0 -> 300 bytes .../textures/testnodes_tga_type2_32bpp_tb.tga | Bin 0 -> 300 bytes .../textures/testnodes_tga_type3_16bpp_bt.tga | Bin 0 -> 172 bytes .../textures/testnodes_tga_type3_16bpp_tb.tga | Bin 0 -> 172 bytes 11 files changed, 117 insertions(+) create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_bt.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_tb.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_bt.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_tb.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_bt.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_tb.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_bt.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_tb.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_bt.tga create mode 100644 games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_tb.tga diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua index dc581b0c7..2faacdd78 100644 --- a/games/devtest/mods/testnodes/textures.lua +++ b/games/devtest/mods/testnodes/textures.lua @@ -171,3 +171,120 @@ minetest.register_node("testnodes:generated_png_dst_emb", { groups = { dig_immediate = 2 }, }) + +--[[ + +The following nodes can be used to demonstrate the TGA format support. + +Minetest supports TGA types 1, 2, 3 & 10. While adding the support for +TGA type 9 (RLE-compressed, color-mapped) is easy, it is not advisable +to do so, as it is not backwards compatible with any Minetest pre-5.5; +content creators should therefore either use TGA type 1 or 10, or PNG. + +TODO: Types 1, 2 & 10 should have two test nodes each (i.e. bottom-top +and top-bottom) for 16bpp (A1R5G5B5), 24bpp (B8G8R8), 32bpp (B8G8R8A8) +colors. + +Note: Minetest requires the optional TGA footer for a texture to load. +If a TGA image does not load in Minetest, append eight (8) null bytes, +then the string “TRUEVISION-XFILE.”, then another null byte. + +]]-- + +minetest.register_node("testnodes:tga_type1_24bpp_bt", { + description = S("TGA Type 1 (color-mapped RGB) 24bpp bottom-top Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type1_24bpp_bt.tga" }, + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type1_24bpp_tb", { + description = S("TGA Type 1 (color-mapped RGB) 24bpp top-bottom Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type1_24bpp_tb.tga" }, + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type2_16bpp_bt", { + description = S("TGA Type 2 (uncompressed RGB) 16bpp bottom-top Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type2_16bpp_bt.tga" }, + use_texture_alpha = "clip", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type2_16bpp_tb", { + description = S("TGA Type 2 (uncompressed RGB) 16bpp top-bottom Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type2_16bpp_tb.tga" }, + use_texture_alpha = "clip", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type2_32bpp_bt", { + description = S("TGA Type 2 (uncompressed RGB) 32bpp bottom-top Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type2_32bpp_bt.tga" }, + use_texture_alpha = "blend", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type2_32bpp_tb", { + description = S("TGA Type 2 (uncompressed RGB) 32bpp top-bottom Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type2_32bpp_tb.tga" }, + use_texture_alpha = "blend", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type3_16bpp_bt", { + description = S("TGA Type 3 (uncompressed grayscale) 16bpp bottom-top Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type3_16bpp_bt.tga" }, + use_texture_alpha = "blend", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type3_16bpp_tb", { + description = S("TGA Type 3 (uncompressed grayscale) 16bpp top-bottom Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type3_16bpp_tb.tga" }, + use_texture_alpha = "blend", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type10_32bpp_bt", { + description = S("TGA Type 10 (RLE-compressed RGB) 32bpp bottom-top Test Node"), + tiles = { "testnodes_tga_type10_32bpp_bt.tga" }, + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + use_texture_alpha = "blend", + groups = { dig_immediate = 2 }, +}) + +minetest.register_node("testnodes:tga_type10_32bpp_tb", { + description = S("TGA Type 10 (RLE-compressed RGB) 32bpp top-bottom Test Node"), + drawtype = "glasslike", + paramtype = "light", + sunlight_propagates = true, + tiles = { "testnodes_tga_type10_32bpp_tb.tga" }, + use_texture_alpha = "blend", + groups = { dig_immediate = 2 }, +}) diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_bt.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_bt.tga new file mode 100644 index 000000000..2dc587bc3 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_bt.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_tb.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_tb.tga new file mode 100644 index 000000000..b44a81c79 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type10_32bpp_tb.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_bt.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_bt.tga new file mode 100644 index 000000000..d2c2ca6d2 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_bt.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_tb.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_tb.tga new file mode 100644 index 000000000..dfcb98864 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type1_24bpp_tb.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_bt.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_bt.tga new file mode 100644 index 000000000..0206216bb Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_bt.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_tb.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_tb.tga new file mode 100644 index 000000000..2563f084b Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_16bpp_tb.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_bt.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_bt.tga new file mode 100644 index 000000000..3350500f8 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_bt.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_tb.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_tb.tga new file mode 100644 index 000000000..216de0634 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type2_32bpp_tb.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_bt.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_bt.tga new file mode 100644 index 000000000..695bb4bb1 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_bt.tga differ diff --git a/games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_tb.tga b/games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_tb.tga new file mode 100644 index 000000000..c08a093b2 Binary files /dev/null and b/games/devtest/mods/testnodes/textures/testnodes_tga_type3_16bpp_tb.tga differ -- cgit v1.2.3 From 633e23bd6523d4ff14329e8429c2eaf795e6e128 Mon Sep 17 00:00:00 2001 From: DS Date: Tue, 22 Feb 2022 19:17:53 +0100 Subject: FormspecMenu: make drawing of backgrounds less hacky (#9517) --- games/devtest/mods/testformspec/formspec.lua | 29 +++++++++++++++++++++++++- src/gui/guiBackgroundImage.cpp | 2 +- src/gui/guiFormSpecMenu.cpp | 31 +++++++++++----------------- src/gui/guiFormSpecMenu.h | 3 ++- 4 files changed, 43 insertions(+), 22 deletions(-) diff --git a/games/devtest/mods/testformspec/formspec.lua b/games/devtest/mods/testformspec/formspec.lua index c0db695b7..9f867631f 100644 --- a/games/devtest/mods/testformspec/formspec.lua +++ b/games/devtest/mods/testformspec/formspec.lua @@ -430,6 +430,33 @@ mouse control = true] checkbox[0.5,5.5.5;snd_chk;Sound;] tabheader[0.5,7;8,0.65;snd_tab;Soundtab1,Soundtab2,Soundtab3;1;false;false] ]], + + -- Background + [[ + formspec_version[3] + size[12,13] + box[0,0;12,13;#f0f1] + background[0,0;0,0;testformspec_bg.png;true] + box[3.9,2.9;6.2,4.2;#d00f] + scroll_container[4,3;6,4;scrbar;vertical] + background9[1,0.5;0,0;testformspec_bg_9slice.png;true;4,6] + label[0,0.2;Backgrounds are not be applied to scroll containers,] + label[0,0.5;but to the whole form.] + scroll_container_end[] + scrollbar[3.5,3;0.3,4;vertical;scrbar;0] + container[2,11] + box[-0.1,0.5;3.2,1;#fff5] + background[0,0;2,3;testformspec_bg.png;false] + background9[1,0;2,3;testformspec_bg_9slice.png;false;4,6] + container_end[] + ]], + + -- Unsized + [[ + formspec_version[3] + background9[0,0;0,0;testformspec_bg_9slice.png;true;4,6] + background[1,1;0,0;testformspec_bg.png;true] + ]], } local page_id = 2 @@ -439,7 +466,7 @@ local function show_test_formspec(pname) page = page() end - local fs = page .. "tabheader[0,0;8,0.65;maintabs;Real Coord,Styles,Noclip,Hypertext,Tabs,Invs,Window,Anim,Model,ScrollC,Sound;" .. page_id .. ";false;false]" + local fs = page .. "tabheader[0,0;11,0.65;maintabs;Real Coord,Styles,Noclip,Hypertext,Tabs,Invs,Window,Anim,Model,ScrollC,Sound,Background,Unsized;" .. page_id .. ";false;false]" minetest.show_formspec(pname, "testformspec:formspec", fs) end diff --git a/src/gui/guiBackgroundImage.cpp b/src/gui/guiBackgroundImage.cpp index 21c1e88cf..85e870771 100644 --- a/src/gui/guiBackgroundImage.cpp +++ b/src/gui/guiBackgroundImage.cpp @@ -44,7 +44,7 @@ void GUIBackgroundImage::draw() core::rect rect = AbsoluteRect; if (m_autoclip) - rect.LowerRightCorner += Parent->getAbsolutePosition().getSize(); + rect.LowerRightCorner += Parent->getAbsoluteClippingRect().getSize(); video::IVideoDriver *driver = Environment->getVideoDriver(); diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 85bd04900..f3570ccaf 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -137,8 +137,6 @@ GUIFormSpecMenu::~GUIFormSpecMenu() checkbox_it.second->drop(); for (auto &scrollbar_it : m_scrollbars) scrollbar_it.second->drop(); - for (auto &background_it : m_backgrounds) - background_it->drop(); for (auto &tooltip_rect_it : m_tooltip_rects) tooltip_rect_it.first->drop(); for (auto &clickthrough_it : m_clickthrough_elements) @@ -1124,17 +1122,15 @@ void GUIFormSpecMenu::parseBackground(parserData* data, const std::string &eleme rect = core::rect(-pos, pos); } - GUIBackgroundImage *e = new GUIBackgroundImage(Environment, this, spec.fid, - rect, name, middle, m_tsrc, clip); + GUIBackgroundImage *e = new GUIBackgroundImage(Environment, data->background_parent.get(), + spec.fid, rect, name, middle, m_tsrc, clip); FATAL_ERROR_IF(!e, "Failed to create background formspec element"); e->setNotClipped(true); - e->setVisible(false); // the element is drawn manually before all others - - m_backgrounds.push_back(e); m_fields.push_back(spec); + e->drop(); } void GUIFormSpecMenu::parseTableOptions(parserData* data, const std::string &element) @@ -3059,8 +3055,6 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) checkbox_it.second->drop(); for (auto &scrollbar_it : m_scrollbars) scrollbar_it.second->drop(); - for (auto &background_it : m_backgrounds) - background_it->drop(); for (auto &tooltip_rect_it : m_tooltip_rects) tooltip_rect_it.first->drop(); for (auto &clickthrough_it : m_clickthrough_elements) @@ -3082,7 +3076,6 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) mydata.current_parent = this; m_inventorylists.clear(); - m_backgrounds.clear(); m_tables.clear(); m_checkboxes.clear(); m_scrollbars.clear(); @@ -3336,6 +3329,15 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) gui::IGUIFont *old_font = skin->getFont(); skin->setFont(m_font); + // Add a new element that will hold all the background elements as its children. + // Because it is the first added element, all backgrounds will be behind all + // the other elements. + // (We use an arbitrarily big rect. The actual size is determined later by + // clipping to `this`.) + core::rect background_parent_rect(0, 0, 100000, 100000); + mydata.background_parent.reset(new gui::IGUIElement(EGUIET_ELEMENT, Environment, + this, -1, background_parent_rect)); + pos_offset = v2f32(); // used for formspec versions < 3 @@ -3591,15 +3593,6 @@ void GUIFormSpecMenu::drawMenu() } } - /* - Draw backgrounds - */ - for (gui::IGUIElement *e : m_backgrounds) { - e->setVisible(true); - e->draw(); - e->setVisible(false); - } - // Some elements are only visible while being drawn for (gui::IGUIElement *e : m_clickthrough_elements) e->setVisible(true); diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 0b4d3879d..3fedb3b78 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "irrlichttypes_extrabloated.h" +#include "irr_ptr.h" #include "inventorymanager.h" #include "modalMenu.h" #include "guiInventoryList.h" @@ -313,7 +314,6 @@ protected: std::vector m_inventorylists; std::vector m_inventory_rings; - std::vector m_backgrounds; std::unordered_map field_close_on_enter; std::unordered_map m_dropdown_index_event; std::vector m_fields; @@ -375,6 +375,7 @@ private: GUITable::TableOptions table_options; GUITable::TableColumns table_columns; gui::IGUIElement *current_parent = nullptr; + irr_ptr background_parent; GUIInventoryList::Options inventorylist_options; -- cgit v1.2.3 From f7311e0d97cb89bcb197a3e6b89e039151bb510f Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 23 Feb 2022 21:21:37 +0100 Subject: Lua API documentation: Various fixes (#12059) Change 1: Clarify when on_step collision information is provided Change 2: Document PostgreSQL and Redis settings Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions --- doc/lua_api.txt | 50 +++++++++++++++++++++++--------------- doc/world_format.txt | 14 ++++++++++- src/script/lua_api/l_areastore.cpp | 49 +++++++++++++++++++------------------ 3 files changed, 68 insertions(+), 45 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 543f00542..571ddf40e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6211,45 +6211,53 @@ Sorted alphabetically. `AreaStore` ----------- -A fast access data structure to store areas, and find areas near a given -position or area. -Every area has a `data` string attribute to store additional information. -You can create an empty `AreaStore` by calling `AreaStore()`, or -`AreaStore(type_name)`. The mod decides where to save and load AreaStore. -If you chose the parameter-less constructor, a fast implementation will be -automatically chosen for you. +AreaStore is a data structure to calculate intersections of 3D cuboid volumes +and points. The `data` field (string) may be used to store and retrieve any +mod-relevant information to the specified area. + +Despite its name, mods must take care of persisting AreaStore data. They may +use the provided load and write functions for this. + ### Methods -* `get_area(id, include_borders, include_data)` +* `AreaStore(type_name)` + * Returns a new AreaStore instance + * `type_name`: optional, forces the internally used API. + * Possible values: `"LibSpatial"` (default). + * When other values are specified, or SpatialIndex is not available, + the custom Minetest functions are used. +* `get_area(id, include_corners, include_data)` * Returns the area information about the specified ID. * Returned values are either of these: nil -- Area not found - true -- Without `include_borders` and `include_data` + true -- Without `include_corners` and `include_data` { - min = pos, max = pos -- `include_borders == true` + min = pos, max = pos -- `include_corners == true` data = string -- `include_data == true` } -* `get_areas_for_pos(pos, include_borders, include_data)` +* `get_areas_for_pos(pos, include_corners, include_data)` * Returns all areas as table, indexed by the area ID. * Table values: see `get_area`. -* `get_areas_in_area(edge1, edge2, accept_overlap, include_borders, include_data)` - * Returns all areas that contain all nodes inside the area specified by `edge1` - and `edge2` (inclusive). +* `get_areas_in_area(corner1, corner2, accept_overlap, include_corners, include_data)` + * Returns all areas that contain all nodes inside the area specified by` + `corner1 and `corner2` (inclusive). * `accept_overlap`: if `true`, areas are returned that have nodes in common (intersect) with the specified area. * Returns the same values as `get_areas_for_pos`. -* `insert_area(edge1, edge2, data, [id])`: inserts an area into the store. +* `insert_area(corner1, corner2, data, [id])`: inserts an area into the store. * Returns the new area's ID, or nil if the insertion failed. - * The (inclusive) positions `edge1` and `edge2` describe the area. + * The (inclusive) positions `corner1` and `corner2` describe the area. * `data` is a string stored with the area. * `id` (optional): will be used as the internal area ID if it is an unique number between 0 and 2^32-2. -* `reserve(count)`: reserves resources for at most `count` many contained - areas. - Only needed for efficiency, and only some implementations profit. +* `reserve(count)` + * Requires SpatialIndex, no-op function otherwise. + * Reserves resources for `count` many contained areas to improve + efficiency when working with many area entries. Additional areas can still + be inserted afterwards at the usual complexity. * `remove_area(id)`: removes the area with the given id from the store, returns success. * `set_cache_params(params)`: sets params for the included prefiltering cache. @@ -7362,7 +7370,7 @@ Used by `minetest.register_entity`. -- for more info) by using a '_' prefix } -Collision info passed to `on_step`: +Collision info passed to `on_step` (`moveresult` argument): { touching_ground = boolean, @@ -7379,6 +7387,8 @@ Collision info passed to `on_step`: }, ... } + -- `collisions` does not contain data of unloaded mapblock collisions + -- or when the velocity changes are negligibly small } ABM (ActiveBlockModifier) definition diff --git a/doc/world_format.txt b/doc/world_format.txt index 3035c4efb..17923df8e 100644 --- a/doc/world_format.txt +++ b/doc/world_format.txt @@ -129,9 +129,9 @@ Example content (added indentation and - explanations): backend = sqlite3 - which DB backend to use for blocks (sqlite3, dummy, leveldb, redis, postgresql) player_backend = sqlite3 - which DB backend to use for player data readonly_backend = sqlite3 - optionally readonly seed DB (DB file _must_ be located in "readonly" subfolder) + auth_backend = files - which DB backend to use for authentication data server_announce = false - whether the server is publicly announced or not load_mod_ = false - whether is to be loaded in this world - auth_backend = files - which DB backend to use for authentication data For load_mod_, the possible values are: @@ -145,6 +145,18 @@ For load_mod_, the possible values are: * Other locations and absolute paths are not supported * Note that `moddir` is the directory name, not the mod name specified in mod.conf. +PostgreSQL backend specific settings: + pgsql_connection = host=127.0.0.1 port=5432 user=mt_user password=mt_password dbname=minetest + pgsql_player_connection = (same parameters as above) + pgsql_readonly_connection = (same parameters as above) + pgsql_auth_connection = (same parameters as above) + +Redis backend specific settings: + redis_address = 127.0.0.1 - Redis server address + redis_hash = foo - Database hash + redis_port = 6379 - (optional) connection port + redis_password = hunter2 - (optional) server password + Player File Format =================== diff --git a/src/script/lua_api/l_areastore.cpp b/src/script/lua_api/l_areastore.cpp index 45724e604..ec2656c4a 100644 --- a/src/script/lua_api/l_areastore.cpp +++ b/src/script/lua_api/l_areastore.cpp @@ -27,26 +27,26 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "filesys.h" #include -static inline void get_data_and_border_flags(lua_State *L, u8 start_i, - bool *borders, bool *data) +static inline void get_data_and_corner_flags(lua_State *L, u8 start_i, + bool *corners, bool *data) { if (!lua_isboolean(L, start_i)) return; - *borders = lua_toboolean(L, start_i); + *corners = 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) + bool include_corners, bool include_data) { - if (!include_borders && !include_data) { + if (!include_corners && !include_data) { lua_pushboolean(L, true); return; } lua_newtable(L); - if (include_borders) { + if (include_corners) { push_v3s16(L, a->minedge); lua_setfield(L, -2, "min"); push_v3s16(L, a->maxedge); @@ -59,13 +59,13 @@ static void push_area(lua_State *L, const Area *a, } static inline void push_areas(lua_State *L, const std::vector &areas, - bool borders, bool data) + bool corners, 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); + push_area(L, areas[i], corners, data); lua_settable(L, -3); } } @@ -94,7 +94,7 @@ int LuaAreaStore::gc_object(lua_State *L) return 0; } -// get_area(id, include_borders, include_data) +// get_area(id, include_corners, include_data) int LuaAreaStore::l_get_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -104,9 +104,9 @@ int LuaAreaStore::l_get_area(lua_State *L) u32 id = luaL_checknumber(L, 2); - bool include_borders = true; + bool include_corners = true; bool include_data = false; - get_data_and_border_flags(L, 3, &include_borders, &include_data); + get_data_and_corner_flags(L, 3, &include_corners, &include_data); const Area *res; @@ -114,12 +114,12 @@ int LuaAreaStore::l_get_area(lua_State *L) if (!res) return 0; - push_area(L, res, include_borders, include_data); + push_area(L, res, include_corners, include_data); return 1; } -// get_areas_for_pos(pos, include_borders, include_data) +// get_areas_for_pos(pos, include_corners, include_data) int LuaAreaStore::l_get_areas_for_pos(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -129,19 +129,19 @@ int LuaAreaStore::l_get_areas_for_pos(lua_State *L) v3s16 pos = check_v3s16(L, 2); - bool include_borders = true; + bool include_corners = true; bool include_data = false; - get_data_and_border_flags(L, 3, &include_borders, &include_data); + get_data_and_corner_flags(L, 3, &include_corners, &include_data); std::vector res; ast->getAreasForPos(&res, pos); - push_areas(L, res, include_borders, include_data); + push_areas(L, res, include_corners, include_data); return 1; } -// get_areas_in_area(edge1, edge2, accept_overlap, include_borders, include_data) +// get_areas_in_area(corner1, corner2, accept_overlap, include_corners, include_data) int LuaAreaStore::l_get_areas_in_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -149,25 +149,26 @@ int LuaAreaStore::l_get_areas_in_area(lua_State *L) LuaAreaStore *o = checkobject(L, 1); AreaStore *ast = o->as; - v3s16 minedge = check_v3s16(L, 2); - v3s16 maxedge = check_v3s16(L, 3); + v3s16 minp = check_v3s16(L, 2); + v3s16 maxp = check_v3s16(L, 3); + sortBoxVerticies(minp, maxp); - bool include_borders = true; + bool include_corners = true; bool include_data = false; bool accept_overlap = false; if (lua_isboolean(L, 4)) { accept_overlap = readParam(L, 4); - get_data_and_border_flags(L, 5, &include_borders, &include_data); + get_data_and_corner_flags(L, 5, &include_corners, &include_data); } std::vector res; - ast->getAreasInArea(&res, minedge, maxedge, accept_overlap); - push_areas(L, res, include_borders, include_data); + ast->getAreasInArea(&res, minp, maxp, accept_overlap); + push_areas(L, res, include_corners, include_data); return 1; } -// insert_area(edge1, edge2, data, id) +// insert_area(corner1, corner2, data, id) int LuaAreaStore::l_insert_area(lua_State *L) { NO_MAP_LOCK_REQUIRED; -- cgit v1.2.3 From 7db751df3bc4e3b3aff80cdacd2883f3a7a0940b Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 24 Feb 2022 16:01:22 +0000 Subject: Fix broken dependency enabling due to missing `enabled` field (#12093) --- builtin/mainmenu/pkgmgr.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index eeeb5641b..0ae8e19be 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -414,17 +414,17 @@ local function toggle_mod_or_modpack(list, toggled_mods, enabled_mods, toset, mo if toset == nil then toset = not mod.enabled end - if toset then - disable_all_by_name(list, mod.name, mod) - end if mod.enabled ~= toset then - mod.enabled = toset toggled_mods[#toggled_mods+1] = mod.name end if toset then -- Mark this mod for recursive dependency traversal enabled_mods[mod.name] = true + + -- Disable other mods with the same name + disable_all_by_name(list, mod.name, mod) end + mod.enabled = toset else -- Toggle or en/disable every mod in the modpack, -- interleaved unsupported @@ -481,6 +481,7 @@ function pkgmgr.enable_mod(this, toset) end end end + -- If sp is 0, every dependency is already activated while sp > 0 do local name = to_enable[sp] @@ -493,7 +494,7 @@ function pkgmgr.enable_mod(this, toset) core.log("warning", "Mod dependency \"" .. name .. "\" not found!") else - if mod_to_enable.enabled == false then + if not mod_to_enable.enabled then mod_to_enable.enabled = true toggled_mods[#toggled_mods+1] = mod_to_enable.name end @@ -668,6 +669,7 @@ function pkgmgr.preparemodlist(data) for i=1,#global_mods,1 do global_mods[i].type = "mod" global_mods[i].loc = "global" + global_mods[i].enabled = false retval[#retval + 1] = global_mods[i] end -- cgit v1.2.3 From 04bd253390cc6c67a555e4837e7e48d524fdf014 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 23 Feb 2022 20:02:58 +0100 Subject: Move the codebase to C++14 --- CMakeLists.txt | 3 ++- android/native/jni/Application.mk | 2 +- src/CMakeLists.txt | 6 +----- src/modchannels.cpp | 3 +-- src/server.cpp | 6 +++--- src/unittest/test_address.cpp | 2 +- src/unittest/test_eventmanager.cpp | 4 ++-- src/unittest/test_server_shutdown_state.cpp | 4 +--- src/util/metricsbackend.cpp | 3 +-- 9 files changed, 13 insertions(+), 20 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1da83a99c..827191835 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,8 @@ endif() project(minetest) set(PROJECT_NAME_CAPITALIZED "Minetest") -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD_REQUIRED TRUE) set(GCC_MINIMUM_VERSION "5.1") set(CLANG_MINIMUM_VERSION "3.5") diff --git a/android/native/jni/Application.mk b/android/native/jni/Application.mk index e21bca61c..9d9596137 100644 --- a/android/native/jni/Application.mk +++ b/android/native/jni/Application.mk @@ -20,7 +20,7 @@ APP_CPPFLAGS := -g -Og -fno-omit-frame-pointer endif APP_CFLAGS := $(APP_CPPFLAGS) -Wno-inconsistent-missing-override -Wno-parentheses-equality -APP_CXXFLAGS := $(APP_CPPFLAGS) -fexceptions -frtti -std=gnu++17 +APP_CXXFLAGS := $(APP_CPPFLAGS) -fexceptions -frtti -std=gnu++14 APP_LDFLAGS := -Wl,--no-warn-mismatch,--gc-sections,--icf=safe ifeq ($(APP_ABI),arm64-v8a) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7f207244c..57baf20bd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -718,7 +718,6 @@ if(MSVC) endif() else() # GCC or compatible compilers such as Clang - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") if(WARN_ALL) set(RELEASE_WARNING_FLAGS "-Wall") else() @@ -751,6 +750,7 @@ else() if(MINGW) set(OTHER_FLAGS "${OTHER_FLAGS} -mthreads -fexceptions") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWIN32_LEAN_AND_MEAN") + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows") endif() # Use a safe subset of flags to speed up math calculations: @@ -787,10 +787,6 @@ else() if(USE_GPROF) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -pg") endif() - - if(MINGW) - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows") - endif() endif() diff --git a/src/modchannels.cpp b/src/modchannels.cpp index 301dcb092..9626e8e0c 100644 --- a/src/modchannels.cpp +++ b/src/modchannels.cpp @@ -88,8 +88,7 @@ bool ModChannelMgr::canWriteOnChannel(const std::string &channel) const void ModChannelMgr::registerChannel(const std::string &channel) { - m_registered_channels[channel] = - std::unique_ptr(new ModChannel(channel)); + m_registered_channels[channel] = std::make_unique(channel); } bool ModChannelMgr::setChannelState(const std::string &channel, ModChannelState state) diff --git a/src/server.cpp b/src/server.cpp index 685d8bb25..d9205c895 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -254,7 +254,7 @@ Server::Server( #if USE_PROMETHEUS m_metrics_backend = std::unique_ptr(createPrometheusMetricsBackend()); #else - m_metrics_backend = std::unique_ptr(new MetricsBackend()); + m_metrics_backend = std::make_unique(); #endif m_uptime_counter = m_metrics_backend->addCounter("minetest_core_server_uptime", "Server uptime (in seconds)"); @@ -406,7 +406,7 @@ void Server::init() m_mod_storage_database = openModStorageDatabase(m_path_world); m_mod_storage_database->beginSave(); - m_modmgr = std::unique_ptr(new ServerModManager(m_path_world)); + m_modmgr = std::make_unique(m_path_world); std::vector unsatisfied_mods = m_modmgr->getUnsatisfiedMods(); // complain about mods with unsatisfied dependencies if (!m_modmgr->isConsistent()) { @@ -426,7 +426,7 @@ void Server::init() m_script = new ServerScripting(this); // Must be created before mod loading because we have some inventory creation - m_inventory_mgr = std::unique_ptr(new ServerInventoryManager()); + m_inventory_mgr = std::make_unique(); m_script->loadMod(getBuiltinLuaPath() + DIR_DELIM "init.lua", BUILTIN_MOD_NAME); diff --git a/src/unittest/test_address.cpp b/src/unittest/test_address.cpp index 35d4effb6..f46135577 100644 --- a/src/unittest/test_address.cpp +++ b/src/unittest/test_address.cpp @@ -56,7 +56,7 @@ void TestAddress::testIsLocalhost() UASSERT(!Address(172, 45, 37, 68, 0).isLocalhost()); // v6 - std::unique_ptr ipv6Bytes(new IPv6AddressBytes()); + auto ipv6Bytes = std::make_unique(); std::vector ipv6RawAddr = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; memcpy(ipv6Bytes->bytes, &ipv6RawAddr[0], 16); UASSERT(Address(ipv6Bytes.get(), 0).isLocalhost()) diff --git a/src/unittest/test_eventmanager.cpp b/src/unittest/test_eventmanager.cpp index bb0e59336..fec57f9fe 100644 --- a/src/unittest/test_eventmanager.cpp +++ b/src/unittest/test_eventmanager.cpp @@ -82,7 +82,7 @@ void TestEventManager::testDeregister() void TestEventManager::testRealEvent() { EventManager ev; - std::unique_ptr emt(new EventManagerTest()); + auto emt = std::make_unique(); ev.reg(MtEvent::PLAYER_REGAIN_GROUND, EventManagerTest::eventTest, emt.get()); // Put event & verify event value @@ -93,7 +93,7 @@ void TestEventManager::testRealEvent() void TestEventManager::testRealEventAfterDereg() { EventManager ev; - std::unique_ptr emt(new EventManagerTest()); + auto emt = std::make_unique(); ev.reg(MtEvent::PLAYER_REGAIN_GROUND, EventManagerTest::eventTest, emt.get()); // Put event & verify event value diff --git a/src/unittest/test_server_shutdown_state.cpp b/src/unittest/test_server_shutdown_state.cpp index fbb76ff6a..50305e725 100644 --- a/src/unittest/test_server_shutdown_state.cpp +++ b/src/unittest/test_server_shutdown_state.cpp @@ -26,12 +26,10 @@ with this program; if not, write to the Free Software Foundation, Inc., class FakeServer : public Server { public: - // clang-format off FakeServer() : Server("fakeworld", SubgameSpec("fakespec", "fakespec"), true, Address(), true, nullptr) { } - // clang-format on private: void SendChatMessage(session_t peer_id, const ChatMessage &message) @@ -95,7 +93,7 @@ void TestServerShutdownState::testTrigger() void TestServerShutdownState::testTick() { - std::unique_ptr fakeServer(new FakeServer()); + auto fakeServer = std::make_unique(); Server::ShutdownState ss; ss.trigger(28.0f, "testtrigger", true); ss.tick(0.0f, fakeServer.get()); diff --git a/src/util/metricsbackend.cpp b/src/util/metricsbackend.cpp index 4454557a3..c3b7def62 100644 --- a/src/util/metricsbackend.cpp +++ b/src/util/metricsbackend.cpp @@ -99,8 +99,7 @@ class PrometheusMetricsBackend : public MetricsBackend { public: PrometheusMetricsBackend(const std::string &addr) : - MetricsBackend(), m_exposer(std::unique_ptr( - new prometheus::Exposer(addr))), + MetricsBackend(), m_exposer(std::make_unique(addr)), m_registry(std::make_shared()) { m_exposer->RegisterCollectable(m_registry); -- cgit v1.2.3 From f2d1295fe646105f1b98b0c204f47f781336e211 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 2 Mar 2022 17:46:27 +0100 Subject: Fix segfault with autoscale_mode (again) closes #12100 This time add some asserts so there is no misunderstanding about the NULL-ness of layer->texture. --- src/nodedef.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index fe0cc4bb0..c4a4f4461 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -675,7 +675,7 @@ static void fillTileAttribs(ITextureSource *tsrc, TileLayer *layer, bool has_scale = tiledef.scale > 0; bool use_autoscale = tsettings.autoscale_mode == AUTOSCALE_FORCE || (tsettings.autoscale_mode == AUTOSCALE_ENABLE && !has_scale); - if (use_autoscale) { + if (use_autoscale && layer->texture) { auto texture_size = layer->texture->getOriginalSize(); float base_size = tsettings.node_texture_size; float size = std::fmin(texture_size.Width, texture_size.Height); @@ -711,6 +711,7 @@ static void fillTileAttribs(ITextureSource *tsrc, TileLayer *layer, // Animation parameters int frame_count = 1; if (layer->material_flags & MATERIAL_FLAG_ANIMATION) { + assert(layer->texture); int frame_length_ms; tiledef.animation.determineParams(layer->texture->getOriginalSize(), &frame_count, &frame_length_ms, NULL); @@ -721,14 +722,13 @@ static void fillTileAttribs(ITextureSource *tsrc, TileLayer *layer, if (frame_count == 1) { layer->material_flags &= ~MATERIAL_FLAG_ANIMATION; } else { - std::ostringstream os(std::ios::binary); - if (!layer->frames) { + assert(layer->texture); + if (!layer->frames) layer->frames = new std::vector(); - } layer->frames->resize(frame_count); + std::ostringstream os(std::ios::binary); for (int i = 0; i < frame_count; i++) { - FrameSpec frame; os.str(""); -- cgit v1.2.3 From 44fc888bd64cc00836b0fea0666aa763b2565513 Mon Sep 17 00:00:00 2001 From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Sat, 5 Mar 2022 22:15:41 +0100 Subject: Allow get_sky to return a table (#11963) --- builtin/game/features.lua | 1 + doc/lua_api.txt | 14 +++++-- src/script/lua_api/l_object.cpp | 87 ++++++++++++++++++++++++++++------------- src/script/lua_api/l_object.h | 3 +- 4 files changed, 74 insertions(+), 31 deletions(-) diff --git a/builtin/game/features.lua b/builtin/game/features.lua index 583ef5092..0d55bb01f 100644 --- a/builtin/game/features.lua +++ b/builtin/game/features.lua @@ -22,6 +22,7 @@ core.features = { degrotate_240_steps = true, abm_min_max_y = true, dynamic_add_media_table = true, + get_sky_as_table = true, } function core.has_feature(arg) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 571ddf40e..8af261e0c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -4634,6 +4634,8 @@ Utilities abm_min_max_y = true, -- dynamic_add_media supports passing a table with options (5.5.0) dynamic_add_media_table = true, + -- allows get_sky to return a table instead of separate values (5.6.0) + get_sky_as_table = true, } * `minetest.has_feature(arg)`: returns `boolean, missing_features` @@ -6869,9 +6871,15 @@ object you are working with still exists. * `"plain"`: Uses 0 textures, `bgcolor` used * `clouds`: Boolean for whether clouds appear in front of `"skybox"` or `"plain"` custom skyboxes (default: `true`) -* `get_sky()`: returns base_color, type, table of textures, clouds. -* `get_sky_color()`: returns a table with the `sky_color` parameters as in - `set_sky`. +* `get_sky(as_table)`: + * `as_table`: boolean that determines whether the deprecated version of this + function is being used. + * `true` returns a table containing sky parameters as defined in `set_sky(sky_parameters)`. + * Deprecated: `false` or `nil` returns base_color, type, table of textures, + clouds. +* `get_sky_color()`: + * Deprecated: Use `get_sky(as_table)` instead. + * returns a table with the `sky_color` parameters as in `set_sky`. * `set_sun(sun_parameters)`: * Passing no arguments resets the sun to its default values. * `sun_parameters` is a table with the following optional fields: diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 407b48db0..ba86fbc48 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1874,7 +1874,34 @@ int ObjectRef::l_set_sky(lua_State *L) return 1; } -// get_sky(self) +static void push_sky_color(lua_State *L, const SkyboxParams ¶ms) +{ + lua_newtable(L); + if (params.type == "regular") { + push_ARGB8(L, params.sky_color.day_sky); + lua_setfield(L, -2, "day_sky"); + push_ARGB8(L, params.sky_color.day_horizon); + lua_setfield(L, -2, "day_horizon"); + push_ARGB8(L, params.sky_color.dawn_sky); + lua_setfield(L, -2, "dawn_sky"); + push_ARGB8(L, params.sky_color.dawn_horizon); + lua_setfield(L, -2, "dawn_horizon"); + push_ARGB8(L, params.sky_color.night_sky); + lua_setfield(L, -2, "night_sky"); + push_ARGB8(L, params.sky_color.night_horizon); + lua_setfield(L, -2, "night_horizon"); + push_ARGB8(L, params.sky_color.indoors); + lua_setfield(L, -2, "indoors"); + } + push_ARGB8(L, params.fog_sun_tint); + lua_setfield(L, -2, "fog_sun_tint"); + push_ARGB8(L, params.fog_moon_tint); + lua_setfield(L, -2, "fog_moon_tint"); + lua_pushstring(L, params.fog_tint_type.c_str()); + lua_setfield(L, -2, "fog_tint_type"); +} + +// get_sky(self, as_table) int ObjectRef::l_get_sky(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -1883,10 +1910,30 @@ int ObjectRef::l_get_sky(lua_State *L) if (player == nullptr) return 0; - SkyboxParams skybox_params = player->getSkyParams(); + const SkyboxParams &skybox_params = player->getSkyParams(); + + // handle the deprecated version + if (!readParam(L, 2, false)) { + log_deprecated(L, "Deprecated call to get_sky, please check lua_api.txt"); + + push_ARGB8(L, skybox_params.bgcolor); + lua_pushlstring(L, skybox_params.type.c_str(), skybox_params.type.size()); + + lua_newtable(L); + s16 i = 1; + for (const std::string &texture : skybox_params.textures) { + lua_pushlstring(L, texture.c_str(), texture.size()); + lua_rawseti(L, -2, i++); + } + lua_pushboolean(L, skybox_params.clouds); + return 4; + } + lua_newtable(L); push_ARGB8(L, skybox_params.bgcolor); + lua_setfield(L, -2, "base_color"); lua_pushlstring(L, skybox_params.type.c_str(), skybox_params.type.size()); + lua_setfield(L, -2, "type"); lua_newtable(L); s16 i = 1; @@ -1894,44 +1941,30 @@ int ObjectRef::l_get_sky(lua_State *L) lua_pushlstring(L, texture.c_str(), texture.size()); lua_rawseti(L, -2, i++); } + lua_setfield(L, -2, "textures"); lua_pushboolean(L, skybox_params.clouds); - return 4; + lua_setfield(L, -2, "clouds"); + + push_sky_color(L, skybox_params); + lua_setfield(L, -2, "sky_color"); + return 1; } +// DEPRECATED // get_sky_color(self) int ObjectRef::l_get_sky_color(lua_State *L) { NO_MAP_LOCK_REQUIRED; + + log_deprecated(L, "Deprecated call to get_sky_color, use get_sky instead"); + ObjectRef *ref = checkobject(L, 1); RemotePlayer *player = getplayer(ref); if (player == nullptr) return 0; const SkyboxParams &skybox_params = player->getSkyParams(); - - lua_newtable(L); - if (skybox_params.type == "regular") { - push_ARGB8(L, skybox_params.sky_color.day_sky); - lua_setfield(L, -2, "day_sky"); - push_ARGB8(L, skybox_params.sky_color.day_horizon); - lua_setfield(L, -2, "day_horizon"); - push_ARGB8(L, skybox_params.sky_color.dawn_sky); - lua_setfield(L, -2, "dawn_sky"); - push_ARGB8(L, skybox_params.sky_color.dawn_horizon); - lua_setfield(L, -2, "dawn_horizon"); - push_ARGB8(L, skybox_params.sky_color.night_sky); - lua_setfield(L, -2, "night_sky"); - push_ARGB8(L, skybox_params.sky_color.night_horizon); - lua_setfield(L, -2, "night_horizon"); - push_ARGB8(L, skybox_params.sky_color.indoors); - lua_setfield(L, -2, "indoors"); - } - push_ARGB8(L, skybox_params.fog_sun_tint); - lua_setfield(L, -2, "fog_sun_tint"); - push_ARGB8(L, skybox_params.fog_moon_tint); - lua_setfield(L, -2, "fog_moon_tint"); - lua_pushstring(L, skybox_params.fog_tint_type.c_str()); - lua_setfield(L, -2, "fog_tint_type"); + push_sky_color(L, skybox_params); return 1; } diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index db3a3a7cf..084d40c05 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -316,9 +316,10 @@ private: // set_sky(self, sky_parameters) static int l_set_sky(lua_State *L); - // get_sky(self) + // get_sky(self, as_table) static int l_get_sky(lua_State *L); + // DEPRECATED // get_sky_color(self) static int l_get_sky_color(lua_State* L); -- cgit v1.2.3 From b9e886726c68613d39459acc8cb1a2f663b0362c Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Sat, 5 Mar 2022 22:16:17 +0100 Subject: Readd basic_debug as a HUD flag (#12020) --- doc/lua_api.txt | 21 ++++++------ src/client/game.cpp | 71 +++++++++++++++++++++-------------------- src/hud.cpp | 1 + src/hud.h | 1 + src/player.cpp | 2 +- src/script/lua_api/l_object.cpp | 19 +++-------- 6 files changed, 55 insertions(+), 60 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 8af261e0c..89bc7dc4b 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6772,17 +6772,18 @@ object you are working with still exists. * `hud_get(id)`: gets the HUD element definition structure of the specified ID * `hud_set_flags(flags)`: sets specified HUD flags of player. * `flags`: A table with the following fields set to boolean values - * hotbar - * healthbar - * crosshair - * wielditem - * breathbar - * minimap - * minimap_radar + * `hotbar` + * `healthbar` + * `crosshair` + * `wielditem` + * `breathbar` + * `minimap`: Modifies the client's permission to view the minimap. + The client may locally elect to not view the minimap. + * `minimap_radar`: is only usable when `minimap` is true + * `basic_debug`: Allow showing basic debug info that might give a gameplay advantage. + This includes map seed, player position, look direction, the pointed node and block bounds. + Does not affect players with the `debug` privilege. * If a flag equals `nil`, the flag is not modified - * `minimap`: Modifies the client's permission to view the minimap. - The client may locally elect to not view the minimap. - * `minimap_radar` is only usable when `minimap` is true * `hud_get_flags()`: returns a table of player HUD flags with boolean values. * See `hud_set_flags` for a list of flags that can be toggled. * `hud_set_hotbar_itemcount(count)`: sets number of items in builtin hotbar diff --git a/src/client/game.cpp b/src/client/game.cpp index 4337d308e..7450fb91c 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -723,7 +723,7 @@ protected: void processClientEvents(CameraOrientation *cam); void updateCamera(f32 dtime); void updateSound(f32 dtime); - void processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug); + void processPlayerInteraction(f32 dtime, bool show_hud); /*! * Returns the object or node the player is pointing at. * Also updates the selected thing in the Hud. @@ -1134,8 +1134,7 @@ void Game::run() updateDebugState(); updateCamera(dtime); updateSound(dtime); - processPlayerInteraction(dtime, m_game_ui->m_flags.show_hud, - m_game_ui->m_flags.show_basic_debug); + processPlayerInteraction(dtime, m_game_ui->m_flags.show_hud); updateFrame(&graph, &stats, dtime, cam_view); updateProfilerGraphs(&graph); @@ -1740,17 +1739,16 @@ void Game::processQueues() void Game::updateDebugState() { - const bool has_basic_debug = true; + LocalPlayer *player = client->getEnv().getLocalPlayer(); bool has_debug = client->checkPrivilege("debug"); + bool has_basic_debug = has_debug || (player->hud_flags & HUD_FLAG_BASIC_DEBUG); if (m_game_ui->m_flags.show_basic_debug) { - if (!has_basic_debug) { + if (!has_basic_debug) m_game_ui->m_flags.show_basic_debug = false; - } } else if (m_game_ui->m_flags.show_minimal_debug) { - if (has_basic_debug) { + if (has_basic_debug) m_game_ui->m_flags.show_basic_debug = true; - } } if (!has_basic_debug) hud->disableBlockBounds(); @@ -2211,27 +2209,27 @@ void Game::toggleCinematic() void Game::toggleBlockBounds() { - if (true /* basic_debug */) { - enum Hud::BlockBoundsMode newmode = hud->toggleBlockBounds(); - switch (newmode) { - case Hud::BLOCK_BOUNDS_OFF: - m_game_ui->showTranslatedStatusText("Block bounds hidden"); - break; - case Hud::BLOCK_BOUNDS_CURRENT: - m_game_ui->showTranslatedStatusText("Block bounds shown for current block"); - break; - case Hud::BLOCK_BOUNDS_NEAR: - m_game_ui->showTranslatedStatusText("Block bounds shown for nearby blocks"); - break; - case Hud::BLOCK_BOUNDS_MAX: - m_game_ui->showTranslatedStatusText("Block bounds shown for all blocks"); - break; - default: - break; - } - - } else { - m_game_ui->showTranslatedStatusText("Can't show block bounds (need 'basic_debug' privilege)"); + LocalPlayer *player = client->getEnv().getLocalPlayer(); + if (!(client->checkPrivilege("debug") || (player->hud_flags & HUD_FLAG_BASIC_DEBUG))) { + m_game_ui->showTranslatedStatusText("Can't show block bounds (disabled by mod or game)"); + return; + } + enum Hud::BlockBoundsMode newmode = hud->toggleBlockBounds(); + switch (newmode) { + case Hud::BLOCK_BOUNDS_OFF: + m_game_ui->showTranslatedStatusText("Block bounds hidden"); + break; + case Hud::BLOCK_BOUNDS_CURRENT: + m_game_ui->showTranslatedStatusText("Block bounds shown for current block"); + break; + case Hud::BLOCK_BOUNDS_NEAR: + m_game_ui->showTranslatedStatusText("Block bounds shown for nearby blocks"); + break; + case Hud::BLOCK_BOUNDS_MAX: + m_game_ui->showTranslatedStatusText("Block bounds shown for all blocks"); + break; + default: + break; } } @@ -2298,6 +2296,9 @@ void Game::toggleFog() void Game::toggleDebug() { + LocalPlayer *player = client->getEnv().getLocalPlayer(); + bool has_debug = client->checkPrivilege("debug"); + bool has_basic_debug = has_debug || (player->hud_flags & HUD_FLAG_BASIC_DEBUG); // Initial: No debug info // 1x toggle: Debug text // 2x toggle: Debug text with profiler graph @@ -2307,9 +2308,8 @@ void Game::toggleDebug() // The debug text can be in 2 modes: minimal and basic. // * Minimal: Only technical client info that not gameplay-relevant // * Basic: Info that might give gameplay advantage, e.g. pos, angle - // Basic mode is always used. - - const bool has_basic_debug = true; + // Basic mode is used when player has the debug HUD flag set, + // otherwise the Minimal mode is used. if (!m_game_ui->m_flags.show_minimal_debug) { m_game_ui->m_flags.show_minimal_debug = true; if (has_basic_debug) @@ -2333,7 +2333,7 @@ void Game::toggleDebug() m_game_ui->m_flags.show_basic_debug = false; m_game_ui->m_flags.show_profiler_graph = false; draw_control->show_wireframe = false; - if (client->checkPrivilege("debug")) { + if (has_debug) { m_game_ui->showTranslatedStatusText("Debug info, profiler graph, and wireframe hidden"); } else { m_game_ui->showTranslatedStatusText("Debug info and profiler graph hidden"); @@ -3039,7 +3039,7 @@ void Game::updateSound(f32 dtime) } -void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug) +void Game::processPlayerInteraction(f32 dtime, bool show_hud) { LocalPlayer *player = client->getEnv().getLocalPlayer(); @@ -3157,7 +3157,8 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug) handlePointingAtNode(pointed, selected_item, hand_item, dtime); } else if (pointed.type == POINTEDTHING_OBJECT) { v3f player_position = player->getPosition(); - handlePointingAtObject(pointed, tool_item, player_position, show_debug); + handlePointingAtObject(pointed, tool_item, player_position, + client->checkPrivilege("debug") || (player->hud_flags & HUD_FLAG_BASIC_DEBUG)); } else if (isKeyDown(KeyType::DIG)) { // When button is held down in air, show continuous animation runData.punching = true; diff --git a/src/hud.cpp b/src/hud.cpp index e4ad7940f..841c90758 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -63,5 +63,6 @@ const struct EnumString es_HudBuiltinElement[] = {HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"}, {HUD_FLAG_MINIMAP_VISIBLE, "minimap"}, {HUD_FLAG_MINIMAP_RADAR_VISIBLE, "minimap_radar"}, + {HUD_FLAG_BASIC_DEBUG, "basic_debug"}, {0, NULL}, }; diff --git a/src/hud.h b/src/hud.h index 769966688..173633fcc 100644 --- a/src/hud.h +++ b/src/hud.h @@ -47,6 +47,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define HUD_FLAG_BREATHBAR_VISIBLE (1 << 4) #define HUD_FLAG_MINIMAP_VISIBLE (1 << 5) #define HUD_FLAG_MINIMAP_RADAR_VISIBLE (1 << 6) +#define HUD_FLAG_BASIC_DEBUG (1 << 7) #define HUD_PARAM_HOTBAR_ITEMCOUNT 1 #define HUD_PARAM_HOTBAR_IMAGE 2 diff --git a/src/player.cpp b/src/player.cpp index 347be30f1..1e064c1da 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -71,7 +71,7 @@ Player::Player(const char *name, IItemDefManager *idef): HUD_FLAG_HOTBAR_VISIBLE | HUD_FLAG_HEALTHBAR_VISIBLE | HUD_FLAG_CROSSHAIR_VISIBLE | HUD_FLAG_WIELDITEM_VISIBLE | HUD_FLAG_BREATHBAR_VISIBLE | HUD_FLAG_MINIMAP_VISIBLE | - HUD_FLAG_MINIMAP_RADAR_VISIBLE; + HUD_FLAG_MINIMAP_RADAR_VISIBLE | HUD_FLAG_BASIC_DEBUG; hud_hotbar_itemcount = HUD_HOTBAR_ITEMCOUNT_DEFAULT; diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index ba86fbc48..1ed6b0d5c 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1617,20 +1617,11 @@ int ObjectRef::l_hud_get_flags(lua_State *L) return 0; lua_newtable(L); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_HOTBAR_VISIBLE); - lua_setfield(L, -2, "hotbar"); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_HEALTHBAR_VISIBLE); - lua_setfield(L, -2, "healthbar"); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_CROSSHAIR_VISIBLE); - lua_setfield(L, -2, "crosshair"); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_WIELDITEM_VISIBLE); - lua_setfield(L, -2, "wielditem"); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_BREATHBAR_VISIBLE); - lua_setfield(L, -2, "breathbar"); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_MINIMAP_VISIBLE); - lua_setfield(L, -2, "minimap"); - lua_pushboolean(L, player->hud_flags & HUD_FLAG_MINIMAP_RADAR_VISIBLE); - lua_setfield(L, -2, "minimap_radar"); + const EnumString *esp = es_HudBuiltinElement; + for (int i = 0; esp[i].str; i++) { + lua_pushboolean(L, (player->hud_flags & esp[i].num) != 0); + lua_setfield(L, -2, esp[i].str); + } return 1; } -- cgit v1.2.3 From 2bba53b2c3f0045c326f6c7578104ffaef53ceac Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Mon, 1 Nov 2021 01:51:17 +0100 Subject: Render shadows on entities. Fixes problem with mod 'drawers'. --- src/client/content_cao.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 1d4636a08..03a2ee830 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1322,6 +1322,12 @@ void GenericCAO::updateTextures(std::string mod) m_current_texture_modifier = mod; m_glow = m_prop.glow; + video::ITexture *shadow_texture = nullptr; + if (auto shadow = RenderingEngine::get_shadow_renderer()) + shadow_texture = shadow->get_texture(); + + const u32 TEXTURE_LAYER_SHADOW = 3; + if (m_spritenode) { if (m_prop.visual == "sprite") { std::string texturestring = "no_texture.png"; @@ -1332,6 +1338,7 @@ void GenericCAO::updateTextures(std::string mod) m_spritenode->getMaterial(0).MaterialTypeParam = 0.5f; m_spritenode->setMaterialTexture(0, tsrc->getTextureForMesh(texturestring)); + m_spritenode->setMaterialTexture(TEXTURE_LAYER_SHADOW, shadow_texture); // This allows setting per-material colors. However, until a real lighting // system is added, the code below will have no effect. Once MineTest @@ -1367,6 +1374,7 @@ void GenericCAO::updateTextures(std::string mod) material.MaterialType = m_material_type; material.MaterialTypeParam = 0.5f; material.TextureLayer[0].Texture = texture; + material.TextureLayer[TEXTURE_LAYER_SHADOW].Texture = shadow_texture; material.setFlag(video::EMF_LIGHTING, true); material.setFlag(video::EMF_BILINEAR_FILTER, false); material.setFlag(video::EMF_BACK_FACE_CULLING, m_prop.backface_culling); @@ -1417,6 +1425,7 @@ void GenericCAO::updateTextures(std::string mod) material.setFlag(video::EMF_BILINEAR_FILTER, false); material.setTexture(0, tsrc->getTextureForMesh(texturestring)); + material.setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); material.getTextureMatrix(0).makeIdentity(); // This allows setting per-material colors. However, until a real lighting @@ -1443,6 +1452,7 @@ void GenericCAO::updateTextures(std::string mod) scene::IMeshBuffer *buf = mesh->getMeshBuffer(0); buf->getMaterial().setTexture(0, tsrc->getTextureForMesh(tname)); + buf->getMaterial().setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); // This allows setting per-material colors. However, until a real lighting // system is added, the code below will have no effect. Once MineTest @@ -1467,6 +1477,7 @@ void GenericCAO::updateTextures(std::string mod) scene::IMeshBuffer *buf = mesh->getMeshBuffer(1); buf->getMaterial().setTexture(0, tsrc->getTextureForMesh(tname)); + buf->getMaterial().setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); // This allows setting per-material colors. However, until a real lighting // system is added, the code below will have no effect. Once MineTest -- cgit v1.2.3 From 4e39cdef946e137519551bc77234bae2ee35a7f3 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Wed, 3 Nov 2021 23:38:27 +0100 Subject: Apply shadow texture to wield-based entities For example, dropped nodes and items. --- src/client/wieldmesh.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/client/wieldmesh.cpp b/src/client/wieldmesh.cpp index 0a4cb3b86..8b3347df6 100644 --- a/src/client/wieldmesh.cpp +++ b/src/client/wieldmesh.cpp @@ -541,9 +541,14 @@ void WieldMeshSceneNode::changeToMesh(scene::IMesh *mesh) m_meshnode->setMaterialFlag(video::EMF_NORMALIZE_NORMALS, m_lighting); m_meshnode->setVisible(true); - // Add mesh to shadow caster - if (m_shadow) + if (m_shadow) { + // Add mesh to shadow caster m_shadow->addNodeToShadowList(m_meshnode); + + // Set shadow texture + for (u32 i = 0; i < m_meshnode->getMaterialCount(); i++) + m_meshnode->setMaterialTexture(3, m_shadow->get_texture()); + } } void getItemMesh(Client *client, const ItemStack &item, ItemMesh *result) -- cgit v1.2.3 From 10be033791dd71af6ba3120eb6a397f27673c2bb Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Wed, 3 Nov 2021 23:39:30 +0100 Subject: Copy shadow mapping shader from nodes to objects --- client/shaders/object_shader/opengl_fragment.glsl | 302 ++++++++++++++++------ client/shaders/object_shader/opengl_vertex.glsl | 15 +- 2 files changed, 235 insertions(+), 82 deletions(-) diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 3390e7227..0b9dbc996 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -1,6 +1,7 @@ uniform sampler2D baseTexture; uniform vec4 emissiveColor; +uniform vec3 dayLight; uniform vec4 skyBgColor; uniform float fogDistance; uniform vec3 eyePosition; @@ -16,6 +17,8 @@ centroid varying vec2 varTexCoord; #endif varying vec3 eyeVec; +varying float nightRatio; + varying float vIDiff; const float e = 2.718281828459; @@ -31,53 +34,23 @@ const float fogShadingParameter = 1.0 / (1.0 - fogStart); uniform float f_textureresolution; uniform mat4 m_ShadowViewProj; uniform float f_shadowfar; - uniform float f_timeofday; varying float normalOffsetScale; varying float adj_shadow_strength; varying float cosLight; varying float f_normal_length; #endif -#if ENABLE_TONE_MAPPING -/* Hable's UC2 Tone mapping parameters - A = 0.22; - B = 0.30; - C = 0.10; - D = 0.20; - E = 0.01; - F = 0.30; - W = 11.2; - equation used: ((x * (A * x + C * B) + D * E) / (x * (A * x + B) + D * F)) - E / F -*/ - -vec3 uncharted2Tonemap(vec3 x) -{ - return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03333; -} - -vec4 applyToneMapping(vec4 color) -{ - color = vec4(pow(color.rgb, vec3(2.2)), color.a); - const float gamma = 1.6; - const float exposureBias = 5.5; - color.rgb = uncharted2Tonemap(exposureBias * color.rgb); - // Precalculated white_scale from - //vec3 whiteScale = 1.0 / uncharted2Tonemap(vec3(W)); - vec3 whiteScale = vec3(1.036015346); - color.rgb *= whiteScale; - return vec4(pow(color.rgb, vec3(1.0 / gamma)), color.a); -} -#endif - #ifdef ENABLE_DYNAMIC_SHADOWS const float bias0 = 0.9; const float zPersFactor = 0.5; -const float bias1 = 1.0 - bias0; +const float bias1 = 1.0 - bias0 + 1e-6; vec4 getPerspectiveFactor(in vec4 shadowPosition) { + float pDistance = length(shadowPosition.xy); float pFactor = pDistance * bias0 + bias1; + shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPersFactor); return shadowPosition; @@ -92,11 +65,23 @@ float getLinearDepth() vec3 getLightSpacePosition() { vec4 pLightSpace; - float normalBias = 0.0005 * getLinearDepth() * cosLight + normalOffsetScale; - pLightSpace = m_ShadowViewProj * vec4(worldPosition + normalBias * normalize(vNormal), 1.0); + // some drawtypes have zero normals, so we need to handle it :( + #if DRAW_TYPE == NDT_PLANTLIKE + pLightSpace = m_ShadowViewProj * vec4(worldPosition, 1.0); + #else + float offsetScale = (0.0057 * getLinearDepth() + normalOffsetScale); + pLightSpace = m_ShadowViewProj * vec4(worldPosition + offsetScale * normalize(vNormal), 1.0); + #endif pLightSpace = getPerspectiveFactor(pLightSpace); return pLightSpace.xyz * 0.5 + 0.5; } +// custom smoothstep implementation because it's not defined in glsl1.2 +// https://docs.gl/sl4/smoothstep +float mtsmoothstep(in float edge0, in float edge1, in float x) +{ + float t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0); + return t * t * (3.0 - 2.0 * t); +} #ifdef COLORED_SHADOWS @@ -124,10 +109,10 @@ vec4 getHardShadowColor(sampler2D shadowsampler, vec2 smTexCoord, float realDist { vec4 texDepth = texture2D(shadowsampler, smTexCoord.xy).rgba; - float visibility = step(0.0, (realDistance-2e-5) - texDepth.r); + float visibility = step(0.0, realDistance - texDepth.r); vec4 result = vec4(visibility, vec3(0.0,0.0,0.0));//unpackColor(texDepth.g)); if (visibility < 0.1) { - visibility = step(0.0, (realDistance-2e-5) - texDepth.r); + visibility = step(0.0, realDistance - texDepth.b); result = vec4(visibility, unpackColor(texDepth.a)); } return result; @@ -138,13 +123,13 @@ vec4 getHardShadowColor(sampler2D shadowsampler, vec2 smTexCoord, float realDist float getHardShadow(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) { float texDepth = texture2D(shadowsampler, smTexCoord.xy).r; - float visibility = step(0.0, (realDistance-2e-5) - texDepth); - + float visibility = step(0.0, realDistance - texDepth); return visibility; } #endif + #if SHADOW_FILTER == 2 #define PCFBOUND 3.5 #define PCFSAMPLES 64.0 @@ -163,6 +148,73 @@ float getHardShadow(sampler2D shadowsampler, vec2 smTexCoord, float realDistance #define PCFSAMPLES 1.0 #endif #endif +#ifdef COLORED_SHADOWS +float getHardShadowDepth(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) +{ + vec4 texDepth = texture2D(shadowsampler, smTexCoord.xy); + float depth = max(realDistance - texDepth.r, realDistance - texDepth.b); + return depth; +} +#else +float getHardShadowDepth(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) +{ + float texDepth = texture2D(shadowsampler, smTexCoord.xy).r; + float depth = realDistance - texDepth; + return depth; +} +#endif + +float getBaseLength(vec2 smTexCoord) +{ + float l = length(2.0 * smTexCoord.xy - 1.0); // length in texture coords + return bias1 / (1.0 / l - bias0); // return to undistorted coords +} + +float getDeltaPerspectiveFactor(float l) +{ + return 0.1 / (bias0 * l + bias1); // original distortion factor, divided by 10 +} + +float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDistance, float multiplier) +{ + float baseLength = getBaseLength(smTexCoord); + float perspectiveFactor; + + // Return fast if sharp shadows are requested + if (SOFTSHADOWRADIUS <= 1.0) { + perspectiveFactor = getDeltaPerspectiveFactor(baseLength); + return max(2 * length(smTexCoord.xy) * 2048 / f_textureresolution / pow(perspectiveFactor, 3), SOFTSHADOWRADIUS); + } + + vec2 clampedpos; + float texture_size = 1.0 / (2048 /*f_textureresolution*/ * 0.5); + float y, x; + float depth = 0.0; + float pointDepth; + float maxRadius = SOFTSHADOWRADIUS * 5.0 * multiplier; + + float bound = clamp(PCFBOUND * (1 - baseLength), 0.0, PCFBOUND); + int n = 0; + + for (y = -bound; y <= bound; y += 1.0) + for (x = -bound; x <= bound; x += 1.0) { + clampedpos = vec2(x,y); + perspectiveFactor = getDeltaPerspectiveFactor(baseLength + length(clampedpos) * texture_size * maxRadius); + clampedpos = clampedpos * texture_size * perspectiveFactor * maxRadius * perspectiveFactor + smTexCoord.xy; + + pointDepth = getHardShadowDepth(shadowsampler, clampedpos.xy, realDistance); + if (pointDepth > -0.01) { + depth += pointDepth; + n += 1; + } + } + + depth = depth / n; + depth = pow(clamp(depth, 0.0, 1000.0), 1.6) / 0.001; + + perspectiveFactor = getDeltaPerspectiveFactor(baseLength); + return max(length(smTexCoord.xy) * 2 * 2048 / f_textureresolution / pow(perspectiveFactor, 3), depth * maxRadius); +} #ifdef POISSON_FILTER const vec2[64] poissonDisk = vec2[64]( @@ -238,17 +290,28 @@ vec4 getShadowColor(sampler2D shadowsampler, vec2 smTexCoord, float realDistance { vec2 clampedpos; vec4 visibility = vec4(0.0); + float radius = getPenumbraRadius(shadowsampler, smTexCoord, realDistance, 1.5); // scale to align with PCF + if (radius < 0.1) { + // we are in the middle of even brightness, no need for filtering + return getHardShadowColor(shadowsampler, smTexCoord.xy, realDistance); + } + + float baseLength = getBaseLength(smTexCoord); + float perspectiveFactor; float texture_size = 1.0 / (f_textureresolution * 0.5); - int init_offset = int(floor(mod(((smTexCoord.x * 34.0) + 1.0) * smTexCoord.y, 64.0-PCFSAMPLES))); - int end_offset = int(PCFSAMPLES) + init_offset; + int samples = int(clamp(PCFSAMPLES * (1 - baseLength) * (1 - baseLength), PCFSAMPLES / 4, PCFSAMPLES)); + int init_offset = int(floor(mod(((smTexCoord.x * 34.0) + 1.0) * smTexCoord.y, 64.0-samples))); + int end_offset = int(samples) + init_offset; for (int x = init_offset; x < end_offset; x++) { - clampedpos = poissonDisk[x] * texture_size * SOFTSHADOWRADIUS + smTexCoord.xy; + clampedpos = poissonDisk[x]; + perspectiveFactor = getDeltaPerspectiveFactor(baseLength + length(clampedpos) * texture_size * radius); + clampedpos = clampedpos * texture_size * perspectiveFactor * radius * perspectiveFactor + smTexCoord.xy; visibility += getHardShadowColor(shadowsampler, clampedpos.xy, realDistance); } - return visibility / PCFSAMPLES; + return visibility / samples; } #else @@ -257,17 +320,28 @@ float getShadow(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) { vec2 clampedpos; float visibility = 0.0; + float radius = getPenumbraRadius(shadowsampler, smTexCoord, realDistance, 1.5); // scale to align with PCF + if (radius < 0.1) { + // we are in the middle of even brightness, no need for filtering + return getHardShadow(shadowsampler, smTexCoord.xy, realDistance); + } + + float baseLength = getBaseLength(smTexCoord); + float perspectiveFactor; float texture_size = 1.0 / (f_textureresolution * 0.5); - int init_offset = int(floor(mod(((smTexCoord.x * 34.0) + 1.0) * smTexCoord.y, 64.0-PCFSAMPLES))); - int end_offset = int(PCFSAMPLES) + init_offset; + int samples = int(clamp(PCFSAMPLES * (1 - baseLength) * (1 - baseLength), PCFSAMPLES / 4, PCFSAMPLES)); + int init_offset = int(floor(mod(((smTexCoord.x * 34.0) + 1.0) * smTexCoord.y, 64.0-samples))); + int end_offset = int(samples) + init_offset; for (int x = init_offset; x < end_offset; x++) { - clampedpos = poissonDisk[x] * texture_size * SOFTSHADOWRADIUS + smTexCoord.xy; + clampedpos = poissonDisk[x]; + perspectiveFactor = getDeltaPerspectiveFactor(baseLength + length(clampedpos) * texture_size * radius); + clampedpos = clampedpos * texture_size * perspectiveFactor * radius * perspectiveFactor + smTexCoord.xy; visibility += getHardShadow(shadowsampler, clampedpos.xy, realDistance); } - return visibility / PCFSAMPLES; + return visibility / samples; } #endif @@ -281,19 +355,31 @@ vec4 getShadowColor(sampler2D shadowsampler, vec2 smTexCoord, float realDistance { vec2 clampedpos; vec4 visibility = vec4(0.0); - float sradius=0.0; - if( PCFBOUND>0) - sradius = SOFTSHADOWRADIUS / PCFBOUND; + float radius = getPenumbraRadius(shadowsampler, smTexCoord, realDistance, 1.0); + if (radius < 0.1) { + // we are in the middle of even brightness, no need for filtering + return getHardShadowColor(shadowsampler, smTexCoord.xy, realDistance); + } + + float baseLength = getBaseLength(smTexCoord); + float perspectiveFactor; + float texture_size = 1.0 / (f_textureresolution * 0.5); float y, x; + float bound = clamp(PCFBOUND * (1 - baseLength), PCFBOUND / 2, PCFBOUND); + int n = 0; + // basic PCF filter - for (y = -PCFBOUND; y <= PCFBOUND; y += 1.0) - for (x = -PCFBOUND; x <= PCFBOUND; x += 1.0) { - clampedpos = vec2(x,y) * texture_size* sradius + smTexCoord.xy; + for (y = -bound; y <= bound; y += 1.0) + for (x = -bound; x <= bound; x += 1.0) { + clampedpos = vec2(x,y); // screen offset + perspectiveFactor = getDeltaPerspectiveFactor(baseLength + length(clampedpos) * texture_size * radius / bound); + clampedpos = clampedpos * texture_size * perspectiveFactor * radius * perspectiveFactor / bound + smTexCoord.xy; // both dx,dy and radius are adjusted visibility += getHardShadowColor(shadowsampler, clampedpos.xy, realDistance); + n += 1; } - return visibility / PCFSAMPLES; + return visibility / n; } #else @@ -301,20 +387,31 @@ float getShadow(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) { vec2 clampedpos; float visibility = 0.0; - float sradius=0.0; - if( PCFBOUND>0) - sradius = SOFTSHADOWRADIUS / PCFBOUND; - + float radius = getPenumbraRadius(shadowsampler, smTexCoord, realDistance, 1.0); + if (radius < 0.1) { + // we are in the middle of even brightness, no need for filtering + return getHardShadow(shadowsampler, smTexCoord.xy, realDistance); + } + + float baseLength = getBaseLength(smTexCoord); + float perspectiveFactor; + float texture_size = 1.0 / (f_textureresolution * 0.5); float y, x; + float bound = clamp(PCFBOUND * (1 - baseLength), PCFBOUND / 2, PCFBOUND); + int n = 0; + // basic PCF filter - for (y = -PCFBOUND; y <= PCFBOUND; y += 1.0) - for (x = -PCFBOUND; x <= PCFBOUND; x += 1.0) { - clampedpos = vec2(x,y) * texture_size * sradius + smTexCoord.xy; + for (y = -bound; y <= bound; y += 1.0) + for (x = -bound; x <= bound; x += 1.0) { + clampedpos = vec2(x,y); // screen offset + perspectiveFactor = getDeltaPerspectiveFactor(baseLength + length(clampedpos) * texture_size * radius / bound); + clampedpos = clampedpos * texture_size * perspectiveFactor * radius * perspectiveFactor / bound + smTexCoord.xy; // both dx,dy and radius are adjusted visibility += getHardShadow(shadowsampler, clampedpos.xy, realDistance); + n += 1; } - return visibility / PCFSAMPLES; + return visibility / n; } #endif @@ -322,6 +419,37 @@ float getShadow(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) #endif #endif +#if ENABLE_TONE_MAPPING +/* Hable's UC2 Tone mapping parameters + A = 0.22; + B = 0.30; + C = 0.10; + D = 0.20; + E = 0.01; + F = 0.30; + W = 11.2; + equation used: ((x * (A * x + C * B) + D * E) / (x * (A * x + B) + D * F)) - E / F +*/ + +vec3 uncharted2Tonemap(vec3 x) +{ + return ((x * (0.22 * x + 0.03) + 0.002) / (x * (0.22 * x + 0.3) + 0.06)) - 0.03333; +} + +vec4 applyToneMapping(vec4 color) +{ + color = vec4(pow(color.rgb, vec3(2.2)), color.a); + const float gamma = 1.6; + const float exposureBias = 5.5; + color.rgb = uncharted2Tonemap(exposureBias * color.rgb); + // Precalculated white_scale from + //vec3 whiteScale = 1.0 / uncharted2Tonemap(vec3(W)); + vec3 whiteScale = vec3(1.036015346); + color.rgb *= whiteScale; + return vec4(pow(color.rgb, vec3(1.0 / gamma)), color.a); +} +#endif + void main(void) { vec3 color; @@ -350,28 +478,50 @@ void main(void) vec3 shadow_color = vec3(0.0, 0.0, 0.0); vec3 posLightSpace = getLightSpacePosition(); + float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); + float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); + + if (distance_rate > 1e-7) { + #ifdef COLORED_SHADOWS - vec4 visibility; - if (cosLight > 0.0) - visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); - else - visibility = vec4(1.0, 0.0, 0.0, 0.0); - shadow_int = visibility.r; - shadow_color = visibility.gba; + vec4 visibility; + if (cosLight > 0.0) + visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + visibility = vec4(1.0, 0.0, 0.0, 0.0); + shadow_int = visibility.r; + shadow_color = visibility.gba; #else - shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + if (cosLight > 0.0) + shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + shadow_int = 1.0; #endif + shadow_int *= distance_rate; + shadow_int = clamp(shadow_int, 0.0, 1.0); - if (f_normal_length != 0 && cosLight <= 0.001) { - shadow_int = clamp(shadow_int + 0.5 * abs(cosLight), 0.0, 1.0); } - shadow_int = 1.0 - (shadow_int * adj_shadow_strength); - - col.rgb = mix(shadow_color, col.rgb, shadow_int) * shadow_int; -#endif + // turns out that nightRatio falls off much faster than + // actual brightness of artificial light in relation to natual light. + // Power ratio was measured on torches in MTG (brightness = 14). + float adjusted_night_ratio = pow(nightRatio, 0.6); + if (f_normal_length != 0 && cosLight < 0.035) { + shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, 0.035)/0.035); + } + shadow_int *= f_adj_shadow_strength; + + // calculate fragment color from components: + col.rgb = + adjusted_night_ratio * col.rgb + // artificial light + (1.0 - adjusted_night_ratio) * ( // natural light + col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color + dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight + // col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r; + // col.r = adjusted_night_ratio; // debug night ratio adjustment +#endif #if ENABLE_TONE_MAPPING col = applyToneMapping(col); diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index f135ab9dc..922fba62b 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -28,6 +28,8 @@ centroid varying vec2 varTexCoord; #endif varying vec3 eyeVec; +varying float nightRatio; + varying float vIDiff; const float e = 2.718281828459; @@ -60,7 +62,7 @@ void main(void) gl_Position = mWorldViewProj * inVertexPosition; vPosition = gl_Position.xyz; - vNormal = inVertexNormal; + vNormal = (mWorld * vec4(inVertexNormal, 0.0)).xyz; worldPosition = (mWorld * inVertexPosition).xyz; eyeVec = -(mWorldView * inVertexPosition).xyz; @@ -73,6 +75,7 @@ void main(void) ? 1.0 : directional_ambient(normalize(inVertexNormal)); #endif + nightRatio = 0.0; #ifdef GL_ES varColor = inVertexColor.bgra; @@ -81,11 +84,12 @@ void main(void) #endif #ifdef ENABLE_DYNAMIC_SHADOWS - - cosLight = max(0.0, dot(vNormal, -v_LightDirection)); - float texelSize = 0.51; - float slopeScale = clamp(1.0 - cosLight, 0.0, 1.0); + vec3 nNormal = normalize(vNormal); + cosLight = dot(nNormal, -v_LightDirection); + float texelSize = 767.0 / f_textureresolution; + float slopeScale = clamp(1.0 - abs(cosLight), 0.0, 1.0); normalOffsetScale = texelSize * slopeScale; + if (f_timeofday < 0.2) { adj_shadow_strength = f_shadow_strength * 0.5 * (1.0 - mtsmoothstep(0.18, 0.2, f_timeofday)); @@ -98,6 +102,5 @@ void main(void) (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); } f_normal_length = length(vNormal); - #endif } -- cgit v1.2.3 From f2cccf8da72c39299c8e7ba6ad8f782a7d61b883 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Thu, 4 Nov 2021 00:18:09 +0100 Subject: Improve self-shadowing based on light/normal angle Add compatibility with colored shadows. --- client/shaders/nodes_shader/opengl_fragment.glsl | 8 ++++++-- client/shaders/object_shader/opengl_fragment.glsl | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 762a676c6..d3194090c 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -514,8 +514,12 @@ void main(void) // Power ratio was measured on torches in MTG (brightness = 14). float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); - if (f_normal_length != 0 && cosLight < 0.035) { - shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, 0.035)/0.035); + // Apply self-shadowing when light falls at a narrow angle to the surface + // Cosine of the cut-off angle. + const float self_shadow_cutoff_cosine = 0.035; + if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { + shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); + shadow_color = mix(vec3(0.0), shadow_color, min(cosLight, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); } shadow_int *= f_adj_shadow_strength; diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 0b9dbc996..674b6a739 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -507,8 +507,12 @@ void main(void) // Power ratio was measured on torches in MTG (brightness = 14). float adjusted_night_ratio = pow(nightRatio, 0.6); - if (f_normal_length != 0 && cosLight < 0.035) { - shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, 0.035)/0.035); + // cosine of the normal-to-light angle when + // we start to apply self-shadowing + const float self_shadow_cutoff_cosine = 0.14; + if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { + shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); + shadow_color = mix(vec3(0.0), shadow_color, min(cosLight, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); } shadow_int *= f_adj_shadow_strength; -- cgit v1.2.3 From 54dccc480eb03adcf219a7add58f547284f40f76 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Thu, 4 Nov 2021 03:03:10 +0100 Subject: Improve lighting of entities. Pass correct natural & artificial light to the shaders Use natural/artificial light ratio for correct rendering of shadows --- client/shaders/object_shader/opengl_fragment.glsl | 2 +- client/shaders/object_shader/opengl_vertex.glsl | 30 ++++++++++++++++---- src/client/content_cao.cpp | 34 +++++++++++++---------- src/client/content_cao.h | 4 +-- src/client/wieldmesh.cpp | 5 ++-- 5 files changed, 50 insertions(+), 25 deletions(-) diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 674b6a739..0dcbbd321 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -471,7 +471,7 @@ void main(void) color = base.rgb; vec4 col = vec4(color.rgb, base.a); col.rgb *= varColor.rgb; - col.rgb *= emissiveColor.rgb * vIDiff; + col.rgb *= vIDiff; #ifdef ENABLE_DYNAMIC_SHADOWS float shadow_int = 0.0; diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index 922fba62b..9ca5ef0f3 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -1,7 +1,9 @@ uniform mat4 mWorld; - +uniform vec3 dayLight; uniform vec3 eyePosition; uniform float animationTimer; +uniform vec4 emissiveColor; + varying vec3 vNormal; varying vec3 vPosition; @@ -29,9 +31,9 @@ centroid varying vec2 varTexCoord; varying vec3 eyeVec; varying float nightRatio; - +// Color of the light emitted by the light sources. +const vec3 artificialLight = vec3(1.04, 1.04, 1.04); varying float vIDiff; - const float e = 2.718281828459; const float BS = 10.0; @@ -75,14 +77,30 @@ void main(void) ? 1.0 : directional_ambient(normalize(inVertexNormal)); #endif - nightRatio = 0.0; #ifdef GL_ES - varColor = inVertexColor.bgra; + vec4 color = inVertexColor.bgra; #else - varColor = inVertexColor; + vec4 color = inVertexColor; #endif + color *= emissiveColor; + + // The alpha gives the ratio of sunlight in the incoming light. + nightRatio = 1.0 - color.a; + color.rgb = color.rgb * (color.a * dayLight.rgb + + nightRatio * artificialLight.rgb) * 2.0; + color.a = 1.0; + + // Emphase blue a bit in darker places + // See C++ implementation in mapblock_mesh.cpp final_color_blend() + float brightness = (color.r + color.g + color.b) / 3.0; + color.b += max(0.0, 0.021 - abs(0.2 * brightness - 0.021) + + 0.07 * brightness); + + varColor = clamp(color, 0.0, 1.0); + + #ifdef ENABLE_DYNAMIC_SHADOWS vec3 nNormal = normalize(vNormal); cosLight = dot(nNormal, -v_LightDirection); diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 03a2ee830..c7ab5a347 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -864,7 +864,8 @@ void GenericCAO::updateLight(u32 day_night_ratio) if (m_glow < 0) return; - u8 light_at_pos = 0; + u16 light_at_pos = 0; + u8 light_at_pos_intensity = 0; bool pos_ok = false; v3s16 pos[3]; @@ -873,28 +874,33 @@ void GenericCAO::updateLight(u32 day_night_ratio) bool this_ok; MapNode n = m_env->getMap().getNode(pos[i], &this_ok); if (this_ok) { - u8 this_light = n.getLightBlend(day_night_ratio, m_client->ndef()); - light_at_pos = MYMAX(light_at_pos, this_light); + u16 this_light = getInteriorLight(n, 0, m_client->ndef()); + u8 this_light_intensity = MYMAX(this_light & 0xFF, (this_light >> 8) && 0xFF); + if (this_light_intensity > light_at_pos_intensity) { + light_at_pos = this_light; + light_at_pos_intensity = this_light_intensity; + } pos_ok = true; } } if (!pos_ok) - light_at_pos = blend_light(day_night_ratio, LIGHT_SUN, 0); + light_at_pos = LIGHT_SUN; + + video::SColor light = encode_light(light_at_pos, m_glow); + if (!m_enable_shaders) + final_color_blend(&light, light_at_pos, day_night_ratio); - u8 light = decode_light(light_at_pos + m_glow); if (light != m_last_light) { m_last_light = light; setNodeLight(light); } } -void GenericCAO::setNodeLight(u8 light) +void GenericCAO::setNodeLight(const video::SColor &light_color) { - video::SColor color(255, light, light, light); - if (m_prop.visual == "wielditem" || m_prop.visual == "item") { if (m_wield_meshnode) - m_wield_meshnode->setNodeLightColor(color); + m_wield_meshnode->setNodeLightColor(light_color); return; } @@ -906,7 +912,7 @@ void GenericCAO::setNodeLight(u8 light) scene::IMesh *mesh = m_meshnode->getMesh(); for (u32 i = 0; i < mesh->getMeshBufferCount(); ++i) { scene::IMeshBuffer *buf = mesh->getMeshBuffer(i); - buf->getMaterial().EmissiveColor = color; + buf->getMaterial().EmissiveColor = light_color; } } else { scene::ISceneNode *node = getSceneNode(); @@ -915,16 +921,16 @@ void GenericCAO::setNodeLight(u8 light) for (u32 i = 0; i < node->getMaterialCount(); ++i) { video::SMaterial &material = node->getMaterial(i); - material.EmissiveColor = color; + material.EmissiveColor = light_color; } } } else { if (m_meshnode) { - setMeshColor(m_meshnode->getMesh(), color); + setMeshColor(m_meshnode->getMesh(), light_color); } else if (m_animated_meshnode) { - setAnimatedMeshColor(m_animated_meshnode, color); + setAnimatedMeshColor(m_animated_meshnode, light_color); } else if (m_spritenode) { - m_spritenode->setColor(color); + m_spritenode->setColor(light_color); } } } diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 4bbba9134..70f1557e1 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -125,7 +125,7 @@ private: std::string m_current_texture_modifier = ""; bool m_visuals_expired = false; float m_step_distance_counter = 0.0f; - u8 m_last_light = 255; + video::SColor m_last_light = video::SColor(0xFFFFFFFF); bool m_is_visible = false; s8 m_glow = 0; // Material @@ -245,7 +245,7 @@ public: void updateLight(u32 day_night_ratio); - void setNodeLight(u8 light); + void setNodeLight(const video::SColor &light); /* Get light position(s). * returns number of positions written into pos[], which must have space diff --git a/src/client/wieldmesh.cpp b/src/client/wieldmesh.cpp index 8b3347df6..ab6fc9281 100644 --- a/src/client/wieldmesh.cpp +++ b/src/client/wieldmesh.cpp @@ -515,8 +515,9 @@ void WieldMeshSceneNode::setNodeLightColor(video::SColor color) material.EmissiveColor = color; } } - - setColor(color); + else { + setColor(color); + } } void WieldMeshSceneNode::render() -- cgit v1.2.3 From 1175f48d05888fba705363729ecf5ef2c75f0c5d Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Mon, 8 Nov 2021 23:13:50 +0100 Subject: Detect 'insane' normals in checkMeshNormals. Detect non-zero normals which point in the opposite direction from the face plane normal. --- src/client/mesh.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/client/mesh.cpp b/src/client/mesh.cpp index c56eba2e2..070200889 100644 --- a/src/client/mesh.cpp +++ b/src/client/mesh.cpp @@ -331,6 +331,9 @@ void recalculateBoundingBox(scene::IMesh *src_mesh) bool checkMeshNormals(scene::IMesh *mesh) { + // Assume correct normals if this many first faces get it right. + static const u16 MAX_FACES_TO_CHECK = 9; + u32 buffer_count = mesh->getMeshBufferCount(); for (u32 i = 0; i < buffer_count; i++) { @@ -344,6 +347,19 @@ bool checkMeshNormals(scene::IMesh *mesh) if (!std::isfinite(length) || length < 1e-10f) return false; + + const u16 count = MYMIN(MAX_FACES_TO_CHECK * 3, buffer->getIndexCount()); + for (u16 i = 0; i < count; i += 3) { + + core::plane3df plane(buffer->getPosition(buffer->getIndices()[i]), + buffer->getPosition(buffer->getIndices()[i+1]), + buffer->getPosition(buffer->getIndices()[i+2])); + + for (u16 j = 0; j < 3; j++) + if (plane.Normal.dotProduct(buffer->getNormal(buffer->getIndices()[j])) < 0) + return false; + } + } return true; -- cgit v1.2.3 From a684a91bf5ef01dfeb05de517f3550b26ff45995 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Wed, 10 Nov 2021 00:31:02 +0100 Subject: Fix shadow rendering with filtering disabled --- client/shaders/nodes_shader/opengl_fragment.glsl | 3 +++ client/shaders/object_shader/opengl_fragment.glsl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index d3194090c..55c3feac7 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -187,6 +187,9 @@ float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDist if (PCFBOUND == 0.0) return 0.0; // Return fast if sharp shadows are requested + if (PCFBOUND == 0.0) + return 0.0; + if (SOFTSHADOWRADIUS <= 1.0) { perspectiveFactor = getDeltaPerspectiveFactor(baseLength); return max(2 * length(smTexCoord.xy) * 2048 / f_textureresolution / pow(perspectiveFactor, 3), SOFTSHADOWRADIUS); diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 0dcbbd321..3cbf4347a 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -181,6 +181,9 @@ float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDist float perspectiveFactor; // Return fast if sharp shadows are requested + if (PCFBOUND == 0.0) + return 0.0; + if (SOFTSHADOWRADIUS <= 1.0) { perspectiveFactor = getDeltaPerspectiveFactor(baseLength); return max(2 * length(smTexCoord.xy) * 2048 / f_textureresolution / pow(perspectiveFactor, 3), SOFTSHADOWRADIUS); -- cgit v1.2.3 From e4583cb9b74119030e390871c216d0a49a41a222 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sat, 1 Jan 2022 02:06:48 +0100 Subject: Use correct indexes when checking mesh normals --- src/client/mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/mesh.cpp b/src/client/mesh.cpp index 070200889..9bbb3a0a8 100644 --- a/src/client/mesh.cpp +++ b/src/client/mesh.cpp @@ -356,7 +356,7 @@ bool checkMeshNormals(scene::IMesh *mesh) buffer->getPosition(buffer->getIndices()[i+2])); for (u16 j = 0; j < 3; j++) - if (plane.Normal.dotProduct(buffer->getNormal(buffer->getIndices()[j])) < 0) + if (plane.Normal.dotProduct(buffer->getNormal(buffer->getIndices()[i+j])) <= 0) return false; } -- cgit v1.2.3 From d2a3bed2402797057a19c9a47b8ec9a27f3c3779 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sat, 1 Jan 2022 02:07:34 +0100 Subject: Avoid possible buffer overflow when checking face normals --- src/client/mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/mesh.cpp b/src/client/mesh.cpp index 9bbb3a0a8..bec72fb5e 100644 --- a/src/client/mesh.cpp +++ b/src/client/mesh.cpp @@ -348,7 +348,7 @@ bool checkMeshNormals(scene::IMesh *mesh) if (!std::isfinite(length) || length < 1e-10f) return false; - const u16 count = MYMIN(MAX_FACES_TO_CHECK * 3, buffer->getIndexCount()); + const u16 count = MYMIN(MAX_FACES_TO_CHECK * 3, buffer->getIndexCount() - 3); for (u16 i = 0; i < count; i += 3) { core::plane3df plane(buffer->getPosition(buffer->getIndices()[i]), -- cgit v1.2.3 From 97cb4048225969863365d3520657d64adf7040e3 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Fri, 11 Feb 2022 23:00:41 +0100 Subject: Apply texture matrix when rendering shadowmap Fixes shadows of animated sprite entities --- client/shaders/shadow_shaders/pass1_vertex.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/shaders/shadow_shaders/pass1_vertex.glsl b/client/shaders/shadow_shaders/pass1_vertex.glsl index a6d8b3db8..feee9467f 100644 --- a/client/shaders/shadow_shaders/pass1_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_vertex.glsl @@ -22,5 +22,5 @@ void main() tPos = getPerspectiveFactor(pos); gl_Position = vec4(tPos.xyz, 1.0); - gl_TexCoord[0].st = gl_MultiTexCoord0.st; + gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0; } -- cgit v1.2.3 From 8f652f4e31e865c856dd45f9f7fc43e99fcc0f1c Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sat, 12 Feb 2022 02:12:29 +0100 Subject: Fix shadows for upright sprite nodes Avoid using read only materials in mesh scene node, as it confuses shadow renderer. --- src/client/content_cao.cpp | 45 +++++++++++++++++++++------------------------ 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index c7ab5a347..19569d4b6 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -745,9 +745,6 @@ void GenericCAO::addToScene(ITextureSource *tsrc, scene::ISceneManager *smgr) m_meshnode = m_smgr->addMeshSceneNode(mesh, m_matrixnode); m_meshnode->grab(); mesh->drop(); - // Set it to use the materials of the meshbuffers directly. - // This is needed for changing the texture in the future - m_meshnode->setReadOnlyMaterials(true); } else if (m_prop.visual == "cube") { grabMatrixNode(); scene::IMesh *mesh = createCubeMesh(v3f(BS,BS,BS)); @@ -1455,23 +1452,23 @@ void GenericCAO::updateTextures(std::string mod) if (!m_prop.textures.empty()) tname = m_prop.textures[0]; tname += mod; - scene::IMeshBuffer *buf = mesh->getMeshBuffer(0); - buf->getMaterial().setTexture(0, + auto& material = m_meshnode->getMaterial(0); + material.setTexture(0, tsrc->getTextureForMesh(tname)); - buf->getMaterial().setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); + material.setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); // This allows setting per-material colors. However, until a real lighting // system is added, the code below will have no effect. Once MineTest // has directional lighting, it should work automatically. if(!m_prop.colors.empty()) { - buf->getMaterial().AmbientColor = m_prop.colors[0]; - buf->getMaterial().DiffuseColor = m_prop.colors[0]; - buf->getMaterial().SpecularColor = m_prop.colors[0]; + material.AmbientColor = m_prop.colors[0]; + material.DiffuseColor = m_prop.colors[0]; + material.SpecularColor = m_prop.colors[0]; } - buf->getMaterial().setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter); - buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter); - buf->getMaterial().setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter); + material.setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter); + material.setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter); + material.setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter); } { std::string tname = "no_texture.png"; @@ -1480,27 +1477,27 @@ void GenericCAO::updateTextures(std::string mod) else if (!m_prop.textures.empty()) tname = m_prop.textures[0]; tname += mod; - scene::IMeshBuffer *buf = mesh->getMeshBuffer(1); - buf->getMaterial().setTexture(0, + auto& material = m_meshnode->getMaterial(1); + material.setTexture(0, tsrc->getTextureForMesh(tname)); - buf->getMaterial().setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); + material.setTexture(TEXTURE_LAYER_SHADOW, shadow_texture); // This allows setting per-material colors. However, until a real lighting // system is added, the code below will have no effect. Once MineTest // has directional lighting, it should work automatically. if (m_prop.colors.size() >= 2) { - buf->getMaterial().AmbientColor = m_prop.colors[1]; - buf->getMaterial().DiffuseColor = m_prop.colors[1]; - buf->getMaterial().SpecularColor = m_prop.colors[1]; + material.AmbientColor = m_prop.colors[1]; + material.DiffuseColor = m_prop.colors[1]; + material.SpecularColor = m_prop.colors[1]; } else if (!m_prop.colors.empty()) { - buf->getMaterial().AmbientColor = m_prop.colors[0]; - buf->getMaterial().DiffuseColor = m_prop.colors[0]; - buf->getMaterial().SpecularColor = m_prop.colors[0]; + material.AmbientColor = m_prop.colors[0]; + material.DiffuseColor = m_prop.colors[0]; + material.SpecularColor = m_prop.colors[0]; } - buf->getMaterial().setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter); - buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter); - buf->getMaterial().setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter); + material.setFlag(video::EMF_TRILINEAR_FILTER, use_trilinear_filter); + material.setFlag(video::EMF_BILINEAR_FILTER, use_bilinear_filter); + material.setFlag(video::EMF_ANISOTROPIC_FILTER, use_anisotropic_filter); } // Set mesh color (only if lighting is disabled) if (!m_prop.colors.empty() && m_glow < 0) -- cgit v1.2.3 From e531c596063178553060f1776898c5369468edc5 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sun, 13 Feb 2022 19:45:34 +0100 Subject: Ensure nightRatio is greater than zero in object shader --- client/shaders/object_shader/opengl_fragment.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 3cbf4347a..e1d7a3574 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -508,7 +508,7 @@ void main(void) // turns out that nightRatio falls off much faster than // actual brightness of artificial light in relation to natual light. // Power ratio was measured on torches in MTG (brightness = 14). - float adjusted_night_ratio = pow(nightRatio, 0.6); + float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); // cosine of the normal-to-light angle when // we start to apply self-shadowing -- cgit v1.2.3 From 12896b22d8e30689c57ef17c23ec3165abaa7de7 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sun, 13 Feb 2022 19:59:53 +0100 Subject: Remove debugging code --- client/shaders/nodes_shader/opengl_fragment.glsl | 2 -- client/shaders/object_shader/opengl_fragment.glsl | 2 -- 2 files changed, 4 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 55c3feac7..c24619539 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -533,8 +533,6 @@ void main(void) (1.0 - adjusted_night_ratio) * ( // natural light col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight - // col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r; - // col.r = adjusted_night_ratio; // debug night ratio adjustment #endif #if ENABLE_TONE_MAPPING diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index e1d7a3574..48066adc3 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -526,8 +526,6 @@ void main(void) (1.0 - adjusted_night_ratio) * ( // natural light col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight - // col.r = 0.5 * clamp(getPenumbraRadius(ShadowMapSampler, posLightSpace.xy, posLightSpace.z, 1.0) / SOFTSHADOWRADIUS, 0.0, 1.0) + 0.5 * col.r; - // col.r = adjusted_night_ratio; // debug night ratio adjustment #endif #if ENABLE_TONE_MAPPING -- cgit v1.2.3 From 25c1974e0d734b6e80d128b325e8e6b506a7401b Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Mon, 14 Feb 2022 09:00:55 +0100 Subject: Change normal bias for entities to avoid shadow acne --- client/shaders/object_shader/opengl_fragment.glsl | 10 +--------- client/shaders/object_shader/opengl_vertex.glsl | 13 +++++++++++-- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 48066adc3..fdfcec0c8 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -56,12 +56,6 @@ vec4 getPerspectiveFactor(in vec4 shadowPosition) return shadowPosition; } -// assuming near is always 1.0 -float getLinearDepth() -{ - return 2.0 * f_shadowfar / (f_shadowfar + 1.0 - (2.0 * gl_FragCoord.z - 1.0) * (f_shadowfar - 1.0)); -} - vec3 getLightSpacePosition() { vec4 pLightSpace; @@ -69,8 +63,7 @@ vec3 getLightSpacePosition() #if DRAW_TYPE == NDT_PLANTLIKE pLightSpace = m_ShadowViewProj * vec4(worldPosition, 1.0); #else - float offsetScale = (0.0057 * getLinearDepth() + normalOffsetScale); - pLightSpace = m_ShadowViewProj * vec4(worldPosition + offsetScale * normalize(vNormal), 1.0); + pLightSpace = m_ShadowViewProj * vec4(worldPosition + normalOffsetScale * normalize(vNormal), 1.0); #endif pLightSpace = getPerspectiveFactor(pLightSpace); return pLightSpace.xyz * 0.5 + 0.5; @@ -544,6 +537,5 @@ void main(void) float clarity = clamp(fogShadingParameter - fogShadingParameter * length(eyeVec) / fogDistance, 0.0, 1.0); col = mix(skyBgColor, col, clarity); - gl_FragColor = vec4(col.rgb, base.a); } diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index 9ca5ef0f3..12078f532 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -36,6 +36,8 @@ const vec3 artificialLight = vec3(1.04, 1.04, 1.04); varying float vIDiff; const float e = 2.718281828459; const float BS = 10.0; +const float bias0 = 0.9; +const float bias1 = 1.0 - bias0; #ifdef ENABLE_DYNAMIC_SHADOWS // custom smoothstep implementation because it's not defined in glsl1.2 @@ -104,8 +106,15 @@ void main(void) #ifdef ENABLE_DYNAMIC_SHADOWS vec3 nNormal = normalize(vNormal); cosLight = dot(nNormal, -v_LightDirection); - float texelSize = 767.0 / f_textureresolution; - float slopeScale = clamp(1.0 - abs(cosLight), 0.0, 1.0); + + // Calculate normal offset scale based on the texel size adjusted for + // curvature of the SM texture. This code must be change together with + // getPerspectiveFactor or any light-space transformation. + float distanceToPlayer = length((eyePosition - worldPosition).xyz) / f_shadowfar; + float perspectiveFactor = distanceToPlayer * bias0 + bias1; + float texelSize = 1.0 / f_textureresolution; + texelSize *= f_shadowfar * perspectiveFactor / (bias1 / perspectiveFactor - texelSize * bias0) * 0.15; + float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); normalOffsetScale = texelSize * slopeScale; if (f_timeofday < 0.2) { -- cgit v1.2.3 From 4801bdf45aaaa9238bc52a157e1d25c9d477d81a Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sun, 20 Feb 2022 00:04:48 +0100 Subject: Correct normal bias for entities Remove use of magic constants. Apply cameraOffset Calculate distance projected on SM plane --- client/shaders/object_shader/opengl_vertex.glsl | 10 +++++++--- src/client/shadows/dynamicshadows.cpp | 8 +++----- src/client/shadows/dynamicshadows.h | 3 ++- src/client/shadows/dynamicshadowsrender.cpp | 8 ++------ 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index 12078f532..185551c58 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -3,6 +3,7 @@ uniform vec3 dayLight; uniform vec3 eyePosition; uniform float animationTimer; uniform vec4 emissiveColor; +uniform vec3 cameraOffset; varying vec3 vNormal; @@ -110,10 +111,13 @@ void main(void) // Calculate normal offset scale based on the texel size adjusted for // curvature of the SM texture. This code must be change together with // getPerspectiveFactor or any light-space transformation. - float distanceToPlayer = length((eyePosition - worldPosition).xyz) / f_shadowfar; + vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; + // Distance from the vertex to the player + float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; + // perspective factor estimation according to the float perspectiveFactor = distanceToPlayer * bias0 + bias1; - float texelSize = 1.0 / f_textureresolution; - texelSize *= f_shadowfar * perspectiveFactor / (bias1 / perspectiveFactor - texelSize * bias0) * 0.15; + float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / + (f_textureresolution * bias1 - perspectiveFactor * bias0); float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); normalOffsetScale = texelSize * slopeScale; diff --git a/src/client/shadows/dynamicshadows.cpp b/src/client/shadows/dynamicshadows.cpp index 6ef5a4f1d..a45bf64fe 100644 --- a/src/client/shadows/dynamicshadows.cpp +++ b/src/client/shadows/dynamicshadows.cpp @@ -58,15 +58,13 @@ void DirectionalLight::createSplitMatrices(const Camera *cam) const v3f &viewUp = cam->getCameraNode()->getUpVector(); v3f viewRight = look.crossProduct(viewUp); - v3f farCorner = look + viewRight * tanFovX + viewUp * tanFovY; + v3f farCorner = (look + viewRight * tanFovX + viewUp * tanFovY).normalize(); // Compute the frustumBoundingSphere radius v3f boundVec = (camPos + farCorner * sfFar) - newCenter; - radius = boundVec.getLength() * 2.0f; + radius = boundVec.getLength(); // boundVec.getLength(); - float vvolume = radius * 2.0f; - + float vvolume = radius; v3f frustumCenter = newCenter; - // probar radius multipliacdor en funcion del I, a menor I mas multiplicador v3f eye_displacement = direction * vvolume; // we must compute the viewmat with the position - the camera offset diff --git a/src/client/shadows/dynamicshadows.h b/src/client/shadows/dynamicshadows.h index d8be66be8..03dd36014 100644 --- a/src/client/shadows/dynamicshadows.h +++ b/src/client/shadows/dynamicshadows.h @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes_bloated.h" #include #include "util/basic_macros.h" +#include "constants.h" class Camera; class Client; @@ -67,7 +68,7 @@ public: /// Gets the light's far value. f32 getMaxFarValue() const { - return farPlane; + return farPlane * BS; } diff --git a/src/client/shadows/dynamicshadowsrender.cpp b/src/client/shadows/dynamicshadowsrender.cpp index a913a9290..528415aaf 100644 --- a/src/client/shadows/dynamicshadowsrender.cpp +++ b/src/client/shadows/dynamicshadowsrender.cpp @@ -118,12 +118,8 @@ size_t ShadowRenderer::getDirectionalLightCount() const f32 ShadowRenderer::getMaxShadowFar() const { if (!m_light_list.empty()) { - float wanted_range = m_client->getEnv().getClientMap().getWantedRange(); - - float zMax = m_light_list[0].getMaxFarValue() > wanted_range - ? wanted_range - : m_light_list[0].getMaxFarValue(); - return zMax * MAP_BLOCKSIZE; + float zMax = m_light_list[0].getMaxFarValue(); + return zMax; } return 0.0f; } -- cgit v1.2.3 From b651bbf44639b9bdd1d5ef581acb57fd47cc6b7a Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sun, 20 Feb 2022 00:18:39 +0100 Subject: Reuse normal offset calculation for nodes --- client/shaders/nodes_shader/opengl_fragment.glsl | 3 +-- client/shaders/nodes_shader/opengl_vertex.glsl | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index c24619539..e5f5c703a 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -74,8 +74,7 @@ vec3 getLightSpacePosition() #if DRAW_TYPE == NDT_PLANTLIKE pLightSpace = m_ShadowViewProj * vec4(worldPosition, 1.0); #else - float offsetScale = (0.0057 * getLinearDepth() + normalOffsetScale); - pLightSpace = m_ShadowViewProj * vec4(worldPosition + offsetScale * normalize(vNormal), 1.0); + pLightSpace = m_ShadowViewProj * vec4(worldPosition + normalOffsetScale * normalize(vNormal), 1.0); #endif pLightSpace = getPerspectiveFactor(pLightSpace); return pLightSpace.xyz * 0.5 + 0.5; diff --git a/client/shaders/nodes_shader/opengl_vertex.glsl b/client/shaders/nodes_shader/opengl_vertex.glsl index d316930b2..95cd138a8 100644 --- a/client/shaders/nodes_shader/opengl_vertex.glsl +++ b/client/shaders/nodes_shader/opengl_vertex.glsl @@ -45,6 +45,8 @@ varying float nightRatio; const vec3 artificialLight = vec3(1.04, 1.04, 1.04); const float e = 2.718281828459; const float BS = 10.0; +const float bias0 = 0.9; +const float bias1 = 1.0 - bias0; #ifdef ENABLE_DYNAMIC_SHADOWS // custom smoothstep implementation because it's not defined in glsl1.2 @@ -195,10 +197,20 @@ void main(void) #ifdef ENABLE_DYNAMIC_SHADOWS vec3 nNormal = normalize(vNormal); cosLight = dot(nNormal, -v_LightDirection); - float texelSize = 767.0 / f_textureresolution; - float slopeScale = clamp(1.0 - abs(cosLight), 0.0, 1.0); - normalOffsetScale = texelSize * slopeScale; + // Calculate normal offset scale based on the texel size adjusted for + // curvature of the SM texture. This code must be change together with + // getPerspectiveFactor or any light-space transformation. + vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; + // Distance from the vertex to the player + float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; + // perspective factor estimation according to the + float perspectiveFactor = distanceToPlayer * bias0 + bias1; + float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / + (f_textureresolution * bias1 - perspectiveFactor * bias0); + float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); + normalOffsetScale = texelSize * slopeScale; + if (f_timeofday < 0.2) { adj_shadow_strength = f_shadow_strength * 0.5 * (1.0 - mtsmoothstep(0.18, 0.2, f_timeofday)); -- cgit v1.2.3 From 598efbf7f9d75307e7ea48ed7ec0e9b560e69375 Mon Sep 17 00:00:00 2001 From: Daroc Alden Date: Wed, 9 Mar 2022 13:28:12 -0500 Subject: Fix memory leak from SpatialAreaStore (#12120) --- src/util/areastore.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/areastore.cpp b/src/util/areastore.cpp index 67bfef0c0..bf751476f 100644 --- a/src/util/areastore.cpp +++ b/src/util/areastore.cpp @@ -308,6 +308,7 @@ void SpatialAreaStore::getAreasInArea(std::vector *result, SpatialAreaStore::~SpatialAreaStore() { delete m_tree; + delete m_storagemanager; } SpatialAreaStore::SpatialAreaStore() -- cgit v1.2.3 From 51294163bbe39ca8b4a4620af724c9402f374142 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 26 Feb 2022 15:07:00 +0100 Subject: Use Irrlicht bindings for GL call --- src/client/shader.cpp | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/src/client/shader.cpp b/src/client/shader.cpp index dc9e9ae6d..fa5ffb914 100644 --- a/src/client/shader.cpp +++ b/src/client/shader.cpp @@ -40,20 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "client/tile.h" #include "config.h" -#if ENABLE_GLES -#ifdef _IRR_COMPILE_WITH_OGLES1_ -#include -#else -#include -#endif -#else -#ifndef __APPLE__ -#include -#else -#define GL_SILENCE_DEPRECATION -#include -#endif -#endif +#include /* A cache from shader name to shader path @@ -667,13 +654,19 @@ ShaderInfo ShaderSource::generateShader(const std::string &name, )"; } + // Since this is the first time we're using the GL bindings be extra careful. + // This should be removed before 5.6.0 or similar. + if (!GL.GetString) { + errorstream << "OpenGL procedures were not loaded correctly, " + "please open a bug report with details about your platform/OS." << std::endl; + abort(); + } + bool use_discard = use_gles; -#ifdef __unix__ // For renderers that should use discard instead of GL_ALPHA_TEST - const char* gl_renderer = (const char*)glGetString(GL_RENDERER); - if (strstr(gl_renderer, "GC7000")) + const char *renderer = reinterpret_cast(GL.GetString(GL.RENDERER)); + if (strstr(renderer, "GC7000")) use_discard = true; -#endif if (use_discard) { if (shaderinfo.base_material == video::EMT_TRANSPARENT_ALPHA_CHANNEL) shaders_header << "#define USE_DISCARD 1\n"; -- cgit v1.2.3 From ad7c72c1648a710c2d091993c9249bd3d2b607a5 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 26 Feb 2022 15:16:38 +0100 Subject: Remove direct OpenGL(ES) dependency IrrlichtMt now provides this for us (see last commit) fixes #12041 --- README.md | 5 +-- cmake/Modules/FindOpenGLES2.cmake | 73 --------------------------------------- src/CMakeLists.txt | 31 ++--------------- 3 files changed, 3 insertions(+), 106 deletions(-) delete mode 100644 cmake/Modules/FindOpenGLES2.cmake diff --git a/README.md b/README.md index 19de0cc2b..8f089ab48 100644 --- a/README.md +++ b/README.md @@ -249,7 +249,7 @@ General options and their default values: ENABLE_CURL=ON - Build with cURL; Enables use of online mod repo, public serverlist and remote media fetching via http ENABLE_CURSES=ON - Build with (n)curses; Enables a server side terminal (command line option: --terminal) ENABLE_GETTEXT=ON - Build with Gettext; Allows using translations - ENABLE_GLES=OFF - Build for OpenGL ES instead of OpenGL (requires support by IrrlichtMt) + ENABLE_GLES=OFF - Enable extra support code for OpenGL ES (requires support by IrrlichtMt) ENABLE_LEVELDB=ON - Build with LevelDB; Enables use of LevelDB map backend ENABLE_POSTGRESQL=ON - Build with libpq; Enables use of PostgreSQL map backend (PostgreSQL 9.5 or greater recommended) ENABLE_REDIS=ON - Build with libhiredis; Enables use of Redis map backend @@ -259,7 +259,6 @@ General options and their default values: ENABLE_PROMETHEUS=OFF - Build with Prometheus metrics exporter (listens on tcp/30000 by default) ENABLE_SYSTEM_GMP=ON - Use GMP from system (much faster than bundled mini-gmp) ENABLE_SYSTEM_JSONCPP=ON - Use JsonCPP from system - OPENGL_GL_PREFERENCE=LEGACY - Linux client build only; See CMake Policy CMP0072 for reference RUN_IN_PLACE=FALSE - Create a portable install (worlds, settings etc. in current directory) USE_GPROF=FALSE - Enable profiling using GProf VERSION_EXTRA= - Text to append to version (e.g. VERSION_EXTRA=foobar -> Minetest 0.4.9-foobar) @@ -300,8 +299,6 @@ Library specific options: OPENAL_DLL - Only if building with sound on Windows; path to OpenAL32.dll OPENAL_INCLUDE_DIR - Only if building with sound; directory where al.h is located OPENAL_LIBRARY - Only if building with sound; path to libopenal.a/libopenal.so/OpenAL32.lib - OPENGLES2_INCLUDE_DIR - Only if building with GLES; directory that contains gl2.h - OPENGLES2_LIBRARY - Only if building with GLES; path to libGLESv2.a/libGLESv2.so SQLITE3_INCLUDE_DIR - Directory that contains sqlite3.h SQLITE3_LIBRARY - Path to libsqlite3.a/libsqlite3.so/sqlite3.lib VORBISFILE_LIBRARY - Only if building with sound; path to libvorbisfile.a/libvorbisfile.so/libvorbisfile.dll.a diff --git a/cmake/Modules/FindOpenGLES2.cmake b/cmake/Modules/FindOpenGLES2.cmake deleted file mode 100644 index ce04191dd..000000000 --- a/cmake/Modules/FindOpenGLES2.cmake +++ /dev/null @@ -1,73 +0,0 @@ -#------------------------------------------------------------------- -# The contents of this file are placed in the public domain. Feel -# free to make use of it in any way you like. -#------------------------------------------------------------------- - -# - Try to find OpenGLES and EGL -# Once done this will define -# -# OPENGLES2_FOUND - system has OpenGLES -# OPENGLES2_INCLUDE_DIR - the GL include directory -# OPENGLES2_LIBRARIES - Link these to use OpenGLES -# -# EGL_FOUND - system has EGL -# EGL_INCLUDE_DIR - the EGL include directory -# EGL_LIBRARIES - Link these to use EGL - -# Win32 and Apple are not tested! -# Linux tested and works - -if(WIN32) - find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h) - find_library(OPENGLES2_LIBRARY libGLESv2) -elseif(APPLE) - create_search_paths(/Developer/Platforms) - findpkg_framework(OpenGLES2) - set(OPENGLES2_LIBRARY "-framework OpenGLES") -else() - # Unix - find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h - PATHS /usr/openwin/share/include - /opt/graphics/OpenGL/include - /usr/X11R6/include - /usr/include - ) - - find_library(OPENGLES2_LIBRARY - NAMES GLESv2 - PATHS /opt/graphics/OpenGL/lib - /usr/openwin/lib - /usr/X11R6/lib - /usr/lib - ) - - include(FindPackageHandleStandardArgs) - find_package_handle_standard_args(OpenGLES2 DEFAULT_MSG OPENGLES2_LIBRARY OPENGLES2_INCLUDE_DIR) - - find_path(EGL_INCLUDE_DIR EGL/egl.h - PATHS /usr/openwin/share/include - /opt/graphics/OpenGL/include - /usr/X11R6/include - /usr/include - ) - - find_library(EGL_LIBRARY - NAMES EGL - PATHS /opt/graphics/OpenGL/lib - /usr/openwin/lib - /usr/X11R6/lib - /usr/lib - ) - - find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR) -endif() - -set(OPENGLES2_LIBRARIES ${OPENGLES2_LIBRARY}) -set(EGL_LIBRARIES ${EGL_LIBRARY}) - -mark_as_advanced( - OPENGLES2_INCLUDE_DIR - OPENGLES2_LIBRARY - EGL_INCLUDE_DIR - EGL_LIBRARY -) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 57baf20bd..1d6177ba3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -98,8 +98,8 @@ if(BUILD_CLIENT AND ENABLE_SOUND) endif() endif() - -option(ENABLE_GLES "Use OpenGL ES instead of OpenGL" FALSE) +# TODO: this should be removed one day, we can enable it unconditionally +option(ENABLE_GLES "Enable extra support code for OpenGL ES" FALSE) mark_as_advanced(ENABLE_GLES) option(ENABLE_TOUCH "Enable Touchscreen support" FALSE) @@ -107,21 +107,6 @@ if(ENABLE_TOUCH) add_definitions(-DHAVE_TOUCHSCREENGUI) endif() -if(BUILD_CLIENT) - # transitive dependency from Irrlicht (see longer explanation below) - if(NOT WIN32) - if(ENABLE_GLES) - find_package(OpenGLES2 REQUIRED) - else() - set(OPENGL_GL_PREFERENCE "LEGACY" CACHE STRING - "See CMake Policy CMP0072 for reference. GLVND is broken on some nvidia setups") - set(OpenGL_GL_PREFERENCE ${OPENGL_GL_PREFERENCE}) - - find_package(OpenGL REQUIRED) - endif() - endif() -endif() - if(BUILD_CLIENT) find_package(Freetype REQUIRED) endif() @@ -544,18 +529,6 @@ if(BUILD_CLIENT) ) endif() - if(ENABLE_GLES) - target_link_libraries( - ${PROJECT_NAME} - ${OPENGLES2_LIBRARIES} - ${EGL_LIBRARIES} - ) - else() - target_link_libraries( - ${PROJECT_NAME} - ${OPENGL_LIBRARIES} - ) - endif() if(USE_GETTEXT) target_link_libraries( ${PROJECT_NAME} -- cgit v1.2.3 From 11f3f72f1cfe8111574ee865829c380cd7fc7c30 Mon Sep 17 00:00:00 2001 From: Daroc Alden Date: Fri, 11 Mar 2022 15:22:49 -0500 Subject: Fix undefined behavior in TileLayer (#12125) Initialize the values properly --- src/client/tile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/tile.h b/src/client/tile.h index fcdc46460..fe96cef58 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -195,6 +195,7 @@ struct TileLayer texture_id == other.texture_id && material_type == other.material_type && material_flags == other.material_flags && + has_color == other.has_color && color == other.color && scale == other.scale; } @@ -288,9 +289,9 @@ struct TileLayer * The color of the tile, or if the tile does not own * a color then the color of the node owning this tile. */ - video::SColor color; + video::SColor color = video::SColor(0, 0, 0, 0); - u8 scale; + u8 scale = 1; }; /*! -- cgit v1.2.3 From 289c3ff37723402bab71e2849abe060403ef8f41 Mon Sep 17 00:00:00 2001 From: Gregor Parzefall <82708541+grorp@users.noreply.github.com> Date: Mon, 14 Mar 2022 21:01:18 +0100 Subject: Fix footsteps for players whose collision box min y != 0 (#12110) --- src/client/localplayer.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index 4f1ea7bda..279efafe9 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -672,19 +672,21 @@ v3s16 LocalPlayer::getStandingNodePos() v3s16 LocalPlayer::getFootstepNodePos() { + v3f feet_pos = getPosition() + v3f(0.0f, m_collisionbox.MinEdge.Y, 0.0f); + // Emit swimming sound if the player is in liquid if (in_liquid_stable) - return floatToInt(getPosition(), BS); + return floatToInt(feet_pos, BS); // BS * 0.05 below the player's feet ensures a 1/16th height // nodebox is detected instead of the node below it. if (touching_ground) - return floatToInt(getPosition() - v3f(0.0f, BS * 0.05f, 0.0f), BS); + return floatToInt(feet_pos - v3f(0.0f, BS * 0.05f, 0.0f), BS); // A larger distance below is necessary for a footstep sound // when landing after a jump or fall. BS * 0.5 ensures water // sounds when swimming in 1 node deep water. - return floatToInt(getPosition() - v3f(0.0f, BS * 0.5f, 0.0f), BS); + return floatToInt(feet_pos - v3f(0.0f, BS * 0.5f, 0.0f), BS); } v3s16 LocalPlayer::getLightPosition() const -- cgit v1.2.3 From e54f5e544f27860ba2fa6bfea1a4e1fa3f5d4941 Mon Sep 17 00:00:00 2001 From: Daroc Alden Date: Mon, 14 Mar 2022 16:01:36 -0400 Subject: Fix memory leak in EmergeManager EmergeManager keeps a copy of the BiomeGen that it creates, but never deletes it. --- src/emerge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emerge.cpp b/src/emerge.cpp index 55ae99caf..3760b24e6 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -202,6 +202,7 @@ EmergeManager::~EmergeManager() delete m_mapgens[i]; } + delete biomegen; delete biomemgr; delete oremgr; delete decomgr; -- cgit v1.2.3 From 8d55702d139db739f8bf43eaa600f41446b29a16 Mon Sep 17 00:00:00 2001 From: DS Date: Sat, 19 Mar 2022 12:06:55 +0100 Subject: Improve lua vector helper class doumentation (#12090) --- doc/lua_api.txt | 104 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 81 insertions(+), 23 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 89bc7dc4b..52da17e9c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1544,15 +1544,12 @@ Displays a minimap on the HUD. Representations of simple things ================================ -Position/vector ---------------- - - {x=num, y=num, z=num} +Vector (ie. a position) +----------------------- - Note: it is highly recommended to construct a vector using the helper function: - vector.new(num, num, num) + vector.new(x, y, z) -For helper functions see [Spatial Vectors]. +See [Spatial Vectors] for details. `pointed_thing` --------------- @@ -1573,8 +1570,7 @@ Exact pointing location (currently only `Raycast` supports these fields): from 1). * `pointed_thing.intersection_normal`: Unit vector, points outwards of the selected selection box. This specifies which face is pointed at. - Is a null vector `{x = 0, y = 0, z = 0}` when the pointer is inside the - selection box. + Is a null vector `vector.zero()` when the pointer is inside the selection box. @@ -3303,33 +3299,76 @@ The following functions provide escape sequences: Spatial Vectors =============== -A spatial vector is similar to a position, but instead using -absolute world coordinates, it uses *relative* coordinates, relative to -no particular point. - -Internally, it is implemented as a table with the 3 fields -`x`, `y` and `z`. Example: `{x = 0, y = 1, z = 0}`. -However, one should *never* create a vector manually as above, such misbehavior -is deprecated. The vector helpers set a metatable for the created vectors which -allows indexing with numbers, calling functions directly on vectors and using -operators (like `+`). Furthermore, the internal implementation might change in + +Minetest stores 3-dimensional spatial vectors in Lua as tables of 3 coordinates, +and has a class to represent them (`vector.*`), which this chapter is about. +For details on what a spatial vectors is, please refer to Wikipedia: +https://en.wikipedia.org/wiki/Euclidean_vector. + +Spatial vectors are used for various things, including, but not limited to: + +* any 3D spatial vector (x/y/z-directions) +* Euler angles (pitch/yaw/roll in radians) (Spatial vectors have no real semantic + meaning here. Therefore, most vector operations make no sense in this use case.) + +Note that they are *not* used for: + +* n-dimensional vectors where n is not 3 (ie. n=2) +* arrays of the form `{num, num, num}` + +The API documentation may refer to spatial vectors, as produced by `vector.new`, +by any of the following notations: + +* `(x, y, z)` (Used rarely, and only if it's clear that it's a vector.) +* `vector.new(x, y, z)` +* `{x=num, y=num, z=num}` (Even here you are still supposed to use `vector.new`.) + +Compatibility notes +------------------- + +Vectors used to be defined as tables of the form `{x = num, y = num, z = num}`. +Since Minetest 5.5.0, vectors additionally have a metatable to enable easier use. +Note: Those old-style vectors can still be found in old mod code. Hence, mod and +engine APIs still need to be able to cope with them in many places. + +Manually constructed tables are deprecated and highly discouraged. This interface +should be used to ensure seamless compatibility between mods and the Minetest API. +This is especially important to callback function parameters and functions overwritten +by mods. +Also, though not likely, the internal implementation of a vector might change in the future. -Old code might still use vectors without metatables, be aware of this! +In your own code, or if you define your own API, you can, of course, still use +other representations of vectors. + +Vectors provided by API functions will provide an instance of this class if not +stated otherwise. Mods should adapt this for convenience reasons. + +Special properties of the class +------------------------------- + +Vectors can be indexed with numbers and allow method and operator syntax. All these forms of addressing a vector `v` are valid: `v[1]`, `v[3]`, `v.x`, `v[1] = 42`, `v.y = 13` +Note: Prefer letter over number indexing for performance and compatibility reasons. Where `v` is a vector and `foo` stands for any function name, `v:foo(...)` does the same as `vector.foo(v, ...)`, apart from deprecated functionality. +`tostring` is defined for vectors, see `vector.to_string`. + The metatable that is used for vectors can be accessed via `vector.metatable`. Do not modify it! All `vector.*` functions allow vectors `{x = X, y = Y, z = Z}` without metatables. Returned vectors always have a metatable set. -For the following functions, `v`, `v1`, `v2` are vectors, -`p1`, `p2` are positions, +Common functions and methods +---------------------------- + +For the following functions (and subchapters), +`v`, `v1`, `v2` are vectors, +`p1`, `p2` are position vectors, `s` is a scalar (a number), vectors are written like this: `(x, y, z)`: @@ -3351,6 +3390,7 @@ vectors are written like this: `(x, y, z)`: * `init`: If given starts looking for the vector at this string index. * `vector.to_string(v)`: * Returns a string of the form `"(x, y, z)"`. + * `tostring(v)` does the same. * `vector.direction(p1, p2)`: * Returns a vector of length 1 with direction `p1` to `p2`. * If `p1` and `p2` are identical, returns `(0, 0, 0)`. @@ -3403,6 +3443,9 @@ For the following functions `x` can be either a vector or a number: * Returns a scaled vector. * Deprecated: If `s` is a vector: Returns the Schur quotient. +Operators +--------- + Operators can be used if all of the involved vectors have metatables: * `v1 == v2`: * Returns whether `v1` and `v2` are identical. @@ -3419,8 +3462,11 @@ Operators can be used if all of the involved vectors have metatables: * `v / s`: * Returns `v` scaled by `1 / s`. +Rotation-related functions +-------------------------- + For the following functions `a` is an angle in radians and `r` is a rotation -vector ({x = , y = , z = }) where pitch, yaw and roll are +vector (`{x = , y = , z = }`) where pitch, yaw and roll are angles in radians. * `vector.rotate(v, r)`: @@ -3437,6 +3483,18 @@ angles in radians. * If `up` is omitted, the roll of the returned vector defaults to zero. * Otherwise `direction` and `up` need to be vectors in a 90 degree angle to each other. +Further helpers +--------------- + +There are more helper functions involving vectors, but they are listed elsewhere +because they only work on specific sorts of vectors or involve things that are not +vectors. + +For example: + +* `minetest.hash_node_position` (Only works on node positions.) +* `minetest.dir_to_wallmounted` (Involves wallmounted param2 values.) + -- cgit v1.2.3 From 0f25fa7af655b98fa401176a523f269c843d1943 Mon Sep 17 00:00:00 2001 From: x2048 Date: Sat, 26 Mar 2022 16:58:26 +0100 Subject: Add API to control shadow intensity from the game/mod (#11944) * Also Disable shadows when sun/moon is hidden. Fixes #11972. --- builtin/settingtypes.txt | 5 +- client/shaders/nodes_shader/opengl_fragment.glsl | 85 ++++++++++---------- client/shaders/nodes_shader/opengl_vertex.glsl | 57 +++++++------- client/shaders/object_shader/opengl_fragment.glsl | 84 ++++++++++---------- client/shaders/object_shader/opengl_vertex.glsl | 56 ++++++------- doc/lua_api.txt | 7 ++ games/devtest/mods/experimental/init.lua | 1 + games/devtest/mods/experimental/lighting.lua | 8 ++ src/client/client.h | 1 + src/client/game.cpp | 7 +- src/client/localplayer.h | 4 + src/client/shadows/dynamicshadowsrender.cpp | 95 ++++++++++++++++------- src/client/shadows/dynamicshadowsrender.h | 10 ++- src/client/sky.h | 2 + src/defaultsettings.cpp | 2 +- src/lighting.h | 27 +++++++ src/network/clientopcodes.cpp | 1 + src/network/clientpackethandler.cpp | 8 ++ src/network/networkprotocol.h | 7 +- src/remoteplayer.h | 7 ++ src/script/lua_api/l_object.cpp | 43 ++++++++++ src/script/lua_api/l_object.h | 6 ++ src/server.cpp | 17 ++++ src/server.h | 4 + 24 files changed, 375 insertions(+), 169 deletions(-) create mode 100644 games/devtest/mods/experimental/lighting.lua create mode 100644 src/lighting.h diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index ff2d72927..3dc165bd1 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -592,9 +592,10 @@ enable_waving_plants (Waving plants) bool false # Requires shaders to be enabled. enable_dynamic_shadows (Dynamic shadows) bool false -# Set the shadow strength. +# Set the shadow strength gamma. +# Adjusts the intensity of in-game dynamic shadows. # Lower value means lighter shadows, higher value means darker shadows. -shadow_strength (Shadow strength) float 0.2 0.05 1.0 +shadow_strength_gamma (Shadow strength gamma) float 1.0 0.1 10.0 # Maximum distance to render shadows. shadow_map_max_distance (Shadow map max distance in nodes to render shadows) float 120.0 10.0 1000.0 diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index e5f5c703a..adc8adccb 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -16,6 +16,7 @@ uniform float animationTimer; uniform float f_textureresolution; uniform mat4 m_ShadowViewProj; uniform float f_shadowfar; + uniform float f_shadow_strength; varying float normalOffsetScale; varying float adj_shadow_strength; varying float cosLight; @@ -483,55 +484,57 @@ void main(void) vec4 col = vec4(color.rgb * varColor.rgb, 1.0); #ifdef ENABLE_DYNAMIC_SHADOWS - float shadow_int = 0.0; - vec3 shadow_color = vec3(0.0, 0.0, 0.0); - vec3 posLightSpace = getLightSpacePosition(); + if (f_shadow_strength > 0.0) { + float shadow_int = 0.0; + vec3 shadow_color = vec3(0.0, 0.0, 0.0); + vec3 posLightSpace = getLightSpacePosition(); - float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); - float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); + float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); + float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); - if (distance_rate > 1e-7) { - + if (distance_rate > 1e-7) { + #ifdef COLORED_SHADOWS - vec4 visibility; - if (cosLight > 0.0) - visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); - else - visibility = vec4(1.0, 0.0, 0.0, 0.0); - shadow_int = visibility.r; - shadow_color = visibility.gba; + vec4 visibility; + if (cosLight > 0.0) + visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + visibility = vec4(1.0, 0.0, 0.0, 0.0); + shadow_int = visibility.r; + shadow_color = visibility.gba; #else - if (cosLight > 0.0) - shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); - else - shadow_int = 1.0; + if (cosLight > 0.0) + shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + shadow_int = 1.0; #endif - shadow_int *= distance_rate; - shadow_int = clamp(shadow_int, 0.0, 1.0); + shadow_int *= distance_rate; + shadow_int = clamp(shadow_int, 0.0, 1.0); - } + } - // turns out that nightRatio falls off much faster than - // actual brightness of artificial light in relation to natual light. - // Power ratio was measured on torches in MTG (brightness = 14). - float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); - - // Apply self-shadowing when light falls at a narrow angle to the surface - // Cosine of the cut-off angle. - const float self_shadow_cutoff_cosine = 0.035; - if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { - shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); - shadow_color = mix(vec3(0.0), shadow_color, min(cosLight, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); - } + // turns out that nightRatio falls off much faster than + // actual brightness of artificial light in relation to natual light. + // Power ratio was measured on torches in MTG (brightness = 14). + float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); + + // Apply self-shadowing when light falls at a narrow angle to the surface + // Cosine of the cut-off angle. + const float self_shadow_cutoff_cosine = 0.035; + if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { + shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); + shadow_color = mix(vec3(0.0), shadow_color, min(cosLight, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); + } - shadow_int *= f_adj_shadow_strength; - - // calculate fragment color from components: - col.rgb = - adjusted_night_ratio * col.rgb + // artificial light - (1.0 - adjusted_night_ratio) * ( // natural light - col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color - dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight + shadow_int *= f_adj_shadow_strength; + + // calculate fragment color from components: + col.rgb = + adjusted_night_ratio * col.rgb + // artificial light + (1.0 - adjusted_night_ratio) * ( // natural light + col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color + dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight + } #endif #if ENABLE_TONE_MAPPING diff --git a/client/shaders/nodes_shader/opengl_vertex.glsl b/client/shaders/nodes_shader/opengl_vertex.glsl index 95cd138a8..5e77ac719 100644 --- a/client/shaders/nodes_shader/opengl_vertex.glsl +++ b/client/shaders/nodes_shader/opengl_vertex.glsl @@ -195,34 +195,35 @@ void main(void) varColor = clamp(color, 0.0, 1.0); #ifdef ENABLE_DYNAMIC_SHADOWS - vec3 nNormal = normalize(vNormal); - cosLight = dot(nNormal, -v_LightDirection); - - // Calculate normal offset scale based on the texel size adjusted for - // curvature of the SM texture. This code must be change together with - // getPerspectiveFactor or any light-space transformation. - vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; - // Distance from the vertex to the player - float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; - // perspective factor estimation according to the - float perspectiveFactor = distanceToPlayer * bias0 + bias1; - float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / - (f_textureresolution * bias1 - perspectiveFactor * bias0); - float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); - normalOffsetScale = texelSize * slopeScale; - - if (f_timeofday < 0.2) { - adj_shadow_strength = f_shadow_strength * 0.5 * - (1.0 - mtsmoothstep(0.18, 0.2, f_timeofday)); - } else if (f_timeofday >= 0.8) { - adj_shadow_strength = f_shadow_strength * 0.5 * - mtsmoothstep(0.8, 0.83, f_timeofday); - } else { - adj_shadow_strength = f_shadow_strength * - mtsmoothstep(0.20, 0.25, f_timeofday) * - (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); + if (f_shadow_strength > 0.0) { + vec3 nNormal = normalize(vNormal); + cosLight = dot(nNormal, -v_LightDirection); + + // Calculate normal offset scale based on the texel size adjusted for + // curvature of the SM texture. This code must be change together with + // getPerspectiveFactor or any light-space transformation. + vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; + // Distance from the vertex to the player + float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; + // perspective factor estimation according to the + float perspectiveFactor = distanceToPlayer * bias0 + bias1; + float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / + (f_textureresolution * bias1 - perspectiveFactor * bias0); + float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); + normalOffsetScale = texelSize * slopeScale; + + if (f_timeofday < 0.2) { + adj_shadow_strength = f_shadow_strength * 0.5 * + (1.0 - mtsmoothstep(0.18, 0.2, f_timeofday)); + } else if (f_timeofday >= 0.8) { + adj_shadow_strength = f_shadow_strength * 0.5 * + mtsmoothstep(0.8, 0.83, f_timeofday); + } else { + adj_shadow_strength = f_shadow_strength * + mtsmoothstep(0.20, 0.25, f_timeofday) * + (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); + } + f_normal_length = length(vNormal); } - f_normal_length = length(vNormal); #endif - } diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index fdfcec0c8..edb9d2bb1 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -34,6 +34,8 @@ const float fogShadingParameter = 1.0 / (1.0 - fogStart); uniform float f_textureresolution; uniform mat4 m_ShadowViewProj; uniform float f_shadowfar; + uniform float f_timeofday; + uniform float f_shadow_strength; varying float normalOffsetScale; varying float adj_shadow_strength; varying float cosLight; @@ -470,55 +472,57 @@ void main(void) col.rgb *= vIDiff; #ifdef ENABLE_DYNAMIC_SHADOWS - float shadow_int = 0.0; - vec3 shadow_color = vec3(0.0, 0.0, 0.0); - vec3 posLightSpace = getLightSpacePosition(); + if (f_shadow_strength > 0.0) { + float shadow_int = 0.0; + vec3 shadow_color = vec3(0.0, 0.0, 0.0); + vec3 posLightSpace = getLightSpacePosition(); - float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); - float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); + float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); + float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); - if (distance_rate > 1e-7) { + if (distance_rate > 1e-7) { #ifdef COLORED_SHADOWS - vec4 visibility; - if (cosLight > 0.0) - visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); - else - visibility = vec4(1.0, 0.0, 0.0, 0.0); - shadow_int = visibility.r; - shadow_color = visibility.gba; + vec4 visibility; + if (cosLight > 0.0) + visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + visibility = vec4(1.0, 0.0, 0.0, 0.0); + shadow_int = visibility.r; + shadow_color = visibility.gba; #else - if (cosLight > 0.0) - shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); - else - shadow_int = 1.0; + if (cosLight > 0.0) + shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); + else + shadow_int = 1.0; #endif - shadow_int *= distance_rate; - shadow_int = clamp(shadow_int, 0.0, 1.0); + shadow_int *= distance_rate; + shadow_int = clamp(shadow_int, 0.0, 1.0); - } + } - // turns out that nightRatio falls off much faster than - // actual brightness of artificial light in relation to natual light. - // Power ratio was measured on torches in MTG (brightness = 14). - float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); - - // cosine of the normal-to-light angle when - // we start to apply self-shadowing - const float self_shadow_cutoff_cosine = 0.14; - if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { - shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); - shadow_color = mix(vec3(0.0), shadow_color, min(cosLight, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); - } + // turns out that nightRatio falls off much faster than + // actual brightness of artificial light in relation to natual light. + // Power ratio was measured on torches in MTG (brightness = 14). + float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); + + // cosine of the normal-to-light angle when + // we start to apply self-shadowing + const float self_shadow_cutoff_cosine = 0.14; + if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { + shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); + shadow_color = mix(vec3(0.0), shadow_color, min(cosLight, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); + } - shadow_int *= f_adj_shadow_strength; - - // calculate fragment color from components: - col.rgb = - adjusted_night_ratio * col.rgb + // artificial light - (1.0 - adjusted_night_ratio) * ( // natural light - col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color - dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight + shadow_int *= f_adj_shadow_strength; + + // calculate fragment color from components: + col.rgb = + adjusted_night_ratio * col.rgb + // artificial light + (1.0 - adjusted_night_ratio) * ( // natural light + col.rgb * (1.0 - shadow_int * (1.0 - shadow_color)) + // filtered texture color + dayLight * shadow_color * shadow_int); // reflected filtered sunlight/moonlight + } #endif #if ENABLE_TONE_MAPPING diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index 185551c58..ff0067302 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -105,33 +105,35 @@ void main(void) #ifdef ENABLE_DYNAMIC_SHADOWS - vec3 nNormal = normalize(vNormal); - cosLight = dot(nNormal, -v_LightDirection); - - // Calculate normal offset scale based on the texel size adjusted for - // curvature of the SM texture. This code must be change together with - // getPerspectiveFactor or any light-space transformation. - vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; - // Distance from the vertex to the player - float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; - // perspective factor estimation according to the - float perspectiveFactor = distanceToPlayer * bias0 + bias1; - float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / - (f_textureresolution * bias1 - perspectiveFactor * bias0); - float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); - normalOffsetScale = texelSize * slopeScale; - - if (f_timeofday < 0.2) { - adj_shadow_strength = f_shadow_strength * 0.5 * - (1.0 - mtsmoothstep(0.18, 0.2, f_timeofday)); - } else if (f_timeofday >= 0.8) { - adj_shadow_strength = f_shadow_strength * 0.5 * - mtsmoothstep(0.8, 0.83, f_timeofday); - } else { - adj_shadow_strength = f_shadow_strength * - mtsmoothstep(0.20, 0.25, f_timeofday) * - (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); + if (f_shadow_strength > 0.0) { + vec3 nNormal = normalize(vNormal); + cosLight = dot(nNormal, -v_LightDirection); + + // Calculate normal offset scale based on the texel size adjusted for + // curvature of the SM texture. This code must be change together with + // getPerspectiveFactor or any light-space transformation. + vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; + // Distance from the vertex to the player + float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; + // perspective factor estimation according to the + float perspectiveFactor = distanceToPlayer * bias0 + bias1; + float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / + (f_textureresolution * bias1 - perspectiveFactor * bias0); + float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); + normalOffsetScale = texelSize * slopeScale; + + if (f_timeofday < 0.2) { + adj_shadow_strength = f_shadow_strength * 0.5 * + (1.0 - mtsmoothstep(0.18, 0.2, f_timeofday)); + } else if (f_timeofday >= 0.8) { + adj_shadow_strength = f_shadow_strength * 0.5 * + mtsmoothstep(0.8, 0.83, f_timeofday); + } else { + adj_shadow_strength = f_shadow_strength * + mtsmoothstep(0.20, 0.25, f_timeofday) * + (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); + } + f_normal_length = length(vNormal); } - f_normal_length = length(vNormal); #endif } diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 52da17e9c..029c53616 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7019,6 +7019,13 @@ object you are working with still exists. * Returns `false` if failed. * Resource intensive - use sparsely * To get blockpos, integer divide pos by 16 +* `set_lighting(light_definition)`: sets lighting for the player + * `light_definition` is a table with the following optional fields: + * `shadows` is a table that controls ambient shadows + * `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness) + * Returns true on success. +* `get_lighting()`: returns the current state of lighting for the player. + * Result is a table with the same fields as `light_definition` in `set_lighting`. `PcgRandom` ----------- diff --git a/games/devtest/mods/experimental/init.lua b/games/devtest/mods/experimental/init.lua index b292f792e..70091179c 100644 --- a/games/devtest/mods/experimental/init.lua +++ b/games/devtest/mods/experimental/init.lua @@ -7,6 +7,7 @@ experimental = {} dofile(minetest.get_modpath("experimental").."/detached.lua") dofile(minetest.get_modpath("experimental").."/items.lua") dofile(minetest.get_modpath("experimental").."/commands.lua") +dofile(minetest.get_modpath("experimental").."/lighting.lua") function experimental.print_to_everything(msg) minetest.log("action", msg) diff --git a/games/devtest/mods/experimental/lighting.lua b/games/devtest/mods/experimental/lighting.lua new file mode 100644 index 000000000..2b350550f --- /dev/null +++ b/games/devtest/mods/experimental/lighting.lua @@ -0,0 +1,8 @@ +core.register_chatcommand("set_lighting", { + params = "shadow_intensity", + description = "Set lighting parameters.", + func = function(player_name, param) + local shadow_intensity = tonumber(param) + minetest.get_player_by_name(player_name):set_lighting({shadows = { intensity = shadow_intensity} }) + end +}) \ No newline at end of file diff --git a/src/client/client.h b/src/client/client.h index 84c85471d..0e29fdbe2 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -227,6 +227,7 @@ public: void handleCommand_PlayerSpeed(NetworkPacket *pkt); void handleCommand_MediaPush(NetworkPacket *pkt); void handleCommand_MinimapModes(NetworkPacket *pkt); + void handleCommand_SetLighting(NetworkPacket *pkt); void ProcessData(NetworkPacket *pkt); diff --git a/src/client/game.cpp b/src/client/game.cpp index 7450fb91c..edc69dcc2 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -4037,7 +4037,12 @@ void Game::updateShadows() float in_timeofday = fmod(runData.time_of_day_smooth, 1.0f); - float timeoftheday = fmod(getWickedTimeOfDay(in_timeofday) + 0.75f, 0.5f) + 0.25f; + float timeoftheday = getWickedTimeOfDay(in_timeofday); + bool is_day = timeoftheday > 0.25 && timeoftheday < 0.75; + bool is_shadow_visible = is_day ? sky->getSunVisible() : sky->getMoonVisible(); + shadow->setShadowIntensity(is_shadow_visible ? client->getEnv().getLocalPlayer()->getLighting().shadow_intensity : 0.0f); + + timeoftheday = fmod(timeoftheday + 0.75f, 0.5f) + 0.25f; const float offset_constant = 10000.0f; v3f light(0.0f, 0.0f, -1.0f); diff --git a/src/client/localplayer.h b/src/client/localplayer.h index 577be2803..3d0072fc1 100644 --- a/src/client/localplayer.h +++ b/src/client/localplayer.h @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "environment.h" #include "constants.h" #include "settings.h" +#include "lighting.h" #include class Client; @@ -158,6 +159,8 @@ public: added_velocity += vel; } + inline Lighting& getLighting() { return m_lighting; } + private: void accelerate(const v3f &target_speed, const f32 max_increase_H, const f32 max_increase_V, const bool use_pitch); @@ -209,4 +212,5 @@ private: GenericCAO *m_cao = nullptr; Client *m_client; + Lighting m_lighting; }; diff --git a/src/client/shadows/dynamicshadowsrender.cpp b/src/client/shadows/dynamicshadowsrender.cpp index 528415aaf..24adb21e2 100644 --- a/src/client/shadows/dynamicshadowsrender.cpp +++ b/src/client/shadows/dynamicshadowsrender.cpp @@ -18,6 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include +#include #include "client/shadows/dynamicshadowsrender.h" #include "client/shadows/shadowsScreenQuad.h" #include "client/shadows/shadowsshadercallbacks.h" @@ -33,9 +34,13 @@ ShadowRenderer::ShadowRenderer(IrrlichtDevice *device, Client *client) : m_device(device), m_smgr(device->getSceneManager()), m_driver(device->getVideoDriver()), m_client(client), m_current_frame(0) { + m_shadows_supported = true; // assume shadows supported. We will check actual support in initialize m_shadows_enabled = true; - m_shadow_strength = g_settings->getFloat("shadow_strength"); + m_shadow_strength_gamma = g_settings->getFloat("shadow_strength_gamma"); + if (std::isnan(m_shadow_strength_gamma)) + m_shadow_strength_gamma = 1.0f; + m_shadow_strength_gamma = core::clamp(m_shadow_strength_gamma, 0.1f, 10.0f); m_shadow_map_max_distance = g_settings->getFloat("shadow_map_max_distance"); @@ -49,6 +54,9 @@ ShadowRenderer::ShadowRenderer(IrrlichtDevice *device, Client *client) : ShadowRenderer::~ShadowRenderer() { + // call to disable releases dynamically allocated resources + disable(); + if (m_shadow_depth_cb) delete m_shadow_depth_cb; if (m_shadow_mix_cb) @@ -72,15 +80,25 @@ ShadowRenderer::~ShadowRenderer() m_driver->removeTexture(shadowMapClientMapFuture); } +void ShadowRenderer::disable() +{ + m_shadows_enabled = false; + if (shadowMapTextureFinal) { + m_driver->setRenderTarget(shadowMapTextureFinal, true, true, + video::SColor(255, 255, 255, 255)); + m_driver->setRenderTarget(0, true, true); + } +} + void ShadowRenderer::initialize() { auto *gpu = m_driver->getGPUProgrammingServices(); // we need glsl - if (m_shadows_enabled && gpu && m_driver->queryFeature(video::EVDF_ARB_GLSL)) { + if (m_shadows_supported && gpu && m_driver->queryFeature(video::EVDF_ARB_GLSL)) { createShaders(); } else { - m_shadows_enabled = false; + m_shadows_supported = false; warningstream << "Shadows: GLSL Shader not supported on this system." << std::endl; @@ -94,6 +112,8 @@ void ShadowRenderer::initialize() m_texture_format_color = m_shadow_map_texture_32bit ? video::ECOLOR_FORMAT::ECF_G32R32F : video::ECOLOR_FORMAT::ECF_G16R16F; + + m_shadows_enabled &= m_shadows_supported; } @@ -124,6 +144,16 @@ f32 ShadowRenderer::getMaxShadowFar() const return 0.0f; } +void ShadowRenderer::setShadowIntensity(float shadow_intensity) +{ + m_shadow_strength = pow(shadow_intensity, 1.0f / m_shadow_strength_gamma); + if (m_shadow_strength > 1E-2) + enable(); + else + disable(); +} + + void ShadowRenderer::addNodeToShadowList( scene::ISceneNode *node, E_SHADOW_MODE shadowMode) { @@ -153,6 +183,7 @@ void ShadowRenderer::updateSMTextures() shadowMapTextureDynamicObjects = getSMTexture( std::string("shadow_dynamic_") + itos(m_shadow_map_texture_size), m_texture_format, true); + assert(shadowMapTextureDynamicObjects != nullptr); } if (!shadowMapClientMap) { @@ -161,6 +192,7 @@ void ShadowRenderer::updateSMTextures() std::string("shadow_clientmap_") + itos(m_shadow_map_texture_size), m_shadow_map_colored ? m_texture_format_color : m_texture_format, true); + assert(shadowMapClientMap != nullptr); } if (!shadowMapClientMapFuture && m_map_shadow_update_frames > 1) { @@ -168,6 +200,7 @@ void ShadowRenderer::updateSMTextures() std::string("shadow_clientmap_bb_") + itos(m_shadow_map_texture_size), m_shadow_map_colored ? m_texture_format_color : m_texture_format, true); + assert(shadowMapClientMapFuture != nullptr); } if (m_shadow_map_colored && !shadowMapTextureColors) { @@ -175,6 +208,7 @@ void ShadowRenderer::updateSMTextures() std::string("shadow_colored_") + itos(m_shadow_map_texture_size), m_shadow_map_colored ? m_texture_format_color : m_texture_format, true); + assert(shadowMapTextureColors != nullptr); } // The merge all shadowmaps texture @@ -194,6 +228,7 @@ void ShadowRenderer::updateSMTextures() shadowMapTextureFinal = getSMTexture( std::string("shadowmap_final_") + itos(m_shadow_map_texture_size), frt, true); + assert(shadowMapTextureFinal != nullptr); } if (!m_shadow_node_array.empty() && !m_light_list.empty()) { @@ -270,6 +305,10 @@ void ShadowRenderer::update(video::ITexture *outputTarget) updateSMTextures(); + if (shadowMapTextureFinal == nullptr) { + return; + } + if (!m_shadow_node_array.empty() && !m_light_list.empty()) { for (DirectionalLight &light : m_light_list) { @@ -307,19 +346,23 @@ void ShadowRenderer::drawDebug() /* this code just shows shadows textures in screen and in ONLY for debugging*/ #if 0 // this is debug, ignore for now. - m_driver->draw2DImage(shadowMapTextureFinal, - core::rect(0, 50, 128, 128 + 50), - core::rect({0, 0}, shadowMapTextureFinal->getSize())); + if (shadowMapTextureFinal) + m_driver->draw2DImage(shadowMapTextureFinal, + core::rect(0, 50, 128, 128 + 50), + core::rect({0, 0}, shadowMapTextureFinal->getSize())); - m_driver->draw2DImage(shadowMapClientMap, - core::rect(0, 50 + 128, 128, 128 + 50 + 128), - core::rect({0, 0}, shadowMapTextureFinal->getSize())); - m_driver->draw2DImage(shadowMapTextureDynamicObjects, - core::rect(0, 128 + 50 + 128, 128, - 128 + 50 + 128 + 128), - core::rect({0, 0}, shadowMapTextureDynamicObjects->getSize())); + if (shadowMapClientMap) + m_driver->draw2DImage(shadowMapClientMap, + core::rect(0, 50 + 128, 128, 128 + 50 + 128), + core::rect({0, 0}, shadowMapTextureFinal->getSize())); + + if (shadowMapTextureDynamicObjects) + m_driver->draw2DImage(shadowMapTextureDynamicObjects, + core::rect(0, 128 + 50 + 128, 128, + 128 + 50 + 128 + 128), + core::rect({0, 0}, shadowMapTextureDynamicObjects->getSize())); - if (m_shadow_map_colored) { + if (m_shadow_map_colored && shadowMapTextureColors) { m_driver->draw2DImage(shadowMapTextureColors, core::rect(128,128 + 50 + 128 + 128, @@ -469,13 +512,13 @@ void ShadowRenderer::createShaders() if (depth_shader == -1) { std::string depth_shader_vs = getShaderPath("shadow_shaders", "pass1_vertex.glsl"); if (depth_shader_vs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error shadow mapping vs shader not found." << std::endl; return; } std::string depth_shader_fs = getShaderPath("shadow_shaders", "pass1_fragment.glsl"); if (depth_shader_fs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error shadow mapping fs shader not found." << std::endl; return; } @@ -490,7 +533,7 @@ void ShadowRenderer::createShaders() if (depth_shader == -1) { // upsi, something went wrong loading shader. delete m_shadow_depth_cb; - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error compiling shadow mapping shader." << std::endl; return; } @@ -506,13 +549,13 @@ void ShadowRenderer::createShaders() if (depth_shader_entities == -1) { std::string depth_shader_vs = getShaderPath("shadow_shaders", "pass1_vertex.glsl"); if (depth_shader_vs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error shadow mapping vs shader not found." << std::endl; return; } std::string depth_shader_fs = getShaderPath("shadow_shaders", "pass1_fragment.glsl"); if (depth_shader_fs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error shadow mapping fs shader not found." << std::endl; return; } @@ -525,7 +568,7 @@ void ShadowRenderer::createShaders() if (depth_shader_entities == -1) { // upsi, something went wrong loading shader. - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error compiling shadow mapping shader (dynamic)." << std::endl; return; } @@ -539,14 +582,14 @@ void ShadowRenderer::createShaders() if (mixcsm_shader == -1) { std::string depth_shader_vs = getShaderPath("shadow_shaders", "pass2_vertex.glsl"); if (depth_shader_vs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error cascade shadow mapping fs shader not found." << std::endl; return; } std::string depth_shader_fs = getShaderPath("shadow_shaders", "pass2_fragment.glsl"); if (depth_shader_fs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error cascade shadow mapping fs shader not found." << std::endl; return; } @@ -565,7 +608,7 @@ void ShadowRenderer::createShaders() // upsi, something went wrong loading shader. delete m_shadow_mix_cb; delete m_screen_quad; - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error compiling cascade shadow mapping shader." << std::endl; return; } @@ -579,13 +622,13 @@ void ShadowRenderer::createShaders() if (m_shadow_map_colored && depth_shader_trans == -1) { std::string depth_shader_vs = getShaderPath("shadow_shaders", "pass1_trans_vertex.glsl"); if (depth_shader_vs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error shadow mapping vs shader not found." << std::endl; return; } std::string depth_shader_fs = getShaderPath("shadow_shaders", "pass1_trans_fragment.glsl"); if (depth_shader_fs.empty()) { - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error shadow mapping fs shader not found." << std::endl; return; } @@ -601,7 +644,7 @@ void ShadowRenderer::createShaders() // upsi, something went wrong loading shader. delete m_shadow_depth_trans_cb; m_shadow_map_colored = false; - m_shadows_enabled = false; + m_shadows_supported = false; errorstream << "Error compiling colored shadow mapping shader." << std::endl; return; } diff --git a/src/client/shadows/dynamicshadowsrender.h b/src/client/shadows/dynamicshadowsrender.h index e4b3c3e22..dc8f79c56 100644 --- a/src/client/shadows/dynamicshadowsrender.h +++ b/src/client/shadows/dynamicshadowsrender.h @@ -82,11 +82,12 @@ public: } - bool is_active() const { return m_shadows_enabled; } + bool is_active() const { return m_shadows_enabled && shadowMapTextureFinal != nullptr; } void setTimeOfDay(float isDay) { m_time_day = isDay; }; + void setShadowIntensity(float shadow_intensity); s32 getShadowSamples() const { return m_shadow_samples; } - float getShadowStrength() const { return m_shadow_strength; } + float getShadowStrength() const { return m_shadows_enabled ? m_shadow_strength : 0.0f; } float getTimeOfDay() const { return m_time_day; } private: @@ -101,6 +102,9 @@ private: void mixShadowsQuad(); void updateSMTextures(); + void disable(); + void enable() { m_shadows_enabled = m_shadows_supported; } + // a bunch of variables IrrlichtDevice *m_device{nullptr}; scene::ISceneManager *m_smgr{nullptr}; @@ -116,12 +120,14 @@ private: std::vector m_shadow_node_array; float m_shadow_strength; + float m_shadow_strength_gamma; float m_shadow_map_max_distance; float m_shadow_map_texture_size; float m_time_day{0.0f}; int m_shadow_samples; bool m_shadow_map_texture_32bit; bool m_shadows_enabled; + bool m_shadows_supported; bool m_shadow_map_colored; u8 m_map_shadow_update_frames; /* Use this number of frames to update map shaodw */ u8 m_current_frame{0}; /* Current frame */ diff --git a/src/client/sky.h b/src/client/sky.h index 3dc057b70..e03683f12 100644 --- a/src/client/sky.h +++ b/src/client/sky.h @@ -65,6 +65,7 @@ public: } void setSunVisible(bool sun_visible) { m_sun_params.visible = sun_visible; } + bool getSunVisible() const { return m_sun_params.visible; } void setSunTexture(const std::string &sun_texture, const std::string &sun_tonemap, ITextureSource *tsrc); void setSunScale(f32 sun_scale) { m_sun_params.scale = sun_scale; } @@ -72,6 +73,7 @@ public: void setSunriseTexture(const std::string &sunglow_texture, ITextureSource* tsrc); void setMoonVisible(bool moon_visible) { m_moon_params.visible = moon_visible; } + bool getMoonVisible() const { return m_moon_params.visible; } void setMoonTexture(const std::string &moon_texture, const std::string &moon_tonemap, ITextureSource *tsrc); void setMoonScale(f32 moon_scale) { m_moon_params.scale = moon_scale; } diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index b935c0e21..2e9a19199 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -266,7 +266,7 @@ void set_default_settings() // Effects Shadows settings->setDefault("enable_dynamic_shadows", "false"); - settings->setDefault("shadow_strength", "0.2"); + settings->setDefault("shadow_strength_gamma", "1.0"); settings->setDefault("shadow_map_max_distance", "200.0"); settings->setDefault("shadow_map_texture_size", "2048"); settings->setDefault("shadow_map_texture_32bit", "true"); diff --git a/src/lighting.h b/src/lighting.h new file mode 100644 index 000000000..e0d9cee09 --- /dev/null +++ b/src/lighting.h @@ -0,0 +1,27 @@ +/* +Minetest +Copyright (C) 2021 x2048, Dmitry Kostenko + +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. +*/ + +#pragma once + +/** Describes ambient light settings for a player + */ +struct Lighting +{ + float shadow_intensity {0.0f}; +}; diff --git a/src/network/clientopcodes.cpp b/src/network/clientopcodes.cpp index a98a5e7d1..6a78b4652 100644 --- a/src/network/clientopcodes.cpp +++ b/src/network/clientopcodes.cpp @@ -123,6 +123,7 @@ const ToClientCommandHandler toClientCommandTable[TOCLIENT_NUM_MSG_TYPES] = { "TOCLIENT_SRP_BYTES_S_B", TOCLIENT_STATE_NOT_CONNECTED, &Client::handleCommand_SrpBytesSandB }, // 0x60 { "TOCLIENT_FORMSPEC_PREPEND", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_FormspecPrepend }, // 0x61, { "TOCLIENT_MINIMAP_MODES", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_MinimapModes }, // 0x62, + { "TOCLIENT_SET_LIGHTING", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_SetLighting }, // 0x63, }; const static ServerCommandFactory null_command_factory = { "TOSERVER_NULL", 0, false }; diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 48ad60ac6..15b576640 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -1682,3 +1682,11 @@ void Client::handleCommand_MinimapModes(NetworkPacket *pkt) if (m_minimap) m_minimap->setModeIndex(mode); } + +void Client::handleCommand_SetLighting(NetworkPacket *pkt) +{ + Lighting& lighting = m_env.getLocalPlayer()->getLighting(); + + if (pkt->getRemainingBytes() >= 4) + *pkt >> lighting.shadow_intensity; +} diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index a5ff53216..f98a829ba 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -762,7 +762,12 @@ enum ToClientCommand std::string extra */ - TOCLIENT_NUM_MSG_TYPES = 0x63, + TOCLIENT_SET_LIGHTING = 0x63, + /* + f32 shadow_intensity + */ + + TOCLIENT_NUM_MSG_TYPES = 0x64, }; enum ToServerCommand diff --git a/src/remoteplayer.h b/src/remoteplayer.h index e33630841..0ab33adfe 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "player.h" #include "skyparams.h" +#include "lighting.h" class PlayerSAO; @@ -125,6 +126,10 @@ public: *frame_speed = local_animation_speed; } + void setLighting(const Lighting &lighting) { m_lighting = lighting; } + + const Lighting& getLighting() const { return m_lighting; } + void setDirty(bool dirty) { m_dirty = true; } u16 protocol_version = 0; @@ -160,5 +165,7 @@ private: MoonParams m_moon_params; StarParams m_star_params; + Lighting m_lighting; + session_t m_peer_id = PEER_ID_INEXISTENT; }; diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 1ed6b0d5c..6153a0399 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -2295,6 +2295,47 @@ int ObjectRef::l_set_minimap_modes(lua_State *L) return 0; } +// set_lighting(self, lighting) +int ObjectRef::l_set_lighting(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + ObjectRef *ref = checkobject(L, 1); + RemotePlayer *player = getplayer(ref); + if (player == nullptr) + return 0; + + luaL_checktype(L, 2, LUA_TTABLE); + Lighting lighting = player->getLighting(); + lua_getfield(L, 2, "shadows"); + if (lua_istable(L, -1)) { + lighting.shadow_intensity = getfloatfield_default(L, -1, "intensity", lighting.shadow_intensity); + } + lua_pop(L, -1); + + getServer(L)->setLighting(player, lighting); + lua_pushboolean(L, true); + return 1; +} + +// get_lighting(self) +int ObjectRef::l_get_lighting(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + ObjectRef *ref = checkobject(L, 1); + RemotePlayer *player = getplayer(ref); + if (player == nullptr) + return 0; + + const Lighting &lighting = player->getLighting(); + + lua_newtable(L); // result + lua_newtable(L); // "shadows" + lua_pushnumber(L, lighting.shadow_intensity); + lua_setfield(L, -2, "intensity"); + lua_setfield(L, -2, "shadows"); + return 1; +} + ObjectRef::ObjectRef(ServerActiveObject *object): m_object(object) {} @@ -2448,5 +2489,7 @@ luaL_Reg ObjectRef::methods[] = { luamethod(ObjectRef, get_eye_offset), luamethod(ObjectRef, send_mapblock), luamethod(ObjectRef, set_minimap_modes), + luamethod(ObjectRef, set_lighting), + luamethod(ObjectRef, get_lighting), {0,0} }; diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index 084d40c05..3e4e6681a 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -376,4 +376,10 @@ private: // set_minimap_modes(self, modes, wanted_mode) static int l_set_minimap_modes(lua_State *L); + + // set_lighting(self, lighting) + static int l_set_lighting(lua_State *L); + + // get_lighting(self) + static int l_get_lighting(lua_State *L); }; diff --git a/src/server.cpp b/src/server.cpp index d9205c895..4bc049e32 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1795,6 +1795,16 @@ void Server::SendOverrideDayNightRatio(session_t peer_id, bool do_override, Send(&pkt); } +void Server::SendSetLighting(session_t peer_id, const Lighting &lighting) +{ + NetworkPacket pkt(TOCLIENT_SET_LIGHTING, + 4, peer_id); + + pkt << lighting.shadow_intensity; + + Send(&pkt); +} + void Server::SendTimeOfDay(session_t peer_id, u16 time, f32 time_speed) { NetworkPacket pkt(TOCLIENT_TIME_OF_DAY, 0, peer_id); @@ -3386,6 +3396,13 @@ void Server::overrideDayNightRatio(RemotePlayer *player, bool do_override, SendOverrideDayNightRatio(player->getPeerId(), do_override, ratio); } +void Server::setLighting(RemotePlayer *player, const Lighting &lighting) +{ + sanity_check(player); + player->setLighting(lighting); + SendSetLighting(player->getPeerId(), lighting); +} + void Server::notifyPlayers(const std::wstring &msg) { SendChatMessage(PEER_ID_INEXISTENT, ChatMessage(msg)); diff --git a/src/server.h b/src/server.h index 2741b3157..c05393291 100644 --- a/src/server.h +++ b/src/server.h @@ -69,6 +69,7 @@ struct SkyboxParams; struct SunParams; struct MoonParams; struct StarParams; +struct Lighting; class ServerThread; class ServerModManager; class ServerInventoryManager; @@ -333,6 +334,8 @@ public: void overrideDayNightRatio(RemotePlayer *player, bool do_override, float brightness); + void setLighting(RemotePlayer *player, const Lighting &lighting); + /* con::PeerHandler implementation. */ void peerAdded(con::Peer *peer); void deletingPeer(con::Peer *peer, bool timeout); @@ -459,6 +462,7 @@ private: void SendSetStars(session_t peer_id, const StarParams ¶ms); void SendCloudParams(session_t peer_id, const CloudParams ¶ms); void SendOverrideDayNightRatio(session_t peer_id, bool do_override, float ratio); + void SendSetLighting(session_t peer_id, const Lighting &lighting); void broadcastModChannelMessage(const std::string &channel, const std::string &message, session_t from_peer); -- cgit v1.2.3 From 8d387433b14791db95e59127b5e6e30f58155c1e Mon Sep 17 00:00:00 2001 From: DS Date: Tue, 29 Mar 2022 18:06:16 +0200 Subject: Fix the documentation of InvRef:get_lists() and clean up code (#12150) --- doc/lua_api.txt | 4 ++-- src/database/database-postgresql.cpp | 2 +- src/database/database-sqlite3.cpp | 4 ++-- src/inventory.cpp | 42 ------------------------------------ src/inventory.h | 26 +++++++++++++++------- src/script/common/c_content.cpp | 23 ++++++++++++-------- src/script/common/c_content.h | 6 ++++-- src/script/cpp_api/s_client.cpp | 10 +-------- src/script/lua_api/l_inventory.cpp | 23 +++++++++----------- src/script/lua_api/l_nodemeta.cpp | 12 ++++------- 10 files changed, 56 insertions(+), 96 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 029c53616..161bdd249 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6355,9 +6355,9 @@ An `InvRef` is a reference to an inventory. * `set_width(listname, width)`: set width of list; currently used for crafting * `get_stack(listname, i)`: get a copy of stack index `i` in list * `set_stack(listname, i, stack)`: copy `stack` to index `i` in list -* `get_list(listname)`: return full list +* `get_list(listname)`: return full list (list of `ItemStack`s) * `set_list(listname, list)`: set full list (size will not change) -* `get_lists()`: returns list of inventory lists +* `get_lists()`: returns table that maps listnames to inventory lists * `set_lists(lists)`: sets inventory lists (size will not change) * `add_item(listname, stack)`: add item somewhere in list, returns leftover `ItemStack`. diff --git a/src/database/database-postgresql.cpp b/src/database/database-postgresql.cpp index 3469f4242..9d6501e68 100644 --- a/src/database/database-postgresql.cpp +++ b/src/database/database-postgresql.cpp @@ -495,7 +495,7 @@ void PlayerDatabasePostgreSQL::savePlayer(RemotePlayer *player) execPrepared("remove_player_inventories", 1, rmvalues); execPrepared("remove_player_inventory_items", 1, rmvalues); - std::vector inventory_lists = sao->getInventory()->getLists(); + const auto &inventory_lists = sao->getInventory()->getLists(); std::ostringstream oss; for (u16 i = 0; i < inventory_lists.size(); i++) { const InventoryList* list = inventory_lists[i]; diff --git a/src/database/database-sqlite3.cpp b/src/database/database-sqlite3.cpp index 1e63ae9d8..9521085e9 100644 --- a/src/database/database-sqlite3.cpp +++ b/src/database/database-sqlite3.cpp @@ -476,10 +476,10 @@ void PlayerDatabaseSQLite3::savePlayer(RemotePlayer *player) sqlite3_vrfy(sqlite3_step(m_stmt_player_remove_inventory_items), SQLITE_DONE); sqlite3_reset(m_stmt_player_remove_inventory_items); - std::vector inventory_lists = sao->getInventory()->getLists(); + const auto &inventory_lists = sao->getInventory()->getLists(); std::ostringstream oss; for (u16 i = 0; i < inventory_lists.size(); i++) { - const InventoryList* list = inventory_lists[i]; + const InventoryList *list = inventory_lists[i]; str_to_sqlite(m_stmt_player_add_inventory, 1, player->getName()); int_to_sqlite(m_stmt_player_add_inventory, 2, i); diff --git a/src/inventory.cpp b/src/inventory.cpp index d14b12f9d..6d2b7fba3 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -503,11 +503,6 @@ void InventoryList::deSerialize(std::istream &is) throw SerializationError(ss.str()); } -InventoryList::InventoryList(const InventoryList &other) -{ - *this = other; -} - InventoryList & InventoryList::operator = (const InventoryList &other) { m_items = other.m_items; @@ -535,21 +530,6 @@ bool InventoryList::operator == (const InventoryList &other) const return true; } -const std::string &InventoryList::getName() const -{ - return m_name; -} - -u32 InventoryList::getSize() const -{ - return m_items.size(); -} - -u32 InventoryList::getWidth() const -{ - return m_width; -} - u32 InventoryList::getUsedSlots() const { u32 num = 0; @@ -560,18 +540,6 @@ u32 InventoryList::getUsedSlots() const return num; } -const ItemStack& InventoryList::getItem(u32 i) const -{ - assert(i < m_size); // Pre-condition - return m_items[i]; -} - -ItemStack& InventoryList::getItem(u32 i) -{ - assert(i < m_size); // Pre-condition - return m_items[i]; -} - ItemStack InventoryList::changeItem(u32 i, const ItemStack &newitem) { if(i >= m_items.size()) @@ -960,16 +928,6 @@ InventoryList * Inventory::getList(const std::string &name) return m_lists[i]; } -std::vector Inventory::getLists() -{ - std::vector lists; - lists.reserve(m_lists.size()); - for (auto list : m_lists) { - lists.push_back(list); - } - return lists; -} - bool Inventory::deleteList(const std::string &name) { s32 i = getListIndex(name); diff --git a/src/inventory.h b/src/inventory.h index eb063d4ad..8b31de3a8 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -198,7 +198,7 @@ public: void serialize(std::ostream &os, bool incremental) const; void deSerialize(std::istream &is); - InventoryList(const InventoryList &other); + InventoryList(const InventoryList &other) { *this = other; } InventoryList & operator = (const InventoryList &other); bool operator == (const InventoryList &other) const; bool operator != (const InventoryList &other) const @@ -206,15 +206,25 @@ public: return !(*this == other); } - const std::string &getName() const; - u32 getSize() const; - u32 getWidth() const; + const std::string &getName() const { return m_name; } + u32 getSize() const { return static_cast(m_items.size()); } + u32 getWidth() const { return m_width; } // Count used slots u32 getUsedSlots() const; // Get reference to item - const ItemStack& getItem(u32 i) const; - ItemStack& getItem(u32 i); + const ItemStack &getItem(u32 i) const + { + assert(i < m_size); // Pre-condition + return m_items[i]; + } + ItemStack &getItem(u32 i) + { + assert(i < m_size); // Pre-condition + return m_items[i]; + } + // Get reference to all items + const std::vector &getItems() const { return m_items; } // Returns old item. Parameter can be an empty item. ItemStack changeItem(u32 i, const ItemStack &newitem); // Delete item @@ -271,7 +281,7 @@ public: private: std::vector m_items; std::string m_name; - u32 m_size; + u32 m_size; // always the same as m_items.size() u32 m_width = 0; IItemDefManager *m_itemdef; bool m_dirty = true; @@ -301,7 +311,7 @@ public: InventoryList * addList(const std::string &name, u32 size); InventoryList * getList(const std::string &name); const InventoryList * getList(const std::string &name) const; - std::vector getLists(); + const std::vector &getLists() const { return m_lists; } bool deleteList(const std::string &name); // A shorthand for adding items. Returns leftover item (possibly empty). ItemStack addItem(const std::string &listname, const ItemStack &newitem) diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index b6eaa6b13..36f4316ee 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -1351,17 +1351,22 @@ void push_tool_capabilities(lua_State *L, } /******************************************************************************/ -void push_inventory_list(lua_State *L, Inventory *inv, const char *name) +void push_inventory_list(lua_State *L, const InventoryList &invlist) { - InventoryList *invlist = inv->getList(name); - if(invlist == NULL){ - lua_pushnil(L); - return; + push_items(L, invlist.getItems()); +} + +/******************************************************************************/ +void push_inventory_lists(lua_State *L, const Inventory &inv) +{ + const auto &lists = inv.getLists(); + lua_createtable(L, 0, lists.size()); + for(const InventoryList *list : lists) { + const std::string &name = list->getName(); + lua_pushlstring(L, name.c_str(), name.size()); + push_inventory_list(L, *list); + lua_rawset(L, -3); } - std::vector items; - for(u32 i=0; igetSize(); i++) - items.push_back(invlist->getItem(i)); - push_items(L, items); } /******************************************************************************/ diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index e762604a4..11b39364f 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -55,6 +55,7 @@ struct ObjectProperties; struct SimpleSoundSpec; struct ServerSoundParams; class Inventory; +class InventoryList; struct NodeBox; struct ContentFeatures; struct TileDef; @@ -120,8 +121,9 @@ void push_object_properties (lua_State *L, ObjectProperties *prop); void push_inventory_list (lua_State *L, - Inventory *inv, - const char *name); + const InventoryList &invlist); +void push_inventory_lists (lua_State *L, + const Inventory &inv); void read_inventory_list (lua_State *L, int tableindex, Inventory *inv, const char *name, Server *srv, int forcesize=-1); diff --git a/src/script/cpp_api/s_client.cpp b/src/script/cpp_api/s_client.cpp index c889fffa0..b02a0c7be 100644 --- a/src/script/cpp_api/s_client.cpp +++ b/src/script/cpp_api/s_client.cpp @@ -281,15 +281,7 @@ bool ScriptApiClient::on_inventory_open(Inventory *inventory) lua_getglobal(L, "core"); lua_getfield(L, -1, "registered_on_inventory_open"); - std::vector lists = inventory->getLists(); - std::vector::iterator iter = lists.begin(); - lua_createtable(L, 0, lists.size()); - for (; iter != lists.end(); iter++) { - const char* name = (*iter)->getName().c_str(); - lua_pushstring(L, name); - push_inventory_list(L, inventory, name); - lua_rawset(L, -3); - } + push_inventory_lists(L, *inventory); try { runCallbacks(1, RUN_CALLBACKS_MODE_OR); diff --git a/src/script/lua_api/l_inventory.cpp b/src/script/lua_api/l_inventory.cpp index b0a4ee194..175047e58 100644 --- a/src/script/lua_api/l_inventory.cpp +++ b/src/script/lua_api/l_inventory.cpp @@ -214,11 +214,16 @@ int InvRef::l_get_list(lua_State *L) InvRef *ref = checkobject(L, 1); const char *listname = luaL_checkstring(L, 2); Inventory *inv = getinv(L, ref); - if(inv){ - push_inventory_list(L, inv, listname); - } else { + if (!inv) { lua_pushnil(L); + return 1; } + InventoryList *invlist = inv->getList(listname); + if (!invlist) { + lua_pushnil(L); + return 1; + } + push_inventory_list(L, *invlist); return 1; } @@ -242,7 +247,7 @@ int InvRef::l_set_list(lua_State *L) return 0; } -// get_lists(self) -> list of InventoryLists +// get_lists(self) -> table that maps listnames to InventoryLists int InvRef::l_get_lists(lua_State *L) { NO_MAP_LOCK_REQUIRED; @@ -251,15 +256,7 @@ int InvRef::l_get_lists(lua_State *L) if (!inv) { return 0; } - std::vector lists = inv->getLists(); - std::vector::iterator iter = lists.begin(); - lua_createtable(L, 0, lists.size()); - for (; iter != lists.end(); iter++) { - const char* name = (*iter)->getName().c_str(); - lua_pushstring(L, name); - push_inventory_list(L, inv, name); - lua_rawset(L, -3); - } + push_inventory_lists(L, *inv); return 1; } diff --git a/src/script/lua_api/l_nodemeta.cpp b/src/script/lua_api/l_nodemeta.cpp index 34760157d..1d052685e 100644 --- a/src/script/lua_api/l_nodemeta.cpp +++ b/src/script/lua_api/l_nodemeta.cpp @@ -127,18 +127,14 @@ void NodeMetaRef::handleToTable(lua_State *L, Metadata *_meta) // fields MetaDataRef::handleToTable(L, _meta); - NodeMetadata *meta = (NodeMetadata*) _meta; + NodeMetadata *meta = (NodeMetadata *) _meta; // inventory - lua_newtable(L); Inventory *inv = meta->getInventory(); if (inv) { - std::vector lists = inv->getLists(); - for(std::vector::const_iterator - i = lists.begin(); i != lists.end(); ++i) { - push_inventory_list(L, inv, (*i)->getName().c_str()); - lua_setfield(L, -2, (*i)->getName().c_str()); - } + push_inventory_lists(L, *inv); + } else { + lua_newtable(L); } lua_setfield(L, -2, "inventory"); } -- cgit v1.2.3 From 11aab4198be1a0f1104a433896e908e4c86de0c9 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 29 Mar 2022 12:06:44 -0400 Subject: Optimize swapping nodes with equivalent lighting --- src/map.cpp | 65 +++++++++++++++++++++++++++++++++++++++++------------------ src/nodedef.h | 6 ++++++ 2 files changed, 51 insertions(+), 20 deletions(-) diff --git a/src/map.cpp b/src/map.cpp index a11bbb96a..1cbc55707 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -165,24 +165,32 @@ MapNode Map::getNode(v3s16 p, bool *is_valid_position) return node; } -// throws InvalidPositionException if not found -void Map::setNode(v3s16 p, MapNode & n) +static void set_node_in_block(MapBlock *block, v3s16 relpos, MapNode n) { - v3s16 blockpos = getNodeBlockPos(p); - MapBlock *block = getBlockNoCreate(blockpos); - v3s16 relpos = p - blockpos*MAP_BLOCKSIZE; // Never allow placing CONTENT_IGNORE, it causes problems if(n.getContent() == CONTENT_IGNORE){ + const NodeDefManager *nodedef = block->getParent()->getNodeDefManager(); + v3s16 blockpos = block->getPos(); + v3s16 p = blockpos * MAP_BLOCKSIZE + relpos; bool temp_bool; - errorstream<<"Map::setNode(): Not allowing to place CONTENT_IGNORE" + errorstream<<"Not allowing to place CONTENT_IGNORE" <<" while trying to replace \"" - <get(block->getNodeNoCheck(relpos, &temp_bool)).name + <get(block->getNodeNoCheck(relpos, &temp_bool)).name <<"\" at "<setNodeNoCheck(relpos, n); } +// throws InvalidPositionException if not found +void Map::setNode(v3s16 p, MapNode & n) +{ + v3s16 blockpos = getNodeBlockPos(p); + MapBlock *block = getBlockNoCreate(blockpos); + v3s16 relpos = p - blockpos*MAP_BLOCKSIZE; + set_node_in_block(block, relpos, n); +} + void Map::addNodeAndUpdate(v3s16 p, MapNode n, std::map &modified_blocks, bool remove_metadata) @@ -190,8 +198,14 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n, // Collect old node for rollback RollbackNode rollback_oldnode(this, p, m_gamedef); + v3s16 blockpos = getNodeBlockPos(p); + MapBlock *block = getBlockNoCreate(blockpos); + if (block->isDummy()) + throw InvalidPositionException(); + v3s16 relpos = p - blockpos * MAP_BLOCKSIZE; + // This is needed for updating the lighting - MapNode oldnode = getNode(p); + MapNode oldnode = block->getNodeUnsafe(relpos); // Remove node metadata if (remove_metadata) { @@ -199,18 +213,29 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n, } // Set the node on the map - // Ignore light (because calling voxalgo::update_lighting_nodes) - n.setLight(LIGHTBANK_DAY, 0, m_nodedef); - n.setLight(LIGHTBANK_NIGHT, 0, m_nodedef); - setNode(p, n); - - // Update lighting - std::vector > oldnodes; - oldnodes.emplace_back(p, oldnode); - voxalgo::update_lighting_nodes(this, oldnodes, modified_blocks); - - for (auto &modified_block : modified_blocks) { - modified_block.second->expireDayNightDiff(); + const ContentFeatures &cf = m_nodedef->get(n); + const ContentFeatures &oldcf = m_nodedef->get(oldnode); + if (cf.lightingEquivalent(oldcf)) { + // No light update needed, just copy over the old light. + n.setLight(LIGHTBANK_DAY, oldnode.getLightRaw(LIGHTBANK_DAY, oldcf), cf); + n.setLight(LIGHTBANK_NIGHT, oldnode.getLightRaw(LIGHTBANK_NIGHT, oldcf), cf); + set_node_in_block(block, relpos, n); + + modified_blocks[blockpos] = block; + } else { + // Ignore light (because calling voxalgo::update_lighting_nodes) + n.setLight(LIGHTBANK_DAY, 0, cf); + n.setLight(LIGHTBANK_NIGHT, 0, cf); + set_node_in_block(block, relpos, n); + + // Update lighting + std::vector > oldnodes; + oldnodes.emplace_back(p, oldnode); + voxalgo::update_lighting_nodes(this, oldnodes, modified_blocks); + + for (auto &modified_block : modified_blocks) { + modified_block.second->expireDayNightDiff(); + } } // Report for rollback diff --git a/src/nodedef.h b/src/nodedef.h index ea50d4281..f90caff8a 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -478,6 +478,12 @@ struct ContentFeatures return (liquid_alternative_flowing_id == f.liquid_alternative_flowing_id); } + bool lightingEquivalent(const ContentFeatures &other) const { + return light_propagates == other.light_propagates + && sunlight_propagates == other.sunlight_propagates + && light_source == other.light_source; + } + int getGroup(const std::string &group) const { return itemgroup_get(groups, group); -- cgit v1.2.3 From 06d197cdd042392e1551e5e7244c61300a6bb4e3 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 29 Mar 2022 12:07:00 -0400 Subject: Store vector metatable in registry --- builtin/common/tests/misc_helpers_spec.lua | 1 + builtin/common/tests/serialize_spec.lua | 1 + builtin/common/tests/vector_spec.lua | 2 +- builtin/common/vector.lua | 6 ++---- builtin/mainmenu/tests/serverlistmgr_spec.lua | 1 + games/devtest/mods/unittests/misc.lua | 12 ++++++++++++ src/script/common/c_converter.cpp | 19 +++---------------- src/script/common/c_internal.h | 1 + src/script/cpp_api/s_base.cpp | 8 ++++++++ src/script/cpp_api/s_security.cpp | 6 ++++++ 10 files changed, 36 insertions(+), 21 deletions(-) diff --git a/builtin/common/tests/misc_helpers_spec.lua b/builtin/common/tests/misc_helpers_spec.lua index b16987f0b..b11236860 100644 --- a/builtin/common/tests/misc_helpers_spec.lua +++ b/builtin/common/tests/misc_helpers_spec.lua @@ -1,4 +1,5 @@ _G.core = {} +_G.vector = {metatable = {}} dofile("builtin/common/vector.lua") dofile("builtin/common/misc_helpers.lua") diff --git a/builtin/common/tests/serialize_spec.lua b/builtin/common/tests/serialize_spec.lua index e46b7dcc5..69b2b567c 100644 --- a/builtin/common/tests/serialize_spec.lua +++ b/builtin/common/tests/serialize_spec.lua @@ -1,4 +1,5 @@ _G.core = {} +_G.vector = {metatable = {}} _G.setfenv = require 'busted.compatibility'.setfenv diff --git a/builtin/common/tests/vector_spec.lua b/builtin/common/tests/vector_spec.lua index 2f72f3383..25880236b 100644 --- a/builtin/common/tests/vector_spec.lua +++ b/builtin/common/tests/vector_spec.lua @@ -1,4 +1,4 @@ -_G.vector = {} +_G.vector = {metatable = {}} dofile("builtin/common/vector.lua") describe("vector", function() diff --git a/builtin/common/vector.lua b/builtin/common/vector.lua index 581d014e0..90010f6de 100644 --- a/builtin/common/vector.lua +++ b/builtin/common/vector.lua @@ -6,10 +6,8 @@ Note: The vector.*-functions must be able to accept old vectors that had no meta -- localize functions local setmetatable = setmetatable -vector = {} - -local metatable = {} -vector.metatable = metatable +-- vector.metatable is set by C++. +local metatable = vector.metatable local xyz = {"x", "y", "z"} diff --git a/builtin/mainmenu/tests/serverlistmgr_spec.lua b/builtin/mainmenu/tests/serverlistmgr_spec.lua index a091959fb..ab7a6c60c 100644 --- a/builtin/mainmenu/tests/serverlistmgr_spec.lua +++ b/builtin/mainmenu/tests/serverlistmgr_spec.lua @@ -1,4 +1,5 @@ _G.core = {} +_G.vector = {metatable = {}} _G.unpack = table.unpack _G.serverlistmgr = {} diff --git a/games/devtest/mods/unittests/misc.lua b/games/devtest/mods/unittests/misc.lua index cf4f92cfa..ba980866a 100644 --- a/games/devtest/mods/unittests/misc.lua +++ b/games/devtest/mods/unittests/misc.lua @@ -36,3 +36,15 @@ local function test_dynamic_media(cb, player) -- if the callback isn't called this test will just hang :shrug: end unittests.register("test_dynamic_media", test_dynamic_media, {async=true, player=true}) + +local function test_v3f_metatable(player) + assert(vector.check(player:get_pos())) +end +unittests.register("test_v3f_metatable", test_v3f_metatable, {player=true}) + +local function test_v3s16_metatable(player, pos) + local node = minetest.get_node(pos) + local found_pos = minetest.find_node_near(pos, 0, node.name, true) + assert(vector.check(found_pos)) +end +unittests.register("test_v3s16_metatable", test_v3s16_metatable, {map=true}) diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index 08fb9ad30..b5ff52f73 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -52,25 +52,12 @@ if (value < F1000_MIN || value > F1000_MAX) { \ /** - * A helper which sets (if available) the vector metatable from builtin as metatable - * for the table on top of the stack + * A helper which sets the vector metatable for the table on top of the stack */ static void set_vector_metatable(lua_State *L) { - // get vector.metatable - lua_getglobal(L, "vector"); - if (!lua_istable(L, -1)) { - // there is no global vector table - lua_pop(L, 1); - errorstream << "set_vector_metatable in c_converter.cpp: " << - "missing global vector table" << std::endl; - return; - } - lua_getfield(L, -1, "metatable"); - // set the metatable - lua_setmetatable(L, -3); - // pop vector global - lua_pop(L, 1); + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_VECTOR_METATABLE); + lua_setmetatable(L, -2); } void push_v3f(lua_State *L, v3f p) diff --git a/src/script/common/c_internal.h b/src/script/common/c_internal.h index 94cfd61fb..c43db34aa 100644 --- a/src/script/common/c_internal.h +++ b/src/script/common/c_internal.h @@ -55,6 +55,7 @@ extern "C" { #define CUSTOM_RIDX_CURRENT_MOD_NAME (CUSTOM_RIDX_BASE + 2) #define CUSTOM_RIDX_BACKTRACE (CUSTOM_RIDX_BASE + 3) #define CUSTOM_RIDX_HTTP_API_LUA (CUSTOM_RIDX_BASE + 4) +#define CUSTOM_RIDX_VECTOR_METATABLE (CUSTOM_RIDX_BASE + 5) // Determine if CUSTOM_RIDX_SCRIPTAPI will hold a light or full userdata diff --git a/src/script/cpp_api/s_base.cpp b/src/script/cpp_api/s_base.cpp index f7b8a5102..595c9e540 100644 --- a/src/script/cpp_api/s_base.cpp +++ b/src/script/cpp_api/s_base.cpp @@ -121,6 +121,14 @@ ScriptApiBase::ScriptApiBase(ScriptingType type): lua_newtable(m_luastack); lua_setglobal(m_luastack, "core"); + // vector.metatable is stored in the registry for quick access from C++. + lua_newtable(m_luastack); + lua_rawseti(m_luastack, LUA_REGISTRYINDEX, CUSTOM_RIDX_VECTOR_METATABLE); + lua_newtable(m_luastack); + lua_rawgeti(m_luastack, LUA_REGISTRYINDEX, CUSTOM_RIDX_VECTOR_METATABLE); + lua_setfield(m_luastack, -2, "metatable"); + lua_setglobal(m_luastack, "vector"); + if (m_type == ScriptingType::Client) lua_pushstring(m_luastack, "/"); else diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index a6c5114b2..f68cd1777 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -98,6 +98,7 @@ void ScriptApiSecurity::initializeSecurity() "type", "unpack", "_VERSION", + "vector", "xpcall", }; static const char *whitelist_tables[] = { @@ -254,6 +255,10 @@ void ScriptApiSecurity::initializeSecurity() lua_pushnil(L); lua_setfield(L, old_globals, "core"); + // 'vector' as well. + lua_pushnil(L); + lua_setfield(L, old_globals, "vector"); + lua_pop(L, 1); // Pop globals_backup @@ -296,6 +301,7 @@ void ScriptApiSecurity::initializeSecurityClient() "type", "unpack", "_VERSION", + "vector", "xpcall", // Completely safe libraries "coroutine", -- cgit v1.2.3 From 31578303a4eab6b6b083e57b6bf8d12ff3b3d991 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 31 Mar 2022 22:40:06 +0200 Subject: Tune shadow perspective distortion (#12146) * Pass perspective distortion parameters as uniforms * Set all perspective bias parameters via ShadowRenderer * Recalibrate perspective distortion and shadow range to render less shadow geometry with the same quality and observed shadow distance --- builtin/mainmenu/tab_settings.lua | 10 ++--- client/shaders/nodes_shader/opengl_fragment.glsl | 18 ++++---- client/shaders/nodes_shader/opengl_vertex.glsl | 8 ++-- client/shaders/object_shader/opengl_fragment.glsl | 18 ++++---- client/shaders/object_shader/opengl_vertex.glsl | 8 ++-- .../shaders/shadow_shaders/pass1_trans_vertex.glsl | 10 ++--- client/shaders/shadow_shaders/pass1_vertex.glsl | 10 ++--- src/client/shader.cpp | 48 ++++++++++++++++------ src/client/shadows/dynamicshadowsrender.cpp | 25 +++++++++-- src/client/shadows/dynamicshadowsrender.h | 6 +++ src/client/shadows/shadowsshadercallbacks.cpp | 6 +++ src/client/shadows/shadowsshadercallbacks.h | 9 +++- 12 files changed, 117 insertions(+), 59 deletions(-) diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index 42f7f8daf..0e761d324 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -364,11 +364,11 @@ local function handle_settings_buttons(this, fields, tabname, tabdata) core.settings:set("enable_dynamic_shadows", "false") else local shadow_presets = { - [2] = { 80, 512, "true", 0, "false" }, - [3] = { 120, 1024, "true", 1, "false" }, - [4] = { 350, 2048, "true", 1, "false" }, - [5] = { 350, 2048, "true", 2, "true" }, - [6] = { 450, 4096, "true", 2, "true" }, + [2] = { 55, 512, "true", 0, "false" }, + [3] = { 82, 1024, "true", 1, "false" }, + [4] = { 240, 2048, "true", 1, "false" }, + [5] = { 240, 2048, "true", 2, "true" }, + [6] = { 300, 4096, "true", 2, "true" }, } local s = shadow_presets[table.indexof(labels.shadow_levels, fields["dd_shadows"])] if s then diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index adc8adccb..3dc66bdb3 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -47,17 +47,17 @@ const float fogShadingParameter = 1.0 / ( 1.0 - fogStart); #ifdef ENABLE_DYNAMIC_SHADOWS -const float bias0 = 0.9; -const float zPersFactor = 0.5; -const float bias1 = 1.0 - bias0 + 1e-6; +uniform float xyPerspectiveBias0; +uniform float xyPerspectiveBias1; +uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { float pDistance = length(shadowPosition.xy); - float pFactor = pDistance * bias0 + bias1; + float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPersFactor); + shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); return shadowPosition; } @@ -172,12 +172,12 @@ float getHardShadowDepth(sampler2D shadowsampler, vec2 smTexCoord, float realDis float getBaseLength(vec2 smTexCoord) { float l = length(2.0 * smTexCoord.xy - 1.0); // length in texture coords - return bias1 / (1.0 / l - bias0); // return to undistorted coords + return xyPerspectiveBias1 / (1.0 / l - xyPerspectiveBias0); // return to undistorted coords } float getDeltaPerspectiveFactor(float l) { - return 0.1 / (bias0 * l + bias1); // original distortion factor, divided by 10 + return 0.1 / (xyPerspectiveBias0 * l + xyPerspectiveBias1); // original distortion factor, divided by 10 } float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDistance, float multiplier) @@ -489,8 +489,8 @@ void main(void) vec3 shadow_color = vec3(0.0, 0.0, 0.0); vec3 posLightSpace = getLightSpacePosition(); - float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); - float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); + float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 50.0)); + float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z),0.0); if (distance_rate > 1e-7) { diff --git a/client/shaders/nodes_shader/opengl_vertex.glsl b/client/shaders/nodes_shader/opengl_vertex.glsl index 5e77ac719..935fbf043 100644 --- a/client/shaders/nodes_shader/opengl_vertex.glsl +++ b/client/shaders/nodes_shader/opengl_vertex.glsl @@ -45,8 +45,8 @@ varying float nightRatio; const vec3 artificialLight = vec3(1.04, 1.04, 1.04); const float e = 2.718281828459; const float BS = 10.0; -const float bias0 = 0.9; -const float bias1 = 1.0 - bias0; +uniform float xyPerspectiveBias0; +uniform float xyPerspectiveBias1; #ifdef ENABLE_DYNAMIC_SHADOWS // custom smoothstep implementation because it's not defined in glsl1.2 @@ -206,9 +206,9 @@ void main(void) // Distance from the vertex to the player float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; // perspective factor estimation according to the - float perspectiveFactor = distanceToPlayer * bias0 + bias1; + float perspectiveFactor = distanceToPlayer * xyPerspectiveBias0 + xyPerspectiveBias1; float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / - (f_textureresolution * bias1 - perspectiveFactor * bias0); + (f_textureresolution * xyPerspectiveBias1 - perspectiveFactor * xyPerspectiveBias0); float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); normalOffsetScale = texelSize * slopeScale; diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index edb9d2bb1..2b9a59cd7 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -43,17 +43,17 @@ const float fogShadingParameter = 1.0 / (1.0 - fogStart); #endif #ifdef ENABLE_DYNAMIC_SHADOWS -const float bias0 = 0.9; -const float zPersFactor = 0.5; -const float bias1 = 1.0 - bias0 + 1e-6; +uniform float xyPerspectiveBias0; +uniform float xyPerspectiveBias1; +uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { float pDistance = length(shadowPosition.xy); - float pFactor = pDistance * bias0 + bias1; + float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPersFactor); + shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); return shadowPosition; } @@ -162,12 +162,12 @@ float getHardShadowDepth(sampler2D shadowsampler, vec2 smTexCoord, float realDis float getBaseLength(vec2 smTexCoord) { float l = length(2.0 * smTexCoord.xy - 1.0); // length in texture coords - return bias1 / (1.0 / l - bias0); // return to undistorted coords + return xyPerspectiveBias1 / (1.0 / l - xyPerspectiveBias0); // return to undistorted coords } float getDeltaPerspectiveFactor(float l) { - return 0.1 / (bias0 * l + bias1); // original distortion factor, divided by 10 + return 0.1 / (xyPerspectiveBias0 * l + xyPerspectiveBias1); // original distortion factor, divided by 10 } float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDistance, float multiplier) @@ -477,8 +477,8 @@ void main(void) vec3 shadow_color = vec3(0.0, 0.0, 0.0); vec3 posLightSpace = getLightSpacePosition(); - float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 20.0)); - float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z ),0.0); + float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 50.0)); + float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z),0.0); if (distance_rate > 1e-7) { diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index ff0067302..55861b0e9 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -37,8 +37,8 @@ const vec3 artificialLight = vec3(1.04, 1.04, 1.04); varying float vIDiff; const float e = 2.718281828459; const float BS = 10.0; -const float bias0 = 0.9; -const float bias1 = 1.0 - bias0; +uniform float xyPerspectiveBias0; +uniform float xyPerspectiveBias1; #ifdef ENABLE_DYNAMIC_SHADOWS // custom smoothstep implementation because it's not defined in glsl1.2 @@ -116,9 +116,9 @@ void main(void) // Distance from the vertex to the player float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; // perspective factor estimation according to the - float perspectiveFactor = distanceToPlayer * bias0 + bias1; + float perspectiveFactor = distanceToPlayer * xyPerspectiveBias0 + xyPerspectiveBias1; float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / - (f_textureresolution * bias1 - perspectiveFactor * bias0); + (f_textureresolution * xyPerspectiveBias1 - perspectiveFactor * xyPerspectiveBias0); float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); normalOffsetScale = texelSize * slopeScale; diff --git a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl index 0a9efe450..6d2877d18 100644 --- a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl @@ -4,15 +4,15 @@ varying vec4 tPos; varying vec3 varColor; #endif -const float bias0 = 0.9; -const float zPersFactor = 0.5; -const float bias1 = 1.0 - bias0 + 1e-6; +uniform float xyPerspectiveBias0; +uniform float xyPerspectiveBias1; +uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { float pDistance = length(shadowPosition.xy); - float pFactor = pDistance * bias0 + bias1; - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPersFactor); + float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; + shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); return shadowPosition; } diff --git a/client/shaders/shadow_shaders/pass1_vertex.glsl b/client/shaders/shadow_shaders/pass1_vertex.glsl index feee9467f..3873ac6e6 100644 --- a/client/shaders/shadow_shaders/pass1_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_vertex.glsl @@ -1,15 +1,15 @@ uniform mat4 LightMVP; // world matrix varying vec4 tPos; -const float bias0 = 0.9; -const float zPersFactor = 0.5; -const float bias1 = 1.0 - bias0 + 1e-6; +uniform float xyPerspectiveBias0; +uniform float xyPerspectiveBias1; +uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { float pDistance = length(shadowPosition.xy); - float pFactor = pDistance * bias0 + bias1; - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPersFactor); + float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; + shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); return shadowPosition; } diff --git a/src/client/shader.cpp b/src/client/shader.cpp index fa5ffb914..d9c1952c4 100644 --- a/src/client/shader.cpp +++ b/src/client/shader.cpp @@ -210,17 +210,23 @@ public: class MainShaderConstantSetter : public IShaderConstantSetter { - CachedVertexShaderSetting m_world_view_proj; - CachedVertexShaderSetting m_world; + CachedVertexShaderSetting m_world_view_proj; + CachedVertexShaderSetting m_world; // Shadow-related - CachedPixelShaderSetting m_shadow_view_proj; - CachedPixelShaderSetting m_light_direction; - CachedPixelShaderSetting m_texture_res; - CachedPixelShaderSetting m_shadow_strength; - CachedPixelShaderSetting m_time_of_day; - CachedPixelShaderSetting m_shadowfar; + CachedPixelShaderSetting m_shadow_view_proj; + CachedPixelShaderSetting m_light_direction; + CachedPixelShaderSetting m_texture_res; + CachedPixelShaderSetting m_shadow_strength; + CachedPixelShaderSetting m_time_of_day; + CachedPixelShaderSetting m_shadowfar; CachedPixelShaderSetting m_shadow_texture; + CachedVertexShaderSetting m_perspective_bias0_vertex; + CachedPixelShaderSetting m_perspective_bias0_pixel; + CachedVertexShaderSetting m_perspective_bias1_vertex; + CachedPixelShaderSetting m_perspective_bias1_pixel; + CachedVertexShaderSetting m_perspective_zbias_vertex; + CachedPixelShaderSetting m_perspective_zbias_pixel; #if ENABLE_GLES // Modelview matrix @@ -247,6 +253,12 @@ public: , m_time_of_day("f_timeofday") , m_shadowfar("f_shadowfar") , m_shadow_texture("ShadowMapSampler") + , m_perspective_bias0_vertex("xyPerspectiveBias0") + , m_perspective_bias0_pixel("xyPerspectiveBias0") + , m_perspective_bias1_vertex("xyPerspectiveBias1") + , m_perspective_bias1_pixel("xyPerspectiveBias1") + , m_perspective_zbias_vertex("zPerspectiveBias") + , m_perspective_zbias_pixel("zPerspectiveBias") {} ~MainShaderConstantSetter() = default; @@ -293,26 +305,36 @@ public: shadowViewProj *= light.getViewMatrix(); m_shadow_view_proj.set(shadowViewProj.pointer(), services); - float v_LightDirection[3]; + f32 v_LightDirection[3]; light.getDirection().getAs3Values(v_LightDirection); m_light_direction.set(v_LightDirection, services); - float TextureResolution = light.getMapResolution(); + f32 TextureResolution = light.getMapResolution(); m_texture_res.set(&TextureResolution, services); - float ShadowStrength = shadow->getShadowStrength(); + f32 ShadowStrength = shadow->getShadowStrength(); m_shadow_strength.set(&ShadowStrength, services); - float timeOfDay = shadow->getTimeOfDay(); + f32 timeOfDay = shadow->getTimeOfDay(); m_time_of_day.set(&timeOfDay, services); - float shadowFar = shadow->getMaxShadowFar(); + f32 shadowFar = shadow->getMaxShadowFar(); m_shadowfar.set(&shadowFar, services); // I dont like using this hardcoded value. maybe something like // MAX_TEXTURE - 1 or somthing like that?? s32 TextureLayerID = 3; m_shadow_texture.set(&TextureLayerID, services); + + f32 bias0 = shadow->getPerspectiveBiasXY(); + m_perspective_bias0_vertex.set(&bias0, services); + m_perspective_bias0_pixel.set(&bias0, services); + f32 bias1 = 1.0f - bias0 + 1e-5f; + m_perspective_bias1_vertex.set(&bias1, services); + m_perspective_bias1_pixel.set(&bias1, services); + f32 zbias = shadow->getPerspectiveBiasZ(); + m_perspective_zbias_vertex.set(&zbias, services); + m_perspective_zbias_pixel.set(&zbias, services); } } }; diff --git a/src/client/shadows/dynamicshadowsrender.cpp b/src/client/shadows/dynamicshadowsrender.cpp index 24adb21e2..262711221 100644 --- a/src/client/shadows/dynamicshadowsrender.cpp +++ b/src/client/shadows/dynamicshadowsrender.cpp @@ -32,7 +32,8 @@ with this program; if not, write to the Free Software Foundation, Inc., ShadowRenderer::ShadowRenderer(IrrlichtDevice *device, Client *client) : m_device(device), m_smgr(device->getSceneManager()), - m_driver(device->getVideoDriver()), m_client(client), m_current_frame(0) + m_driver(device->getVideoDriver()), m_client(client), m_current_frame(0), + m_perspective_bias_xy(0.8), m_perspective_bias_z(0.5) { m_shadows_supported = true; // assume shadows supported. We will check actual support in initialize m_shadows_enabled = true; @@ -59,6 +60,10 @@ ShadowRenderer::~ShadowRenderer() if (m_shadow_depth_cb) delete m_shadow_depth_cb; + if (m_shadow_depth_entity_cb) + delete m_shadow_depth_entity_cb; + if (m_shadow_depth_trans_cb) + delete m_shadow_depth_trans_cb; if (m_shadow_mix_cb) delete m_shadow_mix_cb; m_shadow_node_array.clear(); @@ -250,8 +255,13 @@ void ShadowRenderer::updateSMTextures() // Update SM incrementally: for (DirectionalLight &light : m_light_list) { // Static shader values. - m_shadow_depth_cb->MapRes = (f32)m_shadow_map_texture_size; - m_shadow_depth_cb->MaxFar = (f32)m_shadow_map_max_distance * BS; + for (auto cb : {m_shadow_depth_cb, m_shadow_depth_entity_cb, m_shadow_depth_trans_cb}) + if (cb) { + cb->MapRes = (f32)m_shadow_map_texture_size; + cb->MaxFar = (f32)m_shadow_map_max_distance * BS; + cb->PerspectiveBiasXY = getPerspectiveBiasXY(); + cb->PerspectiveBiasZ = getPerspectiveBiasZ(); + } // set the Render Target // right now we can only render in usual RTT, not @@ -533,6 +543,8 @@ void ShadowRenderer::createShaders() if (depth_shader == -1) { // upsi, something went wrong loading shader. delete m_shadow_depth_cb; + m_shadow_depth_cb = nullptr; + m_shadows_enabled = false; m_shadows_supported = false; errorstream << "Error compiling shadow mapping shader." << std::endl; return; @@ -559,15 +571,19 @@ void ShadowRenderer::createShaders() errorstream << "Error shadow mapping fs shader not found." << std::endl; return; } + m_shadow_depth_entity_cb = new ShadowDepthShaderCB(); depth_shader_entities = gpu->addHighLevelShaderMaterial( readShaderFile(depth_shader_vs).c_str(), "vertexMain", video::EVST_VS_1_1, readShaderFile(depth_shader_fs).c_str(), "pixelMain", - video::EPST_PS_1_2, m_shadow_depth_cb); + video::EPST_PS_1_2, m_shadow_depth_entity_cb); if (depth_shader_entities == -1) { // upsi, something went wrong loading shader. + delete m_shadow_depth_entity_cb; + m_shadow_depth_entity_cb = nullptr; + m_shadows_enabled = false; m_shadows_supported = false; errorstream << "Error compiling shadow mapping shader (dynamic)." << std::endl; return; @@ -643,6 +659,7 @@ void ShadowRenderer::createShaders() if (depth_shader_trans == -1) { // upsi, something went wrong loading shader. delete m_shadow_depth_trans_cb; + m_shadow_depth_trans_cb = nullptr; m_shadow_map_colored = false; m_shadows_supported = false; errorstream << "Error compiling colored shadow mapping shader." << std::endl; diff --git a/src/client/shadows/dynamicshadowsrender.h b/src/client/shadows/dynamicshadowsrender.h index dc8f79c56..bbeb254b0 100644 --- a/src/client/shadows/dynamicshadowsrender.h +++ b/src/client/shadows/dynamicshadowsrender.h @@ -90,6 +90,9 @@ public: float getShadowStrength() const { return m_shadows_enabled ? m_shadow_strength : 0.0f; } float getTimeOfDay() const { return m_time_day; } + f32 getPerspectiveBiasXY() { return m_perspective_bias_xy; } + f32 getPerspectiveBiasZ() { return m_perspective_bias_z; } + private: video::ITexture *getSMTexture(const std::string &shadow_map_name, video::ECOLOR_FORMAT texture_format, @@ -131,6 +134,8 @@ private: bool m_shadow_map_colored; u8 m_map_shadow_update_frames; /* Use this number of frames to update map shaodw */ u8 m_current_frame{0}; /* Current frame */ + f32 m_perspective_bias_xy; + f32 m_perspective_bias_z; video::ECOLOR_FORMAT m_texture_format{video::ECOLOR_FORMAT::ECF_R16F}; video::ECOLOR_FORMAT m_texture_format_color{video::ECOLOR_FORMAT::ECF_R16G16}; @@ -146,6 +151,7 @@ private: s32 mixcsm_shader{-1}; ShadowDepthShaderCB *m_shadow_depth_cb{nullptr}; + ShadowDepthShaderCB *m_shadow_depth_entity_cb{nullptr}; ShadowDepthShaderCB *m_shadow_depth_trans_cb{nullptr}; shadowScreenQuad *m_screen_quad{nullptr}; diff --git a/src/client/shadows/shadowsshadercallbacks.cpp b/src/client/shadows/shadowsshadercallbacks.cpp index 65a63f49c..51ea8aa93 100644 --- a/src/client/shadows/shadowsshadercallbacks.cpp +++ b/src/client/shadows/shadowsshadercallbacks.cpp @@ -33,4 +33,10 @@ void ShadowDepthShaderCB::OnSetConstants( m_max_far_setting.set(&MaxFar, services); s32 TextureId = 0; m_color_map_sampler_setting.set(&TextureId, services); + f32 bias0 = PerspectiveBiasXY; + m_perspective_bias0.set(&bias0, services); + f32 bias1 = 1.0f - bias0 + 1e-5f; + m_perspective_bias1.set(&bias1, services); + f32 zbias = PerspectiveBiasZ; + m_perspective_zbias.set(&zbias, services); } diff --git a/src/client/shadows/shadowsshadercallbacks.h b/src/client/shadows/shadowsshadercallbacks.h index 3549567c3..d00f59c37 100644 --- a/src/client/shadows/shadowsshadercallbacks.h +++ b/src/client/shadows/shadowsshadercallbacks.h @@ -30,7 +30,10 @@ public: m_light_mvp_setting("LightMVP"), m_map_resolution_setting("MapResolution"), m_max_far_setting("MaxFar"), - m_color_map_sampler_setting("ColorMapSampler") + m_color_map_sampler_setting("ColorMapSampler"), + m_perspective_bias0("xyPerspectiveBias0"), + m_perspective_bias1("xyPerspectiveBias1"), + m_perspective_zbias("zPerspectiveBias") {} void OnSetMaterial(const video::SMaterial &material) override {} @@ -39,10 +42,14 @@ public: s32 userData) override; f32 MaxFar{2048.0f}, MapRes{1024.0f}; + f32 PerspectiveBiasXY {0.9f}, PerspectiveBiasZ {0.5f}; private: CachedVertexShaderSetting m_light_mvp_setting; CachedVertexShaderSetting m_map_resolution_setting; CachedVertexShaderSetting m_max_far_setting; CachedPixelShaderSetting m_color_map_sampler_setting; + CachedVertexShaderSetting m_perspective_bias0; + CachedVertexShaderSetting m_perspective_bias1; + CachedVertexShaderSetting m_perspective_zbias; }; -- cgit v1.2.3 From 3dd7d7867b14058d3329f1ce2bd2e85713ff50b1 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 31 Mar 2022 22:40:59 +0200 Subject: Limit shadow map to the viewing range (#12158) --- src/client/shadows/dynamicshadows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/shadows/dynamicshadows.cpp b/src/client/shadows/dynamicshadows.cpp index a45bf64fe..2995ec205 100644 --- a/src/client/shadows/dynamicshadows.cpp +++ b/src/client/shadows/dynamicshadows.cpp @@ -93,6 +93,8 @@ void DirectionalLight::update_frustum(const Camera *cam, Client *client, bool fo float zNear = cam->getCameraNode()->getNearValue(); float zFar = getMaxFarValue(); + if (!client->getEnv().getClientMap().getControl().range_all) + zFar = MYMIN(zFar, client->getEnv().getClientMap().getControl().wanted_range * BS); /////////////////////////////////// // update splits near and fars -- cgit v1.2.3 From cf650fcaac33af2c60af3880f9b28358e30d75a4 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Fri, 1 Apr 2022 01:01:44 +0200 Subject: Avoid negation of comparison operator (luacheck warning) --- builtin/game/chat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index b73e32876..493bb92c0 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -1282,7 +1282,7 @@ local function handle_kill_command(killer, victim) return false, S("@1 is already dead.", victim) end end - if not killer == victim then + if killer ~= victim then core.log("action", string.format("%s killed %s", killer, victim)) end -- Kill victim -- cgit v1.2.3 From 26c046a563f686f9309055f5d566a92d436eed7e Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Sat, 2 Apr 2022 10:39:43 +0200 Subject: Increase the ratio between shadow range and viewing range --- src/client/shadows/dynamicshadows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/shadows/dynamicshadows.cpp b/src/client/shadows/dynamicshadows.cpp index 2995ec205..ddec3a5d5 100644 --- a/src/client/shadows/dynamicshadows.cpp +++ b/src/client/shadows/dynamicshadows.cpp @@ -94,7 +94,7 @@ void DirectionalLight::update_frustum(const Camera *cam, Client *client, bool fo float zNear = cam->getCameraNode()->getNearValue(); float zFar = getMaxFarValue(); if (!client->getEnv().getClientMap().getControl().range_all) - zFar = MYMIN(zFar, client->getEnv().getClientMap().getControl().wanted_range * BS); + zFar = MYMIN(zFar, client->getEnv().getClientMap().getControl().wanted_range * BS * 1.5); /////////////////////////////////// // update splits near and fars -- cgit v1.2.3 From b0b9732359d43325c8bd820abeb8417353365a0c Mon Sep 17 00:00:00 2001 From: x2048 Date: Sat, 2 Apr 2022 10:42:27 +0200 Subject: Add depth sorting for node faces (#11696) Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning --- builtin/settingtypes.txt | 4 + src/client/clientmap.cpp | 244 ++++++++++++++++++++++++++------------ src/client/clientmap.h | 43 ++++--- src/client/content_mapblock.cpp | 57 ++++++++- src/client/mapblock_mesh.cpp | 257 +++++++++++++++++++++++++++++++++++++++- src/client/mapblock_mesh.h | 101 ++++++++++++++++ src/client/tile.h | 15 ++- src/defaultsettings.cpp | 1 + 8 files changed, 629 insertions(+), 93 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 3dc165bd1..b4230735b 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -858,6 +858,10 @@ autoscale_mode (Autoscaling mode) enum disable disable,enable,force # A restart is required after changing this. show_entity_selectionbox (Show entity selection boxes) bool false +# Distance in nodes at which transparency depth sorting is enabled +# Use this to limit the performance impact of transparency depth sorting +transparency_sorting_distance (Transparency Sorting Distance) int 16 0 128 + [*Menus] # Use a cloud animation for the main menu background. diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index 1a024e464..f070a58bb 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -97,9 +97,32 @@ ClientMap::ClientMap( m_cache_trilinear_filter = g_settings->getBool("trilinear_filter"); m_cache_bilinear_filter = g_settings->getBool("bilinear_filter"); m_cache_anistropic_filter = g_settings->getBool("anisotropic_filter"); + m_cache_transparency_sorting_distance = g_settings->getU16("transparency_sorting_distance"); } +void ClientMap::updateCamera(v3f pos, v3f dir, f32 fov, v3s16 offset) +{ + v3s16 previous_node = floatToInt(m_camera_position, BS) + m_camera_offset; + v3s16 previous_block = getContainerPos(previous_node, MAP_BLOCKSIZE); + + m_camera_position = pos; + m_camera_direction = dir; + m_camera_fov = fov; + m_camera_offset = offset; + + v3s16 current_node = floatToInt(m_camera_position, BS) + m_camera_offset; + v3s16 current_block = getContainerPos(current_node, MAP_BLOCKSIZE); + + // reorder the blocks when camera crosses block boundary + if (previous_block != current_block) + m_needs_update_drawlist = true; + + // reorder transparent meshes when camera crosses node boundary + if (previous_node != current_node) + m_needs_update_transparent_meshes = true; +} + MapSector * ClientMap::emergeSector(v2s16 p2d) { // Check that it doesn't exist already @@ -323,22 +346,17 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) u32 mesh_animate_count = 0; //u32 mesh_animate_count_far = 0; + /* + Update transparent meshes + */ + if (is_transparent_pass) + updateTransparentMeshBuffers(); + /* Draw the selected MapBlocks */ MeshBufListList grouped_buffers; - - struct DrawDescriptor { - v3s16 m_pos; - scene::IMeshBuffer *m_buffer; - bool m_reuse_material; - - DrawDescriptor(const v3s16 &pos, scene::IMeshBuffer *buffer, bool reuse_material) : - m_pos(pos), m_buffer(buffer), m_reuse_material(reuse_material) - {} - }; - std::vector draw_order; video::SMaterial previous_material; @@ -375,7 +393,15 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) /* Get the meshbuffers of the block */ - { + if (is_transparent_pass) { + // In transparent pass, the mesh will give us + // the partial buffers in the correct order + for (auto &buffer : block->mesh->getTransparentBuffers()) + draw_order.emplace_back(block_pos, &buffer); + } + else { + // otherwise, group buffers across meshes + // using MeshBufListList MapBlockMesh *mapBlockMesh = block->mesh; assert(mapBlockMesh); @@ -389,35 +415,14 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) video::SMaterial& material = buf->getMaterial(); video::IMaterialRenderer* rnd = - driver->getMaterialRenderer(material.MaterialType); + driver->getMaterialRenderer(material.MaterialType); bool transparent = (rnd && rnd->isTransparent()); - if (transparent == is_transparent_pass) { + if (!transparent) { if (buf->getVertexCount() == 0) errorstream << "Block [" << analyze_block(block) - << "] contains an empty meshbuf" << std::endl; - - material.setFlag(video::EMF_TRILINEAR_FILTER, - m_cache_trilinear_filter); - material.setFlag(video::EMF_BILINEAR_FILTER, - m_cache_bilinear_filter); - material.setFlag(video::EMF_ANISOTROPIC_FILTER, - m_cache_anistropic_filter); - material.setFlag(video::EMF_WIREFRAME, - m_control.show_wireframe); - - if (is_transparent_pass) { - // Same comparison as in MeshBufListList - bool new_material = material.getTexture(0) != previous_material.getTexture(0) || - material != previous_material; - - draw_order.emplace_back(block_pos, buf, !new_material); - - if (new_material) - previous_material = material; - } - else { - grouped_buffers.add(buf, block_pos, layer); - } + << "] contains an empty meshbuf" << std::endl; + + grouped_buffers.add(buf, block_pos, layer); } } } @@ -442,8 +447,17 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) // Render all mesh buffers in order drawcall_count += draw_order.size(); + for (auto &descriptor : draw_order) { - scene::IMeshBuffer *buf = descriptor.m_buffer; + scene::IMeshBuffer *buf; + + if (descriptor.m_use_partial_buffer) { + descriptor.m_partial_buffer->beforeDraw(); + buf = descriptor.m_partial_buffer->getBuffer(); + } + else { + buf = descriptor.m_buffer; + } // Check and abort if the machine is swapping a lot if (draw.getTimerTime() > 2000) { @@ -454,6 +468,17 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) if (!descriptor.m_reuse_material) { auto &material = buf->getMaterial(); + + // Apply filter settings + material.setFlag(video::EMF_TRILINEAR_FILTER, + m_cache_trilinear_filter); + material.setFlag(video::EMF_BILINEAR_FILTER, + m_cache_bilinear_filter); + material.setFlag(video::EMF_ANISOTROPIC_FILTER, + m_cache_anistropic_filter); + material.setFlag(video::EMF_WIREFRAME, + m_control.show_wireframe); + // pass the shadow map texture to the buffer texture ShadowRenderer *shadow = m_rendering_engine->get_shadow_renderer(); if (shadow && shadow->is_active()) { @@ -475,7 +500,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass) driver->setTransform(video::ETS_WORLD, m); driver->drawMeshBuffer(buf); - vertex_count += buf->getVertexCount(); + vertex_count += buf->getIndexCount(); } g_profiler->avg(prefix + "draw meshes [ms]", draw.stop(true)); @@ -698,7 +723,9 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver, u32 drawcall_count = 0; u32 vertex_count = 0; - MeshBufListList drawbufs; + MeshBufListList grouped_buffers; + std::vector draw_order; + int count = 0; int low_bound = is_transparent_pass ? 0 : m_drawlist_shadow.size() / total_frames * frame; @@ -727,7 +754,15 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver, /* Get the meshbuffers of the block */ - { + if (is_transparent_pass) { + // In transparent pass, the mesh will give us + // the partial buffers in the correct order + for (auto &buffer : block->mesh->getTransparentBuffers()) + draw_order.emplace_back(block_pos, &buffer); + } + else { + // otherwise, group buffers across meshes + // using MeshBufListList MapBlockMesh *mapBlockMesh = block->mesh; assert(mapBlockMesh); @@ -742,49 +777,74 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver, video::SMaterial &mat = buf->getMaterial(); auto rnd = driver->getMaterialRenderer(mat.MaterialType); bool transparent = rnd && rnd->isTransparent(); - if (transparent == is_transparent_pass) - drawbufs.add(buf, block_pos, layer); + if (!transparent) + grouped_buffers.add(buf, block_pos, layer); } } } } + u32 buffer_count = 0; + for (auto &lists : grouped_buffers.lists) + for (MeshBufList &list : lists) + buffer_count += list.bufs.size(); + + draw_order.reserve(draw_order.size() + buffer_count); + + // Capture draw order for all solid meshes + for (auto &lists : grouped_buffers.lists) { + for (MeshBufList &list : lists) { + // iterate in reverse to draw closest blocks first + for (auto it = list.bufs.rbegin(); it != list.bufs.rend(); ++it) + draw_order.emplace_back(it->first, it->second, it != list.bufs.rbegin()); + } + } + TimeTaker draw("Drawing shadow mesh buffers"); core::matrix4 m; // Model matrix v3f offset = intToFloat(m_camera_offset, BS); + u32 material_swaps = 0; - // Render all layers in order - for (auto &lists : drawbufs.lists) { - for (MeshBufList &list : lists) { - // Check and abort if the machine is swapping a lot - if (draw.getTimerTime() > 1000) { - infostream << "ClientMap::renderMapShadows(): Rendering " - "took >1s, returning." << std::endl; - break; - } - for (auto &pair : list.bufs) { - scene::IMeshBuffer *buf = pair.second; - - // override some material properties - video::SMaterial local_material = buf->getMaterial(); - local_material.MaterialType = material.MaterialType; - local_material.BackfaceCulling = material.BackfaceCulling; - local_material.FrontfaceCulling = material.FrontfaceCulling; - local_material.BlendOperation = material.BlendOperation; - local_material.Lighting = false; - driver->setMaterial(local_material); - - v3f block_wpos = intToFloat(pair.first * MAP_BLOCKSIZE, BS); - m.setTranslation(block_wpos - offset); - - driver->setTransform(video::ETS_WORLD, m); - driver->drawMeshBuffer(buf); - vertex_count += buf->getVertexCount(); - } + // Render all mesh buffers in order + drawcall_count += draw_order.size(); + + for (auto &descriptor : draw_order) { + scene::IMeshBuffer *buf; + + if (descriptor.m_use_partial_buffer) { + descriptor.m_partial_buffer->beforeDraw(); + buf = descriptor.m_partial_buffer->getBuffer(); + } + else { + buf = descriptor.m_buffer; + } - drawcall_count += list.bufs.size(); + // Check and abort if the machine is swapping a lot + if (draw.getTimerTime() > 1000) { + infostream << "ClientMap::renderMapShadows(): Rendering " + "took >1s, returning." << std::endl; + break; } + + if (!descriptor.m_reuse_material) { + // override some material properties + video::SMaterial local_material = buf->getMaterial(); + local_material.MaterialType = material.MaterialType; + local_material.BackfaceCulling = material.BackfaceCulling; + local_material.FrontfaceCulling = material.FrontfaceCulling; + local_material.BlendOperation = material.BlendOperation; + local_material.Lighting = false; + driver->setMaterial(local_material); + ++material_swaps; + } + + v3f block_wpos = intToFloat(descriptor.m_pos * MAP_BLOCKSIZE, BS); + m.setTranslation(block_wpos - offset); + + driver->setTransform(video::ETS_WORLD, m); + driver->drawMeshBuffer(buf); + vertex_count += buf->getIndexCount(); } // restore the driver material state @@ -796,6 +856,7 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver, g_profiler->avg(prefix + "draw meshes [ms]", draw.stop(true)); g_profiler->avg(prefix + "vertices drawn [#]", vertex_count); g_profiler->avg(prefix + "drawcalls [#]", drawcall_count); + g_profiler->avg(prefix + "material swaps [#]", material_swaps); } /* @@ -891,3 +952,40 @@ void ClientMap::updateDrawListShadow(const v3f &shadow_light_pos, const v3f &sha g_profiler->avg("SHADOW MapBlocks drawn [#]", m_drawlist_shadow.size()); g_profiler->avg("SHADOW MapBlocks loaded [#]", blocks_loaded); } + +void ClientMap::updateTransparentMeshBuffers() +{ + ScopeProfiler sp(g_profiler, "CM::updateTransparentMeshBuffers", SPT_AVG); + u32 sorted_blocks = 0; + u32 unsorted_blocks = 0; + f32 sorting_distance_sq = pow(m_cache_transparency_sorting_distance * BS, 2.0f); + + + // Update the order of transparent mesh buffers in each mesh + for (auto it = m_drawlist.begin(); it != m_drawlist.end(); it++) { + MapBlock* block = it->second; + if (!block->mesh) + continue; + + if (m_needs_update_transparent_meshes || + block->mesh->getTransparentBuffers().size() == 0) { + + v3s16 block_pos = block->getPos(); + v3f block_pos_f = intToFloat(block_pos * MAP_BLOCKSIZE + MAP_BLOCKSIZE / 2, BS); + f32 distance = m_camera_position.getDistanceFromSQ(block_pos_f); + if (distance <= sorting_distance_sq) { + block->mesh->updateTransparentBuffers(m_camera_position, block_pos); + ++sorted_blocks; + } + else { + block->mesh->consolidateTransparentBuffers(); + ++unsorted_blocks; + } + } + } + + g_profiler->avg("CM::Transparent Buffers - Sorted", sorted_blocks); + g_profiler->avg("CM::Transparent Buffers - Unsorted", unsorted_blocks); + m_needs_update_transparent_meshes = false; +} + diff --git a/src/client/clientmap.h b/src/client/clientmap.h index b4dc42395..d8554313d 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -56,6 +56,7 @@ struct MeshBufListList class Client; class ITextureSource; +class PartialMeshBuffer; /* ClientMap @@ -85,21 +86,7 @@ public: ISceneNode::drop(); } - void updateCamera(const v3f &pos, const v3f &dir, f32 fov, const v3s16 &offset) - { - v3s16 previous_block = getContainerPos(floatToInt(m_camera_position, BS) + m_camera_offset, MAP_BLOCKSIZE); - - m_camera_position = pos; - m_camera_direction = dir; - m_camera_fov = fov; - m_camera_offset = offset; - - v3s16 current_block = getContainerPos(floatToInt(m_camera_position, BS) + m_camera_offset, MAP_BLOCKSIZE); - - // reorder the blocks when camera crosses block boundary - if (previous_block != current_block) - m_needs_update_drawlist = true; - } + void updateCamera(v3f pos, v3f dir, f32 fov, v3s16 offset); /* Forcefully get a sector from somewhere @@ -150,6 +137,10 @@ public: f32 getCameraFov() const { return m_camera_fov; } private: + + // update the vertex order in transparent mesh buffers + void updateTransparentMeshBuffers(); + // Orders blocks by distance to the camera class MapBlockComparer { @@ -167,6 +158,26 @@ private: v3s16 m_camera_block; }; + + // reference to a mesh buffer used when rendering the map. + struct DrawDescriptor { + v3s16 m_pos; + union { + scene::IMeshBuffer *m_buffer; + const PartialMeshBuffer *m_partial_buffer; + }; + bool m_reuse_material:1; + bool m_use_partial_buffer:1; + + DrawDescriptor(v3s16 pos, scene::IMeshBuffer *buffer, bool reuse_material) : + m_pos(pos), m_buffer(buffer), m_reuse_material(reuse_material), m_use_partial_buffer(false) + {} + + DrawDescriptor(v3s16 pos, const PartialMeshBuffer *buffer) : + m_pos(pos), m_partial_buffer(buffer), m_reuse_material(false), m_use_partial_buffer(true) + {} + }; + Client *m_client; RenderingEngine *m_rendering_engine; @@ -179,6 +190,7 @@ private: v3f m_camera_direction = v3f(0,0,1); f32 m_camera_fov = M_PI; v3s16 m_camera_offset; + bool m_needs_update_transparent_meshes = true; std::map m_drawlist; std::map m_drawlist_shadow; @@ -190,4 +202,5 @@ private: bool m_cache_bilinear_filter; bool m_cache_anistropic_filter; bool m_added_to_shadow_renderer{false}; + u16 m_cache_transparency_sorting_distance; }; diff --git a/src/client/content_mapblock.cpp b/src/client/content_mapblock.cpp index bb2d6398f..947793ed0 100644 --- a/src/client/content_mapblock.cpp +++ b/src/client/content_mapblock.cpp @@ -381,12 +381,12 @@ void MapblockMeshGenerator::drawAutoLightedCuboid(aabb3f box, const f32 *txc, box.MinEdge *= f->visual_scale; box.MaxEdge *= f->visual_scale; } - box.MinEdge += origin; - box.MaxEdge += origin; if (!txc) { generateCuboidTextureCoords(box, texture_coord_buf); txc = texture_coord_buf; } + box.MinEdge += origin; + box.MaxEdge += origin; if (!tiles) { tiles = &tile; tile_count = 1; @@ -1377,6 +1377,59 @@ void MapblockMeshGenerator::drawNodeboxNode() std::vector boxes; n.getNodeBoxes(nodedef, &boxes, neighbors_set); + + bool isTransparent = false; + + for (const TileSpec &tile : tiles) { + if (tile.layers[0].isTransparent()) { + isTransparent = true; + break; + } + } + + if (isTransparent) { + std::vector sections; + // Preallocate 8 default splits + Min&Max for each nodebox + sections.reserve(8 + 2 * boxes.size()); + + for (int axis = 0; axis < 3; axis++) { + // identify sections + + if (axis == 0) { + // Default split at node bounds, up to 3 nodes in each direction + for (float s = -3.5f * BS; s < 4.0f * BS; s += 1.0f * BS) + sections.push_back(s); + } + else { + // Avoid readding the same 8 default splits for Y and Z + sections.resize(8); + } + + // Add edges of existing node boxes, rounded to 1E-3 + for (size_t i = 0; i < boxes.size(); i++) { + sections.push_back(std::floor(boxes[i].MinEdge[axis] * 1E3) * 1E-3); + sections.push_back(std::floor(boxes[i].MaxEdge[axis] * 1E3) * 1E-3); + } + + // split the boxes at recorded sections + // limit splits to avoid runaway crash if inner loop adds infinite splits + // due to e.g. precision problems. + // 100 is just an arbitrary, reasonably high number. + for (size_t i = 0; i < boxes.size() && i < 100; i++) { + aabb3f *box = &boxes[i]; + for (float section : sections) { + if (box->MinEdge[axis] < section && box->MaxEdge[axis] > section) { + aabb3f copy(*box); + copy.MinEdge[axis] = section; + box->MaxEdge[axis] = section; + boxes.push_back(copy); + box = &boxes[i]; // find new address of the box in case of reallocation + } + } + } + } + } + for (auto &box : boxes) drawAutoLightedCuboid(box, nullptr, tiles, 6); } diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index 03522eca9..8c7d66186 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -30,6 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "client/meshgen/collector.h" #include "client/renderingengine.h" #include +#include /* MeshMakeData @@ -1003,6 +1004,173 @@ static void applyTileColor(PreMeshBuffer &pmb) } } +/* + MapBlockBspTree +*/ + +void MapBlockBspTree::buildTree(const std::vector *triangles) +{ + this->triangles = triangles; + + nodes.clear(); + + // assert that triangle index can fit into s32 + assert(triangles->size() <= 0x7FFFFFFFL); + std::vector indexes; + indexes.reserve(triangles->size()); + for (u32 i = 0; i < triangles->size(); i++) + indexes.push_back(i); + + root = buildTree(v3f(1, 0, 0), v3f(85, 85, 85), 40, indexes, 0); +} + +/** + * @brief Find a candidate plane to split a set of triangles in two + * + * The candidate plane is represented by one of the triangles from the set. + * + * @param list Vector of indexes of the triangles in the set + * @param triangles Vector of all triangles in the BSP tree + * @return Address of the triangle that represents the proposed split plane + */ +static const MeshTriangle *findSplitCandidate(const std::vector &list, const std::vector &triangles) +{ + // find the center of the cluster. + v3f center(0, 0, 0); + size_t n = list.size(); + for (s32 i : list) { + center += triangles[i].centroid / n; + } + + // find the triangle with the largest area and closest to the center + const MeshTriangle *candidate_triangle = &triangles[list[0]]; + const MeshTriangle *ith_triangle; + for (s32 i : list) { + ith_triangle = &triangles[i]; + if (ith_triangle->areaSQ > candidate_triangle->areaSQ || + (ith_triangle->areaSQ == candidate_triangle->areaSQ && + ith_triangle->centroid.getDistanceFromSQ(center) < candidate_triangle->centroid.getDistanceFromSQ(center))) { + candidate_triangle = ith_triangle; + } + } + return candidate_triangle; +} + +s32 MapBlockBspTree::buildTree(v3f normal, v3f origin, float delta, const std::vector &list, u32 depth) +{ + // if the list is empty, don't bother + if (list.empty()) + return -1; + + // if there is only one triangle, or the delta is insanely small, this is a leaf node + if (list.size() == 1 || delta < 0.01) { + nodes.emplace_back(normal, origin, list, -1, -1); + return nodes.size() - 1; + } + + std::vector front_list; + std::vector back_list; + std::vector node_list; + + // split the list + for (s32 i : list) { + const MeshTriangle &triangle = (*triangles)[i]; + float factor = normal.dotProduct(triangle.centroid - origin); + if (factor == 0) + node_list.push_back(i); + else if (factor > 0) + front_list.push_back(i); + else + back_list.push_back(i); + } + + // define the new split-plane + v3f candidate_normal(normal.Z, normal.X, normal.Y); + float candidate_delta = delta; + if (depth % 3 == 2) + candidate_delta /= 2; + + s32 front_index = -1; + s32 back_index = -1; + + if (!front_list.empty()) { + v3f next_normal = candidate_normal; + v3f next_origin = origin + delta * normal; + float next_delta = candidate_delta; + if (next_delta < 10) { + const MeshTriangle *candidate = findSplitCandidate(front_list, *triangles); + next_normal = candidate->getNormal(); + next_origin = candidate->centroid; + } + front_index = buildTree(next_normal, next_origin, next_delta, front_list, depth + 1); + + // if there are no other triangles, don't create a new node + if (back_list.empty() && node_list.empty()) + return front_index; + } + + if (!back_list.empty()) { + v3f next_normal = candidate_normal; + v3f next_origin = origin - delta * normal; + float next_delta = candidate_delta; + if (next_delta < 10) { + const MeshTriangle *candidate = findSplitCandidate(back_list, *triangles); + next_normal = candidate->getNormal(); + next_origin = candidate->centroid; + } + + back_index = buildTree(next_normal, next_origin, next_delta, back_list, depth + 1); + + // if there are no other triangles, don't create a new node + if (front_list.empty() && node_list.empty()) + return back_index; + } + + nodes.emplace_back(normal, origin, node_list, front_index, back_index); + + return nodes.size() - 1; +} + +void MapBlockBspTree::traverse(s32 node, v3f viewpoint, std::vector &output) const +{ + if (node < 0) return; // recursion break; + + const TreeNode &n = nodes[node]; + float factor = n.normal.dotProduct(viewpoint - n.origin); + + if (factor > 0) + traverse(n.back_ref, viewpoint, output); + else + traverse(n.front_ref, viewpoint, output); + + if (factor != 0) + for (s32 i : n.triangle_refs) + output.push_back(i); + + if (factor > 0) + traverse(n.front_ref, viewpoint, output); + else + traverse(n.back_ref, viewpoint, output); +} + + + +/* + PartialMeshBuffer +*/ + +void PartialMeshBuffer::beforeDraw() const +{ + // Patch the indexes in the mesh buffer before draw + + m_buffer->Indices.clear(); + if (!m_vertex_indexes.empty()) { + for (auto index : m_vertex_indexes) + m_buffer->Indices.push_back(index); + } + m_buffer->setDirty(scene::EBT_INDEX); +} + /* MapBlockMesh */ @@ -1173,8 +1341,31 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data, v3s16 camera_offset): scene::SMeshBuffer *buf = new scene::SMeshBuffer(); buf->Material = material; - buf->append(&p.vertices[0], p.vertices.size(), - &p.indices[0], p.indices.size()); + switch (p.layer.material_type) { + // list of transparent materials taken from tile.h + case TILE_MATERIAL_ALPHA: + case TILE_MATERIAL_LIQUID_TRANSPARENT: + case TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT: + { + buf->append(&p.vertices[0], p.vertices.size(), + &p.indices[0], 0); + + MeshTriangle t; + t.buffer = buf; + for (u32 i = 0; i < p.indices.size(); i += 3) { + t.p1 = p.indices[i]; + t.p2 = p.indices[i + 1]; + t.p3 = p.indices[i + 2]; + t.updateAttributes(); + m_transparent_triangles.push_back(t); + } + } + break; + default: + buf->append(&p.vertices[0], p.vertices.size(), + &p.indices[0], p.indices.size()); + break; + } mesh->addMeshBuffer(buf); buf->drop(); } @@ -1187,6 +1378,7 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data, v3s16 camera_offset): } //std::cout<<"added "< triangle_refs; + m_bsp_tree.traverse(rel_camera_pos, triangle_refs); + + // arrange index sequences into partial buffers + m_transparent_buffers.clear(); + + scene::SMeshBuffer *current_buffer = nullptr; + std::vector current_strain; + for (auto i : triangle_refs) { + const auto &t = m_transparent_triangles[i]; + if (current_buffer != t.buffer) { + if (current_buffer) { + m_transparent_buffers.emplace_back(current_buffer, current_strain); + current_strain.clear(); + } + current_buffer = t.buffer; + } + current_strain.push_back(t.p1); + current_strain.push_back(t.p2); + current_strain.push_back(t.p3); + } + + if (!current_strain.empty()) + m_transparent_buffers.emplace_back(current_buffer, current_strain); +} + +void MapBlockMesh::consolidateTransparentBuffers() +{ + m_transparent_buffers.clear(); + + scene::SMeshBuffer *current_buffer = nullptr; + std::vector current_strain; + + // use the fact that m_transparent_triangles is already arranged by buffer + for (const auto &t : m_transparent_triangles) { + if (current_buffer != t.buffer) { + if (current_buffer != nullptr) { + this->m_transparent_buffers.emplace_back(current_buffer, current_strain); + current_strain.clear(); + } + current_buffer = t.buffer; + } + current_strain.push_back(t.p1); + current_strain.push_back(t.p2); + current_strain.push_back(t.p3); + } + + if (!current_strain.empty()) { + this->m_transparent_buffers.emplace_back(current_buffer, current_strain); + } +} + video::SColor encode_light(u16 light, u8 emissive_light) { // Get components diff --git a/src/client/mapblock_mesh.h b/src/client/mapblock_mesh.h index 3b17c4af9..cfc39ade2 100644 --- a/src/client/mapblock_mesh.h +++ b/src/client/mapblock_mesh.h @@ -71,6 +71,91 @@ struct MeshMakeData void setSmoothLighting(bool smooth_lighting); }; +// represents a triangle as indexes into the vertex buffer in SMeshBuffer +class MeshTriangle +{ +public: + scene::SMeshBuffer *buffer; + u16 p1, p2, p3; + v3f centroid; + float areaSQ; + + void updateAttributes() + { + v3f v1 = buffer->getPosition(p1); + v3f v2 = buffer->getPosition(p2); + v3f v3 = buffer->getPosition(p3); + + centroid = (v1 + v2 + v3) / 3; + areaSQ = (v2-v1).crossProduct(v3-v1).getLengthSQ() / 4; + } + + v3f getNormal() const { + v3f v1 = buffer->getPosition(p1); + v3f v2 = buffer->getPosition(p2); + v3f v3 = buffer->getPosition(p3); + + return (v2-v1).crossProduct(v3-v1); + } +}; + +/** + * Implements a binary space partitioning tree + * See also: https://en.wikipedia.org/wiki/Binary_space_partitioning + */ +class MapBlockBspTree +{ +public: + MapBlockBspTree() {} + + void buildTree(const std::vector *triangles); + + void traverse(v3f viewpoint, std::vector &output) const + { + traverse(root, viewpoint, output); + } + +private: + // Tree node definition; + struct TreeNode + { + v3f normal; + v3f origin; + std::vector triangle_refs; + s32 front_ref; + s32 back_ref; + + TreeNode() = default; + TreeNode(v3f normal, v3f origin, const std::vector &triangle_refs, s32 front_ref, s32 back_ref) : + normal(normal), origin(origin), triangle_refs(triangle_refs), front_ref(front_ref), back_ref(back_ref) + {} + }; + + + s32 buildTree(v3f normal, v3f origin, float delta, const std::vector &list, u32 depth); + void traverse(s32 node, v3f viewpoint, std::vector &output) const; + + const std::vector *triangles = nullptr; // this reference is managed externally + std::vector nodes; // list of nodes + s32 root = -1; // index of the root node +}; + +class PartialMeshBuffer +{ +public: + PartialMeshBuffer(scene::SMeshBuffer *buffer, const std::vector &vertex_indexes) : + m_buffer(buffer), m_vertex_indexes(vertex_indexes) + {} + + scene::IMeshBuffer *getBuffer() const { return m_buffer; } + const std::vector &getVertexIndexes() const { return m_vertex_indexes; } + + void beforeDraw() const; +private: + scene::SMeshBuffer *m_buffer; + std::vector m_vertex_indexes; +}; + /* Holds a mesh for a mapblock. @@ -125,6 +210,15 @@ public: m_animation_force_timer--; } + /// update transparent buffers to render towards the camera + void updateTransparentBuffers(v3f camera_pos, v3s16 block_pos); + void consolidateTransparentBuffers(); + + /// get the list of transparent buffers + const std::vector &getTransparentBuffers() const + { + return this->m_transparent_buffers; + } private: scene::IMesh *m_mesh[MAX_TILE_LAYERS]; MinimapMapblock *m_minimap_mapblock; @@ -158,6 +252,13 @@ private: // of sunlit vertices // Keys are pairs of (mesh index, buffer index in the mesh) std::map, std::map > m_daynight_diffs; + + // list of all semitransparent triangles in the mapblock + std::vector m_transparent_triangles; + // Binary Space Partitioning tree for the block + MapBlockBspTree m_bsp_tree; + // Ordered list of references to parts of transparent buffers to draw + std::vector m_transparent_buffers; }; /*! diff --git a/src/client/tile.h b/src/client/tile.h index fe96cef58..88ff91f8e 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -260,6 +260,18 @@ struct TileLayer && (material_flags & MATERIAL_FLAG_TILEABLE_VERTICAL); } + bool isTransparent() const + { + switch (material_type) { + case TILE_MATERIAL_BASIC: + case TILE_MATERIAL_ALPHA: + case TILE_MATERIAL_LIQUID_TRANSPARENT: + case TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT: + return true; + } + return false; + } + // Ordered for size, please do not reorder video::ITexture *texture = nullptr; @@ -308,7 +320,8 @@ struct TileSpec for (int layer = 0; layer < MAX_TILE_LAYERS; layer++) { if (layers[layer] != other.layers[layer]) return false; - if (!layers[layer].isTileable()) + // Only non-transparent tiles can be merged into fast faces + if (layers[layer].isTransparent() || !layers[layer].isTileable()) return false; } return rotation == 0 diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 2e9a19199..b86287157 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -244,6 +244,7 @@ void set_default_settings() settings->setDefault("enable_particles", "true"); settings->setDefault("arm_inertia", "true"); settings->setDefault("show_nametag_backgrounds", "true"); + settings->setDefault("transparency_sorting_distance", "16"); settings->setDefault("enable_minimap", "true"); settings->setDefault("minimap_shape_round", "true"); -- cgit v1.2.3 From 837cea6b4a2315966b9670ae50cff9d3679bcff4 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 3 Apr 2022 21:44:22 +0200 Subject: Fix -mwindows flag not being applied anymore closes #12165 --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1d6177ba3..ac4c1de73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -723,7 +723,6 @@ else() if(MINGW) set(OTHER_FLAGS "${OTHER_FLAGS} -mthreads -fexceptions") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWIN32_LEAN_AND_MEAN") - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows") endif() # Use a safe subset of flags to speed up math calculations: @@ -760,6 +759,10 @@ else() if(USE_GPROF) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -pg") endif() + + if(MINGW) + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows") + endif() endif() -- cgit v1.2.3 From 21f17e871ea3de419f682a8088337ba6ae1d015e Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Thu, 7 Apr 2022 10:54:17 -0400 Subject: Compile Lua as C++ (#11683) Co-authored-by: sfan5 --- lib/lua/CMakeLists.txt | 25 +++++--------- lib/lua/src/CMakeLists.txt | 18 +++-------- lib/lua/src/luaconf.h | 14 ++++++-- src/unittest/CMakeLists.txt | 1 + src/unittest/test_lua.cpp | 79 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 103 insertions(+), 34 deletions(-) create mode 100644 src/unittest/test_lua.cpp diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt index 5d0dc0f70..2de4840cb 100644 --- a/lib/lua/CMakeLists.txt +++ b/lib/lua/CMakeLists.txt @@ -1,12 +1,10 @@ -project(lua C) +project(lua CXX) set(LUA_VERSION_MAJOR 5) set(LUA_VERSION_MINOR 1) set(LUA_VERSION_PATCH 4) set(LUA_VERSION "${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}.${LUA_VERSION_PATCH}") -set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) - set(COMMON_CFLAGS) set(COMMON_LDFLAGS) set(LIBS) @@ -50,19 +48,12 @@ if(LUA_ANSI) set(COMMON_CFLAGS "${COMMON_CFLAGS} -DLUA_ANSI") endif(LUA_ANSI) -# COMMON_CFLAGS has no effect without this line -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_CFLAGS}") - - -# Standard flags to use for each build type. -if(CMAKE_COMPILER_IS_GNUCC) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -Wall -Wextra -Wshadow -W -pedantic -std=gnu99") - set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2") - set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g") - set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_PROFILE} -O1 -g") - set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_WITHDEBINFO} -O2 -g") -endif(CMAKE_COMPILER_IS_GNUCC) - +# Standard flags to use +if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|(Apple)?Clang") + set(COMMON_CFLAGS "${COMMON_CFLAGS} -pipe -Wall -Wextra -Wshadow -W -pedantic") +endif() -add_subdirectory(src build) +# COMMON_CFLAGS has no effect without this line +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_CFLAGS}") +add_subdirectory(src) diff --git a/lib/lua/src/CMakeLists.txt b/lib/lua/src/CMakeLists.txt index 8f6cc1213..2ca4f4168 100644 --- a/lib/lua/src/CMakeLists.txt +++ b/lib/lua/src/CMakeLists.txt @@ -31,24 +31,14 @@ set(LUA_CORE_SRC lvm.c lzio.c ) -set(LUA_LIB_HEADERS - lua.h - lualib.h - lauxlib.h - luaconf.h -) - -include_directories(${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR}) -# Lua library. +# Lua library add_library(lua STATIC ${LUA_CORE_SRC}) target_link_libraries(lua ${LIBS}) -set(LUA_STATIC_LIB lua) -set(LUA_LIBS lua) - -set_target_properties(${LUA_LIBS} PROPERTIES +set_target_properties(lua PROPERTIES VERSION ${LUA_VERSION} CLEAN_DIRECT_OUTPUT 1 ) +# Compile code as C++ +set_source_files_properties(${LUA_CORE_SRC} PROPERTIES LANGUAGE CXX) diff --git a/lib/lua/src/luaconf.h b/lib/lua/src/luaconf.h index e2cb26163..1521f0cbc 100644 --- a/lib/lua/src/luaconf.h +++ b/lib/lua/src/luaconf.h @@ -143,6 +143,14 @@ #define LUA_INTEGER ptrdiff_t +/* MINETEST-SPECIFIC CHANGE: make sure API functions conform to the C ABI. */ +#if defined(__cplusplus) +#define LUAI_API_EXTERN extern "C" +#else +#define LUAI_API_EXTERN extern +#endif + + /* @@ LUA_API is a mark for all core API functions. @@ LUALIB_API is a mark for all standard library functions. @@ -154,14 +162,14 @@ #if defined(LUA_BUILD_AS_DLL) #if defined(LUA_CORE) || defined(LUA_LIB) -#define LUA_API __declspec(dllexport) +#define LUA_API LUAI_API_EXTERN __declspec(dllexport) #else -#define LUA_API __declspec(dllimport) +#define LUA_API LUAI_API_EXTERN __declspec(dllimport) #endif #else -#define LUA_API extern +#define LUA_API LUAI_API_EXTERN #endif diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index 92f31ecac..84f769e87 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -11,6 +11,7 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_filepath.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_inventory.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_irrptr.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/test_lua.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_map.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp diff --git a/src/unittest/test_lua.cpp b/src/unittest/test_lua.cpp new file mode 100644 index 000000000..fc8f895af --- /dev/null +++ b/src/unittest/test_lua.cpp @@ -0,0 +1,79 @@ +/* +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola +Copyright (C) 2021 TurkeyMcMac, Jude Melton-Houghton + +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 "test.h" + +extern "C" { +#include +#include +} + +class TestLua : public TestBase +{ +public: + TestLua() { TestManager::registerTestModule(this); } + const char *getName() { return "TestLua"; } + + void runTests(IGameDef *gamedef); + + void testLuaDestructors(); +}; + +static TestLua g_test_instance; + +void TestLua::runTests(IGameDef *gamedef) +{ + TEST(testLuaDestructors); +} + +//////////////////////////////////////////////////////////////////////////////// + +namespace +{ + + class DestructorDetector { + bool *did_destruct; + public: + DestructorDetector(bool *did_destruct) : did_destruct(did_destruct) + { + *did_destruct = false; + } + ~DestructorDetector() + { + *did_destruct = true; + } + }; + +} + +void TestLua::testLuaDestructors() +{ + bool did_destruct = false; + + lua_State *L = luaL_newstate(); + lua_cpcall(L, [](lua_State *L) -> int { + DestructorDetector d(reinterpret_cast(lua_touserdata(L, 1))); + luaL_error(L, "error"); + return 0; + }, &did_destruct); + lua_close(L); + + UASSERT(did_destruct); +} -- cgit v1.2.3 From 1348d9aaf834faa613bf3efe3a9d8fee758e85d0 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 7 Apr 2022 21:55:19 +0200 Subject: Enable shadows by default in devtest (#12157) * Move all shadow control to util_commands * Shadows are now controlled with /set_shadow Co-authored-by: sfan5 --- games/devtest/mods/experimental/lighting.lua | 8 -------- games/devtest/mods/util_commands/init.lua | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 games/devtest/mods/experimental/lighting.lua diff --git a/games/devtest/mods/experimental/lighting.lua b/games/devtest/mods/experimental/lighting.lua deleted file mode 100644 index 2b350550f..000000000 --- a/games/devtest/mods/experimental/lighting.lua +++ /dev/null @@ -1,8 +0,0 @@ -core.register_chatcommand("set_lighting", { - params = "shadow_intensity", - description = "Set lighting parameters.", - func = function(player_name, param) - local shadow_intensity = tonumber(param) - minetest.get_player_by_name(player_name):set_lighting({shadows = { intensity = shadow_intensity} }) - end -}) \ No newline at end of file diff --git a/games/devtest/mods/util_commands/init.lua b/games/devtest/mods/util_commands/init.lua index 9be989e67..c37364042 100644 --- a/games/devtest/mods/util_commands/init.lua +++ b/games/devtest/mods/util_commands/init.lua @@ -293,3 +293,17 @@ minetest.register_chatcommand("dump_item", { return true, str end, }) + +-- shadow control +minetest.register_on_joinplayer(function (player) + player:set_lighting({shadows={intensity = 0.33}}) +end) + +core.register_chatcommand("set_shadow", { + params = "", + description = "Set shadow parameters of current player.", + func = function(player_name, param) + local shadow_intensity = tonumber(param) + minetest.get_player_by_name(player_name):set_lighting({shadows = { intensity = shadow_intensity} }) + end +}) -- cgit v1.2.3 From 0b5b2b2633609f646a534d353a2c587af4be46fa Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Thu, 7 Apr 2022 15:58:04 -0400 Subject: Disentangle map implementations (#12148) Fixes violation of Liskov substitution principle Fixes #12144 --- src/client/clientmap.h | 4 +-- src/map.cpp | 45 ++++++++++++++++++------------- src/map.h | 59 ++++++++++++++++++----------------------- src/script/lua_api/l_env.cpp | 2 +- src/script/lua_api/l_vmanip.cpp | 2 +- src/server.cpp | 2 +- 6 files changed, 57 insertions(+), 57 deletions(-) diff --git a/src/client/clientmap.h b/src/client/clientmap.h index d8554313d..4edad0d20 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -76,9 +76,9 @@ public: virtual ~ClientMap() = default; - s32 mapType() const + bool maySaveBlocks() override { - return MAPTYPE_CLIENT; + return false; } void drop() diff --git a/src/map.cpp b/src/map.cpp index 1cbc55707..9c9324f5f 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -246,22 +246,6 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n, action.setSetNode(p, rollback_oldnode, rollback_newnode); m_gamedef->rollback()->reportAction(action); } - - /* - Add neighboring liquid nodes and this node to transform queue. - (it's vital for the node itself to get updated last, if it was removed.) - */ - - for (const v3s16 &dir : g_7dirs) { - v3s16 p2 = p + dir; - - bool is_valid_position; - MapNode n2 = getNode(p2, &is_valid_position); - if(is_valid_position && - (m_nodedef->get(n2).isLiquid() || - n2.getContent() == CONTENT_AIR)) - m_transforming_liquid.push_back(p2); - } } void Map::removeNodeAndUpdate(v3s16 p, @@ -342,7 +326,7 @@ struct TimeOrderedMapBlock { void Map::timerUpdate(float dtime, float unload_timeout, u32 max_loaded_blocks, std::vector *unloaded_blocks) { - bool save_before_unloading = (mapType() == MAPTYPE_SERVER); + bool save_before_unloading = maySaveBlocks(); // Profile modified reasons Profiler modprofiler; @@ -527,11 +511,11 @@ struct NodeNeighbor { { } }; -void Map::transforming_liquid_add(v3s16 p) { +void ServerMap::transforming_liquid_add(v3s16 p) { m_transforming_liquid.push_back(p); } -void Map::transformLiquids(std::map &modified_blocks, +void ServerMap::transformLiquids(std::map &modified_blocks, ServerEnvironment *env) { u32 loopcount = 0; @@ -1565,6 +1549,29 @@ bool ServerMap::isBlockInQueue(v3s16 pos) return m_emerge && m_emerge->isBlockInQueue(pos); } +void ServerMap::addNodeAndUpdate(v3s16 p, MapNode n, + std::map &modified_blocks, + bool remove_metadata) +{ + Map::addNodeAndUpdate(p, n, modified_blocks, remove_metadata); + + /* + Add neighboring liquid nodes and this node to transform queue. + (it's vital for the node itself to get updated last, if it was removed.) + */ + + for (const v3s16 &dir : g_7dirs) { + v3s16 p2 = p + dir; + + bool is_valid_position; + MapNode n2 = getNode(p2, &is_valid_position); + if(is_valid_position && + (m_nodedef->get(n2).isLiquid() || + n2.getContent() == CONTENT_AIR)) + m_transforming_liquid.push_back(p2); + } +} + // N.B. This requires no synchronization, since data will not be modified unless // the VoxelManipulator being updated belongs to the same thread. void ServerMap::updateVManip(v3s16 pos) diff --git a/src/map.h b/src/map.h index fe580b20f..9dc7a101c 100644 --- a/src/map.h +++ b/src/map.h @@ -54,10 +54,6 @@ struct BlockMakeData; MapEditEvent */ -#define MAPTYPE_BASE 0 -#define MAPTYPE_SERVER 1 -#define MAPTYPE_CLIENT 2 - enum MapEditEventType{ // Node added (changed from air or something else to something) MEET_ADDNODE, @@ -127,11 +123,6 @@ public: virtual ~Map(); DISABLE_CLASS_COPY(Map); - virtual s32 mapType() const - { - return MAPTYPE_BASE; - } - /* Drop (client) or delete (server) the map. */ @@ -180,7 +171,7 @@ public: /* These handle lighting but not faces. */ - void addNodeAndUpdate(v3s16 p, MapNode n, + virtual void addNodeAndUpdate(v3s16 p, MapNode n, std::map &modified_blocks, bool remove_metadata = true); void removeNodeAndUpdate(v3s16 p, @@ -200,6 +191,11 @@ public: virtual void save(ModifiedState save_level) { FATAL_ERROR("FIXME"); } + /* + Return true unless the map definitely cannot save blocks. + */ + virtual bool maySaveBlocks() { return true; } + // Server implements these. // Client leaves them as no-op. virtual bool saveBlock(MapBlock *block) { return false; } @@ -207,14 +203,14 @@ public: /* Updates usage timers and unloads unused blocks and sectors. - Saves modified blocks before unloading on MAPTYPE_SERVER. + Saves modified blocks before unloading if possible. */ void timerUpdate(float dtime, float unload_timeout, u32 max_loaded_blocks, std::vector *unloaded_blocks=NULL); /* Unloads all blocks with a zero refCount(). - Saves modified blocks before unloading on MAPTYPE_SERVER. + Saves modified blocks before unloading if possible. */ void unloadUnreferencedBlocks(std::vector *unloaded_blocks=NULL); @@ -226,9 +222,6 @@ public: // For debug printing. Prints "Map: ", "ServerMap: " or "ClientMap: " virtual void PrintInfo(std::ostream &out); - void transformLiquids(std::map & modified_blocks, - ServerEnvironment *env); - /* Node metadata These are basically coordinate wrappers to MapBlock @@ -267,12 +260,8 @@ public: Variables */ - void transforming_liquid_add(v3s16 p); - bool isBlockOccluded(MapBlock *block, v3s16 cam_pos_nodes); protected: - friend class LuaVoxelManip; - IGameDef *m_gamedef; std::set m_event_receivers; @@ -283,9 +272,6 @@ protected: MapSector *m_sector_cache = nullptr; v2s16 m_sector_cache_p; - // Queued transforming water nodes - UniqueQueue m_transforming_liquid; - // This stores the properties of the nodes on the map. const NodeDefManager *m_nodedef; @@ -294,12 +280,6 @@ protected: bool isOccluded(const v3s16 &pos_camera, const v3s16 &pos_target, float step, float stepfac, float start_offset, float end_offset, u32 needed_count); - -private: - f32 m_transforming_liquid_loop_count_multiplier = 1.0f; - u32 m_unprocessed_count = 0; - u64 m_inc_trending_up_start_time = 0; // milliseconds - bool m_queue_size_timer_started = false; }; /* @@ -317,11 +297,6 @@ public: ServerMap(const std::string &savedir, IGameDef *gamedef, EmergeManager *emerge, MetricsBackend *mb); ~ServerMap(); - s32 mapType() const - { - return MAPTYPE_SERVER; - } - /* Get a sector from somewhere. - Check memory @@ -364,6 +339,10 @@ public: bool isBlockInQueue(v3s16 pos); + void addNodeAndUpdate(v3s16 p, MapNode n, + std::map &modified_blocks, + bool remove_metadata) override; + /* Database functions */ @@ -406,9 +385,16 @@ public: bool repairBlockLight(v3s16 blockpos, std::map *modified_blocks); + void transformLiquids(std::map & modified_blocks, + ServerEnvironment *env); + + void transforming_liquid_add(v3s16 p); + MapSettingsManager settings_mgr; private: + friend class LuaVoxelManip; + // Emerge manager EmergeManager *m_emerge; @@ -419,6 +405,13 @@ private: std::set m_chunks_in_progress; + // Queued transforming water nodes + UniqueQueue m_transforming_liquid; + f32 m_transforming_liquid_loop_count_multiplier = 1.0f; + u32 m_unprocessed_count = 0; + u64 m_inc_trending_up_start_time = 0; // milliseconds + bool m_queue_size_timer_started = false; + /* Metadata is re-written on disk only if this is true. This is reset to false when written on disk. diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index 18ee3a521..54821df24 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -1386,7 +1386,7 @@ int ModApiEnvMod::l_transforming_liquid_add(lua_State *L) GET_ENV_PTR; v3s16 p0 = read_v3s16(L, 1); - env->getMap().transforming_liquid_add(p0); + env->getServerMap().transforming_liquid_add(p0); return 1; } diff --git a/src/script/lua_api/l_vmanip.cpp b/src/script/lua_api/l_vmanip.cpp index e040e545b..1fa080210 100644 --- a/src/script/lua_api/l_vmanip.cpp +++ b/src/script/lua_api/l_vmanip.cpp @@ -166,7 +166,7 @@ int LuaVoxelManip::l_update_liquids(lua_State *L) LuaVoxelManip *o = checkobject(L, 1); - Map *map = &(env->getMap()); + ServerMap *map = &(env->getServerMap()); const NodeDefManager *ndef = getServer(L)->getNodeDefManager(); MMVManip *vm = o->vm; diff --git a/src/server.cpp b/src/server.cpp index 4bc049e32..8ca8a9bda 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -665,7 +665,7 @@ void Server::AsyncRunStep(bool initial_step) ScopeProfiler sp(g_profiler, "Server: liquid transform"); std::map modified_blocks; - m_env->getMap().transformLiquids(modified_blocks, m_env); + m_env->getServerMap().transformLiquids(modified_blocks, m_env); /* Set the modified blocks unsent for all the clients -- cgit v1.2.3 From 48f7c5603e5b2dfca941d228e76e452bc269a1fa Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 7 Apr 2022 22:13:50 +0200 Subject: Adjust shadowmap distortion to use entire SM texture (#12166) --- client/shaders/nodes_shader/opengl_fragment.glsl | 25 +++--- client/shaders/object_shader/opengl_fragment.glsl | 89 +++++++++++++--------- .../shaders/shadow_shaders/pass1_trans_vertex.glsl | 10 ++- client/shaders/shadow_shaders/pass1_vertex.glsl | 10 ++- src/client/clientmap.cpp | 36 +++------ src/client/clientmap.h | 2 +- src/client/shader.cpp | 6 ++ src/client/shadows/dynamicshadows.cpp | 58 ++++++++------ src/client/shadows/dynamicshadows.h | 10 ++- src/client/shadows/dynamicshadowsrender.cpp | 11 +-- src/client/shadows/shadowsshadercallbacks.cpp | 6 ++ src/client/shadows/shadowsshadercallbacks.h | 5 +- 12 files changed, 156 insertions(+), 112 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 3dc66bdb3..4d0d107d1 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -17,6 +17,7 @@ uniform float animationTimer; uniform mat4 m_ShadowViewProj; uniform float f_shadowfar; uniform float f_shadow_strength; + uniform vec4 CameraPos; varying float normalOffsetScale; varying float adj_shadow_strength; varying float cosLight; @@ -53,12 +54,13 @@ uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { - - float pDistance = length(shadowPosition.xy); + vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); + vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); + float pDistance = length(l); float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); - + l /= pFactor; + shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; + shadowPosition.z *= zPerspectiveBias; return shadowPosition; } @@ -171,13 +173,13 @@ float getHardShadowDepth(sampler2D shadowsampler, vec2 smTexCoord, float realDis float getBaseLength(vec2 smTexCoord) { - float l = length(2.0 * smTexCoord.xy - 1.0); // length in texture coords + float l = length(2.0 * smTexCoord.xy - 1.0 - CameraPos.xy); // length in texture coords return xyPerspectiveBias1 / (1.0 / l - xyPerspectiveBias0); // return to undistorted coords } float getDeltaPerspectiveFactor(float l) { - return 0.1 / (xyPerspectiveBias0 * l + xyPerspectiveBias1); // original distortion factor, divided by 10 + return 0.04 * pow(512.0 / f_textureresolution, 0.4) / (xyPerspectiveBias0 * l + xyPerspectiveBias1); // original distortion factor, divided by 10 } float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDistance, float multiplier) @@ -185,7 +187,6 @@ float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDist float baseLength = getBaseLength(smTexCoord); float perspectiveFactor; - if (PCFBOUND == 0.0) return 0.0; // Return fast if sharp shadows are requested if (PCFBOUND == 0.0) return 0.0; @@ -489,11 +490,13 @@ void main(void) vec3 shadow_color = vec3(0.0, 0.0, 0.0); vec3 posLightSpace = getLightSpacePosition(); - float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 50.0)); + float distance_rate = (1.0 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 10.0)); + if (max(abs(posLightSpace.x - 0.5), abs(posLightSpace.y - 0.5)) > 0.5) + distance_rate = 0.0; float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z),0.0); if (distance_rate > 1e-7) { - + #ifdef COLORED_SHADOWS vec4 visibility; if (cosLight > 0.0) @@ -527,7 +530,7 @@ void main(void) } shadow_int *= f_adj_shadow_strength; - + // calculate fragment color from components: col.rgb = adjusted_night_ratio * col.rgb + // artificial light diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 2b9a59cd7..2611bf8ef 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -6,8 +6,33 @@ uniform vec4 skyBgColor; uniform float fogDistance; uniform vec3 eyePosition; +// The cameraOffset is the current center of the visible world. +uniform vec3 cameraOffset; +uniform float animationTimer; +#ifdef ENABLE_DYNAMIC_SHADOWS + // shadow texture + uniform sampler2D ShadowMapSampler; + // shadow uniforms + uniform vec3 v_LightDirection; + uniform float f_textureresolution; + uniform mat4 m_ShadowViewProj; + uniform float f_shadowfar; + uniform float f_shadow_strength; + uniform vec4 CameraPos; + varying float normalOffsetScale; + varying float adj_shadow_strength; + varying float cosLight; + varying float f_normal_length; +#endif + + varying vec3 vNormal; varying vec3 vPosition; +// World position in the visible world (i.e. relative to the cameraOffset.) +// This can be used for many shader effects without loss of precision. +// If the absolute position is required it can be calculated with +// cameraOffset + worldPosition (for large coordinates the limits of float +// precision must be considered). varying vec3 worldPosition; varying lowp vec4 varColor; #ifdef GL_ES @@ -15,32 +40,15 @@ varying mediump vec2 varTexCoord; #else centroid varying vec2 varTexCoord; #endif - varying vec3 eyeVec; varying float nightRatio; varying float vIDiff; -const float e = 2.718281828459; -const float BS = 10.0; const float fogStart = FOG_START; const float fogShadingParameter = 1.0 / (1.0 - fogStart); -#ifdef ENABLE_DYNAMIC_SHADOWS - // shadow texture - uniform sampler2D ShadowMapSampler; - // shadow uniforms - uniform vec3 v_LightDirection; - uniform float f_textureresolution; - uniform mat4 m_ShadowViewProj; - uniform float f_shadowfar; - uniform float f_timeofday; - uniform float f_shadow_strength; - varying float normalOffsetScale; - varying float adj_shadow_strength; - varying float cosLight; - varying float f_normal_length; -#endif + #ifdef ENABLE_DYNAMIC_SHADOWS uniform float xyPerspectiveBias0; @@ -49,15 +57,22 @@ uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { - - float pDistance = length(shadowPosition.xy); + vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); + vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); + float pDistance = length(l); float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); - + l /= pFactor; + shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; + shadowPosition.z *= zPerspectiveBias; return shadowPosition; } +// assuming near is always 1.0 +float getLinearDepth() +{ + return 2.0 * f_shadowfar / (f_shadowfar + 1.0 - (2.0 * gl_FragCoord.z - 1.0) * (f_shadowfar - 1.0)); +} + vec3 getLightSpacePosition() { vec4 pLightSpace; @@ -161,13 +176,13 @@ float getHardShadowDepth(sampler2D shadowsampler, vec2 smTexCoord, float realDis float getBaseLength(vec2 smTexCoord) { - float l = length(2.0 * smTexCoord.xy - 1.0); // length in texture coords + float l = length(2.0 * smTexCoord.xy - 1.0 - CameraPos.xy); // length in texture coords return xyPerspectiveBias1 / (1.0 / l - xyPerspectiveBias0); // return to undistorted coords } float getDeltaPerspectiveFactor(float l) { - return 0.1 / (xyPerspectiveBias0 * l + xyPerspectiveBias1); // original distortion factor, divided by 10 + return 0.04 * pow(512.0 / f_textureresolution, 0.4) / (xyPerspectiveBias0 * l + xyPerspectiveBias1); // original distortion factor, divided by 10 } float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDistance, float multiplier) @@ -178,7 +193,7 @@ float getPenumbraRadius(sampler2D shadowsampler, vec2 smTexCoord, float realDist // Return fast if sharp shadows are requested if (PCFBOUND == 0.0) return 0.0; - + if (SOFTSHADOWRADIUS <= 1.0) { perspectiveFactor = getDeltaPerspectiveFactor(baseLength); return max(2 * length(smTexCoord.xy) * 2048 / f_textureresolution / pow(perspectiveFactor, 3), SOFTSHADOWRADIUS); @@ -418,6 +433,7 @@ float getShadow(sampler2D shadowsampler, vec2 smTexCoord, float realDistance) #endif #if ENABLE_TONE_MAPPING + /* Hable's UC2 Tone mapping parameters A = 0.22; B = 0.30; @@ -448,12 +464,14 @@ vec4 applyToneMapping(vec4 color) } #endif + + void main(void) { vec3 color; vec2 uv = varTexCoord.st; - vec4 base = texture2D(baseTexture, uv).rgba; + vec4 base = texture2D(baseTexture, uv).rgba; // If alpha is zero, we can just discard the pixel. This fixes transparency // on GPUs like GC7000L, where GL_ALPHA_TEST is not implemented in mesa, // and also on GLES 2, where GL_ALPHA_TEST is missing entirely. @@ -467,8 +485,7 @@ void main(void) #endif color = base.rgb; - vec4 col = vec4(color.rgb, base.a); - col.rgb *= varColor.rgb; + vec4 col = vec4(color.rgb * varColor.rgb, 1.0); col.rgb *= vIDiff; #ifdef ENABLE_DYNAMIC_SHADOWS @@ -477,11 +494,13 @@ void main(void) vec3 shadow_color = vec3(0.0, 0.0, 0.0); vec3 posLightSpace = getLightSpacePosition(); - float distance_rate = (1 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 50.0)); + float distance_rate = (1.0 - pow(clamp(2.0 * length(posLightSpace.xy - 0.5),0.0,1.0), 10.0)); + if (max(abs(posLightSpace.x - 0.5), abs(posLightSpace.y - 0.5)) > 0.5) + distance_rate = 0.0; float f_adj_shadow_strength = max(adj_shadow_strength-mtsmoothstep(0.9,1.1, posLightSpace.z),0.0); if (distance_rate > 1e-7) { - + #ifdef COLORED_SHADOWS vec4 visibility; if (cosLight > 0.0) @@ -506,8 +525,8 @@ void main(void) // Power ratio was measured on torches in MTG (brightness = 14). float adjusted_night_ratio = pow(max(0.0, nightRatio), 0.6); - // cosine of the normal-to-light angle when - // we start to apply self-shadowing + // Apply self-shadowing when light falls at a narrow angle to the surface + // Cosine of the cut-off angle. const float self_shadow_cutoff_cosine = 0.14; if (f_normal_length != 0 && cosLight < self_shadow_cutoff_cosine) { shadow_int = max(shadow_int, 1 - clamp(cosLight, 0.0, self_shadow_cutoff_cosine)/self_shadow_cutoff_cosine); @@ -541,5 +560,7 @@ void main(void) float clarity = clamp(fogShadingParameter - fogShadingParameter * length(eyeVec) / fogDistance, 0.0, 1.0); col = mix(skyBgColor, col, clarity); - gl_FragColor = vec4(col.rgb, base.a); + col = vec4(col.rgb, base.a); + + gl_FragColor = col; } diff --git a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl index 6d2877d18..c2f575876 100644 --- a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl @@ -1,4 +1,5 @@ uniform mat4 LightMVP; // world matrix +uniform vec4 CameraPos; varying vec4 tPos; #ifdef COLORED_SHADOWS varying vec3 varColor; @@ -10,10 +11,13 @@ uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { - float pDistance = length(shadowPosition.xy); + vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); + vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); + float pDistance = length(l); float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); - + l /= pFactor; + shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; + shadowPosition.z *= zPerspectiveBias; return shadowPosition; } diff --git a/client/shaders/shadow_shaders/pass1_vertex.glsl b/client/shaders/shadow_shaders/pass1_vertex.glsl index 3873ac6e6..38aef3619 100644 --- a/client/shaders/shadow_shaders/pass1_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_vertex.glsl @@ -1,4 +1,5 @@ uniform mat4 LightMVP; // world matrix +uniform vec4 CameraPos; // camera position varying vec4 tPos; uniform float xyPerspectiveBias0; @@ -7,10 +8,13 @@ uniform float zPerspectiveBias; vec4 getPerspectiveFactor(in vec4 shadowPosition) { - float pDistance = length(shadowPosition.xy); + vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); + vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); + float pDistance = length(l); float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - shadowPosition.xyz *= vec3(vec2(1.0 / pFactor), zPerspectiveBias); - + l /= pFactor; + shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; + shadowPosition.z *= zPerspectiveBias; return shadowPosition; } diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index f070a58bb..8a059c922 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -862,20 +862,14 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver, /* Custom update draw list for the pov of shadow light. */ -void ClientMap::updateDrawListShadow(const v3f &shadow_light_pos, const v3f &shadow_light_dir, float shadow_range) +void ClientMap::updateDrawListShadow(v3f shadow_light_pos, v3f shadow_light_dir, float radius, float length) { ScopeProfiler sp(g_profiler, "CM::updateDrawListShadow()", SPT_AVG); - const v3f camera_position = shadow_light_pos; - const v3f camera_direction = shadow_light_dir; - // I "fake" fov just to avoid creating a new function to handle orthographic - // projection. - const f32 camera_fov = m_camera_fov * 1.9f; - - v3s16 cam_pos_nodes = floatToInt(camera_position, BS); + v3s16 cam_pos_nodes = floatToInt(shadow_light_pos, BS); v3s16 p_blocks_min; v3s16 p_blocks_max; - getBlocksInViewRange(cam_pos_nodes, &p_blocks_min, &p_blocks_max, shadow_range); + getBlocksInViewRange(cam_pos_nodes, &p_blocks_min, &p_blocks_max, radius + length); std::vector blocks_in_range; @@ -889,10 +883,10 @@ void ClientMap::updateDrawListShadow(const v3f &shadow_light_pos, const v3f &sha // they are not inside the light frustum and it creates glitches. // FIXME: This could be removed if we figure out why they are missing // from the light frustum. - for (auto &i : m_drawlist) { - i.second->refGrab(); - m_drawlist_shadow[i.first] = i.second; - } + // for (auto &i : m_drawlist) { + // i.second->refGrab(); + // m_drawlist_shadow[i.first] = i.second; + // } // Number of blocks currently loaded by the client u32 blocks_loaded = 0; @@ -919,23 +913,13 @@ void ClientMap::updateDrawListShadow(const v3f &shadow_light_pos, const v3f &sha continue; } - float range = shadow_range; - - float d = 0.0; - if (!isBlockInSight(block->getPos(), camera_position, - camera_direction, camera_fov, range, &d)) + v3f block_pos = intToFloat(block->getPos() * MAP_BLOCKSIZE, BS); + v3f projection = shadow_light_pos + shadow_light_dir * shadow_light_dir.dotProduct(block_pos - shadow_light_pos); + if (projection.getDistanceFrom(block_pos) > radius) continue; blocks_in_range_with_mesh++; - /* - Occlusion culling - */ - if (isBlockOccluded(block, cam_pos_nodes)) { - blocks_occlusion_culled++; - continue; - } - // This block is in range. Reset usage timer. block->resetUsageTimer(); diff --git a/src/client/clientmap.h b/src/client/clientmap.h index 4edad0d20..7bd7af266 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -116,7 +116,7 @@ public: void getBlocksInViewRange(v3s16 cam_pos_nodes, v3s16 *p_blocks_min, v3s16 *p_blocks_max, float range=-1.0f); void updateDrawList(); - void updateDrawListShadow(const v3f &shadow_light_pos, const v3f &shadow_light_dir, float shadow_range); + void updateDrawListShadow(v3f shadow_light_pos, v3f shadow_light_dir, float radius, float length); // Returns true if draw list needs updating before drawing the next frame. bool needsUpdateDrawList() { return m_needs_update_drawlist; } void renderMap(video::IVideoDriver* driver, s32 pass); diff --git a/src/client/shader.cpp b/src/client/shader.cpp index d9c1952c4..1be9ef128 100644 --- a/src/client/shader.cpp +++ b/src/client/shader.cpp @@ -220,6 +220,7 @@ class MainShaderConstantSetter : public IShaderConstantSetter CachedPixelShaderSetting m_shadow_strength; CachedPixelShaderSetting m_time_of_day; CachedPixelShaderSetting m_shadowfar; + CachedPixelShaderSetting m_camera_pos; CachedPixelShaderSetting m_shadow_texture; CachedVertexShaderSetting m_perspective_bias0_vertex; CachedPixelShaderSetting m_perspective_bias0_pixel; @@ -252,6 +253,7 @@ public: , m_shadow_strength("f_shadow_strength") , m_time_of_day("f_timeofday") , m_shadowfar("f_shadowfar") + , m_camera_pos("CameraPos") , m_shadow_texture("ShadowMapSampler") , m_perspective_bias0_vertex("xyPerspectiveBias0") , m_perspective_bias0_pixel("xyPerspectiveBias0") @@ -321,6 +323,10 @@ public: f32 shadowFar = shadow->getMaxShadowFar(); m_shadowfar.set(&shadowFar, services); + f32 cam_pos[4]; + shadowViewProj.transformVect(cam_pos, light.getPlayerPos()); + m_camera_pos.set(cam_pos, services); + // I dont like using this hardcoded value. maybe something like // MAX_TEXTURE - 1 or somthing like that?? s32 TextureLayerID = 3; diff --git a/src/client/shadows/dynamicshadows.cpp b/src/client/shadows/dynamicshadows.cpp index ddec3a5d5..ca2d3ce37 100644 --- a/src/client/shadows/dynamicshadows.cpp +++ b/src/client/shadows/dynamicshadows.cpp @@ -29,7 +29,6 @@ using m4f = core::matrix4; void DirectionalLight::createSplitMatrices(const Camera *cam) { - float radius; v3f newCenter; v3f look = cam->getDirection(); @@ -42,17 +41,16 @@ void DirectionalLight::createSplitMatrices(const Camera *cam) float sfFar = adjustDist(future_frustum.zFar, cam->getFovY()); // adjusted camera positions - v3f camPos2 = cam->getPosition(); - v3f camPos = v3f(camPos2.X - cam->getOffset().X * BS, - camPos2.Y - cam->getOffset().Y * BS, - camPos2.Z - cam->getOffset().Z * BS); - camPos += look * sfNear; - camPos2 += look * sfNear; + v3f cam_pos_world = cam->getPosition(); + v3f cam_pos_scene = v3f(cam_pos_world.X - cam->getOffset().X * BS, + cam_pos_world.Y - cam->getOffset().Y * BS, + cam_pos_world.Z - cam->getOffset().Z * BS); + cam_pos_scene += look * sfNear; + cam_pos_world += look * sfNear; // center point of light frustum - float end = sfNear + sfFar; - newCenter = camPos + look * (sfNear + 0.05f * end); - v3f world_center = camPos2 + look * (sfNear + 0.05f * end); + v3f center_scene = cam_pos_scene + look * 0.35 * (sfFar - sfNear); + v3f center_world = cam_pos_world + look * 0.35 * (sfFar - sfNear); // Create a vector to the frustum far corner const v3f &viewUp = cam->getCameraNode()->getUpVector(); @@ -60,22 +58,21 @@ void DirectionalLight::createSplitMatrices(const Camera *cam) v3f farCorner = (look + viewRight * tanFovX + viewUp * tanFovY).normalize(); // Compute the frustumBoundingSphere radius - v3f boundVec = (camPos + farCorner * sfFar) - newCenter; - radius = boundVec.getLength(); - // boundVec.getLength(); - float vvolume = radius; - v3f frustumCenter = newCenter; - v3f eye_displacement = direction * vvolume; + v3f boundVec = (cam_pos_scene + farCorner * sfFar) - center_scene; + float radius = boundVec.getLength(); + float length = radius * 3.0f; + v3f eye_displacement = direction * length; // we must compute the viewmat with the position - the camera offset // but the future_frustum position must be the actual world position - v3f eye = frustumCenter - eye_displacement; - future_frustum.position = world_center - eye_displacement; - future_frustum.length = vvolume; - future_frustum.ViewMat.buildCameraLookAtMatrixLH(eye, frustumCenter, v3f(0.0f, 1.0f, 0.0f)); - future_frustum.ProjOrthMat.buildProjectionMatrixOrthoLH(future_frustum.length, - future_frustum.length, -future_frustum.length, - future_frustum.length,false); + v3f eye = center_scene - eye_displacement; + future_frustum.player = cam_pos_scene; + future_frustum.position = center_world - eye_displacement; + future_frustum.length = length; + future_frustum.radius = radius; + future_frustum.ViewMat.buildCameraLookAtMatrixLH(eye, center_scene, v3f(0.0f, 1.0f, 0.0f)); + future_frustum.ProjOrthMat.buildProjectionMatrixOrthoLH(radius, radius, + 0.0f, length, false); future_frustum.camera_offset = cam->getOffset(); } @@ -94,7 +91,7 @@ void DirectionalLight::update_frustum(const Camera *cam, Client *client, bool fo float zNear = cam->getCameraNode()->getNearValue(); float zFar = getMaxFarValue(); if (!client->getEnv().getClientMap().getControl().range_all) - zFar = MYMIN(zFar, client->getEnv().getClientMap().getControl().wanted_range * BS * 1.5); + zFar = MYMIN(zFar, client->getEnv().getClientMap().getControl().wanted_range * BS); /////////////////////////////////// // update splits near and fars @@ -105,7 +102,7 @@ void DirectionalLight::update_frustum(const Camera *cam, Client *client, bool fo createSplitMatrices(cam); // get the draw list for shadows client->getEnv().getClientMap().updateDrawListShadow( - getPosition(), getDirection(), future_frustum.length); + getPosition(), getDirection(), future_frustum.radius, future_frustum.length); should_update_map_shadow = true; dirty = true; @@ -115,6 +112,7 @@ void DirectionalLight::update_frustum(const Camera *cam, Client *client, bool fo v3f rotated_offset; shadow_frustum.ViewMat.rotateVect(rotated_offset, intToFloat(cam_offset - shadow_frustum.camera_offset, BS)); shadow_frustum.ViewMat.setTranslation(shadow_frustum.ViewMat.getTranslation() + rotated_offset); + shadow_frustum.player += intToFloat(shadow_frustum.camera_offset - cam->getOffset(), BS); shadow_frustum.camera_offset = cam_offset; } } @@ -139,6 +137,16 @@ v3f DirectionalLight::getPosition() const return shadow_frustum.position; } +v3f DirectionalLight::getPlayerPos() const +{ + return shadow_frustum.player; +} + +v3f DirectionalLight::getFuturePlayerPos() const +{ + return future_frustum.player; +} + const m4f &DirectionalLight::getViewMatrix() const { return shadow_frustum.ViewMat; diff --git a/src/client/shadows/dynamicshadows.h b/src/client/shadows/dynamicshadows.h index 03dd36014..70574aa6c 100644 --- a/src/client/shadows/dynamicshadows.h +++ b/src/client/shadows/dynamicshadows.h @@ -29,12 +29,14 @@ class Client; struct shadowFrustum { - float zNear{0.0f}; - float zFar{0.0f}; - float length{0.0f}; + f32 zNear{0.0f}; + f32 zFar{0.0f}; + f32 length{0.0f}; + f32 radius{0.0f}; core::matrix4 ProjOrthMat; core::matrix4 ViewMat; v3f position; + v3f player; v3s16 camera_offset; }; @@ -57,6 +59,8 @@ public: return direction; }; v3f getPosition() const; + v3f getPlayerPos() const; + v3f getFuturePlayerPos() const; /// Gets the light's matrices. const core::matrix4 &getViewMatrix() const; diff --git a/src/client/shadows/dynamicshadowsrender.cpp b/src/client/shadows/dynamicshadowsrender.cpp index 262711221..1dfc90d1c 100644 --- a/src/client/shadows/dynamicshadowsrender.cpp +++ b/src/client/shadows/dynamicshadowsrender.cpp @@ -158,7 +158,6 @@ void ShadowRenderer::setShadowIntensity(float shadow_intensity) disable(); } - void ShadowRenderer::addNodeToShadowList( scene::ISceneNode *node, E_SHADOW_MODE shadowMode) { @@ -261,8 +260,9 @@ void ShadowRenderer::updateSMTextures() cb->MaxFar = (f32)m_shadow_map_max_distance * BS; cb->PerspectiveBiasXY = getPerspectiveBiasXY(); cb->PerspectiveBiasZ = getPerspectiveBiasZ(); + cb->CameraPos = light.getFuturePlayerPos(); } - + // set the Render Target // right now we can only render in usual RTT, not // Depth texture is available in irrlicth maybe we @@ -322,9 +322,10 @@ void ShadowRenderer::update(video::ITexture *outputTarget) if (!m_shadow_node_array.empty() && !m_light_list.empty()) { for (DirectionalLight &light : m_light_list) { - // Static shader values. - m_shadow_depth_cb->MapRes = (f32)m_shadow_map_texture_size; - m_shadow_depth_cb->MaxFar = (f32)m_shadow_map_max_distance * BS; + // Static shader values for entities are set in updateSMTextures + // SM texture for entities is not updated incrementally and + // must by updated using current player position. + m_shadow_depth_entity_cb->CameraPos = light.getPlayerPos(); // render shadows for the n0n-map objects. m_driver->setRenderTarget(shadowMapTextureDynamicObjects, true, diff --git a/src/client/shadows/shadowsshadercallbacks.cpp b/src/client/shadows/shadowsshadercallbacks.cpp index 51ea8aa93..b571ea939 100644 --- a/src/client/shadows/shadowsshadercallbacks.cpp +++ b/src/client/shadows/shadowsshadercallbacks.cpp @@ -26,6 +26,10 @@ void ShadowDepthShaderCB::OnSetConstants( core::matrix4 lightMVP = driver->getTransform(video::ETS_PROJECTION); lightMVP *= driver->getTransform(video::ETS_VIEW); + + f32 cam_pos[4]; + lightMVP.transformVect(cam_pos, CameraPos); + lightMVP *= driver->getTransform(video::ETS_WORLD); m_light_mvp_setting.set(lightMVP.pointer(), services); @@ -39,4 +43,6 @@ void ShadowDepthShaderCB::OnSetConstants( m_perspective_bias1.set(&bias1, services); f32 zbias = PerspectiveBiasZ; m_perspective_zbias.set(&zbias, services); + + m_cam_pos_setting.set(cam_pos, services); } diff --git a/src/client/shadows/shadowsshadercallbacks.h b/src/client/shadows/shadowsshadercallbacks.h index d00f59c37..87833c0ec 100644 --- a/src/client/shadows/shadowsshadercallbacks.h +++ b/src/client/shadows/shadowsshadercallbacks.h @@ -33,7 +33,8 @@ public: m_color_map_sampler_setting("ColorMapSampler"), m_perspective_bias0("xyPerspectiveBias0"), m_perspective_bias1("xyPerspectiveBias1"), - m_perspective_zbias("zPerspectiveBias") + m_perspective_zbias("zPerspectiveBias"), + m_cam_pos_setting("CameraPos") {} void OnSetMaterial(const video::SMaterial &material) override {} @@ -43,6 +44,7 @@ public: f32 MaxFar{2048.0f}, MapRes{1024.0f}; f32 PerspectiveBiasXY {0.9f}, PerspectiveBiasZ {0.5f}; + v3f CameraPos; private: CachedVertexShaderSetting m_light_mvp_setting; @@ -52,4 +54,5 @@ private: CachedVertexShaderSetting m_perspective_bias0; CachedVertexShaderSetting m_perspective_bias1; CachedVertexShaderSetting m_perspective_zbias; + CachedVertexShaderSetting m_cam_pos_setting; }; -- cgit v1.2.3 From 23516acd0b5fe845f757a6d85f883ba714e7770b Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Thu, 7 Apr 2022 22:38:01 +0200 Subject: Remove obsolete commented code (follow up to #12166) --- src/client/clientmap.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index 8a059c922..99ff0aefb 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -879,15 +879,6 @@ void ClientMap::updateDrawListShadow(v3f shadow_light_pos, v3f shadow_light_dir, } m_drawlist_shadow.clear(); - // We need to append the blocks from the camera POV because sometimes - // they are not inside the light frustum and it creates glitches. - // FIXME: This could be removed if we figure out why they are missing - // from the light frustum. - // for (auto &i : m_drawlist) { - // i.second->refGrab(); - // m_drawlist_shadow[i.first] = i.second; - // } - // Number of blocks currently loaded by the client u32 blocks_loaded = 0; // Number of blocks with mesh in rendering range -- cgit v1.2.3 From 3a87fab6c899afa50b2b7615b882d0a81b922832 Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Thu, 7 Apr 2022 23:13:09 +0200 Subject: Remove reference to a removed file in devtest (followup to #12157) --- games/devtest/mods/experimental/init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/games/devtest/mods/experimental/init.lua b/games/devtest/mods/experimental/init.lua index 70091179c..b292f792e 100644 --- a/games/devtest/mods/experimental/init.lua +++ b/games/devtest/mods/experimental/init.lua @@ -7,7 +7,6 @@ experimental = {} dofile(minetest.get_modpath("experimental").."/detached.lua") dofile(minetest.get_modpath("experimental").."/items.lua") dofile(minetest.get_modpath("experimental").."/commands.lua") -dofile(minetest.get_modpath("experimental").."/lighting.lua") function experimental.print_to_everything(msg) minetest.log("action", msg) -- cgit v1.2.3 From 5683bb76cc3a60d952c9f58c41adaa5f195dd3f4 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 1 Dec 2021 18:30:40 -0500 Subject: Fix compiler warnings --- src/CMakeLists.txt | 6 ++++-- src/client/clientlauncher.cpp | 2 ++ src/client/shader.cpp | 10 ++++----- src/serialization.cpp | 14 ------------ src/server/player_sao.h | 48 ++++++++++++++++++++--------------------- src/terminal_chat_console.cpp | 3 ++- src/unittest/test_irrptr.cpp | 4 +++- src/unittest/test_voxelarea.cpp | 4 ++-- src/util/srp.cpp | 4 ++-- 9 files changed, 44 insertions(+), 51 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ac4c1de73..2de68a8f0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -470,6 +470,9 @@ endif() include_directories( ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} + ${PROJECT_SOURCE_DIR}/script +) +include_directories(SYSTEM ${ZLIB_INCLUDE_DIR} ${ZSTD_INCLUDE_DIR} ${SQLITE3_INCLUDE_DIR} @@ -477,7 +480,6 @@ include_directories( ${GMP_INCLUDE_DIR} ${JSON_INCLUDE_DIR} ${LUA_BIT_INCLUDE_DIR} - ${PROJECT_SOURCE_DIR}/script ) if(USE_GETTEXT) @@ -485,7 +487,7 @@ if(USE_GETTEXT) endif() if(BUILD_CLIENT) - include_directories( + include_directories(SYSTEM ${FREETYPE_INCLUDE_DIRS} ${SOUND_INCLUDE_DIRS} ${X11_INCLUDE_DIR} diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 063154316..54c561d11 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -564,6 +564,8 @@ void ClientLauncher::speed_tests() // volatile to avoid some potential compiler optimisations volatile static s16 temp16; volatile static f32 tempf; + // Silence compiler warning + (void)temp16; static v3f tempv3f1; static v3f tempv3f2; static std::string tempstring; diff --git a/src/client/shader.cpp b/src/client/shader.cpp index 1be9ef128..bbb872761 100644 --- a/src/client/shader.cpp +++ b/src/client/shader.cpp @@ -242,11 +242,6 @@ public: MainShaderConstantSetter() : m_world_view_proj("mWorldViewProj") , m_world("mWorld") -#if ENABLE_GLES - , m_world_view("mWorldView") - , m_texture("mTexture") - , m_normal("mNormal") -#endif , m_shadow_view_proj("m_ShadowViewProj") , m_light_direction("v_LightDirection") , m_texture_res("f_textureresolution") @@ -261,6 +256,11 @@ public: , m_perspective_bias1_pixel("xyPerspectiveBias1") , m_perspective_zbias_vertex("zPerspectiveBias") , m_perspective_zbias_pixel("zPerspectiveBias") +#if ENABLE_GLES + , m_world_view("mWorldView") + , m_texture("mTexture") + , m_normal("mNormal") +#endif {} ~MainShaderConstantSetter() = default; diff --git a/src/serialization.cpp b/src/serialization.cpp index d3009bc83..11164a0ed 100644 --- a/src/serialization.cpp +++ b/src/serialization.cpp @@ -108,7 +108,6 @@ void decompressZlib(std::istream &is, std::ostream &os, size_t limit) char output_buffer[bufsize]; int status = 0; int ret; - int bytes_read = 0; int bytes_written = 0; int input_buffer_len = 0; @@ -122,8 +121,6 @@ void decompressZlib(std::istream &is, std::ostream &os, size_t limit) z.avail_in = 0; - //dstream<<"initial fail="< &privs); diff --git a/src/terminal_chat_console.cpp b/src/terminal_chat_console.cpp index 9e3d33736..b12261c3b 100644 --- a/src/terminal_chat_console.cpp +++ b/src/terminal_chat_console.cpp @@ -17,6 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include "config.h" #if USE_CURSES #include "version.h" @@ -398,7 +399,7 @@ void TerminalChatConsole::step(int ch) minutes = (float)minutes / 1000 * 60; if (m_game_time) - printw(" | Game %d Time of day %02d:%02d ", + printw(" | Game %" PRIu64 " Time of day %02d:%02d ", m_game_time, hours, minutes); // draw text diff --git a/src/unittest/test_irrptr.cpp b/src/unittest/test_irrptr.cpp index 3484f1514..2fb7cfcd6 100644 --- a/src/unittest/test_irrptr.cpp +++ b/src/unittest/test_irrptr.cpp @@ -93,7 +93,9 @@ void TestIrrPtr::testRefCounting() #if defined(__clang__) #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wself-assign-overloaded" + #if __clang_major__ >= 7 + #pragma GCC diagnostic ignored "-Wself-assign-overloaded" + #endif #pragma GCC diagnostic ignored "-Wself-move" #endif diff --git a/src/unittest/test_voxelarea.cpp b/src/unittest/test_voxelarea.cpp index 9826d2ee7..1d72650d7 100644 --- a/src/unittest/test_voxelarea.cpp +++ b/src/unittest/test_voxelarea.cpp @@ -120,7 +120,7 @@ void TestVoxelArea::test_extent() VoxelArea v1(v3s16(-1337, -547, -789), v3s16(-147, 447, 669)); UASSERT(v1.getExtent() == v3s16(1191, 995, 1459)); - VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, 32768)); + VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, -32768)); UASSERT(v2.getExtent() == v3s16(16, 16, 16)); } @@ -129,7 +129,7 @@ void TestVoxelArea::test_volume() VoxelArea v1(v3s16(-1337, -547, -789), v3s16(-147, 447, 669)); UASSERTEQ(s32, v1.getVolume(), 1728980655); - VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, 32768)); + VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, -32768)); UASSERTEQ(s32, v2.getVolume(), 4096); } diff --git a/src/util/srp.cpp b/src/util/srp.cpp index ceb2fef9e..daa7f332b 100644 --- a/src/util/srp.cpp +++ b/src/util/srp.cpp @@ -354,7 +354,7 @@ static size_t hash_length(SRP_HashAlgorithm alg) case SRP_SHA384: return SHA384_DIGEST_LENGTH; case SRP_SHA512: return SHA512_DIGEST_LENGTH; */ - default: return -1; + default: return 0; }; } // clang-format on @@ -422,7 +422,7 @@ static SRP_Result H_nn( } static SRP_Result H_ns(mpz_t result, SRP_HashAlgorithm alg, const unsigned char *n, - size_t len_n, const unsigned char *bytes, uint32_t len_bytes) + size_t len_n, const unsigned char *bytes, size_t len_bytes) { unsigned char buff[SHA512_DIGEST_LENGTH]; size_t nbytes = len_n + len_bytes; -- cgit v1.2.3 From ea2fba877a6d1d1170bc64bc9586edb615da584d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 1 Dec 2021 18:32:41 -0500 Subject: Use build directory for builds --- .github/workflows/macos.yml | 4 ++-- .gitlab-ci.yml | 4 ++-- README.md | 4 ++-- util/ci/build.sh | 4 ++-- util/ci/clang-tidy.sh | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 69253b70a..68813f961 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -45,8 +45,8 @@ jobs: git clone -b $MINETEST_GAME_BRANCH $MINETEST_GAME_REPO games/$MINETEST_GAME_NAME rm -rvf games/$MINETEST_GAME_NAME/.git git clone https://github.com/minetest/irrlicht -b $IRRLICHT_TAG lib/irrlichtmt - mkdir cmakebuild - cd cmakebuild + mkdir build + cd build cmake .. \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 \ -DCMAKE_FIND_FRAMEWORK=LAST \ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index feb334bee..626fd022b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,8 +20,8 @@ variables: - DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libleveldb-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev script: - git clone https://github.com/minetest/irrlicht -b $IRRLICHT_TAG lib/irrlichtmt - - mkdir cmakebuild - - cd cmakebuild + - mkdir build + - cd build - cmake -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE .. - make -j2 - make install diff --git a/README.md b/README.md index 8f089ab48..8ecaabea0 100644 --- a/README.md +++ b/README.md @@ -418,8 +418,8 @@ git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt #### Build ```bash -mkdir cmakebuild -cd cmakebuild +mkdir build +cd build cmake .. \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 \ diff --git a/util/ci/build.sh b/util/ci/build.sh index ba77cd645..32b5c92a7 100755 --- a/util/ci/build.sh +++ b/util/ci/build.sh @@ -1,7 +1,7 @@ #! /bin/bash -e -mkdir cmakebuild -cd cmakebuild +mkdir build +cd build cmake -DCMAKE_BUILD_TYPE=Debug \ -DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \ -DBUILD_SERVER=TRUE ${CMAKE_FLAGS} .. diff --git a/util/ci/clang-tidy.sh b/util/ci/clang-tidy.sh index bb4e99fef..74578eeac 100755 --- a/util/ci/clang-tidy.sh +++ b/util/ci/clang-tidy.sh @@ -1,7 +1,7 @@ #! /bin/bash -eu -mkdir -p cmakebuild -cd cmakebuild +mkdir -p build +cd build cmake -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DRUN_IN_PLACE=TRUE \ @@ -12,6 +12,6 @@ make GenerateVersion cd .. ./util/ci/run-clang-tidy.py \ - -clang-tidy-binary=clang-tidy-9 -p cmakebuild \ + -clang-tidy-binary=clang-tidy-9 -p build \ -quiet -config="$(cat .clang-tidy)" \ 'src/.*' -- cgit v1.2.3 From 88b21a72f18db6a94e58a8047c4dec6160327e73 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 1 Dec 2021 18:33:55 -0500 Subject: Treat empty XDG_CACHE_HOME same as unset This matches the XDG base directory spec. --- src/porting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/porting.cpp b/src/porting.cpp index caf9e9be3..09627431c 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -608,7 +608,7 @@ void initializePaths() // First try $XDG_CACHE_HOME/PROJECT_NAME const char *cache_dir = getenv("XDG_CACHE_HOME"); const char *home_dir = getenv("HOME"); - if (cache_dir) { + if (cache_dir && cache_dir[0] != '\0') { path_cache = std::string(cache_dir) + DIR_DELIM + PROJECT_NAME; } else if (home_dir) { // Then try $HOME/.cache/PROJECT_NAME -- cgit v1.2.3 From 7993909fabce4f796ca67b5a8139936667de25df Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 1 Dec 2021 18:54:12 -0500 Subject: Spacing fixes --- CMakeLists.txt | 2 +- client/shaders/nodes_shader/opengl_fragment.glsl | 2 +- client/shaders/nodes_shader/opengl_vertex.glsl | 4 +- clientmods/preview/mod.conf | 2 +- cmake/Modules/FindSQLite3.cmake | 2 +- cmake/Modules/FindVorbis.cmake | 17 ++++--- doc/lgpl-2.1.txt | 18 ++++---- minetest.conf.example | 58 ++++++++++++------------ src/CMakeLists.txt | 2 +- src/client/CMakeLists.txt | 4 +- src/client/clientmap.cpp | 4 +- src/client/imagefilters.cpp | 2 +- src/client/render/core.cpp | 2 +- src/clientiface.h | 2 +- src/collision.cpp | 4 +- src/config.h | 2 +- src/database/database-leveldb.cpp | 2 +- src/inventorymanager.cpp | 2 +- src/irrlicht_changes/CGUITTFont.cpp | 2 +- src/mapgen/dungeongen.cpp | 2 +- src/mapgen/mapgen_flat.cpp | 2 +- src/mapgen/mg_biome.cpp | 2 +- src/mapgen/mg_ore.cpp | 4 +- src/network/connection.h | 4 +- src/script/cpp_api/s_env.cpp | 4 +- src/script/lua_api/l_env.cpp | 4 +- src/script/lua_api/l_env.h | 2 +- src/serverenvironment.cpp | 2 +- src/util/ieee_float.cpp | 2 +- src/util/string.h | 2 +- util/generate-texture-normals.sh | 2 +- 31 files changed, 82 insertions(+), 83 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 827191835..5dfc857d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ if(NOT "${IRRLICHTMT_BUILD_DIR}" STREQUAL "") find_package(IrrlichtMt QUIET PATHS "${IRRLICHTMT_BUILD_DIR}" NO_DEFAULT_PATH -) + ) if(NOT TARGET IrrlichtMt::IrrlichtMt) # find_package() searches certain subdirectories. ${PATH}/cmake is not diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 4d0d107d1..fea350788 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -557,6 +557,6 @@ void main(void) - fogShadingParameter * length(eyeVec) / fogDistance, 0.0, 1.0); col = mix(skyBgColor, col, clarity); col = vec4(col.rgb, base.a); - + gl_FragColor = col; } diff --git a/client/shaders/nodes_shader/opengl_vertex.glsl b/client/shaders/nodes_shader/opengl_vertex.glsl index 935fbf043..8c7e27459 100644 --- a/client/shaders/nodes_shader/opengl_vertex.glsl +++ b/client/shaders/nodes_shader/opengl_vertex.glsl @@ -199,13 +199,13 @@ void main(void) vec3 nNormal = normalize(vNormal); cosLight = dot(nNormal, -v_LightDirection); - // Calculate normal offset scale based on the texel size adjusted for + // Calculate normal offset scale based on the texel size adjusted for // curvature of the SM texture. This code must be change together with // getPerspectiveFactor or any light-space transformation. vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; // Distance from the vertex to the player float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; - // perspective factor estimation according to the + // perspective factor estimation according to the float perspectiveFactor = distanceToPlayer * xyPerspectiveBias0 + xyPerspectiveBias1; float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / (f_textureresolution * xyPerspectiveBias1 - perspectiveFactor * xyPerspectiveBias0); diff --git a/clientmods/preview/mod.conf b/clientmods/preview/mod.conf index 4e56ec293..23a5c3e90 100644 --- a/clientmods/preview/mod.conf +++ b/clientmods/preview/mod.conf @@ -1 +1 @@ -name = preview +name = preview diff --git a/cmake/Modules/FindSQLite3.cmake b/cmake/Modules/FindSQLite3.cmake index b23553a80..8a66cb241 100644 --- a/cmake/Modules/FindSQLite3.cmake +++ b/cmake/Modules/FindSQLite3.cmake @@ -1,4 +1,4 @@ -mark_as_advanced(SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR) +mark_as_advanced(SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR) find_path(SQLITE3_INCLUDE_DIR sqlite3.h) diff --git a/cmake/Modules/FindVorbis.cmake b/cmake/Modules/FindVorbis.cmake index e5fe7f25e..222ddd9d5 100644 --- a/cmake/Modules/FindVorbis.cmake +++ b/cmake/Modules/FindVorbis.cmake @@ -29,18 +29,17 @@ else(NOT GP2XWIZ) find_package_handle_standard_args(Vorbis DEFAULT_MSG VORBIS_INCLUDE_DIR VORBIS_LIBRARY) endif(NOT GP2XWIZ) - + if(VORBIS_FOUND) - if(NOT GP2XWIZ) - set(VORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} - ${OGG_LIBRARY}) - else(NOT GP2XWIZ) - set(VORBIS_LIBRARIES ${VORBIS_LIBRARY}) - endif(NOT GP2XWIZ) + if(NOT GP2XWIZ) + set(VORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} + ${OGG_LIBRARY}) + else(NOT GP2XWIZ) + set(VORBIS_LIBRARIES ${VORBIS_LIBRARY}) + endif(NOT GP2XWIZ) else(VORBIS_FOUND) - set(VORBIS_LIBRARIES) + set(VORBIS_LIBRARIES) endif(VORBIS_FOUND) mark_as_advanced(OGG_INCLUDE_DIR VORBIS_INCLUDE_DIR) mark_as_advanced(OGG_LIBRARY VORBIS_LIBRARY VORBISFILE_LIBRARY) - diff --git a/doc/lgpl-2.1.txt b/doc/lgpl-2.1.txt index 4362b4915..e5ab03e12 100644 --- a/doc/lgpl-2.1.txt +++ b/doc/lgpl-2.1.txt @@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. - + Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a @@ -111,7 +111,7 @@ modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. - + GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION @@ -158,7 +158,7 @@ Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - + 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 @@ -216,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. - + Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. @@ -267,7 +267,7 @@ Library will still fall under Section 6.) distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. - + 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work @@ -329,7 +329,7 @@ restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. - + 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined @@ -370,7 +370,7 @@ subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. - + 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or @@ -422,7 +422,7 @@ conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. - + 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is @@ -456,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - + How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest diff --git a/minetest.conf.example b/minetest.conf.example index ed2ebc969..21aeb3546 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1385,7 +1385,7 @@ # ask_reconnect_on_crash = false # From how far clients know about objects, stated in mapblocks (16 nodes). -# +# # Setting this larger than active_block_range will also cause the server # to maintain active objects up to this distance in the direction the # player is looking. (This can avoid mobs suddenly disappearing from view) @@ -1938,7 +1938,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # Second of two 3D noises that together define tunnels. @@ -1951,7 +1951,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise defining giant caverns. @@ -1964,7 +1964,7 @@ # octaves = 5, # persistence = 0.63, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise defining terrain. @@ -1990,7 +1990,7 @@ # octaves = 2, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } ## Mapgen V6 @@ -2377,7 +2377,7 @@ # octaves = 5, # persistence = 0.63, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise defining structure of river canyon walls. @@ -2390,7 +2390,7 @@ # octaves = 4, # persistence = 0.75, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise defining structure of floatlands. @@ -2406,7 +2406,7 @@ # octaves = 4, # persistence = 0.75, # lacunarity = 1.618, -# flags = +# flags = # } # 3D noise defining giant caverns. @@ -2419,7 +2419,7 @@ # octaves = 5, # persistence = 0.63, # lacunarity = 2.0, -# flags = +# flags = # } # First of two 3D noises that together define tunnels. @@ -2432,7 +2432,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # Second of two 3D noises that together define tunnels. @@ -2445,7 +2445,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise that determines number of dungeons per mapchunk. @@ -2458,7 +2458,7 @@ # octaves = 2, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } ## Mapgen Carpathian @@ -2701,7 +2701,7 @@ # octaves = 5, # persistence = 0.55, # lacunarity = 2.0, -# flags = +# flags = # } # First of two 3D noises that together define tunnels. @@ -2714,7 +2714,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # Second of two 3D noises that together define tunnels. @@ -2727,7 +2727,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise defining giant caverns. @@ -2740,7 +2740,7 @@ # octaves = 5, # persistence = 0.63, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise that determines number of dungeons per mapchunk. @@ -2753,7 +2753,7 @@ # octaves = 2, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } ## Mapgen Flat @@ -2875,7 +2875,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # Second of two 3D noises that together define tunnels. @@ -2888,7 +2888,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise defining giant caverns. @@ -2901,7 +2901,7 @@ # octaves = 5, # persistence = 0.63, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise that determines number of dungeons per mapchunk. @@ -2914,7 +2914,7 @@ # octaves = 2, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } ## Mapgen Fractal @@ -3088,7 +3088,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # Second of two 3D noises that together define tunnels. @@ -3101,7 +3101,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # 3D noise that determines number of dungeons per mapchunk. @@ -3114,7 +3114,7 @@ # octaves = 2, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } ## Mapgen Valleys @@ -3204,7 +3204,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # Second of two 3D noises that together define tunnels. @@ -3217,7 +3217,7 @@ # octaves = 3, # persistence = 0.5, # lacunarity = 2.0, -# flags = +# flags = # } # The depth of dirt or other biome filler node. @@ -3243,7 +3243,7 @@ # octaves = 6, # persistence = 0.63, # lacunarity = 2.0, -# flags = +# flags = # } # Defines large-scale river channel structure. @@ -3295,7 +3295,7 @@ # octaves = 6, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } # Amplifies the valleys. @@ -3334,7 +3334,7 @@ # octaves = 2, # persistence = 0.8, # lacunarity = 2.0, -# flags = +# flags = # } ## Advanced diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2de68a8f0..0323603fc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -711,7 +711,7 @@ else() # Move text segment below LuaJIT's 47-bit limit (see issue #9367) if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") # FreeBSD uses lld, and lld does not support -Ttext-segment, suggesting - # --image-base instead. Not sure if it's equivalent change for the purpose + # --image-base instead. Not sure if it's equivalent change for the purpose # but at least if fixes build on FreeBSD/aarch64 # XXX: the condition should also be changed to check for lld regardless of # os, bit CMake doesn't have anything like CMAKE_LINKER_IS_LLD yet diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 8d058852a..656ad45ce 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -60,7 +60,7 @@ set(client_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/wieldmesh.cpp ${CMAKE_CURRENT_SOURCE_DIR}/shadows/dynamicshadows.cpp ${CMAKE_CURRENT_SOURCE_DIR}/shadows/dynamicshadowsrender.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/shadows/shadowsshadercallbacks.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/shadows/shadowsScreenQuad.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/shadows/shadowsshadercallbacks.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/shadows/shadowsScreenQuad.cpp PARENT_SCOPE ) diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index 99ff0aefb..10967c0cb 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -847,12 +847,12 @@ void ClientMap::renderMapShadows(video::IVideoDriver *driver, vertex_count += buf->getIndexCount(); } - // restore the driver material state + // restore the driver material state video::SMaterial clean; clean.BlendOperation = video::EBO_ADD; driver->setMaterial(clean); // reset material to defaults driver->draw3DLine(v3f(), v3f(), video::SColor(0)); - + g_profiler->avg(prefix + "draw meshes [ms]", draw.stop(true)); g_profiler->avg(prefix + "vertices drawn [#]", vertex_count); g_profiler->avg(prefix + "drawcalls [#]", drawcall_count); diff --git a/src/client/imagefilters.cpp b/src/client/imagefilters.cpp index b62e336f7..c9d1504ad 100644 --- a/src/client/imagefilters.cpp +++ b/src/client/imagefilters.cpp @@ -124,7 +124,7 @@ void imageCleanTransparent(video::IImage *src, u32 threshold) // Ignore pixels we haven't processed if (!bitmap.get(sx, sy)) continue; - + // Add RGB values weighted by alpha IF the pixel is opaque, otherwise // use full weight since we want to propagate colors. video::SColor d = src->getPixel(sx, sy); diff --git a/src/client/render/core.cpp b/src/client/render/core.cpp index f151832f3..c67f297c4 100644 --- a/src/client/render/core.cpp +++ b/src/client/render/core.cpp @@ -103,7 +103,7 @@ void RenderingCore::drawHUD() if (show_hud) { if (draw_crosshair) hud->drawCrosshair(); - + hud->drawHotbar(client->getEnv().getLocalPlayer()->getWieldIndex()); hud->drawLuaElements(camera->getOffset()); camera->drawNametags(); diff --git a/src/clientiface.h b/src/clientiface.h index 1be9c972a..947952e82 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -341,7 +341,7 @@ public: u8 getMinor() const { return m_version_minor; } u8 getPatch() const { return m_version_patch; } const std::string &getFullVer() const { return m_full_version; } - + void setLangCode(const std::string &code) { m_lang_code = code; } const std::string &getLangCode() const { return m_lang_code; } diff --git a/src/collision.cpp b/src/collision.cpp index ccc3a058d..be135a225 100644 --- a/src/collision.cpp +++ b/src/collision.cpp @@ -153,7 +153,7 @@ CollisionAxis axisAlignedCollision( (std::max(movingbox.MaxEdge.Z + speed.Z * time, staticbox.MaxEdge.Z) - std::min(movingbox.MinEdge.Z + speed.Z * time, staticbox.MinEdge.Z) - relbox.MinEdge.Z < 0) - ) + ) return COLLISION_AXIS_X; } } else { @@ -180,7 +180,7 @@ CollisionAxis axisAlignedCollision( (std::max(movingbox.MaxEdge.Y + speed.Y * time, staticbox.MaxEdge.Y) - std::min(movingbox.MinEdge.Y + speed.Y * time, staticbox.MinEdge.Y) - relbox.MinEdge.Y < 0) - ) + ) return COLLISION_AXIS_Z; } } diff --git a/src/config.h b/src/config.h index 5e1164642..8d920b150 100644 --- a/src/config.h +++ b/src/config.h @@ -16,7 +16,7 @@ #define PROJECT_NAME_C "Minetest" #define STATIC_SHAREDIR "" #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA) -#ifdef NDEBUG + #ifdef NDEBUG #define BUILD_TYPE "Release" #else #define BUILD_TYPE "Debug" diff --git a/src/database/database-leveldb.cpp b/src/database/database-leveldb.cpp index 39f4c8442..6e59daab3 100644 --- a/src/database/database-leveldb.cpp +++ b/src/database/database-leveldb.cpp @@ -74,7 +74,7 @@ void Database_LevelDB::loadBlock(const v3s16 &pos, std::string *block) i64tos(getBlockAsInteger(pos)), block); if (!status.ok()) - block->clear(); + block->clear(); } bool Database_LevelDB::deleteBlock(const v3s16 &pos) diff --git a/src/inventorymanager.cpp b/src/inventorymanager.cpp index a159bf786..ecdb56a97 100644 --- a/src/inventorymanager.cpp +++ b/src/inventorymanager.cpp @@ -172,7 +172,7 @@ void IMoveAction::onPutAndOnTake(const ItemStack &src_item, ServerActiveObject * sa->player_inventory_OnPut(*this, src_item, player); else assert(false); - + if (from_inv.type == InventoryLocation::DETACHED) sa->detached_inventory_OnTake(*this, src_item, player); else if (from_inv.type == InventoryLocation::NODEMETA) diff --git a/src/irrlicht_changes/CGUITTFont.cpp b/src/irrlicht_changes/CGUITTFont.cpp index e785ea837..787f4cd5a 100644 --- a/src/irrlicht_changes/CGUITTFont.cpp +++ b/src/irrlicht_changes/CGUITTFont.cpp @@ -478,7 +478,7 @@ CGUITTGlyphPage* CGUITTFont::getLastGlyphPage() const CGUITTGlyphPage* CGUITTFont::createGlyphPage(const u8& pixel_mode) { CGUITTGlyphPage* page = 0; - + // Name of our page. io::path name("TTFontGlyphPage_"); name += tt_face->family_name; diff --git a/src/mapgen/dungeongen.cpp b/src/mapgen/dungeongen.cpp index acdb1a0f0..1d439abeb 100644 --- a/src/mapgen/dungeongen.cpp +++ b/src/mapgen/dungeongen.cpp @@ -71,7 +71,7 @@ DungeonGen::DungeonGen(const NodeDefManager *ndef, dp.num_dungeons = 1; dp.notifytype = GENNOTIFY_DUNGEON; - dp.np_alt_wall = + dp.np_alt_wall = NoiseParams(-0.4, 1.0, v3f(40.0, 40.0, 40.0), 32474, 6, 1.1, 2.0); } } diff --git a/src/mapgen/mapgen_flat.cpp b/src/mapgen/mapgen_flat.cpp index 342455029..6b249ea1f 100644 --- a/src/mapgen/mapgen_flat.cpp +++ b/src/mapgen/mapgen_flat.cpp @@ -177,7 +177,7 @@ void MapgenFlatParams::setDefaultSettings(Settings *settings) int MapgenFlat::getSpawnLevelAtPoint(v2s16 p) { s16 stone_level = ground_level; - float n_terrain = + float n_terrain = ((spflags & MGFLAT_LAKES) || (spflags & MGFLAT_HILLS)) ? NoisePerlin2D(&noise_terrain->np, p.X, p.Y, seed) : 0.0f; diff --git a/src/mapgen/mg_biome.cpp b/src/mapgen/mg_biome.cpp index f08cc190f..8b4c96cd5 100644 --- a/src/mapgen/mg_biome.cpp +++ b/src/mapgen/mg_biome.cpp @@ -273,7 +273,7 @@ Biome *BiomeGenOriginal::calcBiomeFromNoise(float heat, float humidity, v3s16 po pos.Y - biome_closest_blend->max_pos.Y) return biome_closest_blend; - return (biome_closest) ? biome_closest : (Biome *)m_bmgr->getRaw(BIOME_NONE); + return (biome_closest) ? biome_closest : (Biome *)m_bmgr->getRaw(BIOME_NONE); } diff --git a/src/mapgen/mg_ore.cpp b/src/mapgen/mg_ore.cpp index 5814f433a..4f0c35548 100644 --- a/src/mapgen/mg_ore.cpp +++ b/src/mapgen/mg_ore.cpp @@ -498,8 +498,8 @@ void OreVein::generate(MMVManip *vm, int mapseed, u32 blockseed, } // randval ranges from -1..1 - /* - Note: can generate values slightly larger than 1 + /* + Note: can generate values slightly larger than 1 but this can't be changed as mapgen must be deterministic accross versions. */ float randval = (float)pr.next() / float(pr.RANDOM_RANGE / 2) - 1.f; diff --git a/src/network/connection.h b/src/network/connection.h index 1afb4ae84..88e323bb1 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -752,8 +752,8 @@ protected: void putEvent(ConnectionEventPtr e); void TriggerSend(); - - bool ConnectedToServer() + + bool ConnectedToServer() { return getPeerNoEx(PEER_ID_SERVER) != nullptr; } diff --git a/src/script/cpp_api/s_env.cpp b/src/script/cpp_api/s_env.cpp index 874c37b6e..af68f689f 100644 --- a/src/script/cpp_api/s_env.cpp +++ b/src/script/cpp_api/s_env.cpp @@ -140,10 +140,10 @@ void ScriptApiEnv::initializeEnvironment(ServerEnvironment *env) bool simple_catch_up = true; getboolfield(L, current_abm, "catch_up", simple_catch_up); - + s16 min_y = INT16_MIN; getintfield(L, current_abm, "min_y", min_y); - + s16 max_y = INT16_MAX; getintfield(L, current_abm, "max_y", max_y); diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index 54821df24..7640f2782 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -757,7 +757,7 @@ int ModApiEnvMod::l_get_objects_in_area(lua_State *L) { GET_ENV_PTR; ScriptApiBase *script = getScriptApiBase(L); - + v3f minp = read_v3f(L, 1) * BS; v3f maxp = read_v3f(L, 2) * BS; aabb3f box(minp, maxp); @@ -1409,7 +1409,7 @@ int ModApiEnvMod::l_compare_block_status(lua_State *L) v3s16 nodepos = check_v3s16(L, 1); std::string condition_s = luaL_checkstring(L, 2); auto status = env->getBlockStatus(getNodeBlockPos(nodepos)); - + int condition_i = -1; if (!string_to_enum(es_BlockStatusType, condition_i, condition_s)) return 0; // Unsupported diff --git a/src/script/lua_api/l_env.h b/src/script/lua_api/l_env.h index 67c76faae..a7d406d2a 100644 --- a/src/script/lua_api/l_env.h +++ b/src/script/lua_api/l_env.h @@ -114,7 +114,7 @@ private: // get_objects_inside_radius(pos, radius) static int l_get_objects_inside_radius(lua_State *L); - + // get_objects_in_area(pos, minp, maxp) static int l_get_objects_in_area(lua_State *L); diff --git a/src/serverenvironment.cpp b/src/serverenvironment.cpp index f3711652c..34a1e33e5 100644 --- a/src/serverenvironment.cpp +++ b/src/serverenvironment.cpp @@ -892,7 +892,7 @@ public: for (ActiveABM &aabm : *m_aabms[c]) { if ((p.Y < aabm.min_y) || (p.Y > aabm.max_y)) continue; - + if (myrand() % aabm.chance != 0) continue; diff --git a/src/util/ieee_float.cpp b/src/util/ieee_float.cpp index 887258921..b73763c55 100644 --- a/src/util/ieee_float.cpp +++ b/src/util/ieee_float.cpp @@ -39,7 +39,7 @@ f32 u32Tof32Slow(u32 i) if (exp == 0xFF) { // Inf/NaN if (imant == 0) { - if (std::numeric_limits::has_infinity) + if (std::numeric_limits::has_infinity) return sign ? -std::numeric_limits::infinity() : std::numeric_limits::infinity(); return sign ? std::numeric_limits::max() : diff --git a/src/util/string.h b/src/util/string.h index 8a9e83f22..f4ca1a7de 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -410,7 +410,7 @@ DEFINE_STD_TOSTRING_FLOATINGPOINT(long double) template inline wstring to_wstring(T val) { - return utf8_to_wide(to_string(val)); + return utf8_to_wide(to_string(val)); } } #endif diff --git a/util/generate-texture-normals.sh b/util/generate-texture-normals.sh index 6279dfa69..b2fcbf77b 100755 --- a/util/generate-texture-normals.sh +++ b/util/generate-texture-normals.sh @@ -197,7 +197,7 @@ normalMap() (gimp-convert-rgb image) () ) - (plug-in-normalmap + (plug-in-normalmap RUN-NONINTERACTIVE image drawable -- cgit v1.2.3 From 8af332c9a782a736d7526b075a3bc652432c2078 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 22 Dec 2021 22:16:46 -0500 Subject: Remove duplication in config.h --- src/config.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/config.h b/src/config.h index 8d920b150..50e118428 100644 --- a/src/config.h +++ b/src/config.h @@ -11,17 +11,13 @@ #if defined USE_CMAKE_CONFIG_H #include "cmake_config.h" -#elif defined (__ANDROID__) - #define PROJECT_NAME "minetest" - #define PROJECT_NAME_C "Minetest" - #define STATIC_SHAREDIR "" - #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA) - #ifdef NDEBUG - #define BUILD_TYPE "Release" - #else - #define BUILD_TYPE "Debug" - #endif #else + #if defined (__ANDROID__) + #define PROJECT_NAME "minetest" + #define PROJECT_NAME_C "Minetest" + #define STATIC_SHAREDIR "" + #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_PATCH) STR(VERSION_EXTRA) + #endif #ifdef NDEBUG #define BUILD_TYPE "Release" #else -- cgit v1.2.3 From 35bfffb55624685eb78952304bec112fe5e48691 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 22 Dec 2021 22:18:27 -0500 Subject: Auto-detect level of parallelism --- .gitlab-ci.yml | 6 +----- util/ci/build.sh | 2 +- util/ci/build_prometheus_cpp.sh | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 626fd022b..04b70737d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,11 +20,7 @@ variables: - DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libleveldb-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev script: - git clone https://github.com/minetest/irrlicht -b $IRRLICHT_TAG lib/irrlichtmt - - mkdir build - - cd build - - cmake -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE .. - - make -j2 - - make install + - make -j$(($(nproc) + 1)) artifacts: when: on_success expire_in: 1h diff --git a/util/ci/build.sh b/util/ci/build.sh index 32b5c92a7..fb2ec945f 100755 --- a/util/ci/build.sh +++ b/util/ci/build.sh @@ -5,4 +5,4 @@ cd build cmake -DCMAKE_BUILD_TYPE=Debug \ -DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \ -DBUILD_SERVER=TRUE ${CMAKE_FLAGS} .. -make -j2 +make -j$(($(nproc) + 1)) diff --git a/util/ci/build_prometheus_cpp.sh b/util/ci/build_prometheus_cpp.sh index edfd574cd..f3e4a5559 100755 --- a/util/ci/build_prometheus_cpp.sh +++ b/util/ci/build_prometheus_cpp.sh @@ -8,6 +8,6 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_TESTING=0 -make -j2 +make -j$(nproc) sudo make install -- cgit v1.2.3 From 00ebedad933244dbb866198b5769309ea011719c Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 29 Jan 2022 22:47:17 -0500 Subject: Add additional reserved directory names --- src/util/string.cpp | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/src/util/string.cpp b/src/util/string.cpp index bc4664997..689f58f7f 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -821,9 +821,11 @@ std::wstring translate_string(const std::wstring &s) #endif } -static const std::array disallowed_dir_names = { +static const std::array disallowed_dir_names = { // Problematic filenames from here: // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#file-and-directory-names + // Plus undocumented values from here: + // https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html L"CON", L"PRN", L"AUX", @@ -837,6 +839,9 @@ static const std::array disallowed_dir_names = { L"COM7", L"COM8", L"COM9", + L"COM\u00B2", + L"COM\u00B3", + L"COM\u00B9", L"LPT1", L"LPT2", L"LPT3", @@ -846,6 +851,11 @@ static const std::array disallowed_dir_names = { L"LPT7", L"LPT8", L"LPT9", + L"LPT\u00B2", + L"LPT\u00B3", + L"LPT\u00B9", + L"CONIN$", + L"CONOUT$", }; /** @@ -853,6 +863,21 @@ static const std::array disallowed_dir_names = { */ static const std::wstring disallowed_path_chars = L"<>:\"/\\|?*."; + +/** + * @param str + * @return A copy of \p str with trailing whitespace removed. + */ +static std::wstring wrtrim(const std::wstring &str) +{ + size_t back = str.size(); + while (back > 0 && std::isspace(str[back - 1])) + --back; + + return str.substr(0, back); +} + + /** * Sanitize the name of a new directory. This consists of two stages: * 1. Check for 'reserved filenames' that can't be used on some filesystems @@ -863,8 +888,10 @@ std::string sanitizeDirName(const std::string &str, const std::string &optional_ { std::wstring safe_name = utf8_to_wide(str); + std::wstring dev_name = wrtrim(safe_name); + for (std::wstring disallowed_name : disallowed_dir_names) { - if (str_equal(safe_name, disallowed_name, true)) { + if (str_equal(dev_name, disallowed_name, true)) { safe_name = utf8_to_wide(optional_prefix) + safe_name; break; } -- cgit v1.2.3 From 65fdc7ae50adaee6116ed768d9f96e8732c96b85 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 29 Jan 2022 22:48:41 -0500 Subject: Add tests for sanitizeDirName --- src/unittest/test_utilities.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/unittest/test_utilities.cpp b/src/unittest/test_utilities.cpp index 743fe4462..228a9559f 100644 --- a/src/unittest/test_utilities.cpp +++ b/src/unittest/test_utilities.cpp @@ -58,6 +58,7 @@ public: void testStringJoin(); void testEulerConversion(); void testBase64(); + void testSanitizeDirName(); }; static TestUtilities g_test_instance; @@ -90,6 +91,7 @@ void TestUtilities::runTests(IGameDef *gamedef) TEST(testStringJoin); TEST(testEulerConversion); TEST(testBase64); + TEST(testSanitizeDirName); } //////////////////////////////////////////////////////////////////////////////// @@ -630,3 +632,12 @@ void TestUtilities::testBase64() UASSERT(base64_is_valid("AAAA=A") == false); UASSERT(base64_is_valid("AAAAA=A") == false); } + + +void TestUtilities::testSanitizeDirName() +{ + UASSERT(sanitizeDirName("a", "_") == "a"); + UASSERT(sanitizeDirName("COM1", "_") == "_COM1"); + UASSERT(sanitizeDirName("cOm\u00B2 .txt:a", "_") == "cOm\u00B2 _txt_a"); + UASSERT(sanitizeDirName("cOnIn$ ", "_") == "_cOnIn$ "); +} -- cgit v1.2.3 From dae6fe91a1059751a0bde504cdf41a749234ce1a Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 31 Jan 2022 21:11:51 -0500 Subject: Update directory name sanitization Only ASCII spaces have to be handles specially, and leading spaces are also disallowed. --- src/unittest/test_utilities.cpp | 12 ++++++++---- src/util/string.cpp | 39 ++++++++++++++------------------------- src/util/string.h | 2 +- 3 files changed, 23 insertions(+), 30 deletions(-) diff --git a/src/unittest/test_utilities.cpp b/src/unittest/test_utilities.cpp index 228a9559f..10ea8d36a 100644 --- a/src/unittest/test_utilities.cpp +++ b/src/unittest/test_utilities.cpp @@ -636,8 +636,12 @@ void TestUtilities::testBase64() void TestUtilities::testSanitizeDirName() { - UASSERT(sanitizeDirName("a", "_") == "a"); - UASSERT(sanitizeDirName("COM1", "_") == "_COM1"); - UASSERT(sanitizeDirName("cOm\u00B2 .txt:a", "_") == "cOm\u00B2 _txt_a"); - UASSERT(sanitizeDirName("cOnIn$ ", "_") == "_cOnIn$ "); + UASSERT(sanitizeDirName("a", "~") == "a"); + UASSERT(sanitizeDirName(" ", "~") == "__"); + UASSERT(sanitizeDirName(" a ", "~") == "_a_"); + UASSERT(sanitizeDirName("COM1", "~") == "~COM1"); + UASSERT(sanitizeDirName("COM1", ":") == "_COM1"); + UASSERT(sanitizeDirName("cOm\u00B2", "~") == "~cOm\u00B2"); + UASSERT(sanitizeDirName("cOnIn$", "~") == "~cOnIn$"); + UASSERT(sanitizeDirName(" cOnIn$ ", "~") == "_cOnIn$_"); } diff --git a/src/util/string.cpp b/src/util/string.cpp index 689f58f7f..39cd44667 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -864,40 +864,29 @@ static const std::array disallowed_dir_names = { static const std::wstring disallowed_path_chars = L"<>:\"/\\|?*."; -/** - * @param str - * @return A copy of \p str with trailing whitespace removed. - */ -static std::wstring wrtrim(const std::wstring &str) -{ - size_t back = str.size(); - while (back > 0 && std::isspace(str[back - 1])) - --back; - - return str.substr(0, back); -} - - -/** - * Sanitize the name of a new directory. This consists of two stages: - * 1. Check for 'reserved filenames' that can't be used on some filesystems - * and add a prefix to them - * 2. Remove 'unsafe' characters from the name by replacing them with '_' - */ std::string sanitizeDirName(const std::string &str, const std::string &optional_prefix) { std::wstring safe_name = utf8_to_wide(str); - std::wstring dev_name = wrtrim(safe_name); - for (std::wstring disallowed_name : disallowed_dir_names) { - if (str_equal(dev_name, disallowed_name, true)) { + if (str_equal(safe_name, disallowed_name, true)) { safe_name = utf8_to_wide(optional_prefix) + safe_name; break; } } - for (unsigned long i = 0; i < safe_name.length(); i++) { + // Replace leading and trailing spaces with underscores. + size_t start = safe_name.find_first_not_of(L' '); + size_t end = safe_name.find_last_not_of(L' '); + if (start == std::wstring::npos || end == std::wstring::npos) + start = end = safe_name.size(); + for (size_t i = 0; i < start; i++) + safe_name[i] = L'_'; + for (size_t i = end + 1; i < safe_name.size(); i++) + safe_name[i] = L'_'; + + // Replace other disallowed characters with underscores + for (size_t i = 0; i < safe_name.length(); i++) { bool is_valid = true; // Unlikely, but control characters should always be blacklisted @@ -909,7 +898,7 @@ std::string sanitizeDirName(const std::string &str, const std::string &optional_ } if (!is_valid) - safe_name[i] = '_'; + safe_name[i] = L'_'; } return wide_to_utf8(safe_name); diff --git a/src/util/string.h b/src/util/string.h index f4ca1a7de..d8ec633ee 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -749,7 +749,7 @@ inline irr::core::stringw utf8_to_stringw(const std::string &input) /** * Sanitize the name of a new directory. This consists of two stages: * 1. Check for 'reserved filenames' that can't be used on some filesystems - * and prefix them + * and add a prefix to them * 2. Remove 'unsafe' characters from the name by replacing them with '_' */ std::string sanitizeDirName(const std::string &str, const std::string &optional_prefix); -- cgit v1.2.3 From c9317a16c5877d5c7bb2c1e684fa56fc73a53413 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 29 Jan 2022 22:49:11 -0500 Subject: Remove duplicate test for trim --- src/unittest/test_utilities.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/unittest/test_utilities.cpp b/src/unittest/test_utilities.cpp index 10ea8d36a..98a143d1f 100644 --- a/src/unittest/test_utilities.cpp +++ b/src/unittest/test_utilities.cpp @@ -43,7 +43,6 @@ public: void testPadString(); void testStartsWith(); void testStrEqual(); - void testStringTrim(); void testStrToIntConversion(); void testStringReplace(); void testStringAllowed(); @@ -76,7 +75,6 @@ void TestUtilities::runTests(IGameDef *gamedef) TEST(testPadString); TEST(testStartsWith); TEST(testStrEqual); - TEST(testStringTrim); TEST(testStrToIntConversion); TEST(testStringReplace); TEST(testStringAllowed); @@ -192,6 +190,8 @@ void TestUtilities::testTrim() UASSERT(trim("dirt_with_grass") == "dirt_with_grass"); UASSERT(trim("\n \t\r Foo bAR \r\n\t\t ") == "Foo bAR"); UASSERT(trim("\n \t\r \r\n\t\t ") == ""); + UASSERT(trim(" a") == "a"); + UASSERT(trim("a ") == "a"); } @@ -257,15 +257,6 @@ void TestUtilities::testStrEqual() } -void TestUtilities::testStringTrim() -{ - UASSERT(trim(" a") == "a"); - UASSERT(trim(" a ") == "a"); - UASSERT(trim("a ") == "a"); - UASSERT(trim("") == ""); -} - - void TestUtilities::testStrToIntConversion() { UASSERT(mystoi("123", 0, 1000) == 123); -- cgit v1.2.3 From f5e54cd39845aeeff50cdbebf625abf3c4a5b92d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 29 Jan 2022 22:50:43 -0500 Subject: Fix OOB read in trim("") --- src/util/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/string.h b/src/util/string.h index d8ec633ee..aa4329f2f 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -295,11 +295,11 @@ inline std::string lowercase(const std::string &str) inline std::string trim(const std::string &str) { size_t front = 0; + size_t back = str.size(); - while (std::isspace(str[front])) + while (front < back && std::isspace(str[front])) ++front; - size_t back = str.size(); while (back > front && std::isspace(str[back - 1])) --back; -- cgit v1.2.3 From 24a0f55c9c84b2625a564fd07d9da75eaac9c60d Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 31 Jan 2022 19:42:24 -0500 Subject: Use CMake's -B, --build, and --install options --- .gitlab-ci.yml | 4 +++- Dockerfile | 17 +++++++---------- util/buildbot/buildwin32.sh | 8 +++----- util/buildbot/buildwin64.sh | 8 +++----- util/ci/build.sh | 8 +++----- util/ci/clang-tidy.sh | 10 +++------- 6 files changed, 22 insertions(+), 33 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04b70737d..81007d7c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,9 @@ variables: - DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git cmake libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libleveldb-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev script: - git clone https://github.com/minetest/irrlicht -b $IRRLICHT_TAG lib/irrlichtmt - - make -j$(($(nproc) + 1)) + - cmake -B build -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE .. + - cmake --build build --parallel $(($(nproc) + 1)) + - cmake --install build artifacts: when: on_success expire_in: 1h diff --git a/Dockerfile b/Dockerfile index 8d1008fa2..3dd82e772 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,23 +27,20 @@ RUN apk add --no-cache git build-base cmake sqlite-dev curl-dev zlib-dev zstd-de WORKDIR /usr/src/ RUN git clone --recursive https://github.com/jupp0r/prometheus-cpp/ && \ - mkdir prometheus-cpp/build && \ - cd prometheus-cpp/build && \ - cmake .. \ + cd prometheus-cpp && \ + cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_TESTING=0 \ -GNinja && \ - ninja && \ - ninja install + cmake --build build && \ + cmake --install build RUN git clone --depth=1 https://github.com/minetest/irrlicht/ -b ${IRRLICHT_VERSION} && \ cp -r irrlicht/include /usr/include/irrlichtmt WORKDIR /usr/src/minetest -RUN mkdir build && \ - cd build && \ - cmake .. \ +RUN cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SERVER=TRUE \ @@ -51,8 +48,8 @@ RUN mkdir build && \ -DBUILD_UNITTESTS=FALSE \ -DBUILD_CLIENT=FALSE \ -GNinja && \ - ninja && \ - ninja install + cmake --build build && \ + cmake --install build ARG DOCKER_IMAGE=alpine:3.14 FROM $DOCKER_IMAGE AS runtime diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index 78b87ec57..bf5c9a0f2 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -116,14 +116,12 @@ git_hash=$(cd $sourcedir && git rev-parse --short HEAD) # Build the thing cd $builddir [ -d build ] && rm -rf build -mkdir build -cd build irr_dlls=$(echo $libdir/irrlicht/lib/*.dll | tr ' ' ';') vorbis_dlls=$(echo $libdir/libvorbis/bin/libvorbis{,file}-*.dll | tr ' ' ';') gettext_dlls=$(echo $libdir/gettext/bin/lib{intl,iconv}-*.dll | tr ' ' ';') -cmake -S $sourcedir -B . \ +cmake -S $sourcedir -B build \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ @@ -184,9 +182,9 @@ cmake -S $sourcedir -B . \ -DLEVELDB_LIBRARY=$libdir/leveldb/lib/libleveldb.dll.a \ -DLEVELDB_DLL=$libdir/leveldb/bin/libleveldb.dll -make -j$(nproc) +cmake --build build -j$(nproc) -[ -z "$NO_PACKAGE" ] && make package +[ -z "$NO_PACKAGE" ] && cmake --build build --target package exit 0 # EOF diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 7526cc200..30920cf53 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -113,14 +113,12 @@ git_hash=$(cd $sourcedir && git rev-parse --short HEAD) # Build the thing cd $builddir [ -d build ] && rm -rf build -mkdir build -cd build irr_dlls=$(echo $libdir/irrlicht/lib/*.dll | tr ' ' ';') vorbis_dlls=$(echo $libdir/libvorbis/bin/libvorbis{,file}-*.dll | tr ' ' ';') gettext_dlls=$(echo $libdir/gettext/bin/lib{intl,iconv}-*.dll | tr ' ' ';') -cmake -S $sourcedir -B . \ +cmake -S $sourcedir -B build \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ @@ -181,9 +179,9 @@ cmake -S $sourcedir -B . \ -DLEVELDB_LIBRARY=$libdir/leveldb/lib/libleveldb.dll.a \ -DLEVELDB_DLL=$libdir/leveldb/bin/libleveldb.dll -make -j$(nproc) +cmake --build build -j$(nproc) -[ -z "$NO_PACKAGE" ] && make package +[ -z "$NO_PACKAGE" ] && cmake --build build --target package exit 0 # EOF diff --git a/util/ci/build.sh b/util/ci/build.sh index fb2ec945f..435cc11da 100755 --- a/util/ci/build.sh +++ b/util/ci/build.sh @@ -1,8 +1,6 @@ #! /bin/bash -e -mkdir build -cd build -cmake -DCMAKE_BUILD_TYPE=Debug \ +cmake -B build -DCMAKE_BUILD_TYPE=Debug \ -DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \ - -DBUILD_SERVER=TRUE ${CMAKE_FLAGS} .. -make -j$(($(nproc) + 1)) + -DBUILD_SERVER=TRUE ${CMAKE_FLAGS} +cmake --build build --parallel $(($(nproc) + 1)) diff --git a/util/ci/clang-tidy.sh b/util/ci/clang-tidy.sh index 74578eeac..e678cf3b9 100755 --- a/util/ci/clang-tidy.sh +++ b/util/ci/clang-tidy.sh @@ -1,15 +1,11 @@ #! /bin/bash -eu -mkdir -p build -cd build -cmake -DCMAKE_BUILD_TYPE=Debug \ +cmake -B build -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DRUN_IN_PLACE=TRUE \ -DENABLE_{GETTEXT,SOUND}=FALSE \ - -DBUILD_SERVER=TRUE .. -make GenerateVersion - -cd .. + -DBUILD_SERVER=TRUE +cmake --build build --target GenerateVersion ./util/ci/run-clang-tidy.py \ -clang-tidy-binary=clang-tidy-9 -p build \ -- cgit v1.2.3 From d9effbb179beda350dc3cab3b4d610addf3c7768 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 31 Jan 2022 20:00:14 -0500 Subject: Fix spaces generated by settings file generator --- builtin/mainmenu/generate_from_settingtypes.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/builtin/mainmenu/generate_from_settingtypes.lua b/builtin/mainmenu/generate_from_settingtypes.lua index 43fc57bb9..4fcaa7076 100644 --- a/builtin/mainmenu/generate_from_settingtypes.lua +++ b/builtin/mainmenu/generate_from_settingtypes.lua @@ -31,7 +31,7 @@ local group_format_template = [[ # octaves = %s, # persistence = %s, # lacunarity = %s, -# flags = %s +# flags =%s # } ]] @@ -55,7 +55,11 @@ local function create_minetest_conf_example() end if entry.comment ~= "" then for _, comment_line in ipairs(entry.comment:split("\n", true)) do - insert(result, "# " .. comment_line .. "\n") + if comment_line == "" then + insert(result, "#\n") + else + insert(result, "# " .. comment_line .. "\n") + end end end insert(result, "# type: " .. entry.type) @@ -73,10 +77,14 @@ local function create_minetest_conf_example() end insert(result, "\n") if group_format == true then + local flags = entry.values[10] + if flags ~= "" then + flags = " "..flags + end insert(result, sprintf(group_format_template, entry.name, entry.values[1], entry.values[2], entry.values[3], entry.values[4], entry.values[5], entry.values[6], entry.values[7], entry.values[8], entry.values[9], - entry.values[10])) + flags)) else local append if entry.default ~= "" then @@ -126,4 +134,3 @@ file = assert(io.open("src/settings_translation_file.cpp", "w")) --file = assert(io.open("settings_translation_file.cpp", "w")) file:write(create_translation_file()) file:close() - -- cgit v1.2.3 From 80db8804c7f0231ce003c35cedbeb576efd39aa1 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 31 Jan 2022 20:01:20 -0500 Subject: Fix typo and update settings files --- builtin/mainmenu/generate_from_settingtypes.lua | 2 +- minetest.conf.example | 69 +++++++++++++++++++++++++ src/settings_translation_file.cpp | 8 +-- 3 files changed, 75 insertions(+), 4 deletions(-) diff --git a/builtin/mainmenu/generate_from_settingtypes.lua b/builtin/mainmenu/generate_from_settingtypes.lua index 4fcaa7076..0f551fbb1 100644 --- a/builtin/mainmenu/generate_from_settingtypes.lua +++ b/builtin/mainmenu/generate_from_settingtypes.lua @@ -99,7 +99,7 @@ end local translation_file_header = [[ // This file is automatically generated -// It conatins a bunch of fake gettext calls, to tell xgettext about the strings in config files +// It contains a bunch of fake gettext calls, to tell xgettext about the strings in config files // To update it, refer to the bottom of builtin/mainmenu/dlg_settings_advanced.lua fake_function() {]] diff --git a/minetest.conf.example b/minetest.conf.example index 21aeb3546..3cdb15026 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -666,6 +666,70 @@ # type: bool # enable_waving_plants = false +#### Dynamic shadows + +# Set to true to enable Shadow Mapping. +# Requires shaders to be enabled. +# type: bool +# enable_dynamic_shadows = false + +# Set the shadow strength gamma. +# Adjusts the intensity of in-game dynamic shadows. +# Lower value means lighter shadows, higher value means darker shadows. +# type: float min: 0.1 max: 10 +# shadow_strength_gamma = 1.0 + +# Maximum distance to render shadows. +# type: float min: 10 max: 1000 +# shadow_map_max_distance = 120.0 + +# Texture size to render the shadow map on. +# This must be a power of two. +# Bigger numbers create better shadows but it is also more expensive. +# type: int min: 128 max: 8192 +# shadow_map_texture_size = 1024 + +# Sets shadow texture quality to 32 bits. +# On false, 16 bits texture will be used. +# This can cause much more artifacts in the shadow. +# type: bool +# shadow_map_texture_32bit = true + +# Enable Poisson disk filtering. +# On true uses Poisson disk to make "soft shadows". Otherwise uses PCF filtering. +# type: bool +# shadow_poisson_filter = true + +# Define shadow filtering quality. +# This simulates the soft shadows effect by applying a PCF or Poisson disk +# but also uses more resources. +# type: enum values: 0, 1, 2 +# shadow_filters = 1 + +# Enable colored shadows. +# On true translucent nodes cast colored shadows. This is expensive. +# type: bool +# shadow_map_color = false + +# Spread a complete update of shadow map over given amount of frames. +# Higher values might make shadows laggy, lower values +# will consume more resources. +# Minimum value: 1; maximum value: 16 +# type: int min: 1 max: 16 +# shadow_update_frames = 8 + +# Set the soft shadow radius size. +# Lower values mean sharper shadows, bigger values mean softer shadows. +# Minimum value: 1.0; maximum value: 10.0 +# type: float min: 1 max: 10 +# shadow_soft_radius = 1.0 + +# Set the tilt of Sun/Moon orbit in degrees. +# Value of 0 means no tilt / vertical orbit. +# Minimum value: 0.0; maximum value: 60.0 +# type: float min: 0 max: 60 +# shadow_sky_body_orbit_tilt = 0.0 + ### Advanced # Arm inertia, gives a more realistic movement of @@ -939,6 +1003,11 @@ # type: bool # show_entity_selectionbox = false +# Distance in nodes at which transparency depth sorting is enabled +# Use this to limit the performance impact of transparency depth sorting +# type: int min: 0 max: 128 +# transparency_sorting_distance = 16 + ## Menus # Use a cloud animation for the main menu background. diff --git a/src/settings_translation_file.cpp b/src/settings_translation_file.cpp index ebb7ba9be..d7811bafa 100644 --- a/src/settings_translation_file.cpp +++ b/src/settings_translation_file.cpp @@ -1,5 +1,5 @@ // This file is automatically generated -// It conatins a bunch of fake gettext calls, to tell xgettext about the strings in config files +// It contains a bunch of fake gettext calls, to tell xgettext about the strings in config files // To update it, refer to the bottom of builtin/mainmenu/dlg_settings_advanced.lua fake_function() { @@ -266,8 +266,8 @@ fake_function() { gettext("Dynamic shadows"); gettext("Dynamic shadows"); gettext("Set to true to enable Shadow Mapping.\nRequires shaders to be enabled."); - gettext("Shadow strength"); - gettext("Set the shadow strength.\nLower value means lighter shadows, higher value means darker shadows."); + gettext("Shadow strength gamma"); + gettext("Set the shadow strength gamma.\nAdjusts the intensity of in-game dynamic shadows.\nLower value means lighter shadows, higher value means darker shadows."); gettext("Shadow map max distance in nodes to render shadows"); gettext("Maximum distance to render shadows."); gettext("Shadow map texture size"); @@ -395,6 +395,8 @@ fake_function() { gettext("World-aligned textures may be scaled to span several nodes. However,\nthe server may not send the scale you want, especially if you use\na specially-designed texture pack; with this option, the client tries\nto determine the scale automatically basing on the texture size.\nSee also texture_min_size.\nWarning: This option is EXPERIMENTAL!"); gettext("Show entity selection boxes"); gettext("Show entity selection boxes\nA restart is required after changing this."); + gettext("Transparency Sorting Distance"); + gettext("Distance in nodes at which transparency depth sorting is enabled\nUse this to limit the performance impact of transparency depth sorting"); gettext("Menus"); gettext("Clouds in menu"); gettext("Use a cloud animation for the main menu background."); -- cgit v1.2.3 From 833538cc90db1c489fd66a41aa033f9519963d04 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 3 Apr 2022 12:52:23 -0400 Subject: Remove generate-texture-normals.sh Minetest does not use normal maps any more. --- util/generate-texture-normals.sh | 255 --------------------------------------- 1 file changed, 255 deletions(-) delete mode 100755 util/generate-texture-normals.sh diff --git a/util/generate-texture-normals.sh b/util/generate-texture-normals.sh deleted file mode 100755 index b2fcbf77b..000000000 --- a/util/generate-texture-normals.sh +++ /dev/null @@ -1,255 +0,0 @@ -#!/bin/bash - -# This script generates normalmaps using The GIMP to do the heavy lifting. -# give any unrecognized switch (say, -h) for usage info. - -rm /tmp/normals_filelist.txt - -numprocs=6 - -skiptools=false -skipinventory=false -invresolution=64 -dryrun=false -pattern="*.png *.jpg" - -filter=0 -scale=8 -wrap=0 -heightsource=0 -conversion=0 -invertx=0 -inverty=0 - -while test -n "$1"; do - case "$1" in - --scale|-s) - if [ -z "$2" ] ; then echo "Missing scale parameter"; exit 1; fi - scale=$2 - shift - shift - ;; - --pattern|-p) - if [ -z "$2" ] ; then echo "Missing pattern parameter"; exit 1; fi - pattern=$2 - shift - shift - ;; - --skiptools|-t) - skiptools=true - shift - ;; - --skipinventory|-i) - if [[ $2 =~ ^[0-9]+$ ]]; then - invresolution=$2 - shift - fi - skipinventory=true - shift - ;; - --filter|-f) - if [ -z "$2" ] ; then echo "Missing filter parameter"; exit 1; fi - - case "$2" in - sobel3|1) - filter=1 - ;; - sobel5|2) - filter=2 - ;; - prewitt3|3) - filter=3 - ;; - prewitt5|4) - filter=4 - ;; - 3x3|5) - filter=5 - ;; - 5x5|6) - filter=6 - ;; - 7x7|7) - filter=7 - ;; - 9x9|8) - filter=8 - ;; - *) - filter=0 - ;; - esac - - shift - shift - ;; - --heightalpha|-a) - heightsource=1 - shift - ;; - --conversion|-c) - if [ -z "$2" ] ; then echo "Missing conversion parameter"; exit 1; fi - - case "$2" in - biased|1) - conversion=1 - ;; - red|2) - conversion=2 - ;; - green|3) - conversion=3 - ;; - blue|4) - conversion=4 - ;; - maxrgb|5) - conversion=5 - ;; - minrgb|6) - conversion=6 - ;; - colorspace|7) - conversion=7 - ;; - normalize-only|8) - conversion=8 - ;; - heightmap|9) - conversion=9 - ;; - *) - conversion=0 - ;; - esac - - shift - shift - ;; - --wrap|-w) - wrap=1 - shift - ;; - --invertx|-x) - invertx=1 - shift - ;; - --inverty|-y) - inverty=1 - shift - ;; - --dryrun|-d) - dryrun=true - shift - ;; - *) - echo -e "\nUsage:\n" - echo "`basename $0` [--scale|-s ] [--filter|-f ]" - echo " [--wrap|-w] [--heightalpha|-a] [--invertx|-x] [--inverty|-y]" - echo " [--conversion|-c ] [--skiptools|-t] [--skipinventory|-i []]" - echo " [--dryrun|-d] [--pattern|-p ]" - echo -e "\nDefaults to a scale of 8, checking all files in the current directory, and not" - echo "skipping apparent tools or inventory images. Filter, if specified, may be one" - echo "of: sobel3, sobel5, prewitt3, prewitt5, 3x3, 5x5, 7x7, or 9x9, or a value 1" - echo "through 8 (1=sobel3, 2=sobel5, etc.). Defaults to 0 (four-sample). The height" - echo "source is taken from the image's alpha channel if heightalpha is specified.\n" - echo "" - echo "If inventory skip is specified, an optional resolution may also be included" - echo "(default is 64). Conversion can be one of: biased, red, green, blue, maxrgb," - echo "minrgb, colorspace, normalize-only, heightmap or a value from 1 to 9" - echo "corresponding respectively to those keywords. Defaults to 0 (simple" - echo "normalize) if not specified. Wrap, if specified, enables wrapping of the" - echo "normalmap around the edges of the texture (defaults to no). Invert X/Y" - echo "reverses the calculated gradients for the X and/or Y dimensions represented" - echo "by the normalmap (both default to non-inverted)." - echo "" - echo "The pattern, can be an escaped pattern string such as \*apple\* or" - echo "default_\*.png or similar (defaults to all PNG and JPG images in the current" - echo "directory that do not contain \"_normal\" or \"_specular\" in their filenames)." - echo "" - echo "If set for dry-run, the actions this script will take will be printed, but no" - echo "images will be generated. Passing an invalid value to a switch will generally" - echo "cause that switch to revert to its default value." - echo "" - exit 1 - ;; - esac -done - -echo -e "\nProcessing files based on pattern \"$pattern\" ..." - -normalMap() -{ - out=`echo "$1" | sed 's/.png/_normal.png/' | sed 's/.jpg/_normal.png/'` - - echo "Launched process to generate normalmap: \"$1\" --> \"$out\"" >&2 - - gimp -i -b " - (define - (normalMap-fbx-conversion fileName newFileName filter nscale wrap heightsource conversion invertx inverty) - (let* - ( - (image (car (gimp-file-load RUN-NONINTERACTIVE fileName fileName))) - (drawable (car (gimp-image-get-active-layer image))) - (drawable (car (gimp-image-flatten image))) - ) - (if (> (car (gimp-drawable-type drawable)) 1) - (gimp-convert-rgb image) () - ) - - (plug-in-normalmap - RUN-NONINTERACTIVE - image - drawable - filter - 0.0 - nscale - wrap - heightsource - 0 - conversion - 0 - invertx - inverty - 0 - 0.0 - drawable) - (gimp-file-save RUN-NONINTERACTIVE image drawable newFileName newFileName) - (gimp-image-delete image) - ) - ) - (normalMap-fbx-conversion \"$1\" \"$out\" $2 $3 $4 $5 $6 $7 $8)" -b '(gimp-quit 0)' -} - -export -f normalMap - -for file in `ls $pattern |grep -v "_normal.png"|grep -v "_specular"` ; do - - invtest=`file "$file" |grep "$invresolution x $invresolution"` - if $skipinventory && [ -n "$invtest" ] ; then - echo "Skipped presumed "$invresolution"px inventory image: $file" >&2 - continue - fi - - tooltest=`echo "$file" \ - | grep -v "_tool" \ - | grep -v "_shovel" \ - | grep -v "_pick" \ - | grep -v "_axe" \ - | grep -v "_sword" \ - | grep -v "_hoe" \ - | grep -v "bucket_"` - - if $skiptools && [ -z "$tooltest" ] ; then - echo "Skipped presumed tool image: $file" >&2 - continue - fi - - if $dryrun ; then - echo "Would have generated a normalmap for $file" >&2 - continue - else - echo \"$file\" $filter $scale $wrap $heightsource $conversion $invertx $inverty - fi -done | xargs -P $numprocs -n 8 -I{} bash -c normalMap\ \{\}\ \{\}\ \{\}\ \{\}\ \{\}\ \{\}\ \{\}\ \{\} - -- cgit v1.2.3 From 2d8eac4e0a609acf7a26e59141e6c684fdb546d0 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Thu, 7 Apr 2022 21:54:33 -0400 Subject: Don't test overflow behavior for VoxelArea extents --- src/unittest/test_voxelarea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unittest/test_voxelarea.cpp b/src/unittest/test_voxelarea.cpp index 1d72650d7..a79c9778e 100644 --- a/src/unittest/test_voxelarea.cpp +++ b/src/unittest/test_voxelarea.cpp @@ -120,7 +120,7 @@ void TestVoxelArea::test_extent() VoxelArea v1(v3s16(-1337, -547, -789), v3s16(-147, 447, 669)); UASSERT(v1.getExtent() == v3s16(1191, 995, 1459)); - VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, -32768)); + VoxelArea v2(v3s16(32493, -32507, 32752), v3s16(32508, -32492, 32767)); UASSERT(v2.getExtent() == v3s16(16, 16, 16)); } @@ -129,7 +129,7 @@ void TestVoxelArea::test_volume() VoxelArea v1(v3s16(-1337, -547, -789), v3s16(-147, 447, 669)); UASSERTEQ(s32, v1.getVolume(), 1728980655); - VoxelArea v2(v3s16(32493, -32507, 32753), v3s16(32508, -32492, -32768)); + VoxelArea v2(v3s16(32493, -32507, 32752), v3s16(32508, -32492, 32767)); UASSERTEQ(s32, v2.getVolume(), 4096); } -- cgit v1.2.3 From 1f27bf6380f35656db75437bfbaecf26bf95405e Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Sun, 10 Apr 2022 23:20:51 +0200 Subject: Remove unneeded ObjectRef setter return values (#12179) --- doc/lua_api.txt | 1 - src/script/lua_api/l_object.cpp | 47 +++++++++++++++-------------------------- 2 files changed, 17 insertions(+), 31 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 161bdd249..aa58bd48e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7023,7 +7023,6 @@ object you are working with still exists. * `light_definition` is a table with the following optional fields: * `shadows` is a table that controls ambient shadows * `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness) - * Returns true on success. * `get_lighting()`: returns the current state of lighting for the player. * Result is a table with the same fields as `light_definition` in `set_lighting`. diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 6153a0399..39b19364e 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -420,8 +420,7 @@ int ObjectRef::l_set_local_animation(lua_State *L) float frame_speed = readParam(L, 6, 30.0f); getServer(L)->setLocalPlayerAnimations(player, frames, frame_speed); - lua_pushboolean(L, true); - return 1; + return 0; } // get_local_animation(self) @@ -464,8 +463,7 @@ int ObjectRef::l_set_eye_offset(lua_State *L) offset_third.Y = rangelim(offset_third.Y,-10,15); //1.5*BS getServer(L)->setPlayerEyeOffset(player, offset_first, offset_third); - lua_pushboolean(L, true); - return 1; + return 0; } // get_eye_offset(self) @@ -737,8 +735,7 @@ int ObjectRef::l_set_nametag_attributes(lua_State *L) prop->validate(); sao->notifyObjectPropertiesModified(); - lua_pushboolean(L, true); - return 1; + return 0; } // get_nametag_attributes(self) @@ -1116,7 +1113,7 @@ int ObjectRef::l_set_look_vertical(lua_State *L) float pitch = readParam(L, 2) * core::RADTODEG; playersao->setLookPitchAndSend(pitch); - return 1; + return 0; } // set_look_horizontal(self, radians) @@ -1131,7 +1128,7 @@ int ObjectRef::l_set_look_horizontal(lua_State *L) float yaw = readParam(L, 2) * core::RADTODEG; playersao->setPlayerYawAndSend(yaw); - return 1; + return 0; } // DEPRECATED @@ -1151,7 +1148,7 @@ int ObjectRef::l_set_look_pitch(lua_State *L) float pitch = readParam(L, 2) * core::RADTODEG; playersao->setLookPitchAndSend(pitch); - return 1; + return 0; } // DEPRECATED @@ -1171,7 +1168,7 @@ int ObjectRef::l_set_look_yaw(lua_State *L) float yaw = readParam(L, 2) * core::RADTODEG; playersao->setPlayerYawAndSend(yaw); - return 1; + return 0; } // set_fov(self, degrees, is_multiplier, transition_time) @@ -1310,8 +1307,7 @@ int ObjectRef::l_set_inventory_formspec(lua_State *L) player->inventory_formspec = formspec; getServer(L)->reportInventoryFormspecModified(player->getName()); - lua_pushboolean(L, true); - return 1; + return 0; } // get_inventory_formspec(self) -> formspec @@ -1342,8 +1338,7 @@ int ObjectRef::l_set_formspec_prepend(lua_State *L) player->formspec_prepend = formspec; getServer(L)->reportFormspecPrependModified(player->getName()); - lua_pushboolean(L, true); - return 1; + return 0; } // get_formspec_prepend(self) @@ -1603,8 +1598,7 @@ int ObjectRef::l_hud_set_flags(lua_State *L) if (!getServer(L)->hudSetFlags(player, flags, mask)) return 0; - lua_pushboolean(L, true); - return 1; + return 0; } // hud_get_flags(self) @@ -1861,8 +1855,7 @@ int ObjectRef::l_set_sky(lua_State *L) } getServer(L)->setSky(player, sky_params); - lua_pushboolean(L, true); - return 1; + return 0; } static void push_sky_color(lua_State *L, const SkyboxParams ¶ms) @@ -1984,8 +1977,7 @@ int ObjectRef::l_set_sun(lua_State *L) } getServer(L)->setSun(player, sun_params); - lua_pushboolean(L, true); - return 1; + return 0; } //get_sun(self) @@ -2038,8 +2030,7 @@ int ObjectRef::l_set_moon(lua_State *L) } getServer(L)->setMoon(player, moon_params); - lua_pushboolean(L, true); - return 1; + return 0; } // get_moon(self) @@ -2094,8 +2085,7 @@ int ObjectRef::l_set_stars(lua_State *L) } getServer(L)->setStars(player, star_params); - lua_pushboolean(L, true); - return 1; + return 0; } // get_stars(self) @@ -2162,8 +2152,7 @@ int ObjectRef::l_set_clouds(lua_State *L) } getServer(L)->setClouds(player, cloud_params); - lua_pushboolean(L, true); - return 1; + return 0; } int ObjectRef::l_get_clouds(lua_State *L) @@ -2217,8 +2206,7 @@ int ObjectRef::l_override_day_night_ratio(lua_State *L) } getServer(L)->overrideDayNightRatio(player, do_override, ratio); - lua_pushboolean(L, true); - return 1; + return 0; } // get_day_night_ratio(self) @@ -2313,8 +2301,7 @@ int ObjectRef::l_set_lighting(lua_State *L) lua_pop(L, -1); getServer(L)->setLighting(player, lighting); - lua_pushboolean(L, true); - return 1; + return 0; } // get_lighting(self) -- cgit v1.2.3 From 9aabd911eb57a5ddef72dd9b7c96f5cca1bd258e Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Mon, 4 Apr 2022 15:19:04 +0200 Subject: Fix item entity Z-fighting --- builtin/game/item_entity.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builtin/game/item_entity.lua b/builtin/game/item_entity.lua index 9b1b23bfd..3c058c48d 100644 --- a/builtin/game/item_entity.lua +++ b/builtin/game/item_entity.lua @@ -58,11 +58,12 @@ core.register_entity(":__builtin:item", { local glow = def and def.light_source and math.floor(def.light_source / 2 + 0.5) + local size_bias = 1e-3 * math.random() -- small random bias to counter Z-fighting self.object:set_properties({ is_visible = true, visual = "wielditem", textures = {itemname}, - visual_size = {x = size, y = size}, + visual_size = {x = size + size_bias, y = size + size_bias}, collisionbox = {-size, -size, -size, size, size, size}, automatic_rotate = math.pi * 0.5 * 0.2 / size, wield_item = self.itemstring, -- cgit v1.2.3 From a5d29fa1d4bc6849d7a6529edc522accac8219d2 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 14 Apr 2022 22:49:30 +0200 Subject: Implement shadow offsets for the new SM distortion function (#12191) * Move shadow position calculation to vertex shaders * Animate entire scene before rendering shadows to prevent lagging of shadows * Remove unnecessary use of PolygonOffsetFactor * Apply normal offset to both nodes and objects * Rename getPerspectiveFactor -> applyPerspectiveDistortion * Remove perspective distortion from fragment shaders --- client/shaders/nodes_shader/opengl_fragment.glsl | 36 +++-------- client/shaders/nodes_shader/opengl_vertex.glsl | 73 +++++++++++++++++----- client/shaders/object_shader/opengl_fragment.glsl | 35 +++-------- client/shaders/object_shader/opengl_vertex.glsl | 72 ++++++++++++++++----- .../shaders/shadow_shaders/pass1_trans_vertex.glsl | 31 ++++++--- client/shaders/shadow_shaders/pass1_vertex.glsl | 31 ++++++--- src/client/render/core.cpp | 5 +- src/client/shadows/dynamicshadows.h | 8 ++- src/client/shadows/dynamicshadowsrender.cpp | 13 +--- 9 files changed, 183 insertions(+), 121 deletions(-) diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index fea350788..8110f6fd3 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -18,10 +18,13 @@ uniform float animationTimer; uniform float f_shadowfar; uniform float f_shadow_strength; uniform vec4 CameraPos; - varying float normalOffsetScale; + uniform float xyPerspectiveBias0; + uniform float xyPerspectiveBias1; + varying float adj_shadow_strength; varying float cosLight; varying float f_normal_length; + varying vec3 shadow_position; #endif @@ -45,24 +48,7 @@ varying float nightRatio; const float fogStart = FOG_START; const float fogShadingParameter = 1.0 / ( 1.0 - fogStart); - - #ifdef ENABLE_DYNAMIC_SHADOWS -uniform float xyPerspectiveBias0; -uniform float xyPerspectiveBias1; -uniform float zPerspectiveBias; - -vec4 getPerspectiveFactor(in vec4 shadowPosition) -{ - vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); - vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); - float pDistance = length(l); - float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - l /= pFactor; - shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; - shadowPosition.z *= zPerspectiveBias; - return shadowPosition; -} // assuming near is always 1.0 float getLinearDepth() @@ -72,15 +58,7 @@ float getLinearDepth() vec3 getLightSpacePosition() { - vec4 pLightSpace; - // some drawtypes have zero normals, so we need to handle it :( - #if DRAW_TYPE == NDT_PLANTLIKE - pLightSpace = m_ShadowViewProj * vec4(worldPosition, 1.0); - #else - pLightSpace = m_ShadowViewProj * vec4(worldPosition + normalOffsetScale * normalize(vNormal), 1.0); - #endif - pLightSpace = getPerspectiveFactor(pLightSpace); - return pLightSpace.xyz * 0.5 + 0.5; + return shadow_position * 0.5 + 0.5; } // custom smoothstep implementation because it's not defined in glsl1.2 // https://docs.gl/sl4/smoothstep @@ -499,14 +477,14 @@ void main(void) #ifdef COLORED_SHADOWS vec4 visibility; - if (cosLight > 0.0) + if (cosLight > 0.0 || f_normal_length < 1e-3) visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); else visibility = vec4(1.0, 0.0, 0.0, 0.0); shadow_int = visibility.r; shadow_color = visibility.gba; #else - if (cosLight > 0.0) + if (cosLight > 0.0 || f_normal_length < 1e-3) shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); else shadow_int = 1.0; diff --git a/client/shaders/nodes_shader/opengl_vertex.glsl b/client/shaders/nodes_shader/opengl_vertex.glsl index 8c7e27459..3ea0faa36 100644 --- a/client/shaders/nodes_shader/opengl_vertex.glsl +++ b/client/shaders/nodes_shader/opengl_vertex.glsl @@ -32,10 +32,13 @@ centroid varying vec2 varTexCoord; uniform float f_shadowfar; uniform float f_shadow_strength; uniform float f_timeofday; + uniform vec4 CameraPos; + varying float cosLight; varying float normalOffsetScale; varying float adj_shadow_strength; varying float f_normal_length; + varying vec3 shadow_position; #endif @@ -47,8 +50,36 @@ const float e = 2.718281828459; const float BS = 10.0; uniform float xyPerspectiveBias0; uniform float xyPerspectiveBias1; +uniform float zPerspectiveBias; #ifdef ENABLE_DYNAMIC_SHADOWS + +vec4 getRelativePosition(in vec4 position) +{ + vec2 l = position.xy - CameraPos.xy; + vec2 s = l / abs(l); + s = (1.0 - s * CameraPos.xy); + l /= s; + return vec4(l, s); +} + +float getPerspectiveFactor(in vec4 relativePosition) +{ + float pDistance = length(relativePosition.xy); + float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; + return pFactor; +} + +vec4 applyPerspectiveDistortion(in vec4 position) +{ + vec4 l = getRelativePosition(position); + float pFactor = getPerspectiveFactor(l); + l.xy /= pFactor; + position.xy = l.xy * l.zw + CameraPos.xy; + position.z *= zPerspectiveBias; + return position; +} + // custom smoothstep implementation because it's not defined in glsl1.2 // https://docs.gl/sl4/smoothstep float mtsmoothstep(in float edge0, in float edge1, in float x) @@ -196,21 +227,32 @@ void main(void) #ifdef ENABLE_DYNAMIC_SHADOWS if (f_shadow_strength > 0.0) { - vec3 nNormal = normalize(vNormal); - cosLight = dot(nNormal, -v_LightDirection); - - // Calculate normal offset scale based on the texel size adjusted for - // curvature of the SM texture. This code must be change together with - // getPerspectiveFactor or any light-space transformation. - vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; - // Distance from the vertex to the player - float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; - // perspective factor estimation according to the - float perspectiveFactor = distanceToPlayer * xyPerspectiveBias0 + xyPerspectiveBias1; - float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / - (f_textureresolution * xyPerspectiveBias1 - perspectiveFactor * xyPerspectiveBias0); - float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); - normalOffsetScale = texelSize * slopeScale; + vec3 nNormal; + f_normal_length = length(vNormal); + + /* normalOffsetScale is in world coordinates (1/10th of a meter) + z_bias is in light space coordinates */ + float normalOffsetScale, z_bias; + float pFactor = getPerspectiveFactor(getRelativePosition(m_ShadowViewProj * mWorld * inVertexPosition)); + if (f_normal_length > 0.0) { + nNormal = normalize(vNormal); + cosLight = dot(nNormal, -v_LightDirection); + float sinLight = pow(1 - pow(cosLight, 2.0), 0.5); + normalOffsetScale = 2.0 * pFactor * pFactor * sinLight * min(f_shadowfar, 500.0) / + xyPerspectiveBias1 / f_textureresolution; + z_bias = 1.0 * sinLight / cosLight; + } + else { + nNormal = vec3(0.0); + cosLight = clamp(dot(v_LightDirection, normalize(vec3(v_LightDirection.x, 0.0, v_LightDirection.z))), 1e-2, 1.0); + float sinLight = pow(1 - pow(cosLight, 2.0), 0.5); + normalOffsetScale = 0.0; + z_bias = 3.6e3 * sinLight / cosLight; + } + z_bias *= pFactor * pFactor / f_textureresolution / f_shadowfar; + + shadow_position = applyPerspectiveDistortion(m_ShadowViewProj * mWorld * (inVertexPosition + vec4(normalOffsetScale * nNormal, 0.0))).xyz; + shadow_position.z -= z_bias; if (f_timeofday < 0.2) { adj_shadow_strength = f_shadow_strength * 0.5 * @@ -223,7 +265,6 @@ void main(void) mtsmoothstep(0.20, 0.25, f_timeofday) * (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); } - f_normal_length = length(vNormal); } #endif } diff --git a/client/shaders/object_shader/opengl_fragment.glsl b/client/shaders/object_shader/opengl_fragment.glsl index 2611bf8ef..7baf5826f 100644 --- a/client/shaders/object_shader/opengl_fragment.glsl +++ b/client/shaders/object_shader/opengl_fragment.glsl @@ -19,10 +19,13 @@ uniform float animationTimer; uniform float f_shadowfar; uniform float f_shadow_strength; uniform vec4 CameraPos; - varying float normalOffsetScale; + uniform float xyPerspectiveBias0; + uniform float xyPerspectiveBias1; + varying float adj_shadow_strength; varying float cosLight; varying float f_normal_length; + varying vec3 shadow_position; #endif @@ -48,24 +51,7 @@ varying float vIDiff; const float fogStart = FOG_START; const float fogShadingParameter = 1.0 / (1.0 - fogStart); - - #ifdef ENABLE_DYNAMIC_SHADOWS -uniform float xyPerspectiveBias0; -uniform float xyPerspectiveBias1; -uniform float zPerspectiveBias; - -vec4 getPerspectiveFactor(in vec4 shadowPosition) -{ - vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); - vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); - float pDistance = length(l); - float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - l /= pFactor; - shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; - shadowPosition.z *= zPerspectiveBias; - return shadowPosition; -} // assuming near is always 1.0 float getLinearDepth() @@ -75,15 +61,7 @@ float getLinearDepth() vec3 getLightSpacePosition() { - vec4 pLightSpace; - // some drawtypes have zero normals, so we need to handle it :( - #if DRAW_TYPE == NDT_PLANTLIKE - pLightSpace = m_ShadowViewProj * vec4(worldPosition, 1.0); - #else - pLightSpace = m_ShadowViewProj * vec4(worldPosition + normalOffsetScale * normalize(vNormal), 1.0); - #endif - pLightSpace = getPerspectiveFactor(pLightSpace); - return pLightSpace.xyz * 0.5 + 0.5; + return shadow_position * 0.5 + 0.5; } // custom smoothstep implementation because it's not defined in glsl1.2 // https://docs.gl/sl4/smoothstep @@ -503,13 +481,14 @@ void main(void) #ifdef COLORED_SHADOWS vec4 visibility; - if (cosLight > 0.0) + if (cosLight > 0.0 || f_normal_length < 1e-3) visibility = getShadowColor(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); else visibility = vec4(1.0, 0.0, 0.0, 0.0); shadow_int = visibility.r; shadow_color = visibility.gba; #else + if (cosLight > 0.0 || f_normal_length < 1e-3) if (cosLight > 0.0) shadow_int = getShadow(ShadowMapSampler, posLightSpace.xy, posLightSpace.z); else diff --git a/client/shaders/object_shader/opengl_vertex.glsl b/client/shaders/object_shader/opengl_vertex.glsl index 55861b0e9..6dc25f854 100644 --- a/client/shaders/object_shader/opengl_vertex.glsl +++ b/client/shaders/object_shader/opengl_vertex.glsl @@ -24,10 +24,12 @@ centroid varying vec2 varTexCoord; uniform float f_shadowfar; uniform float f_shadow_strength; uniform float f_timeofday; + uniform vec4 CameraPos; + varying float cosLight; - varying float normalOffsetScale; varying float adj_shadow_strength; varying float f_normal_length; + varying vec3 shadow_position; #endif varying vec3 eyeVec; @@ -39,8 +41,36 @@ const float e = 2.718281828459; const float BS = 10.0; uniform float xyPerspectiveBias0; uniform float xyPerspectiveBias1; +uniform float zPerspectiveBias; #ifdef ENABLE_DYNAMIC_SHADOWS + +vec4 getRelativePosition(in vec4 position) +{ + vec2 l = position.xy - CameraPos.xy; + vec2 s = l / abs(l); + s = (1.0 - s * CameraPos.xy); + l /= s; + return vec4(l, s); +} + +float getPerspectiveFactor(in vec4 relativePosition) +{ + float pDistance = length(relativePosition.xy); + float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; + return pFactor; +} + +vec4 applyPerspectiveDistortion(in vec4 position) +{ + vec4 l = getRelativePosition(position); + float pFactor = getPerspectiveFactor(l); + l.xy /= pFactor; + position.xy = l.xy * l.zw + CameraPos.xy; + position.z *= zPerspectiveBias; + return position; +} + // custom smoothstep implementation because it's not defined in glsl1.2 // https://docs.gl/sl4/smoothstep float mtsmoothstep(in float edge0, in float edge1, in float x) @@ -107,20 +137,31 @@ void main(void) #ifdef ENABLE_DYNAMIC_SHADOWS if (f_shadow_strength > 0.0) { vec3 nNormal = normalize(vNormal); - cosLight = dot(nNormal, -v_LightDirection); - - // Calculate normal offset scale based on the texel size adjusted for - // curvature of the SM texture. This code must be change together with - // getPerspectiveFactor or any light-space transformation. - vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset; - // Distance from the vertex to the player - float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar; - // perspective factor estimation according to the - float perspectiveFactor = distanceToPlayer * xyPerspectiveBias0 + xyPerspectiveBias1; - float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor / - (f_textureresolution * xyPerspectiveBias1 - perspectiveFactor * xyPerspectiveBias0); - float slopeScale = clamp(pow(1.0 - cosLight*cosLight, 0.5), 0.0, 1.0); - normalOffsetScale = texelSize * slopeScale; + f_normal_length = length(vNormal); + + /* normalOffsetScale is in world coordinates (1/10th of a meter) + z_bias is in light space coordinates */ + float normalOffsetScale, z_bias; + float pFactor = getPerspectiveFactor(getRelativePosition(m_ShadowViewProj * mWorld * inVertexPosition)); + if (f_normal_length > 0.0) { + nNormal = normalize(vNormal); + cosLight = dot(nNormal, -v_LightDirection); + float sinLight = pow(1 - pow(cosLight, 2.0), 0.5); + normalOffsetScale = 0.1 * pFactor * pFactor * sinLight * min(f_shadowfar, 500.0) / + xyPerspectiveBias1 / f_textureresolution; + z_bias = 1e3 * sinLight / cosLight * (0.5 + f_textureresolution / 1024.0); + } + else { + nNormal = vec3(0.0); + cosLight = clamp(dot(v_LightDirection, normalize(vec3(v_LightDirection.x, 0.0, v_LightDirection.z))), 1e-2, 1.0); + float sinLight = pow(1 - pow(cosLight, 2.0), 0.5); + normalOffsetScale = 0.0; + z_bias = 3.6e3 * sinLight / cosLight; + } + z_bias *= pFactor * pFactor / f_textureresolution / f_shadowfar; + + shadow_position = applyPerspectiveDistortion(m_ShadowViewProj * mWorld * (inVertexPosition + vec4(normalOffsetScale * nNormal, 0.0))).xyz; + shadow_position.z -= z_bias; if (f_timeofday < 0.2) { adj_shadow_strength = f_shadow_strength * 0.5 * @@ -133,7 +174,6 @@ void main(void) mtsmoothstep(0.20, 0.25, f_timeofday) * (1.0 - mtsmoothstep(0.7, 0.8, f_timeofday)); } - f_normal_length = length(vNormal); } #endif } diff --git a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl index c2f575876..244d2562a 100644 --- a/client/shaders/shadow_shaders/pass1_trans_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_trans_vertex.glsl @@ -9,24 +9,37 @@ uniform float xyPerspectiveBias0; uniform float xyPerspectiveBias1; uniform float zPerspectiveBias; -vec4 getPerspectiveFactor(in vec4 shadowPosition) +vec4 getRelativePosition(in vec4 position) { - vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); - vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); - float pDistance = length(l); + vec2 l = position.xy - CameraPos.xy; + vec2 s = l / abs(l); + s = (1.0 - s * CameraPos.xy); + l /= s; + return vec4(l, s); +} + +float getPerspectiveFactor(in vec4 relativePosition) +{ + float pDistance = length(relativePosition.xy); float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - l /= pFactor; - shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; - shadowPosition.z *= zPerspectiveBias; - return shadowPosition; + return pFactor; } +vec4 applyPerspectiveDistortion(in vec4 position) +{ + vec4 l = getRelativePosition(position); + float pFactor = getPerspectiveFactor(l); + l.xy /= pFactor; + position.xy = l.xy * l.zw + CameraPos.xy; + position.z *= zPerspectiveBias; + return position; +} void main() { vec4 pos = LightMVP * gl_Vertex; - tPos = getPerspectiveFactor(LightMVP * gl_Vertex); + tPos = applyPerspectiveDistortion(LightMVP * gl_Vertex); gl_Position = vec4(tPos.xyz, 1.0); gl_TexCoord[0].st = gl_MultiTexCoord0.st; diff --git a/client/shaders/shadow_shaders/pass1_vertex.glsl b/client/shaders/shadow_shaders/pass1_vertex.glsl index 38aef3619..1dceb93c6 100644 --- a/client/shaders/shadow_shaders/pass1_vertex.glsl +++ b/client/shaders/shadow_shaders/pass1_vertex.glsl @@ -6,24 +6,37 @@ uniform float xyPerspectiveBias0; uniform float xyPerspectiveBias1; uniform float zPerspectiveBias; -vec4 getPerspectiveFactor(in vec4 shadowPosition) +vec4 getRelativePosition(in vec4 position) { - vec2 s = vec2(shadowPosition.x > CameraPos.x ? 1.0 : -1.0, shadowPosition.y > CameraPos.y ? 1.0 : -1.0); - vec2 l = s * (shadowPosition.xy - CameraPos.xy) / (1.0 - s * CameraPos.xy); - float pDistance = length(l); + vec2 l = position.xy - CameraPos.xy; + vec2 s = l / abs(l); + s = (1.0 - s * CameraPos.xy); + l /= s; + return vec4(l, s); +} + +float getPerspectiveFactor(in vec4 relativePosition) +{ + float pDistance = length(relativePosition.xy); float pFactor = pDistance * xyPerspectiveBias0 + xyPerspectiveBias1; - l /= pFactor; - shadowPosition.xy = CameraPos.xy * (1.0 - l) + s * l; - shadowPosition.z *= zPerspectiveBias; - return shadowPosition; + return pFactor; } +vec4 applyPerspectiveDistortion(in vec4 position) +{ + vec4 l = getRelativePosition(position); + float pFactor = getPerspectiveFactor(l); + l.xy /= pFactor; + position.xy = l.xy * l.zw + CameraPos.xy; + position.z *= zPerspectiveBias; + return position; +} void main() { vec4 pos = LightMVP * gl_Vertex; - tPos = getPerspectiveFactor(pos); + tPos = applyPerspectiveDistortion(pos); gl_Position = vec4(tPos.xyz, 1.0); gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0; diff --git a/src/client/render/core.cpp b/src/client/render/core.cpp index c67f297c4..55cc4e490 100644 --- a/src/client/render/core.cpp +++ b/src/client/render/core.cpp @@ -76,8 +76,11 @@ void RenderingCore::draw(video::SColor _skycolor, bool _show_hud, bool _show_min draw_wield_tool = _draw_wield_tool; draw_crosshair = _draw_crosshair; - if (shadow_renderer) + if (shadow_renderer) { + // This is necessary to render shadows for animations correctly + smgr->getRootSceneNode()->OnAnimate(device->getTimer()->getTime()); shadow_renderer->update(); + } beforeDraw(); drawAll(); diff --git a/src/client/shadows/dynamicshadows.h b/src/client/shadows/dynamicshadows.h index 70574aa6c..6e9d96b15 100644 --- a/src/client/shadows/dynamicshadows.h +++ b/src/client/shadows/dynamicshadows.h @@ -69,12 +69,18 @@ public: const core::matrix4 &getFutureProjectionMatrix() const; core::matrix4 getViewProjMatrix(); - /// Gets the light's far value. + /// Gets the light's maximum far value, i.e. the shadow boundary f32 getMaxFarValue() const { return farPlane * BS; } + /// Gets the current far value of the light + f32 getFarValue() const + { + return shadow_frustum.zFar; + } + /// Gets the light's color. const video::SColorf &getLightColor() const diff --git a/src/client/shadows/dynamicshadowsrender.cpp b/src/client/shadows/dynamicshadowsrender.cpp index 1dfc90d1c..a008c3e06 100644 --- a/src/client/shadows/dynamicshadowsrender.cpp +++ b/src/client/shadows/dynamicshadowsrender.cpp @@ -143,7 +143,7 @@ size_t ShadowRenderer::getDirectionalLightCount() const f32 ShadowRenderer::getMaxShadowFar() const { if (!m_light_list.empty()) { - float zMax = m_light_list[0].getMaxFarValue(); + float zMax = m_light_list[0].getFarValue(); return zMax; } return 0.0f; @@ -418,10 +418,6 @@ void ShadowRenderer::renderShadowMap(video::ITexture *target, material.BackfaceCulling = false; material.FrontfaceCulling = true; - material.PolygonOffsetFactor = 4.0f; - material.PolygonOffsetDirection = video::EPO_BACK; - //material.PolygonOffsetDepthBias = 1.0f/4.0f; - //material.PolygonOffsetSlopeScale = -1.f; if (m_shadow_map_colored && pass != scene::ESNRP_SOLID) { material.MaterialType = (video::E_MATERIAL_TYPE) depth_shader_trans; @@ -431,9 +427,6 @@ void ShadowRenderer::renderShadowMap(video::ITexture *target, material.BlendOperation = video::EBO_MIN; } - // FIXME: I don't think this is needed here - map_node->OnAnimate(m_device->getTimer()->getTime()); - m_driver->setTransform(video::ETS_WORLD, map_node->getAbsoluteTransformation()); @@ -479,10 +472,6 @@ void ShadowRenderer::renderShadowObjects( current_mat.BackfaceCulling = true; current_mat.FrontfaceCulling = false; - current_mat.PolygonOffsetFactor = 1.0f/2048.0f; - current_mat.PolygonOffsetDirection = video::EPO_BACK; - //current_mat.PolygonOffsetDepthBias = 1.0 * 2.8e-6; - //current_mat.PolygonOffsetSlopeScale = -1.f; } m_driver->setTransform(video::ETS_WORLD, -- cgit v1.2.3 From 1d07a365528e3b947a03baba9ef986af2ecd23d1 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 15 Apr 2022 18:55:08 +0200 Subject: upright_sprite: Fix walk animation in first person (#12194) --- src/client/content_cao.cpp | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 19569d4b6..3c31d4a36 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1974,20 +1974,17 @@ void GenericCAO::updateMeshCulling() const bool hidden = m_client->getCamera()->getCameraMode() == CAMERA_MODE_FIRST; - if (m_meshnode && m_prop.visual == "upright_sprite") { - u32 buffers = m_meshnode->getMesh()->getMeshBufferCount(); - for (u32 i = 0; i < buffers; i++) { - video::SMaterial &mat = m_meshnode->getMesh()->getMeshBuffer(i)->getMaterial(); - // upright sprite has no backface culling - mat.setFlag(video::EMF_FRONT_FACE_CULLING, hidden); - } - return; - } - scene::ISceneNode *node = getSceneNode(); + if (!node) return; + if (m_prop.visual == "upright_sprite") { + // upright sprite has no backface culling + node->setMaterialFlag(video::EMF_FRONT_FACE_CULLING, hidden); + return; + } + if (hidden) { // Hide the mesh by culling both front and // back faces. Serious hackyness but it works for our -- cgit v1.2.3 From 062dd8dabc50e01468a59bb9d1d8774e1983cb68 Mon Sep 17 00:00:00 2001 From: olive Date: Sat, 16 Apr 2022 17:50:36 +0100 Subject: Send chat error when attemping to /set a secure setting (#12193) Attempting to /set a secure setting will now say that is disallowed. Previously this would shut down the server. Reading secure settings via /set is still allowed. --- builtin/game/chat.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index 493bb92c0..78d6bef98 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -621,6 +621,10 @@ core.register_chatcommand("set", { setname, setvalue = string.match(param, "([^ ]+) (.+)") if setname and setvalue then + if setname:sub(1, 7) == "secure." then + return false, S("Failed. Cannot modify secure settings. " + .. "Edit the settings file manually.") + end if not core.settings:get(setname) then return false, S("Failed. Use '/set -n ' " .. "to create a new setting.") -- cgit v1.2.3 From 7cea688a1c463c5e8caa28bbdb588a6b497a5d7d Mon Sep 17 00:00:00 2001 From: paradust7 <102263465+paradust7@users.noreply.github.com> Date: Sat, 16 Apr 2022 09:50:59 -0700 Subject: Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187) Stop scaling images to POT immediately when loaded. The 'combine' modifier hardcodes X and Y coordinates, and so behaves incorrectly if applied to a scaled image. Images emitted by generateImage() are already scaled to POT before being used as a texture, so nothing should break. --- src/client/tile.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index da03ff5c8..aa78c50f0 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -1109,9 +1109,6 @@ bool TextureSource::generateImagePart(std::string part_of_name, // Stuff starting with [ are special commands if (part_of_name.empty() || part_of_name[0] != '[') { video::IImage *image = m_sourcecache.getOrLoad(part_of_name); -#if ENABLE_GLES - image = Align2Npot2(image, driver); -#endif if (image == NULL) { if (!part_of_name.empty()) { -- cgit v1.2.3 From 583257f093b958be7e4e82803f53550e4a3beb8a Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Thu, 21 Apr 2022 12:39:39 +0200 Subject: Update docs to reference CSS Color Module Level 3 as the named color "rebeccapurple" is unavailable, Level 4 clearly isn't supported; the link should not point to a dev version of the spec either --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index aa58bd48e..a63e7f856 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3248,7 +3248,7 @@ Colors `#RRGGBBAA` defines a color in hexadecimal format and alpha channel. Named colors are also supported and are equivalent to -[CSS Color Module Level 4](http://dev.w3.org/csswg/css-color/#named-colors). +[CSS Color Module Level 3](https://www.w3.org/TR/css-color-3/). To specify the value of the alpha channel, append `#A` or `#AA` to the end of the color name (e.g. `colorname#08`). -- cgit v1.2.3 From 4558793caf48d63c74574ba740a96c92d0afcc2c Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Thu, 21 Apr 2022 21:45:47 +0200 Subject: Fix some debug info showing despite being disabled in the UI (#12205) --- src/client/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index edc69dcc2..b877ba04a 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3157,8 +3157,9 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud) handlePointingAtNode(pointed, selected_item, hand_item, dtime); } else if (pointed.type == POINTEDTHING_OBJECT) { v3f player_position = player->getPosition(); + bool basic_debug_allowed = client->checkPrivilege("debug") || (player->hud_flags & HUD_FLAG_BASIC_DEBUG); handlePointingAtObject(pointed, tool_item, player_position, - client->checkPrivilege("debug") || (player->hud_flags & HUD_FLAG_BASIC_DEBUG)); + m_game_ui->m_flags.show_basic_debug && basic_debug_allowed); } else if (isKeyDown(KeyType::DIG)) { // When button is held down in air, show continuous animation runData.punching = true; -- cgit v1.2.3 From 1c8614ac9ad591f8025712deae26b572cdede50d Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 24 Apr 2022 21:08:33 +0200 Subject: Builtin: Allow to revoke unknown privileges --- builtin/game/chat.lua | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua index 78d6bef98..c4fb6314e 100644 --- a/builtin/game/chat.lua +++ b/builtin/game/chat.lua @@ -310,12 +310,7 @@ local function handle_revoke_command(caller, revokename, revokeprivstr) and revokename == core.settings:get("name") and revokename ~= "" if revokeprivstr == "all" then - revokeprivs = privs - privs = {} - else - for priv, _ in pairs(revokeprivs) do - privs[priv] = nil - end + revokeprivs = table.copy(privs) end local privs_unknown = "" @@ -332,7 +327,10 @@ local function handle_revoke_command(caller, revokename, revokeprivstr) end local def = core.registered_privileges[priv] if not def then - privs_unknown = privs_unknown .. S("Unknown privilege: @1", priv) .. "\n" + -- Old/removed privileges might still be granted to certain players + if not privs[priv] then + privs_unknown = privs_unknown .. S("Unknown privilege: @1", priv) .. "\n" + end elseif is_singleplayer and def.give_to_singleplayer then irrevokable[priv] = true elseif is_admin and def.give_to_admin then @@ -359,19 +357,22 @@ local function handle_revoke_command(caller, revokename, revokeprivstr) end local revokecount = 0 - - core.set_player_privs(revokename, privs) for priv, _ in pairs(revokeprivs) do - -- call the on_revoke callbacks - core.run_priv_callbacks(revokename, priv, caller, "revoke") + privs[priv] = nil revokecount = revokecount + 1 end - local new_privs = core.get_player_privs(revokename) if revokecount == 0 then return false, S("No privileges were revoked.") end + core.set_player_privs(revokename, privs) + for priv, _ in pairs(revokeprivs) do + -- call the on_revoke callbacks + core.run_priv_callbacks(revokename, priv, caller, "revoke") + end + local new_privs = core.get_player_privs(revokename) + core.log("action", caller..' revoked (' ..core.privs_to_string(revokeprivs, ', ') ..') privileges from '..revokename) -- cgit v1.2.3 From a13cf0e3ce1774f89e59a730aaadc5b997293f36 Mon Sep 17 00:00:00 2001 From: olive Date: Sun, 24 Apr 2022 20:09:11 +0100 Subject: Use mod names/titles instead of technical names (#12192) --- builtin/mainmenu/dlg_config_world.lua | 5 ++++- builtin/mainmenu/dlg_settings_advanced.lua | 7 ++++--- builtin/mainmenu/pkgmgr.lua | 26 ++++++++++++++++---------- builtin/mainmenu/tab_content.lua | 14 ++++++++++++-- builtin/settingtypes.txt | 6 ++++++ 5 files changed, 42 insertions(+), 16 deletions(-) diff --git a/builtin/mainmenu/dlg_config_world.lua b/builtin/mainmenu/dlg_config_world.lua index 510d9f804..f73256612 100644 --- a/builtin/mainmenu/dlg_config_world.lua +++ b/builtin/mainmenu/dlg_config_world.lua @@ -163,10 +163,13 @@ local function get_formspec(data) "button[8.95,0.125;2.5,0.5;btn_enable_all_mods;" .. fgettext("Enable all") .. "]" end + + local use_technical_names = core.settings:get_bool("show_technical_names") + return retval .. "tablecolumns[color;tree;text]" .. "table[5.5,0.75;5.75,6;world_config_modlist;" .. - pkgmgr.render_packagelist(data.list) .. ";" .. data.selected_mod .."]" + pkgmgr.render_packagelist(data.list, use_technical_names) .. ";" .. data.selected_mod .."]" end local function handle_buttons(this, fields) diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index 46c3f445c..320db7e40 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -395,6 +395,7 @@ local function parse_config_file(read_all, parse_mods) table.insert(settings, { name = mod.name, + readable_name = mod.title, level = 1, type = "category", }) @@ -956,7 +957,7 @@ local function create_settings_formspec(tabview, _, tabdata) local current_level = 0 for _, entry in ipairs(settings) do local name - if not core.settings:get_bool("main_menu_technical_settings") and entry.readable_name then + if not core.settings:get_bool("show_technical_names") and entry.readable_name then name = fgettext_ne(entry.readable_name) else name = entry.name @@ -997,7 +998,7 @@ local function create_settings_formspec(tabview, _, tabdata) "button[10,4.9;2,1;btn_edit;" .. fgettext("Edit") .. "]" .. "button[7,4.9;3,1;btn_restore;" .. fgettext("Restore Default") .. "]" .. "checkbox[0,4.3;cb_tech_settings;" .. fgettext("Show technical names") .. ";" - .. dump(core.settings:get_bool("main_menu_technical_settings")) .. "]" + .. dump(core.settings:get_bool("show_technical_names")) .. "]" return formspec end @@ -1080,7 +1081,7 @@ local function handle_settings_buttons(this, fields, tabname, tabdata) end if fields["cb_tech_settings"] then - core.settings:set("main_menu_technical_settings", fields["cb_tech_settings"]) + core.settings:set("show_technical_names", fields["cb_tech_settings"]) core.settings:write() core.update_formspec(this:get_formspec()) return true diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index 0ae8e19be..8907aecfc 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -78,23 +78,23 @@ local function load_texture_packs(txtpath, retval) for _, item in ipairs(list) do if item ~= "base" then - local name = item - local path = txtpath .. DIR_DELIM .. item .. DIR_DELIM - if path == current_texture_path then - name = fgettext("$1 (Enabled)", name) - end - local conf = Settings(path .. "texture_pack.conf") + local enabled = conf == current_texture_path + + local title = conf:get("title") + -- list_* is only used if non-nil, else the regular versions are used. retval[#retval + 1] = { name = item, + title = title, + list_name = enabled and fgettext("$1 (Enabled)", item) or nil, + list_title = enabled and fgettext("$1 (Enabled)", title) or nil, author = conf:get("author"), release = tonumber(conf:get("release")) or 0, - list_name = name, type = "txp", path = path, - enabled = path == current_texture_path, + enabled = enabled, } end end @@ -135,6 +135,7 @@ function get_mods(path, virtual_path, retval, modpack) -- Read from config toadd.name = name + toadd.title = mod_conf.title toadd.author = mod_conf.author toadd.release = tonumber(mod_conf.release) or 0 toadd.path = mod_path @@ -336,7 +337,7 @@ function pkgmgr.identify_modname(modpath,filename) return nil end -------------------------------------------------------------------------------- -function pkgmgr.render_packagelist(render_list) +function pkgmgr.render_packagelist(render_list, use_technical_names) if not render_list then if not pkgmgr.global_mods then pkgmgr.refresh_globals() @@ -372,7 +373,12 @@ function pkgmgr.render_packagelist(render_list) else retval[#retval + 1] = "0" end - retval[#retval + 1] = core.formspec_escape(v.list_name or v.name) + + if use_technical_names then + retval[#retval + 1] = core.formspec_escape(v.list_name or v.name) + else + retval[#retval + 1] = core.formspec_escape(v.list_title or v.list_name or v.title or v.name) + end end return table.concat(retval, ",") diff --git a/builtin/mainmenu/tab_content.lua b/builtin/mainmenu/tab_content.lua index dd11570e9..5e14d1902 100644 --- a/builtin/mainmenu/tab_content.lua +++ b/builtin/mainmenu/tab_content.lua @@ -51,12 +51,14 @@ local function get_formspec(tabview, name, tabdata) tabdata.selected_pkg = 1 end + local use_technical_names = core.settings:get_bool("show_technical_names") + local retval = "label[0.05,-0.25;".. fgettext("Installed Packages:") .. "]" .. "tablecolumns[color;tree;text]" .. "table[0,0.25;5.1,4.3;pkglist;" .. - pkgmgr.render_packagelist(packages) .. + pkgmgr.render_packagelist(packages, use_technical_names) .. ";" .. tabdata.selected_pkg .. "]" .. "button[0,4.85;5.25,0.5;btn_contentdb;".. fgettext("Browse online content") .. "]" @@ -87,9 +89,17 @@ local function get_formspec(tabview, name, tabdata) desc = info.description end + local title_and_name + if selected_pkg.type == "game" then + title_and_name = selected_pkg.name + else + title_and_name = (selected_pkg.title or selected_pkg.name) .. "\n" .. + core.colorize("#BFBFBF", selected_pkg.name) + end + retval = retval .. "image[5.5,0;3,2;" .. core.formspec_escape(modscreenshot) .. "]" .. - "label[8.25,0.6;" .. core.formspec_escape(selected_pkg.name) .. "]" .. + "label[8.25,0.6;" .. core.formspec_escape(title_and_name) .. "]" .. "box[5.5,2.2;6.15,2.35;#000]" if selected_pkg.type == "mod" then diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index b4230735b..babb89481 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1046,6 +1046,12 @@ client_unload_unused_data_timeout (Mapblock unload timeout) int 600 # Set to -1 for unlimited amount. client_mapblock_limit (Mapblock limit) int 7500 +# Whether to show technical names. +# Affects mods and texture packs in the Content and Select Mods menus, as well as +# setting names in All Settings. +# Controlled by the checkbox in the "All settings" menu. +show_technical_names (Show technical names) bool false + # Whether to show the client debug info (has the same effect as hitting F5). show_debug (Show debug info) bool false -- cgit v1.2.3 From 48d1bca9b8f65ca9ecc62043609685a6858ee094 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Sun, 24 Apr 2022 21:10:03 +0200 Subject: Fix typo: vector.check() ought to be vector.check(v) --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index a63e7f856..f53ab0ff7 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3421,7 +3421,7 @@ vectors are written like this: `(x, y, z)`: * Returns the cross product of `v1` and `v2`. * `vector.offset(v, x, y, z)`: * Returns the sum of the vectors `v` and `(x, y, z)`. -* `vector.check()`: +* `vector.check(v)`: * Returns a boolean value indicating whether `v` is a real vector, eg. created by a `vector.*` function. * Returns `false` for anything else, including tables like `{x=3,y=1,z=4}`. -- cgit v1.2.3 From 23f981c45817664c53d70ef0d3bd5c1b46675641 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 23 Apr 2022 18:04:38 +0200 Subject: Fix some textures not being sent correctly to older clients Since b2eb44afc50976dc0954c868977b5829f3ff8a19, a texture defined as `[combine:16x512:0,0=some_file.png;etc` will not be sent correctly from a 5.5 server to a 5.4 client due to the overeager detection of unsupported base modifier `[` introducing a spurious `blank.png^` before the modifier. Fix this by whitelisting which base modifiers can be passed through unchanged to the client, and prefix `blank.png` for the others (which at the moment is just [png:, but the list may grow larger as new base modifiers are added.) --- src/nodedef.cpp | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index c4a4f4461..8d63870b3 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "nameidmapping.h" #include "util/numeric.h" #include "util/serialize.h" +#include "util/string.h" #include "exceptions.h" #include "debug.h" #include "gamedef.h" @@ -213,10 +214,21 @@ void TileDef::serialize(std::ostream &os, u16 protocol_version) const // Before f018737, TextureSource::getTextureAverageColor did not handle // missing textures. "[png" can be used as base texture, but is not known // on older clients. Hence use "blank.png" to avoid this problem. - if (!name.empty() && name[0] == '[') - os << serializeString16("blank.png^" + name); - else + // To be forward-compatible with future base textures/modifiers, + // we apply the same prefix to any texture beginning with [, + // except for the ones that are supported on older clients. + bool pass_through = true; + + if (!name.empty() && name[0] == '[') { + pass_through = str_starts_with(name, "[combine:") || + str_starts_with(name, "[inventorycube{") || + str_starts_with(name, "[lowpart:"); + } + + if (pass_through) os << serializeString16(name); + else + os << serializeString16("blank.png^" + name); } animation.serialize(os, version); bool has_scale = scale > 0; -- cgit v1.2.3 From b55d7cd45a304a8a5b8337a3c61defb6e5c27dd9 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 24 Apr 2022 12:26:06 +0200 Subject: Fix worldaligned textures As reported in #12197, b0b9732359d43325c8bd820abeb8417353365a0c introduces a regression in worldalign textures. The specific change that seems to be responsible for this issue is the change in order between the computation of the cuboid texture coordinates and the box edge correction. Fix #12197 by moving the box edge correction back to before the cuboid texture coordinates, as it used to be. --- src/client/content_mapblock.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/client/content_mapblock.cpp b/src/client/content_mapblock.cpp index 947793ed0..b13ae86f4 100644 --- a/src/client/content_mapblock.cpp +++ b/src/client/content_mapblock.cpp @@ -373,6 +373,10 @@ void MapblockMeshGenerator::drawAutoLightedCuboid(aabb3f box, const f32 *txc, f32 dx2 = box.MaxEdge.X; f32 dy2 = box.MaxEdge.Y; f32 dz2 = box.MaxEdge.Z; + + box.MinEdge += origin; + box.MaxEdge += origin; + if (scale) { if (!txc) { // generate texture coords before scaling generateCuboidTextureCoords(box, texture_coord_buf); @@ -385,8 +389,7 @@ void MapblockMeshGenerator::drawAutoLightedCuboid(aabb3f box, const f32 *txc, generateCuboidTextureCoords(box, texture_coord_buf); txc = texture_coord_buf; } - box.MinEdge += origin; - box.MaxEdge += origin; + if (!tiles) { tiles = &tile; tile_count = 1; -- cgit v1.2.3 From 77325b92fbe8235b5c2d8d1261ecd53e3385bab2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 24 Apr 2022 21:48:50 +0000 Subject: DevTest: Add more test weapons and armorball modes (#11870) Co-authored-by: sfan5 --- games/devtest/mods/basetools/init.lua | 105 +++++++++++++++++++-- .../basetools/textures/basetools_bloodsword.png | Bin 0 -> 225 bytes .../textures/basetools_elementalsword.png | Bin 0 -> 252 bytes .../basetools/textures/basetools_healdagger.png | Bin 0 -> 262 bytes .../basetools/textures/basetools_healsword.png | Bin 0 -> 229 bytes .../basetools/textures/basetools_mesesword.png | Bin 0 -> 225 bytes .../textures/basetools_superhealsword.png | Bin 0 -> 272 bytes .../basetools/textures/basetools_titaniumsword.png | Bin 0 -> 225 bytes .../mods/basetools/textures/basetools_usespick.png | Bin 0 -> 230 bytes .../basetools/textures/basetools_usessword.png | Bin 0 -> 248 bytes .../basetools/textures/basetools_wooddagger.png | Bin 0 -> 248 bytes games/devtest/mods/testentities/armor.lua | 30 +++++- .../textures/testentities_armorball.png | Bin 561 -> 1301 bytes games/devtest/mods/unittests/itemdescription.lua | 28 ++---- .../textures/unittests_description_test.png | Bin 0 -> 268 bytes 15 files changed, 129 insertions(+), 34 deletions(-) create mode 100644 games/devtest/mods/basetools/textures/basetools_bloodsword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_elementalsword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_healdagger.png create mode 100644 games/devtest/mods/basetools/textures/basetools_healsword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_mesesword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_superhealsword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_titaniumsword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_usespick.png create mode 100644 games/devtest/mods/basetools/textures/basetools_usessword.png create mode 100644 games/devtest/mods/basetools/textures/basetools_wooddagger.png create mode 100644 games/devtest/mods/unittests/textures/unittests_description_test.png diff --git a/games/devtest/mods/basetools/init.lua b/games/devtest/mods/basetools/init.lua index fd83b82eb..3ec69d39f 100644 --- a/games/devtest/mods/basetools/init.lua +++ b/games/devtest/mods/basetools/init.lua @@ -279,50 +279,135 @@ minetest.register_tool("basetools:sword_wood", { }) minetest.register_tool("basetools:sword_stone", { description = "Stone Sword".."\n".. - "Damage: fleshy=4", + "Damage: fleshy=5", inventory_image = "basetools_stonesword.png", tool_capabilities = { full_punch_interval = 1.0, max_drop_level=0, - damage_groups = {fleshy=4}, + damage_groups = {fleshy=5}, } }) minetest.register_tool("basetools:sword_steel", { description = "Steel Sword".."\n".. - "Damage: fleshy=6", + "Damage: fleshy=10", inventory_image = "basetools_steelsword.png", tool_capabilities = { full_punch_interval = 1.0, max_drop_level=1, - damage_groups = {fleshy=6}, + damage_groups = {fleshy=10}, + } +}) +minetest.register_tool("basetools:sword_titanium", { + description = "Titanium Sword".."\n".. + "Damage: fleshy=100", + inventory_image = "basetools_titaniumsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=1, + damage_groups = {fleshy=100}, + } +}) +minetest.register_tool("basetools:sword_blood", { + description = "Blood Sword".."\n".. + "Damage: fleshy=1000", + inventory_image = "basetools_bloodsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=1, + damage_groups = {fleshy=1000}, + } +}) + +-- Max. damage sword +minetest.register_tool("basetools:sword_mese", { + description = "Mese Sword".."\n".. + "Damage: fleshy=32767, fiery=32767, icy=32767".."\n".. + "Full Punch Interval: 0.0s", + inventory_image = "basetools_mesesword.png", + tool_capabilities = { + full_punch_interval = 0.0, + max_drop_level=1, + damage_groups = {fleshy=32767, fiery=32767, icy=32767}, } }) -- Fire/Ice sword: Deal damage to non-fleshy damage groups minetest.register_tool("basetools:sword_fire", { description = "Fire Sword".."\n".. - "Damage: icy=6", + "Damage: icy=10", inventory_image = "basetools_firesword.png", tool_capabilities = { full_punch_interval = 1.0, max_drop_level=0, - damage_groups = {icy=6}, + damage_groups = {icy=10}, } }) minetest.register_tool("basetools:sword_ice", { description = "Ice Sword".."\n".. - "Damage: fiery=6", + "Damage: fiery=10", inventory_image = "basetools_icesword.png", tool_capabilities = { full_punch_interval = 1.0, max_drop_level=0, - damage_groups = {fiery=6}, + damage_groups = {fiery=10}, + } +}) +minetest.register_tool("basetools:sword_elemental", { + description = "Elemental Sword".."\n".. + "Damage: fiery=10, icy=10", + inventory_image = "basetools_elementalsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=0, + damage_groups = {fiery=10, icy=10}, } }) +-- Healing weapons: heal HP +minetest.register_tool("basetools:dagger_heal", { + description = "Healing Dagger".."\n".. + "Heal: fleshy=1".."\n".. + "Full Punch Interval: 0.5s", + inventory_image = "basetools_healdagger.png", + tool_capabilities = { + full_punch_interval = 0.5, + damage_groups = {fleshy=-1}, + } +}) +minetest.register_tool("basetools:sword_heal", { + description = "Healing Sword".."\n".. + "Heal: fleshy=10", + inventory_image = "basetools_healsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + damage_groups = {fleshy=-10}, + } +}) +minetest.register_tool("basetools:sword_heal_super", { + description = "Super Healing Sword".."\n".. + "Heal: fleshy=32768, fiery=32768, icy=32768", + inventory_image = "basetools_superhealsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + damage_groups = {fleshy=-32768, fiery=-32768, icy=-32768}, + } +}) + + -- -- Dagger: Low damage, fast punch interval -- +minetest.register_tool("basetools:dagger_wood", { + description = "Wooden Dagger".."\n".. + "Damage: fleshy=1".."\n".. + "Full Punch Interval: 0.5s", + inventory_image = "basetools_wooddagger.png", + tool_capabilities = { + full_punch_interval = 0.5, + max_drop_level=0, + damage_groups = {fleshy=1}, + } +}) minetest.register_tool("basetools:dagger_steel", { description = "Steel Dagger".."\n".. "Damage: fleshy=2".."\n".. @@ -343,7 +428,7 @@ for i=1, #uses do minetest.register_tool("basetools:pick_uses_"..string.format("%05d", u), { description = u.."-Uses Pickaxe".."\n".. "Digs cracky=3", - inventory_image = "basetools_steelpick.png^[colorize:"..color..":127", + inventory_image = "basetools_usespick.png^[colorize:"..color..":127", tool_capabilities = { max_drop_level=0, groupcaps={ @@ -355,7 +440,7 @@ for i=1, #uses do minetest.register_tool("basetools:sword_uses_"..string.format("%05d", u), { description = u.."-Uses Sword".."\n".. "Damage: fleshy=1", - inventory_image = "basetools_woodsword.png^[colorize:"..color..":127", + inventory_image = "basetools_usessword.png^[colorize:"..color..":127", tool_capabilities = { damage_groups = {fleshy=1}, punch_attack_uses = u, diff --git a/games/devtest/mods/basetools/textures/basetools_bloodsword.png b/games/devtest/mods/basetools/textures/basetools_bloodsword.png new file mode 100644 index 000000000..047adfef7 Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_bloodsword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_elementalsword.png b/games/devtest/mods/basetools/textures/basetools_elementalsword.png new file mode 100644 index 000000000..b72821192 Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_elementalsword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_healdagger.png b/games/devtest/mods/basetools/textures/basetools_healdagger.png new file mode 100644 index 000000000..f1ceaeb43 Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_healdagger.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_healsword.png b/games/devtest/mods/basetools/textures/basetools_healsword.png new file mode 100644 index 000000000..e9d6dafee Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_healsword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_mesesword.png b/games/devtest/mods/basetools/textures/basetools_mesesword.png new file mode 100644 index 000000000..2aecc167c Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_mesesword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_superhealsword.png b/games/devtest/mods/basetools/textures/basetools_superhealsword.png new file mode 100644 index 000000000..ca8bd0df8 Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_superhealsword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_titaniumsword.png b/games/devtest/mods/basetools/textures/basetools_titaniumsword.png new file mode 100644 index 000000000..f34ab9f4d Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_titaniumsword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_usespick.png b/games/devtest/mods/basetools/textures/basetools_usespick.png new file mode 100644 index 000000000..5aa3a960c Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_usespick.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_usessword.png b/games/devtest/mods/basetools/textures/basetools_usessword.png new file mode 100644 index 000000000..9742b9b81 Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_usessword.png differ diff --git a/games/devtest/mods/basetools/textures/basetools_wooddagger.png b/games/devtest/mods/basetools/textures/basetools_wooddagger.png new file mode 100644 index 000000000..67e37ee71 Binary files /dev/null and b/games/devtest/mods/basetools/textures/basetools_wooddagger.png differ diff --git a/games/devtest/mods/testentities/armor.lua b/games/devtest/mods/testentities/armor.lua index 306953d50..3887c75fd 100644 --- a/games/devtest/mods/testentities/armor.lua +++ b/games/devtest/mods/testentities/armor.lua @@ -4,10 +4,19 @@ local phasearmor = { [0]={icy=100}, [1]={fiery=100}, - [2]={fleshy=100}, - [3]={immortal=1}, - [4]={punch_operable=1}, + [2]={icy=100, fiery=100}, + [3]={fleshy=-100}, + [4]={fleshy=1}, + [5]={fleshy=10}, + [6]={fleshy=50}, + [7]={fleshy=100}, + [8]={fleshy=200}, + [9]={fleshy=1000}, + [10]={fleshy=32767}, + [11]={immortal=1}, + [12]={punch_operable=1}, } +local max_phase = 12 minetest.register_entity("testentities:armorball", { initial_properties = { @@ -21,7 +30,7 @@ minetest.register_entity("testentities:armorball", { initial_sprite_basepos = {x=0, y=0}, }, - _phase = 2, + _phase = 7, on_activate = function(self, staticdata) minetest.log("action", "[testentities] armorball.on_activate") @@ -32,10 +41,21 @@ minetest.register_entity("testentities:armorball", { on_rightclick = function(self, clicker) -- Change armor group and sprite self._phase = self._phase + 1 - if self._phase >= 5 then + if self._phase >= max_phase + 1 then self._phase = 0 end self.object:set_sprite({x=0, y=self._phase}) self.object:set_armor_groups(phasearmor[self._phase]) end, + + on_punch = function(self, puncher, time_from_last_punch, tool_capabilities, dir, damage) + if not puncher then + return + end + local name = puncher:get_player_name() + if not name then + return + end + minetest.chat_send_player(name, "time_from_last_punch="..string.format("%.3f", time_from_last_punch).."; damage="..tostring(damage)) + end, }) diff --git a/games/devtest/mods/testentities/textures/testentities_armorball.png b/games/devtest/mods/testentities/textures/testentities_armorball.png index 88147bd1f..ffe33fbad 100644 Binary files a/games/devtest/mods/testentities/textures/testentities_armorball.png and b/games/devtest/mods/testentities/textures/testentities_armorball.png differ diff --git a/games/devtest/mods/unittests/itemdescription.lua b/games/devtest/mods/unittests/itemdescription.lua index dc62de7f0..b4c218c98 100644 --- a/games/devtest/mods/unittests/itemdescription.lua +++ b/games/devtest/mods/unittests/itemdescription.lua @@ -1,17 +1,7 @@ -local full_description = "Colorful Pickaxe\nThe best pick." -minetest.register_tool("unittests:colorful_pick", { +local full_description = "Description Test Item\nFor testing item decription" +minetest.register_tool("unittests:description_test", { description = full_description, - inventory_image = "basetools_mesepick.png", - tool_capabilities = { - full_punch_interval = 1.0, - max_drop_level=3, - groupcaps={ - cracky={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3}, - crumbly={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3}, - snappy={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3} - }, - damage_groups = {fleshy=4}, - }, + inventory_image = "unittests_description_test.png", }) minetest.register_chatcommand("item_description", { @@ -30,18 +20,18 @@ local function test_short_desc() return ItemStack(item):get_short_description() end - local stack = ItemStack("unittests:colorful_pick") - assert(stack:get_short_description() == "Colorful Pickaxe") - assert(get_short_description("unittests:colorful_pick") == "Colorful Pickaxe") - assert(minetest.registered_items["unittests:colorful_pick"].short_description == nil) + local stack = ItemStack("unittests:description_test") + assert(stack:get_short_description() == "Description Test Item") + assert(get_short_description("unittests:description_test") == "Description Test Item") + assert(minetest.registered_items["unittests:description_test"].short_description == nil) assert(stack:get_description() == full_description) - assert(stack:get_description() == minetest.registered_items["unittests:colorful_pick"].description) + assert(stack:get_description() == minetest.registered_items["unittests:description_test"].description) stack:get_meta():set_string("description", "Hello World") assert(stack:get_short_description() == "Hello World") assert(stack:get_description() == "Hello World") assert(get_short_description(stack) == "Hello World") - assert(get_short_description("unittests:colorful_pick") == "Colorful Pickaxe") + assert(get_short_description("unittests:description_test") == "Description Test Item") stack:get_meta():set_string("short_description", "Foo Bar") assert(stack:get_short_description() == "Foo Bar") diff --git a/games/devtest/mods/unittests/textures/unittests_description_test.png b/games/devtest/mods/unittests/textures/unittests_description_test.png new file mode 100644 index 000000000..a6be43314 Binary files /dev/null and b/games/devtest/mods/unittests/textures/unittests_description_test.png differ -- cgit v1.2.3 From a6170963b8ce5fee97326d639f6660f5097f78c9 Mon Sep 17 00:00:00 2001 From: Alex <24834740+GreenXenith@users.noreply.github.com> Date: Sun, 24 Apr 2022 14:49:07 -0700 Subject: Fix invalid queued package element and path (#12218) --- builtin/mainmenu/dlg_contentstore.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index 9db67cf57..0127d600c 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -862,8 +862,7 @@ function store.get_formspec(dlgdata) formspec[#formspec + 1] = "cdb_downloading.png;3;400;]" elseif package.queued then formspec[#formspec + 1] = left_base - formspec[#formspec + 1] = core.formspec_escape(defaulttexturedir) - formspec[#formspec + 1] = "cdb_queued.png;queued]" + formspec[#formspec + 1] = "cdb_queued.png;queued;]" elseif not package.path then local elem_name = "install_" .. i .. ";" formspec[#formspec + 1] = "style[" .. elem_name .. "bgcolor=#71aa34]" -- cgit v1.2.3 From 480d5f2d51ca8f7c4400b0918bb53b776e4ff440 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 24 Apr 2022 22:59:19 +0100 Subject: Fix texture packs not showing as enabled in mainmenu Fixes #12219 --- builtin/mainmenu/pkgmgr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index 8907aecfc..db62fcd50 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -80,7 +80,7 @@ local function load_texture_packs(txtpath, retval) if item ~= "base" then local path = txtpath .. DIR_DELIM .. item .. DIR_DELIM local conf = Settings(path .. "texture_pack.conf") - local enabled = conf == current_texture_path + local enabled = path == current_texture_path local title = conf:get("title") -- list_* is only used if non-nil, else the regular versions are used. -- cgit v1.2.3 From fccf1e2eac691443108de8f666d611327dbfcfb3 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Wed, 27 Apr 2022 23:00:02 +0200 Subject: Support CSS Color Module Level 4 (#12204) --- doc/lua_api.txt | 2 +- src/util/string.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index f53ab0ff7..f54672db7 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3248,7 +3248,7 @@ Colors `#RRGGBBAA` defines a color in hexadecimal format and alpha channel. Named colors are also supported and are equivalent to -[CSS Color Module Level 3](https://www.w3.org/TR/css-color-3/). +[CSS Color Module Level 4](https://www.w3.org/TR/css-color-4/#named-color). To specify the value of the alpha channel, append `#A` or `#AA` to the end of the color name (e.g. `colorname#08`). diff --git a/src/util/string.cpp b/src/util/string.cpp index 39cd44667..b805b2f78 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -494,6 +494,7 @@ const static std::unordered_map s_named_colors = { {"plum", 0xdda0dd}, {"powderblue", 0xb0e0e6}, {"purple", 0x800080}, + {"rebeccapurple", 0x663399}, {"red", 0xff0000}, {"rosybrown", 0xbc8f8f}, {"royalblue", 0x4169e1}, -- cgit v1.2.3 From a2f13e479b536f67e59a71714fec5f97a74b5dea Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 28 Apr 2022 16:51:16 +0000 Subject: DevTest: Fix armorball sprite (#12228) --- games/devtest/mods/testentities/armor.lua | 2 +- .../testentities/textures/testentities_armorball.png | Bin 1301 -> 1385 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/games/devtest/mods/testentities/armor.lua b/games/devtest/mods/testentities/armor.lua index 3887c75fd..415e5bd19 100644 --- a/games/devtest/mods/testentities/armor.lua +++ b/games/devtest/mods/testentities/armor.lua @@ -26,7 +26,7 @@ minetest.register_entity("testentities:armorball", { visual = "sprite", visual_size = {x=1, y=1}, textures = {"testentities_armorball.png"}, - spritediv = {x=1, y=5}, + spritediv = {x=1, y=max_phase+1}, initial_sprite_basepos = {x=0, y=0}, }, diff --git a/games/devtest/mods/testentities/textures/testentities_armorball.png b/games/devtest/mods/testentities/textures/testentities_armorball.png index ffe33fbad..708c7b36d 100644 Binary files a/games/devtest/mods/testentities/textures/testentities_armorball.png and b/games/devtest/mods/testentities/textures/testentities_armorball.png differ -- cgit v1.2.3 From 7f4fc6f8a77cd0e454ce98ff92da8c8d6592afba Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 28 Apr 2022 16:51:46 +0000 Subject: Show unknown node in debug screen (#12230) --- src/client/gameui.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp index 8505ea3ae..01c733b4f 100644 --- a/src/client/gameui.cpp +++ b/src/client/gameui.cpp @@ -151,9 +151,13 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_ const NodeDefManager *nodedef = client->getNodeDefManager(); MapNode n = map.getNode(pointed_old.node_undersurface); - if (n.getContent() != CONTENT_IGNORE && nodedef->get(n).name != "unknown") { - os << ", pointed: " << nodedef->get(n).name - << ", param2: " << (u64) n.getParam2(); + if (n.getContent() != CONTENT_IGNORE) { + if (nodedef->get(n).name == "unknown") { + os << ", pointed: "; + } else { + os << ", pointed: " << nodedef->get(n).name; + } + os << ", param2: " << (u64) n.getParam2(); } } -- cgit v1.2.3 From 7e18a1f1be2692bde078c1b77982da916c871497 Mon Sep 17 00:00:00 2001 From: paradust7 <102263465+paradust7@users.noreply.github.com> Date: Thu, 28 Apr 2022 09:52:19 -0700 Subject: Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap (#12232) Keep code and use version check instead, for backwards compatibility --- src/client/game.cpp | 5 +++++ src/client/mapblock_mesh.cpp | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/client/game.cpp b/src/client/game.cpp index b877ba04a..1290534eb 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -907,7 +907,10 @@ private: bool m_does_lost_focus_pause_game = false; +#if IRRLICHT_VERSION_MT_REVISION < 5 int m_reset_HW_buffer_counter = 0; +#endif + #ifdef HAVE_TOUCHSCREENGUI bool m_cache_hold_aux1; #endif @@ -3990,6 +3993,7 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, /* ==================== End scene ==================== */ +#if IRRLICHT_VERSION_MT_REVISION < 5 if (++m_reset_HW_buffer_counter > 500) { /* Periodically remove all mesh HW buffers. @@ -4011,6 +4015,7 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, driver->removeAllHardwareBuffers(); m_reset_HW_buffer_counter = 0; } +#endif driver->endScene(); diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index 8c7d66186..2c5500fca 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -1390,12 +1390,14 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data, v3s16 camera_offset): MapBlockMesh::~MapBlockMesh() { for (scene::IMesh *m : m_mesh) { +#if IRRLICHT_VERSION_MT_REVISION < 5 if (m_enable_vbo) { for (u32 i = 0; i < m->getMeshBufferCount(); i++) { scene::IMeshBuffer *buf = m->getMeshBuffer(i); RenderingEngine::get_video_driver()->removeHardwareBuffer(buf); } } +#endif m->drop(); } delete m_minimap_mapblock; -- cgit v1.2.3 From 0d91ef78ddb487e08969c9efb385ef7de69750b9 Mon Sep 17 00:00:00 2001 From: Oblomov Date: Thu, 28 Apr 2022 18:53:33 +0200 Subject: Refactor local time getter functions (#12221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces mt_localtime() in src/gettime.h, a wrapper around the OS-specific thread-safe versions of localtime() (resp. localtime_s on Windows and localtime_r in other systems). Per the Open Group recommendation, «portable applications should call tzset() explicitly before using ctime_r() or localtime_r() because setting timezone information is optional for those functions», so we also do a one-shot call of tzset() (_tzset() on Windows to avoid warning C4996). The function is used to replace the localtime() calls in getTimestamp() and makeScreenshot(). (The only reminaing call to localtime() in the tree now is the one in the local copy of the Lua source code.) --- src/client/client.cpp | 5 ++--- src/gettime.h | 32 +++++++++++++++++++++++++++----- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/src/client/client.cpp b/src/client/client.cpp index 935a82653..0a1fc73d1 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -1810,11 +1810,10 @@ void Client::makeScreenshot() if (!raw_image) return; - time_t t = time(NULL); - struct tm *tm = localtime(&t); + const struct tm tm = mt_localtime(); char timetstamp_c[64]; - strftime(timetstamp_c, sizeof(timetstamp_c), "%Y%m%d_%H%M%S", tm); + strftime(timetstamp_c, sizeof(timetstamp_c), "%Y%m%d_%H%M%S", &tm); std::string screenshot_dir; diff --git a/src/gettime.h b/src/gettime.h index 66efef1d7..772ff9b50 100644 --- a/src/gettime.h +++ b/src/gettime.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#include enum TimePrecision { @@ -30,13 +31,34 @@ enum TimePrecision PRECISION_NANO }; -inline std::string getTimestamp() +inline struct tm mt_localtime() { + // initialize the time zone on first invocation + static std::once_flag tz_init; + std::call_once(tz_init, [] { +#ifdef _WIN32 + _tzset(); +#else + tzset(); +#endif + }); + + struct tm ret; time_t t = time(NULL); - // This is not really thread-safe but it won't break anything - // except its own output, so just go with it. - struct tm *tm = localtime(&t); + // TODO we should check if the function returns NULL, which would mean error +#ifdef _WIN32 + localtime_s(&ret, &t); +#else + localtime_r(&t, &ret); +#endif + return ret; +} + + +inline std::string getTimestamp() +{ + const struct tm tm = mt_localtime(); char cs[20]; // YYYY-MM-DD HH:MM:SS + '\0' - strftime(cs, 20, "%Y-%m-%d %H:%M:%S", tm); + strftime(cs, 20, "%Y-%m-%d %H:%M:%S", &tm); return cs; } -- cgit v1.2.3 From 391eec9ee78fc9dfdc476ad2a8ed7755009e4a2f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 27 Apr 2022 19:00:49 +0200 Subject: Fix race condition in registration leading to duplicate create_auth calls --- src/network/serverpackethandler.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 8163cb820..6d951c416 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -1495,8 +1495,19 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt) } std::string initial_ver_key; - initial_ver_key = encode_srp_verifier(verification_key, salt); + + // It is possible for multiple connections to get this far with the same + // player name. In the end only one player with a given name will be emerged + // (see Server::StateTwoClientInit) but we still have to be careful here. + if (m_script->getAuth(playername, nullptr, nullptr)) { + // Another client beat us to it + actionstream << "Server: Client from " << addr_s + << " tried to register " << playername << " a second time." + << std::endl; + DenyAccess(peer_id, SERVER_ACCESSDENIED_ALREADY_CONNECTED); + return; + } m_script->createAuth(playername, initial_ver_key); m_script->on_authplayer(playername, addr_s, true); -- cgit v1.2.3 From 3d2bf8fb021ea839944830e212789532ba3f0370 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 27 Apr 2022 19:10:03 +0200 Subject: Apply disallow_empty_password to password changes too --- builtin/settingtypes.txt | 2 +- src/network/serverpackethandler.cpp | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index babb89481..a983a8f6b 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1186,7 +1186,7 @@ enable_mod_channels (Mod channels) bool false # If this is set, players will always (re)spawn at the given position. static_spawnpoint (Static spawnpoint) string -# If enabled, new players cannot join with an empty password. +# If enabled, players cannot join without a password or change theirs to an empty password. disallow_empty_password (Disallow empty passwords) bool false # If enabled, disable cheat prevention in multiplayer. diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 6d951c416..51061f57b 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -1475,6 +1475,9 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt) verbosestream << "Server: Got TOSERVER_FIRST_SRP from " << addr_s << ", with is_empty=" << (is_empty == 1) << std::endl; + const bool empty_disallowed = !isSingleplayer() && is_empty == 1 && + g_settings->getBool("disallow_empty_password"); + // Either this packet is sent because the user is new or to change the password if (cstate == CS_HelloSent) { if (!client->isMechAllowed(AUTH_MECHANISM_FIRST_SRP)) { @@ -1485,9 +1488,7 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt) return; } - if (!isSingleplayer() && - g_settings->getBool("disallow_empty_password") && - is_empty == 1) { + if (empty_disallowed) { actionstream << "Server: " << playername << " supplied empty password from " << addr_s << std::endl; DenyAccess(peer_id, SERVER_ACCESSDENIED_EMPTY_PASSWORD); @@ -1520,6 +1521,15 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt) return; } m_clients.event(peer_id, CSE_SudoLeave); + + if (empty_disallowed) { + actionstream << "Server: " << playername + << " supplied empty password" << std::endl; + SendChatMessage(peer_id, ChatMessage(CHATMESSAGE_TYPE_SYSTEM, + L"Changing to an empty password is not allowed.")); + return; + } + std::string pw_db_field = encode_srp_verifier(verification_key, salt); bool success = m_script->setPassword(playername, pw_db_field); if (success) { -- cgit v1.2.3 From 00f71c3b9d35e1cdd5aa62491a46068358aa8b2a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 27 Apr 2022 19:32:51 +0200 Subject: Fix password changing getting stuck if wrong password is entered once --- src/clientiface.cpp | 9 +++++++++ src/clientiface.h | 2 ++ src/network/serverpackethandler.cpp | 2 ++ 3 files changed, 13 insertions(+) diff --git a/src/clientiface.cpp b/src/clientiface.cpp index a1c3e1187..a4bfb8242 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -596,6 +596,15 @@ void RemoteClient::notifyEvent(ClientStateEvent event) } } +void RemoteClient::resetChosenMech() +{ + if (chosen_mech == AUTH_MECHANISM_SRP) { + srp_verifier_delete((SRPVerifier *) auth_data); + auth_data = nullptr; + } + chosen_mech = AUTH_MECHANISM_NONE; +} + u64 RemoteClient::uptime() const { return porting::getTimeS() - m_connection_time; diff --git a/src/clientiface.h b/src/clientiface.h index 947952e82..3e7ba4793 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -243,6 +243,8 @@ public: u32 allowed_auth_mechs = 0; u32 allowed_sudo_mechs = 0; + void resetChosenMech(); + bool isSudoMechAllowed(AuthMechanism mech) { return allowed_sudo_mechs & mech; } bool isMechAllowed(AuthMechanism mech) diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 51061f57b..125e85cab 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -1639,6 +1639,7 @@ void Server::handleCommand_SrpBytesA(NetworkPacket* pkt) << std::endl; if (wantSudo) { DenySudoAccess(peer_id); + client->resetChosenMech(); return; } @@ -1705,6 +1706,7 @@ void Server::handleCommand_SrpBytesM(NetworkPacket* pkt) << " tried to change their password, but supplied wrong" << " (SRP) password for authentication." << std::endl; DenySudoAccess(peer_id); + client->resetChosenMech(); return; } -- cgit v1.2.3 From a65f6f07f3a5601207b790edcc8cc945133112f7 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 27 Apr 2022 19:55:13 +0200 Subject: Clean up some auth packet handling related code --- src/clientiface.cpp | 16 +++------- src/network/clientpackethandler.cpp | 11 ++++--- src/network/networkprotocol.h | 18 +++++------ src/network/serveropcodes.cpp | 2 +- src/network/serverpackethandler.cpp | 24 +++++++-------- src/script/lua_api/l_server.cpp | 9 ++++-- src/server.cpp | 59 +++++++++---------------------------- src/server.h | 5 +--- src/serverenvironment.cpp | 6 ++-- 9 files changed, 52 insertions(+), 98 deletions(-) diff --git a/src/clientiface.cpp b/src/clientiface.cpp index a4bfb8242..5733b05de 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -472,20 +472,14 @@ void RemoteClient::notifyEvent(ClientStateEvent event) { case CSE_AuthAccept: m_state = CS_AwaitingInit2; - if (chosen_mech == AUTH_MECHANISM_SRP || - chosen_mech == AUTH_MECHANISM_LEGACY_PASSWORD) - srp_verifier_delete((SRPVerifier *) auth_data); - chosen_mech = AUTH_MECHANISM_NONE; + resetChosenMech(); break; case CSE_Disconnect: m_state = CS_Disconnecting; break; case CSE_SetDenied: m_state = CS_Denied; - if (chosen_mech == AUTH_MECHANISM_SRP || - chosen_mech == AUTH_MECHANISM_LEGACY_PASSWORD) - srp_verifier_delete((SRPVerifier *) auth_data); - chosen_mech = AUTH_MECHANISM_NONE; + resetChosenMech(); break; default: myerror << "HelloSent: Invalid client state transition! " << event; @@ -561,9 +555,7 @@ void RemoteClient::notifyEvent(ClientStateEvent event) break; case CSE_SudoSuccess: m_state = CS_SudoMode; - if (chosen_mech == AUTH_MECHANISM_SRP) - srp_verifier_delete((SRPVerifier *) auth_data); - chosen_mech = AUTH_MECHANISM_NONE; + resetChosenMech(); break; /* Init GotInit2 SetDefinitionsSent SetMediaSent SetDenied */ default: @@ -598,7 +590,7 @@ void RemoteClient::notifyEvent(ClientStateEvent event) void RemoteClient::resetChosenMech() { - if (chosen_mech == AUTH_MECHANISM_SRP) { + if (auth_data) { srp_verifier_delete((SRPVerifier *) auth_data); auth_data = nullptr; } diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 15b576640..55d20d673 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -183,7 +183,7 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt) m_access_denied_reason = "Unknown"; if (pkt->getCommand() != TOCLIENT_ACCESS_DENIED) { - // 13/03/15 Legacy code from 0.4.12 and lesser but is still used + // Legacy code from 0.4.12 and older but is still used // in some places of the server code if (pkt->getSize() >= 2) { std::wstring wide_reason; @@ -196,14 +196,14 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt) if (pkt->getSize() < 1) return; - u8 denyCode = SERVER_ACCESSDENIED_UNEXPECTED_DATA; + u8 denyCode; *pkt >> denyCode; + if (denyCode == SERVER_ACCESSDENIED_SHUTDOWN || denyCode == SERVER_ACCESSDENIED_CRASH) { *pkt >> m_access_denied_reason; - if (m_access_denied_reason.empty()) { + if (m_access_denied_reason.empty()) m_access_denied_reason = accessDeniedStrings[denyCode]; - } u8 reconnect; *pkt >> reconnect; m_access_denied_reconnect = reconnect & 1; @@ -220,9 +220,8 @@ void Client::handleCommand_AccessDenied(NetworkPacket* pkt) // Until then (which may be never), this is outside // of the defined protocol. *pkt >> m_access_denied_reason; - if (m_access_denied_reason.empty()) { + if (m_access_denied_reason.empty()) m_access_denied_reason = "Unknown"; - } } } diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index f98a829ba..3923cb858 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -1006,7 +1006,7 @@ enum AuthMechanism AUTH_MECHANISM_FIRST_SRP = 1 << 2, }; -enum AccessDeniedCode { +enum AccessDeniedCode : u8 { SERVER_ACCESSDENIED_WRONG_PASSWORD, SERVER_ACCESSDENIED_UNEXPECTED_DATA, SERVER_ACCESSDENIED_SINGLEPLAYER, @@ -1029,18 +1029,18 @@ enum NetProtoCompressionMode { const static std::string accessDeniedStrings[SERVER_ACCESSDENIED_MAX] = { "Invalid password", - "Your client sent something the server didn't expect. Try reconnecting or updating your client", + "Your client sent something the server didn't expect. Try reconnecting or updating your client.", "The server is running in simple singleplayer mode. You cannot connect.", - "Your client's version is not supported.\nPlease contact server administrator.", - "Player name contains disallowed characters.", - "Player name not allowed.", - "Too many users.", + "Your client's version is not supported.\nPlease contact the server administrator.", + "Player name contains disallowed characters", + "Player name not allowed", + "Too many users", "Empty passwords are disallowed. Set a password and try again.", "Another client is connected with this name. If your client closed unexpectedly, try again in a minute.", - "Server authentication failed. This is likely a server error.", + "Internal server error", "", - "Server shutting down.", - "This server has experienced an internal error. You will now be disconnected." + "Server shutting down", + "The server has experienced an internal error. You will now be disconnected." }; enum PlayerListModifer : u8 diff --git a/src/network/serveropcodes.cpp b/src/network/serveropcodes.cpp index 44b65e8da..12665e7f1 100644 --- a/src/network/serveropcodes.cpp +++ b/src/network/serveropcodes.cpp @@ -176,7 +176,7 @@ const ClientCommandFactory clientCommandFactoryTable[TOCLIENT_NUM_MSG_TYPES] = { "TOCLIENT_ACTIVE_OBJECT_MESSAGES", 0, true }, // 0x32 (may be sent as unrel over channel 1 too) { "TOCLIENT_HP", 0, true }, // 0x33 { "TOCLIENT_MOVE_PLAYER", 0, true }, // 0x34 - { "TOCLIENT_ACCESS_DENIED_LEGACY", 0, true }, // 0x35 + null_command_factory, // 0x35 { "TOCLIENT_FOV", 0, true }, // 0x36 { "TOCLIENT_DEATHSCREEN", 0, true }, // 0x37 { "TOCLIENT_MEDIA", 2, true }, // 0x38 diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 125e85cab..4b9de488c 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -227,7 +227,7 @@ void Server::handleCommand_Init(NetworkPacket* pkt) Compose auth methods for answer */ std::string encpwd; // encrypted Password field for the user - bool has_auth = m_script->getAuth(playername, &encpwd, NULL); + bool has_auth = m_script->getAuth(playername, &encpwd, nullptr); u32 auth_mechs = 0; client->chosen_mech = AUTH_MECHANISM_NONE; @@ -1461,11 +1461,9 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt) session_t peer_id = pkt->getPeerId(); RemoteClient *client = getClient(peer_id, CS_Invalid); ClientState cstate = client->getState(); + const std::string playername = client->getName(); - std::string playername = client->getName(); - - std::string salt; - std::string verification_key; + std::string salt, verification_key; std::string addr_s = getPeerAddress(peer_id).serializeString(); u8 is_empty; @@ -1551,8 +1549,6 @@ void Server::handleCommand_SrpBytesA(NetworkPacket* pkt) RemoteClient *client = getClient(peer_id, CS_Invalid); ClientState cstate = client->getState(); - bool wantSudo = (cstate == CS_Active); - if (!((cstate == CS_HelloSent) || (cstate == CS_Active))) { actionstream << "Server: got SRP _A packet in wrong state " << cstate << " from " << getPeerAddress(peer_id).serializeString() << @@ -1560,6 +1556,8 @@ void Server::handleCommand_SrpBytesA(NetworkPacket* pkt) return; } + const bool wantSudo = (cstate == CS_Active); + if (client->chosen_mech != AUTH_MECHANISM_NONE) { actionstream << "Server: got SRP _A packet, while auth is already " "going on with mech " << client->chosen_mech << " from " << @@ -1606,8 +1604,7 @@ void Server::handleCommand_SrpBytesA(NetworkPacket* pkt) client->chosen_mech = chosen; - std::string salt; - std::string verifier; + std::string salt, verifier; if (based_on == 0) { @@ -1657,10 +1654,10 @@ void Server::handleCommand_SrpBytesM(NetworkPacket* pkt) session_t peer_id = pkt->getPeerId(); RemoteClient *client = getClient(peer_id, CS_Invalid); ClientState cstate = client->getState(); - std::string addr_s = getPeerAddress(pkt->getPeerId()).serializeString(); - std::string playername = client->getName(); + const std::string addr_s = client->getAddress().serializeString(); + const std::string playername = client->getName(); - bool wantSudo = (cstate == CS_Active); + const bool wantSudo = (cstate == CS_Active); verbosestream << "Server: Received TOSERVER_SRP_BYTES_M." << std::endl; @@ -1720,8 +1717,7 @@ void Server::handleCommand_SrpBytesM(NetworkPacket* pkt) if (client->create_player_on_auth_success) { m_script->createAuth(playername, client->enc_pwd); - std::string checkpwd; // not used, but needed for passing something - if (!m_script->getAuth(playername, &checkpwd, NULL)) { + if (!m_script->getAuth(playername, nullptr, nullptr)) { errorstream << "Server: " << playername << " cannot be authenticated (auth handler does not work?)" << std::endl; diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 88ab5e16b..5b3054d17 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -325,12 +325,15 @@ int ModApiServer::l_disconnect_player(lua_State *L) else message.append("Disconnected."); - RemotePlayer *player = dynamic_cast(getEnv(L))->getPlayer(name); - if (player == NULL) { + Server *server = getServer(L); + + RemotePlayer *player = server->getEnv().getPlayer(name); + if (!player) { lua_pushboolean(L, false); // No such player return 1; } - getServer(L)->DenyAccess_Legacy(player->getPeerId(), utf8_to_wide(message)); + + server->DenyAccess(player->getPeerId(), SERVER_ACCESSDENIED_CUSTOM_STRING, message); lua_pushboolean(L, true); return 1; } diff --git a/src/server.cpp b/src/server.cpp index 8ca8a9bda..9d7e8e563 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1038,8 +1038,7 @@ void Server::Receive() } catch (const ClientStateError &e) { errorstream << "ProcessData: peer=" << peer_id << " what()=" << e.what() << std::endl; - DenyAccess_Legacy(peer_id, L"Your client sent something server didn't expect." - L"Try reconnecting or updating your client"); + DenyAccess(peer_id, SERVER_ACCESSDENIED_UNEXPECTED_DATA); } catch (const con::PeerNotFoundException &e) { // Do nothing } catch (const con::NoIncomingDataException &e) { @@ -1068,15 +1067,13 @@ PlayerSAO* Server::StageTwoClientInit(session_t peer_id) if (player && player->getPeerId() != PEER_ID_INEXISTENT) { actionstream << "Server: Failed to emerge player \"" << playername << "\" (player allocated to an another client)" << std::endl; - DenyAccess_Legacy(peer_id, L"Another client is connected with this " - L"name. If your client closed unexpectedly, try again in " - L"a minute."); + DenyAccess(peer_id, SERVER_ACCESSDENIED_ALREADY_CONNECTED); } else { errorstream << "Server: " << playername << ": Failed to emerge player" << std::endl; - DenyAccess_Legacy(peer_id, L"Could not allocate player."); + DenyAccess(peer_id, SERVER_ACCESSDENIED_SERVER_FAIL); } - return NULL; + return nullptr; } /* @@ -1141,18 +1138,16 @@ void Server::ProcessData(NetworkPacket *pkt) Address address = getPeerAddress(peer_id); std::string addr_s = address.serializeString(); - if(m_banmanager->isIpBanned(addr_s)) { + // FIXME: Isn't it a bit excessive to check this for every packet? + if (m_banmanager->isIpBanned(addr_s)) { std::string ban_name = m_banmanager->getBanName(addr_s); infostream << "Server: A banned client tried to connect from " - << addr_s << "; banned name was " - << ban_name << std::endl; - // This actually doesn't seem to transfer to the client - DenyAccess_Legacy(peer_id, L"Your ip is banned. Banned name was " - + utf8_to_wide(ban_name)); + << addr_s << "; banned name was " << ban_name << std::endl; + DenyAccess(peer_id, SERVER_ACCESSDENIED_CUSTOM_STRING, + "Your IP is banned. Banned name was " + ban_name); return; } - } - catch(con::PeerNotFoundException &e) { + } catch (con::PeerNotFoundException &e) { /* * no peer for this packet found * most common reason is peer timeout, e.g. peer didn't @@ -1406,13 +1401,6 @@ void Server::SendAccessDenied(session_t peer_id, AccessDeniedCode reason, Send(&pkt); } -void Server::SendAccessDenied_Legacy(session_t peer_id,const std::wstring &reason) -{ - NetworkPacket pkt(TOCLIENT_ACCESS_DENIED_LEGACY, 0, peer_id); - pkt << reason; - Send(&pkt); -} - void Server::SendDeathscreen(session_t peer_id, bool set_camera_point_target, v3f camera_point_target) { @@ -2777,29 +2765,10 @@ void Server::DenySudoAccess(session_t peer_id) } -void Server::DenyAccessVerCompliant(session_t peer_id, u16 proto_ver, AccessDeniedCode reason, - const std::string &str_reason, bool reconnect) -{ - SendAccessDenied(peer_id, reason, str_reason, reconnect); - - m_clients.event(peer_id, CSE_SetDenied); - DisconnectPeer(peer_id); -} - - void Server::DenyAccess(session_t peer_id, AccessDeniedCode reason, - const std::string &custom_reason) -{ - SendAccessDenied(peer_id, reason, custom_reason); - m_clients.event(peer_id, CSE_SetDenied); - DisconnectPeer(peer_id); -} - -// 13/03/15: remove this function when protocol version 25 will become -// the minimum version for MT users, maybe in 1 year -void Server::DenyAccess_Legacy(session_t peer_id, const std::wstring &reason) + const std::string &custom_reason, bool reconnect) { - SendAccessDenied_Legacy(peer_id, reason); + SendAccessDenied(peer_id, reason, custom_reason, reconnect); m_clients.event(peer_id, CSE_SetDenied); DisconnectPeer(peer_id); } @@ -2985,8 +2954,8 @@ std::wstring Server::handleChat(const std::string &name, return ws.str(); } case RPLAYER_CHATRESULT_KICK: - DenyAccess_Legacy(player->getPeerId(), - L"You have been kicked due to message flooding."); + DenyAccess(player->getPeerId(), SERVER_ACCESSDENIED_CUSTOM_STRING, + "You have been kicked due to message flooding."); return L""; case RPLAYER_CHATRESULT_OK: break; diff --git a/src/server.h b/src/server.h index c05393291..008213c5d 100644 --- a/src/server.h +++ b/src/server.h @@ -341,12 +341,9 @@ public: void deletingPeer(con::Peer *peer, bool timeout); void DenySudoAccess(session_t peer_id); - void DenyAccessVerCompliant(session_t peer_id, u16 proto_ver, AccessDeniedCode reason, - const std::string &str_reason = "", bool reconnect = false); void DenyAccess(session_t peer_id, AccessDeniedCode reason, - const std::string &custom_reason = ""); + const std::string &custom_reason = "", bool reconnect = false); void acceptAuth(session_t peer_id, bool forSudoMode); - void DenyAccess_Legacy(session_t peer_id, const std::wstring &reason); void DisconnectPeer(session_t peer_id); bool getClientConInfo(session_t peer_id, con::rtt_stat_type type, float *retval); bool getClientInfo(session_t peer_id, ClientInfo &ret); diff --git a/src/serverenvironment.cpp b/src/serverenvironment.cpp index 34a1e33e5..f8d84604b 100644 --- a/src/serverenvironment.cpp +++ b/src/serverenvironment.cpp @@ -552,10 +552,8 @@ bool ServerEnvironment::removePlayerFromDatabase(const std::string &name) void ServerEnvironment::kickAllPlayers(AccessDeniedCode reason, const std::string &str_reason, bool reconnect) { - for (RemotePlayer *player : m_players) { - m_server->DenyAccessVerCompliant(player->getPeerId(), - player->protocol_version, reason, str_reason, reconnect); - } + for (RemotePlayer *player : m_players) + m_server->DenyAccess(player->getPeerId(), reason, str_reason, reconnect); } void ServerEnvironment::saveLoadedPlayers(bool force) -- cgit v1.2.3 From ec4a789b4f56d7918b6c964e59b9903af5e17fcd Mon Sep 17 00:00:00 2001 From: qwerty123a2 <82355645+qwerty123a2@users.noreply.github.com> Date: Sat, 30 Apr 2022 02:15:19 +1000 Subject: Update mods_here.txt to mention installing mods via CDB (#11876) Co-authored-by: rubenwardy --- mods/mods_here.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mods/mods_here.txt b/mods/mods_here.txt index e105fbd1a..e14b7539e 100644 --- a/mods/mods_here.txt +++ b/mods/mods_here.txt @@ -1,4 +1,10 @@ +You can use the content tab in the main menu + + OR + You can install Minetest mods by copying (and extracting) them into this folder. To enable them, go to the configure world window in the main menu or write + load_mod_ = true -in world.mt in the world directory. + +in world.mt in the world directory. -- cgit v1.2.3 From 828461c193c9dcee1221a367b340084e4ee643ad Mon Sep 17 00:00:00 2001 From: x2048 Date: Sat, 30 Apr 2022 15:54:07 +0200 Subject: Run automated tests when lua files change (#12184) * Run automated tests when lua files change * skip busted on devtest * use newer build env * Add .luacheckrc for games/devetest Co-authored-by: sfan5 --- .github/workflows/lua.yml | 60 ++++++++++++++++++++++++++++++++++++++++++ .github/workflows/lua_lint.yml | 32 ---------------------- games/devtest/.luacheckrc | 43 ++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/lua.yml delete mode 100644 .github/workflows/lua_lint.yml create mode 100644 games/devtest/.luacheckrc diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml new file mode 100644 index 000000000..0fa30bb15 --- /dev/null +++ b/.github/workflows/lua.yml @@ -0,0 +1,60 @@ +name: lua_lint + +# Lint on lua changes on builtin or if workflow changed +on: + push: + paths: + - 'builtin/**.lua' + - 'games/devtest/**.lua' + - '.github/workflows/**.yml' + pull_request: + paths: + - 'builtin/**.lua' + - 'games/devtest/**.lua' + - '.github/workflows/**.yml' + +jobs: + # Note that the integration tests are also run build.yml, but only when C++ code is changed. + integration_tests: + name: "Compile and run multiplayer tests" + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Install deps + run: | + source ./util/ci/common.sh + install_linux_deps clang-10 gdb + + - name: Build + run: | + ./util/ci/build.sh + env: + CC: clang-10 + CXX: clang++-10 + + - name: Integration test + devtest + run: | + ./util/test_multiplayer.sh + + luacheck: + name: "Builtin Luacheck and Unit Tests" + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Install luarocks + run: | + sudo apt-get install luarocks -qyy + + - name: Install luarocks tools + run: | + luarocks install --local luacheck + luarocks install --local busted + + - name: Run checks (builtin) + run: | + $HOME/.luarocks/bin/luacheck builtin + $HOME/.luarocks/bin/busted builtin + + - name: Run checks (devtest) + run: | + $HOME/.luarocks/bin/luacheck --config=games/devtest/.luacheckrc games/devtest diff --git a/.github/workflows/lua_lint.yml b/.github/workflows/lua_lint.yml deleted file mode 100644 index 738e5afff..000000000 --- a/.github/workflows/lua_lint.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: lua_lint - -# Lint on lua changes on builtin or if workflow changed -on: - push: - paths: - - 'builtin/**.lua' - - '.github/workflows/**.yml' - pull_request: - paths: - - 'builtin/**.lua' - - '.github/workflows/**.yml' - -jobs: - luacheck: - name: "Builtin Luacheck and Unit Tests" - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - name: Install luarocks - run: | - sudo apt-get install luarocks -qyy - - - name: Install luarocks tools - run: | - luarocks install --local luacheck - luarocks install --local busted - - - name: Run checks - run: | - $HOME/.luarocks/bin/luacheck builtin - $HOME/.luarocks/bin/busted builtin diff --git a/games/devtest/.luacheckrc b/games/devtest/.luacheckrc new file mode 100644 index 000000000..1c7d3994f --- /dev/null +++ b/games/devtest/.luacheckrc @@ -0,0 +1,43 @@ +unused_args = false +allow_defined_top = true +max_string_line_length = false +max_line_length = false + +ignore = { + "131", -- Unused global variable + "211", -- Unused local variable + "231", -- Local variable never accessed + "311", -- Value assigned to a local variable is unused + "412", -- Redefining an argument + "421", -- Shadowing a local variable + "431", -- Shadowing an upvalue + "432", -- Shadowing an upvalue argument + "611", -- Line contains only whitespace +} + +read_globals = { + "ItemStack", + "INIT", + "DIR_DELIM", + "dump", "dump2", + "fgettext", "fgettext_ne", + "vector", + "VoxelArea", + "profiler", + "Settings", + "check", + "PseudoRandom", + + string = {fields = {"split", "trim"}}, + table = {fields = {"copy", "getn", "indexof", "insert_all"}}, + math = {fields = {"hypot", "round"}}, +} + +globals = { + "aborted", + "minetest", + "core", + os = { fields = { "tempfolder" } }, + "_", +} + -- cgit v1.2.3 From faecff570c48350c599bcf043a7004a52ddf1b39 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 28 Apr 2022 20:26:54 +0200 Subject: Enable additional warning flags also make them work with the RelWithDebInfo build type --- src/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0323603fc..f9ec419e9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -693,14 +693,13 @@ if(MSVC) endif() else() # GCC or compatible compilers such as Clang + set(WARNING_FLAGS "-Wall -Wextra") + set(WARNING_FLAGS "${WARNING_FLAGS} -Wno-unused-parameter -Wno-implicit-fallthrough") if(WARN_ALL) - set(RELEASE_WARNING_FLAGS "-Wall") + set(RELEASE_WARNING_FLAGS "${WARNING_FLAGS}") else() set(RELEASE_WARNING_FLAGS "") endif() - if(CMAKE_CXX_COMPILER_ID MATCHES "(Apple)?Clang") - set(WARNING_FLAGS "${WARNING_FLAGS} -Wsign-compare") - endif() if(APPLE AND USE_LUAJIT) # required per http://luajit.org/install.html @@ -742,7 +741,7 @@ else() endif() endif() - set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops") + set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${OTHER_FLAGS} -pipe -funroll-loops") if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|BSD|DragonFly)") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os") else() @@ -755,8 +754,9 @@ else() set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${MATH_FLAGS}") endif() endif() - set(CMAKE_CXX_FLAGS_SEMIDEBUG "-g -O1 -Wall ${WARNING_FLAGS} ${OTHER_FLAGS}") - set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall ${WARNING_FLAGS} ${OTHER_FLAGS}") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -g") + set(CMAKE_CXX_FLAGS_SEMIDEBUG "-g -O1 ${WARNING_FLAGS} ${OTHER_FLAGS}") + set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 ${WARNING_FLAGS} ${OTHER_FLAGS}") if(USE_GPROF) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -pg") -- cgit v1.2.3 From a89afe1229e327da3c397a3912b2d43d2196ea2b Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 28 Apr 2022 20:53:15 +0200 Subject: Deal with compiler warnings --- src/client/client.h | 2 +- src/client/clientmap.h | 16 +++++++--------- src/client/content_cao.cpp | 2 +- src/client/content_cao.h | 2 +- src/client/game.cpp | 6 +++--- src/client/minimap.cpp | 2 +- src/client/shadows/dynamicshadowsrender.cpp | 6 ++++-- src/client/shadows/dynamicshadowsrender.h | 1 - src/database/database-postgresql.h | 3 ++- src/map.h | 14 +++++++------- src/network/connection.h | 2 +- src/network/socket.cpp | 4 ++-- 12 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/client/client.h b/src/client/client.h index 0e29fdbe2..cb1227768 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -407,7 +407,7 @@ public: } ClientScripting *getScript() { return m_script; } - const bool modsLoaded() const { return m_mods_loaded; } + bool modsLoaded() const { return m_mods_loaded; } void pushToEventQueue(ClientEvent *event); diff --git a/src/client/clientmap.h b/src/client/clientmap.h index 7bd7af266..6d57f1911 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -81,9 +81,9 @@ public: return false; } - void drop() + void drop() override { - ISceneNode::drop(); + ISceneNode::drop(); // calls destructor } void updateCamera(v3f pos, v3f dir, f32 fov, v3s16 offset); @@ -91,24 +91,22 @@ public: /* Forcefully get a sector from somewhere */ - MapSector * emergeSector(v2s16 p); - - //void deSerializeSector(v2s16 p2d, std::istream &is); + MapSector * emergeSector(v2s16 p) override; /* ISceneNode methods */ - virtual void OnRegisterSceneNode(); + virtual void OnRegisterSceneNode() override; - virtual void render() + virtual void render() override { video::IVideoDriver* driver = SceneManager->getVideoDriver(); driver->setTransform(video::ETS_WORLD, AbsoluteTransformation); renderMap(driver, SceneManager->getSceneNodeRenderPass()); } - virtual const aabb3f &getBoundingBox() const + virtual const aabb3f &getBoundingBox() const override { return m_box; } @@ -130,7 +128,7 @@ public: void renderPostFx(CameraMode cam_mode); // For debug printing - virtual void PrintInfo(std::ostream &out); + void PrintInfo(std::ostream &out) override; const MapDrawControl & getControl() const { return m_control; } f32 getWantedRange() const { return m_control.wanted_range; } diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 3c31d4a36..d89bb53b3 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -435,7 +435,7 @@ const v3f GenericCAO::getPosition() const return m_position; } -const bool GenericCAO::isImmortal() +bool GenericCAO::isImmortal() const { return itemgroup_get(getGroups(), "immortal"); } diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 70f1557e1..783aa4199 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -172,7 +172,7 @@ public: inline const v3f &getRotation() const { return m_rotation; } - const bool isImmortal(); + bool isImmortal() const; inline const ObjectProperties &getProperties() const { return m_prop; } diff --git a/src/client/game.cpp b/src/client/game.cpp index 1290534eb..d21bdbe99 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1063,9 +1063,9 @@ bool Game::startup(bool *kill, void Game::run() { ProfilerGraph graph; - RunStats stats = { 0 }; - CameraOrientation cam_view_target = { 0 }; - CameraOrientation cam_view = { 0 }; + RunStats stats; + CameraOrientation cam_view_target = {}; + CameraOrientation cam_view = {}; FpsControl draw_times; f32 dtime; // in seconds diff --git a/src/client/minimap.cpp b/src/client/minimap.cpp index f26aa1c70..320621d91 100644 --- a/src/client/minimap.cpp +++ b/src/client/minimap.cpp @@ -304,7 +304,7 @@ void Minimap::setModeIndex(size_t index) data->mode = m_modes[index]; m_current_mode_index = index; } else { - data->mode = MinimapModeDef{MINIMAP_TYPE_OFF, gettext("Minimap hidden"), 0, 0, ""}; + data->mode = {MINIMAP_TYPE_OFF, gettext("Minimap hidden"), 0, 0, "", 0}; m_current_mode_index = 0; } diff --git a/src/client/shadows/dynamicshadowsrender.cpp b/src/client/shadows/dynamicshadowsrender.cpp index a008c3e06..07dc6daf2 100644 --- a/src/client/shadows/dynamicshadowsrender.cpp +++ b/src/client/shadows/dynamicshadowsrender.cpp @@ -31,10 +31,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "profiler.h" ShadowRenderer::ShadowRenderer(IrrlichtDevice *device, Client *client) : - m_device(device), m_smgr(device->getSceneManager()), - m_driver(device->getVideoDriver()), m_client(client), m_current_frame(0), + m_smgr(device->getSceneManager()), m_driver(device->getVideoDriver()), + m_client(client), m_current_frame(0), m_perspective_bias_xy(0.8), m_perspective_bias_z(0.5) { + (void) m_client; + m_shadows_supported = true; // assume shadows supported. We will check actual support in initialize m_shadows_enabled = true; diff --git a/src/client/shadows/dynamicshadowsrender.h b/src/client/shadows/dynamicshadowsrender.h index bbeb254b0..0e4ef6b70 100644 --- a/src/client/shadows/dynamicshadowsrender.h +++ b/src/client/shadows/dynamicshadowsrender.h @@ -109,7 +109,6 @@ private: void enable() { m_shadows_enabled = m_shadows_supported; } // a bunch of variables - IrrlichtDevice *m_device{nullptr}; scene::ISceneManager *m_smgr{nullptr}; video::IVideoDriver *m_driver{nullptr}; Client *m_client{nullptr}; diff --git a/src/database/database-postgresql.h b/src/database/database-postgresql.h index 81b4a2b10..0a9ead01e 100644 --- a/src/database/database-postgresql.h +++ b/src/database/database-postgresql.h @@ -94,7 +94,8 @@ protected: checkResults(PQprepare(m_conn, name.c_str(), sql.c_str(), 0, NULL)); } - const int getPGVersion() const { return m_pgversion; } + int getPGVersion() const { return m_pgversion; } + private: // Database connectivity checks void ping(); diff --git a/src/map.h b/src/map.h index 9dc7a101c..d8ed29106 100644 --- a/src/map.h +++ b/src/map.h @@ -327,7 +327,7 @@ public: - Create blank filled with CONTENT_IGNORE */ - MapBlock *emergeBlock(v3s16 p, bool create_blank=true); + MapBlock *emergeBlock(v3s16 p, bool create_blank=true) override; /* Try to get a block. @@ -349,27 +349,27 @@ public: static MapDatabase *createDatabase(const std::string &name, const std::string &savedir, Settings &conf); // Call these before and after saving of blocks - void beginSave(); - void endSave(); + void beginSave() override; + void endSave() override; - void save(ModifiedState save_level); + void save(ModifiedState save_level) override; void listAllLoadableBlocks(std::vector &dst); void listAllLoadedBlocks(std::vector &dst); MapgenParams *getMapgenParams(); - bool saveBlock(MapBlock *block); + bool saveBlock(MapBlock *block) override; static bool saveBlock(MapBlock *block, MapDatabase *db, int compression_level = -1); MapBlock* loadBlock(v3s16 p); // Database version void loadBlock(std::string *blob, v3s16 p3d, MapSector *sector, bool save_after_load=false); - bool deleteBlock(v3s16 blockpos); + bool deleteBlock(v3s16 blockpos) override; void updateVManip(v3s16 pos); // For debug printing - virtual void PrintInfo(std::ostream &out); + void PrintInfo(std::ostream &out) override; bool isSavingEnabled(){ return m_map_saving_enabled; } diff --git a/src/network/connection.h b/src/network/connection.h index 88e323bb1..b5ae24882 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -194,7 +194,7 @@ struct BufferedPacket { u16 getSeqnum() const; - inline const size_t size() const { return m_data.size(); } + inline size_t size() const { return m_data.size(); } u8 *data; // Direct memory access float time = 0.0f; // Seconds from buffering the packet or re-sending diff --git a/src/network/socket.cpp b/src/network/socket.cpp index 0bb7ea234..97a5f19f7 100644 --- a/src/network/socket.cpp +++ b/src/network/socket.cpp @@ -231,7 +231,7 @@ void UDPSocket::Send(const Address &destination, const void *data, int size) int sent; if (m_addr_family == AF_INET6) { - struct sockaddr_in6 address = {0}; + struct sockaddr_in6 address = {}; address.sin6_family = AF_INET6; address.sin6_addr = destination.getAddress6(); address.sin6_port = htons(destination.getPort()); @@ -239,7 +239,7 @@ void UDPSocket::Send(const Address &destination, const void *data, int size) sent = sendto(m_handle, (const char *)data, size, 0, (struct sockaddr *)&address, sizeof(struct sockaddr_in6)); } else { - struct sockaddr_in address = {0}; + struct sockaddr_in address = {}; address.sin_family = AF_INET; address.sin_addr = destination.getAddress(); address.sin_port = htons(destination.getPort()); -- cgit v1.2.3 From c7bcebb62856ae5fdb23a13e6fa1052eae700ddf Mon Sep 17 00:00:00 2001 From: x2048 Date: Sun, 1 May 2022 17:21:00 +0200 Subject: Initialize wield mesh colors when changing item. (#12254) Fixes #12245 --- src/client/wieldmesh.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/client/wieldmesh.cpp b/src/client/wieldmesh.cpp index ab6fc9281..d5c191935 100644 --- a/src/client/wieldmesh.cpp +++ b/src/client/wieldmesh.cpp @@ -457,6 +457,10 @@ void WieldMeshSceneNode::setItem(const ItemStack &item, Client *client, bool che material.setFlag(video::EMF_BILINEAR_FILTER, m_bilinear_filter); material.setFlag(video::EMF_TRILINEAR_FILTER, m_trilinear_filter); } + + // initialize the color + if (!m_lighting) + setColor(video::SColor(0xFFFFFFFF)); return; } else { if (!def.inventory_image.empty()) { @@ -469,6 +473,10 @@ void WieldMeshSceneNode::setItem(const ItemStack &item, Client *client, bool che m_colors.emplace_back(); // overlay is white, if present m_colors.emplace_back(true, video::SColor(0xFFFFFFFF)); + + // initialize the color + if (!m_lighting) + setColor(video::SColor(0xFFFFFFFF)); return; } -- cgit v1.2.3 From 41e79d902d536f31b7b5fe2fb63a7272ce38d437 Mon Sep 17 00:00:00 2001 From: JakobDev Date: Mon, 2 May 2022 18:22:23 +0200 Subject: Add German translation to AppData file (#12161) --- misc/net.minetest.minetest.appdata.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/misc/net.minetest.minetest.appdata.xml b/misc/net.minetest.minetest.appdata.xml index a6b61448e..951bb6221 100644 --- a/misc/net.minetest.minetest.appdata.xml +++ b/misc/net.minetest.minetest.appdata.xml @@ -11,26 +11,44 @@ Minetest

Multiplayer infinite-world block sandbox game + Mehrspieler-Sandkastenspiel mit unendlichen Blockwelten

Minetest is an infinite-world block sandbox game and game engine. +

+ Minetest ist ein Sandkastenspiel und eine Spielengine mit unendlichen Welten.

Players can create and destroy various types of blocks in a three-dimensional open world. This allows forming structures in every possible creation, on multiplayer servers or in singleplayer. +

+ Spieler können in einer offenen 3D-Welt viele verschiedene Arten von + Blöcken platzieren und abbauen. Dies erlaubt das Bauen von vielfältigen + Strukturen im Einzelspieler oder auf Mehrspielerservern.

Minetest is designed to be simple, stable, and portable. It is lightweight enough to run on fairly old hardware. +

+ Minetest wurde entworfen, um einfach, stabil und portabel zu sein. + Es ist leichtgewichtig genug, um auf relativ alter Hardware zu laufen.

Minetest has many features, including: +

+ Minetest besitzt viele Features, unter anderem:

  • Ability to walk around, dig, and build in a near-infinite voxel world
  • +
  • Die Möglichkeit, in einer nahezu unendlichen Voxel-Welt herumzulaufen, zu graben und zu bauen
  • Crafting of items from raw materials
  • +
  • Fertigen von Items aus Rohmaterialien
  • Fast and able to run on old and slow hardware
  • +
  • Gute Performance selbst auf älterer und langsamer Hardware
  • A simple modding API that supports many additions and modifications to the game
  • +
  • Eine einfache Modding-API, die viele Ergänzungen und Änderungen am Spiel unterstützt
  • Multiplayer support via servers hosted by users
  • +
  • Mehrspieler auf selber gehosteten Servern
  • Beautiful lightning-fast map generator
  • +
  • Wunderschöner, blitzschneller Kartengenerator
-- cgit v1.2.3 From 5362f472ff75ffe1885b54d09f22faa85284f817 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 8 Apr 2022 15:52:22 +0200 Subject: Remove some unused variable from Lua class wrappers --- src/script/lua_api/l_noise.cpp | 14 ++++++-------- src/script/lua_api/l_noise.h | 11 ++++++----- src/script/lua_api/l_vmanip.cpp | 16 ++++++++-------- src/script/lua_api/l_vmanip.h | 2 -- 4 files changed, 20 insertions(+), 23 deletions(-) diff --git a/src/script/lua_api/l_noise.cpp b/src/script/lua_api/l_noise.cpp index f43ba837a..0eee49b7d 100644 --- a/src/script/lua_api/l_noise.cpp +++ b/src/script/lua_api/l_noise.cpp @@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., LuaPerlinNoise */ -LuaPerlinNoise::LuaPerlinNoise(NoiseParams *params) : +LuaPerlinNoise::LuaPerlinNoise(const NoiseParams *params) : np(*params) { } @@ -141,12 +141,10 @@ luaL_Reg LuaPerlinNoise::methods[] = { LuaPerlinNoiseMap */ -LuaPerlinNoiseMap::LuaPerlinNoiseMap(NoiseParams *params, s32 seed, v3s16 size) +LuaPerlinNoiseMap::LuaPerlinNoiseMap(const NoiseParams *np, s32 seed, v3s16 size) { - m_is3d = size.Z > 1; - np = *params; try { - noise = new Noise(&np, seed, size.X, size.Y, size.Z); + noise = new Noise(np, seed, size.X, size.Y, size.Z); } catch (InvalidNoiseParamsException &e) { throw LuaError(e.what()); } @@ -217,7 +215,7 @@ int LuaPerlinNoiseMap::l_get_3d_map(lua_State *L) LuaPerlinNoiseMap *o = checkobject(L, 1); v3f p = check_v3f(L, 2); - if (!o->m_is3d) + if (!o->is3D()) return 0; Noise *n = o->noise; @@ -248,7 +246,7 @@ int LuaPerlinNoiseMap::l_get_3d_map_flat(lua_State *L) v3f p = check_v3f(L, 2); bool use_buffer = lua_istable(L, 3); - if (!o->m_is3d) + if (!o->is3D()) return 0; Noise *n = o->noise; @@ -289,7 +287,7 @@ int LuaPerlinNoiseMap::l_calc_3d_map(lua_State *L) LuaPerlinNoiseMap *o = checkobject(L, 1); v3f p = check_v3f(L, 2); - if (!o->m_is3d) + if (!o->is3D()) return 0; Noise *n = o->noise; diff --git a/src/script/lua_api/l_noise.h b/src/script/lua_api/l_noise.h index 9f50dfd3f..29ab41a31 100644 --- a/src/script/lua_api/l_noise.h +++ b/src/script/lua_api/l_noise.h @@ -30,6 +30,7 @@ class LuaPerlinNoise : public ModApiBase { private: NoiseParams np; + static const char className[]; static luaL_Reg methods[]; @@ -42,7 +43,7 @@ private: static int l_get_3d(lua_State *L); public: - LuaPerlinNoise(NoiseParams *params); + LuaPerlinNoise(const NoiseParams *params); ~LuaPerlinNoise() = default; // LuaPerlinNoise(seed, octaves, persistence, scale) @@ -59,9 +60,8 @@ public: */ class LuaPerlinNoiseMap : public ModApiBase { - NoiseParams np; Noise *noise; - bool m_is3d; + static const char className[]; static luaL_Reg methods[]; @@ -80,10 +80,11 @@ class LuaPerlinNoiseMap : public ModApiBase static int l_get_map_slice(lua_State *L); public: - LuaPerlinNoiseMap(NoiseParams *np, s32 seed, v3s16 size); - + LuaPerlinNoiseMap(const NoiseParams *np, s32 seed, v3s16 size); ~LuaPerlinNoiseMap(); + inline bool is3D() const { return noise->sz > 1; } + // LuaPerlinNoiseMap(np, size) // Creates an LuaPerlinNoiseMap and leaves it on top of stack static int create_object(lua_State *L); diff --git a/src/script/lua_api/l_vmanip.cpp b/src/script/lua_api/l_vmanip.cpp index 1fa080210..a3ece627c 100644 --- a/src/script/lua_api/l_vmanip.cpp +++ b/src/script/lua_api/l_vmanip.cpp @@ -17,7 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ - +#include #include "lua_api/l_vmanip.h" #include "lua_api/l_internal.h" #include "common/c_content.h" @@ -112,23 +112,23 @@ int LuaVoxelManip::l_write_to_map(lua_State *L) LuaVoxelManip *o = checkobject(L, 1); bool update_light = !lua_isboolean(L, 2) || readParam(L, 2); + GET_ENV_PTR; ServerMap *map = &(env->getServerMap()); + + std::map modified_blocks; if (o->is_mapgen_vm || !update_light) { - o->vm->blitBackAll(&(o->modified_blocks)); + o->vm->blitBackAll(&modified_blocks); } else { - voxalgo::blit_back_with_light(map, o->vm, - &(o->modified_blocks)); + voxalgo::blit_back_with_light(map, o->vm, &modified_blocks); } MapEditEvent event; event.type = MEET_OTHER; - for (const auto &modified_block : o->modified_blocks) - event.modified_blocks.insert(modified_block.first); - + for (const auto &it : modified_blocks) + event.modified_blocks.insert(it.first); map->dispatchEvent(event); - o->modified_blocks.clear(); return 0; } diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h index 15ab9eef8..5113070dc 100644 --- a/src/script/lua_api/l_vmanip.h +++ b/src/script/lua_api/l_vmanip.h @@ -19,7 +19,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include #include "irr_v3d.h" #include "lua_api/l_base.h" @@ -33,7 +32,6 @@ class MMVManip; class LuaVoxelManip : public ModApiBase { private: - std::map modified_blocks; bool is_mapgen_vm = false; static const char className[]; -- cgit v1.2.3 From e6385e2ab74af7b01163ea91d4e3cfd5dfe6552e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 9 Apr 2022 13:53:32 +0200 Subject: Reorganize some builtin functions in preparation for async env --- builtin/game/init.lua | 2 + builtin/game/item.lua | 147 --------------------------------------------- builtin/game/item_s.lua | 156 ++++++++++++++++++++++++++++++++++++++++++++++++ builtin/game/misc.lua | 86 -------------------------- builtin/game/misc_s.lua | 93 +++++++++++++++++++++++++++++ 5 files changed, 251 insertions(+), 233 deletions(-) create mode 100644 builtin/game/item_s.lua create mode 100644 builtin/game/misc_s.lua diff --git a/builtin/game/init.lua b/builtin/game/init.lua index bb007fabd..c5f08113b 100644 --- a/builtin/game/init.lua +++ b/builtin/game/init.lua @@ -8,6 +8,7 @@ local gamepath = scriptpath .. "game".. DIR_DELIM local builtin_shared = {} dofile(gamepath .. "constants.lua") +dofile(gamepath .. "item_s.lua") assert(loadfile(gamepath .. "item.lua"))(builtin_shared) dofile(gamepath .. "register.lua") @@ -18,6 +19,7 @@ end dofile(commonpath .. "after.lua") dofile(gamepath .. "item_entity.lua") dofile(gamepath .. "deprecated.lua") +dofile(gamepath .. "misc_s.lua") dofile(gamepath .. "misc.lua") dofile(gamepath .. "privileges.lua") dofile(gamepath .. "auth.lua") diff --git a/builtin/game/item.lua b/builtin/game/item.lua index 5a83eafd2..439a71679 100644 --- a/builtin/game/item.lua +++ b/builtin/game/item.lua @@ -15,15 +15,6 @@ end -- Item definition helpers -- -function core.inventorycube(img1, img2, img3) - img2 = img2 or img1 - img3 = img3 or img1 - return "[inventorycube" - .. "{" .. img1:gsub("%^", "&") - .. "{" .. img2:gsub("%^", "&") - .. "{" .. img3:gsub("%^", "&") -end - function core.get_pointed_thing_position(pointed_thing, above) if pointed_thing.type == "node" then if above then @@ -37,144 +28,6 @@ function core.get_pointed_thing_position(pointed_thing, above) end end -function core.dir_to_facedir(dir, is6d) - --account for y if requested - if is6d and math.abs(dir.y) > math.abs(dir.x) and math.abs(dir.y) > math.abs(dir.z) then - - --from above - if dir.y < 0 then - if math.abs(dir.x) > math.abs(dir.z) then - if dir.x < 0 then - return 19 - else - return 13 - end - else - if dir.z < 0 then - return 10 - else - return 4 - end - end - - --from below - else - if math.abs(dir.x) > math.abs(dir.z) then - if dir.x < 0 then - return 15 - else - return 17 - end - else - if dir.z < 0 then - return 6 - else - return 8 - end - end - end - - --otherwise, place horizontally - elseif math.abs(dir.x) > math.abs(dir.z) then - if dir.x < 0 then - return 3 - else - return 1 - end - else - if dir.z < 0 then - return 2 - else - return 0 - end - end -end - --- Table of possible dirs -local facedir_to_dir = { - vector.new( 0, 0, 1), - vector.new( 1, 0, 0), - vector.new( 0, 0, -1), - vector.new(-1, 0, 0), - vector.new( 0, -1, 0), - vector.new( 0, 1, 0), -} --- Mapping from facedir value to index in facedir_to_dir. -local facedir_to_dir_map = { - [0]=1, 2, 3, 4, - 5, 2, 6, 4, - 6, 2, 5, 4, - 1, 5, 3, 6, - 1, 6, 3, 5, - 1, 4, 3, 2, -} -function core.facedir_to_dir(facedir) - return facedir_to_dir[facedir_to_dir_map[facedir % 32]] -end - -function core.dir_to_wallmounted(dir) - if math.abs(dir.y) > math.max(math.abs(dir.x), math.abs(dir.z)) then - if dir.y < 0 then - return 1 - else - return 0 - end - elseif math.abs(dir.x) > math.abs(dir.z) then - if dir.x < 0 then - return 3 - else - return 2 - end - else - if dir.z < 0 then - return 5 - else - return 4 - end - end -end - --- table of dirs in wallmounted order -local wallmounted_to_dir = { - [0] = vector.new( 0, 1, 0), - vector.new( 0, -1, 0), - vector.new( 1, 0, 0), - vector.new(-1, 0, 0), - vector.new( 0, 0, 1), - vector.new( 0, 0, -1), -} -function core.wallmounted_to_dir(wallmounted) - return wallmounted_to_dir[wallmounted % 8] -end - -function core.dir_to_yaw(dir) - return -math.atan2(dir.x, dir.z) -end - -function core.yaw_to_dir(yaw) - return vector.new(-math.sin(yaw), 0, math.cos(yaw)) -end - -function core.is_colored_paramtype(ptype) - return (ptype == "color") or (ptype == "colorfacedir") or - (ptype == "colorwallmounted") or (ptype == "colordegrotate") -end - -function core.strip_param2_color(param2, paramtype2) - if not core.is_colored_paramtype(paramtype2) then - return nil - end - if paramtype2 == "colorfacedir" then - param2 = math.floor(param2 / 32) * 32 - elseif paramtype2 == "colorwallmounted" then - param2 = math.floor(param2 / 8) * 8 - elseif paramtype2 == "colordegrotate" then - param2 = math.floor(param2 / 32) * 32 - end - -- paramtype2 == "color" requires no modification. - return param2 -end - local function has_all_groups(tbl, required_groups) if type(required_groups) == "string" then return (tbl[required_groups] or 0) ~= 0 diff --git a/builtin/game/item_s.lua b/builtin/game/item_s.lua new file mode 100644 index 000000000..a51cd0a1c --- /dev/null +++ b/builtin/game/item_s.lua @@ -0,0 +1,156 @@ +-- Minetest: builtin/item_s.lua +-- The distinction of what goes here is a bit tricky, basically it's everything +-- that does not (directly or indirectly) need access to ServerEnvironment, +-- Server or writable access to IGameDef on the engine side. +-- (The '_s' stands for standalone.) + +-- +-- Item definition helpers +-- + +function core.inventorycube(img1, img2, img3) + img2 = img2 or img1 + img3 = img3 or img1 + return "[inventorycube" + .. "{" .. img1:gsub("%^", "&") + .. "{" .. img2:gsub("%^", "&") + .. "{" .. img3:gsub("%^", "&") +end + +function core.dir_to_facedir(dir, is6d) + --account for y if requested + if is6d and math.abs(dir.y) > math.abs(dir.x) and math.abs(dir.y) > math.abs(dir.z) then + + --from above + if dir.y < 0 then + if math.abs(dir.x) > math.abs(dir.z) then + if dir.x < 0 then + return 19 + else + return 13 + end + else + if dir.z < 0 then + return 10 + else + return 4 + end + end + + --from below + else + if math.abs(dir.x) > math.abs(dir.z) then + if dir.x < 0 then + return 15 + else + return 17 + end + else + if dir.z < 0 then + return 6 + else + return 8 + end + end + end + + --otherwise, place horizontally + elseif math.abs(dir.x) > math.abs(dir.z) then + if dir.x < 0 then + return 3 + else + return 1 + end + else + if dir.z < 0 then + return 2 + else + return 0 + end + end +end + +-- Table of possible dirs +local facedir_to_dir = { + vector.new( 0, 0, 1), + vector.new( 1, 0, 0), + vector.new( 0, 0, -1), + vector.new(-1, 0, 0), + vector.new( 0, -1, 0), + vector.new( 0, 1, 0), +} +-- Mapping from facedir value to index in facedir_to_dir. +local facedir_to_dir_map = { + [0]=1, 2, 3, 4, + 5, 2, 6, 4, + 6, 2, 5, 4, + 1, 5, 3, 6, + 1, 6, 3, 5, + 1, 4, 3, 2, +} +function core.facedir_to_dir(facedir) + return facedir_to_dir[facedir_to_dir_map[facedir % 32]] +end + +function core.dir_to_wallmounted(dir) + if math.abs(dir.y) > math.max(math.abs(dir.x), math.abs(dir.z)) then + if dir.y < 0 then + return 1 + else + return 0 + end + elseif math.abs(dir.x) > math.abs(dir.z) then + if dir.x < 0 then + return 3 + else + return 2 + end + else + if dir.z < 0 then + return 5 + else + return 4 + end + end +end + +-- table of dirs in wallmounted order +local wallmounted_to_dir = { + [0] = vector.new( 0, 1, 0), + vector.new( 0, -1, 0), + vector.new( 1, 0, 0), + vector.new(-1, 0, 0), + vector.new( 0, 0, 1), + vector.new( 0, 0, -1), +} +function core.wallmounted_to_dir(wallmounted) + return wallmounted_to_dir[wallmounted % 8] +end + +function core.dir_to_yaw(dir) + return -math.atan2(dir.x, dir.z) +end + +function core.yaw_to_dir(yaw) + return vector.new(-math.sin(yaw), 0, math.cos(yaw)) +end + +function core.is_colored_paramtype(ptype) + return (ptype == "color") or (ptype == "colorfacedir") or + (ptype == "colorwallmounted") or (ptype == "colordegrotate") +end + +function core.strip_param2_color(param2, paramtype2) + if not core.is_colored_paramtype(paramtype2) then + return nil + end + if paramtype2 == "colorfacedir" then + param2 = math.floor(param2 / 32) * 32 + elseif paramtype2 == "colorwallmounted" then + param2 = math.floor(param2 / 8) * 8 + elseif paramtype2 == "colordegrotate" then + param2 = math.floor(param2 / 32) * 32 + end + -- paramtype2 == "color" requires no modification. + return param2 +end diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index e86efc50c..18d5a7310 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -121,53 +121,6 @@ function core.get_player_radius_area(player_name, radius) end -function core.hash_node_position(pos) - return (pos.z + 32768) * 65536 * 65536 - + (pos.y + 32768) * 65536 - + pos.x + 32768 -end - - -function core.get_position_from_hash(hash) - local x = (hash % 65536) - 32768 - hash = math.floor(hash / 65536) - local y = (hash % 65536) - 32768 - hash = math.floor(hash / 65536) - local z = (hash % 65536) - 32768 - return vector.new(x, y, z) -end - - -function core.get_item_group(name, group) - if not core.registered_items[name] or not - core.registered_items[name].groups[group] then - return 0 - end - return core.registered_items[name].groups[group] -end - - -function core.get_node_group(name, group) - core.log("deprecated", "Deprecated usage of get_node_group, use get_item_group instead") - return core.get_item_group(name, group) -end - - -function core.setting_get_pos(name) - local value = core.settings:get(name) - if not value then - return nil - end - return core.string_to_pos(value) -end - - --- See l_env.cpp for the other functions -function core.get_artificial_light(param1) - return math.floor(param1 / 16) -end - - -- To be overriden by protection mods function core.is_protected(pos, name) @@ -282,42 +235,3 @@ end -- Used for callback handling with dynamic_add_media core.dynamic_media_callbacks = {} - - --- PNG encoder safety wrapper - -local o_encode_png = core.encode_png -function core.encode_png(width, height, data, compression) - if type(width) ~= "number" then - error("Incorrect type for 'width', expected number, got " .. type(width)) - end - if type(height) ~= "number" then - error("Incorrect type for 'height', expected number, got " .. type(height)) - end - - local expected_byte_count = width * height * 4 - - if type(data) ~= "table" and type(data) ~= "string" then - error("Incorrect type for 'data', expected table or string, got " .. type(data)) - end - - local data_length = type(data) == "table" and #data * 4 or string.len(data) - - if data_length ~= expected_byte_count then - error(string.format( - "Incorrect length of 'data', width and height imply %d bytes but %d were provided", - expected_byte_count, - data_length - )) - end - - if type(data) == "table" then - local dataBuf = {} - for i = 1, #data do - dataBuf[i] = core.colorspec_to_bytes(data[i]) - end - data = table.concat(dataBuf) - end - - return o_encode_png(width, height, data, compression or 6) -end diff --git a/builtin/game/misc_s.lua b/builtin/game/misc_s.lua new file mode 100644 index 000000000..67a0ec684 --- /dev/null +++ b/builtin/game/misc_s.lua @@ -0,0 +1,93 @@ +-- Minetest: builtin/misc_s.lua +-- The distinction of what goes here is a bit tricky, basically it's everything +-- that does not (directly or indirectly) need access to ServerEnvironment, +-- Server or writable access to IGameDef on the engine side. +-- (The '_s' stands for standalone.) + +-- +-- Misc. API functions +-- + +function core.hash_node_position(pos) + return (pos.z + 32768) * 65536 * 65536 + + (pos.y + 32768) * 65536 + + pos.x + 32768 +end + + +function core.get_position_from_hash(hash) + local x = (hash % 65536) - 32768 + hash = math.floor(hash / 65536) + local y = (hash % 65536) - 32768 + hash = math.floor(hash / 65536) + local z = (hash % 65536) - 32768 + return vector.new(x, y, z) +end + + +function core.get_item_group(name, group) + if not core.registered_items[name] or not + core.registered_items[name].groups[group] then + return 0 + end + return core.registered_items[name].groups[group] +end + + +function core.get_node_group(name, group) + core.log("deprecated", "Deprecated usage of get_node_group, use get_item_group instead") + return core.get_item_group(name, group) +end + + +function core.setting_get_pos(name) + local value = core.settings:get(name) + if not value then + return nil + end + return core.string_to_pos(value) +end + + +-- See l_env.cpp for the other functions +function core.get_artificial_light(param1) + return math.floor(param1 / 16) +end + +-- PNG encoder safety wrapper + +local o_encode_png = core.encode_png +function core.encode_png(width, height, data, compression) + if type(width) ~= "number" then + error("Incorrect type for 'width', expected number, got " .. type(width)) + end + if type(height) ~= "number" then + error("Incorrect type for 'height', expected number, got " .. type(height)) + end + + local expected_byte_count = width * height * 4 + + if type(data) ~= "table" and type(data) ~= "string" then + error("Incorrect type for 'data', expected table or string, got " .. type(data)) + end + + local data_length = type(data) == "table" and #data * 4 or string.len(data) + + if data_length ~= expected_byte_count then + error(string.format( + "Incorrect length of 'data', width and height imply %d bytes but %d were provided", + expected_byte_count, + data_length + )) + end + + if type(data) == "table" then + local dataBuf = {} + for i = 1, #data do + dataBuf[i] = core.colorspec_to_bytes(data[i]) + end + data = table.concat(dataBuf) + end + + return o_encode_png(width, height, data, compression or 6) +end -- cgit v1.2.3 From 56a558baf8ef43810014347ae624cb4ef70b6aa3 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 9 Apr 2022 14:47:59 +0200 Subject: Refactor some Lua API functions in preparation for async env --- src/gamedef.h | 2 ++ src/script/common/c_content.cpp | 8 ++++---- src/script/common/c_content.h | 6 +++--- src/script/lua_api/l_craft.cpp | 24 +++++++++++------------- src/script/lua_api/l_item.cpp | 6 +++--- src/script/lua_api/l_server.cpp | 28 +++++++++++++--------------- src/server.cpp | 5 ----- src/server.h | 3 +-- 8 files changed, 37 insertions(+), 45 deletions(-) diff --git a/src/gamedef.h b/src/gamedef.h index 8a9246da2..45b9c4750 100644 --- a/src/gamedef.h +++ b/src/gamedef.h @@ -63,6 +63,8 @@ public: virtual IRollbackManager* getRollbackManager() { return NULL; } // Shorthands + // TODO: these should be made const-safe so that a const IGameDef* is + // actually usable IItemDefManager *idef() { return getItemDefManager(); } const NodeDefManager *ndef() { return getNodeDefManager(); } ICraftDefManager *cdef() { return getCraftDefManager(); } diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 36f4316ee..a233afb05 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -1371,7 +1371,7 @@ void push_inventory_lists(lua_State *L, const Inventory &inv) /******************************************************************************/ void read_inventory_list(lua_State *L, int tableindex, - Inventory *inv, const char *name, Server* srv, int forcesize) + Inventory *inv, const char *name, IGameDef *gdef, int forcesize) { if(tableindex < 0) tableindex = lua_gettop(L) + 1 + tableindex; @@ -1383,7 +1383,7 @@ void read_inventory_list(lua_State *L, int tableindex, } // Get Lua-specified items to insert into the list - std::vector items = read_items(L, tableindex,srv); + std::vector items = read_items(L, tableindex, gdef); size_t listsize = (forcesize >= 0) ? forcesize : items.size(); // Create or resize/clear list @@ -1635,7 +1635,7 @@ void push_items(lua_State *L, const std::vector &items) } /******************************************************************************/ -std::vector read_items(lua_State *L, int index, Server *srv) +std::vector read_items(lua_State *L, int index, IGameDef *gdef) { if(index < 0) index = lua_gettop(L) + 1 + index; @@ -1651,7 +1651,7 @@ std::vector read_items(lua_State *L, int index, Server *srv) if (items.size() < (u32) key) { items.resize(key); } - items[key - 1] = read_item(L, -1, srv->idef()); + items[key - 1] = read_item(L, -1, gdef->idef()); lua_pop(L, 1); } return items; diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 11b39364f..a7b8709c6 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -59,7 +59,7 @@ class InventoryList; struct NodeBox; struct ContentFeatures; struct TileDef; -class Server; +class IGameDef; struct DigParams; struct HitParams; struct EnumString; @@ -126,7 +126,7 @@ void push_inventory_lists (lua_State *L, const Inventory &inv); void read_inventory_list (lua_State *L, int tableindex, Inventory *inv, const char *name, - Server *srv, int forcesize=-1); + IGameDef *gdef, int forcesize=-1); MapNode readnode (lua_State *L, int index, const NodeDefManager *ndef); @@ -166,7 +166,7 @@ void push_items (lua_State *L, std::vector read_items (lua_State *L, int index, - Server* srv); + IGameDef* gdef); void push_soundspec (lua_State *L, const SimpleSoundSpec &spec); diff --git a/src/script/lua_api/l_craft.cpp b/src/script/lua_api/l_craft.cpp index 18622ee00..c2c5a5551 100644 --- a/src/script/lua_api/l_craft.cpp +++ b/src/script/lua_api/l_craft.cpp @@ -371,8 +371,9 @@ int ModApiCraft::l_clear_craft(lua_State *L) int ModApiCraft::l_get_craft_result(lua_State *L) { NO_MAP_LOCK_REQUIRED; + IGameDef *gdef = getGameDef(L); - int input_i = 1; + const int input_i = 1; std::string method_s = getstringfield_default(L, input_i, "method", "normal"); enum CraftMethod method = (CraftMethod)getenumfield(L, input_i, "method", es_CraftMethod, CRAFT_METHOD_NORMAL); @@ -382,10 +383,9 @@ int ModApiCraft::l_get_craft_result(lua_State *L) width = luaL_checkinteger(L, -1); lua_pop(L, 1); lua_getfield(L, input_i, "items"); - std::vector items = read_items(L, -1,getServer(L)); + std::vector items = read_items(L, -1, gdef); lua_pop(L, 1); // items - IGameDef *gdef = getServer(L); ICraftDefManager *cdef = gdef->cdef(); CraftInput input(method, width, items); CraftOutput output; @@ -465,13 +465,13 @@ static void push_craft_recipes(lua_State *L, IGameDef *gdef, const std::vector &recipes, const CraftOutput &output) { - lua_createtable(L, recipes.size(), 0); - if (recipes.empty()) { lua_pushnil(L); return; } + lua_createtable(L, recipes.size(), 0); + std::vector::const_iterator it = recipes.begin(); for (unsigned i = 0; it != recipes.end(); ++it) { lua_newtable(L); @@ -487,10 +487,9 @@ int ModApiCraft::l_get_craft_recipe(lua_State *L) NO_MAP_LOCK_REQUIRED; std::string item = luaL_checkstring(L, 1); - Server *server = getServer(L); + IGameDef *gdef = getGameDef(L); CraftOutput output(item, 0); - std::vector recipes = server->cdef() - ->getCraftRecipes(output, server, 1); + auto recipes = gdef->cdef()->getCraftRecipes(output, gdef, 1); lua_createtable(L, 1, 0); @@ -500,7 +499,7 @@ int ModApiCraft::l_get_craft_recipe(lua_State *L) setintfield(L, -1, "width", 0); return 1; } - push_craft_recipe(L, server, recipes[0], output); + push_craft_recipe(L, gdef, recipes[0], output); return 1; } @@ -510,12 +509,11 @@ int ModApiCraft::l_get_all_craft_recipes(lua_State *L) NO_MAP_LOCK_REQUIRED; std::string item = luaL_checkstring(L, 1); - Server *server = getServer(L); + IGameDef *gdef = getGameDef(L); CraftOutput output(item, 0); - std::vector recipes = server->cdef() - ->getCraftRecipes(output, server); + auto recipes = gdef->cdef()->getCraftRecipes(output, gdef); - push_craft_recipes(L, server, recipes, output); + push_craft_recipes(L, gdef, recipes, output); return 1; } diff --git a/src/script/lua_api/l_item.cpp b/src/script/lua_api/l_item.cpp index 794d8a6e5..fc97a1736 100644 --- a/src/script/lua_api/l_item.cpp +++ b/src/script/lua_api/l_item.cpp @@ -632,8 +632,8 @@ int ModApiItemMod::l_get_content_id(lua_State *L) NO_MAP_LOCK_REQUIRED; std::string name = luaL_checkstring(L, 1); - const IItemDefManager *idef = getGameDef(L)->getItemDefManager(); - const NodeDefManager *ndef = getGameDef(L)->getNodeDefManager(); + const IItemDefManager *idef = getGameDef(L)->idef(); + const NodeDefManager *ndef = getGameDef(L)->ndef(); // If this is called at mod load time, NodeDefManager isn't aware of // aliases yet, so we need to handle them manually @@ -658,7 +658,7 @@ int ModApiItemMod::l_get_name_from_content_id(lua_State *L) NO_MAP_LOCK_REQUIRED; content_t c = luaL_checkint(L, 1); - const NodeDefManager *ndef = getGameDef(L)->getNodeDefManager(); + const NodeDefManager *ndef = getGameDef(L)->ndef(); const char *name = ndef->get(c).name.c_str(); lua_pushstring(L, name); diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 5b3054d17..42725e5d2 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -61,11 +61,8 @@ int ModApiServer::l_get_server_uptime(lua_State *L) int ModApiServer::l_get_server_max_lag(lua_State *L) { NO_MAP_LOCK_REQUIRED; - ServerEnvironment *s_env = dynamic_cast(getEnv(L)); - if (!s_env) - lua_pushnil(L); - else - lua_pushnumber(L, s_env->getMaxLagEstimate()); + GET_ENV_PTR; + lua_pushnumber(L, env->getMaxLagEstimate()); return 1; } @@ -395,12 +392,11 @@ int ModApiServer::l_get_modpath(lua_State *L) { NO_MAP_LOCK_REQUIRED; std::string modname = luaL_checkstring(L, 1); - const ModSpec *mod = getServer(L)->getModSpec(modname); - if (!mod) { + const ModSpec *mod = getGameDef(L)->getModSpec(modname); + if (!mod) lua_pushnil(L); - return 1; - } - lua_pushstring(L, mod->path.c_str()); + else + lua_pushstring(L, mod->path.c_str()); return 1; } @@ -412,13 +408,14 @@ int ModApiServer::l_get_modnames(lua_State *L) // Get a list of mods std::vector modlist; - getServer(L)->getModNames(modlist); + for (auto &it : getGameDef(L)->getMods()) + modlist.emplace_back(it.name); std::sort(modlist.begin(), modlist.end()); // Package them up for Lua lua_createtable(L, modlist.size(), 0); - std::vector::iterator iter = modlist.begin(); + auto iter = modlist.begin(); for (u16 i = 0; iter != modlist.end(); ++iter) { lua_pushstring(L, iter->c_str()); lua_rawseti(L, -2, ++i); @@ -430,8 +427,8 @@ int ModApiServer::l_get_modnames(lua_State *L) int ModApiServer::l_get_worldpath(lua_State *L) { NO_MAP_LOCK_REQUIRED; - std::string worldpath = getServer(L)->getWorldPath(); - lua_pushstring(L, worldpath.c_str()); + const Server *srv = getServer(L); + lua_pushstring(L, srv->getWorldPath().c_str()); return 1; } @@ -513,7 +510,8 @@ int ModApiServer::l_dynamic_add_media(lua_State *L) int ModApiServer::l_is_singleplayer(lua_State *L) { NO_MAP_LOCK_REQUIRED; - lua_pushboolean(L, getServer(L)->isSingleplayer()); + const Server *srv = getServer(L); + lua_pushboolean(L, srv->isSingleplayer()); return 1; } diff --git a/src/server.cpp b/src/server.cpp index 9d7e8e563..dec6cf44c 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3658,11 +3658,6 @@ const ModSpec *Server::getModSpec(const std::string &modname) const return m_modmgr->getModSpec(modname); } -void Server::getModNames(std::vector &modlist) -{ - m_modmgr->getModNames(modlist); -} - std::string Server::getBuiltinLuaPath() { return porting::path_share + DIR_DELIM + "builtin"; diff --git a/src/server.h b/src/server.h index 008213c5d..bd799c313 100644 --- a/src/server.h +++ b/src/server.h @@ -292,11 +292,10 @@ public: virtual const std::vector &getMods() const; virtual const ModSpec* getModSpec(const std::string &modname) const; - void getModNames(std::vector &modlist); std::string getBuiltinLuaPath(); virtual std::string getWorldPath() const { return m_path_world; } - inline bool isSingleplayer() + inline bool isSingleplayer() const { return m_simple_singleplayer_mode; } inline void setAsyncFatalError(const std::string &error) -- cgit v1.2.3 From 663c9364289dae45aeb86a87cba826f577d84a9c Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 30 Apr 2022 16:04:19 +0200 Subject: Fix synchronization issue at thread start If a newly started thread immediately exits then m_running would immediately be set to false again and the caller would be stuck waiting for m_running to become true forever. Since a mutex for synchronizing startup already exists we can simply move the while loop into it. see also: #5134 which introduced m_start_finished_mutex --- src/threading/thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/threading/thread.cpp b/src/threading/thread.cpp index 5cfc60995..ef025ac1d 100644 --- a/src/threading/thread.cpp +++ b/src/threading/thread.cpp @@ -121,12 +121,12 @@ bool Thread::start() return false; } - // Allow spawned thread to continue - m_start_finished_mutex.unlock(); - while (!m_running) sleep_ms(1); + // Allow spawned thread to continue + m_start_finished_mutex.unlock(); + m_joinable = true; return true; -- cgit v1.2.3 From e7659883cc6fca343785da2a1af3890ae273abbf Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 2 May 2022 20:55:04 +0200 Subject: Async environment for mods to do concurrent tasks (#11131) --- builtin/async/game.lua | 46 ++ builtin/async/init.lua | 11 - builtin/async/mainmenu.lua | 9 + builtin/game/async.lua | 22 + builtin/game/init.lua | 1 + builtin/game/misc.lua | 29 ++ builtin/init.lua | 6 +- doc/lua_api.txt | 62 +++ games/devtest/mods/unittests/async_env.lua | 149 ++++++ games/devtest/mods/unittests/init.lua | 1 + games/devtest/mods/unittests/inside_async_env.lua | 15 + src/map.cpp | 33 ++ src/map.h | 17 +- src/script/common/CMakeLists.txt | 1 + src/script/common/c_internal.cpp | 14 + src/script/common/c_internal.h | 5 + src/script/common/c_packer.cpp | 583 ++++++++++++++++++++++ src/script/common/c_packer.h | 123 +++++ src/script/cpp_api/s_async.cpp | 183 +++++-- src/script/cpp_api/s_async.h | 54 +- src/script/lua_api/l_craft.cpp | 8 + src/script/lua_api/l_craft.h | 1 + src/script/lua_api/l_internal.h | 2 +- src/script/lua_api/l_item.cpp | 25 + src/script/lua_api/l_item.h | 7 +- src/script/lua_api/l_noise.cpp | 53 ++ src/script/lua_api/l_noise.h | 6 + src/script/lua_api/l_server.cpp | 85 ++++ src/script/lua_api/l_server.h | 10 + src/script/lua_api/l_util.cpp | 5 + src/script/lua_api/l_util.h | 2 - src/script/lua_api/l_vmanip.cpp | 33 ++ src/script/lua_api/l_vmanip.h | 3 + src/script/scripting_server.cpp | 67 ++- src/script/scripting_server.h | 17 + src/server.cpp | 4 + src/server.h | 8 +- src/serverenvironment.cpp | 2 + src/util/basic_macros.h | 8 +- 39 files changed, 1654 insertions(+), 56 deletions(-) create mode 100644 builtin/async/game.lua delete mode 100644 builtin/async/init.lua create mode 100644 builtin/async/mainmenu.lua create mode 100644 builtin/game/async.lua create mode 100644 games/devtest/mods/unittests/async_env.lua create mode 100644 games/devtest/mods/unittests/inside_async_env.lua create mode 100644 src/script/common/c_packer.cpp create mode 100644 src/script/common/c_packer.h diff --git a/builtin/async/game.lua b/builtin/async/game.lua new file mode 100644 index 000000000..212a33e17 --- /dev/null +++ b/builtin/async/game.lua @@ -0,0 +1,46 @@ +core.log("info", "Initializing asynchronous environment (game)") + +local function pack2(...) + return {n=select('#', ...), ...} +end + +-- Entrypoint to run async jobs, called by C++ +function core.job_processor(func, params) + local retval = pack2(func(unpack(params, 1, params.n))) + + return retval +end + +-- Import a bunch of individual files from builtin/game/ +local gamepath = core.get_builtin_path() .. "game" .. DIR_DELIM + +dofile(gamepath .. "constants.lua") +dofile(gamepath .. "item_s.lua") +dofile(gamepath .. "misc_s.lua") +dofile(gamepath .. "features.lua") +dofile(gamepath .. "voxelarea.lua") + +-- Transfer of globals +do + assert(core.transferred_globals) + local all = core.deserialize(core.transferred_globals, true) + core.transferred_globals = nil + + -- reassemble other tables + all.registered_nodes = {} + all.registered_craftitems = {} + all.registered_tools = {} + for k, v in pairs(all.registered_items) do + if v.type == "node" then + all.registered_nodes[k] = v + elseif v.type == "craftitem" then + all.registered_craftitems[k] = v + elseif v.type == "tool" then + all.registered_tools[k] = v + end + end + + for k, v in pairs(all) do + core[k] = v + end +end diff --git a/builtin/async/init.lua b/builtin/async/init.lua deleted file mode 100644 index 3803994d6..000000000 --- a/builtin/async/init.lua +++ /dev/null @@ -1,11 +0,0 @@ - -core.log("info", "Initializing Asynchronous environment") - -function core.job_processor(func, serialized_param) - local param = core.deserialize(serialized_param) - - local retval = core.serialize(func(param)) - - return retval or core.serialize(nil) -end - diff --git a/builtin/async/mainmenu.lua b/builtin/async/mainmenu.lua new file mode 100644 index 000000000..0e9c222d1 --- /dev/null +++ b/builtin/async/mainmenu.lua @@ -0,0 +1,9 @@ +core.log("info", "Initializing asynchronous environment") + +function core.job_processor(func, serialized_param) + local param = core.deserialize(serialized_param) + + local retval = core.serialize(func(param)) + + return retval or core.serialize(nil) +end diff --git a/builtin/game/async.lua b/builtin/game/async.lua new file mode 100644 index 000000000..469f179d7 --- /dev/null +++ b/builtin/game/async.lua @@ -0,0 +1,22 @@ + +core.async_jobs = {} + +function core.async_event_handler(jobid, retval) + local callback = core.async_jobs[jobid] + assert(type(callback) == "function") + callback(unpack(retval, 1, retval.n)) + core.async_jobs[jobid] = nil +end + +function core.handle_async(func, callback, ...) + assert(type(func) == "function" and type(callback) == "function", + "Invalid minetest.handle_async invocation") + local args = {n = select("#", ...), ...} + local mod_origin = core.get_last_run_mod() + + local jobid = core.do_async_callback(func, args, mod_origin) + core.async_jobs[jobid] = callback + + return true +end + diff --git a/builtin/game/init.lua b/builtin/game/init.lua index c5f08113b..68d6a10f8 100644 --- a/builtin/game/init.lua +++ b/builtin/game/init.lua @@ -34,5 +34,6 @@ dofile(gamepath .. "voxelarea.lua") dofile(gamepath .. "forceloading.lua") dofile(gamepath .. "statbars.lua") dofile(gamepath .. "knockback.lua") +dofile(gamepath .. "async.lua") profiler = nil diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index 18d5a7310..9f5e3312b 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -235,3 +235,32 @@ end -- Used for callback handling with dynamic_add_media core.dynamic_media_callbacks = {} + + +-- Transfer of certain globals into async environment +-- see builtin/async/game.lua for the other side + +local function copy_filtering(t, seen) + if type(t) == "userdata" or type(t) == "function" then + return true -- don't use nil so presence can still be detected + elseif type(t) ~= "table" then + return t + end + local n = {} + seen = seen or {} + seen[t] = n + for k, v in pairs(t) do + local k_ = seen[k] or copy_filtering(k, seen) + local v_ = seen[v] or copy_filtering(v, seen) + n[k_] = v_ + end + return n +end + +function core.get_globals_to_transfer() + local all = { + registered_items = copy_filtering(core.registered_items), + registered_aliases = core.registered_aliases, + } + return core.serialize(all) +end diff --git a/builtin/init.lua b/builtin/init.lua index 7a9b5c427..869136016 100644 --- a/builtin/init.lua +++ b/builtin/init.lua @@ -56,8 +56,10 @@ elseif INIT == "mainmenu" then if not custom_loaded then dofile(core.get_mainmenu_path() .. DIR_DELIM .. "init.lua") end -elseif INIT == "async" then - dofile(asyncpath .. "init.lua") +elseif INIT == "async" then + dofile(asyncpath .. "mainmenu.lua") +elseif INIT == "async_game" then + dofile(asyncpath .. "game.lua") elseif INIT == "client" then dofile(clientpath .. "init.lua") else diff --git a/doc/lua_api.txt b/doc/lua_api.txt index f54672db7..339ce8a27 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5767,6 +5767,68 @@ Timing * `job:cancel()` * Cancels the job function from being called +Async environment +----------------- + +The engine allows you to submit jobs to be ran in an isolated environment +concurrently with normal server operation. +A job consists of a function to be ran in the async environment, any amount of +arguments (will be serialized) and a callback that will be called with the return +value of the job function once it is finished. + +The async environment does *not* have access to the map, entities, players or any +globals defined in the 'usual' environment. Consequently, functions like +`minetest.get_node()` or `minetest.get_player_by_name()` simply do not exist in it. + +Arguments and return values passed through this can contain certain userdata +objects that will be seamlessly copied (not shared) to the async environment. +This allows you easy interoperability for delegating work to jobs. + +* `minetest.handle_async(func, callback, ...)`: + * Queue the function `func` to be ran in an async environment. + Note that there are multiple persistent workers and any of them may + end up running a given job. The engine will scale the amount of + worker threads automatically. + * When `func` returns the callback is called (in the normal environment) + with all of the return values as arguments. + * Optional: Variable number of arguments that are passed to `func` +* `minetest.register_async_dofile(path)`: + * Register a path to a Lua file to be imported when an async environment + is initialized. You can use this to preload code which you can then call + later using `minetest.handle_async()`. + +### List of APIs available in an async environment + +Classes: +* `ItemStack` +* `PerlinNoise` +* `PerlinNoiseMap` +* `PseudoRandom` +* `PcgRandom` +* `SecureRandom` +* `VoxelArea` +* `VoxelManip` + * only if transferred into environment; can't read/write to map +* `Settings` + +Class instances that can be transferred between environments: +* `ItemStack` +* `PerlinNoise` +* `PerlinNoiseMap` +* `VoxelManip` + +Functions: +* Standalone helpers such as logging, filesystem, encoding, + hashing or compression APIs +* `minetest.request_insecure_environment` (same restrictions apply) + +Variables: +* `minetest.settings` +* `minetest.registered_items`, `registered_nodes`, `registered_tools`, + `registered_craftitems` and `registered_aliases` + * with all functions and userdata values replaced by `true`, calling any + callbacks here is obviously not possible + Server ------ diff --git a/games/devtest/mods/unittests/async_env.lua b/games/devtest/mods/unittests/async_env.lua new file mode 100644 index 000000000..aff1fc4d9 --- /dev/null +++ b/games/devtest/mods/unittests/async_env.lua @@ -0,0 +1,149 @@ +-- helper + +core.register_async_dofile(core.get_modpath(core.get_current_modname()) .. + DIR_DELIM .. "inside_async_env.lua") + +local function deepequal(a, b) + if type(a) == "function" then + return type(b) == "function" + elseif type(a) ~= "table" then + return a == b + elseif type(b) ~= "table" then + return false + end + for k, v in pairs(a) do + if not deepequal(v, b[k]) then + return false + end + end + for k, v in pairs(b) do + if not deepequal(a[k], v) then + return false + end + end + return true +end + +-- Object Passing / Serialization + +local test_object = { + name = "stairs:stair_glass", + type = "node", + groups = {oddly_breakable_by_hand = 3, cracky = 3, stair = 1}, + description = "Glass Stair", + sounds = { + dig = {name = "default_glass_footstep", gain = 0.5}, + footstep = {name = "default_glass_footstep", gain = 0.3}, + dug = {name = "default_break_glass", gain = 1} + }, + node_box = { + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, + {-0.5, 0, 0, 0.5, 0.5, 0.5} + }, + type = "fixed" + }, + tiles = { + {name = "stairs_glass_split.png", backface_culling = true}, + {name = "default_glass.png", backface_culling = true}, + {name = "stairs_glass_stairside.png^[transformFX", backface_culling = true} + }, + on_place = function(itemstack, placer) + return core.is_player(placer) + end, + sunlight_propagates = true, + is_ground_content = false, + light_source = 0, +} + +local function test_object_passing() + local tmp = core.serialize_roundtrip(test_object) + assert(deepequal(test_object, tmp)) + + -- Circular key, should error + tmp = {"foo", "bar"} + tmp[tmp] = true + assert(not pcall(core.serialize_roundtrip, tmp)) + + -- Circular value, should error + tmp = {"foo"} + tmp[2] = tmp + assert(not pcall(core.serialize_roundtrip, tmp)) +end +unittests.register("test_object_passing", test_object_passing) + +local function test_userdata_passing(_, pos) + -- basic userdata passing + local obj = table.copy(test_object.tiles[1]) + obj.test = ItemStack("default:cobble 99") + local tmp = core.serialize_roundtrip(obj) + assert(type(tmp.test) == "userdata") + assert(obj.test:to_string() == tmp.test:to_string()) + + -- object can't be passed, should error + obj = core.raycast(pos, pos) + assert(not pcall(core.serialize_roundtrip, obj)) + + -- VManip + local vm = core.get_voxel_manip(pos, pos) + local expect = vm:get_node_at(pos) + local vm2 = core.serialize_roundtrip(vm) + assert(deepequal(vm2:get_node_at(pos), expect)) +end +unittests.register("test_userdata_passing", test_userdata_passing, {map=true}) + +-- Asynchronous jobs + +local function test_handle_async(cb) + -- Basic test including mod name tracking and unittests.async_test() + -- which is defined inside_async_env.lua + local func = function(x) + return core.get_last_run_mod(), _VERSION, unittests[x]() + end + local expect = {core.get_last_run_mod(), _VERSION, true} + + core.handle_async(func, function(...) + if not deepequal(expect, {...}) then + cb("Values did not equal") + end + if core.get_last_run_mod() ~= expect[1] then + cb("Mod name not tracked correctly") + end + + -- Test passing of nil arguments and return values + core.handle_async(function(a, b) + return a, b + end, function(a, b) + if b ~= 123 then + cb("Argument went missing") + end + cb() + end, nil, 123) + end, "async_test") +end +unittests.register("test_handle_async", test_handle_async, {async=true}) + +local function test_userdata_passing2(cb, _, pos) + -- VManip: check transfer into other env + local vm = core.get_voxel_manip(pos, pos) + local expect = vm:get_node_at(pos) + + core.handle_async(function(vm_, pos_) + return vm_:get_node_at(pos_) + end, function(ret) + if not deepequal(expect, ret) then + cb("Node data mismatch (one-way)") + end + + -- VManip: test a roundtrip + core.handle_async(function(vm_) + return vm_ + end, function(vm2) + if not deepequal(expect, vm2:get_node_at(pos)) then + cb("Node data mismatch (roundtrip)") + end + cb() + end, vm) + end, vm, pos) +end +unittests.register("test_userdata_passing2", test_userdata_passing2, {map=true, async=true}) diff --git a/games/devtest/mods/unittests/init.lua b/games/devtest/mods/unittests/init.lua index 0754d507f..0608f2dd2 100644 --- a/games/devtest/mods/unittests/init.lua +++ b/games/devtest/mods/unittests/init.lua @@ -175,6 +175,7 @@ dofile(modpath .. "/misc.lua") dofile(modpath .. "/player.lua") dofile(modpath .. "/crafting.lua") dofile(modpath .. "/itemdescription.lua") +dofile(modpath .. "/async_env.lua") -------------- diff --git a/games/devtest/mods/unittests/inside_async_env.lua b/games/devtest/mods/unittests/inside_async_env.lua new file mode 100644 index 000000000..9774771f9 --- /dev/null +++ b/games/devtest/mods/unittests/inside_async_env.lua @@ -0,0 +1,15 @@ +unittests = {} + +core.log("info", "Hello World") + +function unittests.async_test() + assert(core == minetest) + -- stuff that should not be here + assert(not core.get_player_by_name) + assert(not core.set_node) + assert(not core.object_refs) + -- stuff that should be here + assert(ItemStack) + assert(core.registered_items[""]) + return true +end diff --git a/src/map.cpp b/src/map.cpp index 9c9324f5f..5153dcaa9 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1896,6 +1896,7 @@ MMVManip::MMVManip(Map *map): VoxelManipulator(), m_map(map) { + assert(map); } void MMVManip::initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max, @@ -1903,6 +1904,8 @@ void MMVManip::initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max, { TimeTaker timer1("initialEmerge", &emerge_time); + assert(m_map); + // Units of these are MapBlocks v3s16 p_min = blockpos_min; v3s16 p_max = blockpos_max; @@ -1986,6 +1989,7 @@ void MMVManip::blitBackAll(std::map *modified_blocks, { if(m_area.getExtent() == v3s16(0,0,0)) return; + assert(m_map); /* Copy data of all blocks @@ -2006,4 +2010,33 @@ void MMVManip::blitBackAll(std::map *modified_blocks, } } +MMVManip *MMVManip::clone() const +{ + MMVManip *ret = new MMVManip(); + + const s32 size = m_area.getVolume(); + ret->m_area = m_area; + if (m_data) { + ret->m_data = new MapNode[size]; + memcpy(ret->m_data, m_data, size * sizeof(MapNode)); + } + if (m_flags) { + ret->m_flags = new u8[size]; + memcpy(ret->m_flags, m_flags, size * sizeof(u8)); + } + + ret->m_is_dirty = m_is_dirty; + // Even if the copy is disconnected from a map object keep the information + // needed to write it back to one + ret->m_loaded_blocks = m_loaded_blocks; + + return ret; +} + +void MMVManip::reparent(Map *map) +{ + assert(map && !m_map); + m_map = map; +} + //END diff --git a/src/map.h b/src/map.h index d8ed29106..21e3dbd6c 100644 --- a/src/map.h +++ b/src/map.h @@ -446,10 +446,25 @@ public: void blitBackAll(std::map * modified_blocks, bool overwrite_generated = true); + /* + Creates a copy of this VManip including contents, the copy will not be + associated with a Map. + */ + MMVManip *clone() const; + + // Reassociates a copied VManip to a map + void reparent(Map *map); + + // Is it impossible to call initialEmerge / blitBackAll? + inline bool isOrphan() const { return !m_map; } + bool m_is_dirty = false; protected: - Map *m_map; + MMVManip() {}; + + // may be null + Map *m_map = nullptr; /* key = blockpos value = flags describing the block diff --git a/src/script/common/CMakeLists.txt b/src/script/common/CMakeLists.txt index d07f6ab1b..3e84b46c7 100644 --- a/src/script/common/CMakeLists.txt +++ b/src/script/common/CMakeLists.txt @@ -3,6 +3,7 @@ set(common_SCRIPT_COMMON_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/c_converter.cpp ${CMAKE_CURRENT_SOURCE_DIR}/c_types.cpp ${CMAKE_CURRENT_SOURCE_DIR}/c_internal.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/c_packer.cpp ${CMAKE_CURRENT_SOURCE_DIR}/helper.cpp PARENT_SCOPE) diff --git a/src/script/common/c_internal.cpp b/src/script/common/c_internal.cpp index df82dba14..ddd2d184c 100644 --- a/src/script/common/c_internal.cpp +++ b/src/script/common/c_internal.cpp @@ -166,3 +166,17 @@ void log_deprecated(lua_State *L, std::string message, int stack_depth) infostream << script_get_backtrace(L) << std::endl; } +void call_string_dump(lua_State *L, int idx) +{ + // Retrieve string.dump from insecure env to avoid it being tampered with + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_GLOBALS_BACKUP); + if (!lua_isnil(L, -1)) + lua_getfield(L, -1, "string"); + else + lua_getglobal(L, "string"); + lua_getfield(L, -1, "dump"); + lua_remove(L, -2); // remove _G + lua_remove(L, -2); // remove 'string' table + lua_pushvalue(L, idx); + lua_call(L, 1, 1); +} diff --git a/src/script/common/c_internal.h b/src/script/common/c_internal.h index c43db34aa..272a39941 100644 --- a/src/script/common/c_internal.h +++ b/src/script/common/c_internal.h @@ -56,6 +56,7 @@ extern "C" { #define CUSTOM_RIDX_BACKTRACE (CUSTOM_RIDX_BASE + 3) #define CUSTOM_RIDX_HTTP_API_LUA (CUSTOM_RIDX_BASE + 4) #define CUSTOM_RIDX_VECTOR_METATABLE (CUSTOM_RIDX_BASE + 5) +#define CUSTOM_RIDX_METATABLE_MAP (CUSTOM_RIDX_BASE + 6) // Determine if CUSTOM_RIDX_SCRIPTAPI will hold a light or full userdata @@ -139,3 +140,7 @@ DeprecatedHandlingMode get_deprecated_handling_mode(); * @param stack_depth How far on the stack to the first user function (ie: not builtin or core) */ void log_deprecated(lua_State *L, std::string message, int stack_depth = 1); + +// Safely call string.dump on a function value +// (does not pop, leaves one value on stack) +void call_string_dump(lua_State *L, int idx); diff --git a/src/script/common/c_packer.cpp b/src/script/common/c_packer.cpp new file mode 100644 index 000000000..fc5277330 --- /dev/null +++ b/src/script/common/c_packer.cpp @@ -0,0 +1,583 @@ +/* +Minetest +Copyright (C) 2022 sfan5 + +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 +#include +#include +#include +#include +#include +#include "c_packer.h" +#include "c_internal.h" +#include "log.h" +#include "debug.h" +#include "threading/mutex_auto_lock.h" + +extern "C" { +#include +} + +// +// Helpers +// + +// convert negative index to absolute position on Lua stack +static inline int absidx(lua_State *L, int idx) +{ + assert(idx < 0); + return lua_gettop(L) + idx + 1; +} + +// does the type put anything into PackedInstr::sdata? +static inline bool uses_sdata(int type) +{ + switch (type) { + case LUA_TSTRING: + case LUA_TFUNCTION: + case LUA_TUSERDATA: + return true; + default: + return false; + } +} + +// does the type put anything into PackedInstr::? +static inline bool uses_union(int type) +{ + switch (type) { + case LUA_TNIL: + case LUA_TSTRING: + case LUA_TFUNCTION: + return false; + default: + return true; + } +} + +static inline bool can_set_into(int ktype, int vtype) +{ + switch (ktype) { + case LUA_TNUMBER: + return !uses_union(vtype); + case LUA_TSTRING: + return !uses_sdata(vtype); + default: + return false; + } +} + +// is the key suitable for use with set_into? +static inline bool suitable_key(lua_State *L, int idx) +{ + if (lua_type(L, idx) == LUA_TSTRING) { + // strings may not have a NULL byte (-> lua_setfield) + size_t len; + const char *str = lua_tolstring(L, idx, &len); + return strlen(str) == len; + } else { + assert(lua_type(L, idx) == LUA_TNUMBER); + // numbers must fit into an s32 and be integers (-> lua_rawseti) + lua_Number n = lua_tonumber(L, idx); + return std::floor(n) == n && n >= S32_MIN && n <= S32_MAX; + } +} + +namespace { + // checks if you left any values on the stack, for debugging + class StackChecker { + lua_State *L; + int top; + public: + StackChecker(lua_State *L) : L(L), top(lua_gettop(L)) {} + ~StackChecker() { + assert(lua_gettop(L) >= top); + if (lua_gettop(L) > top) { + rawstream << "Lua stack not cleaned up: " + << lua_gettop(L) << " != " << top + << " (false-positive if exception thrown)" << std::endl; + } + } + }; + + // Since an std::vector may reallocate, this is the only safe way to keep + // a reference to a particular element. + template + class VectorRef { + std::vector *vec; + size_t idx; + VectorRef(std::vector *vec, size_t idx) : vec(vec), idx(idx) {} + public: + static VectorRef front(std::vector &vec) { + return VectorRef(&vec, 0); + } + static VectorRef back(std::vector &vec) { + return VectorRef(&vec, vec.size() - 1); + } + T &operator*() { return (*vec)[idx]; } + T *operator->() { return &(*vec)[idx]; } + }; + + struct Packer { + PackInFunc fin; + PackOutFunc fout; + }; + + typedef std::pair PackerTuple; +} + +static inline auto emplace(PackedValue &pv, s16 type) +{ + pv.i.emplace_back(); + auto ref = VectorRef::back(pv.i); + ref->type = type; + // Initialize fields that may be left untouched + if (type == LUA_TTABLE) { + ref->uidata1 = 0; + ref->uidata2 = 0; + } else if (type == LUA_TUSERDATA) { + ref->ptrdata = nullptr; + } else if (type == INSTR_POP) { + ref->sidata2 = 0; + } + return ref; +} + +// +// Management of registered packers +// + +static std::unordered_map g_packers; +static std::mutex g_packers_lock; + +void script_register_packer(lua_State *L, const char *regname, + PackInFunc fin, PackOutFunc fout) +{ + // Store away callbacks + { + MutexAutoLock autolock(g_packers_lock); + auto it = g_packers.find(regname); + if (it == g_packers.end()) { + auto &ref = g_packers[regname]; + ref.fin = fin; + ref.fout = fout; + } else { + FATAL_ERROR_IF(it->second.fin != fin || it->second.fout != fout, + "Packer registered twice with mismatching callbacks"); + } + } + + // Save metatable so we can identify instances later + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_METATABLE_MAP); + if (lua_isnil(L, -1)) { + lua_newtable(L); + lua_pushvalue(L, -1); + lua_rawseti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_METATABLE_MAP); + } + + luaL_getmetatable(L, regname); + FATAL_ERROR_IF(lua_isnil(L, -1), "No metatable registered with that name"); + + // CUSTOM_RIDX_METATABLE_MAP contains { [metatable] = "regname", ... } + // check first + lua_pushstring(L, regname); + lua_rawget(L, -3); + if (!lua_isnil(L, -1)) { + FATAL_ERROR_IF(lua_topointer(L, -1) != lua_topointer(L, -2), + "Packer registered twice with inconsistent metatable"); + } + lua_pop(L, 1); + // then set + lua_pushstring(L, regname); + lua_rawset(L, -3); + + lua_pop(L, 1); +} + +static bool find_packer(const char *regname, PackerTuple &out) +{ + MutexAutoLock autolock(g_packers_lock); + auto it = g_packers.find(regname); + if (it == g_packers.end()) + return false; + // copy data for thread safety + out.first = it->first; + out.second = it->second; + return true; +} + +static bool find_packer(lua_State *L, int idx, PackerTuple &out) +{ +#ifndef NDEBUG + StackChecker checker(L); +#endif + + // retrieve metatable of the object + if (lua_getmetatable(L, idx) != 1) + return false; + + // use our global table to map it to the registry name + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_METATABLE_MAP); + assert(lua_istable(L, -1)); + lua_pushvalue(L, -2); + lua_rawget(L, -2); + if (lua_isnil(L, -1)) { + lua_pop(L, 3); + return false; + } + + // load the associated data + bool found = find_packer(lua_tostring(L, -1), out); + FATAL_ERROR_IF(!found, "Inconsistent internal state"); + lua_pop(L, 3); + return true; +} + +// +// Packing implementation +// + +// recursively goes through the structure and ensures there are no circular references +static void pack_validate(lua_State *L, int idx, std::unordered_set &seen) +{ +#ifndef NDEBUG + StackChecker checker(L); + assert(idx > 0); +#endif + + if (lua_type(L, idx) != LUA_TTABLE) + return; + + const void *ptr = lua_topointer(L, idx); + assert(ptr); + + if (seen.find(ptr) != seen.end()) + throw LuaError("Circular references cannot be packed (yet)"); + seen.insert(ptr); + + lua_checkstack(L, 5); + lua_pushnil(L); + while (lua_next(L, idx) != 0) { + // key at -2, value at -1 + pack_validate(L, absidx(L, -2), seen); + pack_validate(L, absidx(L, -1), seen); + + lua_pop(L, 1); + } + + seen.erase(ptr); +} + +static VectorRef pack_inner(lua_State *L, int idx, int vidx, PackedValue &pv) +{ +#ifndef NDEBUG + StackChecker checker(L); + assert(idx > 0); + assert(vidx > 0); +#endif + + switch (lua_type(L, idx)) { + case LUA_TNONE: + case LUA_TNIL: + return emplace(pv, LUA_TNIL); + case LUA_TBOOLEAN: { + auto r = emplace(pv, LUA_TBOOLEAN); + r->bdata = lua_toboolean(L, idx); + return r; + } + case LUA_TNUMBER: { + auto r = emplace(pv, LUA_TNUMBER); + r->ndata = lua_tonumber(L, idx); + return r; + } + case LUA_TSTRING: { + auto r = emplace(pv, LUA_TSTRING); + size_t len; + const char *str = lua_tolstring(L, idx, &len); + assert(str); + r->sdata.assign(str, len); + return r; + } + case LUA_TTABLE: + break; // execution continues + case LUA_TFUNCTION: { + auto r = emplace(pv, LUA_TFUNCTION); + call_string_dump(L, idx); + size_t len; + const char *str = lua_tolstring(L, -1, &len); + assert(str); + r->sdata.assign(str, len); + lua_pop(L, 1); + return r; + } + case LUA_TUSERDATA: { + PackerTuple ser; + if (!find_packer(L, idx, ser)) + throw LuaError("Cannot serialize unsupported userdata"); + pv.contains_userdata = true; + auto r = emplace(pv, LUA_TUSERDATA); + r->sdata = ser.first; + r->ptrdata = ser.second.fin(L, idx); + return r; + } + default: { + std::string err = "Cannot serialize type "; + err += lua_typename(L, lua_type(L, idx)); + throw LuaError(err); + } + } + + // LUA_TTABLE + lua_checkstack(L, 5); + + auto rtable = emplace(pv, LUA_TTABLE); + const int vi_table = vidx++; + + lua_pushnil(L); + while (lua_next(L, idx) != 0) { + // key at -2, value at -1 + const int ktype = lua_type(L, -2), vtype = lua_type(L, -1); + if (ktype == LUA_TNUMBER) + rtable->uidata1++; // narr + else + rtable->uidata2++; // nrec + + // check if we can use a shortcut + if (can_set_into(ktype, vtype) && suitable_key(L, -2)) { + // push only the value + auto rval = pack_inner(L, absidx(L, -1), vidx, pv); + rval->pop = vtype != LUA_TTABLE; + // and where to put it: + rval->set_into = vi_table; + if (ktype == LUA_TSTRING) + rval->sdata = lua_tostring(L, -2); + else + rval->sidata1 = lua_tointeger(L, -2); + // pop tables after the fact + if (!rval->pop) { + auto ri1 = emplace(pv, INSTR_POP); + ri1->sidata1 = vidx; + } + } else { + // push the key and value + pack_inner(L, absidx(L, -2), vidx, pv); + vidx++; + pack_inner(L, absidx(L, -1), vidx, pv); + vidx++; + // push an instruction to set them + auto ri1 = emplace(pv, INSTR_SETTABLE); + ri1->set_into = vi_table; + ri1->sidata1 = vidx - 2; + ri1->sidata2 = vidx - 1; + ri1->pop = true; + vidx -= 2; + } + + lua_pop(L, 1); + } + + assert(vidx == vi_table + 1); + return rtable; +} + +PackedValue *script_pack(lua_State *L, int idx) +{ + if (idx < 0) + idx = absidx(L, idx); + + std::unordered_set seen; + pack_validate(L, idx, seen); + assert(seen.size() == 0); + + // Actual serialization + PackedValue pv; + pack_inner(L, idx, 1, pv); + + return new PackedValue(std::move(pv)); +} + +// +// Unpacking implementation +// + +void script_unpack(lua_State *L, PackedValue *pv) +{ + const int top = lua_gettop(L); + int ctr = 0; + + for (auto &i : pv->i) { + // If leaving values on stack make sure there's space (every 5th iteration) + if (!i.pop && (ctr++) >= 5) { + lua_checkstack(L, 5); + ctr = 0; + } + + /* Instructions */ + switch (i.type) { + case INSTR_SETTABLE: + lua_pushvalue(L, top + i.sidata1); // key + lua_pushvalue(L, top + i.sidata2); // value + lua_rawset(L, top + i.set_into); + if (i.pop) { + if (i.sidata1 != i.sidata2) { + // removing moves indices so pop higher index first + lua_remove(L, top + std::max(i.sidata1, i.sidata2)); + lua_remove(L, top + std::min(i.sidata1, i.sidata2)); + } else { + lua_remove(L, top + i.sidata1); + } + } + continue; + case INSTR_POP: + lua_remove(L, top + i.sidata1); + if (i.sidata2 > 0) + lua_remove(L, top + i.sidata2); + continue; + default: + break; + } + + /* Lua types */ + switch (i.type) { + case LUA_TNIL: + lua_pushnil(L); + break; + case LUA_TBOOLEAN: + lua_pushboolean(L, i.bdata); + break; + case LUA_TNUMBER: + lua_pushnumber(L, i.ndata); + break; + case LUA_TSTRING: + lua_pushlstring(L, i.sdata.data(), i.sdata.size()); + break; + case LUA_TTABLE: + lua_createtable(L, i.uidata1, i.uidata2); + break; + case LUA_TFUNCTION: + luaL_loadbuffer(L, i.sdata.data(), i.sdata.size(), nullptr); + break; + case LUA_TUSERDATA: { + PackerTuple ser; + sanity_check(find_packer(i.sdata.c_str(), ser)); + ser.second.fout(L, i.ptrdata); + i.ptrdata = nullptr; // ownership taken by callback + break; + } + default: + assert(0); + break; + } + + if (i.set_into) { + if (!i.pop) + lua_pushvalue(L, -1); + if (uses_sdata(i.type)) + lua_rawseti(L, top + i.set_into, i.sidata1); + else + lua_setfield(L, top + i.set_into, i.sdata.c_str()); + } else { + if (i.pop) + lua_pop(L, 1); + } + } + + // as part of the unpacking process we take ownership of all userdata + pv->contains_userdata = false; + // leave exactly one value on the stack + lua_settop(L, top+1); +} + +// +// PackedValue +// + +PackedValue::~PackedValue() +{ + if (!contains_userdata) + return; + for (auto &i : this->i) { + if (i.type == LUA_TUSERDATA && i.ptrdata) { + PackerTuple ser; + if (find_packer(i.sdata.c_str(), ser)) { + // tell it to deallocate object + ser.second.fout(nullptr, i.ptrdata); + } else { + assert(false); + } + } + } +} + +// +// script_dump_packed +// + +#ifndef NDEBUG +void script_dump_packed(const PackedValue *val) +{ + printf("instruction stream: [\n"); + for (const auto &i : val->i) { + printf("\t("); + switch (i.type) { + case INSTR_SETTABLE: + printf("SETTABLE(%d, %d)", i.sidata1, i.sidata2); + break; + case INSTR_POP: + printf(i.sidata2 ? "POP(%d, %d)" : "POP(%d)", i.sidata1, i.sidata2); + break; + case LUA_TNIL: + printf("nil"); + break; + case LUA_TBOOLEAN: + printf(i.bdata ? "true" : "false"); + break; + case LUA_TNUMBER: + printf("%f", i.ndata); + break; + case LUA_TSTRING: + printf("\"%s\"", i.sdata.c_str()); + break; + case LUA_TTABLE: + printf("table(%d, %d)", i.uidata1, i.uidata2); + break; + case LUA_TFUNCTION: + printf("function(%d byte)", i.sdata.size()); + break; + case LUA_TUSERDATA: + printf("userdata %s %p", i.sdata.c_str(), i.ptrdata); + break; + default: + printf("!!UNKNOWN!!"); + break; + } + if (i.set_into) { + if (i.type >= 0 && uses_sdata(i.type)) + printf(", k=%d, into=%d", i.sidata1, i.set_into); + else if (i.type >= 0) + printf(", k=\"%s\", into=%d", i.sdata.c_str(), i.set_into); + else + printf(", into=%d", i.set_into); + } + if (i.pop) + printf(", pop"); + printf(")\n"); + } + printf("]\n"); +} +#endif diff --git a/src/script/common/c_packer.h b/src/script/common/c_packer.h new file mode 100644 index 000000000..8bccca98d --- /dev/null +++ b/src/script/common/c_packer.h @@ -0,0 +1,123 @@ +/* +Minetest +Copyright (C) 2022 sfan5 + +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. +*/ + +#pragma once + +#include +#include +#include "irrlichttypes.h" +#include "util/basic_macros.h" + +extern "C" { +#include +} + +/* + This file defines an in-memory representation of Lua objects including + support for functions and userdata. It it used to move data between Lua + states and cannot be used for persistence or network transfer. +*/ + +#define INSTR_SETTABLE (-10) +#define INSTR_POP (-11) + +/** + * Represents a single instruction that pushes a new value or works with existing ones. + */ +struct PackedInstr +{ + s16 type; // LUA_T* or INSTR_* + u16 set_into; // set into table on stack + bool pop; // remove from stack? + union { + bool bdata; // boolean: value + lua_Number ndata; // number: value + struct { + u16 uidata1, uidata2; // table: narr, nrec + }; + struct { + /* + SETTABLE: key index, value index + POP: indices to remove + otherwise w/ set_into: numeric key, - + */ + s32 sidata1, sidata2; + }; + void *ptrdata; // userdata: implementation defined + }; + /* + - string: value + - function: buffer + - w/ set_into: string key (no null bytes!) + - userdata: name in registry + */ + std::string sdata; + + PackedInstr() : type(0), set_into(0), pop(false) {} +}; + +/** + * A packed value can be a primitive like a string or number but also a table + * including all of its contents. It is made up of a linear stream of + * 'instructions' that build the final value when executed. + */ +struct PackedValue +{ + std::vector i; + // Indicates whether there are any userdata pointers that need to be deallocated + bool contains_userdata = false; + + PackedValue() = default; + ~PackedValue(); + + DISABLE_CLASS_COPY(PackedValue) + + ALLOW_CLASS_MOVE(PackedValue) +}; + +/* + * Packing callback: Turns a Lua value at given index into a void* + */ +typedef void *(*PackInFunc)(lua_State *L, int idx); +/* + * Unpacking callback: Turns a void* back into the Lua value (left on top of stack) + * + * Note that this function must take ownership of the pointer, so make sure + * to free or keep the memory. + * `L` can be nullptr to indicate that data should just be discarded. + */ +typedef void (*PackOutFunc)(lua_State *L, void *ptr); +/* + * Register a packable type with the name of its metatable. + * + * Even though the callbacks are global this must be called for every Lua state + * that supports objects of this type. + * This function is thread-safe. + */ +void script_register_packer(lua_State *L, const char *regname, + PackInFunc fin, PackOutFunc fout); + +// Pack a Lua value +PackedValue *script_pack(lua_State *L, int idx); +// Unpack a Lua value (left on top of stack) +// Note that this may modify the PackedValue, you can't reuse it! +void script_unpack(lua_State *L, PackedValue *val); + +// Dump contents of PackedValue to stdout for debugging +void script_dump_packed(const PackedValue *val); diff --git a/src/script/cpp_api/s_async.cpp b/src/script/cpp_api/s_async.cpp index dacdcd75a..42a794ceb 100644 --- a/src/script/cpp_api/s_async.cpp +++ b/src/script/cpp_api/s_async.cpp @@ -21,9 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include extern "C" { -#include "lua.h" -#include "lauxlib.h" -#include "lualib.h" +#include +#include +#include } #include "server.h" @@ -32,6 +32,7 @@ extern "C" { #include "filesys.h" #include "porting.h" #include "common/c_internal.h" +#include "common/c_packer.h" #include "lua_api/l_base.h" /******************************************************************************/ @@ -76,19 +77,34 @@ void AsyncEngine::initialize(unsigned int numEngines) { initDone = true; - for (unsigned int i = 0; i < numEngines; i++) { - AsyncWorkerThread *toAdd = new AsyncWorkerThread(this, - std::string("AsyncWorker-") + itos(i)); - workerThreads.push_back(toAdd); - toAdd->start(); + if (numEngines == 0) { + // Leave one core for the main thread and one for whatever else + autoscaleMaxWorkers = Thread::getNumberOfProcessors(); + if (autoscaleMaxWorkers >= 2) + autoscaleMaxWorkers -= 2; + infostream << "AsyncEngine: using at most " << autoscaleMaxWorkers + << " threads with automatic scaling" << std::endl; + + addWorkerThread(); + } else { + for (unsigned int i = 0; i < numEngines; i++) + addWorkerThread(); } } +void AsyncEngine::addWorkerThread() +{ + AsyncWorkerThread *toAdd = new AsyncWorkerThread(this, + std::string("AsyncWorker-") + itos(workerThreads.size())); + workerThreads.push_back(toAdd); + toAdd->start(); +} + /******************************************************************************/ u32 AsyncEngine::queueAsyncJob(std::string &&func, std::string &¶ms, const std::string &mod_origin) { - jobQueueMutex.lock(); + MutexAutoLock autolock(jobQueueMutex); u32 jobId = jobIdCounter++; jobQueue.emplace_back(); @@ -99,7 +115,23 @@ u32 AsyncEngine::queueAsyncJob(std::string &&func, std::string &¶ms, to_add.mod_origin = mod_origin; jobQueueCounter.post(); - jobQueueMutex.unlock(); + return jobId; +} + +u32 AsyncEngine::queueAsyncJob(std::string &&func, PackedValue *params, + const std::string &mod_origin) +{ + MutexAutoLock autolock(jobQueueMutex); + u32 jobId = jobIdCounter++; + + jobQueue.emplace_back(); + auto &to_add = jobQueue.back(); + to_add.id = jobId; + to_add.function = std::move(func); + to_add.params_ext.reset(params); + to_add.mod_origin = mod_origin; + + jobQueueCounter.post(); return jobId; } @@ -131,6 +163,12 @@ void AsyncEngine::putJobResult(LuaJobInfo &&result) /******************************************************************************/ void AsyncEngine::step(lua_State *L) +{ + stepJobResults(L); + stepAutoscale(); +} + +void AsyncEngine::stepJobResults(lua_State *L) { int error_handler = PUSH_ERROR_HANDLER(L); lua_getglobal(L, "core"); @@ -148,7 +186,10 @@ void AsyncEngine::step(lua_State *L) luaL_checktype(L, -1, LUA_TFUNCTION); lua_pushinteger(L, j.id); - lua_pushlstring(L, j.result.data(), j.result.size()); + if (j.result_ext) + script_unpack(L, j.result_ext.get()); + else + lua_pushlstring(L, j.result.data(), j.result.size()); // Call handler const char *origin = j.mod_origin.empty() ? nullptr : j.mod_origin.c_str(); @@ -161,12 +202,71 @@ void AsyncEngine::step(lua_State *L) lua_pop(L, 2); // Pop core and error handler } +void AsyncEngine::stepAutoscale() +{ + if (workerThreads.size() >= autoscaleMaxWorkers) + return; + + MutexAutoLock autolock(jobQueueMutex); + + // 2) If the timer elapsed, check again + if (autoscaleTimer && porting::getTimeMs() >= autoscaleTimer) { + autoscaleTimer = 0; + // Determine overlap with previous snapshot + unsigned int n = 0; + for (const auto &it : jobQueue) + n += autoscaleSeenJobs.count(it.id); + autoscaleSeenJobs.clear(); + infostream << "AsyncEngine: " << n << " jobs were still waiting after 1s" << std::endl; + // Start this many new threads + while (workerThreads.size() < autoscaleMaxWorkers && n > 0) { + addWorkerThread(); + n--; + } + return; + } + + // 1) Check if there's anything in the queue + if (!autoscaleTimer && !jobQueue.empty()) { + // Take a snapshot of all jobs we have seen + for (const auto &it : jobQueue) + autoscaleSeenJobs.emplace(it.id); + // and set a timer for 1 second + autoscaleTimer = porting::getTimeMs() + 1000; + } +} + /******************************************************************************/ -void AsyncEngine::prepareEnvironment(lua_State* L, int top) +bool AsyncEngine::prepareEnvironment(lua_State* L, int top) { for (StateInitializer &stateInitializer : stateInitializers) { stateInitializer(L, top); } + + auto *script = ModApiBase::getScriptApiBase(L); + try { + script->loadMod(Server::getBuiltinLuaPath() + DIR_DELIM + "init.lua", + BUILTIN_MOD_NAME); + } catch (const ModError &e) { + errorstream << "Execution of async base environment failed: " + << e.what() << std::endl; + FATAL_ERROR("Execution of async base environment failed"); + } + + // Load per mod stuff + if (server) { + const auto &list = server->m_async_init_files; + try { + for (auto &it : list) + script->loadMod(it.second, it.first); + } catch (const ModError &e) { + errorstream << "Failed to load mod script inside async environment." << std::endl; + server->setAsyncFatalError(e.what()); + return false; + } + } + + return true; } /******************************************************************************/ @@ -178,15 +278,25 @@ AsyncWorkerThread::AsyncWorkerThread(AsyncEngine* jobDispatcher, { lua_State *L = getStack(); + if (jobDispatcher->server) { + setGameDef(jobDispatcher->server); + + if (g_settings->getBool("secure.enable_security")) + initializeSecurity(); + } + // Prepare job lua environment lua_getglobal(L, "core"); int top = lua_gettop(L); // Push builtin initialization type - lua_pushstring(L, "async"); + lua_pushstring(L, jobDispatcher->server ? "async_game" : "async"); lua_setglobal(L, "INIT"); - jobDispatcher->prepareEnvironment(L, top); + if (!jobDispatcher->prepareEnvironment(L, top)) { + // can't throw from here so we're stuck with this + isErrored = true; + } } /******************************************************************************/ @@ -198,19 +308,20 @@ AsyncWorkerThread::~AsyncWorkerThread() /******************************************************************************/ void* AsyncWorkerThread::run() { - lua_State *L = getStack(); + if (isErrored) + return nullptr; - try { - loadMod(getServer()->getBuiltinLuaPath() + DIR_DELIM + "init.lua", - BUILTIN_MOD_NAME); - } catch (const ModError &e) { - errorstream << "Execution of async base environment failed: " - << e.what() << std::endl; - FATAL_ERROR("Execution of async base environment failed"); - } + lua_State *L = getStack(); int error_handler = PUSH_ERROR_HANDLER(L); + auto report_error = [this] (const ModError &e) { + if (jobDispatcher->server) + jobDispatcher->server->setAsyncFatalError(e.what()); + else + errorstream << e.what() << std::endl; + }; + lua_getglobal(L, "core"); if (lua_isnil(L, -1)) { FATAL_ERROR("Unable to find core within async environment!"); @@ -223,6 +334,8 @@ void* AsyncWorkerThread::run() if (!jobDispatcher->getJob(&j) || stopRequested()) continue; + const bool use_ext = !!j.params_ext; + lua_getfield(L, -1, "job_processor"); if (lua_isnil(L, -1)) FATAL_ERROR("Unable to get async job processor!"); @@ -232,7 +345,10 @@ void* AsyncWorkerThread::run() errorstream << "ASYNC WORKER: Unable to deserialize function" << std::endl; lua_pushnil(L); } - lua_pushlstring(L, j.params.data(), j.params.size()); + if (use_ext) + script_unpack(L, j.params_ext.get()); + else + lua_pushlstring(L, j.params.data(), j.params.size()); // Call it setOriginDirect(j.mod_origin.empty() ? nullptr : j.mod_origin.c_str()); @@ -241,19 +357,28 @@ void* AsyncWorkerThread::run() try { scriptError(result, ""); } catch (const ModError &e) { - errorstream << e.what() << std::endl; + report_error(e); } } else { // Fetch result - size_t length; - const char *retval = lua_tolstring(L, -1, &length); - j.result.assign(retval, length); + if (use_ext) { + try { + j.result_ext.reset(script_pack(L, -1)); + } catch (const ModError &e) { + report_error(e); + result = LUA_ERRERR; + } + } else { + size_t length; + const char *retval = lua_tolstring(L, -1, &length); + j.result.assign(retval, length); + } } lua_pop(L, 1); // Pop retval // Put job result - if (!j.result.empty()) + if (result == 0) jobDispatcher->putJobResult(std::move(j)); } diff --git a/src/script/cpp_api/s_async.h b/src/script/cpp_api/s_async.h index 697cb0221..1e34e40ea 100644 --- a/src/script/cpp_api/s_async.h +++ b/src/script/cpp_api/s_async.h @@ -21,11 +21,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#include +#include +#include #include "threading/semaphore.h" #include "threading/thread.h" -#include "lua.h" +#include "common/c_packer.h" #include "cpp_api/s_base.h" +#include "cpp_api/s_security.h" // Forward declarations class AsyncEngine; @@ -42,8 +46,12 @@ struct LuaJobInfo std::string function; // Parameter to be passed to function (serialized) std::string params; + // Alternative parameters + std::unique_ptr params_ext; // Result of function call (serialized) std::string result; + // Alternative result + std::unique_ptr result_ext; // Name of the mod who invoked this call std::string mod_origin; // JobID used to identify a job and match it to callback @@ -51,7 +59,8 @@ struct LuaJobInfo }; // Asynchronous working environment -class AsyncWorkerThread : public Thread, virtual public ScriptApiBase { +class AsyncWorkerThread : public Thread, + virtual public ScriptApiBase, public ScriptApiSecurity { friend class AsyncEngine; public: virtual ~AsyncWorkerThread(); @@ -63,6 +72,7 @@ protected: private: AsyncEngine *jobDispatcher = nullptr; + bool isErrored = false; }; // Asynchornous thread and job management @@ -71,6 +81,7 @@ class AsyncEngine { typedef void (*StateInitializer)(lua_State *L, int top); public: AsyncEngine() = default; + AsyncEngine(Server *server) : server(server) {}; ~AsyncEngine(); /** @@ -81,7 +92,7 @@ public: /** * Create async engine tasks and lock function registration - * @param numEngines Number of async threads to be started + * @param numEngines Number of worker threads, 0 for automatic scaling */ void initialize(unsigned int numEngines); @@ -94,9 +105,17 @@ public: u32 queueAsyncJob(std::string &&func, std::string &¶ms, const std::string &mod_origin = ""); + /** + * Queue an async job + * @param func Serialized lua function + * @param params Serialized parameters (takes ownership!) + * @return ID of queued job + */ + u32 queueAsyncJob(std::string &&func, PackedValue *params, + const std::string &mod_origin = ""); + /** * Engine step to process finished jobs - * the engine step is one way to pass events back, PushFinishedJobs another * @param L The Lua stack */ void step(lua_State *L); @@ -116,19 +135,44 @@ protected: */ void putJobResult(LuaJobInfo &&result); + /** + * Start an additional worker thread + */ + void addWorkerThread(); + + /** + * Process finished jobs callbacks + */ + void stepJobResults(lua_State *L); + + /** + * Handle automatic scaling of worker threads + */ + void stepAutoscale(); + /** * Initialize environment with current registred functions * this function adds all functions registred by registerFunction to the * passed lua stack * @param L Lua stack to initialize * @param top Stack position + * @return false if a mod error ocurred */ - void prepareEnvironment(lua_State* L, int top); + bool prepareEnvironment(lua_State* L, int top); private: // Variable locking the engine against further modification bool initDone = false; + // Maximum number of worker threads for automatic scaling + // 0 if disabled + unsigned int autoscaleMaxWorkers = 0; + u64 autoscaleTimer = 0; + std::unordered_set autoscaleSeenJobs; + + // Only set for the server async environment (duh) + Server *server = nullptr; + // Internal store for registred state initializers std::vector stateInitializers; diff --git a/src/script/lua_api/l_craft.cpp b/src/script/lua_api/l_craft.cpp index c2c5a5551..137b210be 100644 --- a/src/script/lua_api/l_craft.cpp +++ b/src/script/lua_api/l_craft.cpp @@ -525,3 +525,11 @@ void ModApiCraft::Initialize(lua_State *L, int top) API_FCT(register_craft); API_FCT(clear_craft); } + +void ModApiCraft::InitializeAsync(lua_State *L, int top) +{ + // all read-only functions + API_FCT(get_all_craft_recipes); + API_FCT(get_craft_recipe); + API_FCT(get_craft_result); +} diff --git a/src/script/lua_api/l_craft.h b/src/script/lua_api/l_craft.h index 9002b23ef..5234af56f 100644 --- a/src/script/lua_api/l_craft.h +++ b/src/script/lua_api/l_craft.h @@ -45,4 +45,5 @@ private: public: static void Initialize(lua_State *L, int top); + static void InitializeAsync(lua_State *L, int top); }; diff --git a/src/script/lua_api/l_internal.h b/src/script/lua_api/l_internal.h index 672e535ca..de73ff42a 100644 --- a/src/script/lua_api/l_internal.h +++ b/src/script/lua_api/l_internal.h @@ -69,7 +69,7 @@ with this program; if not, write to the Free Software Foundation, Inc., // Retrieve Environment pointer as `env` (no map lock) #define GET_PLAIN_ENV_PTR_NO_MAP_LOCK \ - Environment *env = (Environment *)getEnv(L); \ + Environment *env = getEnv(L); \ if (env == NULL) \ return 0 diff --git a/src/script/lua_api/l_item.cpp b/src/script/lua_api/l_item.cpp index fc97a1736..b58b994d9 100644 --- a/src/script/lua_api/l_item.cpp +++ b/src/script/lua_api/l_item.cpp @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_internal.h" #include "common/c_converter.h" #include "common/c_content.h" +#include "common/c_packer.h" #include "itemdef.h" #include "nodedef.h" #include "server.h" @@ -441,6 +442,7 @@ int LuaItemStack::create_object(lua_State *L) lua_setmetatable(L, -2); return 1; } + // Not callable from Lua int LuaItemStack::create(lua_State *L, const ItemStack &item) { @@ -457,6 +459,20 @@ LuaItemStack *LuaItemStack::checkobject(lua_State *L, int narg) return *(LuaItemStack **)luaL_checkudata(L, narg, className); } +void *LuaItemStack::packIn(lua_State *L, int idx) +{ + LuaItemStack *o = checkobject(L, idx); + return new ItemStack(o->getItem()); +} + +void LuaItemStack::packOut(lua_State *L, void *ptr) +{ + ItemStack *stack = reinterpret_cast(ptr); + if (L) + create(L, *stack); + delete stack; +} + void LuaItemStack::Register(lua_State *L) { lua_newtable(L); @@ -488,6 +504,8 @@ void LuaItemStack::Register(lua_State *L) // Can be created from Lua (ItemStack(itemstack or itemstring or table or nil)) lua_register(L, className, create_object); + + script_register_packer(L, className, packIn, packOut); } const char LuaItemStack::className[] = "ItemStack"; @@ -673,3 +691,10 @@ void ModApiItemMod::Initialize(lua_State *L, int top) API_FCT(get_content_id); API_FCT(get_name_from_content_id); } + +void ModApiItemMod::InitializeAsync(lua_State *L, int top) +{ + // all read-only functions + API_FCT(get_content_id); + API_FCT(get_name_from_content_id); +} diff --git a/src/script/lua_api/l_item.h b/src/script/lua_api/l_item.h index 16878c101..180975061 100644 --- a/src/script/lua_api/l_item.h +++ b/src/script/lua_api/l_item.h @@ -141,8 +141,11 @@ public: // Not callable from Lua static int create(lua_State *L, const ItemStack &item); static LuaItemStack* checkobject(lua_State *L, int narg); - static void Register(lua_State *L); + static void *packIn(lua_State *L, int idx); + static void packOut(lua_State *L, void *ptr); + + static void Register(lua_State *L); }; class ModApiItemMod : public ModApiBase { @@ -152,6 +155,8 @@ private: static int l_register_alias_raw(lua_State *L); static int l_get_content_id(lua_State *L); static int l_get_name_from_content_id(lua_State *L); + public: static void Initialize(lua_State *L, int top); + static void InitializeAsync(lua_State *L, int top); }; diff --git a/src/script/lua_api/l_noise.cpp b/src/script/lua_api/l_noise.cpp index 0eee49b7d..5561eaebf 100644 --- a/src/script/lua_api/l_noise.cpp +++ b/src/script/lua_api/l_noise.cpp @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_internal.h" #include "common/c_converter.h" #include "common/c_content.h" +#include "common/c_packer.h" #include "log.h" #include "porting.h" #include "util/numeric.h" @@ -101,6 +102,25 @@ LuaPerlinNoise *LuaPerlinNoise::checkobject(lua_State *L, int narg) } +void *LuaPerlinNoise::packIn(lua_State *L, int idx) +{ + LuaPerlinNoise *o = checkobject(L, idx); + return new NoiseParams(o->np); +} + +void LuaPerlinNoise::packOut(lua_State *L, void *ptr) +{ + NoiseParams *np = reinterpret_cast(ptr); + if (L) { + LuaPerlinNoise *o = new LuaPerlinNoise(np); + *(void **)(lua_newuserdata(L, sizeof(void *))) = o; + luaL_getmetatable(L, className); + lua_setmetatable(L, -2); + } + delete np; +} + + void LuaPerlinNoise::Register(lua_State *L) { lua_newtable(L); @@ -126,6 +146,8 @@ void LuaPerlinNoise::Register(lua_State *L) lua_pop(L, 1); lua_register(L, className, create_object); + + script_register_packer(L, className, packIn, packOut); } @@ -357,6 +379,35 @@ LuaPerlinNoiseMap *LuaPerlinNoiseMap::checkobject(lua_State *L, int narg) } +struct NoiseMapParams { + NoiseParams np; + s32 seed; + v3s16 size; +}; + +void *LuaPerlinNoiseMap::packIn(lua_State *L, int idx) +{ + LuaPerlinNoiseMap *o = checkobject(L, idx); + NoiseMapParams *ret = new NoiseMapParams(); + ret->np = o->noise->np; + ret->seed = o->noise->seed; + ret->size = v3s16(o->noise->sx, o->noise->sy, o->noise->sz); + return ret; +} + +void LuaPerlinNoiseMap::packOut(lua_State *L, void *ptr) +{ + NoiseMapParams *p = reinterpret_cast(ptr); + if (L) { + LuaPerlinNoiseMap *o = new LuaPerlinNoiseMap(&p->np, p->seed, p->size); + *(void **)(lua_newuserdata(L, sizeof(void *))) = o; + luaL_getmetatable(L, className); + lua_setmetatable(L, -2); + } + delete p; +} + + void LuaPerlinNoiseMap::Register(lua_State *L) { lua_newtable(L); @@ -382,6 +433,8 @@ void LuaPerlinNoiseMap::Register(lua_State *L) lua_pop(L, 1); lua_register(L, className, create_object); + + script_register_packer(L, className, packIn, packOut); } diff --git a/src/script/lua_api/l_noise.h b/src/script/lua_api/l_noise.h index 29ab41a31..5d34a479b 100644 --- a/src/script/lua_api/l_noise.h +++ b/src/script/lua_api/l_noise.h @@ -52,6 +52,9 @@ public: static LuaPerlinNoise *checkobject(lua_State *L, int narg); + static void *packIn(lua_State *L, int idx); + static void packOut(lua_State *L, void *ptr); + static void Register(lua_State *L); }; @@ -91,6 +94,9 @@ public: static LuaPerlinNoiseMap *checkobject(lua_State *L, int narg); + static void *packIn(lua_State *L, int idx); + static void packOut(lua_State *L, void *ptr); + static void Register(lua_State *L); }; diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index 42725e5d2..4b0b45887 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_internal.h" #include "common/c_converter.h" #include "common/c_content.h" +#include "common/c_packer.h" #include "cpp_api/s_base.h" #include "cpp_api/s_security.h" #include "scripting_server.h" @@ -526,6 +527,76 @@ int ModApiServer::l_notify_authentication_modified(lua_State *L) return 0; } +// do_async_callback(func, params, mod_origin) +int ModApiServer::l_do_async_callback(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + ServerScripting *script = getScriptApi(L); + + luaL_checktype(L, 1, LUA_TFUNCTION); + luaL_checktype(L, 2, LUA_TTABLE); + luaL_checktype(L, 3, LUA_TSTRING); + + call_string_dump(L, 1); + size_t func_length; + const char *serialized_func_raw = lua_tolstring(L, -1, &func_length); + + PackedValue *param = script_pack(L, 2); + + std::string mod_origin = readParam(L, 3); + + u32 jobId = script->queueAsync( + std::string(serialized_func_raw, func_length), + param, mod_origin); + + lua_settop(L, 0); + lua_pushinteger(L, jobId); + return 1; +} + +// register_async_dofile(path) +int ModApiServer::l_register_async_dofile(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + + std::string path = readParam(L, 1); + CHECK_SECURE_PATH(L, path.c_str(), false); + + // Find currently running mod name (only at init time) + lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_CURRENT_MOD_NAME); + if (!lua_isstring(L, -1)) + return 0; + std::string modname = readParam(L, -1); + + getServer(L)->m_async_init_files.emplace_back(modname, path); + lua_pushboolean(L, true); + return 1; +} + +// serialize_roundtrip(value) +// Meant for unit testing the packer from Lua +int ModApiServer::l_serialize_roundtrip(lua_State *L) +{ + NO_MAP_LOCK_REQUIRED; + + int top = lua_gettop(L); + auto *pv = script_pack(L, 1); + if (top != lua_gettop(L)) + throw LuaError("stack values leaked"); + +#ifndef NDEBUG + script_dump_packed(pv); +#endif + + top = lua_gettop(L); + script_unpack(L, pv); + delete pv; + if (top + 1 != lua_gettop(L)) + throw LuaError("stack values leaked"); + + return 1; +} + void ModApiServer::Initialize(lua_State *L, int top) { API_FCT(request_shutdown); @@ -559,4 +630,18 @@ void ModApiServer::Initialize(lua_State *L, int top) API_FCT(remove_player); API_FCT(unban_player_or_ip); API_FCT(notify_authentication_modified); + + API_FCT(do_async_callback); + API_FCT(register_async_dofile); + API_FCT(serialize_roundtrip); +} + +void ModApiServer::InitializeAsync(lua_State *L, int top) +{ + API_FCT(get_worldpath); + API_FCT(is_singleplayer); + + API_FCT(get_current_modname); + API_FCT(get_modpath); + API_FCT(get_modnames); } diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index f05c0b7c9..a4f38c34e 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -106,6 +106,16 @@ private: // notify_authentication_modified(name) static int l_notify_authentication_modified(lua_State *L); + // do_async_callback(func, params, mod_origin) + static int l_do_async_callback(lua_State *L); + + // register_async_dofile(path) + static int l_register_async_dofile(lua_State *L); + + // serialize_roundtrip(obj) + static int l_serialize_roundtrip(lua_State *L); + public: static void Initialize(lua_State *L, int top); + static void InitializeAsync(lua_State *L, int top); }; diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp index b04f26fda..97068ce4c 100644 --- a/src/script/lua_api/l_util.cpp +++ b/src/script/lua_api/l_util.cpp @@ -671,6 +671,9 @@ void ModApiUtil::InitializeAsync(lua_State *L, int top) API_FCT(cpdir); API_FCT(mvdir); API_FCT(get_dir_list); + API_FCT(safe_file_write); + + API_FCT(request_insecure_environment); API_FCT(encode_base64); API_FCT(decode_base64); @@ -680,6 +683,8 @@ void ModApiUtil::InitializeAsync(lua_State *L, int top) API_FCT(colorspec_to_colorstring); API_FCT(colorspec_to_bytes); + API_FCT(encode_png); + API_FCT(get_last_run_mod); API_FCT(set_last_run_mod); diff --git a/src/script/lua_api/l_util.h b/src/script/lua_api/l_util.h index fcf8a1057..cc5563577 100644 --- a/src/script/lua_api/l_util.h +++ b/src/script/lua_api/l_util.h @@ -129,6 +129,4 @@ public: static void Initialize(lua_State *L, int top); static void InitializeAsync(lua_State *L, int top); static void InitializeClient(lua_State *L, int top); - - static void InitializeAsync(AsyncEngine &engine); }; diff --git a/src/script/lua_api/l_vmanip.cpp b/src/script/lua_api/l_vmanip.cpp index a3ece627c..6187a47db 100644 --- a/src/script/lua_api/l_vmanip.cpp +++ b/src/script/lua_api/l_vmanip.cpp @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_internal.h" #include "common/c_content.h" #include "common/c_converter.h" +#include "common/c_packer.h" #include "emerge.h" #include "environment.h" #include "map.h" @@ -45,6 +46,8 @@ int LuaVoxelManip::l_read_from_map(lua_State *L) LuaVoxelManip *o = checkobject(L, 1); MMVManip *vm = o->vm; + if (vm->isOrphan()) + return 0; v3s16 bp1 = getNodeBlockPos(check_v3s16(L, 2)); v3s16 bp2 = getNodeBlockPos(check_v3s16(L, 3)); @@ -429,6 +432,34 @@ LuaVoxelManip *LuaVoxelManip::checkobject(lua_State *L, int narg) return *(LuaVoxelManip **)ud; // unbox pointer } +void *LuaVoxelManip::packIn(lua_State *L, int idx) +{ + LuaVoxelManip *o = checkobject(L, idx); + + if (o->is_mapgen_vm) + throw LuaError("nope"); + return o->vm->clone(); +} + +void LuaVoxelManip::packOut(lua_State *L, void *ptr) +{ + MMVManip *vm = reinterpret_cast(ptr); + if (!L) { + delete vm; + return; + } + + // Associate vmanip with map if the Lua env has one + Environment *env = getEnv(L); + if (env) + vm->reparent(&(env->getMap())); + + LuaVoxelManip *o = new LuaVoxelManip(vm, false); + *(void **)(lua_newuserdata(L, sizeof(void *))) = o; + luaL_getmetatable(L, className); + lua_setmetatable(L, -2); +} + void LuaVoxelManip::Register(lua_State *L) { lua_newtable(L); @@ -455,6 +486,8 @@ void LuaVoxelManip::Register(lua_State *L) // Can be created from Lua (VoxelManip()) lua_register(L, className, create_object); + + script_register_packer(L, className, packIn, packOut); } const char LuaVoxelManip::className[] = "VoxelManip"; diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h index 5113070dc..005133335 100644 --- a/src/script/lua_api/l_vmanip.h +++ b/src/script/lua_api/l_vmanip.h @@ -75,5 +75,8 @@ public: static LuaVoxelManip *checkobject(lua_State *L, int narg); + static void *packIn(lua_State *L, int idx); + static void packOut(lua_State *L, void *ptr); + static void Register(lua_State *L); }; diff --git a/src/script/scripting_server.cpp b/src/script/scripting_server.cpp index 85411ded4..5b99468dc 100644 --- a/src/script/scripting_server.cpp +++ b/src/script/scripting_server.cpp @@ -47,11 +47,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_storage.h" extern "C" { -#include "lualib.h" +#include } ServerScripting::ServerScripting(Server* server): - ScriptApiBase(ScriptingType::Server) + ScriptApiBase(ScriptingType::Server), + asyncEngine(server) { setGameDef(server); @@ -88,6 +89,47 @@ ServerScripting::ServerScripting(Server* server): infostream << "SCRIPTAPI: Initialized game modules" << std::endl; } +void ServerScripting::initAsync() +{ + // Save globals to transfer + { + lua_State *L = getStack(); + lua_getglobal(L, "core"); + luaL_checktype(L, -1, LUA_TTABLE); + lua_getfield(L, -1, "get_globals_to_transfer"); + lua_call(L, 0, 1); + luaL_checktype(L, -1, LUA_TSTRING); + getServer()->m_async_globals_data.set(readParam(L, -1)); + lua_pushnil(L); + lua_setfield(L, -3, "get_globals_to_transfer"); // unset function too + lua_pop(L, 2); // pop 'core', return value + } + + infostream << "SCRIPTAPI: Initializing async engine" << std::endl; + asyncEngine.registerStateInitializer(InitializeAsync); + asyncEngine.registerStateInitializer(ModApiUtil::InitializeAsync); + asyncEngine.registerStateInitializer(ModApiCraft::InitializeAsync); + asyncEngine.registerStateInitializer(ModApiItemMod::InitializeAsync); + asyncEngine.registerStateInitializer(ModApiServer::InitializeAsync); + // not added: ModApiMapgen is a minefield for thread safety + // not added: ModApiHttp async api can't really work together with our jobs + // not added: ModApiStorage is probably not thread safe(?) + + asyncEngine.initialize(0); +} + +void ServerScripting::stepAsync() +{ + asyncEngine.step(getStack()); +} + +u32 ServerScripting::queueAsync(std::string &&serialized_func, + PackedValue *param, const std::string &mod_origin) +{ + return asyncEngine.queueAsyncJob(std::move(serialized_func), + param, mod_origin); +} + void ServerScripting::InitializeModApi(lua_State *L, int top) { // Register reference classes (userdata) @@ -125,3 +167,24 @@ void ServerScripting::InitializeModApi(lua_State *L, int top) ModApiStorage::Initialize(L, top); ModApiChannels::Initialize(L, top); } + +void ServerScripting::InitializeAsync(lua_State *L, int top) +{ + // classes + LuaItemStack::Register(L); + LuaPerlinNoise::Register(L); + LuaPerlinNoiseMap::Register(L); + LuaPseudoRandom::Register(L); + LuaPcgRandom::Register(L); + LuaSecureRandom::Register(L); + LuaVoxelManip::Register(L); + LuaSettings::Register(L); + + // globals data + lua_getglobal(L, "core"); + luaL_checktype(L, -1, LUA_TTABLE); + std::string s = ModApiBase::getServer(L)->m_async_globals_data.get(); + lua_pushlstring(L, s.c_str(), s.size()); + lua_setfield(L, -2, "transferred_globals"); + lua_pop(L, 1); // pop 'core' +} diff --git a/src/script/scripting_server.h b/src/script/scripting_server.h index bf06ab197..9803397c5 100644 --- a/src/script/scripting_server.h +++ b/src/script/scripting_server.h @@ -27,6 +27,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "cpp_api/s_player.h" #include "cpp_api/s_server.h" #include "cpp_api/s_security.h" +#include "cpp_api/s_async.h" + +struct PackedValue; /*****************************************************************************/ /* Scripting <-> Server Game Interface */ @@ -48,6 +51,20 @@ public: // use ScriptApiBase::loadMod() to load mods + // Initialize async engine, call this AFTER loading all mods + void initAsync(); + + // Global step handler to collect async results + void stepAsync(); + + // Pass job to async threads + u32 queueAsync(std::string &&serialized_func, + PackedValue *param, const std::string &mod_origin); + private: void InitializeModApi(lua_State *L, int top); + + static void InitializeAsync(lua_State *L, int top); + + AsyncEngine asyncEngine; }; diff --git a/src/server.cpp b/src/server.cpp index dec6cf44c..c9cd4e398 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -243,6 +243,7 @@ Server::Server( m_clients(m_con), m_admin_chat(iface), m_on_shutdown_errmsg(on_shutdown_errmsg), + m_async_globals_data(""), m_modchannel_mgr(new ModChannelMgr()) { if (m_path_world.empty()) @@ -480,6 +481,9 @@ void Server::init() // Give environment reference to scripting api m_script->initializeEnvironment(m_env); + // Do this after regular script init is done + m_script->initAsync(); + // Register us to receive map edit events servermap->addEventReceiver(this); diff --git a/src/server.h b/src/server.h index bd799c313..5090a3579 100644 --- a/src/server.h +++ b/src/server.h @@ -292,7 +292,7 @@ public: virtual const std::vector &getMods() const; virtual const ModSpec* getModSpec(const std::string &modname) const; - std::string getBuiltinLuaPath(); + static std::string getBuiltinLuaPath(); virtual std::string getWorldPath() const { return m_path_world; } inline bool isSingleplayer() const @@ -385,6 +385,12 @@ public: static bool migrateModStorageDatabase(const GameParams &game_params, const Settings &cmd_args); + // Lua files registered for init of async env, pair of modname + path + std::vector> m_async_init_files; + + // Serialized data transferred into async envs at init time + MutexedVariable m_async_globals_data; + // Bind address Address m_bind_addr; diff --git a/src/serverenvironment.cpp b/src/serverenvironment.cpp index f8d84604b..493210744 100644 --- a/src/serverenvironment.cpp +++ b/src/serverenvironment.cpp @@ -1481,6 +1481,8 @@ void ServerEnvironment::step(float dtime) */ m_script->environment_Step(dtime); + m_script->stepAsync(); + /* Step active objects */ diff --git a/src/util/basic_macros.h b/src/util/basic_macros.h index 334e342e0..3910c6185 100644 --- a/src/util/basic_macros.h +++ b/src/util/basic_macros.h @@ -29,13 +29,19 @@ with this program; if not, write to the Free Software Foundation, Inc., #define CONTAINS(c, v) (std::find((c).begin(), (c).end(), (v)) != (c).end()) // To disable copy constructors and assignment operations for some class -// 'Foobar', add the macro DISABLE_CLASS_COPY(Foobar) as a private member. +// 'Foobar', add the macro DISABLE_CLASS_COPY(Foobar) in the class definition. // Note this also disables copying for any classes derived from 'Foobar' as well // as classes having a 'Foobar' member. #define DISABLE_CLASS_COPY(C) \ C(const C &) = delete; \ C &operator=(const C &) = delete; +// If you have used DISABLE_CLASS_COPY with a class but still want to permit moving +// use this macro to add the default move constructors back. +#define ALLOW_CLASS_MOVE(C) \ + C(C &&other) = default; \ + C &operator=(C &&) = default; + #ifndef _MSC_VER #define UNUSED_ATTRIBUTE __attribute__ ((unused)) #else -- cgit v1.2.3 From 71a56c355223aa45a980c16329c88ba9ec8b3354 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 3 May 2022 20:14:34 +0200 Subject: Fix broken FPS/dtime counters in debug info was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b --- src/client/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index d21bdbe99..e0e60eb2c 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1063,7 +1063,7 @@ bool Game::startup(bool *kill, void Game::run() { ProfilerGraph graph; - RunStats stats; + RunStats stats = {}; CameraOrientation cam_view_target = {}; CameraOrientation cam_view = {}; FpsControl draw_times; -- cgit v1.2.3 From e9e671078c8ddfcaac30e8f04976a8c69031a9b9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 25 Apr 2022 20:43:09 +0100 Subject: ContentDB: Fix ungraceful crash on aliases when list download fails Fixes #12267 and fixes #12154 --- builtin/mainmenu/dlg_contentstore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index 0127d600c..276a7b096 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -25,7 +25,7 @@ end -- Unordered preserves the original order of the ContentDB API, -- before the package list is ordered based on installed state. -local store = { packages = {}, packages_full = {}, packages_full_unordered = {} } +local store = { packages = {}, packages_full = {}, packages_full_unordered = {}, aliases = {} } local http = core.get_http_api() -- cgit v1.2.3 From ae7664597ed15f9ac779a9bac0595ab4125457c4 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Wed, 4 May 2022 13:44:14 +0200 Subject: Add vector.combine (#11920) --- builtin/common/tests/vector_spec.lua | 8 ++++++++ builtin/common/vector.lua | 8 ++++++++ doc/client_lua_api.txt | 1 + doc/lua_api.txt | 3 +++ 4 files changed, 20 insertions(+) diff --git a/builtin/common/tests/vector_spec.lua b/builtin/common/tests/vector_spec.lua index 25880236b..6a0b81a89 100644 --- a/builtin/common/tests/vector_spec.lua +++ b/builtin/common/tests/vector_spec.lua @@ -128,6 +128,14 @@ describe("vector", function() assert.equal(vector.new(4.1, 5.9, 5.5), a:apply(f)) end) + it("combine()", function() + local a = vector.new(1, 2, 3) + local b = vector.new(3, 2, 1) + assert.equal(vector.add(a, b), vector.combine(a, b, function(x, y) return x + y end)) + assert.equal(vector.new(3, 2, 3), vector.combine(a, b, math.max)) + assert.equal(vector.new(1, 2, 1), vector.combine(a, b, math.min)) + end) + it("equals()", function() local function assertE(a, b) assert.is_true(vector.equals(a, b)) diff --git a/builtin/common/vector.lua b/builtin/common/vector.lua index 90010f6de..a08472e32 100644 --- a/builtin/common/vector.lua +++ b/builtin/common/vector.lua @@ -110,6 +110,14 @@ function vector.apply(v, func) ) end +function vector.combine(a, b, func) + return fast_new( + func(a.x, b.x), + func(a.y, b.y), + func(a.z, b.z) + ) +end + function vector.distance(a, b) local x = a.x - b.x local y = a.y - b.y diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index e3cc2dd16..d08cd9b5e 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -580,6 +580,7 @@ Spatial Vectors * `vector.floor(v)`: returns a vector, each dimension rounded down * `vector.round(v)`: returns a vector, each dimension rounded to nearest int * `vector.apply(v, func)`: returns a vector +* `vector.combine(v, w, func)`: returns a vector * `vector.equals(v1, v2)`: returns a boolean For the following functions `x` can be either a vector or a number: diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 339ce8a27..e95c5ced8 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3409,6 +3409,9 @@ vectors are written like this: `(x, y, z)`: * `vector.apply(v, func)`: * Returns a vector where the function `func` has been applied to each component. +* `vector.combine(v, w, func)`: + * Returns a vector where the function `func` has combined both components of `v` and `w` + for each component * `vector.equals(v1, v2)`: * Returns a boolean, `true` if the vectors are identical. * `vector.sort(v1, v2)`: -- cgit v1.2.3 From 0704ca055059088bdd53e15be672e6b5663b8f50 Mon Sep 17 00:00:00 2001 From: paradust7 <102263465+paradust7@users.noreply.github.com> Date: Wed, 4 May 2022 11:55:01 -0700 Subject: Make logging cost free when there is no output target (#12247) The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing. --- builtin/settingtypes.txt | 5 +- minetest.conf.example | 5 +- src/client/game.cpp | 2 +- src/client/renderingengine.cpp | 2 +- src/log.cpp | 187 ++++++++++++----------------------- src/log.h | 202 +++++++++++++++++++++++++++++++++----- src/main.cpp | 16 ++- src/network/address.cpp | 8 +- src/network/address.h | 2 +- src/network/connection.cpp | 17 +--- src/network/connectionthreads.cpp | 10 +- src/network/socket.cpp | 4 +- src/server.cpp | 2 +- src/util/stream.h | 70 +++++++++++++ 14 files changed, 338 insertions(+), 194 deletions(-) create mode 100644 src/util/stream.h diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index a983a8f6b..e3589d76f 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1468,7 +1468,8 @@ language (Language) enum ,be,bg,ca,cs,da,de,el,en,eo,es,et,eu,fi,fr,gd,gl,hu,i # - action # - info # - verbose -debug_log_level (Debug log level) enum action ,none,error,warning,action,info,verbose +# - trace +debug_log_level (Debug log level) enum action ,none,error,warning,action,info,verbose,trace # If the file size of debug.txt exceeds the number of megabytes specified in # this setting when it is opened, the file is moved to debug.txt.1, @@ -1477,7 +1478,7 @@ debug_log_level (Debug log level) enum action ,none,error,warning,action,info,ve debug_log_size_max (Debug log file size threshold) int 50 # Minimal level of logging to be written to chat. -chat_log_level (Chat log level) enum error ,none,error,warning,action,info,verbose +chat_log_level (Chat log level) enum error ,none,error,warning,action,info,verbose,trace # Enable IPv6 support (for both client and server). # Required for IPv6 connections to work at all. diff --git a/minetest.conf.example b/minetest.conf.example index 3cdb15026..68757680c 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1768,7 +1768,8 @@ # - action # - info # - verbose -# type: enum values: , none, error, warning, action, info, verbose +# - trace +# type: enum values: , none, error, warning, action, info, verbose, trace # debug_log_level = action # If the file size of debug.txt exceeds the number of megabytes specified in @@ -1779,7 +1780,7 @@ # debug_log_size_max = 50 # Minimal level of logging to be written to chat. -# type: enum values: , none, error, warning, action, info, verbose +# type: enum values: , none, error, warning, action, info, verbose, trace # chat_log_level = error # Enable IPv6 support (for both client and server). diff --git a/src/client/game.cpp b/src/client/game.cpp index e0e60eb2c..1e34ca286 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1491,7 +1491,7 @@ bool Game::connectToServer(const GameStartData &start_data, client->m_simple_singleplayer_mode = simple_singleplayer_mode; infostream << "Connecting to server at "; - connect_address.print(&infostream); + connect_address.print(infostream); infostream << std::endl; client->connect(connect_address, diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp index 723865db4..455d5e538 100644 --- a/src/client/renderingengine.cpp +++ b/src/client/renderingengine.cpp @@ -116,7 +116,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver) } SIrrlichtCreationParameters params = SIrrlichtCreationParameters(); - if (g_logger.getTraceEnabled()) + if (tracestream) params.LoggingLevel = irr::ELL_DEBUG; params.DriverType = driverType; params.WindowSize = core::dimension2d(screen_w, screen_h); diff --git a/src/log.cpp b/src/log.cpp index 3c61414e9..51652fe0a 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -35,43 +35,30 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include -const int BUFFER_LENGTH = 256; - -class StringBuffer : public std::streambuf { +class LevelTarget : public LogTarget { public: - StringBuffer() { - buffer_index = 0; - } - - int overflow(int c); - virtual void flush(const std::string &buf) = 0; - std::streamsize xsputn(const char *s, std::streamsize n); - void push_back(char c); - -private: - char buffer[BUFFER_LENGTH]; - int buffer_index; -}; - - -class LogBuffer : public StringBuffer { -public: - LogBuffer(Logger &logger, LogLevel lev) : - logger(logger), - level(lev) + LevelTarget(Logger &logger, LogLevel level, bool raw = false) : + m_logger(logger), + m_level(level), + m_raw(raw) {} - void flush(const std::string &buffer); - -private: - Logger &logger; - LogLevel level; -}; + virtual bool hasOutput() override { + return m_logger.hasOutput(m_level); + } + virtual void log(const std::string &buf) override { + if (!m_raw) { + m_logger.log(m_level, buf); + } else { + m_logger.logRaw(m_level, buf); + } + } -class RawLogBuffer : public StringBuffer { -public: - void flush(const std::string &buffer); +private: + Logger &m_logger; + LogLevel m_level; + bool m_raw; }; //// @@ -80,31 +67,33 @@ public: Logger g_logger; +#ifdef __ANDROID__ +AndroidLogOutput stdout_output; +AndroidLogOutput stderr_output; +#else StreamLogOutput stdout_output(std::cout); StreamLogOutput stderr_output(std::cerr); -std::ostream null_stream(NULL); - -RawLogBuffer raw_buf; - -LogBuffer none_buf(g_logger, LL_NONE); -LogBuffer error_buf(g_logger, LL_ERROR); -LogBuffer warning_buf(g_logger, LL_WARNING); -LogBuffer action_buf(g_logger, LL_ACTION); -LogBuffer info_buf(g_logger, LL_INFO); -LogBuffer verbose_buf(g_logger, LL_VERBOSE); - -// Connection -std::ostream *dout_con_ptr = &null_stream; -std::ostream *derr_con_ptr = &verbosestream; - -// Common streams -std::ostream rawstream(&raw_buf); -std::ostream dstream(&none_buf); -std::ostream errorstream(&error_buf); -std::ostream warningstream(&warning_buf); -std::ostream actionstream(&action_buf); -std::ostream infostream(&info_buf); -std::ostream verbosestream(&verbose_buf); +#endif + +LevelTarget none_target_raw(g_logger, LL_NONE, true); +LevelTarget none_target(g_logger, LL_NONE); +LevelTarget error_target(g_logger, LL_ERROR); +LevelTarget warning_target(g_logger, LL_WARNING); +LevelTarget action_target(g_logger, LL_ACTION); +LevelTarget info_target(g_logger, LL_INFO); +LevelTarget verbose_target(g_logger, LL_VERBOSE); +LevelTarget trace_target(g_logger, LL_TRACE); + +thread_local LogStream dstream(none_target); +thread_local LogStream rawstream(none_target_raw); +thread_local LogStream errorstream(error_target); +thread_local LogStream warningstream(warning_target); +thread_local LogStream actionstream(action_target); +thread_local LogStream infostream(info_target); +thread_local LogStream verbosestream(verbose_target); +thread_local LogStream tracestream(trace_target); +thread_local LogStream derr_con(verbose_target); +thread_local LogStream dout_con(trace_target); // Android #ifdef __ANDROID__ @@ -118,29 +107,15 @@ static unsigned int g_level_to_android[] = { //ANDROID_LOG_INFO, ANDROID_LOG_DEBUG, // LL_INFO ANDROID_LOG_VERBOSE, // LL_VERBOSE + ANDROID_LOG_VERBOSE, // LL_TRACE }; -class AndroidSystemLogOutput : public ICombinedLogOutput { - public: - AndroidSystemLogOutput() - { - g_logger.addOutput(this); - } - ~AndroidSystemLogOutput() - { - g_logger.removeOutput(this); - } - void logRaw(LogLevel lev, const std::string &line) - { - STATIC_ASSERT(ARRLEN(g_level_to_android) == LL_MAX, - mismatch_between_android_and_internal_loglevels); - __android_log_print(g_level_to_android[lev], - PROJECT_NAME_C, "%s", line.c_str()); - } -}; - -AndroidSystemLogOutput g_android_log_output; - +void AndroidLogOutput::logRaw(LogLevel lev, const std::string &line) { + STATIC_ASSERT(ARRLEN(g_level_to_android) == LL_MAX, + mismatch_between_android_and_internal_loglevels); + __android_log_print(g_level_to_android[lev], + PROJECT_NAME_C, "%s", line.c_str()); +} #endif /////////////////////////////////////////////////////////////////////////////// @@ -164,6 +139,8 @@ LogLevel Logger::stringToLevel(const std::string &name) return LL_INFO; else if (name == "verbose") return LL_VERBOSE; + else if (name == "trace") + return LL_TRACE; else return LL_MAX; } @@ -176,21 +153,26 @@ void Logger::addOutput(ILogOutput *out) void Logger::addOutput(ILogOutput *out, LogLevel lev) { m_outputs[lev].push_back(out); + m_has_outputs[lev] = true; } void Logger::addOutputMasked(ILogOutput *out, LogLevelMask mask) { for (size_t i = 0; i < LL_MAX; i++) { - if (mask & LOGLEVEL_TO_MASKLEVEL(i)) + if (mask & LOGLEVEL_TO_MASKLEVEL(i)) { m_outputs[i].push_back(out); + m_has_outputs[i] = true; + } } } void Logger::addOutputMaxLevel(ILogOutput *out, LogLevel lev) { assert(lev < LL_MAX); - for (size_t i = 0; i <= lev; i++) + for (size_t i = 0; i <= lev; i++) { m_outputs[i].push_back(out); + m_has_outputs[i] = true; + } } LogLevelMask Logger::removeOutput(ILogOutput *out) @@ -203,6 +185,7 @@ LogLevelMask Logger::removeOutput(ILogOutput *out) if (it != m_outputs[i].end()) { ret_mask |= LOGLEVEL_TO_MASKLEVEL(i); m_outputs[i].erase(it); + m_has_outputs[i] = !m_outputs[i].empty(); } } return ret_mask; @@ -236,6 +219,7 @@ const std::string Logger::getLevelLabel(LogLevel lev) "ACTION", "INFO", "VERBOSE", + "TRACE", }; assert(lev < LL_MAX && lev >= 0); STATIC_ASSERT(ARRLEN(names) == LL_MAX, @@ -297,7 +281,6 @@ void Logger::logToOutputs(LogLevel lev, const std::string &combined, m_outputs[lev][i]->log(lev, combined, time, thread_name, payload_text); } - //// //// *LogOutput methods //// @@ -349,6 +332,7 @@ void StreamLogOutput::logRaw(LogLevel lev, const std::string &line) m_stream << "\033[37m"; break; case LL_VERBOSE: + case LL_TRACE: // verbose is darker than info m_stream << "\033[2m"; break; @@ -396,6 +380,7 @@ void LogOutputBuffer::logRaw(LogLevel lev, const std::string &line) color = "\x1b(c@#BBB)"; break; case LL_VERBOSE: // dark grey + case LL_TRACE: color = "\x1b(c@#888)"; break; default: break; @@ -404,47 +389,3 @@ void LogOutputBuffer::logRaw(LogLevel lev, const std::string &line) m_buffer.push(color.append(line)); } - -//// -//// *Buffer methods -//// - -int StringBuffer::overflow(int c) -{ - push_back(c); - return c; -} - - -std::streamsize StringBuffer::xsputn(const char *s, std::streamsize n) -{ - for (int i = 0; i < n; ++i) - push_back(s[i]); - return n; -} - -void StringBuffer::push_back(char c) -{ - if (c == '\n' || c == '\r') { - if (buffer_index) - flush(std::string(buffer, buffer_index)); - buffer_index = 0; - } else { - buffer[buffer_index++] = c; - if (buffer_index >= BUFFER_LENGTH) { - flush(std::string(buffer, buffer_index)); - buffer_index = 0; - } - } -} - - -void LogBuffer::flush(const std::string &buffer) -{ - logger.log(level, buffer); -} - -void RawLogBuffer::flush(const std::string &buffer) -{ - g_logger.logRaw(LL_NONE, buffer); -} diff --git a/src/log.h b/src/log.h index 6ed6b1fb7..5c6ba7d64 100644 --- a/src/log.h +++ b/src/log.h @@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once +#include #include #include #include @@ -28,6 +29,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #if !defined(_WIN32) // POSIX #include #endif +#include "util/basic_macros.h" +#include "util/stream.h" #include "irrlichttypes.h" class ILogOutput; @@ -39,6 +42,7 @@ enum LogLevel { LL_ACTION, // In-game actions LL_INFO, LL_VERBOSE, + LL_TRACE, LL_MAX, }; @@ -67,12 +71,13 @@ public: // Logs without a prefix void logRaw(LogLevel lev, const std::string &text); - void setTraceEnabled(bool enable) { m_trace_enabled = enable; } - bool getTraceEnabled() { return m_trace_enabled; } - static LogLevel stringToLevel(const std::string &name); static const std::string getLevelLabel(LogLevel lev); + bool hasOutput(LogLevel level) { + return m_has_outputs[level].load(std::memory_order_relaxed); + } + static LogColor color_mode; private: @@ -84,6 +89,7 @@ private: const std::string getThreadName(); std::vector m_outputs[LL_MAX]; + std::atomic m_has_outputs[LL_MAX]; // Should implement atomic loads and stores (even though it's only // written to when one thread has access currently). @@ -91,7 +97,6 @@ private: volatile bool m_silenced_levels[LL_MAX]; std::map m_thread_names; mutable std::mutex m_mutex; - bool m_trace_enabled; }; class ILogOutput { @@ -185,35 +190,178 @@ private: Logger &m_logger; }; +#ifdef __ANDROID__ +class AndroidLogOutput : public ICombinedLogOutput { +public: + void logRaw(LogLevel lev, const std::string &line); +}; +#endif -extern StreamLogOutput stdout_output; -extern StreamLogOutput stderr_output; -extern std::ostream null_stream; +/* + * LogTarget + * + * This is the interface that sits between the LogStreams and the global logger. + * Primarily used to route streams to log levels, but could also enable other + * custom behavior. + * + */ +class LogTarget { +public: + // Must be thread-safe. These can be called from any thread. + virtual bool hasOutput() = 0; + virtual void log(const std::string &buf) = 0; +}; -extern std::ostream *dout_con_ptr; -extern std::ostream *derr_con_ptr; -extern std::ostream *derr_server_ptr; -extern Logger g_logger; +/* + * StreamProxy + * + * An ostream-like object that can proxy to a real ostream or do nothing, + * depending on how it is configured. See LogStream below. + * + */ +class StreamProxy { +public: + StreamProxy(std::ostream *os) : m_os(os) { } + + template + StreamProxy& operator<<(T&& arg) { + if (m_os) { + *m_os << std::forward(arg); + } + return *this; + } -// Writes directly to all LL_NONE log outputs for g_logger with no prefix. -extern std::ostream rawstream; + StreamProxy& operator<<(std::ostream& (*manip)(std::ostream&)) { + if (m_os) { + *m_os << manip; + } + return *this; + } -extern std::ostream errorstream; -extern std::ostream warningstream; -extern std::ostream actionstream; -extern std::ostream infostream; -extern std::ostream verbosestream; -extern std::ostream dstream; +private: + std::ostream *m_os; +}; -#define TRACEDO(x) do { \ - if (g_logger.getTraceEnabled()) { \ - x; \ - } \ -} while (0) -#define TRACESTREAM(x) TRACEDO(verbosestream x) +/* + * LogStream + * + * The public interface for log streams (infostream, verbosestream, etc). + * + * LogStream minimizes the work done when a given stream is off. (meaning + * it has no output targets, so it goes to /dev/null) + * + * For example, consider: + * + * verbosestream << "hello world" << 123 << std::endl; + * + * The compiler evaluates this as: + * + * (((verbosestream << "hello world") << 123) << std::endl) + * ^ ^ + * + * If `verbosestream` is on, the innermost expression (marked by ^) will return + * a StreamProxy that forwards to a real ostream, that feeds into the logger. + * However, if `verbosestream` is off, it will return a StreamProxy that does + * nothing on all later operations. Specifically, CPU time won't be wasted + * writing "hello world" and 123 into a buffer, or formatting the log entry. + * + * It is also possible to directly check if the stream is on/off: + * + * if (verbosestream) { + * auto data = ComputeExpensiveDataForTheLog(); + * verbosestream << data << endl; + * } + * +*/ -#define dout_con (*dout_con_ptr) -#define derr_con (*derr_con_ptr) +class LogStream { +public: + LogStream() = delete; + DISABLE_CLASS_COPY(LogStream); + + LogStream(LogTarget &target) : + m_target(target), + m_buffer(std::bind(&LogStream::internalFlush, this, std::placeholders::_1)), + m_dummy_buffer(), + m_stream(&m_buffer), + m_dummy_stream(&m_dummy_buffer), + m_proxy(&m_stream), + m_dummy_proxy(nullptr) { } + + template + StreamProxy& operator<<(T&& arg) { + StreamProxy& sp = m_target.hasOutput() ? m_proxy : m_dummy_proxy; + sp << std::forward(arg); + return sp; + } + StreamProxy& operator<<(std::ostream& (*manip)(std::ostream&)) { + StreamProxy& sp = m_target.hasOutput() ? m_proxy : m_dummy_proxy; + sp << manip; + return sp; + } + + operator bool() { + return m_target.hasOutput(); + } + + void internalFlush(const std::string &buf) { + m_target.log(buf); + } + + operator std::ostream&() { + return m_target.hasOutput() ? m_stream : m_dummy_stream; + } + +private: + // 10 streams per thread x (256 + overhead) ~ 3K per thread + static const int BUFFER_LENGTH = 256; + LogTarget &m_target; + StringStreamBuffer m_buffer; + DummyStreamBuffer m_dummy_buffer; + std::ostream m_stream; + std::ostream m_dummy_stream; + StreamProxy m_proxy; + StreamProxy m_dummy_proxy; + +}; + +#ifdef __ANDROID__ +extern AndroidLogOutput stdout_output; +extern AndroidLogOutput stderr_output; +#else +extern StreamLogOutput stdout_output; +extern StreamLogOutput stderr_output; +#endif + +extern Logger g_logger; + +/* + * By making the streams thread_local, each thread has its own + * private buffer. Two or more threads can write to the same stream + * simultaneously (lock-free), and there won't be any interference. + * + * The finished lines are sent to a LogTarget which is a global (not thread-local) + * object, and from there relayed to g_logger. The final writes are serialized + * by the mutex in g_logger. +*/ + +extern thread_local LogStream dstream; +extern thread_local LogStream rawstream; // Writes directly to all LL_NONE log outputs with no prefix. +extern thread_local LogStream errorstream; +extern thread_local LogStream warningstream; +extern thread_local LogStream actionstream; +extern thread_local LogStream infostream; +extern thread_local LogStream verbosestream; +extern thread_local LogStream tracestream; +// TODO: Search/replace these with verbose/tracestream +extern thread_local LogStream derr_con; +extern thread_local LogStream dout_con; + +#define TRACESTREAM(x) do { \ + if (tracestream) { \ + tracestream x; \ + } \ +} while (0) diff --git a/src/main.cpp b/src/main.cpp index 5ea212d8a..ddd725134 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -453,14 +453,6 @@ static bool setup_log_params(const Settings &cmd_args) } } - // If trace is enabled, enable logging of certain things - if (cmd_args.getFlag("trace")) { - dstream << _("Enabling trace level debug output") << std::endl; - g_logger.setTraceEnabled(true); - dout_con_ptr = &verbosestream; // This is somewhat old - socket_enable_debug_output = true; // Sockets doesn't use log.h - } - // In certain cases, output info level on stderr if (cmd_args.getFlag("info") || cmd_args.getFlag("verbose") || cmd_args.getFlag("trace") || cmd_args.getFlag("speedtests")) @@ -470,6 +462,12 @@ static bool setup_log_params(const Settings &cmd_args) if (cmd_args.getFlag("verbose") || cmd_args.getFlag("trace")) g_logger.addOutput(&stderr_output, LL_VERBOSE); + if (cmd_args.getFlag("trace")) { + dstream << _("Enabling trace level debug output") << std::endl; + g_logger.addOutput(&stderr_output, LL_TRACE); + socket_enable_debug_output = true; + } + return true; } @@ -599,7 +597,7 @@ static void init_log_streams(const Settings &cmd_args) warningstream << "Deprecated use of debug_log_level with an " "integer value; please update your configuration." << std::endl; static const char *lev_name[] = - {"", "error", "action", "info", "verbose"}; + {"", "error", "action", "info", "verbose", "trace"}; int lev_i = atoi(conf_loglev.c_str()); if (lev_i < 0 || lev_i >= (int)ARRLEN(lev_name)) { warningstream << "Supplied invalid debug_log_level!" diff --git a/src/network/address.cpp b/src/network/address.cpp index 90e561802..cf2e6208d 100644 --- a/src/network/address.cpp +++ b/src/network/address.cpp @@ -230,14 +230,14 @@ void Address::setPort(u16 port) m_port = port; } -void Address::print(std::ostream *s) const +void Address::print(std::ostream& s) const { if (m_addr_family == AF_INET6) - *s << "[" << serializeString() << "]:" << m_port; + s << "[" << serializeString() << "]:" << m_port; else if (m_addr_family == AF_INET) - *s << serializeString() << ":" << m_port; + s << serializeString() << ":" << m_port; else - *s << "(undefined)"; + s << "(undefined)"; } bool Address::isLocalhost() const diff --git a/src/network/address.h b/src/network/address.h index c2f5f2eef..692bf82c5 100644 --- a/src/network/address.h +++ b/src/network/address.h @@ -59,7 +59,7 @@ public: int getFamily() const { return m_addr_family; } bool isIPv6() const { return m_addr_family == AF_INET6; } bool isZero() const; - void print(std::ostream *s) const; + void print(std::ostream &s) const; std::string serializeString() const; bool isLocalhost() const; diff --git a/src/network/connection.cpp b/src/network/connection.cpp index 2d3cf6e88..6fb676f25 100644 --- a/src/network/connection.cpp +++ b/src/network/connection.cpp @@ -41,25 +41,14 @@ namespace con /* defines used for debugging and profiling */ /******************************************************************************/ #ifdef NDEBUG - #define LOG(a) a #define PROFILE(a) #else - #if 0 - /* this mutex is used to achieve log message consistency */ - std::mutex log_message_mutex; - #define LOG(a) \ - { \ - MutexAutoLock loglock(log_message_mutex); \ - a; \ - } - #else - // Prevent deadlocks until a solution is found after 5.2.0 (TODO) - #define LOG(a) a - #endif - #define PROFILE(a) a #endif +// TODO: Clean this up. +#define LOG(a) a + #define PING_TIMEOUT 5.0 u16 BufferedPacket::getSeqnum() const diff --git a/src/network/connectionthreads.cpp b/src/network/connectionthreads.cpp index dca065ae1..90936b43d 100644 --- a/src/network/connectionthreads.cpp +++ b/src/network/connectionthreads.cpp @@ -32,22 +32,18 @@ namespace con /* defines used for debugging and profiling */ /******************************************************************************/ #ifdef NDEBUG -#define LOG(a) a #define PROFILE(a) #undef DEBUG_CONNECTION_KBPS #else /* this mutex is used to achieve log message consistency */ -std::mutex log_conthread_mutex; -#define LOG(a) \ - { \ - MutexAutoLock loglock(log_conthread_mutex); \ - a; \ - } #define PROFILE(a) a //#define DEBUG_CONNECTION_KBPS #undef DEBUG_CONNECTION_KBPS #endif +// TODO: Clean this up. +#define LOG(a) a + #define WINDOW_SIZE 5 static session_t readPeerId(const u8 *packetdata) diff --git a/src/network/socket.cpp b/src/network/socket.cpp index 97a5f19f7..df15c89ba 100644 --- a/src/network/socket.cpp +++ b/src/network/socket.cpp @@ -198,7 +198,7 @@ void UDPSocket::Send(const Address &destination, const void *data, int size) if (socket_enable_debug_output) { // Print packet destination and size dstream << (int)m_handle << " -> "; - destination.print(&dstream); + destination.print(dstream); dstream << ", size=" << size; // Print packet contents @@ -295,7 +295,7 @@ int UDPSocket::Receive(Address &sender, void *data, int size) if (socket_enable_debug_output) { // Print packet sender and size dstream << (int)m_handle << " <- "; - sender.print(&dstream); + sender.print(dstream); dstream << ", size=" << received; // Print packet contents diff --git a/src/server.cpp b/src/server.cpp index c9cd4e398..6a4349ba5 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -525,7 +525,7 @@ void Server::start() actionstream << "World at [" << m_path_world << "]" << std::endl; actionstream << "Server for gameid=\"" << m_gamespec.id << "\" listening on "; - m_bind_addr.print(&actionstream); + m_bind_addr.print(actionstream); actionstream << "." << std::endl; } diff --git a/src/util/stream.h b/src/util/stream.h new file mode 100644 index 000000000..2e61b46d2 --- /dev/null +++ b/src/util/stream.h @@ -0,0 +1,70 @@ +/* +Minetest +Copyright (C) 2022 Minetest Authors + +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. +*/ + +#pragma once + +#include +#include +#include + +template > +class StringStreamBuffer : public std::streambuf { +public: + StringStreamBuffer(Emitter emitter) : m_emitter(emitter) { + buffer_index = 0; + } + + int overflow(int c) { + push_back(c); + return c; + } + + void push_back(char c) { + if (c == '\n' || c == '\r') { + if (buffer_index) + m_emitter(std::string(buffer, buffer_index)); + buffer_index = 0; + } else { + buffer[buffer_index++] = c; + if (buffer_index >= BufferLength) { + m_emitter(std::string(buffer, buffer_index)); + buffer_index = 0; + } + } + } + + std::streamsize xsputn(const char *s, std::streamsize n) { + for (int i = 0; i < n; ++i) + push_back(s[i]); + return n; + } +private: + Emitter m_emitter; + char buffer[BufferLength]; + int buffer_index; +}; + +class DummyStreamBuffer : public std::streambuf { + int overflow(int c) { + return c; + } + std::streamsize xsputn(const char *s, std::streamsize n) { + return n; + } +}; -- cgit v1.2.3 From 3ce5a68cd12e45d7b618c49e205936fb140ecbfe Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 4 May 2022 20:55:13 +0200 Subject: guiScalingFilter: Fix most memory leaks (#12256) Calls to the cache function ended up creating a new texture regardless whether the texture is already cached. --- src/client/client.cpp | 2 ++ src/client/guiscalingfilter.cpp | 12 +++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/client/client.cpp b/src/client/client.cpp index 0a1fc73d1..cb556c1ce 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -334,6 +334,8 @@ Client::~Client() // cleanup 3d model meshes on client shutdown m_rendering_engine->cleanupMeshCache(); + guiScalingCacheClear(); + delete m_minimap; m_minimap = nullptr; diff --git a/src/client/guiscalingfilter.cpp b/src/client/guiscalingfilter.cpp index 232219237..de122becf 100644 --- a/src/client/guiscalingfilter.cpp +++ b/src/client/guiscalingfilter.cpp @@ -43,6 +43,10 @@ void guiScalingCache(const io::path &key, video::IVideoDriver *driver, video::II { if (!g_settings->getBool("gui_scaling_filter")) return; + + if (g_imgCache.find(key) != g_imgCache.end()) + return; // Already cached. + video::IImage *copied = driver->createImage(value->getColorFormat(), value->getDimension()); value->copyTo(copied); @@ -90,14 +94,16 @@ video::ITexture *guiScalingResizeCached(video::IVideoDriver *driver, io::path scalename = origname + "@guiScalingFilter:" + rectstr; // Search for existing scaled texture. - video::ITexture *scaled = g_txrCache[scalename]; + auto it_txr = g_txrCache.find(scalename); + video::ITexture *scaled = (it_txr != g_txrCache.end()) ? it_txr->second : nullptr; if (scaled) return scaled; // Try to find the texture converted to an image in the cache. // If the image was not found, try to extract it from the texture. - video::IImage* srcimg = g_imgCache[origname]; - if (srcimg == NULL) { + auto it_img = g_imgCache.find(origname); + video::IImage *srcimg = (it_img != g_imgCache.end()) ? it_img->second : nullptr; + if (!srcimg) { if (!g_settings->getBool("gui_scaling_filter_txr2img")) return src; srcimg = driver->createImageFromData(src->getColorFormat(), -- cgit v1.2.3 From 89c82035d88532bb63c9173e0c4edf54b7ea89f8 Mon Sep 17 00:00:00 2001 From: Lars Müller <34514239+appgurueu@users.noreply.github.com> Date: Wed, 4 May 2022 20:55:20 +0200 Subject: hud_get: Return precision field for waypoints (#12215) --- src/script/common/c_content.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index a233afb05..79830ddb4 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -1977,6 +1977,12 @@ void push_hud_element(lua_State *L, HudElement *elem) lua_pushnumber(L, elem->number); lua_setfield(L, -2, "number"); + if (elem->type == HUD_ELEM_WAYPOINT) { + // waypoints reuse the item field to store precision, precision = item - 1 + lua_pushnumber(L, elem->item - 1); + lua_setfield(L, -2, "precision"); + } + // push the item field for waypoints as well for backwards compatibility lua_pushnumber(L, elem->item); lua_setfield(L, -2, "item"); -- cgit v1.2.3 From cc56ebd90db3858313a9e597a89c5db8fec3b617 Mon Sep 17 00:00:00 2001 From: x2048 Date: Wed, 4 May 2022 23:44:55 +0200 Subject: Avoid rendering invisible faces of simple nodeboxes (#12262) * Skip rendering faces adjacent to opaque nodes * Cancel out opposite faces of adjacent nodebox nodes of the same type Fixes #6409 --- src/client/content_mapblock.cpp | 90 ++++++++++++++++++++++++++++++++++++----- src/client/content_mapblock.h | 5 ++- 2 files changed, 82 insertions(+), 13 deletions(-) diff --git a/src/client/content_mapblock.cpp b/src/client/content_mapblock.cpp index b13ae86f4..8675275aa 100644 --- a/src/client/content_mapblock.cpp +++ b/src/client/content_mapblock.cpp @@ -150,8 +150,10 @@ void MapblockMeshGenerator::drawQuad(v3f *coords, const v3s16 &normal, // should be (2+2)*6=24 values in the list. The order of // the faces in the list is up-down-right-left-back-front // (compatible with ContentFeatures). +// mask - a bit mask that suppresses drawing of tiles. +// tile i will not be drawn if mask & (1 << i) is 1 void MapblockMeshGenerator::drawCuboid(const aabb3f &box, - TileSpec *tiles, int tilecount, const LightInfo *lights, const f32 *txc) + TileSpec *tiles, int tilecount, const LightInfo *lights, const f32 *txc, u8 mask) { assert(tilecount >= 1 && tilecount <= 6); // pre-condition @@ -274,6 +276,8 @@ void MapblockMeshGenerator::drawCuboid(const aabb3f &box, // Add to mesh collector for (int k = 0; k < 6; ++k) { + if (mask & (1 << k)) + continue; int tileindex = MYMIN(k, tilecount - 1); collector->append(tiles[tileindex], vertices + 4 * k, 4, quad_indices, 6); } @@ -363,7 +367,7 @@ void MapblockMeshGenerator::generateCuboidTextureCoords(const aabb3f &box, f32 * } void MapblockMeshGenerator::drawAutoLightedCuboid(aabb3f box, const f32 *txc, - TileSpec *tiles, int tile_count) + TileSpec *tiles, int tile_count, u8 mask) { bool scale = std::fabs(f->visual_scale - 1.0f) > 1e-3f; f32 texture_coord_buf[24]; @@ -403,12 +407,49 @@ void MapblockMeshGenerator::drawAutoLightedCuboid(aabb3f box, const f32 *txc, d.Z = (j & 1) ? dz2 : dz1; lights[j] = blendLight(d); } - drawCuboid(box, tiles, tile_count, lights, txc); + drawCuboid(box, tiles, tile_count, lights, txc, mask); } else { - drawCuboid(box, tiles, tile_count, nullptr, txc); + drawCuboid(box, tiles, tile_count, nullptr, txc, mask); + } +} + +u8 MapblockMeshGenerator::getNodeBoxMask(aabb3f box, u8 solid_neighbors, u8 sametype_neighbors) const +{ + const f32 NODE_BOUNDARY = 0.5 * BS; + + // For an oversized nodebox, return immediately + if (box.MaxEdge.X > NODE_BOUNDARY || + box.MinEdge.X < -NODE_BOUNDARY || + box.MaxEdge.Y > NODE_BOUNDARY || + box.MinEdge.Y < -NODE_BOUNDARY || + box.MaxEdge.Z > NODE_BOUNDARY || + box.MinEdge.Z < -NODE_BOUNDARY) + return 0; + + // We can skip faces at node boundary if the matching neighbor is solid + u8 solid_mask = + (box.MaxEdge.Y == NODE_BOUNDARY ? 1 : 0) | + (box.MinEdge.Y == -NODE_BOUNDARY ? 2 : 0) | + (box.MaxEdge.X == NODE_BOUNDARY ? 4 : 0) | + (box.MinEdge.X == -NODE_BOUNDARY ? 8 : 0) | + (box.MaxEdge.Z == NODE_BOUNDARY ? 16 : 0) | + (box.MinEdge.Z == -NODE_BOUNDARY ? 32 : 0); + + u8 sametype_mask = 0; + if (f->alpha == AlphaMode::ALPHAMODE_OPAQUE) { + // In opaque nodeboxes, faces on opposite sides can cancel + // each other out if there is a matching neighbor of the same type + sametype_mask = + ((solid_mask & 3) == 3 ? 3 : 0) | + ((solid_mask & 12) == 12 ? 12 : 0) | + ((solid_mask & 48) == 48 ? 48 : 0); } + + // Combine masks with actual neighbors to get the faces to be skipped + return (solid_mask & solid_neighbors) | (sametype_mask & sametype_neighbors); } + void MapblockMeshGenerator::prepareLiquidNodeDrawing() { getSpecialTile(0, &tile_liquid_top); @@ -1366,13 +1407,38 @@ void MapblockMeshGenerator::drawNodeboxNode() getTile(nodebox_tile_dirs[face], &tiles[face]); } + bool param2_is_rotation = + f->param_type_2 == CPT2_COLORED_FACEDIR || + f->param_type_2 == CPT2_COLORED_WALLMOUNTED || + f->param_type_2 == CPT2_FACEDIR || + f->param_type_2 == CPT2_WALLMOUNTED; + + bool param2_is_level = + f->param_type_2 == CPT2_LEVELED; + // locate possible neighboring nodes to connect to u8 neighbors_set = 0; - if (f->node_box.type == NODEBOX_CONNECTED) { - for (int dir = 0; dir != 6; dir++) { - u8 flag = 1 << dir; - v3s16 p2 = blockpos_nodes + p + nodebox_connection_dirs[dir]; - MapNode n2 = data->m_vmanip.getNodeNoEx(p2); + u8 solid_neighbors = 0; + u8 sametype_neighbors = 0; + for (int dir = 0; dir != 6; dir++) { + u8 flag = 1 << dir; + v3s16 p2 = blockpos_nodes + p + nodebox_tile_dirs[dir]; + MapNode n2 = data->m_vmanip.getNodeNoEx(p2); + + // mark neighbors that are the same node type + // and have the same rotation or higher level stored as param2 + if (n2.param0 == n.param0 && + (!param2_is_rotation || n.param2 == n2.param2) && + (!param2_is_level || n.param2 <= n2.param2)) + sametype_neighbors |= flag; + + // mark neighbors that are simple solid blocks + if (nodedef->get(n2).drawtype == NDT_NORMAL) + solid_neighbors |= flag; + + if (f->node_box.type == NODEBOX_CONNECTED) { + p2 = blockpos_nodes + p + nodebox_connection_dirs[dir]; + n2 = data->m_vmanip.getNodeNoEx(p2); if (nodedef->nodeboxConnects(n, n2, flag)) neighbors_set |= flag; } @@ -1433,8 +1499,10 @@ void MapblockMeshGenerator::drawNodeboxNode() } } - for (auto &box : boxes) - drawAutoLightedCuboid(box, nullptr, tiles, 6); + for (auto &box : boxes) { + u8 mask = getNodeBoxMask(box, solid_neighbors, sametype_neighbors); + drawAutoLightedCuboid(box, nullptr, tiles, 6, mask); + } } void MapblockMeshGenerator::drawMeshNode() diff --git a/src/client/content_mapblock.h b/src/client/content_mapblock.h index 7344f05ee..b13748cbc 100644 --- a/src/client/content_mapblock.h +++ b/src/client/content_mapblock.h @@ -100,10 +100,11 @@ public: // cuboid drawing! void drawCuboid(const aabb3f &box, TileSpec *tiles, int tilecount, - const LightInfo *lights , const f32 *txc); + const LightInfo *lights , const f32 *txc, u8 mask = 0); void generateCuboidTextureCoords(aabb3f const &box, f32 *coords); void drawAutoLightedCuboid(aabb3f box, const f32 *txc = NULL, - TileSpec *tiles = NULL, int tile_count = 0); + TileSpec *tiles = NULL, int tile_count = 0, u8 mask = 0); + u8 getNodeBoxMask(aabb3f box, u8 solid_neighbors, u8 sametype_neighbors) const; // liquid-specific bool top_is_same_liquid; -- cgit v1.2.3 From 47cf257c4098f087d4dc46ac28ddb39141222b0c Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Wed, 4 May 2022 14:55:02 -0700 Subject: Fix Windows Visual Studio actions (#11176) Co-authored-by: rubenwardy --- .github/workflows/build.yml | 24 ++++++++++++++---------- src/CMakeLists.txt | 7 ++++--- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78027d09c..61b9833be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -199,13 +199,10 @@ jobs: msvc: name: VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} runs-on: windows-2019 - #### Disabled due to Irrlicht switch - if: false - #### Disabled due to Irrlicht switch env: - VCPKG_VERSION: 0bf3923f9fab4001c00f0f429682a0853b5749e0 -# 2020.11 - vcpkg_packages: irrlicht zlib zstd curl[winssl] openal-soft libvorbis libogg sqlite3 freetype luajit + VCPKG_VERSION: 5cf60186a241e84e8232641ee973395d4fde90e1 + # 2022.02 + vcpkg_packages: zlib zstd curl[winssl] openal-soft libvorbis libogg libjpeg-turbo sqlite3 freetype luajit gmp jsoncpp opengl-registry strategy: fail-fast: false matrix: @@ -227,10 +224,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + + - name: Checkout IrrlichtMT + uses: actions/checkout@v3 + with: + repository: minetest/irrlicht + path: lib/irrlichtmt/ + ref: "1.9.0mt4" - name: Restore from cache and run vcpkg - uses: lukka/run-vcpkg@v5 + uses: lukka/run-vcpkg@v7 with: vcpkgArguments: ${{env.vcpkg_packages}} vcpkgDirectory: '${{ github.workspace }}\vcpkg' @@ -238,7 +242,7 @@ jobs: vcpkgGitCommitId: ${{ env.VCPKG_VERSION }} vcpkgTriplet: ${{ matrix.config.vcpkg_triplet }} - - name: CMake + - name: Minetest CMake run: | cmake ${{matrix.config.generator}} ` -DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}\vcpkg\scripts\buildsystems\vcpkg.cmake" ` @@ -246,7 +250,7 @@ jobs: -DENABLE_POSTGRESQL=OFF ` -DRUN_IN_PLACE=${{ contains(matrix.type, 'portable') }} . - - name: Build + - name: Build Minetest run: cmake --build . --config Release - name: CPack diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f9ec419e9..03e48ddbd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -826,13 +826,14 @@ if(WIN32) if(LUA_DLL) install(FILES ${LUA_DLL} DESTINATION ${BINDIR}) endif() - if(BUILD_CLIENT AND IRRLICHT_DLL) - install(FILES ${IRRLICHT_DLL} DESTINATION ${BINDIR}) - endif() if(BUILD_CLIENT AND USE_GETTEXT AND GETTEXT_DLL) install(FILES ${GETTEXT_DLL} DESTINATION ${BINDIR}) endif() endif() + + if(BUILD_CLIENT AND IRRLICHT_DLL) + install(FILES ${IRRLICHT_DLL} DESTINATION ${BINDIR}) + endif() endif() if(BUILD_CLIENT) -- cgit v1.2.3 From e108954633df9e4b2e235dd8e16b64f846a2d251 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 1 May 2022 14:44:48 +0200 Subject: Sort out some issues with our CI setup * add missing apt-get update where needed * move some jobs to run on ubuntu-20.04 * update actions plugins to latest * speed up the job that runs multiplayer tests --- .github/workflows/android.yml | 6 +++--- .github/workflows/build.yml | 31 +++++++++++++++---------------- .github/workflows/cpp_lint.yml | 14 +++++++------- .github/workflows/lua.yml | 11 ++++++----- .github/workflows/macos.yml | 4 ++-- README.md | 1 - util/ci/common.sh | 3 --- 7 files changed, 33 insertions(+), 37 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index cc5fe83ef..20411a332 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -23,7 +23,7 @@ jobs: build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | sudo apt-get update @@ -31,12 +31,12 @@ jobs: - name: Build with Gradle run: cd android; ./gradlew assemblerelease - name: Save armeabi artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Minetest-armeabi-v7a.apk path: android/app/build/outputs/apk/release/app-armeabi-v7a-release-unsigned.apk - name: Save arm64 artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Minetest-arm64-v8a.apk path: android/app/build/outputs/apk/release/app-arm64-v8a-release-unsigned.apk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61b9833be..340f1c604 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: gcc_5: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | source ./util/ci/common.sh @@ -55,7 +55,7 @@ jobs: gcc_10: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | source ./util/ci/common.sh @@ -76,7 +76,7 @@ jobs: clang_3_9: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | source ./util/ci/common.sh @@ -101,7 +101,7 @@ jobs: clang_10: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | source ./util/ci/common.sh @@ -126,9 +126,9 @@ jobs: # Build with prometheus-cpp (server-only) clang_9_prometheus: name: "clang_9 (PROMETHEUS=1)" - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | source ./util/ci/common.sh @@ -152,9 +152,9 @@ jobs: docker: name: "Docker image" - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build docker image run: | docker build . -t minetest:latest @@ -164,10 +164,10 @@ jobs: name: "MinGW cross-compiler (32-bit)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install compiler run: | - sudo apt-get update -q && sudo apt-get install gettext -qyy + sudo apt-get update && sudo apt-get install -y gettext wget http://minetest.kitsunemimi.pw/mingw-w64-i686_11.2.0_ubuntu20.04.tar.xz -O mingw.tar.xz sudo tar -xaf mingw.tar.xz -C /usr @@ -182,10 +182,10 @@ jobs: name: "MinGW cross-compiler (64-bit)" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install compiler run: | - sudo apt-get update -q && sudo apt-get install gettext -qyy + sudo apt-get update && sudo apt-get install -y gettext wget http://minetest.kitsunemimi.pw/mingw-w64-x86_64_11.2.0_ubuntu20.04.tar.xz -O mingw.tar.xz sudo tar -xaf mingw.tar.xz -C /usr @@ -223,10 +223,9 @@ jobs: # Enable it, when working on the installer. steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Checkout IrrlichtMT + - name: Checkout IrrlichtMt uses: actions/checkout@v3 with: repository: minetest/irrlicht @@ -269,7 +268,7 @@ jobs: - name: Package Clean run: rm -r $env:GITHUB_WORKSPACE\Package\_CPack_Packages - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 with: name: msvc-${{ matrix.config.arch }}-${{ matrix.type }} path: .\Package\ diff --git a/.github/workflows/cpp_lint.yml b/.github/workflows/cpp_lint.yml index 2bd884c7a..581ee06d6 100644 --- a/.github/workflows/cpp_lint.yml +++ b/.github/workflows/cpp_lint.yml @@ -26,12 +26,13 @@ on: jobs: # clang_format: -# runs-on: ubuntu-18.04 +# runs-on: ubuntu-20.04 # steps: -# - uses: actions/checkout@v2 +# - uses: actions/checkout@v3 # - name: Install clang-format # run: | -# sudo apt-get install clang-format-9 -qyy +# sudo apt-get update +# sudo apt-get install -y clang-format-9 # # - name: Run clang-format # run: | @@ -41,14 +42,13 @@ jobs: # CLANG_FORMAT: clang-format-9 clang_tidy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | - sudo apt-get install clang-tidy-9 -qyy source ./util/ci/common.sh - install_linux_deps + install_linux_deps clang-tidy-9 - name: Run clang-tidy run: | diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 0fa30bb15..3af4a6ee7 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -19,11 +19,11 @@ jobs: name: "Compile and run multiplayer tests" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps clang-10 gdb + install_linux_deps clang-10 gdb libluajit-5.1-dev - name: Build run: | @@ -31,6 +31,7 @@ jobs: env: CC: clang-10 CXX: clang++-10 + CMAKE_FLAGS: "-DENABLE_GETTEXT=0 -DBUILD_SERVER=0" - name: Integration test + devtest run: | @@ -38,12 +39,12 @@ jobs: luacheck: name: "Builtin Luacheck and Unit Tests" - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install luarocks run: | - sudo apt-get install luarocks -qyy + sudo apt-get update && sudo apt-get install -y luarocks - name: Install luarocks tools run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 68813f961..1f1772bf3 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -31,7 +31,7 @@ jobs: build: runs-on: macos-10.15 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install deps run: | pkgs=(cmake freetype gettext gmp hiredis jpeg jsoncpp leveldb libogg libpng libvorbis luajit zstd) @@ -60,7 +60,7 @@ jobs: run: | ./build/macos/minetest.app/Contents/MacOS/minetest --run-unittests - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: minetest-macos path: ./build/macos/ diff --git a/README.md b/README.md index 8ecaabea0..f6fdd0faf 100644 --- a/README.md +++ b/README.md @@ -305,7 +305,6 @@ Library specific options: VORBIS_DLL - Only if building with sound on Windows; paths to vorbis DLLs VORBIS_INCLUDE_DIR - Only if building with sound; directory that contains a directory vorbis with vorbisenc.h inside VORBIS_LIBRARY - Only if building with sound; path to libvorbis.a/libvorbis.so/libvorbis.dll.a - XXF86VM_LIBRARY - Only on Linux; path to libXXf86vm.a/libXXf86vm.so ZLIB_DLL - Only on Windows; path to zlib1.dll ZLIB_INCLUDE_DIR - Directory that contains zlib.h ZLIB_LIBRARY - Path to libz.a/libz.so/zlib.lib diff --git a/util/ci/common.sh b/util/ci/common.sh index f9df54c4a..2802a004a 100644 --- a/util/ci/common.sh +++ b/util/ci/common.sh @@ -17,9 +17,6 @@ install_linux_deps() { sudo apt-get update sudo apt-get install -y --no-install-recommends ${pkgs[@]} "$@" - - # workaround for bug with Github Actions' ubuntu-18.04 image - sudo apt-get remove -y libgcc-11-dev gcc-11 || : } # Mac OSX build only -- cgit v1.2.3 From 8735a85a3008df39b92b0a6781015011d8935a7b Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 6 May 2022 14:42:56 +0200 Subject: Declare all bundled libs as static Otherwise it can happen that these are built as shared depending on the options passed to CMake, which obviously isn't intended. --- lib/bitop/CMakeLists.txt | 2 +- lib/gmp/CMakeLists.txt | 2 +- lib/jsoncpp/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bitop/CMakeLists.txt b/lib/bitop/CMakeLists.txt index 03b4d0b96..02e8a421d 100644 --- a/lib/bitop/CMakeLists.txt +++ b/lib/bitop/CMakeLists.txt @@ -1,4 +1,4 @@ -add_library(bitop bit.c) +add_library(bitop STATIC bit.c) target_link_libraries(bitop) include_directories(${LUA_INCLUDE_DIR}) diff --git a/lib/gmp/CMakeLists.txt b/lib/gmp/CMakeLists.txt index 884c4d389..f0604a43d 100644 --- a/lib/gmp/CMakeLists.txt +++ b/lib/gmp/CMakeLists.txt @@ -1,3 +1,3 @@ -add_library(gmp mini-gmp.c) +add_library(gmp STATIC mini-gmp.c) target_link_libraries(gmp) diff --git a/lib/jsoncpp/CMakeLists.txt b/lib/jsoncpp/CMakeLists.txt index 0531712ae..cdd1a7ead 100644 --- a/lib/jsoncpp/CMakeLists.txt +++ b/lib/jsoncpp/CMakeLists.txt @@ -1,3 +1,3 @@ -add_library(jsoncpp jsoncpp.cpp) +add_library(jsoncpp STATIC jsoncpp.cpp) target_link_libraries(jsoncpp) -- cgit v1.2.3 From 4e1de06782b2541e8d487adfd87b0c2afeedeab3 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 6 May 2022 14:45:59 +0200 Subject: Bump IrrlichtMt to 1.9.0mt5 in CI --- .github/workflows/build.yml | 2 +- .github/workflows/macos.yml | 2 +- .gitlab-ci.yml | 2 +- util/buildbot/buildwin32.sh | 4 ++-- util/buildbot/buildwin64.sh | 2 +- util/ci/common.sh | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 340f1c604..2cc83923b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -230,7 +230,7 @@ jobs: with: repository: minetest/irrlicht path: lib/irrlichtmt/ - ref: "1.9.0mt4" + ref: "1.9.0mt5" - name: Restore from cache and run vcpkg uses: lukka/run-vcpkg@v7 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1f1772bf3..c0278a38c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -22,7 +22,7 @@ on: - '.github/workflows/macos.yml' env: - IRRLICHT_TAG: 1.9.0mt4 + IRRLICHT_TAG: 1.9.0mt5 MINETEST_GAME_REPO: https://github.com/minetest/minetest_game.git MINETEST_GAME_BRANCH: master MINETEST_GAME_NAME: minetest_game diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81007d7c7..c225bfcd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ stages: - deploy variables: - IRRLICHT_TAG: "1.9.0mt4" + IRRLICHT_TAG: "1.9.0mt5" MINETEST_GAME_REPO: "https://github.com/minetest/minetest_game.git" CONTAINER_IMAGE: registry.gitlab.com/$CI_PROJECT_PATH diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh index bf5c9a0f2..e0c431711 100755 --- a/util/buildbot/buildwin32.sh +++ b/util/buildbot/buildwin32.sh @@ -45,7 +45,7 @@ done echo "The compiler runtime DLLs could not be found, they might be missing in the final package." # Get stuff -irrlicht_version=1.9.0mt4 +irrlicht_version=1.9.0mt5 ogg_version=1.3.5 openal_version=1.21.1 vorbis_version=1.3.7 @@ -83,7 +83,7 @@ download () { # this distinction should be gotten rid of next time cd $libdir -download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win32-dw2.zip" irrlicht-$irrlicht_version.zip +download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win32.zip" irrlicht-$irrlicht_version.zip download "http://minetest.kitsunemimi.pw/dw2/zlib-$zlib_version-win32.zip" download "http://minetest.kitsunemimi.pw/zstd-$zstd_version-win32.zip" download "http://minetest.kitsunemimi.pw/libogg-$ogg_version-win32.zip" diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 30920cf53..e79397be4 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -45,7 +45,7 @@ done echo "The compiler runtime DLLs could not be found, they might be missing in the final package." # Get stuff -irrlicht_version=1.9.0mt4 +irrlicht_version=1.9.0mt5 ogg_version=1.3.5 openal_version=1.21.1 vorbis_version=1.3.7 diff --git a/util/ci/common.sh b/util/ci/common.sh index 2802a004a..e372dc682 100644 --- a/util/ci/common.sh +++ b/util/ci/common.sh @@ -11,7 +11,7 @@ install_linux_deps() { shift pkgs+=(libirrlicht-dev) else - wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt4/ubuntu-bionic.tar.gz" + wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt5/ubuntu-bionic.tar.gz" sudo tar -xaf ubuntu-bionic.tar.gz -C /usr/local fi -- cgit v1.2.3 From 45d318a77300b014b13366ee9fa4cfc69e08f360 Mon Sep 17 00:00:00 2001 From: Froggo <92762044+Froggo8311@users.noreply.github.com> Date: Fri, 6 May 2022 15:15:16 -0500 Subject: Enable chat clickable weblinks by default (#12115) Co-authored-by: rubenwardy --- builtin/settingtypes.txt | 2 +- minetest.conf.example | 2 +- src/defaultsettings.cpp | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index e3589d76f..ff69d9741 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -988,7 +988,7 @@ mute_sound (Mute sound) bool false [Client] # Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output. -clickable_chat_weblinks (Chat weblinks) bool false +clickable_chat_weblinks (Chat weblinks) bool true # Optional override for chat weblink color. chat_weblink_color (Weblink color) string diff --git a/minetest.conf.example b/minetest.conf.example index 68757680c..4b4bda0c5 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1176,7 +1176,7 @@ # Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output. # type: bool -# clickable_chat_weblinks = false +# clickable_chat_weblinks = true # Optional override for chat weblink color. # type: string diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index b86287157..11d52efd3 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -65,7 +65,6 @@ void set_default_settings() settings->setDefault("max_out_chat_queue_size", "20"); settings->setDefault("pause_on_lost_focus", "false"); settings->setDefault("enable_register_confirmation", "true"); - settings->setDefault("clickable_chat_weblinks", "false"); settings->setDefault("chat_weblink_color", "#8888FF"); // Keymap @@ -465,6 +464,9 @@ void set_default_settings() settings->setDefault("touchscreen_threshold","20"); settings->setDefault("fixed_virtual_joystick", "false"); settings->setDefault("virtual_joystick_triggers_aux1", "false"); + settings->setDefault("clickable_chat_weblinks", "false"); +#else + settings->setDefault("clickable_chat_weblinks", "true"); #endif // Altered settings for Android #ifdef __ANDROID__ -- cgit v1.2.3 From 87472150bcb83e9cbad2f567ac536de0456ceb70 Mon Sep 17 00:00:00 2001 From: paradust7 <102263465+paradust7@users.noreply.github.com> Date: Fri, 6 May 2022 13:17:16 -0700 Subject: Add benchmarks for json string serialize/deserialize (#12258) Co-authored-by: sfan5 --- CMakeLists.txt | 5 + README.md | 1 + lib/catch2/CMakeLists.txt | 16 + lib/catch2/catch.hpp | 17970 ++++++++++++++++++++++++++++++++ src/CMakeLists.txt | 14 + src/benchmark/CMakeLists.txt | 7 + src/benchmark/benchmark.cpp | 32 + src/benchmark/benchmark.h | 26 + src/benchmark/benchmark_serialize.cpp | 71 + src/benchmark/benchmark_setup.h | 22 + src/cmake_config.h.in | 1 + src/main.cpp | 15 + util/ci/build.sh | 10 +- util/ci/common.sh | 4 +- 14 files changed, 18190 insertions(+), 4 deletions(-) create mode 100644 lib/catch2/CMakeLists.txt create mode 100644 lib/catch2/catch.hpp create mode 100644 src/benchmark/CMakeLists.txt create mode 100644 src/benchmark/benchmark.cpp create mode 100644 src/benchmark/benchmark.h create mode 100644 src/benchmark/benchmark_serialize.cpp create mode 100644 src/benchmark/benchmark_setup.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dfc857d3..d8dd85af6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ set(RUN_IN_PLACE ${DEFAULT_RUN_IN_PLACE} CACHE BOOL set(BUILD_CLIENT TRUE CACHE BOOL "Build client") set(BUILD_SERVER FALSE CACHE BOOL "Build server") set(BUILD_UNITTESTS TRUE CACHE BOOL "Build unittests") +set(BUILD_BENCHMARKS FALSE CACHE BOOL "Build benchmarks") set(WARN_ALL TRUE CACHE BOOL "Enable -Wall for Release build") @@ -280,6 +281,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "(Apple)?Clang") endif() endif() +if(BUILD_BENCHMARKS) + add_subdirectory(lib/catch2) +endif() + # Subdirectories # Be sure to add all relevant definitions above this add_subdirectory(src) diff --git a/README.md b/README.md index f6fdd0faf..b6b545a22 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,7 @@ General options and their default values: BUILD_CLIENT=TRUE - Build Minetest client BUILD_SERVER=FALSE - Build Minetest server BUILD_UNITTESTS=TRUE - Build unittest sources + BUILD_BENCHMARKS=FALSE - Build benchmark sources CMAKE_BUILD_TYPE=Release - Type of build (Release vs. Debug) Release - Release build Debug - Debug build diff --git a/lib/catch2/CMakeLists.txt b/lib/catch2/CMakeLists.txt new file mode 100644 index 000000000..3c471d49d --- /dev/null +++ b/lib/catch2/CMakeLists.txt @@ -0,0 +1,16 @@ +# catch2 is distributed as a standalone header. +# +# Downloaded from: +# +# https://github.com/catchorg/Catch2/releases/download/v2.13.9/catch.hpp +# +# The following changes were made to always print in microseconds, fixed format: +# +# - explicit Duration(double inNanoseconds, Unit units = Unit::Auto) +# + explicit Duration(double inNanoseconds, Unit units = Unit::Microseconds) +# +# - return os << duration.value() << ' ' << duration.unitsAsString(); +# + return os << std::fixed << duration.value() << ' ' << duration.unitsAsString(); + +add_library(catch2 INTERFACE) +target_include_directories(catch2 INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/lib/catch2/catch.hpp b/lib/catch2/catch.hpp new file mode 100644 index 000000000..88f110677 --- /dev/null +++ b/lib/catch2/catch.hpp @@ -0,0 +1,17970 @@ +/* + * Catch v2.13.9 + * Generated: 2022-04-12 22:37:23.260201 + * ---------------------------------------------------------- + * This file has been merged from multiple headers. Please don't edit it directly + * Copyright (c) 2022 Two Blue Cubes Ltd. All rights reserved. + * + * Distributed under the Boost Software License, Version 1.0. (See accompanying + * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + */ +#ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED +#define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED +// start catch.hpp + + +#define CATCH_VERSION_MAJOR 2 +#define CATCH_VERSION_MINOR 13 +#define CATCH_VERSION_PATCH 9 + +#ifdef __clang__ +# pragma clang system_header +#elif defined __GNUC__ +# pragma GCC system_header +#endif + +// start catch_suppress_warnings.h + +#ifdef __clang__ +# ifdef __ICC // icpc defines the __clang__ macro +# pragma warning(push) +# pragma warning(disable: 161 1682) +# else // __ICC +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wpadded" +# pragma clang diagnostic ignored "-Wswitch-enum" +# pragma clang diagnostic ignored "-Wcovered-switch-default" +# endif +#elif defined __GNUC__ + // Because REQUIREs trigger GCC's -Wparentheses, and because still + // supported version of g++ have only buggy support for _Pragmas, + // Wparentheses have to be suppressed globally. +# pragma GCC diagnostic ignored "-Wparentheses" // See #674 for details + +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wunused-variable" +# pragma GCC diagnostic ignored "-Wpadded" +#endif +// end catch_suppress_warnings.h +#if defined(CATCH_CONFIG_MAIN) || defined(CATCH_CONFIG_RUNNER) +# define CATCH_IMPL +# define CATCH_CONFIG_ALL_PARTS +#endif + +// In the impl file, we want to have access to all parts of the headers +// Can also be used to sanely support PCHs +#if defined(CATCH_CONFIG_ALL_PARTS) +# define CATCH_CONFIG_EXTERNAL_INTERFACES +# if defined(CATCH_CONFIG_DISABLE_MATCHERS) +# undef CATCH_CONFIG_DISABLE_MATCHERS +# endif +# if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER) +# define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER +# endif +#endif + +#if !defined(CATCH_CONFIG_IMPL_ONLY) +// start catch_platform.h + +// See e.g.: +// https://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/TargetConditionals.h.auto.html +#ifdef __APPLE__ +# include +# if (defined(TARGET_OS_OSX) && TARGET_OS_OSX == 1) || \ + (defined(TARGET_OS_MAC) && TARGET_OS_MAC == 1) +# define CATCH_PLATFORM_MAC +# elif (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE == 1) +# define CATCH_PLATFORM_IPHONE +# endif + +#elif defined(linux) || defined(__linux) || defined(__linux__) +# define CATCH_PLATFORM_LINUX + +#elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || defined(__MINGW32__) +# define CATCH_PLATFORM_WINDOWS +#endif + +// end catch_platform.h + +#ifdef CATCH_IMPL +# ifndef CLARA_CONFIG_MAIN +# define CLARA_CONFIG_MAIN_NOT_DEFINED +# define CLARA_CONFIG_MAIN +# endif +#endif + +// start catch_user_interfaces.h + +namespace Catch { + unsigned int rngSeed(); +} + +// end catch_user_interfaces.h +// start catch_tag_alias_autoregistrar.h + +// start catch_common.h + +// start catch_compiler_capabilities.h + +// Detect a number of compiler features - by compiler +// The following features are defined: +// +// CATCH_CONFIG_COUNTER : is the __COUNTER__ macro supported? +// CATCH_CONFIG_WINDOWS_SEH : is Windows SEH supported? +// CATCH_CONFIG_POSIX_SIGNALS : are POSIX signals supported? +// CATCH_CONFIG_DISABLE_EXCEPTIONS : Are exceptions enabled? +// **************** +// Note to maintainers: if new toggles are added please document them +// in configuration.md, too +// **************** + +// In general each macro has a _NO_ form +// (e.g. CATCH_CONFIG_NO_POSIX_SIGNALS) which disables the feature. +// Many features, at point of detection, define an _INTERNAL_ macro, so they +// can be combined, en-mass, with the _NO_ forms later. + +#ifdef __cplusplus + +# if (__cplusplus >= 201402L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402L) +# define CATCH_CPP14_OR_GREATER +# endif + +# if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) +# define CATCH_CPP17_OR_GREATER +# endif + +#endif + +// Only GCC compiler should be used in this block, so other compilers trying to +// mask themselves as GCC should be ignored. +#if defined(__GNUC__) && !defined(__clang__) && !defined(__ICC) && !defined(__CUDACC__) && !defined(__LCC__) +# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION _Pragma( "GCC diagnostic push" ) +# define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION _Pragma( "GCC diagnostic pop" ) + +# define CATCH_INTERNAL_IGNORE_BUT_WARN(...) (void)__builtin_constant_p(__VA_ARGS__) + +#endif + +#if defined(__clang__) + +# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION _Pragma( "clang diagnostic push" ) +# define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION _Pragma( "clang diagnostic pop" ) + +// As of this writing, IBM XL's implementation of __builtin_constant_p has a bug +// which results in calls to destructors being emitted for each temporary, +// without a matching initialization. In practice, this can result in something +// like `std::string::~string` being called on an uninitialized value. +// +// For example, this code will likely segfault under IBM XL: +// ``` +// REQUIRE(std::string("12") + "34" == "1234") +// ``` +// +// Therefore, `CATCH_INTERNAL_IGNORE_BUT_WARN` is not implemented. +# if !defined(__ibmxl__) && !defined(__CUDACC__) +# define CATCH_INTERNAL_IGNORE_BUT_WARN(...) (void)__builtin_constant_p(__VA_ARGS__) /* NOLINT(cppcoreguidelines-pro-type-vararg, hicpp-vararg) */ +# endif + +# define CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wexit-time-destructors\"" ) \ + _Pragma( "clang diagnostic ignored \"-Wglobal-constructors\"") + +# define CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wparentheses\"" ) + +# define CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wunused-variable\"" ) + +# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"" ) + +# define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wunused-template\"" ) + +#endif // __clang__ + +//////////////////////////////////////////////////////////////////////////////// +// Assume that non-Windows platforms support posix signals by default +#if !defined(CATCH_PLATFORM_WINDOWS) + #define CATCH_INTERNAL_CONFIG_POSIX_SIGNALS +#endif + +//////////////////////////////////////////////////////////////////////////////// +// We know some environments not to support full POSIX signals +#if defined(__CYGWIN__) || defined(__QNX__) || defined(__EMSCRIPTEN__) || defined(__DJGPP__) + #define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS +#endif + +#ifdef __OS400__ +# define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS +# define CATCH_CONFIG_COLOUR_NONE +#endif + +//////////////////////////////////////////////////////////////////////////////// +// Android somehow still does not support std::to_string +#if defined(__ANDROID__) +# define CATCH_INTERNAL_CONFIG_NO_CPP11_TO_STRING +# define CATCH_INTERNAL_CONFIG_ANDROID_LOGWRITE +#endif + +//////////////////////////////////////////////////////////////////////////////// +// Not all Windows environments support SEH properly +#if defined(__MINGW32__) +# define CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH +#endif + +//////////////////////////////////////////////////////////////////////////////// +// PS4 +#if defined(__ORBIS__) +# define CATCH_INTERNAL_CONFIG_NO_NEW_CAPTURE +#endif + +//////////////////////////////////////////////////////////////////////////////// +// Cygwin +#ifdef __CYGWIN__ + +// Required for some versions of Cygwin to declare gettimeofday +// see: http://stackoverflow.com/questions/36901803/gettimeofday-not-declared-in-this-scope-cygwin +# define _BSD_SOURCE +// some versions of cygwin (most) do not support std::to_string. Use the libstd check. +// https://gcc.gnu.org/onlinedocs/gcc-4.8.2/libstdc++/api/a01053_source.html line 2812-2813 +# if !((__cplusplus >= 201103L) && defined(_GLIBCXX_USE_C99) \ + && !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF)) + +# define CATCH_INTERNAL_CONFIG_NO_CPP11_TO_STRING + +# endif +#endif // __CYGWIN__ + +//////////////////////////////////////////////////////////////////////////////// +// Visual C++ +#if defined(_MSC_VER) + +// Universal Windows platform does not support SEH +// Or console colours (or console at all...) +# if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP) +# define CATCH_CONFIG_COLOUR_NONE +# else +# define CATCH_INTERNAL_CONFIG_WINDOWS_SEH +# endif + +# if !defined(__clang__) // Handle Clang masquerading for msvc + +// MSVC traditional preprocessor needs some workaround for __VA_ARGS__ +// _MSVC_TRADITIONAL == 0 means new conformant preprocessor +// _MSVC_TRADITIONAL == 1 means old traditional non-conformant preprocessor +# if !defined(_MSVC_TRADITIONAL) || (defined(_MSVC_TRADITIONAL) && _MSVC_TRADITIONAL) +# define CATCH_INTERNAL_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR +# endif // MSVC_TRADITIONAL + +// Only do this if we're not using clang on Windows, which uses `diagnostic push` & `diagnostic pop` +# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION __pragma( warning(push) ) +# define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION __pragma( warning(pop) ) +# endif // __clang__ + +#endif // _MSC_VER + +#if defined(_REENTRANT) || defined(_MSC_VER) +// Enable async processing, as -pthread is specified or no additional linking is required +# define CATCH_INTERNAL_CONFIG_USE_ASYNC +#endif // _MSC_VER + +//////////////////////////////////////////////////////////////////////////////// +// Check if we are compiled with -fno-exceptions or equivalent +#if defined(__EXCEPTIONS) || defined(__cpp_exceptions) || defined(_CPPUNWIND) +# define CATCH_INTERNAL_CONFIG_EXCEPTIONS_ENABLED +#endif + +//////////////////////////////////////////////////////////////////////////////// +// DJGPP +#ifdef __DJGPP__ +# define CATCH_INTERNAL_CONFIG_NO_WCHAR +#endif // __DJGPP__ + +//////////////////////////////////////////////////////////////////////////////// +// Embarcadero C++Build +#if defined(__BORLANDC__) + #define CATCH_INTERNAL_CONFIG_POLYFILL_ISNAN +#endif + +//////////////////////////////////////////////////////////////////////////////// + +// Use of __COUNTER__ is suppressed during code analysis in +// CLion/AppCode 2017.2.x and former, because __COUNTER__ is not properly +// handled by it. +// Otherwise all supported compilers support COUNTER macro, +// but user still might want to turn it off +#if ( !defined(__JETBRAINS_IDE__) || __JETBRAINS_IDE__ >= 20170300L ) + #define CATCH_INTERNAL_CONFIG_COUNTER +#endif + +//////////////////////////////////////////////////////////////////////////////// + +// RTX is a special version of Windows that is real time. +// This means that it is detected as Windows, but does not provide +// the same set of capabilities as real Windows does. +#if defined(UNDER_RTSS) || defined(RTX64_BUILD) + #define CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH + #define CATCH_INTERNAL_CONFIG_NO_ASYNC + #define CATCH_CONFIG_COLOUR_NONE +#endif + +#if !defined(_GLIBCXX_USE_C99_MATH_TR1) +#define CATCH_INTERNAL_CONFIG_GLOBAL_NEXTAFTER +#endif + +// Various stdlib support checks that require __has_include +#if defined(__has_include) + // Check if string_view is available and usable + #if __has_include() && defined(CATCH_CPP17_OR_GREATER) + # define CATCH_INTERNAL_CONFIG_CPP17_STRING_VIEW + #endif + + // Check if optional is available and usable + # if __has_include() && defined(CATCH_CPP17_OR_GREATER) + # define CATCH_INTERNAL_CONFIG_CPP17_OPTIONAL + # endif // __has_include() && defined(CATCH_CPP17_OR_GREATER) + + // Check if byte is available and usable + # if __has_include() && defined(CATCH_CPP17_OR_GREATER) + # include + # if defined(__cpp_lib_byte) && (__cpp_lib_byte > 0) + # define CATCH_INTERNAL_CONFIG_CPP17_BYTE + # endif + # endif // __has_include() && defined(CATCH_CPP17_OR_GREATER) + + // Check if variant is available and usable + # if __has_include() && defined(CATCH_CPP17_OR_GREATER) + # if defined(__clang__) && (__clang_major__ < 8) + // work around clang bug with libstdc++ https://bugs.llvm.org/show_bug.cgi?id=31852 + // fix should be in clang 8, workaround in libstdc++ 8.2 + # include + # if defined(__GLIBCXX__) && defined(_GLIBCXX_RELEASE) && (_GLIBCXX_RELEASE < 9) + # define CATCH_CONFIG_NO_CPP17_VARIANT + # else + # define CATCH_INTERNAL_CONFIG_CPP17_VARIANT + # endif // defined(__GLIBCXX__) && defined(_GLIBCXX_RELEASE) && (_GLIBCXX_RELEASE < 9) + # else + # define CATCH_INTERNAL_CONFIG_CPP17_VARIANT + # endif // defined(__clang__) && (__clang_major__ < 8) + # endif // __has_include() && defined(CATCH_CPP17_OR_GREATER) +#endif // defined(__has_include) + +#if defined(CATCH_INTERNAL_CONFIG_COUNTER) && !defined(CATCH_CONFIG_NO_COUNTER) && !defined(CATCH_CONFIG_COUNTER) +# define CATCH_CONFIG_COUNTER +#endif +#if defined(CATCH_INTERNAL_CONFIG_WINDOWS_SEH) && !defined(CATCH_CONFIG_NO_WINDOWS_SEH) && !defined(CATCH_CONFIG_WINDOWS_SEH) && !defined(CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH) +# define CATCH_CONFIG_WINDOWS_SEH +#endif +// This is set by default, because we assume that unix compilers are posix-signal-compatible by default. +#if defined(CATCH_INTERNAL_CONFIG_POSIX_SIGNALS) && !defined(CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS) && !defined(CATCH_CONFIG_NO_POSIX_SIGNALS) && !defined(CATCH_CONFIG_POSIX_SIGNALS) +# define CATCH_CONFIG_POSIX_SIGNALS +#endif +// This is set by default, because we assume that compilers with no wchar_t support are just rare exceptions. +#if !defined(CATCH_INTERNAL_CONFIG_NO_WCHAR) && !defined(CATCH_CONFIG_NO_WCHAR) && !defined(CATCH_CONFIG_WCHAR) +# define CATCH_CONFIG_WCHAR +#endif + +#if !defined(CATCH_INTERNAL_CONFIG_NO_CPP11_TO_STRING) && !defined(CATCH_CONFIG_NO_CPP11_TO_STRING) && !defined(CATCH_CONFIG_CPP11_TO_STRING) +# define CATCH_CONFIG_CPP11_TO_STRING +#endif + +#if defined(CATCH_INTERNAL_CONFIG_CPP17_OPTIONAL) && !defined(CATCH_CONFIG_NO_CPP17_OPTIONAL) && !defined(CATCH_CONFIG_CPP17_OPTIONAL) +# define CATCH_CONFIG_CPP17_OPTIONAL +#endif + +#if defined(CATCH_INTERNAL_CONFIG_CPP17_STRING_VIEW) && !defined(CATCH_CONFIG_NO_CPP17_STRING_VIEW) && !defined(CATCH_CONFIG_CPP17_STRING_VIEW) +# define CATCH_CONFIG_CPP17_STRING_VIEW +#endif + +#if defined(CATCH_INTERNAL_CONFIG_CPP17_VARIANT) && !defined(CATCH_CONFIG_NO_CPP17_VARIANT) && !defined(CATCH_CONFIG_CPP17_VARIANT) +# define CATCH_CONFIG_CPP17_VARIANT +#endif + +#if defined(CATCH_INTERNAL_CONFIG_CPP17_BYTE) && !defined(CATCH_CONFIG_NO_CPP17_BYTE) && !defined(CATCH_CONFIG_CPP17_BYTE) +# define CATCH_CONFIG_CPP17_BYTE +#endif + +#if defined(CATCH_CONFIG_EXPERIMENTAL_REDIRECT) +# define CATCH_INTERNAL_CONFIG_NEW_CAPTURE +#endif + +#if defined(CATCH_INTERNAL_CONFIG_NEW_CAPTURE) && !defined(CATCH_INTERNAL_CONFIG_NO_NEW_CAPTURE) && !defined(CATCH_CONFIG_NO_NEW_CAPTURE) && !defined(CATCH_CONFIG_NEW_CAPTURE) +# define CATCH_CONFIG_NEW_CAPTURE +#endif + +#if !defined(CATCH_INTERNAL_CONFIG_EXCEPTIONS_ENABLED) && !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) +# define CATCH_CONFIG_DISABLE_EXCEPTIONS +#endif + +#if defined(CATCH_INTERNAL_CONFIG_POLYFILL_ISNAN) && !defined(CATCH_CONFIG_NO_POLYFILL_ISNAN) && !defined(CATCH_CONFIG_POLYFILL_ISNAN) +# define CATCH_CONFIG_POLYFILL_ISNAN +#endif + +#if defined(CATCH_INTERNAL_CONFIG_USE_ASYNC) && !defined(CATCH_INTERNAL_CONFIG_NO_ASYNC) && !defined(CATCH_CONFIG_NO_USE_ASYNC) && !defined(CATCH_CONFIG_USE_ASYNC) +# define CATCH_CONFIG_USE_ASYNC +#endif + +#if defined(CATCH_INTERNAL_CONFIG_ANDROID_LOGWRITE) && !defined(CATCH_CONFIG_NO_ANDROID_LOGWRITE) && !defined(CATCH_CONFIG_ANDROID_LOGWRITE) +# define CATCH_CONFIG_ANDROID_LOGWRITE +#endif + +#if defined(CATCH_INTERNAL_CONFIG_GLOBAL_NEXTAFTER) && !defined(CATCH_CONFIG_NO_GLOBAL_NEXTAFTER) && !defined(CATCH_CONFIG_GLOBAL_NEXTAFTER) +# define CATCH_CONFIG_GLOBAL_NEXTAFTER +#endif + +// Even if we do not think the compiler has that warning, we still have +// to provide a macro that can be used by the code. +#if !defined(CATCH_INTERNAL_START_WARNINGS_SUPPRESSION) +# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION +#endif +#if !defined(CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION) +# define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION +#endif +#if !defined(CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS) +# define CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS +#endif +#if !defined(CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS) +# define CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS +#endif +#if !defined(CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS) +# define CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS +#endif +#if !defined(CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS) +# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS +#endif + +// The goal of this macro is to avoid evaluation of the arguments, but +// still have the compiler warn on problems inside... +#if !defined(CATCH_INTERNAL_IGNORE_BUT_WARN) +# define CATCH_INTERNAL_IGNORE_BUT_WARN(...) +#endif + +#if defined(__APPLE__) && defined(__apple_build_version__) && (__clang_major__ < 10) +# undef CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS +#elif defined(__clang__) && (__clang_major__ < 5) +# undef CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS +#endif + +#if !defined(CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS) +# define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS +#endif + +#if defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) +#define CATCH_TRY if ((true)) +#define CATCH_CATCH_ALL if ((false)) +#define CATCH_CATCH_ANON(type) if ((false)) +#else +#define CATCH_TRY try +#define CATCH_CATCH_ALL catch (...) +#define CATCH_CATCH_ANON(type) catch (type) +#endif + +#if defined(CATCH_INTERNAL_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR) && !defined(CATCH_CONFIG_NO_TRADITIONAL_MSVC_PREPROCESSOR) && !defined(CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR) +#define CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR +#endif + +// end catch_compiler_capabilities.h +#define INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) name##line +#define INTERNAL_CATCH_UNIQUE_NAME_LINE( name, line ) INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) +#ifdef CATCH_CONFIG_COUNTER +# define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ ) +#else +# define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __LINE__ ) +#endif + +#include +#include +#include + +// We need a dummy global operator<< so we can bring it into Catch namespace later +struct Catch_global_namespace_dummy {}; +std::ostream& operator<<(std::ostream&, Catch_global_namespace_dummy); + +namespace Catch { + + struct CaseSensitive { enum Choice { + Yes, + No + }; }; + + class NonCopyable { + NonCopyable( NonCopyable const& ) = delete; + NonCopyable( NonCopyable && ) = delete; + NonCopyable& operator = ( NonCopyable const& ) = delete; + NonCopyable& operator = ( NonCopyable && ) = delete; + + protected: + NonCopyable(); + virtual ~NonCopyable(); + }; + + struct SourceLineInfo { + + SourceLineInfo() = delete; + SourceLineInfo( char const* _file, std::size_t _line ) noexcept + : file( _file ), + line( _line ) + {} + + SourceLineInfo( SourceLineInfo const& other ) = default; + SourceLineInfo& operator = ( SourceLineInfo const& ) = default; + SourceLineInfo( SourceLineInfo&& ) noexcept = default; + SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default; + + bool empty() const noexcept { return file[0] == '\0'; } + bool operator == ( SourceLineInfo const& other ) const noexcept; + bool operator < ( SourceLineInfo const& other ) const noexcept; + + char const* file; + std::size_t line; + }; + + std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info ); + + // Bring in operator<< from global namespace into Catch namespace + // This is necessary because the overload of operator<< above makes + // lookup stop at namespace Catch + using ::operator<<; + + // Use this in variadic streaming macros to allow + // >> +StreamEndStop + // as well as + // >> stuff +StreamEndStop + struct StreamEndStop { + std::string operator+() const; + }; + template + T const& operator + ( T const& value, StreamEndStop ) { + return value; + } +} + +#define CATCH_INTERNAL_LINEINFO \ + ::Catch::SourceLineInfo( __FILE__, static_cast( __LINE__ ) ) + +// end catch_common.h +namespace Catch { + + struct RegistrarForTagAliases { + RegistrarForTagAliases( char const* alias, char const* tag, SourceLineInfo const& lineInfo ); + }; + +} // end namespace Catch + +#define CATCH_REGISTER_TAG_ALIAS( alias, spec ) \ + CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \ + CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \ + namespace{ Catch::RegistrarForTagAliases INTERNAL_CATCH_UNIQUE_NAME( AutoRegisterTagAlias )( alias, spec, CATCH_INTERNAL_LINEINFO ); } \ + CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION + +// end catch_tag_alias_autoregistrar.h +// start catch_test_registry.h + +// start catch_interfaces_testcase.h + +#include + +namespace Catch { + + class TestSpec; + + struct ITestInvoker { + virtual void invoke () const = 0; + virtual ~ITestInvoker(); + }; + + class TestCase; + struct IConfig; + + struct ITestCaseRegistry { + virtual ~ITestCaseRegistry(); + virtual std::vector const& getAllTests() const = 0; + virtual std::vector const& getAllTestsSorted( IConfig const& config ) const = 0; + }; + + bool isThrowSafe( TestCase const& testCase, IConfig const& config ); + bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ); + std::vector filterTests( std::vector const& testCases, TestSpec const& testSpec, IConfig const& config ); + std::vector const& getAllTestCasesSorted( IConfig const& config ); + +} + +// end catch_interfaces_testcase.h +// start catch_stringref.h + +#include +#include +#include +#include + +namespace Catch { + + /// A non-owning string class (similar to the forthcoming std::string_view) + /// Note that, because a StringRef may be a substring of another string, + /// it may not be null terminated. + class StringRef { + public: + using size_type = std::size_t; + using const_iterator = const char*; + + private: + static constexpr char const* const s_empty = ""; + + char const* m_start = s_empty; + size_type m_size = 0; + + public: // construction + constexpr StringRef() noexcept = default; + + StringRef( char const* rawChars ) noexcept; + + constexpr StringRef( char const* rawChars, size_type size ) noexcept + : m_start( rawChars ), + m_size( size ) + {} + + StringRef( std::string const& stdString ) noexcept + : m_start( stdString.c_str() ), + m_size( stdString.size() ) + {} + + explicit operator std::string() const { + return std::string(m_start, m_size); + } + + public: // operators + auto operator == ( StringRef const& other ) const noexcept -> bool; + auto operator != (StringRef const& other) const noexcept -> bool { + return !(*this == other); + } + + auto operator[] ( size_type index ) const noexcept -> char { + assert(index < m_size); + return m_start[index]; + } + + public: // named queries + constexpr auto empty() const noexcept -> bool { + return m_size == 0; + } + constexpr auto size() const noexcept -> size_type { + return m_size; + } + + // Returns the current start pointer. If the StringRef is not + // null-terminated, throws std::domain_exception + auto c_str() const -> char const*; + + public: // substrings and searches + // Returns a substring of [start, start + length). + // If start + length > size(), then the substring is [start, size()). + // If start > size(), then the substring is empty. + auto substr( size_type start, size_type length ) const noexcept -> StringRef; + + // Returns the current start pointer. May not be null-terminated. + auto data() const noexcept -> char const*; + + constexpr auto isNullTerminated() const noexcept -> bool { + return m_start[m_size] == '\0'; + } + + public: // iterators + constexpr const_iterator begin() const { return m_start; } + constexpr const_iterator end() const { return m_start + m_size; } + }; + + auto operator += ( std::string& lhs, StringRef const& sr ) -> std::string&; + auto operator << ( std::ostream& os, StringRef const& sr ) -> std::ostream&; + + constexpr auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef { + return StringRef( rawChars, size ); + } +} // namespace Catch + +constexpr auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::StringRef { + return Catch::StringRef( rawChars, size ); +} + +// end catch_stringref.h +// start catch_preprocessor.hpp + + +#define CATCH_RECURSION_LEVEL0(...) __VA_ARGS__ +#define CATCH_RECURSION_LEVEL1(...) CATCH_RECURSION_LEVEL0(CATCH_RECURSION_LEVEL0(CATCH_RECURSION_LEVEL0(__VA_ARGS__))) +#define CATCH_RECURSION_LEVEL2(...) CATCH_RECURSION_LEVEL1(CATCH_RECURSION_LEVEL1(CATCH_RECURSION_LEVEL1(__VA_ARGS__))) +#define CATCH_RECURSION_LEVEL3(...) CATCH_RECURSION_LEVEL2(CATCH_RECURSION_LEVEL2(CATCH_RECURSION_LEVEL2(__VA_ARGS__))) +#define CATCH_RECURSION_LEVEL4(...) CATCH_RECURSION_LEVEL3(CATCH_RECURSION_LEVEL3(CATCH_RECURSION_LEVEL3(__VA_ARGS__))) +#define CATCH_RECURSION_LEVEL5(...) CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(__VA_ARGS__))) + +#ifdef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR +#define INTERNAL_CATCH_EXPAND_VARGS(...) __VA_ARGS__ +// MSVC needs more evaluations +#define CATCH_RECURSION_LEVEL6(...) CATCH_RECURSION_LEVEL5(CATCH_RECURSION_LEVEL5(CATCH_RECURSION_LEVEL5(__VA_ARGS__))) +#define CATCH_RECURSE(...) CATCH_RECURSION_LEVEL6(CATCH_RECURSION_LEVEL6(__VA_ARGS__)) +#else +#define CATCH_RECURSE(...) CATCH_RECURSION_LEVEL5(__VA_ARGS__) +#endif + +#define CATCH_REC_END(...) +#define CATCH_REC_OUT + +#define CATCH_EMPTY() +#define CATCH_DEFER(id) id CATCH_EMPTY() + +#define CATCH_REC_GET_END2() 0, CATCH_REC_END +#define CATCH_REC_GET_END1(...) CATCH_REC_GET_END2 +#define CATCH_REC_GET_END(...) CATCH_REC_GET_END1 +#define CATCH_REC_NEXT0(test, next, ...) next CATCH_REC_OUT +#define CATCH_REC_NEXT1(test, next) CATCH_DEFER ( CATCH_REC_NEXT0 ) ( test, next, 0) +#define CATCH_REC_NEXT(test, next) CATCH_REC_NEXT1(CATCH_REC_GET_END test, next) + +#define CATCH_REC_LIST0(f, x, peek, ...) , f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ ) +#define CATCH_REC_LIST1(f, x, peek, ...) , f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0) ) ( f, peek, __VA_ARGS__ ) +#define CATCH_REC_LIST2(f, x, peek, ...) f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ ) + +#define CATCH_REC_LIST0_UD(f, userdata, x, peek, ...) , f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ ) +#define CATCH_REC_LIST1_UD(f, userdata, x, peek, ...) , f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0_UD) ) ( f, userdata, peek, __VA_ARGS__ ) +#define CATCH_REC_LIST2_UD(f, userdata, x, peek, ...) f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ ) + +// Applies the function macro `f` to each of the remaining parameters, inserts commas between the results, +// and passes userdata as the first parameter to each invocation, +// e.g. CATCH_REC_LIST_UD(f, x, a, b, c) evaluates to f(x, a), f(x, b), f(x, c) +#define CATCH_REC_LIST_UD(f, userdata, ...) CATCH_RECURSE(CATCH_REC_LIST2_UD(f, userdata, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) + +#define CATCH_REC_LIST(f, ...) CATCH_RECURSE(CATCH_REC_LIST2(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) + +#define INTERNAL_CATCH_EXPAND1(param) INTERNAL_CATCH_EXPAND2(param) +#define INTERNAL_CATCH_EXPAND2(...) INTERNAL_CATCH_NO## __VA_ARGS__ +#define INTERNAL_CATCH_DEF(...) INTERNAL_CATCH_DEF __VA_ARGS__ +#define INTERNAL_CATCH_NOINTERNAL_CATCH_DEF +#define INTERNAL_CATCH_STRINGIZE(...) INTERNAL_CATCH_STRINGIZE2(__VA_ARGS__) +#ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR +#define INTERNAL_CATCH_STRINGIZE2(...) #__VA_ARGS__ +#define INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS(param) INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_REMOVE_PARENS(param)) +#else +// MSVC is adding extra space and needs another indirection to expand INTERNAL_CATCH_NOINTERNAL_CATCH_DEF +#define INTERNAL_CATCH_STRINGIZE2(...) INTERNAL_CATCH_STRINGIZE3(__VA_ARGS__) +#define INTERNAL_CATCH_STRINGIZE3(...) #__VA_ARGS__ +#define INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS(param) (INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_REMOVE_PARENS(param)) + 1) +#endif + +#define INTERNAL_CATCH_MAKE_NAMESPACE2(...) ns_##__VA_ARGS__ +#define INTERNAL_CATCH_MAKE_NAMESPACE(name) INTERNAL_CATCH_MAKE_NAMESPACE2(name) + +#define INTERNAL_CATCH_REMOVE_PARENS(...) INTERNAL_CATCH_EXPAND1(INTERNAL_CATCH_DEF __VA_ARGS__) + +#ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR +#define INTERNAL_CATCH_MAKE_TYPE_LIST2(...) decltype(get_wrapper()) +#define INTERNAL_CATCH_MAKE_TYPE_LIST(...) INTERNAL_CATCH_MAKE_TYPE_LIST2(INTERNAL_CATCH_REMOVE_PARENS(__VA_ARGS__)) +#else +#define INTERNAL_CATCH_MAKE_TYPE_LIST2(...) INTERNAL_CATCH_EXPAND_VARGS(decltype(get_wrapper())) +#define INTERNAL_CATCH_MAKE_TYPE_LIST(...) INTERNAL_CATCH_EXPAND_VARGS(INTERNAL_CATCH_MAKE_TYPE_LIST2(INTERNAL_CATCH_REMOVE_PARENS(__VA_ARGS__))) +#endif + +#define INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES(...)\ + CATCH_REC_LIST(INTERNAL_CATCH_MAKE_TYPE_LIST,__VA_ARGS__) + +#define INTERNAL_CATCH_REMOVE_PARENS_1_ARG(_0) INTERNAL_CATCH_REMOVE_PARENS(_0) +#define INTERNAL_CATCH_REMOVE_PARENS_2_ARG(_0, _1) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_1_ARG(_1) +#define INTERNAL_CATCH_REMOVE_PARENS_3_ARG(_0, _1, _2) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_2_ARG(_1, _2) +#define INTERNAL_CATCH_REMOVE_PARENS_4_ARG(_0, _1, _2, _3) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_3_ARG(_1, _2, _3) +#define INTERNAL_CATCH_REMOVE_PARENS_5_ARG(_0, _1, _2, _3, _4) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_4_ARG(_1, _2, _3, _4) +#define INTERNAL_CATCH_REMOVE_PARENS_6_ARG(_0, _1, _2, _3, _4, _5) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_5_ARG(_1, _2, _3, _4, _5) +#define INTERNAL_CATCH_REMOVE_PARENS_7_ARG(_0, _1, _2, _3, _4, _5, _6) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_6_ARG(_1, _2, _3, _4, _5, _6) +#define INTERNAL_CATCH_REMOVE_PARENS_8_ARG(_0, _1, _2, _3, _4, _5, _6, _7) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_7_ARG(_1, _2, _3, _4, _5, _6, _7) +#define INTERNAL_CATCH_REMOVE_PARENS_9_ARG(_0, _1, _2, _3, _4, _5, _6, _7, _8) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_8_ARG(_1, _2, _3, _4, _5, _6, _7, _8) +#define INTERNAL_CATCH_REMOVE_PARENS_10_ARG(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_9_ARG(_1, _2, _3, _4, _5, _6, _7, _8, _9) +#define INTERNAL_CATCH_REMOVE_PARENS_11_ARG(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_10_ARG(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10) + +#define INTERNAL_CATCH_VA_NARGS_IMPL(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N + +#define INTERNAL_CATCH_TYPE_GEN\ + template struct TypeList {};\ + template\ + constexpr auto get_wrapper() noexcept -> TypeList { return {}; }\ + template class...> struct TemplateTypeList{};\ + template class...Cs>\ + constexpr auto get_wrapper() noexcept -> TemplateTypeList { return {}; }\ + template\ + struct append;\ + template\ + struct rewrap;\ + template class, typename...>\ + struct create;\ + template class, typename>\ + struct convert;\ + \ + template \ + struct append { using type = T; };\ + template< template class L1, typename...E1, template class L2, typename...E2, typename...Rest>\ + struct append, L2, Rest...> { using type = typename append, Rest...>::type; };\ + template< template class L1, typename...E1, typename...Rest>\ + struct append, TypeList, Rest...> { using type = L1; };\ + \ + template< template class Container, template class List, typename...elems>\ + struct rewrap, List> { using type = TypeList>; };\ + template< template class Container, template class List, class...Elems, typename...Elements>\ + struct rewrap, List, Elements...> { using type = typename append>, typename rewrap, Elements...>::type>::type; };\ + \ + template