Browse Source

add category edition events support #26

main
ghost 1 year ago
parent
commit
31aad63399
  1. 213
      src/Controller/ActivityController.php
  2. 6
      src/Controller/TorrentController.php
  3. 67
      src/Entity/Activity.php
  4. 203
      src/Service/ActivityService.php
  5. 39
      templates/default/activity/event/torrent/categories/add.html.twig
  6. 26
      templates/default/activity/event/torrent/categories/add.rss.twig
  7. 39
      templates/default/activity/event/torrent/categories/approve/add.html.twig
  8. 26
      templates/default/activity/event/torrent/categories/approve/add.rss.twig
  9. 41
      templates/default/activity/event/torrent/categories/approve/delete.html.twig
  10. 26
      templates/default/activity/event/torrent/categories/approve/delete.rss.twig
  11. 39
      templates/default/activity/event/torrent/categories/delete.html.twig
  12. 26
      templates/default/activity/event/torrent/categories/delete.rss.twig
  13. 52
      translations/messages+intl-icu.cs.xlf
  14. 52
      translations/messages+intl-icu.de.xlf
  15. 20
      translations/messages+intl-icu.en.xlf
  16. 52
      translations/messages+intl-icu.eo.xlf
  17. 52
      translations/messages+intl-icu.es.xlf
  18. 52
      translations/messages+intl-icu.fr.xlf
  19. 52
      translations/messages+intl-icu.he.xlf
  20. 52
      translations/messages+intl-icu.it.xlf
  21. 52
      translations/messages+intl-icu.ja.xlf
  22. 52
      translations/messages+intl-icu.ka.xlf
  23. 52
      translations/messages+intl-icu.lv.xlf
  24. 52
      translations/messages+intl-icu.nl.xlf
  25. 52
      translations/messages+intl-icu.pl.xlf
  26. 52
      translations/messages+intl-icu.pt.xlf
  27. 52
      translations/messages+intl-icu.ru.xlf
  28. 52
      translations/messages+intl-icu.uk.xlf

213
src/Controller/ActivityController.php

@ -1116,6 +1116,219 @@ class ActivityController extends AbstractController
break; 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 /// Torrent Sensitive
case $activity::EVENT_TORRENT_SENSITIVE_ADD: case $activity::EVENT_TORRENT_SENSITIVE_ADD:

6
src/Controller/TorrentController.php

