Skip to content

Commit

Permalink
Add emulated games scanning (tkashkin#103)
Browse files Browse the repository at this point in the history
Former-commit-id: f5b3ad0
  • Loading branch information
tkashkin committed Jun 9, 2019
1 parent f5416f3 commit e0c19b0
Show file tree
Hide file tree
Showing 20 changed files with 1,198 additions and 246 deletions.
1 change: 1 addition & 0 deletions po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ src/ui/dialogs/GamePropertiesDialog.vala
src/ui/dialogs/GameFSOverlaysDialog.vala
src/ui/dialogs/CompatRunDialog.vala
src/ui/dialogs/CorruptedInstallerDialog.vala
src/ui/dialogs/ImportEmulatedGamesDialog.vala
src/ui/views/BaseView.vala
src/ui/views/WelcomeView.vala
src/ui/views/GamesView/GamesView.vala
Expand Down
74 changes: 55 additions & 19 deletions po/com.github.tkashkin.gamehub.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.github.tkashkin.gamehub\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 02:34+0300\n"
"POT-Creation-Date: 2019-06-09 11:04+0300\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"
Expand Down Expand Up @@ -109,7 +109,7 @@ msgid "Show logging options help"
msgstr ""

#: src/data/Runnable.vala:93 src/data/Runnable.vala:95
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:254
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:265
#: src/ui/dialogs/GamePropertiesDialog.vala:220
msgid "Select executable"
msgstr ""
Expand Down Expand Up @@ -307,7 +307,7 @@ msgid ""
msgstr ""

#: src/data/compat/WineWrap.vala:61
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:234
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:245
#: src/ui/dialogs/CompatRunDialog.vala:102
#: src/ui/views/GamesView/GameContextMenu.vala:42
#: src/ui/views/GameDetailsView/GameDetailsPage.vala:210
Expand Down Expand Up @@ -399,7 +399,7 @@ msgstr ""
msgid "Disable fullscreen"
msgstr ""

#: src/data/compat/RetroArch.vala:51
#: src/data/compat/RetroArch.vala:53
msgid "Libretro core file"
msgstr ""

Expand Down Expand Up @@ -521,6 +521,7 @@ msgid "Bonus content"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/general/Collection.vala:80
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:271
msgid "Variables"
msgstr ""

Expand Down Expand Up @@ -662,62 +663,79 @@ msgstr[0] ""
msgstr[1] ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:44
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:170
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:171
msgid "No custom emulators"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:166
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:167
#, c-format
msgid "%u custom emulator"
msgid_plural "%u custom emulators"
msgstr[0] ""
msgstr[1] ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:222
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:254
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:347
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:223
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:265
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:369
#: src/ui/dialogs/GamePropertiesDialog.vala:216
#: src/ui/dialogs/GamePropertiesDialog.vala:220
#: src/ui/views/GamesView/AddGamePopover.vala:66
#: src/ui/views/GamesView/AddGamePopover.vala:76
#: src/ui/views/GamesView/AddGamePopover.vala:121
#: src/ui/views/GamesView/AddGamePopover.vala:136
msgid "Executable"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:223
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:347
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:224
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:369
#: src/ui/views/GamesView/AddGamePopover.vala:67
#: src/ui/views/GamesView/AddGamePopover.vala:121
#: src/ui/views/GamesView/AddGamePopover.vala:136
msgid "Installer"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:228
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:239
msgid "Save"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:240
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:251
#: src/ui/dialogs/GamePropertiesDialog.vala:130
#: src/ui/dialogs/GamePropertiesDialog.vala:135
#: src/ui/views/GamesView/AddGamePopover.vala:72
msgid "Name"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:256
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:267
#: src/ui/dialogs/GamePropertiesDialog.vala:239
#: src/ui/views/GamesView/AddGamePopover.vala:77
msgid "Arguments"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:268
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:272
msgid "Game executable"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:273
msgid "Game arguments"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:283
#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:80
#: src/ui/views/GamesView/AddGamePopover.vala:81
msgid "Directory"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:268
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:283
msgid "Select emulator directory"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:305
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:287
msgid "Game executable pattern"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:289
msgid "Glob patterns separated with |"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:328
#: src/ui/dialogs/GamePropertiesDialog.vala:257
msgid "Force compatibility mode"
msgstr ""
Expand Down Expand Up @@ -783,6 +801,7 @@ msgid "Install"
msgstr ""

#: src/ui/dialogs/InstallDialog.vala:111
#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:123
msgid "Import"
msgstr ""

Expand Down Expand Up @@ -904,6 +923,23 @@ msgstr ""
msgid "Corrupted installer: checksum mismatch in"
msgstr ""

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:58
#: src/ui/views/GamesView/AddGamePopover.vala:104
msgid "Import emulated games"
msgstr ""

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:75
msgid "Select directory with emulated games"
msgstr ""

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:83
msgid "Select all"
msgstr ""

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:92
msgid "Detected games"
msgstr ""

#: src/ui/views/WelcomeView.vala:51
msgid "No enabled game sources"
msgstr ""
Expand Down
80 changes: 61 additions & 19 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.github.tkashkin.gamehub\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-03 02:34+0300\n"
"POT-Creation-Date: 2019-06-09 11:04+0300\n"
"PO-Revision-Date: 2019-06-08 23:29+0000\n"
"Last-Translator: ssantos <ssantos@web.de>\n"
"Language-Team: German <https://hosted.weblate.org/projects/gamehub/"
Expand Down Expand Up @@ -115,7 +115,7 @@ msgid "Show logging options help"
msgstr "Hilfe zu den Protokollierungsoptionen anzeigen"

#: src/data/Runnable.vala:93 src/data/Runnable.vala:95
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:254
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:265
#: src/ui/dialogs/GamePropertiesDialog.vala:220
msgid "Select executable"
msgstr "Ausführbare Datei auswählen"
Expand Down Expand Up @@ -323,7 +323,7 @@ msgstr ""
"Innoextract <b>%2$s</b> oder neuer installieren."

#: src/data/compat/WineWrap.vala:61
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:234
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:245
#: src/ui/dialogs/CompatRunDialog.vala:102
#: src/ui/views/GamesView/GameContextMenu.vala:42
#: src/ui/views/GameDetailsView/GameDetailsPage.vala:210
Expand Down Expand Up @@ -415,7 +415,7 @@ msgstr "Fenstermodus"
msgid "Disable fullscreen"
msgstr "Vollbild deaktivieren"

#: src/data/compat/RetroArch.vala:51
#: src/data/compat/RetroArch.vala:53
msgid "Libretro core file"
msgstr "Libretro-Kerndatei"

Expand Down Expand Up @@ -540,6 +540,7 @@ msgid "Bonus content"
msgstr "Bonusinhalte"

#: src/ui/dialogs/SettingsDialog/pages/general/Collection.vala:80
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:271
msgid "Variables"
msgstr "Variablen"

Expand Down Expand Up @@ -682,62 +683,82 @@ msgstr[0] "%u Kern gefunden"
msgstr[1] "%u Kerne gefunden"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:44
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:170
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:171
msgid "No custom emulators"
msgstr "Keine benutzerdefinierten Emulatoren"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:166
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:167
#, c-format
msgid "%u custom emulator"
msgid_plural "%u custom emulators"
msgstr[0] "%u benutzerdefinierter Emulator"
msgstr[1] "%u benutzerdefinierte Emulatoren"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:222
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:254
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:347
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:223
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:265
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:369
#: src/ui/dialogs/GamePropertiesDialog.vala:216
#: src/ui/dialogs/GamePropertiesDialog.vala:220
#: src/ui/views/GamesView/AddGamePopover.vala:66
#: src/ui/views/GamesView/AddGamePopover.vala:76
#: src/ui/views/GamesView/AddGamePopover.vala:121
#: src/ui/views/GamesView/AddGamePopover.vala:136
msgid "Executable"
msgstr "Ausführbare Datei"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:223
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:347
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:224
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:369
#: src/ui/views/GamesView/AddGamePopover.vala:67
#: src/ui/views/GamesView/AddGamePopover.vala:121
#: src/ui/views/GamesView/AddGamePopover.vala:136
msgid "Installer"
msgstr "Installer"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:228
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:239
msgid "Save"
msgstr "Speichern"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:240
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:251
#: src/ui/dialogs/GamePropertiesDialog.vala:130
#: src/ui/dialogs/GamePropertiesDialog.vala:135
#: src/ui/views/GamesView/AddGamePopover.vala:72
msgid "Name"
msgstr "Name"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:256
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:267
#: src/ui/dialogs/GamePropertiesDialog.vala:239
#: src/ui/views/GamesView/AddGamePopover.vala:77
msgid "Arguments"
msgstr "Argumente"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:268
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:272
#, fuzzy
msgid "Game executable"
msgstr "Ausführbare Spieldatei auswählen"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:273
#, fuzzy
msgid "Game arguments"
msgstr "Argumente"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:283
#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:80
#: src/ui/views/GamesView/AddGamePopover.vala:81
msgid "Directory"
msgstr "Verzeichnis"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:268
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:283
msgid "Select emulator directory"
msgstr "Emulatorverzeichnis auswählen"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:305
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:287
#, fuzzy
msgid "Game executable pattern"
msgstr "Ausführbare Spieldatei auswählen"

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:289
msgid "Glob patterns separated with |"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:328
#: src/ui/dialogs/GamePropertiesDialog.vala:257
msgid "Force compatibility mode"
msgstr "Kompatibilitätsmodus erzwingen"
Expand Down Expand Up @@ -803,6 +824,7 @@ msgid "Install"
msgstr "Installieren"

#: src/ui/dialogs/InstallDialog.vala:111
#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:123
msgid "Import"
msgstr "Importieren"

Expand Down Expand Up @@ -927,6 +949,26 @@ msgstr "Mit Kompatibilitätsschicht ausführen"
msgid "Corrupted installer: checksum mismatch in"
msgstr "Fehlerhafter Installer: Prüfsummenfehler in"

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:58
#: src/ui/views/GamesView/AddGamePopover.vala:104
#, fuzzy
msgid "Import emulated games"
msgstr "Keine vom Benutzer hinzugefügten Spiele"

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:75
#, fuzzy
msgid "Select directory with emulated games"
msgstr "Ordner auswählen"

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:83
#, fuzzy
msgid "Select all"
msgstr "Installationsprogramm auswählen"

#: src/ui/dialogs/ImportEmulatedGamesDialog.vala:92
msgid "Detected games"
msgstr ""

#: src/ui/views/WelcomeView.vala:51
msgid "No enabled game sources"
msgstr "Keine aktivierten Spielquellen"
Expand Down
Loading

0 comments on commit e0c19b0

Please sign in to comment.