Revert "games -> planets"

This reverts commit dc725eb649.
This commit is contained in:
Mrchiantos 2019-07-22 03:14:15 +02:00
parent e021be84c8
commit 48ce801856
45 changed files with 66 additions and 66 deletions

View File

@ -123,6 +123,6 @@ Other things that may be nice to know
After compiling you need to archive files in assets into three zips - Files.zip, games.zip and worlds.zip. After compiling you need to archive files in assets into three zips - Files.zip, games.zip and worlds.zip.
games.zip must contain "planets" folder. games.zip must contain "games" folder.
worlds.zip must contain "worlds" folder and "multicraf.conf" text file. worlds.zip must contain "worlds" folder and "multicraf.conf" text file.
Finally, remaining files must be packed into Files.zip. Finally, remaining files must be packed into Files.zip.

View File

@ -485,7 +485,7 @@ public class MainActivity extends Activity implements WVersionManager.ActivityLi
if (isAll) { if (isAll) {
dt.execute(unzipLocation); dt.execute(unzipLocation);
} else { } else {
dt.execute(unzipLocation + "builtin", unzipLocation + "planets", unzipLocation + "textures"/*, unzipLocation + "debug.txt"*/); dt.execute(unzipLocation + "builtin", unzipLocation + "games", unzipLocation + "textures"/*, unzipLocation + "debug.txt"*/);
} }
} }

View File

@ -31,7 +31,7 @@ local num_per_page = 5
local filter_type = 1 local filter_type = 1
local filter_types_titles = { local filter_types_titles = {
fgettext("All packages"), fgettext("All packages"),
fgettext("planets"), fgettext("Games"),
fgettext("Mods"), fgettext("Mods"),
fgettext("Texture packs"), fgettext("Texture packs"),
} }

View File

@ -56,7 +56,7 @@ local function create_world_formspec(dialogdata)
"label[2,2;" .. fgettext("Mapgen") .. "]".. "label[2,2;" .. fgettext("Mapgen") .. "]"..
"dropdown[4.2,2;6.3;dd_mapgen;" .. mglist .. ";" .. selindex .. "]" .. "dropdown[4.2,2;6.3;dd_mapgen;" .. mglist .. ";" .. selindex .. "]" ..
"label[2,3;" .. fgettext("files") .. "]".. "label[2,3;" .. fgettext("Planets") .. "]"..
"textlist[4.2,3;5.8,2.3;games;" .. gamemgr.gamelist() .. "textlist[4.2,3;5.8,2.3;games;" .. gamemgr.gamelist() ..
";" .. gameidx .. ";true]" .. ";" .. gameidx .. ";true]" ..
@ -83,7 +83,7 @@ local function create_world_buttonhandler(this, fields)
fields["key_enter"] then fields["key_enter"] then
local worldname = fields["te_world_name"] local worldname = fields["te_world_name"]
local gameindex = core.get_textlist_index("planets") local gameindex = core.get_textlist_index("games")
if gameindex ~= nil and if gameindex ~= nil and
worldname ~= "" then worldname ~= "" then
@ -119,7 +119,7 @@ local function create_world_buttonhandler(this, fields)
return true return true
end end
if fields["planets"] then if fields["games"] then
return true return true
end end

View File

@ -286,9 +286,9 @@ local function parse_config_file(read_all, parse_mods)
local file = io.open(path, "r") local file = io.open(path, "r")
if file then if file then
if not games_category_initialized then if not games_category_initialized then
local translation = fgettext_ne("planets"), -- not used, but needed for xgettext local translation = fgettext_ne("Games"), -- not used, but needed for xgettext
table.insert(settings, { table.insert(settings, {
name = "planets", name = "Games",
level = 0, level = 0,
type = "category", type = "category",
}) })

View File

@ -59,7 +59,7 @@ The game directory can contain the file minetest.conf, which will be used
to set default settings when running the particular game. to set default settings when running the particular game.
It can also contain a settingtypes.txt in the same format as the one in builtin. It can also contain a settingtypes.txt in the same format as the one in builtin.
This settingtypes.txt will be parsed by the menu and the settings will be displayed This settingtypes.txt will be parsed by the menu and the settings will be displayed
in the "planets" category in the settings tab. in the "Games" category in the settings tab.
### Menu images ### Menu images

