Skip to content

Commit

Permalink
Additional info for Steam games
Browse files Browse the repository at this point in the history
Pass locale to APIs when possible to get localized data


Former-commit-id: 882cef7
  • Loading branch information
tkashkin committed Jul 24, 2018
1 parent cc69302 commit 1ed4b50
Show file tree
Hide file tree
Showing 15 changed files with 339 additions and 132 deletions.
5 changes: 5 additions & 0 deletions data/com.github.tkashkin.gamehub.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
</screenshots>

<releases>
<release type="development" version="0.6.1" date="2018-07-24">
<description>
<p>UI improvements</p>
</description>
</release>
<release type="development" version="0.6.0" date="2018-07-22">
<description>
<p>Downloader rewrite: now it's possible to pause and cancel downloads</p>
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
com.github.tkashkin.gamehub (0.6.1) xenial; urgency=low

* UI improvements

-- tkashkin <tkashkin@gmail.com> Tue, 24 Jul 2018 08:01:37 +0300

com.github.tkashkin.gamehub (0.6.0) xenial; urgency=low

* Downloader rewrite: now it's possible to pause and cancel downloads
Expand Down
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('com.github.tkashkin.gamehub', 'vala', 'c', version: '0.6.0')
project('com.github.tkashkin.gamehub', 'vala', 'c', version: '0.6.1')

i18n = import('i18n')
gnome = import('gnome')
Expand All @@ -7,6 +7,8 @@ add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()), lan

if get_option('flatpak')
add_global_arguments('-D', 'FLATPAK', language: 'vala')
elif get_option('snap')
add_global_arguments('-D', 'SNAP', language: 'vala')
endif

if get_option('distro') == 'debian'
Expand Down
50 changes: 34 additions & 16 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: 2018-07-22 17:49+0300\n"
"POT-Creation-Date: 2018-07-24 07:50+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 @@ -77,8 +77,8 @@ msgid ""
msgstr ""

#: src/ui/dialogs/SettingsDialog.vala:13 src/ui/views/WelcomeView.vala:34
#: src/ui/views/WelcomeView.vala:58 src/ui/views/GamesView/GamesView.vala:158
#: src/ui/views/GamesView/GamesView.vala:355
#: src/ui/views/WelcomeView.vala:58 src/ui/views/GamesView/GamesView.vala:159
#: src/ui/views/GamesView/GamesView.vala:356
msgid "Settings"
msgstr ""

Expand Down Expand Up @@ -218,54 +218,54 @@ msgstr ""
msgid "Reload"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:108
#: src/ui/views/GamesView/GamesView.vala:109
msgid "Grid view"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:109
#: src/ui/views/GamesView/GamesView.vala:110
msgid "List view"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:121
#: src/ui/views/GamesView/GamesView.vala:122
msgid "All games"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:125
#: src/ui/views/GamesView/GamesView.vala:126
#, c-format
msgid "%s games"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:131
#: src/ui/views/GamesView/GamesView.vala:132
msgid "Downloads"
msgstr ""

#: src/ui/views/GamesView/GamesView.vala:153
#: src/ui/views/GamesView/GamesView.vala:154
msgid "Search"
msgstr ""

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

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

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

#: src/ui/views/GamesView/GamesView.vala:353
#: src/ui/views/GamesView/GamesView.vala:354
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:354
#: src/ui/views/GamesView/GamesView.vala:355
msgid "Privacy"
msgstr ""

Expand Down Expand Up @@ -304,14 +304,32 @@ msgstr ""
msgid "Uninstall"
msgstr ""

#: src/ui/views/GameDetailsView/GameDetailsView.vala:307
#: src/ui/views/GameDetailsView/GameDetailsView.vala:311
#: src/ui/views/GameDetailsView/GameDetailsView.vala:365
msgid "Language"
msgstr ""

#: src/ui/views/GameDetailsView/GameDetailsView.vala:310
#: src/ui/views/GameDetailsView/GameDetailsView.vala:314
#: src/ui/views/GameDetailsView/GameDetailsView.vala:368
msgid "Languages"
msgstr ""

#: src/ui/views/GameDetailsView/GameDetailsView.vala:335
msgid "Category"
msgstr ""

#: src/ui/views/GameDetailsView/GameDetailsView.vala:338
msgid "Categories"
msgstr ""

#: src/ui/views/GameDetailsView/GameDetailsView.vala:353
msgid "Genre"
msgstr ""

#: src/ui/views/GameDetailsView/GameDetailsView.vala:356
msgid "Genres"
msgstr ""

#: src/utils/downloader/Downloader.vala:136
msgid "Starting download"
msgstr ""
Expand Down
50 changes: 34 additions & 16 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.github.tkashkin.gamehub\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-22 17:49+0300\n"
"POT-Creation-Date: 2018-07-24 07:50+0300\n"
"PO-Revision-Date: 2018-07-14 00:51+0300\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand Down Expand Up @@ -78,8 +78,8 @@ msgstr ""
"Logge dich in dein Konto im Steam-Client ein und kehre zu GameHub zurück"

#: src/ui/dialogs/SettingsDialog.vala:13 src/ui/views/WelcomeView.vala:34
#: src/ui/views/WelcomeView.vala:58 src/ui/views/GamesView/GamesView.vala:158
#: src/ui/views/GamesView/GamesView.vala:355
#: src/ui/views/WelcomeView.vala:58 src/ui/views/GamesView/GamesView.vala:159
#: src/ui/views/GamesView/GamesView.vala:356
msgid "Settings"
msgstr "Einstellungen"

Expand Down Expand Up @@ -222,48 +222,48 @@ msgstr ""
msgid "Reload"
msgstr "Neu laden"

#: src/ui/views/GamesView/GamesView.vala:108
#: src/ui/views/GamesView/GamesView.vala:109
msgid "Grid view"
msgstr "Rasteransicht"

#: src/ui/views/GamesView/GamesView.vala:109
#: src/ui/views/GamesView/GamesView.vala:110
msgid "List view"
msgstr "Listenansicht"

#: src/ui/views/GamesView/GamesView.vala:121
#: src/ui/views/GamesView/GamesView.vala:122
msgid "All games"
msgstr "Alle Spiele"

#: src/ui/views/GamesView/GamesView.vala:125
#: src/ui/views/GamesView/GamesView.vala:126
#, c-format
msgid "%s games"
msgstr "Spiele von %s"

#: src/ui/views/GamesView/GamesView.vala:131
#: src/ui/views/GamesView/GamesView.vala:132
msgid "Downloads"
msgstr "Downloads"

#: src/ui/views/GamesView/GamesView.vala:153
#: src/ui/views/GamesView/GamesView.vala:154
msgid "Search"
msgstr "Suche"

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

#: src/ui/views/GamesView/GamesView.vala:281
#: src/ui/views/GamesView/GamesView.vala:282
#, c-format
msgid "No %s games"
msgstr "Keine Spiele von %s"

#: src/ui/views/GamesView/GamesView.vala:282
#: src/ui/views/GamesView/GamesView.vala:283
msgid "Get some Linux-compatible games"
msgstr "Holen Sie sich einige Linux-kompatible Spiele"

#: src/ui/views/GamesView/GamesView.vala:353
#: src/ui/views/GamesView/GamesView.vala:354
msgid ""
"No games were loaded from Steam. Set your games list privacy to public or "
"use your own Steam API key in settings."
Expand All @@ -272,7 +272,7 @@ msgstr ""
"Öffentlichkeit oder benutze deinen eigenen Steam-API-Schlüssel in den "
"Einstellungen."

#: src/ui/views/GamesView/GamesView.vala:354
#: src/ui/views/GamesView/GamesView.vala:355
msgid "Privacy"
msgstr "Datenschutz"

Expand Down Expand Up @@ -311,14 +311,32 @@ msgstr "Shopseite öffnen"
msgid "Uninstall"
msgstr "Deinstallieren"

#: src/ui/views/GameDetailsView/GameDetailsView.vala:307
#: src/ui/views/GameDetailsView/GameDetailsView.vala:311
#: src/ui/views/GameDetailsView/GameDetailsView.vala:365
msgid "Language"
msgstr "Sprache"

#: src/ui/views/GameDetailsView/GameDetailsView.vala:310
#: src/ui/views/GameDetailsView/GameDetailsView.vala:314
#: src/ui/views/GameDetailsView/GameDetailsView.vala:368
msgid "Languages"
msgstr "Sprachen"

#: src/ui/views/GameDetailsView/GameDetailsView.vala:335
msgid "Category"
msgstr "Kategorie"

#: src/ui/views/GameDetailsView/GameDetailsView.vala:338
msgid "Categories"
msgstr "Kategorien"

#: src/ui/views/GameDetailsView/GameDetailsView.vala:353
msgid "Genre"
msgstr "Genre"

#: src/ui/views/GameDetailsView/GameDetailsView.vala:356
msgid "Genres"
msgstr "Genres"

#: src/utils/downloader/Downloader.vala:136
msgid "Starting download"
msgstr "Download wird gestartet"
Expand Down
Loading

0 comments on commit 1ed4b50

Please sign in to comment.