Merge remote branch 'origin/master'

This commit is contained in:
Weblate 2013-02-02 21:34:12 +04:00
commit 1d248cce30
22 changed files with 2495 additions and 483 deletions

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.0.0\n" "Project-Id-Version: 0.0.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-01-23 18:24+0200\n" "POT-Creation-Date: 2013-01-30 20:25+0100\n"
"PO-Revision-Date: 2011-08-02 00:31+0100\n" "PO-Revision-Date: 2011-08-02 00:31+0100\n"
"Last-Translator: Frederik Helth <Guides@live.dk>\n" "Last-Translator: Frederik Helth <Guides@live.dk>\n"
"Language-Team: \n" "Language-Team: \n"
@ -16,36 +16,36 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
#, fuzzy #, fuzzy
msgid "Enable All" msgid "Enable All"
msgstr "Tag imod skade" msgstr "Tag imod skade"
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "" msgstr ""
@ -125,6 +125,75 @@ msgstr ""
msgid "press key" msgid "press key"
msgstr "Tryk knap" msgstr "Tryk knap"
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr "Frem"
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr "Tilbage"
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr "Venstre"
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr "Højre"
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr "Brug"
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr "Hop"
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr "Snig"
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr "Ting"
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr "Chat"
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr "Flyvning"
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr "Hurtig flyvning"
#: src/guiKeyChangeMenu.cpp:386
#, fuzzy
msgid "Toggle noclip"
msgstr "Flyvning"
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr "Afstands load"
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr "Print stykker"
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "" msgstr ""
@ -466,18 +535,10 @@ msgstr "Ned"
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Left"
msgstr "Venstre"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Right"
msgstr "Højre"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "Vælge" msgstr "Vælge"
@ -679,36 +740,3 @@ msgstr ""
#~ msgid "Delete map" #~ msgid "Delete map"
#~ msgstr "Slet mappen" #~ msgstr "Slet mappen"
#~ msgid "Print stacks"
#~ msgstr "Print stykker"
#~ msgid "Range select"
#~ msgstr "Afstands load"
#~ msgid "Toggle fast"
#~ msgstr "Hurtig flyvning"
#~ msgid "Toggle fly"
#~ msgstr "Flyvning"
#~ msgid "Chat"
#~ msgstr "Chat"
#~ msgid "Inventory"
#~ msgstr "Ting"
#~ msgid "Jump"
#~ msgstr "Hop"
#~ msgid "Sneak"
#~ msgstr "Snig"
#~ msgid "Use"
#~ msgstr "Brug"
#~ msgid "Backward"
#~ msgstr "Tilbage"
#~ msgid "Forward"
#~ msgstr "Frem"

@ -18,7 +18,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Weblate 1.4-dev\n" "X-Generator: Weblate 1.4-dev\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
@ -26,7 +26,7 @@ msgstr ""
"Warnung: Einige Mods sind noch nicht konfiguriert.\n" "Warnung: Einige Mods sind noch nicht konfiguriert.\n"
"Sie werden aktiviert wenn die Konfiguration gespeichert wird. " "Sie werden aktiviert wenn die Konfiguration gespeichert wird. "
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
@ -34,23 +34,23 @@ msgstr ""
"Warnung: Einige konfigurierte Mods fehlen.\n" "Warnung: Einige konfigurierte Mods fehlen.\n"
"Mod Einstellungen werden gelöscht wenn die Konfiguration gespeichert wird. " "Mod Einstellungen werden gelöscht wenn die Konfiguration gespeichert wird. "
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "Aktiviert" msgstr "Aktiviert"
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
msgid "Enable All" msgid "Enable All"
msgstr "Alle an" msgstr "Alle an"
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "Alle aus" msgstr "Alle aus"
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "abhängig von:" msgstr "abhängig von:"
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "wird benötigt von:" msgstr "wird benötigt von:"
@ -128,13 +128,84 @@ msgstr "Taste bereits in Benutzung"
msgid "press key" msgid "press key"
msgstr "Taste drücken" msgstr "Taste drücken"
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr "Vorwärts"
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr "Rückwärts"
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr "Links"
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr "Rechts"
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr "Benutzen"
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr "Springen"
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr "Kriechen"
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr "Inventar"
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr "Chat"
#: src/guiKeyChangeMenu.cpp:382
#, fuzzy
msgid "Command"
msgstr "Komma"
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr "Fliegen umsch."
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr "Speed umsch."
#: src/guiKeyChangeMenu.cpp:386
#, fuzzy
msgid "Toggle noclip"
msgstr "Fliegen umsch."
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr "Entfernung wählen"
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr "Stack ausgeben"
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "Kann Welt nicht erstellen: Name enthält ungülige Zeichen" msgstr "Kann Welt nicht erstellen: Name enthält ungülige Zeichen"
#: src/guiMainMenu.cpp:64 #: src/guiMainMenu.cpp:64
msgid "Cannot create world: A world by this name already exists" msgid "Cannot create world: A world by this name already exists"
msgstr "Kann Welt nicht erstellen: Eine Welt mit diesem Namen existiert bereits" msgstr ""
"Kann Welt nicht erstellen: Eine Welt mit diesem Namen existiert bereits"
#: src/guiMainMenu.cpp:245 #: src/guiMainMenu.cpp:245
msgid "Singleplayer" msgid "Singleplayer"
@ -473,18 +544,10 @@ msgstr "Runter"
msgid "Execute" msgid "Execute"
msgstr "Ausführen" msgstr "Ausführen"
#: src/keycode.cpp:228
msgid "Left"
msgstr "Links"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "Druck" msgstr "Druck"
#: src/keycode.cpp:228
msgid "Right"
msgstr "Rechts"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "Selektiere" msgstr "Selektiere"
@ -685,41 +748,8 @@ msgstr ""
"\n" "\n"
"Siehe debug.txt für Details." "Siehe debug.txt für Details."
#~ msgid "Delete map"
#~ msgstr "Karte löschen"
#~ msgid "Print stacks"
#~ msgstr "Stack ausgeben"
#~ msgid "Range select"
#~ msgstr "Entfernung wählen"
#~ msgid "Toggle fast"
#~ msgstr "Speed umsch."
#~ msgid "Toggle fly"
#~ msgstr "Fliegen umsch."
#~ msgid "Chat"
#~ msgstr "Chat"
#~ msgid "Inventory"
#~ msgstr "Inventar"
#~ msgid "Jump"
#~ msgstr "Springen"
#~ msgid "Sneak"
#~ msgstr "Kriechen"
#~ msgid "Use"
#~ msgstr "Benutzen"
#~ msgid "Backward"
#~ msgstr "Rückwärts"
#~ msgid "Forward"
#~ msgstr "Vorwärts"
#~ msgid "KEYBINDINGS" #~ msgid "KEYBINDINGS"
#~ msgstr "TASTEN EINST." #~ msgstr "TASTEN EINST."
#~ msgid "Delete map"
#~ msgstr "Karte löschen"

@ -18,7 +18,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Weblate 1.4-dev\n" "X-Generator: Weblate 1.4-dev\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
@ -26,7 +26,7 @@ msgstr ""
"ADVERTENCIA: Algunos mods no están configurados todavía.\n" "ADVERTENCIA: Algunos mods no están configurados todavía.\n"
"Se habilitará de forma predeterminada al guardar la configuración. " "Se habilitará de forma predeterminada al guardar la configuración. "
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
@ -34,23 +34,23 @@ msgstr ""
"ADVERTENCIA: Algunos mods configurados faltan.\n" "ADVERTENCIA: Algunos mods configurados faltan.\n"
"Su ajuste se quitará cuando se guarda la configuración. " "Su ajuste se quitará cuando se guarda la configuración. "
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "Activado" msgstr "Activado"
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
msgid "Enable All" msgid "Enable All"
msgstr "Activar todos" msgstr "Activar todos"
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "Deshabilitar" msgstr "Deshabilitar"
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "Dependencia:" msgstr "Dependencia:"
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "Requiere:" msgstr "Requiere:"
@ -131,6 +131,74 @@ msgstr "La tecla se esta utilizando"
msgid "press key" msgid "press key"
msgstr "Pulsa la tecla" msgstr "Pulsa la tecla"
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "No se puede crear el mundo: nombre contiene caracteres no válidos" msgstr "No se puede crear el mundo: nombre contiene caracteres no válidos"
@ -477,18 +545,10 @@ msgstr "Abajo"
msgid "Execute" msgid "Execute"
msgstr "Ejecutar" msgstr "Ejecutar"
#: src/keycode.cpp:228
msgid "Left"
msgstr "Izquierda"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "Captura" msgstr "Captura"
#: src/keycode.cpp:228
msgid "Right"
msgstr "Derecha"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "Seleccionar" msgstr "Seleccionar"

@ -18,36 +18,36 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Weblate 1.4-dev\n" "X-Generator: Weblate 1.4-dev\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
#, fuzzy #, fuzzy
msgid "Enable All" msgid "Enable All"
msgstr "Activer blessures" msgstr "Activer blessures"
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "dépend de:" msgstr "dépend de:"
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "" msgstr ""
@ -126,6 +126,74 @@ msgstr "Touche déjà utilisée"
msgid "press key" msgid "press key"
msgstr "" msgstr ""
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "" msgstr ""
@ -478,18 +546,10 @@ msgstr ""
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "" msgstr ""

