Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b1fe1bd8d | ||
|
|
4198810cca | ||
|
|
451819a005 | ||
|
|
a0fe463f03 | ||
|
|
d9384308fe | ||
|
|
f4b44477e9 |
4
.github/workflows/ci.yml
vendored
@@ -19,8 +19,8 @@ jobs:
|
|||||||
- name: Flatpak Builder
|
- name: Flatpak Builder
|
||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3
|
||||||
with:
|
with:
|
||||||
bundle: hu.kramo.Cartridges.Devel.flatpak
|
bundle: page.kramo.Cartridges.Devel.flatpak
|
||||||
manifest-path: flatpak/hu.kramo.Cartridges.Devel.json
|
manifest-path: flatpak/page.kramo.Cartridges.Devel.json
|
||||||
|
|
||||||
# windows:
|
# windows:
|
||||||
# name: Windows
|
# name: Windows
|
||||||
|
|||||||
2
.github/workflows/publish-release.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
shell: python
|
shell: python
|
||||||
run: |
|
run: |
|
||||||
import re, textwrap
|
import re, textwrap
|
||||||
open_file = open("./data/hu.kramo.Cartridges.metainfo.xml.in", "r", encoding="utf-8")
|
open_file = open("./data/page.kramo.Cartridges.metainfo.xml.in", "r", encoding="utf-8")
|
||||||
string = open_file.read()
|
string = open_file.read()
|
||||||
open_file.close()
|
open_file.close()
|
||||||
string = re.findall("<release.*>\s*<description.*>\n([\s\S]*?)\s*</description>\s*<\/release>", string)[0]
|
string = re.findall("<release.*>\s*<description.*>\n([\s\S]*?)\s*</description>\s*<\/release>", string)[0]
|
||||||
|
|||||||
10
README.md
@@ -7,12 +7,12 @@
|
|||||||
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF&style=for-the-badge
|
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF&style=for-the-badge
|
||||||
[matrix-url]: https://matrix.to/#/#cartridges:matrix.org
|
[matrix-url]: https://matrix.to/#/#cartridges:matrix.org
|
||||||
[matrix-image]: https://img.shields.io/matrix/cartridges:matrix.org?label=Matrix&logo=matrix&color=%230dbd8b&style=for-the-badge
|
[matrix-image]: https://img.shields.io/matrix/cartridges:matrix.org?label=Matrix&logo=matrix&color=%230dbd8b&style=for-the-badge
|
||||||
[flathub-url]: https://flathub.org/apps/hu.kramo.Cartridges
|
[flathub-url]: https://flathub.org/apps/page.kramo.Cartridges
|
||||||
[flathub-image]: https://img.shields.io/flathub/v/hu.kramo.Cartridges?logo=flathub&style=for-the-badge
|
[flathub-image]: https://img.shields.io/flathub/v/page.kramo.Cartridges?logo=flathub&style=for-the-badge
|
||||||
[installs-image]: https://img.shields.io/flathub/downloads/hu.kramo.Cartridges?style=for-the-badge
|
[installs-image]: https://img.shields.io/flathub/downloads/page.kramo.Cartridges?style=for-the-badge
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="data/icons/hicolor/scalable/apps/hu.kramo.Cartridges.svg" width="128" height="128">
|
<img src="data/icons/hicolor/scalable/apps/page.kramo.Cartridges.svg" width="128" height="128">
|
||||||
|
|
||||||
# Cartridges
|
# Cartridges
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ Thank you for your generosity! 💜
|
|||||||
|
|
||||||
The app is available on Flathub.
|
The app is available on Flathub.
|
||||||
|
|
||||||
<a href=https://flathub.org/apps/hu.kramo.Cartridges><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
|
<a href=https://flathub.org/apps/page.kramo.Cartridges><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
|
|||||||
@@ -46,11 +46,18 @@ class FlatpakSourceIterable(SourceIterable):
|
|||||||
return
|
return
|
||||||
|
|
||||||
blacklist = (
|
blacklist = (
|
||||||
{"hu.kramo.Cartridges", "hu.kramo.Cartridges.Devel"}
|
{
|
||||||
|
"hu.kramo.Cartridges",
|
||||||
|
"hu.kramo.Cartridges.Devel",
|
||||||
|
"page.kramo.Cartridges",
|
||||||
|
"page.kramo.Cartridges.Devel",
|
||||||
|
}
|
||||||
if shared.schema.get_boolean("flatpak-import-launchers")
|
if shared.schema.get_boolean("flatpak-import-launchers")
|
||||||
else {
|
else {
|
||||||
"hu.kramo.Cartridges",
|
"hu.kramo.Cartridges",
|
||||||
"hu.kramo.Cartridges.Devel",
|
"hu.kramo.Cartridges.Devel",
|
||||||
|
"page.kramo.Cartridges",
|
||||||
|
"page.kramo.Cartridges.Devel",
|
||||||
"com.valvesoftware.Steam",
|
"com.valvesoftware.Steam",
|
||||||
"net.lutris.Lutris",
|
"net.lutris.Lutris",
|
||||||
"com.heroicgameslauncher.hgl",
|
"com.heroicgameslauncher.hgl",
|
||||||
|
|||||||
@@ -285,6 +285,9 @@ class CartridgesApplication(Adw.Application):
|
|||||||
page_name: Optional[str] = None,
|
page_name: Optional[str] = None,
|
||||||
expander_row: Optional[str] = None,
|
expander_row: Optional[str] = None,
|
||||||
) -> CartridgesWindow:
|
) -> CartridgesWindow:
|
||||||
|
if CartridgesPreferences.is_open:
|
||||||
|
return
|
||||||
|
|
||||||
win = CartridgesPreferences()
|
win = CartridgesPreferences()
|
||||||
if page_name:
|
if page_name:
|
||||||
win.set_visible_page_name(page_name)
|
win.set_visible_page_name(page_name)
|
||||||
|
|||||||
@@ -118,8 +118,15 @@ class CartridgesPreferences(Adw.PreferencesDialog):
|
|||||||
removed_games: set[Game] = set()
|
removed_games: set[Game] = set()
|
||||||
warning_menu_buttons: dict = {}
|
warning_menu_buttons: dict = {}
|
||||||
|
|
||||||
|
is_open = False
|
||||||
|
|
||||||
def __init__(self, **kwargs: Any) -> None:
|
def __init__(self, **kwargs: Any) -> None:
|
||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
|
|
||||||
|
# Make it so only one dialog can be open at a time
|
||||||
|
self.__class__.is_open = True
|
||||||
|
self.connect("closed", lambda *_: self.set_is_open(False))
|
||||||
|
|
||||||
self.file_chooser = Gtk.FileDialog()
|
self.file_chooser = Gtk.FileDialog()
|
||||||
|
|
||||||
self.toast = Adw.Toast.new(_("All games removed"))
|
self.toast = Adw.Toast.new(_("All games removed"))
|
||||||
@@ -247,6 +254,9 @@ class CartridgesPreferences(Adw.PreferencesDialog):
|
|||||||
self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive)
|
self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive)
|
||||||
set_sgdb_sensitive(self.sgdb_key_entry_row)
|
set_sgdb_sensitive(self.sgdb_key_entry_row)
|
||||||
|
|
||||||
|
def set_is_open(self, is_open: bool) -> None:
|
||||||
|
self.__class__.is_open = is_open
|
||||||
|
|
||||||
def get_switch(self, setting: str) -> Any:
|
def get_switch(self, setting: str) -> Any:
|
||||||
return getattr(self, f'{setting.replace("-", "_")}_switch')
|
return getattr(self, f'{setting.replace("-", "_")}_switch')
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
using Adw 1;
|
using Adw 1;
|
||||||
|
|
||||||
template $DetailsDialog : Adw.Dialog {
|
template $DetailsDialog: Adw.Dialog {
|
||||||
content-width: 480;
|
content-width: 480;
|
||||||
|
|
||||||
Adw.ToolbarView {
|
Adw.ToolbarView {
|
||||||
|
|
||||||
[top]
|
[top]
|
||||||
Adw.HeaderBar HeaderBar {
|
Adw.HeaderBar HeaderBar {
|
||||||
show-start-title-buttons: false;
|
show-start-title-buttons: false;
|
||||||
@@ -29,6 +28,7 @@ template $DetailsDialog : Adw.Dialog {
|
|||||||
Adw.PreferencesGroup cover_group {
|
Adw.PreferencesGroup cover_group {
|
||||||
Adw.Clamp cover_clamp {
|
Adw.Clamp cover_clamp {
|
||||||
maximum-size: 200;
|
maximum-size: 200;
|
||||||
|
|
||||||
Overlay {
|
Overlay {
|
||||||
[overlay]
|
[overlay]
|
||||||
Spinner spinner {
|
Spinner spinner {
|
||||||
@@ -50,7 +50,8 @@ template $DetailsDialog : Adw.Dialog {
|
|||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"circular", "osd"
|
"circular",
|
||||||
|
"osd"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,7 +69,8 @@ template $DetailsDialog : Adw.Dialog {
|
|||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"circular", "osd"
|
"circular",
|
||||||
|
"osd"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -90,10 +92,12 @@ template $DetailsDialog : Adw.Dialog {
|
|||||||
Adw.EntryRow name {
|
Adw.EntryRow name {
|
||||||
title: _("Title");
|
title: _("Title");
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.EntryRow developer {
|
Adw.EntryRow developer {
|
||||||
title: _("Developer (optional)");
|
title: _("Developer (optional)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.PreferencesGroup {
|
Adw.PreferencesGroup {
|
||||||
Adw.EntryRow executable {
|
Adw.EntryRow executable {
|
||||||
title: _("Executable");
|
title: _("Executable");
|
||||||
@@ -135,7 +139,6 @@ template $DetailsDialog : Adw.Dialog {
|
|||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
using Adw 1;
|
using Adw 1;
|
||||||
|
|
||||||
template $Game : Box {
|
template $Game: Box {
|
||||||
orientation: vertical;
|
orientation: vertical;
|
||||||
halign: center;
|
halign: center;
|
||||||
valign: start;
|
valign: start;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
using Adw 1;
|
using Adw 1;
|
||||||
|
|
||||||
template $CartridgesPreferences : Adw.PreferencesDialog {
|
template $CartridgesPreferences: Adw.PreferencesDialog {
|
||||||
search-enabled: true;
|
search-enabled: true;
|
||||||
|
|
||||||
Adw.PreferencesPage general_page {
|
Adw.PreferencesPage general_page {
|
||||||
@@ -139,6 +139,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button steam_data_file_chooser_button {
|
Button steam_data_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -161,6 +162,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button lutris_data_file_chooser_button {
|
Button lutris_data_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -191,6 +193,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button heroic_config_file_chooser_button {
|
Button heroic_config_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -229,6 +232,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button bottles_data_file_chooser_button {
|
Button bottles_data_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -251,6 +255,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button itch_config_file_chooser_button {
|
Button itch_config_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -273,6 +278,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button legendary_config_file_chooser_button {
|
Button legendary_config_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -295,6 +301,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button retroarch_config_file_chooser_button {
|
Button retroarch_config_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -318,6 +325,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button flatpak_system_data_file_chooser_button {
|
Button flatpak_system_data_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -331,6 +339,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
Button flatpak_user_data_file_chooser_button {
|
Button flatpak_user_data_file_chooser_button {
|
||||||
icon-name: "folder-symbolic";
|
icon-name: "folder-symbolic";
|
||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat"
|
||||||
]
|
]
|
||||||
@@ -394,6 +403,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
|||||||
label: _("Update");
|
label: _("Update");
|
||||||
valign: center;
|
valign: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
Spinner sgdb_spinner {
|
Spinner sgdb_spinner {
|
||||||
valign: center;
|
valign: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,13 +43,14 @@ Adw.StatusPage hidden_notice_empty {
|
|||||||
valign: center;
|
valign: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
template $CartridgesWindow : Adw.ApplicationWindow {
|
template $CartridgesWindow: Adw.ApplicationWindow {
|
||||||
title: _("Cartridges");
|
title: _("Cartridges");
|
||||||
width-request: 360;
|
width-request: 360;
|
||||||
height-request: 100;
|
height-request: 100;
|
||||||
|
|
||||||
Adw.Breakpoint {
|
Adw.Breakpoint {
|
||||||
condition ("max-width: 564px")
|
condition ("max-width: 564px")
|
||||||
|
|
||||||
setters {
|
setters {
|
||||||
overlay_split_view.collapsed: true;
|
overlay_split_view.collapsed: true;
|
||||||
details_view_box.orientation: vertical;
|
details_view_box.orientation: vertical;
|
||||||
@@ -80,6 +81,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
[sidebar]
|
[sidebar]
|
||||||
Adw.NavigationPage {
|
Adw.NavigationPage {
|
||||||
title: _("Cartridges");
|
title: _("Cartridges");
|
||||||
|
|
||||||
Adw.ToolbarView {
|
Adw.ToolbarView {
|
||||||
[top]
|
[top]
|
||||||
Adw.HeaderBar {
|
Adw.HeaderBar {
|
||||||
@@ -103,17 +105,22 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
Image {
|
Image {
|
||||||
icon-name: "view-grid-symbolic";
|
icon-name: "view-grid-symbolic";
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
halign: start;
|
halign: start;
|
||||||
label: _("All Games");
|
label: _("All Games");
|
||||||
}
|
}
|
||||||
|
|
||||||
Label all_games_no_label {
|
Label all_games_no_label {
|
||||||
hexpand: true;
|
hexpand: true;
|
||||||
halign: end;
|
halign: end;
|
||||||
|
|
||||||
styles ["dim-label"]
|
styles [
|
||||||
|
"dim-label"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Box added_row_box {
|
Box added_row_box {
|
||||||
margin-top: 12;
|
margin-top: 12;
|
||||||
margin-bottom: 12;
|
margin-bottom: 12;
|
||||||
@@ -123,43 +130,55 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
Image {
|
Image {
|
||||||
icon-name: "list-add-symbolic";
|
icon-name: "list-add-symbolic";
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
halign: start;
|
halign: start;
|
||||||
label: _("Added");
|
label: _("Added");
|
||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
Label added_games_no_label {
|
Label added_games_no_label {
|
||||||
hexpand: true;
|
hexpand: true;
|
||||||
halign: end;
|
halign: end;
|
||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
|
|
||||||
styles ["dim-label"]
|
styles [
|
||||||
|
"dim-label"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ListBoxRow {
|
ListBoxRow {
|
||||||
selectable: false;
|
selectable: false;
|
||||||
activatable: false;
|
activatable: false;
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
label: _("Imported");
|
label: _("Imported");
|
||||||
styles ["heading"]
|
|
||||||
|
styles [
|
||||||
|
"heading"
|
||||||
|
]
|
||||||
|
|
||||||
halign: start;
|
halign: start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
styles ["navigation-sidebar"]
|
|
||||||
|
styles [
|
||||||
|
"navigation-sidebar"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.ToolbarView library_view {
|
Adw.ToolbarView library_view {
|
||||||
|
|
||||||
[top]
|
[top]
|
||||||
Adw.HeaderBar header_bar {
|
Adw.HeaderBar header_bar {
|
||||||
|
|
||||||
[start]
|
[start]
|
||||||
Revealer {
|
Revealer {
|
||||||
transition-type: slide_right;
|
transition-type: slide_right;
|
||||||
reveal-child: bind overlay_split_view.show-sidebar inverted;
|
reveal-child: bind overlay_split_view.show-sidebar inverted;
|
||||||
|
|
||||||
Button show_sidebar_button {
|
Button show_sidebar_button {
|
||||||
icon-name: "sidebar-show-symbolic";
|
icon-name: "sidebar-show-symbolic";
|
||||||
action-name: "win.show_sidebar";
|
action-name: "win.show_sidebar";
|
||||||
@@ -233,7 +252,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.NavigationPage hidden_library_page {
|
Adw.NavigationPage hidden_library_page {
|
||||||
title: _("Hidden Games");
|
title: _("Hidden Games");
|
||||||
@@ -303,10 +322,8 @@ Adw.NavigationPage details_page {
|
|||||||
|
|
||||||
[overlay]
|
[overlay]
|
||||||
Adw.ToolbarView details_view_toolbar_view {
|
Adw.ToolbarView details_view_toolbar_view {
|
||||||
|
|
||||||
[top]
|
[top]
|
||||||
Adw.HeaderBar {
|
Adw.HeaderBar {}
|
||||||
}
|
|
||||||
|
|
||||||
ScrolledWindow {
|
ScrolledWindow {
|
||||||
Box details_view_box {
|
Box details_view_box {
|
||||||
@@ -541,7 +558,6 @@ menu add_games {
|
|||||||
menu search {
|
menu search {
|
||||||
section {
|
section {
|
||||||
label: "Search on…";
|
label: "Search on…";
|
||||||
|
|
||||||
item (_("IGDB"), "app.igdb_search")
|
item (_("IGDB"), "app.igdb_search")
|
||||||
item (_("SteamGridDB"), "app.sgdb_search")
|
item (_("SteamGridDB"), "app.sgdb_search")
|
||||||
item (_("ProtonDB"), "app.protondb_search")
|
item (_("ProtonDB"), "app.protondb_search")
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 618 B |
|
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 618 B |
@@ -24,7 +24,7 @@ gnome.compile_resources('cartridges',
|
|||||||
|
|
||||||
desktop_file = i18n.merge_file(
|
desktop_file = i18n.merge_file(
|
||||||
input: configure_file(
|
input: configure_file(
|
||||||
input: 'hu.kramo.Cartridges.desktop.in',
|
input: 'page.kramo.Cartridges.desktop.in',
|
||||||
output: app_id + '.desktop.in',
|
output: app_id + '.desktop.in',
|
||||||
configuration: conf
|
configuration: conf
|
||||||
),
|
),
|
||||||
@@ -42,7 +42,7 @@ endif
|
|||||||
|
|
||||||
appstream_file = i18n.merge_file(
|
appstream_file = i18n.merge_file(
|
||||||
input: configure_file(
|
input: configure_file(
|
||||||
input: 'hu.kramo.Cartridges.metainfo.xml.in',
|
input: 'page.kramo.Cartridges.metainfo.xml.in',
|
||||||
output: app_id + '.metainfo.xml.in',
|
output: app_id + '.metainfo.xml.in',
|
||||||
configuration: conf
|
configuration: conf
|
||||||
),
|
),
|
||||||
@@ -63,7 +63,7 @@ endif
|
|||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
configure_file(
|
configure_file(
|
||||||
input: 'hu.kramo.Cartridges.gschema.xml.in',
|
input: 'page.kramo.Cartridges.gschema.xml.in',
|
||||||
output: app_id + '.gschema.xml',
|
output: app_id + '.gschema.xml',
|
||||||
configuration: conf
|
configuration: conf
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop-application">
|
<component type="desktop-application">
|
||||||
<id>@APP_ID@</id>
|
<id>@APP_ID@</id>
|
||||||
|
<replaces>
|
||||||
|
<id>hu.kramo.Cartridges</id>
|
||||||
|
</replaces>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-3.0-or-later</project_license>
|
<project_license>GPL-3.0-or-later</project_license>
|
||||||
<name>Cartridges</name>
|
<name>Cartridges</name>
|
||||||
@@ -51,12 +54,10 @@
|
|||||||
</screenshots>
|
</screenshots>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="2.8.2" date="2024-03-29">
|
<release version="2.8.3" date="2024-04-07">
|
||||||
<description translate="no">
|
<description translate="no">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Improved notifications for launching games via the GNOME search provider</li>
|
<li>Fixed an issue with the preferences dialog</li>
|
||||||
<li>Updated app metadata</li>
|
|
||||||
<li>Fixed an issue with translations</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
</release>
|
</release>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id" : "hu.kramo.Cartridges.Devel",
|
"id" : "page.kramo.Cartridges.Devel",
|
||||||
"runtime" : "org.gnome.Platform",
|
"runtime" : "org.gnome.Platform",
|
||||||
"runtime-version" : "46",
|
"runtime-version" : "46",
|
||||||
"sdk" : "org.gnome.Sdk",
|
"sdk" : "org.gnome.Sdk",
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
{
|
{
|
||||||
"type" : "git",
|
"type" : "git",
|
||||||
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
|
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
|
||||||
"tag" : "v0.10.0"
|
"tag" : "v0.12.0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"cleanup" : [
|
"cleanup" : [
|
||||||
10
meson.build
@@ -1,5 +1,5 @@
|
|||||||
project('cartridges',
|
project('cartridges',
|
||||||
version: '2.8.2',
|
version: '2.8.3',
|
||||||
meson_version: '>= 0.59.0',
|
meson_version: '>= 0.59.0',
|
||||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||||
)
|
)
|
||||||
@@ -16,11 +16,11 @@ libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
|
|||||||
|
|
||||||
profile = get_option('profile')
|
profile = get_option('profile')
|
||||||
if profile == 'development'
|
if profile == 'development'
|
||||||
app_id = 'hu.kramo.Cartridges.Devel'
|
app_id = 'page.kramo.Cartridges.Devel'
|
||||||
prefix = '/hu/kramo/Cartridges/Devel'
|
prefix = '/page/kramo/Cartridges/Devel'
|
||||||
elif profile == 'release'
|
elif profile == 'release'
|
||||||
app_id = 'hu.kramo.Cartridges'
|
app_id = 'page.kramo.Cartridges'
|
||||||
prefix = '/hu/kramo/Cartridges'
|
prefix = '/page/kramo/Cartridges'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
conf = configuration_data()
|
conf = configuration_data()
|
||||||
|
|||||||
25
po/pl.po
@@ -5,22 +5,23 @@
|
|||||||
# Kshyso <Kshysio@protonmail.com>, 2023.
|
# Kshyso <Kshysio@protonmail.com>, 2023.
|
||||||
# Eryk Michalak <gnu.ewm@protonmail.com>, 2023.
|
# Eryk Michalak <gnu.ewm@protonmail.com>, 2023.
|
||||||
# Michaks <fexwex3@gmail.com>, 2023.
|
# Michaks <fexwex3@gmail.com>, 2023.
|
||||||
|
# Igor Popowicz <igorpopowicz12@gmail.com>, 2024.
|
||||||
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: 2024-03-29 14:27+0100\n"
|
"POT-Creation-Date: 2024-03-29 14:27+0100\n"
|
||||||
"PO-Revision-Date: 2023-07-24 13:05+0000\n"
|
"PO-Revision-Date: 2024-04-01 16:01+0000\n"
|
||||||
"Last-Translator: Michaks <fexwex3@gmail.com>\n"
|
"Last-Translator: Igor Popowicz <igorpopowicz12@gmail.com>\n"
|
||||||
"Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/"
|
"Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/"
|
||||||
"cartridges/pl/>\n"
|
"cartridges/pl/>\n"
|
||||||
"Language: pl\n"
|
"Language: pl\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||||
"|| n%100>=20) ? 1 : 2;\n"
|
"|| n%100>=20) ? 1 : 2);\n"
|
||||||
"X-Generator: Weblate 5.0-dev\n"
|
"X-Generator: Weblate 5.5-dev\n"
|
||||||
|
|
||||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6
|
#: data/hu.kramo.Cartridges.metainfo.xml.in:6
|
||||||
@@ -81,21 +82,19 @@ msgstr "Nowa okładka"
|
|||||||
|
|
||||||
#: data/gtk/details-dialog.blp:64
|
#: data/gtk/details-dialog.blp:64
|
||||||
msgid "Delete Cover"
|
msgid "Delete Cover"
|
||||||
msgstr "Usuń osłonę"
|
msgstr "Usuń okładkę"
|
||||||
|
|
||||||
#: data/gtk/details-dialog.blp:91 data/gtk/game.blp:81
|
#: data/gtk/details-dialog.blp:91 data/gtk/game.blp:81
|
||||||
msgid "Title"
|
msgid "Title"
|
||||||
msgstr "Tytuł"
|
msgstr "Tytuł"
|
||||||
|
|
||||||
#: data/gtk/details-dialog.blp:94
|
#: data/gtk/details-dialog.blp:94
|
||||||
#, fuzzy
|
|
||||||
#| msgid "The developer or publisher (optional)"
|
|
||||||
msgid "Developer (optional)"
|
msgid "Developer (optional)"
|
||||||
msgstr "Twórca lub wydawca (opcjonalnie)"
|
msgstr "Twórca lub wydawca (opcjonalnie)"
|
||||||
|
|
||||||
#: data/gtk/details-dialog.blp:99
|
#: data/gtk/details-dialog.blp:99
|
||||||
msgid "Executable"
|
msgid "Executable"
|
||||||
msgstr "Wykonywalne"
|
msgstr "Plik wykonywalny"
|
||||||
|
|
||||||
#: data/gtk/details-dialog.blp:105
|
#: data/gtk/details-dialog.blp:105
|
||||||
msgid "Select File"
|
msgid "Select File"
|
||||||
@@ -132,7 +131,7 @@ msgstr "Szukaj"
|
|||||||
|
|
||||||
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:526
|
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:526
|
||||||
msgid "Keyboard Shortcuts"
|
msgid "Keyboard Shortcuts"
|
||||||
msgstr "Skróty klawiaturowe"
|
msgstr "Skróty klawiszy"
|
||||||
|
|
||||||
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
|
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
|
||||||
#: cartridges/preferences.py:126 cartridges/importer/importer.py:394
|
#: cartridges/preferences.py:126 cartridges/importer/importer.py:394
|
||||||
@@ -253,7 +252,7 @@ msgstr "Heroic"
|
|||||||
|
|
||||||
#: data/gtk/preferences.blp:201
|
#: data/gtk/preferences.blp:201
|
||||||
msgid "Import Epic Games"
|
msgid "Import Epic Games"
|
||||||
msgstr "Zaimportuj Epic Games"
|
msgstr "Importuj gry Epic Games"
|
||||||
|
|
||||||
#: data/gtk/preferences.blp:205
|
#: data/gtk/preferences.blp:205
|
||||||
msgid "Import GOG Games"
|
msgid "Import GOG Games"
|
||||||
@@ -488,10 +487,8 @@ msgid "Add"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: cartridges/details_dialog.py:90
|
#: cartridges/details_dialog.py:90
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Executable"
|
|
||||||
msgid "Executables"
|
msgid "Executables"
|
||||||
msgstr "Wykonywalne"
|
msgstr "Pliki wykonywalne"
|
||||||
|
|
||||||
#. Translate this string as you would translate "file"
|
#. Translate this string as you would translate "file"
|
||||||
#: cartridges/details_dialog.py:105
|
#: cartridges/details_dialog.py:105
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ configure_file(
|
|||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input: 'hu.kramo.Cartridges.SearchProvider.service.in',
|
input: 'page.kramo.Cartridges.SearchProvider.service.in',
|
||||||
output: app_id + '.SearchProvider.service',
|
output: app_id + '.SearchProvider.service',
|
||||||
configuration: conf,
|
configuration: conf,
|
||||||
install_dir: service_dir
|
install_dir: service_dir
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input: 'hu.kramo.Cartridges.SearchProvider.ini',
|
input: 'page.kramo.Cartridges.SearchProvider.ini',
|
||||||
output: app_id + '.SearchProvider.ini',
|
output: app_id + '.SearchProvider.ini',
|
||||||
configuration: conf,
|
configuration: conf,
|
||||||
install_dir: serarch_provider_dir
|
install_dir: serarch_provider_dir
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[wrap-git]
|
[wrap-git]
|
||||||
directory = blueprint-compiler
|
directory = blueprint-compiler
|
||||||
url = https://gitlab.gnome.org/jwestman/blueprint-compiler.git
|
url = https://gitlab.gnome.org/jwestman/blueprint-compiler.git
|
||||||
revision = v0.10.0
|
revision = v0.12.0
|
||||||
depth = 1
|
depth = 1
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
|
|||||||