View File

@ -269,7 +269,7 @@ if page == "furnitures" then
end end
if page == "files" then if page == "planets" then
local inv = player:get_inventory() or nil local inv = player:get_inventory() or nil

View File

@ -205,7 +205,7 @@ msgid "Accept"
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -253,7 +253,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Гульні" msgstr "Гульні"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -259,7 +259,7 @@ msgstr ""
"<llavor>, <octaves>, <persistència>" "<llavor>, <octaves>, <persistència>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Jocs" msgstr "Jocs"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -254,7 +254,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Hry" msgstr "Hry"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -4959,7 +4959,7 @@ msgstr "cURL timeout"
#~ msgid "Mods:" #~ msgid "Mods:"
#~ msgstr "Mody:" #~ msgstr "Mody:"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "HRY" #~ msgstr "HRY"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""

View File

@ -256,7 +256,7 @@ msgstr ""
"<udbredelseZ>), <kim>, <oktaver>, <vedholdenhed>" "<udbredelseZ>), <kim>, <oktaver>, <vedholdenhed>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Spil" msgstr "Spil"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -257,7 +257,7 @@ msgstr ""
"<Seed>, <Oktaven>, <Persistenz>" "<Seed>, <Oktaven>, <Persistenz>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Spiele" msgstr "Spiele"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5850,7 +5850,7 @@ msgstr "cURL-Zeitüberschreitung"
#~ msgid "Mods:" #~ msgid "Mods:"
#~ msgstr "Mods:" #~ msgstr "Mods:"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "SPIELE" #~ msgstr "SPIELE"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""

View File

@ -254,7 +254,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -261,7 +261,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Ludoj" msgstr "Ludoj"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -257,7 +257,7 @@ msgstr ""
"<semilla>, <octavas>, <persistencia>" "<semilla>, <octavas>, <persistencia>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Juegos" msgstr "Juegos"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -254,7 +254,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Mängud" msgstr "Mängud"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -4917,7 +4917,7 @@ msgstr ""
#~ msgid "If enabled, " #~ msgid "If enabled, "
#~ msgstr "Sisse lülitatud" #~ msgstr "Sisse lülitatud"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "MÄNGUD" #~ msgstr "MÄNGUD"
#~ msgid "new game" #~ msgid "new game"

View File

