This commit is contained in:
kramo
2023-03-22 08:36:37 +01:00
parent 8d820d8426
commit b281a4bd0d
23 changed files with 47 additions and 80 deletions

View File

@@ -30,8 +30,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[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\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion

View File

@@ -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))

View File

@@ -2,14 +2,14 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# "J. Lavoie" <j.lavoie@net-c.ca>, 2023.
# kramo <login@kramo.hu>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-21 15:48+0100\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/"
"cartridges/fr/>\n"
"Language: fr\n"

View File

@@ -1,16 +1,16 @@
# Cartridges - Hungarian Translation
# Copyright (C) 2022 kramo
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# kramo, 2023.
#
# kramo <login@kramo.hu>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-21 15:48+0100\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/"
"cartridges/hu/>\n"
"Language: hu\n"

View File

@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# kramo <login@kramo.hu>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-21 15:48+0100\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/"
"cartridges/cartridges/nb_NO/>\n"
"Language: nb_NO\n"

View File

@@ -1,8 +1,8 @@
# Cartridges - Tamil Translation
# Copyright (C) 2022 kramo
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# 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.
msgid ""
msgstr ""

View File

@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# 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.
msgid ""
msgstr ""

View File

@@ -2,7 +2,7 @@
# cartridges.in
#
# Copyright 2022 kramo
# Copyright 2022-2023 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
@@ -25,22 +25,31 @@ import signal
import locale
import gettext
VERSION = '@VERSION@'
pkgdatadir = '@pkgdatadir@'
localedir = '@localedir@'
VERSION = "@VERSION@"
if os.name == "nt":
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)
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
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()
from cartridges import main
sys.exit(main.main(VERSION))

View File

@@ -1,6 +1,6 @@
# game.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# main.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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
@@ -122,7 +122,7 @@ class CartridgesApplication(Adw.Application):
"Paweł Lidwin https://github.com/imLinguin",
],
designers=["kramo https://kramo.hu"],
copyright="© 2022 kramo",
copyright="© 2022-2023 kramo",
license_type=Gtk.License.GPL_3_0,
issue_url="https://github.com/kra-mo/cartridges/issues/new",
website="https://github.com/kra-mo/cartridges",

View File

@@ -1,6 +1,6 @@
# preferences.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# bottles_parser.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# create_details_window.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# create_dialog.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# get_cover.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# get_games.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# heroic_parser.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# run_command.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# save_cover.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# save_games.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# steam_parser.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# toggle_hidden.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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

View File

@@ -1,6 +1,6 @@
# window.py
#
# Copyright 2022 kramo
# Copyright 2022-2023 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