Compare commits
304 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dad3dcafb7 | ||
|
|
c6ef2ea0b4 | ||
|
|
e4d9f8ba45 | ||
|
|
87a4319360 | ||
|
|
dc232e1e43 | ||
|
|
39be891452 | ||
|
|
c3cad7c793 | ||
|
|
2952322759 | ||
|
|
653bc8668c | ||
|
|
1a23851000 | ||
|
|
560d1cd273 | ||
|
|
dc0d7304f1 | ||
|
|
0100e7176c | ||
|
|
23aaabd425 | ||
|
|
2ad1863577 | ||
|
|
0297275540 | ||
|
|
a4bebdd4a9 | ||
|
|
8524a891cf | ||
|
|
a6fafc3963 | ||
|
|
2d324997fd | ||
|
|
9ed1f84879 | ||
|
|
253bef9507 | ||
|
|
95c637699a | ||
|
|
da22751035 | ||
|
|
0500b8ebe1 | ||
|
|
a2c77a5852 | ||
|
|
0efa05514c | ||
|
|
3a20eb7399 | ||
|
|
a7d0842ebc | ||
|
|
220c9a4bb7 | ||
|
|
e388623c03 | ||
|
|
e320e58ffc | ||
|
|
c9a1104b44 | ||
|
|
ee5740c21c | ||
|
|
1498326f45 | ||
|
|
69fc7e1b03 | ||
|
|
8a3397bef5 | ||
|
|
d87048ee64 | ||
|
|
3d6601238d | ||
|
|
a7393ba9b9 | ||
|
|
c2f429a29c | ||
|
|
8fadcc8524 | ||
|
|
c544901519 | ||
|
|
7756f75bb9 | ||
|
|
fabd9828f6 | ||
|
|
29e022327b | ||
|
|
49fb3705e4 | ||
|
|
0c6cfc14f0 | ||
|
|
75a5255806 | ||
|
|
dd1dd2b7e5 | ||
|
|
4a204442b5 | ||
|
|
fb0c47c1f1 | ||
|
|
3af968fee7 | ||
|
|
9fbb45cfa5 | ||
|
|
bbfe478ac3 | ||
|
|
339ec1c20a | ||
|
|
97e40e0a80 | ||
|
|
95d47815ab | ||
|
|
772bf30468 | ||
|
|
7311015549 | ||
|
|
e7d2f58416 | ||
|
|
a040b058d2 | ||
|
|
7be20c64bd | ||
|
|
036e5814f3 | ||
|
|
e46c9b6a30 | ||
|
|
495755f278 | ||
|
|
1f25bed842 | ||
|
|
ad38dc6d49 | ||
|
|
a7efe0a920 | ||
|
|
8d082ab158 | ||
|
|
b3c2437618 | ||
|
|
8e7d08b3b2 | ||
|
|
d22d3820b9 | ||
|
|
721a46c5b8 | ||
|
|
8efb1c6c5e | ||
|
|
07960182c7 | ||
|
|
fccf302c4b | ||
|
|
7a1e5e0968 | ||
|
|
19a1c856ac | ||
|
|
e9b8c0d01e | ||
|
|
95cd65bc7a | ||
|
|
073dbdb97b | ||
|
|
ad0e5b2abf | ||
|
|
9ed085e1a0 | ||
|
|
f4f6d73d4a | ||
|
|
107c1c96b5 | ||
|
|
299333c959 | ||
|
|
e4b315f252 | ||
|
|
455c6891d8 | ||
|
|
2311f3dff7 | ||
|
|
f5b527cc51 | ||
|
|
0a89061218 | ||
|
|
20bfe9309c | ||
|
|
50e9bb7c0e | ||
|
|
3b032ffb64 | ||
|
|
09a7504c78 | ||
|
|
1c51da2750 | ||
|
|
7a07553a5d | ||
|
|
450cab9bbf | ||
|
|
6b46efb0b8 | ||
|
|
00b3145833 | ||
|
|
8cb1cd998c | ||
|
|
8870c20279 | ||
|
|
08da6b8e3f | ||
|
|
18858edcd4 | ||
|
|
27829670b6 | ||
|
|
affdfaed27 | ||
|
|
cbd0b3f287 | ||
|
|
523aa8a82c | ||
|
|
4f7dc8716a | ||
|
|
92add88c5d | ||
|
|
e73bc5507c | ||
|
|
f1acb55ece | ||
|
|
5e5a2fe746 | ||
|
|
3fa80a53c6 | ||
|
|
41c2a1023a | ||
|
|
c38a73ea98 | ||
|
|
6408e250ee | ||
|
|
e97c08a42b | ||
|
|
e57a2a74df | ||
|
|
f9000be272 | ||
|
|
882ed55cc6 | ||
|
|
7bbb9e564d | ||
|
|
ad7084410c | ||
|
|
ea0ecf4fb4 | ||
|
|
9f582dfa3e | ||
|
|
6ff9039064 | ||
|
|
42ba8244d0 | ||
|
|
4793d50b0a | ||
|
|
a96b989a29 | ||
|
|
286b44360e | ||
|
|
2aea2fb377 | ||
|
|
2e97edcdb5 | ||
|
|
32adc68d82 | ||
|
|
8dcbe56e76 | ||
|
|
009e6f3641 | ||
|
|
9d7a6d8ea4 | ||
|
|
cff2a4ae6c | ||
|
|
eb91586216 | ||
|
|
8eb203cb06 | ||
|
|
b2b1780374 | ||
|
|
f0dda997c3 | ||
|
|
366b68cf8f | ||
|
|
beba0ff1e2 | ||
|
|
e694341a31 | ||
|
|
d060acb90a | ||
|
|
90667b0f31 | ||
|
|
39bc64c136 | ||
|
|
e6afed6678 | ||
|
|
3bc0df3881 | ||
|
|
695cc88d76 | ||
|
|
6dd8e3965f | ||
|
|
dbb96a166b | ||
|
|
054089431f | ||
|
|
59c2d68642 | ||
|
|
68273d9217 | ||
|
|
2798097623 | ||
|
|
6a099b2bdd | ||
|
|
d340e007e3 | ||
|
|
de3ef53148 | ||
|
|
5a7ada1c0e | ||
|
|
0db636b375 | ||
|
|
49011c395a | ||
|
|
893b290a1e | ||
|
|
49769b7083 | ||
|
|
5fadaf8537 | ||
|
|
dcd4357e57 | ||
|
|
3a0911e742 | ||
|
|
8eb2a270f6 | ||
|
|
e7fd01f509 | ||
|
|
c9a96f5eec | ||
|
|
eeb0f3e501 | ||
|
|
842f9fe522 | ||
|
|
070d875ff8 | ||
|
|
51922ad4c6 | ||
|
|
b895c8ebe2 | ||
|
|
9ebd7cf7ee | ||
|
|
5dc6ec899a | ||
|
|
98f02da36c | ||
|
|
7eef050a64 | ||
|
|
b50a0a1a04 | ||
|
|
725bab5c93 | ||
|
|
1e3e6484e4 | ||
|
|
1dcfe38253 | ||
|
|
e91aeddd3b | ||
|
|
43d4a50bf7 | ||
|
|
cf9d4059b3 | ||
|
|
67a5a364f7 | ||
|
|
ff0ba00733 | ||
|
|
1e4004329c | ||
|
|
7cf4d8199c | ||
|
|
ebd22e27da | ||
|
|
7d8a7a894f | ||
|
|
729ca82445 | ||
|
|
6f77e0d30d | ||
|
|
216c3f5dae | ||
|
|
dc47c850ce | ||
|
|
b1476a744d | ||
|
|
58054f1c26 | ||
|
|
6d6e830cc9 | ||
|
|
10a635fc78 | ||
|
|
06b6ee4593 | ||
|
|
e804f8192e | ||
|
|
2009003dea | ||
|
|
2b2355e2c2 | ||
|
|
f05d1e702b | ||
|
|
aa33e79963 | ||
|
|
f0948c422f | ||
|
|
97b770cbf2 | ||
|
|
ed66109404 | ||
|
|
344aa7057d | ||
|
|
a213abe4da | ||
|
|
ef63210a8f | ||
|
|
d204737339 | ||
|
|
0b188136a2 | ||
|
|
743db2b747 | ||
|
|
1311c53c3e | ||
|
|
0645808ac4 | ||
|
|
8ddb110cbb | ||
|
|
b99c058cd7 | ||
|
|
aeab1de4a9 | ||
|
|
e7fa20e4d4 | ||
|
|
12ad5c598e | ||
|
|
101eb1f07c | ||
|
|
39b7b35c1b | ||
|
|
6f69344a16 | ||
|
|
63951d76ac | ||
|
|
c045ad1f53 | ||
|
|
8a1e00883c | ||
|
|
620a094ff0 | ||
|
|
7b7232d741 | ||
|
|
4c1af9245f | ||
|
|
d05a03dee7 | ||
|
|
bff225572e | ||
|
|
ac3f3133d9 | ||
|
|
bda487f26e | ||
|
|
4711652b4a | ||
|
|
3202bd4332 | ||
|
|
1d2253ff94 | ||
|
|
e7e30c8ac5 | ||
|
|
8da7185d17 | ||
|
|
7220852291 | ||
|
|
8026c41886 | ||
|
|
4943a9c7fd | ||
|
|
fda06e6c1a | ||
|
|
36b6bc17bd | ||
|
|
f06aed3ce0 | ||
|
|
2b8c594a50 | ||
|
|
a11569014d | ||
|
|
95524563bb | ||
|
|
abe41635fd | ||
|
|
9ea2e9652d | ||
|
|
3df9380c2d | ||
|
|
9fd58e6ba3 | ||
|
|
e5d2657bb9 | ||
|
|
f246a73b19 | ||
|
|
dd37fda07b | ||
|
|
7fdf164120 | ||
|
|
49f0b2d92d | ||
|
|
8587c80394 | ||
|
|
4bc35383ae | ||
|
|
604bcfb2e9 | ||
|
|
08c4b53cca | ||
|
|
7252655aba | ||
|
|
7b97481b55 | ||
|
|
138dcb6271 | ||
|
|
83d7aad0d1 | ||
|
|
a176b33241 | ||
|
|
56c110ffa2 | ||
|
|
505088e053 | ||
|
|
c0e275ac5c | ||
|
|
46f30d289b | ||
|
|
2abf671ea4 | ||
|
|
d981f05095 | ||
|
|
538b00bba5 | ||
|
|
0c6c0ea467 | ||
|
|
ee80c2c552 | ||
|
|
42e3b45ec6 | ||
|
|
4553ab97e0 | ||
|
|
e93c93e802 | ||
|
|
d347c30dff | ||
|
|
2b92417674 | ||
|
|
211c5d670b | ||
|
|
b2ade45d76 | ||
|
|
b706f140e7 | ||
|
|
aa5252d7e8 | ||
|
|
771c64acac | ||
|
|
8a0951c727 | ||
|
|
c647ca1a31 | ||
|
|
78b91c0d52 | ||
|
|
48ca1d938f | ||
|
|
74afc8b6ea | ||
|
|
cb337044ac | ||
|
|
f3190e50b6 | ||
|
|
855ab2c5e8 | ||
|
|
718b6f3063 | ||
|
|
9a33660f94 | ||
|
|
0abe283619 | ||
|
|
5c6bfc8b3e | ||
|
|
8b7b23379f | ||
|
|
f432c41843 | ||
|
|
451fde8a91 | ||
|
|
0abb7d3df9 | ||
|
|
524a56ea9a |
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -23,9 +23,13 @@ A clear and concise description of what you expected to happen.
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Logs**
|
||||
If applicable, attatch your logs from `Main Menu > About Cartridges > Troubleshooting > Debugging Information` to the issue.
|
||||
|
||||
**System (please complete the following information):**
|
||||
- OS: [e.g. Fedora Linux]
|
||||
- Installation method [e.g. Flatpak]
|
||||
- Cartridges version [e.g. 1.5.4]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
|
||||
@@ -2,20 +2,40 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: "Build for Windows"
|
||||
name: CI
|
||||
concurrency:
|
||||
group: release-${{ github.sha }}
|
||||
jobs:
|
||||
flatpak:
|
||||
name: Flatpak
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
||||
options: --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Flatpak Builder
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
||||
with:
|
||||
bundle: hu.kramo.Cartridges.Devel.flatpak
|
||||
manifest-path: flatpak/hu.kramo.Cartridges.Devel.json
|
||||
|
||||
windows:
|
||||
name: "Build"
|
||||
name: Windows
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: MSYS2
|
||||
|
||||
- name: Setup MSYS2
|
||||
uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
msystem: UCRT64
|
||||
update: true
|
||||
install: mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-python-gobject mingw-w64-ucrt-x86_64-python-yaml mingw-w64-ucrt-x86_64-python-requests mingw-w64-ucrt-x86_64-python-pillow mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-ca-certificates mingw-w64-ucrt-x86_64-meson git
|
||||
|
||||
- name: Compile
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
@@ -23,10 +43,18 @@ jobs:
|
||||
ninja -C _build install
|
||||
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
|
||||
find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete
|
||||
- name: "Inno Setup"
|
||||
run: iscc ".\.windows\Cartridges.iss"
|
||||
- name: "Upload Artifact"
|
||||
|
||||
- name: Test
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
set +e
|
||||
timeout 2 cartridges; [ "$?" -eq "124" ]
|
||||
|
||||
- name: Inno Setup
|
||||
run: iscc ".\_build\windows\Cartridges.iss"
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: "Installer"
|
||||
path: ".windows/Output/Cartridges Setup.exe"
|
||||
name: Windows Installer
|
||||
path: _build/windows/Output/Cartridges Setup.exe
|
||||
19
.github/workflows/flatpak-builder.yml
vendored
19
.github/workflows/flatpak-builder.yml
vendored
@@ -1,19 +0,0 @@
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: CI
|
||||
jobs:
|
||||
flatpak:
|
||||
name: "Flatpak"
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
||||
options: --privileged
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
with:
|
||||
bundle: hu.kramo.Cartridges.flatpak
|
||||
manifest-path: hu.kramo.Cartridges.json
|
||||
cache-key: flatpak-builder-${{ github.sha }}
|
||||
45
.github/workflows/publish-release.yml
vendored
Normal file
45
.github/workflows/publish-release.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
"*"
|
||||
name: Publish Release
|
||||
concurrency:
|
||||
group: release-${{ github.sha }}
|
||||
jobs:
|
||||
publish-release:
|
||||
name: Publish Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download workflow artifact
|
||||
uses: dawidd6/action-download-artifact@v2.27.0
|
||||
with:
|
||||
workflow: ci.yml
|
||||
commit: ${{ github.sha }}
|
||||
|
||||
- name: Get release notes
|
||||
shell: python
|
||||
run: |
|
||||
import re, textwrap
|
||||
open_file = open("./data/hu.kramo.Cartridges.metainfo.xml.in", "r", encoding="utf-8")
|
||||
string = open_file.read()
|
||||
open_file.close()
|
||||
string = re.findall("<release.*>\s*<description.*>\n([\s\S]*?)\s*</description>\s*<\/release>", string)[0]
|
||||
string = textwrap.dedent(string)
|
||||
open_file = open("release_notes", "w", encoding="utf-8")
|
||||
open_file.write(string)
|
||||
open_file.close()
|
||||
|
||||
- name: Get tag name
|
||||
id: get_tag_name
|
||||
run: echo tag_name=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Publish release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: Windows Installer/Cartridges Setup.exe
|
||||
fail_on_unmatched_files: true
|
||||
tag_name: ${{ steps.get_tag_name.outputs.tag_name }}
|
||||
body_path: release_notes
|
||||
32
.pylintrc
Normal file
32
.pylintrc
Normal file
@@ -0,0 +1,32 @@
|
||||
[MAIN]
|
||||
|
||||
ignore=importers
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
|
||||
disable=raw-checker-failed,
|
||||
bad-inline-option,
|
||||
locally-disabled,
|
||||
file-ignored,
|
||||
suppressed-message,
|
||||
useless-suppression,
|
||||
deprecated-pragma,
|
||||
use-symbolic-message-instead,
|
||||
too-few-public-methods,
|
||||
missing-function-docstring,
|
||||
missing-class-docstring,
|
||||
missing-module-docstring,
|
||||
relative-beyond-top-level,
|
||||
import-error,
|
||||
no-name-in-module
|
||||
|
||||
|
||||
[TYPECHECK]
|
||||
|
||||
ignored-classes=Child
|
||||
|
||||
|
||||
[VARIABLES]
|
||||
|
||||
additional-builtins=_
|
||||
@@ -23,7 +23,7 @@ The project can be translated on [Weblate](https://hosted.weblate.org/engage/car
|
||||
|
||||
## 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).
|
||||
2. From the MSYS2 shell, install the required dependencies listed [here](https://github.com/kra-mo/cartridges/blob/main/.github/workflows/ci.yml).
|
||||
3. Build it via Meson.
|
||||
|
||||
## Meson
|
||||
|
||||
26
README.md
26
README.md
@@ -10,16 +10,13 @@
|
||||
[![Flathub][flathub-image]][flathub-url]
|
||||
[![Build status][github-actions-image]][github-actions-url]
|
||||
[![Translation Status][weblate-image]][weblate-url]
|
||||
[![License][license-image]][license-url]
|
||||
[![Code style][code-style-image]][code-style-url]
|
||||
[![Discord][discord-image]][discord-url]
|
||||
|
||||
[circle-url]: https://circle.gnome.org
|
||||
[circle-image]: https://circle.gnome.org/assets/button/badge.svg
|
||||
[github-actions-url]: https://github.com/kra-mo/cartridges
|
||||
[github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/flatpak-builder.yml/badge.svg
|
||||
[license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE
|
||||
[license-image]: https://img.shields.io/github/license/kra-mo/cartridges
|
||||
[github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/ci.yml/badge.svg
|
||||
[code-style-url]: https://github.com/psf/black
|
||||
[code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat
|
||||
[weblate-url]: https://hosted.weblate.org/engage/cartridges/
|
||||
@@ -39,8 +36,14 @@ Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita
|
||||
## Features
|
||||
|
||||
- Manually adding and editing games
|
||||
- Importing games from Steam, Lutris, Heroic, Bottles and itch
|
||||
- Support for multiple Steam install locations
|
||||
- Importing games from various sources:
|
||||
- Steam
|
||||
- Lutris
|
||||
- Heroic
|
||||
- Bottles
|
||||
- itch
|
||||
- Legendary
|
||||
- Flatpak
|
||||
- Hiding games
|
||||
- Searching and sorting by title, date added and last played
|
||||
- Automatically downloading cover art from [SteamGridDB](https://www.steamgriddb.com/)
|
||||
@@ -53,15 +56,12 @@ For updates and questions, join our [Discord server][discord-url]!
|
||||
|
||||
## Linux
|
||||
|
||||
### Flathub (Recommended)
|
||||
### Flathub
|
||||
|
||||
The app is available on Flathub.
|
||||
|
||||
<a href=https://flathub.org/apps/hu.kramo.Cartridges><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
|
||||
|
||||
### From Releases
|
||||
|
||||
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
|
||||
2. Install the downloaded file via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
|
||||
|
||||
## Windows
|
||||
|
||||
### From Releases
|
||||
@@ -89,4 +89,4 @@ Thanks to [Weblate](https://weblate.org/) for hosting our translations!
|
||||
|
||||
The project follows the [GNOME Code of Conduct](https://wiki.gnome.org/Foundation/CodeOfConduct).
|
||||
|
||||
See [CODE_OF_CONDUCT.md](https://github.com/kra-mo/cartridges/blob/main/CODE_OF_CONDUCT.md).
|
||||
See [CODE_OF_CONDUCT.md](https://github.com/kra-mo/cartridges/blob/main/CODE_OF_CONDUCT.md).
|
||||
|
||||
@@ -29,6 +29,30 @@ Cartridges is a simple game launcher for all of your games. It has support for i
|
||||
<foaf:accountName>kra-mo</foaf:accountName>
|
||||
</foaf:OnlineAccount>
|
||||
</foaf:account>
|
||||
<foaf:account>
|
||||
<foaf:OnlineAccount>
|
||||
<foaf:accountServiceHomepage rdf:resource="https://gitlab.gnome.org"/>
|
||||
<foaf:accountName>kramo</foaf:accountName>
|
||||
</foaf:OnlineAccount>
|
||||
</foaf:account>
|
||||
</foaf:Person>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<foaf:Person>
|
||||
<foaf:name>Geoffrey Coulaud</foaf:name>
|
||||
<foaf:mbox rdf:resource="mailto:geoffrey.coulaud@gmail.com" />
|
||||
<foaf:account>
|
||||
<foaf:OnlineAccount>
|
||||
<foaf:accountServiceHomepage rdf:resource="https://github.com"/>
|
||||
<foaf:accountName>GeoffreyCoulaud</foaf:accountName>
|
||||
</foaf:OnlineAccount>
|
||||
</foaf:account>
|
||||
<foaf:account>
|
||||
<foaf:OnlineAccount>
|
||||
<foaf:accountServiceHomepage rdf:resource="https://gitlab.gnome.org"/>
|
||||
<foaf:accountName>GeoffreyCoulaud</foaf:accountName>
|
||||
</foaf:OnlineAccount>
|
||||
</foaf:account>
|
||||
</foaf:Person>
|
||||
</maintainer>
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/hu/kramo/Cartridges">
|
||||
<gresource prefix="@PREFIX@">
|
||||
<file preprocess="xml-stripblanks">gtk/window.ui</file>
|
||||
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
|
||||
<file preprocess="xml-stripblanks">gtk/game.ui</file>
|
||||
<file preprocess="xml-stripblanks">gtk/preferences.ui</file>
|
||||
<file preprocess="xml-stripblanks">gtk/details_window.ui</file>
|
||||
<file preprocess="xml-stripblanks">gtk/details-window.ui</file>
|
||||
<file alias="style.css">gtk/style.css</file>
|
||||
<file alias="style-dark.css">gtk/style-dark.css</file>
|
||||
<file>library_placeholder.svg</file>
|
||||
<file>library_placeholder_small.svg</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
@@ -129,17 +129,19 @@ template $DetailsWindow : Adw.Window {
|
||||
icon-name: "help-about-symbolic";
|
||||
tooltip-text: _("More Info");
|
||||
|
||||
popover: Popover {
|
||||
visible: bind-property exec_info_button.active bidirectional;
|
||||
popover: Popover exec_info_popover {
|
||||
|
||||
Label exec_info_label {
|
||||
use-markup: true;
|
||||
wrap: true;
|
||||
max-width-chars: 30;
|
||||
max-width-chars: 50;
|
||||
halign: center;
|
||||
valign: center;
|
||||
margin-top: 6;
|
||||
margin-bottom: 12;
|
||||
margin-bottom: 6;
|
||||
margin-start: 6;
|
||||
margin-end: 6;
|
||||
selectable: true;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -81,8 +81,8 @@ template $Game : Box {
|
||||
ellipsize: end;
|
||||
hexpand: true;
|
||||
halign: start;
|
||||
margin-top: 14;
|
||||
margin-bottom: 14;
|
||||
margin-top: 15;
|
||||
margin-bottom: 15;
|
||||
margin-start: 12;
|
||||
margin-end: 12;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,22 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ActionRow reset_action_row {
|
||||
title: "Reset App";
|
||||
subtitle: "Completely resets and quits Cartridges";
|
||||
visible: false;
|
||||
|
||||
Button reset_button {
|
||||
label: "Reset";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"destructive-action",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,10 +92,10 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
title: _("Steam");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow steam_action_row {
|
||||
title: _("Steam Install Location");
|
||||
Adw.ActionRow steam_data_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button steam_file_chooser_button {
|
||||
Button steam_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
@@ -90,17 +106,17 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
title: _("Lutris");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow lutris_action_row {
|
||||
title: _("Lutris Install Location");
|
||||
Adw.ActionRow lutris_data_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button lutris_file_chooser_button {
|
||||
Button lutris_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ActionRow lutris_cache_action_row {
|
||||
title: _("Lutris Cache Location");
|
||||
title: _("Cache Location");
|
||||
|
||||
Button lutris_cache_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
@@ -116,16 +132,25 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Import Flatpak Games");
|
||||
activatable-widget: lutris_import_flatpak_switch;
|
||||
|
||||
Switch lutris_import_flatpak_switch {
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ExpanderRow heroic_expander_row {
|
||||
title: _("Heroic");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow heroic_action_row {
|
||||
title: _("Heroic Install Location");
|
||||
Adw.ActionRow heroic_config_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button heroic_file_chooser_button {
|
||||
Button heroic_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
@@ -163,10 +188,10 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
title: _("Bottles");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow bottles_action_row {
|
||||
title: _("Bottles Install Location");
|
||||
Adw.ActionRow bottles_data_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button bottles_file_chooser_button {
|
||||
Button bottles_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
@@ -177,15 +202,52 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
title: _("itch");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow itch_action_row {
|
||||
title: _("itch Install Location");
|
||||
Adw.ActionRow itch_config_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button itch_file_chooser_button {
|
||||
Button itch_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ExpanderRow legendary_expander_row {
|
||||
title: _("Legendary");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow legendary_config_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button legendary_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ExpanderRow flatpak_expander_row {
|
||||
title: _("Flatpak");
|
||||
show-enable-switch: true;
|
||||
|
||||
Adw.ActionRow flatpak_data_action_row {
|
||||
title: _("Install Location");
|
||||
|
||||
Button flatpak_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ActionRow flatpak_import_launchers_row {
|
||||
title: _("Import Game Launchers");
|
||||
activatable-widget: flatpak_import_launchers_switch;
|
||||
|
||||
Switch flatpak_import_launchers_switch {
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
}
|
||||
|
||||
#details_view_play_button {
|
||||
color: @dark_5;
|
||||
background-color: @light_1;
|
||||
color: rgba(0, 0, 0, .8);
|
||||
background-color: white;
|
||||
}
|
||||
@@ -6,7 +6,6 @@
|
||||
}
|
||||
|
||||
#details_view_play_button {
|
||||
color: @light_1;
|
||||
background-color: @dark_5;
|
||||
opacity: 0.8;
|
||||
color: white;
|
||||
background-color: rgba(0, 0, 0, .8);
|
||||
}
|
||||
@@ -18,7 +18,6 @@ Adw.StatusPage hidden_notice_no_results {
|
||||
}
|
||||
|
||||
Adw.StatusPage notice_empty {
|
||||
icon-name: "hu.kramo.Cartridges-symbolic";
|
||||
title: _("No Games");
|
||||
description: _("Use the + button to add games.");
|
||||
vexpand: true;
|
||||
@@ -148,7 +147,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
|
||||
Box {
|
||||
orientation: horizontal;
|
||||
margin-top: 16;
|
||||
margin-top: 15;
|
||||
hexpand: true;
|
||||
halign: start;
|
||||
|
||||
@@ -286,10 +285,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
valign: start;
|
||||
column-spacing: 12;
|
||||
row-spacing: 12;
|
||||
margin-top: 16;
|
||||
margin-bottom: 16;
|
||||
margin-start: 16;
|
||||
margin-end: 16;
|
||||
margin-top: 15;
|
||||
margin-bottom: 15;
|
||||
margin-start: 15;
|
||||
margin-end: 15;
|
||||
selection-mode: none;
|
||||
}
|
||||
}
|
||||
@@ -352,10 +351,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
valign: start;
|
||||
column-spacing: 12;
|
||||
row-spacing: 12;
|
||||
margin-top: 16;
|
||||
margin-bottom: 16;
|
||||
margin-start: 16;
|
||||
margin-end: 16;
|
||||
margin-top: 15;
|
||||
margin-bottom: 15;
|
||||
margin-start: 15;
|
||||
margin-end: 15;
|
||||
selection-mode: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ Name=Cartridges
|
||||
GenericName=Game Launcher
|
||||
Comment=Launch all your games
|
||||
Exec=cartridges
|
||||
Icon=hu.kramo.Cartridges
|
||||
Icon=@APP_ID@
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GNOME;GTK;Game;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist gettext-domain="cartridges">
|
||||
<schema id="hu.kramo.Cartridges" path="/hu/kramo/Cartridges/">
|
||||
<key name="exit-after-launch" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<schema id="@APP_ID@" path="@PREFIX@/">
|
||||
<key name="exit-after-launch" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="cover-launches-game" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
@@ -14,7 +14,7 @@
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="steam-location" type="s">
|
||||
<default>"~/.steam/"</default>
|
||||
<default>"~/.steam/steam"</default>
|
||||
</key>
|
||||
<key name="lutris" type="b">
|
||||
<default>true</default>
|
||||
@@ -28,25 +28,28 @@
|
||||
<key name="lutris-import-steam" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="lutris-import-flatpak" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="heroic" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="heroic-location" type="s">
|
||||
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default>
|
||||
<default>"~/.config/heroic/"</default>
|
||||
</key>
|
||||
<key name="heroic-import-epic" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="heroic-import-gog" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="heroic-import-sideload" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="heroic-import-epic" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="heroic-import-gog" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="heroic-import-sideload" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="bottles" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="bottles-location" type="s">
|
||||
<key name="bottles-location" type="s">
|
||||
<default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default>
|
||||
</key>
|
||||
<key name="itch" type="b">
|
||||
@@ -55,6 +58,21 @@
|
||||
<key name="itch-location" type="s">
|
||||
<default>"~/.var/app/io.itch.itch/config/itch/"</default>
|
||||
</key>
|
||||
<key name="legendary" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="legendary-location" type="s">
|
||||
<default>"~/.config/legendary/"</default>
|
||||
</key>
|
||||
<key name="flatpak" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="flatpak-location" type="s">
|
||||
<default>"/var/lib/flatpak/"</default>
|
||||
</key>
|
||||
<key name="flatpak-import-launchers" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="sgdb-key" type="s">
|
||||
<default>""</default>
|
||||
</key>
|
||||
@@ -67,8 +85,8 @@
|
||||
<key name="sgdb-animated" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
</schema>
|
||||
<schema id="hu.kramo.Cartridges.State" path="/hu/kramo/Cartridges/State/">
|
||||
</schema>
|
||||
<schema id="@APP_ID@.State" path="@PREFIX@/State/">
|
||||
<key name="width" type="i">
|
||||
<default>1110</default>
|
||||
</key>
|
||||
@@ -80,13 +98,16 @@
|
||||
</key>
|
||||
<key name="sort-mode" type="s">
|
||||
<choices>
|
||||
<choice value="a-z"/>
|
||||
<choice value="z-a"/>
|
||||
<choice value="newest"/>
|
||||
<choice value="oldest"/>
|
||||
<choice value="last_played"/>
|
||||
<choice value="a-z" />
|
||||
<choice value="z-a" />
|
||||
<choice value="newest" />
|
||||
<choice value="oldest" />
|
||||
<choice value="last_played" />
|
||||
</choices>
|
||||
<default>"a-z"</default>
|
||||
</key>
|
||||
<key name="steam-limiter-tokens-history" type="s">
|
||||
<default>"[]"</default>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
</schemalist>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>hu.kramo.Cartridges.desktop</id>
|
||||
<id>@APP_ID@</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
||||
<name>Cartridges</name>
|
||||
@@ -15,7 +15,7 @@
|
||||
<url type="vcs-browser">https://github.com/kra-mo/cartridges</url>
|
||||
<url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url>
|
||||
<developer_name translatable="no">kramo</developer_name>
|
||||
<launchable type="desktop-id">hu.kramo.Cartridges.desktop</launchable>
|
||||
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
|
||||
<supports>
|
||||
<control>pointing</control>
|
||||
<control>keyboard</control>
|
||||
@@ -44,12 +44,25 @@
|
||||
</screenshots>
|
||||
<content_rating type="oars-1.1" />
|
||||
<releases>
|
||||
<release version="1.5.1" date="2023-05-26">
|
||||
<release version="2.0.2" date="2023-07-08">
|
||||
<description translatable="no">
|
||||
<ul>
|
||||
<li>Fixes an issue with search</li>
|
||||
<li>Fixes an issue with internal data storage</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="2.0" date="2023-07-05">
|
||||
<description translatable="no">
|
||||
<p>After months of work, Cartridges 2.0 is here:</p>
|
||||
<ul>
|
||||
<li>New import source: Legendary</li>
|
||||
<li>New import source: Flatpak</li>
|
||||
<li>Importing games should be much quicker</li>
|
||||
<li>Error handling has been improved</li>
|
||||
<li>Various UX improvements</li>
|
||||
<li>Translations since 1.5</li>
|
||||
</ul>
|
||||
<p>Thanks to the new import backend, adding new sources is much easier and a lot more are coming soon!</p>
|
||||
</description>
|
||||
</release>
|
||||
<release version="1.5" date="2023-05-23">
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<linearGradient id="a" gradientUnits="userSpaceOnUse" x1="9" x2="119" y1="115" y2="115">
|
||||
<stop offset="0" stop-color="#613583"/>
|
||||
<stop offset="0.05" stop-color="#9141ac"/>
|
||||
<stop offset="0.22" stop-color="#613583"/>
|
||||
<stop offset="0.78" stop-color="#613583"/>
|
||||
<stop offset="0.95" stop-color="#9141ac"/>
|
||||
<stop offset="1" stop-color="#613583"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="b" gradientUnits="userSpaceOnUse" x1="45" x2="45" y1="50" y2="82">
|
||||
<stop offset="0" stop-color="#bdd0d5"/>
|
||||
<stop offset="1" stop-color="#305749"/>
|
||||
</linearGradient>
|
||||
<clipPath id="c">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<clipPath id="d">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<filter id="e" height="100%" width="100%" x="0%" y="0%">
|
||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
</filter>
|
||||
<mask id="f">
|
||||
<g clip-path="url(#d)" filter="url(#e)">
|
||||
<g clip-path="url(#c)">
|
||||
<path d="m 111 29 h -94 c -4.417969 0 -8 3.582031 -8 8 v 70 c 0 4.417969 3.582031 8 8 8 h 94 c 4.417969 0 8 -3.582031 8 -8 v -70 c 0 -4.417969 -3.582031 -8 -8 -8 z m 0 0" fill="url(#a)"/>
|
||||
<path d="m 111 29 h -94 c -4.417969 0 -8 3.679688 -8 8.222656 v 57.554688 c 0 4.539062 3.582031 8.222656 8 8.222656 h 94 c 4.417969 0 8 -3.679688 8 -8.222656 v -57.554688 c 0 -4.539062 -3.582031 -8.222656 -8 -8.222656 z m 0 0" fill="#c061cb"/>
|
||||
<path d="m 84 42 h -40 c -2.210938 0 -4 1.789062 -4 4 v 40 c 0 2.210938 1.789062 4 4 4 h 40 c 2.210938 0 4 -1.789062 4 -4 v -40 c 0 -2.210938 -1.789062 -4 -4 -4 z m 0 0"/>
|
||||
<path d="m 81 50 h -34 c -1.105469 0 -2 0.894531 -2 2 v 28 c 0 1.105469 0.894531 2 2 2 h 34 c 1.105469 0 2 -0.894531 2 -2 v -28 c 0 -1.105469 -0.894531 -2 -2 -2 z m 0 0" fill="url(#b)"/>
|
||||
<path d="m 102 61 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 12 -6 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 0 0"/>
|
||||
<path d="m 97 64 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 12 -6 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 29 56.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0"/>
|
||||
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 v 2 c 0 1.65625 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 v -2 c 0 -1.65625 -1.34375 -3 -3 -3 z m 0 0"/>
|
||||
<path d="m 29 54.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 s 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 s -1.34375 -3 -3 -3 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 71 109 c 0 -1.105469 0.894531 -2 2 -2 s 2 0.894531 2 2 s -0.894531 2 -2 2 s -2 -0.894531 -2 -2 z m 0 0"/>
|
||||
<path d="m 71.0625 108.5 c 0.226562 0.882812 1.023438 1.503906 1.9375 1.503906 s 1.710938 -0.621094 1.9375 -1.503906 c 0.195312 0.757812 -0.066406 1.558594 -0.671875 2.050781 c -0.605469 0.492188 -1.445313 0.585938 -2.144531 0.242188 c -0.855469 -0.414063 -1.296875 -1.375 -1.058594 -2.292969 z m 0 0" fill="#9141ac"/>
|
||||
<path d="m 66 107 h -10 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 10 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0"/>
|
||||
<path d="m 54.0625 108.5 c -0.152344 0.597656 -0.023438 1.234375 0.355469 1.726562 c 0.378906 0.488282 0.964843 0.773438 1.582031 0.773438 h 10 c 0.617188 0 1.203125 -0.285156 1.582031 -0.773438 c 0.378907 -0.492187 0.511719 -1.128906 0.355469 -1.726562 c -0.226562 0.882812 -1.023438 1.5 -1.9375 1.5 h -10 c -0.914062 0 -1.710938 -0.617188 -1.9375 -1.5 z m 0 0" fill="#9141ac"/>
|
||||
<path d="m 110 74 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 0" fill="#613583"/>
|
||||
<path d="m 21.5 79 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 11 0 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 0 0"/>
|
||||
<path d="m 22 79 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 11 0 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0" fill="#3d3846"/>
|
||||
</g>
|
||||
</g>
|
||||
</mask>
|
||||
<mask id="g">
|
||||
<g filter="url(#e)">
|
||||
<rect fill-opacity="0.8" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<linearGradient id="h" gradientTransform="matrix(0 0.37 -0.98462 0 295.38501 -30.360001)" gradientUnits="userSpaceOnUse" x1="300" x2="428" y1="235" y2="235">
|
||||
<stop offset="0" stop-color="#f9f06b"/>
|
||||
<stop offset="1" stop-color="#f5c211"/>
|
||||
</linearGradient>
|
||||
<clipPath id="i">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<clipPath id="j">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<path d="m 111 29 h -94 c -4.417969 0 -8 3.582031 -8 8 v 70 c 0 4.417969 3.582031 8 8 8 h 94 c 4.417969 0 8 -3.582031 8 -8 v -70 c 0 -4.417969 -3.582031 -8 -8 -8 z m 0 0" fill="url(#a)"/>
|
||||
<path d="m 111 29 h -94 c -4.417969 0 -8 3.679688 -8 8.222656 v 57.554688 c 0 4.539062 3.582031 8.222656 8 8.222656 h 94 c 4.417969 0 8 -3.679688 8 -8.222656 v -57.554688 c 0 -4.539062 -3.582031 -8.222656 -8 -8.222656 z m 0 0" fill="#c061cb"/>
|
||||
<path d="m 84 42 h -40 c -2.210938 0 -4 1.789062 -4 4 v 40 c 0 2.210938 1.789062 4 4 4 h 40 c 2.210938 0 4 -1.789062 4 -4 v -40 c 0 -2.210938 -1.789062 -4 -4 -4 z m 0 0"/>
|
||||
<path d="m 81 50 h -34 c -1.105469 0 -2 0.894531 -2 2 v 28 c 0 1.105469 0.894531 2 2 2 h 34 c 1.105469 0 2 -0.894531 2 -2 v -28 c 0 -1.105469 -0.894531 -2 -2 -2 z m 0 0" fill="url(#b)"/>
|
||||
<path d="m 102 61 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 12 -6 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 0 0"/>
|
||||
<path d="m 97 64 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 12 -6 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 29 56.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0"/>
|
||||
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 v 2 c 0 1.65625 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 v -2 c 0 -1.65625 -1.34375 -3 -3 -3 z m 0 0"/>
|
||||
<path d="m 29 54.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 s 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 s -1.34375 -3 -3 -3 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 71 109 c 0 -1.105469 0.894531 -2 2 -2 s 2 0.894531 2 2 s -0.894531 2 -2 2 s -2 -0.894531 -2 -2 z m 0 0"/>
|
||||
<path d="m 71.0625 108.5 c 0.226562 0.882812 1.023438 1.503906 1.9375 1.503906 s 1.710938 -0.621094 1.9375 -1.503906 c 0.195312 0.757812 -0.066406 1.558594 -0.671875 2.050781 c -0.605469 0.492188 -1.445313 0.585938 -2.144531 0.242188 c -0.855469 -0.414063 -1.296875 -1.375 -1.058594 -2.292969 z m 0 0" fill="#9141ac"/>
|
||||
<path d="m 66 107 h -10 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 10 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0"/>
|
||||
<path d="m 54.0625 108.5 c -0.152344 0.597656 -0.023438 1.234375 0.355469 1.726562 c 0.378906 0.488282 0.964843 0.773438 1.582031 0.773438 h 10 c 0.617188 0 1.203125 -0.285156 1.582031 -0.773438 c 0.378907 -0.492187 0.511719 -1.128906 0.355469 -1.726562 c -0.226562 0.882812 -1.023438 1.5 -1.9375 1.5 h -10 c -0.914062 0 -1.710938 -0.617188 -1.9375 -1.5 z m 0 0" fill="#9141ac"/>
|
||||
<path d="m 110 74 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 0" fill="#613583"/>
|
||||
<path d="m 21.5 79 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 11 0 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 0 0"/>
|
||||
<path d="m 22 79 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 11 0 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0" fill="#3d3846"/>
|
||||
<g clip-path="url(#j)" mask="url(#f)">
|
||||
<g clip-path="url(#i)" mask="url(#g)">
|
||||
<path d="m 128 80.640625 v 47.359375 h -128 v -47.359375 z m 0 0" fill="url(#h)"/>
|
||||
<path d="m 13.308594 80.640625 l 47.355468 47.359375 h 21.214844 l -47.359375 -47.359375 z m 42.421875 0 l 47.363281 47.359375 h 21.214844 l -47.363282 -47.359375 z m 42.429687 0 l 29.839844 29.839844 v -21.210938 l -8.628906 -8.628906 z m -98.160156 7.90625 v 21.214844 l 18.238281 18.238281 h 21.214844 z m 0 0"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 3C1.89543 3 1 3.89543 1 5V11C1 12.1046 1.89543 13 3 13H13C14.1046 13 15 12.1046 15 11V5C15 3.89543 14.1046 3 13 3H3ZM6 5C5.44772 5 5 5.44772 5 6V10C5 10.5523 5.44772 11 6 11H10C10.5523 11 11 10.5523 11 10V6C11 5.44772 10.5523 5 10 5H6ZM12 8C12 7.44772 12.4477 7 13 7C13.5523 7 14 7.44772 14 8C14 8.55228 13.5523 9 13 9C12.4477 9 12 8.55228 12 8ZM3 7C2.44772 7 2 7.44772 2 8C2 8.55228 2.44772 9 3 9C3.55228 9 4 8.55228 4 8C4 7.44772 3.55228 7 3 7Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 618 B |
@@ -1,13 +1,11 @@
|
||||
application_id = 'hu.kramo.Cartridges'
|
||||
|
||||
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
|
||||
install_data(
|
||||
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
|
||||
join_paths(scalable_dir, ('@0@.svg').format(app_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
|
||||
)
|
||||
|
||||
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')
|
||||
install_data(
|
||||
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)),
|
||||
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(app_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
|
||||
)
|
||||
|
||||
1
data/library_placeholder_small.svg
Normal file
1
data/library_placeholder_small.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="2" height="2" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="url(#a)" d="M0 0h2v2H0z"/><defs><linearGradient id="a" x1="1" y1="0" x2="1" y2="2" gradientUnits="userSpaceOnUse"><stop stop-color="#9A9996"/><stop offset="1" stop-color="#5E5C64"/></linearGradient></defs></svg>
|
||||
|
After Width: | Height: | Size: 296 B |
@@ -4,14 +4,18 @@ blueprints = custom_target('blueprints',
|
||||
'gtk/window.blp',
|
||||
'gtk/game.blp',
|
||||
'gtk/preferences.blp',
|
||||
'gtk/details_window.blp'
|
||||
'gtk/details-window.blp'
|
||||
),
|
||||
output: '.',
|
||||
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
|
||||
)
|
||||
|
||||
gnome.compile_resources('cartridges',
|
||||
'cartridges.gresource.xml',
|
||||
configure_file(
|
||||
input: 'cartridges.gresource.xml.in',
|
||||
output: 'cartridges.gresource.xml',
|
||||
configuration: conf
|
||||
),
|
||||
gresource_bundle: true,
|
||||
install: true,
|
||||
install_dir: pkgdatadir,
|
||||
@@ -19,8 +23,12 @@ gnome.compile_resources('cartridges',
|
||||
)
|
||||
|
||||
desktop_file = i18n.merge_file(
|
||||
input: 'hu.kramo.Cartridges.desktop.in',
|
||||
output: 'hu.kramo.Cartridges.desktop',
|
||||
input: configure_file(
|
||||
input: 'hu.kramo.Cartridges.desktop.in',
|
||||
output: app_id + '.desktop.in',
|
||||
configuration: conf
|
||||
),
|
||||
output: app_id + '.desktop',
|
||||
type: 'desktop',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
@@ -33,8 +41,12 @@ if desktop_utils.found()
|
||||
endif
|
||||
|
||||
appstream_file = i18n.merge_file(
|
||||
input: 'hu.kramo.Cartridges.metainfo.xml.in',
|
||||
output: 'hu.kramo.Cartridges.metainfo.xml',
|
||||
input: configure_file(
|
||||
input: 'hu.kramo.Cartridges.metainfo.xml.in',
|
||||
output: app_id + '.metainfo.xml.in',
|
||||
configuration: conf
|
||||
),
|
||||
output: app_id + '.metainfo.xml',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('datadir'), 'metainfo')
|
||||
@@ -45,7 +57,12 @@ if appstream_util.found()
|
||||
test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
|
||||
endif
|
||||
|
||||
install_data('hu.kramo.Cartridges.gschema.xml',
|
||||
install_data(
|
||||
configure_file(
|
||||
input: 'hu.kramo.Cartridges.gschema.xml.in',
|
||||
output: app_id + '.gschema.xml',
|
||||
configuration: conf
|
||||
),
|
||||
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
|
||||
)
|
||||
|
||||
|
||||
116
docs/game_id.json.md
Normal file
116
docs/game_id.json.md
Normal file
@@ -0,0 +1,116 @@
|
||||
# [game_id].json specification
|
||||
#### Version 2.0
|
||||
|
||||
Games are saved to disk in the form of [game_id].json files. These files contain all information about a game excluding its cover, which is handled separately.
|
||||
|
||||
## Location
|
||||
|
||||
The standard location for these files is `/cartridges/games/` under the data directory of the user (`XDG_DATA_HOME` on Linux).
|
||||
|
||||
## Contents
|
||||
|
||||
The following attributes are saved:
|
||||
|
||||
- [added](#added)
|
||||
- [executable](#executable)
|
||||
- [game_id](#game_id)
|
||||
- [source](#source)
|
||||
- [hidden](#hidden)
|
||||
- [last_played](#last_played)
|
||||
- [name](#name)
|
||||
- [developer](#developer)
|
||||
- [removed](#removed)
|
||||
- [blacklisted](#blacklisted)
|
||||
- [version](#version)
|
||||
|
||||
### added
|
||||
|
||||
The date at which the game was added.
|
||||
|
||||
Cartridges will set the value for itself. Don't touch it.
|
||||
|
||||
Stored as a Unix time stamp.
|
||||
|
||||
### executable
|
||||
|
||||
The executable to run when launching a game.
|
||||
|
||||
If the source has a URL handler, using that is preferred. In that case, the value should be `"xdg-open url://example/url"` for Linux and `"start url://example/url"` for Windows.
|
||||
|
||||
Stored as either a string (preferred) or an argument vector to be passed to the shell through [subprocess.Popen](https://docs.python.org/3/library/subprocess.html#popen-constructor).
|
||||
|
||||
### game_id
|
||||
|
||||
The unique ID of the game, prefixed with [`[source]_`](#source) to avoid clashes.
|
||||
|
||||
If the game's source uses a consistent internal ID system, use the ID from there. If not, use a hash function that always returns the same hash for the same game, even if some of its attributes change inside of the source.
|
||||
|
||||
Stored as a string.
|
||||
|
||||
### source
|
||||
|
||||
A unique ID for the source of the game in lowercase, without spaces.
|
||||
|
||||
If a source provides multiple internal sources, these should be separately labeled, but share a common prefix. eg. `heoic_gog`, `heroic_epic`.
|
||||
|
||||
Stored as a string.
|
||||
|
||||
### hidden
|
||||
|
||||
Whether or not a game is hidden.
|
||||
|
||||
If the source provides a way of hiding games, take the value from there. Otherwise it should be set to false by default.
|
||||
|
||||
Stored as a boolean.
|
||||
|
||||
### last_played
|
||||
|
||||
The date at which the game was last launched from Cartridges.
|
||||
|
||||
Cartridges will set the value for itself. Don't touch it.
|
||||
|
||||
Stored as a Unix time stamp. 0 if the game hasn't been played yet.
|
||||
|
||||
### name
|
||||
|
||||
The title of the game.
|
||||
|
||||
Stored as a string.
|
||||
|
||||
### developer
|
||||
|
||||
The developer or publisher of the game.
|
||||
|
||||
If there are multiple developers or publishers, they should be joined with a comma and a space (`, `) into one string.
|
||||
|
||||
This is an optional attribute. If it can't be retrieved from the source, don't touch it.
|
||||
|
||||
Stored as a string.
|
||||
|
||||
### removed
|
||||
|
||||
Whether or not a game has been removed.
|
||||
|
||||
Cartridges will set the value for itself. Don't touch it.
|
||||
|
||||
Stored as a boolean.
|
||||
|
||||
### blacklisted
|
||||
|
||||
Whether or not a game is blacklisted. Blacklisting a game means it is going to still be imported, but not displayed to the user.
|
||||
|
||||
You should only blacklist a game based on information you pull from the web. This is to ensure that games which you would skip based on information online are still skipped even if the user loses their internet connection. If an entry is broken locally, just skip it.
|
||||
|
||||
The only reason to blacklist a game is if you find out that the locally cached entry is not actually a game (eg. Proton) or is otherwise invalid.
|
||||
|
||||
Unless the above criteria is met, don't touch the attribute.
|
||||
|
||||
Stored as a boolean.
|
||||
|
||||
### version
|
||||
|
||||
The version number of the [game_id].json specification.
|
||||
|
||||
Cartridges will set the value for itself. Don't touch it.
|
||||
|
||||
Stored as a number.
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id" : "hu.kramo.Cartridges",
|
||||
"id" : "hu.kramo.Cartridges.Devel",
|
||||
"runtime" : "org.gnome.Platform",
|
||||
"runtime-version" : "44",
|
||||
"sdk" : "org.gnome.Sdk",
|
||||
@@ -16,7 +16,8 @@
|
||||
"--filesystem=~/.var/app/net.lutris.Lutris/:ro",
|
||||
"--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/:ro",
|
||||
"--filesystem=~/.var/app/com.usebottles.bottles/data/bottles/:ro",
|
||||
"--filesystem=~/.var/app/io.itch.itch/config/itch/:ro"
|
||||
"--filesystem=~/.var/app/io.itch.itch/config/itch/:ro",
|
||||
"--filesystem=/var/lib/flatpak:ro"
|
||||
],
|
||||
"cleanup" : [
|
||||
"/include",
|
||||
@@ -117,10 +118,13 @@
|
||||
"name" : "cartridges",
|
||||
"builddir" : true,
|
||||
"buildsystem" : "meson",
|
||||
"config-opts": [
|
||||
"-Dprofile=development"
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "dir",
|
||||
"path" : "."
|
||||
"path" : ".."
|
||||
}
|
||||
]
|
||||
}
|
||||
26
meson.build
26
meson.build
@@ -1,18 +1,42 @@
|
||||
project('cartridges',
|
||||
version: '1.5.1',
|
||||
version: '2.0.2',
|
||||
meson_version: '>= 0.59.0',
|
||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||
)
|
||||
|
||||
i18n = import('i18n')
|
||||
gnome = import('gnome')
|
||||
python = import('python')
|
||||
|
||||
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
||||
|
||||
profile = get_option('profile')
|
||||
if profile == 'development'
|
||||
app_id = 'hu.kramo.Cartridges.Devel'
|
||||
prefix = '/hu/kramo/Cartridges/Devel'
|
||||
elif profile == 'release'
|
||||
app_id = 'hu.kramo.Cartridges'
|
||||
prefix = '/hu/kramo/Cartridges'
|
||||
endif
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('PYTHON', python.find_installation('python3').full_path())
|
||||
conf.set('PYTHON_VERSION', python.find_installation('python3').language_version())
|
||||
conf.set('APP_ID', app_id)
|
||||
conf.set('PREFIX', prefix)
|
||||
conf.set('VERSION', meson.project_version())
|
||||
conf.set('PROFILE', profile)
|
||||
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
|
||||
conf.set('pkgdatadir', pkgdatadir)
|
||||
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
subdir('po')
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
subdir('windows')
|
||||
endif
|
||||
|
||||
gnome.post_install(
|
||||
glib_compile_schemas: true,
|
||||
gtk_update_icon_cache: true,
|
||||
|
||||
9
meson_options.txt
Normal file
9
meson_options.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
option(
|
||||
'profile',
|
||||
type: 'combo',
|
||||
choices: [
|
||||
'release',
|
||||
'development',
|
||||
],
|
||||
value: 'release'
|
||||
)
|
||||
@@ -18,3 +18,4 @@ fa
|
||||
pl
|
||||
sv
|
||||
tr
|
||||
el
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
data/hu.kramo.Cartridges.desktop.in
|
||||
data/hu.kramo.Cartridges.gschema.xml
|
||||
data/hu.kramo.Cartridges.gschema.xml.in
|
||||
data/hu.kramo.Cartridges.metainfo.xml.in
|
||||
|
||||
data/gtk/details_window.blp
|
||||
data/gtk/details-window.blp
|
||||
data/gtk/game.blp
|
||||
data/gtk/help-overlay.blp
|
||||
data/gtk/preferences.blp
|
||||
@@ -15,5 +15,5 @@ src/game.py
|
||||
src/preferences.py
|
||||
|
||||
src/utils/create_dialog.py
|
||||
src/utils/importer.py
|
||||
src/utils/steamgriddb.py
|
||||
src/importer/sources/source.py
|
||||
src/store/managers/sgdb_manager.py
|
||||
351
po/ar.po
351
po/ar.po
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-04 17:29+0000\n"
|
||||
"Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n"
|
||||
"Language-Team: Arabic <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/ar/>\n"
|
||||
@@ -18,11 +18,11 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
|
||||
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "خراطيش"
|
||||
|
||||
@@ -54,75 +54,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "المكتبة"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "حرِّر تفاصيل اللعبة"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "تفاصيل اللعبة"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "التفضيلات"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "ألغِ"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr "غلاف جديد"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr "احذف الغلاف"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "العنوان"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "عنوان اللعبة"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "المطوِّر"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "المطوِّر أو الناشر (اختياري)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "ملفُّ التنفيذ"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "الملفُّ المفتوح أو الأمر المشغَّل عند بدء اللعبة"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr "معلومات أكثر"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "حرِّر"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "أخفِ"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "أزل"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "اكشف"
|
||||
|
||||
@@ -134,8 +133,8 @@ msgstr "عام"
|
||||
msgid "Quit"
|
||||
msgstr "أنهِ"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "ابحث"
|
||||
|
||||
@@ -147,7 +146,7 @@ msgstr "أظهر التفضيلات"
|
||||
msgid "Shortcuts"
|
||||
msgstr "الاختصارات"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "تراجع"
|
||||
|
||||
@@ -175,7 +174,7 @@ msgstr "أظهر الألعاب المخفية"
|
||||
msgid "Remove game"
|
||||
msgstr "أزل اللعبة"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "السلوك"
|
||||
|
||||
@@ -191,7 +190,7 @@ msgstr "تبدأ صورة الغلاف اللعبة"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "يبدِّل سلوك صورة الغلاف وزرِّ «العب»"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "الصور"
|
||||
|
||||
@@ -211,99 +210,102 @@ msgstr "منطقة خطر"
|
||||
msgid "Remove All Games"
|
||||
msgstr "أزل كلَّ الألعاب"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "استورد"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "المصادر"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "ستيم"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "موضع تثبيت ستيم"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "موضع التثبيت"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "لوترس"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "موضع تثبيت لوترس"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "موضع الذاكرة المؤقتة"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "موضع ذكرة لوترس المؤقَّتة"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "استورد ألعابًا من ستيم"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "استورد ألعاب فلاتباك"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "هِرُوِك"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "موضع تثبيت هِرُوِك"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "استورد ألعاب أَبِك"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "استورد ألعاب جيأوجي"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "استورد ألعابًا مثبَّتةً بغير متجر"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "قوارير"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "موضع تثبيت قوارير"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "إتش"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "موضع تثبيت إتش"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "لجندري"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "فلاتباك"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "استورد مشغِّلات ألعاب"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "الاستيثاق"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "مفتاح واجهة البرمجة"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "استخدم SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "فضِّلها على الصور الرسمية"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "فضِّل الصور المتحرِّكة"
|
||||
|
||||
@@ -315,142 +317,134 @@ msgstr "لم يُعثر على ألعاب"
|
||||
msgid "Try a different search."
|
||||
msgstr "جرِّب بحثًا آخر."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "لا توجد ألعاب"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "استخدم زرَّ + لتضيف ألعابًا."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "لا توجد ألعاب مخفية"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "هنا يظهر ما أخفيت من ألعاب."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "عد"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "عنوان اللعبة"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "العب"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "أضف لعبةً"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "القائمة الرئيسة"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "الألعاب المخفية"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "رتِّب"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "أ-ي"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "ي-أ"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "الأجدد"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "الأقدم"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "لُعبت آخر مرَّة"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "أظهر ما أخفي"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "اختصارات لوحة المفاتيح"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "عن «خراطيش»"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Ali Aljishi <ahj696@hotmail.com>"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "اليوم"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "أمس"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "أضيفت في: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "أبدًا"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "لُعبت آخر مرَّة في: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "طبِّق"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "أضف لعبةً جديدةً"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "أكِّد"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "ملف.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "البرنامج"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\المسار\\إلى\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/المسار/إلى/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -472,105 +466,145 @@ msgstr ""
|
||||
"\n"
|
||||
"ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "تعذَّرت إضافة اللعبة"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "لا يجوز كون عنوان اللعبة فارغًا."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "تعذَّر تطبيق التفضيلات"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "بُدئت {}"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "أٌخفيت {}"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "أٌظهرت {}"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "أزيلت {}"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "أُزيلت كلُّ الألعاب"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "لم يُعثر على الذاكرة المؤقَّتة"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "عيِّن الموضع"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"تحتاج مفتاح واجهة برمجة حال ما أردت استخدام SteamGridDB، {}هنا تولِّده{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "لم يُعثر على التثبيت"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "حدِّد مجلَّد ضبط {}."
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "حدِّد مجلَّدًا صالحًا."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "مجلَّد غير صالح"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "حدِّد مجلَّد ذاكرة {} المؤقتة."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "حدِّد مجلَّد تثبيت {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "حدِّد مجلَّد بيانات {}."
|
||||
msgstr "حدِّد مجلَّد ذاكرة {} المؤقتة."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "عيِّن الموضع"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "تجاهل"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "تُستورد الألعاب…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "تعذَّر استيثاق SteamGridDB"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "تُستورد الغُلُف…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "أكِّد مفتاح واجهة البرمجة في التفضيلات"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "لم يُعثر على ألعاب جديدة"
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "تعذَّر العثور على مجلَّد ستيم."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "اُستوردت لعبة واحدة"
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "أكِّد"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "اُستوردت {} لعبة"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "موضع تثبيت ستيم"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "تعذَّر الاتصال ب SteamGridDB"
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "موضع تثبيت لوترس"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "موضع تثبيت هِرُوِك"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "موضع تثبيت قوارير"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "اليوم"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "أمس"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "لم يُعثر على الذاكرة المؤقَّتة"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "تُستورد الألعاب…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "تُستورد الغُلُف…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "لم يُعثر على ألعاب جديدة"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "اُستوردت لعبة واحدة"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "اُستوردت {} لعبة"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "المجلَّد المستخدم عند استيراد الألعاب"
|
||||
@@ -677,9 +711,6 @@ msgstr "تعذَّر الاتصال ب SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "لم يُعثر على ألعاب جديدة في مكتبة ستيم."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "تعذَّر العثور على مجلَّد ستيم."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "يُتواصل مع ستيم"
|
||||
|
||||
|
||||
@@ -8,18 +8,18 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr ""
|
||||
|
||||
@@ -48,75 +48,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr ""
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr ""
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr ""
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr ""
|
||||
|
||||
@@ -128,8 +127,8 @@ msgstr ""
|
||||
msgid "Quit"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
@@ -141,7 +140,7 @@ msgstr ""
|
||||
msgid "Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr ""
|
||||
|
||||
@@ -169,7 +168,7 @@ msgstr ""
|
||||
msgid "Remove game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr ""
|
||||
|
||||
@@ -185,7 +184,7 @@ msgstr ""
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -205,99 +204,102 @@ msgstr ""
|
||||
msgid "Remove All Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -309,142 +311,134 @@ msgstr ""
|
||||
msgid "Try a different search."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr ""
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -457,101 +451,88 @@ msgid ""
|
||||
"If the path contains spaces, make sure to wrap it in double quotes!"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr ""
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
367
po/de.po
367
po/de.po
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-04-17 17:20+0000\n"
|
||||
"Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\n"
|
||||
"Language-Team: German <https://hosted.weblate.org/projects/cartridges/"
|
||||
@@ -21,8 +21,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -55,75 +55,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Bibliothek"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Spieldetails bearbeiten"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Spieldetails"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Der Titel des Spiels"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Entwickler"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Der Entwickler oder Verlag (optional)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Ausführbare Datei"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Datei zum Öffnen oder Befehl zum Starten des Spiels"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Bearbeiten"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Verstecken"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Entfernen"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Unverstecken"
|
||||
|
||||
@@ -135,8 +134,8 @@ msgstr "Allgemein"
|
||||
msgid "Quit"
|
||||
msgstr "Beenden"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Suchen"
|
||||
|
||||
@@ -148,7 +147,7 @@ msgstr "Einstellungen anzeigen"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Kürzel"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Rückgängig"
|
||||
|
||||
@@ -176,7 +175,7 @@ msgstr "Ausgeblendete Spiele anzeigen"
|
||||
msgid "Remove game"
|
||||
msgstr "Spiel entfernen"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Verhalten"
|
||||
|
||||
@@ -192,7 +191,7 @@ msgstr "Coverbild Startet Spiel"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Tauscht das Verhalten des Covers und des Spielen-Knopfes"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Bilder"
|
||||
|
||||
@@ -212,99 +211,110 @@ msgstr "Gefahrenzone"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Alle Spiele entfernen"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importieren"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Quellen"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Steam-Installationsort"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "itch-Installationsort"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Lutris-Installationsort"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Lutris-Cacheort"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Steam-Spiele importieren"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Steam-Spiele importieren"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Heroic-Installationsort"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Epic Games importieren"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "GOG-Spiele importieren"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Sideloaded-Spiele importieren"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Bottles-Installationsort"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "itch-Installationsort"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Spiele-Launcher"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Authentifizierung"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API-Schlüssel"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "SteamGridDB benutzen"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Lade Bilder herunter, wenn Spiele hinzugefügt oder importiert werden"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Über offizielien Images bevorzugen"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Animierte Bilder bevorzugen"
|
||||
|
||||
@@ -316,142 +326,134 @@ msgstr "Keine Spiele gefunden"
|
||||
msgid "Try a different search."
|
||||
msgstr "Versuche eine andere Suche."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Keine Spiele"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Benutze denn + Knopf um Spiele hinzuzufügen."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Keine versteckten Spiele"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Ausgeblendete Spiele, werden hier angezeigt."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Spieltitel"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Spielen"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Spiel hinzufügen"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Hauptmenü"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Ausgeblendete Spiele"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Sortierung"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Neuestes"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Älteste"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Zuletzt gespielt"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Ausgeblendete anzeigen"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Tastaturkürzel"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Über Cartridges"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Feliks Weber"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Heute"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Gestern"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Hinzugefügt: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Nie"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Zuletzt gespielt: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Anwenden"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Neues Spiel hinzufügen"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Bestätigen"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "datei.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "Programm"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\pfad\\zu\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/pfad/zu/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -474,113 +476,158 @@ msgstr ""
|
||||
"Falls der Pfad Leerzeichen enthält, stelle sicher ihn in doppelte "
|
||||
"Anführungszeichen zu setzen!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Konnte Spiel nicht hinzufügen"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Spieltitel kann nicht leer sein."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Ausführbare Datei darf nicht leer sein."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Einstellungen konnten nicht angewendet werden"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} gestartet"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} versteckt"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} unversteckt"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} entfernt"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Alle Spiele entfernt"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache nicht gefunden"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Wähle das Lutris-Cache-Verzeichnis aus."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Ort festlegen"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Für die Nutzung von SteamGridDB ist ein API-Schlüssel erforderlich. Sie "
|
||||
"können ihn {}hier{} generieren."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Installation nicht gefunden"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Wähle das Datenverzeichnis von {} aus."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Wähle das Datenverzeichnis von {} aus."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Wähle das Datenverzeichnis von {} aus."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Ort festlegen"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Verstanden"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Spiele werden importiert…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Spielecover werden importiert…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Keine Spiele gefunden"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Spiel Importiert"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Spiele importiert"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Cache Not Found"
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Cache nicht gefunden"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Bestätigen"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Steam-Installationsort"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Lutris-Installationsort"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Heroic-Installationsort"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Bottles-Installationsort"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Heute"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Gestern"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Wähle das Lutris-Cache-Verzeichnis aus."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Spiele werden importiert…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Spielecover werden importiert…"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No Games Found"
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Keine Spiele gefunden"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Game Imported"
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "Spiel Importiert"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Games Imported"
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "Spiele importiert"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird"
|
||||
|
||||
|
||||
625
po/el.po
Normal file
625
po/el.po
Normal file
@@ -0,0 +1,625 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR kramo
|
||||
# This file is distributed under the same license as the Cartridges package.
|
||||
# yiannis ioannides <sub@wai.ai>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-05-29 18:48+0000\n"
|
||||
"Last-Translator: yiannis ioannides <sub@wai.ai>\n"
|
||||
"Language-Team: Greek <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/el/>\n"
|
||||
"Language: el\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Κασέτες"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:4
|
||||
msgid "Game Launcher"
|
||||
msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:5
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
|
||||
msgid "Launch all your games"
|
||||
msgstr "Εκκινήστε όλα σας τα παιχνίδια"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:11
|
||||
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
msgstr "gaming;εκκινητής;steam;lutris;heroic;bottles;itch;"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
|
||||
msgid ""
|
||||
"Cartridges is a simple game launcher for all of your games. It has support "
|
||||
"for importing games from Steam, Lutris, Heroic and more with no login "
|
||||
"necessary. You can sort and hide games or download cover art from "
|
||||
"SteamGridDB."
|
||||
msgstr ""
|
||||
"Οι Κασέτες είναι ένας απλός εκκινητής παιχνιδιών για όλα σας τα παιχνίδια. "
|
||||
"Υποστηρίζει την εισαγωγή παιχνιδιών από το Steam, Heroic και άλλες "
|
||||
"πλατφόρμες χωρίς σύνδεση να είναι απαραίτητη. Μπορείτε να ταξινομήσετε και "
|
||||
"να κρύψετε τα παιχνίδια σας, καθώς και να κατεβάσετε τα εξώφυλλα τους από το "
|
||||
"SteamGridDB."
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
|
||||
msgid "Library"
|
||||
msgstr "Βιβλιοθήκη"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Επεξεργασία Λεπτομερειών Παιχνιδιού"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Λεπτομέρειες Παιχνιδιού"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Προτιμήσεις"
|
||||
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Ακύρωση"
|
||||
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr "Νέο Εξώφυλλο"
|
||||
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr "Διαγραφή Εξώφυλλου"
|
||||
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Τίτλος"
|
||||
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Τίτλος Παιχνιδιού"
|
||||
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Προγραμματιστής"
|
||||
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Προγραμματιστής ή Εκδότης (προαιρετικό)"
|
||||
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Πρόγραμμα"
|
||||
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
"Αρχείο προς άνοιγμα ή εντολή προς εκτέλεση κατά την εκκίνηση παιχνιδιού"
|
||||
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr "Περισσότερες Πληροφορίες"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Επεξεργασία"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Απόκρυψη"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Αφαίρεση"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Φανέρωση"
|
||||
|
||||
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
|
||||
msgid "General"
|
||||
msgstr "Γενικά"
|
||||
|
||||
#: data/gtk/help-overlay.blp:14
|
||||
msgid "Quit"
|
||||
msgstr "Κλείσιμο"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Εύρεση"
|
||||
|
||||
#: data/gtk/help-overlay.blp:24
|
||||
msgid "Show preferences"
|
||||
msgstr "Εμφάνιση προτιμήσεων"
|
||||
|
||||
#: data/gtk/help-overlay.blp:29
|
||||
msgid "Shortcuts"
|
||||
msgstr "Συντομεύσεις"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Αναίρεση"
|
||||
|
||||
#: data/gtk/help-overlay.blp:39
|
||||
msgid "Open menu"
|
||||
msgstr "Άνοιγμα μενού"
|
||||
|
||||
#: data/gtk/help-overlay.blp:45
|
||||
msgid "Games"
|
||||
msgstr "Παιχνίδια"
|
||||
|
||||
#: data/gtk/help-overlay.blp:48
|
||||
msgid "Add new game"
|
||||
msgstr "Πρόσθεση νέου παιχνιδιού"
|
||||
|
||||
#: data/gtk/help-overlay.blp:53
|
||||
msgid "Import games"
|
||||
msgstr "Εισαγωγή παιχνιδιών"
|
||||
|
||||
#: data/gtk/help-overlay.blp:58
|
||||
msgid "Show hidden games"
|
||||
msgstr "Εμφάνιση κρυμμένων παιχνιδιών"
|
||||
|
||||
#: data/gtk/help-overlay.blp:63
|
||||
msgid "Remove game"
|
||||
msgstr "Αφαίρεση παιχνιδιού"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Συμπεριφορά"
|
||||
|
||||
#: data/gtk/preferences.blp:16
|
||||
msgid "Exit After Launching Games"
|
||||
msgstr "Έξοδος μετά την εκκίνηση παιχνιδιών"
|
||||
|
||||
#: data/gtk/preferences.blp:25
|
||||
msgid "Cover Image Launches Game"
|
||||
msgstr "Εξώφυλλο εκκινεί το παιχνίδι"
|
||||
|
||||
#: data/gtk/preferences.blp:26
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Αντικατάσταση συμπεριφοράς εξωφύλλου και του κουμπιού αναπαραγωγής"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Εικόνες"
|
||||
|
||||
#: data/gtk/preferences.blp:39
|
||||
msgid "High Quality Images"
|
||||
msgstr "Εικόνες Υψηλής Ποιότητας"
|
||||
|
||||
#: data/gtk/preferences.blp:40
|
||||
msgid "Save game covers losslessly at the cost of storage"
|
||||
msgstr ""
|
||||
"Αποθήκευση εξωφύλλου παιχνιδιού σε υψηλή ευκρίνεια, με κόστος τη χωρητικότητα"
|
||||
|
||||
#: data/gtk/preferences.blp:50
|
||||
msgid "Danger Zone"
|
||||
msgstr "Επικίνδυνη Ζώνη"
|
||||
|
||||
#: data/gtk/preferences.blp:53
|
||||
msgid "Remove All Games"
|
||||
msgstr "Αφαίρεση Όλων Των Παιχνιδιών"
|
||||
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Εισαγωγή"
|
||||
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Πηγές"
|
||||
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "Τοποθεσία Εγκατάστασης itch"
|
||||
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Τοποθεσία cache του Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Εισαγωγή Παιχνιδιών Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Εισαγωγή Παιχνιδιών Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Εισαγωγή Παιχνιδιών Epic"
|
||||
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Εισαγωγή Παιχνιδιών GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Εισαγωγή Παιχνιδιών Μέσω Sideloading"
|
||||
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Επιβεβαίωση"
|
||||
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Κλειδί API"
|
||||
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Χρήση SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Λήψη εικόνων κατά τη διάρκεια πρόσθεσης ή εισαγωγής παιχνιδιών"
|
||||
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Προτίμηση Επίσημων Εικόνων"
|
||||
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Προτίμηση Κινούμενων Εικόνων"
|
||||
|
||||
#: data/gtk/window.blp:6 data/gtk/window.blp:14
|
||||
msgid "No Games Found"
|
||||
msgstr "Δεν Βρέθηκαν Παιχνίδια"
|
||||
|
||||
#: data/gtk/window.blp:7 data/gtk/window.blp:15
|
||||
msgid "Try a different search."
|
||||
msgstr "Δοκιμάστε μια διαφορετική αναζήτηση."
|
||||
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Δίχως Παιχνίδια"
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Χρησιμοποιήστε το κουμπί + για να προσθέσετε παιχνίδια."
|
||||
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Δεν υπάρχουν κρυφά παιχνίδια"
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Τα παιχνίδια που κρύβετε θα εμφανίζονται εδώ."
|
||||
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Πίσω"
|
||||
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Τίτλος παιχνιδιού"
|
||||
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Παίξτε"
|
||||
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Προσθήκη παιχνιδιού"
|
||||
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Κύριο μενού"
|
||||
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Κρυμμένα παιχνίδια"
|
||||
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Ταξινόμηση"
|
||||
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "Α-Ζ"
|
||||
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Ζ-Α"
|
||||
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Νεότερο"
|
||||
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Παλαιότερο"
|
||||
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Τελευταία αναπαραγωγή"
|
||||
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Εμφάνιση Κρυφών"
|
||||
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Συντομεύσεις Πληκτρολογίου"
|
||||
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Σχετικά με τις Κασέτες"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Yiannis Ioannides"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Προστέθηκε: {}"
|
||||
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Ποτέ"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Τελευταία αναπαραγωγή: {}"
|
||||
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Εφαρμογή"
|
||||
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Προσθήκη νέου παιχνιδιού"
|
||||
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Επιβεβαίωση"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "αρχειο.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "Πρόγραμμα"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\προς\\φάκελο\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/προς/φάκελο/{}"
|
||||
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
"<tt>\"{}\"</tt>\n"
|
||||
"\n"
|
||||
"To open the file \"{}\" with the default application, use:\n"
|
||||
"\n"
|
||||
"<tt>{} \"{}\"</tt>\n"
|
||||
"\n"
|
||||
"If the path contains spaces, make sure to wrap it in double quotes!"
|
||||
msgstr ""
|
||||
"Για να εκτελέσετε την εφαρμογή \"{}\", χρησιμοποιήστε την εντολή:\n"
|
||||
"\n"
|
||||
"<tt>\"{}\"</tt>\n"
|
||||
"\n"
|
||||
"Για να ανοίξετε το αρχείο \"{}\" με την προεπιλεγμένη εφαρμογή, "
|
||||
"χρησιμοποιήστε:\n"
|
||||
"\n"
|
||||
"<tt>{} \"{}\"</tt>\n"
|
||||
"\n"
|
||||
"Αν η διεύθυνση φακέλου περιέχει κενά, φροντίστε να την περικλείσετε σε διπλά "
|
||||
"εισαγωγικά!"
|
||||
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Αδυναμία προσθήκης παιχνιδιού"
|
||||
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Ο τίτλος παιχνιδιού δεν μπορεί να είναι κενός."
|
||||
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Η εφαρμογή δεν μπορεί να είναι κενή."
|
||||
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Αδυναμία Εφαρμογής Προτιμήσεων"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} εκκινήθη"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} αποκρύφθηκε"
|
||||
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} φανερώθηκε"
|
||||
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} αφαιρέθηκε"
|
||||
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Όλα τα παιχνίδια αφαιρέθηκαν"
|
||||
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Για τη χρήση του SteamGridDB απαιτείται ένα κλειδί API. Μπορείτε να "
|
||||
"δημιουργήσετε ένα {}εδώ{}."
|
||||
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Η εγκατάσταση δεν βρέθηκε"
|
||||
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Επιλέξτε τον κατάλογο διαμόρφωσης {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Ορίστε Τοποθεσία"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Απόρριψη"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Η σύνδεση στο SteamGridDB δεν μπόρεσε να πραγματοποιηθεί"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Cache Not Found"
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Τα cache δεν βρέθηκαν"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Επιβεβαίωση"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Τοποθεσία Εγκατάστασης Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Τοποθεσία Εγκατάστασης Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Τοποθεσία Εγκατάστασης Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Τοποθεσία Εγκατάστασης Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Σήμερα"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Χθες"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Επιλέξτε τη τοποθεσία cache του Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Εισαγωγή παιχνιδιών…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Εισαγωγή εξώφυλλων…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Δεν βρέθηκαν νέα παιχνίδια"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 παιχνίδι εισήχθη"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} παιχνίδια εισήχθησαν"
|
||||
361
po/es.po
361
po/es.po
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-04 17:29+0000\n"
|
||||
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
|
||||
"Language-Team: Spanish <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/es/>\n"
|
||||
@@ -18,11 +18,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartuchos"
|
||||
|
||||
@@ -37,7 +37,7 @@ msgstr "Lance todos sus juegos"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:11
|
||||
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
msgstr ""
|
||||
msgstr "gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
|
||||
msgid ""
|
||||
@@ -55,75 +55,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Biblioteca"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Editar detalles del juego"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Detalles del juego"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Preferencias"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nueva caratula"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Borrar la caratula"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "El título del juego"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Desarrollador"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "El desarrollador o editor (opcional)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Ejecutable"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Archivo a abrir o comando a ejecutar al iniciar el juego"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Más información"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Editar"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Ocultar"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Eliminar"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Mostrar"
|
||||
|
||||
@@ -135,8 +134,8 @@ msgstr "General"
|
||||
msgid "Quit"
|
||||
msgstr "Salir"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Buscar"
|
||||
|
||||
@@ -148,7 +147,7 @@ msgstr "Mostrar preferencias"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Atajos"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Deshacer"
|
||||
|
||||
@@ -176,7 +175,7 @@ msgstr "Mostrar juegos ocultos"
|
||||
msgid "Remove game"
|
||||
msgstr "Eliminar juego"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Conducta"
|
||||
|
||||
@@ -193,7 +192,7 @@ msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
"Cambia el comportamiento de la imagen de portada y del botón de reproducción"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Imágenes"
|
||||
|
||||
@@ -213,99 +212,102 @@ msgstr "Zona peligrosa"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Quitar todos los juegos"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importar"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Fuentes"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Ubicación de la instalación de Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Lugar de la instalación"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Ubicación de instalación de Lutris"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Localización de la caché"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Ubicación de la caché de Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importar juegos de Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importar los juegos Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Ubicación de la instalación de Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importar juegos de Epic"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importar juegos de GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importar juegos descargados"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Ubicación de instalación de Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Ubicación de la instalación de itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Legendario"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Importar lanzadores de juegos"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Autentificación"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Código API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Utiliza SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Descargar las imágenes al añadir o importar juegos"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Preferir las imágenes oficiales"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Prefiero las imágenes animadas"
|
||||
|
||||
@@ -317,142 +319,134 @@ msgstr "No se han encontrado juegos"
|
||||
msgid "Try a different search."
|
||||
msgstr "Pruebe con otra búsqueda."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "No hay juegos"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Use el botón + para añadir juegos."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "No hay juegos ocultos"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Los juegos que oculte aparecerán aquí."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Volver"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Título del juego"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Jugar"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Añadir juego"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Menú principal"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Juegos ocultos"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Ordenar"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Más recientes"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Más antiguos"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Último jugado"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Mostrar ocultos"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Atajos del teclado"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Acerca de Cartuchos"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Óscar Fernández Díaz <oscfdezdz@tuta.io>"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Hoy"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Ayer"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Añadido: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Nunca"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Último jugado: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Aplicar"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Añadir juego nuevo"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Confirmar"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "archivo.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "programa"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\ruta\\hasta\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/ruta/hasta/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -474,112 +468,146 @@ msgstr ""
|
||||
"\n"
|
||||
"Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "No se puede añadir el juego"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "El título del juego no puede estar vacío."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "El ejecutable no puede estar vacío."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "No se pudieron aplicar las preferencias"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} comenzó"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} oculto"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} visible"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} eliminado"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Todos los juegos eliminados"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Caché no encontrada"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Selecciona el directorio de la caché de Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Escoger la ubicación"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Se necesita una clave API para utilizar SteamGridDB. Puedes generar una {}"
|
||||
"aquí{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "No se encuentra la instalación"
|
||||
msgstr "Instalación no encontrada"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Selecciona un directorio válido."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Directorio incorrecto"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Seleccione el directorio de la caché {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selecciona el directorio de la configuración {}."
|
||||
msgstr "Selecciona el directorio de la instalación {}."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Selecciona el directorio de los datos {}."
|
||||
msgstr "Seleccione el directorio de la caché {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Escoger la ubicación"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Descartar"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importando juegos…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "No se ha podido autenticar SteamGridDB"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importando las portadas…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Verifica tu clave API en las preferencias"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "No se han encontrado juegos"
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "No se encuentra el directorio de Steam."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Juego importado"
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Confirmar"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Juegos importados"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Ubicación de la instalación de Steam"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "No se puede conectar a SteamGridDB"
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Ubicación de instalación de Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Ubicación de la instalación de Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Ubicación de instalación de Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Hoy"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Ayer"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Caché no encontrada"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Selecciona el directorio de la caché de Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importando juegos…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importando las portadas…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "No se encontraron juegos nuevos"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 juego importado"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "0 juegos importados"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Directorio a usar para importar juegos"
|
||||
@@ -691,8 +719,5 @@ msgstr "No se puede conectar a SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "No se han encontrado juegos nuevos en la biblioteca de Steam."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "No se encuentra el directorio de Steam."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Hablando con Steam"
|
||||
|
||||
290
po/fa.po
290
po/fa.po
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-04-22 10:48+0000\n"
|
||||
"Last-Translator: سید حسین موسوی فرد <shmf1385@protonmail.com>\n"
|
||||
"Language-Team: Persian <https://hosted.weblate.org/projects/cartridges/"
|
||||
@@ -19,8 +19,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "کارتریجها"
|
||||
|
||||
@@ -52,75 +52,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "کتابخانه"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "ویرایش جزییات بازی"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "جزییات بازی"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "ترجیحات"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "عنوان"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "ویرایش"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "پنهان کردن"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "حذف"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "پیدا کردن"
|
||||
|
||||
@@ -132,8 +131,8 @@ msgstr "عمومی"
|
||||
msgid "Quit"
|
||||
msgstr "خروج"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "جستوجو"
|
||||
|
||||
@@ -145,7 +144,7 @@ msgstr "نمایش ترجیحات"
|
||||
msgid "Shortcuts"
|
||||
msgstr "میانبرها"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "برگردان"
|
||||
|
||||
@@ -173,7 +172,7 @@ msgstr "نمایش بازیهای پنهان"
|
||||
msgid "Remove game"
|
||||
msgstr "حذف کردن بازی"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr ""
|
||||
|
||||
@@ -189,7 +188,7 @@ msgstr "عکس جلد بازی را باز میکند"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "عکسها"
|
||||
|
||||
@@ -209,99 +208,106 @@ msgstr "منطقهٔ خطر"
|
||||
msgid "Remove All Games"
|
||||
msgstr "حذف کردن همهٔ بازیها"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "درونریزی"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "منبعها"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "استیم"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "درونریزی بازی"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "اجراگر بازی"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -313,142 +319,134 @@ msgstr ""
|
||||
msgid "Try a different search."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr ""
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -461,103 +459,93 @@ msgid ""
|
||||
"If the path contains spaces, make sure to wrap it in double quotes!"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr ""
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#, fuzzy
|
||||
#| msgid "Add new game"
|
||||
msgid "No new games found"
|
||||
msgstr "افزدون بازی"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr ""
|
||||
#~| msgid "Add new game"
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "افزدون بازی"
|
||||
|
||||
362
po/fi.po
362
po/fi.po
@@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-05-07 15:38+0000\n"
|
||||
"Last-Translator: Jiri Grönroos <jiri.gronroos@iki.fi>\n"
|
||||
"Language-Team: Finnish <https://hosted.weblate.org/projects/cartridges/"
|
||||
@@ -23,8 +23,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -62,77 +62,76 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Kirjasto"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Muokkaa pelin tietoja"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Pelin tiedot"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Asetukset"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Peru"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Nimi"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Pelin nimi"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Kehittäjä"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Kehittäjä tai julkaisija (valinnainen)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Suoritettava"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
"Tiedosto, joka avataan tai komento, joka ajetaan pelin käynnistämisen "
|
||||
"yhteydessä"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Muokkaa"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Piilota"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Poista"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Näytä"
|
||||
|
||||
@@ -144,8 +143,8 @@ msgstr "Yleistä"
|
||||
msgid "Quit"
|
||||
msgstr "Lopeta"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Etsi"
|
||||
|
||||
@@ -157,7 +156,7 @@ msgstr "Näytä asetukset"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Pikanäppäimet"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Kumoa"
|
||||
|
||||
@@ -185,7 +184,7 @@ msgstr "Näytä piilotetut pelit"
|
||||
msgid "Remove game"
|
||||
msgstr "Poista peli"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Toiminta"
|
||||
|
||||
@@ -201,7 +200,7 @@ msgstr "Kansikuva käynnistää pelin"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Kuvat"
|
||||
|
||||
@@ -221,99 +220,110 @@ msgstr "Vaaravyöhyke"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Poista kaikki pelit"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Tuo"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Lähteet"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Steam-asennuksen sijainti"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "itch-asennuksen sijainti"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Lutris-asennuksen sijainti"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Lutris-välimuistin sijainti"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Tuo Steam-pelejä"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Tuo Steam-pelejä"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Heroic-asennuksen sijainti"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Tuo Epic-pelejä"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Tuo GOG-pelejä"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Tuo Sideload-pelejä"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Pullot"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Bottles-asennuksen sijainti"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "itch-asennuksen sijainti"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Pelin käynnistin"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Tunnistautuminen"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API-avain"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Käytä SteamGridDB:tä"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Lataa kuvat pelejä lisätessä tai tuotaessa"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Suosi virallisten kuvien sijaan"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Suosi animoituja kuvia"
|
||||
|
||||
@@ -325,142 +335,134 @@ msgstr "Pelejä ei löydetty"
|
||||
msgid "Try a different search."
|
||||
msgstr "Kokeile eri hakua."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Ei pelejä"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Käytä + lisätäksesi pelejä."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Ei piilotettuja pelejä"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Piilotetut pelit näkyvät täällä."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Takaisin"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Pelin nimi"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Pelaa"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Lisää peli"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Päävalikko"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Piilotetut pelit"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Lajittele"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Uusin"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Vanhin"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Viimeksi pelattu"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Näytä piilotetut"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Pikanäppäimet"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Tietoja - Cartridges"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Linux Sauna"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Tänään"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Eilen"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Lisätty: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Ei koskaan"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Viimeksi pelattu: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Käytä"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Lisää uusi peli"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Vahvista"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "file.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "ohjelma"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\polku\\kansioon\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/polku/kansioon/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -483,113 +485,150 @@ msgstr ""
|
||||
"Jos polku sisältää välilyöntejä, varmista, että se on suljettu "
|
||||
"kaksinkertaisiin lainausmerkkeihin!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Peliä ei voitu lisätä"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Pelin nimi ei voi olla tyhjä."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Suoritettava ei voi olla tyhjä."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Asetuksia ei voitu ottaa käyttöön"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} käynnistetty"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} piilotettu"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} palautettu näkyviin"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} poistettu"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Kaikki pelit poistettu"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Välimuistia ei löydy"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Aseta sijainti"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"API-avain on pakollinen, jos haluat käyttää SteamGridDB:tä. Voit luoda "
|
||||
"avaimen {}täällä{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Asennusta ei löydy"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Aseta sijainti"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Hylkää"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Tuodaan pelejä…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Tuodaan kansikuvia…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Pelejä ei löydetty"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Peli tuotu"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Pelit tuotu"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Ei voitu yhdistää SteamGridDB:hen"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Steam-hakemistoa ei löydy."
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Vahvista"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Steam-asennuksen sijainti"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Lutris-asennuksen sijainti"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Heroic-asennuksen sijainti"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Bottles-asennuksen sijainti"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Tänään"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Eilen"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Välimuistia ei löydy"
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Tuodaan pelejä…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Tuodaan kansikuvia…"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No Games Found"
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Pelejä ei löydetty"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Game Imported"
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "Peli tuotu"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Games Imported"
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "Pelit tuotu"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
|
||||
|
||||
@@ -702,8 +741,5 @@ msgstr "Ei voitu yhdistää SteamGridDB:hen"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Steam-kirjastosta ei löytynyt uusia pelejä."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Steam-hakemistoa ei löydy."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Yhdistetään Steam-kirjastoon"
|
||||
|
||||
358
po/fr.po
358
po/fr.po
@@ -6,13 +6,14 @@
|
||||
# rene-coty <irenee.thirion@e.email>, 2023.
|
||||
# John Donne <akheron@zaclys.net>, 2023.
|
||||
# "Yannick A." <pify@live.fr>, 2023.
|
||||
# Geoffrey Coulaud <geoffrey.coulaud+github@gmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-24 20:27+0000\n"
|
||||
"Last-Translator: rene-coty <irenee.thirion@e.email>\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-05 13:13+0000\n"
|
||||
"Last-Translator: Geoffrey Coulaud <geoffrey.coulaud+github@gmail.com>\n"
|
||||
"Language-Team: French <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/fr/>\n"
|
||||
"Language: fr\n"
|
||||
@@ -20,11 +21,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -57,75 +58,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Bibliothèque"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Modifier les détails du jeu"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Détails du jeu"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Préférences"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nouvelle couverture"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Supprimer la couverture"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Titre"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Le titre du jeu"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Développeur"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Le développeur ou l’éditeur (facultatif)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Exécutable"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Fichier à ouvrir ou commande à exécuter au lancement du jeu"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Plus d’informations"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Modifier"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Masquer"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Supprimer"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Ne plus masquer"
|
||||
|
||||
@@ -137,8 +137,8 @@ msgstr "Général"
|
||||
msgid "Quit"
|
||||
msgstr "Quitter"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Rechercher"
|
||||
|
||||
@@ -150,7 +150,7 @@ msgstr "Afficher les préférences"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Raccourcis"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Annuler"
|
||||
|
||||
@@ -178,7 +178,7 @@ msgstr "Afficher les jeux masqués"
|
||||
msgid "Remove game"
|
||||
msgstr "Supprimer le jeu"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Comportement"
|
||||
|
||||
@@ -195,7 +195,7 @@ msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
"Intervertit le comportement de l’image de la pochette et du bouton de lecture"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Images"
|
||||
|
||||
@@ -217,99 +217,102 @@ msgstr "Zone de danger"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Supprimer tous les jeux"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importer"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Sources"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Emplacement de l’installation de Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Emplacement d'installation"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Emplacement de l’installation de Lutris"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Emplacement du cache"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Emplacement du cache de Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importer les jeux de Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importer des jeux Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Emplacement de l’installation d'Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importer les jeux d'Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importer les jeux de GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importer des jeux Sideloaded"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Emplacement de l’installation de Bouteilles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Emplacement d’installation de Itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Légendaire"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Importer des lanceurs de jeux"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Authentification"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Clé API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Utiliser SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Télécharger les images lors de l’ajout ou de l’importation de jeux"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Préférer à la place des images officielles"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Préférer les images animées"
|
||||
|
||||
@@ -321,142 +324,134 @@ msgstr "Aucun jeu trouvé"
|
||||
msgid "Try a different search."
|
||||
msgstr "Essayez une autre recherche."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Aucun jeu"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Utilisez le bouton + pour ajouter des jeux."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Pas de jeux masqués"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Les jeux que vous masquez apparaîtront ici."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Retour"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Titre du jeu"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Jouer"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Ajouter un jeu"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu principal"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Jeux masqués"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Trier"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Le plus récent"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Le plus ancien"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Dernière session"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Afficher les masqués"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Raccourcis clavier"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "À propos de Cartridges"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Irénée Thirion"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Aujourd’hui"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Hier"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Ajouté : {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Jamais"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Dernière session : {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Appliquer"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Ajouter un nouveau jeu"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Confirmer"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "fichier.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "programme"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\chemin\\vers\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/chemin/vers/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -480,107 +475,143 @@ msgstr ""
|
||||
"Si le chemin d'accès contient des espaces, veillez à le mettre entre "
|
||||
"guillemets !"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Impossible d’ajouter le jeu"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Le titre du jeu ne peut pas être vide."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "L’exécutable ne peut pas être vide."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Impossible d’appliquer les préférences"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} lancé"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} masqué"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} affiché"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} retiré"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Tous les jeux ont été supprimés"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache non trouvé"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Sélectionnez le répertoire du cache de Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Définir l’emplacement"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Une clé API est requise pour utiliser SteamGridDB. Vous pouvez en générer "
|
||||
"une {}ici{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Installation introuvable"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Sélectionnez un répertoire valide."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Répertoire invalide"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Sélectionnez le répertoire de cache de {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Sélectionnez le répertoire de configuration de {}."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Sélectionnez le répertoire de données de {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Définir l’emplacement"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Fermer"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importation des jeux…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importation des pochettes des jeux…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Aucun nouveau jeu trouvé"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 jeu importé"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} jeux importés"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Impossible de se connecter à SteamGridDB"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Vérifiez votre clé API dans les préférences"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Le répertoire Steam est introuvable."
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Confirmer"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Emplacement de l’installation de Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Emplacement de l’installation de Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Emplacement de l’installation d'Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Emplacement de l’installation de Bouteilles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Aujourd’hui"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Hier"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Cache non trouvé"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Sélectionnez le répertoire du cache de Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importation des jeux…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importation des pochettes des jeux…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Aucun nouveau jeu trouvé"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 jeu importé"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} jeux importés"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Répertoire à utiliser lors de l’importation de jeux"
|
||||
|
||||
@@ -692,9 +723,6 @@ msgstr "Impossible de se connecter à SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Le répertoire Steam est introuvable."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Parler à Steam"
|
||||
|
||||
|
||||
355
po/hu.po
355
po/hu.po
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-05 13:13+0000\n"
|
||||
"Last-Translator: kramo <contact@kramo.hu>\n"
|
||||
"Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/hu/>\n"
|
||||
@@ -18,11 +18,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Kazetták"
|
||||
|
||||
@@ -54,75 +54,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Könyvtár"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Játék Szerkesztése"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Játék Tulajdonságai"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Beállítások"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Mégse"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr "Új borító"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr "Borító törlése"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Cím"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "A játék címe"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Fejlesztő"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "A fejlesztő vagy kiadó (nem kötelező)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Program"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Fájl megnyitása vagy parancs futtatása a játék indításakor"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr "Több infó"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Szerkesztés"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Elrejtés"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Eltávolítás"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Elrejtés visszavonása"
|
||||
|
||||
@@ -134,8 +133,8 @@ msgstr "Általános"
|
||||
msgid "Quit"
|
||||
msgstr "Kilépés"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Keresés"
|
||||
|
||||
@@ -147,7 +146,7 @@ msgstr "Beállítások megjelenítése"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Gyorsbillentyűk"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Visszavonás"
|
||||
|
||||
@@ -175,7 +174,7 @@ msgstr "Rejtett játékok megjelenítése"
|
||||
msgid "Remove game"
|
||||
msgstr "Játék eltávolítása"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Működés"
|
||||
|
||||
@@ -191,7 +190,7 @@ msgstr "A borítókép indítja el a játékot"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Felcseréli a \"Játék\" gomb és a borítókép funkcióját"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Képek"
|
||||
|
||||
@@ -211,99 +210,102 @@ msgstr "Veszélyzóna"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Az összes játék eltávolítása"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importálás"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Források"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Steam telepítés helye"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Telepítés helye"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Lutris telepítés helye"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Gyorsítótár helye"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Lutris gyorsítótár helye"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Steam játékok importálása"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Flatpak játékok importálása"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Heroic telepítés helye"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Epic Games játékok importálása"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "GOG játékok importálása"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Manuálisan hozzáadott játékok importálása"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Palackok"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Palackok telepítés helye"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "itch telepítés helye"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Legendary"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Játékindítók importálása"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Hitelesítés"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API kulcs"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "SteamGridDB használata"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Képek letöltése játékok hozzáadásakor és importálásakor"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "SteamGridDB képek előnyben részesítése"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Animált képek előnyben részesítése"
|
||||
|
||||
@@ -315,142 +317,134 @@ msgstr "Nem találhatóak játékok"
|
||||
msgid "Try a different search."
|
||||
msgstr "Próbálkozz más kereséssel."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Nincsenek játékok"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Használja a + gombot a játékok hozzáadásához."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Nincsenek rejtett játékok"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "A rejtett játékaid itt lesznek megtalálhatóak."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Vissza"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Cím"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Játék"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Játék hozzáadása"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Főmenü"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Rejtett játékok"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Rendezés"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Legújabb"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Legrégebbi"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Legutóbb játszott"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Rejtett játékok"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Gyorsbillentyűk"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "A Kazetták névjegye"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "kramo https://kramo.hu"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Ma"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Tegnap"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Hozzáadva: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Soha"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Legutóbbi játékmenet: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Alkalmazás"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Új játék hozzáadása"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Megerősítés"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "fájl.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "program"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\útvonal\\ide\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/útvonal/ide/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -473,106 +467,152 @@ msgstr ""
|
||||
"\n"
|
||||
"Ha az elérési útvonalban szóközök vannak, rakja az útvonalat idézőjelek közé!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Nem lehet hozzáadni a játékot"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "A cím nem lehet üres."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "A program nem lehet üres."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Nem lehet menteni a beállításokat"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} elindítva"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} elrejtve"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} elrejtése visszavonva"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} eltávolítva"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Az összes játék eltávolítva"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Gyorsítótár nem található"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Válassza ki Lutris gyorsítótár mappáját."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Mappa kiválasztása"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Egy API kulcs szükséges a SteamGridDB használatához. {}Itt{} generálhat "
|
||||
"egyet."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Telepítés nem található"
|
||||
msgstr "A telepítés nem található"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Válasszon ki egy érvényes mappát."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Érvénytelen mappa"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Válassza ki {} gyorsítótár mappáját."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Válassza ki {} konfigurációs mappáját."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Válassza ki {} adatainak mappáját."
|
||||
msgstr "Válassza ki {} adatok mappáját."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Mappa kiválasztása"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Rendben"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Játékok importálása folyamatban…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Nem lehet hitelesíteni SteamGridDB-t"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Borítóképek importálása folyamatban…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Ellenőrizze az API kulcsát a beállításokban"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Nem találhatóak új játékok"
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "A Steam mappa nem található."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 játék importálva"
|
||||
#~ msgid "Data"
|
||||
#~ msgstr "Adatok"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} játék importálva"
|
||||
#~ msgid "Cache"
|
||||
#~ msgstr "Gyorsítótár"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Nem lehet csatlakozni a SteamGridDB-hez"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Konfigurációk"
|
||||
|
||||
#~ msgid "Invalid {} Location for {{}}"
|
||||
#~ msgstr "Érvénytelen {} mappa ennek a forrásnak: {{}}"
|
||||
|
||||
#~ msgid "Pick a new one or disable the source in preferences"
|
||||
#~ msgstr "Válasszon egy újat, vagy kapcsolja ki a forrást a beállításokban"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Steam telepítés helye"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Lutris telepítés helye"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Heroic telepítés helye"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Palackok telepítés helye"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Ma"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Tegnap"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Gyorsítótár nem található"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Válassza ki Lutris gyorsítótár mappáját."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Játékok importálása folyamatban…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Borítóképek importálása folyamatban…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Nem találhatóak új játékok"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 játék importálva"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} játék importálva"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Az importáláshoz használt mappa"
|
||||
@@ -678,9 +718,6 @@ msgstr "Nem lehet csatlakozni a SteamGridDB-hez"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Nem találhatóak új játékok a Steam könyvtárban."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "A Steam mappa nem található."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Adatok lekérése a Steam-ből"
|
||||
|
||||
|
||||
351
po/it.po
351
po/it.po
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-01 15:10+0000\n"
|
||||
"Last-Translator: albanobattistella <albano_battistella@hotmail.com>\n"
|
||||
"Language-Team: Italian <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/it/>\n"
|
||||
@@ -18,11 +18,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartucce"
|
||||
|
||||
@@ -55,75 +55,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Libreria"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Modifica dettagli del gioco"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Dettagli del gioco"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Preferenze"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr "Nuova copertina"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr "Elimina copertina"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Titolo"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Titolo del gioco"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Sviluppatore"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Lo sviluppatore o l'editore (opzionale)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Eseguibile"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "File da aprire o comando da lanciare per avviare il gioco"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr "Altre informazioni"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Modifica"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Nascondi"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Rimuovi"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Mostra"
|
||||
|
||||
@@ -135,8 +134,8 @@ msgstr "Generale"
|
||||
msgid "Quit"
|
||||
msgstr "Chiudi"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Cerca"
|
||||
|
||||
@@ -148,7 +147,7 @@ msgstr "Mostra preferenze"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Scorciatoie da tastiera"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Annulla"
|
||||
|
||||
@@ -176,7 +175,7 @@ msgstr "Mostra giochi nascosti"
|
||||
msgid "Remove game"
|
||||
msgstr "Rimuovi gioco"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Comportamento"
|
||||
|
||||
@@ -192,7 +191,7 @@ msgstr "La copertina avvia il gioco"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Inverti il comportamento della copertina con il pulsante di avvio"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Immagini"
|
||||
|
||||
@@ -213,99 +212,102 @@ msgstr "Zona di pericolo"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Rimuovi tutti i giochi"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importa"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Fonti"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Percorso Installazione Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Posizione di installazione"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Posizione di installazione di Lutris"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Posizione della cache"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Posizione della cache di Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importa giochi da Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importa giochi da Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Percorso Installazione Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importa giochi da Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importa giochi da GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importa giochi da aggiunti manualmente"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Percorso Installazione Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "itch Posizione di installazione"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Leggendari"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Importa lanciatori di giochi"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Autenticazione"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Chiave API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Usa SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Scarica immagini durante l'aggiunta o l'import di giochi"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Preferisci alle immagini ufficiali"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Preferisci immagini animate"
|
||||
|
||||
@@ -317,142 +319,134 @@ msgstr "Nessun Gioco Trovato"
|
||||
msgid "Try a different search."
|
||||
msgstr "Prova una ricerca diversa."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Nessun Gioco"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Usa il pulsante + per aggiungere giochi."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Nessun Gioco Nascosto"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "I giochi nascosti appariranno qui."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Indietro"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Titolo del gioco"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Gioca"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Aggiungi Gioco"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Menù Principale"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Giochi Nascosti"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Ordina per"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Più recente"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Più vecchio"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Ultimo Avvio"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Mostra Nascosti"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Scorciatoie da Tastiera"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Informazioni su Cartucce"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Alessandro Iepure https://ale.iepure.me"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Oggi"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Ieri"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Aggiunto il: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Mai"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Ultima riproduzione: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Applica"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Aggiungi un Nuovo Gioco"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Conferma"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "file.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "programma"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\path\\to{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/percorso/to/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -474,106 +468,146 @@ msgstr ""
|
||||
"\n"
|
||||
"Se il percorso contiene spazi, assicurarsi di avvolgerlo in doppi apici!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Impossibile aggiungere il gioco"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Il titolo del gioco non può essere vuoto."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "L'eseguibile non può essere vuoto."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Impossibile applicare le preferenze"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} avviato"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} nascosto"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} visibile"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} rimosso"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Tutti i giochi sono stati rimossi"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache non trovata"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Selezionare la directory della cache di Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Imposta percorso"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Per utilizzare SteamGridDB è necessaria una chiave API. Puoi generarne una {}"
|
||||
"qui{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Installazione non trovata"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selezionare la directory di configurazione {}."
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Seleziona una directory valida."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Directory non valida"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Seleziona la directory della cache {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selezionare la directory di installazione {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Selezionare la directory dei dati {}."
|
||||
msgstr "Seleziona la directory della cache {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Imposta percorso"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Chiudi"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Import dei giochi in corso…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Impossibile eseguire l'autenticazione su SteamGridDB"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Import delle copertine…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Verifica la tua chiave API nelle preferenze"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Nessun nuovo gioco trovato"
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Non è possibile trovare il percorso per Steam."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 gioco importato"
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Conferma"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} giochi importati"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Percorso Installazione Steam"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Impossibile connettersi a SteamGridDB"
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Posizione di installazione di Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Percorso Installazione Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Percorso Installazione Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Oggi"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Ieri"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Cache non trovata"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Selezionare la directory della cache di Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Import dei giochi in corso…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Import delle copertine…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Nessun nuovo gioco trovato"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 gioco importato"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} giochi importati"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Cartella da usare per importare i giochi"
|
||||
@@ -684,9 +718,6 @@ msgstr "Impossibile connettersi a SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Nessun nuovo gioco trovato nella libreria di Steam."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Non è possibile trovare il percorso per Steam."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Parlando con Steam"
|
||||
|
||||
|
||||
287
po/ko.po
287
po/ko.po
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-03-28 22:23+0000\n"
|
||||
"Last-Translator: MJKim <kmj10727@gmail.com>\n"
|
||||
"Language-Team: Korean <https://hosted.weblate.org/projects/cartridges/"
|
||||
@@ -19,8 +19,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "카트리지"
|
||||
|
||||
@@ -57,75 +57,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "라이브러리"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr ""
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr ""
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr ""
|
||||
|
||||
@@ -137,8 +136,8 @@ msgstr ""
|
||||
msgid "Quit"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
@@ -150,7 +149,7 @@ msgstr ""
|
||||
msgid "Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr ""
|
||||
|
||||
@@ -184,7 +183,7 @@ msgstr ""
|
||||
msgid "Remove game"
|
||||
msgstr "게임이 없습니다"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr ""
|
||||
|
||||
@@ -200,7 +199,7 @@ msgstr ""
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -220,101 +219,108 @@ msgstr ""
|
||||
msgid "Remove All Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
#, fuzzy
|
||||
#| msgid "No Games"
|
||||
msgid "Import Steam Games"
|
||||
msgstr "게임이 없습니다"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "No Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "게임이 없습니다"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "게임 런처"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -326,142 +332,134 @@ msgstr ""
|
||||
msgid "Try a different search."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "게임이 없습니다"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "뒤로"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "정렬"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "카트리지 정보"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr ""
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -474,103 +472,90 @@ msgid ""
|
||||
"If the path contains spaces, make sure to wrap it in double quotes!"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr ""
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Launch your games"
|
||||
|
||||
381
po/nb_NO.po
381
po/nb_NO.po
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-04-06 08:09+0000\n"
|
||||
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
|
||||
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
|
||||
@@ -20,8 +20,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -54,75 +54,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Bibliotek"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Rediger spilldetaljer"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Spilldetaljer"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Innstillinger"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Avbryt"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Navn"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Navnet på spillet"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Utvikler"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Utvikler eller utgiver (valgfritt)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Kjørbar"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Fil å åpne eller kommando å kjøre ved oppstart av spillet"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Rediger"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Skjul"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Fjern"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Opphev fjerning"
|
||||
|
||||
@@ -134,8 +133,8 @@ msgstr "Generelt"
|
||||
msgid "Quit"
|
||||
msgstr "Avslutt"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
#, fuzzy
|
||||
msgid "Search"
|
||||
msgstr "Søk"
|
||||
@@ -148,7 +147,7 @@ msgstr "Vis innstillinger"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Snarveier"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Angre"
|
||||
|
||||
@@ -178,7 +177,7 @@ msgstr "Vis skjulte spill"
|
||||
msgid "Remove game"
|
||||
msgstr "Fjern spill"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
#, fuzzy
|
||||
msgid "Behavior"
|
||||
msgstr "Adferd"
|
||||
@@ -195,7 +194,7 @@ msgstr "Omslagsbilde starter spill"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Bytter adferd for omslagsbilde og spill-knapp"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Bilder"
|
||||
|
||||
@@ -215,110 +214,117 @@ msgstr "Faresone"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Fjern alle spill"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importer"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Kilder"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Installasjonssted for Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "Heroic Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "Installasjonssted for itch"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Installasjonssted for Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Set Heroic Location"
|
||||
msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Posisjon for Lutris-hurtiglager"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
#, fuzzy
|
||||
#| msgid "Import Sideloaded Games"
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importer sideinnlastede spill"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Sideloaded Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importer sideinnlastede spill"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Installasjonssted for Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importer Epic-spill"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importer GOG-spill"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importer sideinnlastede spill"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Installasjonssted for Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
#, fuzzy
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
#, fuzzy
|
||||
#| msgid "Heroic Install Location"
|
||||
msgid "itch Install Location"
|
||||
msgstr "Installasjonssted for itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Spillutvalgstarter"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Identitetsbekreftelse"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
#, fuzzy
|
||||
msgid "API Key"
|
||||
msgstr "API-nøkkel"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Bruk SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
#, fuzzy
|
||||
#| msgid "Directory to use when importing games"
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Mappe å bruke ved import av spill"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
#, fuzzy
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Foretrekk over offisielle bilder"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
#, fuzzy
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Foretrekk over offisielle bilder"
|
||||
@@ -331,142 +337,134 @@ msgstr "Fant ingen spill"
|
||||
msgid "Try a different search."
|
||||
msgstr "Prøv et forskjellig søk."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Ingen spill"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Bruk «+»-knappen for å legge til spill."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Ingen skjulte spill"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Spill du skjuler vil vises her."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Tilbake"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Spillnavn"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Spill"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Legg til spill"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Hovedmeny"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Skjulte spill"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Sorter"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Å"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Å-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Nyeste"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Eldste"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Sist spilt"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Vis skjulte"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Tastatursnarveier"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Om"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Allan Nordhøy, <epost@anotheragency.no>"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "I dag"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "I går"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Tillagt: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Aldri"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Sist spilt: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Bruk"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Legg til nytt spill"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Bekreft"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "fil.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "program"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\sti\\til\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/sti/til/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -489,119 +487,165 @@ msgstr ""
|
||||
"Hvis stien inneholder mellomrom må du pakke den inn i doble engelske "
|
||||
"sitattegn."
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Kunne ikke legge til spill"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Spillnavnet kan ikke være tomt."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Kjørbar fil må angis."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Kunne ikke ta i bruk endringer"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} startet"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
#, fuzzy
|
||||
#| msgid "Show Hidden"
|
||||
msgid "{} hidden"
|
||||
msgstr "{} skjult"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} synlig"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} fjernet"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Alle spill fjernet"
|
||||
|
||||
#: src/preferences.py:136
|
||||
#, fuzzy
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Fant ikke hurtiglager"
|
||||
|
||||
#: src/preferences.py:137
|
||||
#, fuzzy
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Velg {name}-datamappen."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
#, fuzzy
|
||||
#| msgid "Set Steam Location"
|
||||
msgid "Set Location"
|
||||
msgstr "Velg mappe"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Fant ikke installasjonen"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Velg {}-datamappen."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Velg {}-datamappen."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Velg {}-oppsettsmappen."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Velg {}-datamappen."
|
||||
|
||||
#: src/preferences.py:364
|
||||
#, fuzzy
|
||||
#| msgid "Set Steam Location"
|
||||
msgid "Set Location"
|
||||
msgstr "Velg mappe"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Forkast"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importerer spill …"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importerer omslag …"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Fant ingen spill"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Spill importert"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Spill importert"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
#, fuzzy
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Kunne ikke koble til SteamGridDB"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Kunne ikke finne Steam-mappen."
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Bekreft"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Installasjonssted for Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Installasjonssted for Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Installasjonssted for Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Installasjonssted for Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "I dag"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "I går"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Fant ikke hurtiglager"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Velg {name}-datamappen."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importerer spill …"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importerer omslag …"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No Games Found"
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Fant ingen spill"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Game Imported"
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "Spill importert"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Games Imported"
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "Spill importert"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Mappe å bruke ved import av spill"
|
||||
|
||||
@@ -716,9 +760,6 @@ msgstr "Kunne ikke koble til SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Fant ingen nye spill i Steam-biblioteket."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Kunne ikke finne Steam-mappen."
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Snakker med Steam"
|
||||
|
||||
361
po/nl.po
361
po/nl.po
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-04 17:29+0000\n"
|
||||
"Last-Translator: Philip Goto <philip.goto@gmail.com>\n"
|
||||
"Language-Team: Dutch <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/nl/>\n"
|
||||
@@ -17,11 +17,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -37,6 +37,8 @@ msgstr "Start al uw games op"
|
||||
#: data/hu.kramo.Cartridges.desktop.in:11
|
||||
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
msgstr ""
|
||||
"gaming;launcher;steam;lutris;heroic;bottles;itch;spelen;games;starten;"
|
||||
"opstarten;"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
|
||||
msgid ""
|
||||
@@ -54,76 +56,75 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Bibliotheek"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Game-details bewerken"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Game-details"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Voorkeuren"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Annuleren"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nieuwe cover"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Cover verwijderen"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "De titel van de game"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Ontwikkelaar"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "De ontwikkelaar of uitgever (optioneel)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Programmabestand"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
"Te openen bestand of uit te voeren opdracht bij het starten van de game"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Meer info"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Bewerken"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Verbergen"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Verwijderen"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Niet meer verbergen"
|
||||
|
||||
@@ -135,8 +136,8 @@ msgstr "Algemeen"
|
||||
msgid "Quit"
|
||||
msgstr "Sluiten"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Zoeken"
|
||||
|
||||
@@ -148,7 +149,7 @@ msgstr "Voorkeuren tonen"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Sneltoetsen"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Ongedaan maken"
|
||||
|
||||
@@ -176,7 +177,7 @@ msgstr "Verborgen games tonen"
|
||||
msgid "Remove game"
|
||||
msgstr "Game verwijderen"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Gedrag"
|
||||
|
||||
@@ -192,7 +193,7 @@ msgstr "Cover-afbeelding start game"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Wisselt het gedrag van de cover-afbeelding en de speelknop om"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Afbeeldingen"
|
||||
|
||||
@@ -213,99 +214,102 @@ msgstr "Gevarenzone"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Alle games verwijderen"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Bronnen"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Installatielocatie van Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Installatielocatie"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Installatielocatie van Lutris"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Cache-locatie"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Cache-locatie van Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Steam-games importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Flatpak-games importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Installatielocatie van Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Epic-games importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "GOG-games importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Gesideloade games importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Installatielocatie van Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Installatielocatie van itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Legendary"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Game-launchers importeren"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Authenticatie"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API-sleutel"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "SteamGridDB gebruiken"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Afbeeldingen downloaden bij het toevoegen of importeren van games"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Voorkeur geven boven officiële afbeeldingen"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Voorkeur geven aan geanimeerde afbeeldingen"
|
||||
|
||||
@@ -317,142 +321,134 @@ msgstr "Geen games gevonden"
|
||||
msgid "Try a different search."
|
||||
msgstr "Probeer een andere zoekopdracht"
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Geen games"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Gebruik de plusknop om games toe te voegen"
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Geen verborgen games"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Games die u verbergt zullen hier verschijnen"
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Terug"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Game-titel"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Spelen"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Game toevoegen"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Hoofdmenu"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Verborgen games"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Sorteren"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Nieuwste"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Oudste"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Laatst gespeeld"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Verborgen games tonen"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Sneltoetsen"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Over Cartridges"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Philip Goto https://flipflop97.github.io/"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Vandaag"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Gisteren"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Toegevoegd op {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Nooit"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Laatst gespeeld: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Toepassen"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Nieuwe game toevoegen"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Bevestigen"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "bestand.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "programma"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\pad\\naar\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/pad/naar/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -476,112 +472,146 @@ msgstr ""
|
||||
"Indien het pad spaties bevat, zorg er dan voor dat er dubbele "
|
||||
"aanhalingstekens omheen staan!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Kon game niet toevoegen"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Game-titel mag niet leeg zijn"
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Programmabestand mag niet leeg zijn"
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Kon voorkeuren niet toepassen"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} gestart"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} verborgen"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} hersteld"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} verwijderd"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Alle games verwijderd"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache niet gevonden"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Selecteer de cache-map van Lutris"
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Locatie instellen"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Een API-sleutel is vereist om SteamGridDB te gebruiken. U kunt er {}hier{} "
|
||||
"één genereren."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Installatie niet gevonden"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selecteer de configuratiemap van {}"
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Selecteer een geldige map"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Ongeldige map"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Selecteer de cache-map van {}"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selecteer de installatiemap van {}"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Selecteer de gegevensmap van {}"
|
||||
msgstr "Selecteer de cache-map van {}"
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Locatie instellen"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Sluiten"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Games importeren…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Kan SteamGridDB niet authenticeren"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Covers importeren…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Verifieer uw API-sleutel onder voorkeuren"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Geen games gevonden"
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Steam-map kan niet worden gevonden"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Game geïmporteerd"
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Bevestigen"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Games geïmporteerd"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Installatielocatie van Steam"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Kan geen verbinding maken met SteamGridDB"
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Installatielocatie van Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Installatielocatie van Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Installatielocatie van Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Vandaag"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Gisteren"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Cache niet gevonden"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Selecteer de cache-map van Lutris"
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Games importeren…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Covers importeren…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Geen nieuwe games gevonden"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 game geïmporteerd"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} games geïmporteerd"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Map om te gebruiken bij het importeren van games"
|
||||
@@ -690,9 +720,6 @@ msgstr "Kan geen verbinding maken met SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Geen nieuwe games gevonden in de Steam-bibliotheek"
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Steam-map kan niet worden gevonden"
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Steam-bibliotheek aan het ophalen"
|
||||
|
||||
|
||||
376
po/pl.po
376
po/pl.po
@@ -2,13 +2,14 @@
|
||||
# Copyright (C) YEAR kramo
|
||||
# This file is distributed under the same license as the Cartridges package.
|
||||
# Artur Wróblewski <krypalkora1984@gmail.com>, 2023.
|
||||
# Kshyso <Kshysio@protonmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-07 15:38+0000\n"
|
||||
"Last-Translator: Artur Wróblewski <krypalkora1984@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-06-10 16:48+0000\n"
|
||||
"Last-Translator: Kshyso <Kshysio@protonmail.com>\n"
|
||||
"Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/pl/>\n"
|
||||
"Language: pl\n"
|
||||
@@ -20,8 +21,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -53,76 +54,75 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Biblioteka"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Edytuj detale gry"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Detale gry"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Ustawienia"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Anuluj"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nowa Okładka"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Usuń Okładkę"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Tytuł"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Tytuł gry"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Deweloper"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Twórca lub wydawca (opcjonalnie)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Wykonywalne"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
"Plik do otwarcia lub polecenie do uruchomienia podczas uruchamiania gry"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Edytuj"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Ukryj"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Usuń"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Odkryj"
|
||||
|
||||
@@ -134,8 +134,8 @@ msgstr "Ogólne"
|
||||
msgid "Quit"
|
||||
msgstr "Wyjdź"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Szukaj"
|
||||
|
||||
@@ -147,7 +147,7 @@ msgstr "Pokaż preferencje"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Skróty"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Cofnij"
|
||||
|
||||
@@ -175,7 +175,7 @@ msgstr "Pokaż ukryte gry"
|
||||
msgid "Remove game"
|
||||
msgstr "Usuń grę"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Zachowanie"
|
||||
|
||||
@@ -191,7 +191,7 @@ msgstr "Obraz okładki startera gier"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Zamienia zachowanie obrazu okładki i przycisku odtwarzania"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Obrazy"
|
||||
|
||||
@@ -211,99 +211,110 @@ msgstr "Strefa zagrożenia"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Usuń wszystkie gry"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importuj"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Źródła"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Lokalizacja instalacji Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "Położenie instalacji itch"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Lokalizacja instalacji Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Lokalizacja Lutris Cache"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importuj gry Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importuj gry Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Lokalizacja instalacji Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Zaimportuj Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importuj gry z GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importuj gry w wersji Sideloaded"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Butelki"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Butelki Miejsce montażu"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Położenie instalacji itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Launcher Gier"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Uwierzytelnianie"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Klucz API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Użyj SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Pobieranie obrazów podczas dodawania lub importowania gier"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Preferuj ponad Oficjalne zdjęcia"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Preferuj animowane obrazy"
|
||||
|
||||
@@ -315,142 +326,134 @@ msgstr "Nie znaleziono żadnych gier"
|
||||
msgid "Try a different search."
|
||||
msgstr "Spróbuj innego wyszukiwania."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Brak gier"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Użyj przycisku +, aby dodać gry."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Brak ukrytych gier"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Gry, które ukryjesz, pojawią się tutaj."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Cofnij"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Tytuł gry"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Uruchom"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Dodaj grę"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu główne"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Ukryte gry"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Sortuj"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Najnowsza"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Najstarszy"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Ostatnio odtwarzane"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Pokaż ukryte"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Skróty klawiaturowe"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "O Cartridges"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "kredyty tłumacza"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Dzisiaj"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Wczoraj"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Dodano: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Nigdy"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Ostatnio grane: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Zastosuj"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Dodaj nową grę"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Potwierdź"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "plik.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "program"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\scieżka\\do\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/ścieżka/do/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -472,113 +475,158 @@ msgstr ""
|
||||
"\n"
|
||||
"Jeśli ścieżka zawiera spacje, pamiętaj, aby zawinąć ją w podwójne cudzysłowy!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Nie można było dodać gry"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Tytuł gry nie może być pusty."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Plik wykonywalny nie może być pusty."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Nie można zastosować preferencji"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} uruchomiony"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} ukryte"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} nieukryty"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} usunięty"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Wszystkie gry usunięte"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Nie znaleziono pamięci podręcznej"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Wybierz katalog pamięci podręcznej Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Ustaw lokacje"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Do korzystania z SteamGridDB wymagany jest klucz API. Możesz go wygenerować "
|
||||
"{} tutaj{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Nie znaleziono instalacji"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Wybierz {} katalog danych."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Wybierz {} katalog danych."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Wybierz {} katalog konfiguracyjny."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Wybierz {} katalog danych."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Ustaw lokacje"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Odrzucić"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importowanie gier…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importowanie okładek…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Nie znaleziono żadnych gier"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Gra Importowana"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Gry Przywiezione"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Nie można połączyć się z SteamGridDB"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Cache Not Found"
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Nie znaleziono pamięci podręcznej"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Potwierdź"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Lokalizacja instalacji Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Lokalizacja instalacji Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Lokalizacja instalacji Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Butelki Miejsce montażu"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Dzisiaj"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Wczoraj"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Wybierz katalog pamięci podręcznej Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importowanie gier…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importowanie okładek…"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "No Games Found"
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Nie znaleziono żadnych gier"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Game Imported"
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "Gra Importowana"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Games Imported"
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "Gry Przywiezione"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Katalog używany podczas importowania gier"
|
||||
|
||||
|
||||
400
po/pt.po
400
po/pt.po
@@ -4,13 +4,14 @@
|
||||
# Pedro Sader Azevedo <pedro.saderazevedo@protonmail.com>, 2023.
|
||||
# kramo <contact@kramo.hu>, 2023.
|
||||
# Henrique Machado <henriquecamposrj@gmail.com>, 2023.
|
||||
# João Alves <joao.2003.couto@gmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-04-18 22:49+0000\n"
|
||||
"Last-Translator: Henrique Machado <henriquecamposrj@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-06-04 22:47+0000\n"
|
||||
"Last-Translator: João Alves <joao.2003.couto@gmail.com>\n"
|
||||
"Language-Team: Portuguese <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/pt/>\n"
|
||||
"Language: pt\n"
|
||||
@@ -21,10 +22,10 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartuchos"
|
||||
msgstr "Cartridges"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:4
|
||||
msgid "Game Launcher"
|
||||
@@ -37,7 +38,7 @@ msgstr "Inicie todos os seus jogos"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:11
|
||||
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
msgstr ""
|
||||
msgstr "gaming;iniciador;steam;lutris;heroic;bottles;itch;"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
|
||||
msgid ""
|
||||
@@ -46,84 +47,83 @@ msgid ""
|
||||
"necessary. You can sort and hide games or download cover art from "
|
||||
"SteamGridDB."
|
||||
msgstr ""
|
||||
"Cartuchos é um iniciador de jogos simples. Ele tem suporte para importação "
|
||||
"de jogos da Steam, Lutris, Heroic, e etc. sem precisar fazer login. E pode "
|
||||
"organizar e esconder jogos ou baixar imagens das capas dos jogos a partir do "
|
||||
"SteamGridDB."
|
||||
"Cartridges é um lançador de jogos simples para todos os seus jogos. Tem "
|
||||
"suporte para importar jogos do Steam, Lutris, Heroic e muito mais, sem "
|
||||
"necessidade de login. Você pode classificar e ocultar jogos ou baixar a capa "
|
||||
"do SteamGridDB."
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
|
||||
msgid "Library"
|
||||
msgstr "Biblioteca"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Editar detalhes do jogo"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Detalhes do jogo"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Preferências"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nova capa"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Apagar capa"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "O título do jogo"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Desenvolvedor"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "O desenvolvedor ou publicador (opcional)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Executável"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Mais informação"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Editar"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Ocultar"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Remover"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Exibir"
|
||||
|
||||
@@ -135,8 +135,8 @@ msgstr "Geral"
|
||||
msgid "Quit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Buscar"
|
||||
|
||||
@@ -148,7 +148,7 @@ msgstr "Mostrar preferências"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Atalhos"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Desfazer"
|
||||
|
||||
@@ -174,25 +174,25 @@ msgstr "Exibir jogos ocultados"
|
||||
|
||||
#: data/gtk/help-overlay.blp:63
|
||||
msgid "Remove game"
|
||||
msgstr "Remove o jogo"
|
||||
msgstr "Remover jogo"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Comportamento"
|
||||
|
||||
#: data/gtk/preferences.blp:16
|
||||
msgid "Exit After Launching Games"
|
||||
msgstr "Fechar Cartuchos ao iniciar um jogo"
|
||||
msgstr "Fechar Cartridges ao iniciar um jogo"
|
||||
|
||||
#: data/gtk/preferences.blp:25
|
||||
msgid "Cover Image Launches Game"
|
||||
msgstr "Clicar na capa para iniciar o jogo"
|
||||
msgstr "Clicar na capa inicia o jogo"
|
||||
|
||||
#: data/gtk/preferences.blp:26
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Troca o comportamento de clicar na capa do jogo e do botão Jogar"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Imagens"
|
||||
|
||||
@@ -206,105 +206,116 @@ msgstr "Salva imagens das capas sem perda, consumindo mais armazenamento"
|
||||
|
||||
#: data/gtk/preferences.blp:50
|
||||
msgid "Danger Zone"
|
||||
msgstr "Atenção"
|
||||
msgstr "Zona de perigo"
|
||||
|
||||
#: data/gtk/preferences.blp:53
|
||||
msgid "Remove All Games"
|
||||
msgstr "Remove todos os jogos"
|
||||
msgstr "Remover todos os jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importar"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Fontes"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Local de instalação da Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "Local de instalação do itch"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Local de instalação do Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Local do cache do Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importar jogos da Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importar jogos da Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Local de instalação do Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importar jogos da Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importar jogos do GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importar jogos adicionados manualmente"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Local de instalação do Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Local de instalação do itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Iniciador de jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Autenticação"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Chave da API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Usar SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Baixa imagens ao adicionar ou importar jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Preferir mais que as imagens oficiais"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Preferir imagens animadas"
|
||||
|
||||
@@ -316,142 +327,134 @@ msgstr "Nenhum jogo encontrado"
|
||||
msgid "Try a different search."
|
||||
msgstr "Tente outra pesquisa."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Sem jogos"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Use o botão + para adicionar jogos."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Sem jogos ocultados"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Jogos ocultados vão aparecer aqui."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Voltar"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Título do jogo"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Jogar"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Adicionar jogo"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu principal"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Jogos ocultados"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Ordenar"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Mais novo"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Mais antigo"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Última vez jogado"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Mostrar ocultados"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Atalhos de teclado"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Sobre o Cartuchos"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Pedro Sader Azevedo"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Hoje"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Ontem"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Adicionado: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Nunca"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Última vez jogado"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Aplicar"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Adicionar novo jogo"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Confirmar"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "arquivo.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "programa"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\caminho\\para\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/caminho/para/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -473,113 +476,155 @@ msgstr ""
|
||||
"\n"
|
||||
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Não foi possível adicionar o jogo"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "O título do jogo não pode estar vazio."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "O executável não pode estar vazio."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Não foi possível aplicar as preferências"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} iniciado"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} está oculto"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} está exposto"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} removido"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Todos os jogos foram removidos"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache não encontrado"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Selecione o diretório de cache do Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Definir local"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma "
|
||||
"chave {}aqui{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Instalação não encontrada"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Selecione o diretório de informações de {}."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Selecione o diretório de informações de {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selecione o diretório de configuração de {}."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Selecione o diretório de informações de {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Definir local"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Dispensar"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importando jogos…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importando capas…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Nenhum jogo encontrado"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Jogo importado"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Jogos importados"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Não foi possível conectar à SteamGridDB"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "O diretório da Steam não foi encontrado."
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Confirmar"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Local de instalação da Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Local de instalação do Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Local de instalação do Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Local de instalação do Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Hoje"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Ontem"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Cache não encontrado"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Selecione o diretório de cache do Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importando jogos…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importando capas…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Nenhum jogo novo encontrado"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 jogo importado"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} jogos importados"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Diretório para usar ao importar jogos"
|
||||
|
||||
@@ -690,8 +735,5 @@ msgstr "Não foi possível conectar à SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Nenhum jogo novo foi encontrado na biblioteca da Steam."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "O diretório da Steam não foi encontrado."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Falando com a Steam"
|
||||
|
||||
428
po/pt_BR.po
428
po/pt_BR.po
@@ -2,13 +2,14 @@
|
||||
# Copyright (C) YEAR kramo
|
||||
# This file is distributed under the same license as the Cartridges package.
|
||||
# Henrique Machado <henriquecamposrj@gmail.com>, 2023.
|
||||
# Vinícius Gama Santos <vinny.stalck@protonmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-04-19 17:50+0000\n"
|
||||
"Last-Translator: Henrique Machado <henriquecamposrj@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-06-02 15:40+0000\n"
|
||||
"Last-Translator: Vinícius Gama Santos <vinny.stalck@protonmail.com>\n"
|
||||
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
|
||||
"cartridges/cartridges/pt_BR/>\n"
|
||||
"Language: pt_BR\n"
|
||||
@@ -19,8 +20,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartuchos"
|
||||
|
||||
@@ -35,7 +36,7 @@ msgstr "Inicie todos os seus jogos"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:11
|
||||
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
msgstr ""
|
||||
msgstr "jogos;gaming;launcher;steam;lutris;heroic;bottles;itch;"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
|
||||
msgid ""
|
||||
@@ -44,84 +45,83 @@ msgid ""
|
||||
"necessary. You can sort and hide games or download cover art from "
|
||||
"SteamGridDB."
|
||||
msgstr ""
|
||||
"Cartuchos é um iniciador de jogos simples. Ele tem suporte para importação "
|
||||
"de jogos da Steam, Lutris, Heroic, e etc. sem precisar fazer login. E pode "
|
||||
"organizar e esconder jogos ou baixar imagens das capas dos jogos a partir do "
|
||||
"SteamGridDB."
|
||||
"Cartuchos é um simples iniciador de jogos para todos os seus jogos. Ele tem "
|
||||
"suporte para importar jogos do Steam, Lutris, Heroic e outros, sem "
|
||||
"necessidade de login. Você pode ordenar e esconder jogos ou baixar arte de "
|
||||
"capa do SteamGridDB."
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
|
||||
msgid "Library"
|
||||
msgstr "Biblioteca"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Editar detalhes do jogo"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Detalhes do jogo"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Preferências"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nova capa"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Excluir capa"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "O título do jogo"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Desenvolvedor"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "O desenvolvedor ou publicador (opcional)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Executável"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Mais informações"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Editar"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Ocultar"
|
||||
msgstr "Esconder"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Remover"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Exibir"
|
||||
|
||||
@@ -133,8 +133,8 @@ msgstr "Geral"
|
||||
msgid "Quit"
|
||||
msgstr "Sair"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Buscar"
|
||||
|
||||
@@ -146,7 +146,7 @@ msgstr "Mostrar preferências"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Atalhos"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Desfazer"
|
||||
|
||||
@@ -168,29 +168,29 @@ msgstr "Importar jogos"
|
||||
|
||||
#: data/gtk/help-overlay.blp:58
|
||||
msgid "Show hidden games"
|
||||
msgstr "Exibir jogos ocultados"
|
||||
msgstr "Exibir jogos ocultos"
|
||||
|
||||
#: data/gtk/help-overlay.blp:63
|
||||
msgid "Remove game"
|
||||
msgstr "Remove o jogo"
|
||||
msgstr "Remover jogo"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Comportamento"
|
||||
|
||||
#: data/gtk/preferences.blp:16
|
||||
msgid "Exit After Launching Games"
|
||||
msgstr "Fechar Cartuchos ao iniciar um jogo"
|
||||
msgstr "Fechar ao iniciar jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:25
|
||||
msgid "Cover Image Launches Game"
|
||||
msgstr "Clicar na capa para iniciar o jogo"
|
||||
msgstr "Imagem da capa inicia o jogo"
|
||||
|
||||
#: data/gtk/preferences.blp:26
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Troca o comportamento de clicar na capa do jogo e do botão Jogar"
|
||||
msgstr "Troca o comportamento da imagem da capa e do botão jogar"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Imagens"
|
||||
|
||||
@@ -200,109 +200,120 @@ msgstr "Imagens de alta qualidade"
|
||||
|
||||
#: data/gtk/preferences.blp:40
|
||||
msgid "Save game covers losslessly at the cost of storage"
|
||||
msgstr "Salva imagens das capas sem perda, consumindo mais armazenamento"
|
||||
msgstr "Salva capas de jogos sem perdas, consumindo mais armazenamento"
|
||||
|
||||
#: data/gtk/preferences.blp:50
|
||||
msgid "Danger Zone"
|
||||
msgstr "Atenção"
|
||||
msgstr "Zona de Perigo"
|
||||
|
||||
#: data/gtk/preferences.blp:53
|
||||
msgid "Remove All Games"
|
||||
msgstr "Remove todos os jogos"
|
||||
msgstr "Remover todos os jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importar"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Fontes"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Local de instalação da Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "Local de instalação do itch"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Local de instalação do Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Local do cache do Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importar jogos da Steam"
|
||||
msgstr "Importar jogos do Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importar jogos do Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Local de instalação do Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importar jogos da Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importar jogos do GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importar jogos adicionados manualmente"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
msgstr "Garrafas"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Local de instalação do Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Local de instalação do itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Iniciador de jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Autenticação"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Chave da API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Usar SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Baixa imagens ao adicionar ou importar jogos"
|
||||
msgstr "Baixar imagens ao adicionar ou importar jogos"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Preferir mais que as imagens oficiais"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Preferir imagens animadas"
|
||||
|
||||
@@ -312,144 +323,136 @@ msgstr "Nenhum jogo encontrado"
|
||||
|
||||
#: data/gtk/window.blp:7 data/gtk/window.blp:15
|
||||
msgid "Try a different search."
|
||||
msgstr "Tente outra pesquisa."
|
||||
msgstr "Tente uma busca diferente."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Sem jogos"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Use o botão + para adicionar jogos."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Sem jogos ocultados"
|
||||
msgstr "Sem jogos ocultos"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Jogos ocultados vão aparecer aqui."
|
||||
msgstr "Os jogos ocultos aparecerão aqui."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Voltar"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Título do jogo"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Jogar"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Adicionar jogo"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu principal"
|
||||
msgstr "Menu Principal"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Jogos ocultados"
|
||||
msgstr "Jogos ocultos"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Ordenar"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Mais novo"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Mais antigo"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Última vez jogado"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Mostrar ocultados"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Atalhos de teclado"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Sobre o Cartuchos"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Pedro Sader Azevedo"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Hoje"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Ontem"
|
||||
msgstr "Pedro Sader Azevedo, Vinícius \"Stalck\""
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Adicionado: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Nunca"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Última vez jogado"
|
||||
msgstr "Jogado pela última vez: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Aplicar"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Adicionar novo jogo"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Confirmar"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "arquivo.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "programa"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\caminho\\para\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/caminho/para/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -467,116 +470,155 @@ msgstr ""
|
||||
"\n"
|
||||
"Para abrir o arquivo \"{}\" com o aplicativo padrão, use:\n"
|
||||
"\n"
|
||||
"<tt>{}\"{}\"</tt>\n"
|
||||
"<tt>{} \"{}\"</tt>\n"
|
||||
"\n"
|
||||
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Não foi possível adicionar o jogo"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "O título do jogo não pode estar vazio."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "O executável não pode estar vazio."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Não foi possível aplicar as preferências"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} iniciado"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} está oculto"
|
||||
msgstr "{} ocultado"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} está exposto"
|
||||
msgstr "{} exibido"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} removido"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Todos os jogos foram removidos"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache não encontrado"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Selecione o diretório de cache do Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Definir local"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma "
|
||||
"chave {}aqui{}."
|
||||
"Uma chave de API é necessária para utilizar o SteamGridDB. Você pode gerar "
|
||||
"uma {}aqui{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Instalação não encontrada"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selecione o diretório de configuração de {}."
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Selecione o diretório de dados do(a) {}."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Selecione o diretório de dados do(a) {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Selecione o diretório de configuração do(a) {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Selecione o diretório de informações de {}."
|
||||
msgstr "Selecione o diretório de dados do(a) {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Definir local"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Dispensar"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importando jogos…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importando capas…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Nenhum jogo encontrado"
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Não foi possível conectar-se ao SteamGridDB"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
#, fuzzy
|
||||
#| msgid "Game Imported"
|
||||
msgid "1 game imported"
|
||||
msgstr "Jogo importado"
|
||||
#~| msgid "Cache Not Found"
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Cache não encontrado"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
#, fuzzy
|
||||
#| msgid "Games Imported"
|
||||
msgid "{} games imported"
|
||||
msgstr "Jogos importados"
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Confirmar"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Não foi possível conectar à SteamGridDB"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Local de instalação do Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Local de instalação do Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Local de instalação do Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Local de instalação do Garrafas"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Hoje"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Ontem"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Selecione o diretório de cache do Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importando jogos…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importando capas…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Nenhum jogo novo encontrado"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 jogo importado"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} jogos importados"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Diretório para usar ao importar jogos"
|
||||
|
||||
288
po/ro.po
288
po/ro.po
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-04-04 17:12+0000\n"
|
||||
"Last-Translator: Matt C <matei.gurzu@gmail.com>\n"
|
||||
"Language-Team: Romanian <https://hosted.weblate.org/projects/cartridges/"
|
||||
@@ -20,8 +20,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartușe"
|
||||
|
||||
@@ -58,75 +58,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Bibliotecă"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Editați detaliile jocului"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Detalii joc"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Preferințe"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr ""
|
||||
|
||||
@@ -138,8 +137,8 @@ msgstr ""
|
||||
msgid "Quit"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Căutare"
|
||||
|
||||
@@ -151,7 +150,7 @@ msgstr ""
|
||||
msgid "Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr ""
|
||||
|
||||
@@ -179,7 +178,7 @@ msgstr ""
|
||||
msgid "Remove game"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr ""
|
||||
|
||||
@@ -195,7 +194,7 @@ msgstr ""
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -215,99 +214,104 @@ msgstr ""
|
||||
msgid "Remove All Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Lansator de jocuri"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr ""
|
||||
|
||||
@@ -319,142 +323,134 @@ msgstr "Nu s-au găsit jocuri"
|
||||
msgid "Try a different search."
|
||||
msgstr "Încercați o altă căutare."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Fără jocuri"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Folosiți butonul + pentru a adăuga jocuri."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Fără jocuri ascunse"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Jocurile pe care le ascundeți vor apărea aici."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Înapoi"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Titlul jocului"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Joacă"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Adăugați joc"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Meniu principal"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Jocuri ascunse"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr ""
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr ""
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -467,106 +463,96 @@ msgid ""
|
||||
"If the path contains spaces, make sure to wrap it in double quotes!"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr ""
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr ""
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
msgid "Select the {} data directory."
|
||||
msgstr ""
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
#, fuzzy
|
||||
#| msgid "No Games Found"
|
||||
msgid "No new games found"
|
||||
msgstr "Nu s-au găsit jocuri"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr ""
|
||||
#~| msgid "No Games Found"
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Nu s-au găsit jocuri"
|
||||
|
||||
#~ msgid "Launch your games"
|
||||
#~ msgstr "Lansați-vă jocurile"
|
||||
|
||||
368
po/ru.po
368
po/ru.po
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-24 20:27+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-01 15:10+0000\n"
|
||||
"Last-Translator: Сергей <asvmail.as@gmail.com>\n"
|
||||
"Language-Team: Russian <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/ru/>\n"
|
||||
@@ -18,11 +18,11 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Картриджи"
|
||||
|
||||
@@ -55,75 +55,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Библиотека"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Редактировать подробности об игре"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Подробности об игре"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Параметры"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Новая обложка"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Удалить обложку"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Название"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Название игры"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Разработчик"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Разработчик или издатель (необязательно)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Исполняемый"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Файл для открытия или команда для запуска игры"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Дополнительная информация"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Редактировать"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Скрыть"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Удалить"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Показать"
|
||||
|
||||
@@ -135,8 +134,8 @@ msgstr "Основное"
|
||||
msgid "Quit"
|
||||
msgstr "Выйти"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Поиск"
|
||||
|
||||
@@ -148,9 +147,9 @@ msgstr "Показать параметры"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Комбинации клавиш"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Отменить"
|
||||
msgstr "Вернуть"
|
||||
|
||||
#: data/gtk/help-overlay.blp:39
|
||||
msgid "Open menu"
|
||||
@@ -176,7 +175,7 @@ msgstr "Показать скрытые игры"
|
||||
msgid "Remove game"
|
||||
msgstr "Удалить игру"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Поведение"
|
||||
|
||||
@@ -192,7 +191,7 @@ msgstr "Запуск игры используя изображение обло
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Меняет местами поведение изображения обложки и кнопки запуска"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Изображения"
|
||||
|
||||
@@ -212,99 +211,102 @@ msgstr "Небезопасная область"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Удалить все игры"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Импортировать"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Источники"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Место установки Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Место установки"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Место установки Lutris"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Расположение кэша"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Расположение кэша Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Импорт игр Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Импорт игр Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Место установки Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Импорт игр Epic"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Импорт игр GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Импорт сторонних игр"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Место установки Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Место установки itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Legendary"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Импорт средств запуска игр"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Аутентификация"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API-ключ"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Использовать SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Загрузка изображений при добавлении или импорте игр"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Отдавать предпочтение официальным изображениям"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Отдавать предпочтение анимированным изображениям"
|
||||
|
||||
@@ -316,142 +318,134 @@ msgstr "Игры не найдены"
|
||||
msgid "Try a different search."
|
||||
msgstr "Попробуйте другой поиск."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Игр нет"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Используйте кнопку «+» для добавления игр."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Нет скрытых игр"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Здесь появятся скрытые игры."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Назад"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Название игры"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Играть"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Добавить игру"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Главное меню"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Скрытые игры"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Сортировать"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "А-Я"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Я-А"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Сначала новые"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Сначала старые"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Последняя игра"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Показать скрытые"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Комбинации клавиш"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "О приложении"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Ser82-png"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Сегодня"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Вчера"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Добавлено: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Никогда"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Последняя игра: {}"
|
||||
msgstr "Последний раз запускалась: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Применить"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Добавить новую игру"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Подтвердить"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "file.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "программа"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\путь\\к\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/путь/к/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -473,106 +467,153 @@ msgstr ""
|
||||
"\n"
|
||||
"Если путь содержит пробелы, обязательно заключите его в двойные кавычки!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Не удалось добавить игру"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Название игры не может быть пустым."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Исполняемый файл не может быть пустым."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Не удалось применить параметры"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} - запущена"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} - скрытая"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} - не скрыта"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} удалена"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Все игры удалены"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Кэш не найден"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Выберите каталог кэша Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Установить расположение"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать "
|
||||
"его {}здесь{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Установка не найдена"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Выберите каталог конфигурации {}."
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Выберите действующий каталог."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Неверный каталог"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Выберите каталог кэша {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Выберите каталог установки {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Выберите каталог данных {}."
|
||||
msgstr "Выберите каталог кэша {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Установить расположение"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Отклонить"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Импорт игр…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Не удалось пройти аутентификацию SteamGridDB"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Импорт обложек…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Проверьте ключ API-ключ в параметрах"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Новых игр не найдено"
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Не удалось найти каталог Steam."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 игра импортирована"
|
||||
#~ msgid "Cache"
|
||||
#~ msgstr "Кэш"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} игр(ы) импортировано"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Конфигурация"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Не удалось подключиться к SteamGridDB"
|
||||
#~ msgid "Invalid {} Location for {{}}"
|
||||
#~ msgstr "Неверное расположение {} для {{}}"
|
||||
|
||||
#~ msgid "Pick a new one or disable the source in preferences"
|
||||
#~ msgstr "Выберите новый или отключите имеющийся источник в параметрах"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Место установки Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Место установки Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Место установки Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Место установки Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Сегодня"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Вчера"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Кэш не найден"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Выберите каталог кэша Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Импорт игр…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Импорт обложек…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Новых игр не найдено"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 игра импортирована"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} игр(ы) импортировано"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Каталог для импорта игр"
|
||||
@@ -683,8 +724,5 @@ msgstr "Не удалось подключиться к SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "В библиотеке Steam новых игр не найдено."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Не удалось найти каталог Steam."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Общение со Steam"
|
||||
|
||||
354
po/sv.po
354
po/sv.po
@@ -3,13 +3,14 @@
|
||||
# This file is distributed under the same license as the Cartridges package.
|
||||
# micke <mikanybe@gmail.com>, 2023.
|
||||
# micke <micke@users.noreply.hosted.weblate.org>, 2023.
|
||||
# Luna Jernberg <droidbittin@gmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-24 20:27+0000\n"
|
||||
"Last-Translator: micke <micke@users.noreply.hosted.weblate.org>\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-01 22:51+0000\n"
|
||||
"Last-Translator: Luna Jernberg <droidbittin@gmail.com>\n"
|
||||
"Language-Team: Swedish <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/sv/>\n"
|
||||
"Language: sv\n"
|
||||
@@ -17,11 +18,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
|
||||
@@ -53,75 +54,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Bibliotek"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Redigera speldetaljer"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Speldetaljer"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Inställningar"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Avbryt"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "Nytt omslag"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "Ta bort omslag"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Spelets titel"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Utvecklare"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Utvecklaren eller utgivaren (valfritt)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Körbar"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Fil som ska öppnas eller kommando som ska köras när spelet startas"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "Mer info"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Dölj"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Ta bort"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Visa"
|
||||
|
||||
@@ -133,8 +133,8 @@ msgstr "Allmänt"
|
||||
msgid "Quit"
|
||||
msgstr "Avsluta"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Sök"
|
||||
|
||||
@@ -146,7 +146,7 @@ msgstr "Visa inställningar"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Genvägar"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Ångra"
|
||||
|
||||
@@ -174,7 +174,7 @@ msgstr "Visa dolda spel"
|
||||
msgid "Remove game"
|
||||
msgstr "Ta bort spel"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Beteende"
|
||||
|
||||
@@ -190,7 +190,7 @@ msgstr "Omslagsbild startar spel"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Byt beteende för omslagsbilden och Spela-knappen"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Bilder"
|
||||
|
||||
@@ -211,99 +211,102 @@ msgstr "Farozon"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Ta bort alla spel"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Importera"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Källor"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Steam-installationsplats"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Plats för installation"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Lutris-installationsplats"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Plats för cacheminne"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Plats för Lutris cache"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Importera Steam-spel"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Importera Flatpak-spel"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Heroic-installationsplats"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Importera Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Importera GOG-spel"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Importera sidoladdade spel"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Bottles-installationsplats"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "itch-installationsplats"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Legendary"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Importera spelstartare"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Autentisering"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API-nyckel"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Använd SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Ladda ner bilder när spel läggs till eller importeras"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Föredra framför officiella bilder"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Föredra animerade bilder"
|
||||
|
||||
@@ -315,142 +318,134 @@ msgstr "Inga spel hittades"
|
||||
msgid "Try a different search."
|
||||
msgstr "Försök med en annan sökning."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Inga spel"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Använd +-knappen för att lägga till spel."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Inga dolda spel"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Spel som du döljer kommer visas här."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Bakåt"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Speltitel"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Spela"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Lägg till spel"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Huvudmeny"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Dolda spel"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Sortering"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Ö"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Ö-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Nyaste"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Äldsta"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Senast spelad"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Visa dolda"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Tangentbordsgenvägar"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Om Cartridges"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Micke"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Idag"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Igår"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Tillagt: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Aldrig"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Senast spelat: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Tillämpa"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Lägg till nytt spel"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Bekräfta"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "fil.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "program"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\sökväg\\till\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/sökväg/till/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -473,105 +468,142 @@ msgstr ""
|
||||
"Om sökvägen innehåller mellanslag, se till att den omsluts av dubbla "
|
||||
"citationstecken!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Kunde inte lägga till spelet"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Spelets titel kan inte vara tom."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Den körbara filen kan inte vara tom."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Kunde inte tillämpa inställningar"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} startat"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} dolt"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} synlig"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} borttaget"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Alla spel togs bort"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Cache inte hittad"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Välj Lutris cache-mapp."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Ange plats"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"En API-nyckel krävs för att använda SteamGridDB. Du kan generera en {}här{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Installationen hittades inte"
|
||||
msgstr "Installation hittades inte"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Välj en giltig katalog."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Ogiltig katalog"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Välj {} cachekatalog."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Välj konfigurationsmappen {}."
|
||||
msgstr "Välj {} installationskatalog."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Välj datamappen {}."
|
||||
msgstr "Välj {} cachekatalog."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Ange plats"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Avvisa"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Importerar spel…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Kunde inte autentisera SteamGridDB"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Importerar omslagsbilder…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Verifiera din API-nyckel i inställningar"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Inga nya spel hittades"
|
||||
#, fuzzy
|
||||
#~| msgid "Cache Not Found"
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Cache inte hittad"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 spel Importerat"
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Bekräfta"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} spel importerade"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Steam-installationsplats"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Kunde inte ansluta till SteamGridDB"
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Lutris-installationsplats"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Heroic-installationsplats"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Bottles-installationsplats"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Idag"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Igår"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Välj Lutris cache-mapp."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Importerar spel…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Importerar omslagsbilder…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Inga nya spel hittades"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 spel Importerat"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} spel importerade"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Mapp att använda för importering av spel"
|
||||
|
||||
363
po/ta.po
363
po/ta.po
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-24 20:27+0000\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-06-28 20:19+0000\n"
|
||||
"Last-Translator: \"K.B.Dharun Krishna\" <kbdharunkrishna@gmail.com>\n"
|
||||
"Language-Team: Tamil <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/ta/>\n"
|
||||
@@ -18,11 +18,11 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"X-Generator: Weblate 4.18.1\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "கார்ட்ரிட்ஜ்கள்"
|
||||
|
||||
@@ -56,75 +56,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "நூலகம்"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "விளையாட்டு விவரங்களைத் திருத்து"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "விளையாட்டு விவரங்கள்"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "விருப்பங்கள்"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "ரத்துசெய்"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr ""
|
||||
msgstr "புதிய அட்டை"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr ""
|
||||
msgstr "அட்டையை நீக்கு"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "தலைப்பு"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "விளையாட்டின் தலைப்பு"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "டெவலப்பர்"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "டெவலப்பர் அல்லது வெளியீட்டாளர் (விரும்பினால்)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "செயல்படுத்தக்கூடியது"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "விளையாட்டைத் தொடங்கும் போது திறக்க கோப்பு அல்லது இயக்க கட்டளை"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr ""
|
||||
msgstr "மேலும் தகவல்"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "தொகு"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "மறை"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "அகற்று"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "மறை காட்டு"
|
||||
|
||||
@@ -136,8 +135,8 @@ msgstr "பொது"
|
||||
msgid "Quit"
|
||||
msgstr "வெளியேறு"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "தேடு"
|
||||
|
||||
@@ -149,7 +148,7 @@ msgstr "விருப்பங்களைக் காட்டு"
|
||||
msgid "Shortcuts"
|
||||
msgstr "குறுக்குவழிகள்"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "செயல்தவிர்"
|
||||
|
||||
@@ -177,7 +176,7 @@ msgstr "மறைக்கப்பட்ட விளையாட்டுக
|
||||
msgid "Remove game"
|
||||
msgstr "விளையாட்டை அகற்று"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "நடத்தை"
|
||||
|
||||
@@ -193,7 +192,7 @@ msgstr "அட்டைப் படம் விளையாட்டை தொ
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "அட்டைப் படத்தின் நடத்தை மற்றும் பிளே பட்டனை மாற்றுகிறது"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "படங்கள்"
|
||||
|
||||
@@ -213,100 +212,107 @@ msgstr "ஆபத்து மண்டலம்"
|
||||
msgid "Remove All Games"
|
||||
msgstr "அனைத்து விளையாட்டுகளையும் அகற்று"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "இறக்குமதி"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "மூலங்கள்"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam (ஸ்டீம்)"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "நிறுவல் இடம்"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "லூட்ரிஸ்"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "லூட்ரிஸ் நிறுவல் இடம்"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "தற்காலிக சேமிப்பு இடம்"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "லுட்ரிஸ் தற்காலிக சேமிப்பு இடம்"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "ஸ்டீம் (Steam) விளையாட்டுகளை இறக்குமதி செய்யவும்"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "ஸ்டீம் (Steam) விளையாட்டுகளை இறக்குமதி செய்யவும்"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic (ஹீரோயிக்)"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles (பாட்டில்கள்)"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "அரிப்பு (itch)"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "அரிப்பு (itch) நிறுவல் இடம்"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "பழம்பெரும்"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "விளையாட்டு துவக்கி"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB)"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "அங்கீகாரம்"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API விசை"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்தவும்"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr ""
|
||||
"விளையாட்டுகளைச் சேர்க்கும் போது அல்லது இறக்குமதி செய்யும் போது படங்களைப் பதிவிறக்கவும்"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "அதிகாரப்பூர்வ படங்களை விட முன்னுரிமை"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "இயங்குபடம் செய்யப்பட்ட படங்களுக்கு முன்னுரிமை கொடுங்கள்"
|
||||
|
||||
@@ -318,142 +324,134 @@ msgstr "விளையாட்டுகள் எதுவும் இல்
|
||||
msgid "Try a different search."
|
||||
msgstr "வேறு தேடலை முயற்சிக்கவும்."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "விளையாட்டுகள் இல்லை"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "மறைக்கப்பட்ட விளையாட்டுகள் இல்லை"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "மீண்டும்"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "விளையாட்டு தலைப்பு"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "விளையாடு"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "விளையாட்டைச் சேர்க்கவும்"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "முதன்மை பட்டியல்"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "வகைபடுத்து"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "புதியது"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "பழமையானது"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "கடைசியாக விளையாடியது"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "மறைக்கப்பட்டதைக் காட்டு"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "விசைப்பலகை குறுக்குவழிகள்"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "கார்ட்ரிட்ஜ்கள் பற்றி"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "K.B.Dharun Krishna <kbdharunkrishna@gmail.com>"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "இன்று"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "நேற்று"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "சேர்க்கப்பட்டது: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "ஒருபோதும் இல்லை"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "கடைசியாக விளையாடியது: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "விண்ணப்பி"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "புதிய விளையாட்டைச் சேர்க்கவும்"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "உறுதிப்படுத்தவும்"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "கோப்பு.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "பயன்பாடு"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\பாதை\\டு \\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/பாதை/டு/ {}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -475,106 +473,152 @@ msgstr ""
|
||||
"\n"
|
||||
"பாதையில் இடைவெளிகள் இருந்தால், அதை இரட்டை மேற்கோள்களில் போர்த்துவதை உறுதிசெய்யவும்!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை"
|
||||
msgstr "விருப்பங்களைப் பயன்படுத்த முடியவில்லை"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} தொடங்கப்பட்டது"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} மறைக்கப்பட்டுள்ளது"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} மறைக்கப்படாதது"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} அகற்றப்பட்டது"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "அனைத்து விளையாட்டுகளும் அகற்றப்பட்டன"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "தற்காலிக சேமிப்பு கிடைக்கவில்லை"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "இருப்பிடத்தை அமைக்கவும்"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்த API விசை தேவை. நீங்கள் ஒன்றை {}இங்கே{} "
|
||||
"உருவாக்கலாம்."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "நிறுவல் கிடைக்கவில்லை"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "{} உள்ளமைவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "இருப்பிடத்தை அமைக்கவும்"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "நிராகரி"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐ அங்கீகரிக்க முடியவில்லை"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "அட்டைகளை இறக்குமதி செய்கிறது…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "உங்கள் API விசையை விருப்பங்களில் சரிபார்க்கவும்"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "புதிய விளையாட்டுகள் எதுவும் கண்டறியப்படவில்லை"
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 விளையாட்டு இறக்குமதி செய்யப்பட்டது"
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "உறுதிப்படுத்தவும்"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) உடன் இணைக்க முடியவில்லை"
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "லூட்ரிஸ் நிறுவல் இடம்"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "இன்று"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "நேற்று"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "தற்காலிக சேமிப்பு கிடைக்கவில்லை"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "அட்டைகளை இறக்குமதி செய்கிறது…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "புதிய விளையாட்டுகள் எதுவும் கண்டறியப்படவில்லை"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 விளையாட்டு இறக்குமதி செய்யப்பட்டது"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
|
||||
@@ -686,9 +730,6 @@ msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) உட
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்"
|
||||
|
||||
|
||||
357
po/tr.po
357
po/tr.po
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
|
||||
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
|
||||
"Language-Team: Turkish <https://hosted.weblate.org/projects/cartridges/"
|
||||
@@ -19,8 +19,8 @@ msgstr ""
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Kartuşlar"
|
||||
|
||||
@@ -53,75 +53,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Kütüphane"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Oyun Ayrıntılarını Düzenle"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Oyun Ayrıntıları"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Tercihler"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "İptal"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr "Yeni Kapak"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr "Kapağı Sil"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Başlık"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Oyunun başlığı"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Geliştirici"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Geliştirici veya yayıncı (isteğe bağlı)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Yürütülebilir"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Oyun başlatılırken açılacak dosya veya çalıştırılacak komut"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr "Daha Fazla Bilgi"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Düzenle"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Gizle"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Kaldır"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Göster"
|
||||
|
||||
@@ -133,8 +132,8 @@ msgstr "Genel"
|
||||
msgid "Quit"
|
||||
msgstr "Çık"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Ara"
|
||||
|
||||
@@ -146,7 +145,7 @@ msgstr "Tercihleri göster"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Kısayollar"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Geri Al"
|
||||
|
||||
@@ -174,7 +173,7 @@ msgstr "Gizli oyunları göster"
|
||||
msgid "Remove game"
|
||||
msgstr "Oyunu kaldır"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Davranış"
|
||||
|
||||
@@ -190,7 +189,7 @@ msgstr "Kapak Görüntüsü Oyunu Başlatır"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Kapak görüntüsünün ve oyna düğmesinin davranışını değiştirir"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Görüntüler"
|
||||
|
||||
@@ -212,99 +211,110 @@ msgstr "Tehlikeli Bölge"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Tüm Oyunları Kaldır"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "İçe Aktar"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Kaynaklar"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Steam Kurulu Konumu"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
#, fuzzy
|
||||
#| msgid "itch Install Location"
|
||||
msgid "Install Location"
|
||||
msgstr "itch Kurulu Konumu"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Lutris Kurulu Konumu"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
#: data/gtk/preferences.blp:119
|
||||
#, fuzzy
|
||||
#| msgid "Lutris Cache Location"
|
||||
msgid "Cache Location"
|
||||
msgstr "Lutris Önbellek Konumu"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Steam Oyunlarını İçe Aktar"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
#, fuzzy
|
||||
#| msgid "Import Steam Games"
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Steam Oyunlarını İçe Aktar"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Heroic Kurulu Konumu"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Epic Oyunlarını İçe Aktar"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "GOG Oyunlarını İçe Aktar"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Yandan Yüklenmiş Oyunları İçe Aktar"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Şişeler"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Şişeler Kurulu Konumu"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "itch Kurulu Konumu"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr ""
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
#, fuzzy
|
||||
#| msgid "Game Launcher"
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Oyun Başlatıcı"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Kimlik Doğrulaması"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "API anahtarı"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "SteamGridDB Kullan"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Oyun eklerken veya içe aktarırken görüntüleri indir"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Resmî Görsellere Yeğle"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Hareketli Görselleri Yeğle"
|
||||
|
||||
@@ -316,142 +326,134 @@ msgstr "Hiçbir Oyun Bulunamadı"
|
||||
msgid "Try a different search."
|
||||
msgstr "Başka arama dene."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Oyun Yok"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Oyun eklemek için + düğmesini kullanın."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Gizli Oyun Yok"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Gizlediğiniz oyunlar burada belirecek."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Geri"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Oyun Başlığı"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Oyna"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Oyun Ekle"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Ana Menü"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Gizli Oyunlar"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Sırala"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "A-Z"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Z-A"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "En Yeni"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "En Eski"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Son Oynanan"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Gizlileri Göster"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Klavye Kısayolları"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Kartuşlar Hakkında"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "Sabri Ünal <libreajans@gmail.com>"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Bugün"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Dün"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Eklendi: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Asla"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Son oynanma: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Uygula"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Yeni Oyun Ekle"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Doğrula"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "dosya.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "program"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\yol\\klasör\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/yol/klasör/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -473,103 +475,148 @@ msgstr ""
|
||||
"\n"
|
||||
"Yol boşluk içeriyorsa, çift tırnak içine aldığınızdan emin olun!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Oyun Eklenemedi"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Oyun başlığı boş olamaz."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Çalıştırılabilir boş olamaz."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Tercihler Uygulanamadı"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} başlatıldı"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} gizli"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} görünür"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} kaldırıldı"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Tüm oyunlar kaldırıldı"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Önbellek Bulunamadı"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Lutris önbellek dizinini seç."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Konum Ayarla"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"SteamGridDBʼyi kullanmak için API anahtarı gereklidir. {}Buradan{} bir tane "
|
||||
"oluşturabilirsiniz."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
#, fuzzy
|
||||
#| msgid "Installation Not Found"
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Kurulum Bulunamadı"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
#: src/preferences.py:286
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select a valid directory."
|
||||
msgstr "{} veri dizinini seç."
|
||||
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr ""
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "{} veri dizinini seç."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} configuration directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "{} yapılandırma dizinini seç."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} data directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "{} veri dizinini seç."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Konum Ayarla"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Vazgeç"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Oyunlar İçe Aktarılıyor…"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Kapaklar İçe Aktarılıyor…"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Yeni oyun bulunamadı"
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 oyun içe aktarıldı"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} oyun içe aktarıldı"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
#, fuzzy
|
||||
#| msgid "Couldn't Connect to SteamGridDB"
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "SteamGridDBʼye bağlanılamadı"
|
||||
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Cache Not Found"
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Önbellek Bulunamadı"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Confirm"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Doğrula"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Steam Kurulu Konumu"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Lutris Kurulu Konumu"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Heroic Kurulu Konumu"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Şişeler Kurulu Konumu"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Bugün"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Dün"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Lutris önbellek dizinini seç."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Oyunlar İçe Aktarılıyor…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Kapaklar İçe Aktarılıyor…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Yeni oyun bulunamadı"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 oyun içe aktarıldı"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} oyun içe aktarıldı"
|
||||
|
||||
376
po/uk.po
376
po/uk.po
@@ -4,28 +4,29 @@
|
||||
# kramo <contact@kramo.hu>, 2023.
|
||||
# Dan <denqwerta@gmail.com>, 2023.
|
||||
# Вова Смірнов <vovasmirnon5895@gmail.com>, 2023.
|
||||
# Dan <jonweblin2205@protonmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
|
||||
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
|
||||
"Last-Translator: Dan <denqwerta@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-07-05 14:36+0200\n"
|
||||
"PO-Revision-Date: 2023-07-01 22:51+0000\n"
|
||||
"Last-Translator: Dan <jonweblin2205@protonmail.com>\n"
|
||||
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/uk/>\n"
|
||||
"Language: uk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
|
||||
#: src/main.py:109
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
|
||||
#: src/main.py:162
|
||||
msgid "Cartridges"
|
||||
msgstr "Cartridges"
|
||||
msgstr "Картриджі"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:4
|
||||
msgid "Game Launcher"
|
||||
@@ -47,7 +48,7 @@ msgid ""
|
||||
"necessary. You can sort and hide games or download cover art from "
|
||||
"SteamGridDB."
|
||||
msgstr ""
|
||||
"Cartridges - це простий лаунчер для всіх ваших ігор. Він підтримує імпорт "
|
||||
"Картриджі - це простий лаунчер для всіх ваших ігор. Він підтримує імпорт "
|
||||
"ігор з Steam, Lutris, Heroic тощо без необхідності входу в систему. Ви "
|
||||
"можете сортувати та приховувати ігри або завантажувати обкладинки з "
|
||||
"SteamGridDB."
|
||||
@@ -56,75 +57,74 @@ msgstr ""
|
||||
msgid "Library"
|
||||
msgstr "Бібліотека"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
|
||||
msgid "Edit Game Details"
|
||||
msgstr "Редагувати інформацію про гру"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
|
||||
msgid "Game Details"
|
||||
msgstr "Подробиці гри"
|
||||
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
|
||||
#: src/utils/importer.py:92 src/utils/importer.py:124
|
||||
#: src/utils/steamgriddb.py:115
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
|
||||
#: src/details_window.py:239
|
||||
msgid "Preferences"
|
||||
msgstr "Параметри"
|
||||
|
||||
#: data/gtk/details_window.blp:25
|
||||
#: data/gtk/details-window.blp:25
|
||||
msgid "Cancel"
|
||||
msgstr "Скасувати"
|
||||
|
||||
#: data/gtk/details_window.blp:57
|
||||
#: data/gtk/details-window.blp:57
|
||||
msgid "New Cover"
|
||||
msgstr "Нова обкладинка"
|
||||
|
||||
#: data/gtk/details_window.blp:75
|
||||
#: data/gtk/details-window.blp:75
|
||||
msgid "Delete Cover"
|
||||
msgstr "Видалити обкладинку"
|
||||
|
||||
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
|
||||
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
|
||||
#: data/gtk/game.blp:80
|
||||
msgid "Title"
|
||||
msgstr "Назва"
|
||||
|
||||
#: data/gtk/details_window.blp:102
|
||||
#: data/gtk/details-window.blp:102
|
||||
msgid "The title of the game"
|
||||
msgstr "Назва гри"
|
||||
|
||||
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
|
||||
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
|
||||
msgid "Developer"
|
||||
msgstr "Розробник"
|
||||
|
||||
#: data/gtk/details_window.blp:113
|
||||
#: data/gtk/details-window.blp:113
|
||||
msgid "The developer or publisher (optional)"
|
||||
msgstr "Розробник або видавець (необов'язково)"
|
||||
|
||||
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
|
||||
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
|
||||
msgid "Executable"
|
||||
msgstr "Виконуваний"
|
||||
|
||||
#: data/gtk/details_window.blp:124
|
||||
#: data/gtk/details-window.blp:124
|
||||
msgid "File to open or command to run when launching the game"
|
||||
msgstr "Файл для відкриття або команда для запуску під час запуску гри"
|
||||
|
||||
#: data/gtk/details_window.blp:130
|
||||
#: data/gtk/details-window.blp:130
|
||||
msgid "More Info"
|
||||
msgstr "Більше інформації"
|
||||
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
|
||||
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
|
||||
msgid "Edit"
|
||||
msgstr "Редагувати"
|
||||
|
||||
#: data/gtk/game.blp:107 src/window.py:205
|
||||
#: data/gtk/game.blp:107 src/window.py:171
|
||||
msgid "Hide"
|
||||
msgstr "Приховати"
|
||||
|
||||
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
|
||||
#: data/gtk/window.blp:210
|
||||
#: data/gtk/window.blp:209
|
||||
msgid "Remove"
|
||||
msgstr "Видалити"
|
||||
|
||||
#: data/gtk/game.blp:126 src/window.py:207
|
||||
#: data/gtk/game.blp:126 src/window.py:173
|
||||
msgid "Unhide"
|
||||
msgstr "Показати"
|
||||
|
||||
@@ -136,8 +136,8 @@ msgstr "Загальний"
|
||||
msgid "Quit"
|
||||
msgstr "Вийти"
|
||||
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
|
||||
#: data/gtk/window.blp:324
|
||||
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
|
||||
#: data/gtk/window.blp:323
|
||||
msgid "Search"
|
||||
msgstr "Пошук"
|
||||
|
||||
@@ -149,7 +149,7 @@ msgstr "Показати параметри"
|
||||
msgid "Shortcuts"
|
||||
msgstr "Ярлики"
|
||||
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
|
||||
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:112
|
||||
msgid "Undo"
|
||||
msgstr "Відмінити"
|
||||
|
||||
@@ -177,7 +177,7 @@ msgstr "Показати приховані ігри"
|
||||
msgid "Remove game"
|
||||
msgstr "Видалити гру"
|
||||
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
|
||||
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:268
|
||||
msgid "Behavior"
|
||||
msgstr "Поведінка"
|
||||
|
||||
@@ -193,7 +193,7 @@ msgstr "Обкладинка запускає гру"
|
||||
msgid "Swaps the behavior of the cover image and the play button"
|
||||
msgstr "Міняє місцями поведінку зображення обкладинки та кнопки відтворення"
|
||||
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:84
|
||||
#: data/gtk/preferences.blp:36 src/details_window.py:81
|
||||
msgid "Images"
|
||||
msgstr "Зображення"
|
||||
|
||||
@@ -213,99 +213,102 @@ msgstr "Небезпечна зона"
|
||||
msgid "Remove All Games"
|
||||
msgstr "Видалити всі ігри"
|
||||
|
||||
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
|
||||
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
|
||||
msgid "Import"
|
||||
msgstr "Імпорт"
|
||||
|
||||
#: data/gtk/preferences.blp:73
|
||||
#: data/gtk/preferences.blp:89
|
||||
msgid "Sources"
|
||||
msgstr "Джерела"
|
||||
|
||||
#: data/gtk/preferences.blp:76
|
||||
#: data/gtk/preferences.blp:92
|
||||
msgid "Steam"
|
||||
msgstr "Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:80
|
||||
msgid "Steam Install Location"
|
||||
msgstr "Місце встановлення Steam"
|
||||
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
|
||||
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:192
|
||||
#: data/gtk/preferences.blp:206 data/gtk/preferences.blp:220
|
||||
#: data/gtk/preferences.blp:234
|
||||
msgid "Install Location"
|
||||
msgstr "Місце встановлення"
|
||||
|
||||
#: data/gtk/preferences.blp:90
|
||||
#: data/gtk/preferences.blp:106
|
||||
msgid "Lutris"
|
||||
msgstr "Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:94
|
||||
msgid "Lutris Install Location"
|
||||
msgstr "Місце встановлення Lutris"
|
||||
#: data/gtk/preferences.blp:119
|
||||
msgid "Cache Location"
|
||||
msgstr "Розташування кешу"
|
||||
|
||||
#: data/gtk/preferences.blp:103
|
||||
msgid "Lutris Cache Location"
|
||||
msgstr "Розташування сховища Lutris"
|
||||
|
||||
#: data/gtk/preferences.blp:112
|
||||
#: data/gtk/preferences.blp:128
|
||||
msgid "Import Steam Games"
|
||||
msgstr "Імпорт ігор Steam"
|
||||
|
||||
#: data/gtk/preferences.blp:122
|
||||
#: data/gtk/preferences.blp:137
|
||||
msgid "Import Flatpak Games"
|
||||
msgstr "Імпортувати ігри Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:147
|
||||
msgid "Heroic"
|
||||
msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:126
|
||||
msgid "Heroic Install Location"
|
||||
msgstr "Місце встановлення Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:135
|
||||
#: data/gtk/preferences.blp:160
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Імпорт Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:144
|
||||
#: data/gtk/preferences.blp:169
|
||||
msgid "Import GOG Games"
|
||||
msgstr "Імпорт ігор GOG"
|
||||
|
||||
#: data/gtk/preferences.blp:153
|
||||
#: data/gtk/preferences.blp:178
|
||||
msgid "Import Sideloaded Games"
|
||||
msgstr "Імпорт сторонніх ігор"
|
||||
|
||||
#: data/gtk/preferences.blp:163
|
||||
#: data/gtk/preferences.blp:188
|
||||
msgid "Bottles"
|
||||
msgstr "Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:167
|
||||
msgid "Bottles Install Location"
|
||||
msgstr "Місце встановлення Bottles"
|
||||
|
||||
#: data/gtk/preferences.blp:177
|
||||
#: data/gtk/preferences.blp:202
|
||||
msgid "itch"
|
||||
msgstr "itch"
|
||||
|
||||
#: data/gtk/preferences.blp:181
|
||||
msgid "itch Install Location"
|
||||
msgstr "Місце встановлення itch"
|
||||
#: data/gtk/preferences.blp:216
|
||||
msgid "Legendary"
|
||||
msgstr "Легендарний"
|
||||
|
||||
#: data/gtk/preferences.blp:194
|
||||
#: data/gtk/preferences.blp:230
|
||||
msgid "Flatpak"
|
||||
msgstr "Flatpak"
|
||||
|
||||
#: data/gtk/preferences.blp:243
|
||||
msgid "Import Game Launchers"
|
||||
msgstr "Імпортувати ігрові лаунчери"
|
||||
|
||||
#: data/gtk/preferences.blp:256
|
||||
msgid "SteamGridDB"
|
||||
msgstr "SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:198
|
||||
#: data/gtk/preferences.blp:260
|
||||
msgid "Authentication"
|
||||
msgstr "Аутентифікація"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
#: data/gtk/preferences.blp:263
|
||||
msgid "API Key"
|
||||
msgstr "Ключ API"
|
||||
|
||||
#: data/gtk/preferences.blp:209
|
||||
#: data/gtk/preferences.blp:271
|
||||
msgid "Use SteamGridDB"
|
||||
msgstr "Використовувати SteamGridDB"
|
||||
|
||||
#: data/gtk/preferences.blp:210
|
||||
#: data/gtk/preferences.blp:272
|
||||
msgid "Download images when adding or importing games"
|
||||
msgstr "Завантаження зображень під час додавання або імпорту ігор"
|
||||
|
||||
#: data/gtk/preferences.blp:219
|
||||
#: data/gtk/preferences.blp:281
|
||||
msgid "Prefer Over Official Images"
|
||||
msgstr "Надавати перевагу офіційним зображенням"
|
||||
|
||||
#: data/gtk/preferences.blp:228
|
||||
#: data/gtk/preferences.blp:290
|
||||
msgid "Prefer Animated Images"
|
||||
msgstr "Надавати перевагу анімованим зображенням"
|
||||
|
||||
@@ -317,142 +320,134 @@ msgstr "Ігор не знайдено"
|
||||
msgid "Try a different search."
|
||||
msgstr "Спробуйте інший пошук."
|
||||
|
||||
#: data/gtk/window.blp:22
|
||||
#: data/gtk/window.blp:21
|
||||
msgid "No Games"
|
||||
msgstr "Ніяких ігор"
|
||||
|
||||
#: data/gtk/window.blp:23
|
||||
#: data/gtk/window.blp:22
|
||||
msgid "Use the + button to add games."
|
||||
msgstr "Використовуйте кнопку +, щоб додати гру."
|
||||
|
||||
#: data/gtk/window.blp:41
|
||||
#: data/gtk/window.blp:40
|
||||
msgid "No Hidden Games"
|
||||
msgstr "Ніяких прихованих ігор"
|
||||
|
||||
#: data/gtk/window.blp:42
|
||||
#: data/gtk/window.blp:41
|
||||
msgid "Games you hide will appear here."
|
||||
msgstr "Ігри, які ви сховали, з'являться тут."
|
||||
|
||||
#: data/gtk/window.blp:65 data/gtk/window.blp:305
|
||||
#: data/gtk/window.blp:64 data/gtk/window.blp:304
|
||||
msgid "Back"
|
||||
msgstr "Назад"
|
||||
|
||||
#: data/gtk/window.blp:122
|
||||
#: data/gtk/window.blp:121
|
||||
msgid "Game Title"
|
||||
msgstr "Назва гри"
|
||||
|
||||
#: data/gtk/window.blp:177
|
||||
#: data/gtk/window.blp:176
|
||||
msgid "Play"
|
||||
msgstr "Грати"
|
||||
|
||||
#: data/gtk/window.blp:244 data/gtk/window.blp:436
|
||||
#: data/gtk/window.blp:243 data/gtk/window.blp:435
|
||||
msgid "Add Game"
|
||||
msgstr "Додати гру"
|
||||
|
||||
#: data/gtk/window.blp:251 data/gtk/window.blp:317
|
||||
#: data/gtk/window.blp:250 data/gtk/window.blp:316
|
||||
msgid "Main Menu"
|
||||
msgstr "Головне меню"
|
||||
|
||||
#: data/gtk/window.blp:312
|
||||
#: data/gtk/window.blp:311
|
||||
msgid "Hidden Games"
|
||||
msgstr "Приховані ігри"
|
||||
|
||||
#: data/gtk/window.blp:375
|
||||
#: data/gtk/window.blp:374
|
||||
msgid "Sort"
|
||||
msgstr "Сортувати"
|
||||
|
||||
#: data/gtk/window.blp:378
|
||||
#: data/gtk/window.blp:377
|
||||
msgid "A-Z"
|
||||
msgstr "А-Я"
|
||||
|
||||
#: data/gtk/window.blp:384
|
||||
#: data/gtk/window.blp:383
|
||||
msgid "Z-A"
|
||||
msgstr "Я-А"
|
||||
|
||||
#: data/gtk/window.blp:390
|
||||
#: data/gtk/window.blp:389
|
||||
msgid "Newest"
|
||||
msgstr "Найновіші"
|
||||
|
||||
#: data/gtk/window.blp:396
|
||||
#: data/gtk/window.blp:395
|
||||
msgid "Oldest"
|
||||
msgstr "Найстаріші"
|
||||
|
||||
#: data/gtk/window.blp:402
|
||||
#: data/gtk/window.blp:401
|
||||
msgid "Last Played"
|
||||
msgstr "Остання гра"
|
||||
|
||||
#: data/gtk/window.blp:409
|
||||
#: data/gtk/window.blp:408
|
||||
msgid "Show Hidden"
|
||||
msgstr "Показати приховане"
|
||||
|
||||
#: data/gtk/window.blp:422
|
||||
#: data/gtk/window.blp:421
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Комбінації клавіш"
|
||||
|
||||
#: data/gtk/window.blp:427
|
||||
#: data/gtk/window.blp:426
|
||||
msgid "About Cartridges"
|
||||
msgstr "Про Cartridges"
|
||||
msgstr "Про Картриджі"
|
||||
|
||||
#. Translators: Replace this with your name for it to show up in the about window
|
||||
#: src/main.py:127
|
||||
#: src/main.py:180
|
||||
msgid "translator_credits"
|
||||
msgstr "kefir2105"
|
||||
|
||||
#: src/window.py:187
|
||||
msgid "Today"
|
||||
msgstr "Сьогодні"
|
||||
|
||||
#: src/window.py:189
|
||||
msgid "Yesterday"
|
||||
msgstr "Вчора"
|
||||
|
||||
#. The variable is the date when the game was added
|
||||
#: src/window.py:228
|
||||
#: src/window.py:194
|
||||
msgid "Added: {}"
|
||||
msgstr "Додано: {}"
|
||||
|
||||
#: src/window.py:231
|
||||
#: src/window.py:197
|
||||
msgid "Never"
|
||||
msgstr "Ніколи"
|
||||
|
||||
#. The variable is the date when the game was last played
|
||||
#: src/window.py:235
|
||||
#: src/window.py:201
|
||||
msgid "Last played: {}"
|
||||
msgstr "Останній раз грали: {}"
|
||||
msgstr "Востаннє грали: {}"
|
||||
|
||||
#: src/details_window.py:75
|
||||
#: src/details_window.py:72
|
||||
msgid "Apply"
|
||||
msgstr "Застосувати"
|
||||
|
||||
#: src/details_window.py:81
|
||||
#: src/details_window.py:78
|
||||
msgid "Add New Game"
|
||||
msgstr "Додати нову гру"
|
||||
|
||||
#: src/details_window.py:82
|
||||
#: src/details_window.py:79
|
||||
msgid "Confirm"
|
||||
msgstr "Підтвердити"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: src/details_window.py:94
|
||||
#: src/details_window.py:92
|
||||
msgid "file.txt"
|
||||
msgstr "file.txt"
|
||||
|
||||
#. As in software
|
||||
#: src/details_window.py:96
|
||||
#: src/details_window.py:94
|
||||
msgid "program"
|
||||
msgstr "програма"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:101 src/details_window.py:103
|
||||
#: src/details_window.py:99 src/details_window.py:101
|
||||
msgid "C:\\path\\to\\{}"
|
||||
msgstr "C:\\шлях\\до\\{}"
|
||||
|
||||
#. Translate this string as you would translate "path to {}"
|
||||
#: src/details_window.py:107 src/details_window.py:109
|
||||
#: src/details_window.py:105 src/details_window.py:107
|
||||
msgid "/path/to/{}"
|
||||
msgstr "/path/to/{}"
|
||||
|
||||
#: src/details_window.py:113
|
||||
#: src/details_window.py:112
|
||||
msgid ""
|
||||
"To launch the executable \"{}\", use the command:\n"
|
||||
"\n"
|
||||
@@ -475,106 +470,156 @@ msgstr ""
|
||||
"\n"
|
||||
"Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:149
|
||||
#: src/details_window.py:147 src/details_window.py:153
|
||||
msgid "Couldn't Add Game"
|
||||
msgstr "Не вдалося додати гру"
|
||||
|
||||
#: src/details_window.py:143 src/details_window.py:176
|
||||
#: src/details_window.py:147 src/details_window.py:181
|
||||
msgid "Game title cannot be empty."
|
||||
msgstr "Назва гри не може бути порожньою."
|
||||
|
||||
#: src/details_window.py:149 src/details_window.py:184
|
||||
#: src/details_window.py:153 src/details_window.py:189
|
||||
msgid "Executable cannot be empty."
|
||||
msgstr "Виконуваний файл не може бути порожнім."
|
||||
|
||||
#: src/details_window.py:175 src/details_window.py:183
|
||||
#: src/details_window.py:180 src/details_window.py:188
|
||||
msgid "Couldn't Apply Preferences"
|
||||
msgstr "Не вдалося застосувати параметри"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:208
|
||||
#: src/game.py:138
|
||||
msgid "{} launched"
|
||||
msgstr "{} запущено"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} hidden"
|
||||
msgstr "{} приховано"
|
||||
|
||||
#: src/game.py:220
|
||||
#: src/game.py:152
|
||||
msgid "{} unhidden"
|
||||
msgstr "{} показано"
|
||||
|
||||
#. The variable is the title of the game
|
||||
#: src/game.py:233
|
||||
#: src/game.py:169
|
||||
msgid "{} removed"
|
||||
msgstr "{} видалено"
|
||||
|
||||
#: src/preferences.py:97
|
||||
#: src/preferences.py:111
|
||||
msgid "All games removed"
|
||||
msgstr "Всі ігри видалено"
|
||||
|
||||
#: src/preferences.py:136
|
||||
msgid "Cache Not Found"
|
||||
msgstr "Кеш не знайдено"
|
||||
|
||||
#: src/preferences.py:137
|
||||
msgid "Select the Lutris cache directory."
|
||||
msgstr "Виберіть каталог кешу Lutris."
|
||||
|
||||
#: src/preferences.py:139 src/preferences.py:292
|
||||
msgid "Set Location"
|
||||
msgstr "Встановити місцезнаходження"
|
||||
|
||||
#: src/preferences.py:166
|
||||
#: src/preferences.py:159
|
||||
msgid ""
|
||||
"An API key is required to use SteamGridDB. You can generate one {}here{}."
|
||||
msgstr ""
|
||||
"Для використання SteamGridDB потрібен ключ API. Ви можете згенерувати його {}"
|
||||
"тут{}."
|
||||
|
||||
#: src/preferences.py:286
|
||||
#: src/preferences.py:284
|
||||
msgid "Installation Not Found"
|
||||
msgstr "Встановлення не знайдено"
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:288
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Виберіть каталог конфігурації {}."
|
||||
#: src/preferences.py:286
|
||||
msgid "Select a valid directory."
|
||||
msgstr "Виберіть правильний каталог."
|
||||
|
||||
#. The variable is the name of the game launcher
|
||||
#: src/preferences.py:290
|
||||
#: src/preferences.py:348
|
||||
msgid "Invalid Directory"
|
||||
msgstr "Неправильний каталог"
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:352
|
||||
msgid "Select the {} cache directory."
|
||||
msgstr "Виберіть каталог кешу {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:355
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} installation directory."
|
||||
msgid "Select the {} configuration directory."
|
||||
msgstr "Виберіть каталог встановлення {}."
|
||||
|
||||
#. The variable is the name of the source
|
||||
#: src/preferences.py:358
|
||||
#, fuzzy
|
||||
#| msgid "Select the {} cache directory."
|
||||
msgid "Select the {} data directory."
|
||||
msgstr "Виберіть каталог даних {}."
|
||||
msgstr "Виберіть каталог кешу {}."
|
||||
|
||||
#: src/preferences.py:364
|
||||
msgid "Set Location"
|
||||
msgstr "Встановити місцезнаходження"
|
||||
|
||||
#: src/utils/create_dialog.py:25
|
||||
msgid "Dismiss"
|
||||
msgstr "Відхилити"
|
||||
|
||||
#: src/utils/importer.py:41
|
||||
msgid "Importing Games…"
|
||||
msgstr "Імпорт ігор…"
|
||||
#: src/store/managers/sgdb_manager.py:47
|
||||
msgid "Couldn't Authenticate SteamGridDB"
|
||||
msgstr "Не вдалося автентифікувати SteamGridDB"
|
||||
|
||||
#: src/utils/importer.py:76
|
||||
msgid "Importing Covers…"
|
||||
msgstr "Імпорт обкладинок…"
|
||||
#: src/store/managers/sgdb_manager.py:48
|
||||
msgid "Verify your API key in preferences"
|
||||
msgstr "Перевірте свій API-ключ у параметрах"
|
||||
|
||||
#: src/utils/importer.py:91
|
||||
msgid "No new games found"
|
||||
msgstr "Нових ігор не знайдено"
|
||||
#, fuzzy
|
||||
#~| msgid "The Steam directory cannot be found."
|
||||
#~ msgid "Directory not Valid"
|
||||
#~ msgstr "Каталог Steam знайти неможливо."
|
||||
|
||||
#: src/utils/importer.py:98
|
||||
msgid "1 game imported"
|
||||
msgstr "1 гру імпортовано"
|
||||
#~ msgid "Data"
|
||||
#~ msgstr "Дані"
|
||||
|
||||
#. The variable is the number of games
|
||||
#: src/utils/importer.py:104
|
||||
msgid "{} games imported"
|
||||
msgstr "{} гри імпортовано"
|
||||
#~ msgid "Cache"
|
||||
#~ msgstr "Кеш"
|
||||
|
||||
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
|
||||
msgid "Couldn't Connect to SteamGridDB"
|
||||
msgstr "Не вдалося підключитися до SteamGridDB"
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Конфігурація"
|
||||
|
||||
#~ msgid "Invalid {} Location for {{}}"
|
||||
#~ msgstr "Недійсний {} Місце для {{}}"
|
||||
|
||||
#~ msgid "Pick a new one or disable the source in preferences"
|
||||
#~ msgstr "Виберіть новий або вимкніть джерело у параметрах"
|
||||
|
||||
#~ msgid "Steam Install Location"
|
||||
#~ msgstr "Місце встановлення Steam"
|
||||
|
||||
#~ msgid "Lutris Install Location"
|
||||
#~ msgstr "Місце встановлення Lutris"
|
||||
|
||||
#~ msgid "Heroic Install Location"
|
||||
#~ msgstr "Місце встановлення Heroic"
|
||||
|
||||
#~ msgid "Bottles Install Location"
|
||||
#~ msgstr "Місце встановлення Bottles"
|
||||
|
||||
#~ msgid "Today"
|
||||
#~ msgstr "Сьогодні"
|
||||
|
||||
#~ msgid "Yesterday"
|
||||
#~ msgstr "Вчора"
|
||||
|
||||
#~ msgid "Cache Not Found"
|
||||
#~ msgstr "Кеш не знайдено"
|
||||
|
||||
#~ msgid "Select the Lutris cache directory."
|
||||
#~ msgstr "Виберіть каталог кешу Lutris."
|
||||
|
||||
#~ msgid "Importing Games…"
|
||||
#~ msgstr "Імпорт ігор…"
|
||||
|
||||
#~ msgid "Importing Covers…"
|
||||
#~ msgstr "Імпорт обкладинок…"
|
||||
|
||||
#~ msgid "No new games found"
|
||||
#~ msgstr "Нових ігор не знайдено"
|
||||
|
||||
#~ msgid "1 game imported"
|
||||
#~ msgstr "1 гру імпортовано"
|
||||
|
||||
#~ msgid "{} games imported"
|
||||
#~ msgstr "{} гри імпортовано"
|
||||
|
||||
#~ msgid "Directory to use when importing games"
|
||||
#~ msgstr "Каталог для імпорту ігор"
|
||||
@@ -685,9 +730,6 @@ msgstr "Не вдалося підключитися до SteamGridDB"
|
||||
#~ msgid "No new games were found in the Steam library."
|
||||
#~ msgstr "У бібліотеці Steam не знайдено жодної нової гри."
|
||||
|
||||
#~ msgid "The Steam directory cannot be found."
|
||||
#~ msgstr "Каталог Steam знайти неможливо."
|
||||
|
||||
#~ msgid "Talking to Steam"
|
||||
#~ msgstr "Спілкування зі Steam"
|
||||
|
||||
|
||||
1
src/__builtins__.pyi
Normal file
1
src/__builtins__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
def _(_msg: str, /) -> str: ...
|
||||
@@ -55,6 +55,6 @@ if __name__ == "__main__":
|
||||
resource = Gio.Resource.load(os.path.join(pkgdatadir, "cartridges.gresource"))
|
||||
resource._register()
|
||||
|
||||
from cartridges import main
|
||||
from src import main
|
||||
|
||||
sys.exit(main.main(VERSION))
|
||||
|
||||
@@ -18,21 +18,21 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import os
|
||||
import shlex
|
||||
from time import time
|
||||
|
||||
from gi.repository import Adw, Gio, GLib, Gtk
|
||||
from PIL import Image
|
||||
|
||||
from . import shared
|
||||
from .create_dialog import create_dialog
|
||||
from .game import Game
|
||||
from .game_cover import GameCover
|
||||
from .save_cover import resize_cover, save_cover
|
||||
from .steamgriddb import SGDBSave
|
||||
from src import shared
|
||||
from src.errors.friendly_error import FriendlyError
|
||||
from src.game import Game
|
||||
from src.game_cover import GameCover
|
||||
from src.store.managers.sgdb_manager import SGDBManager
|
||||
from src.utils.create_dialog import create_dialog
|
||||
from src.utils.save_cover import resize_cover, save_cover
|
||||
|
||||
|
||||
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/details_window.ui")
|
||||
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/details-window.ui")
|
||||
class DetailsWindow(Adw.Window):
|
||||
__gtype_name__ = "DetailsWindow"
|
||||
|
||||
@@ -48,6 +48,7 @@ class DetailsWindow(Adw.Window):
|
||||
executable = Gtk.Template.Child()
|
||||
|
||||
exec_info_label = Gtk.Template.Child()
|
||||
exec_info_popover = Gtk.Template.Child()
|
||||
|
||||
apply_button = Gtk.Template.Child()
|
||||
|
||||
@@ -67,15 +68,11 @@ class DetailsWindow(Adw.Window):
|
||||
self.name.set_text(self.game.name)
|
||||
if self.game.developer:
|
||||
self.developer.set_text(self.game.developer)
|
||||
self.executable.set_text(
|
||||
self.game.executable
|
||||
if isinstance(self.game.executable, str)
|
||||
else shlex.join(self.game.executable)
|
||||
)
|
||||
self.executable.set_text(self.game.executable)
|
||||
self.apply_button.set_label(_("Apply"))
|
||||
|
||||
self.game_cover.new_cover(self.game.get_cover_path())
|
||||
if self.game_cover.get_pixbuf():
|
||||
if self.game_cover.get_texture():
|
||||
self.cover_button_delete_revealer.set_reveal_child(True)
|
||||
else:
|
||||
self.set_title(_("Add New Game"))
|
||||
@@ -84,6 +81,7 @@ class DetailsWindow(Adw.Window):
|
||||
image_filter = Gtk.FileFilter(name=_("Images"))
|
||||
for extension in Image.registered_extensions():
|
||||
image_filter.add_suffix(extension[1:])
|
||||
image_filter.add_suffix("svg") # Gdk.Texture supports .svg but PIL doesn't
|
||||
|
||||
file_filters = Gio.ListStore.new(Gtk.FileFilter)
|
||||
file_filters.append(image_filter)
|
||||
@@ -109,12 +107,18 @@ class DetailsWindow(Adw.Window):
|
||||
file_path = _("/path/to/{}").format(file_name)
|
||||
command = "xdg-open"
|
||||
|
||||
# pylint: disable=line-too-long
|
||||
exec_info_text = _(
|
||||
'To launch the executable "{}", use the command:\n\n<tt>"{}"</tt>\n\nTo open the file "{}" with the default application, use:\n\n<tt>{} "{}"</tt>\n\nIf the path contains spaces, make sure to wrap it in double quotes!'
|
||||
).format(exe_name, exe_path, file_name, command, file_path)
|
||||
|
||||
self.exec_info_label.set_label(exec_info_text)
|
||||
|
||||
def clear_info_selection(*_args):
|
||||
self.exec_info_label.select_region(-1, -1)
|
||||
|
||||
self.exec_info_popover.connect("show", clear_info_selection)
|
||||
|
||||
self.cover_button_delete.connect("clicked", self.delete_pixbuf)
|
||||
self.cover_button_edit.connect("clicked", self.choose_cover)
|
||||
self.apply_button.connect("clicked", self.apply_preferences)
|
||||
@@ -151,21 +155,23 @@ class DetailsWindow(Adw.Window):
|
||||
return
|
||||
|
||||
# Increment the number after the game id (eg. imported_1, imported_2)
|
||||
|
||||
source_id = "imported"
|
||||
numbers = [0]
|
||||
|
||||
for current_game in self.win.games:
|
||||
if "imported_" in current_game:
|
||||
numbers.append(int(current_game.replace("imported_", "")))
|
||||
game_id: str
|
||||
for game_id in shared.source_games[source_id]:
|
||||
prefix = "imported_"
|
||||
if not game_id.startswith(prefix):
|
||||
continue
|
||||
numbers.append(int(game_id.replace(prefix, "", 1)))
|
||||
game_number = max(numbers) + 1
|
||||
|
||||
self.game = Game(
|
||||
{
|
||||
"game_id": f"imported_{str(max(numbers) + 1)}",
|
||||
"game_id": f"imported_{game_number}",
|
||||
"hidden": False,
|
||||
"source": "imported",
|
||||
"source": source_id,
|
||||
"added": int(time()),
|
||||
"last_played": 0,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
else:
|
||||
@@ -200,16 +206,44 @@ class DetailsWindow(Adw.Window):
|
||||
self.game_cover.path,
|
||||
)
|
||||
|
||||
shared.store.add_game(self.game, {}, run_pipeline=False)
|
||||
self.game.save()
|
||||
self.game.update()
|
||||
|
||||
if not self.game_cover.get_pixbuf():
|
||||
SGDBSave({self.game})
|
||||
# TODO: this is fucked up (less than before)
|
||||
# Get a cover from SGDB if none is present
|
||||
if not self.game_cover.get_texture():
|
||||
self.game.set_loading(1)
|
||||
sgdb_manager: SGDBManager = shared.store.managers[SGDBManager]
|
||||
sgdb_manager.reset_cancellable()
|
||||
sgdb_manager.process_game(self.game, {}, self.update_cover_callback)
|
||||
|
||||
self.game_cover.pictures.remove(self.cover)
|
||||
|
||||
self.close()
|
||||
self.win.show_details_view(self.game)
|
||||
|
||||
def update_cover_callback(self, manager: SGDBManager):
|
||||
# Set the game as not loading
|
||||
self.game.set_loading(-1)
|
||||
self.game.update()
|
||||
|
||||
# Handle errors that occured
|
||||
for error in manager.collect_errors():
|
||||
# On auth error, inform the user
|
||||
if isinstance(error, FriendlyError):
|
||||
create_dialog(
|
||||
shared.win,
|
||||
error.title,
|
||||
error.subtitle,
|
||||
"open_preferences",
|
||||
_("Preferences"),
|
||||
).connect("response", self.update_cover_error_response)
|
||||
|
||||
def update_cover_error_response(self, _widget, response):
|
||||
if response == "open_preferences":
|
||||
shared.win.get_application().on_preferences_action(page_name="sgdb")
|
||||
|
||||
def focus_executable(self, *_args):
|
||||
self.set_focus(self.executable)
|
||||
|
||||
@@ -224,11 +258,11 @@ class DetailsWindow(Adw.Window):
|
||||
except GLib.GError:
|
||||
return
|
||||
|
||||
self.cover_button_delete_revealer.set_reveal_child(True)
|
||||
self.cover_changed = True
|
||||
|
||||
def resize():
|
||||
self.game_cover.new_cover(resize_cover(path))
|
||||
if cover := resize_cover(path):
|
||||
self.game_cover.new_cover(cover)
|
||||
self.cover_button_delete_revealer.set_reveal_child(True)
|
||||
self.cover_changed = True
|
||||
self.toggle_loading()
|
||||
|
||||
self.toggle_loading()
|
||||
|
||||
28
src/errors/error_producer.py
Normal file
28
src/errors/error_producer.py
Normal file
@@ -0,0 +1,28 @@
|
||||
from threading import Lock
|
||||
|
||||
|
||||
class ErrorProducer:
|
||||
"""
|
||||
A mixin for objects that produce errors.
|
||||
|
||||
Specifies the report_error and collect_errors methods in a thread-safe manner.
|
||||
"""
|
||||
|
||||
errors: list[Exception] = None
|
||||
errors_lock: Lock = None
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.errors = []
|
||||
self.errors_lock = Lock()
|
||||
|
||||
def report_error(self, error: Exception):
|
||||
"""Report an error"""
|
||||
with self.errors_lock:
|
||||
self.errors.append(error)
|
||||
|
||||
def collect_errors(self) -> list[Exception]:
|
||||
"""Collect and remove the errors produced by the object"""
|
||||
with self.errors_lock:
|
||||
errors = self.errors.copy()
|
||||
self.errors.clear()
|
||||
return errors
|
||||
47
src/errors/friendly_error.py
Normal file
47
src/errors/friendly_error.py
Normal file
@@ -0,0 +1,47 @@
|
||||
from typing import Iterable
|
||||
|
||||
|
||||
class FriendlyError(Exception):
|
||||
"""
|
||||
An error that is supposed to be shown to the user in a nice format
|
||||
|
||||
Use `raise ... from ...` to preserve context.
|
||||
"""
|
||||
|
||||
title_format: str
|
||||
title_args: Iterable[str]
|
||||
subtitle_format: str
|
||||
subtitle_args: Iterable[str]
|
||||
|
||||
@property
|
||||
def title(self) -> str:
|
||||
"""Get the gettext translated error title"""
|
||||
return self.title_format.format(self.title_args)
|
||||
|
||||
@property
|
||||
def subtitle(self) -> str:
|
||||
"""Get the gettext translated error subtitle"""
|
||||
return self.subtitle_format.format(self.subtitle_args)
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
title: str,
|
||||
subtitle: str,
|
||||
title_args: Iterable[str] = None,
|
||||
subtitle_args: Iterable[str] = None,
|
||||
) -> None:
|
||||
"""Create a friendly error
|
||||
|
||||
:param str title: The error's title, translatable with gettext
|
||||
:param str subtitle: The error's subtitle, translatable with gettext
|
||||
"""
|
||||
super().__init__()
|
||||
if title is not None:
|
||||
self.title_format = title
|
||||
if subtitle is not None:
|
||||
self.subtitle_format = subtitle
|
||||
self.title_args = title_args if title_args else ()
|
||||
self.subtitle_args = subtitle_args if subtitle_args else ()
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"{self.title} - {self.subtitle}"
|
||||
139
src/game.py
139
src/game.py
@@ -17,20 +17,20 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import shlex
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
from gi.repository import Adw, Gio, Gtk
|
||||
from gi.repository import Adw, GLib, GObject, Gtk
|
||||
|
||||
from . import shared
|
||||
from .game_cover import GameCover
|
||||
from src import shared
|
||||
|
||||
|
||||
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui")
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/game.ui")
|
||||
class Game(Gtk.Box):
|
||||
__gtype_name__ = "Game"
|
||||
|
||||
@@ -52,114 +52,47 @@ class Game(Gtk.Box):
|
||||
executable = None
|
||||
game_id = None
|
||||
source = None
|
||||
hidden = None
|
||||
last_played = None
|
||||
hidden = False
|
||||
last_played = 0
|
||||
name = None
|
||||
developer = None
|
||||
removed = None
|
||||
blacklisted = None
|
||||
removed = False
|
||||
blacklisted = False
|
||||
game_cover = None
|
||||
version = 0
|
||||
|
||||
def __init__(self, data, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
||||
self.win = shared.win
|
||||
self.app = self.win.get_application()
|
||||
self.version = shared.spec_version
|
||||
self.version = shared.SPEC_VERSION
|
||||
|
||||
self.update_values(data)
|
||||
|
||||
self.win.games[self.game_id] = self
|
||||
|
||||
self.set_play_icon()
|
||||
|
||||
self.event_contoller_motion = Gtk.EventControllerMotion.new()
|
||||
self.add_controller(self.event_contoller_motion)
|
||||
self.event_contoller_motion.connect("enter", self.toggle_play, False)
|
||||
self.event_contoller_motion.connect("leave", self.toggle_play, None, None)
|
||||
|
||||
self.cover_button.connect("clicked", self.main_button_clicked, False)
|
||||
self.play_button.connect("clicked", self.main_button_clicked, True)
|
||||
|
||||
shared.schema.connect("changed", self.schema_changed)
|
||||
|
||||
def update(self):
|
||||
if self.get_parent():
|
||||
self.get_parent().get_parent().remove(self)
|
||||
if self.get_parent():
|
||||
self.get_parent().set_child()
|
||||
|
||||
self.menu_button.set_menu_model(
|
||||
self.hidden_game_options if self.hidden else self.game_options
|
||||
)
|
||||
|
||||
self.title.set_label(self.name)
|
||||
|
||||
self.menu_button.get_popover().connect(
|
||||
"notify::visible", self.toggle_play, None
|
||||
)
|
||||
self.menu_button.get_popover().connect(
|
||||
"notify::visible", self.win.set_active_game, self
|
||||
)
|
||||
|
||||
if self.game_id in self.win.game_covers:
|
||||
self.game_cover = self.win.game_covers[self.game_id]
|
||||
self.game_cover.add_picture(self.cover)
|
||||
else:
|
||||
self.game_cover = GameCover({self.cover}, self.get_cover_path())
|
||||
self.win.game_covers[self.game_id] = self.game_cover
|
||||
|
||||
if (
|
||||
self.win.stack.get_visible_child() == self.win.details_view
|
||||
and self.win.active_game == self
|
||||
):
|
||||
self.win.show_details_view(self)
|
||||
|
||||
if not self.removed and not self.blacklisted:
|
||||
if self.hidden:
|
||||
self.win.hidden_library.append(self)
|
||||
else:
|
||||
self.win.library.append(self)
|
||||
self.get_parent().set_focusable(False)
|
||||
|
||||
self.win.set_library_child()
|
||||
|
||||
def update_values(self, data):
|
||||
for key, value in data.items():
|
||||
# Convert executables to strings
|
||||
if key == "executable" and isinstance(value, list):
|
||||
value = shlex.join(value)
|
||||
setattr(self, key, value)
|
||||
|
||||
def update(self):
|
||||
self.emit("update-ready", {})
|
||||
|
||||
def save(self):
|
||||
shared.games_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
attrs = (
|
||||
"added",
|
||||
"executable",
|
||||
"game_id",
|
||||
"source",
|
||||
"hidden",
|
||||
"last_played",
|
||||
"name",
|
||||
"developer",
|
||||
"removed",
|
||||
"blacklisted",
|
||||
"version",
|
||||
)
|
||||
|
||||
# TODO: remove for 2.0
|
||||
attrs = list(attrs)
|
||||
if not self.removed:
|
||||
attrs.remove("removed")
|
||||
if not self.blacklisted:
|
||||
attrs.remove("blacklisted")
|
||||
|
||||
json.dump(
|
||||
{attr: getattr(self, attr) for attr in attrs if attr},
|
||||
(shared.games_dir / f"{self.game_id}.json").open("w"),
|
||||
indent=4,
|
||||
sort_keys=True,
|
||||
)
|
||||
|
||||
self.update()
|
||||
self.emit("save-ready", {})
|
||||
|
||||
def create_toast(self, title, action=None):
|
||||
toast = Adw.Toast.new(title.format(self.name))
|
||||
@@ -180,19 +113,16 @@ class Game(Gtk.Box):
|
||||
def launch(self):
|
||||
self.last_played = int(time())
|
||||
self.save()
|
||||
|
||||
string = (
|
||||
self.executable
|
||||
if isinstance(self.executable, str)
|
||||
else shlex.join(self.executable)
|
||||
)
|
||||
self.update()
|
||||
|
||||
args = (
|
||||
"flatpak-spawn --host /bin/sh -c " + shlex.quote(string) # Flatpak
|
||||
if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges"
|
||||
else string # Others
|
||||
"flatpak-spawn --host /bin/sh -c " + shlex.quote(self.executable) # Flatpak
|
||||
if os.getenv("FLATPAK_ID") == shared.APP_ID
|
||||
else self.executable # Others
|
||||
)
|
||||
|
||||
logging.info("Starting %s: %s", self.name, str(args))
|
||||
# pylint: disable=consider-using-with
|
||||
subprocess.Popen(
|
||||
args,
|
||||
cwd=Path.home(),
|
||||
@@ -201,7 +131,7 @@ class Game(Gtk.Box):
|
||||
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0,
|
||||
)
|
||||
|
||||
if Gio.Settings.new("hu.kramo.Cartridges").get_boolean("exit-after-launch"):
|
||||
if shared.schema.get_boolean("exit-after-launch"):
|
||||
self.app.quit()
|
||||
|
||||
# The variable is the title of the game
|
||||
@@ -214,10 +144,14 @@ class Game(Gtk.Box):
|
||||
if self.win.stack.get_visible_child() == self.win.details_view:
|
||||
self.win.on_go_back_action()
|
||||
|
||||
self.update()
|
||||
|
||||
if toast:
|
||||
self.create_toast(
|
||||
# The variable is the title of the game
|
||||
(_("{} hidden") if self.hidden else _("{} unhidden")).format(self.name),
|
||||
(_("{} hidden") if self.hidden else _("{} unhidden")).format(
|
||||
GLib.markup_escape_text(self.name)
|
||||
),
|
||||
"hide",
|
||||
)
|
||||
|
||||
@@ -225,12 +159,15 @@ class Game(Gtk.Box):
|
||||
# Add "removed=True" to the game properties so it can be deleted on next init
|
||||
self.removed = True
|
||||
self.save()
|
||||
self.update()
|
||||
|
||||
if self.win.stack.get_visible_child() == self.win.details_view:
|
||||
self.win.on_go_back_action()
|
||||
|
||||
# The variable is the title of the game
|
||||
self.create_toast(_("{} removed").format(self.name), "remove")
|
||||
self.create_toast(
|
||||
_("{} removed").format(GLib.markup_escape_text(self.name)), "remove"
|
||||
)
|
||||
|
||||
def set_loading(self, state):
|
||||
self.loading += state
|
||||
@@ -271,3 +208,11 @@ class Game(Gtk.Box):
|
||||
def schema_changed(self, _settings, key):
|
||||
if key == "cover-launches-game":
|
||||
self.set_play_icon()
|
||||
|
||||
@GObject.Signal(name="update-ready", arg_types=[object])
|
||||
def update_ready(self, _additional_data) -> None:
|
||||
"""Signal emitted when the game needs updating"""
|
||||
|
||||
@GObject.Signal(name="save-ready", arg_types=[object])
|
||||
def save_ready(self, _additional_data) -> None:
|
||||
"""Signal emitted when the game needs saving"""
|
||||
|
||||
@@ -17,20 +17,25 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from gi.repository import GdkPixbuf, Gio, GLib
|
||||
from gi.repository import Gdk, GdkPixbuf, Gio, GLib
|
||||
from PIL import Image, ImageFilter, ImageStat
|
||||
|
||||
from src import shared
|
||||
|
||||
|
||||
class GameCover:
|
||||
pixbuf = None
|
||||
texture = None
|
||||
blurred = None
|
||||
luminance = None
|
||||
path = None
|
||||
animation = None
|
||||
anim_iter = None
|
||||
|
||||
placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale(
|
||||
"/hu/kramo/Cartridges/library_placeholder.svg", 400, 600, False
|
||||
placeholder = Gdk.Texture.new_from_resource(
|
||||
shared.PREFIX + "/library_placeholder.svg"
|
||||
)
|
||||
placeholder_small = Gdk.Texture.new_from_resource(
|
||||
shared.PREFIX + "/library_placeholder_small.svg"
|
||||
)
|
||||
|
||||
def __init__(self, pictures, path=None):
|
||||
@@ -49,23 +54,27 @@ class GameCover:
|
||||
|
||||
def new_cover(self, path=None):
|
||||
self.animation = None
|
||||
self.pixbuf = None
|
||||
self.texture = None
|
||||
self.blurred = None
|
||||
self.luminance = None
|
||||
self.path = path
|
||||
|
||||
if path:
|
||||
if path.suffix == ".gif":
|
||||
task = Gio.Task.new()
|
||||
task.run_in_thread(self.create_func(self.path))
|
||||
self.task = Gio.Task.new()
|
||||
self.task.run_in_thread(self.create_func(self.path))
|
||||
else:
|
||||
self.pixbuf = GdkPixbuf.Pixbuf.new_from_file(str(path))
|
||||
self.texture = Gdk.Texture.new_from_filename(str(path))
|
||||
|
||||
if not self.animation:
|
||||
self.set_pixbuf(self.pixbuf)
|
||||
self.set_texture(self.texture)
|
||||
|
||||
def get_pixbuf(self):
|
||||
return self.animation.get_static_image() if self.animation else self.pixbuf
|
||||
def get_texture(self):
|
||||
return (
|
||||
Gdk.Texture.new_for_pixbuf(self.animation.get_static_image())
|
||||
if self.animation
|
||||
else self.texture
|
||||
)
|
||||
|
||||
def get_blurred(self):
|
||||
if not self.blurred:
|
||||
@@ -80,30 +89,29 @@ class GameCover:
|
||||
tmp_path = Gio.File.new_tmp(None)[0].get_path()
|
||||
image.save(tmp_path, "tiff", compression=None)
|
||||
|
||||
self.blurred = GdkPixbuf.Pixbuf.new_from_file(tmp_path)
|
||||
self.blurred = Gdk.Texture.new_from_filename(tmp_path)
|
||||
|
||||
stat = ImageStat.Stat(image.convert("L"))
|
||||
|
||||
# Luminance values for light and dark mode
|
||||
self.luminance = (
|
||||
(stat.mean[0] + stat.extrema[0][0]) / 510,
|
||||
(stat.mean[0] + stat.extrema[0][1]) / 510,
|
||||
)
|
||||
self.luminance = [
|
||||
min((stat.mean[0] + stat.extrema[0][0]) / 510, 0.7),
|
||||
max((stat.mean[0] + stat.extrema[0][1]) / 510, 0.3),
|
||||
]
|
||||
else:
|
||||
self.blurred = GdkPixbuf.Pixbuf.new_from_resource_at_scale(
|
||||
"/hu/kramo/Cartridges/library_placeholder.svg", 2, 2, False
|
||||
)
|
||||
|
||||
self.luminance = (0.1, 0.8)
|
||||
self.blurred = self.placeholder_small
|
||||
self.luminance = (0.3, 0.5)
|
||||
|
||||
return self.blurred
|
||||
|
||||
def add_picture(self, picture):
|
||||
self.pictures.add(picture)
|
||||
if not self.animation:
|
||||
self.set_pixbuf(self.pixbuf)
|
||||
self.set_texture(self.texture)
|
||||
else:
|
||||
self.update_animation((self.task, self.animation))
|
||||
|
||||
def set_pixbuf(self, pixbuf):
|
||||
def set_texture(self, texture):
|
||||
self.pictures.discard(
|
||||
picture for picture in self.pictures if not picture.is_visible()
|
||||
)
|
||||
@@ -111,15 +119,13 @@ class GameCover:
|
||||
self.animation = None
|
||||
else:
|
||||
for picture in self.pictures:
|
||||
if not pixbuf:
|
||||
pixbuf = self.placeholder_pixbuf
|
||||
picture.set_pixbuf(pixbuf)
|
||||
picture.set_paintable(texture or self.placeholder)
|
||||
|
||||
def update_animation(self, data):
|
||||
if self.animation == data[1]:
|
||||
self.anim_iter.advance()
|
||||
|
||||
self.set_pixbuf(self.anim_iter.get_pixbuf())
|
||||
self.set_texture(Gdk.Texture.new_for_pixbuf(self.anim_iter.get_pixbuf()))
|
||||
|
||||
delay_time = self.anim_iter.get_delay_time()
|
||||
GLib.timeout_add(
|
||||
@@ -127,5 +133,3 @@ class GameCover:
|
||||
self.update_animation,
|
||||
data,
|
||||
)
|
||||
else:
|
||||
data[0].return_value(False)
|
||||
|
||||
322
src/importer/importer.py
Normal file
322
src/importer/importer.py
Normal file
@@ -0,0 +1,322 @@
|
||||
# importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
|
||||
from gi.repository import Adw, GLib, Gtk
|
||||
|
||||
from src import shared
|
||||
from src.errors.error_producer import ErrorProducer
|
||||
from src.errors.friendly_error import FriendlyError
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import UnresolvableLocationError
|
||||
from src.importer.sources.source import Source
|
||||
from src.store.managers.async_manager import AsyncManager
|
||||
from src.store.pipeline import Pipeline
|
||||
from src.utils.task import Task
|
||||
|
||||
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
class Importer(ErrorProducer):
|
||||
"""A class in charge of scanning sources for games"""
|
||||
|
||||
progressbar = None
|
||||
import_statuspage = None
|
||||
import_dialog = None
|
||||
summary_toast = None
|
||||
|
||||
sources: set[Source] = None
|
||||
|
||||
n_source_tasks_created: int = 0
|
||||
n_source_tasks_done: int = 0
|
||||
n_pipelines_done: int = 0
|
||||
game_pipelines: set[Pipeline] = None
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.game_pipelines = set()
|
||||
self.sources = set()
|
||||
|
||||
@property
|
||||
def n_games_added(self):
|
||||
return sum(
|
||||
1 if not (pipeline.game.blacklisted or pipeline.game.removed) else 0
|
||||
for pipeline in self.game_pipelines
|
||||
)
|
||||
|
||||
@property
|
||||
def pipelines_progress(self):
|
||||
progress = sum(pipeline.progress for pipeline in self.game_pipelines)
|
||||
try:
|
||||
progress = progress / len(self.game_pipelines)
|
||||
except ZeroDivisionError:
|
||||
progress = 0
|
||||
return progress
|
||||
|
||||
@property
|
||||
def sources_progress(self):
|
||||
try:
|
||||
progress = self.n_source_tasks_done / self.n_source_tasks_created
|
||||
except ZeroDivisionError:
|
||||
progress = 0
|
||||
return progress
|
||||
|
||||
@property
|
||||
def finished(self):
|
||||
return (
|
||||
self.n_source_tasks_created == self.n_source_tasks_done
|
||||
and len(self.game_pipelines) == self.n_pipelines_done
|
||||
)
|
||||
|
||||
def add_source(self, source):
|
||||
self.sources.add(source)
|
||||
|
||||
def run(self):
|
||||
"""Use several Gio.Task to import games from added sources"""
|
||||
|
||||
shared.win.get_application().lookup_action("import").set_enabled(False)
|
||||
|
||||
self.create_dialog()
|
||||
|
||||
# Collect all errors and reset the cancellables for the managers
|
||||
# - Only one importer exists at any given time
|
||||
# - Every import starts fresh
|
||||
self.collect_errors()
|
||||
for manager in shared.store.managers.values():
|
||||
manager.collect_errors()
|
||||
if isinstance(manager, AsyncManager):
|
||||
manager.reset_cancellable()
|
||||
|
||||
for source in self.sources:
|
||||
logging.debug("Importing games from source %s", source.id)
|
||||
task = Task.new(None, None, self.source_callback, (source,))
|
||||
self.n_source_tasks_created += 1
|
||||
task.set_task_data((source,))
|
||||
task.run_in_thread(self.source_task_thread_func)
|
||||
|
||||
self.progress_changed_callback()
|
||||
|
||||
def create_dialog(self):
|
||||
"""Create the import dialog"""
|
||||
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
|
||||
self.import_statuspage = Adw.StatusPage(
|
||||
title=_("Importing Games…"),
|
||||
child=self.progressbar,
|
||||
)
|
||||
self.import_dialog = Adw.Window(
|
||||
content=self.import_statuspage,
|
||||
modal=True,
|
||||
default_width=350,
|
||||
default_height=-1,
|
||||
transient_for=shared.win,
|
||||
deletable=False,
|
||||
)
|
||||
self.import_dialog.present()
|
||||
|
||||
def source_task_thread_func(self, _task, _obj, data, _cancellable):
|
||||
"""Source import task code"""
|
||||
|
||||
source: Source
|
||||
source, *_rest = data
|
||||
|
||||
# Early exit if not available or not installed
|
||||
if not source.is_available:
|
||||
logging.info("Source %s skipped, not available", source.id)
|
||||
return
|
||||
try:
|
||||
iterator = iter(source)
|
||||
except UnresolvableLocationError:
|
||||
logging.info("Source %s skipped, bad location", source.id)
|
||||
return
|
||||
|
||||
# Get games from source
|
||||
logging.info("Scanning source %s", source.id)
|
||||
while True:
|
||||
# Handle exceptions raised when iterating
|
||||
try:
|
||||
iteration_result = next(iterator)
|
||||
except StopIteration:
|
||||
break
|
||||
except Exception as error: # pylint: disable=broad-exception-caught
|
||||
logging.exception("%s in %s", type(error).__name__, source.id)
|
||||
self.report_error(error)
|
||||
continue
|
||||
|
||||
# Handle the result depending on its type
|
||||
if isinstance(iteration_result, Game):
|
||||
game = iteration_result
|
||||
additional_data = {}
|
||||
elif isinstance(iteration_result, tuple):
|
||||
game, additional_data = iteration_result
|
||||
elif iteration_result is None:
|
||||
continue
|
||||
else:
|
||||
# Warn source implementers that an invalid type was produced
|
||||
# Should not happen on production code
|
||||
logging.warning(
|
||||
"%s produced an invalid iteration return type %s",
|
||||
source.id,
|
||||
type(iteration_result),
|
||||
)
|
||||
continue
|
||||
|
||||
# Register game
|
||||
pipeline: Pipeline = shared.store.add_game(game, additional_data)
|
||||
if pipeline is not None:
|
||||
logging.info("Imported %s (%s)", game.name, game.game_id)
|
||||
pipeline.connect("advanced", self.pipeline_advanced_callback)
|
||||
self.game_pipelines.add(pipeline)
|
||||
|
||||
def update_progressbar(self):
|
||||
"""Update the progressbar to show the overall import progress"""
|
||||
# Reserve 10% for the sources discovery, the rest is the pipelines
|
||||
self.progressbar.set_fraction(
|
||||
(0.1 * self.sources_progress) + (0.9 * self.pipelines_progress)
|
||||
)
|
||||
|
||||
def source_callback(self, _obj, _result, data):
|
||||
"""Callback executed when a source is fully scanned"""
|
||||
source, *_rest = data
|
||||
logging.debug("Import done for source %s", source.id)
|
||||
self.n_source_tasks_done += 1
|
||||
self.progress_changed_callback()
|
||||
|
||||
def pipeline_advanced_callback(self, pipeline: Pipeline):
|
||||
"""Callback called when a pipeline for a game has advanced"""
|
||||
if pipeline.is_done:
|
||||
self.n_pipelines_done += 1
|
||||
self.progress_changed_callback()
|
||||
|
||||
def progress_changed_callback(self):
|
||||
"""
|
||||
Callback called when the import process has progressed
|
||||
|
||||
Triggered when:
|
||||
* All sources have been started
|
||||
* A source finishes
|
||||
* A pipeline finishes
|
||||
"""
|
||||
self.update_progressbar()
|
||||
if self.finished:
|
||||
self.import_callback()
|
||||
|
||||
def import_callback(self):
|
||||
"""Callback called when importing has finished"""
|
||||
logging.info("Import done")
|
||||
self.import_dialog.close()
|
||||
self.summary_toast = self.create_summary_toast()
|
||||
self.create_error_dialog()
|
||||
shared.win.get_application().lookup_action("import").set_enabled(True)
|
||||
|
||||
def create_error_dialog(self):
|
||||
"""Dialog containing all errors raised by importers"""
|
||||
|
||||
# Collect all errors that happened in the importer and the managers
|
||||
errors: list[Exception] = []
|
||||
errors.extend(self.collect_errors())
|
||||
for manager in shared.store.managers.values():
|
||||
errors.extend(manager.collect_errors())
|
||||
|
||||
# Filter out non friendly errors
|
||||
errors = set(
|
||||
tuple(
|
||||
(error.title, error.subtitle)
|
||||
for error in (
|
||||
filter(lambda error: isinstance(error, FriendlyError), errors)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
# No error to display
|
||||
if not errors:
|
||||
self.timeout_toast()
|
||||
return
|
||||
|
||||
# Create error dialog
|
||||
dialog = Adw.MessageDialog()
|
||||
dialog.set_heading(_("Warning"))
|
||||
dialog.add_response("close", _("Dismiss"))
|
||||
dialog.add_response("open_preferences_import", _("Preferences"))
|
||||
dialog.set_default_response("open_preferences_import")
|
||||
dialog.connect("response", self.dialog_response_callback)
|
||||
dialog.set_transient_for(shared.win)
|
||||
|
||||
if len(errors) == 1:
|
||||
dialog.set_heading((error := next(iter(errors)))[0])
|
||||
dialog.set_body(error[1])
|
||||
else:
|
||||
# Display the errors in a list
|
||||
list_box = Gtk.ListBox()
|
||||
list_box.set_selection_mode(Gtk.SelectionMode.NONE)
|
||||
list_box.set_css_classes(["boxed-list"])
|
||||
list_box.set_margin_top(9)
|
||||
for error in errors:
|
||||
row = Adw.ActionRow.new()
|
||||
row.set_title(error[0])
|
||||
row.set_subtitle(error[1])
|
||||
list_box.append(row)
|
||||
dialog.set_body(_("The following errors occured during import:"))
|
||||
dialog.set_extra_child(list_box)
|
||||
|
||||
dialog.present()
|
||||
|
||||
def create_summary_toast(self):
|
||||
"""N games imported toast"""
|
||||
|
||||
toast = Adw.Toast(timeout=0, priority=Adw.ToastPriority.HIGH)
|
||||
|
||||
if self.n_games_added == 0:
|
||||
toast.set_title(_("No new games found"))
|
||||
toast.set_button_label(_("Preferences"))
|
||||
toast.connect(
|
||||
"button-clicked",
|
||||
self.dialog_response_callback,
|
||||
"open_preferences",
|
||||
"import",
|
||||
)
|
||||
|
||||
elif self.n_games_added == 1:
|
||||
toast.set_title(_("1 game imported"))
|
||||
|
||||
elif self.n_games_added > 1:
|
||||
# The variable is the number of games
|
||||
toast.set_title(_("{} games imported").format(self.n_games_added))
|
||||
|
||||
shared.win.toast_overlay.add_toast(toast)
|
||||
return toast
|
||||
|
||||
def open_preferences(self, page=None, expander_row=None):
|
||||
return shared.win.get_application().on_preferences_action(
|
||||
page_name=page, expander_row=expander_row
|
||||
)
|
||||
|
||||
def timeout_toast(self, *_args):
|
||||
"""Manually timeout the toast after the user has dismissed all warnings"""
|
||||
GLib.timeout_add_seconds(5, self.summary_toast.dismiss)
|
||||
|
||||
def dialog_response_callback(self, _widget, response, *args):
|
||||
"""Handle after-import dialogs callback"""
|
||||
logging.debug("After-import dialog response: %s (%s)", response, str(args))
|
||||
if response == "open_preferences":
|
||||
self.open_preferences(*args)
|
||||
elif response == "open_preferences_import":
|
||||
self.open_preferences(*args).connect("close-request", self.timeout_toast)
|
||||
else:
|
||||
self.timeout_toast()
|
||||
102
src/importer/sources/bottles_source.py
Normal file
102
src/importer/sources/bottles_source.py
Normal file
@@ -0,0 +1,102 @@
|
||||
# bottles_source.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
import yaml
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
from src.importer.sources.source import (
|
||||
SourceIterationResult,
|
||||
SourceIterator,
|
||||
URLExecutableSource,
|
||||
)
|
||||
|
||||
|
||||
class BottlesSourceIterator(SourceIterator):
|
||||
source: "BottlesSource"
|
||||
|
||||
def generator_builder(self) -> SourceIterationResult:
|
||||
"""Generator method producing games"""
|
||||
|
||||
data = self.source.data_location["library.yml"].read_text("utf-8")
|
||||
library: dict = yaml.safe_load(data)
|
||||
added_time = int(time())
|
||||
|
||||
for entry in library.values():
|
||||
# Build game
|
||||
values = {
|
||||
"source": self.source.id,
|
||||
"added": added_time,
|
||||
"name": entry["name"],
|
||||
"game_id": self.source.game_id_format.format(game_id=entry["id"]),
|
||||
"executable": self.source.executable_format.format(
|
||||
bottle_name=entry["bottle"]["name"], game_name=entry["name"]
|
||||
),
|
||||
}
|
||||
game = Game(values)
|
||||
|
||||
# Get official cover path
|
||||
try:
|
||||
# This will not work if both Cartridges and Bottles are installed via Flatpak
|
||||
# as Cartridges can't access directories picked via Bottles' file picker portal
|
||||
bottles_location = Path(
|
||||
yaml.safe_load(
|
||||
self.source.data_location["data.yml"].read_text("utf-8")
|
||||
)["custom_bottles_path"]
|
||||
)
|
||||
except (FileNotFoundError, KeyError):
|
||||
bottles_location = self.source.data_location.root / "bottles"
|
||||
|
||||
bottle_path = entry["bottle"]["path"]
|
||||
|
||||
additional_data = {}
|
||||
if entry["thumbnail"]:
|
||||
image_name = entry["thumbnail"].split(":")[1]
|
||||
image_path = bottles_location / bottle_path / "grids" / image_name
|
||||
additional_data = {"local_image_path": image_path}
|
||||
|
||||
# Produce game
|
||||
yield (game, additional_data)
|
||||
|
||||
|
||||
class BottlesSource(URLExecutableSource):
|
||||
"""Generic Bottles source"""
|
||||
|
||||
name = "Bottles"
|
||||
iterator_class = BottlesSourceIterator
|
||||
url_format = 'bottles:run/"{bottle_name}"/"{game_name}"'
|
||||
available_on = {"linux"}
|
||||
|
||||
data_location = Location(
|
||||
schema_key="bottles-location",
|
||||
candidates=(
|
||||
shared.flatpak_dir / "com.usebottles.bottles" / "data" / "bottles",
|
||||
shared.data_dir / "bottles/",
|
||||
shared.home / ".local" / "share" / "bottles",
|
||||
),
|
||||
paths={
|
||||
"library.yml": (False, "library.yml"),
|
||||
"data.yml": (False, "data.yml"),
|
||||
},
|
||||
)
|
||||
132
src/importer/sources/flatpak_source.py
Normal file
132
src/importer/sources/flatpak_source.py
Normal file
@@ -0,0 +1,132 @@
|
||||
# flatpak_source.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
from gi.repository import GLib, Gtk
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
from src.importer.sources.source import Source, SourceIterationResult, SourceIterator
|
||||
|
||||
|
||||
class FlatpakSourceIterator(SourceIterator):
|
||||
source: "FlatpakSource"
|
||||
|
||||
def generator_builder(self) -> SourceIterationResult:
|
||||
"""Generator method producing games"""
|
||||
|
||||
added_time = int(time())
|
||||
|
||||
icon_theme = Gtk.IconTheme.new()
|
||||
icon_theme.add_search_path(str(self.source.data_location["icons"]))
|
||||
|
||||
blacklist = (
|
||||
{"hu.kramo.Cartridges", "hu.kramo.Cartridges.Devel"}
|
||||
if shared.schema.get_boolean("flatpak-import-launchers")
|
||||
else {
|
||||
"hu.kramo.Cartridges",
|
||||
"hu.kramo.Cartridges.Devel",
|
||||
"com.valvesoftware.Steam",
|
||||
"net.lutris.Lutris",
|
||||
"com.heroicgameslauncher.hgl",
|
||||
"com.usebottles.Bottles",
|
||||
"io.itch.itch",
|
||||
}
|
||||
)
|
||||
|
||||
for entry in (self.source.data_location["applications"]).iterdir():
|
||||
if entry.suffix != ".desktop":
|
||||
continue
|
||||
|
||||
keyfile = GLib.KeyFile.new()
|
||||
|
||||
try:
|
||||
keyfile.load_from_file(str(entry), 0)
|
||||
|
||||
if "Game" not in keyfile.get_string_list("Desktop Entry", "Categories"):
|
||||
continue
|
||||
|
||||
if (
|
||||
flatpak_id := keyfile.get_string("Desktop Entry", "X-Flatpak")
|
||||
) in blacklist or flatpak_id != entry.stem:
|
||||
continue
|
||||
|
||||
name = keyfile.get_string("Desktop Entry", "Name")
|
||||
|
||||
except GLib.GError:
|
||||
continue
|
||||
|
||||
values = {
|
||||
"source": self.source.id,
|
||||
"added": added_time,
|
||||
"name": name,
|
||||
"game_id": self.source.game_id_format.format(game_id=flatpak_id),
|
||||
"executable": self.source.executable_format.format(
|
||||
flatpak_id=flatpak_id
|
||||
),
|
||||
}
|
||||
game = Game(values)
|
||||
|
||||
additional_data = {}
|
||||
|
||||
try:
|
||||
if (
|
||||
icon_path := icon_theme.lookup_icon(
|
||||
keyfile.get_string("Desktop Entry", "Icon"),
|
||||
None,
|
||||
512,
|
||||
1,
|
||||
shared.win.get_direction(),
|
||||
0,
|
||||
)
|
||||
.get_file()
|
||||
.get_path()
|
||||
):
|
||||
additional_data = {"local_icon_path": Path(icon_path)}
|
||||
else:
|
||||
pass
|
||||
except GLib.GError:
|
||||
pass
|
||||
|
||||
# Produce game
|
||||
yield (game, additional_data)
|
||||
|
||||
|
||||
class FlatpakSource(Source):
|
||||
"""Generic Flatpak source"""
|
||||
|
||||
name = "Flatpak"
|
||||
iterator_class = FlatpakSourceIterator
|
||||
executable_format = "flatpak run {flatpak_id}"
|
||||
available_on = {"linux"}
|
||||
|
||||
data_location = Location(
|
||||
schema_key="flatpak-location",
|
||||
candidates=(
|
||||
"/var/lib/flatpak/",
|
||||
shared.data_dir / "flatpak",
|
||||
),
|
||||
paths={
|
||||
"applications": (True, "exports/share/applications"),
|
||||
"icons": (True, "exports/share/icons"),
|
||||
},
|
||||
)
|
||||
162
src/importer/sources/heroic_source.py
Normal file
162
src/importer/sources/heroic_source.py
Normal file
@@ -0,0 +1,162 @@
|
||||
# heroic_source.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 json
|
||||
import logging
|
||||
from hashlib import sha256
|
||||
from json import JSONDecodeError
|
||||
from time import time
|
||||
from typing import Optional, TypedDict
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
from src.importer.sources.source import (
|
||||
URLExecutableSource,
|
||||
SourceIterationResult,
|
||||
SourceIterator,
|
||||
)
|
||||
|
||||
|
||||
class HeroicLibraryEntry(TypedDict):
|
||||
app_name: str
|
||||
installed: Optional[bool]
|
||||
runner: str
|
||||
title: str
|
||||
developer: str
|
||||
art_square: str
|
||||
|
||||
|
||||
class HeroicSubSource(TypedDict):
|
||||
service: str
|
||||
path: tuple[str]
|
||||
|
||||
|
||||
class HeroicSourceIterator(SourceIterator):
|
||||
source: "HeroicSource"
|
||||
|
||||
sub_sources: dict[str, HeroicSubSource] = {
|
||||
"sideload": {
|
||||
"service": "sideload",
|
||||
"path": ("sideload_apps", "library.json"),
|
||||
},
|
||||
"legendary": {
|
||||
"service": "epic",
|
||||
"path": ("store_cache", "legendary_library.json"),
|
||||
},
|
||||
"gog": {
|
||||
"service": "gog",
|
||||
"path": ("store_cache", "gog_library.json"),
|
||||
},
|
||||
}
|
||||
|
||||
def game_from_library_entry(
|
||||
self, entry: HeroicLibraryEntry, added_time: int
|
||||
) -> SourceIterationResult:
|
||||
"""Helper method used to build a Game from a Heroic library entry"""
|
||||
|
||||
# Skip games that are not installed
|
||||
if not entry["is_installed"]:
|
||||
return None
|
||||
|
||||
# Build game
|
||||
app_name = entry["app_name"]
|
||||
runner = entry["runner"]
|
||||
service = self.sub_sources[runner]["service"]
|
||||
values = {
|
||||
"source": f"{self.source.id}_{service}",
|
||||
"added": added_time,
|
||||
"name": entry["title"],
|
||||
"developer": entry.get("developer", None),
|
||||
"game_id": self.source.game_id_format.format(
|
||||
service=service, game_id=app_name
|
||||
),
|
||||
"executable": self.source.executable_format.format(app_name=app_name),
|
||||
}
|
||||
game = Game(values)
|
||||
|
||||
# Get the image path from the heroic cache
|
||||
# Filenames are derived from the URL that heroic used to get the file
|
||||
uri: str = entry["art_square"]
|
||||
if service == "epic":
|
||||
uri += "?h=400&resize=1&w=300"
|
||||
digest = sha256(uri.encode()).hexdigest()
|
||||
image_path = self.source.config_location.root / "images-cache" / digest
|
||||
additional_data = {"local_image_path": image_path}
|
||||
|
||||
return (game, additional_data)
|
||||
|
||||
def generator_builder(self) -> SourceIterationResult:
|
||||
"""Generator method producing games from all the Heroic sub-sources"""
|
||||
|
||||
for sub_source_name, sub_source in self.sub_sources.items():
|
||||
# Skip disabled sub-sources
|
||||
if not shared.schema.get_boolean("heroic-import-" + sub_source["service"]):
|
||||
continue
|
||||
# Load games from JSON
|
||||
file = self.source.config_location.root.joinpath(*sub_source["path"])
|
||||
try:
|
||||
contents = json.load(file.open())
|
||||
key = "library" if sub_source_name == "legendary" else "games"
|
||||
library = contents[key]
|
||||
except (JSONDecodeError, OSError, KeyError):
|
||||
# Invalid library.json file, skip it
|
||||
logging.warning("Couldn't open Heroic file: %s", str(file))
|
||||
continue
|
||||
|
||||
added_time = int(time())
|
||||
|
||||
for entry in library:
|
||||
try:
|
||||
result = self.game_from_library_entry(entry, added_time)
|
||||
except KeyError as error:
|
||||
# Skip invalid games
|
||||
logging.warning(
|
||||
"Invalid Heroic game skipped in %s", str(file), exc_info=error
|
||||
)
|
||||
continue
|
||||
yield result
|
||||
|
||||
|
||||
class HeroicSource(URLExecutableSource):
|
||||
"""Generic Heroic Games Launcher source"""
|
||||
|
||||
name = "Heroic"
|
||||
iterator_class = HeroicSourceIterator
|
||||
url_format = "heroic://launch/{app_name}"
|
||||
available_on = {"linux", "win32"}
|
||||
|
||||
config_location = Location(
|
||||
schema_key="heroic-location",
|
||||
candidates=(
|
||||
shared.flatpak_dir / "com.heroicgameslauncher.hgl" / "config" / "heroic",
|
||||
shared.config_dir / "heroic",
|
||||
shared.home / ".config" / "heroic",
|
||||
shared.appdata_dir / "heroic",
|
||||
),
|
||||
paths={
|
||||
"config.json": (False, "config.json"),
|
||||
},
|
||||
)
|
||||
|
||||
@property
|
||||
def game_id_format(self) -> str:
|
||||
"""The string format used to construct game IDs"""
|
||||
return self.id + "_{service}_{game_id}"
|
||||
96
src/importer/sources/itch_source.py
Normal file
96
src/importer/sources/itch_source.py
Normal file
@@ -0,0 +1,96 @@
|
||||
# itch_source.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from shutil import rmtree
|
||||
from sqlite3 import connect
|
||||
from time import time
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
from src.importer.sources.source import (
|
||||
SourceIterationResult,
|
||||
SourceIterator,
|
||||
URLExecutableSource,
|
||||
)
|
||||
from src.utils.sqlite import copy_db
|
||||
|
||||
|
||||
class ItchSourceIterator(SourceIterator):
|
||||
source: "ItchSource"
|
||||
|
||||
def generator_builder(self) -> SourceIterationResult:
|
||||
"""Generator method producing games"""
|
||||
|
||||
# Query the database
|
||||
db_request = """
|
||||
SELECT
|
||||
games.id,
|
||||
games.title,
|
||||
games.cover_url,
|
||||
games.still_cover_url,
|
||||
caves.id
|
||||
FROM
|
||||
'caves'
|
||||
INNER JOIN
|
||||
'games'
|
||||
ON
|
||||
caves.game_id = games.id
|
||||
;
|
||||
"""
|
||||
db_path = copy_db(self.source.config_location["butler.db"])
|
||||
connection = connect(db_path)
|
||||
cursor = connection.execute(db_request)
|
||||
|
||||
added_time = int(time())
|
||||
|
||||
# Create games from the db results
|
||||
for row in cursor:
|
||||
values = {
|
||||
"added": added_time,
|
||||
"source": self.source.id,
|
||||
"name": row[1],
|
||||
"game_id": self.source.game_id_format.format(game_id=row[0]),
|
||||
"executable": self.source.executable_format.format(cave_id=row[4]),
|
||||
}
|
||||
additional_data = {"online_cover_url": row[3] or row[2]}
|
||||
game = Game(values)
|
||||
yield (game, additional_data)
|
||||
|
||||
# Cleanup
|
||||
rmtree(str(db_path.parent))
|
||||
|
||||
|
||||
class ItchSource(URLExecutableSource):
|
||||
name = "Itch"
|
||||
iterator_class = ItchSourceIterator
|
||||
url_format = "itch://caves/{cave_id}/launch"
|
||||
available_on = {"linux", "win32"}
|
||||
|
||||
config_location = Location(
|
||||
schema_key="itch-location",
|
||||
candidates=(
|
||||
shared.flatpak_dir / "io.itch.itch" / "config" / "itch",
|
||||
shared.config_dir / "itch",
|
||||
shared.home / ".config" / "itch",
|
||||
shared.appdata_dir / "itch",
|
||||
),
|
||||
paths={"butler.db": (False, "db/butler.db")},
|
||||
)
|
||||
108
src/importer/sources/legendary_source.py
Normal file
108
src/importer/sources/legendary_source.py
Normal file
@@ -0,0 +1,108 @@
|
||||
# legendary_source.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 json
|
||||
import logging
|
||||
from json import JSONDecodeError
|
||||
from time import time
|
||||
from typing import Generator
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
from src.importer.sources.source import Source, SourceIterationResult, SourceIterator
|
||||
|
||||
|
||||
class LegendarySourceIterator(SourceIterator):
|
||||
source: "LegendarySource"
|
||||
|
||||
def game_from_library_entry(
|
||||
self, entry: dict, added_time: int
|
||||
) -> SourceIterationResult:
|
||||
# Skip non-games
|
||||
if entry["is_dlc"]:
|
||||
return None
|
||||
|
||||
# Build game
|
||||
app_name = entry["app_name"]
|
||||
values = {
|
||||
"added": added_time,
|
||||
"source": self.source.id,
|
||||
"name": entry["title"],
|
||||
"game_id": self.source.game_id_format.format(game_id=app_name),
|
||||
"executable": self.source.executable_format.format(app_name=app_name),
|
||||
}
|
||||
data = {}
|
||||
|
||||
# Get additional metadata from file (optional)
|
||||
metadata_file = self.source.config_location["metadata"] / f"{app_name}.json"
|
||||
try:
|
||||
metadata = json.load(metadata_file.open())
|
||||
values["developer"] = metadata["metadata"]["developer"]
|
||||
for image_entry in metadata["metadata"]["keyImages"]:
|
||||
if image_entry["type"] == "DieselGameBoxTall":
|
||||
data["online_cover_url"] = image_entry["url"]
|
||||
break
|
||||
except (JSONDecodeError, OSError, KeyError):
|
||||
pass
|
||||
|
||||
game = Game(values)
|
||||
return (game, data)
|
||||
|
||||
def generator_builder(self) -> Generator[SourceIterationResult, None, None]:
|
||||
# Open library
|
||||
file = self.source.config_location["installed.json"]
|
||||
try:
|
||||
library: dict = json.load(file.open())
|
||||
except (JSONDecodeError, OSError):
|
||||
logging.warning("Couldn't open Legendary file: %s", str(file))
|
||||
return
|
||||
|
||||
added_time = int(time())
|
||||
|
||||
# Generate games from library
|
||||
for entry in library.values():
|
||||
try:
|
||||
result = self.game_from_library_entry(entry, added_time)
|
||||
except KeyError as error:
|
||||
# Skip invalid games
|
||||
logging.warning(
|
||||
"Invalid Legendary game skipped in %s", str(file), exc_info=error
|
||||
)
|
||||
continue
|
||||
yield result
|
||||
|
||||
|
||||
class LegendarySource(Source):
|
||||
name = "Legendary"
|
||||
executable_format = "legendary launch {app_name}"
|
||||
available_on = {"linux", "win32"}
|
||||
|
||||
iterator_class = LegendarySourceIterator
|
||||
config_location: Location = Location(
|
||||
schema_key="legendary-location",
|
||||
candidates=(
|
||||
shared.config_dir / "legendary",
|
||||
shared.home / ".config" / "legendary",
|
||||
),
|
||||
paths={
|
||||
"installed.json": (False, "installed.json"),
|
||||
"metadata": (True, "metadata"),
|
||||
},
|
||||
)
|
||||
84
src/importer/sources/location.py
Normal file
84
src/importer/sources/location.py
Normal file
@@ -0,0 +1,84 @@
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from typing import Callable, Mapping, Iterable
|
||||
from os import PathLike
|
||||
|
||||
from src import shared
|
||||
|
||||
PathSegment = str | PathLike | Path
|
||||
PathSegments = Iterable[PathSegment]
|
||||
Candidate = PathSegments | Callable[[], PathSegments]
|
||||
|
||||
|
||||
class UnresolvableLocationError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class Location:
|
||||
"""
|
||||
Class representing a filesystem location
|
||||
|
||||
* A location may have multiple candidate roots
|
||||
* The path in the schema is always favored
|
||||
* From the candidate root, multiple subpaths should exist for it to be valid
|
||||
* When resolved, the schema is updated with the picked chosen
|
||||
"""
|
||||
|
||||
schema_key: str
|
||||
candidates: Iterable[Candidate]
|
||||
paths: Mapping[str, tuple[bool, PathSegments]]
|
||||
root: Path = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
schema_key: str,
|
||||
candidates: Iterable[Candidate],
|
||||
paths: Mapping[str, tuple[bool, PathSegments]],
|
||||
) -> None:
|
||||
super().__init__()
|
||||
self.schema_key = schema_key
|
||||
self.candidates = candidates
|
||||
self.paths = paths
|
||||
|
||||
def check_candidate(self, candidate: Path) -> bool:
|
||||
"""Check if a candidate root has the necessary files and directories"""
|
||||
for type_is_dir, subpath in self.paths.values():
|
||||
subpath = Path(candidate) / Path(subpath)
|
||||
if type_is_dir:
|
||||
if not subpath.is_dir():
|
||||
return False
|
||||
else:
|
||||
if not subpath.is_file():
|
||||
return False
|
||||
return True
|
||||
|
||||
def resolve(self) -> None:
|
||||
"""Choose a root path from the candidates for the location.
|
||||
If none fits, raise a UnresolvableLocationError"""
|
||||
|
||||
if self.root is not None:
|
||||
return
|
||||
|
||||
# Get the schema candidate
|
||||
schema_candidate = shared.schema.get_string(self.schema_key)
|
||||
|
||||
# Find the first matching candidate
|
||||
for candidate in (schema_candidate, *self.candidates):
|
||||
candidate = Path(candidate).expanduser()
|
||||
if not self.check_candidate(candidate):
|
||||
continue
|
||||
self.root = candidate
|
||||
break
|
||||
else:
|
||||
# No good candidate found
|
||||
raise UnresolvableLocationError()
|
||||
|
||||
# Update the schema with the found candidate
|
||||
value = str(candidate)
|
||||
shared.schema.set_string(self.schema_key, value)
|
||||
logging.debug("Resolved value for schema key %s: %s", self.schema_key, value)
|
||||
|
||||
def __getitem__(self, key: str):
|
||||
"""Get the computed path from its key for the location"""
|
||||
self.resolve()
|
||||
return self.root / self.paths[key][1]
|
||||
126
src/importer/sources/lutris_source.py
Normal file
126
src/importer/sources/lutris_source.py
Normal file
@@ -0,0 +1,126 @@
|
||||
# lutris_source.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
from shutil import rmtree
|
||||
from sqlite3 import connect
|
||||
from time import time
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
from src.importer.sources.source import (
|
||||
SourceIterationResult,
|
||||
SourceIterator,
|
||||
URLExecutableSource,
|
||||
)
|
||||
from src.utils.sqlite import copy_db
|
||||
|
||||
|
||||
class LutrisSourceIterator(SourceIterator):
|
||||
source: "LutrisSource"
|
||||
|
||||
def generator_builder(self) -> SourceIterationResult:
|
||||
"""Generator method producing games"""
|
||||
|
||||
# Query the database
|
||||
request = """
|
||||
SELECT id, name, slug, runner, hidden
|
||||
FROM 'games'
|
||||
WHERE
|
||||
name IS NOT NULL
|
||||
AND slug IS NOT NULL
|
||||
AND configPath IS NOT NULL
|
||||
AND installed
|
||||
AND (runner IS NOT "steam" OR :import_steam)
|
||||
AND (runner IS NOT "flatpak" OR :import_flatpak)
|
||||
;
|
||||
"""
|
||||
params = {
|
||||
"import_steam": shared.schema.get_boolean("lutris-import-steam"),
|
||||
"import_flatpak": shared.schema.get_boolean("lutris-import-flatpak"),
|
||||
}
|
||||
db_path = copy_db(self.source.data_location["pga.db"])
|
||||
connection = connect(db_path)
|
||||
cursor = connection.execute(request, params)
|
||||
|
||||
added_time = int(time())
|
||||
|
||||
# Create games from the DB results
|
||||
for row in cursor:
|
||||
# Create game
|
||||
values = {
|
||||
"added": added_time,
|
||||
"hidden": row[4],
|
||||
"name": row[1],
|
||||
"source": f"{self.source.id}_{row[3]}",
|
||||
"game_id": self.source.game_id_format.format(
|
||||
runner=row[3], game_id=row[0]
|
||||
),
|
||||
"executable": self.source.executable_format.format(game_id=row[0]),
|
||||
}
|
||||
game = Game(values)
|
||||
|
||||
# Get official image path
|
||||
image_path = self.source.cache_location["coverart"] / f"{row[2]}.jpg"
|
||||
additional_data = {"local_image_path": image_path}
|
||||
|
||||
# Produce game
|
||||
yield (game, additional_data)
|
||||
|
||||
# Cleanup
|
||||
rmtree(str(db_path.parent))
|
||||
|
||||
|
||||
class LutrisSource(URLExecutableSource):
|
||||
"""Generic Lutris source"""
|
||||
|
||||
name = "Lutris"
|
||||
iterator_class = LutrisSourceIterator
|
||||
url_format = "lutris:rungameid/{game_id}"
|
||||
available_on = {"linux"}
|
||||
|
||||
# FIXME possible bug: location picks ~/.var... and cache_lcoation picks ~/.local...
|
||||
|
||||
data_location = Location(
|
||||
schema_key="lutris-location",
|
||||
candidates=(
|
||||
shared.flatpak_dir / "net.lutris.Lutris" / "data" / "lutris",
|
||||
shared.data_dir / "lutris",
|
||||
shared.home / ".local" / "share" / "lutris",
|
||||
),
|
||||
paths={
|
||||
"pga.db": (False, "pga.db"),
|
||||
},
|
||||
)
|
||||
|
||||
cache_location = Location(
|
||||
schema_key="lutris-cache-location",
|
||||
candidates=(
|
||||
shared.flatpak_dir / "net.lutris.Lutris" / "cache" / "lutris",
|
||||
shared.cache_dir / "lutris",
|
||||
shared.home / ".cache" / "lutris",
|
||||
),
|
||||
paths={
|
||||
"coverart": (True, "coverart"),
|
||||
},
|
||||
)
|
||||
|
||||
@property
|
||||
def game_id_format(self):
|
||||
return self.id + "_{runner}_{game_id}"
|
||||
130
src/importer/sources/source.py
Normal file
130
src/importer/sources/source.py
Normal file
@@ -0,0 +1,130 @@
|
||||
# source.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 sys
|
||||
from abc import abstractmethod
|
||||
from collections.abc import Iterable, Iterator
|
||||
from typing import Any, Generator, Optional
|
||||
|
||||
from src.game import Game
|
||||
from src.importer.sources.location import Location
|
||||
|
||||
# Type of the data returned by iterating on a Source
|
||||
SourceIterationResult = None | Game | tuple[Game, tuple[Any]]
|
||||
|
||||
|
||||
class SourceIterator(Iterator):
|
||||
"""Data producer for a source of games"""
|
||||
|
||||
source: "Source" = None
|
||||
generator: Generator = None
|
||||
|
||||
def __init__(self, source: "Source") -> None:
|
||||
super().__init__()
|
||||
self.source = source
|
||||
self.generator = self.generator_builder()
|
||||
|
||||
def __iter__(self) -> "SourceIterator":
|
||||
return self
|
||||
|
||||
def __next__(self) -> SourceIterationResult:
|
||||
return next(self.generator)
|
||||
|
||||
@abstractmethod
|
||||
def generator_builder(self) -> Generator[SourceIterationResult, None, None]:
|
||||
"""
|
||||
Method that returns a generator that produces games
|
||||
* Should be implemented as a generator method
|
||||
* May yield `None` when an iteration hasn't produced a game
|
||||
* In charge of handling per-game errors
|
||||
* Returns when exhausted
|
||||
"""
|
||||
|
||||
|
||||
class Source(Iterable):
|
||||
"""Source of games. E.g an installed app with a config file that lists game directories"""
|
||||
|
||||
name: str
|
||||
variant: str = None
|
||||
available_on: set[str] = set()
|
||||
data_location: Optional[Location] = None
|
||||
cache_location: Optional[Location] = None
|
||||
config_location: Optional[Location] = None
|
||||
iterator_class: type[SourceIterator]
|
||||
|
||||
@property
|
||||
def full_name(self) -> str:
|
||||
"""The source's full name"""
|
||||
full_name_ = self.name
|
||||
if self.variant is not None:
|
||||
full_name_ += f" ({self.variant})"
|
||||
return full_name_
|
||||
|
||||
@property
|
||||
def id(self) -> str: # pylint: disable=invalid-name
|
||||
"""The source's identifier"""
|
||||
id_ = self.name.lower()
|
||||
if self.variant is not None:
|
||||
id_ += f"_{self.variant.lower()}"
|
||||
return id_
|
||||
|
||||
@property
|
||||
def game_id_format(self) -> str:
|
||||
"""The string format used to construct game IDs"""
|
||||
return self.id + "_{game_id}"
|
||||
|
||||
@property
|
||||
def is_available(self):
|
||||
return sys.platform in self.available_on
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def executable_format(self) -> str:
|
||||
"""The executable format used to construct game executables"""
|
||||
|
||||
def __iter__(self) -> SourceIterator:
|
||||
"""
|
||||
Get an iterator for the source
|
||||
:raises UnresolvableLocationError: Not iterable if any of the locations are unresolvable
|
||||
"""
|
||||
for location_name in ("data", "cache", "config"):
|
||||
location = getattr(self, f"{location_name}_location", None)
|
||||
if location is None:
|
||||
continue
|
||||
location.resolve()
|
||||
return self.iterator_class(self)
|
||||
|
||||
|
||||
# pylint: disable=abstract-method
|
||||
class URLExecutableSource(Source):
|
||||
"""Source class that use custom URLs to start games"""
|
||||
|
||||
url_format: str
|
||||
|
||||
@property
|
||||
def executable_format(self) -> str:
|
||||
match sys.platform:
|
||||
case "win32":
|
||||
return "start " + self.url_format
|
||||
case "linux":
|
||||
return "xdg-open " + self.url_format
|
||||
case other:
|
||||
raise NotImplementedError(
|
||||
f"No URL handler command available for {other}"
|
||||
)
|
||||
130
src/importer/sources/steam_source.py
Normal file
130
src/importer/sources/steam_source.py
Normal file
@@ -0,0 +1,130 @@
|
||||
# steam_source.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 re
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
from typing import Iterable
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.importer.sources.source import (
|
||||
SourceIterationResult,
|
||||
SourceIterator,
|
||||
URLExecutableSource,
|
||||
)
|
||||
from src.utils.steam import SteamFileHelper, SteamInvalidManifestError
|
||||
from src.importer.sources.location import Location
|
||||
|
||||
|
||||
class SteamSourceIterator(SourceIterator):
|
||||
source: "SteamSource"
|
||||
|
||||
def get_manifest_dirs(self) -> Iterable[Path]:
|
||||
"""Get dirs that contain steam app manifests"""
|
||||
libraryfolders_path = self.source.data_location["libraryfolders.vdf"]
|
||||
with open(libraryfolders_path, "r", encoding="utf-8") as file:
|
||||
contents = file.read()
|
||||
return [
|
||||
Path(path) / "steamapps"
|
||||
for path in re.findall('"path"\\s+"(.*)"\n', contents, re.IGNORECASE)
|
||||
]
|
||||
|
||||
def get_manifests(self) -> Iterable[Path]:
|
||||
"""Get app manifests"""
|
||||
manifests = set()
|
||||
for steamapps_dir in self.get_manifest_dirs():
|
||||
if not steamapps_dir.is_dir():
|
||||
continue
|
||||
manifests.update(
|
||||
[
|
||||
manifest
|
||||
for manifest in steamapps_dir.glob("appmanifest_*.acf")
|
||||
if manifest.is_file()
|
||||
]
|
||||
)
|
||||
return manifests
|
||||
|
||||
def generator_builder(self) -> SourceIterationResult:
|
||||
"""Generator method producing games"""
|
||||
appid_cache = set()
|
||||
manifests = self.get_manifests()
|
||||
|
||||
added_time = int(time())
|
||||
|
||||
for manifest in manifests:
|
||||
# Get metadata from manifest
|
||||
steam = SteamFileHelper()
|
||||
try:
|
||||
local_data = steam.get_manifest_data(manifest)
|
||||
except (OSError, SteamInvalidManifestError):
|
||||
continue
|
||||
|
||||
# Skip non installed games
|
||||
installed_mask = 4
|
||||
if not int(local_data["stateflags"]) & installed_mask:
|
||||
continue
|
||||
|
||||
# Skip duplicate appids
|
||||
appid = local_data["appid"]
|
||||
if appid in appid_cache:
|
||||
continue
|
||||
appid_cache.add(appid)
|
||||
|
||||
# Build game from local data
|
||||
values = {
|
||||
"added": added_time,
|
||||
"name": local_data["name"],
|
||||
"source": self.source.id,
|
||||
"game_id": self.source.game_id_format.format(game_id=appid),
|
||||
"executable": self.source.executable_format.format(game_id=appid),
|
||||
}
|
||||
game = Game(values)
|
||||
|
||||
# Add official cover image
|
||||
image_path = (
|
||||
self.source.data_location["librarycache"]
|
||||
/ f"{appid}_library_600x900.jpg"
|
||||
)
|
||||
additional_data = {"local_image_path": image_path, "steam_appid": appid}
|
||||
|
||||
# Produce game
|
||||
yield (game, additional_data)
|
||||
|
||||
|
||||
class SteamSource(URLExecutableSource):
|
||||
name = "Steam"
|
||||
available_on = {"linux", "win32"}
|
||||
iterator_class = SteamSourceIterator
|
||||
url_format = "steam://rungameid/{game_id}"
|
||||
|
||||
data_location = Location(
|
||||
schema_key="steam-location",
|
||||
candidates=(
|
||||
shared.home / ".steam" / "steam",
|
||||
shared.data_dir / "Steam",
|
||||
shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam",
|
||||
shared.programfiles32_dir / "Steam",
|
||||
),
|
||||
paths={
|
||||
"libraryfolders.vdf": (False, "steamapps/libraryfolders.vdf"),
|
||||
"librarycache": (True, "appcache/librarycache"),
|
||||
},
|
||||
)
|
||||
@@ -1,100 +0,0 @@
|
||||
# bottles_importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
import yaml
|
||||
|
||||
from . import shared
|
||||
from .check_install import check_install
|
||||
|
||||
|
||||
def bottles_installed(path=None):
|
||||
location_key = "bottles-location"
|
||||
bottles_dir = (
|
||||
path if path else Path(shared.schema.get_string(location_key)).expanduser()
|
||||
)
|
||||
check = "library.yml"
|
||||
|
||||
if not (bottles_dir / check).is_file():
|
||||
locations = (
|
||||
(Path(),)
|
||||
if path
|
||||
else (
|
||||
Path.home() / ".var/app/com.usebottles.bottles/data/bottles",
|
||||
shared.data_dir / "bottles",
|
||||
)
|
||||
)
|
||||
|
||||
bottles_dir = check_install(check, locations, (shared.schema, location_key))
|
||||
|
||||
return bottles_dir
|
||||
|
||||
|
||||
def bottles_importer():
|
||||
bottles_dir = bottles_installed()
|
||||
if not bottles_dir:
|
||||
return
|
||||
|
||||
current_time = int(time())
|
||||
|
||||
data = (bottles_dir / "library.yml").read_text("utf-8")
|
||||
|
||||
library = yaml.load(data, Loader=yaml.Loader)
|
||||
|
||||
importer = shared.importer
|
||||
importer.total_queue += len(library)
|
||||
importer.queue += len(library)
|
||||
|
||||
for game in library:
|
||||
game = library[game]
|
||||
values = {}
|
||||
|
||||
values["game_id"] = f'bottles_{game["id"]}'
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
importer.save_game()
|
||||
continue
|
||||
|
||||
values["name"] = game["name"]
|
||||
values["executable"] = [
|
||||
"xdg-open",
|
||||
f'bottles:run/{game["bottle"]["name"]}/{game["name"]}',
|
||||
]
|
||||
values["hidden"] = False
|
||||
values["source"] = "bottles"
|
||||
values["added"] = current_time
|
||||
values["last_played"] = 0
|
||||
|
||||
importer.save_game(
|
||||
values,
|
||||
(
|
||||
bottles_dir
|
||||
/ "bottles"
|
||||
/ game["bottle"]["path"]
|
||||
/ "grids"
|
||||
/ game["thumbnail"].split(":")[1]
|
||||
)
|
||||
if game["thumbnail"]
|
||||
else None,
|
||||
)
|
||||
@@ -1,204 +0,0 @@
|
||||
# heroic_importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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 json
|
||||
import os
|
||||
from hashlib import sha256
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
from . import shared
|
||||
from .check_install import check_install
|
||||
|
||||
|
||||
def heroic_installed(path=None):
|
||||
location_key = "heroic-location"
|
||||
heroic_dir = (
|
||||
path if path else Path(shared.schema.get_string(location_key)).expanduser()
|
||||
)
|
||||
check = "config.json"
|
||||
|
||||
if not (heroic_dir / check).is_file():
|
||||
locations = (
|
||||
(Path(),)
|
||||
if path
|
||||
else (
|
||||
Path.home() / ".var/app/com.heroicgameslauncher.hgl/config/heroic",
|
||||
shared.config_dir / "heroic",
|
||||
)
|
||||
)
|
||||
|
||||
if os.name == "nt" and not path:
|
||||
locations += (Path(os.getenv("appdata")) / "heroic",)
|
||||
|
||||
heroic_dir = check_install(check, locations, (shared.schema, location_key))
|
||||
|
||||
return heroic_dir
|
||||
|
||||
|
||||
def heroic_importer():
|
||||
heroic_dir = heroic_installed()
|
||||
if not heroic_dir:
|
||||
return
|
||||
|
||||
current_time = int(time())
|
||||
importer = shared.importer
|
||||
|
||||
# Import Epic games
|
||||
if not shared.schema.get_boolean("heroic-import-epic"):
|
||||
pass
|
||||
elif (heroic_dir / "store_cache" / "legendary_library.json").exists():
|
||||
library = json.load(
|
||||
(heroic_dir / "store_cache" / "legendary_library.json").open()
|
||||
)
|
||||
|
||||
try:
|
||||
for game in library["library"]:
|
||||
if not game["is_installed"]:
|
||||
continue
|
||||
|
||||
importer.total_queue += 1
|
||||
importer.queue += 1
|
||||
|
||||
values = {}
|
||||
|
||||
app_name = game["app_name"]
|
||||
values["game_id"] = f"heroic_epic_{app_name}"
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
importer.save_game()
|
||||
continue
|
||||
|
||||
values["name"] = game["title"]
|
||||
values["developer"] = game["developer"]
|
||||
values["executable"] = (
|
||||
["start", f"heroic://launch/{app_name}"]
|
||||
if os.name == "nt"
|
||||
else ["xdg-open", f"heroic://launch/{app_name}"]
|
||||
)
|
||||
values["hidden"] = False
|
||||
values["source"] = "heroic_epic"
|
||||
values["added"] = current_time
|
||||
values["last_played"] = 0
|
||||
|
||||
image_path = (
|
||||
heroic_dir
|
||||
/ "images-cache"
|
||||
/ sha256(
|
||||
(f'{game["art_square"]}?h=400&resize=1&w=300').encode()
|
||||
).hexdigest()
|
||||
)
|
||||
|
||||
importer.save_game(values, image_path if image_path.exists() else None)
|
||||
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
# Import GOG games
|
||||
if not shared.schema.get_boolean("heroic-import-gog"):
|
||||
pass
|
||||
elif (heroic_dir / "gog_store" / "installed.json").exists() and (
|
||||
heroic_dir / "store_cache" / "gog_library.json"
|
||||
).exists():
|
||||
installed = json.load((heroic_dir / "gog_store" / "installed.json").open())
|
||||
|
||||
importer.total_queue += len(installed["installed"])
|
||||
importer.queue += len(installed["installed"])
|
||||
|
||||
for item in installed["installed"]:
|
||||
values = {}
|
||||
app_name = item["appName"]
|
||||
|
||||
values["game_id"] = f"heroic_gog_{app_name}"
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
importer.save_game()
|
||||
continue
|
||||
|
||||
# Get game title and developer from gog_library.json as they are not present in installed.json
|
||||
library = json.load(
|
||||
(heroic_dir / "store_cache" / "gog_library.json").open()
|
||||
)
|
||||
for game in library["games"]:
|
||||
if game["app_name"] == app_name:
|
||||
values["developer"] = game["developer"]
|
||||
values["name"] = game["title"]
|
||||
image_path = (
|
||||
heroic_dir
|
||||
/ "images-cache"
|
||||
/ sha256(game["art_square"].encode()).hexdigest()
|
||||
)
|
||||
|
||||
values["executable"] = (
|
||||
["start", f"heroic://launch/{app_name}"]
|
||||
if os.name == "nt"
|
||||
else ["xdg-open", f"heroic://launch/{app_name}"]
|
||||
)
|
||||
values["hidden"] = False
|
||||
values["source"] = "heroic_gog"
|
||||
values["added"] = current_time
|
||||
values["last_played"] = 0
|
||||
|
||||
importer.save_game(values, image_path if image_path.exists() else None)
|
||||
|
||||
# Import sideloaded games
|
||||
if not shared.schema.get_boolean("heroic-import-sideload"):
|
||||
pass
|
||||
elif (heroic_dir / "sideload_apps" / "library.json").exists():
|
||||
library = json.load((heroic_dir / "sideload_apps" / "library.json").open())
|
||||
|
||||
importer.total_queue += len(library["games"])
|
||||
importer.queue += len(library["games"])
|
||||
|
||||
for item in library["games"]:
|
||||
values = {}
|
||||
app_name = item["app_name"]
|
||||
|
||||
values["game_id"] = f"heroic_sideload_{app_name}"
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
importer.save_game()
|
||||
continue
|
||||
|
||||
values["name"] = item["title"]
|
||||
values["executable"] = (
|
||||
["start", f"heroic://launch/{app_name}"]
|
||||
if os.name == "nt"
|
||||
else ["xdg-open", f"heroic://launch/{app_name}"]
|
||||
)
|
||||
values["hidden"] = False
|
||||
values["source"] = "heroic_sideload"
|
||||
values["added"] = current_time
|
||||
values["last_played"] = 0
|
||||
image_path = (
|
||||
heroic_dir
|
||||
/ "images-cache"
|
||||
/ sha256(item["art_square"].encode()).hexdigest()
|
||||
)
|
||||
|
||||
importer.save_game(values, image_path if image_path.exists() else None)
|
||||
@@ -1,192 +0,0 @@
|
||||
# itch_importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
from pathlib import Path
|
||||
from shutil import copyfile
|
||||
from sqlite3 import connect
|
||||
from time import time
|
||||
|
||||
import requests
|
||||
from gi.repository import GdkPixbuf, Gio
|
||||
|
||||
from . import shared
|
||||
from .check_install import check_install
|
||||
from .save_cover import resize_cover
|
||||
|
||||
|
||||
def get_game(task, current_time, row):
|
||||
values = {}
|
||||
|
||||
values["game_id"] = f"itch_{row[0]}"
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
task.return_value((None, None))
|
||||
return
|
||||
|
||||
values["added"] = current_time
|
||||
values["executable"] = (
|
||||
["start", f"itch://caves/{row[4]}/launch"]
|
||||
if os.name == "nt"
|
||||
else ["xdg-open", f"itch://caves/{row[4]}/launch"]
|
||||
)
|
||||
values["hidden"] = False
|
||||
values["last_played"] = 0
|
||||
values["name"] = row[1]
|
||||
values["source"] = "itch"
|
||||
|
||||
if row[3] or row[2]:
|
||||
tmp_file = Gio.File.new_tmp()[0]
|
||||
try:
|
||||
with requests.get(row[3] or row[2], timeout=5) as cover:
|
||||
cover.raise_for_status()
|
||||
Path(tmp_file.get_path()).write_bytes(cover.content)
|
||||
except requests.exceptions.RequestException:
|
||||
task.return_value((values, None))
|
||||
return
|
||||
|
||||
game_cover = GdkPixbuf.Pixbuf.new_from_stream_at_scale(
|
||||
tmp_file.read(), 2, 2, False
|
||||
).scale_simple(*shared.image_size, GdkPixbuf.InterpType.BILINEAR)
|
||||
|
||||
itch_pixbuf = GdkPixbuf.Pixbuf.new_from_stream(tmp_file.read())
|
||||
itch_pixbuf = itch_pixbuf.scale_simple(
|
||||
shared.image_size[0],
|
||||
itch_pixbuf.get_height() * (shared.image_size[0] / itch_pixbuf.get_width()),
|
||||
GdkPixbuf.InterpType.BILINEAR,
|
||||
)
|
||||
itch_pixbuf.composite(
|
||||
game_cover,
|
||||
0,
|
||||
(shared.image_size[1] - itch_pixbuf.get_height()) / 2,
|
||||
itch_pixbuf.get_width(),
|
||||
itch_pixbuf.get_height(),
|
||||
0,
|
||||
(shared.image_size[1] - itch_pixbuf.get_height()) / 2,
|
||||
1.0,
|
||||
1.0,
|
||||
GdkPixbuf.InterpType.BILINEAR,
|
||||
255,
|
||||
)
|
||||
|
||||
else:
|
||||
game_cover = None
|
||||
|
||||
task.return_value((values, game_cover))
|
||||
|
||||
|
||||
def get_games_async(rows, importer):
|
||||
current_time = int(time())
|
||||
|
||||
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
|
||||
def create_func(current_time, row):
|
||||
def wrapper(task, *_args):
|
||||
get_game(
|
||||
task,
|
||||
current_time,
|
||||
row,
|
||||
)
|
||||
|
||||
return wrapper
|
||||
|
||||
def update_games(_task, result):
|
||||
final_values = result.propagate_value()[1]
|
||||
# No need for an if statement as final_value would be None for games we don't want to save
|
||||
importer.save_game(
|
||||
final_values[0],
|
||||
resize_cover(pixbuf=final_values[1]),
|
||||
)
|
||||
|
||||
for row in rows:
|
||||
task = Gio.Task.new(None, None, update_games)
|
||||
task.run_in_thread(create_func(current_time, row))
|
||||
|
||||
|
||||
def itch_installed(path=None):
|
||||
location_key = "itch-location"
|
||||
itch_dir = (
|
||||
path if path else Path(shared.schema.get_string(location_key)).expanduser()
|
||||
)
|
||||
check = Path("db") / "butler.db"
|
||||
|
||||
if not (itch_dir / check).is_file():
|
||||
locations = (
|
||||
(Path(),)
|
||||
if path
|
||||
else (
|
||||
Path.home() / ".var/app/io.itch.itch/config/itch",
|
||||
shared.config_dir / "itch",
|
||||
)
|
||||
)
|
||||
|
||||
if os.name == "nt" and not path:
|
||||
locations += (Path(os.getenv("appdata")) / "itch",)
|
||||
|
||||
itch_dir = check_install(check, locations, (shared.schema, location_key))
|
||||
|
||||
return itch_dir
|
||||
|
||||
|
||||
def itch_importer():
|
||||
itch_dir = itch_installed()
|
||||
if not itch_dir:
|
||||
return
|
||||
|
||||
database_path = (itch_dir / "db").expanduser()
|
||||
|
||||
db_cache_dir = shared.cache_dir / "cartridges" / "itch"
|
||||
db_cache_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Copy the file because sqlite3 doesn't like databases in /run/user/
|
||||
database_tmp_path = db_cache_dir / "butler.db"
|
||||
|
||||
for db_file in database_path.glob("butler.db*"):
|
||||
copyfile(db_file, (db_cache_dir / db_file.name))
|
||||
|
||||
db_request = """
|
||||
SELECT
|
||||
games.id,
|
||||
games.title,
|
||||
games.cover_url,
|
||||
games.still_cover_url,
|
||||
caves.id
|
||||
FROM
|
||||
'caves'
|
||||
INNER JOIN
|
||||
'games'
|
||||
ON
|
||||
caves.game_id = games.id
|
||||
;
|
||||
"""
|
||||
|
||||
connection = connect(database_tmp_path)
|
||||
cursor = connection.execute(db_request)
|
||||
rows = cursor.fetchall()
|
||||
connection.close()
|
||||
# No need to unlink temp files as they disappear when the connection is closed
|
||||
database_tmp_path.unlink(missing_ok=True)
|
||||
|
||||
importer = shared.importer
|
||||
importer.total_queue += len(rows)
|
||||
importer.queue += len(rows)
|
||||
|
||||
get_games_async(rows, importer)
|
||||
@@ -1,140 +0,0 @@
|
||||
# lutris_importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from pathlib import Path
|
||||
from shutil import copyfile
|
||||
from sqlite3 import connect
|
||||
from time import time
|
||||
|
||||
from . import shared
|
||||
from .check_install import check_install
|
||||
|
||||
|
||||
def lutris_installed(path=None):
|
||||
location_key = "lutris-location"
|
||||
lutris_dir = (
|
||||
path if path else Path(shared.schema.get_string(location_key)).expanduser()
|
||||
)
|
||||
check = "pga.db"
|
||||
|
||||
if not (lutris_dir / check).is_file():
|
||||
locations = (
|
||||
(Path(),)
|
||||
if path
|
||||
else (
|
||||
Path.home() / ".var/app/net.lutris.Lutris/data/lutris",
|
||||
shared.data_dir / "lutris",
|
||||
)
|
||||
)
|
||||
|
||||
lutris_dir = check_install(check, locations, (shared.schema, location_key))
|
||||
|
||||
return lutris_dir
|
||||
|
||||
|
||||
def lutris_cache_exists(path=None):
|
||||
cache_key = "lutris-cache-location"
|
||||
cache_dir = path if path else Path(shared.schema.get_string(cache_key)).expanduser()
|
||||
cache_check = "coverart"
|
||||
|
||||
if not (cache_dir / cache_check).exists():
|
||||
cache_locations = (
|
||||
(Path(),)
|
||||
if path
|
||||
else (
|
||||
Path.home() / ".var" / "app" / "net.lutris.Lutris" / "cache" / "lutris",
|
||||
shared.cache_dir / "lutris",
|
||||
)
|
||||
)
|
||||
|
||||
cache_dir = check_install(
|
||||
cache_check, cache_locations, (shared.schema, cache_key)
|
||||
)
|
||||
|
||||
return cache_dir
|
||||
|
||||
|
||||
def lutris_importer():
|
||||
lutris_dir = lutris_installed()
|
||||
if not lutris_dir:
|
||||
return
|
||||
|
||||
cache_dir = lutris_cache_exists()
|
||||
if not cache_dir:
|
||||
return
|
||||
|
||||
db_cache_dir = shared.cache_dir / "cartridges" / "lutris"
|
||||
db_cache_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Copy the file because sqlite3 doesn't like databases in /run/user/
|
||||
database_tmp_path = db_cache_dir / "pga.db"
|
||||
|
||||
for db_file in lutris_dir.glob("pga.db*"):
|
||||
copyfile(db_file, (db_cache_dir / db_file.name))
|
||||
|
||||
db_request = """
|
||||
SELECT
|
||||
id, name, slug, runner, hidden
|
||||
FROM
|
||||
'games'
|
||||
WHERE
|
||||
name IS NOT NULL
|
||||
AND slug IS NOT NULL
|
||||
AND configPath IS NOT NULL
|
||||
AND installed IS TRUE
|
||||
;
|
||||
"""
|
||||
|
||||
connection = connect(database_tmp_path)
|
||||
cursor = connection.execute(db_request)
|
||||
rows = cursor.fetchall()
|
||||
connection.close()
|
||||
# No need to unlink temp files as they disappear when the connection is closed
|
||||
database_tmp_path.unlink(missing_ok=True)
|
||||
|
||||
if not shared.schema.get_boolean("lutris-import-steam"):
|
||||
rows = [row for row in rows if not row[3] == "steam"]
|
||||
|
||||
current_time = int(time())
|
||||
|
||||
importer = shared.importer
|
||||
importer.total_queue += len(rows)
|
||||
importer.queue += len(rows)
|
||||
|
||||
for row in rows:
|
||||
values = {}
|
||||
|
||||
values["game_id"] = f"lutris_{row[3]}_{row[0]}"
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
importer.save_game()
|
||||
continue
|
||||
|
||||
values["added"] = current_time
|
||||
values["executable"] = ["xdg-open", f"lutris:rungameid/{row[0]}"]
|
||||
values["hidden"] = row[4] == 1
|
||||
values["last_played"] = 0
|
||||
values["name"] = row[1]
|
||||
values["source"] = f"lutris_{row[3]}"
|
||||
|
||||
image_path = cache_dir / "coverart" / f"{row[2]}.jpg"
|
||||
importer.save_game(values, image_path if image_path.exists() else None)
|
||||
@@ -1,182 +0,0 @@
|
||||
# steam_importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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 re
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
import requests
|
||||
from gi.repository import Gio
|
||||
|
||||
from . import shared
|
||||
from .check_install import check_install
|
||||
|
||||
|
||||
def update_values_from_data(content, values):
|
||||
basic_data = content[values["appid"]]
|
||||
if not basic_data["success"]:
|
||||
values["blacklisted"] = True
|
||||
else:
|
||||
data = basic_data["data"]
|
||||
values["developer"] = ", ".join(data["developers"])
|
||||
|
||||
if data["type"] != "game":
|
||||
values["blacklisted"] = True
|
||||
|
||||
return values
|
||||
|
||||
|
||||
def get_game(task, datatypes, current_time, appmanifest, steam_dir):
|
||||
values = {}
|
||||
|
||||
data = appmanifest.read_text("utf-8")
|
||||
for datatype in datatypes:
|
||||
value = re.findall(f'"{datatype}"\t\t"(.*)"\n', data, re.IGNORECASE)
|
||||
try:
|
||||
values[datatype] = value[0]
|
||||
except IndexError:
|
||||
task.return_value((None, None))
|
||||
return
|
||||
|
||||
values["game_id"] = f'steam_{values["appid"]}'
|
||||
|
||||
if (
|
||||
values["game_id"] in shared.win.games
|
||||
and not shared.win.games[values["game_id"]].removed
|
||||
):
|
||||
task.return_value((None, None))
|
||||
return
|
||||
|
||||
values["executable"] = (
|
||||
["start", f'steam://rungameid/{values["appid"]}']
|
||||
if os.name == "nt"
|
||||
else ["xdg-open", f'steam://rungameid/{values["appid"]}']
|
||||
)
|
||||
values["hidden"] = False
|
||||
values["source"] = "steam"
|
||||
values["added"] = current_time
|
||||
values["last_played"] = 0
|
||||
|
||||
image_path = (
|
||||
steam_dir
|
||||
/ "appcache"
|
||||
/ "librarycache"
|
||||
/ f'{values["appid"]}_library_600x900.jpg'
|
||||
)
|
||||
|
||||
try:
|
||||
with requests.get(
|
||||
f'https://store.steampowered.com/api/appdetails?appids={values["appid"]}',
|
||||
timeout=5,
|
||||
) as open_file:
|
||||
open_file.raise_for_status()
|
||||
content = open_file.json()
|
||||
except requests.exceptions.RequestException:
|
||||
task.return_value((values, image_path if image_path.exists() else None))
|
||||
return
|
||||
|
||||
values = update_values_from_data(content, values)
|
||||
task.return_value((values, image_path if image_path.exists() else None))
|
||||
|
||||
|
||||
def get_games_async(appmanifests, steam_dir, importer):
|
||||
datatypes = ["appid", "name"]
|
||||
current_time = int(time())
|
||||
|
||||
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
|
||||
def create_func(datatypes, current_time, appmanifest, steam_dir):
|
||||
def wrapper(task, *_args):
|
||||
get_game(
|
||||
task,
|
||||
datatypes,
|
||||
current_time,
|
||||
appmanifest,
|
||||
steam_dir,
|
||||
)
|
||||
|
||||
return wrapper
|
||||
|
||||
def update_games(_task, result):
|
||||
final_values = result.propagate_value()[1]
|
||||
# No need for an if statement as final_value would be None for games we don't want to save
|
||||
importer.save_game(final_values[0], final_values[1])
|
||||
|
||||
for appmanifest in appmanifests:
|
||||
task = Gio.Task.new(None, None, update_games)
|
||||
task.run_in_thread(create_func(datatypes, current_time, appmanifest, steam_dir))
|
||||
|
||||
|
||||
def steam_installed(path=None):
|
||||
location_key = "steam-location"
|
||||
steam_dir = Path(shared.schema.get_string(location_key)).expanduser()
|
||||
check = "steamapps"
|
||||
|
||||
if not (steam_dir / check).is_file():
|
||||
subdirs = ("steam", "Steam")
|
||||
locations = (
|
||||
(path,)
|
||||
if path
|
||||
else (
|
||||
steam_dir,
|
||||
Path.home() / ".steam",
|
||||
shared.data_dir / "Steam",
|
||||
Path.home() / ".var/app/com.valvesoftware.Steam/data/Steam",
|
||||
)
|
||||
)
|
||||
|
||||
if os.name == "nt":
|
||||
locations += (Path(os.getenv("programfiles(x86)")) / "Steam",)
|
||||
|
||||
steam_dir = check_install(
|
||||
check, locations, (shared.schema, location_key), subdirs
|
||||
)
|
||||
|
||||
return steam_dir
|
||||
|
||||
|
||||
def steam_importer():
|
||||
steam_dir = steam_installed()
|
||||
if not steam_dir:
|
||||
return
|
||||
|
||||
appmanifests = []
|
||||
|
||||
if (lib_file := steam_dir / "steamapps" / "libraryfolders.vdf").is_file():
|
||||
libraryfolders = lib_file.open().read()
|
||||
steam_dirs = [
|
||||
Path(path) for path in re.findall('"path"\t\t"(.*)"\n', libraryfolders)
|
||||
]
|
||||
else:
|
||||
steam_dirs = [steam_dir]
|
||||
|
||||
for directory in steam_dirs:
|
||||
if not (directory / "steamapps").exists():
|
||||
steam_dirs.remove(directory)
|
||||
|
||||
for directory in steam_dirs:
|
||||
for open_file in (directory / "steamapps").iterdir():
|
||||
if open_file.is_file() and "appmanifest" in open_file.name:
|
||||
appmanifests.append(open_file)
|
||||
|
||||
importer = shared.importer
|
||||
importer.total_queue += len(appmanifests)
|
||||
importer.queue += len(appmanifests)
|
||||
|
||||
get_games_async(appmanifests, steam_dir, importer)
|
||||
44
src/logging/color_log_formatter.py
Normal file
44
src/logging/color_log_formatter.py
Normal file
@@ -0,0 +1,44 @@
|
||||
# color_log_formatter.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from logging import Formatter, LogRecord
|
||||
|
||||
|
||||
class ColorLogFormatter(Formatter):
|
||||
"""Formatter that outputs logs in a colored format"""
|
||||
|
||||
RESET = "\033[0m"
|
||||
DIM = "\033[2m"
|
||||
BOLD = "\033[1m"
|
||||
RED = "\033[31m"
|
||||
YELLOW = "\033[33m"
|
||||
|
||||
def format(self, record: LogRecord):
|
||||
super_format = super().format(record)
|
||||
match record.levelname:
|
||||
case "CRITICAL":
|
||||
return self.BOLD + self.RED + super_format + self.RESET
|
||||
case "ERROR":
|
||||
return self.RED + super_format + self.RESET
|
||||
case "WARNING":
|
||||
return self.YELLOW + super_format + self.RESET
|
||||
case "DEBUG":
|
||||
return self.DIM + super_format + self.RESET
|
||||
case _other:
|
||||
return super_format
|
||||
132
src/logging/session_file_handler.py
Normal file
132
src/logging/session_file_handler.py
Normal file
@@ -0,0 +1,132 @@
|
||||
# session_file_handler.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 lzma
|
||||
from io import StringIO
|
||||
from logging import StreamHandler
|
||||
from lzma import FORMAT_XZ, PRESET_DEFAULT
|
||||
from os import PathLike
|
||||
from pathlib import Path
|
||||
|
||||
from src import shared
|
||||
|
||||
|
||||
class SessionFileHandler(StreamHandler):
|
||||
"""
|
||||
A logging handler that writes to a new file on every app restart.
|
||||
The files are compressed and older sessions logs are kept up to a small limit.
|
||||
"""
|
||||
|
||||
NUMBER_SUFFIX_POSITION = 1
|
||||
|
||||
backup_count: int
|
||||
filename: Path
|
||||
log_file: StringIO = None
|
||||
|
||||
def create_dir(self) -> None:
|
||||
"""Create the log dir if needed"""
|
||||
self.filename.parent.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
def path_is_logfile(self, path: Path) -> bool:
|
||||
return path.is_file() and path.name.startswith(self.filename.stem)
|
||||
|
||||
def path_has_number(self, path: Path) -> bool:
|
||||
try:
|
||||
int(path.suffixes[self.NUMBER_SUFFIX_POSITION][1:])
|
||||
except (ValueError, IndexError):
|
||||
return False
|
||||
return True
|
||||
|
||||
def get_path_number(self, path: Path) -> int:
|
||||
"""Get the number extension in the filename as an int"""
|
||||
suffixes = path.suffixes
|
||||
number = (
|
||||
0
|
||||
if not self.path_has_number(path)
|
||||
else int(suffixes[self.NUMBER_SUFFIX_POSITION][1:])
|
||||
)
|
||||
return number
|
||||
|
||||
def set_path_number(self, path: Path, number: int) -> str:
|
||||
"""Set or add the number extension in the filename"""
|
||||
suffixes = path.suffixes
|
||||
if self.path_has_number(path):
|
||||
suffixes.pop(self.NUMBER_SUFFIX_POSITION)
|
||||
suffixes.insert(self.NUMBER_SUFFIX_POSITION, f".{number}")
|
||||
stem = path.name.split(".", maxsplit=1)[0]
|
||||
new_name = stem + "".join(suffixes)
|
||||
return new_name
|
||||
|
||||
def file_sort_key(self, path: Path) -> int:
|
||||
"""Key function used to sort files"""
|
||||
return self.get_path_number(path) if self.path_has_number(path) else 0
|
||||
|
||||
def get_logfiles(self) -> list[Path]:
|
||||
"""Get the log files"""
|
||||
logfiles = list(filter(self.path_is_logfile, self.filename.parent.iterdir()))
|
||||
logfiles.sort(key=self.file_sort_key, reverse=True)
|
||||
return logfiles
|
||||
|
||||
def rotate_file(self, path: Path):
|
||||
"""Rotate a file's number suffix and remove it if it's too old"""
|
||||
|
||||
# If uncompressed, compress
|
||||
if not path.name.endswith(".xz"):
|
||||
compressed_path = path.with_suffix(path.suffix + ".xz")
|
||||
with (
|
||||
lzma.open(
|
||||
compressed_path,
|
||||
"wt",
|
||||
format=FORMAT_XZ,
|
||||
preset=PRESET_DEFAULT,
|
||||
encoding="utf-8",
|
||||
) as lzma_file,
|
||||
open(path, "r", encoding="utf-8") as original_file,
|
||||
):
|
||||
lzma_file.write(original_file.read())
|
||||
path.unlink()
|
||||
path = compressed_path
|
||||
|
||||
# Rename with new number suffix
|
||||
new_number = self.get_path_number(path) + 1
|
||||
new_path_name = self.set_path_number(path, new_number)
|
||||
path = path.rename(path.with_name(new_path_name))
|
||||
|
||||
# Remove older files
|
||||
if new_number > self.backup_count:
|
||||
path.unlink()
|
||||
return
|
||||
|
||||
def rotate(self) -> None:
|
||||
"""Rotate the numbered suffix on the log files and remove old ones"""
|
||||
for path in self.get_logfiles():
|
||||
self.rotate_file(path)
|
||||
|
||||
def __init__(self, filename: PathLike, backup_count: int = 2) -> None:
|
||||
self.filename = Path(filename)
|
||||
self.backup_count = backup_count
|
||||
self.create_dir()
|
||||
self.rotate()
|
||||
self.log_file = open(self.filename, "w", encoding="utf-8")
|
||||
shared.log_files = self.get_logfiles()
|
||||
super().__init__(self.log_file)
|
||||
|
||||
def close(self) -> None:
|
||||
self.log_file.close()
|
||||
super().close()
|
||||
109
src/logging/setup.py
Normal file
109
src/logging/setup.py
Normal file
@@ -0,0 +1,109 @@
|
||||
# setup.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
import logging.config as logging_dot_config
|
||||
import os
|
||||
import platform
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from src import shared
|
||||
|
||||
|
||||
def setup_logging():
|
||||
"""Intitate the app's logging"""
|
||||
|
||||
is_dev = shared.PROFILE == "development"
|
||||
profile_app_log_level = "DEBUG" if is_dev else "INFO"
|
||||
profile_lib_log_level = "INFO" if is_dev else "WARNING"
|
||||
app_log_level = os.environ.get("LOGLEVEL", profile_app_log_level).upper()
|
||||
lib_log_level = os.environ.get("LIBLOGLEVEL", profile_lib_log_level).upper()
|
||||
|
||||
log_filename = shared.cache_dir / "cartridges" / "logs" / "cartridges.log"
|
||||
|
||||
config = {
|
||||
"version": 1,
|
||||
"formatters": {
|
||||
"file_formatter": {
|
||||
"format": "%(asctime)s - %(levelname)s: %(message)s",
|
||||
"datefmt": "%M:%S",
|
||||
},
|
||||
"console_formatter": {
|
||||
"format": "%(name)s %(levelname)s - %(message)s",
|
||||
"class": "src.logging.color_log_formatter.ColorLogFormatter",
|
||||
},
|
||||
},
|
||||
"handlers": {
|
||||
"file_handler": {
|
||||
"class": "src.logging.session_file_handler.SessionFileHandler",
|
||||
"formatter": "file_formatter",
|
||||
"level": "DEBUG",
|
||||
"filename": log_filename,
|
||||
"backup_count": 2,
|
||||
},
|
||||
"app_console_handler": {
|
||||
"class": "logging.StreamHandler",
|
||||
"formatter": "console_formatter",
|
||||
"level": app_log_level,
|
||||
},
|
||||
"lib_console_handler": {
|
||||
"class": "logging.StreamHandler",
|
||||
"formatter": "console_formatter",
|
||||
"level": lib_log_level,
|
||||
},
|
||||
},
|
||||
"loggers": {
|
||||
"PIL": {
|
||||
"handlers": ["lib_console_handler", "file_handler"],
|
||||
"propagate": False,
|
||||
"level": "NOTSET",
|
||||
},
|
||||
"urllib3": {
|
||||
"handlers": ["lib_console_handler", "file_handler"],
|
||||
"propagate": False,
|
||||
"level": "NOTSET",
|
||||
},
|
||||
},
|
||||
"root": {
|
||||
"level": "NOTSET",
|
||||
"handlers": ["app_console_handler", "file_handler"],
|
||||
},
|
||||
}
|
||||
logging_dot_config.dictConfig(config)
|
||||
|
||||
|
||||
def log_system_info():
|
||||
"""Log system debug information"""
|
||||
|
||||
logging.debug("Starting %s v%s (%s)", shared.APP_ID, shared.VERSION, shared.PROFILE)
|
||||
logging.debug("Python version: %s", sys.version)
|
||||
if os.getenv("FLATPAK_ID") == shared.APP_ID:
|
||||
process = subprocess.run(
|
||||
("flatpak-spawn", "--host", "flatpak", "--version"),
|
||||
capture_output=True,
|
||||
encoding="utf-8",
|
||||
check=False,
|
||||
)
|
||||
logging.debug("Flatpak version: %s", process.stdout.rstrip())
|
||||
logging.debug("Platform: %s", platform.platform())
|
||||
if os.name == "posix":
|
||||
for key, value in platform.uname()._asdict().items():
|
||||
logging.debug("\t%s: %s", key.title(), value)
|
||||
logging.debug("─" * 37)
|
||||
120
src/main.py
120
src/main.py
@@ -17,6 +17,8 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import json
|
||||
import lzma
|
||||
import sys
|
||||
|
||||
import gi
|
||||
@@ -27,31 +29,48 @@ gi.require_version("Adw", "1")
|
||||
# pylint: disable=wrong-import-position
|
||||
from gi.repository import Adw, Gio, GLib, Gtk
|
||||
|
||||
from . import shared
|
||||
from .bottles_importer import bottles_importer
|
||||
from .details_window import DetailsWindow
|
||||
from .heroic_importer import heroic_importer
|
||||
from .importer import Importer
|
||||
from .itch_importer import itch_importer
|
||||
from .lutris_importer import lutris_importer
|
||||
from .preferences import PreferencesWindow
|
||||
from .steam_importer import steam_importer
|
||||
from .window import CartridgesWindow
|
||||
from src import shared
|
||||
from src.details_window import DetailsWindow
|
||||
from src.game import Game
|
||||
from src.importer.importer import Importer
|
||||
from src.importer.sources.bottles_source import BottlesSource
|
||||
from src.importer.sources.flatpak_source import FlatpakSource
|
||||
from src.importer.sources.heroic_source import HeroicSource
|
||||
from src.importer.sources.itch_source import ItchSource
|
||||
from src.importer.sources.legendary_source import LegendarySource
|
||||
from src.importer.sources.lutris_source import LutrisSource
|
||||
from src.importer.sources.steam_source import SteamSource
|
||||
from src.logging.setup import log_system_info, setup_logging
|
||||
from src.preferences import PreferencesWindow
|
||||
from src.store.managers.display_manager import DisplayManager
|
||||
from src.store.managers.file_manager import FileManager
|
||||
from src.store.managers.local_cover_manager import LocalCoverManager
|
||||
from src.store.managers.online_cover_manager import OnlineCoverManager
|
||||
from src.store.managers.sgdb_manager import SGDBManager
|
||||
from src.store.managers.steam_api_manager import SteamAPIManager
|
||||
from src.store.store import Store
|
||||
from src.window import CartridgesWindow
|
||||
|
||||
|
||||
class CartridgesApplication(Adw.Application):
|
||||
win = None
|
||||
|
||||
def __init__(self):
|
||||
shared.store = Store()
|
||||
super().__init__(
|
||||
application_id="hu.kramo.Cartridges", flags=Gio.ApplicationFlags.FLAGS_NONE
|
||||
application_id=shared.APP_ID, flags=Gio.ApplicationFlags.FLAGS_NONE
|
||||
)
|
||||
|
||||
def do_activate(self): # pylint: disable=arguments-differ
|
||||
"""Called on app creation"""
|
||||
|
||||
# Set fallback icon-name
|
||||
Gtk.Window.set_default_icon_name(shared.APP_ID)
|
||||
|
||||
# Create the main window
|
||||
self.win = self.props.active_window # pylint: disable=no-member
|
||||
if not self.win:
|
||||
self.win = CartridgesWindow(application=self)
|
||||
shared.win = self.win = CartridgesWindow(application=self)
|
||||
|
||||
# Save window geometry
|
||||
shared.state_schema.bind(
|
||||
@@ -64,6 +83,18 @@ class CartridgesApplication(Adw.Application):
|
||||
"is-maximized", self.win, "maximized", Gio.SettingsBindFlags.DEFAULT
|
||||
)
|
||||
|
||||
# Load games from disk
|
||||
shared.store.add_manager(FileManager(), False)
|
||||
shared.store.add_manager(DisplayManager())
|
||||
self.load_games_from_disk()
|
||||
|
||||
# Add rest of the managers for game imports
|
||||
shared.store.add_manager(LocalCoverManager())
|
||||
shared.store.add_manager(SteamAPIManager())
|
||||
shared.store.add_manager(OnlineCoverManager())
|
||||
shared.store.add_manager(SGDBManager())
|
||||
shared.store.toggle_manager_in_pipelines(FileManager, True)
|
||||
|
||||
# Create actions
|
||||
self.create_actions(
|
||||
{
|
||||
@@ -103,18 +134,40 @@ class CartridgesApplication(Adw.Application):
|
||||
|
||||
self.win.present()
|
||||
|
||||
def load_games_from_disk(self):
|
||||
if shared.games_dir.is_dir():
|
||||
for game_file in shared.games_dir.iterdir():
|
||||
data = json.load(game_file.open())
|
||||
game = Game(data)
|
||||
shared.store.add_game(game, {"skip_save": True})
|
||||
|
||||
def on_about_action(self, *_args):
|
||||
# Get the debug info from the log files
|
||||
debug_str = ""
|
||||
for i, path in enumerate(shared.log_files):
|
||||
# Add a horizontal line between runs
|
||||
if i > 0:
|
||||
debug_str += "─" * 37 + "\n"
|
||||
# Add the run's logs
|
||||
log_file = (
|
||||
lzma.open(path, "rt", encoding="utf-8")
|
||||
if path.name.endswith(".xz")
|
||||
else open(path, "r", encoding="utf-8")
|
||||
)
|
||||
debug_str += log_file.read()
|
||||
log_file.close()
|
||||
|
||||
about = Adw.AboutWindow(
|
||||
transient_for=self.win,
|
||||
application_name=_("Cartridges"),
|
||||
application_icon="hu.kramo.Cartridges",
|
||||
application_icon=shared.APP_ID,
|
||||
developer_name="kramo",
|
||||
version="1.5.1",
|
||||
version=shared.VERSION,
|
||||
developers=[
|
||||
"kramo https://kramo.hu",
|
||||
"Geoffrey Coulaud https://geoffrey-coulaud.fr",
|
||||
"Arcitec https://github.com/Arcitec",
|
||||
"Domenico https://github.com/Domefemia",
|
||||
"Geoffrey Coulaud https://geoffrey-coulaud.fr",
|
||||
"Paweł Lidwin https://github.com/imLinguin",
|
||||
"Rafael Mardojai CM https://mardojai.com",
|
||||
],
|
||||
@@ -125,6 +178,8 @@ class CartridgesApplication(Adw.Application):
|
||||
website="https://github.com/kra-mo/cartridges",
|
||||
# Translators: Replace this with your name for it to show up in the about window
|
||||
translator_credits=_("translator_credits"),
|
||||
debug_info=debug_str,
|
||||
debug_info_filename="cartridges.log",
|
||||
)
|
||||
about.present()
|
||||
|
||||
@@ -138,6 +193,8 @@ class CartridgesApplication(Adw.Application):
|
||||
getattr(win, expander_row).set_expanded(True)
|
||||
win.present()
|
||||
|
||||
return win
|
||||
|
||||
def on_launch_game_action(self, *_args):
|
||||
self.win.active_game.launch()
|
||||
|
||||
@@ -151,30 +208,30 @@ class CartridgesApplication(Adw.Application):
|
||||
DetailsWindow()
|
||||
|
||||
def on_import_action(self, *_args):
|
||||
shared.importer = Importer()
|
||||
|
||||
shared.importer.blocker = True
|
||||
|
||||
if shared.schema.get_boolean("steam"):
|
||||
steam_importer()
|
||||
importer = Importer()
|
||||
|
||||
if shared.schema.get_boolean("lutris"):
|
||||
lutris_importer()
|
||||
importer.add_source(LutrisSource())
|
||||
|
||||
if shared.schema.get_boolean("steam"):
|
||||
importer.add_source(SteamSource())
|
||||
|
||||
if shared.schema.get_boolean("heroic"):
|
||||
heroic_importer()
|
||||
importer.add_source(HeroicSource())
|
||||
|
||||
if shared.schema.get_boolean("bottles"):
|
||||
bottles_importer()
|
||||
importer.add_source(BottlesSource())
|
||||
|
||||
if shared.schema.get_boolean("flatpak"):
|
||||
importer.add_source(FlatpakSource())
|
||||
|
||||
if shared.schema.get_boolean("itch"):
|
||||
itch_importer()
|
||||
importer.add_source(ItchSource())
|
||||
|
||||
shared.importer.blocker = False
|
||||
if shared.schema.get_boolean("legendary"):
|
||||
importer.add_source(LegendarySource())
|
||||
|
||||
if shared.importer.import_dialog.is_visible and shared.importer.queue == 0:
|
||||
shared.importer.queue = 1
|
||||
shared.importer.save_game()
|
||||
importer.run()
|
||||
|
||||
def on_remove_game_action(self, *_args):
|
||||
self.win.active_game.remove_game()
|
||||
@@ -220,6 +277,9 @@ class CartridgesApplication(Adw.Application):
|
||||
scope.add_action(simple_action)
|
||||
|
||||
|
||||
def main(version): # pylint: disable=unused-argument
|
||||
def main(_version):
|
||||
"""App entry point"""
|
||||
setup_logging()
|
||||
log_system_info()
|
||||
app = CartridgesApplication()
|
||||
return app.run(sys.argv)
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
moduledir = join_paths(pkgdatadir, 'cartridges')
|
||||
|
||||
python = import('python')
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('PYTHON', python.find_installation('python3').path())
|
||||
conf.set('VERSION', meson.project_version())
|
||||
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
|
||||
conf.set('pkgdatadir', pkgdatadir)
|
||||
moduledir = join_paths(pkgdatadir, 'src')
|
||||
|
||||
configure_file(
|
||||
input: 'cartridges.in',
|
||||
@@ -16,25 +8,24 @@ configure_file(
|
||||
install_dir: get_option('bindir')
|
||||
)
|
||||
|
||||
cartridges_sources = [
|
||||
'__init__.py',
|
||||
'main.py',
|
||||
'window.py',
|
||||
'preferences.py',
|
||||
'details_window.py',
|
||||
'game.py',
|
||||
'game_cover.py',
|
||||
'shared.py',
|
||||
'importers/steam_importer.py',
|
||||
'importers/lutris_importer.py',
|
||||
'importers/heroic_importer.py',
|
||||
'importers/bottles_importer.py',
|
||||
'importers/itch_importer.py',
|
||||
'utils/importer.py',
|
||||
'utils/steamgriddb.py',
|
||||
'utils/save_cover.py',
|
||||
'utils/create_dialog.py',
|
||||
'utils/check_install.py'
|
||||
]
|
||||
|
||||
install_data(cartridges_sources, install_dir: moduledir)
|
||||
install_subdir('importer', install_dir: moduledir)
|
||||
install_subdir('utils', install_dir: moduledir)
|
||||
install_subdir('store', install_dir: moduledir)
|
||||
install_subdir('logging', install_dir: moduledir)
|
||||
install_subdir('errors', install_dir: moduledir)
|
||||
install_data(
|
||||
[
|
||||
'main.py',
|
||||
'window.py',
|
||||
'preferences.py',
|
||||
'details_window.py',
|
||||
'game.py',
|
||||
'game_cover.py',
|
||||
configure_file(
|
||||
input: 'shared.py.in',
|
||||
output: 'shared.py',
|
||||
configuration: conf
|
||||
)
|
||||
],
|
||||
install_dir: moduledir
|
||||
)
|
||||
@@ -17,23 +17,27 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import os
|
||||
import logging
|
||||
import re
|
||||
from pathlib import Path
|
||||
from shutil import rmtree
|
||||
|
||||
from gi.repository import Adw, Gio, GLib, Gtk
|
||||
|
||||
# pylint: disable=unused-import
|
||||
from . import shared
|
||||
from .bottles_importer import bottles_installed
|
||||
from .create_dialog import create_dialog
|
||||
from .heroic_importer import heroic_installed
|
||||
from .itch_importer import itch_installed
|
||||
from .lutris_importer import lutris_cache_exists, lutris_installed
|
||||
from .steam_importer import steam_installed
|
||||
from src import shared
|
||||
from src.importer.sources.bottles_source import BottlesSource
|
||||
from src.importer.sources.flatpak_source import FlatpakSource
|
||||
from src.importer.sources.heroic_source import HeroicSource
|
||||
from src.importer.sources.itch_source import ItchSource
|
||||
from src.importer.sources.legendary_source import LegendarySource
|
||||
from src.importer.sources.location import UnresolvableLocationError
|
||||
from src.importer.sources.lutris_source import LutrisSource
|
||||
from src.importer.sources.source import Source
|
||||
from src.importer.sources.steam_source import SteamSource
|
||||
from src.utils.create_dialog import create_dialog
|
||||
|
||||
|
||||
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/preferences.ui")
|
||||
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/preferences.ui")
|
||||
class PreferencesWindow(Adw.PreferencesWindow):
|
||||
__gtype_name__ = "PreferencesWindow"
|
||||
|
||||
@@ -46,33 +50,42 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
exit_after_launch_switch = Gtk.Template.Child()
|
||||
cover_launches_game_switch = Gtk.Template.Child()
|
||||
high_quality_images_switch = Gtk.Template.Child()
|
||||
remove_all_games_button = Gtk.Template.Child()
|
||||
|
||||
steam_expander_row = Gtk.Template.Child()
|
||||
steam_action_row = Gtk.Template.Child()
|
||||
steam_file_chooser_button = Gtk.Template.Child()
|
||||
steam_data_action_row = Gtk.Template.Child()
|
||||
steam_data_file_chooser_button = Gtk.Template.Child()
|
||||
|
||||
lutris_expander_row = Gtk.Template.Child()
|
||||
lutris_action_row = Gtk.Template.Child()
|
||||
lutris_file_chooser_button = Gtk.Template.Child()
|
||||
lutris_data_action_row = Gtk.Template.Child()
|
||||
lutris_data_file_chooser_button = Gtk.Template.Child()
|
||||
lutris_cache_action_row = Gtk.Template.Child()
|
||||
lutris_cache_file_chooser_button = Gtk.Template.Child()
|
||||
lutris_import_steam_switch = Gtk.Template.Child()
|
||||
lutris_import_flatpak_switch = Gtk.Template.Child()
|
||||
|
||||
heroic_expander_row = Gtk.Template.Child()
|
||||
heroic_action_row = Gtk.Template.Child()
|
||||
heroic_file_chooser_button = Gtk.Template.Child()
|
||||
heroic_config_action_row = Gtk.Template.Child()
|
||||
heroic_config_file_chooser_button = Gtk.Template.Child()
|
||||
heroic_import_epic_switch = Gtk.Template.Child()
|
||||
heroic_import_gog_switch = Gtk.Template.Child()
|
||||
heroic_import_sideload_switch = Gtk.Template.Child()
|
||||
|
||||
bottles_expander_row = Gtk.Template.Child()
|
||||
bottles_action_row = Gtk.Template.Child()
|
||||
bottles_file_chooser_button = Gtk.Template.Child()
|
||||
bottles_data_action_row = Gtk.Template.Child()
|
||||
bottles_data_file_chooser_button = Gtk.Template.Child()
|
||||
|
||||
itch_expander_row = Gtk.Template.Child()
|
||||
itch_action_row = Gtk.Template.Child()
|
||||
itch_file_chooser_button = Gtk.Template.Child()
|
||||
itch_config_action_row = Gtk.Template.Child()
|
||||
itch_config_file_chooser_button = Gtk.Template.Child()
|
||||
|
||||
legendary_expander_row = Gtk.Template.Child()
|
||||
legendary_config_action_row = Gtk.Template.Child()
|
||||
legendary_config_file_chooser_button = Gtk.Template.Child()
|
||||
|
||||
flatpak_expander_row = Gtk.Template.Child()
|
||||
flatpak_data_action_row = Gtk.Template.Child()
|
||||
flatpak_data_file_chooser_button = Gtk.Template.Child()
|
||||
flatpak_import_launchers_switch = Gtk.Template.Child()
|
||||
|
||||
sgdb_key_group = Gtk.Template.Child()
|
||||
sgdb_key_entry_row = Gtk.Template.Child()
|
||||
@@ -81,12 +94,13 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
sgdb_prefer_switch = Gtk.Template.Child()
|
||||
sgdb_animated_switch = Gtk.Template.Child()
|
||||
|
||||
removed_games = set()
|
||||
danger_zone_group = Gtk.Template.Child()
|
||||
reset_action_row = Gtk.Template.Child()
|
||||
reset_button = Gtk.Template.Child()
|
||||
remove_all_games_button = Gtk.Template.Child()
|
||||
|
||||
# Whether to import after closing the window
|
||||
import_changed = False
|
||||
# Widgets and their properties to check whether to import after closing the window
|
||||
import_changed_widgets = {}
|
||||
removed_games = set()
|
||||
warning_menu_buttons = {}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
@@ -110,49 +124,28 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
# General
|
||||
self.remove_all_games_button.connect("clicked", self.remove_all_games)
|
||||
|
||||
# Steam
|
||||
self.create_preferences(self, "steam", "Steam")
|
||||
|
||||
# Lutris
|
||||
self.create_preferences(self, "lutris", "Lutris")
|
||||
|
||||
def set_cache_dir(_source, result, *_args):
|
||||
try:
|
||||
path = Path(self.file_chooser.select_folder_finish(result).get_path())
|
||||
except GLib.GError:
|
||||
return
|
||||
|
||||
def response(widget, response):
|
||||
if response == "choose_folder":
|
||||
self.choose_folder(widget, set_cache_dir)
|
||||
|
||||
if lutris_cache_exists(self.win, path):
|
||||
self.import_changed = True
|
||||
self.set_subtitle(self, "lutris-cache")
|
||||
# Debug
|
||||
if shared.PROFILE == "development":
|
||||
self.reset_action_row.set_visible(True)
|
||||
self.reset_button.connect("clicked", self.reset_app)
|
||||
self.set_default_size(-1, 560)
|
||||
|
||||
# Sources settings
|
||||
for source_class in (
|
||||
BottlesSource,
|
||||
FlatpakSource,
|
||||
HeroicSource,
|
||||
ItchSource,
|
||||
LegendarySource,
|
||||
LutrisSource,
|
||||
SteamSource,
|
||||
):
|
||||
source = source_class()
|
||||
if not source.is_available:
|
||||
expander_row = getattr(self, f"{source.id}_expander_row")
|
||||
expander_row.set_visible(False)
|
||||
else:
|
||||
create_dialog(
|
||||
self.win,
|
||||
_("Cache Not Found"),
|
||||
_("Select the Lutris cache directory."),
|
||||
"choose_folder",
|
||||
_("Set Location"),
|
||||
).connect("response", response)
|
||||
|
||||
self.set_subtitle(self, "lutris-cache")
|
||||
|
||||
self.lutris_cache_file_chooser_button.connect(
|
||||
"clicked", self.choose_folder, set_cache_dir
|
||||
)
|
||||
|
||||
# Heroic
|
||||
self.create_preferences(self, "heroic", "Heroic", True)
|
||||
|
||||
# Bottles
|
||||
self.create_preferences(self, "bottles", "Bottles")
|
||||
|
||||
# itch
|
||||
self.create_preferences(self, "itch", "itch", True)
|
||||
self.init_source_row(source)
|
||||
|
||||
# SteamGridDB
|
||||
def sgdb_key_changed(*_args):
|
||||
@@ -185,34 +178,17 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
"cover-launches-game",
|
||||
"high-quality-images",
|
||||
"lutris-import-steam",
|
||||
"lutris-import-flatpak",
|
||||
"heroic-import-epic",
|
||||
"heroic-import-gog",
|
||||
"heroic-import-sideload",
|
||||
"flatpak-import-launchers",
|
||||
"sgdb",
|
||||
"sgdb-prefer",
|
||||
"sgdb-animated",
|
||||
)
|
||||
)
|
||||
|
||||
# Connect the switches that change the behavior of importing to set_import_changed
|
||||
self.connect_import_switches(
|
||||
(
|
||||
"lutris-import-steam",
|
||||
"heroic-import-epic",
|
||||
"heroic-import-gog",
|
||||
"heroic-import-sideload",
|
||||
)
|
||||
)
|
||||
|
||||
# Windows
|
||||
if os.name == "nt":
|
||||
self.sources_group.remove(self.lutris_expander_row)
|
||||
self.sources_group.remove(self.bottles_expander_row)
|
||||
|
||||
# When the user interacts with a widget that changes the behavior of importing,
|
||||
# Cartridges should automatically import upon closing the preferences window
|
||||
self.connect("close-request", self.check_import)
|
||||
|
||||
def get_switch(self, setting):
|
||||
return getattr(self, f'{setting.replace("-", "_")}_switch')
|
||||
|
||||
@@ -225,107 +201,189 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
Gio.SettingsBindFlags.DEFAULT,
|
||||
)
|
||||
|
||||
def connect_import_switches(self, settings):
|
||||
for setting in settings:
|
||||
self.get_switch(setting).connect("notify::active", self.set_import_changed)
|
||||
|
||||
def choose_folder(self, _widget, function):
|
||||
self.file_chooser.select_folder(self.win, None, function, None)
|
||||
def choose_folder(self, _widget, callback, callback_data=None):
|
||||
self.file_chooser.select_folder(self.win, None, callback, callback_data)
|
||||
|
||||
def undo_remove_all(self, *_args):
|
||||
for game in self.removed_games:
|
||||
game.removed = False
|
||||
game.save()
|
||||
game.update()
|
||||
|
||||
self.removed_games = set()
|
||||
self.toast.dismiss()
|
||||
|
||||
def remove_all_games(self, *_args):
|
||||
for game in self.win.games.values():
|
||||
for game in shared.store:
|
||||
if not game.removed:
|
||||
self.removed_games.add(game)
|
||||
|
||||
game.removed = True
|
||||
game.save()
|
||||
game.update()
|
||||
|
||||
if self.win.stack.get_visible_child() == self.win.details_view:
|
||||
self.win.on_go_back_action()
|
||||
|
||||
self.add_toast(self.toast)
|
||||
|
||||
def set_subtitle(self, win, source_id):
|
||||
getattr(win, f'{source_id.replace("-", "_")}_action_row').set_subtitle(
|
||||
# Remove the path if the dir is picked via the Flatpak portal
|
||||
re.sub(
|
||||
"/run/user/\\d*/doc/......../",
|
||||
"",
|
||||
str(
|
||||
Path(shared.schema.get_string(f"{source_id}-location")).expanduser()
|
||||
),
|
||||
)
|
||||
)
|
||||
def reset_app(self, *_args):
|
||||
rmtree(shared.data_dir / "cartridges", True)
|
||||
rmtree(shared.config_dir / "cartridges", True)
|
||||
rmtree(shared.cache_dir / "cartridges", True)
|
||||
|
||||
for key in (
|
||||
(settings_schema_source := Gio.SettingsSchemaSource.get_default())
|
||||
.lookup(shared.APP_ID, True)
|
||||
.list_keys()
|
||||
):
|
||||
shared.schema.reset(key)
|
||||
for key in settings_schema_source.lookup(
|
||||
shared.APP_ID + ".State", True
|
||||
).list_keys():
|
||||
shared.state_schema.reset(key)
|
||||
|
||||
shared.win.get_application().quit()
|
||||
|
||||
def update_source_action_row_paths(self, source):
|
||||
"""Set the dir subtitle for a source's action rows"""
|
||||
for location in ("data", "config", "cache"):
|
||||
# Get the action row to subtitle
|
||||
action_row = getattr(self, f"{source.id}_{location}_action_row", None)
|
||||
if not action_row:
|
||||
continue
|
||||
|
||||
infix = "-cache" if location == "cache" else ""
|
||||
key = f"{source.id}{infix}-location"
|
||||
path = Path(shared.schema.get_string(key)).expanduser()
|
||||
|
||||
# Remove the path prefix if picked via Flatpak portal
|
||||
subtitle = re.sub("/run/user/\\d*/doc/.*/", "", str(path))
|
||||
action_row.set_subtitle(subtitle)
|
||||
|
||||
def resolve_locations(self, source):
|
||||
"""Resolve locations and add a warning if location cannot be found"""
|
||||
|
||||
def clear_warning_selection(_widget, label):
|
||||
label.select_region(-1, -1)
|
||||
|
||||
for location_name in ("data", "config", "cache"):
|
||||
action_row = getattr(self, f"{source.id}_{location_name}_action_row", None)
|
||||
if not action_row:
|
||||
continue
|
||||
|
||||
def create_preferences(self, win, source_id, name, config=False):
|
||||
def set_dir(_source, result, *_args):
|
||||
try:
|
||||
path = Path(win.file_chooser.select_folder_finish(result).get_path())
|
||||
getattr(source, f"{location_name}_location", None).resolve()
|
||||
|
||||
except UnresolvableLocationError:
|
||||
popover = Gtk.Popover(
|
||||
child=(
|
||||
label := Gtk.Label(
|
||||
label=(
|
||||
'<span rise="12pt"><b><big>'
|
||||
+ _("Installation Not Found")
|
||||
+ "</big></b></span>\n"
|
||||
+ _("Select a valid directory.")
|
||||
),
|
||||
use_markup=True,
|
||||
wrap=True,
|
||||
max_width_chars=50,
|
||||
halign=Gtk.Align.CENTER,
|
||||
valign=Gtk.Align.CENTER,
|
||||
justify=Gtk.Justification.CENTER,
|
||||
margin_top=9,
|
||||
margin_bottom=9,
|
||||
margin_start=12,
|
||||
margin_end=12,
|
||||
selectable=True,
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
popover.connect("show", clear_warning_selection, label)
|
||||
|
||||
menu_button = Gtk.MenuButton(
|
||||
icon_name="dialog-warning-symbolic",
|
||||
valign=Gtk.Align.CENTER,
|
||||
popover=popover,
|
||||
)
|
||||
menu_button.add_css_class("warning")
|
||||
|
||||
action_row.add_prefix(menu_button)
|
||||
self.warning_menu_buttons[source.id] = menu_button
|
||||
|
||||
def init_source_row(self, source: Source):
|
||||
"""Initialize a preference row for a source class"""
|
||||
|
||||
def set_dir(_widget, result, location_name):
|
||||
"""Callback called when a dir picker button is clicked"""
|
||||
|
||||
try:
|
||||
path = Path(self.file_chooser.select_folder_finish(result).get_path())
|
||||
except GLib.GError:
|
||||
return
|
||||
|
||||
def response(widget, response):
|
||||
if response == "choose_folder":
|
||||
win.choose_folder(widget, set_dir)
|
||||
# Good picked location
|
||||
location = getattr(source, f"{location_name}_location")
|
||||
if location.check_candidate(path):
|
||||
# Set the schema
|
||||
infix = "-cache" if location_name == "cache" else ""
|
||||
key = f"{source.id}{infix}-location"
|
||||
value = str(path)
|
||||
shared.schema.set_string(key, value)
|
||||
# Update the row
|
||||
self.update_source_action_row_paths(source)
|
||||
|
||||
if globals()[f"{source_id}_installed"](path):
|
||||
self.import_changed = True
|
||||
self.set_subtitle(win, source_id)
|
||||
if self.warning_menu_buttons.get(source.id):
|
||||
action_row = getattr(
|
||||
self, f"{source.id}_{location_name}_action_row", None
|
||||
)
|
||||
action_row.remove(self.warning_menu_buttons[source.id])
|
||||
self.warning_menu_buttons.pop(source.id)
|
||||
|
||||
logging.debug("User-set value for schema key %s: %s", key, value)
|
||||
|
||||
# Bad picked location, inform user
|
||||
else:
|
||||
create_dialog(
|
||||
win,
|
||||
_("Installation Not Found"),
|
||||
# The variable is the name of the game launcher
|
||||
_("Select the {} configuration directory.").format(name) if config
|
||||
# The variable is the name of the game launcher
|
||||
else _("Select the {} data directory.").format(name),
|
||||
title = _("Invalid Directory")
|
||||
match location_name:
|
||||
case "cache":
|
||||
# The variable is the name of the source
|
||||
subtitle_format = _("Select the {} cache directory.")
|
||||
case "config":
|
||||
# The variable is the name of the source
|
||||
subtitle_format = _("Select the {} configuration directory.")
|
||||
case "data":
|
||||
# The variable is the name of the source
|
||||
subtitle_format = _("Select the {} data directory.")
|
||||
dialog = create_dialog(
|
||||
self,
|
||||
title,
|
||||
subtitle_format.format(source.name),
|
||||
"choose_folder",
|
||||
_("Set Location"),
|
||||
).connect("response", response)
|
||||
)
|
||||
|
||||
self.set_subtitle(win, source_id)
|
||||
def on_response(widget, response):
|
||||
if response == "choose_folder":
|
||||
self.choose_folder(widget, set_dir, location_name)
|
||||
|
||||
dialog.connect("response", on_response)
|
||||
|
||||
# Bind expander row activation to source being enabled
|
||||
expander_row = getattr(self, f"{source.id}_expander_row")
|
||||
shared.schema.bind(
|
||||
source_id,
|
||||
getattr(win, f"{source_id}_expander_row"),
|
||||
source.id,
|
||||
expander_row,
|
||||
"enable-expansion",
|
||||
Gio.SettingsBindFlags.DEFAULT,
|
||||
)
|
||||
|
||||
getattr(win, f"{source_id}_file_chooser_button").connect(
|
||||
"clicked", win.choose_folder, set_dir
|
||||
)
|
||||
# Connect dir picker buttons
|
||||
for location in ("data", "config", "cache"):
|
||||
button = getattr(self, f"{source.id}_{location}_file_chooser_button", None)
|
||||
if button is not None:
|
||||
button.connect("clicked", self.choose_folder, set_dir, location)
|
||||
|
||||
getattr(win, f"{source_id}_expander_row").connect(
|
||||
"notify::enable-expansion", self.set_import_changed
|
||||
)
|
||||
|
||||
def set_import_changed(self, widget, param):
|
||||
if widget not in self.import_changed_widgets:
|
||||
self.import_changed = True
|
||||
self.import_changed_widgets[widget] = (
|
||||
param.name,
|
||||
not widget.get_property(param.name),
|
||||
)
|
||||
|
||||
def check_import(self, *_args):
|
||||
# This checks whether any of the switches that did actually change their state
|
||||
# would have an effect on the outcome of the import action
|
||||
# and if they would, it initiates it.
|
||||
|
||||
if self.import_changed and any(
|
||||
(value := widget.get_property(prop[0])) and value != prop[1]
|
||||
for widget, prop in self.import_changed_widgets.items()
|
||||
):
|
||||
# The timeout is a hack to circumvent a GTK bug that I'm too lazy to report:
|
||||
# The window would stay darkened because of the import dialog for some reason
|
||||
GLib.timeout_add(1, self.win.get_application().on_import_action)
|
||||
# Set the source row subtitles
|
||||
self.resolve_locations(source)
|
||||
self.update_source_action_row_paths(source)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# shared.py
|
||||
# shared.py.in
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
@@ -20,30 +20,29 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from gi.repository import Gdk, Gio
|
||||
from gi.repository import Gdk, Gio, GLib
|
||||
|
||||
schema = Gio.Settings.new("hu.kramo.Cartridges")
|
||||
state_schema = Gio.Settings.new("hu.kramo.Cartridges.State")
|
||||
APP_ID = "@APP_ID@"
|
||||
VERSION = "@VERSION@"
|
||||
PREFIX = "@PREFIX@"
|
||||
PROFILE = "@PROFILE@"
|
||||
SPEC_VERSION = 1.5 # The version of the game_id.json spec
|
||||
|
||||
data_dir = (
|
||||
Path(os.getenv("XDG_DATA_HOME"))
|
||||
if "XDG_DATA_HOME" in os.environ
|
||||
else Path.home() / ".local" / "share"
|
||||
)
|
||||
config_dir = (
|
||||
Path(os.getenv("XDG_CONFIG_HOME"))
|
||||
if "XDG_CONFIG_HOME" in os.environ
|
||||
else Path.home() / ".config"
|
||||
)
|
||||
cache_dir = (
|
||||
Path(os.getenv("XDG_CACHE_HOME"))
|
||||
if "XDG_CACHE_HOME" in os.environ
|
||||
else Path.home() / ".cache"
|
||||
)
|
||||
schema = Gio.Settings.new(APP_ID)
|
||||
state_schema = Gio.Settings.new(APP_ID + ".State")
|
||||
|
||||
home = Path.home()
|
||||
data_dir = Path(GLib.get_user_data_dir())
|
||||
config_dir = Path(GLib.get_user_config_dir())
|
||||
cache_dir = Path(GLib.get_user_cache_dir())
|
||||
flatpak_dir = home / ".var" / "app"
|
||||
|
||||
games_dir = data_dir / "cartridges" / "games"
|
||||
covers_dir = data_dir / "cartridges" / "covers"
|
||||
|
||||
appdata_dir = Path(os.getenv("appdata") or "C:\\Users\\Default\\AppData\\Roaming")
|
||||
programfiles32_dir = Path(os.getenv("programfiles(x86)") or "C:\\Program Files (x86)")
|
||||
|
||||
scale_factor = max(
|
||||
monitor.get_scale_factor() for monitor in Gdk.Display.get_default().get_monitors()
|
||||
)
|
||||
@@ -52,4 +51,5 @@ image_size = (200 * scale_factor, 300 * scale_factor)
|
||||
# pylint: disable=invalid-name
|
||||
win = None
|
||||
importer = None
|
||||
spec_version = 1.5 # The version of the game_id.json spec
|
||||
store = None
|
||||
log_files = None
|
||||
64
src/store/managers/async_manager.py
Normal file
64
src/store/managers/async_manager.py
Normal file
@@ -0,0 +1,64 @@
|
||||
# async_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from typing import Callable, Any
|
||||
|
||||
from gi.repository import Gio
|
||||
|
||||
from src.game import Game
|
||||
from src.store.managers.manager import Manager
|
||||
from src.utils.task import Task
|
||||
|
||||
|
||||
class AsyncManager(Manager):
|
||||
"""Manager that can run asynchronously"""
|
||||
|
||||
blocking = False
|
||||
cancellable: Gio.Cancellable = None
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
self.cancellable = Gio.Cancellable()
|
||||
|
||||
def cancel_tasks(self):
|
||||
"""Cancel all tasks for this manager"""
|
||||
self.cancellable.cancel()
|
||||
|
||||
def reset_cancellable(self):
|
||||
"""Reset the cancellable for this manager.
|
||||
Already scheduled Tasks will no longer be cancellable."""
|
||||
self.cancellable = Gio.Cancellable()
|
||||
|
||||
def process_game(
|
||||
self, game: Game, additional_data: dict, callback: Callable[["Manager"], Any]
|
||||
) -> None:
|
||||
"""Create a task to process the game in a separate thread"""
|
||||
task = Task.new(None, self.cancellable, self._task_callback, (callback,))
|
||||
task.set_task_data((game, additional_data))
|
||||
task.run_in_thread(self._task_thread_func)
|
||||
|
||||
def _task_thread_func(self, _task, _source_object, data, _cancellable):
|
||||
"""Task thread entry point"""
|
||||
game, additional_data, *_rest = data
|
||||
self.execute_resilient_manager_logic(game, additional_data)
|
||||
|
||||
def _task_callback(self, _source_object, _result, data):
|
||||
"""Method run after the task is done"""
|
||||
callback, *_rest = data
|
||||
callback(self)
|
||||
72
src/store/managers/display_manager.py
Normal file
72
src/store/managers/display_manager.py
Normal file
@@ -0,0 +1,72 @@
|
||||
# display_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from src.game import Game
|
||||
from src.game_cover import GameCover
|
||||
from src.store.managers.manager import Manager
|
||||
from src.store.managers.sgdb_manager import SGDBManager
|
||||
from src.store.managers.steam_api_manager import SteamAPIManager
|
||||
|
||||
|
||||
class DisplayManager(Manager):
|
||||
"""Manager in charge of adding a game to the UI"""
|
||||
|
||||
run_after = (SteamAPIManager, SGDBManager)
|
||||
signals = {"update-ready"}
|
||||
|
||||
def manager_logic(self, game: Game, _additional_data: dict) -> None:
|
||||
if game.get_parent():
|
||||
game.get_parent().get_parent().remove(game)
|
||||
if game.get_parent():
|
||||
game.get_parent().set_child()
|
||||
|
||||
game.menu_button.set_menu_model(
|
||||
game.hidden_game_options if game.hidden else game.game_options
|
||||
)
|
||||
|
||||
game.title.set_label(game.name)
|
||||
|
||||
game.menu_button.get_popover().connect(
|
||||
"notify::visible", game.toggle_play, None
|
||||
)
|
||||
game.menu_button.get_popover().connect(
|
||||
"notify::visible", game.win.set_active_game, game
|
||||
)
|
||||
|
||||
if game.game_id in game.win.game_covers:
|
||||
game.game_cover = game.win.game_covers[game.game_id]
|
||||
game.game_cover.add_picture(game.cover)
|
||||
else:
|
||||
game.game_cover = GameCover({game.cover}, game.get_cover_path())
|
||||
game.win.game_covers[game.game_id] = game.game_cover
|
||||
|
||||
if (
|
||||
game.win.stack.get_visible_child() == game.win.details_view
|
||||
and game.win.active_game == game
|
||||
):
|
||||
game.win.show_details_view(game)
|
||||
|
||||
if not game.removed and not game.blacklisted:
|
||||
if game.hidden:
|
||||
game.win.hidden_library.append(game)
|
||||
else:
|
||||
game.win.library.append(game)
|
||||
game.get_parent().set_focusable(False)
|
||||
|
||||
game.win.set_library_child()
|
||||
59
src/store/managers/file_manager.py
Normal file
59
src/store/managers/file_manager.py
Normal file
@@ -0,0 +1,59 @@
|
||||
# file_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 json
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.store.managers.async_manager import AsyncManager
|
||||
from src.store.managers.steam_api_manager import SteamAPIManager
|
||||
|
||||
|
||||
class FileManager(AsyncManager):
|
||||
"""Manager in charge of saving a game to a file"""
|
||||
|
||||
run_after = (SteamAPIManager,)
|
||||
signals = {"save-ready"}
|
||||
|
||||
def manager_logic(self, game: Game, additional_data: dict) -> None:
|
||||
if additional_data.get("skip_save"): # Skip saving when loading games from disk
|
||||
return
|
||||
|
||||
shared.games_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
attrs = (
|
||||
"added",
|
||||
"executable",
|
||||
"game_id",
|
||||
"source",
|
||||
"hidden",
|
||||
"last_played",
|
||||
"name",
|
||||
"developer",
|
||||
"removed",
|
||||
"blacklisted",
|
||||
"version",
|
||||
)
|
||||
|
||||
json.dump(
|
||||
{attr: getattr(game, attr) for attr in attrs if attr},
|
||||
(shared.games_dir / f"{game.game_id}.json").open("w"),
|
||||
indent=4,
|
||||
sort_keys=True,
|
||||
)
|
||||
71
src/store/managers/local_cover_manager.py
Normal file
71
src/store/managers/local_cover_manager.py
Normal file
@@ -0,0 +1,71 @@
|
||||
# local_cover_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
# Copyright 2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from gi.repository import GdkPixbuf
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.store.managers.manager import Manager
|
||||
from src.store.managers.steam_api_manager import SteamAPIManager
|
||||
from src.utils.save_cover import resize_cover, save_cover
|
||||
|
||||
|
||||
class LocalCoverManager(Manager):
|
||||
"""Manager in charge of adding the local cover image of the game"""
|
||||
|
||||
run_after = (SteamAPIManager,)
|
||||
|
||||
def manager_logic(self, game: Game, additional_data: dict) -> None:
|
||||
if image_path := additional_data.get("local_image_path"):
|
||||
if not image_path.is_file():
|
||||
return
|
||||
save_cover(game.game_id, resize_cover(image_path))
|
||||
elif icon_path := additional_data.get("local_icon_path"):
|
||||
cover_width, cover_height = shared.image_size
|
||||
|
||||
dest_width = cover_width * 0.7
|
||||
dest_height = cover_width * 0.7
|
||||
|
||||
dest_x = cover_width * 0.15
|
||||
dest_y = (cover_height - dest_height) / 2
|
||||
|
||||
image = GdkPixbuf.Pixbuf.new_from_file(str(icon_path)).scale_simple(
|
||||
dest_width, dest_height, GdkPixbuf.InterpType.BILINEAR
|
||||
)
|
||||
|
||||
cover = image.scale_simple(
|
||||
1, 2, GdkPixbuf.InterpType.BILINEAR
|
||||
).scale_simple(cover_width, cover_height, GdkPixbuf.InterpType.BILINEAR)
|
||||
|
||||
image.composite(
|
||||
cover,
|
||||
dest_x,
|
||||
dest_y,
|
||||
dest_width,
|
||||
dest_height,
|
||||
dest_x,
|
||||
dest_y,
|
||||
1,
|
||||
1,
|
||||
GdkPixbuf.InterpType.BILINEAR,
|
||||
255,
|
||||
)
|
||||
|
||||
save_cover(game.game_id, resize_cover(pixbuf=cover))
|
||||
120
src/store/managers/manager.py
Normal file
120
src/store/managers/manager.py
Normal file
@@ -0,0 +1,120 @@
|
||||
# manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
from abc import abstractmethod
|
||||
from time import sleep
|
||||
from typing import Any, Callable, Container
|
||||
|
||||
from src.errors.error_producer import ErrorProducer
|
||||
from src.errors.friendly_error import FriendlyError
|
||||
from src.game import Game
|
||||
|
||||
|
||||
class Manager(ErrorProducer):
|
||||
"""Class in charge of handling a post creation action for games.
|
||||
|
||||
* May connect to signals on the game to handle them.
|
||||
* May cancel its running tasks on critical error,
|
||||
in that case a new cancellable must be generated for new tasks to run.
|
||||
* May be retried on some specific error types
|
||||
"""
|
||||
|
||||
run_after: Container[type["Manager"]] = tuple()
|
||||
blocking: bool = True
|
||||
|
||||
retryable_on: Container[type[Exception]] = tuple()
|
||||
continue_on: Container[type[Exception]] = tuple()
|
||||
signals: Container[type[str]] = set()
|
||||
retry_delay: int = 3
|
||||
max_tries: int = 3
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return type(self).__name__
|
||||
|
||||
@abstractmethod
|
||||
def manager_logic(self, game: Game, additional_data: dict) -> None:
|
||||
"""
|
||||
Manager specific logic triggered by the run method
|
||||
* Implemented by final child classes
|
||||
* May block its thread
|
||||
* May raise retryable exceptions that will trigger a retry if possible
|
||||
* May raise other exceptions that will be reported
|
||||
"""
|
||||
|
||||
def execute_resilient_manager_logic(self, game: Game, additional_data: dict):
|
||||
"""Handle errors (retry, ignore or raise) that occur in the manager logic"""
|
||||
|
||||
# Keep track of the number of tries
|
||||
tries = 1
|
||||
|
||||
def handle_error(error: Exception):
|
||||
nonlocal tries
|
||||
|
||||
# If FriendlyError, handle its cause instead
|
||||
base_error = error
|
||||
if isinstance(error, FriendlyError):
|
||||
error = error.__cause__
|
||||
|
||||
log_args = (
|
||||
type(error).__name__,
|
||||
self.name,
|
||||
f"{game.name} ({game.game_id})",
|
||||
)
|
||||
|
||||
out_of_retries_format = "Out of retries dues to %s in %s for %s"
|
||||
retrying_format = "Retrying %s in %s for %s"
|
||||
unretryable_format = "Unretryable %s in %s for %s"
|
||||
|
||||
if error in self.continue_on:
|
||||
# Handle skippable errors (skip silently)
|
||||
return
|
||||
|
||||
if error in self.retryable_on:
|
||||
if tries > self.max_tries:
|
||||
# Handle being out of retries
|
||||
logging.error(out_of_retries_format, *log_args)
|
||||
self.report_error(base_error)
|
||||
else:
|
||||
# Handle retryable errors
|
||||
logging.error(retrying_format, *log_args)
|
||||
sleep(self.retry_delay)
|
||||
tries += 1
|
||||
try_manager_logic()
|
||||
|
||||
else:
|
||||
# Handle unretryable errors
|
||||
logging.error(unretryable_format, *log_args, exc_info=error)
|
||||
self.report_error(base_error)
|
||||
|
||||
def try_manager_logic():
|
||||
try:
|
||||
self.manager_logic(game, additional_data)
|
||||
except Exception as error: # pylint: disable=broad-exception-caught
|
||||
handle_error(error)
|
||||
|
||||
try_manager_logic()
|
||||
|
||||
def process_game(
|
||||
self, game: Game, additional_data: dict, callback: Callable[["Manager"], Any]
|
||||
) -> None:
|
||||
"""Pass the game through the manager"""
|
||||
self.execute_resilient_manager_logic(game, additional_data)
|
||||
callback(self)
|
||||
126
src/store/managers/online_cover_manager.py
Normal file
126
src/store/managers/online_cover_manager.py
Normal file
@@ -0,0 +1,126 @@
|
||||
# online_cover_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
from gi.repository import Gio, GdkPixbuf
|
||||
from requests.exceptions import HTTPError, SSLError
|
||||
from PIL import Image
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.store.managers.local_cover_manager import LocalCoverManager
|
||||
from src.store.managers.manager import Manager
|
||||
from src.utils.save_cover import resize_cover, save_cover
|
||||
|
||||
|
||||
class OnlineCoverManager(Manager):
|
||||
"""Manager that downloads game covers from URLs"""
|
||||
|
||||
run_after = (LocalCoverManager,)
|
||||
retryable_on = (HTTPError, SSLError, ConnectionError)
|
||||
|
||||
def save_composited_cover(
|
||||
self,
|
||||
game: Game,
|
||||
image_file: Gio.File,
|
||||
original_width: int,
|
||||
original_height: int,
|
||||
target_width: int,
|
||||
target_height: int,
|
||||
) -> None:
|
||||
"""Save the image composited with a background blur to fit the cover size"""
|
||||
|
||||
logging.debug(
|
||||
"Compositing image for %s (%s) %dx%d -> %dx%d",
|
||||
game.name,
|
||||
game.game_id,
|
||||
original_width,
|
||||
original_height,
|
||||
target_width,
|
||||
target_height,
|
||||
)
|
||||
|
||||
# Load game image
|
||||
image = GdkPixbuf.Pixbuf.new_from_stream(image_file.read())
|
||||
|
||||
# Create background blur of the size of the cover
|
||||
cover = image.scale_simple(2, 2, GdkPixbuf.InterpType.BILINEAR).scale_simple(
|
||||
target_width, target_height, GdkPixbuf.InterpType.BILINEAR
|
||||
)
|
||||
|
||||
# Center the image above the blurred background
|
||||
scale = min(target_width / original_width, target_height / original_height)
|
||||
left_padding = (target_width - original_width * scale) / 2
|
||||
top_padding = (target_height - original_height * scale) / 2
|
||||
image.composite(
|
||||
cover,
|
||||
# Top left of overwritten area on the destination
|
||||
left_padding,
|
||||
top_padding,
|
||||
# Size of the overwritten area on the destination
|
||||
original_width * scale,
|
||||
original_height * scale,
|
||||
# Offset
|
||||
left_padding,
|
||||
top_padding,
|
||||
# Scale to apply to the resized image
|
||||
scale,
|
||||
scale,
|
||||
# Compositing stuff
|
||||
GdkPixbuf.InterpType.BILINEAR,
|
||||
255,
|
||||
)
|
||||
|
||||
# Resize and save the cover
|
||||
save_cover(game.game_id, resize_cover(pixbuf=cover))
|
||||
|
||||
def manager_logic(self, game: Game, additional_data: dict) -> None:
|
||||
# Ensure that we have a cover to download
|
||||
cover_url = additional_data.get("online_cover_url")
|
||||
if not cover_url:
|
||||
return
|
||||
|
||||
# Download cover
|
||||
image_file = Gio.File.new_tmp()[0]
|
||||
image_path = Path(image_file.get_path())
|
||||
with requests.get(cover_url, timeout=5) as cover:
|
||||
cover.raise_for_status()
|
||||
image_path.write_bytes(cover.content)
|
||||
|
||||
# Get image size
|
||||
cover_width, cover_height = shared.image_size
|
||||
with Image.open(image_path) as pil_image:
|
||||
width, height = pil_image.size
|
||||
|
||||
# Composite if the image is shorter and the stretch amount is too high
|
||||
aspect_ratio = width / height
|
||||
target_aspect_ratio = cover_width / cover_height
|
||||
is_taller = aspect_ratio < target_aspect_ratio
|
||||
resized_height = height / width * cover_width
|
||||
stretch = 1 - (resized_height / cover_height)
|
||||
max_stretch = 0.12
|
||||
if is_taller or stretch <= max_stretch:
|
||||
save_cover(game.game_id, resize_cover(image_path))
|
||||
else:
|
||||
self.save_composited_cover(
|
||||
game, image_file, width, height, cover_width, cover_height
|
||||
)
|
||||
49
src/store/managers/sgdb_manager.py
Normal file
49
src/store/managers/sgdb_manager.py
Normal file
@@ -0,0 +1,49 @@
|
||||
# sgdb_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from json import JSONDecodeError
|
||||
|
||||
from requests.exceptions import HTTPError, SSLError
|
||||
|
||||
from src.errors.friendly_error import FriendlyError
|
||||
from src.game import Game
|
||||
from src.store.managers.async_manager import AsyncManager
|
||||
from src.store.managers.local_cover_manager import LocalCoverManager
|
||||
from src.store.managers.online_cover_manager import OnlineCoverManager
|
||||
from src.store.managers.steam_api_manager import SteamAPIManager
|
||||
from src.utils.steamgriddb import SGDBAuthError, SGDBHelper
|
||||
|
||||
|
||||
class SGDBManager(AsyncManager):
|
||||
"""Manager in charge of downloading a game's cover from steamgriddb"""
|
||||
|
||||
run_after = (SteamAPIManager, LocalCoverManager, OnlineCoverManager)
|
||||
retryable_on = (HTTPError, SSLError, ConnectionError, JSONDecodeError)
|
||||
|
||||
def manager_logic(self, game: Game, _additional_data: dict) -> None:
|
||||
try:
|
||||
sgdb = SGDBHelper()
|
||||
sgdb.conditionaly_update_cover(game)
|
||||
except SGDBAuthError as error:
|
||||
# If invalid auth, cancel all SGDBManager tasks
|
||||
self.cancellable.cancel()
|
||||
raise FriendlyError(
|
||||
_("Couldn't Authenticate SteamGridDB"),
|
||||
_("Verify your API key in preferences"),
|
||||
) from error
|
||||
56
src/store/managers/steam_api_manager.py
Normal file
56
src/store/managers/steam_api_manager.py
Normal file
@@ -0,0 +1,56 @@
|
||||
# steam_api_manager.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from requests.exceptions import HTTPError, SSLError
|
||||
|
||||
from src.game import Game
|
||||
from src.store.managers.async_manager import AsyncManager
|
||||
from src.utils.steam import (
|
||||
SteamGameNotFoundError,
|
||||
SteamAPIHelper,
|
||||
SteamNotAGameError,
|
||||
SteamRateLimiter,
|
||||
)
|
||||
|
||||
|
||||
class SteamAPIManager(AsyncManager):
|
||||
"""Manager in charge of completing a game's data from the Steam API"""
|
||||
|
||||
retryable_on = (HTTPError, SSLError, ConnectionError)
|
||||
|
||||
steam_api_helper: SteamAPIHelper = None
|
||||
steam_rate_limiter: SteamRateLimiter = None
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
self.steam_rate_limiter = SteamRateLimiter()
|
||||
self.steam_api_helper = SteamAPIHelper(self.steam_rate_limiter)
|
||||
|
||||
def manager_logic(self, game: Game, additional_data: dict) -> None:
|
||||
# Skip non-steam games
|
||||
appid = additional_data.get("steam_appid", None)
|
||||
if appid is None:
|
||||
return
|
||||
# Get online metadata
|
||||
try:
|
||||
online_data = self.steam_api_helper.get_api_data(appid=appid)
|
||||
except (SteamNotAGameError, SteamGameNotFoundError):
|
||||
game.update_values({"blacklisted": True})
|
||||
else:
|
||||
game.update_values(online_data)
|
||||
110
src/store/pipeline.py
Normal file
110
src/store/pipeline.py
Normal file
@@ -0,0 +1,110 @@
|
||||
# pipeline.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
from typing import Iterable
|
||||
|
||||
from gi.repository import GObject
|
||||
|
||||
from src.game import Game
|
||||
from src.store.managers.manager import Manager
|
||||
|
||||
|
||||
class Pipeline(GObject.Object):
|
||||
"""Class representing a set of managers for a game"""
|
||||
|
||||
game: Game
|
||||
additional_data: dict
|
||||
|
||||
waiting: set[Manager]
|
||||
running: set[Manager]
|
||||
done: set[Manager]
|
||||
|
||||
def __init__(
|
||||
self, game: Game, additional_data: dict, managers: Iterable[Manager]
|
||||
) -> None:
|
||||
super().__init__()
|
||||
self.game = game
|
||||
self.additional_data = additional_data
|
||||
self.waiting = set(managers)
|
||||
self.running = set()
|
||||
self.done = set()
|
||||
|
||||
@property
|
||||
def not_done(self) -> set[Manager]:
|
||||
"""Get the managers that are not done yet"""
|
||||
return self.waiting | self.running
|
||||
|
||||
@property
|
||||
def is_done(self) -> bool:
|
||||
return len(self.waiting) == 0 and len(self.running) == 0
|
||||
|
||||
@property
|
||||
def blocked(self) -> set[Manager]:
|
||||
"""Get the managers that cannot run because their dependencies aren't done"""
|
||||
blocked = set()
|
||||
for waiting in self.waiting:
|
||||
for not_done in self.not_done:
|
||||
if waiting == not_done:
|
||||
continue
|
||||
if type(not_done) in waiting.run_after:
|
||||
blocked.add(waiting)
|
||||
return blocked
|
||||
|
||||
@property
|
||||
def ready(self) -> set[Manager]:
|
||||
"""Get the managers that can be run"""
|
||||
return self.waiting - self.blocked
|
||||
|
||||
@property
|
||||
def progress(self) -> float:
|
||||
"""Get the pipeline progress. Should only be a rough idea."""
|
||||
n_done = len(self.done)
|
||||
n_total = len(self.waiting) + len(self.running) + n_done
|
||||
try:
|
||||
progress = n_done / n_total
|
||||
except ZeroDivisionError:
|
||||
progress = 1
|
||||
return progress
|
||||
|
||||
def advance(self):
|
||||
"""Spawn tasks for managers that are able to run for a game"""
|
||||
|
||||
# Separate blocking / async managers
|
||||
managers = self.ready
|
||||
blocking = set(filter(lambda manager: manager.blocking, managers))
|
||||
parallel = managers - blocking
|
||||
|
||||
# Schedule parallel managers, then run the blocking ones
|
||||
for manager in (*parallel, *blocking):
|
||||
self.waiting.remove(manager)
|
||||
self.running.add(manager)
|
||||
manager.process_game(self.game, self.additional_data, self.manager_callback)
|
||||
|
||||
def manager_callback(self, manager: Manager) -> None:
|
||||
"""Method called by a manager when it's done"""
|
||||
logging.debug("%s done for %s", manager.name, self.game.game_id)
|
||||
self.running.remove(manager)
|
||||
self.done.add(manager)
|
||||
self.emit("advanced")
|
||||
self.advance()
|
||||
|
||||
@GObject.Signal(name="advanced")
|
||||
def advanced(self) -> None:
|
||||
"""Signal emitted when the pipeline has advanced"""
|
||||
146
src/store/store.py
Normal file
146
src/store/store.py
Normal file
@@ -0,0 +1,146 @@
|
||||
# store.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
from typing import MutableMapping, Generator, Any
|
||||
|
||||
from src import shared
|
||||
from src.game import Game
|
||||
from src.store.managers.manager import Manager
|
||||
from src.store.pipeline import Pipeline
|
||||
|
||||
|
||||
class Store:
|
||||
"""Class in charge of handling games being added to the app."""
|
||||
|
||||
managers: dict[type[Manager], Manager]
|
||||
pipeline_managers: set[Manager]
|
||||
pipelines: dict[str, Pipeline]
|
||||
source_games: MutableMapping[str, MutableMapping[str, Game]]
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.managers = {}
|
||||
self.pipeline_managers = set()
|
||||
self.pipelines = {}
|
||||
self.source_games = {}
|
||||
|
||||
def __contains__(self, obj: object) -> bool:
|
||||
"""Check if the game is present in the store with the `in` keyword"""
|
||||
if not isinstance(obj, Game):
|
||||
return False
|
||||
if not (source_mapping := self.source_games.get(obj.source)):
|
||||
return False
|
||||
return obj.game_id in source_mapping
|
||||
|
||||
def __iter__(self) -> Generator[Game, None, None]:
|
||||
"""Iterate through the games in the store with `for ... in`"""
|
||||
for _source_id, games_mapping in self.source_games.items():
|
||||
for _game_id, game in games_mapping.items():
|
||||
yield game
|
||||
|
||||
def __len__(self) -> int:
|
||||
"""Get the number of games in the store with the `len` builtin"""
|
||||
return sum(len(source_mapping) for source_mapping in self.source_games)
|
||||
|
||||
def __getitem__(self, game_id: str) -> Game:
|
||||
"""Get a game by its id with `store["game_id_goes_here"]`"""
|
||||
for game in iter(self):
|
||||
if game.game_id == game_id:
|
||||
return game
|
||||
raise KeyError("Game not found in store")
|
||||
|
||||
def get(self, game_id: str, default: Any = None) -> Game | Any:
|
||||
"""Get a game by its ID, with a fallback if not found"""
|
||||
try:
|
||||
game = self[game_id]
|
||||
return game
|
||||
except KeyError:
|
||||
return default
|
||||
|
||||
def add_manager(self, manager: Manager, in_pipeline=True):
|
||||
"""Add a manager to the store"""
|
||||
manager_type = type(manager)
|
||||
self.managers[manager_type] = manager
|
||||
self.toggle_manager_in_pipelines(manager_type, in_pipeline)
|
||||
|
||||
def toggle_manager_in_pipelines(self, manager_type: type[Manager], enable: bool):
|
||||
"""Change if a manager should run in new pipelines"""
|
||||
if enable:
|
||||
self.pipeline_managers.add(self.managers[manager_type])
|
||||
else:
|
||||
self.pipeline_managers.discard(self.managers[manager_type])
|
||||
|
||||
def cleanup_game(self, game: Game) -> None:
|
||||
"""Remove a game's files"""
|
||||
for path in (
|
||||
shared.games_dir / f"{game.game_id}.json",
|
||||
shared.covers_dir / f"{game.game_id}.tiff",
|
||||
shared.covers_dir / f"{game.game_id}.gif",
|
||||
):
|
||||
path.unlink(missing_ok=True)
|
||||
|
||||
def add_game(
|
||||
self, game: Game, additional_data: dict, run_pipeline=True
|
||||
) -> Pipeline | None:
|
||||
"""Add a game to the app"""
|
||||
|
||||
# Ignore games from a newer spec version
|
||||
if game.version > shared.SPEC_VERSION:
|
||||
return None
|
||||
|
||||
# Scanned game is already removed, just clean it up
|
||||
if game.removed:
|
||||
self.cleanup_game(game)
|
||||
return None
|
||||
|
||||
# Handle game duplicates
|
||||
stored_game = self.get(game.game_id)
|
||||
if not stored_game:
|
||||
# New game, do as normal
|
||||
logging.debug("New store game %s (%s)", game.name, game.game_id)
|
||||
elif stored_game.removed:
|
||||
# Will replace a removed game, cleanup its remains
|
||||
logging.debug(
|
||||
"New store game %s (%s) (replacing a removed one)",
|
||||
game.name,
|
||||
game.game_id,
|
||||
)
|
||||
self.cleanup_game(stored_game)
|
||||
else:
|
||||
# Duplicate game, ignore it
|
||||
logging.debug("Duplicate store game %s (%s)", game.name, game.game_id)
|
||||
return None
|
||||
|
||||
# Connect signals
|
||||
for manager in self.managers.values():
|
||||
for signal in manager.signals:
|
||||
game.connect(signal, manager.execute_resilient_manager_logic)
|
||||
|
||||
# Add the game to the store
|
||||
if not game.source in self.source_games:
|
||||
self.source_games[game.source] = {}
|
||||
self.source_games[game.source][game.game_id] = game
|
||||
|
||||
# Run the pipeline for the game
|
||||
if not run_pipeline:
|
||||
return None
|
||||
pipeline = Pipeline(game, additional_data, self.pipeline_managers)
|
||||
self.pipelines[game.game_id] = pipeline
|
||||
pipeline.advance()
|
||||
return pipeline
|
||||
@@ -1,32 +1,32 @@
|
||||
# check_install.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def check_install(check, locations, setting=None, subdirs=(Path(),)):
|
||||
for location in locations:
|
||||
for subdir in (Path(),) + subdirs:
|
||||
if (location / subdir / check).is_file() or (
|
||||
location / subdir / check
|
||||
).exists():
|
||||
if setting:
|
||||
setting[0].set_string(setting[1], str(location / subdir))
|
||||
|
||||
return location / subdir
|
||||
# check_install.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
# TODO delegate to the sources
|
||||
def check_install(check, locations, setting=None, subdirs=(Path(),)):
|
||||
for location in locations:
|
||||
for subdir in (Path(),) + subdirs:
|
||||
if (location / subdir / check).exists():
|
||||
if setting:
|
||||
setting[0].set_string(setting[1], str(location / subdir))
|
||||
return location / subdir
|
||||
|
||||
return False
|
||||
|
||||
@@ -1,132 +0,0 @@
|
||||
# importer.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from gi.repository import Adw, GLib, Gtk
|
||||
|
||||
from . import shared
|
||||
from .create_dialog import create_dialog
|
||||
from .game import Game
|
||||
from .save_cover import resize_cover, save_cover
|
||||
from .steamgriddb import SGDBSave
|
||||
|
||||
|
||||
class Importer:
|
||||
def __init__(self):
|
||||
self.win = shared.win
|
||||
self.total_queue = 0
|
||||
self.queue = 0
|
||||
self.games_no = 0
|
||||
self.blocker = False
|
||||
self.games = set()
|
||||
self.sgdb_exception = None
|
||||
|
||||
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
|
||||
self.import_statuspage = Adw.StatusPage(
|
||||
title=_("Importing Games…"),
|
||||
child=self.progressbar,
|
||||
)
|
||||
|
||||
self.import_dialog = Adw.Window(
|
||||
content=self.import_statuspage,
|
||||
modal=True,
|
||||
default_width=350,
|
||||
default_height=-1,
|
||||
transient_for=self.win,
|
||||
deletable=False,
|
||||
)
|
||||
|
||||
self.import_dialog.present()
|
||||
|
||||
def save_game(self, values=None, cover_path=None):
|
||||
if values:
|
||||
game = Game(values)
|
||||
|
||||
if save_cover:
|
||||
save_cover(game.game_id, resize_cover(cover_path))
|
||||
|
||||
self.games.add(game)
|
||||
|
||||
self.games_no += 1
|
||||
if game.blacklisted:
|
||||
self.games_no -= 1
|
||||
|
||||
self.queue -= 1
|
||||
self.update_progressbar()
|
||||
|
||||
if self.queue == 0 and not self.blocker:
|
||||
if self.games:
|
||||
self.total_queue = len(self.games)
|
||||
self.queue = len(self.games)
|
||||
self.import_statuspage.set_title(_("Importing Covers…"))
|
||||
self.update_progressbar()
|
||||
SGDBSave(self.games, self)
|
||||
else:
|
||||
self.done()
|
||||
|
||||
def done(self):
|
||||
self.update_progressbar()
|
||||
if self.queue == 0:
|
||||
self.import_dialog.close()
|
||||
|
||||
toast = Adw.Toast()
|
||||
toast.set_priority(Adw.ToastPriority.HIGH)
|
||||
|
||||
if self.games_no == 0:
|
||||
toast.set_title(_("No new games found"))
|
||||
toast.set_button_label(_("Preferences"))
|
||||
toast.connect(
|
||||
"button-clicked", self.response, "open_preferences", "import"
|
||||
)
|
||||
|
||||
elif self.games_no == 1:
|
||||
toast.set_title(_("1 game imported"))
|
||||
|
||||
elif self.games_no > 1:
|
||||
games_no = self.games_no
|
||||
toast.set_title(
|
||||
# The variable is the number of games
|
||||
_("{} games imported").format(games_no)
|
||||
)
|
||||
|
||||
self.win.toast_overlay.add_toast(toast)
|
||||
# Add timeout to make it the last thing to happen
|
||||
GLib.timeout_add(0, self.warning, None, None)
|
||||
|
||||
def response(self, _widget, response, page_name=None, expander_row=None):
|
||||
if response == "open_preferences":
|
||||
self.win.get_application().on_preferences_action(
|
||||
None, page_name=page_name, expander_row=expander_row
|
||||
)
|
||||
|
||||
def warning(self, *_args):
|
||||
if self.sgdb_exception:
|
||||
create_dialog(
|
||||
self.win,
|
||||
_("Couldn't Connect to SteamGridDB"),
|
||||
self.sgdb_exception,
|
||||
"open_preferences",
|
||||
_("Preferences"),
|
||||
).connect("response", self.response, "sgdb")
|
||||
self.sgdb_exception = None
|
||||
|
||||
def update_progressbar(self):
|
||||
try:
|
||||
self.progressbar.set_fraction(1 - (self.queue / self.total_queue))
|
||||
except ZeroDivisionError:
|
||||
self.progressbar.set_fraction(1)
|
||||
217
src/utils/rate_limiter.py
Normal file
217
src/utils/rate_limiter.py
Normal file
@@ -0,0 +1,217 @@
|
||||
# rate_limiter.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from typing import Optional, Sized
|
||||
from threading import Lock, Thread, BoundedSemaphore
|
||||
from time import sleep, time
|
||||
from collections import deque
|
||||
from contextlib import AbstractContextManager
|
||||
|
||||
|
||||
class PickHistory(Sized):
|
||||
"""Utility class used for rate limiters, counting how many picks
|
||||
happened in a given period"""
|
||||
|
||||
period: int
|
||||
|
||||
timestamps: list[int] = None
|
||||
timestamps_lock: Lock = None
|
||||
|
||||
def __init__(self, period: int) -> None:
|
||||
self.period = period
|
||||
self.timestamps = []
|
||||
self.timestamps_lock = Lock()
|
||||
|
||||
def remove_old_entries(self):
|
||||
"""Remove history entries older than the period"""
|
||||
now = time()
|
||||
cutoff = now - self.period
|
||||
with self.timestamps_lock:
|
||||
self.timestamps = [entry for entry in self.timestamps if entry > cutoff]
|
||||
|
||||
def add(self, *new_timestamps: Optional[int]):
|
||||
"""Add timestamps to the history.
|
||||
If none given, will add the current timestamp"""
|
||||
if len(new_timestamps) == 0:
|
||||
new_timestamps = (time(),)
|
||||
with self.timestamps_lock:
|
||||
self.timestamps.extend(new_timestamps)
|
||||
|
||||
def __len__(self) -> int:
|
||||
"""How many entries were logged in the period"""
|
||||
self.remove_old_entries()
|
||||
with self.timestamps_lock:
|
||||
return len(self.timestamps)
|
||||
|
||||
@property
|
||||
def start(self) -> int:
|
||||
"""Get the time at which the history started"""
|
||||
self.remove_old_entries()
|
||||
with self.timestamps_lock:
|
||||
try:
|
||||
entry = self.timestamps[0]
|
||||
except IndexError:
|
||||
entry = time()
|
||||
return entry
|
||||
|
||||
def copy_timestamps(self) -> str:
|
||||
"""Get a copy of the timestamps history"""
|
||||
self.remove_old_entries()
|
||||
with self.timestamps_lock:
|
||||
return self.timestamps.copy()
|
||||
|
||||
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
class RateLimiter(AbstractContextManager):
|
||||
"""Rate limiter implementing the token bucket algorithm"""
|
||||
|
||||
# Period in which we have a max amount of tokens
|
||||
refill_period_seconds: int
|
||||
# Number of tokens allowed in this period
|
||||
refill_period_tokens: int
|
||||
# Max number of tokens that can be consumed instantly
|
||||
burst_tokens: int
|
||||
|
||||
pick_history: PickHistory = None
|
||||
bucket: BoundedSemaphore = None
|
||||
queue: deque[Lock] = None
|
||||
queue_lock: Lock = None
|
||||
|
||||
# Protect the number of tokens behind a lock
|
||||
__n_tokens_lock: Lock = None
|
||||
__n_tokens = 0
|
||||
|
||||
@property
|
||||
def n_tokens(self):
|
||||
with self.__n_tokens_lock:
|
||||
return self.__n_tokens
|
||||
|
||||
@n_tokens.setter
|
||||
def n_tokens(self, value: int):
|
||||
with self.__n_tokens_lock:
|
||||
self.__n_tokens = value
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
refill_period_seconds: Optional[int] = None,
|
||||
refill_period_tokens: Optional[int] = None,
|
||||
burst_tokens: Optional[int] = None,
|
||||
) -> None:
|
||||
"""Initialize the limiter"""
|
||||
|
||||
# Initialize default values
|
||||
if refill_period_seconds is not None:
|
||||
self.refill_period_seconds = refill_period_seconds
|
||||
if refill_period_tokens is not None:
|
||||
self.refill_period_tokens = refill_period_tokens
|
||||
if burst_tokens is not None:
|
||||
self.burst_tokens = burst_tokens
|
||||
if self.pick_history is None:
|
||||
self.pick_history = PickHistory(self.refill_period_seconds)
|
||||
|
||||
# Create synchronization data
|
||||
self.__n_tokens_lock = Lock()
|
||||
self.queue_lock = Lock()
|
||||
self.queue = deque()
|
||||
|
||||
# Initialize the token bucket
|
||||
self.bucket = BoundedSemaphore(self.burst_tokens)
|
||||
self.n_tokens = self.burst_tokens
|
||||
|
||||
# Spawn daemon thread that refills the bucket
|
||||
refill_thread = Thread(target=self.refill_thread_func, daemon=True)
|
||||
refill_thread.start()
|
||||
|
||||
@property
|
||||
def refill_spacing(self) -> float:
|
||||
"""
|
||||
Get the current refill spacing.
|
||||
|
||||
Ensures that even with a burst in the period, the limit will not be exceeded.
|
||||
"""
|
||||
|
||||
# Compute ideal spacing
|
||||
tokens_left = self.refill_period_tokens - len(self.pick_history)
|
||||
seconds_left = self.pick_history.start + self.refill_period_seconds - time()
|
||||
try:
|
||||
spacing_seconds = seconds_left / tokens_left
|
||||
except ZeroDivisionError:
|
||||
# There were no remaining tokens, gotta wait until end of the period
|
||||
spacing_seconds = seconds_left
|
||||
|
||||
# Prevent spacing dropping down lower than the natural spacing
|
||||
natural_spacing = self.refill_period_seconds / self.refill_period_tokens
|
||||
return max(natural_spacing, spacing_seconds)
|
||||
|
||||
def refill(self):
|
||||
"""Add a token back in the bucket"""
|
||||
sleep(self.refill_spacing)
|
||||
try:
|
||||
self.bucket.release()
|
||||
except ValueError:
|
||||
# Bucket was full
|
||||
pass
|
||||
else:
|
||||
self.n_tokens += 1
|
||||
|
||||
def refill_thread_func(self):
|
||||
"""Entry point for the daemon thread that is refilling the bucket"""
|
||||
while True:
|
||||
self.refill()
|
||||
|
||||
def update_queue(self) -> None:
|
||||
"""Update the queue, moving it forward if possible. Non-blocking."""
|
||||
update_thread = Thread(target=self.queue_update_thread_func, daemon=True)
|
||||
update_thread.start()
|
||||
|
||||
def queue_update_thread_func(self) -> None:
|
||||
"""Queue-updating thread's entry point"""
|
||||
with self.queue_lock:
|
||||
if len(self.queue) == 0:
|
||||
return
|
||||
# Not using with because we don't want to release to the bucket
|
||||
self.bucket.acquire() # pylint: disable=consider-using-with
|
||||
self.n_tokens -= 1
|
||||
lock = self.queue.pop()
|
||||
lock.release()
|
||||
|
||||
def add_to_queue(self) -> Lock:
|
||||
"""Create a lock, add it to the queue and return it"""
|
||||
lock = Lock()
|
||||
# We want the lock locked until its turn in queue
|
||||
lock.acquire() # pylint: disable=consider-using-with
|
||||
with self.queue_lock:
|
||||
self.queue.appendleft(lock)
|
||||
return lock
|
||||
|
||||
def acquire(self):
|
||||
"""Acquires a token from the bucket when it's your turn in queue"""
|
||||
lock = self.add_to_queue()
|
||||
self.update_queue()
|
||||
# Wait until our turn in queue
|
||||
lock.acquire() # pylint: disable=consider-using-with
|
||||
self.pick_history.add()
|
||||
|
||||
# --- Support for use in with statements
|
||||
|
||||
def __enter__(self):
|
||||
self.acquire()
|
||||
|
||||
def __exit__(self, *_args):
|
||||
pass
|
||||
44
src/utils/relative_date.py
Normal file
44
src/utils/relative_date.py
Normal file
@@ -0,0 +1,44 @@
|
||||
# relative_date.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
from gi.repository import GLib
|
||||
|
||||
|
||||
def relative_date(timestamp): # pylint: disable=too-many-return-statements
|
||||
days_no = ((today := datetime.today()) - datetime.fromtimestamp(timestamp)).days
|
||||
|
||||
if days_no == 0:
|
||||
return _("Today")
|
||||
if days_no == 1:
|
||||
return _("Yesterday")
|
||||
if days_no <= (day_of_week := today.weekday()):
|
||||
return GLib.DateTime.new_from_unix_utc(timestamp).format("%A")
|
||||
if days_no <= day_of_week + 7:
|
||||
return _("Last Week")
|
||||
if days_no <= (day_of_month := today.day):
|
||||
return _("This Month")
|
||||
if days_no <= day_of_month + 30:
|
||||
return _("Last Month")
|
||||
if days_no < (day_of_year := today.timetuple().tm_yday):
|
||||
return GLib.DateTime.new_from_unix_utc(timestamp).format("%B")
|
||||
if days_no <= day_of_year + 365:
|
||||
return _("Last Year")
|
||||
return GLib.DateTime.new_from_unix_utc(timestamp).format("%Y")
|
||||
@@ -21,10 +21,10 @@
|
||||
from pathlib import Path
|
||||
from shutil import copyfile
|
||||
|
||||
from gi.repository import Gio
|
||||
from PIL import Image, ImageSequence
|
||||
from gi.repository import Gdk, Gio, GLib
|
||||
from PIL import Image, ImageSequence, UnidentifiedImageError
|
||||
|
||||
from . import shared
|
||||
from src import shared
|
||||
|
||||
|
||||
def resize_cover(cover_path=None, pixbuf=None):
|
||||
@@ -35,32 +35,41 @@ def resize_cover(cover_path=None, pixbuf=None):
|
||||
cover_path = Path(Gio.File.new_tmp("XXXXXX.tiff")[0].get_path())
|
||||
pixbuf.savev(str(cover_path), "tiff", ["compression"], ["1"])
|
||||
|
||||
with Image.open(cover_path) as image:
|
||||
if getattr(image, "is_animated", False):
|
||||
frames = tuple(
|
||||
frame.resize((200, 300)) for frame in ImageSequence.Iterator(image)
|
||||
)
|
||||
try:
|
||||
with Image.open(cover_path) as image:
|
||||
if getattr(image, "is_animated", False):
|
||||
frames = tuple(
|
||||
frame.resize((200, 300)) for frame in ImageSequence.Iterator(image)
|
||||
)
|
||||
|
||||
tmp_path = Path(Gio.File.new_tmp("XXXXXX.gif")[0].get_path())
|
||||
frames[0].save(
|
||||
tmp_path,
|
||||
save_all=True,
|
||||
append_images=frames[1:],
|
||||
)
|
||||
tmp_path = Path(Gio.File.new_tmp("XXXXXX.gif")[0].get_path())
|
||||
frames[0].save(
|
||||
tmp_path,
|
||||
save_all=True,
|
||||
append_images=frames[1:],
|
||||
)
|
||||
|
||||
else:
|
||||
# This might not be necessary in the future
|
||||
# https://github.com/python-pillow/Pillow/issues/2663
|
||||
if image.mode not in ("RGB", "RGBA"):
|
||||
image = image.convert("RGBA")
|
||||
else:
|
||||
# This might not be necessary in the future
|
||||
# https://github.com/python-pillow/Pillow/issues/2663
|
||||
if image.mode not in ("RGB", "RGBA"):
|
||||
image = image.convert("RGBA")
|
||||
|
||||
tmp_path = Path(Gio.File.new_tmp("XXXXXX.tiff")[0].get_path())
|
||||
image.resize(shared.image_size).save(
|
||||
tmp_path,
|
||||
compression="tiff_adobe_deflate"
|
||||
if shared.schema.get_boolean("high-quality-images")
|
||||
else "webp",
|
||||
tmp_path = Path(Gio.File.new_tmp("XXXXXX.tiff")[0].get_path())
|
||||
image.resize(shared.image_size).save(
|
||||
tmp_path,
|
||||
compression="tiff_adobe_deflate"
|
||||
if shared.schema.get_boolean("high-quality-images")
|
||||
else "webp",
|
||||
)
|
||||
except UnidentifiedImageError:
|
||||
try:
|
||||
Gdk.Texture.new_from_filename(str(cover_path)).save_to_tiff(
|
||||
tmp_path := Gio.File.new_tmp("XXXXXX.tiff")[0].get_path()
|
||||
)
|
||||
return resize_cover(tmp_path)
|
||||
except GLib.GError:
|
||||
return None
|
||||
|
||||
return tmp_path
|
||||
|
||||
|
||||
37
src/utils/sqlite.py
Normal file
37
src/utils/sqlite.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# sqlite.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from glob import escape
|
||||
from pathlib import Path
|
||||
from shutil import copyfile
|
||||
|
||||
from gi.repository import GLib
|
||||
|
||||
|
||||
def copy_db(original_path: Path) -> Path:
|
||||
"""
|
||||
Copy a sqlite database to a cache dir and return its new path.
|
||||
The caller in in charge of deleting the returned path's parent dir.
|
||||
"""
|
||||
tmp = Path(GLib.Dir.make_tmp())
|
||||
for file in original_path.parent.glob(f"{escape(original_path.name)}*"):
|
||||
copy = tmp / file.name
|
||||
copyfile(str(file), str(copy))
|
||||
return tmp / original_path.name
|
||||
152
src/utils/steam.py
Normal file
152
src/utils/steam.py
Normal file
@@ -0,0 +1,152 @@
|
||||
# steam.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 json
|
||||
import logging
|
||||
import re
|
||||
from typing import TypedDict
|
||||
|
||||
import requests
|
||||
from requests.exceptions import HTTPError
|
||||
|
||||
from src import shared
|
||||
from src.utils.rate_limiter import PickHistory, RateLimiter
|
||||
|
||||
|
||||
class SteamError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class SteamGameNotFoundError(SteamError):
|
||||
pass
|
||||
|
||||
|
||||
class SteamNotAGameError(SteamError):
|
||||
pass
|
||||
|
||||
|
||||
class SteamInvalidManifestError(SteamError):
|
||||
pass
|
||||
|
||||
|
||||
class SteamManifestData(TypedDict):
|
||||
"""Dict returned by SteamFileHelper.get_manifest_data"""
|
||||
|
||||
name: str
|
||||
appid: str
|
||||
stateflags: str
|
||||
|
||||
|
||||
class SteamAPIData(TypedDict):
|
||||
"""Dict returned by SteamAPIHelper.get_api_data"""
|
||||
|
||||
developer: str
|
||||
|
||||
|
||||
class SteamRateLimiter(RateLimiter):
|
||||
"""Rate limiter for the Steam web API"""
|
||||
|
||||
# Steam web API limit
|
||||
# 200 requests per 5 min seems to be the limit
|
||||
# https://stackoverflow.com/questions/76047820/how-am-i-exceeding-steam-apis-rate-limit
|
||||
# https://stackoverflow.com/questions/51795457/avoiding-error-429-too-many-requests-steam-web-api
|
||||
refill_period_seconds = 5 * 60
|
||||
refill_period_tokens = 200
|
||||
burst_tokens = 100
|
||||
|
||||
def __init__(self) -> None:
|
||||
# Load pick history from schema
|
||||
# (Remember API limits through restarts of Cartridges)
|
||||
timestamps_str = shared.state_schema.get_string("steam-limiter-tokens-history")
|
||||
self.pick_history = PickHistory(self.refill_period_seconds)
|
||||
self.pick_history.add(*json.loads(timestamps_str))
|
||||
self.pick_history.remove_old_entries()
|
||||
super().__init__()
|
||||
|
||||
def acquire(self):
|
||||
"""Get a token from the bucket and store the pick history in the schema"""
|
||||
super().acquire()
|
||||
timestamps_str = json.dumps(self.pick_history.copy_timestamps())
|
||||
shared.state_schema.set_string("steam-limiter-tokens-history", timestamps_str)
|
||||
|
||||
|
||||
class SteamFileHelper:
|
||||
"""Helper for steam file formats"""
|
||||
|
||||
def get_manifest_data(self, manifest_path) -> SteamManifestData:
|
||||
"""Get local data for a game from its manifest"""
|
||||
|
||||
with open(manifest_path, "r", encoding="utf-8") as file:
|
||||
contents = file.read()
|
||||
|
||||
data = {}
|
||||
|
||||
for key in SteamManifestData.__required_keys__: # pylint: disable=no-member
|
||||
regex = f'"{key}"\\s+"(.*)"\n'
|
||||
if (match := re.search(regex, contents, re.IGNORECASE)) is None:
|
||||
raise SteamInvalidManifestError()
|
||||
data[key] = match.group(1)
|
||||
|
||||
return SteamManifestData(**data)
|
||||
|
||||
|
||||
class SteamAPIHelper:
|
||||
"""Helper around the Steam API"""
|
||||
|
||||
base_url = "https://store.steampowered.com/api"
|
||||
rate_limiter: RateLimiter
|
||||
|
||||
def __init__(self, rate_limiter: RateLimiter) -> None:
|
||||
self.rate_limiter = rate_limiter
|
||||
|
||||
def get_api_data(self, appid) -> SteamAPIData:
|
||||
"""
|
||||
Get online data for a game from its appid.
|
||||
May block to satisfy the Steam web API limitations.
|
||||
|
||||
See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI#appdetails
|
||||
"""
|
||||
|
||||
# Get data from the API (way block to satisfy its limits)
|
||||
with self.rate_limiter:
|
||||
try:
|
||||
with requests.get(
|
||||
f"{self.base_url}/appdetails?appids={appid}", timeout=5
|
||||
) as response:
|
||||
response.raise_for_status()
|
||||
data = response.json()[appid]
|
||||
except HTTPError as error:
|
||||
logging.warning("Steam API HTTP error for %s", appid, exc_info=error)
|
||||
raise error
|
||||
|
||||
# Handle not found
|
||||
if not data["success"]:
|
||||
logging.debug("Appid %s not found", appid)
|
||||
raise SteamGameNotFoundError()
|
||||
|
||||
# Handle appid is not a game
|
||||
game_types = ("game", "demo")
|
||||
if data["data"]["type"] not in game_types:
|
||||
logging.debug("Appid %s is not a game", appid)
|
||||
raise SteamNotAGameError()
|
||||
|
||||
# Return API values we're interested in
|
||||
values = SteamAPIData(developer=", ".join(data["data"]["developers"]))
|
||||
return values
|
||||
@@ -1,128 +1,157 @@
|
||||
# steamgriddb.py
|
||||
#
|
||||
# Copyright 2022-2023 kramo
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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 logging
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
from gi.repository import Gio
|
||||
from requests.exceptions import HTTPError
|
||||
|
||||
from . import shared
|
||||
from .create_dialog import create_dialog
|
||||
from .save_cover import save_cover, resize_cover
|
||||
from src import shared
|
||||
from src.utils.save_cover import resize_cover, save_cover
|
||||
|
||||
|
||||
class SGDBSave:
|
||||
def __init__(self, games, importer=None):
|
||||
self.win = shared.win
|
||||
self.importer = importer
|
||||
self.exception = None
|
||||
class SGDBError(Exception):
|
||||
pass
|
||||
|
||||
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
|
||||
def create_func(game):
|
||||
def wrapper(task, *_args):
|
||||
self.update_cover(
|
||||
task,
|
||||
game,
|
||||
)
|
||||
|
||||
return wrapper
|
||||
class SGDBAuthError(SGDBError):
|
||||
pass
|
||||
|
||||
for game in games:
|
||||
Gio.Task.new(None, None, self.task_done).run_in_thread(create_func(game))
|
||||
|
||||
def update_cover(self, task, game):
|
||||
game.set_loading(1)
|
||||
class SGDBGameNotFoundError(SGDBError):
|
||||
pass
|
||||
|
||||
if (
|
||||
not (
|
||||
shared.schema.get_boolean("sgdb")
|
||||
and (
|
||||
(shared.schema.get_boolean("sgdb-prefer"))
|
||||
or not (
|
||||
(shared.covers_dir / f"{game.game_id}.gif").is_file()
|
||||
or (shared.covers_dir / f"{game.game_id}.tiff").is_file()
|
||||
)
|
||||
)
|
||||
)
|
||||
or game.blacklisted
|
||||
):
|
||||
task.return_value(game)
|
||||
|
||||
class SGDBBadRequestError(SGDBError):
|
||||
pass
|
||||
|
||||
|
||||
class SGDBNoImageFoundError(SGDBError):
|
||||
pass
|
||||
|
||||
|
||||
class SGDBHelper:
|
||||
"""Helper class to make queries to SteamGridDB"""
|
||||
|
||||
base_url = "https://www.steamgriddb.com/api/v2/"
|
||||
|
||||
@property
|
||||
def auth_headers(self):
|
||||
key = shared.schema.get_string("sgdb-key")
|
||||
headers = {"Authorization": f"Bearer {key}"}
|
||||
return headers
|
||||
|
||||
def get_game_id(self, game):
|
||||
"""Get grid results for a game. Can raise an exception."""
|
||||
uri = f"{self.base_url}search/autocomplete/{game.name}"
|
||||
res = requests.get(uri, headers=self.auth_headers, timeout=5)
|
||||
match res.status_code:
|
||||
case 200:
|
||||
return res.json()["data"][0]["id"]
|
||||
case 401:
|
||||
raise SGDBAuthError(res.json()["errors"][0])
|
||||
case 404:
|
||||
raise SGDBGameNotFoundError(res.status_code)
|
||||
case _:
|
||||
res.raise_for_status()
|
||||
|
||||
def get_image_uri(self, game_id, animated=False):
|
||||
"""Get the image for a SGDB game id"""
|
||||
uri = f"{self.base_url}grids/game/{game_id}?dimensions=600x900"
|
||||
if animated:
|
||||
uri += "&types=animated"
|
||||
res = requests.get(uri, headers=self.auth_headers, timeout=5)
|
||||
match res.status_code:
|
||||
case 200:
|
||||
data = res.json()["data"]
|
||||
if len(data) == 0:
|
||||
raise SGDBNoImageFoundError()
|
||||
return data[0]["url"]
|
||||
case 401:
|
||||
raise SGDBAuthError(res.json()["errors"][0])
|
||||
case 404:
|
||||
raise SGDBGameNotFoundError(res.status_code)
|
||||
case _:
|
||||
res.raise_for_status()
|
||||
|
||||
def conditionaly_update_cover(self, game):
|
||||
"""Update the game's cover if appropriate"""
|
||||
|
||||
# Obvious skips
|
||||
use_sgdb = shared.schema.get_boolean("sgdb")
|
||||
if not use_sgdb or game.blacklisted:
|
||||
return
|
||||
|
||||
url = "https://www.steamgriddb.com/api/v2/"
|
||||
headers = {"Authorization": f'Bearer {shared.schema.get_string("sgdb-key")}'}
|
||||
image_trunk = shared.covers_dir / game.game_id
|
||||
still = image_trunk.with_suffix(".tiff")
|
||||
uri_kwargs = image_trunk.with_suffix(".gif")
|
||||
prefer_sgdb = shared.schema.get_boolean("sgdb-prefer")
|
||||
|
||||
# Do nothing if file present and not prefer SGDB
|
||||
if not prefer_sgdb and (still.is_file() or uri_kwargs.is_file()):
|
||||
return
|
||||
|
||||
# Get ID for the game
|
||||
try:
|
||||
search_result = requests.get(
|
||||
f"{url}search/autocomplete/{game.name}",
|
||||
headers=headers,
|
||||
timeout=5,
|
||||
sgdb_id = self.get_game_id(game)
|
||||
except (HTTPError, SGDBError) as error:
|
||||
logging.warning(
|
||||
"%s while getting SGDB ID for %s", type(error).__name__, game.name
|
||||
)
|
||||
if search_result.status_code != 200:
|
||||
self.exception = str(
|
||||
search_result.json()["errors"][0]
|
||||
if "errors" in tuple(search_result.json())
|
||||
else search_result.status_code
|
||||
raise error
|
||||
|
||||
# Build different SGDB options to try
|
||||
image_uri_kwargs_sets = [{"animated": False}]
|
||||
if shared.schema.get_boolean("sgdb-animated"):
|
||||
image_uri_kwargs_sets.insert(0, {"animated": True})
|
||||
|
||||
# Download covers
|
||||
for uri_kwargs in image_uri_kwargs_sets:
|
||||
try:
|
||||
uri = self.get_image_uri(sgdb_id, **uri_kwargs)
|
||||
response = requests.get(uri, timeout=5)
|
||||
tmp_file = Gio.File.new_tmp()[0]
|
||||
tmp_file_path = tmp_file.get_path()
|
||||
Path(tmp_file_path).write_bytes(response.content)
|
||||
save_cover(game.game_id, resize_cover(tmp_file_path))
|
||||
except SGDBAuthError as error:
|
||||
# Let caller handle auth errors
|
||||
raise error
|
||||
except (HTTPError, SGDBError) as error:
|
||||
logging.warning(
|
||||
"%s while getting image for %s kwargs=%s",
|
||||
type(error).__name__,
|
||||
game.name,
|
||||
str(uri_kwargs),
|
||||
)
|
||||
search_result.raise_for_status()
|
||||
except requests.exceptions.RequestException:
|
||||
task.return_value(game)
|
||||
return
|
||||
continue
|
||||
else:
|
||||
# Stop as soon as one is finished
|
||||
return
|
||||
|
||||
response = None
|
||||
|
||||
try:
|
||||
if shared.schema.get_boolean("sgdb-animated"):
|
||||
try:
|
||||
grid = requests.get(
|
||||
f'{url}grids/game/{search_result.json()["data"][0]["id"]}?dimensions=600x900&types=animated',
|
||||
headers=headers,
|
||||
timeout=5,
|
||||
)
|
||||
response = requests.get(grid.json()["data"][0]["url"], timeout=5)
|
||||
except IndexError:
|
||||
pass
|
||||
if not response:
|
||||
grid = requests.get(
|
||||
f'{url}grids/game/{search_result.json()["data"][0]["id"]}?dimensions=600x900',
|
||||
headers=headers,
|
||||
timeout=5,
|
||||
)
|
||||
response = requests.get(grid.json()["data"][0]["url"], timeout=5)
|
||||
except (requests.exceptions.RequestException, IndexError):
|
||||
task.return_value(game)
|
||||
return
|
||||
|
||||
tmp_file = Gio.File.new_tmp()[0]
|
||||
Path(tmp_file.get_path()).write_bytes(response.content)
|
||||
|
||||
save_cover(
|
||||
game.game_id,
|
||||
resize_cover(tmp_file.get_path()),
|
||||
# No image was added
|
||||
logging.warning(
|
||||
'No matching image found for game "%s" (SGDB ID %d)',
|
||||
game.name,
|
||||
sgdb_id,
|
||||
)
|
||||
|
||||
task.return_value(game)
|
||||
|
||||
def task_done(self, _task, result):
|
||||
if self.importer:
|
||||
self.importer.queue -= 1
|
||||
self.importer.done()
|
||||
self.importer.sgdb_exception = self.exception
|
||||
|
||||
if self.exception and not self.importer:
|
||||
create_dialog(
|
||||
self.win,
|
||||
_("Couldn't Connect to SteamGridDB"),
|
||||
self.exception,
|
||||
"open_preferences",
|
||||
_("Preferences"),
|
||||
).connect("response", self.response)
|
||||
|
||||
game = result.propagate_value()[1]
|
||||
game.set_loading(-1)
|
||||
|
||||
if self.importer:
|
||||
game.save()
|
||||
else:
|
||||
game.update()
|
||||
|
||||
def response(self, _widget, response):
|
||||
if response == "open_preferences":
|
||||
self.win.get_application().on_preferences_action(page_name="sgdb")
|
||||
raise SGDBNoImageFoundError()
|
||||
|
||||
86
src/utils/task.py
Normal file
86
src/utils/task.py
Normal file
@@ -0,0 +1,86 @@
|
||||
# task.py
|
||||
#
|
||||
# Copyright 2023 Geoffrey Coulaud
|
||||
#
|
||||
# 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
|
||||
|
||||
from functools import wraps
|
||||
|
||||
from gi.repository import Gio
|
||||
|
||||
|
||||
def create_task_thread_func_closure(func, data):
|
||||
"""Wrap a Gio.TaskThreadFunc with the given data in a closure"""
|
||||
|
||||
def closure(task, source_object, _data, cancellable):
|
||||
func(task, source_object, data, cancellable)
|
||||
|
||||
return closure
|
||||
|
||||
|
||||
def decorate_set_task_data(task):
|
||||
"""Decorate Gio.Task.set_task_data to replace it"""
|
||||
|
||||
def decorator(original_method):
|
||||
@wraps(original_method)
|
||||
def new_method(task_data):
|
||||
task.task_data = task_data
|
||||
|
||||
return new_method
|
||||
|
||||
return decorator
|
||||
|
||||
|
||||
def decorate_run_in_thread(task):
|
||||
"""Decorate Gio.Task.run_in_thread to pass the task data correctly
|
||||
Creates a closure around task_thread_func with the task data available."""
|
||||
|
||||
def decorator(original_method):
|
||||
@wraps(original_method)
|
||||
def new_method(task_thread_func):
|
||||
closure = create_task_thread_func_closure(task_thread_func, task.task_data)
|
||||
original_method(closure)
|
||||
|
||||
return new_method
|
||||
|
||||
return decorator
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class Task:
|
||||
"""Wrapper around Gio.Task to patch task data not being passed"""
|
||||
|
||||
@classmethod
|
||||
def new(cls, source_object, cancellable, callback, callback_data):
|
||||
"""Create a new, monkey-patched Gio.Task.
|
||||
The `set_task_data` and `run_in_thread` methods are decorated.
|
||||
|
||||
As of 2023-05-19, pygobject does not work well with Gio.Task, so to pass data
|
||||
the only viable way it to create a closure with the thread function and its data.
|
||||
This class is supposed to make Gio.Task comply with its expected behaviour
|
||||
per the docs:
|
||||
|
||||
http://lazka.github.io/pgi-docs/#Gio-2.0/classes/Task.html#Gio.Task.set_task_data
|
||||
|
||||
This code may break if pygobject overrides change in the future.
|
||||
We need to manually pass `self` to the decorators since it's otherwise bound but
|
||||
not accessible from Python's side.
|
||||
"""
|
||||
|
||||
task = Gio.Task.new(source_object, cancellable, callback, callback_data)
|
||||
task.set_task_data = decorate_set_task_data(task)(task.set_task_data)
|
||||
task.run_in_thread = decorate_run_in_thread(task)(task.run_in_thread)
|
||||
return task
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user