@ -254,7 +254,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Jeux" msgstr "Jeux"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5619,7 +5619,7 @@ msgstr "Délais d'interruption de cURL"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gamemgr : Impossible de copier le mod \"$1\" dans le jeu \"$2\"" #~ msgstr "Gamemgr : Impossible de copier le mod \"$1\" dans le jeu \"$2\""
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "JEUX" #~ msgstr "JEUX"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -250,7 +250,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "משחקים" msgstr "משחקים"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -253,7 +253,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Játékok" msgstr "Játékok"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -252,7 +252,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Permainan" msgstr "Permainan"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -254,7 +254,7 @@ msgstr ""
"<estensioneZ>), <seme>, <ottave>, <persistenza>" "<estensioneZ>), <seme>, <ottave>, <persistenza>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Giochi" msgstr "Giochi"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5676,7 +5676,7 @@ msgstr "Tempo di scadenza cURL"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gestore del gioco: impossibile il modulo \"$1\" nel gioco \"$2\"" #~ msgstr "Gestore del gioco: impossibile il modulo \"$1\" nel gioco \"$2\""
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "GIOCHI" #~ msgstr "GIOCHI"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -247,7 +247,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "ゲーム" msgstr "ゲーム"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -252,7 +252,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -250,7 +250,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "게임" msgstr "게임"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -257,7 +257,7 @@ msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
#, fuzzy #, fuzzy
msgid "planets" msgid "Games"
msgstr "Оюн" msgstr "Оюн"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -255,7 +255,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Žaidimai" msgstr "Žaidimai"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -4861,7 +4861,7 @@ msgstr ""
#~ msgid "If enabled, " #~ msgid "If enabled, "
#~ msgstr "įjungtas" #~ msgstr "įjungtas"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "ŽAIDIMAI" #~ msgstr "ŽAIDIMAI"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -254,7 +254,7 @@ msgstr ""
"<penerusan>" "<penerusan>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Permainan" msgstr "Permainan"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -255,7 +255,7 @@ msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
#, fuzzy #, fuzzy
msgid "planets" msgid "Games"
msgstr "Spill" msgstr "Spill"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -258,7 +258,7 @@ msgstr ""
"<kiemgetal>, <octaven>, <persistentie>" "<kiemgetal>, <octaven>, <persistentie>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Spellen" msgstr "Spellen"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5735,7 +5735,7 @@ msgstr "cURL timeout"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gamemgr: Kan mod \"$1\" niet naar spel \"$2\" kopiëren" #~ msgstr "Gamemgr: Kan mod \"$1\" niet naar spel \"$2\" kopiëren"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "SPELLEN" #~ msgstr "SPELLEN"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -256,7 +256,7 @@ msgstr ""
"<ziarno>, <oktawy>, <trwanie>" "<ziarno>, <oktawy>, <trwanie>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Gry" msgstr "Gry"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5351,7 +5351,7 @@ msgstr "Limit czasu cURL"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gamemgr: Kopiowanie moda \"$1\" do gry \"$2\" nie powiodło się" #~ msgstr "Gamemgr: Kopiowanie moda \"$1\" do gry \"$2\" nie powiodło się"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "GRY" #~ msgstr "GRY"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -254,7 +254,7 @@ msgstr ""
"<seed>, <oitavos>, <persistência>" "<seed>, <oitavos>, <persistência>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Jogos" msgstr "Jogos"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5172,7 +5172,7 @@ msgstr ""
#~ "Mensagem de Jogo: Impossível fazer cópia do extra \"$1\" para o jogo " #~ "Mensagem de Jogo: Impossível fazer cópia do extra \"$1\" para o jogo "
#~ "\"$2\"" #~ "\"$2\""
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "JOGOS" #~ msgstr "JOGOS"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -257,7 +257,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Jogos" msgstr "Jogos"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5660,7 +5660,7 @@ msgstr "Tempo limite de cURL"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gamemgr: Não foi possível copiar o mod \"$1\" para o jogo \"$2\"" #~ msgstr "Gamemgr: Não foi possível copiar o mod \"$1\" para o jogo \"$2\""
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "JOGOS" #~ msgstr "JOGOS"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -254,7 +254,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Jocuri" msgstr "Jocuri"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -4959,7 +4959,7 @@ msgstr ""
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gamemgr: Nu se poate copia modul \"$1\" în jocul \"$2\"" #~ msgstr "Gamemgr: Nu se poate copia modul \"$1\" în jocul \"$2\""
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "JOCURI" #~ msgstr "JOCURI"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -245,7 +245,7 @@ msgstr ""
"<Октавы>,<Постоянство>" "<Октавы>,<Постоянство>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Игры" msgstr "Игры"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5332,7 +5332,7 @@ msgstr "cURL тайм-аут"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "Gamemgr: Не могу скопировать мод \"$1\" в игру \"$2\"" #~ msgstr "Gamemgr: Не могу скопировать мод \"$1\" в игру \"$2\""
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "ИГРЫ" #~ msgstr "ИГРЫ"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -213,7 +213,7 @@ msgid "Accept"
msgstr "Potrdi" msgstr "Potrdi"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Igre" msgstr "Igre"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -255,7 +255,7 @@ msgstr ""
"<октаве>, <упорност>" "<октаве>, <упорност>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Игре" msgstr "Игре"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -253,7 +253,7 @@ msgstr ""
"<frö>, <oktaver>, <framhärdande>" "<frö>, <oktaver>, <framhärdande>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Spel" msgstr "Spel"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -245,7 +245,7 @@ msgid ""
msgstr "" msgstr ""
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Michezo" msgstr "Michezo"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -253,7 +253,7 @@ msgstr ""
"<oktav>, <kalıcılık>" "<oktav>, <kalıcılık>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Oyunlar" msgstr "Oyunlar"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -253,7 +253,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "Ігри" msgstr "Ігри"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -249,7 +249,7 @@ msgstr ""
"<octaves>, <persistence>" "<octaves>, <persistence>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "游戏" msgstr "游戏"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua
@ -5029,7 +5029,7 @@ msgstr "cURL 超时"
#~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\"" #~ msgid "Gamemgr: Unable to copy mod \"$1\" to game \"$2\""
#~ msgstr "游戏管理: 无法复制MOD“$1”到游戏“$2”" #~ msgstr "游戏管理: 无法复制MOD“$1”到游戏“$2”"
#~ msgid "planets" #~ msgid "GAMES"
#~ msgstr "游戏" #~ msgstr "游戏"
#~ msgid "Mods:" #~ msgid "Mods:"