@ -18,36 +18,36 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Weblate 1.4-dev\n" "X-Generator: Weblate 1.4-dev\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
#, fuzzy #, fuzzy
msgid "Enable All" msgid "Enable All"
msgstr "Attiva Danno" msgstr "Attiva Danno"
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "" msgstr ""
@ -127,6 +127,74 @@ msgstr ""
msgid "press key" msgid "press key"
msgstr "premi tasto" msgstr "premi tasto"
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr "Avanti"
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr "Indietro"
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr "Sinistra"
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr "Destra"
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr "Usa"
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr "Salta"
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr "Invetario"
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr "Parla"
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "" msgstr ""
@ -479,18 +547,10 @@ msgstr "Giù"
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Left"
msgstr "Sinistra"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "Stampa" msgstr "Stampa"
#: src/keycode.cpp:228
msgid "Right"
msgstr "Destra"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "" msgstr ""
@ -692,21 +752,3 @@ msgstr ""
#~ msgid "Delete map" #~ msgid "Delete map"
#~ msgstr "Cancella mappa" #~ msgstr "Cancella mappa"
#~ msgid "Chat"
#~ msgstr "Parla"
#~ msgid "Inventory"
#~ msgstr "Invetario"
#~ msgid "Jump"
#~ msgstr "Salta"
#~ msgid "Use"
#~ msgstr "Usa"
#~ msgid "Backward"
#~ msgstr "Indietro"
#~ msgid "Forward"
#~ msgstr "Avanti"

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: minetest\n" "Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-01-23 18:24+0200\n" "POT-Creation-Date: 2013-01-30 20:25+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,35 +17,35 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
msgid "Enable All" msgid "Enable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "" msgstr ""
@ -123,6 +123,74 @@ msgstr ""
msgid "press key" msgid "press key"
msgstr "" msgstr ""
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "" msgstr ""
@ -458,18 +526,10 @@ msgstr ""
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "" msgstr ""

@ -19,7 +19,7 @@ msgstr ""
"|| n%100>=20) ? 1 : 2);\n" "|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Weblate 1.4-dev\n" "X-Generator: Weblate 1.4-dev\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
@ -27,7 +27,7 @@ msgstr ""
"Ostrzeżenie: Niektóre z modyfikacji nie zostały jeszcze skonfigurowane.\n" "Ostrzeżenie: Niektóre z modyfikacji nie zostały jeszcze skonfigurowane.\n"
"Zostaną domyślnie włączone gdy zapiszesz konfigurację. " "Zostaną domyślnie włączone gdy zapiszesz konfigurację. "
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
@ -35,23 +35,23 @@ msgstr ""
"Ostrzeżenie: Niektóre z modyfikacji nie zostały znalezione.\n" "Ostrzeżenie: Niektóre z modyfikacji nie zostały znalezione.\n"
"Ich ustawienia zostaną usunięte gdy zapiszesz konfigurację. " "Ich ustawienia zostaną usunięte gdy zapiszesz konfigurację. "
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "włączone" msgstr "włączone"
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
msgid "Enable All" msgid "Enable All"
msgstr "Włącz wszystkie" msgstr "Włącz wszystkie"
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "Wyłącz wszystkie" msgstr "Wyłącz wszystkie"
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "zależne od:" msgstr "zależne od:"
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "wymagane przez:" msgstr "wymagane przez:"
@ -133,6 +133,74 @@ msgstr "Klawisz już zdefiniowany"
msgid "press key" msgid "press key"
msgstr "naciśnij klawisz" msgstr "naciśnij klawisz"
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "Nie można stworzyć świata: nazwa zawiera niedozwolone znaki" msgstr "Nie można stworzyć świata: nazwa zawiera niedozwolone znaki"
@ -479,18 +547,10 @@ msgstr "Dół"
msgid "Execute" msgid "Execute"
msgstr "Execute" msgstr "Execute"
#: src/keycode.cpp:228
msgid "Left"
msgstr "Lewo"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "Print" msgstr "Print"
#: src/keycode.cpp:228
msgid "Right"
msgstr "Prawo"
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "Select" msgstr "Select"

729
po/pt/minetest.po Normal file

