mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 05:46:17 +00:00
Compare commits
488 Commits
v3.7.1
...
590e09a8c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
590e09a8c3 | ||
|
|
c1d7ea27f3 | ||
|
|
15dbd3b2ad | ||
|
|
92d87c5d33 | ||
|
|
af884d3772 | ||
|
|
dc31ac0831 | ||
|
|
9769eecec6 | ||
|
|
91adb97013 | ||
|
|
f138b2efcb | ||
|
|
991aa05760 | ||
|
|
aff9e13bca | ||
|
|
240a75c1d0 | ||
|
|
edbe86a1fb | ||
|
|
a01e1b1709 | ||
|
|
60fd90820c | ||
|
|
798f88618e | ||
|
|
40795c34dc | ||
|
|
e335e05628 | ||
|
|
05464f25df | ||
|
|
b9830afca1 | ||
|
|
1cab73bcb4 | ||
|
|
27462c1e1e | ||
|
|
98dc20092a | ||
|
|
9faf34a976 | ||
|
|
d25ac69e74 | ||
|
|
d3fb967229 | ||
|
|
35736dd2d9 | ||
|
|
263d0be4e4 | ||
|
|
0b4d31e482 | ||
|
|
a74b557d13 | ||
|
|
86d5547aa1 | ||
|
|
358f41b4ba | ||
|
|
7f0dc5eee4 | ||
|
|
067f7a00be | ||
|
|
37f085e2c0 | ||
|
|
f8ac284bc2 | ||
|
|
cea5afc7f7 | ||
|
|
dff8d02f3f | ||
|
|
8751e369da | ||
|
|
45eaef23a9 | ||
|
|
3c296fe721 | ||
|
|
1d1bbd2de5 | ||
|
|
246fc14b75 | ||
|
|
387b3ebeac | ||
|
|
b1d72828bb | ||
|
|
4c09f915c6 | ||
|
|
24d65b50b4 | ||
|
|
f77b2116c1 | ||
|
|
6cd65d6239 | ||
|
|
34681b3bc2 | ||
|
|
4b71a3f5bb | ||
|
|
a0f669c97b | ||
|
|
96fca88601 | ||
|
|
3f65bb86a8 | ||
|
|
b494c7c8ec | ||
|
|
e10007b1c3 | ||
|
|
dae825a75a | ||
|
|
677f34fe3d | ||
|
|
1524e73ee6 | ||
|
|
40d428c19e | ||
|
|
affa7a2b2e | ||
|
|
cf16c8245c | ||
|
|
6257529297 | ||
|
|
b8352be274 | ||
|
|
d5e6bed3b7 | ||
|
|
214267df7e | ||
|
|
21f46c9af3 | ||
|
|
cc5e0014f7 | ||
|
|
ccb754fa13 | ||
|
|
142bd3156c | ||
|
|
95a7bc2236 | ||
|
|
78d2be85f2 | ||
|
|
67ea9e78a2 | ||
|
|
67f863e0f3 | ||
|
|
77b6f1b2ad | ||
|
|
5329cc446f | ||
|
|
21a0ad1500 | ||
|
|
9ffaee12d1 | ||
|
|
8555274589 | ||
|
|
a152c89d7f | ||
|
|
879f0baad7 | ||
|
|
c025dc199d | ||
|
|
1552a5f359 | ||
|
|
5b4b258526 | ||
|
|
0268829946 | ||
|
|
63f8289d0a | ||
|
|
0470958629 | ||
|
|
3b574e6578 | ||
|
|
7f28fc8ca1 | ||
|
|
d1eb174429 | ||
|
|
82a125237b | ||
|
|
19e312d31e | ||
|
|
79b1f05cde | ||
|
|
cc9ac9dc0f | ||
|
|
19406dd051 | ||
|
|
8aa6e113e7 | ||
|
|
3f41f0f7ad | ||
|
|
91ad4a68f7 | ||
|
|
a69a6ec510 | ||
|
|
fada6507c3 | ||
|
|
0479f1347b | ||
|
|
817870cdbb | ||
|
|
f44d5c8b49 | ||
|
|
c36109c092 | ||
|
|
b59fb7dc36 | ||
|
|
214a7af408 | ||
|
|
14679fc31e | ||
|
|
1545f42d17 | ||
|
|
e872b2ea8a | ||
|
|
dd7c84b433 | ||
|
|
1546da29cf | ||
|
|
a89b0bb2a8 | ||
|
|
9bdb216e0f | ||
|
|
9779aed8c1 | ||
|
|
058a148c7f | ||
|
|
16e3d52508 | ||
|
|
7e0002cf95 | ||
|
|
bf8b3ca836 | ||
|
|
77e376e742 | ||
|
|
bd28b202c4 | ||
|
|
153b954e78 | ||
|
|
a9e63730be | ||
|
|
316480930d | ||
|
|
0b5c9acaaa | ||
|
|
814a2da05c | ||
|
|
0ad1ebd6a2 | ||
|
|
e9de8264e2 | ||
|
|
b135087ffe | ||
|
|
b4a1af78a6 | ||
|
|
ede5bb0c23 | ||
|
|
9a27875cd8 | ||
|
|
cf20a942ae | ||
|
|
256d829a60 | ||
|
|
8cb18578e0 | ||
|
|
62950297e0 | ||
|
|
3eecc42430 | ||
|
|
f6edb45628 | ||
|
|
de8797bea6 | ||
|
|
828f82f647 | ||
|
|
bb22d9c4dd | ||
|
|
559bb45acc | ||
|
|
8e3a932aa4 | ||
|
|
1fc87f93b7 | ||
|
|
f28c867479 | ||
|
|
928acc2765 | ||
|
|
140718764d | ||
|
|
f41128c4c8 | ||
|
|
e176e624be | ||
|
|
59b3fb5317 | ||
|
|
d205f2b391 | ||
|
|
82ab889dad | ||
|
|
4e92e794be | ||
|
|
de0dbcac35 | ||
|
|
c3880ce181 | ||
|
|
5e86ad4d7e | ||
|
|
e2fb59ed8d | ||
|
|
07d5a5b3f3 | ||
|
|
a1117c8269 | ||
|
|
dc04cff378 | ||
|
|
6df34e7f3c | ||
|
|
2773fa7b3c | ||
|
|
093a9f251e | ||
|
|
9979e92d8f | ||
|
|
8cd613e3b6 | ||
|
|
28bf7b8764 | ||
|
|
2adc132c33 | ||
|
|
c4852b89f1 | ||
|
|
5bffaf17fa | ||
|
|
cc38be4383 | ||
|
|
0b70a28c08 | ||
|
|
3ff50a9932 | ||
|
|
be3ce6e2db | ||
|
|
83fbf20383 | ||
|
|
c600a4a46f | ||
|
|
d14951f25c | ||
|
|
d6b38771a8 | ||
|
|
8400edd000 | ||
|
|
6e3c5cac7e | ||
|
|
4f2d6f3302 | ||
|
|
72c3219fc0 | ||
|
|
048c56d670 | ||
|
|
43505a281f | ||
|
|
c380e5f5a0 | ||
|
|
5c32e61569 | ||
|
|
f594cd298a | ||
|
|
20c0d3174b | ||
|
|
bcd6db24c9 | ||
|
|
c2216bbf95 | ||
|
|
f84917a00b | ||
|
|
94ebf94abc | ||
|
|
cd3fa10bf7 | ||
|
|
a57cc83076 | ||
|
|
c75a6ad439 | ||
|
|
05d68fa23b | ||
|
|
527a65e9bc | ||
|
|
fe6bb5763d | ||
|
|
002dff098c | ||
|
|
436d1b74be | ||
|
|
b89de065fe | ||
|
|
7fcdab07cb | ||
|
|
aebf6d1cae | ||
|
|
a2148dd1ef | ||
|
|
8dc5be1bdf | ||
|
|
133168c6c7 | ||
|
|
d59b96f446 | ||
|
|
a1eef4eab6 | ||
|
|
25103e5eb7 | ||
|
|
9cf0ef4b62 | ||
|
|
1521d7c058 | ||
|
|
14eb0f8172 | ||
|
|
860030a510 | ||
|
|
f0e4d241f9 | ||
|
|
44b24ab63d | ||
|
|
7c1adb70ea | ||
|
|
9854ed2f53 | ||
|
|
b8647a3300 | ||
|
|
95894484f1 | ||
|
|
6fc5a70722 | ||
|
|
399669a94c | ||
|
|
77b2fc3946 | ||
|
|
3472e90858 | ||
|
|
d80daa59d0 | ||
|
|
46df34e8a5 | ||
|
|
272b047ded | ||
|
|
dfba38aeed | ||
|
|
d54ff9a949 | ||
|
|
e272470a7b | ||
|
|
53bc3551e1 | ||
|
|
3daf28c882 | ||
|
|
e128dad4dd | ||
|
|
65e2bb38a0 | ||
|
|
5f09321728 | ||
|
|
011559b499 | ||
|
|
482d9b2f96 | ||
|
|
c890b0fd56 | ||
|
|
cf48627a8d | ||
|
|
196413ee28 | ||
|
|
c3a4990a50 | ||
|
|
fa4c11e458 | ||
|
|
50b0a82204 | ||
|
|
b6bbf05da6 | ||
|
|
154b6271a1 | ||
|
|
a6cbaf6dc1 | ||
|
|
6e6e0f7bb7 | ||
|
|
893802be55 | ||
|
|
3bef0c9269 | ||
|
|
754e9c14b8 | ||
|
|
5e653be4c3 | ||
|
|
cedf7e6e37 | ||
|
|
518a0e1cf4 | ||
|
|
5f56a3d517 | ||
|
|
2359c4cc5e | ||
|
|
66bb5221c1 | ||
|
|
7fa50dc5a7 | ||
|
|
088feaffc2 | ||
|
|
aa6b595b18 | ||
|
|
f49fea3032 | ||
|
|
595d39986d | ||
|
|
ac01930d68 | ||
|
|
37caeb8047 | ||
|
|
7d6eddb17e | ||
|
|
20338fa20b | ||
|
|
48775e57fc | ||
|
|
fdc3fecd6f | ||
|
|
f0dc7478cf | ||
|
|
e7a437e839 | ||
|
|
2e8da53d1a | ||
|
|
8794fbc742 | ||
|
|
bf387aef3f | ||
|
|
c2a26b9750 | ||
|
|
3dc2a29114 | ||
|
|
6ebf7766aa | ||
|
|
b578af4612 | ||
|
|
6f6b7d49ac | ||
|
|
5c445f8a90 | ||
|
|
87d35da9fc | ||
|
|
5067cf163e | ||
|
|
efab242c74 | ||
|
|
19bf99ff11 | ||
|
|
9c00a17193 | ||
|
|
d167628ed4 | ||
|
|
59cfce86ae | ||
|
|
51c4e4f5b3 | ||
|
|
138120460c | ||
|
|
c71f5947ba | ||
|
|
ff8a61ff7a | ||
|
|
d1d46971b6 | ||
|
|
b8af69b0fb | ||
|
|
1af69465c1 | ||
|
|
f6c12c22b5 | ||
|
|
539010d817 | ||
|
|
aa148c0b70 | ||
|
|
a83a96f214 | ||
|
|
aadbda770b | ||
|
|
bd059cc7fa | ||
|
|
bbbf861594 | ||
|
|
80e0adcd49 | ||
|
|
4dd3c9de76 | ||
|
|
101bc35460 | ||
|
|
2aa31c0db0 | ||
|
|
4bfe6d7f86 | ||
|
|
aadf648a2b | ||
|
|
87dbd548d0 | ||
|
|
459bf73121 | ||
|
|
a2ef0f304d | ||
|
|
b04561986e | ||
|
|
1bd88e6c6e | ||
|
|
4ff8dc4fa7 | ||
|
|
dcc671f999 | ||
|
|
6e76111e23 | ||
|
|
3fce26f1f7 | ||
|
|
90c5ccb796 | ||
|
|
41092c2dd4 | ||
|
|
6383b728bc | ||
|
|
4dd28bbbf1 | ||
|
|
21074322fa | ||
|
|
0e7e53478a | ||
|
|
65e49550ad | ||
|
|
0990951183 | ||
|
|
53c162f0e4 | ||
|
|
2fb44a6c0e | ||
|
|
49c2bc34d1 | ||
|
|
ef52d710ed | ||
|
|
31d57a784e | ||
|
|
49df40650c | ||
|
|
499a830e3e | ||
|
|
437b0a3b19 | ||
|
|
d59ff5c484 | ||
|
|
dcf13a5920 | ||
|
|
51861752a1 | ||
|
|
fb29152a0b | ||
|
|
19bbbbfb77 | ||
|
|
952d4d9ee2 | ||
|
|
ad588b5600 | ||
|
|
2fce12eba7 | ||
|
|
1427775c98 | ||
|
|
c24ad34bc7 | ||
|
|
4f2c3105ce | ||
|
|
feedcb1dc7 | ||
|
|
4b8d64c72b | ||
|
|
dff68a3e26 | ||
|
|
58bdbdab71 | ||
|
|
e143fadf38 | ||
|
|
f99f8d9554 | ||
|
|
274080069f | ||
|
|
b1069426e4 | ||
|
|
dc6d578462 | ||
|
|
8a12c6e088 | ||
|
|
b795cea599 | ||
|
|
574a012d8c | ||
|
|
8e3bf29a21 | ||
|
|
f6d21baff5 | ||
|
|
b2b7b36f70 | ||
|
|
dc8a19e845 | ||
|
|
ce0619bbe3 | ||
|
|
4acb7f7001 | ||
|
|
a11b3e8877 | ||
|
|
6b96c99bb1 | ||
|
|
dbf5d7afc7 | ||
|
|
bfc4bb1a83 | ||
|
|
120aad6c1c | ||
|
|
1123aaa65e | ||
|
|
2f8d241ded | ||
|
|
61072aa02a | ||
|
|
ddd6af0d4c | ||
|
|
5c770bc7e7 | ||
|
|
b431ed479c | ||
|
|
9e09a5decb | ||
|
|
1e1a1c61c9 | ||
|
|
fc6068d603 | ||
|
|
3ab1e29578 | ||
|
|
1effa80311 | ||
|
|
549e1270ee | ||
|
|
eb006c5e90 | ||
|
|
54632bd06d | ||
|
|
a073cf7f8c | ||
|
|
6921bfa3ff | ||
|
|
2835207d79 | ||
|
|
2a90faeb42 | ||
|
|
87a57f7a37 | ||
|
|
7c272aeed8 | ||
|
|
6565ce5316 | ||
|
|
fee3a4522a | ||
|
|
cb3e52de34 | ||
|
|
7f2343413e | ||
|
|
ee35bc24b2 | ||
|
|
4471bf0f8b | ||
|
|
f239562bb3 | ||
|
|
11c19f5fe5 | ||
|
|
0c7767de36 | ||
|
|
a3d700bb60 | ||
|
|
881564daa7 | ||
|
|
ab50271399 | ||
|
|
2c1a8bf639 | ||
|
|
362774a3cc | ||
|
|
dec0af8a80 | ||
|
|
8de6c92d28 | ||
|
|
29e822f2f1 | ||
|
|
a388acf948 | ||
|
|
40f7e6e2ad | ||
|
|
8aaa85e009 | ||
|
|
d1c09299b1 | ||
|
|
0a8db2a976 | ||
|
|
ef8c6c90fb | ||
|
|
03770c03f1 | ||
|
|
e23ee8940c | ||
|
|
089d417950 | ||
|
|
8a64b5e245 | ||
|
|
fb93f06901 | ||
|
|
7fc9962e04 | ||
|
|
2179086285 | ||
|
|
0814c08459 | ||
|
|
9e84cd970e | ||
|
|
321d170634 | ||
|
|
b96e6095dc | ||
|
|
29e1713824 | ||
|
|
e12fdf8f8f | ||
|
|
52714e3323 | ||
|
|
2529bdf5ca | ||
|
|
6545c7d7cd | ||
|
|
7f28929c68 | ||
|
|
19d8a09f9d | ||
|
|
00e716375e | ||
|
|
95a5c3716c | ||
|
|
4d3ba51b61 | ||
|
|
a1552020c0 | ||
|
|
65ae5991e7 | ||
|
|
805d67d2d1 | ||
|
|
81a77411cc | ||
|
|
313f2cd585 | ||
|
|
1e8983d0c0 | ||
|
|
face259167 | ||
|
|
09b54addc1 | ||
|
|
9a278dc614 | ||
|
|
cc95deb709 | ||
|
|
daf9751cf6 | ||
|
|
d21ec52814 | ||
|
|
f539977431 | ||
|
|
3ff20417d5 | ||
|
|
65f83399f5 | ||
|
|
eb34f051e1 | ||
|
|
ab27f3295e | ||
|
|
3782f79100 | ||
|
|
214e8f9538 | ||
|
|
86ab5b107b | ||
|
|
acf8f340dd | ||
|
|
f5470b29c0 | ||
|
|
3df07fefe5 | ||
|
|
00e597c910 | ||
|
|
a7b5bdb3b4 | ||
|
|
99e34ce060 | ||
|
|
f0421d9fe0 | ||
|
|
ca35da37ed | ||
|
|
7435bff64f | ||
|
|
864fd282f0 | ||
|
|
945173f48e | ||
|
|
035f6e8d24 | ||
|
|
362d6b634e | ||
|
|
a0a967aacd | ||
|
|
e19102ea66 | ||
|
|
107b61f663 | ||
|
|
811a6ad955 | ||
|
|
6fb8bbf744 | ||
|
|
459017a4a6 | ||
|
|
d6ff8f670e | ||
|
|
33e0d50966 | ||
|
|
73e378e26a | ||
|
|
0d60ec8801 | ||
|
|
3782d74ad2 | ||
|
|
8a40c678f7 | ||
|
|
e1ce5bc6cb | ||
|
|
48ce9a2476 | ||
|
|
2909be312a | ||
|
|
361073d3f8 | ||
|
|
d168e20385 | ||
|
|
0575e837c8 | ||
|
|
5ff15b30b2 | ||
|
|
2f1185bbf9 | ||
|
|
19a57cb1e0 | ||
|
|
d2089ec7d4 | ||
|
|
c2273dbf71 | ||
|
|
bbd9ff76c4 | ||
|
|
39e76f458f | ||
|
|
393c55738c | ||
|
|
24f7ecb795 | ||
|
|
97b27a1785 | ||
|
|
3dc71a8d1f | ||
|
|
8203399eda |
57
.cursorrules
Normal file
57
.cursorrules
Normal file
@@ -0,0 +1,57 @@
|
||||
# Hydra Project Rules
|
||||
|
||||
## Logging
|
||||
|
||||
- **Always use `logger` instead of `console` for logging** in both main and renderer processes
|
||||
- In main process: `import { logger } from "@main/services";`
|
||||
- In renderer process: `import { logger } from "@renderer/logger";`
|
||||
- Replace all instances of:
|
||||
- `console.log()` → `logger.log()`
|
||||
- `console.error()` → `logger.error()`
|
||||
- `console.warn()` → `logger.warn()`
|
||||
- `console.info()` → `logger.info()`
|
||||
- `console.debug()` → `logger.debug()`
|
||||
- Do not use `console` for any logging purposes
|
||||
|
||||
## Internationalization (i18n)
|
||||
|
||||
- All user-facing strings must be translated using i18next
|
||||
- Use the `useTranslation` hook in React components: `const { t } = useTranslation("namespace");`
|
||||
- Add new translation keys to `src/locales/en/translation.json`
|
||||
- Never hardcode English strings in the UI code
|
||||
- Placeholder text in form fields must also be translated
|
||||
|
||||
## Code Style
|
||||
|
||||
- Use ESLint and Prettier for code formatting
|
||||
- Follow TypeScript strict mode conventions
|
||||
- Use async/await instead of promises when possible
|
||||
- Prefer named exports over default exports for utilities and services
|
||||
|
||||
## ESLint Issues
|
||||
|
||||
- **Always try to fix ESLint errors properly before disabling rules**
|
||||
- When encountering ESLint errors, explore these solutions in order:
|
||||
1. **Fix the code to comply with the rule** (e.g., add missing required elements, fix accessibility issues)
|
||||
2. **Use minimal markup to satisfy the rule** (e.g., add empty `<track>` elements for videos without captions, add `role` attributes)
|
||||
3. **Only disable the rule as a last resort** when no reasonable solution exists
|
||||
- When disabling a rule, always include a comment explaining why it's necessary
|
||||
- Examples of proper fixes:
|
||||
- For `jsx-a11y/media-has-caption`: Add `<track kind="captions" />` even if no captions are available
|
||||
- For `jsx-a11y/alt-text`: Add meaningful alt text or `alt=""` for decorative images
|
||||
- For accessibility rules: Add appropriate ARIA attributes rather than disabling
|
||||
|
||||
## TypeScript Array Syntax
|
||||
|
||||
- **Always use `T[]` syntax instead of `Array<T>`** for array types
|
||||
- Prefer: `string[]`, `number[]`, `MyType[]`
|
||||
- Avoid: `Array<string>`, `Array<number>`, `Array<MyType>`
|
||||
- This applies to all type annotations, type assertions, and generic type parameters
|
||||
|
||||
## Comments
|
||||
|
||||
- Keep comments concise and purposeful; avoid verbose explanations.
|
||||
- Focus on the "why" or non-obvious context, not restating the code.
|
||||
- Prefer self-explanatory naming and structure over excessive comments.
|
||||
- Do not comment every line or obvious behavior; remove stale comments.
|
||||
- Use docblocks only where they add value (public APIs, complex logic).
|
||||
@@ -3,3 +3,4 @@ MAIN_VITE_AUTH_URL=
|
||||
MAIN_VITE_WS_URL=
|
||||
RENDERER_VITE_REAL_DEBRID_REFERRAL_ID=
|
||||
RENDERER_VITE_TORBOX_REFERRAL_CODE=
|
||||
MAIN_VITE_LAUNCHER_SUBDOMAIN=
|
||||
|
||||
65
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
65
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -1,65 +0,0 @@
|
||||
name: Bug Report
|
||||
description: Create a report to help us improve. Write in English.
|
||||
title: "[BUG] Write a title for your bug"
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for creating a bug report to help us improve!
|
||||
- type: textarea
|
||||
id: bug-description
|
||||
attributes:
|
||||
label: Describe the bug
|
||||
description: A clear and concise description of what the bug is.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-reproduce
|
||||
attributes:
|
||||
label: Steps to Reproduce
|
||||
description: Steps to reproduce the behavior. For example, "1. Go to '...', 2. Click on '...', 3. See error"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: A clear and concise description of what you expected to happen.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: additional-info
|
||||
attributes:
|
||||
label: Additional information and data
|
||||
description: |
|
||||
Add screenshots and upload your all logs file here.
|
||||
Logs location on Windows: "%appdata%/hydralauncher/logs"
|
||||
Logs location on Linux: "~/.config/hydralauncher/logs"
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: OS
|
||||
attributes:
|
||||
label: Operating System
|
||||
description: Which operating system are you using (e.g., Windows 11/Linux Distro/Steam Deck)?
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: hydra-version
|
||||
attributes:
|
||||
label: Hydra Version
|
||||
description: Please provide the version of Hydra you are using.
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: terms
|
||||
attributes:
|
||||
label: Before opening this Issue
|
||||
options:
|
||||
- label: I have searched the issues of this repository and believe that this is not a duplicate.
|
||||
required: true
|
||||
- label: I am aware that Hydra team does not offer any support or help regarding the downloaded games.
|
||||
required: true
|
||||
- label: I have read the [Frequently Asked Questions (FAQ)](https://github.com/hydralauncher/hydra/wiki/FAQ).
|
||||
required: true
|
||||
37
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
37
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@@ -1,37 +0,0 @@
|
||||
name: Feature Request
|
||||
description: Request a new feature.
|
||||
title: "[REQUEST] "
|
||||
labels: ["enhancement"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for taking the time to suggest a new feature!
|
||||
- type: textarea
|
||||
id: problem-related
|
||||
attributes:
|
||||
label: Is your feature request related to a problem? Please describe.
|
||||
description: A clear and concise description of what the problem is.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: Describe the solution you'd like
|
||||
description: A clear and concise description of what you want to happen.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Describe alternatives you've considered
|
||||
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: Add any other context or screenshots about the feature request here.
|
||||
validations:
|
||||
required: false
|
||||
4
.github/pull-request-template.md
vendored
4
.github/pull-request-template.md
vendored
@@ -2,11 +2,9 @@
|
||||
|
||||
**When submitting this pull request, I confirm the following (please check the boxes):**
|
||||
|
||||
- [ ] I have read and understood the [Contributor Guidelines](https://github.com/hydralauncher/hydra?tab=readme-ov-file#ways-you-can-contribute).
|
||||
- [ ] I have read the [Hydra documentation](https://docs.hydralauncher.gg/getting-started.html).
|
||||
- [ ] I have checked that there are no duplicate pull requests related to this request.
|
||||
- [ ] I have considered, and confirm that this submission is valuable to others.
|
||||
- [ ] I accept that this submission may not be used and the pull request may be closed at the discretion of the maintainers.
|
||||
|
||||
**Fill in the PR content:**
|
||||
|
||||
-
|
||||
|
||||
26
.github/workflows/build-renderer.yml
vendored
26
.github/workflows/build-renderer.yml
vendored
@@ -6,23 +6,37 @@ concurrency:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
branches:
|
||||
- release/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=4096
|
||||
BRANCH_NAME: ${{ github.ref_name }}
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Node.js
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.18.0
|
||||
node-version: 22.21.0
|
||||
cache: "yarn"
|
||||
|
||||
- name: Enable Corepack (Yarn)
|
||||
run: corepack enable
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile --ignore-scripts
|
||||
run: yarn install --frozen-lockfile --ignore-scripts
|
||||
|
||||
- name: Build Renderer
|
||||
run: yarn build
|
||||
@@ -36,5 +50,5 @@ jobs:
|
||||
run: |
|
||||
npx --yes wrangler@3 pages deploy out/renderer \
|
||||
--project-name="hydra" \
|
||||
--commit-dirty=true \
|
||||
--branch="main"
|
||||
--branch "$BRANCH_NAME" \
|
||||
--commit-dirty
|
||||
|
||||
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -1,11 +1,15 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
@@ -22,7 +26,7 @@ jobs:
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.18.3
|
||||
node-version: 22.21.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
@@ -38,11 +42,15 @@ jobs:
|
||||
- name: Build with cx_Freeze
|
||||
run: python python_rpc/setup.py build
|
||||
|
||||
- name: Copy OpenSSL DLLs
|
||||
if: matrix.os == 'windows-2022'
|
||||
run: |
|
||||
cp hydra-python-rpc/lib/libcrypto-1_1.dll hydra-python-rpc/lib/libcrypto-1_1-x64.dll
|
||||
cp hydra-python-rpc/lib/libssl-1_1.dll hydra-python-rpc/lib/libssl-1_1-x64.dll
|
||||
|
||||
- name: Build Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libarchive-tools
|
||||
yarn build:linux
|
||||
env:
|
||||
MAIN_VITE_API_URL: ${{ vars.MAIN_VITE_STAGING_API_URL }}
|
||||
@@ -98,5 +106,4 @@ jobs:
|
||||
dist/*.tar.gz
|
||||
dist/*.yml
|
||||
dist/*.blockmap
|
||||
dist/*.pacman
|
||||
dist/*.AppImage
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.18.3
|
||||
node-version: 22.21.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
|
||||
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -6,7 +6,8 @@ concurrency:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches:
|
||||
- release/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -23,7 +24,7 @@ jobs:
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.18.3
|
||||
node-version: 22.21.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
@@ -39,11 +40,15 @@ jobs:
|
||||
- name: Build with cx_Freeze
|
||||
run: python python_rpc/setup.py build
|
||||
|
||||
- name: Copy OpenSSL DLLs
|
||||
if: matrix.os == 'windows-2022'
|
||||
run: |
|
||||
cp hydra-python-rpc/lib/libcrypto-1_1.dll hydra-python-rpc/lib/libcrypto-1_1-x64.dll
|
||||
cp hydra-python-rpc/lib/libssl-1_1.dll hydra-python-rpc/lib/libssl-1_1-x64.dll
|
||||
|
||||
- name: Build Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libarchive-tools
|
||||
yarn build:linux
|
||||
env:
|
||||
MAIN_VITE_API_URL: ${{ vars.MAIN_VITE_API_URL }}
|
||||
@@ -57,7 +62,7 @@ jobs:
|
||||
RENDERER_VITE_SENTRY_DSN: ${{ vars.SENTRY_DSN }}
|
||||
RENDERER_VITE_REAL_DEBRID_REFERRAL_ID: ${{ vars.RENDERER_VITE_REAL_DEBRID_REFERRAL_ID }}
|
||||
RENDERER_VITE_TORBOX_REFERRAL_CODE: ${{ vars.RENDERER_VITE_TORBOX_REFERRAL_CODE }}
|
||||
MAIN_VITE_RENDERER_URL: ${{ vars.MAIN_VITE_RENDERER_URL }}
|
||||
MAIN_VITE_LAUNCHER_SUBDOMAIN: ${{ vars.MAIN_VITE_LAUNCHER_SUBDOMAIN }}
|
||||
|
||||
- name: Build Windows
|
||||
if: matrix.os == 'windows-2022'
|
||||
@@ -74,7 +79,7 @@ jobs:
|
||||
RENDERER_VITE_SENTRY_DSN: ${{ vars.SENTRY_DSN }}
|
||||
RENDERER_VITE_REAL_DEBRID_REFERRAL_ID: ${{ vars.RENDERER_VITE_REAL_DEBRID_REFERRAL_ID }}
|
||||
RENDERER_VITE_TORBOX_REFERRAL_CODE: ${{ vars.RENDERER_VITE_TORBOX_REFERRAL_CODE }}
|
||||
MAIN_VITE_RENDERER_URL: ${{ vars.MAIN_VITE_RENDERER_URL }}
|
||||
MAIN_VITE_LAUNCHER_SUBDOMAIN: ${{ vars.MAIN_VITE_LAUNCHER_SUBDOMAIN }}
|
||||
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -90,7 +95,6 @@ jobs:
|
||||
dist/*.tar.gz
|
||||
dist/*.yml
|
||||
dist/*.blockmap
|
||||
dist/*.pacman
|
||||
|
||||
- name: Upload build
|
||||
env:
|
||||
@@ -119,6 +123,5 @@ jobs:
|
||||
dist/*.tar.gz
|
||||
dist/*.yml
|
||||
dist/*.blockmap
|
||||
dist/*.pacman
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
161
.github/workflows/update-aur.yml
vendored
Normal file
161
.github/workflows/update-aur.yml
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
name: Update AUR Package
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
update-aur:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:latest
|
||||
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pacman -Syu --noconfirm
|
||||
pacman -S --noconfirm nodejs npm git base-devel openssh jq pacman-contrib
|
||||
|
||||
- name: Create builder user
|
||||
run: |
|
||||
# Create builder user with home directory
|
||||
useradd -m -s /bin/bash builder
|
||||
|
||||
# Add builder to wheel group for sudo access
|
||||
usermod -aG wheel builder
|
||||
|
||||
# Configure sudo for builder user (no password required)
|
||||
echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||
|
||||
- name: Setup SSH for AUR
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
chmod 700 ~/.ssh
|
||||
|
||||
# Add AUR host key to known_hosts
|
||||
ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
|
||||
|
||||
# Configure SSH to use the key
|
||||
cat > ~/.ssh/config << EOF
|
||||
Host aur.archlinux.org
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
IdentitiesOnly yes
|
||||
User aur
|
||||
UserKnownHostsFile ~/.ssh/known_hosts
|
||||
StrictHostKeyChecking no
|
||||
EOF
|
||||
|
||||
# Start SSH agent and add key
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add ~/.ssh/id_rsa
|
||||
|
||||
export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa -F ~/.ssh/config -o UserKnownHostsFile=$SSH_PATH/known_hosts"
|
||||
|
||||
git clone ssh://aur@aur.archlinux.org/hydra-launcher-bin.git
|
||||
|
||||
# Give builder user ownership of the repository
|
||||
chown -R builder:builder hydra-launcher-bin
|
||||
|
||||
- name: Get version to update
|
||||
id: get-version
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "release" ]; then
|
||||
VERSION="${{ github.event.release.tag_name }}"
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "source=release" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "Getting latest release version"
|
||||
VERSION=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r '.tag_name' | sed 's/^v//')
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "source=latest" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
echo "Version to update: $VERSION"
|
||||
|
||||
- name: Check if update is needed
|
||||
id: check-update
|
||||
run: |
|
||||
CURRENT_VERSION=$(grep '^pkgver=' hydra-launcher-bin/PKGBUILD | cut -d'=' -f2)
|
||||
NEW_VERSION="${{ steps.get-version.outputs.version }}"
|
||||
|
||||
echo "Current AUR version: $CURRENT_VERSION"
|
||||
echo "New version: $NEW_VERSION"
|
||||
|
||||
if [ "$CURRENT_VERSION" = "$NEW_VERSION" ]; then
|
||||
echo "update_needed=false" >> $GITHUB_OUTPUT
|
||||
echo "No update needed - versions are the same"
|
||||
else
|
||||
echo "update_needed=true" >> $GITHUB_OUTPUT
|
||||
echo "Update needed"
|
||||
fi
|
||||
|
||||
- name: Update PKGBUILD and .SRCINFO
|
||||
if: steps.check-update.outputs.update_needed == 'true'
|
||||
run: |
|
||||
# sleeps for 1 minute to be sure GH updated the release info
|
||||
sleep 60
|
||||
# Update pkgver in PKGBUILD
|
||||
cd hydra-launcher-bin
|
||||
NEW_VERSION="${{ steps.get-version.outputs.version }}"
|
||||
NEW_VERSION="${NEW_VERSION#v}"
|
||||
|
||||
echo "Updating PKGBUILD pkgver to $NEW_VERSION"
|
||||
|
||||
# Read PKGBUILD and update pkgver line
|
||||
sed -i "s/^pkgver=.*/pkgver=$NEW_VERSION/" ./PKGBUILD
|
||||
|
||||
# Reset pkgrel to 1 when version changes
|
||||
sed -i "s/^pkgrel=.*/pkgrel=1/" ./PKGBUILD
|
||||
|
||||
echo "✅ Successfully updated pkgver to $NEW_VERSION in ./PKGBUILD"
|
||||
|
||||
# Update package checksums and generate .SRCINFO as builder user
|
||||
sudo -u builder updpkgsums
|
||||
sudo -u builder makepkg --printsrcinfo > .SRCINFO
|
||||
|
||||
- name: Commit and push changes
|
||||
if: steps.check-update.outputs.update_needed == 'true'
|
||||
run: |
|
||||
cd hydra-launcher-bin
|
||||
git config --global --add safe.directory .
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
git add PKGBUILD .SRCINFO
|
||||
|
||||
echo "## Git Diff Preview"
|
||||
echo "Changes that would be made:"
|
||||
git diff PKGBUILD .SRCINFO || echo "No changes to show"
|
||||
echo ""
|
||||
echo "Staged changes:"
|
||||
git add PKGBUILD .SRCINFO
|
||||
git diff --staged || echo "No staged changes"
|
||||
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
COMMIT_MSG="${{ steps.get-version.outputs.version }}"
|
||||
|
||||
git commit -m "$COMMIT_MSG"
|
||||
|
||||
export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa -F ~/.ssh/config -o UserKnownHostsFile=$SSH_PATH/known_hosts"
|
||||
|
||||
git push origin master
|
||||
echo "Successfully updated AUR package to version ${{ steps.get-version.outputs.version }}"
|
||||
fi
|
||||
|
||||
- name: Create summary
|
||||
if: always()
|
||||
run: |
|
||||
echo "## AUR Update Summary" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **Version**: ${{ steps.get-version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **Source**: ${{ steps.get-version.outputs.source }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **Update needed**: ${{ steps.check-update.outputs.update_needed }}" >> $GITHUB_STEP_SUMMARY
|
||||
if [ "${{ steps.check-update.outputs.update_needed }}" = "true" ]; then
|
||||
echo "- **Status**: ✅ AUR package updated successfully" >> $GITHUB_STEP_SUMMARY
|
||||
else
|
||||
echo "- **Status**: ⏭️ No update needed" >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
@@ -1,6 +1,6 @@
|
||||
<div align="center">
|
||||
|
||||
[<img src="./resources/icon.png" width="144"/>](https://help.hydralauncher.gg)
|
||||
[<img src="https://raw.githubusercontent.com/hydralauncher/hydra/refs/heads/main/resources/icon.png" width="144"/>](https://help.hydralauncher.gg)
|
||||
|
||||
<h1 align="center">Hydra Launcher</h1>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
[](https://github.com/hydralauncher/hydra/actions)
|
||||
[](https://github.com/hydralauncher/hydra/releases)
|
||||
[](https://community.chocolatey.org/packages/hydralauncher)
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -56,7 +56,6 @@ linux:
|
||||
- AppImage
|
||||
- snap
|
||||
- deb
|
||||
- pacman
|
||||
- rpm
|
||||
maintainer: electronjs.org
|
||||
category: Game
|
||||
|
||||
16
package.json
16
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydralauncher",
|
||||
"version": "3.7.1",
|
||||
"version": "3.7.6",
|
||||
"description": "Hydra",
|
||||
"main": "./out/main/index.js",
|
||||
"author": "Los Broxas",
|
||||
@@ -63,18 +63,21 @@
|
||||
"embla-carousel-react": "^8.6.0",
|
||||
"file-type": "^20.5.0",
|
||||
"framer-motion": "^12.15.0",
|
||||
"hls.js": "^1.5.12",
|
||||
"i18next": "^23.11.2",
|
||||
"i18next-browser-languagedetector": "^7.2.1",
|
||||
"jsdom": "^24.0.0",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lucide-react": "^0.544.0",
|
||||
"node-7z": "^3.0.0",
|
||||
"parse-torrent": "^11.0.18",
|
||||
"rc-virtual-list": "^3.18.3",
|
||||
"react-dnd": "^16.0.1",
|
||||
"react-dnd-html5-backend": "^16.0.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
"react-i18next": "^14.1.0",
|
||||
"react-infinite-scroll-component": "^6.1.0",
|
||||
"react-loading-skeleton": "^3.4.0",
|
||||
"react-redux": "^9.1.1",
|
||||
"react-router-dom": "^6.22.3",
|
||||
@@ -83,15 +86,14 @@
|
||||
"sound-play": "^1.1.0",
|
||||
"steam-shortcut-editor": "https://github.com/hydralauncher/steam-shortcut-editor",
|
||||
"sudo-prompt": "^9.2.1",
|
||||
"tar": "^7.4.3",
|
||||
"tar": "^7.5.2",
|
||||
"tough-cookie": "^5.1.1",
|
||||
"user-agents": "^1.1.387",
|
||||
"uuid": "^13.0.0",
|
||||
"winreg": "^1.2.5",
|
||||
"ws": "^8.18.1",
|
||||
"yaml": "^2.6.1",
|
||||
"yup": "^1.5.0",
|
||||
"zod": "^3.24.1"
|
||||
"yup": "^1.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aws-sdk/client-s3": "^3.705.0",
|
||||
@@ -116,9 +118,9 @@
|
||||
"@types/winreg": "^1.2.36",
|
||||
"@types/ws": "^8.18.1",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"electron": "^33.4.11",
|
||||
"electron": "^37.7.1",
|
||||
"electron-builder": "^26.0.12",
|
||||
"electron-vite": "^3.0.0",
|
||||
"electron-vite": "^4.0.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-react": "^7.37.4",
|
||||
@@ -130,7 +132,7 @@
|
||||
"sass-embedded": "^1.80.6",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "5.4.20",
|
||||
"vite": "5.4.21",
|
||||
"vite-plugin-svgr": "^4.5.0"
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
||||
|
||||
2
proto
2
proto
Submodule proto updated: 7a23620f93...6f11c99c57
@@ -153,8 +153,11 @@ def profile_image():
|
||||
data = request.get_json()
|
||||
image_path = data.get('image_path')
|
||||
|
||||
# use webp as default value for target_extension
|
||||
target_extension = data.get('target_extension') or 'webp'
|
||||
|
||||
try:
|
||||
processed_image_path, mime_type = ProfileImageProcessor.process_image(image_path)
|
||||
processed_image_path, mime_type = ProfileImageProcessor.process_image(image_path, target_extension)
|
||||
return jsonify({'imagePath': processed_image_path, 'mimeType': mime_type}), 200
|
||||
except Exception as e:
|
||||
return jsonify({"error": str(e)}), 400
|
||||
|
||||
@@ -4,7 +4,7 @@ import os, uuid, tempfile
|
||||
class ProfileImageProcessor:
|
||||
|
||||
@staticmethod
|
||||
def get_parsed_image_data(image_path):
|
||||
def get_parsed_image_data(image_path, target_extension):
|
||||
Image.MAX_IMAGE_PIXELS = 933120000
|
||||
|
||||
image = Image.open(image_path)
|
||||
@@ -16,7 +16,7 @@ class ProfileImageProcessor:
|
||||
return image_path, mime_type
|
||||
else:
|
||||
new_uuid = str(uuid.uuid4())
|
||||
new_image_path = os.path.join(tempfile.gettempdir(), new_uuid) + ".webp"
|
||||
new_image_path = os.path.join(tempfile.gettempdir(), new_uuid) + "." + target_extension
|
||||
image.save(new_image_path)
|
||||
|
||||
new_image = Image.open(new_image_path)
|
||||
@@ -26,5 +26,5 @@ class ProfileImageProcessor:
|
||||
|
||||
|
||||
@staticmethod
|
||||
def process_image(image_path):
|
||||
return ProfileImageProcessor.get_parsed_image_data(image_path)
|
||||
def process_image(image_path, target_extension):
|
||||
return ProfileImageProcessor.get_parsed_image_data(image_path, target_extension)
|
||||
|
||||
@@ -20,7 +20,7 @@ const s3 = new S3Client({
|
||||
|
||||
const dist = path.resolve(__dirname, "..", "dist");
|
||||
|
||||
const extensionsToUpload = [".deb", ".exe", ".pacman", ".AppImage"];
|
||||
const extensionsToUpload = [".deb", ".exe", ".AppImage"];
|
||||
|
||||
fs.readdir(dist, async (err, files) => {
|
||||
if (err) throw err;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Catalogue",
|
||||
"library": "Library",
|
||||
"downloads": "Downloads",
|
||||
"settings": "Settings",
|
||||
"my_library": "My library",
|
||||
@@ -25,6 +26,7 @@
|
||||
"game_has_no_executable": "Game has no executable selected",
|
||||
"sign_in": "Sign in",
|
||||
"friends": "Friends",
|
||||
"notifications": "Notifications",
|
||||
"need_help": "Need help?",
|
||||
"favorites": "Favorites",
|
||||
"playable_button_title": "Show only games you can play now",
|
||||
@@ -92,8 +94,16 @@
|
||||
},
|
||||
"header": {
|
||||
"search": "Search games",
|
||||
"search_library": "Search library",
|
||||
"recent_searches": "Recent Searches",
|
||||
"suggestions": "Suggestions",
|
||||
"clear_history": "Clear",
|
||||
"remove_from_history": "Remove from history",
|
||||
"loading": "Loading...",
|
||||
"no_results": "No results",
|
||||
"home": "Home",
|
||||
"catalogue": "Catalogue",
|
||||
"library": "Library",
|
||||
"downloads": "Downloads",
|
||||
"search_results": "Search results",
|
||||
"settings": "Settings",
|
||||
@@ -106,6 +116,7 @@
|
||||
"downloading": "Downloading {{title}}… ({{percentage}} complete) - Completion {{eta}} - {{speed}}",
|
||||
"calculating_eta": "Downloading {{title}}… ({{percentage}} complete) - Calculating remaining time…",
|
||||
"checking_files": "Checking {{title}} files… ({{percentage}} complete)",
|
||||
"extracting": "Extracting {{title}}… ({{percentage}} complete)",
|
||||
"installing_common_redist": "{{log}}…",
|
||||
"installation_complete": "Installation complete",
|
||||
"installation_complete_message": "Common redistributables installed successfully"
|
||||
@@ -193,7 +204,9 @@
|
||||
"danger_zone_section_description": "Remove this game from your library or the files downloaded by Hydra",
|
||||
"download_in_progress": "Download in progress",
|
||||
"download_paused": "Download paused",
|
||||
"extracting": "Extracting",
|
||||
"last_downloaded_option": "Last downloaded option",
|
||||
"new_download_option": "New",
|
||||
"create_steam_shortcut": "Create Steam shortcut",
|
||||
"create_shortcut_success": "Shortcut created successfully",
|
||||
"you_might_need_to_restart_steam": "You might need to restart Steam to see the changes",
|
||||
@@ -223,6 +236,7 @@
|
||||
"show_more": "Show more",
|
||||
"show_less": "Show less",
|
||||
"reviews": "Reviews",
|
||||
"review_played_for": "Played for",
|
||||
"leave_a_review": "Leave a Review",
|
||||
"write_review_placeholder": "Share your thoughts about this game...",
|
||||
"sort_newest": "Newest",
|
||||
@@ -357,7 +371,14 @@
|
||||
"delete_review_modal_description": "This action cannot be undone.",
|
||||
"delete_review_modal_delete_button": "Delete",
|
||||
"delete_review_modal_cancel_button": "Cancel",
|
||||
"vote_failed": "Failed to register your vote. Please try again."
|
||||
"vote_failed": "Failed to register your vote. Please try again.",
|
||||
"show_original": "Show original",
|
||||
"show_translation": "Show translation",
|
||||
"show_original_translated_from": "Show original (translated from {{language}})",
|
||||
"hide_original": "Hide original",
|
||||
"review_from_blocked_user": "Review from blocked user",
|
||||
"show": "Show",
|
||||
"hide": "Hide"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Activate Hydra",
|
||||
@@ -396,7 +417,13 @@
|
||||
"resume_seeding": "Resume seeding",
|
||||
"options": "Manage",
|
||||
"extract": "Extract files",
|
||||
"extracting": "Extracting files…"
|
||||
"extracting": "Extracting files…",
|
||||
"delete_archive_title": "Would you like to delete {{fileName}}?",
|
||||
"delete_archive_description": "The file has been successfully extracted and it's no longer needed.",
|
||||
"yes": "Yes",
|
||||
"no": "No",
|
||||
"network": "NETWORK",
|
||||
"peak": "PEAK"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Downloads path",
|
||||
@@ -424,6 +451,9 @@
|
||||
"validate_download_source": "Validate",
|
||||
"remove_download_source": "Remove",
|
||||
"add_download_source": "Add source",
|
||||
"adding": "Adding…",
|
||||
"failed_add_download_source": "Failed to add download source. Please try again.",
|
||||
"download_source_already_exists": "This download source URL already exists.",
|
||||
"download_count_zero": "No download options",
|
||||
"download_count_one": "{{countFormatted}} download option",
|
||||
"download_count_other": "{{countFormatted}} download options",
|
||||
@@ -431,9 +461,16 @@
|
||||
"add_download_source_description": "Insert the URL of the .json file",
|
||||
"download_source_up_to_date": "Up-to-date",
|
||||
"download_source_errored": "Errored",
|
||||
"download_source_pending_matching": "Updating soon",
|
||||
"download_source_matched": "Up to date",
|
||||
"download_source_matching": "Updating",
|
||||
"download_source_failed": "Error",
|
||||
"download_source_no_information": "No information available",
|
||||
"sync_download_sources": "Sync sources",
|
||||
"removed_download_source": "Download source removed",
|
||||
"removed_download_sources": "Download sources removed",
|
||||
"removed_all_download_sources": "All download sources removed",
|
||||
"download_sources_synced_successfully": "All download sources are synced",
|
||||
"cancel_button_confirmation_delete_all_sources": "No",
|
||||
"confirm_button_confirmation_delete_all_sources": "Yes, delete everything",
|
||||
"title_confirmation_delete_all_sources": "Delete all download sources",
|
||||
@@ -464,6 +501,7 @@
|
||||
"seed_after_download_complete": "Seed after download complete",
|
||||
"show_hidden_achievement_description": "Show hidden achievements description before unlocking them",
|
||||
"account": "Account",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"no_users_blocked": "You have no blocked users",
|
||||
"subscription_active_until": "Your Hydra Cloud is active until {{date}}",
|
||||
"manage_subscription": "Manage subscription",
|
||||
@@ -521,6 +559,7 @@
|
||||
"show_download_speed_in_megabytes": "Show download speed in megabytes per second",
|
||||
"extract_files_by_default": "Extract files by default after download",
|
||||
"enable_steam_achievements": "Enable search for Steam achievements",
|
||||
"enable_new_download_options_badges": "Show new download options badges",
|
||||
"achievement_custom_notification_position": "Achievement custom notification position",
|
||||
"top-left": "Top left",
|
||||
"top-center": "Top center",
|
||||
@@ -536,8 +575,19 @@
|
||||
"platinum": "Platinum",
|
||||
"hidden": "Hidden",
|
||||
"test_notification": "Test notification",
|
||||
"achievement_sound_volume": "Achievement sound volume",
|
||||
"select_achievement_sound": "Select achievement sound",
|
||||
"change_achievement_sound": "Change achievement sound",
|
||||
"remove_achievement_sound": "Remove achievement sound",
|
||||
"preview_sound": "Preview sound",
|
||||
"select": "Select",
|
||||
"preview": "Preview",
|
||||
"remove": "Remove",
|
||||
"no_sound_file_selected": "No sound file selected",
|
||||
"notification_preview": "Achievement Notification Preview",
|
||||
"enable_friend_start_game_notifications": "When a friend starts playing a game"
|
||||
"enable_friend_start_game_notifications": "When a friend starts playing a game",
|
||||
"autoplay_trailers_on_game_page": "Automatically start playing trailers on game page",
|
||||
"hide_to_tray_on_game_start": "Hide Hydra to tray on game startup"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Download complete",
|
||||
@@ -614,6 +664,7 @@
|
||||
"sending": "Sending",
|
||||
"friend_request_sent": "Friend request sent",
|
||||
"friends": "Friends",
|
||||
"badges": "Badges",
|
||||
"friends_list": "Friends list",
|
||||
"user_not_found": "User not found",
|
||||
"block_user": "Block user",
|
||||
@@ -624,12 +675,16 @@
|
||||
"ignore_request": "Ignore request",
|
||||
"cancel_request": "Cancel request",
|
||||
"undo_friendship": "Undo friendship",
|
||||
"friendship_removed": "Friend removed",
|
||||
"request_accepted": "Request accepted",
|
||||
"user_blocked_successfully": "User blocked successfully",
|
||||
"user_block_modal_text": "This will block {{displayName}}",
|
||||
"blocked_users": "Blocked users",
|
||||
"unblock": "Unblock",
|
||||
"no_friends_added": "You have no added friends",
|
||||
"view_all": "View all",
|
||||
"load_more": "Load more",
|
||||
"loading": "Loading",
|
||||
"pending": "Pending",
|
||||
"no_pending_invites": "You have no pending invites",
|
||||
"no_blocked_users": "You have no blocked users",
|
||||
@@ -653,6 +708,7 @@
|
||||
"report_reason_other": "Other",
|
||||
"profile_reported": "Profile reported",
|
||||
"your_friend_code": "Your friend code:",
|
||||
"copy_friend_code": "Copy friend code",
|
||||
"upload_banner": "Upload banner",
|
||||
"uploading_banner": "Uploading banner…",
|
||||
"background_image_updated": "Background image updated",
|
||||
@@ -672,7 +728,34 @@
|
||||
"game_added_to_pinned": "Game added to pinned",
|
||||
"karma": "Karma",
|
||||
"karma_count": "karma",
|
||||
"karma_description": "Earned from positive likes on reviews"
|
||||
"karma_description": "Earned from positive likes on reviews",
|
||||
"user_reviews": "Reviews",
|
||||
"delete_review": "Delete Review",
|
||||
"loading_reviews": "Loading reviews...",
|
||||
"wrapped_2025": "Wrapped 2025",
|
||||
"view_my_wrapped_button": "View My Wrapped 2025",
|
||||
"view_wrapped_button": "View {{displayName}}'s Wrapped 2025"
|
||||
},
|
||||
"library": {
|
||||
"library": "Library",
|
||||
"play": "Play",
|
||||
"download": "Download",
|
||||
"downloading": "Downloading",
|
||||
"game": "game",
|
||||
"games": "games",
|
||||
"grid_view": "Grid view",
|
||||
"compact_view": "Compact view",
|
||||
"large_view": "Large view",
|
||||
"no_games_title": "Your library is empty",
|
||||
"no_games_description": "Add games from the catalogue or download them to get started",
|
||||
"amount_hours": "{{amount}} hours",
|
||||
"amount_minutes": "{{amount}} minutes",
|
||||
"amount_hours_short": "{{amount}}h",
|
||||
"amount_minutes_short": "{{amount}}m",
|
||||
"manual_playtime_tooltip": "This playtime has been manually updated",
|
||||
"all_games": "All Games",
|
||||
"recently_played": "Recently Played",
|
||||
"favorites": "Favorites"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Achievement unlocked",
|
||||
@@ -702,5 +785,41 @@
|
||||
"hydra_cloud_feature_found": "You've just discovered a Hydra Cloud feature!",
|
||||
"learn_more": "Learn More",
|
||||
"debrid_description": "Download up to 4x faster with Nimbus"
|
||||
},
|
||||
"notifications_page": {
|
||||
"title": "Notifications",
|
||||
"mark_all_as_read": "Mark all as read",
|
||||
"clear_all": "Clear All",
|
||||
"loading": "Loading...",
|
||||
"empty_title": "No notifications",
|
||||
"empty_description": "You're all caught up! Check back later for new updates.",
|
||||
"empty_filter_description": "No notifications match this filter.",
|
||||
"filter_all": "All",
|
||||
"filter_unread": "Unread",
|
||||
"filter_friends": "Friends",
|
||||
"filter_badges": "Badges",
|
||||
"filter_upvotes": "Upvotes",
|
||||
"filter_local": "Local",
|
||||
"load_more": "Load more",
|
||||
"dismiss": "Dismiss",
|
||||
"accept": "Accept",
|
||||
"refuse": "Refuse",
|
||||
"notification": "Notification",
|
||||
"friend_request_received_title": "New friend request!",
|
||||
"friend_request_received_description": "{{displayName}} wants to be your friend",
|
||||
"friend_request_accepted_title": "Friend request accepted!",
|
||||
"friend_request_accepted_description": "{{displayName}} accepted your friend request",
|
||||
"badge_received_title": "You got a new badge!",
|
||||
"badge_received_description": "{{badgeName}}",
|
||||
"review_upvote_title": "Your review for {{gameTitle}} got upvotes!",
|
||||
"review_upvote_description": "Your review received {{count}} new upvotes",
|
||||
"marked_all_as_read": "All notifications marked as read",
|
||||
"failed_to_mark_as_read": "Failed to mark notifications as read",
|
||||
"cleared_all": "All notifications cleared",
|
||||
"failed_to_clear": "Failed to clear notifications",
|
||||
"failed_to_load": "Failed to load notifications",
|
||||
"failed_to_dismiss": "Failed to dismiss notification",
|
||||
"friend_request_accepted": "Friend request accepted",
|
||||
"friend_request_refused": "Friend request refused"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Catálogo",
|
||||
"library": "Librería",
|
||||
"downloads": "Descargas",
|
||||
"settings": "Ajustes",
|
||||
"my_library": "Mi Librería",
|
||||
@@ -70,12 +71,38 @@
|
||||
"edit_game_modal_icon_resolution": "Resolución recomendada: 256x256px",
|
||||
"edit_game_modal_logo_resolution": "Resolución recomendada: 640x360px",
|
||||
"edit_game_modal_hero_resolution": "Resolución recomendada: 1920x620px",
|
||||
"cancel": "Cancelar",
|
||||
"confirm": "Confirmar",
|
||||
"decky_plugin_installation_error": "Error instalando plugin Decky: {{error}}",
|
||||
"decky_plugin_installation_failed": "Falló instalar plugin Decky: {{error}}",
|
||||
"decky_plugin_installed": "Plugin Decky v{{version}} instalanda exitosamente",
|
||||
"decky_plugin_installed_version": "Plugin Decky (v{{version}})",
|
||||
"edit_game_modal_drop_hero_image_here": "Soltá la imagen hero acá",
|
||||
"edit_game_modal_drop_icon_image_here": "Soltá la imagen de ícono hero acá",
|
||||
"edit_game_modal_drop_logo_image_here": "Soltá la imagen de logo hero acá",
|
||||
"edit_game_modal_drop_to_replace_hero": "Soltá para reemplazar hero",
|
||||
"edit_game_modal_drop_to_replace_icon": "Soltá para reemplazar el ícono",
|
||||
"edit_game_modal_drop_to_replace_logo": "Soltá para reemplazar el logo",
|
||||
"install_decky_plugin": "Instalar plugin Decky",
|
||||
"install_decky_plugin_message": "Esto va a descargar e instalar el plugin de Decky Loader para Hydra. Esto quizás requierea permisos elevados, ¿querés continuar?",
|
||||
"install_decky_plugin_title": "Instarlar el plugin Decky Hydra",
|
||||
"update_decky_plugin": "Actualizar plugin Decky",
|
||||
"update_decky_plugin_message": "Una nueva versión del plugin Decky para Hydra está disponible. ¿Querés actualizarlo ahora?",
|
||||
"update_decky_plugin_title": "Actualizar plugin Decky para Hydra",
|
||||
"edit_game_modal_assets": "Recursos"
|
||||
},
|
||||
"header": {
|
||||
"search": "Buscar juegos",
|
||||
"search_library": "Buscar en la librería",
|
||||
"recent_searches": "Búsquedas Recientes",
|
||||
"suggestions": "Sugerencias",
|
||||
"clear_history": "Limpiar",
|
||||
"remove_from_history": "Eliminar del historial",
|
||||
"loading": "Cargando...",
|
||||
"no_results": "Sin resultados",
|
||||
"home": "Inicio",
|
||||
"catalogue": "Catálogo",
|
||||
"library": "Librería",
|
||||
"downloads": "Descargas",
|
||||
"search_results": "Resultados de búsqueda",
|
||||
"settings": "Ajustes",
|
||||
@@ -174,6 +201,7 @@
|
||||
"download_in_progress": "Descarga en progreso",
|
||||
"download_paused": "Descarga pausada",
|
||||
"last_downloaded_option": "Última opción de descarga",
|
||||
"new_download_option": "Nuevo",
|
||||
"create_steam_shortcut": "Crear atajo de Steam",
|
||||
"create_shortcut_success": "Atajo creado con éxito",
|
||||
"you_might_need_to_restart_steam": "Probablemente necesités reiniciar Steam para ver cambios",
|
||||
@@ -285,9 +313,69 @@
|
||||
"keyshop_price": "Precio de tiendas de terceros",
|
||||
"historical_retail": "Precio de tiendas",
|
||||
"historical_keyshop": "Precio de tiendas de terceros",
|
||||
"add_to_favorites": "Añadir a favoritos",
|
||||
"be_first_to_review": "¡Sé la primera persona en compartir lo que pensas de este juego!",
|
||||
"create_shortcut_simple": "Crear atajo",
|
||||
"delete_review": "Eliminar reseña",
|
||||
"delete_review_modal_cancel_button": "Cancelar",
|
||||
"delete_review_modal_delete_button": "Eliminar",
|
||||
"delete_review_modal_description": "Esta acción no se puede deshacer.",
|
||||
"delete_review_modal_title": "¿De verdad querés eliminar esta reseña?",
|
||||
"failed_remove_files": "Error al eliminar los archivos",
|
||||
"failed_remove_from_library": "Error al eliminar de la librería",
|
||||
"failed_update_favorites": "Error al actualizar favoritos",
|
||||
"files_removed_success": "Archivos eliminados correctamente",
|
||||
"filter_by_source": "Filtrar por fuente",
|
||||
"game_removed_from_library": "Juego eliminado de la librería",
|
||||
"hide_original": "Ocultar original",
|
||||
"leave_a_review": "Crear una reseña",
|
||||
"load_more_reviews": "Cargar más reseñas",
|
||||
"loading_more_reviews": "Cargando más reseñas...",
|
||||
"loading_reviews": "Cargando reseñas...",
|
||||
"maybe_later": "Tal vez después",
|
||||
"no_repacks_found": "Sin fuentes encontradas para este juego",
|
||||
"no_reviews_yet": "Sin reseñas aún",
|
||||
"review_played_for": "Jugado por",
|
||||
"properties": "Propiedades",
|
||||
"rating": "Calificación",
|
||||
"rating_count": "Calificación",
|
||||
"rating_negative": "Negativa",
|
||||
"rating_neutral": "Neutral",
|
||||
"rating_positive": "Positiva",
|
||||
"rating_stats": "Calificación",
|
||||
"rating_very_negative": "Muy Negativa",
|
||||
"rating_very_positive": "Muy Positiva",
|
||||
"remove_from_favorites": "Eliminar de favoritos",
|
||||
"remove_review": "Eliminar reseña",
|
||||
"review_cannot_be_empty": "El campo de la reseña no puede estar vacío.",
|
||||
"review_deleted_successfully": "Reseña eliminada exitosamente.",
|
||||
"review_deletion_failed": "Error al eliminar reseña. Por favor intentá de nuevo.",
|
||||
"review_submission_failed": "Error al subir reseña. Por favor intentá de nuevo.",
|
||||
"review_submitted_successfully": "¡Reseña eliminada exitosamente!",
|
||||
"reviews": "Reseñas",
|
||||
"show_less": "Ver menos",
|
||||
"show_more": "Ver más",
|
||||
"show_original": "Ver original",
|
||||
"show_original_translated_from": "Ver original (traducido del {{language}})",
|
||||
"show_translation": "Ver traducción",
|
||||
"sort_highest_score": "Puntuación más alta",
|
||||
"sort_lowest_score": "Puntuación más baja",
|
||||
"sort_most_voted": "Más votads",
|
||||
"sort_newest": "Más nuevos",
|
||||
"sort_oldest": "Más viejos",
|
||||
"submit_review": "Enviar",
|
||||
"submitting": "Subiendo...",
|
||||
"vote_failed": "Error al registrar tu voto. Por favor intentá de nuevo.",
|
||||
"would_you_recommend_this_game": "¿Querés escribir una reseña para este juego?",
|
||||
"write_review_placeholder": "Compartí tus pensamientos sobre este juego...",
|
||||
"yes": "Si",
|
||||
"you_seemed_to_enjoy_this_game": "Parece que has disfrutado de este juego",
|
||||
"language": "Idioma",
|
||||
"caption": "Subtítulo",
|
||||
"audio": "Audio"
|
||||
"audio": "Audio",
|
||||
"review_from_blocked_user": "Reseña de usuario bloqueado",
|
||||
"show": "Mostrar",
|
||||
"hide": "Ocultar"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Activar Hydra",
|
||||
@@ -345,7 +433,7 @@
|
||||
"enable_real_debrid": "Habilitar Real-Debrid",
|
||||
"real_debrid_description": "Real-Debrid es un descargador que te permite descargar archivos más rápidos, solo límitado por la velocidad de tu internet.",
|
||||
"debrid_invalid_token": "Token API inválido",
|
||||
"debrid_api_token_hint": "Podés obtener la el token de tu API <0>acá</0>",
|
||||
"debrid_api_token_hint": "Podés obtener el token de tu API <0>acá</0>",
|
||||
"real_debrid_free_account_error": "La cuenta \"{{username}}\" es una cuenta gratis. Por favor suscribíte a Real-Debrid",
|
||||
"debrid_linked_message": "Cuenta \"{{username}}\" vinculada",
|
||||
"save_changes": "Guardar cambios",
|
||||
@@ -357,7 +445,7 @@
|
||||
"download_count_zero": "Sin opciones de descarga",
|
||||
"download_count_one": "{{countFormatted}} opción de descarga",
|
||||
"download_count_other": "{{countFormatted}} opciones de descarga",
|
||||
"download_source_url": "Descargar fuente URL",
|
||||
"download_source_url": "Añadir URL de una fuente",
|
||||
"add_download_source_description": "Introducí la URL del archivo .json",
|
||||
"download_source_up_to_date": "Actualizado",
|
||||
"download_source_errored": "Error",
|
||||
@@ -370,6 +458,7 @@
|
||||
"description_confirmation_delete_all_sources": "Vas a eliminar todas las fuentes de descargas",
|
||||
"button_delete_all_sources": "Eliminar todo",
|
||||
"added_download_source": "Añadir fuente de descarga",
|
||||
"adding": "Añadiendo…",
|
||||
"download_sources_synced": "Todas las fuentes de descarga están sincronizadas",
|
||||
"insert_valid_json_url": "Introducí una URL de json válida",
|
||||
"found_download_option_zero": "Sin opciones de descargas encontrada",
|
||||
@@ -409,7 +498,7 @@
|
||||
"subscription_renew_cancelled": "Renovación automática desactivada",
|
||||
"subscription_renews_on": "Tu suscripción se renueva el {{date}}",
|
||||
"bill_sent_until": "Tu próxima factura se enviará este día",
|
||||
"no_themes": "Parece que no tenés ningún tema aún, pero no te preocupés, presiona acá para hacer tu primera obra maestra.",
|
||||
"no_themes": "Parece que no tenés ningún tema aún, pero no te preocupes, presiona acá para hacer tu primera obra maestra.",
|
||||
"editor_tab_code": "Código",
|
||||
"editor_tab_info": "Info",
|
||||
"editor_tab_save": "Guardar",
|
||||
@@ -443,7 +532,7 @@
|
||||
"enable_friend_request_notifications": "Cuando recibís una solicitud de amistad",
|
||||
"enable_auto_install": "Descargar actualizaciones automáticamente",
|
||||
"common_redist": "Common redistributables",
|
||||
"common_redist_description": "Common redistributables son requeridos para algunos juegos. Es recomendable instalarlos para evitar algunos problemas.",
|
||||
"common_redist_description": "Los common redistributables son requeridos para algunos juegos. Es recomendable instalarlos para evitar algunos problemas.",
|
||||
"install_common_redist": "Instalar",
|
||||
"installing_common_redist": "Instalando…",
|
||||
"show_download_speed_in_megabytes": "Mostrar velocidad de descarga en megabytes por segundo",
|
||||
@@ -464,8 +553,31 @@
|
||||
"platinum": "Platino",
|
||||
"hidden": "Oculto",
|
||||
"test_notification": "Probar notificación",
|
||||
"achievement_sound_volume": "Volumen del sonido de logro",
|
||||
"select_achievement_sound": "Seleccionar sonido de logro",
|
||||
"select": "Seleccionar",
|
||||
"preview": "Vista previa",
|
||||
"remove": "Remover",
|
||||
"no_sound_file_selected": "No se seleccionó ningún archivo de sonido",
|
||||
"notification_preview": "Probar notificación de logro",
|
||||
"enable_friend_start_game_notifications": "Cuando un amigo está jugando un juego"
|
||||
"debrid": "Debrid",
|
||||
"debrid_description": "Los servicios Debrid son descargadores premium sin restricciones que te dejan descargar más rápido archivos alojados en servicios de alojamiento siendo que la única limitación es tu velocidad de internet.",
|
||||
"enable_friend_start_game_notifications": "Cuando un amigo está jugando un juego",
|
||||
"autoplay_trailers_on_game_page": "Reproducir trailers automáticamente en la página del juego",
|
||||
"change_achievement_sound": "Cambiar sonido de logro",
|
||||
"download_source_already_exists": "Esta fuente de descarga URL ya existe.",
|
||||
"download_source_failed": "Error",
|
||||
"download_source_matched": "Actualizado",
|
||||
"download_source_matching": "Actualizando",
|
||||
"download_source_no_information": "Sin información disponible",
|
||||
"download_source_pending_matching": "Actualizando pronto",
|
||||
"download_sources_synced_successfully": "Todas las fuentes de descarga están sincronizadas",
|
||||
"failed_add_download_source": "Error al añadir la fuente de descarga. Por favor intentá de nuevo.",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"preview_sound": "Vista previa de sonido",
|
||||
"remove_achievement_sound": "Eliminar sonido de logros",
|
||||
"removed_all_download_sources": "Todas las fuentes de descarga eliminadas",
|
||||
"hide_to_tray_on_game_start": "Ocultar Hydra en la bandeja al iniciar un juego"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Descarga completada",
|
||||
@@ -492,6 +604,7 @@
|
||||
"game_card": {
|
||||
"available_one": "Disponible",
|
||||
"available_other": "Disponibles",
|
||||
"calculating": "Calculando",
|
||||
"no_downloads": "Sin descargas disponibles"
|
||||
},
|
||||
"binary_not_found_modal": {
|
||||
@@ -593,7 +706,17 @@
|
||||
"error_adding_friend": "No se pudo enviar la solicitud de amistad. Por favor revisá el código",
|
||||
"friend_code_length_error": "El código de amistad debe tener mínimo 8 caracteres",
|
||||
"game_removed_from_pinned": "Juego removido de fijados",
|
||||
"game_added_to_pinned": "Juego añadido a fijados"
|
||||
"amount_hours_short": "{{amount}}h",
|
||||
"amount_minutes_short": "{{amount}}m",
|
||||
"karma": "Karma",
|
||||
"karma_count": "karma",
|
||||
"karma_description": "Conseguido por me gustas positivos en reseñas",
|
||||
"sort_by": "Filtrar por:",
|
||||
"game_added_to_pinned": "Juego añadido a fijados",
|
||||
"user_reviews": "Reseñas",
|
||||
"loading_reviews": "Cargando reseñas...",
|
||||
"no_reviews": "Sin reseñas aún",
|
||||
"delete_review": "Eliminar reseña"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Logro desbloqueado",
|
||||
@@ -623,5 +746,26 @@
|
||||
"hydra_cloud_feature_found": "¡Acabas de descubrir una característica de Hydra Cloud!",
|
||||
"learn_more": "Descubrir más",
|
||||
"debrid_description": "Descargas hasta x4 veces más rápidas con Nimbus"
|
||||
},
|
||||
"library": {
|
||||
"library": "Librería",
|
||||
"play": "Jugar",
|
||||
"download": "Descargar",
|
||||
"downloading": "Descargando",
|
||||
"game": "juego",
|
||||
"games": "juegos",
|
||||
"grid_view": "Vista de cuadrícula",
|
||||
"compact_view": "Vista compacta",
|
||||
"large_view": "Vista grande",
|
||||
"no_games_title": "Tu librería está vacía",
|
||||
"no_games_description": "Agregá juegos del catálogo o descargalos para comenzar",
|
||||
"amount_hours": "{{amount}} horas",
|
||||
"amount_minutes": "{{amount}} minutos",
|
||||
"amount_hours_short": "{{amount}}h",
|
||||
"amount_minutes_short": "{{amount}}m",
|
||||
"manual_playtime_tooltip": "Este tiempo de juego ha sido modificado manualmente",
|
||||
"all_games": "Todos los Juegos",
|
||||
"recently_played": "Jugados Recientemente",
|
||||
"favorites": "Favoritos"
|
||||
}
|
||||
}
|
||||
|
||||
708
src/locales/fi/translation.json
Normal file
708
src/locales/fi/translation.json
Normal file
@@ -0,0 +1,708 @@
|
||||
{
|
||||
"language_name": "Suomi",
|
||||
"app": {
|
||||
"successfully_signed_in": "Kirjautuminen onnistui"
|
||||
},
|
||||
"home": {
|
||||
"surprise_me": "Yllätä minut",
|
||||
"no_results": "Ei tuloksia",
|
||||
"start_typing": "Aloitan kirjoittamisen...",
|
||||
"hot": "Suosittua nyt",
|
||||
"weekly": "📅 Viikon parhaat pelit",
|
||||
"achievements": "🏆 Pelit saavutuksilla"
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Katalogi",
|
||||
"downloads": "Lataukset",
|
||||
"settings": "Asetukset",
|
||||
"my_library": "Kirjasto",
|
||||
"downloading_metadata": "{{title}} (Metatietojen lataus…)",
|
||||
"paused": "{{title}} (Keskeytetty)",
|
||||
"downloading": "{{title}} ({{percentage}} - Lataa…)",
|
||||
"filter": "Hae",
|
||||
"home": "Koti",
|
||||
"queued": "{{title}} (Jonossa)",
|
||||
"game_has_no_executable": "Pelin käynnistystiedostoa ei ole valittu",
|
||||
"sign_in": "Kirjaudu sisään",
|
||||
"friends": "Kaverit",
|
||||
"need_help": "Tarvitsetko apua?",
|
||||
"favorites": "Suosikit",
|
||||
"playable_button_title": "Näytä vain asennetut pelit.",
|
||||
"add_custom_game_tooltip": "Lisää mukautettu peli",
|
||||
"show_playable_only_tooltip": "Näytä vain pelattavissa olevat",
|
||||
"custom_game_modal": "Lisää mukautettu peli",
|
||||
"custom_game_modal_description": "Lisää mukautettu peli kirjastoon valitsemalla suoritettava tiedosto",
|
||||
"custom_game_modal_executable_path": "Suoritettavan tiedoston polku",
|
||||
"custom_game_modal_select_executable": "Valitse suoritettava tiedosto",
|
||||
"custom_game_modal_title": "Pelin nimi",
|
||||
"custom_game_modal_enter_title": "Syötä pelin nimi",
|
||||
"custom_game_modal_browse": "Selaa",
|
||||
"custom_game_modal_cancel": "Peruuta",
|
||||
"custom_game_modal_add": "Lisää peli",
|
||||
"custom_game_modal_adding": "Lisätään peliä...",
|
||||
"custom_game_modal_success": "Mukautettu peli lisätty onnistuneesti",
|
||||
"custom_game_modal_failed": "Mukautetun pelin lisääminen epäonnistui",
|
||||
"custom_game_modal_executable": "Suoritettava tiedosto",
|
||||
"edit_game_modal": "Mukauta resursseja",
|
||||
"edit_game_modal_description": "Mukauta pelin resursseja ja tietoja",
|
||||
"edit_game_modal_title": "Nimi",
|
||||
"edit_game_modal_enter_title": "Syötä nimi",
|
||||
"edit_game_modal_image": "Kuva",
|
||||
"edit_game_modal_select_image": "Valitse kuva",
|
||||
"edit_game_modal_browse": "Selaa",
|
||||
"edit_game_modal_image_preview": "Kuvan esikatselu",
|
||||
"edit_game_modal_icon": "Kuvake",
|
||||
"edit_game_modal_select_icon": "Valitse kuvake",
|
||||
"edit_game_modal_icon_preview": "Kuvakkeen esikatselu",
|
||||
"edit_game_modal_logo": "Logo",
|
||||
"edit_game_modal_select_logo": "Valitse logo",
|
||||
"edit_game_modal_logo_preview": "Logon esikatselu",
|
||||
"edit_game_modal_hero": "Pelin kansikuva",
|
||||
"edit_game_modal_select_hero": "Valitse pelin kansikuva",
|
||||
"edit_game_modal_hero_preview": "Kansikuvan esikatselu",
|
||||
"edit_game_modal_cancel": "Peruuta",
|
||||
"edit_game_modal_update": "Päivitä",
|
||||
"edit_game_modal_updating": "Päivitetään...",
|
||||
"edit_game_modal_fill_required": "Täytä kaikki pakolliset kentät",
|
||||
"edit_game_modal_success": "Resurssit päivitetty onnistuneesti",
|
||||
"edit_game_modal_failed": "Resurssien päivitys epäonnistui",
|
||||
"edit_game_modal_image_filter": "Kuva",
|
||||
"edit_game_modal_icon_resolution": "Suositeltu resoluutio: 256x256px",
|
||||
"edit_game_modal_logo_resolution": "Suositeltu resoluutio: 640x360px",
|
||||
"edit_game_modal_hero_resolution": "Suositeltu resoluutio: 1920x620px",
|
||||
"edit_game_modal_assets": "Resurssit",
|
||||
"edit_game_modal_drop_icon_image_here": "Pudota kuvakkeen kuva tähän",
|
||||
"edit_game_modal_drop_logo_image_here": "Pudota logon kuva tähän",
|
||||
"edit_game_modal_drop_hero_image_here": "Pudota kansikuvan kuva tähän",
|
||||
"edit_game_modal_drop_to_replace_icon": "Pudota korvataksesi kuvake",
|
||||
"edit_game_modal_drop_to_replace_logo": "Pudota korvataksesi logo",
|
||||
"edit_game_modal_drop_to_replace_hero": "Pudota korvataksesi kansikuva",
|
||||
"install_decky_plugin": "Asenna Decky-lisäosa",
|
||||
"update_decky_plugin": "Päivitä Decky-lisäosa",
|
||||
"decky_plugin_installed_version": "Decky-lisäosa (v{{version}})",
|
||||
"install_decky_plugin_title": "Asenna Hydra Decky -lisäosa",
|
||||
"install_decky_plugin_message": "Tämä lataa ja asentaa Hydra-lisäosan Decky Loaderiin. Saattaa vaatia korotetut oikeudet. Jatketaanko?",
|
||||
"update_decky_plugin_title": "Päivitä Hydra Decky -lisäosa",
|
||||
"update_decky_plugin_message": "Uusi Hydra Decky -lisäosan versio on saatavilla. Haluatko päivittää sen nyt?",
|
||||
"decky_plugin_installed": "Decky-lisäosa v{{version}} asennettu onnistuneesti",
|
||||
"decky_plugin_installation_failed": "Decky-lisäosan asennus epäonnistui: {{error}}",
|
||||
"decky_plugin_installation_error": "Decky-lisäosan asennusvirhe: {{error}}",
|
||||
"confirm": "Vahvista",
|
||||
"cancel": "Peruuta"
|
||||
},
|
||||
"header": {
|
||||
"search": "Hae",
|
||||
"home": "Koti",
|
||||
"catalogue": "Katalogi",
|
||||
"downloads": "Lataukset",
|
||||
"search_results": "Hakutulokset",
|
||||
"settings": "Asetukset",
|
||||
"version_available_install": "Versio {{version}} saatavilla. Asentaaksesi napsauta tästä.",
|
||||
"version_available_download": "Versio {{version}} saatavilla. Ladataaksesi napsauta tästä."
|
||||
},
|
||||
"bottom_panel": {
|
||||
"no_downloads_in_progress": "Ei meneillään olevia latauksia",
|
||||
"downloading_metadata": "Ladataan metatietoja {{title}}…",
|
||||
"downloading": "Ladataan {{title}}… ({{percentage}} valmis) - Lopetus {{eta}} - {{speed}}",
|
||||
"calculating_eta": "Ladataan {{title}}… ({{percentage}} valmis) - Lasketaan jäljellä olevaa aikaa…",
|
||||
"checking_files": "Tarkistetaan tiedostoja {{title}}… ({{percentage}} valmis)",
|
||||
"installing_common_redist": "{{log}}…",
|
||||
"installation_complete": "Asennus valmis",
|
||||
"installation_complete_message": "Kirjastot asennettu onnistuneesti"
|
||||
},
|
||||
"catalogue": {
|
||||
"search": "Suodatin…",
|
||||
"developers": "Kehittäjät",
|
||||
"genres": "Genret",
|
||||
"tags": "Tagit",
|
||||
"publishers": "Julkaisijat",
|
||||
"download_sources": "Latauslähteet",
|
||||
"result_count": "{{resultCount}} tulosta",
|
||||
"filter_count": "{{filterCount}} saatavilla",
|
||||
"clear_filters": "Tyhjennä {{filterCount}} valittua"
|
||||
},
|
||||
"game_details": {
|
||||
"open_download_options": "Avaa lähteet",
|
||||
"download_options_zero": "Ei lähteitä",
|
||||
"download_options_one": "{{count}} lähde",
|
||||
"download_options_other": "{{count}} lähdettä",
|
||||
"updated_at": "Päivitetty {{updated_at}}",
|
||||
"install": "Asenna",
|
||||
"resume": "Jatka",
|
||||
"pause": "Keskeytä",
|
||||
"cancel": "Peruuta",
|
||||
"remove": "Poista",
|
||||
"space_left_on_disk": "{{space}} vapaana levyltä",
|
||||
"eta": "Lopetus {{eta}}",
|
||||
"calculating_eta": "Lasketaan jäljellä olevaa aikaa…",
|
||||
"downloading_metadata": "Ladataan metatietoja…",
|
||||
"filter": "Hae repackeja",
|
||||
"requirements": "Järjestelmävaatimukset",
|
||||
"minimum": "Minimi",
|
||||
"recommended": "Suositeltu",
|
||||
"paused": "Keskeytetty",
|
||||
"release_date": "Julkaistu {{date}}",
|
||||
"publisher": "Julkaisija {{publisher}}",
|
||||
"hours": "tuntia",
|
||||
"minutes": "minuuttia",
|
||||
"amount_hours": "{{amount}} tuntia",
|
||||
"amount_minutes": "{{amount}} minuuttia",
|
||||
"accuracy": "tarkkuus {{accuracy}}%",
|
||||
"add_to_library": "Lisää kirjastoon",
|
||||
"already_in_library": "Jo kirjastossa",
|
||||
"remove_from_library": "Poista kirjastosta",
|
||||
"no_downloads": "Ei saatavilla olevia lähteitä",
|
||||
"play_time": "Pelattu {{amount}}",
|
||||
"last_time_played": "Viimeksi pelattu {{period}}",
|
||||
"not_played_yet": "Et ole vielä pelannut {{title}}",
|
||||
"next_suggestion": "Seuraava ehdotus",
|
||||
"play": "Pelaa",
|
||||
"deleting": "Poistetaan asennustiedostoa…",
|
||||
"close": "Sulje",
|
||||
"playing_now": "Käynnissä",
|
||||
"change": "Vaihda",
|
||||
"repacks_modal_description": "Valitse repack ladattavaksi",
|
||||
"select_folder_hint": "Vaihtaaksesi oletuslatauskansiota, avaa <0>Asetukset</0>",
|
||||
"download_now": "Lataa nyt",
|
||||
"no_shop_details": "Kuvausta ei saatu",
|
||||
"download_options": "Lähteet",
|
||||
"download_path": "Latauspolku",
|
||||
"previous_screenshot": "Edellinen kuvakaappaus",
|
||||
"next_screenshot": "Seuraava kuvakaappaus",
|
||||
"screenshot": "Kuvakaappaus {{number}}",
|
||||
"open_screenshot": "Avaa kuvakaappaus {{number}}",
|
||||
"download_settings": "Latausasetukset",
|
||||
"downloader": "Lataaja",
|
||||
"select_executable": "Valitse",
|
||||
"no_executable_selected": "Tiedostoa ei valittu",
|
||||
"open_folder": "Avaa kansio",
|
||||
"open_download_location": "Selaa latauskansio",
|
||||
"create_shortcut": "Luo työpöydän pikakuvake",
|
||||
"create_shortcut_simple": "Luo pikakuvake",
|
||||
"clear": "Tyhjennä",
|
||||
"remove_files": "Poista tiedostot",
|
||||
"remove_from_library_title": "Oletko varma?",
|
||||
"remove_from_library_description": "{{game}} poistetaan kirjastostasi.",
|
||||
"options": "Asetukset",
|
||||
"properties": "Ominaisuudet",
|
||||
"executable_section_title": "Tiedosto",
|
||||
"executable_section_description": "Polku tiedostoon, joka käynnistetään kun painat \"Pelaa\"",
|
||||
"downloads_section_title": "Lataukset",
|
||||
"downloads_section_description": "Tarkista päivitysten tai muiden peliversioiden saatavuus",
|
||||
"danger_zone_section_title": "Vaaravyöhyke",
|
||||
"danger_zone_section_description": "Voit poistaa tämän pelin kirjastostasi tai Hydrasta ladatut tiedostot",
|
||||
"download_in_progress": "Lataus käynnissä",
|
||||
"download_paused": "Lataus keskeytetty",
|
||||
"last_downloaded_option": "Viimeisin latausvaihtoehto",
|
||||
"create_steam_shortcut": "Luo Steam-pikakuvake",
|
||||
"create_shortcut_success": "Pikakuvake luotu",
|
||||
"you_might_need_to_restart_steam": "Saattaa olla, että sinun on käynnistettävä Steam uudelleen nähdäksesi muutokset",
|
||||
"create_shortcut_error": "Pikakuvakkeen luonti epäonnistui",
|
||||
"add_to_favorites": "Lisää suosikkeihin",
|
||||
"remove_from_favorites": "Poista suosikeista",
|
||||
"failed_update_favorites": "Suosikkien päivitys epäonnistui",
|
||||
"game_removed_from_library": "Peli poistettu kirjastosta",
|
||||
"failed_remove_from_library": "Poistaminen kirjastosta epäonnistui",
|
||||
"files_removed_success": "Tiedostot poistettu onnistuneesti",
|
||||
"failed_remove_files": "Tiedostojen poisto epäonnistui",
|
||||
"nsfw_content_title": "Tämä peli sisältää sopimatonta sisältöä",
|
||||
"nsfw_content_description": "{{title}} sisältää sisältöä, joka ei välttämättä sovellu kaikenikäisille. \nOletko varma, että haluat jatkaa?",
|
||||
"allow_nsfw_content": "Jatka",
|
||||
"refuse_nsfw_content": "Takaisin",
|
||||
"stats": "Tilastot",
|
||||
"download_count": "Lataukset",
|
||||
"player_count": "Aktiiviset pelaajat",
|
||||
"download_error": "Tämä latausvaihtoehto ei ole saatavilla",
|
||||
"download": "Lataa",
|
||||
"executable_path_in_use": "Suoritettavaa tiedostoa käyttää jo \"{{game}}\"",
|
||||
"warning": "Varoitus:",
|
||||
"hydra_needs_to_remain_open": "Tämän latauksen aikana Hydran on pysyttävä auki, kunnes se on valmis. Jos Hydra sulkeutuu ennen valmistumista, menetät edistymisen.",
|
||||
"achievements": "Saavutukset",
|
||||
"achievements_count": "Saavutukset {{unlockedCount}}/{{achievementsCount}}",
|
||||
"show_more": "Näytä enemmän",
|
||||
"show_less": "Näytä vähemmän",
|
||||
"reviews": "Arvostelut",
|
||||
"leave_a_review": "Jätä arvostelu",
|
||||
"write_review_placeholder": "Jaa ajatuksesi tästä pelistä...",
|
||||
"sort_newest": "Uusimmat ensin",
|
||||
"no_reviews_yet": "Ei vielä arvosteluja",
|
||||
"be_first_to_review": "Ole ensimmäinen, joka jakaa ajatuksensa tästä pelistä!",
|
||||
"sort_oldest": "Vanhimmat ensin",
|
||||
"sort_highest_score": "Korkein pistemäärä",
|
||||
"sort_lowest_score": "Matalin pistemäärä",
|
||||
"sort_most_voted": "Eniten äänestetyt",
|
||||
"rating": "Arvio",
|
||||
"rating_stats": "Arvio",
|
||||
"rating_very_negative": "Erittäin negatiivinen",
|
||||
"rating_negative": "Negatiivinen",
|
||||
"rating_neutral": "Neutraali",
|
||||
"rating_positive": "Positiivinen",
|
||||
"rating_very_positive": "Erittäin positiivinen",
|
||||
"submit_review": "Lähetä",
|
||||
"submitting": "Lähetetään...",
|
||||
"review_submitted_successfully": "Arvostelu lähetetty onnistuneesti!",
|
||||
"review_submission_failed": "Arvostelun lähettäminen epäonnistui. Yritä uudelleen.",
|
||||
"review_cannot_be_empty": "Arvostelun tekstikenttä ei voi olla tyhjä.",
|
||||
"review_deleted_successfully": "Arvostelu poistettu onnistuneesti.",
|
||||
"review_deletion_failed": "Arvostelun poisto epäonnistui. Yritä uudelleen.",
|
||||
"loading_reviews": "Ladataan arvosteluja...",
|
||||
"loading_more_reviews": "Ladataan lisää arvosteluja...",
|
||||
"load_more_reviews": "Lataa lisää arvosteluja",
|
||||
"you_seemed_to_enjoy_this_game": "Näyttää siltä, että nautit tästä pelistä",
|
||||
"would_you_recommend_this_game": "Haluatko jättää arvion tästä pelistä?",
|
||||
"yes": "Kyllä",
|
||||
"maybe_later": "Ehkä myöhemmin",
|
||||
"rating_count": "Arvio",
|
||||
"delete_review": "Poista arvostelu",
|
||||
"remove_review": "Poista arvostelu",
|
||||
"delete_review_modal_title": "Haluatko varmasti poistaa arvostelusi?",
|
||||
"delete_review_modal_description": "Tätä toimintoa ei voi peruuttaa.",
|
||||
"delete_review_modal_delete_button": "Poista",
|
||||
"delete_review_modal_cancel_button": "Peruuta",
|
||||
"show_original": "Näytä alkuperäinen",
|
||||
"show_translation": "Näytä käännös",
|
||||
"show_original_translated_from": "Näytä alkuperäinen (käännös kielestä {{language}})",
|
||||
"hide_original": "Piilota alkuperäinen",
|
||||
"cloud_save": "Pilvitallennus",
|
||||
"cloud_save_description": "Tallenna edistymisesi pilveen ja jatka pelaamista millä tahansa laitteella",
|
||||
"backups": "Varmuuskopiot",
|
||||
"install_backup": "Asenna",
|
||||
"delete_backup": "Poista",
|
||||
"create_backup": "Luo uusi varmuuskopio",
|
||||
"last_backup_date": "Viimeisin varmuuskopio {{date}}",
|
||||
"no_backup_preview": "Tallennuksia ei löytynyt tälle otsikolle",
|
||||
"restoring_backup": "Palautetaan varmuuskopiota ({{progress}} valmis)…",
|
||||
"uploading_backup": "Ladataan varmuuskopiota…",
|
||||
"no_backups": "Et ole vielä luonut varmuuskopioita tästä pelistä",
|
||||
"backup_uploaded": "Varmuuskopio ladattu",
|
||||
"backup_failed": "Varmuuskopiointi epäonnistui",
|
||||
"backup_deleted": "Varmuuskopio poistettu",
|
||||
"backup_restored": "Varmuuskopio palautettu",
|
||||
"see_all_achievements": "Näytä kaikki saavutukset",
|
||||
"sign_in_to_see_achievements": "Kirjaudu sisään nähdäksesi saavutukset",
|
||||
"mapping_method_automatic": "Automaattinen",
|
||||
"mapping_method_manual": "Manuaalinen",
|
||||
"mapping_method_label": "Kartoitusmenetelmä",
|
||||
"files_automatically_mapped": "Tiedostot kartoitetu automaattisesti",
|
||||
"no_backups_created": "Tälle pelille ei ole luotu varmuuskopioita",
|
||||
"manage_files": "Hallitse tiedostoja",
|
||||
"loading_save_preview": "Etsitään tallennuksia…",
|
||||
"wine_prefix": "Wine-etuliite",
|
||||
"wine_prefix_description": "Tässä pelissä käytettävä Wine-etuliite",
|
||||
"launch_options": "Käynnistysvalinnat",
|
||||
"launch_options_description": "Edistyneet käyttäjät voivat tehdä muutoksia käynnistysvalintoihin",
|
||||
"launch_options_placeholder": "Valintaa ei määritetty",
|
||||
"no_download_option_info": "Tietoja ei saatavilla",
|
||||
"backup_deletion_failed": "Varmuuskopion poisto epäonnistui",
|
||||
"max_number_of_artifacts_reached": "Tämän pelin enimmäismäärä varmuuskopioita saavutettu",
|
||||
"achievements_not_sync": "Saavutuksesi eivät ole synkronoidut",
|
||||
"manage_files_description": "Hallitse tallennettavia ja palautettavia tiedostoja",
|
||||
"select_folder": "Valitse kansio",
|
||||
"backup_from": "Varmuuskopio {{date}}",
|
||||
"automatic_backup_from": "Automaattinen varmuuskopio {{date}}",
|
||||
"enable_automatic_cloud_sync": "Ota automaattinen pilvisynkronointi käyttöön",
|
||||
"custom_backup_location_set": "Mukautettu varmuuskopiosijainti asetettu",
|
||||
"no_directory_selected": "Hakemistoa ei valittu",
|
||||
"no_write_permission": "Ei voi ladata tähän hakemistoon. Napsauta tästä saadaksesi lisätietoja.",
|
||||
"reset_achievements": "Nollaa saavutukset",
|
||||
"reset_achievements_description": "Tämä nollaa kaikki saavutukset pelille {{game}}",
|
||||
"reset_achievements_title": "Oletko varma?",
|
||||
"reset_achievements_success": "Saavutukset nollattu onnistuneesti",
|
||||
"reset_achievements_error": "Saavutusten nollaus epäonnistui",
|
||||
"download_error_gofile_quota_exceeded": "Olet ylittänyt Gofilen kuukausikiintiön. Odota, kunnes kiintiö palautuu.",
|
||||
"download_error_real_debrid_account_not_authorized": "Real-Debrid -tilisi ei ole valtuutettu suorittamaan uusia latauksia. Tarkista tilin asetukset ja yritä uudelleen.",
|
||||
"download_error_not_cached_on_real_debrid": "Tämä lataus ei ole saatavilla Real-Debridissä, eikä lataustilan hakeminen Real-Debridistä ole toistaiseksi mahdollista.",
|
||||
"update_playtime_title": "Päivitä peliaika",
|
||||
"update_playtime_description": "Päivitä pelin {{game}} peliaika manuaalisesti",
|
||||
"update_playtime": "Päivitä peliaika",
|
||||
"update_playtime_success": "Peliaika päivitetty onnistuneesti",
|
||||
"update_playtime_error": "Peliajan päivitys epäonnistui",
|
||||
"update_game_playtime": "Päivitä peliaika",
|
||||
"manual_playtime_warning": "Pelituntisi merkitään manuaalisesti päivitetyiksi. Tätä toimintoa ei voi peruuttaa.",
|
||||
"manual_playtime_tooltip": "Tämä peliaika on päivitetty manuaalisesti",
|
||||
"download_error_not_cached_on_torbox": "Tämä lataus ei ole saatavilla TorBoxissa, eikä lataustilan hakeminen TorBoxista ole toistaiseksi mahdollista.",
|
||||
"download_error_not_cached_on_hydra": "Tämä lataus ei ole saatavilla Nimbuksessa.",
|
||||
"game_removed_from_favorites": "Peli poistettu suosikeista",
|
||||
"game_added_to_favorites": "Peli lisätty suosikkeihin",
|
||||
"game_removed_from_pinned": "Peli poistettu kiinnitetyistä",
|
||||
"game_added_to_pinned": "Peli lisätty kiinnitettyihin",
|
||||
"automatically_extract_downloaded_files": "Pura ladatut tiedostot automaattisesti",
|
||||
"create_start_menu_shortcut": "Luo Käynnistä-valikon pikakuvake",
|
||||
"invalid_wine_prefix_path": "Virheellinen Wine-etuliitteen polku",
|
||||
"invalid_wine_prefix_path_description": "Wine-etuliitteen polku on virheellinen. Tarkista polku ja yritä uudelleen.",
|
||||
"missing_wine_prefix": "Wine-etuliite vaaditaan varmuuskopiointiin Linuxissa",
|
||||
"artifact_renamed": "Varmuuskopio nimettiin uudelleen onnistuneesti",
|
||||
"rename_artifact": "Nimeä varmuuskopio uudelleen",
|
||||
"rename_artifact_description": "Anna varmuuskopiolle kuvaavampi nimi.",
|
||||
"artifact_name_label": "Varmuuskopion nimi",
|
||||
"artifact_name_placeholder": "Syötä nimi varmuuskopiolle",
|
||||
"save_changes": "Tallenna muutokset",
|
||||
"required_field": "Tämä kenttä on pakollinen",
|
||||
"max_length_field": "Tämän kentän on oltava alle {{length}} merkkiä",
|
||||
"freeze_backup": "Kiinnitä, jotta sitä ei ylikirjoiteta automaattisilla varmuuskopioilla",
|
||||
"unfreeze_backup": "Poista kiinnitys",
|
||||
"backup_frozen": "Varmuuskopio kiinnitetty",
|
||||
"backup_unfrozen": "Varmuuskopion kiinnitys poistettu",
|
||||
"backup_freeze_failed": "Varmuuskopion kiinnitys epäonnistui",
|
||||
"backup_freeze_failed_description": "Sinun on jätettävä vähintään yksi paikka vapaaksi automaattisille varmuuskopioille",
|
||||
"edit_game_modal_button": "Muokkaa pelin tietoja",
|
||||
"game_details": "Pelin tiedot",
|
||||
"currency_symbol": "€",
|
||||
"currency_country": "fi",
|
||||
"prices": "Hinnat",
|
||||
"no_prices_found": "Hintoja ei löytynyt",
|
||||
"view_all_prices": "Napsauta nähdäksesi kaikki hinnat",
|
||||
"retail_price": "Vähittäishinta",
|
||||
"keyshop_price": "Keyshop-hinta",
|
||||
"historical_retail": "Historialliset vähittäishinnat",
|
||||
"historical_keyshop": "Historialliset keyshop-hinnat",
|
||||
"language": "Kieli",
|
||||
"caption": "Tekstitys",
|
||||
"audio": "Ääni",
|
||||
"filter_by_source": "Suodata lähteen mukaan",
|
||||
"no_repacks_found": "Tämän pelin lähteitä ei löytynyt"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Aktivoi Hydra",
|
||||
"installation_id": "Asennustunnus:",
|
||||
"enter_activation_code": "Syötä aktivointikoodisi",
|
||||
"message": "Jos et tiedä mistä sitä pyytää, sinun ei pitäisi sitä olla.",
|
||||
"activate": "Aktivoi",
|
||||
"loading": "Ladataan…"
|
||||
},
|
||||
"downloads": {
|
||||
"resume": "Jatka",
|
||||
"pause": "Keskeytä",
|
||||
"eta": "Lopetus {{eta}}",
|
||||
"paused": "Keskeytetty",
|
||||
"verifying": "Tarkistetaan…",
|
||||
"completed": "Valmis",
|
||||
"removed": "Ei ladattu",
|
||||
"cancel": "Peruuta",
|
||||
"filter": "Hae ladattuja pelejä",
|
||||
"remove": "Poista",
|
||||
"downloading_metadata": "Ladataan metatietoja…",
|
||||
"deleting": "Poistetaan asennustiedostoa…",
|
||||
"delete": "Poista asennustiedosto",
|
||||
"delete_modal_title": "Oletko varma?",
|
||||
"delete_modal_description": "Tämä poistaa kaikki asennustiedostot tietokoneeltasi",
|
||||
"install": "Asenna",
|
||||
"download_in_progress": "Käynnissä",
|
||||
"queued_downloads": "Jonossa olevat lataukset",
|
||||
"downloads_completed": "Valmiit",
|
||||
"queued": "Jonossa",
|
||||
"no_downloads_title": "Täällä on niin tyhjää...",
|
||||
"no_downloads_description": "Et ole vielä ladannut mitään Hydran kautta, mutta ei ole koskaan liian myöhäistä aloittaa.",
|
||||
"checking_files": "Tarkistetaan tiedostoja…",
|
||||
"seeding": "Jakaminen",
|
||||
"stop_seeding": "Lopeta jakaminen",
|
||||
"resume_seeding": "Jatka jakamista",
|
||||
"options": "Hallinnoi",
|
||||
"extract": "Pura tiedostot",
|
||||
"extracting": "Puretaan tiedostoja…"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Latausten polku",
|
||||
"change": "Vaihda",
|
||||
"notifications": "Ilmoitukset",
|
||||
"enable_download_notifications": "Latauksen valmistuessa",
|
||||
"enable_repack_list_notifications": "Kun uusi repack lisätään",
|
||||
"real_debrid_api_token_label": "Real-Debrid API-tunnus",
|
||||
"quit_app_instead_hiding": "Sovellus sulkeutuu system tray -alueelle sijasta",
|
||||
"launch_with_system": "Käynnistä Hydra järjestelmän mukana",
|
||||
"general": "Yleiset",
|
||||
"behavior": "Käyttäytyminen",
|
||||
"download_sources": "Latauslähteet",
|
||||
"language": "Kieli",
|
||||
"api_token": "API-avain",
|
||||
"enable_real_debrid": "Ota Real-Debrid käyttöön",
|
||||
"real_debrid_description": "Real-Debrid on rajoittamaton lataaja, jonka avulla voit ladata nopeasti verkossa olevia tiedostoja tai striimata ne välittömästi soittimeen yksityisen verkon kautta, joka kiertää kaikki estot.",
|
||||
"debrid_invalid_token": "Virheellinen API-avain",
|
||||
"debrid_api_token_hint": "API-avain voidaan hankkia <0>täältä</0>",
|
||||
"real_debrid_free_account_error": "Tili \"{{username}}\" - ei ole tilaus. Ota Real-Debrid-tilaus",
|
||||
"debrid_linked_message": "Tili \"{{username}}\" linkitetty",
|
||||
"save_changes": "Tallenna muutokset",
|
||||
"changes_saved": "Muutokset tallennettu onnistuneesti",
|
||||
"download_sources_description": "Hydra hakee latauslinkit näistä lähteistä. URL-osoitteen on sisällettävä suora linkki .json-tiedostoon, joka sisältää latauslinkit.",
|
||||
"validate_download_source": "Vahvista",
|
||||
"remove_download_source": "Poista",
|
||||
"add_download_source": "Lisää lähde",
|
||||
"download_count_zero": "Ei latauksia listassa",
|
||||
"download_count_one": "{{countFormatted}} lataus listassa",
|
||||
"download_count_other": "{{countFormatted}} latausta listassa",
|
||||
"download_source_url": "Lähteen URL-osoite",
|
||||
"add_download_source_description": "Liitä linkki .json-tiedostoon",
|
||||
"download_source_up_to_date": "Ajan tasalla",
|
||||
"download_source_errored": "Virhe",
|
||||
"sync_download_sources": "Päivitä lähteet",
|
||||
"removed_download_source": "Lähde poistettu",
|
||||
"removed_download_sources": "Lähteet poistettu",
|
||||
"cancel_button_confirmation_delete_all_sources": "Ei",
|
||||
"confirm_button_confirmation_delete_all_sources": "Kyllä, poista kaikki",
|
||||
"title_confirmation_delete_all_sources": "Poista kaikki lähteet",
|
||||
"description_confirmation_delete_all_sources": "Poistat kaikki lähteet",
|
||||
"button_delete_all_sources": "Poista kaikki lähteet",
|
||||
"added_download_source": "Lähde lisätty",
|
||||
"download_sources_synced": "Kaikki lähteet päivitetty",
|
||||
"insert_valid_json_url": "Liitä kelvollinen JSON-tiedoston URL-osoite",
|
||||
"found_download_option_zero": "Ei latausvaihtoehtoja löytynyt",
|
||||
"found_download_option_one": "Löytyi {{countFormatted}} latausvaihtoehto",
|
||||
"found_download_option_other": "Löytyi {{countFormatted}} latausvaihtoehtoa",
|
||||
"import": "Tuo",
|
||||
"importing": "Tuodaan...",
|
||||
"public": "Julkinen",
|
||||
"private": "Yksityinen",
|
||||
"friends_only": "Vain kavereille",
|
||||
"privacy": "Yksityisyys",
|
||||
"profile_visibility": "Profiilin näkyvyys",
|
||||
"profile_visibility_description": "Valitse, kuka voi nähdä profiilisi ja kirjastosi",
|
||||
"required_field": "Tämä kenttä on pakollinen",
|
||||
"source_already_exists": "Tämä lähde on jo lisätty",
|
||||
"must_be_valid_url": "Lähteen on oltava kelvollinen URL-osoite",
|
||||
"blocked_users": "Estetyt käyttäjät",
|
||||
"user_unblocked": "Käyttäjä estäminen poistettu",
|
||||
"enable_achievement_notifications": "Kun saavutus avataan",
|
||||
"launch_minimized": "Käynnistä Hydra pienennettynä",
|
||||
"disable_nsfw_alert": "Poista sopimattoman sisällön varoitus käytöstä",
|
||||
"seed_after_download_complete": "Jaa latauksen valmistumisen jälkeen",
|
||||
"show_hidden_achievement_description": "Näytä piilotettujen saavutusten kuvaukset ennen niiden ansaitsemista",
|
||||
"account": "Tili",
|
||||
"no_users_blocked": "Sinulla ei ole estettyjä käyttäjiä",
|
||||
"subscription_active_until": "Hydra Cloud -tilisi on voimassa {{date}} asti",
|
||||
"manage_subscription": "Hallinnoi tilausta",
|
||||
"update_email": "Päivitä sähköposti",
|
||||
"update_password": "Päivitä salasana",
|
||||
"current_email": "Nykyinen sähköposti:",
|
||||
"no_email_account": "Et ole vielä asettanut sähköpostiosoitetta",
|
||||
"account_data_updated_successfully": "Tilitiedot päivitetty onnistuneesti",
|
||||
"renew_subscription": "Uusi Hydra Cloud -tilaus",
|
||||
"subscription_expired_at": "Tilauksesi vanheni {{date}}",
|
||||
"no_subscription": "Nauti Hydrasta täysin rinnoin",
|
||||
"become_subscriber": "Tule Hydra Cloud -tilaajaksi",
|
||||
"subscription_renew_cancelled": "Automaattinen uusinta peruutettu",
|
||||
"subscription_renews_on": "Tilauksesi uusiutuu {{date}}",
|
||||
"bill_sent_until": "Seuraava laskusi lähetetään ennen tätä päivää",
|
||||
"no_themes": "Näyttää siltä, että sinulla ei vielä ole teemoja, mutta älä huoli, napsauta tästä luodaksesi ensimmäisen mestariteoksesi",
|
||||
"editor_tab_code": "Koodi",
|
||||
"editor_tab_info": "Tiedot",
|
||||
"editor_tab_save": "Tallenna",
|
||||
"web_store": "Verkkokauppa",
|
||||
"clear_themes": "Tyhjennä",
|
||||
"create_theme": "Luo",
|
||||
"create_theme_modal_title": "Luo mukautettu teema",
|
||||
"create_theme_modal_description": "Luo uusi teema Hydran ulkoasun mukauttamiseksi",
|
||||
"theme_name": "Nimi",
|
||||
"insert_theme_name": "Syötä teeman nimi",
|
||||
"set_theme": "Aseta teema",
|
||||
"unset_theme": "Poista teema",
|
||||
"delete_theme": "Poista teema",
|
||||
"edit_theme": "Muokkaa teemaa",
|
||||
"delete_all_themes": "Poista kaikki teemat",
|
||||
"delete_all_themes_description": "Tämä poistaa kaikki mukautetut teemasi",
|
||||
"delete_theme_description": "Tämä poistaa teeman {{theme}}",
|
||||
"cancel": "Peruuta",
|
||||
"appearance": "Ulkoasu",
|
||||
"debrid": "Debrid",
|
||||
"debrid_description": "Debrid-palvelut ovat premium-lataajia ilman rajoituksia, joiden avulla voit ladata tiedostoja nopeasti useista tiedostonjakopalveluista, vain internet-yhteytesi nopeuden rajoittamina.",
|
||||
"enable_torbox": "Ota TorBox käyttöön",
|
||||
"torbox_description": "TorBox on premium-palvelusi, joka kilpailee jopa parhaimpien markkinoiden palvelimien kanssa.",
|
||||
"torbox_account_linked": "TorBox-tili linkitetty",
|
||||
"create_real_debrid_account": "Napsauta tästä, jos sinulla ei vielä ole Real-Debrid-tiliä",
|
||||
"create_torbox_account": "Napsauta tästä, jos sinulla ei vielä ole TorBox-tiliä",
|
||||
"real_debrid_account_linked": "Real-Debrid-tili linkitetty",
|
||||
"name_min_length": "Teeman nimen on oltava vähintään 3 merkkiä",
|
||||
"import_theme": "Tuo teema",
|
||||
"import_theme_description": "Tuot teeman {{theme}} teemakaupasta",
|
||||
"error_importing_theme": "Virhe teemaa tuotaessa",
|
||||
"theme_imported": "Teema tuotu onnistuneesti",
|
||||
"enable_friend_request_notifications": "Kun kaveripyyntö vastaanotetaan",
|
||||
"enable_auto_install": "Lataa päivitykset automaattisesti",
|
||||
"common_redist": "Kirjastot",
|
||||
"common_redist_description": "Joidenkin pelien käyttö vaatii kirjastoja. Ongelmien välttämiseksi on suositeltavaa asentaa ne.",
|
||||
"install_common_redist": "Asenna",
|
||||
"installing_common_redist": "Asennetaan…",
|
||||
"show_download_speed_in_megabytes": "Näytä latausnopeus megatavuina sekunnissa",
|
||||
"extract_files_by_default": "Pura tiedostot oletusarvoisesti latauksen jälkeen",
|
||||
"enable_steam_achievements": "Ota Steam-saavutusten haku käyttöön",
|
||||
"achievement_custom_notification_position": "Saavutusilmoitusten sijainti",
|
||||
"top-left": "Vasemmalla ylhäällä",
|
||||
"top-center": "Yläkeskellä",
|
||||
"top-right": "Oikealla ylhäällä",
|
||||
"bottom-left": "Vasemmalla alhaalla",
|
||||
"bottom-center": "Alakeskellä",
|
||||
"bottom-right": "Oikealla alhaalla",
|
||||
"enable_achievement_custom_notifications": "Ota saavutusilmoitukset käyttöön",
|
||||
"alignment": "Tasaus",
|
||||
"variation": "Muunnelma",
|
||||
"default": "Oletus",
|
||||
"rare": "Harvinainen",
|
||||
"platinum": "Platina",
|
||||
"hidden": "Piilotettu",
|
||||
"test_notification": "Testi-ilmoitus",
|
||||
"notification_preview": "Saavutusilmoituksen esikatselu",
|
||||
"enable_friend_start_game_notifications": "Kun kaveri aloittaa pelin pelaamisen"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Lataus valmis",
|
||||
"game_ready_to_install": "{{title}} valmis asennettavaksi",
|
||||
"repack_list_updated": "Repack-lista päivitetty",
|
||||
"repack_count_one": "{{count}} repack lisätty",
|
||||
"repack_count_other": "{{count}} repackia lisätty",
|
||||
"new_update_available": "Uusi versio {{version}} saatavilla",
|
||||
"restart_to_install_update": "Käynnistä Hydra uudelleen asentaaksesi päivityksen",
|
||||
"notification_achievement_unlocked_title": "Saavutus avattu pelille {{game}}",
|
||||
"notification_achievement_unlocked_body": "{{achievement}} ja muut {{count}} avattiin",
|
||||
"new_friend_request_description": "{{displayName}} lähetti sinulle kaveripyynnön",
|
||||
"new_friend_request_title": "Uusi kaveripyyntö",
|
||||
"extraction_complete": "Purkaminen valmis",
|
||||
"game_extracted": "{{title}} purettu onnistuneesti",
|
||||
"friend_started_playing_game": "{{displayName}} aloitti pelin pelaamisen",
|
||||
"test_achievement_notification_title": "Tämä on testi-ilmoitus",
|
||||
"test_achievement_notification_description": "Aika siistiä, eikö?"
|
||||
},
|
||||
"system_tray": {
|
||||
"open": "Avaa Hydra",
|
||||
"quit": "Lopeta"
|
||||
},
|
||||
"game_card": {
|
||||
"available_one": "Saatavilla",
|
||||
"available_other": "Saatavilla",
|
||||
"no_downloads": "Ei saatavilla olevia lähteitä",
|
||||
"calculating": "Lasketaan"
|
||||
},
|
||||
"binary_not_found_modal": {
|
||||
"title": "Ohjelmia ei asennettu",
|
||||
"description": "Wine tai Lutris ei löytynyt",
|
||||
"instructions": "Opi oikea tapa asentaa kumpi tahansa Linux-jakelullesi, jotta peli toimii kunnolla"
|
||||
},
|
||||
"modal": {
|
||||
"close": "Sulje"
|
||||
},
|
||||
"forms": {
|
||||
"toggle_password_visibility": "Näytä salasana"
|
||||
},
|
||||
"user_profile": {
|
||||
"amount_hours": "{{amount}} tuntia",
|
||||
"amount_minutes": "{{amount}} minuuttia",
|
||||
"amount_hours_short": "{{amount}}t",
|
||||
"amount_minutes_short": "{{amount}}min",
|
||||
"last_time_played": "Viimeisin peli {{period}}",
|
||||
"activity": "Viimeisin toiminta",
|
||||
"library": "Kirjasto",
|
||||
"pinned": "Kiinnitetyt",
|
||||
"achievements_earned": "Ansaittu saavutukset",
|
||||
"played_recently": "Äskettäin pelatut",
|
||||
"playtime": "Peliaika",
|
||||
"total_play_time": "Yhteensä pelattu",
|
||||
"manual_playtime_tooltip": "Peliaika on päivitetty manuaalisesti",
|
||||
"no_recent_activity_title": "Hmm... Täällä ei ole mitään",
|
||||
"no_recent_activity_description": "Et ole pelannut mitään vähään aikaan. On aika muuttaa se!",
|
||||
"display_name": "Näyttönimi",
|
||||
"saving": "Tallennetaan",
|
||||
"save": "Tallenna",
|
||||
"edit_profile": "Muokkaa profiilia",
|
||||
"saved_successfully": "Tallennettu onnistuneesti",
|
||||
"try_again": "Yritä uudelleen",
|
||||
"sign_out_modal_title": "Oletko varma?",
|
||||
"cancel": "Peruuta",
|
||||
"successfully_signed_out": "Kirjauduttu ulos onnistuneesti",
|
||||
"sign_out": "Kirjaudu ulos",
|
||||
"playing_for": "Pelattu {{amount}}",
|
||||
"sign_out_modal_text": "Kirjastosi on linkitetty nykyiseen tiliisi. Kirjautumalla ulos kirjastosi ei ole käytettävissä, eikä edistymistä tallenneta. Kirjaudu ulos?",
|
||||
"add_friends": "Lisää kavereita",
|
||||
"add": "Lisää",
|
||||
"friend_code": "Kaverikoodi",
|
||||
"see_profile": "Näytä profiili",
|
||||
"sending": "Lähetetään",
|
||||
"friend_request_sent": "Kaveripyyntö lähetetty",
|
||||
"friends": "Kaverit",
|
||||
"friends_list": "Kaverilista",
|
||||
"user_not_found": "Käyttäjää ei löytynyt",
|
||||
"block_user": "Estä käyttäjä",
|
||||
"add_friend": "Lisää kaveriksi",
|
||||
"request_sent": "Pyyntö lähetetty",
|
||||
"request_received": "Pyyntö vastaanotettu",
|
||||
"accept_request": "Hyväksy pyyntö",
|
||||
"ignore_request": "Ohita pyyntö",
|
||||
"cancel_request": "Peruuta pyyntö",
|
||||
"undo_friendship": "Poista kaveri",
|
||||
"request_accepted": "Pyyntö hyväksytty",
|
||||
"user_blocked_successfully": "Käyttäjä estetty onnistuneesti",
|
||||
"user_block_modal_text": "{{displayName}} estetään",
|
||||
"blocked_users": "Estetyt käyttäjät",
|
||||
"unblock": "Poista esto",
|
||||
"no_friends_added": "Et ole vielä lisännyt yhtään kaveria",
|
||||
"pending": "Odottaa",
|
||||
"no_pending_invites": "Sinulla ei ole vasteita odottavia pyyntöjä",
|
||||
"no_blocked_users": "Et ole estänyt yhtään käyttäjää",
|
||||
"friend_code_copied": "Kaverikoodi kopioitu",
|
||||
"undo_friendship_modal_text": "Tämä purkaa kaverisuhteen käyttäjän {{displayName}} kanssa.",
|
||||
"privacy_hint": "Määrittääksesi kuka voi nähdä tämän, siirry <0>Asetuksiin</0>.",
|
||||
"locked_profile": "Tämä profiili on yksityinen",
|
||||
"image_process_failure": "Kuvan käsittely epäonnistui",
|
||||
"required_field": "Tämä kenttä on pakollinen",
|
||||
"displayname_min_length": "Näyttönimen on oltava vähintään 3 merkkiä.",
|
||||
"displayname_max_length": "Näyttönimen on oltava enintään 50 merkkiä.",
|
||||
"report_profile": "Ilmianna tämä profiili",
|
||||
"report_reason": "Miksi ilmiannat tämän profiilin?",
|
||||
"report_description": "Lisätietoja",
|
||||
"report_description_placeholder": "Lisätietoja",
|
||||
"report": "Ilmianna",
|
||||
"report_reason_hate": "Vihapuhe",
|
||||
"report_reason_sexual_content": "Seksuaalinen sisältö",
|
||||
"report_reason_violence": "Väkivalta",
|
||||
"report_reason_spam": "Roskaposti",
|
||||
"report_reason_other": "Muu",
|
||||
"profile_reported": "Profiili-ilmoitus lähetetty",
|
||||
"your_friend_code": "Kaverikoodisi:",
|
||||
"upload_banner": "Lataa banneri",
|
||||
"uploading_banner": "Ladataan banneria...",
|
||||
"background_image_updated": "Taustakuva päivitetty",
|
||||
"stats": "Tilastot",
|
||||
"achievements": "Saavutukset",
|
||||
"games": "Pelit",
|
||||
"top_percentile": "Top {{percentile}}%",
|
||||
"ranking_updated_weekly": "Sijoitus päivitetään viikoittain",
|
||||
"playing": "Pelaamassa {{game}}",
|
||||
"achievements_unlocked": "Saavutukset avattu",
|
||||
"earned_points": "Ansaitut pisteet:",
|
||||
"show_achievements_on_profile": "Näytä saavutuksesi profiilissasi",
|
||||
"show_points_on_profile": "Näytä ansaitut pisteet profiilissasi",
|
||||
"error_adding_friend": "Kaveripyynnön lähettäminen epäonnistui. Tarkista kaverikoodi",
|
||||
"friend_code_length_error": "Kaverikoodin on oltava 8 merkkiä",
|
||||
"game_removed_from_pinned": "Peli poistettu kiinnitetyistä",
|
||||
"game_added_to_pinned": "Peli lisätty kiinnitettyihin",
|
||||
"karma": "Karma",
|
||||
"karma_count": "karmaa",
|
||||
"karma_description": "Ansittu positiivisilla arvosteluäänillä"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Saavutus avattu",
|
||||
"user_achievements": "Käyttäjän {{displayName}} saavutukset",
|
||||
"your_achievements": "Sinun saavutuksesi",
|
||||
"unlocked_at": "Avattu: {{date}}",
|
||||
"subscription_needed": "Hydra Cloud -tilaus tarvitaan tämän sisällön katsomiseen",
|
||||
"new_achievements_unlocked": "{{achievementCount}} uutta saavutusta avattu {{gameCount}} pelistä",
|
||||
"achievement_progress": "{{unlockedCount}}/{{totalCount}} saavutusta",
|
||||
"achievements_unlocked_for_game": "{{achievementCount}} uutta saavutusta avattu pelille {{gameTitle}}",
|
||||
"hidden_achievement_tooltip": "Tämä on piilotettu saavutus",
|
||||
"achievement_earn_points": "Ansaitse {{points}} pistettä tällä saavutuksella",
|
||||
"earned_points": "Ansaitut pisteet:",
|
||||
"available_points": "Saatavilla olevat pisteet:",
|
||||
"how_to_earn_achievements_points": "Kuinka ansaita saavutuspisteitä?"
|
||||
},
|
||||
"hydra_cloud": {
|
||||
"subscription_tour_title": "Hydra Cloud -tilaus",
|
||||
"subscribe_now": "Tilaa nyt",
|
||||
"cloud_saving": "Pilvitallennus",
|
||||
"cloud_achievements": "Tallenna saavutuksesi pilveen",
|
||||
"animated_profile_picture": "Animaoidut profiilikuvat",
|
||||
"premium_support": "Premium-tuki",
|
||||
"show_and_compare_achievements": "Näytä ja vertaile saavutuksiasi muiden käyttäjien saavutuksiin",
|
||||
"animated_profile_banner": "Animoitu profiilin banneri",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"hydra_cloud_feature_found": "Olet juuri löytänyt Hydra Cloud -toiminnon!",
|
||||
"learn_more": "Lue lisää",
|
||||
"debrid_description": "Lataa 4 kertaa nopeammin Nimbuksella"
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,69 @@
|
||||
"friends": "Amis",
|
||||
"need_help": "Besoin d'aide ?",
|
||||
"favorites": "Favoris",
|
||||
"playable_button_title": "Afficher uniquement les jeux que vous pouvez jouer maintenant"
|
||||
"playable_button_title": "Afficher uniquement les jeux que vous pouvez jouer maintenant",
|
||||
"library": "Bibliothèque",
|
||||
"add_custom_game_tooltip": "Ajouter un jeu personnalisé",
|
||||
"show_playable_only_tooltip": "Afficher uniquement les jeux jouables",
|
||||
"custom_game_modal": "Ajouter un jeu personnalisé",
|
||||
"custom_game_modal_description": "Ajoutez un jeu personnalisé à votre bibliothèque en sélectionnant un fichier exécutable",
|
||||
"custom_game_modal_executable_path": "Chemin de l'exécutable",
|
||||
"custom_game_modal_select_executable": "Sélectionner un fichier exécutable",
|
||||
"custom_game_modal_title": "Titre",
|
||||
"custom_game_modal_enter_title": "Entrer le titre",
|
||||
"custom_game_modal_browse": "Parcourir",
|
||||
"custom_game_modal_cancel": "Annuler",
|
||||
"custom_game_modal_add": "Ajouter le jeu",
|
||||
"custom_game_modal_adding": "Ajout du jeu…",
|
||||
"custom_game_modal_success": "Jeu personnalisé ajouté avec succès",
|
||||
"custom_game_modal_failed": "Échec de l’ajout du jeu personnalisé",
|
||||
"custom_game_modal_executable": "Exécutable",
|
||||
"edit_game_modal": "Personnaliser les ressources",
|
||||
"edit_game_modal_description": "Personnalisez les ressources et les détails du jeu",
|
||||
"edit_game_modal_title": "Titre",
|
||||
"edit_game_modal_enter_title": "Entrer le titre",
|
||||
"edit_game_modal_image": "Image",
|
||||
"edit_game_modal_select_image": "Sélectionner une image",
|
||||
"edit_game_modal_browse": "Parcourir",
|
||||
"edit_game_modal_image_preview": "Aperçu de l’image",
|
||||
"edit_game_modal_icon": "Icône",
|
||||
"edit_game_modal_select_icon": "Sélectionner une icône",
|
||||
"edit_game_modal_icon_preview": "Aperçu de l’icône",
|
||||
"edit_game_modal_logo": "Logo",
|
||||
"edit_game_modal_select_logo": "Sélectionner un logo",
|
||||
"edit_game_modal_logo_preview": "Aperçu du logo",
|
||||
"edit_game_modal_hero": "Bannière de la bibliothèque",
|
||||
"edit_game_modal_select_hero": "Sélectionner l’image de bannière",
|
||||
"edit_game_modal_hero_preview": "Aperçu de la bannière",
|
||||
"edit_game_modal_cancel": "Annuler",
|
||||
"edit_game_modal_update": "Mettre à jour",
|
||||
"edit_game_modal_updating": "Mise à jour…",
|
||||
"edit_game_modal_fill_required": "Veuillez remplir tous les champs requis",
|
||||
"edit_game_modal_success": "Ressources mises à jour avec succès",
|
||||
"edit_game_modal_failed": "Échec de la mise à jour des ressources",
|
||||
"edit_game_modal_image_filter": "Image",
|
||||
"edit_game_modal_icon_resolution": "Résolution recommandée : 256x256px",
|
||||
"edit_game_modal_logo_resolution": "Résolution recommandée : 640x360px",
|
||||
"edit_game_modal_hero_resolution": "Résolution recommandée : 1920x620px",
|
||||
"edit_game_modal_assets": "Ressources",
|
||||
"edit_game_modal_drop_icon_image_here": "Déposez l’image de l’icône ici",
|
||||
"edit_game_modal_drop_logo_image_here": "Déposez l’image du logo ici",
|
||||
"edit_game_modal_drop_hero_image_here": "Déposez l’image de la bannière ici",
|
||||
"edit_game_modal_drop_to_replace_icon": "Déposez pour remplacer l’icône",
|
||||
"edit_game_modal_drop_to_replace_logo": "Déposez pour remplacer le logo",
|
||||
"edit_game_modal_drop_to_replace_hero": "Déposez pour remplacer la bannière",
|
||||
"install_decky_plugin": "Installer le plugin Decky",
|
||||
"update_decky_plugin": "Mettre à jour le plugin Decky",
|
||||
"decky_plugin_installed_version": "Plugin Decky (v{{version}})",
|
||||
"install_decky_plugin_title": "Installer le plugin Decky Hydra",
|
||||
"install_decky_plugin_message": "Cela téléchargera et installera le plugin Hydra pour Decky Loader. Des permissions élevées peuvent être requises. Continuer ?",
|
||||
"update_decky_plugin_title": "Mettre à jour le plugin Decky Hydra",
|
||||
"update_decky_plugin_message": "Une nouvelle version du plugin Decky Hydra est disponible. Souhaitez-vous la mettre à jour maintenant ?",
|
||||
"decky_plugin_installed": "Plugin Decky v{{version}} installé avec succès",
|
||||
"decky_plugin_installation_failed": "Échec de l’installation du plugin Decky : {{error}}",
|
||||
"decky_plugin_installation_error": "Erreur lors de l’installation du plugin Decky : {{error}}",
|
||||
"confirm": "Confirmer",
|
||||
"cancel": "Annuler"
|
||||
},
|
||||
"header": {
|
||||
"search": "Rechercher",
|
||||
@@ -37,7 +99,15 @@
|
||||
"search_results": "Résultats de la recherche",
|
||||
"settings": "Paramètres",
|
||||
"version_available_install": "Version {{version}} disponible. Cliquez ici pour redémarrer et installer.",
|
||||
"version_available_download": "Version {{version}} disponible. Cliquez ici pour télécharger."
|
||||
"version_available_download": "Version {{version}} disponible. Cliquez ici pour télécharger.",
|
||||
"search_library": "Rechercher dans la bibliothèque",
|
||||
"recent_searches": "Recherches récentes",
|
||||
"suggestions": "Suggestions",
|
||||
"clear_history": "Effacer",
|
||||
"remove_from_history": "Supprimer de l'historique",
|
||||
"loading": "Chargement…",
|
||||
"no_results": "Aucun résultat",
|
||||
"library": "Bibliothèque"
|
||||
},
|
||||
"bottom_panel": {
|
||||
"no_downloads_in_progress": "Aucun téléchargement en cours",
|
||||
@@ -47,7 +117,8 @@
|
||||
"checking_files": "Vérification des fichiers de {{title}}… ({{percentage}} terminé)",
|
||||
"installing_common_redist": "{{log}}…",
|
||||
"installation_complete": "Installation terminée",
|
||||
"installation_complete_message": "Redistribuables communs installés avec succès"
|
||||
"installation_complete_message": "Redistribuables communs installés avec succès",
|
||||
"extracting": "Extraction de {{title}}… ({{percentage}} terminé)"
|
||||
},
|
||||
"catalogue": {
|
||||
"search": "Filtrer…",
|
||||
@@ -198,7 +269,113 @@
|
||||
"download_error_not_cached_on_hydra": "Ce téléchargement n'est pas disponible sur Nimbus.",
|
||||
"game_removed_from_favorites": "Jeu retiré des favoris",
|
||||
"game_added_to_favorites": "Jeu ajouté aux favoris",
|
||||
"automatically_extract_downloaded_files": "Extraire automatiquement les fichiers téléchargés"
|
||||
"automatically_extract_downloaded_files": "Extraire automatiquement les fichiers téléchargés",
|
||||
"already_in_library": "Déjà dans la bibliothèque",
|
||||
"create_shortcut_simple": "Créer un raccourci",
|
||||
"properties": "Propriétés",
|
||||
"extracting": "Extraction en cours",
|
||||
"new_download_option": "Nouveau",
|
||||
"create_steam_shortcut": "Créer un raccourci Steam",
|
||||
"you_might_need_to_restart_steam": "Vous devrez peut-être redémarrer Steam pour voir les changements",
|
||||
"add_to_favorites": "Ajouter aux favoris",
|
||||
"remove_from_favorites": "Retirer des favoris",
|
||||
"failed_update_favorites": "Échec de la mise à jour des favoris",
|
||||
"game_removed_from_library": "Jeu retiré de la bibliothèque",
|
||||
"failed_remove_from_library": "Échec de la suppression du jeu de la bibliothèque",
|
||||
"files_removed_success": "Fichiers supprimés avec succès",
|
||||
"failed_remove_files": "Échec de la suppression des fichiers",
|
||||
"rating_count": "Évaluations",
|
||||
"show_more": "Afficher plus",
|
||||
"show_less": "Afficher moins",
|
||||
"reviews": "Avis",
|
||||
"review_played_for": "Temps de jeu",
|
||||
"leave_a_review": "Laisser un avis",
|
||||
"write_review_placeholder": "Partagez votre avis sur ce jeu…",
|
||||
"sort_newest": "Les plus récents",
|
||||
"sort_oldest": "Les plus anciens",
|
||||
"sort_highest_score": "Meilleure note",
|
||||
"sort_lowest_score": "Note la plus basse",
|
||||
"sort_most_voted": "Les plus votés",
|
||||
"no_reviews_yet": "Aucun avis pour le moment",
|
||||
"be_first_to_review": "Soyez le premier à donner votre avis !",
|
||||
"rating": "Note",
|
||||
"rating_stats": "Évaluation",
|
||||
"rating_very_negative": "Très négatif",
|
||||
"rating_negative": "Négatif",
|
||||
"rating_neutral": "Neutre",
|
||||
"rating_positive": "Positif",
|
||||
"rating_very_positive": "Très positif",
|
||||
"submit_review": "Envoyer",
|
||||
"submitting": "Envoi…",
|
||||
"review_submitted_successfully": "Avis envoyé avec succès !",
|
||||
"review_submission_failed": "Échec de l’envoi de l’avis. Veuillez réessayer.",
|
||||
"review_cannot_be_empty": "Le champ de l’avis ne peut pas être vide.",
|
||||
"review_deleted_successfully": "Avis supprimé avec succès.",
|
||||
"review_deletion_failed": "Échec de la suppression de l’avis.",
|
||||
"loading_reviews": "Chargement des avis…",
|
||||
"loading_more_reviews": "Chargement de plus d’avis…",
|
||||
"load_more_reviews": "Charger plus d’avis",
|
||||
"you_seemed_to_enjoy_this_game": "Vous semblez avoir apprécié ce jeu",
|
||||
"would_you_recommend_this_game": "Souhaitez-vous laisser un avis sur ce jeu ?",
|
||||
"yes": "Oui",
|
||||
"maybe_later": "Peut-être plus tard",
|
||||
"backup_failed": "Échec de la sauvegarde",
|
||||
"update_playtime_title": "Mettre à jour le temps de jeu",
|
||||
"update_playtime_description": "Mettre à jour manuellement le temps de jeu pour {{game}}",
|
||||
"update_playtime": "Mettre à jour le temps de jeu",
|
||||
"update_playtime_success": "Temps de jeu mis à jour avec succès",
|
||||
"update_playtime_error": "Échec de la mise à jour du temps de jeu",
|
||||
"update_game_playtime": "Mettre à jour le temps de jeu",
|
||||
"manual_playtime_warning": "Vos heures seront marquées comme modifiées manuellement et cela ne peut pas être annulé.",
|
||||
"manual_playtime_tooltip": "Ce temps de jeu a été modifié manuellement",
|
||||
"game_removed_from_pinned": "Jeu retiré des épinglés",
|
||||
"game_added_to_pinned": "Jeu ajouté aux épinglés",
|
||||
"create_start_menu_shortcut": "Créer un raccourci dans le menu Démarrer",
|
||||
"invalid_wine_prefix_path": "Chemin du préfixe Wine invalide",
|
||||
"invalid_wine_prefix_path_description": "Le chemin du préfixe Wine est invalide. Veuillez vérifier et réessayer.",
|
||||
"missing_wine_prefix": "Un préfixe Wine est requis pour créer une sauvegarde sous Linux",
|
||||
"artifact_renamed": "Sauvegarde renommée avec succès",
|
||||
"rename_artifact": "Renommer la sauvegarde",
|
||||
"rename_artifact_description": "Renommez la sauvegarde avec un nom plus descriptif",
|
||||
"artifact_name_label": "Nom de la sauvegarde",
|
||||
"artifact_name_placeholder": "Entrez un nom pour la sauvegarde",
|
||||
"save_changes": "Enregistrer les modifications",
|
||||
"required_field": "Ce champ est requis",
|
||||
"max_length_field": "Ce champ doit contenir moins de {{length}} caractères",
|
||||
"freeze_backup": "Épingler pour éviter l’écrasement automatique",
|
||||
"unfreeze_backup": "Désépingler",
|
||||
"backup_frozen": "Sauvegarde épinglée",
|
||||
"backup_unfrozen": "Sauvegarde désépinglée",
|
||||
"backup_freeze_failed": "Échec de l’épinglage de la sauvegarde",
|
||||
"backup_freeze_failed_description": "Vous devez laisser au moins un emplacement libre pour les sauvegardes automatiques",
|
||||
"edit_game_modal_button": "Personnaliser les ressources du jeu",
|
||||
"game_details": "Détails du jeu",
|
||||
"prices": "Prix",
|
||||
"no_prices_found": "Aucun prix trouvé",
|
||||
"view_all_prices": "Cliquer pour voir tous les prix",
|
||||
"retail_price": "Prix officiel",
|
||||
"keyshop_price": "Prix Keyshop",
|
||||
"historical_retail": "Historique officiel",
|
||||
"historical_keyshop": "Historique Keyshop",
|
||||
"language": "Langue",
|
||||
"caption": "Sous-titres",
|
||||
"audio": "Audio",
|
||||
"filter_by_source": "Filtrer par source",
|
||||
"no_repacks_found": "Aucune source trouvée pour ce jeu",
|
||||
"delete_review": "Supprimer l’avis",
|
||||
"remove_review": "Retirer l’avis",
|
||||
"delete_review_modal_title": "Voulez-vous vraiment supprimer votre avis ?",
|
||||
"delete_review_modal_description": "Cette action est irréversible.",
|
||||
"delete_review_modal_delete_button": "Supprimer",
|
||||
"delete_review_modal_cancel_button": "Annuler",
|
||||
"vote_failed": "Échec de l’enregistrement de votre vote. Veuillez réessayer.",
|
||||
"show_original": "Afficher l’original",
|
||||
"show_translation": "Afficher la traduction",
|
||||
"show_original_translated_from": "Afficher l’original (traduit depuis {{language}})",
|
||||
"hide_original": "Masquer l’original",
|
||||
"review_from_blocked_user": "Avis d’un utilisateur bloqué",
|
||||
"show": "Afficher",
|
||||
"hide": "Masquer"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Activer Hydra",
|
||||
@@ -237,7 +414,11 @@
|
||||
"resume_seeding": "Reprendre le partage",
|
||||
"options": "Gérer",
|
||||
"extract": "Extraire les fichiers",
|
||||
"extracting": "Extraction des fichiers…"
|
||||
"extracting": "Extraction des fichiers…",
|
||||
"delete_archive_title": "Voulez-vous supprimer {{fileName}} ?",
|
||||
"delete_archive_description": "Le fichier a été extrait avec succès et n’est plus nécessaire.",
|
||||
"yes": "Oui",
|
||||
"no": "Non"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Chemin des téléchargements",
|
||||
@@ -366,7 +547,40 @@
|
||||
"bottom-left": "En bas à gauche",
|
||||
"bottom-center": "En bas au centre",
|
||||
"bottom-right": "En bas à droite",
|
||||
"enable_friend_start_game_notifications": "Quand un ami commence à jouer à un jeu"
|
||||
"enable_friend_start_game_notifications": "Quand un ami commence à jouer à un jeu",
|
||||
"adding": "Ajout…",
|
||||
"failed_add_download_source": "Échec de l’ajout de la source de téléchargement. Veuillez réessayer.",
|
||||
"download_source_already_exists": "Cette URL de source existe déjà",
|
||||
"download_source_pending_matching": "Mise à jour imminente",
|
||||
"download_source_matched": "À jour",
|
||||
"download_source_matching": "Mise à jour",
|
||||
"download_source_failed": "Erreur",
|
||||
"download_source_no_information": "Aucune information disponible",
|
||||
"removed_all_download_sources": "Toutes les sources de téléchargement supprimées",
|
||||
"download_sources_synced_successfully": "Toutes les sources de téléchargement ont été synchronisées",
|
||||
"importing": "Importation…",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"debrid": "Debrid",
|
||||
"enable_steam_achievements": "Activer la recherche de succès Steam",
|
||||
"alignment": "Alignement",
|
||||
"variation": "Variation",
|
||||
"default": "Par défaut",
|
||||
"rare": "Rare",
|
||||
"platinum": "Platine",
|
||||
"hidden": "Caché",
|
||||
"test_notification": "Notification de test",
|
||||
"achievement_sound_volume": "Volume du son de succès",
|
||||
"select_achievement_sound": "Sélectionner un son de succès",
|
||||
"change_achievement_sound": "Changer le son de succès",
|
||||
"remove_achievement_sound": "Supprimer le son de succès",
|
||||
"preview_sound": "Prévisualiser le son",
|
||||
"select": "Sélectionner",
|
||||
"preview": "Aperçu",
|
||||
"remove": "Supprimer",
|
||||
"no_sound_file_selected": "Aucun fichier sonore sélectionné",
|
||||
"notification_preview": "Aperçu de la notification de succès",
|
||||
"autoplay_trailers_on_game_page": "Lire automatiquement les bandes-annonces sur la page du jeu",
|
||||
"hide_to_tray_on_game_start": "Réduire Hydra dans la barre système au lancement d’un jeu"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Téléchargement terminé",
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
"no_results": "Nincs találat",
|
||||
"start_typing": "Kereséshez gépelj...",
|
||||
"hot": "Most felkapott",
|
||||
"weekly": "📅 A hét felkapott játékai",
|
||||
"weekly": "📅 Heti kiemeltek",
|
||||
"achievements": "🏆 Achievement támogatott"
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Katalógus",
|
||||
"library": "Könyvtár",
|
||||
"downloads": "Letöltések",
|
||||
"settings": "Beállítások",
|
||||
"my_library": "Könyvtáram",
|
||||
@@ -21,12 +22,12 @@
|
||||
"downloading": "{{title}} ({{percentage}} - Letöltés…)",
|
||||
"filter": "Könyvtár szűrése",
|
||||
"home": "Főoldal",
|
||||
"queued": "A(z) {{title}} (Várakozósorban van)",
|
||||
"queued": "{{title}} (Várakozásban)",
|
||||
"game_has_no_executable": "A játékhoz nincs tallózva futtatható fájl",
|
||||
"sign_in": "Bejelentkezés",
|
||||
"friends": "Barátok",
|
||||
"need_help": "Elakadtál?",
|
||||
"favorites": "Kedvenc játékok",
|
||||
"favorites": "Kedvenc Játékaim",
|
||||
"playable_button_title": "Csak az azonnal játszható játékokat mutasd",
|
||||
"add_custom_game_tooltip": "Saját játék hozzáadása",
|
||||
"show_playable_only_tooltip": "Csak játszható játék mutatása",
|
||||
@@ -81,7 +82,7 @@
|
||||
"update_decky_plugin": "Decky Plugin Frissítése",
|
||||
"decky_plugin_installed_version": "Decky Plugin (v{{version}})",
|
||||
"install_decky_plugin_title": "Telepítsd a Hydra Decky Plugint",
|
||||
"install_decky_plugin_message": "Ez letölti és telepíteni fogja a Hydra plugint a Decky Loaderhez. Előfordulhat, hogy rendszergazdai jogosultságra lesz szükség. Folytatod?",
|
||||
"install_decky_plugin_message": "Ez letölti és telepíti a Hydra plugint a Decky Loaderhez. Előfordulhat, hogy rendszergazdai jogosultságra lesz szükség. Folytatod?",
|
||||
"update_decky_plugin_title": "Hydra Decky Plugin Frissítése",
|
||||
"update_decky_plugin_message": "Egy új verzió elérhető a Hydra Decky Pluginhoz. Szeretnéd frissíteni?",
|
||||
"decky_plugin_installed": "Decky plugin v{{version}} sikeresen telepítve",
|
||||
@@ -92,8 +93,16 @@
|
||||
},
|
||||
"header": {
|
||||
"search": "Keresés",
|
||||
"search_library": "Könyvtár böngészése",
|
||||
"recent_searches": "Korábbi Keresések",
|
||||
"suggestions": "Találatok",
|
||||
"clear_history": "Törlés",
|
||||
"remove_from_history": "Törlés az előzményekből",
|
||||
"loading": "Töltés...",
|
||||
"no_results": "Nincs találat",
|
||||
"home": "Főoldal",
|
||||
"catalogue": "Katalógus",
|
||||
"library": "Könyvtár",
|
||||
"downloads": "Letöltések",
|
||||
"search_results": "Keresési találatok",
|
||||
"settings": "Beállítások",
|
||||
@@ -106,6 +115,7 @@
|
||||
"downloading": "{{title}} letöltése… ({{percentage}} kész) - Befejezés {{eta}} - {{speed}}",
|
||||
"calculating_eta": "{{title}} letöltése… ({{percentage}} kész) - Hátralévő idő…",
|
||||
"checking_files": "A(z) {{title}} fájljaiból… ({{percentage}} kész)",
|
||||
"extracting": "{{title}} kicsomagolása… ({{percentage}} kicsomagolva)",
|
||||
"installing_common_redist": "{{log}}…",
|
||||
"installation_complete": "Telepítés befejezve",
|
||||
"installation_complete_message": "A(z) Alapvető segédprogramok sikeresen telepítve"
|
||||
@@ -117,7 +127,7 @@
|
||||
"tags": "Címkék",
|
||||
"publishers": "Kiadók",
|
||||
"download_sources": "Letöltési források",
|
||||
"result_count": "{{resultCount}} találatok",
|
||||
"result_count": "{{resultCount}} találat",
|
||||
"filter_count": "{{filterCount}} elérhető",
|
||||
"clear_filters": "{{filterCount}} kiválaszott szűrő törlése"
|
||||
},
|
||||
@@ -162,15 +172,15 @@
|
||||
"playing_now": "Játékban: ",
|
||||
"change": "Változtatás",
|
||||
"repacks_modal_description": "Válaszd ki a repacket amit leszeretnél tölteni",
|
||||
"select_folder_hint": "A letöltési mappát a <0>Beállítások</0> menüjében változtathatod meg",
|
||||
"select_folder_hint": "A letöltési mappát a <0>Beállításokban</0> változtathatod meg",
|
||||
"download_now": "Letöltés",
|
||||
"no_shop_details": "A bolt adatai nem érhetőek el.",
|
||||
"download_options": "Letöltési opciók",
|
||||
"download_path": "Letöltis hely",
|
||||
"download_path": "Letöltési hely",
|
||||
"previous_screenshot": "Előző screenshot",
|
||||
"next_screenshot": "Következő screenshot",
|
||||
"screenshot": "Screenshot {{number}}",
|
||||
"open_screenshot": "Screenshot megnyitása {{number}}",
|
||||
"open_screenshot": "{{number}} Screenshot megnyitása ",
|
||||
"download_settings": "Letöltési beállítások",
|
||||
"downloader": "Letöltési mód",
|
||||
"select_executable": "Tallózás",
|
||||
@@ -193,7 +203,9 @@
|
||||
"danger_zone_section_description": "Itt eltávolítható a játék a könyvtáradból, vagy a fájlok amelyek a Hydra által lettek letöltve",
|
||||
"download_in_progress": "Letöltés folyamatban",
|
||||
"download_paused": "Letöltés szüneteltetve",
|
||||
"extracting": "Kicsomagolás",
|
||||
"last_downloaded_option": "Utoljára letöltött",
|
||||
"new_download_option": "Új",
|
||||
"create_steam_shortcut": "Steam parancsikon létrehozása",
|
||||
"create_shortcut_success": "A parancsikon létrehozása sikeres",
|
||||
"you_might_need_to_restart_steam": "Lehetséges hogy újrakell indítsd a Steamet hogy lásd a változást.",
|
||||
@@ -223,8 +235,9 @@
|
||||
"show_more": "Mutass többet",
|
||||
"show_less": "Mutass kevesebbet",
|
||||
"reviews": "Vélemények",
|
||||
"review_played_for": "Játszva",
|
||||
"leave_a_review": "Hagyd itt a véleményed",
|
||||
"write_review_placeholder": "Oszd meg a gondolataid a játékról...",
|
||||
"write_review_placeholder": "Oszd meg gondolatod a játékról...",
|
||||
"sort_newest": "Legújabb",
|
||||
"no_reviews_yet": "Még nem lett vélemény megosztva",
|
||||
"be_first_to_review": "Légy az első, aki megossza a véleményét a játékról!",
|
||||
@@ -252,7 +265,7 @@
|
||||
"you_seemed_to_enjoy_this_game": "Úgy látszik élvezted ezt a játékot",
|
||||
"would_you_recommend_this_game": "Szeretnél véleményt írni erről a játékról?",
|
||||
"yes": "Igen",
|
||||
"maybe_later": "Talán Később",
|
||||
"maybe_later": "Talán később",
|
||||
"cloud_save": "Mentés felhőben",
|
||||
"cloud_save_description": "Mentsd el az előrehaladásod a felhőben, majd folytasd egy másik eszközön",
|
||||
"backups": "Biztonsági másolatok",
|
||||
@@ -356,13 +369,21 @@
|
||||
"delete_review_modal_title": "Biztos vagy abban hogy törölni szeretnéd a véleményed?",
|
||||
"delete_review_modal_description": "Ez a lépés nem vonható vissza.",
|
||||
"delete_review_modal_delete_button": "Törlés",
|
||||
"delete_review_modal_cancel_button": "Mégse"
|
||||
"delete_review_modal_cancel_button": "Mégse",
|
||||
"vote_failed": "A szavazatod nem regisztrálódott. Kérlek próbáld újra.",
|
||||
"show_original": "Eredeti megjelenítése",
|
||||
"show_translation": "Fordítás megjelenítése",
|
||||
"show_original_translated_from": "Eredeti megjelenítése (fordítva: {{language}})",
|
||||
"hide_original": "Eredeti elrejtése",
|
||||
"review_from_blocked_user": "Letiltott felhasználó véleménye",
|
||||
"show": "Megjelenítés",
|
||||
"hide": "Elrejtés"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Hydra Aktiválása",
|
||||
"installation_id": "Telepítési Azonosító:",
|
||||
"enter_activation_code": "Írd be az aktiválási kódod",
|
||||
"message": "Ha nem tudod hol kérdezz efelől, akkor nem kéne ilyened legyen.",
|
||||
"message": "Ha nem tudod merre kérdezz efelől, akkor nem kéne ilyened legyen.",
|
||||
"activate": "Aktiválás",
|
||||
"loading": "Töltés…"
|
||||
},
|
||||
@@ -384,9 +405,9 @@
|
||||
"delete_modal_description": "Ez eltávolítja a telepítési fájlokat a számítógépedről",
|
||||
"install": "Telepít",
|
||||
"download_in_progress": "Folyamatban lévő",
|
||||
"queued_downloads": "Várakozósoron lévő letöltések",
|
||||
"queued_downloads": "Várakozásban lévő letöltések",
|
||||
"downloads_completed": "Befejezett",
|
||||
"queued": "Várakozási sorban",
|
||||
"queued": "Várakozásban",
|
||||
"no_downloads_title": "Oly üres..",
|
||||
"no_downloads_description": "Még nem töltöttél le semmit a Hydra segítségével, de soha nem késő elkezdeni.",
|
||||
"checking_files": "Fájlok ellenőrzése…",
|
||||
@@ -395,7 +416,11 @@
|
||||
"resume_seeding": "Seedelés folytatása",
|
||||
"options": "Kezelés",
|
||||
"extract": "Fájlok kibontása",
|
||||
"extracting": "Fájlok kibontása…"
|
||||
"extracting": "Fájlok kibontása…",
|
||||
"delete_archive_title": "Szeretnéd törölni ezt a fájlt? {{fileName}}",
|
||||
"delete_archive_description": "A tömörített fájl ki lett csomagolva, s többé nincs rá szükség. ",
|
||||
"yes": "Igen",
|
||||
"no": "Nem"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Letöltési útvonalak",
|
||||
@@ -419,20 +444,30 @@
|
||||
"debrid_linked_message": "Fiók összekapcsolva: \"{{username}}\" ",
|
||||
"save_changes": "Változtatások mentése",
|
||||
"changes_saved": "Változtatások sikeresen mentve",
|
||||
"download_sources_description": "A Hydra lefogja tölteni a letöltési linkeket a forrásokból. Az URL forrásnak közvetlen linknek kell lennie egy .json fájlhoz, ami tartalmazza a linkeket.",
|
||||
"download_sources_description": "A Hydra lefogja tölteni a letöltési linkeket a forrásokból. Az URL Forrásnak közvetlen linknek kell lennie egy .json fájlhoz, ami tartalmazza a linkeket.",
|
||||
"validate_download_source": "Érvényesítés",
|
||||
"remove_download_source": "Eltávolítás",
|
||||
"add_download_source": "Forrás hozáadása",
|
||||
"adding": "Hozzáadás…",
|
||||
"failed_add_download_source": "Letöltési forrás hozzáadása sikertelen. Kérlek próbáld újra.",
|
||||
"download_source_already_exists": "Ez a letöltési forrás URL már létezik.",
|
||||
"download_count_zero": "Nincs letöltési opció",
|
||||
"download_count_one": "{{countFormatted}} letöltési opció",
|
||||
"download_count_other": "{{countFormatted}} letöltési opció",
|
||||
"download_source_url": "URL forrás:",
|
||||
"download_source_url": "URL Forrás:",
|
||||
"add_download_source_description": "Helyezd be a .json fájl URL-jét",
|
||||
"download_source_up_to_date": "Naprakész",
|
||||
"download_source_errored": "Hiba történt",
|
||||
"download_source_pending_matching": "Frissítés hamarosan",
|
||||
"download_source_matched": "Naprakész",
|
||||
"download_source_matching": "Frissítés..",
|
||||
"download_source_failed": "Hiba",
|
||||
"download_source_no_information": "Nincs elérhető információ",
|
||||
"sync_download_sources": "Források szinkronizálása",
|
||||
"removed_download_source": "Letöltési forrás eltávolítva",
|
||||
"removed_download_sources": "Letöltési források eltávolítva",
|
||||
"removed_all_download_sources": "Összes letöltési forrás eltávolítva",
|
||||
"download_sources_synced_successfully": "Az összes letöltési forrás szinkronizálva",
|
||||
"cancel_button_confirmation_delete_all_sources": "Nem",
|
||||
"confirm_button_confirmation_delete_all_sources": "Igen, törölj mindent",
|
||||
"title_confirmation_delete_all_sources": "Az összes letöltési forrás törlése",
|
||||
@@ -445,6 +480,7 @@
|
||||
"found_download_option_one": "{{countFormatted}} Letöltési opció találva",
|
||||
"found_download_option_other": "{{countFormatted}} Letöltési opciók találva",
|
||||
"import": "Importálás",
|
||||
"importing": "Importálás...",
|
||||
"public": "Publikus",
|
||||
"private": "Privát",
|
||||
"friends_only": "Csak barátok",
|
||||
@@ -462,6 +498,7 @@
|
||||
"seed_after_download_complete": "Letöltés utáni seedelés",
|
||||
"show_hidden_achievement_description": "Rejtett achievementek leírásának megjelenítése feloldás előtt",
|
||||
"account": "Fiók",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"no_users_blocked": "Nincsenek letiltott felhasználóid",
|
||||
"subscription_active_until": "Hydra Cloud előfizetésed aktív, eddig: {{date}}",
|
||||
"manage_subscription": "Előfizetés kezelése",
|
||||
@@ -471,11 +508,11 @@
|
||||
"no_email_account": "Még nincs beállított emailed",
|
||||
"account_data_updated_successfully": "Fiókadatok változtatása sikeres",
|
||||
"renew_subscription": "Hydra Cloud Megújítása",
|
||||
"subscription_expired_at": "Az előfizetésed lejárt, ekkor: {{date}}",
|
||||
"subscription_expired_at": "Az előfizetésed lejárt: {{date}}",
|
||||
"no_subscription": "Élvezd a Hydrát a lehető legjobb módon",
|
||||
"become_subscriber": "Légy Hydra Cloud tag",
|
||||
"subscription_renew_cancelled": "Automatikus megújítás kikapcsolva",
|
||||
"subscription_renews_on": "Az előfizetésed megújul, ekkor: {{date}}",
|
||||
"subscription_renews_on": "Az előfizetésed megújul: {{date}}",
|
||||
"bill_sent_until": "A következő számlát ezen napon küldjük",
|
||||
"no_themes": "Úgy látszik nincs egyetlen témád sem még, de ne aggódj, kattints ide hogy elkészítsd a remekművedet.",
|
||||
"editor_tab_code": "Code",
|
||||
@@ -498,14 +535,14 @@
|
||||
"cancel": "Mégsem",
|
||||
"appearance": "Megjelenés",
|
||||
"debrid": "Debrid",
|
||||
"debrid_description": "A Debrid szolgáltatások prémium szolgáltatások amelyek lehetővé teszik, hogy gyorsan letölts különböző fájltároló szolgáltatásokon tárolt fájlokat, csak az internet sebességed szab határt.",
|
||||
"debrid_description": "A Debrid szolgáltatások prémium szolgáltatások amelyek lehetővé teszik, hogy gyorsan letölts különböző fájltároló szolgáltatásokon tárolt fájlokat, és csak az internet sebességed szab határt.",
|
||||
"enable_torbox": "TorBox bekapcsolása",
|
||||
"torbox_description": "A TorBox egy olyan premium seedbox szolgáltatás, amely még a piacon elérhető legjobb szerverekkel is felveszi a versenyt.",
|
||||
"torbox_account_linked": "TorBox fiók összekapcsolva",
|
||||
"create_real_debrid_account": "Kattints ide ha még nincs Real-Debrid fiókod",
|
||||
"create_torbox_account": "Kattints ide ha még nincs TorBox fiókod",
|
||||
"real_debrid_account_linked": "Real-Debrid fiók összekapcsolva",
|
||||
"name_min_length": "A téma neve legalább 3 karakter hosszú legyen",
|
||||
"name_min_length": "A téma neve legalább 3 karakter hosszú kell legyen",
|
||||
"import_theme": "Téma importálása",
|
||||
"import_theme_description": "Ezt a témát fogod importálni a Témaáruház-ból: {{theme}}",
|
||||
"error_importing_theme": "Hiba lépett fel a téma importálása közben",
|
||||
@@ -534,8 +571,19 @@
|
||||
"platinum": "Platina",
|
||||
"hidden": "Rejtett",
|
||||
"test_notification": "Értesítés tesztelése",
|
||||
"achievement_sound_volume": "Achievement hangereje",
|
||||
"select_achievement_sound": "Achievement hang kiválasztása",
|
||||
"change_achievement_sound": "Achievement hang megváltoztatása",
|
||||
"remove_achievement_sound": "Achievement hang eltávolítása",
|
||||
"preview_sound": "Hang előnézet",
|
||||
"select": "Kiválaszt",
|
||||
"preview": "Előnézet",
|
||||
"remove": "Eltávolít",
|
||||
"no_sound_file_selected": "Nincs hangfájl kiválasztva",
|
||||
"notification_preview": "Achievement Értesítés Előnézete",
|
||||
"enable_friend_start_game_notifications": "Amikor egy barátod elkezd játszani egy játékot"
|
||||
"enable_friend_start_game_notifications": "Amikor egy barátod elkezd játszani egy játékot",
|
||||
"autoplay_trailers_on_game_page": "Játékelőzetes automatikus lejátszása a játék oldalán",
|
||||
"hide_to_tray_on_game_start": "Hydra elrejtése játék indításakor a tálcára"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Letöltés befejezve",
|
||||
@@ -563,10 +611,10 @@
|
||||
"available_one": "Elérhető",
|
||||
"available_other": "Elérhető",
|
||||
"no_downloads": "Nincs elérhető letöltés",
|
||||
"calculating": "Feldolgozás"
|
||||
"calculating": "Számítás alatt.."
|
||||
},
|
||||
"binary_not_found_modal": {
|
||||
"title": "A programok nincsenek telepítve",
|
||||
"title": "Hiányzó programok",
|
||||
"description": "Wine vagy Lutris futtatható fájlok nem találhatók a rendszereden",
|
||||
"instructions": "Ellenőrízd hogy melyiket kell helyesen telepíteni a Linux disztribúciódra, hogy a játék megfelelően fusson"
|
||||
},
|
||||
@@ -585,6 +633,7 @@
|
||||
"activity": "Legutóbbi tevékenység",
|
||||
"library": "Könyvtár",
|
||||
"pinned": "Kitűzve",
|
||||
"sort_by": "Rendezés:",
|
||||
"achievements_earned": "Elért achievementek",
|
||||
"played_recently": "Nemrég játszva",
|
||||
"playtime": "Játszottidő",
|
||||
@@ -632,7 +681,7 @@
|
||||
"no_blocked_users": "Nincs letiltott felhasználó",
|
||||
"friend_code_copied": "Barát kód kimásolva",
|
||||
"undo_friendship_modal_text": "Ezáltal megszünteted a barátságod vele: {{displayName}}",
|
||||
"privacy_hint": "Hogy beállítsd ki láthassa ezt, menj a <0>Beállítások</0> menüjébe",
|
||||
"privacy_hint": "Hogy beállítsd ki láthassa ezt, menj a <0>Beállításokba</0>",
|
||||
"locked_profile": "Ez a profil privát",
|
||||
"image_process_failure": "Hiba a kép feldolgozása közben",
|
||||
"required_field": "Ez a mező kötelező",
|
||||
@@ -650,11 +699,11 @@
|
||||
"report_reason_other": "Egyéb",
|
||||
"profile_reported": "Profil bejelentve",
|
||||
"your_friend_code": "A barát kódod:",
|
||||
"upload_banner": "Borítókép feltöltés",
|
||||
"upload_banner": "Borítókép feltöltése",
|
||||
"uploading_banner": "Borítókép feltöltése…",
|
||||
"background_image_updated": "Borítókép frissítve",
|
||||
"stats": "Statisztikák",
|
||||
"achievements": "achievementek",
|
||||
"achievements": "achievement",
|
||||
"games": "Játékok",
|
||||
"top_percentile": "Top {{percentile}}%",
|
||||
"ranking_updated_weekly": "A rangsor hetente frissül.",
|
||||
@@ -669,7 +718,31 @@
|
||||
"game_added_to_pinned": "Játék hozzáadva a kitűzöttekhez",
|
||||
"karma": "Karma",
|
||||
"karma_count": "karma",
|
||||
"karma_description": "Pozitív értékelésekre kapott pontok alapján"
|
||||
"karma_description": "Pozitív értékelésekkel szerzett pontok",
|
||||
"user_reviews": "Vélemények",
|
||||
"delete_review": "Vélemény Törlése",
|
||||
"loading_reviews": "Vélemények betöltése..."
|
||||
},
|
||||
"library": {
|
||||
"library": "Könyvtár",
|
||||
"play": "Játék",
|
||||
"download": "Letöltés",
|
||||
"downloading": "Letöltés..",
|
||||
"game": "játék",
|
||||
"games": "játékok",
|
||||
"grid_view": "Rács nézet",
|
||||
"compact_view": "Kompakt nézet",
|
||||
"large_view": "Nagy nézet",
|
||||
"no_games_title": "A könyvtárad üres",
|
||||
"no_games_description": "Adj játékokat a katalógusból hozzá vagy töltsd le őket hogy bele vágj",
|
||||
"amount_hours": "{{amount}} óra",
|
||||
"amount_minutes": "{{amount}} perc",
|
||||
"amount_hours_short": "{{amount}}ó",
|
||||
"amount_minutes_short": "{{amount}}p",
|
||||
"manual_playtime_tooltip": "Ez a játszottidő manuálisan lett frissítve",
|
||||
"all_games": "Összes Játék",
|
||||
"recently_played": "Nemrég Játszva",
|
||||
"favorites": "Kedvencek"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Achievement feloldva",
|
||||
@@ -678,7 +751,7 @@
|
||||
"unlocked_at": "Feloldva: {{date}}",
|
||||
"subscription_needed": "A tartalom megtekintéséhez Hydra Cloud előfizetés szükséges",
|
||||
"new_achievements_unlocked": "{{achievementCount}} új achievement feloldva {{gameCount}} játékban",
|
||||
"achievement_progress": "{{unlockedCount}}/{{totalCount}} achievementek",
|
||||
"achievement_progress": "{{unlockedCount}}/{{totalCount}} achievement",
|
||||
"achievements_unlocked_for_game": "{{achievementCount}} új achievement feloldva itt: {{gameTitle}}",
|
||||
"hidden_achievement_tooltip": "Ez egy rejtett achievement",
|
||||
"achievement_earn_points": "Szerezz be {{points}} pontot ezzel az achievement-el",
|
||||
|
||||
@@ -26,7 +26,9 @@ import nb from "./nb/translation.json";
|
||||
import et from "./et/translation.json";
|
||||
import bg from "./bg/translation.json";
|
||||
import uz from "./uz/translation.json";
|
||||
import fi from "./fi/translation.json";
|
||||
import sv from "./sv/translation.json";
|
||||
import lv from "./lv/translation.json";
|
||||
|
||||
export default {
|
||||
"pt-BR": ptBR,
|
||||
@@ -49,6 +51,7 @@ export default {
|
||||
da,
|
||||
ar,
|
||||
fa,
|
||||
fi,
|
||||
ro,
|
||||
ca,
|
||||
bg,
|
||||
@@ -58,4 +61,5 @@ export default {
|
||||
et,
|
||||
uz,
|
||||
sv,
|
||||
lv,
|
||||
};
|
||||
|
||||
708
src/locales/lv/translation.json
Normal file
708
src/locales/lv/translation.json
Normal file
@@ -0,0 +1,708 @@
|
||||
{
|
||||
"language_name": "Latviešu",
|
||||
"app": {
|
||||
"successfully_signed_in": "Veiksmīga pieteikšanās"
|
||||
},
|
||||
"home": {
|
||||
"surprise_me": "Pārsteidz mani",
|
||||
"no_results": "Nekas nav atrasts",
|
||||
"start_typing": "Sākt rakstīt...",
|
||||
"hot": "Šobrīd populārs",
|
||||
"weekly": "📅 Nedēļas labākās spēles",
|
||||
"achievements": "🏆 Spēles ar sasniegumiem"
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Katalogs",
|
||||
"downloads": "Lejupielādes",
|
||||
"settings": "Iestatījumi",
|
||||
"my_library": "Bibliotēka",
|
||||
"downloading_metadata": "{{title}} (Lejupielādē metadatus…)",
|
||||
"paused": "{{title}} (Apturēts)",
|
||||
"downloading": "{{title}} ({{percentage}} - Lejupielādē…)",
|
||||
"filter": "Meklēt",
|
||||
"home": "Sākums",
|
||||
"queued": "{{title}} (Rindā)",
|
||||
"game_has_no_executable": "Spēles palaišanas fails nav izvēlēts",
|
||||
"sign_in": "Pieteikties",
|
||||
"friends": "Draugi",
|
||||
"need_help": "Nepieciešama palīdzība?",
|
||||
"favorites": "Izlase",
|
||||
"playable_button_title": "Rādīt tikai instalētās spēles.",
|
||||
"add_custom_game_tooltip": "Pievienot pielāgotu spēli",
|
||||
"show_playable_only_tooltip": "Rādīt tikai spēlēšanai pieejamās",
|
||||
"custom_game_modal": "Pievienot pielāgotu spēli",
|
||||
"custom_game_modal_description": "Pievienojiet pielāgotu spēli bibliotēkai, izvēloties izpildāmo failu",
|
||||
"custom_game_modal_executable_path": "Ceļš uz izpildāmo failu",
|
||||
"custom_game_modal_select_executable": "Izvēlieties izpildāmo failu",
|
||||
"custom_game_modal_title": "Spēles nosaukums",
|
||||
"custom_game_modal_enter_title": "Ievadiet spēles nosaukumu",
|
||||
"custom_game_modal_browse": "Pārlūkot",
|
||||
"custom_game_modal_cancel": "Atcelt",
|
||||
"custom_game_modal_add": "Pievienot spēli",
|
||||
"custom_game_modal_adding": "Pievieno spēli...",
|
||||
"custom_game_modal_success": "Pielāgota spēle veiksmīgi pievienota",
|
||||
"custom_game_modal_failed": "Neizdevās pievienot pielāgotu spēli",
|
||||
"custom_game_modal_executable": "Izpildāmais fails",
|
||||
"edit_game_modal": "Konfigurēt resursus",
|
||||
"edit_game_modal_description": "Konfigurējiet spēles resursus un detaļas",
|
||||
"edit_game_modal_title": "Nosaukums",
|
||||
"edit_game_modal_enter_title": "Ievadiet nosaukumu",
|
||||
"edit_game_modal_image": "Attēls",
|
||||
"edit_game_modal_select_image": "Izvēlieties attēlu",
|
||||
"edit_game_modal_browse": "Pārlūkot",
|
||||
"edit_game_modal_image_preview": "Attēla priekšskatījums",
|
||||
"edit_game_modal_icon": "Ikona",
|
||||
"edit_game_modal_select_icon": "Izvēlieties ikonu",
|
||||
"edit_game_modal_icon_preview": "Ikona priekšskatījums",
|
||||
"edit_game_modal_logo": "Logotips",
|
||||
"edit_game_modal_select_logo": "Izvēlieties logotipu",
|
||||
"edit_game_modal_logo_preview": "Logotipa priekšskatījums",
|
||||
"edit_game_modal_hero": "Vāka attēls",
|
||||
"edit_game_modal_select_hero": "Izvēlieties spēles vāka attēlu",
|
||||
"edit_game_modal_hero_preview": "Spēles vāka attēla priekšskatījums",
|
||||
"edit_game_modal_cancel": "Atcelt",
|
||||
"edit_game_modal_update": "Atjaunināt",
|
||||
"edit_game_modal_updating": "Atjaunina...",
|
||||
"edit_game_modal_fill_required": "Lūdzu, aizpildiet visus obligātos laukus",
|
||||
"edit_game_modal_success": "Resursi veiksmīgi atjaunināti",
|
||||
"edit_game_modal_failed": "Neizdevās atjaunināt resursus",
|
||||
"edit_game_modal_image_filter": "Attēls",
|
||||
"edit_game_modal_icon_resolution": "Ieteicamā izšķirtspēja: 256x256px",
|
||||
"edit_game_modal_logo_resolution": "Ieteicamā izšķirtspēja: 640x360px",
|
||||
"edit_game_modal_hero_resolution": "Ieteicamā izšķirtspēja: 1920x620px",
|
||||
"edit_game_modal_assets": "Resursi",
|
||||
"edit_game_modal_drop_icon_image_here": "Ievelciet ikonas attēlu šeit",
|
||||
"edit_game_modal_drop_logo_image_here": "Ievelciet logotipa attēlu šeit",
|
||||
"edit_game_modal_drop_hero_image_here": "Ievelciet vāka attēlu šeit",
|
||||
"edit_game_modal_drop_to_replace_icon": "Ievelciet, lai aizstātu ikonu",
|
||||
"edit_game_modal_drop_to_replace_logo": "Ievelciet, lai aizstātu logotipu",
|
||||
"edit_game_modal_drop_to_replace_hero": "Ievelciet, lai aizstātu vāku",
|
||||
"install_decky_plugin": "Instalēt Decky spraudni",
|
||||
"update_decky_plugin": "Atjaunināt Decky spraudni",
|
||||
"decky_plugin_installed_version": "Decky spraudnis (v{{version}})",
|
||||
"install_decky_plugin_title": "Instalēt Hydra Decky spraudni",
|
||||
"install_decky_plugin_message": "Tas lejupielādēs un instalēs Hydra spraudni Decky Loader. Var būt nepieciešamas paaugstinātas atļaujas. Turpināt?",
|
||||
"update_decky_plugin_title": "Atjaunināt Hydra Decky spraudni",
|
||||
"update_decky_plugin_message": "Ir pieejama jauna Hydra Decky spraudņa versija. Vai vēlaties to atjaunināt tagad?",
|
||||
"decky_plugin_installed": "Decky spraudnis v{{version}} veiksmīgi instalēts",
|
||||
"decky_plugin_installation_failed": "Neizdevās instalēt Decky spraudni: {{error}}",
|
||||
"decky_plugin_installation_error": "Decky spraudņa instalēšanas kļūda: {{error}}",
|
||||
"confirm": "Apstiprināt",
|
||||
"cancel": "Atcelt"
|
||||
},
|
||||
"header": {
|
||||
"search": "Meklēt",
|
||||
"home": "Sākums",
|
||||
"catalogue": "Katalogs",
|
||||
"downloads": "Lejupielādes",
|
||||
"search_results": "Meklēšanas rezultāti",
|
||||
"settings": "Iestatījumi",
|
||||
"version_available_install": "Pieejama versija {{version}}. Noklikšķiniet šeit, lai instalētu.",
|
||||
"version_available_download": "Pieejama versija {{version}}. Noklikšķiniet šeit, lai lejupielādētu."
|
||||
},
|
||||
"bottom_panel": {
|
||||
"no_downloads_in_progress": "Nav aktīvu lejupielāžu",
|
||||
"downloading_metadata": "Lejupielādē metadatus {{title}}…",
|
||||
"downloading": "Lejupielādē {{title}}… ({{percentage}} pabeigts) - Beigsies {{eta}} - {{speed}}",
|
||||
"calculating_eta": "Lejupielādē {{title}}… ({{percentage}} pabeigts) - Aprēķina atlikušo laiku…",
|
||||
"checking_files": "Pārbauda failus {{title}}… ({{percentage}} pabeigts)",
|
||||
"installing_common_redist": "{{log}}…",
|
||||
"installation_complete": "Instalēšana pabeigta",
|
||||
"installation_complete_message": "Bibliotēkas veiksmīgi instalētas"
|
||||
},
|
||||
"catalogue": {
|
||||
"search": "Filtrs…",
|
||||
"developers": "Izstrādātāji",
|
||||
"genres": "Žanri",
|
||||
"tags": "Atzīmes",
|
||||
"publishers": "Izdevēji",
|
||||
"download_sources": "Lejupielādes avoti",
|
||||
"result_count": "{{resultCount}} rezultāti",
|
||||
"filter_count": "{{filterCount}} pieejami",
|
||||
"clear_filters": "Notīrīt {{filterCount}} atlasītos"
|
||||
},
|
||||
"game_details": {
|
||||
"open_download_options": "Atvērt avotus",
|
||||
"download_options_zero": "Nav avotu",
|
||||
"download_options_one": "{{count}} avots",
|
||||
"download_options_other": "{{count}} avoti",
|
||||
"updated_at": "Atjaunināts {{updated_at}}",
|
||||
"install": "Instalēt",
|
||||
"resume": "Atsākt",
|
||||
"pause": "Apturēt",
|
||||
"cancel": "Atcelt",
|
||||
"remove": "Dzēst",
|
||||
"space_left_on_disk": "{{space}} brīvs diskā",
|
||||
"eta": "Beigsies {{eta}}",
|
||||
"calculating_eta": "Aprēķina atlikušo laiku…",
|
||||
"downloading_metadata": "Lejupielādē metadatus…",
|
||||
"filter": "Meklēt repakus",
|
||||
"requirements": "Sistēmas prasības",
|
||||
"minimum": "Minimālās",
|
||||
"recommended": "Ieteicamās",
|
||||
"paused": "Apturēts",
|
||||
"release_date": "Izdots {{date}}",
|
||||
"publisher": "Izdevējs {{publisher}}",
|
||||
"hours": "stundas",
|
||||
"minutes": "minūtes",
|
||||
"amount_hours": "{{amount}} stundas",
|
||||
"amount_minutes": "{{amount}} minūtes",
|
||||
"accuracy": "precizitāte {{accuracy}}%",
|
||||
"add_to_library": "Pievienot bibliotēkai",
|
||||
"already_in_library": "Jau bibliotēkā",
|
||||
"remove_from_library": "Dzēst no bibliotēkas",
|
||||
"no_downloads": "Nav pieejamu avotu",
|
||||
"play_time": "Spēlēts {{amount}}",
|
||||
"last_time_played": "Pēdējo reizi spēlēts {{period}}",
|
||||
"not_played_yet": "Jūs vēl neesat spēlējis {{title}}",
|
||||
"next_suggestion": "Nākamais ieteikums",
|
||||
"play": "Spēlēt",
|
||||
"deleting": "Dzēš instalētāju…",
|
||||
"close": "Aizvērt",
|
||||
"playing_now": "Palaists",
|
||||
"change": "Mainīt",
|
||||
"repacks_modal_description": "Izvēlieties repaku lejupielādei",
|
||||
"select_folder_hint": "Lai mainītu noklusējuma lejupielāžu mapi, atveriet <0>Iestatījumus</0>",
|
||||
"download_now": "Lejupielādēt tagad",
|
||||
"no_shop_details": "Neizdevās iegūt aprakstu",
|
||||
"download_options": "Avoti",
|
||||
"download_path": "Ceļš lejupielādēm",
|
||||
"previous_screenshot": "Iepriekšējais ekrānuzņēmums",
|
||||
"next_screenshot": "Nākamais ekrānuzņēmums",
|
||||
"screenshot": "Ekrānuzņēmums {{number}}",
|
||||
"open_screenshot": "Atvērt ekrānuzņēmumu {{number}}",
|
||||
"download_settings": "Lejupielādes parametri",
|
||||
"downloader": "Lejupielādētājs",
|
||||
"select_executable": "Izvēlēties",
|
||||
"no_executable_selected": "Fails nav izvēlēts",
|
||||
"open_folder": "Atvērt mapi",
|
||||
"open_download_location": "Pārlūkot lejupielādes mapi",
|
||||
"create_shortcut": "Izveidot īsceļu uz darbvirsmas",
|
||||
"create_shortcut_simple": "Izveidot īsceļu",
|
||||
"clear": "Notīrīt",
|
||||
"remove_files": "Dzēst failus",
|
||||
"remove_from_library_title": "Vai esat pārliecināts?",
|
||||
"remove_from_library_description": "{{game}} tiks dzēsta no jūsu bibliotēkas.",
|
||||
"options": "Iestatījumi",
|
||||
"properties": "Īpašības",
|
||||
"executable_section_title": "Fails",
|
||||
"executable_section_description": "Ceļš uz failu, kas tiks palaists, nospiežot \"Spēlēt\"",
|
||||
"downloads_section_title": "Lejupielādes",
|
||||
"downloads_section_description": "Pārbaudīt atjauninājumu vai citu spēles versiju pieejamību",
|
||||
"danger_zone_section_title": "Bīstamā zona",
|
||||
"danger_zone_section_description": "Jūs varat dzēst šo spēli no savas bibliotēkas vai failus, kas lejupielādēti no Hydra",
|
||||
"download_in_progress": "Notiek lejupielāde",
|
||||
"download_paused": "Lejupielāde apturēta",
|
||||
"last_downloaded_option": "Pēdējais lejupielādes variants",
|
||||
"create_steam_shortcut": "Izveidot Steam īsceļu",
|
||||
"create_shortcut_success": "Īsceļš izveidots",
|
||||
"you_might_need_to_restart_steam": "Iespējams, jums būs jāpārstartē Steam, lai redzētu izmaiņas",
|
||||
"create_shortcut_error": "Neizdevās izveidot īsceļu",
|
||||
"add_to_favorites": "Pievienot izlasei",
|
||||
"remove_from_favorites": "Dzēst no izlases",
|
||||
"failed_update_favorites": "Neizdevās atjaunināt izlasi",
|
||||
"game_removed_from_library": "Spēle dzēsta no bibliotēkas",
|
||||
"failed_remove_from_library": "Neizdevās dzēst no bibliotēkas",
|
||||
"files_removed_success": "Faili veiksmīgi dzēsti",
|
||||
"failed_remove_files": "Neizdevās dzēst failus",
|
||||
"nsfw_content_title": "Šajā spēlē ir nepiemērots saturs",
|
||||
"nsfw_content_description": "{{title}} satur saturu, kas var nebūt piemērots visiem vecumiem. \nVai esat pārliecināts, ka vēlaties turpināt?",
|
||||
"allow_nsfw_content": "Turpināt",
|
||||
"refuse_nsfw_content": "Atpakaļ",
|
||||
"stats": "Statistika",
|
||||
"download_count": "Lejupielādes",
|
||||
"player_count": "Aktīvie spēlētāji",
|
||||
"download_error": "Šis lejupielādes variants nav pieejams",
|
||||
"download": "Lejupielādēt",
|
||||
"executable_path_in_use": "Izpildāmais fails jau tiek izmantots \"{{game}}\"",
|
||||
"warning": "Uzmanību:",
|
||||
"hydra_needs_to_remain_open": "Lai veiktu šo lejupielādi, Hydra jāpaliek atvērtai līdz beigām. Ja Hydra aizvērsies pirms pabeigšanas, jūs zaudēsiet progresu.",
|
||||
"achievements": "Sasniegumi",
|
||||
"achievements_count": "Sasniegumi {{unlockedCount}}/{{achievementsCount}}",
|
||||
"show_more": "Rādīt vairāk",
|
||||
"show_less": "Rādīt mazāk",
|
||||
"reviews": "Atsauksmes",
|
||||
"leave_a_review": "Atstāt atsauksmi",
|
||||
"write_review_placeholder": "Dalieties savās domās par šo spēli...",
|
||||
"sort_newest": "Vispirms jaunākās",
|
||||
"no_reviews_yet": "Pagaidām nav atsauksmju",
|
||||
"be_first_to_review": "Esiet pirmais, kurš dalīsies savās domās par šo spēli!",
|
||||
"sort_oldest": "Vispirms vecākās",
|
||||
"sort_highest_score": "Augstākais vērtējums",
|
||||
"sort_lowest_score": "Zemākais vērtējums",
|
||||
"sort_most_voted": "Vispopulārākās",
|
||||
"rating": "Vērtējums",
|
||||
"rating_stats": "Vērtējums",
|
||||
"rating_very_negative": "Ļoti negatīvs",
|
||||
"rating_negative": "Negatīvs",
|
||||
"rating_neutral": "Neitrāls",
|
||||
"rating_positive": "Pozitīvs",
|
||||
"rating_very_positive": "Ļoti pozitīvs",
|
||||
"submit_review": "Iesniegt",
|
||||
"submitting": "Iesniegšana...",
|
||||
"review_submitted_successfully": "Atsauksme veiksmīgi iesniegta!",
|
||||
"review_submission_failed": "Neizdevās iesniegt atsauksmi. Lūdzu, mēģiniet vēlreiz.",
|
||||
"review_cannot_be_empty": "Atsauksmes teksta lauks nevar būt tukšs.",
|
||||
"review_deleted_successfully": "Atsauksme veiksmīgi dzēsta.",
|
||||
"review_deletion_failed": "Neizdevās dzēst atsauksmi. Lūdzu, mēģiniet vēlreiz.",
|
||||
"loading_reviews": "Ielādē atsauksmes...",
|
||||
"loading_more_reviews": "Ielādē papildu atsauksmes...",
|
||||
"load_more_reviews": "Ielādēt vairāk atsauksmju",
|
||||
"you_seemed_to_enjoy_this_game": "Šķiet, jums patika šī spēle",
|
||||
"would_you_recommend_this_game": "Vai vēlaties atstāt atsauksmi par šo spēli?",
|
||||
"yes": "Jā",
|
||||
"maybe_later": "Varbūt vēlāk",
|
||||
"rating_count": "Vērtējums",
|
||||
"delete_review": "Dzēst atsauksmi",
|
||||
"remove_review": "Dzēst atsauksmi",
|
||||
"delete_review_modal_title": "Vai esat pārliecināts, ka vēlaties dzēst savu atsauksmi?",
|
||||
"delete_review_modal_description": "Šo darbību nevar atsaukt.",
|
||||
"delete_review_modal_delete_button": "Dzēst",
|
||||
"delete_review_modal_cancel_button": "Atcelt",
|
||||
"show_original": "Rādīt oriģinālu",
|
||||
"show_translation": "Rādīt tulkojumu",
|
||||
"show_original_translated_from": "Rādīt oriģinālu (tulkot no {{language}})",
|
||||
"hide_original": "Slēpt oriģinālu",
|
||||
"cloud_save": "Mākoņglabāšana",
|
||||
"cloud_save_description": "Glabājiet savu progresu mākonī un turpiniet spēlēt jebkurā ierīcē",
|
||||
"backups": "Rezerves kopijas",
|
||||
"install_backup": "Instalēt",
|
||||
"delete_backup": "Dzēst",
|
||||
"create_backup": "Izveidot jaunu rezerves kopiju",
|
||||
"last_backup_date": "Pēdējā rezerves kopija no {{date}}",
|
||||
"no_backup_preview": "Šim nosaukumam saglabājumi nav atrasti",
|
||||
"restoring_backup": "Atjauno rezerves kopiju ({{progress}} pabeigts)…",
|
||||
"uploading_backup": "Augšupielādē rezerves kopiju…",
|
||||
"no_backups": "Jūs vēl neesat izveidojis rezerves kopijas šai spēlei",
|
||||
"backup_uploaded": "Rezerves kopija augšupielādēta",
|
||||
"backup_failed": "Rezerves kopēšanas kļūda",
|
||||
"backup_deleted": "Rezerves kopija dzēsta",
|
||||
"backup_restored": "Rezerves kopija atjaunota",
|
||||
"see_all_achievements": "Skatīt visus sasniegumus",
|
||||
"sign_in_to_see_achievements": "Piesakieties, lai redzētu sasniegumus",
|
||||
"mapping_method_automatic": "Automātiska",
|
||||
"mapping_method_manual": "Manuāla",
|
||||
"mapping_method_label": "Kartēšanas metode",
|
||||
"files_automatically_mapped": "Faili automātiski kartēti",
|
||||
"no_backups_created": "Šai spēlei nav izveidotas rezerves kopijas",
|
||||
"manage_files": "Failu pārvaldība",
|
||||
"loading_save_preview": "Meklē saglabājumus…",
|
||||
"wine_prefix": "Wine prefikss",
|
||||
"wine_prefix_description": "Wine prefikss, ko izmanto šīs spēles palaišanai",
|
||||
"launch_options": "Palaišanas parametri",
|
||||
"launch_options_description": "Pieredzējuši lietotāji var veikt izmaiņas palaišanas parametros",
|
||||
"launch_options_placeholder": "Parametrs nav norādīts",
|
||||
"no_download_option_info": "Informācija nav pieejama",
|
||||
"backup_deletion_failed": "Neizdevās dzēst rezerves kopiju",
|
||||
"max_number_of_artifacts_reached": "Sasniegts maksimālais rezerves kopiju skaits šai spēlei",
|
||||
"achievements_not_sync": "Jūsu sasniegumi nav sinhronizēti",
|
||||
"manage_files_description": "Pārvaldiet failus, kas tiks saglabāti un atjaunoti",
|
||||
"select_folder": "Izvēlēties mapi",
|
||||
"backup_from": "Rezerves kopija no {{date}}",
|
||||
"automatic_backup_from": "Automātiska rezerves kopija no {{date}}",
|
||||
"enable_automatic_cloud_sync": "Iespējot automātisku sinhronizāciju mākonī",
|
||||
"custom_backup_location_set": "Iestatīta pielāgota rezerves kopēšanas vieta",
|
||||
"no_directory_selected": "Nav izvēlēts katalogs",
|
||||
"no_write_permission": "Nevar augšupielādēt šajā direktorijā. Noklikšķiniet šeit, lai uzzinātu vairāk.",
|
||||
"reset_achievements": "Atiestatīt sasniegumus",
|
||||
"reset_achievements_description": "Tas atiestatīs visus sasniegumus {{game}} spēlei",
|
||||
"reset_achievements_title": "Vai esat pārliecināts?",
|
||||
"reset_achievements_success": "Sasniegumi veiksmīgi atiestatīti",
|
||||
"reset_achievements_error": "Neizdevās atiestatīt sasniegumus",
|
||||
"download_error_gofile_quota_exceeded": "Jūs pārsniedzāt Gofile mēneša kvotu. Lūdzu, uzgaidiet, kamēr kvota tiks atjaunota.",
|
||||
"download_error_real_debrid_account_not_authorized": "Jūsu Real-Debrid konts nav autorizēts jaunām lejupielādēm. Lūdzu, pārbaudiet konta iestatījumus un mēģiniet vēlreiz.",
|
||||
"download_error_not_cached_on_real_debrid": "Šī lejupielāde nav pieejama Real-Debrid, un Real-Debrid lejupielādes statusu pagaidām nav iespējams iegūt.",
|
||||
"update_playtime_title": "Atjaunināt spēles laiku",
|
||||
"update_playtime_description": "Manuāli atjauniniet spēles laiku {{game}} spēlei",
|
||||
"update_playtime": "Atjaunināt spēles laiku",
|
||||
"update_playtime_success": "Spēles laiks veiksmīgi atjaunināts",
|
||||
"update_playtime_error": "Neizdevās atjaunināt spēles laiku",
|
||||
"update_game_playtime": "Atjaunināt spēles laiku",
|
||||
"manual_playtime_warning": "Jūsu stundas tiks atzīmētas kā manuāli atjauninātas. Šo darbību nevar atcelt.",
|
||||
"manual_playtime_tooltip": "Šis spēles laiks tika atjaunināts manuāli",
|
||||
"download_error_not_cached_on_torbox": "Šī lejupielāde nav pieejama TorBox, un TorBox lejupielādes statusu pagaidām nav iespējams iegūt.",
|
||||
"download_error_not_cached_on_hydra": "Šī lejupielāde nav pieejama Nimbus.",
|
||||
"game_removed_from_favorites": "Spēle dzēsta no izlases",
|
||||
"game_added_to_favorites": "Spēle pievienota izlasei",
|
||||
"game_removed_from_pinned": "Spēle dzēsta no piespraustajiem",
|
||||
"game_added_to_pinned": "Spēle pievienota piespraustajiem",
|
||||
"automatically_extract_downloaded_files": "Automātiska lejupielādēto failu izpakošana",
|
||||
"create_start_menu_shortcut": "Izveidot saīsni sākuma izvēlnē",
|
||||
"invalid_wine_prefix_path": "Nederīgs Wine prefiksa ceļš",
|
||||
"invalid_wine_prefix_path_description": "Wine prefiksa ceļš nav derīgs. Lūdzu, pārbaudiet ceļu un mēģiniet vēlreiz.",
|
||||
"missing_wine_prefix": "Wine prefikss ir nepieciešams, lai izveidotu rezerves kopiju Linux vidē",
|
||||
"artifact_renamed": "Rezerves kopija veiksmīgi pārsaukta",
|
||||
"rename_artifact": "Pārsaukt rezerves kopiju",
|
||||
"rename_artifact_description": "Pārsauciet rezerves kopiju, piešķirot tai aprakstošāku nosaukumu.",
|
||||
"artifact_name_label": "Rezerves kopijas nosaukums",
|
||||
"artifact_name_placeholder": "Ievadiet nosaukumu rezerves kopijai",
|
||||
"save_changes": "Saglabāt izmaiņas",
|
||||
"required_field": "Šis lauks ir obligāts",
|
||||
"max_length_field": "Šim laukam jābūt mazāk par {{length}} simboliem",
|
||||
"freeze_backup": "Piespraust, lai to nepārrakstītu automātiskās rezerves kopijas",
|
||||
"unfreeze_backup": "Atspraust",
|
||||
"backup_frozen": "Rezerves kopija piesprausta",
|
||||
"backup_unfrozen": "Rezerves kopija atsprausta",
|
||||
"backup_freeze_failed": "Neizdevās piespraust rezerves kopiju",
|
||||
"backup_freeze_failed_description": "Jums jāatstāj vismaz viens brīvs slots automātiskajām rezerves kopijām",
|
||||
"edit_game_modal_button": "Rediģēt spēles detaļas",
|
||||
"game_details": "Spēles detaļas",
|
||||
"currency_symbol": "₽",
|
||||
"currency_country": "ru",
|
||||
"prices": "Cenas",
|
||||
"no_prices_found": "Cenas nav atrastas",
|
||||
"view_all_prices": "Noklikšķiniet, lai skatītu visas cenas",
|
||||
"retail_price": "Mazumtirdzniecības cena",
|
||||
"keyshop_price": "Atslēgu veikala cena",
|
||||
"historical_retail": "Vēsturiskās mazumtirdzniecības cenas",
|
||||
"historical_keyshop": "Vēsturiskās atslēgu veikalu cenas",
|
||||
"language": "Valoda",
|
||||
"caption": "Subtitri",
|
||||
"audio": "Audio",
|
||||
"filter_by_source": "Filtrēt pēc avota",
|
||||
"no_repacks_found": "Avoti šai spēlei nav atrasti"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Aktivizēt Hydra",
|
||||
"installation_id": "Instalācijas ID:",
|
||||
"enter_activation_code": "Ievadiet savu aktivizācijas kodu",
|
||||
"message": "Ja nezināt, kur to pieprasīt, jums to nevajadzētu būt.",
|
||||
"activate": "Aktivizēt",
|
||||
"loading": "Ielādēšana…"
|
||||
},
|
||||
"downloads": {
|
||||
"resume": "Atsākt",
|
||||
"pause": "Apturēt",
|
||||
"eta": "Beigsies {{eta}}",
|
||||
"paused": "Apturēts",
|
||||
"verifying": "Pārbauda…",
|
||||
"completed": "Pabeigts",
|
||||
"removed": "Nav lejupielādēts",
|
||||
"cancel": "Atcelt",
|
||||
"filter": "Meklēt lejupielādētās spēles",
|
||||
"remove": "Dzēst",
|
||||
"downloading_metadata": "Lejupielādē metadatus…",
|
||||
"deleting": "Dzēš instalētāju…",
|
||||
"delete": "Dzēst instalētāju",
|
||||
"delete_modal_title": "Vai esat pārliecināts?",
|
||||
"delete_modal_description": "Tas dzēsīs visus instalētājus no jūsu datora",
|
||||
"install": "Instalēt",
|
||||
"download_in_progress": "Procesā",
|
||||
"queued_downloads": "Lejupielādes rindā",
|
||||
"downloads_completed": "Pabeigts",
|
||||
"queued": "Rindā",
|
||||
"no_downloads_title": "Šeit ir tik tukšs...",
|
||||
"no_downloads_description": "Jūs vēl neko neesat lejupielādējis, izmantojot Hydra, bet nekad nav par vēlu sākt.",
|
||||
"checking_files": "Pārbauda failus…",
|
||||
"seeding": "Sēdēšana",
|
||||
"stop_seeding": "Apturēt sēdēšanu",
|
||||
"resume_seeding": "Turpināt sēdēšanu",
|
||||
"options": "Pārvaldīt",
|
||||
"extract": "Izpakot failus",
|
||||
"extracting": "Izpako failus…"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Lejupielāžu ceļš",
|
||||
"change": "Mainīt",
|
||||
"notifications": "Paziņojumi",
|
||||
"enable_download_notifications": "Pēc lejupielādes pabeigšanas",
|
||||
"enable_repack_list_notifications": "Pievienojot jaunu repaku",
|
||||
"real_debrid_api_token_label": "Real-Debrid API-atslēga",
|
||||
"quit_app_instead_hiding": "Aizvērt lietotni, nevis minimizēt uz paplātes",
|
||||
"launch_with_system": "Palaist Hydra kopā ar sistēmu",
|
||||
"general": "Vispārīgi",
|
||||
"behavior": "Uzvedība",
|
||||
"download_sources": "Lejupielādes avoti",
|
||||
"language": "Valoda",
|
||||
"api_token": "API atslēga",
|
||||
"enable_real_debrid": "Iespējot Real-Debrid",
|
||||
"real_debrid_description": "Real-Debrid ir neierobežots lejupielādētājs, kas ļauj ātri lejupielādēt failus, kas izvietoti internetā, vai uzreiz pārsūtīt tos uz atskaņotāju, izmantojot privātu tīklu, kas ļauj apiet jebkādus bloķējumus.",
|
||||
"debrid_invalid_token": "Nederīga API atslēga",
|
||||
"debrid_api_token_hint": "API atslēgu var iegūt <0>šeit</0>",
|
||||
"real_debrid_free_account_error": "Kontam \"{{username}}\" nav abonementa. Lūdzu, iegādājieties Real-Debrid abonementu",
|
||||
"debrid_linked_message": "Piesaistīts konts \"{{username}}\"",
|
||||
"save_changes": "Saglabāt izmaiņas",
|
||||
"changes_saved": "Izmaiņas veiksmīgi saglabātas",
|
||||
"download_sources_description": "Hydra saņems lejupielādes saites no šiem avotiem. URL jāietver tieša saite uz .json failu ar lejupielādes saitēm.",
|
||||
"validate_download_source": "Pārbaudīt",
|
||||
"remove_download_source": "Dzēst",
|
||||
"add_download_source": "Pievienot avotu",
|
||||
"download_count_zero": "Sarakstā nav lejupielāžu",
|
||||
"download_count_one": "{{countFormatted}} lejupielāde sarakstā",
|
||||
"download_count_other": "{{countFormatted}} lejupielādes sarakstā",
|
||||
"download_source_url": "Saite uz avotu",
|
||||
"add_download_source_description": "Ievietojiet saiti uz .json failu",
|
||||
"download_source_up_to_date": "Atjaunināts",
|
||||
"download_source_errored": "Kļūda",
|
||||
"sync_download_sources": "Atjaunināt avotus",
|
||||
"removed_download_source": "Avots dzēsts",
|
||||
"removed_download_sources": "Avoti dzēsti",
|
||||
"cancel_button_confirmation_delete_all_sources": "Nē",
|
||||
"confirm_button_confirmation_delete_all_sources": "Jā, dzēst visus",
|
||||
"title_confirmation_delete_all_sources": "Dzēst visus avotus",
|
||||
"description_confirmation_delete_all_sources": "Jūs dzēsīsiet visus avotus",
|
||||
"button_delete_all_sources": "Dzēst visus avotus",
|
||||
"added_download_source": "Avots pievienots",
|
||||
"download_sources_synced": "Visi avoti atjaunināti",
|
||||
"insert_valid_json_url": "Ievietojiet derīgu JSON faila URL",
|
||||
"found_download_option_zero": "Nav atrasts lejupielādes variantu",
|
||||
"found_download_option_one": "Atrasts {{countFormatted}} lejupielādes variants",
|
||||
"found_download_option_other": "Atrasti {{countFormatted}} lejupielādes varianti",
|
||||
"import": "Importēt",
|
||||
"importing": "Importē...",
|
||||
"public": "Publisks",
|
||||
"private": "Privāts",
|
||||
"friends_only": "Tikai draugiem",
|
||||
"privacy": "Konfidencialitāte",
|
||||
"profile_visibility": "Profila redzamība",
|
||||
"profile_visibility_description": "Izvēlieties, kurš var redzēt jūsu profilu un bibliotēku",
|
||||
"required_field": "Šis lauks ir obligāts",
|
||||
"source_already_exists": "Šis avots jau ir pievienots",
|
||||
"must_be_valid_url": "Avotam jābūt pareizam URL",
|
||||
"blocked_users": "Bloķētie lietotāji",
|
||||
"user_unblocked": "Lietotājs atbloķēts",
|
||||
"enable_achievement_notifications": "Kad sasniegums ir atbloķēts",
|
||||
"launch_minimized": "Palaist Hydra minimizētā veidā",
|
||||
"disable_nsfw_alert": "Atspējot brīdinājumu par neķītru saturu",
|
||||
"seed_after_download_complete": "Sēdēt pēc lejupielādes pabeigšanas",
|
||||
"show_hidden_achievement_description": "Rādīt slēpto sasniegumu aprakstu pirms to iegūšanas",
|
||||
"account": "Konts",
|
||||
"no_users_blocked": "Jums nav bloķētu lietotāju",
|
||||
"subscription_active_until": "Jūsu Hydra Cloud abonements ir aktīvs līdz {{date}}",
|
||||
"manage_subscription": "Pārvaldīt abonementu",
|
||||
"update_email": "Atjaunināt e-pastu",
|
||||
"update_password": "Atjaunināt paroli",
|
||||
"current_email": "Pašreizējais e-pasts:",
|
||||
"no_email_account": "Jūs vēl neesat iestatījis e-pastu",
|
||||
"account_data_updated_successfully": "Konta dati veiksmīgi atjaunināti",
|
||||
"renew_subscription": "Atjaunot Hydra Cloud abonementu",
|
||||
"subscription_expired_at": "Jūsu abonementa termiņš beidzās {{date}}",
|
||||
"no_subscription": "Izbaudiet Hydra pilnībā",
|
||||
"become_subscriber": "Kļūstiet par Hydra Cloud īpašnieku",
|
||||
"subscription_renew_cancelled": "Automātiskā atjaunošana atspējota",
|
||||
"subscription_renews_on": "Jūsu abonements tiek atjaunots {{date}}",
|
||||
"bill_sent_until": "Jūsu nākamais rēķins tiks nosūtīts līdz šai dienai",
|
||||
"no_themes": "Šķiet, ka jums vēl nav tēmu, bet neuztraucieties, noklikšķiniet šeit, lai izveidotu savu pirmo šedevru",
|
||||
"editor_tab_code": "Kods",
|
||||
"editor_tab_info": "Informācija",
|
||||
"editor_tab_save": "Saglabāt",
|
||||
"web_store": "Tīmekļa veikals",
|
||||
"clear_themes": "Notīrīt",
|
||||
"create_theme": "Izveidot",
|
||||
"create_theme_modal_title": "Izveidot pielāgotu tēmu",
|
||||
"create_theme_modal_description": "Izveidot jaunu tēmu, lai pielāgotu Hydra izskatu",
|
||||
"theme_name": "Nosaukums",
|
||||
"insert_theme_name": "Ievietot tēmas nosaukumu",
|
||||
"set_theme": "Iestatīt tēmu",
|
||||
"unset_theme": "Noņemt tēmu",
|
||||
"delete_theme": "Dzēst tēmu",
|
||||
"edit_theme": "Rediģēt tēmu",
|
||||
"delete_all_themes": "Dzēst visas tēmas",
|
||||
"delete_all_themes_description": "Tas dzēsīs visas jūsu pielāgotās tēmas",
|
||||
"delete_theme_description": "Tas dzēsīs tēmu {{theme}}",
|
||||
"cancel": "Atcelt",
|
||||
"appearance": "Izskats",
|
||||
"debrid": "Debrid",
|
||||
"debrid_description": "Debrid servisi ir premium lejupielādētāji bez ierobežojumiem, kas ļauj ātri lejupielādēt failus no dažādiem failu apmaiņas servisiem, ierobežojoties tikai ar jūsu interneta ātrumu.",
|
||||
"enable_torbox": "Iespējot TorBox",
|
||||
"torbox_description": "TorBox ir jūsu premium serviss, kas konkurē pat ar labākajiem serveriem tirgū.",
|
||||
"torbox_account_linked": "TorBox konts piesaistīts",
|
||||
"create_real_debrid_account": "Noklikšķiniet šeit, ja jums vēl nav Real-Debrid konta",
|
||||
"create_torbox_account": "Noklikšķiniet šeit, ja jums vēl nav TorBox konta",
|
||||
"real_debrid_account_linked": "Real-Debrid konts piesaistīts",
|
||||
"name_min_length": "Tēmas nosaukumam jābūt vismaz 3 simbolus garam",
|
||||
"import_theme": "Importēt tēmu",
|
||||
"import_theme_description": "Jūs importēsiet {{theme}} no tēmu veikala",
|
||||
"error_importing_theme": "Kļūda importējot tēmu",
|
||||
"theme_imported": "Tēma veiksmīgi importēta",
|
||||
"enable_friend_request_notifications": "Saņemot draudzības pieprasījumu",
|
||||
"enable_auto_install": "Automātiski lejupielādēt atjauninājumus",
|
||||
"common_redist": "Bibliotēkas",
|
||||
"common_redist_description": "Dažu spēļu palaišanai ir nepieciešamas bibliotēkas. Lai izvairītos no problēmām, ieteicams tās instalēt.",
|
||||
"install_common_redist": "Instalēt",
|
||||
"installing_common_redist": "Instalēšana…",
|
||||
"show_download_speed_in_megabytes": "Rādīt lejupielādes ātrumu megabaitos sekundē",
|
||||
"extract_files_by_default": "Izpakot failus pēc noklusējuma pēc lejupielādes",
|
||||
"enable_steam_achievements": "Iespējot Steam sasniegumu meklēšanu",
|
||||
"achievement_custom_notification_position": "Sasniegumu paziņojumu pozīcija",
|
||||
"top-left": "Augšējais kreisais stūris",
|
||||
"top-center": "Augšējais centrs",
|
||||
"top-right": "Augšējais labais stūris",
|
||||
"bottom-left": "Apakšējais kreisais stūris",
|
||||
"bottom-center": "Apakšējais centrs",
|
||||
"bottom-right": "Apakšējais labais stūris",
|
||||
"enable_achievement_custom_notifications": "Iespējot sasniegumu paziņojumus",
|
||||
"alignment": "Izlīdzināšana",
|
||||
"variation": "Variācija",
|
||||
"default": "Pēc noklusējuma",
|
||||
"rare": "Retais",
|
||||
"platinum": "Platīna",
|
||||
"hidden": "Slēpts",
|
||||
"test_notification": "Testa paziņojums",
|
||||
"notification_preview": "Sasnieguma paziņojuma priekšskatījums",
|
||||
"enable_friend_start_game_notifications": "Kad draugs sāk spēlēt spēli"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Lejupielāde pabeigta",
|
||||
"game_ready_to_install": "{{title}} ir gatava instalēšanai",
|
||||
"repack_list_updated": "Repaku saraksts atjaunināts",
|
||||
"repack_count_one": "{{count}} repaks pievienots",
|
||||
"repack_count_other": "{{count}} repaki pievienoti",
|
||||
"new_update_available": "Pieejama jauna versija {{version}}",
|
||||
"restart_to_install_update": "Pārstartējiet Hydra, lai instalētu atjauninājumu",
|
||||
"notification_achievement_unlocked_title": "Sasniegums atbloķēts spēlei {{game}}",
|
||||
"notification_achievement_unlocked_body": "tika atbloķēti {{achievement}} un citi {{count}}",
|
||||
"new_friend_request_description": "{{displayName}} nosūtīja jums draudzības pieprasījumu",
|
||||
"new_friend_request_title": "Jauns draudzības pieprasījums",
|
||||
"extraction_complete": "Izpakošana pabeigta",
|
||||
"game_extracted": "{{title}} veiksmīgi izpakots",
|
||||
"friend_started_playing_game": "{{displayName}} sāka spēlēt spēli",
|
||||
"test_achievement_notification_title": "Šis ir testa paziņojums",
|
||||
"test_achievement_notification_description": "Diezgan forši, vai ne?"
|
||||
},
|
||||
"system_tray": {
|
||||
"open": "Atvērt Hydra",
|
||||
"quit": "Iziet"
|
||||
},
|
||||
"game_card": {
|
||||
"available_one": "Pieejams",
|
||||
"available_other": "Pieejams",
|
||||
"no_downloads": "Nav pieejamu avotu",
|
||||
"calculating": "Aprēķina"
|
||||
},
|
||||
"binary_not_found_modal": {
|
||||
"title": "Programmas nav instalētas",
|
||||
"description": "Wine vai Lutris nav atrasti",
|
||||
"instructions": "Uzziniet pareizo veidu, kā instalēt kādu no tiem jūsu Linux distribūcijā, lai spēle varētu normāli darboties"
|
||||
},
|
||||
"modal": {
|
||||
"close": "Aizvērt"
|
||||
},
|
||||
"forms": {
|
||||
"toggle_password_visibility": "Rādīt paroli"
|
||||
},
|
||||
"user_profile": {
|
||||
"amount_hours": "{{amount}} stundas",
|
||||
"amount_minutes": "{{amount}} minūtes",
|
||||
"amount_hours_short": "{{amount}}h",
|
||||
"amount_minutes_short": "{{amount}}m",
|
||||
"last_time_played": "Pēdējā spēle {{period}}",
|
||||
"activity": "Nesenā aktivitāte",
|
||||
"library": "Bibliotēka",
|
||||
"pinned": "Piespraustās",
|
||||
"achievements_earned": "Nopelnītie sasniegumi",
|
||||
"played_recently": "Nesen spēlētās",
|
||||
"playtime": "Spēles laiks",
|
||||
"total_play_time": "Kopējais spēles laiks",
|
||||
"manual_playtime_tooltip": "Spēles laiks tika atjaunināts manuāli",
|
||||
"no_recent_activity_title": "Hmmmm... Šeit nav nekā",
|
||||
"no_recent_activity_description": "Jūs sen neesat neko spēlējis. Ir laiks to mainīt!",
|
||||
"display_name": "Parādāmais vārds",
|
||||
"saving": "Saglabāšana",
|
||||
"save": "Saglabāt",
|
||||
"edit_profile": "Rediģēt profilu",
|
||||
"saved_successfully": "Veiksmīgi saglabāts",
|
||||
"try_again": "Lūdzu, mēģiniet vēlreiz",
|
||||
"sign_out_modal_title": "Vai esat pārliecināts?",
|
||||
"cancel": "Atcelt",
|
||||
"successfully_signed_out": "Veiksmīga izrakstīšanās no konta",
|
||||
"sign_out": "Iziet",
|
||||
"playing_for": "Spēlēts {{amount}}",
|
||||
"sign_out_modal_text": "Jūsu bibliotēka ir saistīta ar pašreizējo kontu. Izejot no sistēmas, jūsu bibliotēka kļūs nepieejama, un progress netiks saglabāts. Iziet?",
|
||||
"add_friends": "Pievienot draugus",
|
||||
"add": "Pievienot",
|
||||
"friend_code": "Drauga kods",
|
||||
"see_profile": "Skatīt profilu",
|
||||
"sending": "Sūtīšana",
|
||||
"friend_request_sent": "Draudzības pieprasījums nosūtīts",
|
||||
"friends": "Draugi",
|
||||
"friends_list": "Draugu saraksts",
|
||||
"user_not_found": "Lietotājs nav atrasts",
|
||||
"block_user": "Bloķēt lietotāju",
|
||||
"add_friend": "Pievienot draugu",
|
||||
"request_sent": "Pieprasījums nosūtīts",
|
||||
"request_received": "Pieprasījums saņemts",
|
||||
"accept_request": "Pieņemt pieprasījumu",
|
||||
"ignore_request": "Ignorēt pieprasījumu",
|
||||
"cancel_request": "Atcelt pieprasījumu",
|
||||
"undo_friendship": "Dzēst draugu",
|
||||
"request_accepted": "Pieprasījums pieņemts",
|
||||
"user_blocked_successfully": "Lietotājs veiksmīgi bloķēts",
|
||||
"user_block_modal_text": "{{displayName}} tiks bloķēts",
|
||||
"blocked_users": "Bloķētie lietotāji",
|
||||
"unblock": "Atbloķēt",
|
||||
"no_friends_added": "Jūs vēl neesat pievienojis nevienu draugu",
|
||||
"pending": "Gaida",
|
||||
"no_pending_invites": "Jums nav pieprasījumu, kas gaida atbildi",
|
||||
"no_blocked_users": "Jūs neesat bloķējis nevienu lietotāju",
|
||||
"friend_code_copied": "Drauga kods kopēts",
|
||||
"undo_friendship_modal_text": "Tas atcels jūsu draudzību ar {{displayName}}.",
|
||||
"privacy_hint": "Lai norādītu, kurš to var redzēt, dodieties uz <0>Iestatījumiem</0>.",
|
||||
"locked_profile": "Šis profils ir privāts",
|
||||
"image_process_failure": "Attēlu apstrādes kļūme",
|
||||
"required_field": "Šis lauks ir obligāts",
|
||||
"displayname_min_length": "Parādāmam vārdam jābūt vismaz 3 simbolus garam.",
|
||||
"displayname_max_length": "Parādāmam vārdam jābūt ne vairāk kā 50 simboliem.",
|
||||
"report_profile": "Ziņot par šo profilu",
|
||||
"report_reason": "Kāpēc jūs ziņojat par šo profilu?",
|
||||
"report_description": "Papildu informācija",
|
||||
"report_description_placeholder": "Papildu informācija",
|
||||
"report": "Ziņot",
|
||||
"report_reason_hate": "Naida runa",
|
||||
"report_reason_sexual_content": "Seksuāls saturs",
|
||||
"report_reason_violence": "Vardarbība",
|
||||
"report_reason_spam": "Surogātpasts",
|
||||
"report_reason_other": "Cits",
|
||||
"profile_reported": "Ziņojums par profilu nosūtīts",
|
||||
"your_friend_code": "Jūsu drauga kods:",
|
||||
"upload_banner": "Augšupielādēt reklāmkarogu",
|
||||
"uploading_banner": "Augšupielādē reklāmkarogu...",
|
||||
"background_image_updated": "Fona attēls atjaunināts",
|
||||
"stats": "Statistika",
|
||||
"achievements": "Sasniegumi",
|
||||
"games": "Spēles",
|
||||
"top_percentile": "Top {{percentile}}%",
|
||||
"ranking_updated_weekly": "Reitings tiek atjaunināts katru nedēļu",
|
||||
"playing": "Spēlē {{game}}",
|
||||
"achievements_unlocked": "Sasniegumi atbloķēti",
|
||||
"earned_points": "Nopelnītie punkti:",
|
||||
"show_achievements_on_profile": "Rādīt savus sasniegumus profilā",
|
||||
"show_points_on_profile": "Rādīt nopelnītos punktus savā profilā",
|
||||
"error_adding_friend": "Neizdevās nosūtīt draudzības pieprasījumu. Lūdzu, pārbaudiet drauga kodu",
|
||||
"friend_code_length_error": "Drauga kodam jāsatur 8 simboli",
|
||||
"game_removed_from_pinned": "Spēle dzēsta no piespraustajiem",
|
||||
"game_added_to_pinned": "Spēle pievienota piespraustajiem",
|
||||
"karma": "Karma",
|
||||
"karma_count": "karma",
|
||||
"karma_description": "Nopelnīta ar pozitīviem atsauksmju vērtējumiem"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Sasniegums atbloķēts",
|
||||
"user_achievements": "{{displayName}} sasniegumi",
|
||||
"your_achievements": "Jūsu sasniegumi",
|
||||
"unlocked_at": "Atbloķēts: {{date}}",
|
||||
"subscription_needed": "Šī satura apskatīšanai nepieciešams Hydra Cloud abonements",
|
||||
"new_achievements_unlocked": "Atbloķēti {{achievementCount}} jauni sasniegumi no {{gameCount}} spēlēm",
|
||||
"achievement_progress": "{{unlockedCount}}/{{totalCount}} sasniegumi",
|
||||
"achievements_unlocked_for_game": "Atbloķēti {{achievementCount}} jauni sasniegumi spēlei {{gameTitle}}",
|
||||
"hidden_achievement_tooltip": "Šis ir slēpts sasniegums",
|
||||
"achievement_earn_points": "Nopelniet {{points}} punktus ar šo sasniegumu",
|
||||
"earned_points": "Nopelnītie punkti:",
|
||||
"available_points": "Pieejamie punkti:",
|
||||
"how_to_earn_achievements_points": "Kā nopelnīt sasniegumu punktus?"
|
||||
},
|
||||
"hydra_cloud": {
|
||||
"subscription_tour_title": "Hydra Cloud abonements",
|
||||
"subscribe_now": "Abonējiet tūlīt",
|
||||
"cloud_saving": "Saglabāšana mākonī",
|
||||
"cloud_achievements": "Saglabājiet savus sasniegumus mākonī",
|
||||
"animated_profile_picture": "Animētas profila bildes",
|
||||
"premium_support": "Premium atbalsts",
|
||||
"show_and_compare_achievements": "Rādiet un salīdziniet savus sasniegumus ar citu lietotāju sasniegumiem",
|
||||
"animated_profile_banner": "Animēts profila reklāmkarogs",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"hydra_cloud_feature_found": "Jūs tikko atklājāt Hydra Cloud funkciju!",
|
||||
"learn_more": "Uzzināt vairāk",
|
||||
"debrid_description": "Lejupielādējiet 4 reizes ātrāk ar Nimbus"
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Catálogo",
|
||||
"library": "Biblioteca",
|
||||
"downloads": "Downloads",
|
||||
"settings": "Ajustes",
|
||||
"my_library": "Biblioteca",
|
||||
@@ -92,11 +93,19 @@
|
||||
},
|
||||
"header": {
|
||||
"search": "Buscar jogos",
|
||||
"search_library": "Buscar na biblioteca",
|
||||
"recent_searches": "Buscas Recentes",
|
||||
"suggestions": "Sugestões",
|
||||
"clear_history": "Limpar",
|
||||
"remove_from_history": "Remover do histórico",
|
||||
"loading": "Carregando...",
|
||||
"no_results": "Sem resultados",
|
||||
"home": "Início",
|
||||
"catalogue": "Catálogo",
|
||||
"library": "Biblioteca",
|
||||
"downloads": "Downloads",
|
||||
"search_results": "Resultados da busca",
|
||||
"settings": "Ajustes",
|
||||
"home": "Início",
|
||||
"version_available_install": "Versão {{version}} disponível. Clique aqui para reiniciar e instalar.",
|
||||
"version_available_download": "Versão {{version}} disponível. Clique aqui para fazer o download."
|
||||
},
|
||||
@@ -106,6 +115,7 @@
|
||||
"downloading": "Baixando {{title}}… ({{percentage}} concluído) - Conclusão {{eta}} - {{speed}}",
|
||||
"calculating_eta": "Baixando {{title}}… ({{percentage}} concluído) - Calculando tempo restante…",
|
||||
"checking_files": "Verificando arquivos de {{title}}…",
|
||||
"extracting": "Extraindo {{title}}… ({{percentage}} concluído)",
|
||||
"installing_common_redist": "{{log}}…",
|
||||
"installation_complete": "Instalação concluída",
|
||||
"installation_complete_message": "Componentes recomendados instalados com sucesso"
|
||||
@@ -181,7 +191,9 @@
|
||||
"danger_zone_section_description": "Remova o jogo da sua biblioteca ou os arquivos que foram baixados pelo Hydra",
|
||||
"download_in_progress": "Download em andamento",
|
||||
"download_paused": "Download pausado",
|
||||
"extracting": "Extraindo",
|
||||
"last_downloaded_option": "Última opção baixada",
|
||||
"new_download_option": "Novo",
|
||||
"create_steam_shortcut": "Criar atalho na Steam",
|
||||
"create_shortcut_success": "Atalho criado com sucesso",
|
||||
"you_might_need_to_restart_steam": "Você pode precisar reiniciar a Steam para ver as alterações",
|
||||
@@ -317,6 +329,7 @@
|
||||
"sort_lowest_score": "Menor Nota",
|
||||
"sort_most_voted": "Mais Votadas",
|
||||
"no_reviews_yet": "Ainda não há avaliações",
|
||||
"review_played_for": "Jogado por",
|
||||
"be_first_to_review": "Seja o primeiro a compartilhar seus pensamentos sobre este jogo!",
|
||||
"rating": "Avaliação",
|
||||
"rating_stats": "Avaliação",
|
||||
@@ -345,7 +358,14 @@
|
||||
"delete_review_modal_description": "Esta ação não pode ser desfeita.",
|
||||
"delete_review_modal_delete_button": "Excluir",
|
||||
"delete_review_modal_cancel_button": "Cancelar",
|
||||
"rating_count": "Avaliação"
|
||||
"show_original": "Mostrar original",
|
||||
"show_translation": "Mostrar tradução",
|
||||
"show_original_translated_from": "Mostrar original (traduzido do {{language}})",
|
||||
"hide_original": "Ocultar original",
|
||||
"rating_count": "Avaliação",
|
||||
"review_from_blocked_user": "Avaliação de usuário bloqueado",
|
||||
"show": "Mostrar",
|
||||
"hide": "Ocultar"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Ativação",
|
||||
@@ -384,7 +404,13 @@
|
||||
"resume_seeding": "Semear",
|
||||
"options": "Gerenciar",
|
||||
"extract": "Extrair arquivos",
|
||||
"extracting": "Extraindo arquivos…"
|
||||
"extracting": "Extraindo arquivos…",
|
||||
"delete_archive_title": "Deseja deletar {{fileName}}?",
|
||||
"delete_archive_description": "O arquivo foi extraído com sucesso e não é mais necessário.",
|
||||
"yes": "Sim",
|
||||
"no": "Não",
|
||||
"network": "REDE",
|
||||
"peak": "PICO"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Diretório dos downloads",
|
||||
@@ -412,6 +438,9 @@
|
||||
"validate_download_source": "Validar",
|
||||
"remove_download_source": "Remover",
|
||||
"add_download_source": "Adicionar fonte",
|
||||
"adding": "Adicionando…",
|
||||
"failed_add_download_source": "Falha ao adicionar fonte de download. Tente novamente.",
|
||||
"download_source_already_exists": "Esta URL de fonte de download já existe.",
|
||||
"download_count_zero": "Sem downloads na lista",
|
||||
"download_count_one": "{{countFormatted}} download na lista",
|
||||
"download_count_other": "{{countFormatted}} downloads na lista",
|
||||
@@ -419,7 +448,13 @@
|
||||
"add_download_source_description": "Insira a URL contendo o arquivo .json",
|
||||
"download_source_up_to_date": "Sincronizada",
|
||||
"download_source_errored": "Falhou",
|
||||
"download_source_pending_matching": "Importando em breve",
|
||||
"download_source_matched": "Sincronizada",
|
||||
"download_source_matching": "Sincronizando",
|
||||
"download_source_failed": "Erro",
|
||||
"download_source_no_information": "Sem informações",
|
||||
"sync_download_sources": "Sincronizar",
|
||||
"download_sources_synced_successfully": "Fontes de download sincronizadas",
|
||||
"removed_download_source": "Fonte removida",
|
||||
"removed_download_sources": "Fontes removidas",
|
||||
"cancel_button_confirmation_delete_all_sources": "Não",
|
||||
@@ -524,8 +559,16 @@
|
||||
"platinum": "Platina",
|
||||
"hidden": "Oculta",
|
||||
"test_notification": "Testar notificação",
|
||||
"achievement_sound_volume": "Volume do som de conquista",
|
||||
"select_achievement_sound": "Selecionar som de conquista",
|
||||
"select": "Selecionar",
|
||||
"preview": "Reproduzir",
|
||||
"remove": "Remover",
|
||||
"no_sound_file_selected": "Nenhum arquivo de som selecionado",
|
||||
"notification_preview": "Prévia da Notificação de Conquistas",
|
||||
"enable_friend_start_game_notifications": "Quando um amigo iniciar um jogo"
|
||||
"enable_friend_start_game_notifications": "Quando um amigo iniciar um jogo",
|
||||
"autoplay_trailers_on_game_page": "Reproduzir trailers automaticamente na página do jogo",
|
||||
"hide_to_tray_on_game_start": "Ocultar o Hydra na bandeja ao iniciar um jogo"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Download concluído",
|
||||
@@ -678,7 +721,11 @@
|
||||
"karma": "Karma",
|
||||
"karma_count": "karma",
|
||||
"karma_description": "Ganho a partir de curtidas positivas em avaliações",
|
||||
"manual_playtime_tooltip": "Este tempo de jogo foi atualizado manualmente"
|
||||
"manual_playtime_tooltip": "Este tempo de jogo foi atualizado manualmente",
|
||||
"user_reviews": "Avaliações",
|
||||
"loading_reviews": "Carregando avaliações...",
|
||||
"no_reviews": "Ainda não há avaliações",
|
||||
"delete_review": "Excluir avaliação"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Conquista desbloqueada",
|
||||
@@ -708,5 +755,26 @@
|
||||
"hydra_cloud_feature_found": "Você descobriu uma funcionalidade Hydra Cloud!",
|
||||
"learn_more": "Saiba mais",
|
||||
"debrid_description": "Baixe até 4x mais rápido com Nimbus"
|
||||
},
|
||||
"library": {
|
||||
"library": "Biblioteca",
|
||||
"play": "Jogar",
|
||||
"download": "Baixar",
|
||||
"downloading": "Baixando",
|
||||
"game": "jogo",
|
||||
"games": "jogos",
|
||||
"grid_view": "Visualização em grade",
|
||||
"compact_view": "Visualização compacta",
|
||||
"large_view": "Visualização grande",
|
||||
"no_games_title": "Sua biblioteca está vazia",
|
||||
"no_games_description": "Adicione jogos do catálogo ou baixe-os para começar",
|
||||
"amount_hours": "{{amount}} horas",
|
||||
"amount_minutes": "{{amount}} minutos",
|
||||
"amount_hours_short": "{{amount}}h",
|
||||
"amount_minutes_short": "{{amount}}m",
|
||||
"manual_playtime_tooltip": "Este tempo de jogo foi atualizado manualmente",
|
||||
"all_games": "Todos os Jogos",
|
||||
"recently_played": "Jogados Recentemente",
|
||||
"favorites": "Favoritos"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,11 +30,19 @@
|
||||
},
|
||||
"header": {
|
||||
"search": "Procurar jogos",
|
||||
"search_library": "Procurar na biblioteca",
|
||||
"recent_searches": "Pesquisas Recentes",
|
||||
"suggestions": "Sugestões",
|
||||
"clear_history": "Limpar",
|
||||
"remove_from_history": "Remover do histórico",
|
||||
"loading": "A carregar...",
|
||||
"no_results": "Sem resultados",
|
||||
"home": "Início",
|
||||
"catalogue": "Catálogo",
|
||||
"library": "Biblioteca",
|
||||
"downloads": "Transferências",
|
||||
"search_results": "Resultados da pesquisa",
|
||||
"settings": "Definições",
|
||||
"home": "Início",
|
||||
"version_available_install": "Versão {{version}} disponível. Clica aqui para reiniciar e instalar.",
|
||||
"version_available_download": "Versão {{version}} disponível. Clica aqui para fazer o download."
|
||||
},
|
||||
@@ -180,7 +188,11 @@
|
||||
"download_error_not_cached_on_torbox": "Este download não está disponível no TorBox e a verificação do status do download não está disponível.",
|
||||
"game_removed_from_favorites": "Jogo removido dos favoritos",
|
||||
"game_added_to_favorites": "Jogo adicionado aos favoritos",
|
||||
"create_start_menu_shortcut": "Criar atalho no Menu Iniciar"
|
||||
"create_start_menu_shortcut": "Criar atalho no Menu Iniciar",
|
||||
"review_from_blocked_user": "Avaliação de utilizador bloqueado",
|
||||
"show": "Mostrar",
|
||||
"hide": "Ocultar",
|
||||
"review_played_for": "Jogado por"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Ativação",
|
||||
@@ -252,7 +264,13 @@
|
||||
"add_download_source_description": "Insere o URL que contém o ficheiro .json",
|
||||
"download_source_up_to_date": "Sincronizada",
|
||||
"download_source_errored": "Falhou",
|
||||
"download_source_pending_matching": "A atualizar em breve",
|
||||
"download_source_matched": "Atualizado",
|
||||
"download_source_matching": "A atualizar",
|
||||
"download_source_failed": "Erro",
|
||||
"download_source_no_information": "Sem informações",
|
||||
"sync_download_sources": "Sincronizar",
|
||||
"download_sources_synced_successfully": "Fontes de download sincronizadas",
|
||||
"removed_download_source": "Fonte removida",
|
||||
"cancel_button_confirmation_delete_all_sources": "Não",
|
||||
"confirm_button_confirmation_delete_all_sources": "Sim, apague tudo",
|
||||
@@ -460,7 +478,11 @@
|
||||
"achievements_unlocked": "Conquistas desbloqueadas",
|
||||
"earned_points": "Pontos ganhos",
|
||||
"show_achievements_on_profile": "Mostre as suas conquistas no perfil",
|
||||
"show_points_on_profile": "Mostre os seus pontos ganhos no perfil"
|
||||
"show_points_on_profile": "Mostre os seus pontos ganhos no perfil",
|
||||
"user_reviews": "Avaliações",
|
||||
"loading_reviews": "A carregar avaliações...",
|
||||
"no_reviews": "Ainda não há avaliações",
|
||||
"delete_review": "Eliminar avaliação"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Conquista desbloqueada",
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"sidebar": {
|
||||
"catalogue": "Каталог",
|
||||
"library": "Библиотека",
|
||||
"downloads": "Загрузки",
|
||||
"settings": "Настройки",
|
||||
"my_library": "Библиотека",
|
||||
@@ -92,8 +93,16 @@
|
||||
},
|
||||
"header": {
|
||||
"search": "Поиск",
|
||||
"search_library": "Поиск в библиотеке",
|
||||
"recent_searches": "Недавние поиски",
|
||||
"suggestions": "Предложения",
|
||||
"clear_history": "Очистить",
|
||||
"remove_from_history": "Удалить из истории",
|
||||
"loading": "Загрузка...",
|
||||
"no_results": "Нет результатов",
|
||||
"home": "Главная",
|
||||
"catalogue": "Каталог",
|
||||
"library": "Библиотека",
|
||||
"downloads": "Загрузки",
|
||||
"search_results": "Результаты поиска",
|
||||
"settings": "Настройки",
|
||||
@@ -194,6 +203,7 @@
|
||||
"download_in_progress": "Идёт загрузка",
|
||||
"download_paused": "Загрузка приостановлена",
|
||||
"last_downloaded_option": "Последний вариант загрузки",
|
||||
"new_download_option": "Новый",
|
||||
"create_steam_shortcut": "Создать ярлык Steam",
|
||||
"create_shortcut_success": "Ярлык создан",
|
||||
"you_might_need_to_restart_steam": "Возможно, вам потребуется перезапустить Steam, чтобы увидеть изменения",
|
||||
@@ -212,6 +222,7 @@
|
||||
"stats": "Статистика",
|
||||
"download_count": "Загрузки",
|
||||
"player_count": "Активные игроки",
|
||||
"rating_count": "Оценка",
|
||||
"download_error": "Этот вариант загрузки недоступен",
|
||||
"download": "Скачать",
|
||||
"executable_path_in_use": "Исполняемый файл уже используется \"{{game}}\"",
|
||||
@@ -226,6 +237,7 @@
|
||||
"write_review_placeholder": "Поделитесь своими мыслями об этой игре...",
|
||||
"sort_newest": "Сначала новые",
|
||||
"no_reviews_yet": "Пока нет отзывов",
|
||||
"review_played_for": "Играли",
|
||||
"be_first_to_review": "Станьте первым, кто поделится своими мыслями об этой игре!",
|
||||
"sort_oldest": "Сначала старые",
|
||||
"sort_highest_score": "Высший балл",
|
||||
@@ -252,13 +264,6 @@
|
||||
"would_you_recommend_this_game": "Хотите оставить отзыв об этой игре?",
|
||||
"yes": "Да",
|
||||
"maybe_later": "Возможно позже",
|
||||
"rating_count": "Оценка",
|
||||
"delete_review": "Удалить отзыв",
|
||||
"remove_review": "Удалить отзыв",
|
||||
"delete_review_modal_title": "Вы уверены, что хотите удалить свой отзыв?",
|
||||
"delete_review_modal_description": "Это действие нельзя отменить.",
|
||||
"delete_review_modal_delete_button": "Удалить",
|
||||
"delete_review_modal_cancel_button": "Отмена",
|
||||
"cloud_save": "Облачное сохранение",
|
||||
"cloud_save_description": "Сохраняйте ваш прогресс в облаке и продолжайте играть на любом устройстве",
|
||||
"backups": "Резервные копии",
|
||||
@@ -356,7 +361,21 @@
|
||||
"caption": "Субтитры",
|
||||
"audio": "Аудио",
|
||||
"filter_by_source": "Фильтр по источнику",
|
||||
"no_repacks_found": "Источники для этой игры не найдены"
|
||||
"no_repacks_found": "Источники для этой игры не найдены",
|
||||
"show": "Показать",
|
||||
"hide": "Скрыть",
|
||||
"delete_review": "Удалить отзыв",
|
||||
"remove_review": "Удалить отзыв",
|
||||
"delete_review_modal_title": "Вы уверены, что хотите удалить свой отзыв?",
|
||||
"delete_review_modal_description": "Это действие нельзя отменить.",
|
||||
"delete_review_modal_delete_button": "Удалить",
|
||||
"delete_review_modal_cancel_button": "Отмена",
|
||||
"vote_failed": "Не удалось зарегистрировать ваш голос. Пожалуйста, попробуйте снова.",
|
||||
"show_original": "Показать оригинал",
|
||||
"show_translation": "Показать перевод",
|
||||
"show_original_translated_from": "Показать оригинал (переведено с {{language}})",
|
||||
"hide_original": "Скрыть оригинал",
|
||||
"review_from_blocked_user": "Отзыв от заблокированного пользователя"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Активировать Hydra",
|
||||
@@ -423,6 +442,9 @@
|
||||
"validate_download_source": "Проверить",
|
||||
"remove_download_source": "Удалить",
|
||||
"add_download_source": "Добавить источник",
|
||||
"adding": "Добавление…",
|
||||
"failed_add_download_source": "Не удалось добавить источник. Пожалуйста, попробуйте снова.",
|
||||
"download_source_already_exists": "Этот URL источника уже существует.",
|
||||
"download_count_zero": "В списке нет загрузок",
|
||||
"download_count_one": "{{countFormatted}} загрузка в списке",
|
||||
"download_count_other": "{{countFormatted}} загрузок в списке",
|
||||
@@ -430,9 +452,16 @@
|
||||
"add_download_source_description": "Вставьте ссылку на .json-файл",
|
||||
"download_source_up_to_date": "Обновлён",
|
||||
"download_source_errored": "Ошибка",
|
||||
"download_source_pending_matching": "Скоро обновится",
|
||||
"download_source_matched": "Обновлен",
|
||||
"download_source_matching": "Обновление",
|
||||
"download_source_failed": "Ошибка",
|
||||
"download_source_no_information": "Информация отсутствует",
|
||||
"sync_download_sources": "Обновить источники",
|
||||
"removed_download_source": "Источник удален",
|
||||
"removed_download_sources": "Источники удалены",
|
||||
"removed_all_download_sources": "Все источники удалены",
|
||||
"download_sources_synced_successfully": "Все источники синхронизированы",
|
||||
"cancel_button_confirmation_delete_all_sources": "Нет",
|
||||
"confirm_button_confirmation_delete_all_sources": "Да, удалить все",
|
||||
"title_confirmation_delete_all_sources": "Удалить все источники",
|
||||
@@ -463,6 +492,7 @@
|
||||
"seed_after_download_complete": "Раздавать после завершения загрузки",
|
||||
"show_hidden_achievement_description": "Показывать описание скрытых достижений перед их получением",
|
||||
"account": "Аккаунт",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"no_users_blocked": "У вас нет заблокированных пользователей",
|
||||
"subscription_active_until": "Ваша подписка на Hydra Cloud активна до {{date}}",
|
||||
"manage_subscription": "Управлять подпиской",
|
||||
@@ -535,8 +565,16 @@
|
||||
"platinum": "Платиновый",
|
||||
"hidden": "Скрытый",
|
||||
"test_notification": "Тестовое уведомление",
|
||||
"achievement_sound_volume": "Громкость звука достижения",
|
||||
"select_achievement_sound": "Выбрать звук достижения",
|
||||
"select": "Выбрать",
|
||||
"preview": "Предпросмотр",
|
||||
"remove": "Удалить",
|
||||
"no_sound_file_selected": "Файл звука не выбран",
|
||||
"notification_preview": "Предварительный просмотр уведомления о достижении",
|
||||
"enable_friend_start_game_notifications": "Когда друг начинает играть в игру"
|
||||
"enable_friend_start_game_notifications": "Когда друг начинает играть в игру",
|
||||
"autoplay_trailers_on_game_page": "Автоматически начинать воспроизведение трейлеров на странице игры",
|
||||
"hide_to_tray_on_game_start": "Скрывать Hydra в трей при запуске игры"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "Загрузка завершена",
|
||||
@@ -586,6 +624,7 @@
|
||||
"activity": "Недавняя активность",
|
||||
"library": "Библиотека",
|
||||
"pinned": "Закрепленные",
|
||||
"sort_by": "Сортировать по:",
|
||||
"achievements_earned": "Заработанные достижения",
|
||||
"played_recently": "Недавно сыгранные",
|
||||
"playtime": "Время игры",
|
||||
@@ -670,7 +709,11 @@
|
||||
"game_added_to_pinned": "Игра добавлена в закрепленные",
|
||||
"karma": "Карма",
|
||||
"karma_count": "карма",
|
||||
"karma_description": "Заработана положительными оценками отзывов"
|
||||
"karma_description": "Заработана положительными оценками отзывов",
|
||||
"user_reviews": "Отзывы",
|
||||
"loading_reviews": "Загрузка отзывов...",
|
||||
"no_reviews": "Пока нет отзывов",
|
||||
"delete_review": "Удалить отзыв"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Достижение разблокировано",
|
||||
@@ -700,5 +743,26 @@
|
||||
"hydra_cloud_feature_found": "Вы только что открыли для себя функцию Hydra Cloud!",
|
||||
"learn_more": "Подробнее",
|
||||
"debrid_description": "Скачивайте в 4 раза быстрее с Nimbus"
|
||||
},
|
||||
"library": {
|
||||
"library": "Библиотека",
|
||||
"play": "Играть",
|
||||
"download": "Скачать",
|
||||
"downloading": "Скачивание",
|
||||
"game": "игра",
|
||||
"games": "игры",
|
||||
"grid_view": "Вид сетки",
|
||||
"compact_view": "Компактный вид",
|
||||
"large_view": "Большой вид",
|
||||
"no_games_title": "Ваша библиотека пуста",
|
||||
"no_games_description": "Добавьте игры из каталога или скачайте их, чтобы начать",
|
||||
"amount_hours": "{{amount}} часов",
|
||||
"amount_minutes": "{{amount}} минут",
|
||||
"amount_hours_short": "{{amount}}ч",
|
||||
"amount_minutes_short": "{{amount}}м",
|
||||
"manual_playtime_tooltip": "Время игры было обновлено вручную",
|
||||
"all_games": "Все игры",
|
||||
"recently_played": "Недавно сыгранные",
|
||||
"favorites": "Избранное"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"downloads": "İndirilenler",
|
||||
"settings": "Ayarlar",
|
||||
"my_library": "Kütüphanem",
|
||||
"library": "Kütüphane",
|
||||
"downloading_metadata": "{{title}} (Meta verileri indiriliyor…)",
|
||||
"paused": "{{title}} (Duraklatıldı)",
|
||||
"downloading": "{{title}} (%{{percentage}} - İndiriliyor…)",
|
||||
@@ -26,7 +27,69 @@
|
||||
"sign_in": "Giriş Yap",
|
||||
"friends": "Arkadaşlar",
|
||||
"need_help": "Yardıma mı ihtiyacınız var?",
|
||||
"favorites": "Favoriler"
|
||||
"favorites": "Favoriler",
|
||||
"playable_button_title": "Şu anda oynayabileceğin oyunları göster",
|
||||
"add_custom_game_tooltip": "Özel Oyun Ekle",
|
||||
"show_playable_only_tooltip": "Sadece Oynanabilirleri Göster",
|
||||
"custom_game_modal": "Özel Oyun Ekle",
|
||||
"custom_game_modal_description": "Çalıştırılabilir bir dosya seçerek kütüphanene özel oyun ekle",
|
||||
"custom_game_modal_executable_path": "Çalıştırılabilir Dosya Yolu",
|
||||
"custom_game_modal_select_executable": "Çalıştırılabilir dosya seç",
|
||||
"custom_game_modal_title": "Başlık",
|
||||
"custom_game_modal_enter_title": "Başlık gir",
|
||||
"custom_game_modal_browse": "Gözat",
|
||||
"custom_game_modal_cancel": "İptal",
|
||||
"custom_game_modal_add": "Oyun Ekle",
|
||||
"custom_game_modal_adding": "Oyun Ekleniyor...",
|
||||
"custom_game_modal_success": "Özel oyun başarıyla eklendi",
|
||||
"custom_game_modal_failed": "Özel oyun eklenemedi",
|
||||
"custom_game_modal_executable": "Çalıştırılabilir",
|
||||
"edit_game_modal": "Varlıkları Özelleştir",
|
||||
"edit_game_modal_description": "Oyun varlıklarını ve detaylarını özelleştir",
|
||||
"edit_game_modal_title": "Başlık",
|
||||
"edit_game_modal_enter_title": "Başlık gir",
|
||||
"edit_game_modal_image": "Görsel",
|
||||
"edit_game_modal_select_image": "Görsel seç",
|
||||
"edit_game_modal_browse": "Gözat",
|
||||
"edit_game_modal_image_preview": "Görsel önizleme",
|
||||
"edit_game_modal_icon": "İkon",
|
||||
"edit_game_modal_select_icon": "İkon seç",
|
||||
"edit_game_modal_icon_preview": "İkon önizleme",
|
||||
"edit_game_modal_logo": "Logo",
|
||||
"edit_game_modal_select_logo": "Logo seç",
|
||||
"edit_game_modal_logo_preview": "Logo önizleme",
|
||||
"edit_game_modal_hero": "Kütüphane Hero",
|
||||
"edit_game_modal_select_hero": "Kütüphane hero görseli seç",
|
||||
"edit_game_modal_hero_preview": "Kütüphane hero görseli önizleme",
|
||||
"edit_game_modal_cancel": "İptal et",
|
||||
"edit_game_modal_update": "Güncelle",
|
||||
"edit_game_modal_updating": "Güncelleniyor...",
|
||||
"edit_game_modal_fill_required": "Lütfen tüm gerekli alanları doldur",
|
||||
"edit_game_modal_success": "Varlıklar başarıyla güncellendi",
|
||||
"edit_game_modal_failed": "Varlıklar güncellenemedi",
|
||||
"edit_game_modal_image_filter": "Görsel",
|
||||
"edit_game_modal_icon_resolution": "Önerilen çözünürlük: 256x256px",
|
||||
"edit_game_modal_logo_resolution": "Önerilen çözünürlük: 640x360px",
|
||||
"edit_game_modal_hero_resolution": "Önerilen çözünürlük: 1920x620px",
|
||||
"edit_game_modal_assets": "Varlıklar",
|
||||
"edit_game_modal_drop_icon_image_here": "İkon görselini buraya bırak",
|
||||
"edit_game_modal_drop_logo_image_here": "Logo görselini buraya bırak",
|
||||
"edit_game_modal_drop_hero_image_here": "Hero görselini buraya bırak",
|
||||
"edit_game_modal_drop_to_replace_icon": "İkonu değiştirmek için buraya bırak",
|
||||
"edit_game_modal_drop_to_replace_logo": "Logoyu değiştirmek için buraya bırak",
|
||||
"edit_game_modal_drop_to_replace_hero": "Hero'yu değiştirmek için buraya bırak",
|
||||
"install_decky_plugin": "Decky Plugin Kur",
|
||||
"update_decky_plugin": "Decky Plugin Güncelle",
|
||||
"decky_plugin_installed_version": "Decky Plugin (v{{version}})",
|
||||
"install_decky_plugin_title": "Hydra Decky Plugin Kur",
|
||||
"install_decky_plugin_message": "Bu işlem Decky Loader için Hydra plugin'ini indirecek ve kuracak. Bu işlem yükseltilmiş izinler gerektirebilir. Devam et?",
|
||||
"update_decky_plugin_title": "Hydra Decky Plugin Güncelle",
|
||||
"update_decky_plugin_message": "Hydra Decky plugin'inin yeni bir sürümü mevcut. Şimdi güncellemek ister misin?",
|
||||
"decky_plugin_installed": "Decky plugin v{{version}} başarıyla kuruldu",
|
||||
"decky_plugin_installation_failed": "Decky plugin kurulamadı: {{error}}",
|
||||
"decky_plugin_installation_error": "Decky plugin kurulumu hatası: {{error}}",
|
||||
"confirm": "Onayla",
|
||||
"cancel": "İptal"
|
||||
},
|
||||
"header": {
|
||||
"search": "Oyunlarda Ara",
|
||||
@@ -35,6 +98,8 @@
|
||||
"downloads": "İndirilenler",
|
||||
"search_results": "Arama Sonuçları",
|
||||
"settings": "Ayarlar",
|
||||
"search_library": "Kütüphanede ara",
|
||||
"library": "Kütüphane",
|
||||
"version_available_install": "{{version}} sürümü mevcut. Yeniden başlatıp yüklemek için tıklayın.",
|
||||
"version_available_download": "{{version}} sürümü mevcut. İndirmek için tıklayın."
|
||||
},
|
||||
@@ -203,7 +268,108 @@
|
||||
"create_start_menu_shortcut": "Başlat Menüsüne kısayol oluştur",
|
||||
"invalid_wine_prefix_path": "Geçersiz Wine ön ek yolu",
|
||||
"invalid_wine_prefix_path_description": "Wine ön ek yolu hatalı. Lütfen yolu kontrol edin ve tekrar deneyin.",
|
||||
"missing_wine_prefix": "Linux'ta yedekleme oluşturmak için Wine ön eki gereklidir"
|
||||
"missing_wine_prefix": "Linux'ta yedekleme oluşturmak için Wine ön eki gereklidir",
|
||||
"already_in_library": "Zaten kütüphanede",
|
||||
"create_shortcut_simple": "Kısayol oluştur",
|
||||
"properties": "Özellikler",
|
||||
"new_download_option": "Yeni",
|
||||
"add_to_favorites": "Favorilere ekle",
|
||||
"remove_from_favorites": "Favorilerden çıkar",
|
||||
"failed_update_favorites": "Favoriler güncellenemedi",
|
||||
"game_removed_from_library": "Oyun kütüphaneden çıkarıldı",
|
||||
"failed_remove_from_library": "Kütüphaneden çıkarılamadı",
|
||||
"files_removed_success": "Dosyalar başarıyla kaldırıldı",
|
||||
"failed_remove_files": "Dosyalar kaldırılamadı",
|
||||
"rating_count": "Puan",
|
||||
"show_more": "Daha fazla göster",
|
||||
"show_less": "Daha az göster",
|
||||
"reviews": "İncelemeler",
|
||||
"review_played_for": "Oynama süresi",
|
||||
"leave_a_review": "İnceleme Yap",
|
||||
"write_review_placeholder": "Bu oyun hakkındaki düşüncelerini paylaş...",
|
||||
"sort_newest": "En yeni",
|
||||
"no_reviews_yet": "Henüz inceleme yok",
|
||||
"be_first_to_review": "Bu oyun hakkındaki düşüncelerini paylaşan ilk kişi ol!",
|
||||
"sort_oldest": "En eski",
|
||||
"sort_highest_score": "En yüksek puan",
|
||||
"sort_lowest_score": "En düşük puan",
|
||||
"sort_most_voted": "En çok oy",
|
||||
"rating": "Puan",
|
||||
"rating_stats": "Puan",
|
||||
"rating_very_negative": "Çok Olumsuz",
|
||||
"rating_negative": "Olumsuz",
|
||||
"rating_neutral": "Nötr",
|
||||
"rating_positive": "Olumlu",
|
||||
"rating_very_positive": "Çok Olumlu",
|
||||
"submit_review": "Gönder",
|
||||
"submitting": "Gönderiliyor...",
|
||||
"review_submitted_successfully": "İnceleme başarıyla gönderildi!",
|
||||
"review_submission_failed": "İnceleme gönderilemedi. Lütfen tekrar dene.",
|
||||
"review_cannot_be_empty": "İnceleme metin alanı boş olamaz.",
|
||||
"review_deleted_successfully": "İnceleme başarıyla silindi.",
|
||||
"review_deletion_failed": "İnceleme silinemedi. Lütfen tekrar dene.",
|
||||
"loading_reviews": "İncelemeler yükleniyor...",
|
||||
"loading_more_reviews": "Daha fazla inceleme yükleniyor...",
|
||||
"load_more_reviews": "Daha fazla inceleme yükle",
|
||||
"you_seemed_to_enjoy_this_game": "Bu oyunu beğenmiş görünüyorsun",
|
||||
"would_you_recommend_this_game": "Bu oyun hakkında bir inceleme yazmak ister misin?",
|
||||
"yes": "Evet",
|
||||
"maybe_later": "Belki sonra",
|
||||
"backup_failed": "Yedekleme başarısız",
|
||||
"update_playtime_title": "Oynama süresini güncelle",
|
||||
"update_playtime_description": "{{game}} için oynama süresini manuel olarak güncelle",
|
||||
"update_playtime": "Oynama süresini güncelle",
|
||||
"update_playtime_success": "Oynama süresi başarıyla güncellendi",
|
||||
"update_playtime_error": "Oynama süresi güncellenemedi",
|
||||
"update_game_playtime": "Oyun oynama süresini güncelle",
|
||||
"manual_playtime_warning": "Saatlerin manuel olarak güncellendiği işaretlenecek ve bu geri alınamaz.",
|
||||
"manual_playtime_tooltip": "Bu oynama süresi manuel olarak güncellendi",
|
||||
"game_removed_from_pinned": "Oyun sabitlenmişlerden çıkarıldı",
|
||||
"game_added_to_pinned": "Oyun sabitlenmişlere eklendi",
|
||||
"artifact_renamed": "Yedekleme başarıyla yeniden adlandırıldı",
|
||||
"rename_artifact": "Yedeklemeyi Yeniden Adlandır",
|
||||
"rename_artifact_description": "Yedeklemeyi daha açıklayıcı bir isimle yeniden adlandır",
|
||||
"artifact_name_label": "Yedekleme adı",
|
||||
"artifact_name_placeholder": "Yedekleme için bir isim gir",
|
||||
"save_changes": "Değişiklikleri kaydet",
|
||||
"required_field": "Bu alan gereklidir",
|
||||
"max_length_field": "Bu alan {{length}} karakterden az olmalıdır",
|
||||
"freeze_backup": "Otomatik yedeklemeler tarafından üzerine yazılmasın diye sabitle",
|
||||
"unfreeze_backup": "Sabitlemeyi kaldır",
|
||||
"backup_frozen": "Yedekleme sabitlendi",
|
||||
"backup_unfrozen": "Yedekleme sabitlemesi kaldırıldı",
|
||||
"backup_freeze_failed": "Yedekleme sabitlenemedi",
|
||||
"backup_freeze_failed_description": "Otomatik yedeklemeler için en az bir boş alan bırakmalısın",
|
||||
"edit_game_modal_button": "Oyun varlıklarını özelleştir",
|
||||
"game_details": "Oyun Detayları",
|
||||
"currency_symbol": "₺",
|
||||
"currency_country": "tr",
|
||||
"prices": "Fiyatlar",
|
||||
"no_prices_found": "Fiyat bulunamadı",
|
||||
"view_all_prices": "Tüm fiyatları görüntülemek için tıkla",
|
||||
"retail_price": "Perakende fiyatı",
|
||||
"keyshop_price": "Anahtar dükkanı fiyatı",
|
||||
"historical_retail": "Geçmiş perakende",
|
||||
"historical_keyshop": "Geçmiş anahtar dükkanı",
|
||||
"language": "Dil",
|
||||
"caption": "Altyazı",
|
||||
"audio": "Ses",
|
||||
"filter_by_source": "Kaynağa göre filtrele",
|
||||
"no_repacks_found": "Bu oyun için kaynak bulunamadı",
|
||||
"delete_review": "İncelemeyi sil",
|
||||
"remove_review": "İncelemeyi Kaldır",
|
||||
"delete_review_modal_title": "İncelemeni silmek istediğinden emin misin?",
|
||||
"delete_review_modal_description": "Bu işlem geri alınamaz.",
|
||||
"delete_review_modal_delete_button": "Sil",
|
||||
"delete_review_modal_cancel_button": "İptal",
|
||||
"vote_failed": "Oyun kaydı başarısız oldu. Lütfen tekrar dene.",
|
||||
"show_original": "Orijinali göster",
|
||||
"show_translation": "Çeviriyi göster",
|
||||
"show_original_translated_from": "Orijinali göster ({{language}} dilinden çevrilmiştir)",
|
||||
"hide_original": "Orijinali gizle",
|
||||
"review_from_blocked_user": "Engellenen kullanıcıdan gelen inceleme",
|
||||
"show": "Göster",
|
||||
"hide": "Gizle"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Hydra'yı Etkinleştir",
|
||||
@@ -379,7 +545,33 @@
|
||||
"hidden": "Gizli",
|
||||
"test_notification": "Test bildirimi",
|
||||
"notification_preview": "Başarı Bildirimi Önizlemesi",
|
||||
"enable_friend_start_game_notifications": "Bir arkadaşınız oyun oynamaya başladığında"
|
||||
"enable_friend_start_game_notifications": "Bir arkadaşınız oyun oynamaya başladığında",
|
||||
"adding": "Ekleniyor…",
|
||||
"failed_add_download_source": "İndirme kaynağı eklenemedi. Lütfen tekrar dene.",
|
||||
"download_source_already_exists": "Bu indirme kaynağı URL'si zaten mevcut.",
|
||||
"download_source_pending_matching": "Yakında güncellenecek",
|
||||
"download_source_matched": "Güncel",
|
||||
"download_source_matching": "Güncelleniyor",
|
||||
"download_source_failed": "Hata",
|
||||
"download_source_no_information": "Bilgi mevcut değil",
|
||||
"removed_all_download_sources": "Tüm indirme kaynakları kaldırıldı",
|
||||
"download_sources_synced_successfully": "Tüm indirme kaynakları senkronize edildi",
|
||||
"importing": "İçe aktarılıyor...",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"debrid": "Debrid",
|
||||
"debrid_description": "Debrid servisleri, internet hızınızla sınırlı, çeşitli dosya barındırma hizmetlerinde barındırılan dosyaları hızla indirmenize olanak tanıyan premium sınırsız indiricilerdir.",
|
||||
"enable_steam_achievements": "Steam başarımları aramasını etkinleştir",
|
||||
"achievement_sound_volume": "Başarım ses seviyesi",
|
||||
"select_achievement_sound": "Başarım sesi seç",
|
||||
"change_achievement_sound": "Başarım sesini değiştir",
|
||||
"remove_achievement_sound": "Başarım sesini kaldır",
|
||||
"preview_sound": "Sesi önizle",
|
||||
"select": "Seç",
|
||||
"preview": "Önizle",
|
||||
"remove": "Kaldır",
|
||||
"no_sound_file_selected": "Ses dosyası seçilmedi",
|
||||
"autoplay_trailers_on_game_page": "Oyun sayfasında fragmanları otomatik olarak oynat",
|
||||
"hide_to_tray_on_game_start": "Oyun başlatıldığında Hydra'yı sistem tepsisine gizle"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "İndirme tamamlandı",
|
||||
@@ -406,7 +598,8 @@
|
||||
"game_card": {
|
||||
"available_one": "Mevcut",
|
||||
"available_other": "Mevcut",
|
||||
"no_downloads": "İndirme mevcut değil"
|
||||
"no_downloads": "İndirme mevcut değil",
|
||||
"calculating": "Hesaplanıyor"
|
||||
},
|
||||
"binary_not_found_modal": {
|
||||
"title": "Programlar Yüklü Değil",
|
||||
@@ -498,7 +691,46 @@
|
||||
"achievements_unlocked": "Açılan başarımlar",
|
||||
"earned_points": "Kazanılan puanlar",
|
||||
"show_achievements_on_profile": "Başarımlarını profilinde göster",
|
||||
"show_points_on_profile": "Kazanılan puanlarını profilinde göster"
|
||||
"show_points_on_profile": "Kazanılan puanlarını profilinde göster",
|
||||
"amount_hours_short": "{{amount}}s",
|
||||
"amount_minutes_short": "{{amount}}d",
|
||||
"pinned": "Sabitlenmiş",
|
||||
"sort_by": "Sırala:",
|
||||
"achievements_earned": "Kazanılan başarımlar",
|
||||
"played_recently": "Son oynanan",
|
||||
"playtime": "Oynama süresi",
|
||||
"manual_playtime_tooltip": "Bu oynama süresi manuel olarak güncellendi",
|
||||
"error_adding_friend": "Arkadaş isteği gönderilemedi. Lütfen arkadaş kodunu kontrol et",
|
||||
"friend_code_length_error": "Arkadaş kodu 8 karakter olmalıdır",
|
||||
"game_removed_from_pinned": "Oyun sabitlenmişlerden çıkarıldı",
|
||||
"game_added_to_pinned": "Oyun sabitlenmişlere eklendi",
|
||||
"karma": "Karma",
|
||||
"karma_count": "karma",
|
||||
"karma_description": "İncelemelerdeki olumlu beğenilerden kazanılır",
|
||||
"user_reviews": "İncelemeler",
|
||||
"delete_review": "İncelemeyi Sil",
|
||||
"loading_reviews": "İncelemeler yükleniyor..."
|
||||
},
|
||||
"library": {
|
||||
"library": "Kütüphane",
|
||||
"play": "Oyna",
|
||||
"download": "İndir",
|
||||
"downloading": "İndiriliyor",
|
||||
"game": "oyun",
|
||||
"games": "oyunlar",
|
||||
"grid_view": "Izgara görünümü",
|
||||
"compact_view": "Kompakt görünüm",
|
||||
"large_view": "Büyük görünüm",
|
||||
"no_games_title": "Kütüphanen boş",
|
||||
"no_games_description": "Başlamak için katalogdan oyun ekle veya indir",
|
||||
"amount_hours": "{{amount}} saat",
|
||||
"amount_minutes": "{{amount}} dakika",
|
||||
"amount_hours_short": "{{amount}}s",
|
||||
"amount_minutes_short": "{{amount}}d",
|
||||
"manual_playtime_tooltip": "Bu oynama süresi manuel olarak güncellendi",
|
||||
"all_games": "Tüm Oyunlar",
|
||||
"recently_played": "Son Oynanan",
|
||||
"favorites": "Favoriler"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "Başarım açıldı",
|
||||
|
||||
@@ -27,7 +27,68 @@
|
||||
"friends": "好友",
|
||||
"favorites": "收藏",
|
||||
"need_help": "需要帮助?",
|
||||
"playable_button_title": "仅显示现在可以游玩的游戏"
|
||||
"playable_button_title": "仅显示现在可以游玩的游戏",
|
||||
"add_custom_game_tooltip": "添加自定义游戏",
|
||||
"cancel": "取消",
|
||||
"confirm": "确认",
|
||||
"custom_game_modal": "添加自定义游戏",
|
||||
"custom_game_modal_add": "添加游戏",
|
||||
"custom_game_modal_adding": "正在添加游戏...",
|
||||
"custom_game_modal_browse": "浏览",
|
||||
"custom_game_modal_cancel": "取消",
|
||||
"custom_game_modal_description": "通过选择可执行文件将自定义游戏添加到您的库中",
|
||||
"custom_game_modal_enter_title": "输入标题",
|
||||
"custom_game_modal_executable": "可执行文件",
|
||||
"custom_game_modal_executable_path": "可执行文件路径",
|
||||
"custom_game_modal_failed": "添加自定义游戏失败",
|
||||
"custom_game_modal_select_executable": "选择可执行文件",
|
||||
"custom_game_modal_success": "自定义游戏添加成功",
|
||||
"custom_game_modal_title": "标题",
|
||||
"decky_plugin_installation_error": "安装 Decky 插件出错: {{error}}",
|
||||
"decky_plugin_installation_failed": "Decky 插件安装失败: {{error}}",
|
||||
"decky_plugin_installed": "Decky 插件 v{{version}} 安装成功",
|
||||
"decky_plugin_installed_version": "Decky 插件 (v{{version}})",
|
||||
"edit_game_modal": "自定义资源",
|
||||
"edit_game_modal_assets": "资源",
|
||||
"edit_game_modal_browse": "浏览",
|
||||
"edit_game_modal_cancel": "取消",
|
||||
"edit_game_modal_description": "自定义游戏资源和详情",
|
||||
"edit_game_modal_drop_hero_image_here": "拖放主图像到此处",
|
||||
"edit_game_modal_drop_icon_image_here": "拖放图标到此处",
|
||||
"edit_game_modal_drop_logo_image_here": "拖放Logo到此处",
|
||||
"edit_game_modal_drop_to_replace_hero": "拖放以替换主图像",
|
||||
"edit_game_modal_drop_to_replace_icon": "拖放以替换图标",
|
||||
"edit_game_modal_drop_to_replace_logo": "拖放以替换Logo",
|
||||
"edit_game_modal_enter_title": "输入标题",
|
||||
"edit_game_modal_failed": "资源更新失败",
|
||||
"edit_game_modal_fill_required": "请填写所有必填项",
|
||||
"edit_game_modal_hero": "库主图",
|
||||
"edit_game_modal_hero_preview": "库主图预览",
|
||||
"edit_game_modal_hero_resolution": "推荐分辨率: 1920x620px",
|
||||
"edit_game_modal_icon": "图标",
|
||||
"edit_game_modal_icon_preview": "图标预览",
|
||||
"edit_game_modal_icon_resolution": "推荐分辨率: 256x256px",
|
||||
"edit_game_modal_image": "图片",
|
||||
"edit_game_modal_image_filter": "图片",
|
||||
"edit_game_modal_image_preview": "图片预览",
|
||||
"edit_game_modal_logo": "Logo",
|
||||
"edit_game_modal_logo_preview": "Logo预览",
|
||||
"edit_game_modal_logo_resolution": "推荐分辨率: 640x360px",
|
||||
"edit_game_modal_select_hero": "选择库主图",
|
||||
"edit_game_modal_select_icon": "选择图标",
|
||||
"edit_game_modal_select_image": "选择图片",
|
||||
"edit_game_modal_select_logo": "选择Logo",
|
||||
"edit_game_modal_success": "资源更新成功",
|
||||
"edit_game_modal_title": "标题",
|
||||
"edit_game_modal_update": "更新",
|
||||
"edit_game_modal_updating": "正在更新...",
|
||||
"install_decky_plugin": "安装 Decky 插件",
|
||||
"install_decky_plugin_message": "这将下载并安装 Hydra 的 Decky Loader 插件。可能需要提升权限。继续吗?",
|
||||
"install_decky_plugin_title": "安装 Hydra Decky 插件",
|
||||
"show_playable_only_tooltip": "仅显示可游玩",
|
||||
"update_decky_plugin": "更新 Decky 插件",
|
||||
"update_decky_plugin_message": "有新版本的 Hydra Decky 插件可用。现在要更新吗?",
|
||||
"update_decky_plugin_title": "更新 Hydra Decky 插件"
|
||||
},
|
||||
"header": {
|
||||
"search": "搜索游戏",
|
||||
@@ -218,7 +279,93 @@
|
||||
"reset_achievements_title": "您确定吗?",
|
||||
"save_changes": "保存更改",
|
||||
"unfreeze_backup": "取消固定",
|
||||
"you_might_need_to_restart_steam": "您可能需要重启Steam才能看到更改"
|
||||
"you_might_need_to_restart_steam": "您可能需要重启Steam才能看到更改",
|
||||
"add_to_favorites": "添加到收藏",
|
||||
"already_in_library": "已在游戏库中",
|
||||
"audio": "音频",
|
||||
"backup_failed": "备份失败",
|
||||
"be_first_to_review": "成为第一个分享游戏感受的人!",
|
||||
"caption": "标题",
|
||||
"create_shortcut_simple": "创建快捷方式",
|
||||
"currency_country": "zh",
|
||||
"currency_symbol": "¥",
|
||||
"delete_review": "删除评价",
|
||||
"delete_review_modal_cancel_button": "取消",
|
||||
"delete_review_modal_delete_button": "删除",
|
||||
"delete_review_modal_description": "此操作无法撤销。",
|
||||
"delete_review_modal_title": "确定要删除您的评价吗?",
|
||||
"edit_game_modal_button": "自定义游戏资源",
|
||||
"failed_remove_files": "文件删除失败",
|
||||
"failed_remove_from_library": "移出游戏库失败",
|
||||
"failed_update_favorites": "收藏更新失败",
|
||||
"files_removed_success": "文件已成功删除",
|
||||
"filter_by_source": "按来源筛选",
|
||||
"game_added_to_pinned": "游戏已添加到置顶",
|
||||
"game_details": "游戏详情",
|
||||
"game_removed_from_library": "游戏已从库中移除",
|
||||
"game_removed_from_pinned": "游戏已从置顶移除",
|
||||
"hide": "隐藏",
|
||||
"hide_original": "隐藏原文",
|
||||
"historical_keyshop": "历史密钥商店",
|
||||
"historical_retail": "历史零售",
|
||||
"keyshop_price": "密钥商店价格",
|
||||
"language": "语言",
|
||||
"leave_a_review": "留下评价",
|
||||
"load_more_reviews": "加载更多评价",
|
||||
"loading_more_reviews": "正在加载更多评价...",
|
||||
"loading_reviews": "正在加载评价...",
|
||||
"manual_playtime_tooltip": "该游戏时长已手动更新",
|
||||
"manual_playtime_warning": "您的游戏时长将被标记为手动更新,且无法撤销。",
|
||||
"maybe_later": "以后再说",
|
||||
"no_prices_found": "未找到价格信息",
|
||||
"no_repacks_found": "未找到该游戏的下载来源",
|
||||
"no_reviews_yet": "暂无评价",
|
||||
"prices": "价格",
|
||||
"properties": "属性",
|
||||
"rating": "评分",
|
||||
"rating_count": "评分数",
|
||||
"rating_negative": "差评",
|
||||
"rating_neutral": "中性",
|
||||
"rating_positive": "好评",
|
||||
"rating_stats": "评分统计",
|
||||
"rating_very_negative": "极差",
|
||||
"rating_very_positive": "极好",
|
||||
"remove_from_favorites": "移出收藏",
|
||||
"remove_review": "移除评价",
|
||||
"retail_price": "零售价格",
|
||||
"review_cannot_be_empty": "评价内容不能为空。",
|
||||
"review_deleted_successfully": "评价已成功删除。",
|
||||
"review_deletion_failed": "评价删除失败,请重试。",
|
||||
"review_from_blocked_user": "来自被屏蔽用户的评价",
|
||||
"review_played_for": "已游玩",
|
||||
"review_submission_failed": "评价提交失败,请重试。",
|
||||
"review_submitted_successfully": "评价提交成功!",
|
||||
"reviews": "评价",
|
||||
"show": "显示",
|
||||
"show_less": "收起",
|
||||
"show_more": "展开",
|
||||
"show_original": "显示原文",
|
||||
"show_original_translated_from": "显示原文(由{{language}}翻译)",
|
||||
"show_translation": "显示翻译",
|
||||
"sort_highest_score": "最高分",
|
||||
"sort_lowest_score": "最低分",
|
||||
"sort_most_voted": "最多投票",
|
||||
"sort_newest": "最新",
|
||||
"sort_oldest": "最旧",
|
||||
"submit_review": "提交",
|
||||
"submitting": "正在提交...",
|
||||
"update_game_playtime": "更新游戏时长",
|
||||
"update_playtime": "更新时长",
|
||||
"update_playtime_description": "手动更新 {{game}} 的游玩时长",
|
||||
"update_playtime_error": "游戏时长更新失败",
|
||||
"update_playtime_success": "游戏时长已成功更新",
|
||||
"update_playtime_title": "更新游戏时长",
|
||||
"view_all_prices": "点击查看所有价格",
|
||||
"vote_failed": "投票失败,请重试。",
|
||||
"would_you_recommend_this_game": "您想为此游戏留下评价吗?",
|
||||
"write_review_placeholder": "分享您对本游戏的看法...",
|
||||
"yes": "是",
|
||||
"you_seemed_to_enjoy_this_game": "您似乎很喜欢这款游戏"
|
||||
},
|
||||
"activation": {
|
||||
"title": "激活 Hydra",
|
||||
@@ -394,7 +541,24 @@
|
||||
"update_email": "更新邮箱",
|
||||
"update_password": "更新密码",
|
||||
"variation": "变体",
|
||||
"web_store": "网络商店"
|
||||
"web_store": "网络商店",
|
||||
"adding": "添加中…",
|
||||
"autoplay_trailers_on_game_page": "在游戏页面自动播放预告片",
|
||||
"debrid": "Debrid下载服务",
|
||||
"debrid_description": "Debrid服务是一种高级不限速下载器,可让您以最快的网速下载托管在各类网盘上的文件,仅受您的网络速度限制。",
|
||||
"download_source_already_exists": "该下载源URL已存在。",
|
||||
"download_source_failed": "出错",
|
||||
"download_source_matched": "已更新",
|
||||
"download_source_matching": "正在更新",
|
||||
"download_source_no_information": "暂无信息",
|
||||
"download_source_pending_matching": "即将更新",
|
||||
"download_sources_synced_successfully": "所有下载源已同步",
|
||||
"enable_steam_achievements": "启用Steam成就搜索",
|
||||
"failed_add_download_source": "添加下载源失败,请重试。",
|
||||
"hide_to_tray_on_game_start": "启动游戏时隐藏到托盘",
|
||||
"hydra_cloud": "Hydra Cloud",
|
||||
"importing": "导入中…",
|
||||
"removed_all_download_sources": "已移除所有下载源"
|
||||
},
|
||||
"notifications": {
|
||||
"download_complete": "下载完成",
|
||||
@@ -421,7 +585,8 @@
|
||||
"game_card": {
|
||||
"no_downloads": "无可用下载选项",
|
||||
"available_one": "可用",
|
||||
"available_other": "可用"
|
||||
"available_other": "可用",
|
||||
"calculating": "正在计算"
|
||||
},
|
||||
"binary_not_found_modal": {
|
||||
"title": "程序未安装",
|
||||
@@ -515,7 +680,23 @@
|
||||
"show_achievements_on_profile": "在您的个人资料上显示成就",
|
||||
"show_points_on_profile": "在您的个人资料上显示获得的积分",
|
||||
"stats": "统计",
|
||||
"top_percentile": "前 {{percentile}}%"
|
||||
"top_percentile": "前 {{percentile}}%",
|
||||
"achievements_earned": "已获得成就",
|
||||
"amount_hours_short": "{{amount}}小时",
|
||||
"amount_minutes_short": "{{amount}}分钟",
|
||||
"delete_review": "删除评价",
|
||||
"game_added_to_pinned": "游戏已添加到置顶",
|
||||
"game_removed_from_pinned": "游戏已从置顶移除",
|
||||
"karma": "业力",
|
||||
"karma_count": "业力值",
|
||||
"karma_description": "通过评论获得的点赞",
|
||||
"loading_reviews": "正在加载评价...",
|
||||
"manual_playtime_tooltip": "该游戏时长已手动更新",
|
||||
"pinned": "已置顶",
|
||||
"played_recently": "最近游玩",
|
||||
"playtime": "游戏时长",
|
||||
"sort_by": "排序方式:",
|
||||
"user_reviews": "用户评价"
|
||||
},
|
||||
"achievement": {
|
||||
"achievement_unlocked": "成就已解锁",
|
||||
|
||||
@@ -41,8 +41,12 @@ export const appVersion = app.getVersion() + (isStaging ? "-staging" : "");
|
||||
|
||||
export const ASSETS_PATH = path.join(SystemPath.getPath("userData"), "Assets");
|
||||
|
||||
export const THEMES_PATH = path.join(SystemPath.getPath("userData"), "themes");
|
||||
|
||||
export const MAIN_LOOP_INTERVAL = 2000;
|
||||
|
||||
export const DEFAULT_ACHIEVEMENT_SOUND_VOLUME = 0.15;
|
||||
|
||||
export const DECKY_PLUGINS_LOCATION = path.join(
|
||||
SystemPath.getPath("home"),
|
||||
"homebrew",
|
||||
|
||||
3
src/main/events/auth/index.ts
Normal file
3
src/main/events/auth/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import "./get-session-hash";
|
||||
import "./open-auth-window";
|
||||
import "./sign-out";
|
||||
2
src/main/events/autoupdater/index.ts
Normal file
2
src/main/events/autoupdater/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
import "./check-for-updates";
|
||||
import "./restart-and-install-update";
|
||||
@@ -6,6 +6,10 @@ import { gamesShopAssetsSublevel, levelKeys } from "@main/level";
|
||||
const LOCAL_CACHE_EXPIRATION = 1000 * 60 * 60 * 8; // 8 hours
|
||||
|
||||
export const getGameAssets = async (objectId: string, shop: GameShop) => {
|
||||
if (shop === "custom") {
|
||||
return null;
|
||||
}
|
||||
|
||||
const cachedAssets = await gamesShopAssetsSublevel.get(
|
||||
levelKeys.game(shop, objectId)
|
||||
);
|
||||
|
||||
@@ -26,6 +26,8 @@ const getGameShopDetails = async (
|
||||
shop: GameShop,
|
||||
language: string
|
||||
): Promise<ShopDetailsWithAssets | null> => {
|
||||
if (shop === "custom") return null;
|
||||
|
||||
if (shop === "steam") {
|
||||
const [cachedData, cachedAssets] = await Promise.all([
|
||||
gamesShopCacheSublevel.get(
|
||||
|
||||
@@ -10,6 +10,10 @@ const getGameStats = async (
|
||||
objectId: string,
|
||||
shop: GameShop
|
||||
) => {
|
||||
if (shop === "custom") {
|
||||
return null;
|
||||
}
|
||||
|
||||
const cachedStats = await gamesStatsCacheSublevel.get(
|
||||
levelKeys.game(shop, objectId)
|
||||
);
|
||||
|
||||
4
src/main/events/catalogue/index.ts
Normal file
4
src/main/events/catalogue/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import "./get-game-assets";
|
||||
import "./get-game-shop-details";
|
||||
import "./get-game-stats";
|
||||
import "./get-random-game";
|
||||
4
src/main/events/cloud-save/index.ts
Normal file
4
src/main/events/cloud-save/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import "./download-game-artifact";
|
||||
import "./get-game-backup-preview";
|
||||
import "./select-game-backup-path";
|
||||
import "./upload-save-game";
|
||||
@@ -1,76 +1,50 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadSourcesSublevel, repacksSublevel } from "@main/level";
|
||||
import { HydraApi, logger } from "@main/services";
|
||||
import { importDownloadSourceToLocal } from "./helpers";
|
||||
import { HydraApi } from "@main/services/hydra-api";
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
import type { DownloadSource } from "@types";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const addDownloadSource = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
url: string
|
||||
) => {
|
||||
const result = await importDownloadSourceToLocal(url, true);
|
||||
if (!result) {
|
||||
throw new Error("Failed to import download source");
|
||||
}
|
||||
try {
|
||||
const existingSources = await downloadSourcesSublevel.values().all();
|
||||
const urlExists = existingSources.some((source) => source.url === url);
|
||||
|
||||
// Verify that repacks were actually written to the database (read-after-write)
|
||||
// This ensures all async operations are complete before proceeding
|
||||
let repackCount = 0;
|
||||
for await (const [, repack] of repacksSublevel.iterator()) {
|
||||
if (repack.downloadSourceId === result.id) {
|
||||
repackCount++;
|
||||
if (urlExists) {
|
||||
throw new Error("Download source with this URL already exists");
|
||||
}
|
||||
}
|
||||
|
||||
await HydraApi.post("/profile/download-sources", {
|
||||
urls: [url],
|
||||
});
|
||||
const downloadSource = await HydraApi.post<DownloadSource>(
|
||||
"/download-sources",
|
||||
{
|
||||
url,
|
||||
},
|
||||
{ needsAuth: false }
|
||||
);
|
||||
|
||||
const { fingerprint } = await HydraApi.put<{ fingerprint: string }>(
|
||||
"/download-sources",
|
||||
{
|
||||
objectIds: result.objectIds,
|
||||
},
|
||||
{ needsAuth: false }
|
||||
);
|
||||
if (HydraApi.isLoggedIn() && HydraApi.hasActiveSubscription()) {
|
||||
try {
|
||||
await HydraApi.post("/profile/download-sources", {
|
||||
urls: [url],
|
||||
});
|
||||
} catch (error) {
|
||||
logger.error("Failed to add download source to profile:", error);
|
||||
}
|
||||
}
|
||||
|
||||
// Update the source with fingerprint
|
||||
const updatedSource = await downloadSourcesSublevel.get(`${result.id}`);
|
||||
if (updatedSource) {
|
||||
await downloadSourcesSublevel.put(`${result.id}`, {
|
||||
...updatedSource,
|
||||
fingerprint,
|
||||
updatedAt: new Date(),
|
||||
await downloadSourcesSublevel.put(downloadSource.id, {
|
||||
...downloadSource,
|
||||
isRemote: true,
|
||||
createdAt: new Date().toISOString(),
|
||||
});
|
||||
}
|
||||
|
||||
// Final verification: ensure the source with fingerprint is persisted
|
||||
const finalSource = await downloadSourcesSublevel.get(`${result.id}`);
|
||||
if (!finalSource || !finalSource.fingerprint) {
|
||||
throw new Error("Failed to persist download source with fingerprint");
|
||||
return downloadSource;
|
||||
} catch (error) {
|
||||
logger.error("Failed to add download source:", error);
|
||||
throw error;
|
||||
}
|
||||
|
||||
// Verify repacks still exist after fingerprint update
|
||||
let finalRepackCount = 0;
|
||||
for await (const [, repack] of repacksSublevel.iterator()) {
|
||||
if (repack.downloadSourceId === result.id) {
|
||||
finalRepackCount++;
|
||||
}
|
||||
}
|
||||
|
||||
if (finalRepackCount !== repackCount) {
|
||||
logger.warn(
|
||||
`Repack count mismatch! Before: ${repackCount}, After: ${finalRepackCount}`
|
||||
);
|
||||
} else {
|
||||
logger.info(
|
||||
`Final verification passed: ${finalRepackCount} repacks confirmed`
|
||||
);
|
||||
}
|
||||
|
||||
return {
|
||||
...result,
|
||||
fingerprint,
|
||||
};
|
||||
};
|
||||
|
||||
registerEvent("addDownloadSource", addDownloadSource);
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
|
||||
const checkDownloadSourceExists = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
url: string
|
||||
): Promise<boolean> => {
|
||||
for await (const [, source] of downloadSourcesSublevel.iterator()) {
|
||||
if (source.url === url) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
registerEvent("checkDownloadSourceExists", checkDownloadSourceExists);
|
||||
@@ -1,13 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadSourcesSublevel, repacksSublevel } from "@main/level";
|
||||
import { invalidateIdCaches } from "./helpers";
|
||||
|
||||
const deleteAllDownloadSources = async (
|
||||
_event: Electron.IpcMainInvokeEvent
|
||||
) => {
|
||||
await Promise.all([repacksSublevel.clear(), downloadSourcesSublevel.clear()]);
|
||||
|
||||
invalidateIdCaches();
|
||||
};
|
||||
|
||||
registerEvent("deleteAllDownloadSources", deleteAllDownloadSources);
|
||||
@@ -1,28 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadSourcesSublevel, repacksSublevel } from "@main/level";
|
||||
import { invalidateIdCaches } from "./helpers";
|
||||
|
||||
const deleteDownloadSource = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
id: number
|
||||
) => {
|
||||
const repacksToDelete: string[] = [];
|
||||
|
||||
for await (const [key, repack] of repacksSublevel.iterator()) {
|
||||
if (repack.downloadSourceId === id) {
|
||||
repacksToDelete.push(key);
|
||||
}
|
||||
}
|
||||
|
||||
const batch = repacksSublevel.batch();
|
||||
for (const key of repacksToDelete) {
|
||||
batch.del(key);
|
||||
}
|
||||
await batch.write();
|
||||
|
||||
await downloadSourcesSublevel.del(`${id}`);
|
||||
|
||||
invalidateIdCaches();
|
||||
};
|
||||
|
||||
registerEvent("deleteDownloadSource", deleteDownloadSource);
|
||||
@@ -0,0 +1,13 @@
|
||||
import { getDownloadSourcesCheckBaseline } from "@main/level";
|
||||
import { registerEvent } from "../register-event";
|
||||
|
||||
const getDownloadSourcesCheckBaselineHandler = async (
|
||||
_event: Electron.IpcMainInvokeEvent
|
||||
) => {
|
||||
return await getDownloadSourcesCheckBaseline();
|
||||
};
|
||||
|
||||
registerEvent(
|
||||
"getDownloadSourcesCheckBaseline",
|
||||
getDownloadSourcesCheckBaselineHandler
|
||||
);
|
||||
@@ -1,19 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadSourcesSublevel, DownloadSource } from "@main/level";
|
||||
|
||||
const getDownloadSourcesList = async (_event: Electron.IpcMainInvokeEvent) => {
|
||||
const sources: DownloadSource[] = [];
|
||||
|
||||
for await (const [, source] of downloadSourcesSublevel.iterator()) {
|
||||
sources.push(source);
|
||||
}
|
||||
|
||||
// Sort by createdAt descending
|
||||
sources.sort(
|
||||
(a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime()
|
||||
);
|
||||
|
||||
return sources;
|
||||
};
|
||||
|
||||
registerEvent("getDownloadSourcesList", getDownloadSourcesList);
|
||||
@@ -0,0 +1,13 @@
|
||||
import { getDownloadSourcesSinceValue } from "@main/level";
|
||||
import { registerEvent } from "../register-event";
|
||||
|
||||
const getDownloadSourcesSinceValueHandler = async (
|
||||
_event: Electron.IpcMainInvokeEvent
|
||||
) => {
|
||||
return await getDownloadSourcesSinceValue();
|
||||
};
|
||||
|
||||
registerEvent(
|
||||
"getDownloadSourcesSinceValue",
|
||||
getDownloadSourcesSinceValueHandler
|
||||
);
|
||||
@@ -1,8 +1,10 @@
|
||||
import { HydraApi } from "@main/services";
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
import { registerEvent } from "../register-event";
|
||||
import { orderBy } from "lodash-es";
|
||||
|
||||
const getDownloadSources = async (_event: Electron.IpcMainInvokeEvent) => {
|
||||
return HydraApi.get("/profile/download-sources");
|
||||
const allSources = await downloadSourcesSublevel.values().all();
|
||||
return orderBy(allSources, "createdAt", "desc");
|
||||
};
|
||||
|
||||
registerEvent("getDownloadSources", getDownloadSources);
|
||||
|
||||
@@ -1,367 +0,0 @@
|
||||
import axios from "axios";
|
||||
import { z } from "zod";
|
||||
import { downloadSourcesSublevel, repacksSublevel } from "@main/level";
|
||||
import { DownloadSourceStatus } from "@shared";
|
||||
import crypto from "node:crypto";
|
||||
import { logger, ResourceCache } from "@main/services";
|
||||
|
||||
export const downloadSourceSchema = z.object({
|
||||
name: z.string().max(255),
|
||||
downloads: z.array(
|
||||
z.object({
|
||||
title: z.string().max(255),
|
||||
uris: z.array(z.string()),
|
||||
uploadDate: z.string().max(255),
|
||||
fileSize: z.string().max(255),
|
||||
})
|
||||
),
|
||||
});
|
||||
|
||||
export type TitleHashMapping = Record<string, number[]>;
|
||||
|
||||
let titleHashMappingCache: TitleHashMapping | null = null;
|
||||
|
||||
export const getTitleHashMapping = async (): Promise<TitleHashMapping> => {
|
||||
if (titleHashMappingCache) {
|
||||
return titleHashMappingCache;
|
||||
}
|
||||
|
||||
try {
|
||||
const cached =
|
||||
ResourceCache.getCachedData<TitleHashMapping>("sources-manifest");
|
||||
if (cached) {
|
||||
titleHashMappingCache = cached;
|
||||
return cached;
|
||||
}
|
||||
|
||||
const fetched = await ResourceCache.fetchAndCache<TitleHashMapping>(
|
||||
"sources-manifest",
|
||||
"https://cdn.losbroxas.org/sources-manifest.json",
|
||||
10000
|
||||
);
|
||||
titleHashMappingCache = fetched;
|
||||
return fetched;
|
||||
} catch (error) {
|
||||
logger.error("Failed to fetch title hash mapping:", error);
|
||||
return {} as TitleHashMapping;
|
||||
}
|
||||
};
|
||||
|
||||
export const hashTitle = (title: string): string => {
|
||||
return crypto.createHash("sha256").update(title).digest("hex");
|
||||
};
|
||||
|
||||
export type SteamGamesByLetter = Record<string, { id: string; name: string }[]>;
|
||||
export type FormattedSteamGame = {
|
||||
id: string;
|
||||
name: string;
|
||||
formattedName: string;
|
||||
};
|
||||
export type FormattedSteamGamesByLetter = Record<string, FormattedSteamGame[]>;
|
||||
|
||||
export const formatName = (name: string) => {
|
||||
return name
|
||||
.normalize("NFD")
|
||||
.replaceAll(/[\u0300-\u036f]/g, "")
|
||||
.toLowerCase()
|
||||
.replaceAll(/[^a-z0-9]/g, "");
|
||||
};
|
||||
|
||||
export const formatRepackName = (name: string) => {
|
||||
return formatName(name.replace("[DL]", ""));
|
||||
};
|
||||
|
||||
interface DownloadSource {
|
||||
id: number;
|
||||
url: string;
|
||||
name: string;
|
||||
etag: string | null;
|
||||
status: number;
|
||||
downloadCount: number;
|
||||
objectIds: string[];
|
||||
fingerprint?: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
const getDownloadSourcesMap = async (): Promise<
|
||||
Map<string, DownloadSource>
|
||||
> => {
|
||||
const map = new Map();
|
||||
for await (const [key, source] of downloadSourcesSublevel.iterator()) {
|
||||
map.set(key, source);
|
||||
}
|
||||
|
||||
return map;
|
||||
};
|
||||
|
||||
export const checkUrlExists = async (url: string): Promise<boolean> => {
|
||||
const sources = await getDownloadSourcesMap();
|
||||
for (const source of sources.values()) {
|
||||
if (source.url === url) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
let steamGamesFormattedCache: FormattedSteamGamesByLetter | null = null;
|
||||
|
||||
export const getSteamGames = async (): Promise<FormattedSteamGamesByLetter> => {
|
||||
if (steamGamesFormattedCache) {
|
||||
return steamGamesFormattedCache;
|
||||
}
|
||||
|
||||
let steamGames: SteamGamesByLetter;
|
||||
|
||||
const cached = ResourceCache.getCachedData<SteamGamesByLetter>(
|
||||
"steam-games-by-letter"
|
||||
);
|
||||
if (cached) {
|
||||
steamGames = cached;
|
||||
} else {
|
||||
steamGames = await ResourceCache.fetchAndCache<SteamGamesByLetter>(
|
||||
"steam-games-by-letter",
|
||||
`${import.meta.env.MAIN_VITE_EXTERNAL_RESOURCES_URL}/steam-games-by-letter.json`
|
||||
);
|
||||
}
|
||||
|
||||
const formattedData: FormattedSteamGamesByLetter = {};
|
||||
for (const [letter, games] of Object.entries(steamGames)) {
|
||||
formattedData[letter] = games.map((game) => ({
|
||||
...game,
|
||||
formattedName: formatName(game.name),
|
||||
}));
|
||||
}
|
||||
|
||||
steamGamesFormattedCache = formattedData;
|
||||
return formattedData;
|
||||
};
|
||||
|
||||
export type SublevelIterator = AsyncIterable<[string, { id: number }]>;
|
||||
|
||||
export interface SublevelWithId {
|
||||
iterator: () => SublevelIterator;
|
||||
}
|
||||
|
||||
let maxRepackId: number | null = null;
|
||||
let maxDownloadSourceId: number | null = null;
|
||||
|
||||
export const getNextId = async (sublevel: SublevelWithId): Promise<number> => {
|
||||
const isRepackSublevel = sublevel === repacksSublevel;
|
||||
const isDownloadSourceSublevel = sublevel === downloadSourcesSublevel;
|
||||
|
||||
if (isRepackSublevel && maxRepackId !== null) {
|
||||
return ++maxRepackId;
|
||||
}
|
||||
|
||||
if (isDownloadSourceSublevel && maxDownloadSourceId !== null) {
|
||||
return ++maxDownloadSourceId;
|
||||
}
|
||||
|
||||
let maxId = 0;
|
||||
for await (const [, value] of sublevel.iterator()) {
|
||||
if (value.id > maxId) {
|
||||
maxId = value.id;
|
||||
}
|
||||
}
|
||||
|
||||
if (isRepackSublevel) {
|
||||
maxRepackId = maxId;
|
||||
} else if (isDownloadSourceSublevel) {
|
||||
maxDownloadSourceId = maxId;
|
||||
}
|
||||
|
||||
return maxId + 1;
|
||||
};
|
||||
|
||||
export const invalidateIdCaches = () => {
|
||||
maxRepackId = null;
|
||||
maxDownloadSourceId = null;
|
||||
};
|
||||
|
||||
export const addNewDownloads = async (
|
||||
downloadSource: { id: number; name: string },
|
||||
downloads: z.infer<typeof downloadSourceSchema>["downloads"],
|
||||
steamGames: FormattedSteamGamesByLetter
|
||||
) => {
|
||||
const now = new Date();
|
||||
const objectIdsOnSource = new Set<string>();
|
||||
|
||||
let nextRepackId = await getNextId(repacksSublevel);
|
||||
|
||||
const batch = repacksSublevel.batch();
|
||||
|
||||
const titleHashMapping = await getTitleHashMapping();
|
||||
let hashMatchCount = 0;
|
||||
let fuzzyMatchCount = 0;
|
||||
let noMatchCount = 0;
|
||||
|
||||
for (const download of downloads) {
|
||||
let objectIds: string[] = [];
|
||||
let usedHashMatch = false;
|
||||
|
||||
const titleHash = hashTitle(download.title);
|
||||
const steamIdsFromHash = titleHashMapping[titleHash];
|
||||
|
||||
if (steamIdsFromHash && steamIdsFromHash.length > 0) {
|
||||
hashMatchCount++;
|
||||
usedHashMatch = true;
|
||||
|
||||
objectIds = steamIdsFromHash.map(String);
|
||||
}
|
||||
|
||||
if (!usedHashMatch) {
|
||||
let gamesInSteam: FormattedSteamGame[] = [];
|
||||
const formattedTitle = formatRepackName(download.title);
|
||||
|
||||
if (formattedTitle && formattedTitle.length > 0) {
|
||||
const [firstLetter] = formattedTitle;
|
||||
const games = steamGames[firstLetter] || [];
|
||||
|
||||
gamesInSteam = games.filter((game) =>
|
||||
formattedTitle.startsWith(game.formattedName)
|
||||
);
|
||||
|
||||
if (gamesInSteam.length === 0) {
|
||||
gamesInSteam = games.filter(
|
||||
(game) =>
|
||||
formattedTitle.includes(game.formattedName) ||
|
||||
game.formattedName.includes(formattedTitle)
|
||||
);
|
||||
}
|
||||
|
||||
if (gamesInSteam.length === 0) {
|
||||
for (const letter of Object.keys(steamGames)) {
|
||||
const letterGames = steamGames[letter] || [];
|
||||
const matches = letterGames.filter(
|
||||
(game) =>
|
||||
formattedTitle.includes(game.formattedName) ||
|
||||
game.formattedName.includes(formattedTitle)
|
||||
);
|
||||
if (matches.length > 0) {
|
||||
gamesInSteam = matches;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (gamesInSteam.length > 0) {
|
||||
fuzzyMatchCount++;
|
||||
objectIds = gamesInSteam.map((game) => String(game.id));
|
||||
} else {
|
||||
noMatchCount++;
|
||||
}
|
||||
} else {
|
||||
noMatchCount++;
|
||||
}
|
||||
}
|
||||
|
||||
for (const id of objectIds) {
|
||||
objectIdsOnSource.add(id);
|
||||
}
|
||||
|
||||
const repack = {
|
||||
id: nextRepackId++,
|
||||
objectIds: objectIds,
|
||||
title: download.title,
|
||||
uris: download.uris,
|
||||
fileSize: download.fileSize,
|
||||
repacker: downloadSource.name,
|
||||
uploadDate: download.uploadDate,
|
||||
downloadSourceId: downloadSource.id,
|
||||
createdAt: now,
|
||||
updatedAt: now,
|
||||
};
|
||||
|
||||
batch.put(`${repack.id}`, repack);
|
||||
}
|
||||
|
||||
await batch.write();
|
||||
|
||||
logger.info(
|
||||
`Matching stats for ${downloadSource.name}: Hash=${hashMatchCount}, Fuzzy=${fuzzyMatchCount}, None=${noMatchCount}`
|
||||
);
|
||||
|
||||
const existingSource = await downloadSourcesSublevel.get(
|
||||
`${downloadSource.id}`
|
||||
);
|
||||
if (existingSource) {
|
||||
await downloadSourcesSublevel.put(`${downloadSource.id}`, {
|
||||
...existingSource,
|
||||
objectIds: Array.from(objectIdsOnSource),
|
||||
});
|
||||
}
|
||||
|
||||
return Array.from(objectIdsOnSource);
|
||||
};
|
||||
|
||||
export const importDownloadSourceToLocal = async (
|
||||
url: string,
|
||||
throwOnDuplicate = false
|
||||
) => {
|
||||
const urlExists = await checkUrlExists(url);
|
||||
if (urlExists) {
|
||||
if (throwOnDuplicate) {
|
||||
throw new Error("Download source with this URL already exists");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
const response = await axios.get<z.infer<typeof downloadSourceSchema>>(url);
|
||||
|
||||
const steamGames = await getSteamGames();
|
||||
|
||||
const now = new Date();
|
||||
|
||||
const nextId = await getNextId(downloadSourcesSublevel);
|
||||
|
||||
const downloadSource = {
|
||||
id: nextId,
|
||||
url,
|
||||
name: response.data.name,
|
||||
etag: response.headers["etag"] || null,
|
||||
status: DownloadSourceStatus.UpToDate,
|
||||
downloadCount: response.data.downloads.length,
|
||||
objectIds: [],
|
||||
createdAt: now,
|
||||
updatedAt: now,
|
||||
};
|
||||
|
||||
await downloadSourcesSublevel.put(`${downloadSource.id}`, downloadSource);
|
||||
|
||||
const objectIds = await addNewDownloads(
|
||||
downloadSource,
|
||||
response.data.downloads,
|
||||
steamGames
|
||||
);
|
||||
|
||||
// Invalidate ID caches after creating new repacks to prevent ID collisions
|
||||
invalidateIdCaches();
|
||||
|
||||
return {
|
||||
...downloadSource,
|
||||
objectIds,
|
||||
};
|
||||
};
|
||||
|
||||
export const updateDownloadSourcePreservingTimestamp = async (
|
||||
existingSource: DownloadSource,
|
||||
url: string
|
||||
) => {
|
||||
const response = await axios.get<z.infer<typeof downloadSourceSchema>>(url);
|
||||
|
||||
const updatedSource = {
|
||||
...existingSource,
|
||||
name: response.data.name,
|
||||
etag: response.headers["etag"] || null,
|
||||
status: DownloadSourceStatus.UpToDate,
|
||||
downloadCount: response.data.downloads.length,
|
||||
updatedAt: new Date(),
|
||||
// Preserve the original createdAt timestamp
|
||||
};
|
||||
|
||||
await downloadSourcesSublevel.put(`${existingSource.id}`, updatedSource);
|
||||
|
||||
return updatedSource;
|
||||
};
|
||||
6
src/main/events/download-sources/index.ts
Normal file
6
src/main/events/download-sources/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import "./add-download-source";
|
||||
import "./get-download-sources-check-baseline";
|
||||
import "./get-download-sources-since-value";
|
||||
import "./get-download-sources";
|
||||
import "./remove-download-source";
|
||||
import "./sync-download-sources";
|
||||
@@ -1,18 +1,27 @@
|
||||
import { HydraApi } from "@main/services";
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
import { registerEvent } from "../register-event";
|
||||
|
||||
const removeDownloadSource = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
url?: string,
|
||||
removeAll = false
|
||||
removeAll = false,
|
||||
downloadSourceId?: string
|
||||
) => {
|
||||
const params = new URLSearchParams({
|
||||
all: removeAll.toString(),
|
||||
});
|
||||
|
||||
if (url) params.set("url", url);
|
||||
if (downloadSourceId) params.set("downloadSourceId", downloadSourceId);
|
||||
|
||||
return HydraApi.delete(`/profile/download-sources?${params.toString()}`);
|
||||
if (HydraApi.isLoggedIn() && HydraApi.hasActiveSubscription()) {
|
||||
void HydraApi.delete(`/profile/download-sources?${params.toString()}`);
|
||||
}
|
||||
|
||||
if (removeAll) {
|
||||
await downloadSourcesSublevel.clear();
|
||||
} else if (downloadSourceId) {
|
||||
await downloadSourcesSublevel.del(downloadSourceId);
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("removeDownloadSource", removeDownloadSource);
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
import { HydraApi, logger } from "@main/services";
|
||||
import { importDownloadSourceToLocal, checkUrlExists } from "./helpers";
|
||||
|
||||
export const syncDownloadSourcesFromApi = async () => {
|
||||
try {
|
||||
const apiSources = await HydraApi.get<
|
||||
{ url: string; createdAt: string; updatedAt: string }[]
|
||||
>("/profile/download-sources");
|
||||
|
||||
for (const apiSource of apiSources) {
|
||||
const exists = await checkUrlExists(apiSource.url);
|
||||
if (!exists) {
|
||||
await importDownloadSourceToLocal(apiSource.url, false);
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
logger.error("Failed to sync download sources from API:", error);
|
||||
}
|
||||
};
|
||||
@@ -1,114 +1,28 @@
|
||||
import { HydraApi } from "@main/services";
|
||||
import { registerEvent } from "../register-event";
|
||||
import axios, { AxiosError } from "axios";
|
||||
import { downloadSourcesSublevel, repacksSublevel } from "@main/level";
|
||||
import { DownloadSourceStatus } from "@shared";
|
||||
import {
|
||||
invalidateIdCaches,
|
||||
downloadSourceSchema,
|
||||
getSteamGames,
|
||||
addNewDownloads,
|
||||
} from "./helpers";
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
import type { DownloadSource } from "@types";
|
||||
|
||||
const syncDownloadSources = async (
|
||||
_event: Electron.IpcMainInvokeEvent
|
||||
): Promise<number> => {
|
||||
let newRepacksCount = 0;
|
||||
const syncDownloadSources = async (_event: Electron.IpcMainInvokeEvent) => {
|
||||
const downloadSources = await downloadSourcesSublevel.values().all();
|
||||
|
||||
try {
|
||||
const downloadSources: Array<{
|
||||
id: number;
|
||||
url: string;
|
||||
name: string;
|
||||
etag: string | null;
|
||||
status: number;
|
||||
downloadCount: number;
|
||||
objectIds: string[];
|
||||
fingerprint?: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}> = [];
|
||||
for await (const [, source] of downloadSourcesSublevel.iterator()) {
|
||||
downloadSources.push(source);
|
||||
}
|
||||
const response = await HydraApi.post<DownloadSource[]>(
|
||||
"/download-sources/sync",
|
||||
{
|
||||
ids: downloadSources.map((downloadSource) => downloadSource.id),
|
||||
},
|
||||
{ needsAuth: false }
|
||||
);
|
||||
|
||||
const existingRepacks: Array<{
|
||||
id: number;
|
||||
title: string;
|
||||
uris: string[];
|
||||
repacker: string;
|
||||
fileSize: string | null;
|
||||
objectIds: string[];
|
||||
uploadDate: Date | string | null;
|
||||
downloadSourceId: number;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}> = [];
|
||||
for await (const [, repack] of repacksSublevel.iterator()) {
|
||||
existingRepacks.push(repack);
|
||||
}
|
||||
|
||||
// Handle sources with missing fingerprints individually, don't delete all sources
|
||||
const sourcesWithFingerprints = downloadSources.filter(
|
||||
(source) => source.fingerprint
|
||||
);
|
||||
const sourcesWithoutFingerprints = downloadSources.filter(
|
||||
(source) => !source.fingerprint
|
||||
for (const downloadSource of response) {
|
||||
const existingDownloadSource = downloadSources.find(
|
||||
(source) => source.id === downloadSource.id
|
||||
);
|
||||
|
||||
// For sources without fingerprints, just continue with normal sync
|
||||
// They will get fingerprints updated later by updateMissingFingerprints
|
||||
const allSourcesToSync = [
|
||||
...sourcesWithFingerprints,
|
||||
...sourcesWithoutFingerprints,
|
||||
];
|
||||
|
||||
for (const downloadSource of allSourcesToSync) {
|
||||
const headers: Record<string, string> = {};
|
||||
|
||||
if (downloadSource.etag) {
|
||||
headers["If-None-Match"] = downloadSource.etag;
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await axios.get(downloadSource.url, {
|
||||
headers,
|
||||
});
|
||||
|
||||
const source = downloadSourceSchema.parse(response.data);
|
||||
const steamGames = await getSteamGames();
|
||||
|
||||
const repacks = source.downloads.filter(
|
||||
(download) =>
|
||||
!existingRepacks.some((repack) => repack.title === download.title)
|
||||
);
|
||||
|
||||
await downloadSourcesSublevel.put(`${downloadSource.id}`, {
|
||||
...downloadSource,
|
||||
etag: response.headers["etag"] || null,
|
||||
downloadCount: source.downloads.length,
|
||||
status: DownloadSourceStatus.UpToDate,
|
||||
});
|
||||
|
||||
await addNewDownloads(downloadSource, repacks, steamGames);
|
||||
|
||||
newRepacksCount += repacks.length;
|
||||
} catch (err: unknown) {
|
||||
const isNotModified = (err as AxiosError).response?.status === 304;
|
||||
|
||||
await downloadSourcesSublevel.put(`${downloadSource.id}`, {
|
||||
...downloadSource,
|
||||
status: isNotModified
|
||||
? DownloadSourceStatus.UpToDate
|
||||
: DownloadSourceStatus.Errored,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
invalidateIdCaches();
|
||||
|
||||
return newRepacksCount;
|
||||
} catch (err) {
|
||||
return -1;
|
||||
await downloadSourcesSublevel.put(downloadSource.id, {
|
||||
...existingDownloadSource,
|
||||
...downloadSource,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
import { HydraApi, logger } from "@main/services";
|
||||
|
||||
const updateMissingFingerprints = async (
|
||||
_event: Electron.IpcMainInvokeEvent
|
||||
): Promise<number> => {
|
||||
const sourcesNeedingFingerprints: Array<{
|
||||
id: number;
|
||||
objectIds: string[];
|
||||
}> = [];
|
||||
|
||||
for await (const [, source] of downloadSourcesSublevel.iterator()) {
|
||||
if (
|
||||
!source.fingerprint &&
|
||||
source.objectIds &&
|
||||
source.objectIds.length > 0
|
||||
) {
|
||||
sourcesNeedingFingerprints.push({
|
||||
id: source.id,
|
||||
objectIds: source.objectIds,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (sourcesNeedingFingerprints.length === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
logger.info(
|
||||
`Updating fingerprints for ${sourcesNeedingFingerprints.length} sources`
|
||||
);
|
||||
|
||||
await Promise.all(
|
||||
sourcesNeedingFingerprints.map(async (source) => {
|
||||
try {
|
||||
const { fingerprint } = await HydraApi.put<{ fingerprint: string }>(
|
||||
"/download-sources",
|
||||
{
|
||||
objectIds: source.objectIds,
|
||||
},
|
||||
{ needsAuth: false }
|
||||
);
|
||||
|
||||
const existingSource = await downloadSourcesSublevel.get(
|
||||
`${source.id}`
|
||||
);
|
||||
if (existingSource) {
|
||||
await downloadSourcesSublevel.put(`${source.id}`, {
|
||||
...existingSource,
|
||||
fingerprint,
|
||||
updatedAt: new Date(),
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
`Failed to update fingerprint for source ${source.id}:`,
|
||||
error
|
||||
);
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
return sourcesNeedingFingerprints.length;
|
||||
};
|
||||
|
||||
registerEvent("updateMissingFingerprints", updateMissingFingerprints);
|
||||
@@ -1,32 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import axios from "axios";
|
||||
import { z } from "zod";
|
||||
|
||||
const downloadSourceSchema = z.object({
|
||||
name: z.string().max(255),
|
||||
downloads: z.array(
|
||||
z.object({
|
||||
title: z.string().max(255),
|
||||
uris: z.array(z.string()),
|
||||
uploadDate: z.string().max(255),
|
||||
fileSize: z.string().max(255),
|
||||
})
|
||||
),
|
||||
});
|
||||
|
||||
const validateDownloadSource = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
url: string
|
||||
) => {
|
||||
const response = await axios.get<z.infer<typeof downloadSourceSchema>>(url);
|
||||
|
||||
const { name } = downloadSourceSchema.parse(response.data);
|
||||
|
||||
return {
|
||||
name,
|
||||
etag: response.headers["etag"] || null,
|
||||
downloadCount: response.data.downloads.length,
|
||||
};
|
||||
};
|
||||
|
||||
registerEvent("validateDownloadSource", validateDownloadSource);
|
||||
2
src/main/events/hardware/index.ts
Normal file
2
src/main/events/hardware/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
import "./check-folder-write-permission";
|
||||
import "./get-disk-free-space";
|
||||
@@ -1,105 +1,22 @@
|
||||
import { appVersion, defaultDownloadsPath, isStaging } from "@main/constants";
|
||||
import { ipcMain } from "electron";
|
||||
|
||||
import "./catalogue/get-game-shop-details";
|
||||
import "./catalogue/get-random-game";
|
||||
import "./catalogue/get-game-stats";
|
||||
import "./hardware/get-disk-free-space";
|
||||
import "./hardware/check-folder-write-permission";
|
||||
import "./library/add-game-to-library";
|
||||
import "./library/add-custom-game-to-library";
|
||||
import "./library/update-custom-game";
|
||||
import "./library/update-game-custom-assets";
|
||||
import "./library/add-game-to-favorites";
|
||||
import "./library/remove-game-from-favorites";
|
||||
import "./library/toggle-game-pin";
|
||||
import "./library/create-game-shortcut";
|
||||
import "./library/close-game";
|
||||
import "./library/delete-game-folder";
|
||||
import "./library/get-game-by-object-id";
|
||||
import "./library/get-library";
|
||||
import "./library/extract-game-download";
|
||||
import "./library/open-game";
|
||||
import "./library/open-game-executable-path";
|
||||
import "./library/open-game-installer";
|
||||
import "./library/open-game-installer-path";
|
||||
import "./library/update-executable-path";
|
||||
import "./library/update-launch-options";
|
||||
import "./library/verify-executable-path";
|
||||
import "./library/remove-game";
|
||||
import "./library/remove-game-from-library";
|
||||
import "./library/select-game-wine-prefix";
|
||||
import "./library/reset-game-achievements";
|
||||
import "./library/change-game-playtime";
|
||||
import "./library/toggle-automatic-cloud-sync";
|
||||
import "./library/get-default-wine-prefix-selection-path";
|
||||
import "./library/cleanup-unused-assets";
|
||||
import "./library/create-steam-shortcut";
|
||||
import "./library/copy-custom-game-asset";
|
||||
import "./misc/open-checkout";
|
||||
import "./misc/open-external";
|
||||
import "./misc/show-open-dialog";
|
||||
import "./misc/show-item-in-folder";
|
||||
import "./misc/install-common-redist";
|
||||
import "./misc/can-install-common-redist";
|
||||
import "./misc/save-temp-file";
|
||||
import "./misc/delete-temp-file";
|
||||
import "./misc/install-hydra-decky-plugin";
|
||||
import "./misc/get-hydra-decky-plugin-info";
|
||||
import "./misc/check-homebrew-folder-exists";
|
||||
import "./misc/hydra-api-call";
|
||||
import "./torrenting/cancel-game-download";
|
||||
import "./torrenting/pause-game-download";
|
||||
import "./torrenting/resume-game-download";
|
||||
import "./torrenting/start-game-download";
|
||||
import "./torrenting/pause-game-seed";
|
||||
import "./torrenting/resume-game-seed";
|
||||
import "./torrenting/check-debrid-availability";
|
||||
import "./user-preferences/get-user-preferences";
|
||||
import "./user-preferences/update-user-preferences";
|
||||
import "./user-preferences/auto-launch";
|
||||
import "./autoupdater/check-for-updates";
|
||||
import "./autoupdater/restart-and-install-update";
|
||||
import "./user-preferences/authenticate-real-debrid";
|
||||
import "./user-preferences/authenticate-torbox";
|
||||
import "./download-sources/add-download-source";
|
||||
import "./download-sources/update-missing-fingerprints";
|
||||
import "./download-sources/delete-download-source";
|
||||
import "./download-sources/delete-all-download-sources";
|
||||
import "./download-sources/validate-download-source";
|
||||
import "./download-sources/sync-download-sources";
|
||||
import "./download-sources/get-download-sources-list";
|
||||
import "./download-sources/check-download-source-exists";
|
||||
import "./repacks/get-all-repacks";
|
||||
import "./auth/sign-out";
|
||||
import "./auth/open-auth-window";
|
||||
import "./auth/get-session-hash";
|
||||
import "./user/get-auth";
|
||||
import "./user/get-unlocked-achievements";
|
||||
import "./user/get-compared-unlocked-achievements";
|
||||
import "./profile/get-me";
|
||||
import "./profile/update-profile";
|
||||
import "./profile/process-profile-image";
|
||||
import "./profile/sync-friend-requests";
|
||||
import "./cloud-save/download-game-artifact";
|
||||
import "./cloud-save/get-game-backup-preview";
|
||||
import "./cloud-save/upload-save-game";
|
||||
import "./cloud-save/select-game-backup-path";
|
||||
import "./notifications/publish-new-repacks-notification";
|
||||
import "./notifications/update-achievement-notification-window";
|
||||
import "./notifications/show-achievement-test-notification";
|
||||
import "./themes/add-custom-theme";
|
||||
import "./themes/delete-custom-theme";
|
||||
import "./themes/get-all-custom-themes";
|
||||
import "./themes/delete-all-custom-themes";
|
||||
import "./themes/update-custom-theme";
|
||||
import "./themes/open-editor-window";
|
||||
import "./themes/get-custom-theme-by-id";
|
||||
import "./themes/get-active-custom-theme";
|
||||
import "./themes/close-editor-window";
|
||||
import "./themes/toggle-custom-theme";
|
||||
import "./download-sources/remove-download-source";
|
||||
import "./download-sources/get-download-sources";
|
||||
import "./auth";
|
||||
import "./autoupdater";
|
||||
import "./catalogue";
|
||||
import "./cloud-save";
|
||||
import "./download-sources";
|
||||
import "./hardware";
|
||||
import "./library";
|
||||
import "./leveldb";
|
||||
import "./misc";
|
||||
import "./notifications";
|
||||
import "./profile";
|
||||
import "./themes";
|
||||
import "./torrenting";
|
||||
import "./user";
|
||||
import "./user-preferences";
|
||||
|
||||
import { isPortableVersion } from "@main/helpers";
|
||||
|
||||
ipcMain.handle("ping", () => "pong");
|
||||
|
||||
27
src/main/events/leveldb/helpers.ts
Normal file
27
src/main/events/leveldb/helpers.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { db } from "@main/level";
|
||||
|
||||
const sublevelCache = new Map<
|
||||
string,
|
||||
ReturnType<typeof db.sublevel<string, unknown>>
|
||||
>();
|
||||
|
||||
/**
|
||||
* Gets a sublevel by name, creating it if it doesn't exist.
|
||||
* All sublevels use "json" encoding by default.
|
||||
* @param sublevelName - The name of the sublevel to get or create
|
||||
* @returns The sublevel instance
|
||||
*/
|
||||
export const getSublevelByName = (
|
||||
sublevelName: string
|
||||
): ReturnType<typeof db.sublevel<string, unknown>> => {
|
||||
if (sublevelCache.has(sublevelName)) {
|
||||
return sublevelCache.get(sublevelName)!;
|
||||
}
|
||||
|
||||
// All sublevels use "json" encoding - this cannot be changed per sublevel
|
||||
const sublevel = db.sublevel<string, unknown>(sublevelName, {
|
||||
valueEncoding: "json",
|
||||
});
|
||||
sublevelCache.set(sublevelName, sublevel);
|
||||
return sublevel;
|
||||
};
|
||||
6
src/main/events/leveldb/index.ts
Normal file
6
src/main/events/leveldb/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import "./leveldb-get";
|
||||
import "./leveldb-put";
|
||||
import "./leveldb-del";
|
||||
import "./leveldb-clear";
|
||||
import "./leveldb-values";
|
||||
import "./leveldb-iterator";
|
||||
18
src/main/events/leveldb/leveldb-clear.ts
Normal file
18
src/main/events/leveldb/leveldb-clear.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { getSublevelByName } from "./helpers";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const leveldbClear = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
sublevelName: string
|
||||
) => {
|
||||
try {
|
||||
const sublevel = getSublevelByName(sublevelName);
|
||||
await sublevel.clear();
|
||||
} catch (error) {
|
||||
logger.error("Error in leveldbClear", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("leveldbClear", leveldbClear);
|
||||
28
src/main/events/leveldb/leveldb-del.ts
Normal file
28
src/main/events/leveldb/leveldb-del.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { db } from "@main/level";
|
||||
import { getSublevelByName } from "./helpers";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const leveldbDel = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
key: string,
|
||||
sublevelName?: string | null
|
||||
) => {
|
||||
try {
|
||||
if (sublevelName) {
|
||||
const sublevel = getSublevelByName(sublevelName);
|
||||
await sublevel.del(key);
|
||||
} else {
|
||||
await db.del(key);
|
||||
}
|
||||
} catch (error) {
|
||||
if (error instanceof Error && error.name === "NotFoundError") {
|
||||
// NotFoundError on delete is not an error, just return
|
||||
return;
|
||||
}
|
||||
logger.error("Error in leveldbDel", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("leveldbDel", leveldbDel);
|
||||
28
src/main/events/leveldb/leveldb-get.ts
Normal file
28
src/main/events/leveldb/leveldb-get.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { db } from "@main/level";
|
||||
import { getSublevelByName } from "./helpers";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const leveldbGet = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
key: string,
|
||||
sublevelName?: string | null,
|
||||
valueEncoding: "json" | "utf8" = "json"
|
||||
) => {
|
||||
try {
|
||||
if (sublevelName) {
|
||||
// Note: sublevels always use "json" encoding, valueEncoding parameter is ignored
|
||||
const sublevel = getSublevelByName(sublevelName);
|
||||
return sublevel.get(key);
|
||||
}
|
||||
return db.get<string, unknown>(key, { valueEncoding });
|
||||
} catch (error) {
|
||||
if (error instanceof Error && error.name === "NotFoundError") {
|
||||
return null;
|
||||
}
|
||||
logger.error("Error in leveldbGet", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("leveldbGet", leveldbGet);
|
||||
18
src/main/events/leveldb/leveldb-iterator.ts
Normal file
18
src/main/events/leveldb/leveldb-iterator.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { getSublevelByName } from "./helpers";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const leveldbIterator = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
sublevelName: string
|
||||
) => {
|
||||
try {
|
||||
const sublevel = getSublevelByName(sublevelName);
|
||||
return sublevel.iterator().all();
|
||||
} catch (error) {
|
||||
logger.error("Error in leveldbIterator", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("leveldbIterator", leveldbIterator);
|
||||
27
src/main/events/leveldb/leveldb-put.ts
Normal file
27
src/main/events/leveldb/leveldb-put.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { db } from "@main/level";
|
||||
import { getSublevelByName } from "./helpers";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const leveldbPut = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
key: string,
|
||||
value: unknown,
|
||||
sublevelName?: string | null,
|
||||
valueEncoding: "json" | "utf8" = "json"
|
||||
) => {
|
||||
try {
|
||||
if (sublevelName) {
|
||||
// Note: sublevels always use "json" encoding, valueEncoding parameter is ignored
|
||||
const sublevel = getSublevelByName(sublevelName);
|
||||
await sublevel.put(key, value);
|
||||
} else {
|
||||
await db.put<string, unknown>(key, value, { valueEncoding });
|
||||
}
|
||||
} catch (error) {
|
||||
logger.error("Error in leveldbPut", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("leveldbPut", leveldbPut);
|
||||
18
src/main/events/leveldb/leveldb-values.ts
Normal file
18
src/main/events/leveldb/leveldb-values.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { getSublevelByName } from "./helpers";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const leveldbValues = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
sublevelName: string
|
||||
) => {
|
||||
try {
|
||||
const sublevel = getSublevelByName(sublevelName);
|
||||
return sublevel.values().all();
|
||||
} catch (error) {
|
||||
logger.error("Error in leveldbValues", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("leveldbValues", leveldbValues);
|
||||
@@ -37,6 +37,7 @@ const addCustomGameToLibrary = async (
|
||||
logoImageUrl: logoImageUrl || "",
|
||||
logoPosition: null,
|
||||
coverImageUrl: iconUrl || "",
|
||||
downloadSources: [],
|
||||
};
|
||||
await gamesShopAssetsSublevel.put(gameKey, assets);
|
||||
|
||||
|
||||
@@ -13,7 +13,9 @@ const addGameToFavorites = async (
|
||||
const game = await gamesSublevel.get(gameKey);
|
||||
if (!game) return;
|
||||
|
||||
HydraApi.put(`/profile/games/${shop}/${objectId}/favorite`).catch(() => {});
|
||||
if (shop !== "custom") {
|
||||
HydraApi.put(`/profile/games/${shop}/${objectId}/favorite`).catch(() => {});
|
||||
}
|
||||
|
||||
try {
|
||||
await gamesSublevel.put(gameKey, {
|
||||
|
||||
27
src/main/events/library/clear-new-download-options.ts
Normal file
27
src/main/events/library/clear-new-download-options.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { gamesSublevel, levelKeys } from "@main/level";
|
||||
import { logger } from "@main/services";
|
||||
import type { GameShop } from "@types";
|
||||
|
||||
const clearNewDownloadOptions = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
shop: GameShop,
|
||||
objectId: string
|
||||
) => {
|
||||
const gameKey = levelKeys.game(shop, objectId);
|
||||
|
||||
const game = await gamesSublevel.get(gameKey);
|
||||
if (!game) return;
|
||||
|
||||
try {
|
||||
await gamesSublevel.put(gameKey, {
|
||||
...game,
|
||||
newDownloadOptionsCount: undefined,
|
||||
});
|
||||
logger.info(`Cleared newDownloadOptionsCount for game ${gameKey}`);
|
||||
} catch (error) {
|
||||
logger.error(`Failed to clear newDownloadOptionsCount: ${error}`);
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("clearNewDownloadOptions", clearNewDownloadOptions);
|
||||
23
src/main/events/library/delete-archive.ts
Normal file
23
src/main/events/library/delete-archive.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import fs from "node:fs";
|
||||
|
||||
import { registerEvent } from "../register-event";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const deleteArchive = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
filePath: string
|
||||
) => {
|
||||
try {
|
||||
if (fs.existsSync(filePath)) {
|
||||
await fs.promises.unlink(filePath);
|
||||
logger.info(`Deleted archive: ${filePath}`);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
} catch (err) {
|
||||
logger.error(`Failed to delete archive: ${filePath}`, err);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("deleteArchive", deleteArchive);
|
||||
@@ -22,6 +22,7 @@ const extractGameDownload = async (
|
||||
await downloadsSublevel.put(gameKey, {
|
||||
...download,
|
||||
extracting: true,
|
||||
extractionProgress: 0,
|
||||
});
|
||||
|
||||
const gameFilesManager = new GameFilesManager(shop, objectId);
|
||||
|
||||
@@ -2,6 +2,7 @@ import type { LibraryGame } from "@types";
|
||||
import { registerEvent } from "../register-event";
|
||||
import {
|
||||
downloadsSublevel,
|
||||
gameAchievementsSublevel,
|
||||
gamesShopAssetsSublevel,
|
||||
gamesSublevel,
|
||||
} from "@main/level";
|
||||
@@ -18,15 +19,28 @@ const getLibrary = async (): Promise<LibraryGame[]> => {
|
||||
const download = await downloadsSublevel.get(key);
|
||||
const gameAssets = await gamesShopAssetsSublevel.get(key);
|
||||
|
||||
let unlockedAchievementCount = game.unlockedAchievementCount ?? 0;
|
||||
|
||||
if (!game.unlockedAchievementCount) {
|
||||
const achievements = await gameAchievementsSublevel.get(key);
|
||||
|
||||
unlockedAchievementCount =
|
||||
achievements?.unlockedAchievements.length ?? 0;
|
||||
}
|
||||
|
||||
return {
|
||||
id: key,
|
||||
...game,
|
||||
download: download ?? null,
|
||||
unlockedAchievementCount,
|
||||
achievementCount: game.achievementCount ?? 0,
|
||||
// Spread gameAssets last to ensure all image URLs are properly set
|
||||
...gameAssets,
|
||||
// Ensure compatibility with LibraryGame type
|
||||
libraryHeroImageUrl:
|
||||
game.libraryHeroImageUrl ?? gameAssets?.libraryHeroImageUrl,
|
||||
} as LibraryGame;
|
||||
// Preserve custom image URLs from game if they exist
|
||||
customIconUrl: game.customIconUrl,
|
||||
customLogoImageUrl: game.customLogoImageUrl,
|
||||
customHeroImageUrl: game.customHeroImageUrl,
|
||||
};
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
33
src/main/events/library/index.ts
Normal file
33
src/main/events/library/index.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import "./add-custom-game-to-library";
|
||||
import "./add-game-to-favorites";
|
||||
import "./add-game-to-library";
|
||||
import "./change-game-playtime";
|
||||
import "./cleanup-unused-assets";
|
||||
import "./clear-new-download-options";
|
||||
import "./close-game";
|
||||
import "./copy-custom-game-asset";
|
||||
import "./create-game-shortcut";
|
||||
import "./create-steam-shortcut";
|
||||
import "./delete-archive";
|
||||
import "./delete-game-folder";
|
||||
import "./extract-game-download";
|
||||
import "./get-default-wine-prefix-selection-path";
|
||||
import "./get-game-by-object-id";
|
||||
import "./get-library";
|
||||
import "./open-game-executable-path";
|
||||
import "./open-game-installer-path";
|
||||
import "./open-game-installer";
|
||||
import "./open-game";
|
||||
import "./refresh-library-assets";
|
||||
import "./remove-game-from-favorites";
|
||||
import "./remove-game-from-library";
|
||||
import "./remove-game";
|
||||
import "./reset-game-achievements";
|
||||
import "./select-game-wine-prefix";
|
||||
import "./toggle-automatic-cloud-sync";
|
||||
import "./toggle-game-pin";
|
||||
import "./update-custom-game";
|
||||
import "./update-executable-path";
|
||||
import "./update-game-custom-assets";
|
||||
import "./update-launch-options";
|
||||
import "./verify-executable-path";
|
||||
8
src/main/events/library/refresh-library-assets.ts
Normal file
8
src/main/events/library/refresh-library-assets.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { mergeWithRemoteGames } from "@main/services";
|
||||
|
||||
const refreshLibraryAssets = async () => {
|
||||
await mergeWithRemoteGames();
|
||||
};
|
||||
|
||||
registerEvent("refreshLibraryAssets", refreshLibraryAssets);
|
||||
@@ -13,7 +13,11 @@ const removeGameFromFavorites = async (
|
||||
const game = await gamesSublevel.get(gameKey);
|
||||
if (!game) return;
|
||||
|
||||
HydraApi.put(`/profile/games/${shop}/${objectId}/unfavorite`).catch(() => {});
|
||||
if (shop !== "custom") {
|
||||
HydraApi.put(`/profile/games/${shop}/${objectId}/unfavorite`).catch(
|
||||
() => {}
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
await gamesSublevel.put(gameKey, {
|
||||
|
||||
@@ -84,7 +84,7 @@ const removeGameFromLibrary = async (
|
||||
await resetShopAssets(gameKey);
|
||||
}
|
||||
|
||||
if (game?.remoteId) {
|
||||
if (game.remoteId) {
|
||||
HydraApi.delete(`/profile/games/${game.remoteId}`).catch(() => {});
|
||||
}
|
||||
|
||||
|
||||
12
src/main/events/misc/index.ts
Normal file
12
src/main/events/misc/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import "./can-install-common-redist";
|
||||
import "./check-homebrew-folder-exists";
|
||||
import "./delete-temp-file";
|
||||
import "./get-hydra-decky-plugin-info";
|
||||
import "./hydra-api-call";
|
||||
import "./install-common-redist";
|
||||
import "./install-hydra-decky-plugin";
|
||||
import "./open-checkout";
|
||||
import "./open-external";
|
||||
import "./save-temp-file";
|
||||
import "./show-item-in-folder";
|
||||
import "./show-open-dialog";
|
||||
@@ -0,0 +1,8 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { LocalNotificationManager } from "@main/services";
|
||||
|
||||
const clearAllLocalNotifications = async () => {
|
||||
await LocalNotificationManager.clearAll();
|
||||
};
|
||||
|
||||
registerEvent("clearAllLocalNotifications", clearAllLocalNotifications);
|
||||
11
src/main/events/notifications/delete-local-notification.ts
Normal file
11
src/main/events/notifications/delete-local-notification.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { LocalNotificationManager } from "@main/services";
|
||||
|
||||
const deleteLocalNotification = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
id: string
|
||||
) => {
|
||||
await LocalNotificationManager.deleteNotification(id);
|
||||
};
|
||||
|
||||
registerEvent("deleteLocalNotification", deleteLocalNotification);
|
||||
@@ -0,0 +1,8 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { LocalNotificationManager } from "@main/services";
|
||||
|
||||
const getLocalNotificationsCount = async () => {
|
||||
return LocalNotificationManager.getUnreadCount();
|
||||
};
|
||||
|
||||
registerEvent("getLocalNotificationsCount", getLocalNotificationsCount);
|
||||
8
src/main/events/notifications/get-local-notifications.ts
Normal file
8
src/main/events/notifications/get-local-notifications.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { LocalNotificationManager } from "@main/services";
|
||||
|
||||
const getLocalNotifications = async () => {
|
||||
return LocalNotificationManager.getNotifications();
|
||||
};
|
||||
|
||||
registerEvent("getLocalNotifications", getLocalNotifications);
|
||||
9
src/main/events/notifications/index.ts
Normal file
9
src/main/events/notifications/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import "./publish-new-repacks-notification";
|
||||
import "./show-achievement-test-notification";
|
||||
import "./update-achievement-notification-window";
|
||||
import "./get-local-notifications";
|
||||
import "./get-local-notifications-count";
|
||||
import "./mark-local-notification-read";
|
||||
import "./mark-all-local-notifications-read";
|
||||
import "./delete-local-notification";
|
||||
import "./clear-all-local-notifications";
|
||||
@@ -0,0 +1,8 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { LocalNotificationManager } from "@main/services";
|
||||
|
||||
const markAllLocalNotificationsRead = async () => {
|
||||
await LocalNotificationManager.markAllAsRead();
|
||||
};
|
||||
|
||||
registerEvent("markAllLocalNotificationsRead", markAllLocalNotificationsRead);
|
||||
@@ -0,0 +1,11 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { LocalNotificationManager } from "@main/services";
|
||||
|
||||
const markLocalNotificationRead = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
id: string
|
||||
) => {
|
||||
await LocalNotificationManager.markAsRead(id);
|
||||
};
|
||||
|
||||
registerEvent("markLocalNotificationRead", markLocalNotificationRead);
|
||||
3
src/main/events/profile/index.ts
Normal file
3
src/main/events/profile/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import "./get-me";
|
||||
import "./process-profile-image";
|
||||
import "./update-profile";
|
||||
@@ -1,16 +1,20 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { PythonRPC } from "@main/services/python-rpc";
|
||||
|
||||
const processProfileImage = async (
|
||||
const processProfileImageEvent = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
path: string
|
||||
) => {
|
||||
return processProfileImage(path, "webp");
|
||||
};
|
||||
|
||||
export const processProfileImage = async (path: string, extension?: string) => {
|
||||
return PythonRPC.rpc
|
||||
.post<{
|
||||
imagePath: string;
|
||||
mimeType: string;
|
||||
}>("/profile-image", { image_path: path })
|
||||
}>("/profile-image", { image_path: path, target_extension: extension })
|
||||
.then((response) => response.data);
|
||||
};
|
||||
|
||||
registerEvent("processProfileImage", processProfileImage);
|
||||
registerEvent("processProfileImage", processProfileImageEvent);
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { HydraApi, WindowManager } from "@main/services";
|
||||
import { UserNotLoggedInError } from "@shared";
|
||||
import type { FriendRequestSync } from "@types";
|
||||
|
||||
export const syncFriendRequests = async () => {
|
||||
return HydraApi.get<FriendRequestSync>(`/profile/friend-requests/sync`)
|
||||
.then((res) => {
|
||||
WindowManager.mainWindow?.webContents.send(
|
||||
"on-sync-friend-requests",
|
||||
res
|
||||
);
|
||||
|
||||
return res;
|
||||
})
|
||||
.catch((err) => {
|
||||
if (err instanceof UserNotLoggedInError) {
|
||||
return { friendRequestCount: 0 } as FriendRequestSync;
|
||||
}
|
||||
throw err;
|
||||
});
|
||||
};
|
||||
|
||||
registerEvent("syncFriendRequests", syncFriendRequests);
|
||||
@@ -1,16 +0,0 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { repacksSublevel, GameRepack } from "@main/level";
|
||||
|
||||
const getAllRepacks = async (_event: Electron.IpcMainInvokeEvent) => {
|
||||
const repacks: GameRepack[] = [];
|
||||
|
||||
for await (const [, repack] of repacksSublevel.iterator()) {
|
||||
if (Array.isArray(repack.objectIds)) {
|
||||
repacks.push(repack);
|
||||
}
|
||||
}
|
||||
|
||||
return repacks;
|
||||
};
|
||||
|
||||
registerEvent("getAllRepacks", getAllRepacks);
|
||||
40
src/main/events/themes/copy-theme-achievement-sound.ts
Normal file
40
src/main/events/themes/copy-theme-achievement-sound.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { getThemePath } from "@main/helpers";
|
||||
import { themesSublevel } from "@main/level";
|
||||
|
||||
const copyThemeAchievementSound = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
themeId: string,
|
||||
sourcePath: string
|
||||
): Promise<void> => {
|
||||
if (!sourcePath || !fs.existsSync(sourcePath)) {
|
||||
throw new Error("Source file does not exist");
|
||||
}
|
||||
|
||||
const theme = await themesSublevel.get(themeId);
|
||||
if (!theme) {
|
||||
throw new Error("Theme not found");
|
||||
}
|
||||
|
||||
const themeDir = getThemePath(themeId, theme.name);
|
||||
|
||||
if (!fs.existsSync(themeDir)) {
|
||||
fs.mkdirSync(themeDir, { recursive: true });
|
||||
}
|
||||
|
||||
const fileExtension = path.extname(sourcePath);
|
||||
const destinationPath = path.join(themeDir, `achievement${fileExtension}`);
|
||||
|
||||
await fs.promises.copyFile(sourcePath, destinationPath);
|
||||
|
||||
await themesSublevel.put(themeId, {
|
||||
...theme,
|
||||
hasCustomSound: true,
|
||||
originalSoundPath: sourcePath,
|
||||
updatedAt: new Date(),
|
||||
});
|
||||
};
|
||||
|
||||
registerEvent("copyThemeAchievementSound", copyThemeAchievementSound);
|
||||
40
src/main/events/themes/get-theme-sound-data-url.ts
Normal file
40
src/main/events/themes/get-theme-sound-data-url.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { getThemeSoundPath } from "@main/helpers";
|
||||
import { themesSublevel } from "@main/level";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const getThemeSoundDataUrl = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
themeId: string
|
||||
): Promise<string | null> => {
|
||||
try {
|
||||
const theme = await themesSublevel.get(themeId);
|
||||
const soundPath = getThemeSoundPath(themeId, theme?.name);
|
||||
|
||||
if (!soundPath || !fs.existsSync(soundPath)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const buffer = await fs.promises.readFile(soundPath);
|
||||
const ext = path.extname(soundPath).toLowerCase().slice(1);
|
||||
|
||||
const mimeTypes: Record<string, string> = {
|
||||
mp3: "audio/mpeg",
|
||||
wav: "audio/wav",
|
||||
ogg: "audio/ogg",
|
||||
m4a: "audio/mp4",
|
||||
};
|
||||
|
||||
const mimeType = mimeTypes[ext] || "audio/mpeg";
|
||||
const base64 = buffer.toString("base64");
|
||||
|
||||
return `data:${mimeType};base64,${base64}`;
|
||||
} catch (error) {
|
||||
logger.error("Failed to get theme sound data URL", error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
registerEvent("getThemeSoundDataUrl", getThemeSoundDataUrl);
|
||||
13
src/main/events/themes/get-theme-sound-path.ts
Normal file
13
src/main/events/themes/get-theme-sound-path.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import { getThemeSoundPath } from "@main/helpers";
|
||||
import { themesSublevel } from "@main/level";
|
||||
|
||||
const getThemeSoundPathEvent = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
themeId: string
|
||||
): Promise<string | null> => {
|
||||
const theme = await themesSublevel.get(themeId);
|
||||
return getThemeSoundPath(themeId, theme?.name);
|
||||
};
|
||||
|
||||
registerEvent("getThemeSoundPath", getThemeSoundPathEvent);
|
||||
60
src/main/events/themes/import-theme-sound-from-store.ts
Normal file
60
src/main/events/themes/import-theme-sound-from-store.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import axios from "axios";
|
||||
import { getThemePath } from "@main/helpers";
|
||||
import { themesSublevel } from "@main/level";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
const importThemeSoundFromStore = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
themeId: string,
|
||||
themeName: string,
|
||||
storeUrl: string
|
||||
): Promise<void> => {
|
||||
const theme = await themesSublevel.get(themeId);
|
||||
if (!theme) {
|
||||
throw new Error("Theme not found");
|
||||
}
|
||||
|
||||
const formats = ["wav", "mp3", "ogg", "m4a"];
|
||||
|
||||
for (const format of formats) {
|
||||
try {
|
||||
const soundUrl = `${storeUrl}/themes/${themeName.toLowerCase()}/achievement.${format}`;
|
||||
|
||||
const response = await axios.get(soundUrl, {
|
||||
responseType: "arraybuffer",
|
||||
timeout: 10000,
|
||||
});
|
||||
|
||||
const themeDir = getThemePath(themeId, theme.name);
|
||||
|
||||
if (!fs.existsSync(themeDir)) {
|
||||
fs.mkdirSync(themeDir, { recursive: true });
|
||||
}
|
||||
|
||||
const destinationPath = path.join(themeDir, `achievement.${format}`);
|
||||
await fs.promises.writeFile(destinationPath, response.data);
|
||||
|
||||
await themesSublevel.put(themeId, {
|
||||
...theme,
|
||||
hasCustomSound: true,
|
||||
updatedAt: new Date(),
|
||||
});
|
||||
|
||||
logger.log(`Successfully imported sound for theme ${themeName}`);
|
||||
return;
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
`Failed to import ${format} sound for theme ${themeName}`,
|
||||
error
|
||||
);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
logger.log(`No sound file found for theme ${themeName} in store`);
|
||||
};
|
||||
|
||||
registerEvent("importThemeSoundFromStore", importThemeSoundFromStore);
|
||||
15
src/main/events/themes/index.ts
Normal file
15
src/main/events/themes/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import "./add-custom-theme";
|
||||
import "./close-editor-window";
|
||||
import "./copy-theme-achievement-sound";
|
||||
import "./delete-all-custom-themes";
|
||||
import "./delete-custom-theme";
|
||||
import "./get-active-custom-theme";
|
||||
import "./get-all-custom-themes";
|
||||
import "./get-custom-theme-by-id";
|
||||
import "./get-theme-sound-data-url";
|
||||
import "./get-theme-sound-path";
|
||||
import "./import-theme-sound-from-store";
|
||||
import "./open-editor-window";
|
||||
import "./remove-theme-achievement-sound";
|
||||
import "./toggle-custom-theme";
|
||||
import "./update-custom-theme";
|
||||
48
src/main/events/themes/remove-theme-achievement-sound.ts
Normal file
48
src/main/events/themes/remove-theme-achievement-sound.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
import { registerEvent } from "../register-event";
|
||||
import fs from "node:fs";
|
||||
import { getThemePath } from "@main/helpers";
|
||||
import { themesSublevel } from "@main/level";
|
||||
import { THEMES_PATH } from "@main/constants";
|
||||
import path from "node:path";
|
||||
|
||||
const removeThemeAchievementSound = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
themeId: string
|
||||
): Promise<void> => {
|
||||
const theme = await themesSublevel.get(themeId);
|
||||
if (!theme) {
|
||||
throw new Error("Theme not found");
|
||||
}
|
||||
|
||||
const themeDir = getThemePath(themeId, theme.name);
|
||||
const legacyThemeDir = path.join(THEMES_PATH, themeId);
|
||||
|
||||
const removeFromDir = async (dir: string) => {
|
||||
if (!fs.existsSync(dir)) {
|
||||
return;
|
||||
}
|
||||
|
||||
const formats = ["wav", "mp3", "ogg", "m4a"];
|
||||
|
||||
for (const format of formats) {
|
||||
const soundPath = path.join(dir, `achievement.${format}`);
|
||||
if (fs.existsSync(soundPath)) {
|
||||
await fs.promises.unlink(soundPath);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
await removeFromDir(themeDir);
|
||||
if (themeDir !== legacyThemeDir) {
|
||||
await removeFromDir(legacyThemeDir);
|
||||
}
|
||||
|
||||
await themesSublevel.put(themeId, {
|
||||
...theme,
|
||||
hasCustomSound: false,
|
||||
originalSoundPath: undefined,
|
||||
updatedAt: new Date(),
|
||||
});
|
||||
};
|
||||
|
||||
registerEvent("removeThemeAchievementSound", removeThemeAchievementSound);
|
||||
7
src/main/events/torrenting/index.ts
Normal file
7
src/main/events/torrenting/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import "./cancel-game-download";
|
||||
import "./check-debrid-availability";
|
||||
import "./pause-game-download";
|
||||
import "./pause-game-seed";
|
||||
import "./resume-game-download";
|
||||
import "./resume-game-seed";
|
||||
import "./start-game-download";
|
||||
@@ -13,7 +13,11 @@ const resumeGameDownload = async (
|
||||
|
||||
const download = await downloadsSublevel.get(gameKey);
|
||||
|
||||
if (download?.status === "paused") {
|
||||
if (
|
||||
download &&
|
||||
(download.status === "paused" || download.status === "active") &&
|
||||
download.progress !== 1
|
||||
) {
|
||||
await DownloadManager.pauseDownload();
|
||||
|
||||
for await (const [key, value] of downloadsSublevel.iterator()) {
|
||||
|
||||
@@ -41,7 +41,6 @@ const startGameDownload = async (
|
||||
const game = await gamesSublevel.get(gameKey);
|
||||
const gameAssets = await gamesShopAssetsSublevel.get(gameKey);
|
||||
|
||||
/* Delete any previous download */
|
||||
await downloadsSublevel.del(gameKey);
|
||||
|
||||
if (game) {
|
||||
@@ -82,6 +81,7 @@ const startGameDownload = async (
|
||||
queued: true,
|
||||
extracting: false,
|
||||
automaticallyExtract,
|
||||
extractionProgress: 0,
|
||||
};
|
||||
|
||||
try {
|
||||
@@ -123,6 +123,42 @@ const startGameDownload = async (
|
||||
}
|
||||
|
||||
if (err instanceof Error) {
|
||||
if (downloader === Downloader.Buzzheavier) {
|
||||
if (err.message.includes("Rate limit")) {
|
||||
return {
|
||||
ok: false,
|
||||
error: "Buzzheavier: Rate limit exceeded",
|
||||
};
|
||||
}
|
||||
if (
|
||||
err.message.includes("not found") ||
|
||||
err.message.includes("deleted")
|
||||
) {
|
||||
return {
|
||||
ok: false,
|
||||
error: "Buzzheavier: File not found",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
if (downloader === Downloader.FuckingFast) {
|
||||
if (err.message.includes("Rate limit")) {
|
||||
return {
|
||||
ok: false,
|
||||
error: "FuckingFast: Rate limit exceeded",
|
||||
};
|
||||
}
|
||||
if (
|
||||
err.message.includes("not found") ||
|
||||
err.message.includes("deleted")
|
||||
) {
|
||||
return {
|
||||
ok: false,
|
||||
error: "FuckingFast: File not found",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
return { ok: false, error: err.message };
|
||||
}
|
||||
|
||||
|
||||
5
src/main/events/user-preferences/index.ts
Normal file
5
src/main/events/user-preferences/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import "./authenticate-real-debrid";
|
||||
import "./authenticate-torbox";
|
||||
import "./auto-launch";
|
||||
import "./get-user-preferences";
|
||||
import "./update-user-preferences";
|
||||
3
src/main/events/user/index.ts
Normal file
3
src/main/events/user/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import "./get-auth";
|
||||
import "./get-compared-unlocked-achievements";
|
||||
import "./get-unlocked-achievements";
|
||||
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.10.0
|
||||
// @generated by protobuf-ts 2.11.1
|
||||
// @generated from protobuf file "envelope.proto" (syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -15,11 +15,11 @@ import { MessageType } from "@protobuf-ts/runtime";
|
||||
*/
|
||||
export interface FriendRequest {
|
||||
/**
|
||||
* @generated from protobuf field: int32 friend_request_count = 1;
|
||||
* @generated from protobuf field: int32 friend_request_count = 1
|
||||
*/
|
||||
friendRequestCount: number;
|
||||
/**
|
||||
* @generated from protobuf field: optional string sender_id = 2;
|
||||
* @generated from protobuf field: optional string sender_id = 2
|
||||
*/
|
||||
senderId?: string;
|
||||
}
|
||||
@@ -28,18 +28,27 @@ export interface FriendRequest {
|
||||
*/
|
||||
export interface FriendGameSession {
|
||||
/**
|
||||
* @generated from protobuf field: string object_id = 1;
|
||||
* @generated from protobuf field: string object_id = 1
|
||||
*/
|
||||
objectId: string;
|
||||
/**
|
||||
* @generated from protobuf field: string shop = 2;
|
||||
* @generated from protobuf field: string shop = 2
|
||||
*/
|
||||
shop: string;
|
||||
/**
|
||||
* @generated from protobuf field: string friend_id = 3;
|
||||
* @generated from protobuf field: string friend_id = 3
|
||||
*/
|
||||
friendId: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message Notification
|
||||
*/
|
||||
export interface Notification {
|
||||
/**
|
||||
* @generated from protobuf field: int32 notification_count = 1
|
||||
*/
|
||||
notificationCount: number;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message Envelope
|
||||
*/
|
||||
@@ -51,17 +60,24 @@ export interface Envelope {
|
||||
| {
|
||||
oneofKind: "friendRequest";
|
||||
/**
|
||||
* @generated from protobuf field: FriendRequest friend_request = 1;
|
||||
* @generated from protobuf field: FriendRequest friend_request = 1
|
||||
*/
|
||||
friendRequest: FriendRequest;
|
||||
}
|
||||
| {
|
||||
oneofKind: "friendGameSession";
|
||||
/**
|
||||
* @generated from protobuf field: FriendGameSession friend_game_session = 2;
|
||||
* @generated from protobuf field: FriendGameSession friend_game_session = 2
|
||||
*/
|
||||
friendGameSession: FriendGameSession;
|
||||
}
|
||||
| {
|
||||
oneofKind: "notification";
|
||||
/**
|
||||
* @generated from protobuf field: Notification notification = 3
|
||||
*/
|
||||
notification: Notification;
|
||||
}
|
||||
| {
|
||||
oneofKind: undefined;
|
||||
};
|
||||
@@ -239,6 +255,80 @@ class FriendGameSession$Type extends MessageType<FriendGameSession> {
|
||||
*/
|
||||
export const FriendGameSession = new FriendGameSession$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Notification$Type extends MessageType<Notification> {
|
||||
constructor() {
|
||||
super("Notification", [
|
||||
{
|
||||
no: 1,
|
||||
name: "notification_count",
|
||||
kind: "scalar",
|
||||
T: 5 /*ScalarType.INT32*/,
|
||||
},
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Notification>): Notification {
|
||||
const message = globalThis.Object.create(this.messagePrototype!);
|
||||
message.notificationCount = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Notification>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(
|
||||
reader: IBinaryReader,
|
||||
length: number,
|
||||
options: BinaryReadOptions,
|
||||
target?: Notification
|
||||
): Notification {
|
||||
let message = target ?? this.create(),
|
||||
end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* int32 notification_count */ 1:
|
||||
message.notificationCount = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(
|
||||
`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`
|
||||
);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(
|
||||
this.typeName,
|
||||
message,
|
||||
fieldNo,
|
||||
wireType,
|
||||
d
|
||||
);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(
|
||||
message: Notification,
|
||||
writer: IBinaryWriter,
|
||||
options: BinaryWriteOptions
|
||||
): IBinaryWriter {
|
||||
/* int32 notification_count = 1; */
|
||||
if (message.notificationCount !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.notificationCount);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(
|
||||
this.typeName,
|
||||
message,
|
||||
writer
|
||||
);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message Notification
|
||||
*/
|
||||
export const Notification = new Notification$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Envelope$Type extends MessageType<Envelope> {
|
||||
constructor() {
|
||||
super("Envelope", [
|
||||
@@ -256,6 +346,13 @@ class Envelope$Type extends MessageType<Envelope> {
|
||||
oneof: "payload",
|
||||
T: () => FriendGameSession,
|
||||
},
|
||||
{
|
||||
no: 3,
|
||||
name: "notification",
|
||||
kind: "message",
|
||||
oneof: "payload",
|
||||
T: () => Notification,
|
||||
},
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Envelope>): Envelope {
|
||||
@@ -298,6 +395,17 @@ class Envelope$Type extends MessageType<Envelope> {
|
||||
),
|
||||
};
|
||||
break;
|
||||
case /* Notification notification */ 3:
|
||||
message.payload = {
|
||||
oneofKind: "notification",
|
||||
notification: Notification.internalBinaryRead(
|
||||
reader,
|
||||
reader.uint32(),
|
||||
options,
|
||||
(message.payload as any).notification
|
||||
),
|
||||
};
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -336,6 +444,13 @@ class Envelope$Type extends MessageType<Envelope> {
|
||||
writer.tag(2, WireType.LengthDelimited).fork(),
|
||||
options
|
||||
).join();
|
||||
/* Notification notification = 3; */
|
||||
if (message.payload.oneofKind === "notification")
|
||||
Notification.internalBinaryWrite(
|
||||
message.payload.notification,
|
||||
writer.tag(3, WireType.LengthDelimited).fork(),
|
||||
options
|
||||
).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(
|
||||
|
||||
@@ -2,6 +2,8 @@ import axios from "axios";
|
||||
import { JSDOM } from "jsdom";
|
||||
import UserAgent from "user-agents";
|
||||
import path from "node:path";
|
||||
import fs from "node:fs";
|
||||
import { THEMES_PATH } from "@main/constants";
|
||||
|
||||
export const getFileBuffer = async (url: string) =>
|
||||
fetch(url, { method: "GET" }).then((response) =>
|
||||
@@ -31,9 +33,64 @@ export const isPortableVersion = () => {
|
||||
};
|
||||
|
||||
export const normalizePath = (str: string) =>
|
||||
path.posix.normalize(str).replace(/\\/g, "/");
|
||||
path.posix.normalize(str).replaceAll("\\", "/");
|
||||
|
||||
export const addTrailingSlash = (str: string) =>
|
||||
str.endsWith("/") ? str : `${str}/`;
|
||||
|
||||
const sanitizeFolderName = (name: string): string => {
|
||||
return name
|
||||
.toLowerCase()
|
||||
.replaceAll(/[^a-z0-9-_\s]/g, "")
|
||||
.replaceAll(/\s+/g, "-")
|
||||
.replaceAll(/-+/g, "-")
|
||||
.replaceAll(/(^-|-$)/g, "");
|
||||
};
|
||||
|
||||
export const getThemePath = (themeId: string, themeName?: string): string => {
|
||||
if (themeName) {
|
||||
const sanitizedName = sanitizeFolderName(themeName);
|
||||
if (sanitizedName) {
|
||||
return path.join(THEMES_PATH, sanitizedName);
|
||||
}
|
||||
}
|
||||
return path.join(THEMES_PATH, themeId);
|
||||
};
|
||||
|
||||
export const getThemeSoundPath = (
|
||||
themeId: string,
|
||||
themeName?: string
|
||||
): string | null => {
|
||||
const themeDir = getThemePath(themeId, themeName);
|
||||
const legacyThemeDir = themeName ? path.join(THEMES_PATH, themeId) : null;
|
||||
|
||||
const checkDir = (dir: string): string | null => {
|
||||
if (!fs.existsSync(dir)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const formats = ["wav", "mp3", "ogg", "m4a"];
|
||||
|
||||
for (const format of formats) {
|
||||
const soundPath = path.join(dir, `achievement.${format}`);
|
||||
if (fs.existsSync(soundPath)) {
|
||||
return soundPath;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
const soundPath = checkDir(themeDir);
|
||||
if (soundPath) {
|
||||
return soundPath;
|
||||
}
|
||||
|
||||
if (legacyThemeDir) {
|
||||
return checkDir(legacyThemeDir);
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
export * from "./reg-parser";
|
||||
|
||||
27
src/main/helpers/migrate-download-sources.ts
Normal file
27
src/main/helpers/migrate-download-sources.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { downloadSourcesSublevel } from "@main/level";
|
||||
import { HydraApi } from "@main/services/hydra-api";
|
||||
import { DownloadSource } from "@types";
|
||||
|
||||
export const migrateDownloadSources = async () => {
|
||||
const downloadSources = downloadSourcesSublevel.iterator();
|
||||
|
||||
for await (const [key, value] of downloadSources) {
|
||||
if (!value.isRemote) {
|
||||
const downloadSource = await HydraApi.post<DownloadSource>(
|
||||
"/download-sources",
|
||||
{
|
||||
url: value.url,
|
||||
},
|
||||
{ needsAuth: false }
|
||||
);
|
||||
|
||||
await downloadSourcesSublevel.put(downloadSource.id, {
|
||||
...downloadSource,
|
||||
isRemote: true,
|
||||
createdAt: new Date().toISOString(),
|
||||
});
|
||||
|
||||
await downloadSourcesSublevel.del(key);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -1,18 +1,6 @@
|
||||
import { db } from "../level";
|
||||
import { levelKeys } from "./keys";
|
||||
|
||||
export interface DownloadSource {
|
||||
id: number;
|
||||
name: string;
|
||||
url: string;
|
||||
status: number;
|
||||
objectIds: string[];
|
||||
downloadCount: number;
|
||||
fingerprint?: string;
|
||||
etag: string | null;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
import type { DownloadSource } from "@types";
|
||||
|
||||
export const downloadSourcesSublevel = db.sublevel<string, DownloadSource>(
|
||||
levelKeys.downloadSources,
|
||||
|
||||
67
src/main/level/sublevels/downloadSourcesCheckTimestamp.ts
Normal file
67
src/main/level/sublevels/downloadSourcesCheckTimestamp.ts
Normal file
@@ -0,0 +1,67 @@
|
||||
import { levelKeys } from "./keys";
|
||||
import { db } from "../level";
|
||||
import { logger } from "@main/services";
|
||||
|
||||
// Gets when we last started the app (for next API call's 'since')
|
||||
export const getDownloadSourcesCheckBaseline = async (): Promise<
|
||||
string | null
|
||||
> => {
|
||||
try {
|
||||
const timestamp = await db.get(levelKeys.downloadSourcesCheckBaseline, {
|
||||
valueEncoding: "utf8",
|
||||
});
|
||||
return timestamp;
|
||||
} catch (error) {
|
||||
if (error instanceof Error && error.name === "NotFoundError") {
|
||||
logger.debug("Download sources check baseline not found, returning null");
|
||||
} else {
|
||||
logger.error(
|
||||
"Unexpected error while getting download sources check baseline",
|
||||
error
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
// Updates to current time (when app starts)
|
||||
export const updateDownloadSourcesCheckBaseline = async (
|
||||
timestamp: string
|
||||
): Promise<void> => {
|
||||
const utcTimestamp = new Date(timestamp).toISOString();
|
||||
await db.put(levelKeys.downloadSourcesCheckBaseline, utcTimestamp, {
|
||||
valueEncoding: "utf8",
|
||||
});
|
||||
};
|
||||
|
||||
// Gets the 'since' value the API used in the last check (for modal comparison)
|
||||
export const getDownloadSourcesSinceValue = async (): Promise<
|
||||
string | null
|
||||
> => {
|
||||
try {
|
||||
const timestamp = await db.get(levelKeys.downloadSourcesSinceValue, {
|
||||
valueEncoding: "utf8",
|
||||
});
|
||||
return timestamp;
|
||||
} catch (error) {
|
||||
if (error instanceof Error && error.name === "NotFoundError") {
|
||||
logger.debug("Download sources since value not found, returning null");
|
||||
} else {
|
||||
logger.error(
|
||||
"Unexpected error while getting download sources since value",
|
||||
error
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
// Saves the 'since' value we used in the API call (for modal to compare against)
|
||||
export const updateDownloadSourcesSinceValue = async (
|
||||
timestamp: string
|
||||
): Promise<void> => {
|
||||
const utcTimestamp = new Date(timestamp).toISOString();
|
||||
await db.put(levelKeys.downloadSourcesSinceValue, utcTimestamp, {
|
||||
valueEncoding: "utf8",
|
||||
});
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user