Skip to content

Commit

Permalink
Settings dialog
Browse files Browse the repository at this point in the history
Former-commit-id: 554b658
  • Loading branch information
tkashkin committed Jun 2, 2018
1 parent d8fd6d6 commit fcf6e6d
Show file tree
Hide file tree
Showing 29 changed files with 520 additions and 148 deletions.
7 changes: 6 additions & 1 deletion data/GameHub.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.gamecard
{
opacity: 0.8;
opacity: 0.75;
border-radius: 4px;
transition: 100ms;
}
Expand All @@ -10,6 +10,11 @@
opacity: 1;
}

.gamecard.hover:not(.installed)
{
opacity: 0.8;
}

.gamecard label
{
color: rgba(255, 255, 255, 0.9);
Expand Down
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 @@ -35,6 +35,11 @@
</custom>

<releases>
<release version="0.2.4" date="2018-06-01">
<description>
<p>Settings dialog</p>
</description>
</release>
<release version="0.2.3" date="2018-06-01">
<description>
<p>GOG games installation and running</p>
Expand Down
9 changes: 9 additions & 0 deletions data/com.github.tkashkin.gamehub.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,19 @@
</key>
</schema>

<schema path="/com/github/tkashkin/gamehub/ui/" id="com.github.tkashkin.gamehub.ui" gettext-domain="com.github.tkashkin.gamehub">
<key name="dark-theme" type="b">
<default>false</default>
</key>
</schema>

<schema path="/com/github/tkashkin/gamehub/auth/steam/" id="com.github.tkashkin.gamehub.auth.steam" gettext-domain="com.github.tkashkin.gamehub">
<key name="authenticated" type="b">
<default>false</default>
</key>
<key name="api-key" type="s">
<default>'8B10B604CAC6AC90F57AACE025DD904C'</default>
</key>
</schema>

<schema path="/com/github/tkashkin/gamehub/auth/gog/" id="com.github.tkashkin.gamehub.auth.gog" gettext-domain="com.github.tkashkin.gamehub">
Expand Down
3 changes: 1 addition & 2 deletions data/icons/icons.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
<gresources>
<gresource prefix="/com/github/tkashkin/gamehub/icons">
<file alias="steam.svg" compressed="true" preprocess="xml-stripblanks">steam.svg</file>
<file alias="steam-symbolic.svg" compressed="true" preprocess="xml-stripblanks">steam-symbolic.svg</file>
<file alias="gog.svg" compressed="true" preprocess="xml-stripblanks">gog.svg</file>

<file alias="steam-symbolic-white.svg" compressed="true" preprocess="xml-stripblanks">steam-symbolic-white.svg</file>
<file alias="steam-white.svg" compressed="true" preprocess="xml-stripblanks">steam-white.svg</file>
<file alias="gog-white.svg" compressed="true" preprocess="xml-stripblanks">gog-white.svg</file>
</gresource>
</gresources>
1 change: 0 additions & 1 deletion data/icons/steam-symbolic.svg

This file was deleted.

File renamed without changes
44 changes: 1 addition & 43 deletions data/icons/steam.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.2.4) xenial; urgency=low

* Settings dialog

-- tkashkin <[email protected]> Fri, 01 Jun 2018 23:20:42 +0300

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

* GOG games installation and running
Expand Down
2 changes: 1 addition & 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.2.2')
project('com.github.tkashkin.gamehub', 'vala', 'c', version: '0.2.4')

i18n = import('i18n')
gnome = import('gnome')
Expand Down
4 changes: 3 additions & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ src/data/sources/gog/GOGGame.vala

src/ui/windows/MainWindow.vala
src/ui/windows/WebAuthWindow.vala
src/ui/windows/GOGGameInstallWindow.vala

src/ui/dialogs/SettingsDialog.vala
src/ui/dialogs/GOGGameInstallDialog.vala

