Skip to content

Commit

Permalink
Allow multiple selection in games list
Browse files Browse the repository at this point in the history
Add actions for selected games (tkashkin#262)
Batch tag editing for selected games


Former-commit-id: f88b0a4
  • Loading branch information
tkashkin committed Jun 25, 2019
1 parent 3548d6b commit b450938
Show file tree
Hide file tree
Showing 34 changed files with 2,253 additions and 924 deletions.
2 changes: 2 additions & 0 deletions po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ src/ui/views/GamesView/FiltersPopover.vala
src/ui/views/GamesView/AddGamePopover.vala
src/ui/views/GamesView/GameContextMenu.vala
src/ui/views/GameDetailsView/GameDetailsView.vala
src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala
src/ui/views/GameDetailsView/GameDetailsPage.vala
src/ui/views/GameDetailsView/GameDetailsBlock.vala
src/ui/views/GameDetailsView/blocks/Achievements.vala
Expand All @@ -84,6 +85,7 @@ src/ui/widgets/ExtendedStackSwitcher.vala
src/ui/widgets/ImagesDownloadPopover.vala
src/ui/widgets/CompatToolOptions.vala
src/ui/widgets/CompatToolPicker.vala
src/ui/widgets/GameTagsList.vala
src/ui/widgets/TagRow.vala
src/utils/Utils.vala
src/utils/ImageCache.vala
Expand Down
168 changes: 110 additions & 58 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-23 07:47+0300\n"
"POT-Creation-Date: 2019-06-25 15:41+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 @@ -114,12 +114,12 @@ msgstr ""

#: src/data/Runnable.vala:93 src/data/Runnable.vala:95
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:271
#: src/ui/dialogs/GamePropertiesDialog.vala:218
#: src/ui/dialogs/GamePropertiesDialog.vala:151
msgid "Select executable"
msgstr ""

#: src/data/Runnable.vala:93 src/data/Runnable.vala:95
#: src/data/Runnable.vala:164 src/ui/views/GamesView/GamesView.vala:362
#: src/data/Runnable.vala:164 src/ui/views/GamesView/GamesView.vala:383
#: src/ui/widgets/FileChooserEntry.vala:55
#: src/ui/widgets/FileChooserEntry.vala:57
msgid "Select"
Expand Down Expand Up @@ -175,7 +175,7 @@ msgid ""
"Please set main executable in game's properties."
msgstr ""

#: src/data/Runnable.vala:820
#: src/data/Runnable.vala:825
msgctxt "platform"
msgid "Emulated"
msgstr ""
Expand Down Expand Up @@ -510,8 +510,8 @@ msgstr ""

#: src/ui/dialogs/SettingsDialog/SettingsDialog.vala:39
#: src/ui/views/WelcomeView.vala:52 src/ui/views/WelcomeView.vala:77
#: src/ui/views/GamesView/GamesView.vala:261
#: src/ui/views/GamesView/GamesView.vala:616
#: src/ui/views/GamesView/GamesView.vala:265
#: src/ui/views/GamesView/GamesView.vala:638
msgid "Settings"
msgstr ""

Expand Down Expand Up @@ -779,8 +779,8 @@ msgstr ""
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:271
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:313
#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:405
#: src/ui/dialogs/GamePropertiesDialog.vala:214
#: src/ui/dialogs/GamePropertiesDialog.vala:218
#: src/ui/dialogs/GamePropertiesDialog.vala:147
#: src/ui/dialogs/GamePropertiesDialog.vala:151
#: src/ui/views/GamesView/AddGamePopover.vala:67
#: src/ui/views/GamesView/AddGamePopover.vala:77
#: src/ui/views/GamesView/AddGamePopover.vala:143
Expand All @@ -795,14 +795,14 @@ msgid "Installer"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:257
#: src/ui/dialogs/GamePropertiesDialog.vala:129
#: src/ui/dialogs/GamePropertiesDialog.vala:134
#: src/ui/dialogs/GamePropertiesDialog.vala:62
#: src/ui/dialogs/GamePropertiesDialog.vala:67
#: src/ui/views/GamesView/AddGamePopover.vala:73
msgid "Name"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:273
#: src/ui/dialogs/GamePropertiesDialog.vala:237
#: src/ui/dialogs/GamePropertiesDialog.vala:170
#: src/ui/views/GamesView/AddGamePopover.vala:78
msgid "Arguments"
msgstr ""
Expand Down Expand Up @@ -830,7 +830,7 @@ msgid "Select emulator directory"
msgstr ""

#: src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala:293
#: src/ui/dialogs/GamePropertiesDialog.vala:255
#: src/ui/dialogs/GamePropertiesDialog.vala:188
msgid "Force compatibility mode"
msgstr ""

Expand Down Expand Up @@ -934,81 +934,75 @@ msgctxt "about_link"
msgid "Forks"
msgstr ""

#: src/ui/dialogs/InstallDialog.vala:55 src/ui/dialogs/InstallDialog.vala:113
#: src/ui/dialogs/InstallDialog.vala:57 src/ui/dialogs/InstallDialog.vala:115
#: src/ui/views/GamesView/GameContextMenu.vala:50
#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:145
#: src/ui/views/GameDetailsView/GameDetailsPage.vala:223
msgid "Install"
msgstr ""

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

#: src/ui/dialogs/InstallDialog.vala:112
#: src/ui/dialogs/InstallDialog.vala:114
#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:155
msgid "Download"
msgstr ""

#: src/ui/dialogs/InstallDialog.vala:209
#: src/ui/dialogs/InstallDialog.vala:211
msgid "Select installer"
msgstr ""

#: src/ui/dialogs/InstallDialog.vala:218
#: src/ui/dialogs/InstallDialog.vala:220
#, c-format
msgid "Installer size: %s"
msgstr ""

#: src/ui/dialogs/InstallDialog.vala:317
#: src/ui/dialogs/InstallDialog.vala:330
msgid "Unknown"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:50
#: src/ui/dialogs/GamePropertiesDialog.vala:47
#, c-format
msgid "%s: Properties"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:65
#: src/ui/views/GamesView/FiltersPopover.vala:194
msgid "Tags"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:110
msgid "Add tag"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:148
#: src/ui/dialogs/GamePropertiesDialog.vala:81
msgid "Images"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:185
#: src/ui/dialogs/GamePropertiesDialog.vala:118
#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:162
msgid "Download images"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:192
#: src/ui/dialogs/GamePropertiesDialog.vala:125
msgid "Image URL"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:200
#: src/ui/dialogs/GamePropertiesDialog.vala:133
msgid "Icon URL"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:250
#: src/ui/dialogs/GamePropertiesDialog.vala:183
msgid "Compatibility"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:272
#: src/ui/dialogs/GamePropertiesDialog.vala:205
msgid "Launch from terminal"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:288
#: src/ui/dialogs/GamePropertiesDialog.vala:221
msgid "Copy to clipboard"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:290
#: src/ui/dialogs/GamePropertiesDialog.vala:223
msgid "Add to Steam"
msgstr ""

#: src/ui/dialogs/GamePropertiesDialog.vala:291
#: src/ui/dialogs/GamePropertiesDialog.vala:224
msgid "Add to the Steam library"
msgstr ""

Expand Down Expand Up @@ -1129,93 +1123,93 @@ msgstr ""
msgid "Get some games or enable some game sources in settings"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:181
#: src/ui/views/GamesView/GamesView.vala:185
msgid "Grid view"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:182
#: src/ui/views/GamesView/GamesView.vala:186
msgid "List view"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:190
#: src/ui/views/GamesView/GamesView.vala:194
msgid "All games"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:213
#: src/ui/views/GamesView/GamesView.vala:217
msgid "Downloads"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:239
#: src/ui/views/GamesView/GamesView.vala:243
msgid "Filters"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:247
#: src/ui/views/GamesView/GamesView.vala:251
#: src/ui/views/GamesView/AddGamePopover.vala:84
msgid "Add game"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:254
#: src/ui/views/GamesView/GamesView.vala:258
msgid "Search"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:360
#: src/ui/views/GamesView/GamesView.vala:381
msgid "Menu"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:361
#: src/ui/views/GameDetailsView/GameDetailsView.vala:81
#: src/ui/views/GamesView/GamesView.vala:382
#: src/ui/views/GameDetailsView/GameDetailsView.vala:105
msgid "Back"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:536
#: src/ui/views/GamesView/GamesView.vala:558
#, c-format
msgid "%u game"
msgid_plural "%u games"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GamesView/GamesView.vala:552
#: src/ui/views/GamesView/GamesView.vala:574
msgid "No user-added games"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:553
#: src/ui/views/GamesView/GamesView.vala:575
msgid "Add some games using plus button"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:557
#: src/ui/views/GamesView/GamesView.vala:579
#, c-format
msgid "No %s games"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:558
#: src/ui/views/GamesView/GamesView.vala:580
msgid "Get some Linux-compatible games"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:568
#: src/ui/views/GamesView/GamesView.vala:590
#, c-format
msgid "No games matching “%s”"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:573
#: src/ui/views/GamesView/GamesView.vala:595
#, c-format
msgid "No %1$s games matching “%2$s”"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:614
#: src/ui/views/GamesView/GamesView.vala:636
msgid ""
"No games were loaded from Steam. Set your games list privacy to public or "
"use your own Steam API key in settings."
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:615
#: src/ui/views/GamesView/GamesView.vala:637
msgid "Privacy"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:751
#: src/ui/views/GamesView/GamesView.vala:784
msgid "Downloading images"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:765
#: src/ui/views/GamesView/GamesView.vala:798
#, c-format
msgid "Downloading image: %s"
msgstr ""
Expand All @@ -1239,6 +1233,11 @@ msgstr ""
msgid "Sort"
msgstr ""

#: src/ui/views/GamesView/FiltersPopover.vala:194
#: src/ui/widgets/GameTagsList.vala:58
msgid "Tags"
msgstr ""

#: src/ui/views/GamesView/FiltersPopover.vala:306
msgid "All platforms"
msgstr ""
Expand Down Expand Up @@ -1289,10 +1288,59 @@ msgid "Open bonus collection directory"
msgstr ""

#: src/ui/views/GamesView/GameContextMenu.vala:167
#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:169
#: src/ui/views/GameDetailsView/GameDetailsPage.vala:230
msgid "Uninstall"
msgstr ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:102
#, c-format
msgid "%d game selected"
msgid_plural "%d games selected"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:146
#, c-format
msgid "%d game will be installed"
msgid_plural "%d games will be installed"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:156
#, c-format
msgid "%d game will be downloaded"
msgid_plural "%d games will be downloaded"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:163
#, c-format
msgid "Image for %d game will be searched"
msgid_plural "Images for %d games will be searched"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:170
#, c-format
msgid "%d game will be uninstalled"
msgid_plural "%d games will be uninstalled"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:176
msgid "Refresh"
msgstr ""

#: src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala:177
#, c-format
msgid ""
"%d game will be removed from database. Restart GameHub to fetch new data"
msgid_plural ""
"%d games will be removed from database. Restart GameHub to fetch new data"
msgstr[0] ""
msgstr[1] ""

#: src/ui/views/GameDetailsView/GameDetailsPage.vala:229
msgid "Open store page"
msgstr ""
Expand Down Expand Up @@ -1456,6 +1504,10 @@ msgstr ""
msgid "Configure"
msgstr ""

#: src/ui/widgets/GameTagsList.vala:103
msgid "Add tag"
msgstr ""

#: src/utils/downloader/Downloader.vala:159
msgctxt "dl_status"
msgid "Queued"
Expand Down
Loading

0 comments on commit b450938

Please sign in to comment.