Cleanups
This commit is contained in:
@@ -30,8 +30,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
|
|||||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "cartridges"; DestDir: "{app}\bin"; Flags: ignoreversion
|
Source: "D:\a\_temp\msys64\ucrt64\bin\cartridges"; DestDir: "{app}\bin"; Flags: ignoreversion
|
||||||
|
|
||||||
Source: "D:\a\_temp\msys64\ucrt64\bin\pythonw.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
Source: "D:\a\_temp\msys64\ucrt64\bin\pythonw.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
||||||
Source: "D:\a\_temp\msys64\ucrt64\bin\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
Source: "D:\a\_temp\msys64\ucrt64\bin\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
||||||
Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
# Cartridges
|
|
||||||
#
|
|
||||||
# Copyright 2022 kramo
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import signal
|
|
||||||
import gettext
|
|
||||||
|
|
||||||
VERSION = '0.1.3'
|
|
||||||
pkgdatadir = os.path.join(os.path.dirname(__file__), '..', 'share', 'cartridges')
|
|
||||||
localedir = os.path.join(os.path.dirname(__file__), '..', 'share', 'locale')
|
|
||||||
|
|
||||||
sys.path.insert(1, pkgdatadir)
|
|
||||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
|
||||||
gettext.install('cartridges', localedir)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
import gi
|
|
||||||
|
|
||||||
from gi.repository import Gio
|
|
||||||
resource = Gio.Resource.load(os.path.join(pkgdatadir, 'cartridges.gresource'))
|
|
||||||
resource._register()
|
|
||||||
|
|
||||||
from cartridges import main
|
|
||||||
sys.exit(main.main(VERSION))
|
|
||||||
4
po/fr.po
4
po/fr.po
@@ -2,14 +2,14 @@
|
|||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the cartridges package.
|
# This file is distributed under the same license as the cartridges package.
|
||||||
# "J. Lavoie" <j.lavoie@net-c.ca>, 2023.
|
# "J. Lavoie" <j.lavoie@net-c.ca>, 2023.
|
||||||
# kramo <login@kramo.hu>, 2023.
|
# kramo <contact@kramo.hu>, 2023.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: cartridges\n"
|
"Project-Id-Version: cartridges\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-03-21 15:48+0100\n"
|
"POT-Creation-Date: 2023-03-21 15:48+0100\n"
|
||||||
"PO-Revision-Date: 2023-03-21 11:05+0000\n"
|
"PO-Revision-Date: 2023-03-21 11:05+0000\n"
|
||||||
"Last-Translator: kramo <login@kramo.hu>\n"
|
"Last-Translator: kramo <contact@kramo.hu>\n"
|
||||||
"Language-Team: French <https://hosted.weblate.org/projects/cartridges/"
|
"Language-Team: French <https://hosted.weblate.org/projects/cartridges/"
|
||||||
"cartridges/fr/>\n"
|
"cartridges/fr/>\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
|
|||||||
8
po/hu.po
8
po/hu.po
@@ -1,16 +1,16 @@
|
|||||||
# Cartridges - Hungarian Translation
|
# SOME DESCRIPTIVE TITLE.
|
||||||
# Copyright (C) 2022 kramo
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the cartridges package.
|
# This file is distributed under the same license as the cartridges package.
|
||||||
# kramo, 2023.
|
# kramo, 2023.
|
||||||
#
|
#
|
||||||
# kramo <login@kramo.hu>, 2023.
|
# kramo <contact@kramo.hu>, 2023.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-03-21 15:48+0100\n"
|
"POT-Creation-Date: 2023-03-21 15:48+0100\n"
|
||||||
"PO-Revision-Date: 2023-03-19 12:28+0000\n"
|
"PO-Revision-Date: 2023-03-19 12:28+0000\n"
|
||||||
"Last-Translator: kramo <login@kramo.hu>\n"
|
"Last-Translator: kramo <contact@kramo.hu>\n"
|
||||||
"Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/"
|
"Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/"
|
||||||
"cartridges/hu/>\n"
|
"cartridges/hu/>\n"
|
||||||
"Language: hu\n"
|
"Language: hu\n"
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
# SOME DESCRIPTIVE TITLE.
|
# SOME DESCRIPTIVE TITLE.
|
||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the cartridges package.
|
# This file is distributed under the same license as the cartridges package.
|
||||||
# kramo <login@kramo.hu>, 2023.
|
# kramo <contact@kramo.hu>, 2023.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: cartridges\n"
|
"Project-Id-Version: cartridges\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-03-21 15:48+0100\n"
|
"POT-Creation-Date: 2023-03-21 15:48+0100\n"
|
||||||
"PO-Revision-Date: 2023-03-21 11:05+0000\n"
|
"PO-Revision-Date: 2023-03-21 11:05+0000\n"
|
||||||
"Last-Translator: kramo <login@kramo.hu>\n"
|
"Last-Translator: kramo <contact@kramo.hu>\n"
|
||||||
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
|
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
|
||||||
"cartridges/cartridges/nb_NO/>\n"
|
"cartridges/cartridges/nb_NO/>\n"
|
||||||
"Language: nb_NO\n"
|
"Language: nb_NO\n"
|
||||||
|
|||||||
6
po/ta.po
6
po/ta.po
@@ -1,8 +1,8 @@
|
|||||||
# Cartridges - Tamil Translation
|
# SOME DESCRIPTIVE TITLE.
|
||||||
# Copyright (C) 2022 kramo
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the cartridges package.
|
# This file is distributed under the same license as the cartridges package.
|
||||||
# K.B.Dharun Krishna <kbdharunkrishna@gmail.com>, 2023.
|
# K.B.Dharun Krishna <kbdharunkrishna@gmail.com>, 2023.
|
||||||
# kramo <login@kramo.hu>, 2023.
|
# kramo <contact@kramo.hu>, 2023.
|
||||||
# "K.B.Dharun Krishna" <kbdharunkrishna@gmail.com>, 2023.
|
# "K.B.Dharun Krishna" <kbdharunkrishna@gmail.com>, 2023.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
2
po/uk.po
2
po/uk.po
@@ -1,7 +1,7 @@
|
|||||||
# SOME DESCRIPTIVE TITLE.
|
# SOME DESCRIPTIVE TITLE.
|
||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the cartridges package.
|
# This file is distributed under the same license as the cartridges package.
|
||||||
# kramo <login@kramo.hu>, 2023.
|
# kramo <contact@kramo.hu>, 2023.
|
||||||
# Dan <denqwerta@gmail.com>, 2023.
|
# Dan <denqwerta@gmail.com>, 2023.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# cartridges.in
|
# cartridges.in
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -25,22 +25,31 @@ import signal
|
|||||||
import locale
|
import locale
|
||||||
import gettext
|
import gettext
|
||||||
|
|
||||||
VERSION = '@VERSION@'
|
VERSION = "@VERSION@"
|
||||||
pkgdatadir = '@pkgdatadir@'
|
if os.name == "nt":
|
||||||
localedir = '@localedir@'
|
pkgdatadir = os.path.join(os.path.dirname(__file__), "..", "share", "cartridges")
|
||||||
|
localedir = os.path.join(os.path.dirname(__file__), "..", "share", "locale")
|
||||||
|
else:
|
||||||
|
pkgdatadir = "@pkgdatadir@"
|
||||||
|
localedir = "@localedir@"
|
||||||
|
|
||||||
sys.path.insert(1, pkgdatadir)
|
sys.path.insert(1, pkgdatadir)
|
||||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||||
locale.bindtextdomain('cartridges', localedir)
|
|
||||||
locale.textdomain('cartridges')
|
|
||||||
gettext.install('cartridges', localedir)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if os.name != "nt":
|
||||||
|
locale.bindtextdomain("cartridges", localedir)
|
||||||
|
locale.textdomain("cartridges")
|
||||||
|
|
||||||
|
gettext.install("cartridges", localedir)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
from gi.repository import Gio
|
from gi.repository import Gio
|
||||||
resource = Gio.Resource.load(os.path.join(pkgdatadir, 'cartridges.gresource'))
|
|
||||||
|
resource = Gio.Resource.load(os.path.join(pkgdatadir, "cartridges.gresource"))
|
||||||
resource._register()
|
resource._register()
|
||||||
|
|
||||||
from cartridges import main
|
from cartridges import main
|
||||||
|
|
||||||
sys.exit(main.main(VERSION))
|
sys.exit(main.main(VERSION))
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# game.py
|
# game.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# main.py
|
# main.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -122,7 +122,7 @@ class CartridgesApplication(Adw.Application):
|
|||||||
"Paweł Lidwin https://github.com/imLinguin",
|
"Paweł Lidwin https://github.com/imLinguin",
|
||||||
],
|
],
|
||||||
designers=["kramo https://kramo.hu"],
|
designers=["kramo https://kramo.hu"],
|
||||||
copyright="© 2022 kramo",
|
copyright="© 2022-2023 kramo",
|
||||||
license_type=Gtk.License.GPL_3_0,
|
license_type=Gtk.License.GPL_3_0,
|
||||||
issue_url="https://github.com/kra-mo/cartridges/issues/new",
|
issue_url="https://github.com/kra-mo/cartridges/issues/new",
|
||||||
website="https://github.com/kra-mo/cartridges",
|
website="https://github.com/kra-mo/cartridges",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# preferences.py
|
# preferences.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# bottles_parser.py
|
# bottles_parser.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# create_details_window.py
|
# create_details_window.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# create_dialog.py
|
# create_dialog.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# get_cover.py
|
# get_cover.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# get_games.py
|
# get_games.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# heroic_parser.py
|
# heroic_parser.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# run_command.py
|
# run_command.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# save_cover.py
|
# save_cover.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# save_games.py
|
# save_games.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# steam_parser.py
|
# steam_parser.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# toggle_hidden.py
|
# toggle_hidden.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# window.py
|
# window.py
|
||||||
#
|
#
|
||||||
# Copyright 2022 kramo
|
# Copyright 2022-2023 kramo
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
Reference in New Issue
Block a user