Browse Source

Update minetest.conf.example and dummy translation file

nephele-craftmethods
updatepo.sh 12 months ago
committed by sfan5
parent
commit
cb807b26e2
  1. 160
      minetest.conf.example
  2. 58
      src/settings_translation_file.cpp

160
minetest.conf.example

@ -75,10 +75,10 @@
# type: bool
# always_fly_fast = true
# The time in seconds it takes between repeated right clicks when holding the right
# mouse button.
# The time in seconds it takes between repeated node placements when holding
# the place button.
# type: float min: 0.001
# repeat_rightclick_time = 0.25
# repeat_place_time = 0.25
# Automatically jump up single-node obstacles.
# type: bool
@ -130,6 +130,7 @@
# repeat_joystick_button_time = 0.17
# The deadzone of the joystick
# type: int
# joystick_deadzone = 2048
# The sensitivity of the joystick axes for moving the
@ -169,6 +170,16 @@
# type: key
# keymap_sneak = KEY_LSHIFT
# Key for digging.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
# keymap_dig = KEY_LBUTTON
# Key for placing.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
# keymap_place = KEY_RBUTTON
# Key for opening the inventory.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
@ -572,8 +583,13 @@
# type: int
# texture_min_size = 64
# Experimental option, might cause visible spaces between blocks
# when set to higher number than 0.
# Use multi-sample antialiasing (MSAA) to smooth out block edges.
# This algorithm smooths out the 3D viewport while keeping the image sharp,
# but it doesn't affect the insides of textures
# (which is especially noticeable with transparent textures).
# Visible spaces appear between nodes when shaders are disabled.
# If set to 0, MSAA is disabled.
# A restart is required after changing this option.
# type: enum values: 0, 1, 2, 4, 8, 16
# fsaa = 0
@ -605,37 +621,6 @@
# type: bool
# tone_mapping = false
#### Bumpmapping
# Enables bumpmapping for textures. Normalmaps need to be supplied by the texture pack.
# Requires shaders to be enabled.
# type: bool
# enable_bumpmapping = false
#### Parallax Occlusion
# Enables parallax occlusion mapping.
# Requires shaders to be enabled.
# type: bool
# enable_parallax_occlusion = false
# 0 = parallax occlusion with slope information (faster).
# 1 = relief mapping (slower, more accurate).
# type: int min: 0 max: 1
# parallax_occlusion_mode = 1
# Number of parallax occlusion iterations.
# type: int
# parallax_occlusion_iterations = 4
# Overall scale of parallax occlusion effect.
# type: float
# parallax_occlusion_scale = 0.08
# Overall bias of parallax occlusion effect, usually scale/2.
# type: float
# parallax_occlusion_bias = 0.04
#### Waving Nodes
# Set to true to enable waving liquids (like water).
@ -684,9 +669,9 @@
# type: int min: 1
# fps_max = 60
# Maximum FPS when game is paused.
# Maximum FPS when the window is not focused, or when the game is paused.
# type: int min: 1
# pause_fps_max = 20
# fps_max_unfocused = 20
# Open the pause menu when the window's focus is lost. Does not pause if a formspec is
# open.
@ -695,7 +680,7 @@
# View distance in nodes.
# type: int min: 20 max: 4000
# viewing_range = 100
# viewing_range = 190
# Camera 'near clipping plane' distance in nodes, between 0 and 0.25
# Only works on GLES platforms. Most users will not need to change this.
@ -774,8 +759,8 @@
# The rendering back-end for Irrlicht.
# A restart is required after changing this.
# Note: On Android, stick with OGLES1 if unsure! App may fail to start otherwise.
# On other platforms, OpenGL is recommended, and it’s the only driver with
# shader support currently.
# 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
# video_driver = opengl
@ -848,10 +833,12 @@
# selectionbox_width = 2
# Crosshair color (R,G,B).
# Also controls the object crosshair color
# type: string
# crosshair_color = (255,255,255)
# Crosshair alpha (opaqueness, between 0 and 255).
# Also controls the object crosshair color
# type: int min: 0 max: 255
# crosshair_alpha = 255
@ -1181,7 +1168,7 @@
# Maximum number of mapblocks for client to be kept in memory.
# Set to -1 for unlimited amount.
# type: int
# client_mapblock_limit = 5000
# client_mapblock_limit = 7500
# Whether to show the client debug info (has the same effect as hitting F5).
# type: bool
@ -1269,6 +1256,14 @@
# 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
# 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
## Game
# Default game when creating a new world.
@ -1383,7 +1378,7 @@
# to maintain active objects up to this distance in the direction the
# player is looking. (This can avoid mobs suddenly disappearing from view)
# type: int
# active_object_send_range_blocks = 4
# active_object_send_range_blocks = 8
# The radius of the volume of blocks around every player that is subject to the
# active block stuff, stated in mapblocks (16 nodes).
@ -1391,11 +1386,11 @@
# This is also the minimum range in which active objects (mobs) are maintained.
# This should be configured together with active_object_send_range_blocks.
# type: int
# active_block_range = 3
# active_block_range = 4
# From how far blocks are sent to clients, stated in mapblocks (16 nodes).
# type: int
# max_block_send_distance = 10
# max_block_send_distance = 12
# Maximum number of forceloaded mapblocks.
# type: int
@ -1488,11 +1483,11 @@
### Advanced
# Handling for deprecated Lua API calls:
# - legacy: (try to) mimic old behaviour (default for release).
# - log: mimic and log backtrace of deprecated call (default for debug).
# - none: Do not log deprecated calls
# - log: mimic and log backtrace of deprecated call (default).
# - error: abort on usage of deprecated call (suggested for mod developers).
# type: enum values: legacy, log, error
# deprecated_lua_api_handling = legacy
# type: enum values: none, log, error
# 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
@ -1513,6 +1508,14 @@
# 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
# 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
# Length of a server tick and the interval at which objects are generally updated over
# network.
# type: float
@ -1526,6 +1529,11 @@
# type: float
# abm_interval = 1.0
# The time budget allowed for ABMs to execute on each step
# (as a fraction of the ABM Interval)
# type: float min: 0.1 max: 0.9
# abm_time_budget = 0.2
# Length of time between NodeTimer execution cycles
# type: float
# nodetimer_interval = 0.2
@ -1722,13 +1730,6 @@
# type: bool
# high_precision_fpu = true
# Changes the main menu UI:
# - Full: Multiple singleplayer worlds, game choice, texture pack chooser, etc.
# - Simple: One singleplayer world, no game or texture pack choosers. May be
# necessary for smaller screens.
# type: enum values: full, simple
# main_menu_style = full
# Replaces the default main menu with a custom one.
# type: string
# main_menu_script =
@ -1755,7 +1756,7 @@
# From how far blocks are generated for clients, stated in mapblocks (16 nodes).
# type: int
# max_block_generate_distance = 8
# max_block_generate_distance = 10
# Limit of map generation, in nodes, in all 6 directions from (0, 0, 0).
# Only mapchunks completely within the mapgen limit are generated.
@ -1766,8 +1767,8 @@
# 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.
# type: flags possible values: caves, dungeons, light, decorations, biomes, nocaves, nodungeons, nolight, nodecorations, nobiomes
# mg_flags = caves,dungeons,light,decorations,biomes
# type: flags possible values: caves, dungeons, light, decorations, biomes, ores, nocaves, nodungeons, nolight, nodecorations, nobiomes, noores
# mg_flags = caves,dungeons,light,decorations,biomes,ores
## Biome API temperature and humidity noise parameters
@ -2753,8 +2754,8 @@
# Map generation attributes specific to Mapgen Flat.
# Occasional lakes and hills can be added to the flat world.
# type: flags possible values: lakes, hills, nolakes, nohills
# mgflat_spflags = nolakes,nohills
# type: flags possible values: lakes, hills, caverns, nolakes, nohills, nocaverns
# mgflat_spflags = nolakes,nohills,nocaverns
# Y of flat ground.
# type: int
@ -2810,6 +2811,18 @@
# type: float
# mgflat_hill_steepness = 64.0
# Y-level of cavern upper limit.
# type: int
# mgflat_cavern_limit = -256
# Y-distance over which caverns expand to full size.
# type: int
# mgflat_cavern_taper = 256
# Defines full size of caverns, smaller values create larger caverns.
# type: float
# mgflat_cavern_threshold = 0.7
# Lower Y limit of dungeons.
# type: int
# mgflat_dungeon_ymin = -31000
@ -2872,6 +2885,19 @@
# flags =
# }
# 3D noise defining giant caverns.
# type: noise_params_3d
# mgflat_np_cavern = {
# offset = 0,
# scale = 1,
# spread = (384, 128, 384),
# seed = 723,
# octaves = 5,
# persistence = 0.63,
# lacunarity = 2.0,
# flags =
# }
# 3D noise that determines number of dungeons per mapchunk.
# type: noise_params_3d
# mgflat_np_dungeons = {
@ -3322,17 +3348,17 @@
# Maximum number of blocks that can be queued for loading.
# type: int
# emergequeue_limit_total = 512
# 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
# emergequeue_limit_diskonly = 64
# emergequeue_limit_diskonly = 128
# Maximum number of blocks to be queued that are to be generated.
# This limit is enforced per player.
# type: int
# emergequeue_limit_generate = 64
# emergequeue_limit_generate = 128
# Number of emerge threads to use.
# Value 0:
@ -3363,3 +3389,9 @@
# so see a full list at https://content.minetest.net/help/content_flags/
# type: string
# contentdb_flag_blacklist = nonfree, desktop_default
# Maximum number of concurrent downloads. Downloads exceeding this limit will be queued.
# This should be lower than curl_parallel_limit.
# type: int
# contentdb_max_concurrent_downloads = 3