@ -0,0 +1,729 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-01-30 20:25+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/guiConfigureWorld.cpp:125
msgid ""
"Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. "
msgstr ""
#: src/guiConfigureWorld.cpp:144
msgid ""
"Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. "
msgstr ""
#: src/guiConfigureWorld.cpp:208
msgid "enabled"
msgstr ""
#: src/guiConfigureWorld.cpp:215
msgid "Enable All"
msgstr ""
#: src/guiConfigureWorld.cpp:222
msgid "Disable All"
msgstr ""
#: src/guiConfigureWorld.cpp:228
msgid "depends on:"
msgstr ""
#: src/guiConfigureWorld.cpp:240
msgid "is required by:"
msgstr ""
#: src/guiConfigureWorld.cpp:262 src/guiCreateWorld.cpp:165
#: src/guiKeyChangeMenu.cpp:179 src/keycode.cpp:223
msgid "Cancel"
msgstr ""
#: src/guiConfigureWorld.cpp:268 src/guiKeyChangeMenu.cpp:173
msgid "Save"
msgstr ""
#: src/guiConfigureWorld.cpp:394
msgid "Configuration saved. "
msgstr ""
#: src/guiConfigureWorld.cpp:402
msgid "Warning: Configuration not consistent. "
msgstr ""
#: src/guiConfirmMenu.cpp:120
msgid "Yes"
msgstr ""
#: src/guiConfirmMenu.cpp:126
msgid "No"
msgstr ""
#: src/guiCreateWorld.cpp:116
msgid "World name"
msgstr ""
#: src/guiCreateWorld.cpp:135
msgid "Game"
msgstr ""
#: src/guiCreateWorld.cpp:159
msgid "Create"
msgstr ""
#: src/guiDeathScreen.cpp:96
msgid "You died."
msgstr ""
#: src/guiDeathScreen.cpp:104
msgid "Respawn"
msgstr ""
#: src/guiFormSpecMenu.cpp:572
msgid "Left click: Move all items, Right click: Move single item"
msgstr ""
#: src/guiFormSpecMenu.cpp:597 src/guiMessageMenu.cpp:109
#: src/guiTextInputMenu.cpp:123
msgid "Proceed"
msgstr ""
#: src/guiKeyChangeMenu.cpp:114
msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)"
msgstr ""
#: src/guiKeyChangeMenu.cpp:151
msgid "\"Use\" = climb down"
msgstr ""
#: src/guiKeyChangeMenu.cpp:164
msgid "Double tap \"jump\" to toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:269
msgid "Key already in use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:347
msgid "press key"
msgstr ""
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters"
msgstr ""
#: src/guiMainMenu.cpp:64
msgid "Cannot create world: A world by this name already exists"
msgstr ""
#: src/guiMainMenu.cpp:245
msgid "Singleplayer"
msgstr ""
#: src/guiMainMenu.cpp:246
msgid "Multiplayer"
msgstr ""
#: src/guiMainMenu.cpp:247
msgid "Advanced"
msgstr ""
#: src/guiMainMenu.cpp:248
msgid "Settings"
msgstr ""
#: src/guiMainMenu.cpp:249
msgid "Credits"
msgstr ""
#: src/guiMainMenu.cpp:280
msgid "Select World:"
msgstr ""
#: src/guiMainMenu.cpp:302 src/guiMainMenu.cpp:449 src/keycode.cpp:229
msgid "Delete"
msgstr ""
#: src/guiMainMenu.cpp:309
msgid "New"
msgstr ""
#: src/guiMainMenu.cpp:317
msgid "Configure"
msgstr ""
#: src/guiMainMenu.cpp:332 src/keycode.cpp:248
msgid "Play"
msgstr ""
#: src/guiMainMenu.cpp:343 src/guiMainMenu.cpp:557
msgid "Creative Mode"
msgstr ""
#: src/guiMainMenu.cpp:349 src/guiMainMenu.cpp:563
msgid "Enable Damage"
msgstr ""
#: src/guiMainMenu.cpp:369 src/guiMainMenu.cpp:479
msgid "Name/Password"
msgstr ""
#: src/guiMainMenu.cpp:408 src/guiMainMenu.cpp:506
msgid "Address/Port"
msgstr ""
#: src/guiMainMenu.cpp:435 src/guiMainMenu.cpp:1075
msgid "Show Public"
msgstr ""
#: src/guiMainMenu.cpp:439 src/guiMainMenu.cpp:1083
msgid "Show Favorites"
msgstr ""
#: src/guiMainMenu.cpp:459
msgid "Connect"
msgstr ""
#: src/guiMainMenu.cpp:529
msgid "Leave address blank to start a local server."
msgstr ""
#: src/guiMainMenu.cpp:538
msgid "Start Game / Connect"
msgstr ""
#: src/guiMainMenu.cpp:570 src/guiMainMenu.cpp:1006
msgid "Delete world"
msgstr ""
#: src/guiMainMenu.cpp:577
msgid "Create world"
msgstr ""
#: src/guiMainMenu.cpp:611
msgid "Fancy trees"
msgstr ""
#: src/guiMainMenu.cpp:617
msgid "Smooth Lighting"
msgstr ""
#: src/guiMainMenu.cpp:623
msgid "3D Clouds"
msgstr ""
#: src/guiMainMenu.cpp:629
msgid "Opaque water"
msgstr ""
#: src/guiMainMenu.cpp:639
msgid "Mip-Mapping"
msgstr ""
#: src/guiMainMenu.cpp:646
msgid "Anisotropic Filtering"
msgstr ""
#: src/guiMainMenu.cpp:653
msgid "Bi-Linear Filtering"
msgstr ""
#: src/guiMainMenu.cpp:660
msgid "Tri-Linear Filtering"
msgstr ""
#: src/guiMainMenu.cpp:668
msgid "Shaders"
msgstr ""
#: src/guiMainMenu.cpp:675
msgid "Preload item visuals"
msgstr ""
#: src/guiMainMenu.cpp:682
msgid "Enable Particles"
msgstr ""
#: src/guiMainMenu.cpp:692
msgid "Change keys"
msgstr ""
#: src/guiMainMenu.cpp:977
msgid "Address required."
msgstr ""
#: src/guiMainMenu.cpp:995
msgid "Cannot delete world: Nothing selected"
msgstr ""
#: src/guiMainMenu.cpp:1010
msgid "Files to be deleted"
msgstr ""
#: src/guiMainMenu.cpp:1026
msgid "Cannot create world: No games found"
msgstr ""
#: src/guiMainMenu.cpp:1042
msgid "Cannot configure world: Nothing selected"
msgstr ""
#: src/guiMainMenu.cpp:1146
msgid "Failed to delete all world files"
msgstr ""
#: src/guiPasswordChange.cpp:108
msgid "Old Password"
msgstr ""
#: src/guiPasswordChange.cpp:125
msgid "New Password"
msgstr ""
#: src/guiPasswordChange.cpp:141
msgid "Confirm Password"
msgstr ""
#: src/guiPasswordChange.cpp:158
msgid "Change"
msgstr ""
#: src/guiPasswordChange.cpp:167
msgid "Passwords do not match!"
msgstr ""
#: src/guiPauseMenu.cpp:118
msgid "Continue"
msgstr ""
#: src/guiPauseMenu.cpp:127
msgid "Change Password"
msgstr ""
#: src/guiPauseMenu.cpp:135
msgid "Exit to Menu"
msgstr ""
#: src/guiPauseMenu.cpp:142
msgid "Exit to OS"
msgstr ""
#: src/guiPauseMenu.cpp:149
msgid ""
"Default Controls:\n"
"- WASD: Walk\n"
"- Mouse left: dig/hit\n"
"- Mouse right: place/use\n"
"- Mouse wheel: select item\n"
"- 0...9: select item\n"
"- Shift: sneak\n"
"- R: Toggle viewing all loaded chunks\n"
"- I: Inventory menu\n"
"- ESC: This menu\n"
"- T: Chat\n"
msgstr ""
#: src/keycode.cpp:223
msgid "Left Button"
msgstr ""
#: src/keycode.cpp:223
msgid "Middle Button"
msgstr ""
#: src/keycode.cpp:223
msgid "Right Button"
msgstr ""
#: src/keycode.cpp:223
msgid "X Button 1"
msgstr ""
#: src/keycode.cpp:224
msgid "Back"
msgstr ""
#: src/keycode.cpp:224
msgid "Clear"
msgstr ""
#: src/keycode.cpp:224
msgid "Return"
msgstr ""
#: src/keycode.cpp:224
msgid "Tab"
msgstr ""
#: src/keycode.cpp:224
msgid "X Button 2"
msgstr ""
#: src/keycode.cpp:225
msgid "Capital"
msgstr ""
#: src/keycode.cpp:225
msgid "Control"
msgstr ""
#: src/keycode.cpp:225
msgid "Kana"
msgstr ""
#: src/keycode.cpp:225
msgid "Menu"
msgstr ""
#: src/keycode.cpp:225
msgid "Pause"
msgstr ""
#: src/keycode.cpp:225
msgid "Shift"
msgstr ""
#: src/keycode.cpp:226
msgid "Convert"
msgstr ""
#: src/keycode.cpp:226
msgid "Escape"
msgstr ""
#: src/keycode.cpp:226
msgid "Final"
msgstr ""
#: src/keycode.cpp:226
msgid "Junja"
msgstr ""
#: src/keycode.cpp:226
msgid "Kanji"
msgstr ""
#: src/keycode.cpp:226
msgid "Nonconvert"
msgstr ""
#: src/keycode.cpp:227
msgid "Accept"
msgstr ""
#: src/keycode.cpp:227
msgid "End"
msgstr ""
#: src/keycode.cpp:227
msgid "Home"
msgstr ""
#: src/keycode.cpp:227
msgid "Mode Change"
msgstr ""
#: src/keycode.cpp:227
msgid "Next"
msgstr ""
#: src/keycode.cpp:227
msgid "Prior"
msgstr ""
#: src/keycode.cpp:227
msgid "Space"
msgstr ""
#: src/keycode.cpp:228
msgid "Down"
msgstr ""
#: src/keycode.cpp:228
msgid "Execute"
msgstr ""
#: src/keycode.cpp:228
msgid "Print"
msgstr ""
#: src/keycode.cpp:228
msgid "Select"
msgstr ""
#: src/keycode.cpp:228
msgid "Up"
msgstr ""
#: src/keycode.cpp:229
msgid "Help"
msgstr ""
#: src/keycode.cpp:229
msgid "Insert"
msgstr ""
#: src/keycode.cpp:229
msgid "Snapshot"
msgstr ""
#: src/keycode.cpp:232
msgid "Left Windows"
msgstr ""
#: src/keycode.cpp:233
msgid "Apps"
msgstr ""
#: src/keycode.cpp:233
msgid "Numpad 0"
msgstr ""
#: src/keycode.cpp:233
msgid "Numpad 1"
msgstr ""
#: src/keycode.cpp:233
msgid "Right Windows"
msgstr ""
#: src/keycode.cpp:233
msgid "Sleep"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 2"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 3"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 4"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 5"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 6"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 7"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad *"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad +"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad -"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad /"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad 8"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad 9"
msgstr ""
#: src/keycode.cpp:239
msgid "Num Lock"
msgstr ""
#: src/keycode.cpp:239
msgid "Scroll Lock"
msgstr ""
#: src/keycode.cpp:240
msgid "Left Shift"
msgstr ""
#: src/keycode.cpp:240
msgid "Right Shift"
msgstr ""
#: src/keycode.cpp:241
msgid "Left Control"
msgstr ""
#: src/keycode.cpp:241
msgid "Left Menu"
msgstr ""
#: src/keycode.cpp:241
msgid "Right Control"
msgstr ""
#: src/keycode.cpp:241
msgid "Right Menu"
msgstr ""
#: src/keycode.cpp:243
msgid "Comma"
msgstr ""
#: src/keycode.cpp:243
msgid "Minus"
msgstr ""
#: src/keycode.cpp:243
msgid "Period"
msgstr ""
#: src/keycode.cpp:243
msgid "Plus"
msgstr ""
#: src/keycode.cpp:247
msgid "Attn"
msgstr ""
#: src/keycode.cpp:247
msgid "CrSel"
msgstr ""
#: src/keycode.cpp:248
msgid "Erase OEF"
msgstr ""
#: src/keycode.cpp:248
msgid "ExSel"
msgstr ""
#: src/keycode.cpp:248
msgid "OEM Clear"
msgstr ""
#: src/keycode.cpp:248
msgid "PA1"
msgstr ""
#: src/keycode.cpp:248
msgid "Zoom"
msgstr ""
#: src/main.cpp:1384
msgid "Main Menu"
msgstr ""
#: src/main.cpp:1633
msgid "Failed to initialize world"
msgstr ""
#: src/main.cpp:1645
msgid "No world selected and no address provided. Nothing to do."
msgstr ""
#: src/main.cpp:1653
msgid "Could not find or load game \""
msgstr ""
#: src/main.cpp:1667
msgid "Invalid gamespec."
msgstr ""
#: src/main.cpp:1707
msgid "Connection error (timed out?)"
msgstr ""
#: src/main.cpp:1718
msgid ""
"\n"
"Check debug.txt for details."
msgstr ""

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: minetest\n" "Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-01-23 18:24+0200\n" "POT-Creation-Date: 2013-01-30 20:25+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,35 +17,35 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
msgid "Enable All" msgid "Enable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "" msgstr ""
@ -123,6 +123,74 @@ msgstr ""
msgid "press key" msgid "press key"
msgstr "" msgstr ""
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "" msgstr ""
@ -458,18 +526,10 @@ msgstr ""
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "" msgstr ""

@ -19,35 +19,35 @@ msgstr ""
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Weblate 1.4-dev\n" "X-Generator: Weblate 1.4-dev\n"
#: src/guiConfigureWorld.cpp:127 #: src/guiConfigureWorld.cpp:125
msgid "" msgid ""
"Warning: Some mods are not configured yet.\n" "Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. " "They will be enabled by default when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:146 #: src/guiConfigureWorld.cpp:144
msgid "" msgid ""
"Warning: Some configured mods are missing.\n" "Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. " "Their setting will be removed when you save the configuration. "
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:210 #: src/guiConfigureWorld.cpp:208
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:217 #: src/guiConfigureWorld.cpp:215
msgid "Enable All" msgid "Enable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:224 #: src/guiConfigureWorld.cpp:222
msgid "Disable All" msgid "Disable All"
msgstr "" msgstr ""
#: src/guiConfigureWorld.cpp:230 #: src/guiConfigureWorld.cpp:228
msgid "depends on:" msgid "depends on:"
msgstr "зависит от:" msgstr "зависит от:"
#: src/guiConfigureWorld.cpp:242 #: src/guiConfigureWorld.cpp:240
msgid "is required by:" msgid "is required by:"
msgstr "" msgstr ""
@ -125,6 +125,74 @@ msgstr "Клавиша уже используется"
msgid "press key" msgid "press key"
msgstr "нажмите клавишу" msgstr "нажмите клавишу"
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55 #: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters" msgid "Cannot create world: Name contains invalid characters"
msgstr "Не могу создать мир: имя содержит недопустимые символы" msgstr "Не могу создать мир: имя содержит недопустимые символы"
@ -460,18 +528,10 @@ msgstr ""
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Print" msgid "Print"
msgstr "" msgstr ""
#: src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/keycode.cpp:228 #: src/keycode.cpp:228
msgid "Select" msgid "Select"
msgstr "" msgstr ""

729
po/zh_CN/minetest.po Normal file

