Compare commits

...

3 Commits

Author SHA1 Message Date
kramo
a53e49610c v1.2.2 2023-03-30 23:38:38 +02:00
Weblate (bot)
3ec02ee64f Translated using Weblate (Ukrainian) (#45)
Currently translated at 100.0% (110 of 110 strings)


Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

Co-authored-by: Dan <denqwerta@gmail.com>
2023-03-30 23:37:08 +02:00
kramo
4ed84390cf Fix Steam Linux/Windows bug 2023-03-30 23:35:39 +02:00
6 changed files with 14 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
#define MyAppName "Cartridges"
#define MyAppVersion "1.2.1"
#define MyAppVersion "1.2.2"
#define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe"

View File

@@ -36,7 +36,7 @@
</screenshots>
<content_rating type="oars-1.1" />
<releases>
<release version="1.2.1" date="2023-03-30">
<release version="1.2.2" date="2023-03-30">
<description translatable="no">
<ul>
<li>Bug fixes</li>

View File

@@ -1,5 +1,5 @@
project('cartridges',
version: '1.2.1',
version: '1.2.2',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)

View File

@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 11:43+0000\n"
"PO-Revision-Date: 2023-03-30 21:36+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/uk/>\n"
@@ -16,8 +16,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
@@ -248,11 +248,11 @@ msgstr "Збережена гра покривається без втрат з
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
msgstr "Небезпечна зона"
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
msgstr "Видалити всі ігри"
#: data/gtk/preferences.blp:70
msgid "Sources"
@@ -371,20 +371,16 @@ msgid "Set Location"
msgstr "Встановити місцезнаходження"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} видалено"
msgstr "Всі ігри видалено"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Імпорт ігор…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system."
msgstr "На вашому пристрої не знайдено нових ігор."
msgstr "У вашій системі не знайдено жодної нової гри."
#: src/utils/importer.py:87
msgid "Game Imported"

View File

@@ -110,7 +110,7 @@ class CartridgesApplication(Adw.Application):
application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges",
developer_name="kramo",
version="1.2.1",
version="1.2.2",
developers=[
"kramo https://kramo.hu",
"Paweł Lidwin https://github.com/imLinguin",

View File

@@ -162,7 +162,9 @@ def steam_parser(parent_widget):
)
elif os.path.exists(os.path.expanduser("~/.steam/steam/")):
schema.set_string("steam-location", "~/.steam/steam/")
elif os.path.exists(os.path.join(os.getenv("programfiles(x86)"), "Steam")):
elif os.name == "nt" and os.path.exists(
os.path.join(os.getenv("programfiles(x86)"), "Steam")
):
schema.set_string(
"steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam")
)