@ -1704,14 +1704,12 @@ class TorrentController extends AbstractController
); );
// Register activity event // Register activity event
/* @TODO
$activityService->addEventTorrentCategoriesAdd( $activityService->addEventTorrentCategoriesAdd(
$user->getId(), $user->getId(),
$torrent->getId(), $torrent->getId(),
time(), time(),
$torrentCategories->getId() $torrentCategories->getId()
); );
*/
// Redirect to info page // Redirect to info page
return $this->redirectToRoute( return $this->redirectToRoute(
@ -1792,7 +1790,6 @@ class TorrentController extends AbstractController
} }
// Register activity event // Register activity event
/* @TODO
if (!$torrentCategories->isApproved()) if (!$torrentCategories->isApproved())
{ {
$activityService->addEventTorrentCategoriesApproveAdd( $activityService->addEventTorrentCategoriesApproveAdd(
@ -1812,7 +1809,6 @@ class TorrentController extends AbstractController
$torrentCategories->getId() $torrentCategories->getId()
); );
} }
*/
// Update approved // Update approved
$torrentService->toggleTorrentCategoriesApproved( $torrentService->toggleTorrentCategoriesApproved(
@ -1881,14 +1877,12 @@ class TorrentController extends AbstractController
} }
// Add activity event // Add activity event
/* @TODO
$activityService->addEventTorrentCategoriesDelete( $activityService->addEventTorrentCategoriesDelete(
$user->getId(), $user->getId(),
$torrent->getId(), $torrent->getId(),
time(), time(),
$torrentCategories->getId() $torrentCategories->getId()
); );
*/
// Update approved // Update approved
$torrentService->deleteTorrentCategories( $torrentService->deleteTorrentCategories(

67
src/Entity/Activity.php

@ -20,52 +20,57 @@ class Activity
// Event codes // Event codes
/// User /// 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_ADD = 1200;
public const EVENT_USER_APPROVE_DELETE = 1201; public const EVENT_USER_APPROVE_DELETE = 1201;
public const EVENT_USER_MODERATOR_ADD = 1300; public const EVENT_USER_MODERATOR_ADD = 1300;
public const EVENT_USER_MODERATOR_DELETE = 1301; public const EVENT_USER_MODERATOR_DELETE = 1301;
public const EVENT_USER_STATUS_ADD = 1400; public const EVENT_USER_STATUS_ADD = 1400;
public const EVENT_USER_STATUS_DELETE = 1401; public const EVENT_USER_STATUS_DELETE = 1401;
public const EVENT_USER_STAR_ADD = 1500; public const EVENT_USER_STAR_ADD = 1500;
public const EVENT_USER_STAR_DELETE = 1501; public const EVENT_USER_STAR_DELETE = 1501;
/// Torrent /// 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_ADD = 1100;
public const EVENT_TORRENT_APPROVE_DELETE = 1101; public const EVENT_TORRENT_APPROVE_DELETE = 1101;
public const EVENT_TORRENT_LOCALES_ADD = 2200; public const EVENT_TORRENT_LOCALES_ADD = 2200;
public const EVENT_TORRENT_LOCALES_DELETE = 2201; public const EVENT_TORRENT_LOCALES_DELETE = 2201;
public const EVENT_TORRENT_LOCALES_APPROVE_ADD = 2210; public const EVENT_TORRENT_LOCALES_APPROVE_ADD = 2210;
public const EVENT_TORRENT_LOCALES_APPROVE_DELETE = 2211; public const EVENT_TORRENT_LOCALES_APPROVE_DELETE = 2211;
public const EVENT_TORRENT_SENSITIVE_ADD = 2300; public const EVENT_TORRENT_SENSITIVE_ADD = 2300;
public const EVENT_TORRENT_SENSITIVE_DELETE = 2301; public const EVENT_TORRENT_SENSITIVE_DELETE = 2301;
public const EVENT_TORRENT_SENSITIVE_APPROVE_ADD = 2310; public const EVENT_TORRENT_SENSITIVE_APPROVE_ADD = 2310;
public const EVENT_TORRENT_SENSITIVE_APPROVE_DELETE = 2311; public const EVENT_TORRENT_SENSITIVE_APPROVE_DELETE = 2311;
public const EVENT_TORRENT_STAR_ADD = 2400; public const EVENT_TORRENT_STAR_ADD = 2400;
public const EVENT_TORRENT_STAR_DELETE = 2401; 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_ADD = 1800;
public const EVENT_TORRENT_STATUS_DELETE = 1801; public const EVENT_TORRENT_STATUS_DELETE = 1801;
public const EVENT_TORRENT_POSTER_ADD = 2800; public const EVENT_TORRENT_POSTER_ADD = 2800;
public const EVENT_TORRENT_POSTER_DELETE = 2801; public const EVENT_TORRENT_POSTER_DELETE = 2801;
public const EVENT_TORRENT_POSTER_APPROVE_ADD = 2810; public const EVENT_TORRENT_POSTER_APPROVE_ADD = 2810;
public const EVENT_TORRENT_POSTER_APPROVE_DELETE = 2811; 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;
// ... // ...

203
src/Service/ActivityService.php

@ -51,6 +51,11 @@ class ActivityService
Activity::EVENT_TORRENT_LOCALES_APPROVE_ADD, Activity::EVENT_TORRENT_LOCALES_APPROVE_ADD,
Activity::EVENT_TORRENT_LOCALES_APPROVE_DELETE, 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_ADD,
Activity::EVENT_TORRENT_SENSITIVE_DELETE, Activity::EVENT_TORRENT_SENSITIVE_DELETE,
Activity::EVENT_TORRENT_SENSITIVE_APPROVE_ADD, Activity::EVENT_TORRENT_SENSITIVE_APPROVE_ADD,
@ -277,6 +282,55 @@ class ActivityService
break; 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 /// Torrent sensitive
case Activity::EVENT_TORRENT_SENSITIVE_ADD: case Activity::EVENT_TORRENT_SENSITIVE_ADD:
@ -1303,6 +1357,155 @@ class ActivityService
return $activity; 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 /// Torrent sensitive
public function addEventTorrentSensitiveAdd( public function addEventTorrentSensitiveAdd(
int $userId, int $userId,

39
templates/default/activity/event/torrent/categories/add.html.twig

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

26
templates/default/activity/event/torrent/categories/add.rss.twig

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

39
templates/default/activity/event/torrent/categories/approve/add.html.twig

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

26
templates/default/activity/event/torrent/categories/approve/add.rss.twig

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

41
templates/default/activity/event/torrent/categories/approve/delete.html.twig

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

26
templates/default/activity/event/torrent/categories/approve/delete.rss.twig

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

39
templates/default/activity/event/torrent/categories/delete.html.twig

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

26
templates/default/activity/event/torrent/categories/delete.rss.twig

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

52
translations/messages+intl-icu.cs.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.de.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

20
translations/messages+intl-icu.en.xlf

@ -829,6 +829,26 @@
<source>Category</source> <source>Category</source>
<target>Category</target> <target>Category</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.eo.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.es.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.fr.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.he.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.it.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.ja.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.ka.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.lv.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.nl.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.pl.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.pt.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Bottom</target> <target>Bottom</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.ru.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Низ</target> <target>Низ</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

52
translations/messages+intl-icu.uk.xlf

@ -797,6 +797,58 @@
<source>Bottom</source> <source>Bottom</source>
<target>Низ</target> <target>Низ</target>
</trans-unit> </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>
</body> </body>
</file> </file>
</xliff> </xliff>

Loading…
Cancel
Save