@ -0,0 +1,729 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-01-30 20:25+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/guiConfigureWorld.cpp:125
msgid ""
"Warning: Some mods are not configured yet.\n"
"They will be enabled by default when you save the configuration. "
msgstr ""
#: src/guiConfigureWorld.cpp:144
msgid ""
"Warning: Some configured mods are missing.\n"
"Their setting will be removed when you save the configuration. "
msgstr ""
#: src/guiConfigureWorld.cpp:208
msgid "enabled"
msgstr ""
#: src/guiConfigureWorld.cpp:215
msgid "Enable All"
msgstr ""
#: src/guiConfigureWorld.cpp:222
msgid "Disable All"
msgstr ""
#: src/guiConfigureWorld.cpp:228
msgid "depends on:"
msgstr ""
#: src/guiConfigureWorld.cpp:240
msgid "is required by:"
msgstr ""
#: src/guiConfigureWorld.cpp:262 src/guiCreateWorld.cpp:165
#: src/guiKeyChangeMenu.cpp:179 src/keycode.cpp:223
msgid "Cancel"
msgstr ""
#: src/guiConfigureWorld.cpp:268 src/guiKeyChangeMenu.cpp:173
msgid "Save"
msgstr ""
#: src/guiConfigureWorld.cpp:394
msgid "Configuration saved. "
msgstr ""
#: src/guiConfigureWorld.cpp:402
msgid "Warning: Configuration not consistent. "
msgstr ""
#: src/guiConfirmMenu.cpp:120
msgid "Yes"
msgstr ""
#: src/guiConfirmMenu.cpp:126
msgid "No"
msgstr ""
#: src/guiCreateWorld.cpp:116
msgid "World name"
msgstr ""
#: src/guiCreateWorld.cpp:135
msgid "Game"
msgstr ""
#: src/guiCreateWorld.cpp:159
msgid "Create"
msgstr ""
#: src/guiDeathScreen.cpp:96
msgid "You died."
msgstr ""
#: src/guiDeathScreen.cpp:104
msgid "Respawn"
msgstr ""
#: src/guiFormSpecMenu.cpp:572
msgid "Left click: Move all items, Right click: Move single item"
msgstr ""
#: src/guiFormSpecMenu.cpp:597 src/guiMessageMenu.cpp:109
#: src/guiTextInputMenu.cpp:123
msgid "Proceed"
msgstr ""
#: src/guiKeyChangeMenu.cpp:114
msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)"
msgstr ""
#: src/guiKeyChangeMenu.cpp:151
msgid "\"Use\" = climb down"
msgstr ""
#: src/guiKeyChangeMenu.cpp:164
msgid "Double tap \"jump\" to toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:269
msgid "Key already in use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:347
msgid "press key"
msgstr ""
#: src/guiKeyChangeMenu.cpp:372
msgid "Forward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:373
msgid "Backward"
msgstr ""
#: src/guiKeyChangeMenu.cpp:374 src/keycode.cpp:228
msgid "Left"
msgstr ""
#: src/guiKeyChangeMenu.cpp:375 src/keycode.cpp:228
msgid "Right"
msgstr ""
#: src/guiKeyChangeMenu.cpp:376
msgid "Use"
msgstr ""
#: src/guiKeyChangeMenu.cpp:377
msgid "Jump"
msgstr ""
#: src/guiKeyChangeMenu.cpp:378
msgid "Sneak"
msgstr ""
#: src/guiKeyChangeMenu.cpp:379
msgid "Drop"
msgstr ""
#: src/guiKeyChangeMenu.cpp:380
msgid "Inventory"
msgstr ""
#: src/guiKeyChangeMenu.cpp:381
msgid "Chat"
msgstr ""
#: src/guiKeyChangeMenu.cpp:382
msgid "Command"
msgstr ""
#: src/guiKeyChangeMenu.cpp:383
msgid "Console"
msgstr ""
#: src/guiKeyChangeMenu.cpp:384
msgid "Toggle fly"
msgstr ""
#: src/guiKeyChangeMenu.cpp:385
msgid "Toggle fast"
msgstr ""
#: src/guiKeyChangeMenu.cpp:386
msgid "Toggle noclip"
msgstr ""
#: src/guiKeyChangeMenu.cpp:387
msgid "Range select"
msgstr ""
#: src/guiKeyChangeMenu.cpp:388
msgid "Print stacks"
msgstr ""
#: src/guiMainMenu.cpp:55
msgid "Cannot create world: Name contains invalid characters"
msgstr ""
#: src/guiMainMenu.cpp:64
msgid "Cannot create world: A world by this name already exists"
msgstr ""
#: src/guiMainMenu.cpp:245
msgid "Singleplayer"
msgstr ""
#: src/guiMainMenu.cpp:246
msgid "Multiplayer"
msgstr ""
#: src/guiMainMenu.cpp:247
msgid "Advanced"
msgstr ""
#: src/guiMainMenu.cpp:248
msgid "Settings"
msgstr ""
#: src/guiMainMenu.cpp:249
msgid "Credits"
msgstr ""
#: src/guiMainMenu.cpp:280
msgid "Select World:"
msgstr ""
#: src/guiMainMenu.cpp:302 src/guiMainMenu.cpp:449 src/keycode.cpp:229
msgid "Delete"
msgstr ""
#: src/guiMainMenu.cpp:309
msgid "New"
msgstr ""
#: src/guiMainMenu.cpp:317
msgid "Configure"
msgstr ""
#: src/guiMainMenu.cpp:332 src/keycode.cpp:248
msgid "Play"
msgstr ""
#: src/guiMainMenu.cpp:343 src/guiMainMenu.cpp:557
msgid "Creative Mode"
msgstr ""
#: src/guiMainMenu.cpp:349 src/guiMainMenu.cpp:563
msgid "Enable Damage"
msgstr ""
#: src/guiMainMenu.cpp:369 src/guiMainMenu.cpp:479
msgid "Name/Password"
msgstr ""
#: src/guiMainMenu.cpp:408 src/guiMainMenu.cpp:506
msgid "Address/Port"
msgstr ""
#: src/guiMainMenu.cpp:435 src/guiMainMenu.cpp:1075
msgid "Show Public"
msgstr ""
#: src/guiMainMenu.cpp:439 src/guiMainMenu.cpp:1083
msgid "Show Favorites"
msgstr ""
#: src/guiMainMenu.cpp:459
msgid "Connect"
msgstr ""
#: src/guiMainMenu.cpp:529
msgid "Leave address blank to start a local server."
msgstr ""
#: src/guiMainMenu.cpp:538
msgid "Start Game / Connect"
msgstr ""
#: src/guiMainMenu.cpp:570 src/guiMainMenu.cpp:1006
msgid "Delete world"
msgstr ""
#: src/guiMainMenu.cpp:577
msgid "Create world"
msgstr ""
#: src/guiMainMenu.cpp:611
msgid "Fancy trees"
msgstr ""
#: src/guiMainMenu.cpp:617
msgid "Smooth Lighting"
msgstr ""
#: src/guiMainMenu.cpp:623
msgid "3D Clouds"
msgstr ""
#: src/guiMainMenu.cpp:629
msgid "Opaque water"
msgstr ""
#: src/guiMainMenu.cpp:639
msgid "Mip-Mapping"
msgstr ""
#: src/guiMainMenu.cpp:646
msgid "Anisotropic Filtering"
msgstr ""
#: src/guiMainMenu.cpp:653
msgid "Bi-Linear Filtering"
msgstr ""
#: src/guiMainMenu.cpp:660
msgid "Tri-Linear Filtering"
msgstr ""
#: src/guiMainMenu.cpp:668
msgid "Shaders"
msgstr ""
#: src/guiMainMenu.cpp:675
msgid "Preload item visuals"
msgstr ""
#: src/guiMainMenu.cpp:682
msgid "Enable Particles"
msgstr ""
#: src/guiMainMenu.cpp:692
msgid "Change keys"
msgstr ""
#: src/guiMainMenu.cpp:977
msgid "Address required."
msgstr ""
#: src/guiMainMenu.cpp:995
msgid "Cannot delete world: Nothing selected"
msgstr ""
#: src/guiMainMenu.cpp:1010
msgid "Files to be deleted"
msgstr ""
#: src/guiMainMenu.cpp:1026
msgid "Cannot create world: No games found"
msgstr ""
#: src/guiMainMenu.cpp:1042
msgid "Cannot configure world: Nothing selected"
msgstr ""
#: src/guiMainMenu.cpp:1146
msgid "Failed to delete all world files"
msgstr ""
#: src/guiPasswordChange.cpp:108
msgid "Old Password"
msgstr ""
#: src/guiPasswordChange.cpp:125
msgid "New Password"
msgstr ""
#: src/guiPasswordChange.cpp:141
msgid "Confirm Password"
msgstr ""
#: src/guiPasswordChange.cpp:158
msgid "Change"
msgstr ""
#: src/guiPasswordChange.cpp:167
msgid "Passwords do not match!"
msgstr ""
#: src/guiPauseMenu.cpp:118
msgid "Continue"
msgstr ""
#: src/guiPauseMenu.cpp:127
msgid "Change Password"
msgstr ""
#: src/guiPauseMenu.cpp:135
msgid "Exit to Menu"
msgstr ""
#: src/guiPauseMenu.cpp:142
msgid "Exit to OS"
msgstr ""
#: src/guiPauseMenu.cpp:149
msgid ""
"Default Controls:\n"
"- WASD: Walk\n"
"- Mouse left: dig/hit\n"
"- Mouse right: place/use\n"
"- Mouse wheel: select item\n"
"- 0...9: select item\n"
"- Shift: sneak\n"
"- R: Toggle viewing all loaded chunks\n"
"- I: Inventory menu\n"
"- ESC: This menu\n"
"- T: Chat\n"
msgstr ""
#: src/keycode.cpp:223
msgid "Left Button"
msgstr ""
#: src/keycode.cpp:223
msgid "Middle Button"
msgstr ""
#: src/keycode.cpp:223
msgid "Right Button"
msgstr ""
#: src/keycode.cpp:223
msgid "X Button 1"
msgstr ""
#: src/keycode.cpp:224
msgid "Back"
msgstr ""
#: src/keycode.cpp:224
msgid "Clear"
msgstr ""
#: src/keycode.cpp:224
msgid "Return"
msgstr ""
#: src/keycode.cpp:224
msgid "Tab"
msgstr ""
#: src/keycode.cpp:224
msgid "X Button 2"
msgstr ""
#: src/keycode.cpp:225
msgid "Capital"
msgstr ""
#: src/keycode.cpp:225
msgid "Control"
msgstr ""
#: src/keycode.cpp:225
msgid "Kana"
msgstr ""
#: src/keycode.cpp:225
msgid "Menu"
msgstr ""
#: src/keycode.cpp:225
msgid "Pause"
msgstr ""
#: src/keycode.cpp:225
msgid "Shift"
msgstr ""
#: src/keycode.cpp:226
msgid "Convert"
msgstr ""
#: src/keycode.cpp:226
msgid "Escape"
msgstr ""
#: src/keycode.cpp:226
msgid "Final"
msgstr ""
#: src/keycode.cpp:226
msgid "Junja"
msgstr ""
#: src/keycode.cpp:226
msgid "Kanji"
msgstr ""
#: src/keycode.cpp:226
msgid "Nonconvert"
msgstr ""
#: src/keycode.cpp:227
msgid "Accept"
msgstr ""
#: src/keycode.cpp:227
msgid "End"
msgstr ""
#: src/keycode.cpp:227
msgid "Home"
msgstr ""
#: src/keycode.cpp:227
msgid "Mode Change"
msgstr ""
#: src/keycode.cpp:227
msgid "Next"
msgstr ""
#: src/keycode.cpp:227
msgid "Prior"
msgstr ""
#: src/keycode.cpp:227
msgid "Space"
msgstr ""
#: src/keycode.cpp:228
msgid "Down"
msgstr ""
#: src/keycode.cpp:228
msgid "Execute"
msgstr ""
#: src/keycode.cpp:228
msgid "Print"
msgstr ""
#: src/keycode.cpp:228
msgid "Select"
msgstr ""
#: src/keycode.cpp:228
msgid "Up"
msgstr ""
#: src/keycode.cpp:229
msgid "Help"
msgstr ""
#: src/keycode.cpp:229
msgid "Insert"
msgstr ""
#: src/keycode.cpp:229
msgid "Snapshot"
msgstr ""
#: src/keycode.cpp:232
msgid "Left Windows"
msgstr ""
#: src/keycode.cpp:233
msgid "Apps"
msgstr ""
#: src/keycode.cpp:233
msgid "Numpad 0"
msgstr ""
#: src/keycode.cpp:233
msgid "Numpad 1"
msgstr ""
#: src/keycode.cpp:233
msgid "Right Windows"
msgstr ""
#: src/keycode.cpp:233
msgid "Sleep"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 2"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 3"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 4"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 5"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 6"
msgstr ""
#: src/keycode.cpp:234
msgid "Numpad 7"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad *"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad +"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad -"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad /"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad 8"
msgstr ""
#: src/keycode.cpp:235
msgid "Numpad 9"
msgstr ""
#: src/keycode.cpp:239
msgid "Num Lock"
msgstr ""
#: src/keycode.cpp:239
msgid "Scroll Lock"
msgstr ""
#: src/keycode.cpp:240
msgid "Left Shift"
msgstr ""
#: src/keycode.cpp:240
msgid "Right Shift"
msgstr ""
#: src/keycode.cpp:241
msgid "Left Control"
msgstr ""
#: src/keycode.cpp:241
msgid "Left Menu"
msgstr ""
#: src/keycode.cpp:241
msgid "Right Control"
msgstr ""
#: src/keycode.cpp:241
msgid "Right Menu"
msgstr ""
#: src/keycode.cpp:243
msgid "Comma"
msgstr ""
#: src/keycode.cpp:243
msgid "Minus"
msgstr ""
#: src/keycode.cpp:243
msgid "Period"
msgstr ""
#: src/keycode.cpp:243
msgid "Plus"
msgstr ""
#: src/keycode.cpp:247
msgid "Attn"
msgstr ""
#: src/keycode.cpp:247
msgid "CrSel"
msgstr ""
#: src/keycode.cpp:248
msgid "Erase OEF"
msgstr ""
#: src/keycode.cpp:248
msgid "ExSel"
msgstr ""
#: src/keycode.cpp:248
msgid "OEM Clear"
msgstr ""
#: src/keycode.cpp:248
msgid "PA1"
msgstr ""
#: src/keycode.cpp:248
msgid "Zoom"
msgstr ""
#: src/main.cpp:1384
msgid "Main Menu"
msgstr ""
#: src/main.cpp:1633
msgid "Failed to initialize world"
msgstr ""
#: src/main.cpp:1645
msgid "No world selected and no address provided. Nothing to do."
msgstr ""
#: src/main.cpp:1653
msgid "Could not find or load game \""
msgstr ""
#: src/main.cpp:1667
msgid "Invalid gamespec."
msgstr ""
#: src/main.cpp:1707
msgid "Connection error (timed out?)"
msgstr ""
#: src/main.cpp:1718
msgid ""
"\n"
"Check debug.txt for details."
msgstr ""

