Compare commits

..

31 Commits

Author SHA1 Message Date
kramo
67c1b25429 v0.1.4 2023-03-22 17:35:56 +01:00
kramo
7503d207c8 Update README info 2023-03-22 17:32:06 +01:00
kramo
6176982d1c Exclude Adwaita cursors from Windows 2023-03-22 10:43:04 +01:00
kramo
aa8145a605 Exclude __pycache__ on Windows 2023-03-22 10:29:01 +01:00
kramo
ea52f8cf09 Merge pull request #14 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-22 08:37:56 +01:00
kramo
26636557ee Translated using Weblate (Hungarian)
Currently translated at 100.0% (108 of 108 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-22 08:36:44 +01:00
kramo
b281a4bd0d Cleanups 2023-03-22 08:36:37 +01:00
kramo
8d820d8426 Update Flatpak repo 2023-03-22 07:57:43 +01:00
kramo
d86593962b Update Platform to 44 2023-03-22 07:53:27 +01:00
kramo
a3935e24e9 README: Update badges 2023-03-21 18:40:07 +01:00
kramo
0f9aeb3e1d Create CODE_OF_CONDUCT.md 2023-03-21 16:31:56 +01:00
kramo
d045d51082 Update README.md 2023-03-21 16:17:21 +01:00
kramo
9724cae884 Create CONTRIBUTING.md 2023-03-21 16:15:43 +01:00
kramo
6b0d4593b7 Update issue templates 2023-03-21 16:05:42 +01:00
kramo
a21b3e0171 Update translations 2023-03-21 15:48:37 +01:00
kramo
86dae1f972 Add support for multiple Steam library directories 2023-03-21 15:40:21 +01:00
kramo
a7a1573569 README: Update Weblate link
Signed-off-by: kramo <93832451+kra-mo@users.noreply.github.com>
2023-03-21 14:28:56 +01:00
kramo
9214400cca Minor string changes 2023-03-21 14:16:03 +01:00
kramo
18f381c377 Merge pull request #12 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-21 14:14:16 +01:00
Dan
08f63ceeb6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (101 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
2023-03-21 14:12:48 +01:00
kramo
0a2e51355a Translated using Weblate (French)
Currently translated at 91.0% (92 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
2023-03-21 12:05:54 +01:00
kramo
270cb4e73a Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.0% (91 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
2023-03-21 12:05:53 +01:00
kramo
7b080af02a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (101 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
2023-03-21 12:05:53 +01:00
Dan
839a176ef8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (101 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
2023-03-21 12:05:53 +01:00
kramo
0993adfda9 Translated using Weblate (French)
Currently translated at 90.0% (91 of 101 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (101 of 101 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-20 20:05:21 +01:00
Hosted Weblate
1c4d6e244e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-20 20:05:21 +01:00
kramo
6ca11358e9 Update Windows icon 2023-03-20 20:05:13 +01:00
kramo
2acd0025e5 Fix "removed" string 2023-03-20 19:55:03 +01:00
kramo
64581ee607 Update Windows build commands 2023-03-20 19:40:28 +01:00
kramo
921968bec3 Properly launch games on Windows 2023-03-20 19:29:55 +01:00
kramo
149c417901 Update README.md 2023-03-19 16:40:30 +01:00
37 changed files with 1106 additions and 671 deletions

31
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**System (please complete the following information):**
- OS: [e.g. Fedora Linux]
- Installation method [e.g. Flatpak]
**Additional context**
Add any other context about the problem here.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -14,8 +14,6 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5 - uses: flatpak/flatpak-github-actions/flatpak-builder@v5
with: with:
repository-name: gnome-nightly
repository-url: https://nightly.gnome.org/gnome-nightly.flatpakrepo
bundle: hu.kramo.Cartridges.flatpak bundle: hu.kramo.Cartridges.flatpak
manifest-path: hu.kramo.Cartridges.json manifest-path: hu.kramo.Cartridges.json
cache-key: flatpak-builder-${{ github.sha }} cache-key: flatpak-builder-${{ github.sha }}

View File

@@ -19,7 +19,7 @@ jobs:
- name: Compile - name: Compile
shell: msys2 {0} shell: msys2 {0}
run: | run: |
meson _build meson setup _build
ninja -C _build install ninja -C _build install
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
- name: "Inno Setup" - name: "Inno Setup"

View File

@@ -1,5 +1,5 @@
#define MyAppName "Cartridges" #define MyAppName "Cartridges"
#define MyAppVersion "0.1.3" #define MyAppVersion "0.1.4"
#define MyAppPublisher "kramo" #define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges" #define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe" #define MyAppExeName "pythonw.exe"
@@ -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
@@ -41,10 +40,10 @@ Source: "D:\a\_temp\msys64\ucrt64\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: r
Source: "D:\a\_temp\msys64\ucrt64\lib\gdk-pixbuf-2.0\*"; DestDir: "{app}\lib\gdk-pixbuf-2.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\gdk-pixbuf-2.0\*"; DestDir: "{app}\lib\gdk-pixbuf-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\girepository-1.0\*"; DestDir: "{app}\lib\girepository-1.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\girepository-1.0\*"; DestDir: "{app}\lib\girepository-1.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\python3.10\*"; DestDir: "{app}\lib\python3.10"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\python3.10\*"; DestDir: "{app}\lib\python3.10"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\cartridges\*"; DestDir: "{app}\share\cartridges"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\cartridges\*"; DestDir: "{app}\share\cartridges"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Excludes: "cursors\*"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion
@@ -55,5 +54,4 @@ Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Para
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"; Tasks: desktopicon Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"; Tasks: desktopicon
[Run] [Run]
Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait skipifsilent Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 169 KiB

128
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
cartridges-community@kramo.hu.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

35
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,35 @@
# Contributing
## Code
Fork the repository, make your changes, then create a pull request.
## Translations
### Weblate
The project can be translated on [Weblate](https://hosted.weblate.org/engage/cartridges/).
### Manually
1. Clone the repository.
2. If it isn't already there, add your language to `/po/LINGUAS`.
3. Create a new translation from the `/po/cartridges.pot` file with a translation editor such as [Poedit](https://poedit.net/).
4. Save the file as `[YOUR LANGUAGE CODE].po` to `/po/`.
5. Create a pull request with your translations.
# Building
## GNOME Builder
1. Install [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder).
2. Click "Clone Repository" with `https://github.com/kra-mo/cartridges.git` as the URL.
3. Click on the build button (hammer) at the top.
## For Windows
1. Install [MSYS2](https://www.msys2.org/).
2. From the MSYS2 shell, install the required dependencies listed [here](https://github.com/kra-mo/cartridges/blob/main/.github/workflows/windows.yml).
3. Build it via Meson
## Meson
```bash
git clone https://github.com/kra-mo/cartridges.git
cd cartridges
meson setup build
ninja -C build install
```

View File

@@ -7,69 +7,51 @@
[![Build status][github-actions-image]][github-actions-url] [![Build status][github-actions-image]][github-actions-url]
[![Translation Status][weblate-image]][weblate-url] [![Translation Status][weblate-image]][weblate-url]
[![Merged PRs][prs-merged-image]][prs-merged-url]
[![License][license-image]][license-url] [![License][license-image]][license-url]
[![Code style][code-style-image]][code-style-url] [![Code style][code-style-image]][code-style-url]
[github-actions-url]: https://github.com/kra-mo/cartridges [github-actions-url]: https://github.com/kra-mo/cartridges
[github-actions-image]: https://img.shields.io/github/actions/workflow/status/kra-mo/cartridges/flatpak-builder.yml?branch=main&label=build [github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/flatpak-builder.yml/badge.svg
[prs-merged-url]: https://github.com/kra-mo/cartridges/pulls?q=is:pr+is:merged
[prs-merged-image]: https://img.shields.io/github/issues-pr-closed-raw/kra-mo/cartridges.svg?label=merged+PRs&color=green
[license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE [license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE
[license-image]: https://img.shields.io/github/license/kra-mo/cartridges [license-image]: https://img.shields.io/github/license/kra-mo/cartridges
[code-style-url]: https://github.com/psf/black [code-style-url]: https://github.com/psf/black
[code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat [code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat
[weblate-url]: https://hosted.weblate.org/projects/cartridges/cartridges [weblate-url]: https://hosted.weblate.org/engage/cartridges/
[weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg [weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg
<img src="data/screenshot.webp"> <img src="data/screenshot.webp">
</div> </div>
# The Project
## The Project Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita.
Cartridges is a simple game launcher written in Python using GTK4 + Libadwaita. ## Features
### Features
- Manually adding and editing games - Manually adding and editing games
- Importing games from Steam, Heroic and Bottles - Importing games from Steam, Heroic and Bottles
- Support for multiple Steam install locations
- Hiding games - Hiding games
- Searching and sorting by title, date added and last played - Searching and sorting by title, date added and last played
## Building # Installation
### GNOME Builder ## Linux
1. Download [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder).
2. Click "Clone Repository" with `https://github.com/kra-mo/game-shelf.git` as the URL.
3. Click on the build button (hammer) at the top.
## Installation
### Latest Build From GitHub Actions
1. Install `org.gnome.Platform` from the [gnome-nightly repository](https://wiki.gnome.org/Apps/Nightly) if needed.
2. Download the artifact from the latest workflow run.
3. Decompress the archive.
4. Install it via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
### From Releases ### From Releases
1. Install `org.gnome.Platform` from the [gnome-nightly repository](https://wiki.gnome.org/Apps/Nightly) if needed. 1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Download the latest release from Releases. 2. Install the downloaded file via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
3. Install it via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
### From GNOME Builder ## Windows
Click the down arrow next to the hammer at the top of your GNOME Builder window, then click "Export". This will create a flatpak that then can be installed on your system.
## Contributing ### From Releases
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Run the downloaded installer.
### Code Note: Windows might present you with a warning when trying to install the app. This is expected, just ignore the warning.
Fork the repository, make your changes, then create a pull request.
### Translations ## Building manually
#### Weblate See [Building](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md#building).
The project can be translated on [Weblate](https://hosted.weblate.org/projects/cartridges/).
#### Manually # Contributing
1. Clone the repository.
2. If it isn't already there, add your language to `/po/LINGUAS`. See [CONTRIBUTING](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md).
3. Create a new translation from the `/po/cartridges.pot` file with a translation editor such as [Poedit](https://poedit.net/).
4. Save the file as `[YOUR LANGUAGE CODE].po` to `/po/`. Thanks to [Weblate](https://weblate.org/) for hosting our translations!
5. Create a pull request with your translations.

View File

@@ -30,6 +30,30 @@ template PreferencesWindow : Adw.PreferencesWindow {
valign: center; valign: center;
} }
} }
Adw.ActionRow {
title: _("Extra Steam Libraries");
subtitle: _("Select other directories where you have Steam games installed");
Revealer steam_clear_button_revealer {
reveal-child: false;
transition-type: slide_left;
Button steam_clear_button {
label: _("Clear");
valign: center;
halign: end;
styles [
"destructive-action",
]
}
}
Button steam_extra_file_chooser_button {
icon-name: "folder-new-symbolic";
valign: center;
}
}
} }
Adw.PreferencesGroup heroic_group { Adw.PreferencesGroup heroic_group {

View File

@@ -11,7 +11,7 @@ Adw.StatusPage notice_no_results {
Adw.StatusPage notice_empty { Adw.StatusPage notice_empty {
icon-name: "applications-games-symbolic"; icon-name: "applications-games-symbolic";
title: _("No Games Found"); title: _("No Games");
description: _("Use the + button to add games."); description: _("Use the + button to add games.");
vexpand: true; vexpand: true;
valign: center; valign: center;
@@ -41,6 +41,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.HeaderBar { Adw.HeaderBar {
[start] [start]
Button back_button { Button back_button {
tooltip-text: _("Back");
action-name: "win.go_back"; action-name: "win.go_back";
icon-name: "go-previous-symbolic"; icon-name: "go-previous-symbolic";
} }
@@ -192,18 +193,21 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.HeaderBar header_bar { Adw.HeaderBar header_bar {
[start] [start]
MenuButton { MenuButton {
tooltip-text: _("Add Game");
icon-name: "list-add-symbolic"; icon-name: "list-add-symbolic";
menu-model: add_games; menu-model: add_games;
} }
[end] [end]
MenuButton primary_menu_button { MenuButton primary_menu_button {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic"; icon-name: "open-menu-symbolic";
menu-model: primary_menu; menu-model: primary_menu;
} }
[end] [end]
ToggleButton search_button { ToggleButton search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
action-name: "win.toggle_search"; action-name: "win.toggle_search";
} }
@@ -247,6 +251,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.HeaderBar hidden_header_bar { Adw.HeaderBar hidden_header_bar {
[start] [start]
Button hidden_back_button { Button hidden_back_button {
tooltip-text: _("Back");
action-name: "win.go_back"; action-name: "win.go_back";
icon-name: "go-previous-symbolic"; icon-name: "go-previous-symbolic";
} }
@@ -258,12 +263,14 @@ template CartridgesWindow : Adw.ApplicationWindow {
[end] [end]
MenuButton { MenuButton {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic"; icon-name: "open-menu-symbolic";
menu-model: primary_menu; menu-model: primary_menu;
} }
[end] [end]
ToggleButton hidden_search_button { ToggleButton hidden_search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
action-name: "win.toggle_search"; action-name: "win.toggle_search";
} }

View File

@@ -15,6 +15,9 @@
</key> </key>
<key name="steam-location" type="s"> <key name="steam-location" type="s">
<default>"~/.steam/"</default> <default>"~/.steam/"</default>
</key>
<key name="steam-extra-dirs" type="as">
<default>[]</default>
</key> </key>
<key name="heroic-location" type="s"> <key name="heroic-location" type="s">
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default> <default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default>

View File

@@ -1,7 +1,7 @@
{ {
"app-id" : "hu.kramo.Cartridges", "app-id" : "hu.kramo.Cartridges",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "master", "runtime-version" : "44",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
"command" : "cartridges", "command" : "cartridges",
"finish-args" : [ "finish-args" : [
@@ -33,13 +33,13 @@
"modules" : [ "modules" : [
"python3-modules.json", "python3-modules.json",
{ {
"name": "blueprint-compiler", "name" : "blueprint-compiler",
"buildsystem": "meson", "buildsystem" : "meson",
"sources": [ "sources" : [
{ {
"type": "git", "type" : "git",
"url": "https://gitlab.gnome.org/jwestman/blueprint-compiler", "url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag": "v0.6.0" "tag" : "v0.6.0"
} }
] ]
}, },
@@ -54,5 +54,8 @@
} }
] ]
} }
] ],
"build-options" : {
"env" : { }
}
} }

View File

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

View File

@@ -8,7 +8,7 @@ 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-19 13:11+0100\n" "POT-Creation-Date: 2023-03-21 15:48+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -42,8 +42,8 @@ msgid ""
"hiding and sorting by date added or last played." "hiding and sorting by date added or last played."
msgstr "" msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/gtk/window.blp:6 src/utils/bottles_parser.py:142
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 #: src/utils/heroic_parser.py:253 src/utils/steam_parser.py:161
msgid "No Games Found" msgid "No Games Found"
msgstr "" msgstr ""
@@ -51,6 +51,10 @@ msgstr ""
msgid "Try a different search." msgid "Try a different search."
msgstr "" msgstr ""
#: data/gtk/window.blp:14
msgid "No Games"
msgstr ""
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "" msgstr ""
@@ -63,97 +67,109 @@ msgstr ""
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "" msgstr ""
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr ""
#: data/gtk/window.blp:51
msgid "Game Details" msgid "Game Details"
msgstr "" msgstr ""
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "" msgstr ""
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 data/gtk/game.blp:38
msgid "Play" msgid "Play"
msgstr "" msgstr ""
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:314
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:329
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr ""
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr ""
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "" msgstr ""
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Import from" msgid "Main Menu"
msgstr "" msgstr ""
#: data/gtk/window.blp:383 #: data/gtk/window.blp:210 data/gtk/window.blp:273
msgid "Steam" msgid "Search"
msgstr ""
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:321
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:336
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:363
msgid "Preferences"
msgstr ""
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "" msgstr ""
#: data/gtk/window.blp:388 #: data/gtk/window.blp:388
msgid "Import from"
msgstr ""
#: data/gtk/window.blp:390
msgid "Steam"
msgstr ""
#: data/gtk/window.blp:395
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/window.blp:393 #: data/gtk/window.blp:400
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:411 data/gtk/window.blp:430 data/gtk/game.blp:87
#: data/gtk/game.blp:106 #: data/gtk/game.blp:106
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:416 data/gtk/game.blp:92
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:421 data/gtk/window.blp:440 data/gtk/game.blp:97
#: data/gtk/game.blp:116 #: data/gtk/game.blp:116
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:435 data/gtk/game.blp:111
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -223,28 +239,40 @@ msgstr ""
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:102
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:34
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:35
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:42
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:63
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:73
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:81
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:89
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:101
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "" msgstr ""
@@ -287,7 +315,7 @@ msgid "Last played: {last_played_date}"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87
#: src/utils/steam_parser.py:230 #: src/utils/steam_parser.py:234
msgid "Couldn't Import Games" msgid "Couldn't Import Games"
msgstr "" msgstr ""
@@ -307,14 +335,14 @@ msgstr ""
msgid "Bottles Games Imported" msgid "Bottles Games Imported"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:260
#: src/utils/steam_parser.py:164 #: src/utils/steam_parser.py:168
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "" msgstr ""
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:268
#: src/utils/steam_parser.py:172 #: src/utils/steam_parser.py:176
#, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "" msgstr ""
@@ -438,34 +466,34 @@ msgstr ""
msgid "Set Heroic Location" msgid "Set Heroic Location"
msgstr "" msgstr ""
#: src/utils/heroic_parser.py:242 #: src/utils/heroic_parser.py:254
msgid "No new games were found in the Heroic library." msgid "No new games were found in the Heroic library."
msgstr "" msgstr ""
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #: src/utils/heroic_parser.py:259 src/utils/heroic_parser.py:266
msgid "Heroic Games Imported" msgid "Heroic Games Imported"
msgstr "" msgstr ""
#: src/utils/steam_parser.py:158 #: src/utils/steam_parser.py:162
msgid "No new games were found in the Steam library." msgid "No new games were found in the Steam library."
msgstr "" msgstr ""
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #: src/utils/steam_parser.py:167 src/utils/steam_parser.py:174
msgid "Steam Games Imported" msgid "Steam Games Imported"
msgstr "" msgstr ""
#: src/utils/steam_parser.py:231 #: src/utils/steam_parser.py:235
msgid "The Steam directory cannot be found." msgid "The Steam directory cannot be found."
msgstr "" msgstr ""
#: src/utils/steam_parser.py:233 #: src/utils/steam_parser.py:237
msgid "Set Steam Location" msgid "Set Steam Location"
msgstr "" msgstr ""
#: src/utils/steam_parser.py:249 #: src/utils/steam_parser.py:253
msgid "Importing Games…" msgid "Importing Games…"
msgstr "" msgstr ""
#: src/utils/steam_parser.py:250 #: src/utils/steam_parser.py:254
msgid "Talking to Steam" msgid "Talking to Steam"
msgstr "" msgstr ""

214
po/fr.po
View File

@@ -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-19 13:11+0100\n" "POT-Creation-Date: 2023-03-21 15:48+0100\n"
"PO-Revision-Date: 2023-03-18 23:40+0000\n" "PO-Revision-Date: 2023-03-21 11:05+0000\n"
"Last-Translator: \"J. Lavoie\" <j.lavoie@net-c.ca>\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"
@@ -48,8 +48,8 @@ msgstr ""
"d'organisation telles que le masquage et le tri par date d'ajout ou de " "d'organisation telles que le masquage et le tri par date d'ajout ou de "
"dernière lecture." "dernière lecture."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/gtk/window.blp:6 src/utils/bottles_parser.py:142
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 #: src/utils/heroic_parser.py:253 src/utils/steam_parser.py:161
msgid "No Games Found" msgid "No Games Found"
msgstr "Aucun jeu trouvé" msgstr "Aucun jeu trouvé"
@@ -57,6 +57,11 @@ msgstr "Aucun jeu trouvé"
msgid "Try a different search." msgid "Try a different search."
msgstr "Essayez une autre recherche." msgstr "Essayez une autre recherche."
#: data/gtk/window.blp:14
#, fuzzy
msgid "No Games"
msgstr "Jeux"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Utilisez le bouton + pour ajouter des jeux." msgstr "Utilisez le bouton + pour ajouter des jeux."
@@ -69,97 +74,110 @@ msgstr "Pas de jeux masqués"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Les jeux que vous masquez apparaîtront ici." msgstr "Les jeux que vous masquez apparaîtront ici."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr ""
#: data/gtk/window.blp:51
msgid "Game Details" msgid "Game Details"
msgstr "Détails du jeu" msgstr "Détails du jeu"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Titre du jeu" msgstr "Titre du jeu"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 data/gtk/game.blp:38
msgid "Play" msgid "Play"
msgstr "Jouer" msgstr "Jouer"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Jeux masqués"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Trier"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Le plus récent"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Le plus ancien"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Dernière session"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Afficher les masqués"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Préférences"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "À propos de Cartridges"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Ajouter un jeu" msgstr "Ajouter un jeu"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:210 data/gtk/window.blp:273
#, fuzzy
msgid "Search"
msgstr "Recherche"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Jeux masqués"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Trier"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Le plus récent"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Le plus ancien"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Dernière session"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Afficher les masqués"
#: data/gtk/window.blp:363
msgid "Preferences"
msgstr "Préférences"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "À propos de Cartridges"
#: data/gtk/window.blp:388
msgid "Import from" msgid "Import from"
msgstr "Importer depuis" msgstr "Importer depuis"
#: data/gtk/window.blp:383 #: data/gtk/window.blp:390
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:395
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/window.blp:393 #: data/gtk/window.blp:400
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:411 data/gtk/window.blp:430 data/gtk/game.blp:87
#: data/gtk/game.blp:106 #: data/gtk/game.blp:106
msgid "Edit" msgid "Edit"
msgstr "Modifier" msgstr "Modifier"
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:416 data/gtk/game.blp:92
msgid "Hide" msgid "Hide"
msgstr "Masquer" msgstr "Masquer"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:421 data/gtk/window.blp:440 data/gtk/game.blp:97
#: data/gtk/game.blp:116 #: data/gtk/game.blp:116
msgid "Remove" msgid "Remove"
msgstr "Retirer" msgstr "Retirer"
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:435 data/gtk/game.blp:111
msgid "Unhide" msgid "Unhide"
msgstr "Afficher" msgstr "Afficher"
@@ -229,28 +247,40 @@ msgstr "Quitter après avoir lancé les jeux"
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Emplacement de l'installation de Steam" msgstr "Emplacement de l'installation de Steam"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:102
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Répertoire à utiliser lors de l'importation de jeux" msgstr "Répertoire à utiliser lors de l'importation de jeux"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:34
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:35
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:42
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:63
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Emplacement de l'installation Heroic" msgstr "Emplacement de l'installation Heroic"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:73
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic Games" msgstr "Importer Epic Games"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:81
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer des jeux GOG" msgstr "Importer des jeux GOG"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:89
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer des jeux Sideloaded" msgstr "Importer des jeux Sideloaded"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:101
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Emplacement de l'installation Bottles" msgstr "Emplacement de l'installation Bottles"
@@ -260,9 +290,9 @@ msgid "translator_credits"
msgstr "" msgstr ""
#: src/main.py:195 #: src/main.py:195
#, fuzzy, python-brace-format #, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "retiré" msgstr "{title} retiré"
#: src/main.py:196 #: src/main.py:196
msgid "Undo" msgid "Undo"
@@ -278,22 +308,22 @@ msgstr "Hier"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265 #: src/window.py:265
#, fuzzy, python-brace-format #, python-brace-format
msgid "Added: {date}" msgid "Added: {date}"
msgstr "Ajouté :" msgstr "Ajouté : {date}"
#: src/window.py:270 #: src/window.py:270
msgid "Never" msgid "Never"
msgstr "" msgstr "Jamais"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:274
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Dernière session : Jamais" msgstr "Dernière session : {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87
#: src/utils/steam_parser.py:230 #: src/utils/steam_parser.py:234
msgid "Couldn't Import Games" msgid "Couldn't Import Games"
msgstr "Impossible d'importer des jeux" msgstr "Impossible d'importer des jeux"
@@ -313,17 +343,17 @@ msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Bottles."
msgid "Bottles Games Imported" msgid "Bottles Games Imported"
msgstr "Jeux Bottles importés" msgstr "Jeux Bottles importés"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:260
#: src/utils/steam_parser.py:164 #: src/utils/steam_parser.py:168
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Importation réussie de 1 jeu." msgstr "Importation réussie de 1 jeu."
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:268
#: src/utils/steam_parser.py:172 #: src/utils/steam_parser.py:176
#, fuzzy, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "Importation réussie de 1 jeu." msgstr "Importation réussie de {games_no} jeux."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -359,7 +389,7 @@ msgstr "Le développeur ou l'éditeur (facultatif)"
#: src/utils/create_details_window.py:111 #: src/utils/create_details_window.py:111
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr "ficher.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:113
@@ -444,36 +474,36 @@ msgstr "Le répertoire Heroic est introuvable."
msgid "Set Heroic Location" msgid "Set Heroic Location"
msgstr "Définir l'emplacement Heroic" msgstr "Définir l'emplacement Heroic"
#: src/utils/heroic_parser.py:242 #: src/utils/heroic_parser.py:254
msgid "No new games were found in the Heroic library." msgid "No new games were found in the Heroic library."
msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Heroic." msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Heroic."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #: src/utils/heroic_parser.py:259 src/utils/heroic_parser.py:266
msgid "Heroic Games Imported" msgid "Heroic Games Imported"
msgstr "Jeux Heroic importés" msgstr "Jeux Heroic importés"
#: src/utils/steam_parser.py:158 #: src/utils/steam_parser.py:162
msgid "No new games were found in the Steam library." msgid "No new games were found in the Steam library."
msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam." msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #: src/utils/steam_parser.py:167 src/utils/steam_parser.py:174
msgid "Steam Games Imported" msgid "Steam Games Imported"
msgstr "Jeux Steam importés" msgstr "Jeux Steam importés"
#: src/utils/steam_parser.py:231 #: src/utils/steam_parser.py:235
msgid "The Steam directory cannot be found." msgid "The Steam directory cannot be found."
msgstr "Le répertoire Steam est introuvable." msgstr "Le répertoire Steam est introuvable."
#: src/utils/steam_parser.py:233 #: src/utils/steam_parser.py:237
msgid "Set Steam Location" msgid "Set Steam Location"
msgstr "Définir l'emplacement Steam" msgstr "Définir l'emplacement Steam"
#: src/utils/steam_parser.py:249 #: src/utils/steam_parser.py:253
#, fuzzy #, fuzzy
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Importation de jeux…" msgstr "Importation de jeux…"
#: src/utils/steam_parser.py:250 #: src/utils/steam_parser.py:254
#, fuzzy #, fuzzy
msgid "Talking to Steam" msgid "Talking to Steam"
msgstr "Parler à Steam" msgstr "Parler à Steam"

208
po/hu.po
View File

@@ -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-19 13:11+0100\n" "POT-Creation-Date: 2023-03-21 15:48+0100\n"
"PO-Revision-Date: 2023-03-19 12:05+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"
@@ -47,8 +47,8 @@ msgstr ""
"A Kazetták egy egyszerű játékindító. Támogatja a Steam-ből, Heroic-ból és " "A Kazetták egy egyszerű játékindító. Támogatja a Steam-ből, Heroic-ból és "
"Bottles-ből való importálást, valamint a játékok elrejtését és rendezését." "Bottles-ből való importálást, valamint a játékok elrejtését és rendezését."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/gtk/window.blp:6 src/utils/bottles_parser.py:142
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 #: src/utils/heroic_parser.py:253 src/utils/steam_parser.py:161
msgid "No Games Found" msgid "No Games Found"
msgstr "Nem Találhatóak Játékok" msgstr "Nem Találhatóak Játékok"
@@ -56,6 +56,10 @@ msgstr "Nem Találhatóak Játékok"
msgid "Try a different search." msgid "Try a different search."
msgstr "Próbálkozz más kereséssel." msgstr "Próbálkozz más kereséssel."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Nincsenek Játékok"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Használd a + gombot a játékok hozzáadásához." msgstr "Használd a + gombot a játékok hozzáadásához."
@@ -68,97 +72,109 @@ msgstr "Nincsenek Rejtett Játékok"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "A rejtett játékaid itt lesznek megtalálhatók." msgstr "A rejtett játékaid itt lesznek megtalálhatók."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr "Vissza"
#: data/gtk/window.blp:51
msgid "Game Details" msgid "Game Details"
msgstr "Játék Részletei" msgstr "Játék Részletei"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Cím" msgstr "Cím"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 data/gtk/game.blp:38
msgid "Play" msgid "Play"
msgstr "Játék" msgstr "Játék"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Rejtett Játékok"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Rendezés"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Legújabb"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Legrégebbi"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Legutóbb játszott"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Rejtett Játékok"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Beállítások"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Billentyűparancsok"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "A Kazettákról"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Játék Hozzáadása" msgstr "Játék Hozzáadása"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Főmenü"
#: data/gtk/window.blp:210 data/gtk/window.blp:273
msgid "Search"
msgstr "Keresés"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Rejtett Játékok"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Rendezés"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Legújabb"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Legrégebbi"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Legutóbb játszott"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Rejtett Játékok"
#: data/gtk/window.blp:363
msgid "Preferences"
msgstr "Beállítások"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Billentyűparancsok"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "A Kazettákról"
#: data/gtk/window.blp:388
msgid "Import from" msgid "Import from"
msgstr "Importálás innen" msgstr "Importálás innen"
#: data/gtk/window.blp:383 #: data/gtk/window.blp:390
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:395
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/window.blp:393 #: data/gtk/window.blp:400
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:411 data/gtk/window.blp:430 data/gtk/game.blp:87
#: data/gtk/game.blp:106 #: data/gtk/game.blp:106
msgid "Edit" msgid "Edit"
msgstr "Szerkeszt" msgstr "Szerkeszt"
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:416 data/gtk/game.blp:92
msgid "Hide" msgid "Hide"
msgstr "Elrejt" msgstr "Elrejt"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:421 data/gtk/window.blp:440 data/gtk/game.blp:97
#: data/gtk/game.blp:116 #: data/gtk/game.blp:116
msgid "Remove" msgid "Remove"
msgstr "Eltávolít" msgstr "Eltávolít"
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:435 data/gtk/game.blp:111
msgid "Unhide" msgid "Unhide"
msgstr "Mutat" msgstr "Mutat"
@@ -228,28 +244,40 @@ msgstr "Kilépés Játékok Indítása Után"
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Steam Telepítés Helye" msgstr "Steam Telepítés Helye"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:102
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Az importáláskor használatos mappa" msgstr "Az importáláskor használatos mappa"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:34
msgid "Extra Steam Libraries"
msgstr "Extra Steam Könyvtárak"
#: data/gtk/preferences.blp:35
msgid "Select other directories where you have Steam games installed"
msgstr "Válasszon ki egyéb mappákat, ahol vannak még Steam játékai"
#: data/gtk/preferences.blp:42
msgid "Clear"
msgstr "Törlés"
#: data/gtk/preferences.blp:63
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Heroic Telepítés Helye" msgstr "Heroic Telepítés Helye"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:73
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic Games Játékok Importálása" msgstr "Epic Games Játékok Importálása"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:81
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG Játékok Importálása" msgstr "GOG Játékok Importálása"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:89
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Manuálisan Hozzáadott Játékok Importálása" msgstr "Manuálisan Hozzáadott Játékok Importálása"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:101
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Bottles Telepítés Helye" msgstr "Bottles Telepítés Helye"
@@ -259,9 +287,9 @@ msgid "translator_credits"
msgstr "kramo https://kramo.hu" msgstr "kramo https://kramo.hu"
#: src/main.py:195 #: src/main.py:195
#, fuzzy, python-brace-format #, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "eltávolítva" msgstr "{title} eltávolítva"
#: src/main.py:196 #: src/main.py:196
msgid "Undo" msgid "Undo"
@@ -277,9 +305,9 @@ msgstr "Tegnap"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265 #: src/window.py:265
#, fuzzy, python-brace-format #, python-brace-format
msgid "Added: {date}" msgid "Added: {date}"
msgstr "Hozzáadva:" msgstr "Hozzáadva: {date}"
#: src/window.py:270 #: src/window.py:270
msgid "Never" msgid "Never"
@@ -292,7 +320,7 @@ msgid "Last played: {last_played_date}"
msgstr "Legutóbbi játékmenet: {last_played_date}" msgstr "Legutóbbi játékmenet: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87
#: src/utils/steam_parser.py:230 #: src/utils/steam_parser.py:234
msgid "Couldn't Import Games" msgid "Couldn't Import Games"
msgstr "Nem Lehet Importálni a Játékot" msgstr "Nem Lehet Importálni a Játékot"
@@ -312,17 +340,17 @@ msgstr "Nem találhatók új játékok a Bottles könyvtárban."
msgid "Bottles Games Imported" msgid "Bottles Games Imported"
msgstr "Bottles Játékok Importálva" msgstr "Bottles Játékok Importálva"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:260
#: src/utils/steam_parser.py:164 #: src/utils/steam_parser.py:168
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "1 játék sikeresen importálva." msgstr "1 játék sikeresen importálva."
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:268
#: src/utils/steam_parser.py:172 #: src/utils/steam_parser.py:176
#, fuzzy, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "{str(games_no)} játék sikeresen importálva." msgstr "{games_no} játék sikeresen importálva."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -453,35 +481,35 @@ msgstr "A Heroic mappa nem található."
msgid "Set Heroic Location" msgid "Set Heroic Location"
msgstr "Heroic Mappa Kiválasztása" msgstr "Heroic Mappa Kiválasztása"
#: src/utils/heroic_parser.py:242 #: src/utils/heroic_parser.py:254
msgid "No new games were found in the Heroic library." msgid "No new games were found in the Heroic library."
msgstr "Nem találhatók új játékok a Heroic könyvtárban." msgstr "Nem találhatók új játékok a Heroic könyvtárban."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #: src/utils/heroic_parser.py:259 src/utils/heroic_parser.py:266
msgid "Heroic Games Imported" msgid "Heroic Games Imported"
msgstr "Heroic Játékok Importálva" msgstr "Heroic Játékok Importálva"
#: src/utils/steam_parser.py:158 #: src/utils/steam_parser.py:162
msgid "No new games were found in the Steam library." msgid "No new games were found in the Steam library."
msgstr "Nem találhatók új játékok a Steam könyvtárban." msgstr "Nem találhatók új játékok a Steam könyvtárban."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #: src/utils/steam_parser.py:167 src/utils/steam_parser.py:174
msgid "Steam Games Imported" msgid "Steam Games Imported"
msgstr "Steam Játékok Importálva" msgstr "Steam Játékok Importálva"
#: src/utils/steam_parser.py:231 #: src/utils/steam_parser.py:235
msgid "The Steam directory cannot be found." msgid "The Steam directory cannot be found."
msgstr "A Steam mappa nem található." msgstr "A Steam mappa nem található."
#: src/utils/steam_parser.py:233 #: src/utils/steam_parser.py:237
msgid "Set Steam Location" msgid "Set Steam Location"
msgstr "Steam Mappa Kiválasztása" msgstr "Steam Mappa Kiválasztása"
#: src/utils/steam_parser.py:249 #: src/utils/steam_parser.py:253
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Játékok Importálása…" msgstr "Játékok Importálása…"
#: src/utils/steam_parser.py:250 #: src/utils/steam_parser.py:254
msgid "Talking to Steam" msgid "Talking to Steam"
msgstr "Beszélgetés a Steammel" msgstr "Beszélgetés a Steammel"

View File

@@ -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-19 13:11+0100\n" "POT-Creation-Date: 2023-03-21 15:48+0100\n"
"PO-Revision-Date: 2023-03-15 22:46+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"
@@ -47,8 +47,8 @@ msgstr ""
"organiseringsfunksjoner som skjuling og sortering etter tillagt dato eller " "organiseringsfunksjoner som skjuling og sortering etter tillagt dato eller "
"sist spilt." "sist spilt."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/gtk/window.blp:6 src/utils/bottles_parser.py:142
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 #: src/utils/heroic_parser.py:253 src/utils/steam_parser.py:161
msgid "No Games Found" msgid "No Games Found"
msgstr "Fant ingen spill" msgstr "Fant ingen spill"
@@ -56,6 +56,11 @@ msgstr "Fant ingen spill"
msgid "Try a different search." msgid "Try a different search."
msgstr "Prøv et forskjellig søk." msgstr "Prøv et forskjellig søk."
#: data/gtk/window.blp:14
#, fuzzy
msgid "No Games"
msgstr "Spill"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Bruk «+»-knappen for å legge til spill." msgstr "Bruk «+»-knappen for å legge til spill."
@@ -68,97 +73,110 @@ msgstr "Ingen skjulte spill"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Spill du skjuler vil vises her." msgstr "Spill du skjuler vil vises her."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr ""
#: data/gtk/window.blp:51
msgid "Game Details" msgid "Game Details"
msgstr "Spilldetaljer" msgstr "Spilldetaljer"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Spillnavn" msgstr "Spillnavn"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 data/gtk/game.blp:38
msgid "Play" msgid "Play"
msgstr "Spill" msgstr "Spill"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Skjulte spill"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Sorter"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Å"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Å-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Nyeste"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Eldste"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Sist spilt"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Vis skjulte"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Innstillinger"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "Om"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Legg til spill" msgstr "Legg til spill"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:210 data/gtk/window.blp:273
#, fuzzy
msgid "Search"
msgstr "Søk"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Skjulte spill"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Sorter"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Å"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Å-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Nyeste"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Eldste"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Sist spilt"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Vis skjulte"
#: data/gtk/window.blp:363
msgid "Preferences"
msgstr "Innstillinger"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Om"
#: data/gtk/window.blp:388
msgid "Import from" msgid "Import from"
msgstr "Importer fra" msgstr "Importer fra"
#: data/gtk/window.blp:383 #: data/gtk/window.blp:390
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:395
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/window.blp:393 #: data/gtk/window.blp:400
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:411 data/gtk/window.blp:430 data/gtk/game.blp:87
#: data/gtk/game.blp:106 #: data/gtk/game.blp:106
msgid "Edit" msgid "Edit"
msgstr "Rediger" msgstr "Rediger"
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:416 data/gtk/game.blp:92
msgid "Hide" msgid "Hide"
msgstr "Skjul" msgstr "Skjul"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:421 data/gtk/window.blp:440 data/gtk/game.blp:97
#: data/gtk/game.blp:116 #: data/gtk/game.blp:116
msgid "Remove" msgid "Remove"
msgstr "Fjern" msgstr "Fjern"
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:435 data/gtk/game.blp:111
msgid "Unhide" msgid "Unhide"
msgstr "Opphev fjerning" msgstr "Opphev fjerning"
@@ -228,28 +246,40 @@ msgstr "Avslutt etter oppstart av spill"
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Installasjonssted for Steam" msgstr "Installasjonssted for Steam"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:102
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Mappe å bruke ved import av spill" msgstr "Mappe å bruke ved import av spill"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:34
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:35
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:42
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:63
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Installasjonssted for Heroic" msgstr "Installasjonssted for Heroic"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:73
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic-spill" msgstr "Importer Epic-spill"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:81
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer GOG-spill" msgstr "Importer GOG-spill"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:89
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer sideinnlastede spill" msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:101
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Installasjonssted for Bottles" msgstr "Installasjonssted for Bottles"
@@ -259,9 +289,9 @@ msgid "translator_credits"
msgstr "Allan Nordhøy, <epost@anotheragency.no>" msgstr "Allan Nordhøy, <epost@anotheragency.no>"
#: src/main.py:195 #: src/main.py:195
#, fuzzy, python-brace-format #, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "fjernet" msgstr "{title} fjernet"
#: src/main.py:196 #: src/main.py:196
msgid "Undo" msgid "Undo"
@@ -277,9 +307,9 @@ msgstr "I går"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265 #: src/window.py:265
#, fuzzy, python-brace-format #, python-brace-format
msgid "Added: {date}" msgid "Added: {date}"
msgstr "Tillagt:" msgstr "Tillagt: {date}"
#: src/window.py:270 #: src/window.py:270
msgid "Never" msgid "Never"
@@ -287,12 +317,12 @@ msgstr ""
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:274
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Sist spilt: Aldri" msgstr "Sist spilt: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87
#: src/utils/steam_parser.py:230 #: src/utils/steam_parser.py:234
msgid "Couldn't Import Games" msgid "Couldn't Import Games"
msgstr "Kunne ikke importere spill" msgstr "Kunne ikke importere spill"
@@ -312,17 +342,17 @@ msgstr "Fant ingen nye spill i Bottles-biblioteket."
msgid "Bottles Games Imported" msgid "Bottles Games Imported"
msgstr "Bottles-spill importert" msgstr "Bottles-spill importert"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:260
#: src/utils/steam_parser.py:164 #: src/utils/steam_parser.py:168
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Importerte ett spill." msgstr "Importerte ett spill."
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:268
#: src/utils/steam_parser.py:172 #: src/utils/steam_parser.py:176
#, fuzzy, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "Importerte ett spill." msgstr "Importerte {games_no} spill."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -443,36 +473,35 @@ msgstr "Finner ikke Heroic-spillmappen."
msgid "Set Heroic Location" msgid "Set Heroic Location"
msgstr "Velg hvor Heroic er å finne" msgstr "Velg hvor Heroic er å finne"
#: src/utils/heroic_parser.py:242 #: src/utils/heroic_parser.py:254
msgid "No new games were found in the Heroic library." msgid "No new games were found in the Heroic library."
msgstr "Fant ingen nye spill i Heroic-biblioteket." msgstr "Fant ingen nye spill i Heroic-biblioteket."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #: src/utils/heroic_parser.py:259 src/utils/heroic_parser.py:266
msgid "Heroic Games Imported" msgid "Heroic Games Imported"
msgstr "Heroic-spill importert" msgstr "Heroic-spill importert"
#: src/utils/steam_parser.py:158 #: src/utils/steam_parser.py:162
msgid "No new games were found in the Steam library." msgid "No new games were found in the Steam library."
msgstr "Fant ingen nye spill i Steam-biblioteket." msgstr "Fant ingen nye spill i Steam-biblioteket."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #: src/utils/steam_parser.py:167 src/utils/steam_parser.py:174
msgid "Steam Games Imported" msgid "Steam Games Imported"
msgstr "Steam-spill importert" msgstr "Steam-spill importert"
#: src/utils/steam_parser.py:231 #: src/utils/steam_parser.py:235
msgid "The Steam directory cannot be found." msgid "The Steam directory cannot be found."
msgstr "Kunne ikke finne Steam-mappen." msgstr "Kunne ikke finne Steam-mappen."
#: src/utils/steam_parser.py:233 #: src/utils/steam_parser.py:237
msgid "Set Steam Location" msgid "Set Steam Location"
msgstr "Velg hvor Steam er å finne" msgstr "Velg hvor Steam er å finne"
#: src/utils/steam_parser.py:249 #: src/utils/steam_parser.py:253
#, fuzzy
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Kunne ikke importere spill" msgstr ""
#: src/utils/steam_parser.py:250 #: src/utils/steam_parser.py:254
msgid "Talking to Steam" msgid "Talking to Steam"
msgstr "" msgstr ""

194
po/ta.po
View File

@@ -1,14 +1,14 @@
# 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 ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-21 15:48+0100\n"
"PO-Revision-Date: 2023-03-18 23:40+0000\n" "PO-Revision-Date: 2023-03-18 23:40+0000\n"
"Last-Translator: \"K.B.Dharun Krishna\" <kbdharunkrishna@gmail.com>\n" "Last-Translator: \"K.B.Dharun Krishna\" <kbdharunkrishna@gmail.com>\n"
"Language-Team: Tamil <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Tamil <https://hosted.weblate.org/projects/cartridges/"
@@ -49,8 +49,8 @@ msgstr ""
"மற்றும் சேர்த்த அல்லது கடைசியாக விளையாடிய தேதியின்படி வரிசைப்படுத்துதல் போன்ற நிறுவன " "மற்றும் சேர்த்த அல்லது கடைசியாக விளையாடிய தேதியின்படி வரிசைப்படுத்துதல் போன்ற நிறுவன "
"அம்சங்களுடன்." "அம்சங்களுடன்."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/gtk/window.blp:6 src/utils/bottles_parser.py:142
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 #: src/utils/heroic_parser.py:253 src/utils/steam_parser.py:161
msgid "No Games Found" msgid "No Games Found"
msgstr "விளையாட்டுகள் எதுவும் இல்லை" msgstr "விளையாட்டுகள் எதுவும் இல்லை"
@@ -58,6 +58,11 @@ msgstr "விளையாட்டுகள் எதுவும் இல்
msgid "Try a different search." msgid "Try a different search."
msgstr "வேறு தேடலை முயற்சிக்கவும்." msgstr "வேறு தேடலை முயற்சிக்கவும்."
#: data/gtk/window.blp:14
#, fuzzy
msgid "No Games"
msgstr "விளையாட்டுகள்"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்." msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்."
@@ -70,97 +75,110 @@ msgstr "மறைக்கப்பட்ட விளையாட்டுக
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்." msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr ""
#: data/gtk/window.blp:51
msgid "Game Details" msgid "Game Details"
msgstr "விளையாட்டு விவரங்கள்" msgstr "விளையாட்டு விவரங்கள்"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "விளையாட்டு தலைப்பு" msgstr "விளையாட்டு தலைப்பு"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 data/gtk/game.blp:38
msgid "Play" msgid "Play"
msgstr "விளையாடு" msgstr "விளையாடு"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "வகைபடுத்து"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "புதியது"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "பழமையானது"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "கடைசியாக விளையாடியது"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "மறைக்கப்பட்டதைக் காட்டு"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "விருப்பங்கள்"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "விசைப்பலகை குறுக்குவழிகள்"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள் பற்றி"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "விளையாட்டைச் சேர்க்கவும்" msgstr "விளையாட்டைச் சேர்க்கவும்"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:210 data/gtk/window.blp:273
#, fuzzy
msgid "Search"
msgstr "தேடு"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "வகைபடுத்து"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "புதியது"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "பழமையானது"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "கடைசியாக விளையாடியது"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "மறைக்கப்பட்டதைக் காட்டு"
#: data/gtk/window.blp:363
msgid "Preferences"
msgstr "விருப்பங்கள்"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "விசைப்பலகை குறுக்குவழிகள்"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள் பற்றி"
#: data/gtk/window.blp:388
msgid "Import from" msgid "Import from"
msgstr "இலிருந்து இறக்குமதி செய்" msgstr "இலிருந்து இறக்குமதி செய்"
#: data/gtk/window.blp:383 #: data/gtk/window.blp:390
msgid "Steam" msgid "Steam"
msgstr "Steam (ஸ்டீம்)" msgstr "Steam (ஸ்டீம்)"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:395
msgid "Heroic" msgid "Heroic"
msgstr "Heroic (ஹீரோயிக்)" msgstr "Heroic (ஹீரோயிக்)"
#: data/gtk/window.blp:393 #: data/gtk/window.blp:400
msgid "Bottles" msgid "Bottles"
msgstr "Bottles (பாட்டில்கள்)" msgstr "Bottles (பாட்டில்கள்)"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:411 data/gtk/window.blp:430 data/gtk/game.blp:87
#: data/gtk/game.blp:106 #: data/gtk/game.blp:106
msgid "Edit" msgid "Edit"
msgstr "தொகு" msgstr "தொகு"
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:416 data/gtk/game.blp:92
msgid "Hide" msgid "Hide"
msgstr "மறை" msgstr "மறை"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:421 data/gtk/window.blp:440 data/gtk/game.blp:97
#: data/gtk/game.blp:116 #: data/gtk/game.blp:116
msgid "Remove" msgid "Remove"
msgstr "அகற்று" msgstr "அகற்று"
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:435 data/gtk/game.blp:111
msgid "Unhide" msgid "Unhide"
msgstr "மறை காட்டு" msgstr "மறை காட்டு"
@@ -230,28 +248,40 @@ msgstr "விளையாட்டுகளை தொடங்கிய பி
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்" msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:102
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு" msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:34
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:35
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:42
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:63
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்" msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:73
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்" msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:81
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:89
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:101
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்" msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
@@ -294,7 +324,7 @@ msgid "Last played: {last_played_date}"
msgstr "கடைசியாக விளையாடியது: ஒருபோதும் இல்லை" msgstr "கடைசியாக விளையாடியது: ஒருபோதும் இல்லை"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87
#: src/utils/steam_parser.py:230 #: src/utils/steam_parser.py:234
msgid "Couldn't Import Games" msgid "Couldn't Import Games"
msgstr "கேம்களை இறக்குமதி செய்ய முடியவில்லை" msgstr "கேம்களை இறக்குமதி செய்ய முடியவில்லை"
@@ -314,14 +344,14 @@ msgstr "பாட்டில்கள் நூலகத்தில் பு
msgid "Bottles Games Imported" msgid "Bottles Games Imported"
msgstr "பாட்டில் விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" msgstr "பாட்டில் விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:260
#: src/utils/steam_parser.py:164 #: src/utils/steam_parser.py:168
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:268
#: src/utils/steam_parser.py:172 #: src/utils/steam_parser.py:176
#, fuzzy, python-brace-format #, fuzzy, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
@@ -445,36 +475,36 @@ msgstr "Heroic (ஹீரோயிக்) கோப்பகத்தைக்
msgid "Set Heroic Location" msgid "Set Heroic Location"
msgstr "Heroic (ஹீரோயிக்) இருப்பிடத்தை அமைக்கவும்" msgstr "Heroic (ஹீரோயிக்) இருப்பிடத்தை அமைக்கவும்"
#: src/utils/heroic_parser.py:242 #: src/utils/heroic_parser.py:254
msgid "No new games were found in the Heroic library." msgid "No new games were found in the Heroic library."
msgstr "Heroic (ஹீரோயிக்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." msgstr "Heroic (ஹீரோயிக்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #: src/utils/heroic_parser.py:259 src/utils/heroic_parser.py:266
msgid "Heroic Games Imported" msgid "Heroic Games Imported"
msgstr "Heroic (ஹீரோயிக்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" msgstr "Heroic (ஹீரோயிக்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#: src/utils/steam_parser.py:158 #: src/utils/steam_parser.py:162
msgid "No new games were found in the Steam library." msgid "No new games were found in the Steam library."
msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #: src/utils/steam_parser.py:167 src/utils/steam_parser.py:174
msgid "Steam Games Imported" msgid "Steam Games Imported"
msgstr "Steam (ஸ்டீம்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" msgstr "Steam (ஸ்டீம்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#: src/utils/steam_parser.py:231 #: src/utils/steam_parser.py:235
msgid "The Steam directory cannot be found." msgid "The Steam directory cannot be found."
msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை." msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை."
#: src/utils/steam_parser.py:233 #: src/utils/steam_parser.py:237
msgid "Set Steam Location" msgid "Set Steam Location"
msgstr "Steam (ஸ்டீம் இடத்தை அமைக்கவும்" msgstr "Steam (ஸ்டீம் இடத்தை அமைக்கவும்"
#: src/utils/steam_parser.py:249 #: src/utils/steam_parser.py:253
#, fuzzy #, fuzzy
msgid "Importing Games…" msgid "Importing Games…"
msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…" msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
#: src/utils/steam_parser.py:250 #: src/utils/steam_parser.py:254
msgid "Talking to Steam" msgid "Talking to Steam"
msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்" msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்"

233
po/uk.po
View File

@@ -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.
# Dan <denqwerta@gmail.com>, 2023. # Dan <denqwerta@gmail.com>, 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-19 13:11+0100\n" "POT-Creation-Date: 2023-03-21 15:48+0100\n"
"PO-Revision-Date: 2023-03-16 18:47+0000\n" "PO-Revision-Date: 2023-03-21 13:12+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n" "Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/uk/>\n" "cartridges/uk/>\n"
@@ -48,8 +48,8 @@ msgstr ""
"Steam, Heroic та Bottles із такими організаційними функціями, як " "Steam, Heroic та Bottles із такими організаційними функціями, як "
"приховування та сортування за датою додавання чи останньої гри." "приховування та сортування за датою додавання чи останньої гри."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/gtk/window.blp:6 src/utils/bottles_parser.py:142
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 #: src/utils/heroic_parser.py:253 src/utils/steam_parser.py:161
msgid "No Games Found" msgid "No Games Found"
msgstr "Ігор не знайдено" msgstr "Ігор не знайдено"
@@ -57,6 +57,11 @@ msgstr "Ігор не знайдено"
msgid "Try a different search." msgid "Try a different search."
msgstr "Спробуйте інший пошук." msgstr "Спробуйте інший пошук."
#: data/gtk/window.blp:14
#, fuzzy
msgid "No Games"
msgstr "Ігри"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Використовуйте кнопку +, щоб додати гру." msgstr "Використовуйте кнопку +, щоб додати гру."
@@ -69,97 +74,110 @@ msgstr "Ніяких прихованих ігор"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Ігри, які ви сховали, з'являться тут." msgstr "Ігри, які ви сховали, з'являться тут."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr ""
#: data/gtk/window.blp:51
msgid "Game Details" msgid "Game Details"
msgstr "Подробиці гри" msgstr "Подробиці гри"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Назва гри" msgstr "Назва гри"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 data/gtk/game.blp:38
msgid "Play" msgid "Play"
msgstr "Грати" msgstr "Грати"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Приховані ігри"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Сортувати"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Найновіші"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Найстаріші"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Остання гра"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Показати приховане"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Параметри"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Комбінації клавіш"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "Про Cartridges"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Додати гру" msgstr "Додати гру"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:210 data/gtk/window.blp:273
#, fuzzy
msgid "Search"
msgstr "Пошук"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Приховані ігри"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Сортувати"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Найновіші"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Найстаріші"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Остання гра"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Показати приховане"
#: data/gtk/window.blp:363
msgid "Preferences"
msgstr "Параметри"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Комбінації клавіш"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Про Cartridges"
#: data/gtk/window.blp:388
msgid "Import from" msgid "Import from"
msgstr "Імпорт з" msgstr "Імпорт з"
#: data/gtk/window.blp:383 #: data/gtk/window.blp:390
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:395
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/window.blp:393 #: data/gtk/window.blp:400
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:411 data/gtk/window.blp:430 data/gtk/game.blp:87
#: data/gtk/game.blp:106 #: data/gtk/game.blp:106
msgid "Edit" msgid "Edit"
msgstr "Редагувати" msgstr "Редагувати"
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:416 data/gtk/game.blp:92
msgid "Hide" msgid "Hide"
msgstr "Приховати" msgstr "Приховати"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:421 data/gtk/window.blp:440 data/gtk/game.blp:97
#: data/gtk/game.blp:116 #: data/gtk/game.blp:116
msgid "Remove" msgid "Remove"
msgstr "Видалити" msgstr "Видалити"
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:435 data/gtk/game.blp:111
msgid "Unhide" msgid "Unhide"
msgstr "Показати" msgstr "Показати"
@@ -229,28 +247,40 @@ msgstr "Вихід після запуску ігор"
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Місце встановлення Steam" msgstr "Місце встановлення Steam"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:102
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Каталог для імпорту ігор" msgstr "Каталог для імпорту ігор"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:34
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:35
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:42
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:63
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Місце встановлення Heroic" msgstr "Місце встановлення Heroic"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:73
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Імпорт Epic Games" msgstr "Імпорт Epic Games"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:81
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Імпорт ігор GOG" msgstr "Імпорт ігор GOG"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:89
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Імпорт сторонніх ігор" msgstr "Імпорт сторонніх ігор"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:101
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Місце встановлення Bottles" msgstr "Місце встановлення Bottles"
@@ -260,9 +290,9 @@ msgid "translator_credits"
msgstr "kefir2105" msgstr "kefir2105"
#: src/main.py:195 #: src/main.py:195
#, fuzzy, python-brace-format #, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "видалено" msgstr "{title} видалено"
#: src/main.py:196 #: src/main.py:196
msgid "Undo" msgid "Undo"
@@ -278,22 +308,22 @@ msgstr "Вчора"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265 #: src/window.py:265
#, fuzzy, python-brace-format #, python-brace-format
msgid "Added: {date}" msgid "Added: {date}"
msgstr "Додано:" msgstr "Додано: {date}"
#: src/window.py:270 #: src/window.py:270
msgid "Never" msgid "Never"
msgstr "" msgstr "Ніколи"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:274
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Остання гра: Ніколи" msgstr "Останній раз грали: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87
#: src/utils/steam_parser.py:230 #: src/utils/steam_parser.py:234
msgid "Couldn't Import Games" msgid "Couldn't Import Games"
msgstr "Не вдається імпортувати ігри" msgstr "Не вдається імпортувати ігри"
@@ -313,17 +343,17 @@ msgstr "У бібліотеці Bottles нових ігор не знайден
msgid "Bottles Games Imported" msgid "Bottles Games Imported"
msgstr "Ігри Bottles імпортовано" msgstr "Ігри Bottles імпортовано"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:260
#: src/utils/steam_parser.py:164 #: src/utils/steam_parser.py:168
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Успішно імпортовано 1 гру." msgstr "Успішно імпортовано 1 гру."
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:268
#: src/utils/steam_parser.py:172 #: src/utils/steam_parser.py:176
#, fuzzy, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "Успішно імпортовано 1 гру." msgstr "Успішно імпортовано {games_no} ігри."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -359,32 +389,32 @@ msgstr "Розробник або видавець (необов'язково)"
#: src/utils/create_details_window.py:111 #: src/utils/create_details_window.py:111
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr "file.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:113
msgid "program" msgid "program"
msgstr "" msgstr "програма"
#: src/utils/create_details_window.py:117 #: src/utils/create_details_window.py:117
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "" msgstr "C:\\path\\to\\{exe_name}"
#: src/utils/create_details_window.py:118 #: src/utils/create_details_window.py:118
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{file_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "" msgstr "C:\\path\\to\\{file_name}"
#: src/utils/create_details_window.py:121 #: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "/path/to/{exe_name}"
msgstr "" msgstr "/path/to/{exe_name}"
#: src/utils/create_details_window.py:122 #: src/utils/create_details_window.py:122
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "" msgstr "/path/to/{file_name}"
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:126
#, python-brace-format #, python-brace-format
@@ -399,6 +429,16 @@ msgid ""
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
"Щоб запустити виконуваний файл \"{exe_name}\", скористайтеся командою:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Щоб відкрити файл \"{file_name}\" за допомогою застосунку за замовчуванням, "
"скористайтеся:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!"
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:149
msgid "Executable" msgid "Executable"
@@ -444,36 +484,35 @@ msgstr "Не вдається знайти каталог Heroic."
msgid "Set Heroic Location" msgid "Set Heroic Location"
msgstr "Встановіть розташування Heroic" msgstr "Встановіть розташування Heroic"
#: src/utils/heroic_parser.py:242 #: src/utils/heroic_parser.py:254
msgid "No new games were found in the Heroic library." msgid "No new games were found in the Heroic library."
msgstr "У бібліотеці Heroic нових ігор не знайдено." msgstr "У бібліотеці Heroic нових ігор не знайдено."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #: src/utils/heroic_parser.py:259 src/utils/heroic_parser.py:266
msgid "Heroic Games Imported" msgid "Heroic Games Imported"
msgstr "Ігри Heroic імпортовано" msgstr "Ігри Heroic імпортовано"
#: src/utils/steam_parser.py:158 #: src/utils/steam_parser.py:162
msgid "No new games were found in the Steam library." msgid "No new games were found in the Steam library."
msgstr "У бібліотеці Steam не знайдено жодної нової гри." msgstr "У бібліотеці Steam не знайдено жодної нової гри."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #: src/utils/steam_parser.py:167 src/utils/steam_parser.py:174
msgid "Steam Games Imported" msgid "Steam Games Imported"
msgstr "Ігри Steam імпортовано" msgstr "Ігри Steam імпортовано"
#: src/utils/steam_parser.py:231 #: src/utils/steam_parser.py:235
msgid "The Steam directory cannot be found." msgid "The Steam directory cannot be found."
msgstr "Каталог Steam знайти неможливо." msgstr "Каталог Steam знайти неможливо."
#: src/utils/steam_parser.py:233 #: src/utils/steam_parser.py:237
msgid "Set Steam Location" msgid "Set Steam Location"
msgstr "Встановіть розташування Steam" msgstr "Встановіть розташування Steam"
#: src/utils/steam_parser.py:249 #: src/utils/steam_parser.py:253
#, fuzzy
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Імпорт ігор…" msgstr "Імпорт ігор…"
#: src/utils/steam_parser.py:250 #: src/utils/steam_parser.py:254
msgid "Talking to Steam" msgid "Talking to Steam"
msgstr "Спілкування зі Steam" msgstr "Спілкування зі Steam"

View File

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

View File

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

View File

@@ -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
@@ -116,13 +116,13 @@ class CartridgesApplication(Adw.Application):
application_name=_("Cartridges"), application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges", application_icon="hu.kramo.Cartridges",
developer_name="kramo", developer_name="kramo",
version="0.1.3", version="0.1.4",
developers=[ developers=[
"kramo https://kramo.hu", "kramo https://kramo.hu",
"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",
@@ -191,7 +191,7 @@ class CartridgesApplication(Adw.Application):
self.win.on_go_back_action(None, None) self.win.on_go_back_action(None, None)
# The variable is the title of the game # The variable is the title of the game
title = {self.win.games[game_id].name} title = self.win.games[game_id].name
toast = Adw.Toast.new(_(f"{title} removed")) toast = Adw.Toast.new(_(f"{title} removed"))
toast.set_button_label(_("Undo")) toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_remove_action, game_id) toast.connect("button-clicked", self.win.on_undo_remove_action, game_id)

View File

@@ -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
@@ -35,6 +35,9 @@ class PreferencesWindow(Adw.PreferencesWindow):
import_sideload_games_switch = Gtk.Template.Child() import_sideload_games_switch = Gtk.Template.Child()
steam_file_chooser_button = Gtk.Template.Child() steam_file_chooser_button = Gtk.Template.Child()
steam_extra_file_chooser_button = Gtk.Template.Child()
steam_clear_button = Gtk.Template.Child()
steam_clear_button_revealer = Gtk.Template.Child()
heroic_file_chooser_button = Gtk.Template.Child() heroic_file_chooser_button = Gtk.Template.Child()
bottles_file_chooser_button = Gtk.Template.Child() bottles_file_chooser_button = Gtk.Template.Child()
@@ -70,6 +73,12 @@ class PreferencesWindow(Adw.PreferencesWindow):
filechooser = Gtk.FileDialog() filechooser = Gtk.FileDialog()
def update_revealer():
if schema.get_strv("steam-extra-dirs"):
self.steam_clear_button_revealer.set_reveal_child(True)
else:
self.steam_clear_button_revealer.set_reveal_child(False)
def set_steam_dir(_source, result, _unused): def set_steam_dir(_source, result, _unused):
try: try:
schema.set_string( schema.set_string(
@@ -79,6 +88,19 @@ class PreferencesWindow(Adw.PreferencesWindow):
except GLib.GError: except GLib.GError:
pass pass
def add_steam_dir(_source, result, _unused):
try:
value = schema.get_strv("steam-extra-dirs")
value.append(filechooser.select_folder_finish(result).get_path())
schema.set_strv("steam-extra-dirs", value)
except GLib.GError:
pass
update_revealer()
def clear_steam_dirs(*_unused):
schema.set_strv("steam-extra-dirs", [])
update_revealer()
def set_heroic_dir(_source, result, _unused): def set_heroic_dir(_source, result, _unused):
try: try:
schema.set_string( schema.set_string(
@@ -100,7 +122,13 @@ class PreferencesWindow(Adw.PreferencesWindow):
def choose_folder(_widget, function): def choose_folder(_widget, function):
filechooser.select_folder(parent_widget, None, function, None) filechooser.select_folder(parent_widget, None, function, None)
update_revealer()
self.steam_file_chooser_button.connect("clicked", choose_folder, set_steam_dir) self.steam_file_chooser_button.connect("clicked", choose_folder, set_steam_dir)
self.steam_extra_file_chooser_button.connect(
"clicked", choose_folder, add_steam_dir
)
self.steam_clear_button.connect("clicked", clear_steam_dirs)
self.heroic_file_chooser_button.connect( self.heroic_file_chooser_button.connect(
"clicked", choose_folder, set_heroic_dir "clicked", choose_folder, set_heroic_dir
) )

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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
@@ -129,7 +129,11 @@ def heroic_parser(parent_widget, action):
values["name"] = game["title"] values["name"] = game["title"]
values["developer"] = game["developer"] values["developer"] = game["developer"]
values["executable"] = "xdg-open heroic://launch/" + app_name values["executable"] = (
"start heroic://launch/" + app_name
if os.name == "nt"
else "xdg-open heroic://launch/" + app_name
)
values["hidden"] = False values["hidden"] = False
values["source"] = "heroic_epic" values["source"] = "heroic_epic"
values["added"] = current_time values["added"] = current_time
@@ -189,7 +193,11 @@ def heroic_parser(parent_widget, action):
save_cover(values, parent_widget, image_path) save_cover(values, parent_widget, image_path)
break break
values["executable"] = "xdg-open heroic://launch/" + app_name values["executable"] = (
"start heroic://launch/" + app_name
if os.name == "nt"
else "xdg-open heroic://launch/" + app_name
)
values["hidden"] = False values["hidden"] = False
values["source"] = "heroic_gog" values["source"] = "heroic_gog"
values["added"] = current_time values["added"] = current_time
@@ -220,7 +228,11 @@ def heroic_parser(parent_widget, action):
continue continue
values["name"] = item["title"] values["name"] = item["title"]
values["executable"] = "xdg-open heroic://launch/" + app_name values["executable"] = (
"start heroic://launch/" + app_name
if os.name == "nt"
else "xdg-open heroic://launch/" + app_name
)
values["hidden"] = False values["hidden"] = False
values["source"] = "heroic_sideload" values["source"] = "heroic_sideload"
values["added"] = current_time values["added"] = current_time

View File

@@ -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
@@ -28,6 +28,8 @@ def run_command(executable):
subprocess.Popen( subprocess.Popen(
["flatpak-spawn --host " + executable] ["flatpak-spawn --host " + executable]
if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges" if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges"
else executable.split()
if os.name == "nt"
else [executable], else [executable],
shell=True, shell=True,
start_new_session=True, start_new_session=True,

View File

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

View File

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

View File

@@ -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
@@ -63,7 +63,11 @@ def get_game(task, datatypes, current_time, parent_widget, appmanifest, steam_di
task.return_value(None) task.return_value(None)
return return
values["executable"] = "xdg-open steam://rungameid/" + values["appid"] values["executable"] = (
"start steam://rungameid/" + values["appid"]
if os.name == "nt"
else "xdg-open steam://rungameid/" + values["appid"]
)
values["hidden"] = False values["hidden"] = False
values["source"] = "steam" values["source"] = "steam"
values["added"] = current_time values["added"] = current_time
@@ -263,9 +267,17 @@ def steam_parser(parent_widget, action):
appmanifests = [] appmanifests = []
for open_file in os.listdir(os.path.join(steam_dir, "steamapps")): steam_dirs = schema.get_strv("steam-extra-dirs")
path = os.path.join(steam_dir, "steamapps", open_file) steam_dirs.append(steam_dir)
if os.path.isfile(path) and "appmanifest" in open_file:
appmanifests.append(path)
get_games_async(parent_widget, appmanifests, steam_dir, import_dialog) for directory in steam_dirs:
if not os.path.exists(os.path.join(directory, "steamapps")):
steam_dirs.remove(directory)
for directory in steam_dirs:
for open_file in os.listdir(os.path.join(directory, "steamapps")):
path = os.path.join(directory, "steamapps", open_file)
if os.path.isfile(path) and "appmanifest" in open_file:
appmanifests.append(path)
get_games_async(parent_widget, appmanifests, directory, import_dialog)

View File

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

View File

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