View File

@ -252,7 +252,7 @@ msgstr ""
"性>" "性>"
#: builtin/mainmenu/dlg_settings_advanced.lua #: builtin/mainmenu/dlg_settings_advanced.lua
msgid "planets" msgid "Games"
msgstr "遊戲" msgstr "遊戲"
#: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua #: builtin/mainmenu/dlg_settings_advanced.lua builtin/mainmenu/tab_mods.lua

View File

@ -762,7 +762,7 @@ int ModApiMainMenu::l_get_modpath(lua_State *L)
int ModApiMainMenu::l_get_gamepath(lua_State *L) int ModApiMainMenu::l_get_gamepath(lua_State *L)
{ {
std::string gamepath = fs::RemoveRelativePathComponents( std::string gamepath = fs::RemoveRelativePathComponents(
porting::path_share + DIR_DELIM + "planets" + DIR_DELIM); porting::path_share + DIR_DELIM + "games" + DIR_DELIM);
lua_pushstring(L, gamepath.c_str()); lua_pushstring(L, gamepath.c_str());
return 1; return 1;
} }
@ -949,7 +949,7 @@ bool ModApiMainMenu::isMinetestPath(std::string path)
return true; return true;
/* games */ /* games */
if (fs::PathStartsWith(path,fs::RemoveRelativePathComponents(porting::path_share + DIR_DELIM + "planets"))) if (fs::PathStartsWith(path,fs::RemoveRelativePathComponents(porting::path_share + DIR_DELIM + "games")))
return true; return true;
/* mods */ /* mods */

View File

@ -87,13 +87,13 @@ SubgameSpec findSubgame(const std::string &id)
} }
find_paths.push_back(GameFindPath( find_paths.push_back(GameFindPath(
share + DIR_DELIM + "planets" + DIR_DELIM + id + "_game", true)); share + DIR_DELIM + "games" + DIR_DELIM + id + "_game", true));
find_paths.push_back(GameFindPath( find_paths.push_back(GameFindPath(
share + DIR_DELIM + "planets" + DIR_DELIM + id, true)); share + DIR_DELIM + "games" + DIR_DELIM + id, true));
find_paths.push_back(GameFindPath( find_paths.push_back(GameFindPath(
share + DIR_DELIM + "planets" + DIR_DELIM + id + "_game", false)); share + DIR_DELIM + "games" + DIR_DELIM + id + "_game", false));
find_paths.push_back(GameFindPath( find_paths.push_back(GameFindPath(
share + DIR_DELIM + "planets" + DIR_DELIM + id, false)); share + DIR_DELIM + "games" + DIR_DELIM + id, false));
// Find game directory // Find game directory
std::string game_path; std::string game_path;
bool user_game = true; // Game is in user's directory bool user_game = true; // Game is in user's directory
@ -145,7 +145,7 @@ std::set<std::string> getAvailableGameIds()
{ {
std::set<std::string> gameids; std::set<std::string> gameids;
std::set<std::string> gamespaths; std::set<std::string> gamespaths;
gamespaths.insert(porting::path_share + DIR_DELIM + "planets"); gamespaths.insert(porting::path_share + DIR_DELIM + "games");
Strfnd search_paths(getSubgamePathEnv()); Strfnd search_paths(getSubgamePathEnv());