src/ui/views/BaseView.vala
src/ui/views/WelcomeView.vala
Expand Down
84 changes: 71 additions & 13 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-06-01 04:08+0300\n"
"POT-Creation-Date: 2018-06-02 05:53+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -26,7 +26,7 @@ msgstr ""

#: data/com.github.tkashkin.gamehub.appdata.xml.in:9
#: data/com.github.tkashkin.gamehub.desktop.in:5
#: src/ui/views/WelcomeView.vala:18
#: src/ui/views/WelcomeView.vala:32
msgid "All your games in one place"
msgstr ""

Expand All @@ -50,40 +50,98 @@ msgstr ""
msgid "Your SteamID will be read from Steam configuration file"
msgstr ""

#: src/ui/windows/GOGGameInstallWindow.vala:22 src/ui/views/WelcomeView.vala:92
#, c-format
msgid "Install %s"
#: src/ui/dialogs/SettingsDialog.vala:27
msgid "Use dark theme"
msgstr ""

#: src/ui/windows/GOGGameInstallWindow.vala:48
#: src/ui/dialogs/SettingsDialog.vala:31
msgid "Steam API keys have limited number of uses per day"
msgstr ""

#: src/ui/dialogs/SettingsDialog.vala:31
msgid "Generate key"
msgstr ""

#: src/ui/dialogs/SettingsDialog.vala:32
msgid "Steam API key"
msgstr ""

#: src/ui/dialogs/SettingsDialog.vala:33
msgid "Steam installation directory"
msgstr ""

#: src/ui/dialogs/SettingsDialog.vala:37
msgid "GOG games directory"
msgstr ""

#: src/ui/dialogs/SettingsDialog.vala:50
msgid "Close"
msgstr ""

#: src/ui/dialogs/GOGGameInstallDialog.vala:47
msgid "Select game language"
msgstr ""

#: src/ui/dialogs/GOGGameInstallDialog.vala:69
msgid "Cancel"
msgstr ""

#: src/ui/dialogs/GOGGameInstallDialog.vala:70
msgid "Install"
msgstr ""

#: src/ui/views/WelcomeView.vala:18
#: src/ui/views/WelcomeView.vala:32
msgid "Let's get started"
msgstr ""

#: src/ui/views/WelcomeView.vala:26
#: src/ui/views/WelcomeView.vala:42
msgid "Skip"
msgstr ""

#: src/ui/views/WelcomeView.vala:71
#: src/ui/views/WelcomeView.vala:49
#: src/ui/views/GamesGridView/GamesGridView.vala:92
msgid "Settings"
msgstr ""

#: src/ui/views/WelcomeView.vala:101
msgid "Ready"
msgstr ""

#: src/ui/views/WelcomeView.vala:77
#: src/ui/views/WelcomeView.vala:107
msgid "Authentication required"
msgstr ""

#: src/ui/views/WelcomeView.vala:81
#: src/ui/views/WelcomeView.vala:112
msgid "Authenticating..."
msgstr ""

#: src/ui/views/WelcomeView.vala:93
#: src/ui/views/WelcomeView.vala:123
#, c-format
msgid "Install %s"
msgstr ""

#: src/ui/views/WelcomeView.vala:124
msgid "Return to GameHub after installing"
msgstr ""

#: src/ui/views/GamesGridView/GamesGridView.vala:91
#: src/ui/views/GamesGridView/GamesGridView.vala:60
msgid "All games"
msgstr ""

#: src/ui/views/GamesGridView/GamesGridView.vala:70
#, c-format
msgid "%s games"
msgstr ""

#: src/ui/views/GamesGridView/GamesGridView.vala:76
msgid "Downloads"
msgstr ""

#: src/ui/views/GamesGridView/GamesGridView.vala:87
msgid "Search"
msgstr ""

#: src/ui/views/GamesGridView/GamesGridView.vala:118
#, c-format
msgid "%u game"
msgid_plural "%u games"
Expand Down
Loading

0 comments on commit fcf6e6d

Please sign in to comment.