mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
Compare commits
59 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d72bda1e71 | ||
|
|
085e6174d9 | ||
|
|
7bcc52fcae | ||
|
|
5a1ada42e7 | ||
|
|
ee9b7be6ac | ||
|
|
09811cd801 | ||
|
|
1281acea22 | ||
|
|
95addf0c48 | ||
|
|
e780c5b4b5 | ||
|
|
6c775f822c | ||
|
|
bff1962071 | ||
|
|
10181a04f1 | ||
|
|
7eb02d06cc | ||
|
|
2f4dbff90d | ||
|
|
3c6b1d6ab7 | ||
|
|
9d596de610 | ||
|
|
6603790aba | ||
|
|
fe608cff8f | ||
|
|
9814a56135 | ||
|
|
27e598fded | ||
|
|
f5d4c19eb9 | ||
|
|
9081acebb3 | ||
|
|
3b832c94bc | ||
|
|
110976c619 | ||
|
|
2afaf2f618 | ||
|
|
8aff756e30 | ||
|
|
7177cdb4fe | ||
|
|
3ce3dfe77b | ||
|
|
5523034307 | ||
|
|
e3503bc4bd | ||
|
|
002a41da87 | ||
|
|
deb35d5013 | ||
|
|
1ae5d324c2 | ||
|
|
5a0342a998 | ||
|
|
7a1fa12271 | ||
|
|
77616c3c8a | ||
|
|
b96ed08694 | ||
|
|
ff565ac33b | ||
|
|
d1e9e72401 | ||
|
|
178ab23031 | ||
|
|
e1e3bfb2ce | ||
|
|
31aad63399 | ||
|
|
2e9b119733 | ||
|
|
0247e0e064 | ||
|
|
701b448cd6 | ||
|
|
35babed517 | ||
|
|
f8e0890966 | ||
|
|
261031dc50 | ||
|
|
6dcbd6de40 | ||
|
|
ad5b075878 | ||
|
|
7796aba342 | ||
|
|
2e4129927d | ||
|
|
258d206f2e | ||
|
|
4f2879fdef | ||
|
|
e788744a0f | ||
|
|
986f6678f8 | ||
|
|
514b1ebc5d | ||
|
|
3589d2eef4 | ||
|
|
69309b9a98 |
55 changed files with 5863 additions and 682 deletions
18
.env
18
.env
|
|
@ -48,7 +48,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|||
# YGGtracker
|
||||
|
||||
# Application version, used for API and media cache
|
||||
APP_VERSION='2.4.0'
|
||||
APP_VERSION=2.6.2
|
||||
|
||||
# Application name
|
||||
APP_NAME=YGGtracker
|
||||
|
|
@ -57,7 +57,11 @@ APP_NAME=YGGtracker
|
|||
APP_LOCALE=en
|
||||
|
||||
# Supported locales for interface and content filters
|
||||
APP_LOCALES=en|cs|nl|eo|fr|ka|de|he|it|lv|pl|pt|ru|es|uk
|
||||
APP_LOCALES=en|cs|nl|eo|fr|ja|ka|de|he|it|lv|pl|pt|ru|es|uk
|
||||
|
||||
# Content categories, lowercase, enabled by default for new users
|
||||
# src/Twig/AppExtension.php:transCategory
|
||||
APP_CATEGORIES=movie|series|tv|animation|music|game|audiobook|podcast|book|archive|picture|software|other
|
||||
|
||||
# Items per page on pagination
|
||||
APP_PAGINATION=10
|
||||
|
|
@ -69,10 +73,10 @@ APP_THEME=default
|
|||
APP_THEMES=default
|
||||
|
||||
# Default sensitive status for new users
|
||||
APP_SENSITIVE=0
|
||||
APP_SENSITIVE=1
|
||||
|
||||
# Default approved status for new users
|
||||
APP_APPROVED=0
|
||||
APP_APPROVED=1
|
||||
|
||||
# Default Yggdrasil filters status for new users
|
||||
APP_YGGDRASIL=1
|
||||
|
|
@ -84,12 +88,12 @@ APP_POSTERS=1
|
|||
APP_TRACKERS=http://[201:23b4:991a:634d:8359:4521:5576:15b7]:2023/announce|http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/announce|http://[316:c51a:62a3:8b9::5]/announce
|
||||
|
||||
# List of crawlers where ignored in actions and activity features
|
||||
APP_CRAWLERS=201:23b4:991a:634d:8359:4521:5576:15b7|30a:5fad::e
|
||||
APP_CRAWLERS=201:23b4:991a:634d:8359:4521:5576:15b7|30a:5fad::e|202:f2bc:f800:7cc4:c109:7857:5cae:6630|200:1554:e730:4030:605b:47be:6fb6:7b11
|
||||
|
||||
# Max torrent filesize for uploads
|
||||
# Max torrent filesize for uploads (check upload_max_filesize in the php.ini)
|
||||
APP_TORRENT_FILE_SIZE_MAX=1024000
|
||||
|
||||
# Max torrent poster filesize for uploads
|
||||
# Max torrent poster filesize for uploads (check upload_max_filesize in the php.ini)
|
||||
APP_TORRENT_POSTER_FILE_SIZE_MAX=10240000
|
||||
|
||||
# Store wanted torrent files in /app/var/ftp by /app/crontab/torrent/scrape/{key}
|
||||
|
|
|
|||
29
README.md
29
README.md
|
|
@ -1,22 +1,16 @@
|
|||
# YGGtracker
|
||||
|
||||
[](https://crowdin.com/project/yggtracker)
|
||||
> [!NOTE]
|
||||
> Take a look at [βtracker](https://github.com/yggverse/btracker) - the modern aggregation alternative written in Rust!
|
||||
|
||||
BitTorrent Network for Yggdrasil
|
||||
A social-oriented BitTorrent catalog for the [Yggdrasil](https://github.com/yggdrasil-network) network, written in the Symfony framework.
|
||||
|
||||
YGGtracker is catalog, open tracker and social network with many features that allow to convert, filter and download any torrent in [Yggdrasil network](https://github.com/yggdrasil-network) by community.
|
||||
|
||||
Engine uses IPv6 `0200::/7` addresses to identify users without registration.
|
||||
YGGtracker is a manually operated catalog and social network that allows users to share their torrents in the local network. Engine uses IPv6 `0200::/7` addresses to identify users without registration.
|
||||
|
||||
#### [Showcase](https://github.com/YGGverse/YGGtracker/wiki/Showcase)
|
||||
|
||||

|
||||
|
||||
#### Instances
|
||||
|
||||
* `http://[201:23b4:991a:634d:8359:4521:5576:15b7]/yggtracker/`
|
||||
+ `ftp://[201:23b4:991a:634d:8359:4521:5576:15b7]:21/yggtracker/`
|
||||
|
||||
#### Installation
|
||||
|
||||
```
|
||||
|
|
@ -70,7 +64,7 @@ Custom settings could be provided in the `/.env.local` file by overwriting defau
|
|||
|
||||
#### Localization
|
||||
|
||||
Join community translations by [Crowdin](https://crowdin.com/project/yggtracker)
|
||||
[](https://crowdin.com/project/yggtracker)
|
||||
|
||||
#### API
|
||||
|
||||
|
|
@ -85,15 +79,6 @@ git checkout main
|
|||
git checkout -b my-pr-branch-name
|
||||
```
|
||||
|
||||
#### Donate to contributors
|
||||
|
||||
* @d47081:
|
||||
|
||||
+ 
|
||||
+ [BTC](https://www.blockchain.com/explorer/addresses/btc/bc1qngdf2kwty6djjqpk0ynkpq9wmlrmtm7e0c534y) | [LTC](https://live.blockcypher.com/ltc/address/LUSiqzKsfB1vBLvpu515DZktG9ioKqLyj7) | [XMR](835gSR1Uvka19gnWPkU2pyRozZugRZSPHDuFL6YajaAqjEtMwSPr4jafM8idRuBWo7AWD3pwFQSYRMRW9XezqrK4BEXBgXE) | [ZEPH](ZEPHsADHXqnhfWhXrRcXnyBQMucE3NM7Ng5ZVB99XwA38PTnbjLKpCwcQVgoie8EJuWozKgBiTmDFW4iY7fNEgSEWyAy4dotqtX)
|
||||
+ Support our server by order [Linux VPS](https://www.yourserver.se/portal/aff.php?aff=610)
|
||||
+ Inspiration by [SomaFM Deep Space One](https://somafm.com/deepspaceone/)
|
||||
|
||||
#### License
|
||||
|
||||
* Engine sources [MIT License](https://github.com/YGGverse/YGGtracker/blob/main/LICENSE)
|
||||
|
|
@ -107,8 +92,8 @@ git checkout -b my-pr-branch-name
|
|||
* [Symfony Framework](https://symfony.com)
|
||||
* [SVG icons](https://icons.getbootstrap.com)
|
||||
* [Scrapper](https://github.com/medariox/scrapeer) / [Composer Edition](https://github.com/YGGverse/scrapeer)
|
||||
* [Bencode Library](https://github.com/Rhilip/Bencode)
|
||||
* [Transliteration Library](https://github.com/ashtokalo/php-translit)
|
||||
* [Bencode](https://github.com/Rhilip/Bencode)
|
||||
* [Transliteration](https://github.com/ashtokalo/php-translit)
|
||||
* [Identicons](https://github.com/dmester/jdenticon-php)
|
||||
|
||||
#### Support
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
"doctrine/doctrine-migrations-bundle": "^3.2",
|
||||
"doctrine/orm": "^2.16",
|
||||
"jdenticon/jdenticon": "^1.0",
|
||||
"league/commonmark": "^2.4",
|
||||
"phpdocumentor/reflection-docblock": "^5.3",
|
||||
"phpstan/phpdoc-parser": "^1.24",
|
||||
"rhilip/bencode": "^2.3",
|
||||
|
|
@ -45,8 +46,9 @@
|
|||
"symfony/validator": "6.3.*",
|
||||
"symfony/web-link": "6.3.*",
|
||||
"symfony/yaml": "6.3.*",
|
||||
"twig/extra-bundle": "^2.12|^3.0",
|
||||
"twig/extra-bundle": "^3.7",
|
||||
"twig/intl-extra": "^3.7",
|
||||
"twig/markdown-extra": "^3.7",
|
||||
"twig/string-extra": "^3.7",
|
||||
"twig/twig": "^2.12|^3.0",
|
||||
"yggverse/scrapeer": "^0.5.4"
|
||||
|
|
|
|||
1356
composer.lock
generated
1356
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -8,7 +8,7 @@ framework:
|
|||
crowdin:
|
||||
dsn: '%env(CROWDIN_DSN)%'
|
||||
domains: ['messages']
|
||||
locales: ['en','cs','nl','eo','fr','ka','de','he','it','lv','pl','pt','ru','es','uk']
|
||||
locales: ['en','cs','nl','eo','fr', 'ja', 'ka','de','he','it','lv','pl','pt','ru','es','uk']
|
||||
# loco:
|
||||
# dsn: '%env(LOCO_DSN)%'
|
||||
# lokalise:
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ parameters:
|
|||
app.trackers: '%env(APP_TRACKERS)%'
|
||||
app.crawlers: '%env(APP_CRAWLERS)%'
|
||||
app.locales: '%env(APP_LOCALES)%'
|
||||
app.categories: '%env(APP_CATEGORIES)%'
|
||||
app.themes: '%env(APP_THEMES)%'
|
||||
app.locale: '%env(APP_LOCALE)%'
|
||||
app.theme: '%env(APP_THEME)%'
|
||||
|
|
|
|||
37
migrations/Version20231103235504.php
Normal file
37
migrations/Version20231103235504.php
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DoctrineMigrations;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
/**
|
||||
* Auto-generated Migration: Please modify to your needs!
|
||||
*/
|
||||
final class Version20231103235504 extends AbstractMigration
|
||||
{
|
||||
public function getDescription(): string
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
// this up() migration is auto-generated, please modify it to your needs
|
||||
$this->addSql('CREATE TABLE torrent_categories (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, torrent_id INTEGER NOT NULL, user_id INTEGER NOT NULL, added INTEGER NOT NULL, value CLOB NOT NULL --(DC2Type:simple_array)
|
||||
, approved BOOLEAN NOT NULL)');
|
||||
$this->addSql('ALTER TABLE user ADD COLUMN categories CLOB DEFAULT "other"');
|
||||
$this->addSql('ALTER TABLE torrent ADD COLUMN categories CLOB DEFAULT "other"');
|
||||
$this->addSql('UPDATE user SET categories = "movie,series,tv,animation,music,game,audiobook,podcast,book,archive,picture,software,other"');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
// this down() migration is auto-generated, please modify it to your needs
|
||||
$this->addSql('DROP TABLE torrent_categories');
|
||||
$this->addSql('ALTER TABLE user DROP COLUMN categories');
|
||||
$this->addSql('ALTER TABLE torrent DROP COLUMN categories');
|
||||
}
|
||||
}
|
||||
|
|
@ -1116,6 +1116,219 @@ class ActivityController extends AbstractController
|
|||
|
||||
break;
|
||||
|
||||
/// Torrent Categories
|
||||
case $activity::EVENT_TORRENT_CATEGORIES_ADD:
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
return $this->render(
|
||||
'default/activity/event/torrent/categories/add' . $extension,
|
||||
[
|
||||
'id' => $activity->getId(),
|
||||
'added' => $activity->getAdded(),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $activity->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->getUser(
|
||||
$activity->getUserId()
|
||||
)->getAddress()
|
||||
)
|
||||
],
|
||||
'torrent' =>
|
||||
[
|
||||
'id' => $torrent->getId(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'approved' => $torrent->isApproved(),
|
||||
'status' => $torrent->isStatus(),
|
||||
'name' => $torrentService->readTorrentFileByTorrentId(
|
||||
$torrent->getId()
|
||||
)->getName(),
|
||||
'categories' => [
|
||||
'id' => $activity->getData()['torrentCategoriesId'],
|
||||
'exist' => $torrentService->getTorrentCategories(
|
||||
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
|
||||
)
|
||||
]
|
||||
],
|
||||
'session' =>
|
||||
[
|
||||
'user' =>
|
||||
[
|
||||
'id' => $user->getId(),
|
||||
'sensitive' => $user->isSensitive(),
|
||||
'moderator' => $user->isModerator(),
|
||||
'owner' => $user->getId() === $torrent->getUserId(),
|
||||
]
|
||||
]
|
||||
]
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
case $activity::EVENT_TORRENT_CATEGORIES_DELETE:
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
return $this->render(
|
||||
'default/activity/event/torrent/categories/delete' . $extension,
|
||||
[
|
||||
'id' => $activity->getId(),
|
||||
'added' => $activity->getAdded(),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $activity->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->getUser(
|
||||
$activity->getUserId()
|
||||
)->getAddress()
|
||||
)
|
||||
],
|
||||
'torrent' =>
|
||||
[
|
||||
'id' => $torrent->getId(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'approved' => $torrent->isApproved(),
|
||||
'status' => $torrent->isStatus(),
|
||||
'name' => $torrentService->readTorrentFileByTorrentId(
|
||||
$torrent->getId()
|
||||
)->getName(),
|
||||
'categories' => [
|
||||
'id' => $activity->getData()['torrentCategoriesId'],
|
||||
'exist' => $torrentService->getTorrentCategories(
|
||||
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
|
||||
)
|
||||
]
|
||||
],
|
||||
'session' =>
|
||||
[
|
||||
'user' =>
|
||||
[
|
||||
'id' => $user->getId(),
|
||||
'sensitive' => $user->isSensitive(),
|
||||
'moderator' => $user->isModerator(),
|
||||
'owner' => $user->getId() === $torrent->getUserId(),
|
||||
]
|
||||
]
|
||||
]
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
case $activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD:
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
return $this->render(
|
||||
'default/activity/event/torrent/categories/approve/add' . $extension,
|
||||
[
|
||||
'id' => $activity->getId(),
|
||||
'added' => $activity->getAdded(),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $activity->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->getUser(
|
||||
$activity->getUserId()
|
||||
)->getAddress()
|
||||
)
|
||||
],
|
||||
'torrent' =>
|
||||
[
|
||||
'id' => $torrent->getId(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'approved' => $torrent->isApproved(),
|
||||
'status' => $torrent->isStatus(),
|
||||
'name' => $torrentService->readTorrentFileByTorrentId(
|
||||
$torrent->getId()
|
||||
)->getName(),
|
||||
'categories' => [
|
||||
'id' => $activity->getData()['torrentCategoriesId'],
|
||||
'exist' => $torrentService->getTorrentCategories(
|
||||
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
|
||||
)
|
||||
]
|
||||
],
|
||||
'session' =>
|
||||
[
|
||||
'user' =>
|
||||
[
|
||||
'id' => $user->getId(),
|
||||
'sensitive' => $user->isSensitive(),
|
||||
'moderator' => $user->isModerator(),
|
||||
'owner' => $user->getId() === $torrent->getUserId(),
|
||||
]
|
||||
]
|
||||
]
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
case $activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE:
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
return $this->render(
|
||||
'default/activity/event/torrent/categories/approve/delete' . $extension,
|
||||
[
|
||||
'id' => $activity->getId(),
|
||||
'added' => $activity->getAdded(),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $activity->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->getUser(
|
||||
$activity->getUserId()
|
||||
)->getAddress()
|
||||
)
|
||||
],
|
||||
'torrent' =>
|
||||
[
|
||||
'id' => $torrent->getId(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'approved' => $torrent->isApproved(),
|
||||
'status' => $torrent->isStatus(),
|
||||
'name' => $torrentService->readTorrentFileByTorrentId(
|
||||
$torrent->getId()
|
||||
)->getName(),
|
||||
'categories' => [
|
||||
'id' => $activity->getData()['torrentCategoriesId'],
|
||||
'exist' => $torrentService->getTorrentCategories(
|
||||
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
|
||||
)
|
||||
]
|
||||
],
|
||||
'session' =>
|
||||
[
|
||||
'user' =>
|
||||
[
|
||||
'id' => $user->getId(),
|
||||
'sensitive' => $user->isSensitive(),
|
||||
'moderator' => $user->isModerator(),
|
||||
'owner' => $user->getId() === $torrent->getUserId(),
|
||||
]
|
||||
]
|
||||
]
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
/// Torrent Sensitive
|
||||
case $activity::EVENT_TORRENT_SENSITIVE_ADD:
|
||||
|
||||
|
|
|
|||
|
|
@ -9,20 +9,156 @@ use Symfony\Component\HttpFoundation\Response;
|
|||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
use App\Service\UserService;
|
||||
use App\Service\TorrentService;
|
||||
use App\Service\ActivityService;
|
||||
|
||||
class SearchController extends AbstractController
|
||||
{
|
||||
public function module(
|
||||
?string $query,
|
||||
?string $type
|
||||
Request $request,
|
||||
UserService $userService,
|
||||
TorrentService $torrentService,
|
||||
ActivityService $activityService
|
||||
): Response
|
||||
{
|
||||
// Defaults
|
||||
$locales = [];
|
||||
$categories = [];
|
||||
$sensitive = [];
|
||||
|
||||
// Request
|
||||
$query = $request->get('query') ? urldecode($request->get('query')) : '';
|
||||
$filter = $request->get('filter') ? true : false;
|
||||
|
||||
// Extended search
|
||||
if ($filter)
|
||||
{
|
||||
// Init user
|
||||
$user = $this->initUser(
|
||||
$request,
|
||||
$userService,
|
||||
$activityService
|
||||
);
|
||||
|
||||
// Keywords
|
||||
$keywords = explode(' ', $query);
|
||||
|
||||
// Locales
|
||||
foreach (explode('|', $this->getParameter('app.locales')) as $locale)
|
||||
{
|
||||
|
||||
if ($request->get('locales'))
|
||||
{
|
||||
$checked = in_array($locale, (array) $request->get('locales'));
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$checked = in_array($locale, $user->getLocales());
|
||||
}
|
||||
|
||||
$locales[] =
|
||||
[
|
||||
'value' => $locale,
|
||||
'checked' => $checked,
|
||||
'total' => $torrentService->findTorrentsTotal(
|
||||
0,
|
||||
$keywords,
|
||||
[$locale],
|
||||
$request->get('categories') ? $request->get('categories') : $user->getCategories(),
|
||||
$request->get('sensitive') ? null : false,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
)
|
||||
];
|
||||
}
|
||||
|
||||
// Categories
|
||||
foreach (explode('|', $this->getParameter('app.categories')) as $category)
|
||||
{
|
||||
if ($request->get('categories'))
|
||||
{
|
||||
$checked = in_array($category, (array) $request->get('categories'));
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$checked = in_array($category, $user->getCategories());
|
||||
}
|
||||
|
||||
$categories[] =
|
||||
[
|
||||
'value' => $category,
|
||||
'checked' => $checked,
|
||||
'total' => $torrentService->findTorrentsTotal(
|
||||
0,
|
||||
$keywords,
|
||||
$request->get('locales') ? $request->get('locales') : $user->getLocales(),
|
||||
[$category],
|
||||
$request->get('sensitive') ? null : false,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
)
|
||||
];
|
||||
}
|
||||
|
||||
// Sensitive
|
||||
$sensitive =
|
||||
[
|
||||
'checked' => $request->get('sensitive'),
|
||||
'total' => $torrentService->findTorrentsTotal(
|
||||
0,
|
||||
$keywords,
|
||||
$request->get('locales') ? $request->get('locales') : $user->getLocales(),
|
||||
$request->get('categories') ? $request->get('categories') : $user->getCategories(),
|
||||
true,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
)
|
||||
];
|
||||
}
|
||||
|
||||
return $this->render(
|
||||
'default/search/module.html.twig',
|
||||
[
|
||||
'query' => $query ? urldecode($query) : '',
|
||||
'query' => $query,
|
||||
'filter' => $filter,
|
||||
'sensitive' => $sensitive,
|
||||
'locales' => $locales,
|
||||
'categories' => $categories,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
private function initUser(
|
||||
Request $request,
|
||||
UserService $userService,
|
||||
ActivityService $activityService
|
||||
): ?\App\Entity\User
|
||||
{
|
||||
// Init user
|
||||
if (!$user = $userService->findUserByAddress($request->getClientIp()))
|
||||
{
|
||||
$user = $userService->addUser(
|
||||
$request->getClientIp(),
|
||||
time(),
|
||||
$this->getParameter('app.locale'),
|
||||
explode('|', $this->getParameter('app.locales')),
|
||||
$activityService->getEventCodes(),
|
||||
$this->getParameter('app.theme'),
|
||||
$this->getParameter('app.sensitive'),
|
||||
$this->getParameter('app.yggdrasil'),
|
||||
$this->getParameter('app.posters'),
|
||||
$this->getParameter('app.approved')
|
||||
);
|
||||
|
||||
// Add user join event
|
||||
$activityService->addEventUserAdd(
|
||||
$user->getId(),
|
||||
time()
|
||||
);
|
||||
}
|
||||
|
||||
return $user;
|
||||
}
|
||||
}
|
||||
|
|
@ -57,10 +57,13 @@ class TorrentController extends AbstractController
|
|||
}
|
||||
|
||||
// Sensitive filter
|
||||
if (!$user->isModerator() && $user->isSensitive())
|
||||
// @TODO add blur effect or sensitive notice instead of 404 on direct request #37
|
||||
/*
|
||||
if (!$user->isModerator() && $user->isSensitive() && $torrent->isSensitive())
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
*/
|
||||
|
||||
// Access filter
|
||||
if (!$user->isModerator() && $user->getId() != $torrent->getUserId() &&
|
||||
|
|
@ -150,12 +153,13 @@ class TorrentController extends AbstractController
|
|||
'peers' => (int) $torrent->getPeers(),
|
||||
'leechers' => (int) $torrent->getLeechers(),
|
||||
],
|
||||
'keywords' => $torrent->getKeywords(),
|
||||
'locales' => $torrent->getLocales(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'approved' => $torrent->isApproved(),
|
||||
'status' => $torrent->isStatus(),
|
||||
'download' =>
|
||||
'keywords' => $torrent->getKeywords(),
|
||||
'locales' => $torrent->getLocales(),
|
||||
'categories' => $torrent->getCategories(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'approved' => $torrent->isApproved(),
|
||||
'status' => $torrent->isStatus(),
|
||||
'download' =>
|
||||
[
|
||||
'file' =>
|
||||
[
|
||||
|
|
@ -203,7 +207,9 @@ class TorrentController extends AbstractController
|
|||
'private' => $file->isPrivate(),
|
||||
'source' => $file->getSource(),
|
||||
'comment' => $file->getComment(),
|
||||
'tree' => $file->getFileTree(),
|
||||
'tree' => $file->getFileTree(
|
||||
\Rhilip\Bencode\TorrentFile::FILETREE_SORT_NATURAL // #34 @TODO cyrillic
|
||||
),
|
||||
//'trackers' => $file->getAnnounceList(),
|
||||
'hash' =>
|
||||
[
|
||||
|
|
@ -259,20 +265,22 @@ class TorrentController extends AbstractController
|
|||
|
||||
// Get total torrents
|
||||
$total = $torrentService->findTorrentsTotal(
|
||||
$user->getId(),
|
||||
$request->get('filter') ? 0 : $user->getId(),
|
||||
$query,
|
||||
$user->getLocales(),
|
||||
!$user->isModerator() && $user->isSensitive() ? false : null,
|
||||
$request->get('filter') ? (array) $request->get('locales') : $user->getLocales(),
|
||||
$request->get('filter') ? (array) $request->get('categories') : $user->getCategories(),
|
||||
$request->get('filter') ? ($request->get('sensitive') ? null : false) : ($user->isSensitive() ? false : null),
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
);
|
||||
|
||||
$torrents = [];
|
||||
foreach ($torrentService->findTorrents(
|
||||
$user->getId(),
|
||||
$request->get('filter') ? 0 : $user->getId(),
|
||||
$query,
|
||||
$user->getLocales(),
|
||||
!$user->isModerator() && $user->isSensitive() ? false : null,
|
||||
$request->get('filter') ? (array) $request->get('locales') : $user->getLocales(),
|
||||
$request->get('filter') ? (array) $request->get('categories') : $user->getCategories(),
|
||||
$request->get('filter') ? ($request->get('sensitive') ? null : false) : ($user->isSensitive() ? false : null),
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
$this->getParameter('app.pagination'),
|
||||
|
|
@ -448,7 +456,8 @@ class TorrentController extends AbstractController
|
|||
$user->getId(),
|
||||
[],
|
||||
$user->getLocales(),
|
||||
!$user->isModerator() && $user->isSensitive() ? false : null,
|
||||
$user->getCategories(),
|
||||
$user->isSensitive() ? false : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
);
|
||||
|
|
@ -459,7 +468,8 @@ class TorrentController extends AbstractController
|
|||
$user->getId(),
|
||||
[],
|
||||
$user->getLocales(),
|
||||
!$user->isModerator() && $user->isSensitive() ? false : null,
|
||||
$user->getCategories(),
|
||||
$user->isSensitive() ? false : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
$this->getParameter('app.pagination'),
|
||||
|
|
@ -622,10 +632,11 @@ class TorrentController extends AbstractController
|
|||
|
||||
// Get total torrents
|
||||
$total = $torrentService->findTorrentsTotal(
|
||||
$user->getId(),
|
||||
$request->get('filter') ? 0 : $user->getId(),
|
||||
$query,
|
||||
$user->getLocales(),
|
||||
!$user->isModerator() && $user->isSensitive() ? false : null,
|
||||
$request->get('filter') ? (array) $request->get('locales') : $user->getLocales(),
|
||||
$request->get('filter') ? (array) $request->get('categories') : $user->getCategories(),
|
||||
$request->get('filter') ? ($request->get('sensitive') ? null : false) : ($user->isSensitive() ? false : null),
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
);
|
||||
|
|
@ -633,10 +644,11 @@ class TorrentController extends AbstractController
|
|||
// Create torrents list
|
||||
$torrents = [];
|
||||
foreach ($torrentService->findTorrents(
|
||||
$user->getId(),
|
||||
$request->get('filter') ? 0 : $user->getId(),
|
||||
$query,
|
||||
$user->getLocales(),
|
||||
!$user->isModerator() && $user->isSensitive() ? false : null,
|
||||
$request->get('filter') ? (array) $request->get('locales') : $user->getLocales(),
|
||||
$request->get('filter') ? (array) $request->get('categories') : $user->getCategories(),
|
||||
$request->get('filter') ? ($request->get('sensitive') ? null : false) : ($user->isSensitive() ? false : null),
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
$this->getParameter('app.pagination'),
|
||||
|
|
@ -700,23 +712,69 @@ class TorrentController extends AbstractController
|
|||
);
|
||||
|
||||
// Init request
|
||||
$query = $request->get('query') ? explode(' ', urldecode($request->get('query'))) : [];
|
||||
$page = $request->get('page') ? (int) $request->get('page') : 1;
|
||||
$query = $request->get('query') ?
|
||||
explode(' ', urldecode($request->get('query'))) : [];
|
||||
|
||||
$locales = $request->get('locales') ? explode('|', $request->get('locales')) : explode('|', $this->getParameter('app.locales'));
|
||||
$sensitive = $request->get('sensitive') ? (bool) $request->get('sensitive') : null;
|
||||
$page = $request->get('page') ?
|
||||
(int) $request->get('page') : 1;
|
||||
|
||||
$yggdrasil = $request->get('yggdrasil') ? (bool) $request->get('yggdrasil') : false;
|
||||
$filter = $request->get('filter') ?
|
||||
true : false;
|
||||
|
||||
if ($request->get('locales'))
|
||||
{
|
||||
$locales = explode('|', $request->get('locales'));
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$locales = $user->getLocales();
|
||||
}
|
||||
|
||||
if ($request->get('categories'))
|
||||
{
|
||||
$categories = explode('|', $request->get('categories'));
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$categories = $user->getCategories();
|
||||
}
|
||||
|
||||
switch ($request->get('sensitive'))
|
||||
{
|
||||
case 'true':
|
||||
$sensitive = true;
|
||||
break;
|
||||
case 'false':
|
||||
$sensitive = false;
|
||||
break;
|
||||
default:
|
||||
$sensitive = $user->isSensitive() ? false : null;
|
||||
}
|
||||
|
||||
switch ($request->get('yggdrasil'))
|
||||
{
|
||||
case 'true':
|
||||
$yggdrasil = true;
|
||||
break;
|
||||
case 'false':
|
||||
$yggdrasil = false;
|
||||
break;
|
||||
default:
|
||||
$yggdrasil = $user->isYggdrasil();
|
||||
}
|
||||
|
||||
// Init trackers
|
||||
$trackers = explode('|', $this->getParameter('app.trackers'));
|
||||
|
||||
// Get total torrents
|
||||
$total = $torrentService->findTorrentsTotal(
|
||||
$user->getId(),
|
||||
$filter ? 0 : $user->getId(),
|
||||
$query,
|
||||
$locales,
|
||||
!$user->isModerator() ? $sensitive : null,
|
||||
$categories,
|
||||
$sensitive,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
);
|
||||
|
|
@ -724,10 +782,11 @@ class TorrentController extends AbstractController
|
|||
// Create torrents list
|
||||
$torrents = [];
|
||||
foreach ($torrentService->findTorrents(
|
||||
$user->getId(),
|
||||
$filter ? 0 : $user->getId(),
|
||||
$query,
|
||||
$locales,
|
||||
!$user->isModerator() ? $sensitive : null,
|
||||
$categories,
|
||||
$sensitive,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
$this->getParameter('app.pagination'),
|
||||
|
|
@ -743,28 +802,15 @@ class TorrentController extends AbstractController
|
|||
// Apply yggdrasil filters
|
||||
$file = $this->filterYggdrasil($file, $yggdrasil);
|
||||
|
||||
// Generate url
|
||||
$url = [];
|
||||
foreach ($locales as $locale)
|
||||
{
|
||||
$url[$locale] = $this->generateUrl(
|
||||
'torrent_info',
|
||||
[
|
||||
'_locale' => $locale,
|
||||
'torrentId' => $torrent->getId(),
|
||||
],
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
$torrents[] =
|
||||
[
|
||||
'torrent' =>
|
||||
[
|
||||
'id' => $torrent->getId(),
|
||||
'added' => $torrent->getAdded(),
|
||||
'locales' => $torrent->getLocales(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'id' => $torrent->getId(),
|
||||
'added' => $torrent->getAdded(),
|
||||
'locales' => $torrent->getLocales(),
|
||||
'categories' => $torrent->getCategories(),
|
||||
'sensitive' => $torrent->isSensitive(),
|
||||
'file' =>
|
||||
[
|
||||
'name' => $file->getName(),
|
||||
|
|
@ -786,7 +832,7 @@ class TorrentController extends AbstractController
|
|||
],
|
||||
false
|
||||
),
|
||||
'urn' => $file->getMagnetLink()
|
||||
//'urn' => $file->getMagnetLink()
|
||||
],
|
||||
'scrape' =>
|
||||
[
|
||||
|
|
@ -794,23 +840,18 @@ class TorrentController extends AbstractController
|
|||
'peers' => (int) $torrent->getPeers(),
|
||||
'leechers' => (int) $torrent->getLeechers(),
|
||||
],
|
||||
'url' => $url
|
||||
'url' => $this->generateUrl(
|
||||
'torrent_info',
|
||||
[
|
||||
'_locale' => $user->getLocale(),
|
||||
'torrentId' => $torrent->getId(),
|
||||
],
|
||||
false
|
||||
)
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
$url = [];
|
||||
foreach ($locales as $locale)
|
||||
{
|
||||
$url[$locale] = $this->generateUrl(
|
||||
'torrent_recent',
|
||||
[
|
||||
'_locale' => $locale
|
||||
],
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
return $this->json(
|
||||
[
|
||||
'version' => time(),
|
||||
|
|
@ -818,7 +859,13 @@ class TorrentController extends AbstractController
|
|||
[
|
||||
'name' => $this->getParameter('app.name'),
|
||||
'version' => $this->getParameter('app.version'),
|
||||
'url' => $url
|
||||
'url' => $this->generateUrl(
|
||||
'torrent_recent',
|
||||
[
|
||||
'_locale' => $user->getLocale()
|
||||
],
|
||||
false
|
||||
)
|
||||
],
|
||||
'torrents' => $torrents
|
||||
]
|
||||
|
|
@ -873,6 +920,14 @@ class TorrentController extends AbstractController
|
|||
'value' => $request->get('locales') ? $request->get('locales') : [$request->get('_locale')],
|
||||
]
|
||||
],
|
||||
'categories' =>
|
||||
[
|
||||
'error' => [],
|
||||
'attribute' =>
|
||||
[
|
||||
'value' => $request->get('categories') ? $request->get('categories') : [],
|
||||
]
|
||||
],
|
||||
'torrent' =>
|
||||
[
|
||||
'error' => [],
|
||||
|
|
@ -909,6 +964,25 @@ class TorrentController extends AbstractController
|
|||
$form['locales']['error'][] = $translator->trans('At least one locale required');
|
||||
}
|
||||
|
||||
/// Categories
|
||||
$categories = [];
|
||||
if ($request->get('categories'))
|
||||
{
|
||||
foreach ((array) $request->get('categories') as $locale)
|
||||
{
|
||||
if (in_array($locale, explode('|', $this->getParameter('app.categories'))))
|
||||
{
|
||||
$categories[] = $locale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//// At least one valid locale required
|
||||
if (!$categories)
|
||||
{
|
||||
$form['categories']['error'][] = $translator->trans('At least one category required');
|
||||
}
|
||||
|
||||
/// Torrent
|
||||
if ($file = $request->files->get('torrent'))
|
||||
{
|
||||
|
|
@ -937,7 +1011,7 @@ class TorrentController extends AbstractController
|
|||
}
|
||||
|
||||
// Request is valid
|
||||
if (empty($form['torrent']['error']) && empty($form['locales']['error']))
|
||||
if (empty($form['torrent']['error']) && empty($form['locales']['error']) && empty($form['categories']['error']))
|
||||
{
|
||||
// Save data
|
||||
$torrent = $torrentService->add(
|
||||
|
|
@ -956,6 +1030,7 @@ class TorrentController extends AbstractController
|
|||
$user->getId(),
|
||||
time(),
|
||||
(array) $locales,
|
||||
(array) $categories,
|
||||
(bool) $request->get('sensitive'),
|
||||
$user->isApproved(),
|
||||
$user->isStatus()
|
||||
|
|
@ -983,8 +1058,9 @@ class TorrentController extends AbstractController
|
|||
return $this->render(
|
||||
'default/torrent/submit.html.twig',
|
||||
[
|
||||
'locales' => explode('|', $this->getParameter('app.locales')),
|
||||
'form' => $form,
|
||||
'locales' => explode('|', $this->getParameter('app.locales')),
|
||||
'categories' => explode('|', $this->getParameter('app.categories')),
|
||||
'form' => $form,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
@ -1504,6 +1580,363 @@ class TorrentController extends AbstractController
|
|||
);
|
||||
}
|
||||
|
||||
// Torrent categories
|
||||
#[Route(
|
||||
'/{_locale}/torrent/{torrentId}/edit/categories/{torrentCategoriesId}',
|
||||
name: 'torrent_categories_edit',
|
||||
requirements:
|
||||
[
|
||||
'_locale' => '%app.locales%',
|
||||
'torrentId' => '\d+',
|
||||
'torrentCategoriesId' => '\d+',
|
||||
],
|
||||
defaults:
|
||||
[
|
||||
'torrentCategoriesId' => null,
|
||||
],
|
||||
methods:
|
||||
[
|
||||
'GET',
|
||||
'POST'
|
||||
]
|
||||
)]
|
||||
public function editCategories(
|
||||
Request $request,
|
||||
TranslatorInterface $translator,
|
||||
UserService $userService,
|
||||
TorrentService $torrentService,
|
||||
ActivityService $activityService
|
||||
): Response
|
||||
{
|
||||
// Init user
|
||||
$user = $this->initUser(
|
||||
$request,
|
||||
$userService,
|
||||
$activityService
|
||||
);
|
||||
|
||||
if (!$user->isStatus())
|
||||
{
|
||||
// @TODO
|
||||
throw new \Exception(
|
||||
$translator->trans('Access denied')
|
||||
);
|
||||
}
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($request->get('torrentId')))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
// Init torrent categories
|
||||
$torrentCategoriesCurrent = [
|
||||
'userId' => null,
|
||||
'value' => []
|
||||
];
|
||||
|
||||
// Get from edition version requested
|
||||
if ($request->get('torrentCategoriesId'))
|
||||
{
|
||||
if ($torrentCategories = $torrentService->getTorrentCategories($request->get('torrentCategoriesId')))
|
||||
{
|
||||
$torrentCategoriesCurrent['userId'] = $torrentCategories->getUserId();
|
||||
|
||||
foreach ($torrentCategories->getValue() as $value)
|
||||
{
|
||||
$torrentCategoriesCurrent['value'][] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
}
|
||||
|
||||
// Otherwise, get latest available
|
||||
else
|
||||
{
|
||||
if ($torrentCategories = $torrentService->findLastTorrentCategoriesByTorrentId($torrent->getId()))
|
||||
{
|
||||
$torrentCategoriesCurrent['userId'] = $torrentCategories->getUserId();
|
||||
|
||||
foreach ($torrentCategories->getValue() as $value)
|
||||
{
|
||||
$torrentCategoriesCurrent['value'][] = $value;
|
||||
}
|
||||
|
||||
// Update active categories
|
||||
$request->attributes->set('torrentCategoriesId', $torrentCategories->getId());
|
||||
}
|
||||
}
|
||||
|
||||
// Init edition history
|
||||
$editions = [];
|
||||
foreach ($torrentService->findTorrentCategoriesByTorrentId($torrent->getId()) as $torrentCategoriesEdition)
|
||||
{
|
||||
$editions[] =
|
||||
[
|
||||
'id' => $torrentCategoriesEdition->getId(),
|
||||
'added' => $torrentCategoriesEdition->getAdded(),
|
||||
'approved' => $torrentCategoriesEdition->isApproved(),
|
||||
'active' => $torrentCategoriesEdition->getId() == $request->get('torrentCategoriesId'),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $torrentCategoriesEdition->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->getUser(
|
||||
$torrentCategoriesEdition->getUserId()
|
||||
)->getAddress()
|
||||
),
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
// Init form
|
||||
$form =
|
||||
[
|
||||
'categories' =>
|
||||
[
|
||||
'error' => [],
|
||||
'attribute' =>
|
||||
[
|
||||
'value' => $request->get('categories') ? $request->get('categories') : $torrentCategoriesCurrent['value'],
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
// Process request
|
||||
if ($request->isMethod('post'))
|
||||
{
|
||||
/// Categories
|
||||
$categories = [];
|
||||
if ($request->get('categories'))
|
||||
{
|
||||
foreach ((array) $request->get('categories') as $category)
|
||||
{
|
||||
if (in_array($category, explode('|', $this->getParameter('app.categories'))))
|
||||
{
|
||||
$categories[] = $category;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//// At least one valid category required
|
||||
if (!$categories)
|
||||
{
|
||||
$form['categories']['error'][] = $translator->trans('At least one category required');
|
||||
}
|
||||
|
||||
// Request is valid
|
||||
if (empty($form['categories']['error']))
|
||||
{
|
||||
// Save data
|
||||
$torrentCategories = $torrentService->addTorrentCategories(
|
||||
$torrent->getId(),
|
||||
$user->getId(),
|
||||
time(),
|
||||
$categories,
|
||||
$user->isApproved()
|
||||
);
|
||||
|
||||
// Register activity event
|
||||
$activityService->addEventTorrentCategoriesAdd(
|
||||
$user->getId(),
|
||||
$torrent->getId(),
|
||||
time(),
|
||||
$torrentCategories->getId()
|
||||
);
|
||||
|
||||
// Redirect to info page
|
||||
return $this->redirectToRoute(
|
||||
'torrent_info',
|
||||
[
|
||||
'_locale' => $request->get('_locale'),
|
||||
'torrentId' => $torrent->getId()
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Render form template
|
||||
return $this->render(
|
||||
'default/torrent/edit/categories.html.twig',
|
||||
[
|
||||
'torrentId' => $torrent->getId(),
|
||||
'categories' => explode('|', $this->getParameter('app.categories')),
|
||||
'editions' => $editions,
|
||||
'form' => $form,
|
||||
'session' =>
|
||||
[
|
||||
'moderator' => $user->isModerator(),
|
||||
'owner' => $torrentCategoriesCurrent['userId'] === $user->getId(),
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/torrent/{torrentId}/approve/categories/{torrentCategoriesId}',
|
||||
name: 'torrent_categories_approve',
|
||||
requirements:
|
||||
[
|
||||
'_locale' => '%app.locales%',
|
||||
'torrentId' => '\d+',
|
||||
'torrentCategoriesId' => '\d+',
|
||||
],
|
||||
methods:
|
||||
[
|
||||
'GET'
|
||||
]
|
||||
)]
|
||||
public function approveCategories(
|
||||
Request $request,
|
||||
TranslatorInterface $translator,
|
||||
UserService $userService,
|
||||
TorrentService $torrentService,
|
||||
ActivityService $activityService
|
||||
): Response
|
||||
{
|
||||
// Init user
|
||||
$user = $this->initUser(
|
||||
$request,
|
||||
$userService,
|
||||
$activityService
|
||||
);
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($request->get('torrentId')))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
// Init torrent categories
|
||||
if (!$torrentCategories = $torrentService->getTorrentCategories($request->get('torrentCategoriesId')))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
// Check permissions
|
||||
if (!$user->isModerator())
|
||||
{
|
||||
// @TODO
|
||||
throw new \Exception(
|
||||
$translator->trans('Access denied')
|
||||
);
|
||||
}
|
||||
|
||||
// Register activity event
|
||||
if (!$torrentCategories->isApproved())
|
||||
{
|
||||
$activityService->addEventTorrentCategoriesApproveAdd(
|
||||
$user->getId(),
|
||||
$torrent->getId(),
|
||||
time(),
|
||||
$torrentCategories->getId()
|
||||
);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$activityService->addEventTorrentCategoriesApproveDelete(
|
||||
$user->getId(),
|
||||
$torrent->getId(),
|
||||
time(),
|
||||
$torrentCategories->getId()
|
||||
);
|
||||
}
|
||||
|
||||
// Update approved
|
||||
$torrentService->toggleTorrentCategoriesApproved(
|
||||
$torrentCategories->getId()
|
||||
);
|
||||
|
||||
// Redirect back to form
|
||||
return $this->redirectToRoute(
|
||||
'torrent_categories_edit',
|
||||
[
|
||||
'_locale' => $request->get('_locale'),
|
||||
'torrentId' => $torrent->getId(),
|
||||
'torrentCategoriesId' => $torrentCategories->getId(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/torrent/{torrentId}/delete/categories/{torrentCategoriesId}',
|
||||
name: 'torrent_categories_delete',
|
||||
requirements:
|
||||
[
|
||||
'_locale' => '%app.locales%',
|
||||
'torrentId' => '\d+',
|
||||
'torrentCategoriesId' => '\d+',
|
||||
],
|
||||
methods:
|
||||
[
|
||||
'GET'
|
||||
]
|
||||
)]
|
||||
public function deleteCategories(
|
||||
Request $request,
|
||||
TranslatorInterface $translator,
|
||||
UserService $userService,
|
||||
TorrentService $torrentService,
|
||||
ActivityService $activityService
|
||||
): Response
|
||||
{
|
||||
// Init user
|
||||
$user = $this->initUser(
|
||||
$request,
|
||||
$userService,
|
||||
$activityService
|
||||
);
|
||||
|
||||
// Init torrent
|
||||
if (!$torrent = $torrentService->getTorrent($request->get('torrentId')))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
// Init torrent categories
|
||||
if (!$torrentCategories = $torrentService->getTorrentCategories($request->get('torrentCategoriesId')))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
// Check permissions
|
||||
if (!($user->isModerator() || $user->getId() === $torrentCategories->getUserId()))
|
||||
{
|
||||
// @TODO
|
||||
throw new \Exception(
|
||||
$translator->trans('Access denied')
|
||||
);
|
||||
}
|
||||
|
||||
// Add activity event
|
||||
$activityService->addEventTorrentCategoriesDelete(
|
||||
$user->getId(),
|
||||
$torrent->getId(),
|
||||
time(),
|
||||
$torrentCategories->getId()
|
||||
);
|
||||
|
||||
// Update approved
|
||||
$torrentService->deleteTorrentCategories(
|
||||
$torrentCategories->getId()
|
||||
);
|
||||
|
||||
// Redirect back to form
|
||||
return $this->redirectToRoute(
|
||||
'torrent_categories_edit',
|
||||
[
|
||||
'_locale' => $request->get('_locale'),
|
||||
'torrentId' => $torrent->getId(),
|
||||
'torrentCategoriesId' => $torrentCategories->getId(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
// Torrent sensitive
|
||||
#[Route(
|
||||
'/{_locale}/torrent/{torrentId}/edit/sensitive/{torrentSensitiveId}',
|
||||
|
|
@ -2416,14 +2849,10 @@ class TorrentController extends AbstractController
|
|||
$response->headers->set(
|
||||
'Content-Disposition',
|
||||
sprintf(
|
||||
'attachment; filename="%s#%s.%s.torrent";',
|
||||
mb_strtolower(
|
||||
$this->getParameter('app.name')
|
||||
),
|
||||
$torrent->getId(),
|
||||
mb_strtolower(
|
||||
$file->getName()
|
||||
)
|
||||
'attachment; filename="%s [%s#%s].torrent";',
|
||||
$file->getName(),
|
||||
$this->getParameter('app.name'),
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -2538,11 +2967,9 @@ class TorrentController extends AbstractController
|
|||
$response->headers->set(
|
||||
'Content-Disposition',
|
||||
sprintf(
|
||||
'attachment; filename="wanted#%s.%s.torrent";',
|
||||
$torrent->getId(),
|
||||
mb_strtolower(
|
||||
$file->getName()
|
||||
)
|
||||
'attachment; filename="%s [wanted#%s].torrent";',
|
||||
$file->getName(),
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -2784,10 +3211,9 @@ class TorrentController extends AbstractController
|
|||
$torrentService->copyToFtpStorage(
|
||||
$torrent->getId(),
|
||||
sprintf(
|
||||
'%s/torrents/wanted/all/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/all/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -2797,10 +3223,9 @@ class TorrentController extends AbstractController
|
|||
$torrentService->copyToFtpStorage(
|
||||
$torrent->getId(),
|
||||
sprintf(
|
||||
'%s/torrents/wanted/sensitive/yes/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/sensitive/yes/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
@ -2810,10 +3235,9 @@ class TorrentController extends AbstractController
|
|||
$torrentService->copyToFtpStorage(
|
||||
$torrent->getId(),
|
||||
sprintf(
|
||||
'%s/torrents/wanted/sensitive/no/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/sensitive/no/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
@ -2824,11 +3248,10 @@ class TorrentController extends AbstractController
|
|||
$torrentService->copyToFtpStorage(
|
||||
$torrent->getId(),
|
||||
sprintf(
|
||||
'%s/torrents/wanted/locale/%s/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/locale/%s/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$locale,
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
@ -2841,29 +3264,26 @@ class TorrentController extends AbstractController
|
|||
/// All
|
||||
$torrentService->removeFromFtpStorage(
|
||||
sprintf(
|
||||
'%s/torrents/wanted/all/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/all/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
|
||||
/// Sensitive
|
||||
$torrentService->removeFromFtpStorage(
|
||||
sprintf(
|
||||
'%s/torrents/wanted/sensitive/yes/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/sensitive/yes/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
|
||||
$torrentService->removeFromFtpStorage(
|
||||
sprintf(
|
||||
'%s/torrents/wanted/sensitive/no/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/sensitive/no/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -2872,11 +3292,10 @@ class TorrentController extends AbstractController
|
|||
{
|
||||
$torrentService->removeFromFtpStorage(
|
||||
sprintf(
|
||||
'%s/torrents/wanted/locale/%s/wanted#%s.%s.torrent',
|
||||
'%s/torrents/wanted/locale/%s/wanted#%s.torrent',
|
||||
$this->getParameter('app.torrent.wanted.ftp.folder'),
|
||||
$locale,
|
||||
$torrent->getId(),
|
||||
$file->getName()
|
||||
$torrent->getId()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
@ -2940,14 +3359,15 @@ class TorrentController extends AbstractController
|
|||
'locale' => $locale,
|
||||
'locales' => $locales,
|
||||
'torrents' => $torrentService->findTorrents(
|
||||
0, // no user session init, pass 0
|
||||
[], // without keywords filter
|
||||
$locales, // all system locales
|
||||
null, // all sensitive levels
|
||||
true, // approved only
|
||||
true, // enabled only
|
||||
1000, // @TODO limit
|
||||
0 // offset
|
||||
0, // no user session init, pass 0
|
||||
[], // without keywords filter
|
||||
$locales, // all system locales
|
||||
$categories, // all system locales
|
||||
null, // all sensitive levels
|
||||
true, // approved only
|
||||
true, // enabled only
|
||||
1000, // @TODO limit
|
||||
0 // offset
|
||||
)
|
||||
],
|
||||
$response
|
||||
|
|
|
|||
|
|
@ -85,6 +85,23 @@ class UserController extends AbstractController
|
|||
);
|
||||
}
|
||||
|
||||
// Update categories
|
||||
if ($request->get('categories'))
|
||||
{
|
||||
$categories = [];
|
||||
foreach ((array) $request->get('categories') as $category)
|
||||
{
|
||||
if (in_array($category, explode('|', $this->getParameter('app.categories'))))
|
||||
{
|
||||
$categories[] = $category;
|
||||
}
|
||||
}
|
||||
|
||||
$user->setCategories(
|
||||
$categories
|
||||
);
|
||||
}
|
||||
|
||||
// Update theme
|
||||
if (in_array($request->get('theme'), explode('|', $this->getParameter('app.themes'))))
|
||||
{
|
||||
|
|
@ -139,19 +156,21 @@ class UserController extends AbstractController
|
|||
'default/user/settings.html.twig',
|
||||
[
|
||||
'user' => [
|
||||
'id' => $user->getId(),
|
||||
'sensitive' => $user->isSensitive(),
|
||||
'yggdrasil' => $user->isYggdrasil(),
|
||||
'posters' => $user->isPosters(),
|
||||
'locale' => $user->getLocale(),
|
||||
'locales' => $user->getLocales(),
|
||||
'events' => $user->getEvents(),
|
||||
'theme' => $user->getTheme(),
|
||||
'added' => $user->getAdded()
|
||||
'id' => $user->getId(),
|
||||
'sensitive' => $user->isSensitive(),
|
||||
'yggdrasil' => $user->isYggdrasil(),
|
||||
'posters' => $user->isPosters(),
|
||||
'locale' => $user->getLocale(),
|
||||
'locales' => $user->getLocales(),
|
||||
'categories' => $user->getCategories(),
|
||||
'events' => $user->getEvents(),
|
||||
'theme' => $user->getTheme(),
|
||||
'added' => $user->getAdded()
|
||||
],
|
||||
'locales' => explode('|', $this->getParameter('app.locales')),
|
||||
'themes' => explode('|', $this->getParameter('app.themes')),
|
||||
'events' => $activityService->getEventsTree()
|
||||
'locales' => explode('|', $this->getParameter('app.locales')),
|
||||
'categories' => explode('|', $this->getParameter('app.categories')),
|
||||
'themes' => explode('|', $this->getParameter('app.themes')),
|
||||
'events' => $activityService->getEventsTree()
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
@ -217,19 +236,21 @@ class UserController extends AbstractController
|
|||
'moderator' => $user->isModerator()
|
||||
],
|
||||
'user' => [
|
||||
'id' => $userTarget->getId(),
|
||||
'address' => $userTarget->getAddress(),
|
||||
'moderator' => $userTarget->isModerator(),
|
||||
'approved' => $userTarget->isApproved(),
|
||||
'status' => $userTarget->isStatus(),
|
||||
'sensitive' => $userTarget->isSensitive(),
|
||||
'yggdrasil' => $userTarget->isYggdrasil(),
|
||||
'locale' => $userTarget->getLocale(),
|
||||
'locales' => $userTarget->getLocales(),
|
||||
'events' => $userTarget->getEvents(),
|
||||
'theme' => $userTarget->getTheme(),
|
||||
'added' => $userTarget->getAdded(),
|
||||
'identicon' => $userService->identicon(
|
||||
'id' => $userTarget->getId(),
|
||||
'address' => $userTarget->getAddress(),
|
||||
'moderator' => $userTarget->isModerator(),
|
||||
'approved' => $userTarget->isApproved(),
|
||||
'status' => $userTarget->isStatus(),
|
||||
'posters' => $userTarget->isPosters(),
|
||||
'sensitive' => $userTarget->isSensitive(),
|
||||
'yggdrasil' => $userTarget->isYggdrasil(),
|
||||
'locale' => $userTarget->getLocale(),
|
||||
'locales' => $userTarget->getLocales(),
|
||||
'categories' => $user->getCategories(),
|
||||
'events' => $userTarget->getEvents(),
|
||||
'theme' => $userTarget->getTheme(),
|
||||
'added' => $userTarget->getAdded(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userTarget->getAddress(),
|
||||
48
|
||||
),
|
||||
|
|
@ -297,6 +318,12 @@ class UserController extends AbstractController
|
|||
);
|
||||
}
|
||||
|
||||
// Block crawler requests
|
||||
if (in_array($request->getClientIp(), explode('|', $this->getParameter('app.crawlers'))))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
// Init target user
|
||||
if (!$userTarget = $userService->getUser($request->get('userId')))
|
||||
{
|
||||
|
|
@ -544,6 +571,11 @@ class UserController extends AbstractController
|
|||
true
|
||||
);
|
||||
|
||||
$torrentService->setTorrentCategoriesApprovedByUserId(
|
||||
$userTarget->getId(),
|
||||
true
|
||||
);
|
||||
|
||||
$torrentService->setTorrentSensitivesApprovedByUserId(
|
||||
$userTarget->getId(),
|
||||
true
|
||||
|
|
|
|||
|
|
@ -20,52 +20,57 @@ class Activity
|
|||
// Event codes
|
||||
|
||||
/// User
|
||||
public const EVENT_USER_ADD = 1000;
|
||||
public const EVENT_USER_ADD = 1000;
|
||||
|
||||
public const EVENT_USER_APPROVE_ADD = 1200;
|
||||
public const EVENT_USER_APPROVE_DELETE = 1201;
|
||||
public const EVENT_USER_APPROVE_ADD = 1200;
|
||||
public const EVENT_USER_APPROVE_DELETE = 1201;
|
||||
|
||||
public const EVENT_USER_MODERATOR_ADD = 1300;
|
||||
public const EVENT_USER_MODERATOR_DELETE = 1301;
|
||||
public const EVENT_USER_MODERATOR_ADD = 1300;
|
||||
public const EVENT_USER_MODERATOR_DELETE = 1301;
|
||||
|
||||
public const EVENT_USER_STATUS_ADD = 1400;
|
||||
public const EVENT_USER_STATUS_DELETE = 1401;
|
||||
public const EVENT_USER_STATUS_ADD = 1400;
|
||||
public const EVENT_USER_STATUS_DELETE = 1401;
|
||||
|
||||
public const EVENT_USER_STAR_ADD = 1500;
|
||||
public const EVENT_USER_STAR_DELETE = 1501;
|
||||
public const EVENT_USER_STAR_ADD = 1500;
|
||||
public const EVENT_USER_STAR_DELETE = 1501;
|
||||
|
||||
/// Torrent
|
||||
public const EVENT_TORRENT_ADD = 2000;
|
||||
public const EVENT_TORRENT_ADD = 2000;
|
||||
|
||||
public const EVENT_TORRENT_APPROVE_ADD = 1100;
|
||||
public const EVENT_TORRENT_APPROVE_DELETE = 1101;
|
||||
public const EVENT_TORRENT_APPROVE_ADD = 1100;
|
||||
public const EVENT_TORRENT_APPROVE_DELETE = 1101;
|
||||
|
||||
public const EVENT_TORRENT_LOCALES_ADD = 2200;
|
||||
public const EVENT_TORRENT_LOCALES_DELETE = 2201;
|
||||
public const EVENT_TORRENT_LOCALES_APPROVE_ADD = 2210;
|
||||
public const EVENT_TORRENT_LOCALES_APPROVE_DELETE = 2211;
|
||||
public const EVENT_TORRENT_LOCALES_ADD = 2200;
|
||||
public const EVENT_TORRENT_LOCALES_DELETE = 2201;
|
||||
public const EVENT_TORRENT_LOCALES_APPROVE_ADD = 2210;
|
||||
public const EVENT_TORRENT_LOCALES_APPROVE_DELETE = 2211;
|
||||
|
||||
public const EVENT_TORRENT_SENSITIVE_ADD = 2300;
|
||||
public const EVENT_TORRENT_SENSITIVE_DELETE = 2301;
|
||||
public const EVENT_TORRENT_SENSITIVE_APPROVE_ADD = 2310;
|
||||
public const EVENT_TORRENT_SENSITIVE_APPROVE_DELETE = 2311;
|
||||
public const EVENT_TORRENT_SENSITIVE_ADD = 2300;
|
||||
public const EVENT_TORRENT_SENSITIVE_DELETE = 2301;
|
||||
public const EVENT_TORRENT_SENSITIVE_APPROVE_ADD = 2310;
|
||||
public const EVENT_TORRENT_SENSITIVE_APPROVE_DELETE = 2311;
|
||||
|
||||
public const EVENT_TORRENT_STAR_ADD = 2400;
|
||||
public const EVENT_TORRENT_STAR_DELETE = 2401;
|
||||
public const EVENT_TORRENT_STAR_ADD = 2400;
|
||||
public const EVENT_TORRENT_STAR_DELETE = 2401;
|
||||
|
||||
public const EVENT_TORRENT_DOWNLOAD_FILE_ADD = 2500;
|
||||
public const EVENT_TORRENT_DOWNLOAD_FILE_ADD = 2500;
|
||||
|
||||
public const EVENT_TORRENT_DOWNLOAD_MAGNET_ADD = 2600;
|
||||
public const EVENT_TORRENT_DOWNLOAD_MAGNET_ADD = 2600;
|
||||
|
||||
public const EVENT_TORRENT_WANTED_ADD = 2700;
|
||||
public const EVENT_TORRENT_WANTED_ADD = 2700;
|
||||
|
||||
public const EVENT_TORRENT_STATUS_ADD = 1800;
|
||||
public const EVENT_TORRENT_STATUS_DELETE = 1801;
|
||||
public const EVENT_TORRENT_STATUS_ADD = 1800;
|
||||
public const EVENT_TORRENT_STATUS_DELETE = 1801;
|
||||
|
||||
public const EVENT_TORRENT_POSTER_ADD = 2800;
|
||||
public const EVENT_TORRENT_POSTER_DELETE = 2801;
|
||||
public const EVENT_TORRENT_POSTER_APPROVE_ADD = 2810;
|
||||
public const EVENT_TORRENT_POSTER_APPROVE_DELETE = 2811;
|
||||
public const EVENT_TORRENT_POSTER_ADD = 2800;
|
||||
public const EVENT_TORRENT_POSTER_DELETE = 2801;
|
||||
public const EVENT_TORRENT_POSTER_APPROVE_ADD = 2810;
|
||||
public const EVENT_TORRENT_POSTER_APPROVE_DELETE = 2811;
|
||||
|
||||
public const EVENT_TORRENT_CATEGORIES_ADD = 2900;
|
||||
public const EVENT_TORRENT_CATEGORIES_DELETE = 2901;
|
||||
public const EVENT_TORRENT_CATEGORIES_APPROVE_ADD = 2910;
|
||||
public const EVENT_TORRENT_CATEGORIES_APPROVE_DELETE = 2911;
|
||||
|
||||
// ...
|
||||
|
||||
|
|
|
|||
|
|
@ -54,6 +54,9 @@ class Torrent
|
|||
#[ORM\Column(nullable: true)]
|
||||
private ?int $torrentPosterId = null;
|
||||
|
||||
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
|
||||
private ?array $categories = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
|
|
@ -221,4 +224,16 @@ class Torrent
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCategories(): ?array
|
||||
{
|
||||
return $this->categories;
|
||||
}
|
||||
|
||||
public function setCategories(?array $categories): static
|
||||
{
|
||||
$this->categories = $categories;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
103
src/Entity/TorrentCategories.php
Normal file
103
src/Entity/TorrentCategories.php
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use App\Repository\TorrentCategoriesRepository;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
#[ORM\Entity(repositoryClass: TorrentCategoriesRepository::class)]
|
||||
class TorrentCategories
|
||||
{
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue]
|
||||
#[ORM\Column]
|
||||
private ?int $id = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?int $torrentId = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?int $userId = null;
|
||||
|
||||
#[ORM\Column]
|
||||
private ?int $added = null;
|
||||
|
||||
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
|
||||
private array $value = [];
|
||||
|
||||
#[ORM\Column]
|
||||
private ?bool $approved = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function setId(string $id): static
|
||||
{
|
||||
$this->id = $id;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTorrentId(): ?int
|
||||
{
|
||||
return $this->torrentId;
|
||||
}
|
||||
|
||||
public function setTorrentId(int $torrentId): static
|
||||
{
|
||||
$this->torrentId = $torrentId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUserId(): ?int
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
|
||||
public function setUserId(int $userId): static
|
||||
{
|
||||
$this->userId = $userId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAdded(): ?int
|
||||
{
|
||||
return $this->added;
|
||||
}
|
||||
|
||||
public function setAdded(int $added): static
|
||||
{
|
||||
$this->added = $added;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getValue(): array
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
public function setValue(array $value): static
|
||||
{
|
||||
$this->value = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isApproved(): ?bool
|
||||
{
|
||||
return $this->approved;
|
||||
}
|
||||
|
||||
public function setApproved(bool $approved): static
|
||||
{
|
||||
$this->approved = $approved;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
@ -50,6 +50,9 @@ class User
|
|||
#[ORM\Column]
|
||||
private ?bool $posters = null;
|
||||
|
||||
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
|
||||
private ?array $categories = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
|
|
@ -205,4 +208,16 @@ class User
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCategories(): ?array
|
||||
{
|
||||
return $this->categories;
|
||||
}
|
||||
|
||||
public function setCategories(?array $categories): static
|
||||
{
|
||||
$this->categories = $categories;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
23
src/Repository/TorrentCategoriesRepository.php
Normal file
23
src/Repository/TorrentCategoriesRepository.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace App\Repository;
|
||||
|
||||
use App\Entity\TorrentCategories;
|
||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||
use Doctrine\Persistence\ManagerRegistry;
|
||||
|
||||
/**
|
||||
* @extends ServiceEntityRepository<TorrentCategories>
|
||||
*
|
||||
* @method TorrentCategories|null find($id, $lockMode = null, $lockVersion = null)
|
||||
* @method TorrentCategories|null findOneBy(array $criteria, array $orderBy = null)
|
||||
* @method TorrentCategories[] findAll()
|
||||
* @method TorrentCategories[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
||||
*/
|
||||
class TorrentCategoriesRepository extends ServiceEntityRepository
|
||||
{
|
||||
public function __construct(ManagerRegistry $registry)
|
||||
{
|
||||
parent::__construct($registry, TorrentCategories::class);
|
||||
}
|
||||
}
|
||||
|
|
@ -24,7 +24,8 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
public function findTorrentsTotal(
|
||||
int $userId,
|
||||
array $keywords,
|
||||
array $locales,
|
||||
?array $locales,
|
||||
?array $categories,
|
||||
?bool $sensitive = null,
|
||||
?bool $approved = null,
|
||||
?bool $status = null,
|
||||
|
|
@ -36,6 +37,7 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
$userId,
|
||||
$keywords,
|
||||
$locales,
|
||||
$categories,
|
||||
$sensitive,
|
||||
$approved,
|
||||
$status,
|
||||
|
|
@ -47,7 +49,8 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
public function findTorrents(
|
||||
int $userId,
|
||||
array $keywords,
|
||||
array $locales,
|
||||
?array $locales,
|
||||
?array $categories,
|
||||
?bool $sensitive = null,
|
||||
?bool $approved = null,
|
||||
?bool $status = null,
|
||||
|
|
@ -59,6 +62,7 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
$userId,
|
||||
$keywords,
|
||||
$locales,
|
||||
$categories,
|
||||
$sensitive,
|
||||
$approved,
|
||||
$status,
|
||||
|
|
@ -70,17 +74,18 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
}
|
||||
|
||||
private function getTorrentsQueryByFilter(
|
||||
int $userId,
|
||||
array $keywords,
|
||||
array $locales,
|
||||
?bool $sensitive = null,
|
||||
?bool $approved = null,
|
||||
?bool $status = null
|
||||
int $userId,
|
||||
?array $keywords,
|
||||
?array $locales,
|
||||
?array $categories,
|
||||
?bool $sensitive = null,
|
||||
?bool $approved = null,
|
||||
?bool $status = null
|
||||
): \Doctrine\ORM\QueryBuilder
|
||||
{
|
||||
$query = $this->createQueryBuilder('t');
|
||||
|
||||
if ($keywords)
|
||||
if (is_array($keywords))
|
||||
{
|
||||
foreach ($keywords as $i => $keyword)
|
||||
{
|
||||
|
|
@ -105,7 +110,7 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
}
|
||||
}
|
||||
|
||||
if ($locales)
|
||||
if (is_array($locales))
|
||||
{
|
||||
$orLocales = $query->expr()->orX();
|
||||
|
||||
|
|
@ -121,6 +126,22 @@ class TorrentRepository extends ServiceEntityRepository
|
|||
$query->andWhere($orLocales);
|
||||
}
|
||||
|
||||
if (is_array($categories))
|
||||
{
|
||||
$orCategories = $query->expr()->orX();
|
||||
|
||||
foreach ($categories as $i => $category)
|
||||
{
|
||||
$orCategories->add("t.categories LIKE :category{$i}");
|
||||
$orCategories->add("t.userId = :userId");
|
||||
|
||||
$query->setParameter(":category{$i}", "%{$category}%");
|
||||
$query->setParameter('userId', $userId);
|
||||
}
|
||||
|
||||
$query->andWhere($orCategories);
|
||||
}
|
||||
|
||||
if (is_bool($sensitive))
|
||||
{
|
||||
$orSensitive = $query->expr()->orX();
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ class ActivityService
|
|||
Activity::EVENT_TORRENT_LOCALES_APPROVE_ADD,
|
||||
Activity::EVENT_TORRENT_LOCALES_APPROVE_DELETE,
|
||||
|
||||
Activity::EVENT_TORRENT_CATEGORIES_ADD,
|
||||
Activity::EVENT_TORRENT_CATEGORIES_DELETE,
|
||||
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD,
|
||||
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE,
|
||||
|
||||
Activity::EVENT_TORRENT_SENSITIVE_ADD,
|
||||
Activity::EVENT_TORRENT_SENSITIVE_DELETE,
|
||||
Activity::EVENT_TORRENT_SENSITIVE_APPROVE_ADD,
|
||||
|
|
@ -277,6 +282,55 @@ class ActivityService
|
|||
|
||||
break;
|
||||
|
||||
/// Torrent categories
|
||||
case Activity::EVENT_TORRENT_CATEGORIES_ADD:
|
||||
|
||||
$events
|
||||
[
|
||||
$this->translatorInterface->trans('Torrent categories')
|
||||
]
|
||||
[
|
||||
$this->translatorInterface->trans('Added')
|
||||
] = $code;
|
||||
|
||||
break;
|
||||
|
||||
case Activity::EVENT_TORRENT_CATEGORIES_DELETE:
|
||||
|
||||
$events
|
||||
[
|
||||
$this->translatorInterface->trans('Torrent categories')
|
||||
]
|
||||
[
|
||||
$this->translatorInterface->trans('Deleted')
|
||||
] = $code;
|
||||
|
||||
break;
|
||||
|
||||
case Activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD:
|
||||
|
||||
$events
|
||||
[
|
||||
$this->translatorInterface->trans('Torrent categories')
|
||||
]
|
||||
[
|
||||
$this->translatorInterface->trans('Approved')
|
||||
] = $code;
|
||||
|
||||
break;
|
||||
|
||||
case Activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE:
|
||||
|
||||
$events
|
||||
[
|
||||
$this->translatorInterface->trans('Torrent categories')
|
||||
]
|
||||
[
|
||||
$this->translatorInterface->trans('Disapproved')
|
||||
] = $code;
|
||||
|
||||
break;
|
||||
|
||||
/// Torrent sensitive
|
||||
case Activity::EVENT_TORRENT_SENSITIVE_ADD:
|
||||
|
||||
|
|
@ -1303,6 +1357,155 @@ class ActivityService
|
|||
return $activity;
|
||||
}
|
||||
|
||||
/// Torrent categories
|
||||
public function addEventTorrentCategoriesAdd(
|
||||
int $userId,
|
||||
int $torrentId,
|
||||
int $added,
|
||||
int $torrentCategoriesId,
|
||||
): ?Activity
|
||||
{
|
||||
$activity = new Activity();
|
||||
|
||||
$activity->setEvent(
|
||||
Activity::EVENT_TORRENT_CATEGORIES_ADD
|
||||
);
|
||||
|
||||
$activity->setUserId(
|
||||
$userId
|
||||
);
|
||||
|
||||
$activity->setTorrentId(
|
||||
$torrentId
|
||||
);
|
||||
|
||||
$activity->setAdded(
|
||||
$added
|
||||
);
|
||||
|
||||
$activity->setData(
|
||||
[
|
||||
'torrentCategoriesId' => $torrentCategoriesId
|
||||
]
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($activity);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
return $activity;
|
||||
}
|
||||
|
||||
public function addEventTorrentCategoriesDelete(
|
||||
int $userId,
|
||||
int $torrentId,
|
||||
int $added,
|
||||
int $torrentCategoriesId,
|
||||
): ?Activity
|
||||
{
|
||||
$activity = new Activity();
|
||||
|
||||
$activity->setEvent(
|
||||
Activity::EVENT_TORRENT_CATEGORIES_DELETE
|
||||
);
|
||||
|
||||
$activity->setUserId(
|
||||
$userId
|
||||
);
|
||||
|
||||
$activity->setTorrentId(
|
||||
$torrentId
|
||||
);
|
||||
|
||||
$activity->setAdded(
|
||||
$added
|
||||
);
|
||||
|
||||
$activity->setData(
|
||||
[
|
||||
'torrentCategoriesId' => $torrentCategoriesId
|
||||
]
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($activity);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
return $activity;
|
||||
}
|
||||
|
||||
public function addEventTorrentCategoriesApproveAdd(
|
||||
int $userId,
|
||||
int $torrentId,
|
||||
int $added,
|
||||
int $torrentCategoriesId,
|
||||
): ?Activity
|
||||
{
|
||||
$activity = new Activity();
|
||||
|
||||
$activity->setEvent(
|
||||
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD
|
||||
);
|
||||
|
||||
$activity->setUserId(
|
||||
$userId
|
||||
);
|
||||
|
||||
$activity->setTorrentId(
|
||||
$torrentId
|
||||
);
|
||||
|
||||
$activity->setAdded(
|
||||
$added
|
||||
);
|
||||
|
||||
$activity->setData(
|
||||
[
|
||||
'torrentCategoriesId' => $torrentCategoriesId
|
||||
]
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($activity);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
return $activity;
|
||||
}
|
||||
|
||||
public function addEventTorrentCategoriesApproveDelete(
|
||||
int $userId,
|
||||
int $torrentId,
|
||||
int $added,
|
||||
int $torrentCategoriesId,
|
||||
): ?Activity
|
||||
{
|
||||
$activity = new Activity();
|
||||
|
||||
$activity->setEvent(
|
||||
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE
|
||||
);
|
||||
|
||||
$activity->setUserId(
|
||||
$userId
|
||||
);
|
||||
|
||||
$activity->setTorrentId(
|
||||
$torrentId
|
||||
);
|
||||
|
||||
$activity->setAdded(
|
||||
$added
|
||||
);
|
||||
|
||||
$activity->setData(
|
||||
[
|
||||
'torrentCategoriesId' => $torrentCategoriesId
|
||||
]
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($activity);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
return $activity;
|
||||
}
|
||||
|
||||
/// Torrent sensitive
|
||||
public function addEventTorrentSensitiveAdd(
|
||||
int $userId,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ namespace App\Service;
|
|||
|
||||
use App\Entity\Torrent;
|
||||
use App\Entity\TorrentLocales;
|
||||
use App\Entity\TorrentCategories;
|
||||
use App\Entity\TorrentSensitive;
|
||||
use App\Entity\TorrentPoster;
|
||||
use App\Entity\TorrentStar;
|
||||
|
|
@ -12,6 +13,7 @@ use App\Entity\TorrentDownloadMagnet;
|
|||
|
||||
use App\Repository\TorrentRepository;
|
||||
use App\Repository\TorrentLocalesRepository;
|
||||
use App\Repository\TorrentCategoriesRepository;
|
||||
use App\Repository\TorrentSensitiveRepository;
|
||||
use App\Repository\TorrentPosterRepository;
|
||||
use App\Repository\TorrentStarRepository;
|
||||
|
|
@ -321,6 +323,11 @@ class TorrentService
|
|||
{
|
||||
$contributors = [];
|
||||
|
||||
foreach ($this->findTorrentCategoriesByTorrentId($torrent->getId()) as $torrentCategory)
|
||||
{
|
||||
$contributors[] = $torrentCategory->getUserId();
|
||||
}
|
||||
|
||||
foreach ($this->findTorrentLocalesByTorrentId($torrent->getId()) as $torrentLocale)
|
||||
{
|
||||
$contributors[] = $torrentLocale->getUserId();
|
||||
|
|
@ -331,6 +338,11 @@ class TorrentService
|
|||
$contributors[] = $torrentSensitive->getUserId();
|
||||
}
|
||||
|
||||
foreach ($this->findTorrentPosterByTorrentId($torrent->getId()) as $torrentPoster)
|
||||
{
|
||||
$contributors[] = $torrentPoster->getUserId();
|
||||
}
|
||||
|
||||
$contributors[] = $torrent->getUserId();
|
||||
|
||||
return array_unique($contributors);
|
||||
|
|
@ -381,6 +393,7 @@ class TorrentService
|
|||
int $userId,
|
||||
int $added,
|
||||
array $locales,
|
||||
array $categories,
|
||||
bool $sensitive,
|
||||
bool $approved,
|
||||
bool $status
|
||||
|
|
@ -403,6 +416,7 @@ class TorrentService
|
|||
$wordLengthMax
|
||||
),
|
||||
$locales,
|
||||
$categories,
|
||||
$sensitive,
|
||||
$approved,
|
||||
$status
|
||||
|
|
@ -424,6 +438,14 @@ class TorrentService
|
|||
$approved
|
||||
);
|
||||
|
||||
$this->addTorrentCategories(
|
||||
$torrent->getId(),
|
||||
$userId,
|
||||
$added,
|
||||
$categories,
|
||||
$approved
|
||||
);
|
||||
|
||||
$this->addTorrentSensitive(
|
||||
$torrent->getId(),
|
||||
$userId,
|
||||
|
|
@ -449,6 +471,7 @@ class TorrentService
|
|||
string $md5file,
|
||||
array $keywords,
|
||||
array $locales,
|
||||
array $categories,
|
||||
bool $sensitive,
|
||||
bool $approved,
|
||||
bool $status
|
||||
|
|
@ -461,6 +484,7 @@ class TorrentService
|
|||
$torrent->setMd5File($md5file);
|
||||
$torrent->setKeywords($keywords);
|
||||
$torrent->setLocales($locales);
|
||||
$torrent->setCategories($categories);
|
||||
$torrent->setSensitive($sensitive);
|
||||
$torrent->setApproved($approved);
|
||||
$torrent->setStatus($status);
|
||||
|
|
@ -534,7 +558,8 @@ class TorrentService
|
|||
public function findTorrents(
|
||||
int $userId,
|
||||
array $keywords,
|
||||
array $locales,
|
||||
?array $locales,
|
||||
?array $categories,
|
||||
?bool $sensitive,
|
||||
?bool $approved,
|
||||
?bool $status,
|
||||
|
|
@ -548,6 +573,7 @@ class TorrentService
|
|||
$userId,
|
||||
$keywords,
|
||||
$locales,
|
||||
$categories,
|
||||
$sensitive,
|
||||
$approved,
|
||||
$status,
|
||||
|
|
@ -559,7 +585,8 @@ class TorrentService
|
|||
public function findTorrentsTotal(
|
||||
int $userId,
|
||||
array $keywords,
|
||||
array $locales,
|
||||
?array $locales,
|
||||
?array $categories,
|
||||
?bool $sensitive,
|
||||
?bool $approved,
|
||||
?bool $status
|
||||
|
|
@ -571,6 +598,7 @@ class TorrentService
|
|||
$userId,
|
||||
$keywords,
|
||||
$locales,
|
||||
$categories,
|
||||
$sensitive,
|
||||
$approved,
|
||||
$status
|
||||
|
|
@ -642,6 +670,32 @@ class TorrentService
|
|||
}
|
||||
}
|
||||
|
||||
public function updateTorrentCategories(
|
||||
int $torrentId
|
||||
): void
|
||||
{
|
||||
if ($torrent = $this->getTorrent($torrentId))
|
||||
{
|
||||
if ($torrentCategories = $this->entityManagerInterface
|
||||
->getRepository(TorrentCategories::class)
|
||||
->findOneBy(
|
||||
[
|
||||
'torrentId' => $torrentId,
|
||||
'approved' => true,
|
||||
],
|
||||
[
|
||||
'id' => 'DESC'
|
||||
]
|
||||
))
|
||||
{
|
||||
$torrent->setCategories($torrentCategories->getValue());
|
||||
|
||||
$this->entityManagerInterface->persist($torrent);
|
||||
$this->entityManagerInterface->flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function updateTorrentScraped(
|
||||
int $torrentId,
|
||||
int $time
|
||||
|
|
@ -886,6 +940,133 @@ class TorrentService
|
|||
}
|
||||
}
|
||||
|
||||
// Torrent category
|
||||
public function getTorrentCategories(
|
||||
int $torrentCategoryId
|
||||
): ?TorrentCategories
|
||||
{
|
||||
return $this->entityManagerInterface
|
||||
->getRepository(TorrentCategories::class)
|
||||
->find($torrentCategoryId);
|
||||
}
|
||||
|
||||
public function findLastTorrentCategoriesByTorrentId(
|
||||
int $torrentId
|
||||
): ?TorrentCategories
|
||||
{
|
||||
return $this->entityManagerInterface
|
||||
->getRepository(TorrentCategories::class)
|
||||
->findOneBy(
|
||||
[
|
||||
'torrentId' => $torrentId
|
||||
],
|
||||
[
|
||||
'id' => 'DESC'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
public function findTorrentCategoriesByTorrentId(int $torrentId): array
|
||||
{
|
||||
return $this->entityManagerInterface
|
||||
->getRepository(TorrentCategories::class)
|
||||
->findBy(
|
||||
[
|
||||
'torrentId' => $torrentId,
|
||||
],
|
||||
[
|
||||
'id' => 'DESC'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
public function toggleTorrentCategoriesApproved(
|
||||
int $torrentCategoriesId
|
||||
): ?TorrentCategories
|
||||
{
|
||||
$torrentCategories = $this->getTorrentCategories($torrentCategoriesId);
|
||||
|
||||
$torrentCategories->setApproved(
|
||||
!$torrentCategories->isApproved() // toggle current value
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($torrentCategories);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
$this->updateTorrentCategories(
|
||||
$torrentCategories->getTorrentId()
|
||||
);
|
||||
|
||||
return $torrentCategories;
|
||||
}
|
||||
|
||||
public function deleteTorrentCategories(
|
||||
int $torrentCategoriesId
|
||||
): ?TorrentCategories
|
||||
{
|
||||
$torrentCategories = $this->getTorrentCategories($torrentCategoriesId);
|
||||
|
||||
$this->entityManagerInterface->remove($torrentCategories);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
$this->updateTorrentCategories(
|
||||
$torrentCategories->getTorrentId()
|
||||
);
|
||||
|
||||
return $torrentCategories;
|
||||
}
|
||||
|
||||
public function addTorrentCategories(
|
||||
int $torrentId,
|
||||
int $userId,
|
||||
int $added,
|
||||
array $value,
|
||||
bool $approved
|
||||
): ?TorrentCategories
|
||||
{
|
||||
$torrentCategories = new TorrentCategories();
|
||||
|
||||
$torrentCategories->setTorrentId($torrentId);
|
||||
$torrentCategories->setUserId($userId);
|
||||
$torrentCategories->setAdded($added);
|
||||
$torrentCategories->setValue($value);
|
||||
$torrentCategories->setApproved($approved);
|
||||
|
||||
$this->entityManagerInterface->persist($torrentCategories);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
$this->updateTorrentCategories(
|
||||
$torrentId
|
||||
);
|
||||
|
||||
return $torrentCategories;
|
||||
}
|
||||
|
||||
public function setTorrentCategoriesApprovedByUserId(
|
||||
int $userId,
|
||||
bool $value
|
||||
): void
|
||||
{
|
||||
foreach ($this->entityManagerInterface
|
||||
->getRepository(TorrentCategories::class)
|
||||
->findBy(
|
||||
[
|
||||
'userId' => $userId
|
||||
]) as $torrentCategories)
|
||||
{
|
||||
$torrentCategories->setApproved(
|
||||
$value
|
||||
);
|
||||
|
||||
$this->entityManagerInterface->persist($torrentCategories);
|
||||
$this->entityManagerInterface->flush();
|
||||
|
||||
$this->updateTorrentCategories(
|
||||
$torrentCategories->getTorrentId(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Torrent sensitive
|
||||
public function getTorrentSensitive(
|
||||
int $torrentSensitiveId
|
||||
|
|
|
|||
|
|
@ -39,13 +39,27 @@ class AppExtension extends AbstractExtension
|
|||
'formatAgo'
|
||||
]
|
||||
),
|
||||
new TwigFilter(
|
||||
'url_to_markdown',
|
||||
[
|
||||
$this,
|
||||
'urlToMarkdown'
|
||||
]
|
||||
),
|
||||
new TwigFilter(
|
||||
'trans_category',
|
||||
[
|
||||
$this,
|
||||
'transCategory'
|
||||
]
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
public function formatBytes(
|
||||
int $bytes,
|
||||
int $precision = 2
|
||||
) : string
|
||||
): string
|
||||
{
|
||||
$size = [
|
||||
$this->translator->trans('B'),
|
||||
|
|
@ -66,7 +80,7 @@ class AppExtension extends AbstractExtension
|
|||
|
||||
public function formatAgo(
|
||||
int $time,
|
||||
) : string
|
||||
): string
|
||||
{
|
||||
$diff = time() - $time;
|
||||
|
||||
|
|
@ -135,6 +149,40 @@ class AppExtension extends AbstractExtension
|
|||
}
|
||||
}
|
||||
|
||||
public function urlToMarkdown(
|
||||
string $text
|
||||
): string
|
||||
{
|
||||
return preg_replace(
|
||||
'~(https?://(?:www\.)?[^\(\s\)]+)~i',
|
||||
'[$1]($1)',
|
||||
$text
|
||||
);
|
||||
}
|
||||
|
||||
public function transCategory(
|
||||
string $name
|
||||
): string
|
||||
{
|
||||
switch ($name)
|
||||
{
|
||||
case 'movie': return $this->translator->trans('movie');
|
||||
case 'series': return $this->translator->trans('series');
|
||||
case 'tv': return $this->translator->trans('tv');
|
||||
case 'animation': return $this->translator->trans('animation');
|
||||
case 'music': return $this->translator->trans('music');
|
||||
case 'game': return $this->translator->trans('game');
|
||||
case 'audiobook': return $this->translator->trans('audiobook');
|
||||
case 'podcast': return $this->translator->trans('podcast');
|
||||
case 'book': return $this->translator->trans('book');
|
||||
case 'archive': return $this->translator->trans('archive');
|
||||
case 'picture': return $this->translator->trans('picture');
|
||||
case 'software': return $this->translator->trans('software');
|
||||
case 'other': return $this->translator->trans('other');
|
||||
default: return $name;
|
||||
}
|
||||
}
|
||||
|
||||
private function plural(int $number, array $texts)
|
||||
{
|
||||
$cases = [2, 0, 1, 1, 1, 2];
|
||||
|
|
|
|||
|
|
@ -0,0 +1,39 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
{{ 'have added categories edition' | trans }}
|
||||
{% if torrent.categories.exist %}
|
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}">
|
||||
#{{ torrent.categories.id }}
|
||||
</a>
|
||||
{% else %}
|
||||
#{{ torrent.categories.id }}
|
||||
{% endif %}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have added categories edition' | trans }}
|
||||
#{{ torrent.categories.id }}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
{{ torrent.name }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
{{ 'have approved categories edition' | trans }}
|
||||
{% if torrent.categories.exist %}
|
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}">
|
||||
#{{ torrent.categories.id }}
|
||||
</a>
|
||||
{% else %}
|
||||
#{{ torrent.categories.id }}
|
||||
{% endif %}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have approved categories edition' | trans }}
|
||||
#{{ torrent.categories.id }}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
{{ torrent.name }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'have disapproved categories edition' | trans }}
|
||||
</span>
|
||||
{% if torrent.categories.exist %}
|
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}">
|
||||
#{{ torrent.categories.id }}
|
||||
</a>
|
||||
{% else %}
|
||||
#{{ torrent.categories.id }}
|
||||
{% endif %}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have disapproved categories edition' | trans }}
|
||||
#{{ torrent.categories.id }}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
{{ torrent.name }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
{{ 'have deleted categories edition' | trans }}
|
||||
{% if torrent.categories.exist %}
|
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id }) }}">
|
||||
#{{ torrent.categories.id }}
|
||||
</a>
|
||||
{% else %}
|
||||
#{{ torrent.categories.id }}
|
||||
{% endif %}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have deleted categories edition' | trans }}
|
||||
#{{ torrent.categories.id }}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
||||
{% elseif torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
{{ torrent.name }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.status == false %}
|
||||
|
|
|
|||
|
|
@ -16,18 +16,19 @@
|
|||
<header>
|
||||
<div class="container">
|
||||
<div class="row margin-y-16-px text-center">
|
||||
<a class="logo display-inline-block margin-b-8-px" href="{{ path('torrent_recent') }}">
|
||||
<a class="logo display-inline-block{#32 margin-b-8-px #}" href="{{ path('torrent_recent') }}">
|
||||
<span>YGG</span>tracker
|
||||
</a>
|
||||
{#32
|
||||
<div class="font-size-10-px text-center text-color-night">
|
||||
{{ '<a href="%s">Upload</a> any torrent - download with Yggdrasil' | trans | format(path('torrent_submit')) | raw }}
|
||||
</div>
|
||||
#}
|
||||
{% block header_search %}
|
||||
{{ render(controller(
|
||||
'App\\Controller\\SearchController::module',
|
||||
{
|
||||
query : app.request.get('query'),
|
||||
type : app.request.get('type')
|
||||
request: app.request
|
||||
}
|
||||
)) }}
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,69 @@
|
|||
<form class="margin-t-16-px" name="search" method="get" action="{{ path('torrent_search') }}">
|
||||
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" />
|
||||
<input {% if query %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
|
||||
{% if filter %}
|
||||
<input type="hidden" name="filter" value="true" />
|
||||
<div class="text-left">
|
||||
<div class="margin-t-16-px margin-b-4-px padding-x-4-px text-right">
|
||||
{{ 'Locales' | trans }}
|
||||
</div>
|
||||
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
|
||||
{% for locale in locales | sort %}
|
||||
{#{% if locale.total %}#}
|
||||
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if locale.checked %}
|
||||
<input name="locales[]" id="{{ locale.value }}" type="checkbox" value="{{ locale.value }}" checked="checked" />
|
||||
{% else %}
|
||||
<input name="locales[]" id="{{ locale.value }}" type="checkbox" value="{{ locale.value }}" />
|
||||
{% endif %}
|
||||
<label class="margin-x-4-px" for="{{ locale.value }}">
|
||||
{{ locale.value | locale_name(locale.value) | u.title }}
|
||||
<span class="text-color-night">
|
||||
({{ locale.total }})
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{#{% endif %}#}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="margin-b-4-px padding-x-4-px text-right">
|
||||
{{ 'Categories' | trans }}
|
||||
</div>
|
||||
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
|
||||
{% for category in categories | sort %}
|
||||
{#{% if category.total %}#}
|
||||
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if category.checked %}
|
||||
<input name="categories[]" id="{{ category.value }}" type="checkbox" value="{{ category.value }}" checked="checked" />
|
||||
{% else %}
|
||||
<input name="categories[]" id="{{ category.value }}" type="checkbox" value="{{ category.value }}" />
|
||||
{% endif %}
|
||||
<label class="margin-x-4-px" for="{{ category.value }}">
|
||||
{{ category.value | trans_category | u.title }}
|
||||
<span class="text-color-night">
|
||||
({{ category.total }})
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{#{% endif %}#}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="margin-b-4-px padding-x-4-px text-right">
|
||||
{{ 'other' | trans | u.title }}
|
||||
</div>
|
||||
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
|
||||
{% if sensitive.checked %}
|
||||
<input name="sensitive" id="sensitive" type="checkbox" value="true" checked="checked" />
|
||||
{% else %}
|
||||
<input name="sensitive" id="sensitive" type="checkbox" value="true" />
|
||||
{% endif %}
|
||||
<label class="margin-x-4-px" for="sensitive">
|
||||
{{ 'Sensitive' | trans }}
|
||||
<span class="text-color-night">
|
||||
({{ sensitive.total }})
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
109
templates/default/torrent/edit/categories.html.twig
Normal file
109
templates/default/torrent/edit/categories.html.twig
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
{% extends 'default/layout.html.twig' %}
|
||||
{% block title %}{{'Edit categories'|trans }} - {{'Torrent'|trans }} #{{ torrentId }} - {{ name }}{% endblock %}
|
||||
{% block main_content %}
|
||||
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
|
||||
<div class="margin-b-16-px padding-b-16-px border-bottom-default">
|
||||
<h1>
|
||||
{{'Edit categories for torrent' | trans }}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrentId }) }}">#{{ torrentId }}</a>
|
||||
</h1>
|
||||
</div>
|
||||
<form name="categories" method="post" action="{{ path('torrent_categories_edit', { torrentId : torrentId }) }}">
|
||||
<div class="margin-y-16-px">
|
||||
<label for="categories">
|
||||
{{'Content category'|trans }}
|
||||
</label>
|
||||
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'This torrent have selected categories' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
|
||||
</svg>
|
||||
</sub>
|
||||
{% for error in form.categories.error %}
|
||||
<div class="text-color-red margin-y-8-px">
|
||||
{{ error }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="margin-t-8-px margin-b-16-px">
|
||||
{% for category in categories | sort %}
|
||||
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if category in form.categories.attribute.value %}
|
||||
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" checked="checked" />
|
||||
{% else %}
|
||||
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" />
|
||||
{% endif %}
|
||||
<label class="margin-l-4-px" for="{{ category }}">
|
||||
{{ category | trans_category | u.title }}
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{#
|
||||
<option class="padding-x-8-px padding-y-8-px" value="other">
|
||||
{{'Other...'|trans }}
|
||||
</option>
|
||||
#}
|
||||
</div>
|
||||
<div class="margin-b-16-px border-bottom-default"></div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a class="margin-r-8-px" href="{{ path('torrent_info', { torrentId : torrentId }) }}">
|
||||
{{'cancel'|trans }}
|
||||
</a>
|
||||
<input class="button-green" type="submit" value="{{'Submit'|trans }}" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% for edition in editions %}
|
||||
<div class="padding-x-24-px padding-y-16-px margin-y-8-px border-radius-3-px {% if edition.active %}background-color-night-light{% else %}background-color-night{% endif %} ">
|
||||
{% if edition.active %}
|
||||
{{ edition.added | format_ago }}
|
||||
{% else %}
|
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}">
|
||||
{{ edition.added | format_ago }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ 'by'|trans }}
|
||||
<a href="{{ path('user_info', { userId : edition.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ edition.user.identicon }}" alt="{{'identicon'|trans }}" />
|
||||
</a>
|
||||
<div class="float-right">
|
||||
{% if session.moderator or session.owner %}
|
||||
<a class="margin-r-8-px text-color-red" href="{{ path('torrent_categories_delete', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}" title="{{ 'Delete' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16">
|
||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
|
||||
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if edition.approved %}
|
||||
{% if session.moderator %}
|
||||
<a href="{{ path('torrent_categories_approve', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}" title="{{ 'Disapprove' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% else %}
|
||||
<span title="{{ 'Approved' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
|
||||
</svg>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if session.moderator %}
|
||||
<a href="{{ path('torrent_categories_approve', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}" title="{{ 'Approve' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hourglass" viewBox="0 0 16 16">
|
||||
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% else %}
|
||||
<span title="{{ 'Waiting for approve' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hourglass" viewBox="0 0 16 16">
|
||||
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
|
||||
</svg>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
<div class="margin-t-8-px margin-b-16-px">
|
||||
{% for locale in locales %}
|
||||
{% for locale in locales | sort %}
|
||||
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if locale in form.locales.attribute.value %}
|
||||
<input type="checkbox" name="locales[]" id="{{ locale }}" value="{{ locale }}" checked="checked" />
|
||||
|
|
|
|||
|
|
@ -96,14 +96,14 @@
|
|||
<td class="padding-t-16-px">
|
||||
{% if torrent.status %}
|
||||
{{ 'Yes' | trans }}
|
||||
<a class="float-right" href="{{ path('torrent_status_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<a rel="nofollow" class="float-right" href="{{ path('torrent_status_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M5 3a5 5 0 0 0 0 10h6a5 5 0 0 0 0-10H5zm6 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% else %}
|
||||
{{ 'No' | trans }}
|
||||
<a class="float-right text-color-red" href="{{ path('torrent_status_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<a rel="nofollow" class="float-right text-color-red" href="{{ path('torrent_status_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M11 4a4 4 0 0 1 0 8H8a4.992 4.992 0 0 0 2-4 4.992 4.992 0 0 0-2-4h3zm-6 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM0 8a5 5 0 0 0 5 5h6a5 5 0 0 0 0-10H5a5 5 0 0 0-5 5z"/>
|
||||
</svg>
|
||||
|
|
@ -119,14 +119,14 @@
|
|||
<td>
|
||||
{% if torrent.approved %}
|
||||
{{ 'Yes' | trans }}
|
||||
<a class="float-right" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<a rel="nofollow" class="float-right" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M5 3a5 5 0 0 0 0 10h6a5 5 0 0 0 0-10H5zm6 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% else %}
|
||||
{{ 'No' | trans }}
|
||||
<a class="float-right text-color-red" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<a rel="nofollow" class="float-right text-color-red" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M11 4a4 4 0 0 1 0 8H8a4.992 4.992 0 0 0 2-4 4.992 4.992 0 0 0-2-4h3zm-6 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM0 8a5 5 0 0 0 5 5h6a5 5 0 0 0 0-10H5a5 5 0 0 0-5 5z"/>
|
||||
</svg>
|
||||
|
|
@ -220,13 +220,26 @@
|
|||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ 'Private' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{% if file.private %}
|
||||
{{ 'Yes' | trans }}
|
||||
{% else %}
|
||||
{{ 'No' | trans }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% if file.source %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ 'Source' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{{ file.source }}
|
||||
{# strip all tags then apply whitelist markdown filters to prevent ping from remote #}
|
||||
{{ file.source | trim | striptags | url_to_markdown | markdown_to_html | nl2br }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
@ -236,7 +249,8 @@
|
|||
{{ 'Software' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{{ file.software }}
|
||||
{# strip all tags then apply whitelist markdown filters to prevent ping from remote #}
|
||||
{{ file.software | trim | striptags | url_to_markdown | markdown_to_html | nl2br }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
@ -246,7 +260,8 @@
|
|||
{{ 'Comment' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{{ file.comment | nl2br }}
|
||||
{# strip all tags then apply whitelist markdown filters to prevent ping from remote #}
|
||||
{{ file.comment | trim | striptags | url_to_markdown | markdown_to_html | nl2br }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
@ -334,23 +349,41 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_locales_edit', { torrentId : torrent.id }) }}" title="{{'Edit'|trans }}">
|
||||
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_locales_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{{ 'Locales' | trans }}
|
||||
{{ 'Locale' | trans }}
|
||||
<div class="padding-b-8-px border-bottom-default"></div>
|
||||
<div class="padding-t-16-px text-left">
|
||||
{% if torrent.locales %}
|
||||
<div class="padding-y-4-px">
|
||||
{% for i, locale in torrent.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %}
|
||||
{% set i = 0 %}
|
||||
{% for locale in torrent.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id }) }}" title="{{'Edit'|trans }}">
|
||||
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_categories_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{{ 'Category' | trans }}
|
||||
<div class="padding-b-8-px border-bottom-default"></div>
|
||||
<div class="padding-t-16-px text-left">
|
||||
{% if torrent.categories %}
|
||||
<div class="padding-y-4-px">
|
||||
{% set i = 0 %}
|
||||
{% for category in torrent.categories | sort %}{% if i > 0 %},{% endif %} {{ category | trans_category | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
|
||||
</svg>
|
||||
|
|
@ -366,7 +399,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_poster_edit', { torrentId : torrent.id }) }}" title="{{'Edit'|trans }}">
|
||||
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_poster_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
|
||||
</svg>
|
||||
|
|
|
|||
|
|
@ -5,11 +5,33 @@
|
|||
{% if query %}
|
||||
<h2>{{ 'Search results' | trans }}</h2>
|
||||
<sub>
|
||||
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent', { query : query | url_encode(true) }) }}" title="RSS">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% if app.request.get('filter') %}
|
||||
<a class="margin-l-4-px" rel="nofollow" href="{{ path('torrent_search', { query : query | url_encode(true) }) }}" title="{{ 'Hide filter' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filter-square-fill" viewBox="0 0 16 16">
|
||||
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent', { query : query | url_encode(true),
|
||||
locales : app.request.get('locales'),
|
||||
categories : app.request.get('categories'),
|
||||
sensitive : app.request.get('sensitive'),
|
||||
filter : app.request.get('filter') }) }}" title="RSS">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="text-color-night margin-l-4-px" rel="nofollow" href="{{ path('torrent_search', { query : query | url_encode(true), filter : 'true' }) }}" title="{{ 'Show filter' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filter-square-fill" viewBox="0 0 16 16">
|
||||
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent', { query : query | url_encode(true) }) }}" title="RSS">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% endif %}
|
||||
</sub>
|
||||
{% else %}
|
||||
<h2>{{ 'Recent uploads' | trans }}</h2>
|
||||
|
|
@ -36,7 +58,8 @@
|
|||
{% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %}
|
||||
<a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}"
|
||||
class="label label-green font-size-10-px position-relative display-inline-block"
|
||||
title="{{ 'Active leechers waiting for seeders' | trans }}">
|
||||
title="{{ 'Active leechers waiting for seeders' | trans }}"
|
||||
rel="nofollow">
|
||||
{{ 'wanted' | trans }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
|
@ -80,7 +103,11 @@
|
|||
{% if torrent.keywords %}
|
||||
<div class="margin-b-16-px">
|
||||
{% for keyword, quantity in torrent.keywords %}
|
||||
<a href="{{ path('torrent_search', { query : keyword | url_encode(true) }) }}">
|
||||
<a href="{{ path('torrent_search', { query : keyword | url_encode(true),
|
||||
locales : app.request.get('locales'),
|
||||
categories : app.request.get('categories'),
|
||||
sensitive : app.request.get('sensitive'),
|
||||
filter : app.request.get('filter') }) }}">
|
||||
#{{ keyword }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
@ -169,17 +196,31 @@
|
|||
{% if query %}
|
||||
{% if pagination.page > 1 %}
|
||||
{% if pagination.page == 2 %}
|
||||
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true) | raw }) }}">
|
||||
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true),
|
||||
locales : app.request.get('locales'),
|
||||
categories : app.request.get('categories'),
|
||||
sensitive : app.request.get('sensitive'),
|
||||
filter : app.request.get('filter') }) }}">
|
||||
{{ 'Back' | trans | lower }}
|
||||
</a>
|
||||
{% else %}
|
||||
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true), page : pagination.page - 1 }) }}">
|
||||
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true),
|
||||
page : pagination.page - 1,
|
||||
locales : app.request.get('locales'),
|
||||
categories : app.request.get('categories'),
|
||||
sensitive : app.request.get('sensitive'),
|
||||
filter : app.request.get('filter') }) }}">
|
||||
{{ 'Back' | trans | lower }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if pagination.page < pagination.pages %}
|
||||
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true), page : pagination.page + 1 }) }}">
|
||||
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true),
|
||||
page : pagination.page + 1,
|
||||
locales : app.request.get('locales'),
|
||||
categories : app.request.get('categories'),
|
||||
sensitive : app.request.get('sensitive'),
|
||||
filter : app.request.get('filter') }) }}">
|
||||
{{ 'Next' | trans | lower }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% for locale in locales %}
|
||||
{% for locale in locales | sort %}
|
||||
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if locale in form.locales.attribute.value %}
|
||||
<input type="checkbox" name="locales[]" id="{{ locale }}" value="{{ locale }}" checked="checked" />
|
||||
|
|
@ -48,9 +48,42 @@
|
|||
#}
|
||||
</div>
|
||||
<div class="margin-b-16-px border-bottom-default"></div>
|
||||
<div class="margin-y-16-px">
|
||||
<div class="margin-b-8-px">
|
||||
<label for="categories">
|
||||
{{'Content category' | trans }}
|
||||
</label>
|
||||
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'This torrent have selected categories' | trans }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
|
||||
</svg>
|
||||
</sub>
|
||||
{% for error in form.categories.error %}
|
||||
<div class="text-color-red margin-y-8-px">
|
||||
{{ error }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% for category in categories | sort %}
|
||||
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if category in form.categories.attribute.value %}
|
||||
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" checked="checked" />
|
||||
{% else %}
|
||||
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" />
|
||||
{% endif %}
|
||||
<label class="margin-l-4-px" for="{{ category }}">
|
||||
{{ category | trans_category | u.title }}
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{#
|
||||
{{'Other...'|trans }}
|
||||
#}
|
||||
</div>
|
||||
<div class="margin-b-16-px border-bottom-default"></div>
|
||||
<div>
|
||||
<input type="checkbox" name="sensitive" id="sensitive" value="true" {% if form.sensitive.attribute.value %}checked="checked"{% endif %} />
|
||||
<label for="sensitive">
|
||||
<label class="margin-l-4-px" for="sensitive">
|
||||
{{'Sensitive'|trans }}
|
||||
</label>
|
||||
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'Mark torrent content as sensitive' | trans }}">
|
||||
|
|
|
|||
|
|
@ -172,7 +172,29 @@
|
|||
{{ 'Languages' | trans }}
|
||||
</td>
|
||||
<td class="width-80 line-height-20-px">
|
||||
{% for i, locale in user.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %}
|
||||
{% set i = 0 %}
|
||||
{% for locale in user.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="width-20">
|
||||
{{ 'Categories' | trans }}
|
||||
</td>
|
||||
<td class="width-80 line-height-20-px">
|
||||
{% set i = 0 %}
|
||||
{% for category in user.categories | sort %}{% if i > 0 %},{% endif %} {{ category | trans_category | u.title }}{% set i = i + 1 %}{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ 'Posters' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{% if user.posters %}
|
||||
{{ 'Yes' | trans }}
|
||||
{% else %}
|
||||
{{ 'No' | trans }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
</div>
|
||||
</td>
|
||||
<td class="padding-t-16-px padding-b-8-px">
|
||||
{% for locale in locales %}
|
||||
{% for locale in locales | sort %}
|
||||
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if locale in user.locales %}
|
||||
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" checked="checked" />
|
||||
|
|
@ -102,10 +102,31 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-y-12-px">
|
||||
<td class="padding-y-16-px">
|
||||
<div class="margin-t-4-px">
|
||||
{{ 'Categories' | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td class="padding-t-16-px padding-b-8-px border-top-default">
|
||||
{% for category in categories | sort %}
|
||||
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
|
||||
{% if category in user.categories %}
|
||||
<input name="categories[]" id="{{ category }}" type="checkbox" value="{{ category }}" checked="checked" />
|
||||
{% else %}
|
||||
<input name="categories[]" id="{{ category }}" type="checkbox" value="{{ category }}" />
|
||||
{% endif %}
|
||||
<label class="margin-x-4-px" for="{{ category }}">
|
||||
{{ category | trans_category | u.title }}
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-y-16-px">
|
||||
{{ 'Sensitive' | trans }}
|
||||
</td>
|
||||
<td class="padding-y-12-px border-top-default">
|
||||
<td class="padding-t-16-px padding-b-8-px border-top-default">
|
||||
<div class="margin-r-8-px">
|
||||
{% if user.sensitive %}
|
||||
<input name="sensitive" id="sensitive" type="checkbox" value="true" checked="checked" />
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
918
translations/messages+intl-icu.ja.xlf
Normal file
918
translations/messages+intl-icu.ja.xlf
Normal file
|
|
@ -0,0 +1,918 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
||||
<file source-language="en" target-language="ja" datatype="plaintext" original="file.ext">
|
||||
<header>
|
||||
<tool tool-id="symfony" tool-name="Symfony"/>
|
||||
</header>
|
||||
<body>
|
||||
<trans-unit id="awzJBNC" resname="Users">
|
||||
<source>Users</source>
|
||||
<target>Users</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="aTGLDGq" resname="Joined">
|
||||
<source>Joined</source>
|
||||
<target>Joined</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="h7QuQMK" resname="Approved">
|
||||
<source>Approved</source>
|
||||
<target>Approved</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4DA0L1y" resname="Disapproved">
|
||||
<source>Disapproved</source>
|
||||
<target>Disapproved</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="RJ.LE0Z" resname="User statuses">
|
||||
<source>User statuses</source>
|
||||
<target>User statuses</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ksHN.fT" resname="Enabled">
|
||||
<source>Enabled</source>
|
||||
<target>Enabled</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="dQgbWT0" resname="Disabled">
|
||||
<source>Disabled</source>
|
||||
<target>Disabled</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="a8mndct" resname="User moderators">
|
||||
<source>User moderators</source>
|
||||
<target>User moderators</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="awLg02O" resname="Added">
|
||||
<source>Added</source>
|
||||
<target>Added</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QRj7T_0" resname="Removed">
|
||||
<source>Removed</source>
|
||||
<target>Removed</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kg68hPN" resname="User stars">
|
||||
<source>User stars</source>
|
||||
<target>User stars</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ohibNaT" resname="Torrents">
|
||||
<source>Torrents</source>
|
||||
<target>Torrents</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="lq4iox7" resname="Torrent locales">
|
||||
<source>Torrent locales</source>
|
||||
<target>Torrent locales</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tI.znC4" resname="Deleted">
|
||||
<source>Deleted</source>
|
||||
<target>Deleted</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Vt2WDnJ" resname="Torrent sensitive">
|
||||
<source>Torrent sensitive</source>
|
||||
<target>Torrent sensitive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tL8VElY" resname="Torrent stars">
|
||||
<source>Torrent stars</source>
|
||||
<target>Torrent stars</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ZxMky2X" resname="Torrent downloads">
|
||||
<source>Torrent downloads</source>
|
||||
<target>Torrent downloads</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="q8fpiSg" resname="Files">
|
||||
<source>Files</source>
|
||||
<target>Files</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="0y.A5if" resname="Magnet links">
|
||||
<source>Magnet links</source>
|
||||
<target>Magnet links</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zBHUFdk" resname="Access denied">
|
||||
<source>Access denied</source>
|
||||
<target>Access denied</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="_ji6HWn" resname="At least one locale required">
|
||||
<source>At least one locale required</source>
|
||||
<target>At least one locale required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="fYxwFh4" resname="Torrent file out of size limit">
|
||||
<source>Torrent file out of size limit</source>
|
||||
<target>Torrent file out of size limit</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="J4iakCK" resname="Torrent file already exists">
|
||||
<source>Torrent file already exists</source>
|
||||
<target>Torrent file already exists</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="OMHLqqs" resname="Could not parse torrent file">
|
||||
<source>Could not parse torrent file</source>
|
||||
<target>Could not parse torrent file</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6rhNefb" resname="Torrent file required">
|
||||
<source>Torrent file required</source>
|
||||
<target>Torrent file required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="335w5QI" resname="B">
|
||||
<source>B</source>
|
||||
<target>B</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pNfcu5." resname="Kb">
|
||||
<source>Kb</source>
|
||||
<target>Kb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="mhI2lhb" resname="Mb">
|
||||
<source>Mb</source>
|
||||
<target>Mb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="e0K0oQ5" resname="Gb">
|
||||
<source>Gb</source>
|
||||
<target>Gb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="wI8AiyL" resname="Tb">
|
||||
<source>Tb</source>
|
||||
<target>Tb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="cfWnmQc" resname="Pb">
|
||||
<source>Pb</source>
|
||||
<target>Pb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="0YVBcLX" resname="Eb">
|
||||
<source>Eb</source>
|
||||
<target>Eb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="IISijB3" resname="Zb">
|
||||
<source>Zb</source>
|
||||
<target>Zb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xh_ZAt3" resname="Yb">
|
||||
<source>Yb</source>
|
||||
<target>Yb</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7V65o34" resname="now">
|
||||
<source>now</source>
|
||||
<target>now</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="aw2VQXS" resname="Keyword, file, hash...">
|
||||
<source>Keyword, file, hash...</source>
|
||||
<target>Keyword, file, hash...</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ScJmuqq" resname="Search">
|
||||
<source>Search</source>
|
||||
<target>Search</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="k8s5Jex" resname="Recent uploads">
|
||||
<source>Recent uploads</source>
|
||||
<target>Recent uploads</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xQ9.bKM" resname="Active leechers waiting for seeders">
|
||||
<source>Active leechers waiting for seeders</source>
|
||||
<target>Active leechers waiting for seeders</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ypBmhzv" resname="wanted">
|
||||
<source>wanted</source>
|
||||
<target>wanted</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R138zpi" resname="Waiting for approve">
|
||||
<source>Waiting for approve</source>
|
||||
<target>Waiting for approve</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="GvhRkHM" resname="Size">
|
||||
<source>Size</source>
|
||||
<target>Size</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QKvXHnR" resname="Seeders">
|
||||
<source>Seeders</source>
|
||||
<target>Seeders</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ZLdpvK_" resname="Peers">
|
||||
<source>Peers</source>
|
||||
<target>Peers</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="mR8Ug6L" resname="Leechers">
|
||||
<source>Leechers</source>
|
||||
<target>Leechers</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="E_vs9Gs" resname="Open magnet link">
|
||||
<source>Open magnet link</source>
|
||||
<target>Open magnet link</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ybPDgkf" resname="Total">
|
||||
<source>Total</source>
|
||||
<target>Total</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="5Y_6cg2" resname="Download torrent file">
|
||||
<source>Download torrent file</source>
|
||||
<target>Download torrent file</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="41fTloc" resname="Star">
|
||||
<source>Star</source>
|
||||
<target>Star</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="n1ysPPL" resname="Nothing found">
|
||||
<source>Nothing found</source>
|
||||
<target>Nothing found</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gtAEXOf" resname="* share new torrent file to change it">
|
||||
<source>* share new torrent file to change it</source>
|
||||
<target>* share new torrent file to change it</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="FV_BbAQ" resname="Submit">
|
||||
<source>Submit</source>
|
||||
<target>Submit</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ZTfB0U1" resname="Submit torrent">
|
||||
<source>Submit torrent</source>
|
||||
<target>Submit torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="wAsU1pF" resname="Content language">
|
||||
<source>Content language</source>
|
||||
<target>Content language</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="y_ytxTz" resname="This torrent contains selected languages">
|
||||
<source>This torrent contains selected languages</source>
|
||||
<target>This torrent contains selected languages</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LGTAMNS" resname="Sensitive">
|
||||
<source>Sensitive</source>
|
||||
<target>Sensitive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="fhhVD.B" resname="Mark torrent content as sensitive">
|
||||
<source>Mark torrent content as sensitive</source>
|
||||
<target>Mark torrent content as sensitive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2ZuDCA5" resname="Edit locales">
|
||||
<source>Edit locales</source>
|
||||
<target>Edit locales</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="OBSQFyT" resname="Torrent">
|
||||
<source>Torrent</source>
|
||||
<target>Torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kE0Fugk" resname="Edit locales for torrent">
|
||||
<source>Edit locales for torrent</source>
|
||||
<target>Edit locales for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="I3TZF5S" resname="cancel">
|
||||
<source>cancel</source>
|
||||
<target>cancel</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="p_LSbo0" resname="by">
|
||||
<source>by</source>
|
||||
<target>by</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kONatGQ" resname="identicon">
|
||||
<source>identicon</source>
|
||||
<target>identicon</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4tClSWj" resname="Delete">
|
||||
<source>Delete</source>
|
||||
<target>Delete</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="GFXm4Yt" resname="Disapprove">
|
||||
<source>Disapprove</source>
|
||||
<target>Disapprove</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="YAesvjC" resname="Approve">
|
||||
<source>Approve</source>
|
||||
<target>Approve</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Iqk3OBD" resname="Edit sensitive status">
|
||||
<source>Edit sensitive status</source>
|
||||
<target>Edit sensitive status</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="rzkdzo_" resname="Edit sensitive status for torrent">
|
||||
<source>Edit sensitive status for torrent</source>
|
||||
<target>Edit sensitive status for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="CjCoFdZ" resname="Page">
|
||||
<source>Page</source>
|
||||
<target>Page</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Em1EFUR" resname="Moderation">
|
||||
<source>Moderation</source>
|
||||
<target>Moderation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="haOas0X" resname="Yes">
|
||||
<source>Yes</source>
|
||||
<target>Yes</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PQOh3qV" resname="Toggle">
|
||||
<source>Toggle</source>
|
||||
<target>Toggle</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="HqRCoTS" resname="No">
|
||||
<source>No</source>
|
||||
<target>No</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="MJlV4Ah" resname="Common">
|
||||
<source>Common</source>
|
||||
<target>Common</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="OEOXHc." resname="ID">
|
||||
<source>ID</source>
|
||||
<target>ID</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ZCcQ4t2" resname="MD5">
|
||||
<source>MD5</source>
|
||||
<target>MD5</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="T3Un3Wo" resname="Info hash v1">
|
||||
<source>Info hash v1</source>
|
||||
<target>Info hash v1</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="k77N_dn" resname="Info hash v2">
|
||||
<source>Info hash v2</source>
|
||||
<target>Info hash v2</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1wueJLy" resname="Created">
|
||||
<source>Created</source>
|
||||
<target>Created</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="3QXQ4kf" resname="Pieces">
|
||||
<source>Pieces</source>
|
||||
<target>Pieces</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DlcMpvq" resname="Source">
|
||||
<source>Source</source>
|
||||
<target>Source</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="mzKJo4W" resname="Software">
|
||||
<source>Software</source>
|
||||
<target>Software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="RPXj__x" resname="Comment">
|
||||
<source>Comment</source>
|
||||
<target>Comment</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NQrUM8Q" resname="Contributors">
|
||||
<source>Contributors</source>
|
||||
<target>Contributors</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="mvYF.Ky" resname="Scrape">
|
||||
<source>Scrape</source>
|
||||
<target>Scrape</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Bud8ddd" resname="Trackers">
|
||||
<source>Trackers</source>
|
||||
<target>Trackers</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Ph5aqB7" resname="Filtered by settings">
|
||||
<source>Filtered by settings</source>
|
||||
<target>Filtered by settings</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="RkxP.QG" resname="Edit">
|
||||
<source>Edit</source>
|
||||
<target>Edit</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="g7KFKj7" resname="Locales">
|
||||
<source>Locales</source>
|
||||
<target>Locales</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bLRLVjN" resname="Recent activity">
|
||||
<source>Recent activity</source>
|
||||
<target>Recent activity</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="dpAPG.0" resname="Back">
|
||||
<source>Back</source>
|
||||
<target>Back</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="H.V6Kdf" resname="Next">
|
||||
<source>Next</source>
|
||||
<target>Next</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="dKiDoDe" resname="Settings">
|
||||
<source>Settings</source>
|
||||
<target>Settings</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="wms_1M5" resname="Interface">
|
||||
<source>Interface</source>
|
||||
<target>Interface</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="77UucXK" resname="Theme">
|
||||
<source>Theme</source>
|
||||
<target>Theme</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pP5lJk7" resname="Language">
|
||||
<source>Language</source>
|
||||
<target>Language</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ByvVctG" resname="Join translation">
|
||||
<source>Join translation</source>
|
||||
<target>Join translation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ONoVBcq" resname="Activity">
|
||||
<source>Activity</source>
|
||||
<target>Activity</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1f3BrwI" resname="Downloads">
|
||||
<source>Downloads</source>
|
||||
<target>Downloads</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zmgk0li" resname="Yggdrasil only">
|
||||
<source>Yggdrasil only</source>
|
||||
<target>Yggdrasil only</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="FQn1YfJ" resname="Save">
|
||||
<source>Save</source>
|
||||
<target>Save</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="OnhpU4i" resname="Home">
|
||||
<source>Home</source>
|
||||
<target>Home</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1pajW90" resname="Profile">
|
||||
<source>Profile</source>
|
||||
<target>Profile</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tRLZfny" resname="User">
|
||||
<source>User</source>
|
||||
<target>User</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="G6xAB4g" resname="Bookmark">
|
||||
<source>Bookmark</source>
|
||||
<target>Bookmark</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Vu_PIJV" resname="Address">
|
||||
<source>Address</source>
|
||||
<target>Address</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="3VuNjXf" resname="Address hidden for others">
|
||||
<source>Address hidden for others</source>
|
||||
<target>Address hidden for others</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7Fugq7c" resname="Access">
|
||||
<source>Access</source>
|
||||
<target>Access</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kg5BPH1" resname="Status">
|
||||
<source>Status</source>
|
||||
<target>Status</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kjQGlYm" resname="Active">
|
||||
<source>Active</source>
|
||||
<target>Active</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Z0jsi3Z" resname="Moderator">
|
||||
<source>Moderator</source>
|
||||
<target>Moderator</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="MYZVzqS" resname="Languages">
|
||||
<source>Languages</source>
|
||||
<target>Languages</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="CLoCFMI" resname="Events subscribed">
|
||||
<source>Events subscribed</source>
|
||||
<target>Events subscribed</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="qqJclwn" resname="undefined event">
|
||||
<source>undefined event</source>
|
||||
<target>undefined event</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4Il4Y5X" resname="have downloaded torrent file">
|
||||
<source>have downloaded torrent file</source>
|
||||
<target>have downloaded torrent file</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="h80m7iF" resname="waiting for approve">
|
||||
<source>waiting for approve</source>
|
||||
<target>waiting for approve</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LV6GAKT" resname="sensitive">
|
||||
<source>sensitive</source>
|
||||
<target>sensitive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="t_REuxn" resname="have downloaded magnet link">
|
||||
<source>have downloaded magnet link</source>
|
||||
<target>have downloaded magnet link</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="GUgRc6p" resname="have disapproved torrent">
|
||||
<source>have disapproved torrent</source>
|
||||
<target>have disapproved torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="peGPPOh" resname="have approved torrent">
|
||||
<source>have approved torrent</source>
|
||||
<target>have approved torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Ax4hwgW" resname="have added torrent">
|
||||
<source>have added torrent</source>
|
||||
<target>have added torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kOS_6Om" resname="have deleted locales edition">
|
||||
<source>have deleted locales edition</source>
|
||||
<target>have deleted locales edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="naGLbTA" resname="for torrent">
|
||||
<source>for torrent</source>
|
||||
<target>for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="eD4JIr7" resname="have disapproved locales edition">
|
||||
<source>have disapproved locales edition</source>
|
||||
<target>have disapproved locales edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="L8_5bk0" resname="have approved locales edition">
|
||||
<source>have approved locales edition</source>
|
||||
<target>have approved locales edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gbo5PRi" resname="have added locales edition">
|
||||
<source>have added locales edition</source>
|
||||
<target>have added locales edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="aazoJuz" resname="have removed star from torrent">
|
||||
<source>have removed star from torrent</source>
|
||||
<target>have removed star from torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="cES0sXy" resname="have added star for torrent">
|
||||
<source>have added star for torrent</source>
|
||||
<target>have added star for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DJ7R0RO" resname="have deleted sensitive edition">
|
||||
<source>have deleted sensitive edition</source>
|
||||
<target>have deleted sensitive edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="hDJxvYG" resname="have disapproved sensitive edition">
|
||||
<source>have disapproved sensitive edition</source>
|
||||
<target>have disapproved sensitive edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="46W8iLj" resname="have approved sensitive edition">
|
||||
<source>have approved sensitive edition</source>
|
||||
<target>have approved sensitive edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oAC9LIa" resname="have added sensitive edition">
|
||||
<source>have added sensitive edition</source>
|
||||
<target>have added sensitive edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="BQifRyb" resname="have disabled">
|
||||
<source>have disabled</source>
|
||||
<target>have disabled</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LdA3apc" resname="have disabled user">
|
||||
<source>have disabled user</source>
|
||||
<target>have disabled user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ksNGaFf" resname="have enabled">
|
||||
<source>have enabled</source>
|
||||
<target>have enabled</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="qA2qjC5" resname="have enabled user">
|
||||
<source>have enabled user</source>
|
||||
<target>have enabled user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gXbWkeB" resname="have disapproved">
|
||||
<source>have disapproved</source>
|
||||
<target>have disapproved</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="kFzblGl" resname="have disapproved user">
|
||||
<source>have disapproved user</source>
|
||||
<target>have disapproved user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Gm8.zqs" resname="have approved">
|
||||
<source>have approved</source>
|
||||
<target>have approved</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9m0Bjnq" resname="have approved user">
|
||||
<source>have approved user</source>
|
||||
<target>have approved user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6lqK6b6" resname="have joined">
|
||||
<source>have joined</source>
|
||||
<target>have joined</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yEC_h0o" resname="have removed moderator permissions from">
|
||||
<source>have removed moderator permissions from</source>
|
||||
<target>have removed moderator permissions from</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xU4ckhu" resname="have removed moderator permissions from user">
|
||||
<source>have removed moderator permissions from user</source>
|
||||
<target>have removed moderator permissions from user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="aiqFdWc" resname="have granted moderator permissions to">
|
||||
<source>have granted moderator permissions to</source>
|
||||
<target>have granted moderator permissions to</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="IygeMVn" resname="have granted moderator permissions to user">
|
||||
<source>have granted moderator permissions to user</source>
|
||||
<target>have granted moderator permissions to user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="H06V5cY" resname="have removed star from">
|
||||
<source>have removed star from</source>
|
||||
<target>have removed star from</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7_4hNGn" resname="have removed star from user">
|
||||
<source>have removed star from user</source>
|
||||
<target>have removed star from user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ojDrmfX" resname="have added star for">
|
||||
<source>have added star for</source>
|
||||
<target>have added star for</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="iN2_Dtz" resname="have added star for user">
|
||||
<source>have added star for user</source>
|
||||
<target>have added star for user</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="VKDowX6" resname="Error">
|
||||
<source>Error</source>
|
||||
<target>Error</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="g0SUekA" resname="Oops!">
|
||||
<source>Oops!</source>
|
||||
<target>Oops!</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9010RFH" resname="Internal server error">
|
||||
<source>Internal server error</source>
|
||||
<target>Internal server error</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ts54jZe" resname="Report">
|
||||
<source>Report</source>
|
||||
<target>Report</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4_uqFt2" resname="Not found">
|
||||
<source>Not found</source>
|
||||
<target>Not found</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="hestk9M" resname="Page not found!">
|
||||
<source>Page not found!</source>
|
||||
<target>Page not found!</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="HfJe0N1" resname="BitTorrent protocol version 2">
|
||||
<source>BitTorrent protocol version 2</source>
|
||||
<target>BitTorrent protocol version 2</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="U4t_NWU" resname="BitTorrent protocol version 1">
|
||||
<source>BitTorrent protocol version 1</source>
|
||||
<target>BitTorrent protocol version 1</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="FEgqWb_" resname="year ago">
|
||||
<source>year ago</source>
|
||||
<target>year ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pfk9V_Q" resname="month ago">
|
||||
<source>month ago</source>
|
||||
<target>month ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="5rpeYTJ" resname="day ago">
|
||||
<source>day ago</source>
|
||||
<target>day ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="hM62aMH" resname="hour ago">
|
||||
<source>hour ago</source>
|
||||
<target>hour ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="r2QgE4i" resname="minute ago">
|
||||
<source>minute ago</source>
|
||||
<target>minute ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="RbqRzDS" resname="second ago">
|
||||
<source>second ago</source>
|
||||
<target>second ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="TQof7nK" resname="years ago">
|
||||
<source>years ago</source>
|
||||
<target>years ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="fEGjy26" resname="months ago">
|
||||
<source>months ago</source>
|
||||
<target>months ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="N9rZHfe" resname="days ago">
|
||||
<source>days ago</source>
|
||||
<target>days ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="JQ76A_T" resname="hours ago">
|
||||
<source>hours ago</source>
|
||||
<target>hours ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="HhrazP8" resname="minutes ago">
|
||||
<source>minutes ago</source>
|
||||
<target>minutes ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="IsfvBWU" resname="seconds ago">
|
||||
<source>seconds ago</source>
|
||||
<target>seconds ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KGg3UPj" resname=" years ago">
|
||||
<source> years ago</source>
|
||||
<target> years ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LJz20sI" resname=" months ago">
|
||||
<source> months ago</source>
|
||||
<target> months ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="r7fyHp0" resname=" days ago">
|
||||
<source> days ago</source>
|
||||
<target> days ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="mga12oW" resname=" hours ago">
|
||||
<source> hours ago</source>
|
||||
<target> hours ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="BAlvYYB" resname=" minutes ago">
|
||||
<source> minutes ago</source>
|
||||
<target> minutes ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="m4YrK9n" resname=" seconds ago">
|
||||
<source> seconds ago</source>
|
||||
<target> seconds ago</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6XiwDeR" resname="Search results">
|
||||
<source>Search results</source>
|
||||
<target>Search results</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="HSCiIv7" resname="<a href="%s">Upload</a> any torrent - download with Yggdrasil">
|
||||
<source><a href="%s">Upload</a> any torrent - download with Yggdrasil</source>
|
||||
<target><![CDATA[<a href="%s">Upload</a> any torrent - download with Yggdrasil]]></target>
|
||||
</trans-unit>
|
||||
<trans-unit id="wpaDJlY" resname="Wanted">
|
||||
<source>Wanted</source>
|
||||
<target>Wanted</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="SK4nQBL" resname="Seeders wanted for torrent">
|
||||
<source>Seeders wanted for torrent</source>
|
||||
<target>Seeders wanted for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="rCCle.3" resname="Hide">
|
||||
<source>Hide</source>
|
||||
<target>Hide</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="m11TRpU" resname="have disabled torrent">
|
||||
<source>have disabled torrent</source>
|
||||
<target>have disabled torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="qfr4ljO" resname="have enabled torrent">
|
||||
<source>have enabled torrent</source>
|
||||
<target>have enabled torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="F_s8AWj" resname="disabled">
|
||||
<source>disabled</source>
|
||||
<target>disabled</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="3HqhHgY" resname="Poster file out of size limit">
|
||||
<source>Poster file out of size limit</source>
|
||||
<target>Poster file out of size limit</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xKW1PAN" resname="Image file not supported">
|
||||
<source>Image file not supported</source>
|
||||
<target>Image file not supported</target>
|
||||
</trans-unit>
|
||||
<trans-unit id=".r0pj7s" resname="Poster file required">
|
||||
<source>Poster file required</source>
|
||||
<target>Poster file required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="OpO8m_n" resname="Edit torrent poster">
|
||||
<source>Edit torrent poster</source>
|
||||
<target>Edit torrent poster</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="hO4zays" resname="Edit poster for torrent">
|
||||
<source>Edit poster for torrent</source>
|
||||
<target>Edit poster for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="G6dup_P" resname="Poster">
|
||||
<source>Poster</source>
|
||||
<target>Poster</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="HHOEGv4" resname="Posters">
|
||||
<source>Posters</source>
|
||||
<target>Posters</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="dv2khYF" resname="have deleted poster edition">
|
||||
<source>have deleted poster edition</source>
|
||||
<target>have deleted poster edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="CaAjDOQ" resname="have disapproved poster edition">
|
||||
<source>have disapproved poster edition</source>
|
||||
<target>have disapproved poster edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="u26pehE" resname="have approved poster edition">
|
||||
<source>have approved poster edition</source>
|
||||
<target>have approved poster edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="_jJysd3" resname="have added poster edition">
|
||||
<source>have added poster edition</source>
|
||||
<target>have added poster edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="WDtpCq_" resname="Torrent posters">
|
||||
<source>Torrent posters</source>
|
||||
<target>Torrent posters</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2UYGdCf" resname="Center">
|
||||
<source>Center</source>
|
||||
<target>Center</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1c389.9" resname="Top">
|
||||
<source>Top</source>
|
||||
<target>Top</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R5rSGsk" resname="Bottom">
|
||||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Bottom</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>At least one category required</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Content category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>This torrent have selected categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Edit categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Edit categories for torrent</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Locale</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Category</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Torrent categories</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>have deleted categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>have disapproved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>have approved categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>have added categories edition</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>movie</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>series</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>tv</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>animation</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>music</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>game</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>audiobook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>podcast</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>book</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>archive</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>picture</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>software</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>other</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Hide filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Show filter</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Private</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Низ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Категории</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>Необходимо указать минимум одну категорию</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Категория содержимого</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>Этот торрент содержит выбранные категории</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Редактировать категории</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Редактировать категории для торрента</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Локаль</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Категория</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Категории торрента</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>удалил редакцию категорий</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>отклонил редакцию категорий</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>утвердил редакцию категорий</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>добавил редакцию категорий</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>фильм</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>сериал</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>ТВ шоу</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>анимация</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>музыка</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>игра</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>аудиокнига</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>подкаст</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>книга</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>архив</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>изображение</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>программа</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>другое</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Скрыть фильтр</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Показать фильтр</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Приватный</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -797,6 +797,122 @@
|
|||
<source>Bottom</source>
|
||||
<target>Низ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uLHYlMa" resname="Categories">
|
||||
<source>Categories</source>
|
||||
<target>Категорії</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="R2SmYMn" resname="At least one category required">
|
||||
<source>At least one category required</source>
|
||||
<target>Потрібно вказати щонайменше одну категорію</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="QmNxufM" resname="Content category">
|
||||
<source>Content category</source>
|
||||
<target>Категорія вмісту</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
|
||||
<source>This torrent have selected categories</source>
|
||||
<target>Цей торрент має виділені категорії</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="o_ep6hc" resname="Edit categories">
|
||||
<source>Edit categories</source>
|
||||
<target>Змінити категорії</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
|
||||
<source>Edit categories for torrent</source>
|
||||
<target>Редагувати категорії для торенту</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="yj3GEvR" resname="Locale">
|
||||
<source>Locale</source>
|
||||
<target>Локаль</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="KSwG8AR" resname="Category">
|
||||
<source>Category</source>
|
||||
<target>Категорія</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlYAkS1" resname="Torrent categories">
|
||||
<source>Torrent categories</source>
|
||||
<target>Категорії торенту</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
|
||||
<source>have deleted categories edition</source>
|
||||
<target>видалив редакцію категорій</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
|
||||
<source>have disapproved categories edition</source>
|
||||
<target>відхилив редакцію категорій</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="uF9AEqp" resname="have approved categories edition">
|
||||
<source>have approved categories edition</source>
|
||||
<target>затвердив редакцію категорій</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="oVNdrer" resname="have added categories edition">
|
||||
<source>have added categories edition</source>
|
||||
<target>додав редакцію категорій</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="imujLJv" resname="movie">
|
||||
<source>movie</source>
|
||||
<target>кіно</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="nNo46jo" resname="series">
|
||||
<source>series</source>
|
||||
<target>серіал</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="pG5dK74" resname="tv">
|
||||
<source>tv</source>
|
||||
<target>ТБ шоу</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7CPO8DE" resname="animation">
|
||||
<source>animation</source>
|
||||
<target>анімація</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="gPGJmE5" resname="music">
|
||||
<source>music</source>
|
||||
<target>музика</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="bKXKt35" resname="game">
|
||||
<source>game</source>
|
||||
<target>гра</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="PYW9Udx" resname="audiobook">
|
||||
<source>audiobook</source>
|
||||
<target>аудіокнига</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ippfeB" resname="podcast">
|
||||
<source>podcast</source>
|
||||
<target>подкаст</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="knGf4M_" resname="book">
|
||||
<source>book</source>
|
||||
<target>книга</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="DrPja.s" resname="archive">
|
||||
<source>archive</source>
|
||||
<target>архів</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="LOonTQv" resname="picture">
|
||||
<source>picture</source>
|
||||
<target>зображення</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="NTkPVFP" resname="software">
|
||||
<source>software</source>
|
||||
<target>програма</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2SmKENG" resname="other">
|
||||
<source>other</source>
|
||||
<target>інше</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="v7fLnQX" resname="Hide filter">
|
||||
<source>Hide filter</source>
|
||||
<target>Приховати фільтр</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="45aF7iu" resname="Show filter">
|
||||
<source>Show filter</source>
|
||||
<target>Показати фільтр</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="xj62cgx" resname="Private">
|
||||
<source>Private</source>
|
||||
<target>Приватний</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue