From 7177cdb4fe3f811392518fb10557bdbeedc1c7c7 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 15 Nov 2023 09:52:49 +0200 Subject: [PATCH] add torrent private info --- templates/default/torrent/info.html.twig | 12 ++++++++++++ translations/messages+intl-icu.cs.xlf | 4 ++++ translations/messages+intl-icu.de.xlf | 4 ++++ translations/messages+intl-icu.en.xlf | 4 ++++ translations/messages+intl-icu.eo.xlf | 4 ++++ translations/messages+intl-icu.es.xlf | 4 ++++ translations/messages+intl-icu.fr.xlf | 4 ++++ translations/messages+intl-icu.he.xlf | 4 ++++ translations/messages+intl-icu.it.xlf | 4 ++++ translations/messages+intl-icu.ja.xlf | 4 ++++ translations/messages+intl-icu.ka.xlf | 4 ++++ translations/messages+intl-icu.lv.xlf | 4 ++++ translations/messages+intl-icu.nl.xlf | 4 ++++ translations/messages+intl-icu.pl.xlf | 4 ++++ translations/messages+intl-icu.pt.xlf | 4 ++++ translations/messages+intl-icu.ru.xlf | 4 ++++ translations/messages+intl-icu.uk.xlf | 4 ++++ 17 files changed, 76 insertions(+) diff --git a/templates/default/torrent/info.html.twig b/templates/default/torrent/info.html.twig index 4d530ab..5a1bdf5 100644 --- a/templates/default/torrent/info.html.twig +++ b/templates/default/torrent/info.html.twig @@ -220,6 +220,18 @@ {% endif %} + + + {{ 'Private' | trans }} + + + {% if file.private %} + {{ 'Yes' | trans }} + {% else %} + {{ 'No' | trans }} + {% endif %} + + {% if file.source %} diff --git a/translations/messages+intl-icu.cs.xlf b/translations/messages+intl-icu.cs.xlf index e40a671..e661df7 100644 --- a/translations/messages+intl-icu.cs.xlf +++ b/translations/messages+intl-icu.cs.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.de.xlf b/translations/messages+intl-icu.de.xlf index 812f8a6..754006d 100644 --- a/translations/messages+intl-icu.de.xlf +++ b/translations/messages+intl-icu.de.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.en.xlf b/translations/messages+intl-icu.en.xlf index 0a0423b..cbd0dc2 100644 --- a/translations/messages+intl-icu.en.xlf +++ b/translations/messages+intl-icu.en.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.eo.xlf b/translations/messages+intl-icu.eo.xlf index e0cdbef..5e611d1 100644 --- a/translations/messages+intl-icu.eo.xlf +++ b/translations/messages+intl-icu.eo.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.es.xlf b/translations/messages+intl-icu.es.xlf index 9e1edee..9638ae5 100644 --- a/translations/messages+intl-icu.es.xlf +++ b/translations/messages+intl-icu.es.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.fr.xlf b/translations/messages+intl-icu.fr.xlf index 82dd5c3..daae954 100644 --- a/translations/messages+intl-icu.fr.xlf +++ b/translations/messages+intl-icu.fr.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.he.xlf b/translations/messages+intl-icu.he.xlf index faad62a..a324b84 100644 --- a/translations/messages+intl-icu.he.xlf +++ b/translations/messages+intl-icu.he.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.it.xlf b/translations/messages+intl-icu.it.xlf index 6411b4c..e31236c 100644 --- a/translations/messages+intl-icu.it.xlf +++ b/translations/messages+intl-icu.it.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.ja.xlf b/translations/messages+intl-icu.ja.xlf index ccacd9a..56c715b 100644 --- a/translations/messages+intl-icu.ja.xlf +++ b/translations/messages+intl-icu.ja.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.ka.xlf b/translations/messages+intl-icu.ka.xlf index a13adb1..944c10a 100644 --- a/translations/messages+intl-icu.ka.xlf +++ b/translations/messages+intl-icu.ka.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.lv.xlf b/translations/messages+intl-icu.lv.xlf index 23be2cd..814cec1 100644 --- a/translations/messages+intl-icu.lv.xlf +++ b/translations/messages+intl-icu.lv.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.nl.xlf b/translations/messages+intl-icu.nl.xlf index da9f1cb..cb827de 100644 --- a/translations/messages+intl-icu.nl.xlf +++ b/translations/messages+intl-icu.nl.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.pl.xlf b/translations/messages+intl-icu.pl.xlf index b44a926..b9debc7 100644 --- a/translations/messages+intl-icu.pl.xlf +++ b/translations/messages+intl-icu.pl.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.pt.xlf b/translations/messages+intl-icu.pt.xlf index abc2faf..bc8dc0f 100644 --- a/translations/messages+intl-icu.pt.xlf +++ b/translations/messages+intl-icu.pt.xlf @@ -909,6 +909,10 @@ Show filter Show filter + + Private + Private + diff --git a/translations/messages+intl-icu.ru.xlf b/translations/messages+intl-icu.ru.xlf index 7f4c64b..a452819 100644 --- a/translations/messages+intl-icu.ru.xlf +++ b/translations/messages+intl-icu.ru.xlf @@ -909,6 +909,10 @@ Show filter Показать фильтр + + Private + Приватный + diff --git a/translations/messages+intl-icu.uk.xlf b/translations/messages+intl-icu.uk.xlf index 49159d2..ffea2ef 100644 --- a/translations/messages+intl-icu.uk.xlf +++ b/translations/messages+intl-icu.uk.xlf @@ -909,6 +909,10 @@ Show filter Показати фільтр + + Private + Приватний +