58
src/settings_translation_file.cpp

@ -30,8 +30,8 @@ fake_function() {
gettext("Double-tapping the jump key toggles fly mode.");
gettext("Always fly and fast");
gettext("If disabled, \"special\" key is used to fly fast if both fly and fast mode are\nenabled.");
gettext("Rightclick repetition interval");
gettext("The time in seconds it takes between repeated right clicks when holding the right\nmouse button.");
gettext("Place repetition interval");
gettext("The time in seconds it takes between repeated node placements when holding\nthe place button.");
gettext("Automatic jumping");
gettext("Automatically jump up single-node obstacles.");
gettext("Safe digging and placing");
@ -54,6 +54,8 @@ 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 frustum sensitivity");
gettext("The sensitivity of the joystick axes for moving the\ningame view frustum around.");
gettext("Forward key");
@ -68,6 +70,10 @@ fake_function() {
gettext("Key for jumping.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
gettext("Sneak key");
gettext("Key for sneaking.\nAlso used for climbing down and descending in water if aux1_descends is disabled.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
gettext("Dig key");
gettext("Key for digging.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
gettext("Place key");
gettext("Key for placing.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
gettext("Inventory key");
gettext("Key for opening the inventory.\nSee http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3");
gettext("Special key");
@ -229,7 +235,7 @@ fake_function() {
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. Setting this higher than 1 may not\nhave a visible effect unless bilinear/trilinear/anisotropic filtering is\nenabled.\nThis is also used as the base node texture size for world-aligned\ntexture autoscaling.");
gettext("FSAA");
gettext("Experimental option, might cause visible spaces between blocks\nwhen set to higher number than 0.");
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");
gettext("Undersampling is similar to using a lower screen resolution, but it applies\nto the game world only, keeping the GUI intact.\nIt should give a significant performance boost at the cost of less detailed image.\nHigher values result in a less detailed image.");
gettext("Shaders");
@ -240,20 +246,6 @@ fake_function() {
gettext("Tone Mapping");
gettext("Filmic tone mapping");
gettext("Enables Hable's 'Uncharted 2' filmic tone mapping.\nSimulates the tone curve of photographic film and how this approximates the\nappearance of high dynamic range images. Mid-range contrast is slightly\nenhanced, highlights and shadows are gradually compressed.");
gettext("Bumpmapping");
gettext("Bumpmapping");
gettext("Enables bumpmapping for textures. Normalmaps need to be supplied by the texture pack.\nRequires shaders to be enabled.");
gettext("Parallax Occlusion");
gettext("Parallax occlusion");
gettext("Enables parallax occlusion mapping.\nRequires shaders to be enabled.");
gettext("Parallax occlusion mode");
gettext("0 = parallax occlusion with slope information (faster).\n1 = relief mapping (slower, more accurate).");
gettext("Parallax occlusion iterations");
gettext("Number of parallax occlusion iterations.");
gettext("Parallax occlusion scale");
gettext("Overall scale of parallax occlusion effect.");
gettext("Parallax occlusion bias");
gettext("Overall bias of parallax occlusion effect, usually scale/2.");
gettext("Waving Nodes");
gettext("Waving liquids");
gettext("Set to true to enable waving liquids (like water).\nRequires shaders to be enabled.");
@ -272,8 +264,8 @@ fake_function() {
gettext("Arm inertia, gives a more realistic movement of\nthe arm when the camera moves.");
gettext("Maximum FPS");
gettext("If FPS would go higher than this, limit it by sleeping\nto not waste CPU power for no benefit.");
gettext("FPS in pause menu");
gettext("Maximum FPS when game is paused.");
gettext("FPS when unfocused or paused");
gettext("Maximum FPS when the window is not focused, or when the game is paused.");
gettext("Pause on lost window focus");
gettext("Open the pause menu when the window's focus is lost. Does not pause if a formspec is\nopen.");
gettext("Viewing range");
@ -309,7 +301,7 @@ fake_function() {
gettext("Texture path");
gettext("Path to texture directory. All textures are first searched from here.");
gettext("Video driver");
gettext("The rendering back-end for Irrlicht.\nA restart is required after changing this.\nNote: On Android, stick with OGLES1 if unsure! App may fail to start otherwise.\nOn other platforms, OpenGL is recommended, and it’s the only driver with\nshader support currently.");
gettext("The rendering back-end for Irrlicht.\nA restart is required after changing this.\nNote: On Android, stick with OGLES1 if unsure! App may fail to start otherwise.\nOn other platforms, OpenGL is recommended.\nShaders are supported by OpenGL (desktop only) and OGLES2 (experimental)");
gettext("Cloud radius");
gettext("Radius of cloud area stated in number of 64 node cloud squares.\nValues larger than 26 will start to produce sharp cutoffs at cloud area corners.");
gettext("View bobbing factor");
@ -339,9 +331,9 @@ fake_function() {
gettext("Selection box width");
gettext("Width of the selection box lines around nodes.");
gettext("Crosshair color");
gettext("Crosshair color (R,G,B).");
gettext("Crosshair color (R,G,B).\nAlso controls the object crosshair color");
gettext("Crosshair alpha");
gettext("Crosshair alpha (opaqueness, between 0 and 255).");
gettext("Crosshair alpha (opaqueness, between 0 and 255).\nAlso controls the object crosshair color");
gettext("Recent Chat Messages");
gettext("Maximum number of recent chat messages to show");
gettext("Desynchronize block animation");
@ -377,7 +369,7 @@ fake_function() {
gettext("Autoscaling mode");
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");
gettext("Show entity selection boxes\nA restart is required after changing this.");
gettext("Menus");
gettext("Clouds in menu");
gettext("Use a cloud animation for the main menu background.");
@ -503,6 +495,8 @@ fake_function() {
gettext("To reduce lag, block transfers are slowed down when a player is building something.\nThis determines how long they are slowed down after placing or removing a node.");
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("Game");
gettext("Default game");
gettext("Default game when creating a new world.\nThis will be overridden when creating a world from the main menu.");
@ -601,7 +595,7 @@ fake_function() {
gettext("Acceleration of gravity, in nodes per second per second.");
gettext("Advanced");
gettext("Deprecated Lua API handling");
gettext("Handling for deprecated Lua API calls:\n- legacy: (try to) mimic old behaviour (default for release).\n- log: mimic and log backtrace of deprecated call (default for debug).\n- error: abort on usage of deprecated call (suggested for mod developers).");
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("Unload unused server data");
@ -610,12 +604,16 @@ fake_function() {
gettext("Maximum number of statically stored objects in a block.");
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("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");
gettext("Length of time between active block management cycles");
gettext("ABM interval");
gettext("Length of time between Active Block Modifier (ABM) execution cycles");
gettext("ABM time budget");
gettext("The time budget allowed for ABMs to execute on each step\n(as a fraction of the ABM Interval)");
gettext("NodeTimer interval");
gettext("Length of time between NodeTimer execution cycles");
gettext("Ignore world errors");
@ -687,8 +685,6 @@ fake_function() {
gettext("Maximum time in ms a file download (e.g. a mod download) may take.");
gettext("High-precision FPU");
gettext("Makes DirectX work with LuaJIT. Disable if it causes troubles.");
gettext("Main menu style");
gettext("Changes the main menu UI:\n- Full: Multiple singleplayer worlds, game choice, texture pack chooser, etc.\n- Simple: One singleplayer world, no game or texture pack choosers. May be\nnecessary for smaller screens.");
gettext("Main menu script");
gettext("Replaces the default main menu with a custom one.");
gettext("Engine profiling data print interval");
@ -958,6 +954,12 @@ fake_function() {
gettext("Terrain noise threshold for hills.\nControls proportion of world area covered by hills.\nAdjust towards 0.0 for a larger proportion.");
gettext("Hill steepness");
gettext("Controls steepness/height of hills.");
gettext("Cavern limit");
gettext("Y-level of cavern upper limit.");
gettext("Cavern taper");
gettext("Y-distance over which caverns expand to full size.");
gettext("Cavern threshold");
gettext("Defines full size of caverns, smaller values create larger caverns.");
gettext("Dungeon minimum Y");
gettext("Lower Y limit of dungeons.");
gettext("Dungeon maximum Y");
@ -971,6 +973,8 @@ fake_function() {
gettext("First of two 3D noises that together define tunnels.");
gettext("Cave2 noise");
gettext("Second of two 3D noises that together define tunnels.");
gettext("Cavern noise");
gettext("3D noise defining giant caverns.");
gettext("Dungeon noise");
gettext("3D noise that determines number of dungeons per mapchunk.");
gettext("Mapgen Fractal");
@ -1097,4 +1101,6 @@ fake_function() {
gettext("The URL for the content repository");
gettext("ContentDB Flag Blacklist");
gettext("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',\nas defined by the Free Software Foundation.\nYou can also specify content ratings.\nThese flags are independent from Minetest versions,\nso see a full list at https://content.minetest.net/help/content_flags/");
gettext("ContentDB Max Concurrent Downloads");
gettext("Maximum number of concurrent downloads. Downloads exceeding this limit will be queued.\nThis should be lower than curl_parallel_limit.");
}

Loading…
Cancel
Save