@ -369,21 +369,21 @@ void GUIKeyChangeMenu::add_key(int id, std::string button_name, std::string sett
void GUIKeyChangeMenu::init_keys() void GUIKeyChangeMenu::init_keys()
{ {
this->add_key(GUI_ID_KEY_FORWARD_BUTTON, "Forward", "keymap_forward"); this->add_key(GUI_ID_KEY_FORWARD_BUTTON, gettext("Forward"), "keymap_forward");
this->add_key(GUI_ID_KEY_BACKWARD_BUTTON, "Backward", "keymap_backward"); this->add_key(GUI_ID_KEY_BACKWARD_BUTTON, gettext("Backward"), "keymap_backward");
this->add_key(GUI_ID_KEY_LEFT_BUTTON, "Left", "keymap_left"); this->add_key(GUI_ID_KEY_LEFT_BUTTON, gettext("Left"), "keymap_left");
this->add_key(GUI_ID_KEY_RIGHT_BUTTON, "Right", "keymap_right"); this->add_key(GUI_ID_KEY_RIGHT_BUTTON, gettext("Right"), "keymap_right");
this->add_key(GUI_ID_KEY_USE_BUTTON, "Use", "keymap_special1"); this->add_key(GUI_ID_KEY_USE_BUTTON, gettext("Use"), "keymap_special1");
this->add_key(GUI_ID_KEY_JUMP_BUTTON, "Jump", "keymap_jump"); this->add_key(GUI_ID_KEY_JUMP_BUTTON, gettext("Jump"), "keymap_jump");
this->add_key(GUI_ID_KEY_SNEAK_BUTTON, "Sneak", "keymap_sneak"); this->add_key(GUI_ID_KEY_SNEAK_BUTTON, gettext("Sneak"), "keymap_sneak");
this->add_key(GUI_ID_KEY_DROP_BUTTON, "Drop", "keymap_drop"); this->add_key(GUI_ID_KEY_DROP_BUTTON, gettext("Drop"), "keymap_drop");
this->add_key(GUI_ID_KEY_INVENTORY_BUTTON, "Inventory", "keymap_inventory"); this->add_key(GUI_ID_KEY_INVENTORY_BUTTON, gettext("Inventory"), "keymap_inventory");
this->add_key(GUI_ID_KEY_CHAT_BUTTON, "Chat", "keymap_chat"); this->add_key(GUI_ID_KEY_CHAT_BUTTON, gettext("Chat"), "keymap_chat");
this->add_key(GUI_ID_KEY_CMD_BUTTON, "Command", "keymap_cmd"); this->add_key(GUI_ID_KEY_CMD_BUTTON, gettext("Command"), "keymap_cmd");
this->add_key(GUI_ID_KEY_CONSOLE_BUTTON, "Console", "keymap_console"); this->add_key(GUI_ID_KEY_CONSOLE_BUTTON, gettext("Console"), "keymap_console");
this->add_key(GUI_ID_KEY_FLY_BUTTON, "Toggle fly", "keymap_freemove"); this->add_key(GUI_ID_KEY_FLY_BUTTON, gettext("Toggle fly"), "keymap_freemove");
this->add_key(GUI_ID_KEY_FAST_BUTTON, "Toggle fast", "keymap_fastmove"); this->add_key(GUI_ID_KEY_FAST_BUTTON, gettext("Toggle fast"), "keymap_fastmove");
this->add_key(GUI_ID_KEY_NOCLIP_BUTTON, "Toggle noclip", "keymap_noclip"); this->add_key(GUI_ID_KEY_NOCLIP_BUTTON, gettext("Toggle noclip"), "keymap_noclip");
this->add_key(GUI_ID_KEY_RANGE_BUTTON, "Range select", "keymap_rangeselect"); this->add_key(GUI_ID_KEY_RANGE_BUTTON, gettext("Range select"), "keymap_rangeselect");
this->add_key(GUI_ID_KEY_DUMP_BUTTON, "Print stacks", "keymap_print_debug_stacks"); this->add_key(GUI_ID_KEY_DUMP_BUTTON, gettext("Print stacks"), "keymap_print_debug_stacks");
} }

@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "gamedef.h" #include "gamedef.h"
#include "util/directiontables.h" #include "util/directiontables.h"
#include "rollback_interface.h" #include "rollback_interface.h"
#include "mapgen_v6.h"
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")" #define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
@ -1993,10 +1994,9 @@ void Map::removeNodeTimer(v3s16 p)
/* /*
ServerMap ServerMap
*/ */
ServerMap::ServerMap(std::string savedir, IGameDef *gamedef): ServerMap::ServerMap(std::string savedir, IGameDef *gamedef, EmergeManager *emerge):
Map(dout_server, gamedef), Map(dout_server, gamedef),
m_seed(0), m_seed(0),
m_emerge(NULL),
m_map_metadata_changed(true), m_map_metadata_changed(true),
m_database(NULL), m_database(NULL),
m_database_read(NULL), m_database_read(NULL),
@ -2004,9 +2004,8 @@ ServerMap::ServerMap(std::string savedir, IGameDef *gamedef):
{ {
verbosestream<<__FUNCTION_NAME<<std::endl; verbosestream<<__FUNCTION_NAME<<std::endl;
//m_chunksize = 8; // Takes a few seconds m_emerge = emerge;
m_mgparams = m_emerge->getParamsFromSettings(g_settings);
m_mgparams = MapgenParams::getParamsFromSettings(g_settings);
if (!m_mgparams) if (!m_mgparams)
m_mgparams = new MapgenV6Params(); m_mgparams = new MapgenV6Params();
@ -3080,32 +3079,12 @@ void ServerMap::saveMapMeta()
Settings params; Settings params;
params.set("mg_name", m_emerge->params->mg_name); params.set("mg_name", m_emerge->params->mg_name);
params.setU64("seed", m_emerge->params->seed); params.setU64("seed", m_emerge->params->seed);
params.setS16("water_level", m_emerge->params->water_level); params.setS16("water_level", m_emerge->params->water_level);
params.setS16("chunksize", m_emerge->params->chunksize); params.setS16("chunksize", m_emerge->params->chunksize);
params.setS32("mg_flags", m_emerge->params->flags); params.setS32("mg_flags", m_emerge->params->flags);
/* switch (m_emerge->params->mg_version) {
case 6:
{*/
MapgenV6Params *v6params = (MapgenV6Params *)m_emerge->params;
params.setFloat("mgv6_freq_desert", v6params->freq_desert); m_emerge->params->writeParams(&params);
params.setFloat("mgv6_freq_beach", v6params->freq_beach);
params.setNoiseParams("mgv6_np_terrain_base", v6params->np_terrain_base);
params.setNoiseParams("mgv6_np_terrain_higher", v6params->np_terrain_higher);
params.setNoiseParams("mgv6_np_steepness", v6params->np_steepness);
params.setNoiseParams("mgv6_np_height_select", v6params->np_height_select);
params.setNoiseParams("mgv6_np_trees", v6params->np_trees);
params.setNoiseParams("mgv6_np_mud", v6params->np_mud);
params.setNoiseParams("mgv6_np_beach", v6params->np_beach);
params.setNoiseParams("mgv6_np_biome", v6params->np_biome);
params.setNoiseParams("mgv6_np_cave", v6params->np_cave);
/* break;
}
default:
; //complain here
}*/
params.writeLines(os); params.writeLines(os);
@ -3145,7 +3124,7 @@ void ServerMap::loadMapMeta()
params.parseConfigLine(line); params.parseConfigLine(line);
} }
MapgenParams *mgparams = MapgenParams::getParamsFromSettings(&params); MapgenParams *mgparams = m_emerge->getParamsFromSettings(&params);
if (mgparams) { if (mgparams) {
if (m_mgparams) if (m_mgparams)
delete m_mgparams; delete m_mgparams;

@ -358,7 +358,7 @@ public:
/* /*
savedir: directory to which map data should be saved savedir: directory to which map data should be saved
*/ */
ServerMap(std::string savedir, IGameDef *gamedef); ServerMap(std::string savedir, IGameDef *gamedef, EmergeManager *emerge);
~ServerMap(); ~ServerMap();
s32 mapType() const s32 mapType() const
@ -480,16 +480,12 @@ public:
MapgenParams *getMapgenParams(){ return m_mgparams; } MapgenParams *getMapgenParams(){ return m_mgparams; }
void setEmerge(EmergeManager *emerge){ m_emerge = emerge; }
// Parameters fed to the Mapgen // Parameters fed to the Mapgen
MapgenParams *m_mgparams; MapgenParams *m_mgparams;
private: private:
// Seed used for all kinds of randomness in generation // Seed used for all kinds of randomness in generation
u64 m_seed; u64 m_seed;
// Emerge manager // Emerge manager
EmergeManager *m_emerge; EmergeManager *m_emerge;

@ -33,66 +33,53 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h" // For g_settings #include "settings.h" // For g_settings
#include "main.h" // For g_profiler #include "main.h" // For g_profiler
#include "treegen.h" #include "treegen.h"
#include "mapgen_v6.h"
/////////////////// Mapgen V6 perlin noise default values
NoiseParams nparams_v6_def_terrain_base =
{-AVERAGE_MUD_AMOUNT, 20.0, v3f(250.0, 250.0, 250.0), 82341, 5, 0.6};
NoiseParams nparams_v6_def_terrain_higher =
{20.0, 16.0, v3f(500.0, 500.0, 500.0), 85039, 5, 0.6};
NoiseParams nparams_v6_def_steepness =
{0.85, 0.5, v3f(125.0, 125.0, 125.0), -932, 5, 0.7};
NoiseParams nparams_v6_def_height_select =
{0.5, 1.0, v3f(250.0, 250.0, 250.0), 4213, 5, 0.69};
NoiseParams nparams_v6_def_trees =
{0.0, 1.0, v3f(125.0, 125.0, 125.0), 2, 4, 0.66};
NoiseParams nparams_v6_def_mud =
{AVERAGE_MUD_AMOUNT, 2.0, v3f(200.0, 200.0, 200.0), 91013, 3, 0.55};
NoiseParams nparams_v6_def_beach =
{0.0, 1.0, v3f(250.0, 250.0, 250.0), 59420, 3, 0.50};
NoiseParams nparams_v6_def_biome =
{0.0, 1.0, v3f(250.0, 250.0, 250.0), 9130, 3, 0.50};
NoiseParams nparams_v6_def_cave =
{6.0, 6.0, v3f(250.0, 250.0, 250.0), 34329, 3, 0.50};
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
/////////////////////////////// Emerge Manager //////////////////////////////// /////////////////////////////// Emerge Manager ////////////////////////////////
EmergeManager::EmergeManager(IGameDef *gamedef, BiomeDefManager *bdef) {
EmergeManager::EmergeManager(IGameDef *gamedef, BiomeDefManager *bdef, //register built-in mapgens
MapgenParams *mgparams) { registerMapgen("v6", new MapgenFactoryV6());
//the order of these assignments is pretty important //the order of these assignments is pretty important
this->biomedef = bdef ? bdef : new BiomeDefManager(gamedef); this->biomedef = bdef ? bdef : new BiomeDefManager(gamedef);
this->params = mgparams; this->params = NULL;
this->mapgen = NULL; this->mapgen = NULL;
this->mapgen = getMapgen();
} }
EmergeManager::~EmergeManager() { EmergeManager::~EmergeManager() {
delete biomedef; delete biomedef;
delete mapgen;
delete params; delete params;
} }
void EmergeManager::initMapgens(MapgenParams *mgparams) {
if (mapgen)
return;
this->params = mgparams;
this->mapgen = getMapgen(); //only one mapgen for now!
}
Mapgen *EmergeManager::getMapgen() { Mapgen *EmergeManager::getMapgen() {
if (!mapgen) { if (!mapgen) {
/*switch (params->mg_version) { mapgen = createMapgen(params->mg_name, 0, params, this);
case 6:*/ if (!mapgen) {
mapgen = new MapgenV6(0, (MapgenV6Params *)params); infostream << "EmergeManager: falling back to mapgen v6" << std::endl;
/* break; delete params;
default: params = createMapgenParams("v6");
errorstream << "EmergeManager: Unsupported mapgen version " mapgen = createMapgen("v6", 0, params, this);
<< params->mg_version << ", falling back to V6" << std::endl; }
params->mg_version = 6;
mapgen = new MapgenV6(0, (MapgenV6Params *)params);
}*/
} }
return mapgen; return mapgen;
} }
void EmergeManager::addBlockToQueue() { void EmergeManager::addBlockToQueue() {
//STUB //STUB
} }
@ -127,60 +114,94 @@ u32 EmergeManager::getBlockSeed(v3s16 p) {
} }
MapgenParams *MapgenParams::createMapgenParams(std::string &mgstr) { Mapgen *EmergeManager::createMapgen(std::string mgname, int mgid,
return new MapgenV6Params(); // this will be fixed later MapgenParams *mgparams, EmergeManager *emerge) {
/*switch (mgver) { std::map<std::string, MapgenFactory *>::const_iterator iter = mglist.find(mgname);
case 6: if (iter == mglist.end()) {
return new MapgenV6Params(); errorstream << "EmergeManager; mapgen " << mgname <<
default: //instead of complaining, default to 6 " not registered" << std::endl;
return new MapgenV6Params(); return NULL;
}*/ }
MapgenFactory *mgfactory = iter->second;
return mgfactory->createMapgen(mgid, mgparams, emerge);
} }
MapgenParams *MapgenParams::getParamsFromSettings(Settings *settings) { MapgenParams *EmergeManager::createMapgenParams(std::string mgname) {
std::map<std::string, MapgenFactory *>::const_iterator iter = mglist.find(mgname);
if (iter == mglist.end()) {
errorstream << "EmergeManager: mapgen " << mgname <<
" not registered" << std::endl;
return NULL;
}
MapgenFactory *mgfactory = iter->second;
return mgfactory->createMapgenParams();
}
MapgenParams *EmergeManager::getParamsFromSettings(Settings *settings) {
std::string mg_name = settings->get("mg_name"); std::string mg_name = settings->get("mg_name");
MapgenParams *mgparams = MapgenParams::createMapgenParams(mg_name); MapgenParams *mgparams = createMapgenParams(mg_name);
mgparams->mg_name = mg_name; mgparams->mg_name = mg_name;
mgparams->seed = settings->getU64(settings == g_settings ? "fixed_map_seed" : "seed"); mgparams->seed = settings->getU64(settings == g_settings ? "fixed_map_seed" : "seed");
mgparams->water_level = settings->getS16("water_level"); mgparams->water_level = settings->getS16("water_level");
mgparams->chunksize = settings->getS16("chunksize"); mgparams->chunksize = settings->getS16("chunksize");
mgparams->flags = settings->getS32("mg_flags"); mgparams->flags = settings->getS32("mg_flags");
/* switch (mg_version) { if (!mgparams->readParams(settings)) {
case 6: delete mgparams;
{*/ return NULL;
MapgenV6Params *v6params = (MapgenV6Params *)mgparams; }
v6params->freq_desert = settings->getFloat("mgv6_freq_desert");
v6params->freq_beach = settings->getFloat("mgv6_freq_beach");
v6params->np_terrain_base = settings->getNoiseParams("mgv6_np_terrain_base");
v6params->np_terrain_higher = settings->getNoiseParams("mgv6_np_terrain_higher");
v6params->np_steepness = settings->getNoiseParams("mgv6_np_steepness");
v6params->np_height_select = settings->getNoiseParams("mgv6_np_height_select");
v6params->np_trees = settings->getNoiseParams("mgv6_np_trees");
v6params->np_mud = settings->getNoiseParams("mgv6_np_mud");
v6params->np_beach = settings->getNoiseParams("mgv6_np_beach");
v6params->np_biome = settings->getNoiseParams("mgv6_np_biome");
v6params->np_cave = settings->getNoiseParams("mgv6_np_cave");
if (!v6params->np_terrain_base || !v6params->np_terrain_higher ||
!v6params->np_steepness || !v6params->np_height_select ||
!v6params->np_trees || !v6params->np_mud ||
!v6params->np_beach || !v6params->np_biome || !v6params->np_cave) {
delete mgparams;
return NULL;
}
/*
break;
}
default:
delete mgparams;
return NULL;
}*/
return mgparams; return mgparams;
}
bool EmergeManager::registerMapgen(std::string mgname, MapgenFactory *mgfactory) {
mglist.insert(std::make_pair(mgname, mgfactory));
infostream << "EmergeManager: registered mapgen " << mgname << std::endl;
}
/////////////////////
bool MapgenV6Params::readParams(Settings *settings) {
freq_desert = settings->getFloat("mgv6_freq_desert");
freq_beach = settings->getFloat("mgv6_freq_beach");
np_terrain_base = settings->getNoiseParams("mgv6_np_terrain_base");
np_terrain_higher = settings->getNoiseParams("mgv6_np_terrain_higher");
np_steepness = settings->getNoiseParams("mgv6_np_steepness");
np_height_select = settings->getNoiseParams("mgv6_np_height_select");
np_trees = settings->getNoiseParams("mgv6_np_trees");
np_mud = settings->getNoiseParams("mgv6_np_mud");
np_beach = settings->getNoiseParams("mgv6_np_beach");
np_biome = settings->getNoiseParams("mgv6_np_biome");
np_cave = settings->getNoiseParams("mgv6_np_cave");
bool success =
np_terrain_base && np_terrain_higher && np_steepness &&
np_height_select && np_trees && np_mud &&
np_beach && np_biome && np_cave;
return success;
}
void MapgenV6Params::writeParams(Settings *settings) {
settings->setFloat("mgv6_freq_desert", freq_desert);
settings->setFloat("mgv6_freq_beach", freq_beach);
settings->setNoiseParams("mgv6_np_terrain_base", np_terrain_base);
settings->setNoiseParams("mgv6_np_terrain_higher", np_terrain_higher);
settings->setNoiseParams("mgv6_np_steepness", np_steepness);
settings->setNoiseParams("mgv6_np_height_select", np_height_select);
settings->setNoiseParams("mgv6_np_trees", np_trees);
settings->setNoiseParams("mgv6_np_mud", np_mud);
settings->setNoiseParams("mgv6_np_beach", np_beach);
settings->setNoiseParams("mgv6_np_biome", np_biome);
settings->setNoiseParams("mgv6_np_cave", np_cave);
} }

@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "mapnode.h" #include "mapnode.h"
#include "noise.h" #include "noise.h"
#include "settings.h" #include "settings.h"
#include <map>
/////////////////// Mapgen flags /////////////////// Mapgen flags
#define MG_TREES 0x01 #define MG_TREES 0x01
@ -34,39 +35,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MGV6_FORESTS 0x08 #define MGV6_FORESTS 0x08
#define MGV6_BIOME_BLEND 0x10 #define MGV6_BIOME_BLEND 0x10
#define AVERAGE_MUD_AMOUNT 4
class BiomeDefManager; class BiomeDefManager;
class Biome; class Biome;
class EmergeManager;
//struct BlockMakeData;
class MapBlock; class MapBlock;
class ManualMapVoxelManipulator; class ManualMapVoxelManipulator;
class VoxelManipulator; class VoxelManipulator;
class INodeDefManager; class INodeDefManager;
extern NoiseParams nparams_v6_def_terrain_base;
extern NoiseParams nparams_v6_def_terrain_higher;
extern NoiseParams nparams_v6_def_steepness;
extern NoiseParams nparams_v6_def_height_select;
extern NoiseParams nparams_v6_def_trees;
extern NoiseParams nparams_v6_def_mud;
extern NoiseParams nparams_v6_def_beach;
extern NoiseParams nparams_v6_def_biome;
extern NoiseParams nparams_v6_def_cave;
extern NoiseParams nparams_v7_def_terrain;
extern NoiseParams nparams_v7_def_bgroup;
extern NoiseParams nparams_v7_def_heat;
extern NoiseParams nparams_v7_def_humidity;
enum BiomeType
{
BT_NORMAL,
BT_DESERT
};
struct BlockMakeData { struct BlockMakeData {
bool no_op; bool no_op;
ManualMapVoxelManipulator *vmanip; ManualMapVoxelManipulator *vmanip;
@ -81,7 +57,6 @@ struct BlockMakeData {
~BlockMakeData(); ~BlockMakeData();
}; };
struct MapgenParams { struct MapgenParams {
std::string mg_name; std::string mg_name;
int chunksize; int chunksize;
@ -96,41 +71,11 @@ struct MapgenParams {
chunksize = 5; chunksize = 5;
flags = MG_TREES | MG_CAVES | MGV6_BIOME_BLEND; flags = MG_TREES | MG_CAVES | MGV6_BIOME_BLEND;
} }
static MapgenParams *createMapgenParams(std::string &mgname); virtual bool readParams(Settings *settings) = 0;
static MapgenParams *getParamsFromSettings(Settings *settings); virtual void writeParams(Settings *settings) {};
}; };
struct MapgenV6Params : public MapgenParams {
float freq_desert;
float freq_beach;
NoiseParams *np_terrain_base;
NoiseParams *np_terrain_higher;
NoiseParams *np_steepness;
NoiseParams *np_height_select;
NoiseParams *np_trees;
NoiseParams *np_mud;
NoiseParams *np_beach;
NoiseParams *np_biome;
NoiseParams *np_cave;
MapgenV6Params() {
freq_desert = 0.45;
freq_beach = 0.15;
np_terrain_base = &nparams_v6_def_terrain_base;
np_terrain_higher = &nparams_v6_def_terrain_higher;
np_steepness = &nparams_v6_def_steepness;
np_height_select = &nparams_v6_def_height_select;
np_trees = &nparams_v6_def_trees;
np_mud = &nparams_v6_def_mud;
np_beach = &nparams_v6_def_beach;
np_biome = &nparams_v6_def_biome;
np_cave = &nparams_v6_def_cave;
}
};
class Mapgen { class Mapgen {
public: public:
int seed; int seed;
@ -147,64 +92,16 @@ public:
static s16 find_ground_level_from_noise(u64 seed, v2s16 p2d, s16 precision); static s16 find_ground_level_from_noise(u64 seed, v2s16 p2d, s16 precision);
}; };
struct MapgenFactory {
class MapgenV6 : public Mapgen { virtual Mapgen *createMapgen(int mgid, MapgenParams *params,
public: EmergeManager *emerge) = 0;
//ManualMapVoxelManipulator &vmanip; virtual MapgenParams *createMapgenParams() = 0;
int ystride;
v3s16 csize;
v3s16 node_min;
v3s16 node_max;
Noise *noise_terrain_base;
Noise *noise_terrain_higher;
Noise *noise_steepness;
Noise *noise_height_select;
Noise *noise_trees;
Noise *noise_mud;
Noise *noise_beach;
Noise *noise_biome;
float *map_terrain_base;
float *map_terrain_higher;
float *map_steepness;
float *map_height_select;
float *map_trees;
float *map_mud;
float *map_beach;
float *map_biome;
NoiseParams *np_cave;
u32 flags;
float freq_desert;
float freq_beach;
MapgenV6(int mapgenid, MapgenV6Params *params);
~MapgenV6();
void makeChunk(BlockMakeData *data);
int getGroundLevelAtPoint(v2s16 p);
double baseRockLevelFromNoise(v2s16 p);
static s16 find_ground_level(VoxelManipulator &vmanip, v2s16 p2d, INodeDefManager *ndef);
static s16 find_stone_level(VoxelManipulator &vmanip, v2s16 p2d, INodeDefManager *ndef);
void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0, bool is_apple_tree, INodeDefManager *ndef);
double tree_amount_2d(u64 seed, v2s16 p);
bool block_is_underground(u64 seed, v3s16 blockpos);
double base_rock_level_2d(u64 seed, v2s16 p);
s16 find_ground_level_from_noise(u64 seed, v2s16 p2d, s16 precision);
double get_mud_add_amount(u64 seed, v2s16 p);
bool get_have_beach(u64 seed, v2s16 p2d);
BiomeType get_biome(u64 seed, v2s16 p2d);
u32 get_blockseed(u64 seed, v3s16 p);
}; };
class EmergeManager { class EmergeManager {
public: public:
std::map<std::string, MapgenFactory *> mglist;
//settings //settings
MapgenParams *params; MapgenParams *params;
@ -214,12 +111,19 @@ public:
//biome manager //biome manager
BiomeDefManager *biomedef; BiomeDefManager *biomedef;
EmergeManager(IGameDef *gamedef, BiomeDefManager *bdef, MapgenParams *mgparams); EmergeManager(IGameDef *gamedef, BiomeDefManager *bdef);
~EmergeManager(); ~EmergeManager();
void initMapgens(MapgenParams *mgparams);
Mapgen *createMapgen(std::string mgname, int mgid,
MapgenParams *mgparams, EmergeManager *emerge);
MapgenParams *createMapgenParams(std::string mgname);
Mapgen *getMapgen(); Mapgen *getMapgen();
void addBlockToQueue(); void addBlockToQueue();
bool registerMapgen(std::string name, MapgenFactory *mgfactory);
MapgenParams *getParamsFromSettings(Settings *settings);
//mapgen helper methods //mapgen helper methods
Biome *getBiomeAtPoint(v3s16 p); Biome *getBiomeAtPoint(v3s16 p);
int getGroundLevelAtPoint(v2s16 p); int getGroundLevelAtPoint(v2s16 p);

@ -31,6 +31,27 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "profiler.h" #include "profiler.h"
#include "settings.h" // For g_settings #include "settings.h" // For g_settings
#include "main.h" // For g_profiler #include "main.h" // For g_profiler
#include "mapgen_v6.h"
/////////////////// Mapgen V6 perlin noise default values
NoiseParams nparams_v6_def_terrain_base =
{-AVERAGE_MUD_AMOUNT, 20.0, v3f(250.0, 250.0, 250.0), 82341, 5, 0.6};
NoiseParams nparams_v6_def_terrain_higher =
{20.0, 16.0, v3f(500.0, 500.0, 500.0), 85039, 5, 0.6};
NoiseParams nparams_v6_def_steepness =
{0.85, 0.5, v3f(125.0, 125.0, 125.0), -932, 5, 0.7};
NoiseParams nparams_v6_def_height_select =
{0.5, 1.0, v3f(250.0, 250.0, 250.0), 4213, 5, 0.69};
NoiseParams nparams_v6_def_trees =
{0.0, 1.0, v3f(125.0, 125.0, 125.0), 2, 4, 0.66};
NoiseParams nparams_v6_def_mud =
{AVERAGE_MUD_AMOUNT, 2.0, v3f(200.0, 200.0, 200.0), 91013, 3, 0.55};
NoiseParams nparams_v6_def_beach =
{0.0, 1.0, v3f(250.0, 250.0, 250.0), 59420, 3, 0.50};
NoiseParams nparams_v6_def_biome =
{0.0, 1.0, v3f(250.0, 250.0, 250.0), 9130, 3, 0.50};
NoiseParams nparams_v6_def_cave =
{6.0, 6.0, v3f(250.0, 250.0, 250.0), 34329, 3, 0.50};
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
@ -397,7 +418,6 @@ int MapgenV6::getGroundLevelAtPoint(v2s16 p) {
return baseRockLevelFromNoise(p) + AVERAGE_MUD_AMOUNT; return baseRockLevelFromNoise(p) + AVERAGE_MUD_AMOUNT;
} }
#define VMANIP_FLAG_CAVE VOXELFLAG_CHECKED1 #define VMANIP_FLAG_CAVE VOXELFLAG_CHECKED1
void MapgenV6::makeChunk(BlockMakeData *data) void MapgenV6::makeChunk(BlockMakeData *data)

141
src/mapgen_v6.h Normal file

@ -0,0 +1,141 @@
/*
Minetest-c55
Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MAPGENV6_HEADER
#define MAPGENV6_HEADER
#include "mapgen.h"
#define AVERAGE_MUD_AMOUNT 4
enum BiomeType
{
BT_NORMAL,
BT_DESERT
};
extern NoiseParams nparams_v6_def_terrain_base;
extern NoiseParams nparams_v6_def_terrain_higher;
extern NoiseParams nparams_v6_def_steepness;
extern NoiseParams nparams_v6_def_height_select;
extern NoiseParams nparams_v6_def_trees;
extern NoiseParams nparams_v6_def_mud;
extern NoiseParams nparams_v6_def_beach;
extern NoiseParams nparams_v6_def_biome;
extern NoiseParams nparams_v6_def_cave;
struct MapgenV6Params : public MapgenParams {
float freq_desert;
float freq_beach;
NoiseParams *np_terrain_base;
NoiseParams *np_terrain_higher;
NoiseParams *np_steepness;
NoiseParams *np_height_select;
NoiseParams *np_trees;
NoiseParams *np_mud;
NoiseParams *np_beach;
NoiseParams *np_biome;
NoiseParams *np_cave;
MapgenV6Params() {
freq_desert = 0.45;
freq_beach = 0.15;
np_terrain_base = &nparams_v6_def_terrain_base;
np_terrain_higher = &nparams_v6_def_terrain_higher;
np_steepness = &nparams_v6_def_steepness;
np_height_select = &nparams_v6_def_height_select;
np_trees = &nparams_v6_def_trees;
np_mud = &nparams_v6_def_mud;
np_beach = &nparams_v6_def_beach;
np_biome = &nparams_v6_def_biome;
np_cave = &nparams_v6_def_cave;
}
bool readParams(Settings *settings);
void writeParams(Settings *settings);
};
class MapgenV6 : public Mapgen {
public:
//ManualMapVoxelManipulator &vmanip;
int ystride;
v3s16 csize;
v3s16 node_min;
v3s16 node_max;
Noise *noise_terrain_base;
Noise *noise_terrain_higher;
Noise *noise_steepness;
Noise *noise_height_select;
Noise *noise_trees;
Noise *noise_mud;
Noise *noise_beach;
Noise *noise_biome;
float *map_terrain_base;
float *map_terrain_higher;
float *map_steepness;
float *map_height_select;
float *map_trees;
float *map_mud;
float *map_beach;
float *map_biome;
NoiseParams *np_cave;
u32 flags;
float freq_desert;
float freq_beach;
MapgenV6(int mapgenid, MapgenV6Params *params);
~MapgenV6();
void makeChunk(BlockMakeData *data);
int getGroundLevelAtPoint(v2s16 p);
double baseRockLevelFromNoise(v2s16 p);
static s16 find_ground_level(VoxelManipulator &vmanip,
v2s16 p2d, INodeDefManager *ndef);
static s16 find_stone_level(VoxelManipulator &vmanip,
v2s16 p2d, INodeDefManager *ndef);
void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0,
bool is_apple_tree, INodeDefManager *ndef);
double tree_amount_2d(u64 seed, v2s16 p);
bool block_is_underground(u64 seed, v3s16 blockpos);
double base_rock_level_2d(u64 seed, v2s16 p);
s16 find_ground_level_from_noise(u64 seed, v2s16 p2d, s16 precision);
double get_mud_add_amount(u64 seed, v2s16 p);
bool get_have_beach(u64 seed, v2s16 p2d);
BiomeType get_biome(u64 seed, v2s16 p2d);
u32 get_blockseed(u64 seed, v3s16 p);
};
struct MapgenFactoryV6 : public MapgenFactory {
Mapgen *createMapgen(int mgid, MapgenParams *params, EmergeManager *emerge) {
return new MapgenV6(mgid, (MapgenV6Params *)params);
};
MapgenParams *createMapgenParams() {
return new MapgenV6Params();
};
};
#endif

@ -42,18 +42,26 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#define ALIGNOF(x) __alignof(x)
#define sleep_ms(x) Sleep(x) #define sleep_ms(x) Sleep(x)
#else
#include <unistd.h>
#include <stdint.h> //for uintptr_t
#define sleep_ms(x) usleep(x*1000)
#endif
#ifdef _MSC_VER
#define ALIGNOF(x) __alignof(x)
#define strtok_r(x, y, z) strtok_s(x, y, z) #define strtok_r(x, y, z) strtok_s(x, y, z)
#define strtof(x, y) (float)strtod(x, y) #define strtof(x, y) (float)strtod(x, y)
#define strtoll(x, y, z) _strtoi64(x, y, z) #define strtoll(x, y, z) _strtoi64(x, y, z)
#define strtoull(x, y, z) _strtoui64(x, y, z) #define strtoull(x, y, z) _strtoui64(x, y, z)
#else #else
#include <unistd.h>
#include <stdint.h> //for uintptr_t
#define ALIGNOF(x) __alignof__(x) #define ALIGNOF(x) __alignof__(x)
#define sleep_ms(x) usleep(x*1000) #endif
#ifdef __MINGW32__
#define strtok_r(x, y, z) mystrtok_r(x, y, z)
#endif #endif
#define PADDING(x, y) ((ALIGNOF(y) - ((uintptr_t)(x) & (ALIGNOF(y) - 1))) & (ALIGNOF(y) - 1)) #define PADDING(x, y) ((ALIGNOF(y) - ((uintptr_t)(x) & (ALIGNOF(y) - 1))) & (ALIGNOF(y) - 1))

@ -1097,15 +1097,14 @@ Server::Server(
// Add default biomes after nodedef had its aliases added // Add default biomes after nodedef had its aliases added
m_biomedef->addDefaultBiomes(); m_biomedef->addDefaultBiomes();
// Initialize Environment
ServerMap *servermap = new ServerMap(path_world, this);
m_env = new ServerEnvironment(servermap, m_lua, this, this);
// Create emerge manager // Create emerge manager
m_emerge = new EmergeManager(this, m_biomedef, servermap->getMapgenParams()); m_emerge = new EmergeManager(this, m_biomedef);
// Give map pointer to the emerge manager // Initialize Environment
servermap->setEmerge(m_emerge); ServerMap *servermap = new ServerMap(path_world, this, m_emerge);
m_env = new ServerEnvironment(servermap, m_lua, this, this);
m_emerge->initMapgens(servermap->getMapgenParams());
// Give environment reference to scripting api // Give environment reference to scripting api
scriptapi_add_environment(m_lua, m_env); scriptapi_add_environment(m_lua, m_env);

@ -47,3 +47,28 @@ size_t curl_write_data(char *ptr, size_t size, size_t nmemb, void *userdata) {
stream->write(ptr, count); stream->write(ptr, count);
return count; return count;
} }
char *mystrtok_r(char *s, const char *sep, char **lasts) {
char *t;
if (!s)
s = *lasts;
while (*s && strchr(sep, *s))
s++;
if (!*s)
return NULL;
t = s;
while (*t) {
if (strchr(sep, *t)) {
*t++ = '\0';
break;
}
t++;
}
*lasts = t;
return s;
}

@ -283,6 +283,7 @@ inline std::string wrap_rows(const std::string &from, u32 rowlen)
std::string translatePassword(std::string playername, std::wstring password); std::string translatePassword(std::string playername, std::wstring password);
size_t curl_write_data(char *ptr, size_t size, size_t nmemb, void *userdata); size_t curl_write_data(char *ptr, size_t size, size_t nmemb, void *userdata);
char *mystrtok_r(char *s, const char *sep, char **lasts);
#endif #endif