aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-01-17 15:39:55 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-17 15:39:55 +0100
commit0ab130eb9c3df3227a70624bcd5e8133afb00ae5 (patch)
tree248503a1d1035d72093f60479d165064249a54bb /app
parente67ca8c86672edff7849965fc7cf85af56340983 (diff)
Added: Mark theme as deprecated (#4807)
* i18n + config * docs * deprecated marked themes * fix * fix markdown * i18n: fix link params * i18n: French * deprecated => no longer supported * i18n: German * Docs: deprecated => no longer supported * Docs: French * i18n: en-us * i18n German * isset() -> !empty() * i18n: fix German * i18n: English, delete // TODO
Diffstat (limited to 'app')
-rw-r--r--app/i18n/cz/conf.php8
-rw-r--r--app/i18n/de/conf.php8
-rw-r--r--app/i18n/el/conf.php8
-rw-r--r--app/i18n/en-us/conf.php8
-rw-r--r--app/i18n/en/conf.php8
-rwxr-xr-xapp/i18n/es/conf.php8
-rw-r--r--app/i18n/fr/conf.php8
-rw-r--r--app/i18n/he/conf.php8
-rw-r--r--app/i18n/id/conf.php8
-rw-r--r--app/i18n/it/conf.php8
-rw-r--r--app/i18n/ja/conf.php8
-rw-r--r--app/i18n/ko/conf.php8
-rw-r--r--app/i18n/nl/conf.php8
-rw-r--r--app/i18n/oc/conf.php8
-rw-r--r--app/i18n/pl/conf.php8
-rw-r--r--app/i18n/pt-br/conf.php8
-rw-r--r--app/i18n/ru/conf.php8
-rw-r--r--app/i18n/sk/conf.php8
-rw-r--r--app/i18n/tr/conf.php8
-rw-r--r--app/i18n/zh-cn/conf.php8
-rw-r--r--app/i18n/zh-tw/conf.php8
-rw-r--r--app/views/configure/display.phtml14
22 files changed, 159 insertions, 23 deletions
diff --git a/app/i18n/cz/conf.php b/app/i18n/cz/conf.php
index 9d646be36..4411b5047 100644
--- a/app/i18n/cz/conf.php
+++ b/app/i18n/cz/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Časový limit HTML5 oznámení',
),
'show_nav_buttons' => 'Zobrazit navigační tlačítka',
- 'theme' => 'Motiv',
+ 'theme' => array(
+ '_' => 'Motiv',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Motiv „%s“ již není dostupný. Zvolte jiný motiv, prosím.',
'thumbnail' => array(
'label' => 'Náhled',
diff --git a/app/i18n/de/conf.php b/app/i18n/de/conf.php
index 33604b618..8962123f4 100644
--- a/app/i18n/de/conf.php
+++ b/app/i18n/de/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Zeitüberschreitung für HTML5-Benachrichtigung',
),
'show_nav_buttons' => 'Zeige Navigations-Buttons',
- 'theme' => 'Erscheinungsbild',
+ 'theme' => array(
+ '_' => 'Layout',
+ 'deprecated' => array(
+ '_' => 'Veraltet',
+ 'description' => 'Diese Layout wird nicht mehr länger aktualisiert und wir in einer <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">zukünftigen Version von FreshRSS</a> entfernt sein.',
+ ),
+ ),
'theme_not_available' => 'Das Erscheinungsbild „%s“ ist nicht mehr verfügbar. Bitte ein anderes auswählen.',
'thumbnail' => array(
'label' => 'Vorschaubild',
diff --git a/app/i18n/el/conf.php b/app/i18n/el/conf.php
index e2629bd54..daacfe684 100644
--- a/app/i18n/el/conf.php
+++ b/app/i18n/el/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 notification timeout', // TODO
),
'show_nav_buttons' => 'Show the navigation buttons', // TODO
- 'theme' => 'Theme', // TODO
+ 'theme' => array(
+ '_' => 'Theme', // TODO
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // TODO
'thumbnail' => array(
'label' => 'Thumbnail', // TODO
diff --git a/app/i18n/en-us/conf.php b/app/i18n/en-us/conf.php
index 760cbf37f..afea0299a 100644
--- a/app/i18n/en-us/conf.php
+++ b/app/i18n/en-us/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 notification timeout', // IGNORE
),
'show_nav_buttons' => 'Show the navigation buttons', // IGNORE
- 'theme' => 'Theme', // IGNORE
+ 'theme' => array(
+ '_' => 'Theme', // IGNORE
+ 'deprecated' => array(
+ '_' => 'Deprecated', // IGNORE
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // IGNORE
+ ),
+ ),
'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // IGNORE
'thumbnail' => array(
'label' => 'Thumbnail', // IGNORE
diff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.php
index 02f95b6a8..9899cf897 100644
--- a/app/i18n/en/conf.php
+++ b/app/i18n/en/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 notification timeout',
),
'show_nav_buttons' => 'Show the navigation buttons',
- 'theme' => 'Theme',
+ 'theme' => array(
+ '_' => 'Theme',
+ 'deprecated' => array(
+ '_' => 'Deprecated',
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>',
+ ),
+ ),
'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.',
'thumbnail' => array(
'label' => 'Thumbnail',
diff --git a/app/i18n/es/conf.php b/app/i18n/es/conf.php
index 74d324c24..5137ff987 100755
--- a/app/i18n/es/conf.php
+++ b/app/i18n/es/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Notificación de fin de espera HTML5',
),
'show_nav_buttons' => 'Mostrar los botones de navegación',
- 'theme' => 'Tema',
+ 'theme' => array(
+ '_' => 'Tema',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'El tema “%s” ya no está disponible. Por favor, elija otro tema.',
'thumbnail' => array(
'label' => 'Miniatura',
diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php
index 88a51eee1..3122e3be5 100644
--- a/app/i18n/fr/conf.php
+++ b/app/i18n/fr/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Temps d’affichage de la notification HTML5',
),
'show_nav_buttons' => 'Afficher les boutons de navigation',
- 'theme' => 'Thème',
+ 'theme' => array(
+ '_' => 'Thème',
+ 'deprecated' => array(
+ '_' => 'Obsolète',
+ 'description' => 'Ce thème est obsolète et sera supprimé dans une <a href="https://freshrss.github.io/FreshRSS/fr/users/05_Configuration.html#th%C3%A8me" target="_blank">future version de FreshRSS</a>',
+ ),
+ ),
'theme_not_available' => 'Le thème <em>%s</em> n’est plus disponible. Veuillez choisir un autre thème.',
'thumbnail' => array(
'label' => 'Miniature',
diff --git a/app/i18n/he/conf.php b/app/i18n/he/conf.php
index 2d0eea4b9..c4a490a2d 100644
--- a/app/i18n/he/conf.php
+++ b/app/i18n/he/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 התראה פג תוקף',
),
'show_nav_buttons' => 'Show the navigation buttons', // TODO
- 'theme' => 'ערכת נושא',
+ 'theme' => array(
+ '_' => 'ערכת נושא',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // TODO
'thumbnail' => array(
'label' => 'Thumbnail', // TODO
diff --git a/app/i18n/id/conf.php b/app/i18n/id/conf.php
index 10f649823..8b1fa8dc6 100644
--- a/app/i18n/id/conf.php
+++ b/app/i18n/id/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 notification timeout', // TODO
),
'show_nav_buttons' => 'Show the navigation buttons', // TODO
- 'theme' => 'Theme', // TODO
+ 'theme' => array(
+ '_' => 'Theme', // TODO
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'The “%s” theme is not available anymore. Please choose another theme.', // TODO
'thumbnail' => array(
'label' => 'Thumbnail', // TODO
diff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.php
index 5065fe7ea..6f3540322 100644
--- a/app/i18n/it/conf.php
+++ b/app/i18n/it/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Notifica timeout HTML5',
),
'show_nav_buttons' => 'Mostra i pulsanti di navigazione',
- 'theme' => 'Tema',
+ 'theme' => array(
+ '_' => 'Tema',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Il tema “%s” non è più disponibile. Si prega di selezionarne un altro.',
'thumbnail' => array(
'label' => 'Miniatura',
diff --git a/app/i18n/ja/conf.php b/app/i18n/ja/conf.php
index 1247a0ce9..4dd939760 100644
--- a/app/i18n/ja/conf.php
+++ b/app/i18n/ja/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 の通知タイムアウト時間',
),
'show_nav_buttons' => 'ナビゲーションボタンを表示する',
- 'theme' => 'テーマ',
+ 'theme' => array(
+ '_' => 'テーマ',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => '“%s”テーマはご利用いただけません。他のテーマをお選びください。',
'thumbnail' => array(
'label' => 'サムネイル',
diff --git a/app/i18n/ko/conf.php b/app/i18n/ko/conf.php
index 9ee82802e..a88fcf9e0 100644
--- a/app/i18n/ko/conf.php
+++ b/app/i18n/ko/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 알림 타임아웃',
),
'show_nav_buttons' => '내비게이션 버튼 보이기',
- 'theme' => '테마',
+ 'theme' => array(
+ '_' => '테마',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => '“%s” 테마는 더이상 사용할 수 없습니다. 다른 테마를 선택해 주세요.',
'thumbnail' => array(
'label' => '섬네일',
diff --git a/app/i18n/nl/conf.php b/app/i18n/nl/conf.php
index 8a22f9e27..e02ca81cc 100644
--- a/app/i18n/nl/conf.php
+++ b/app/i18n/nl/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 notificatie stop',
),
'show_nav_buttons' => 'Toon navigatieknoppen',
- 'theme' => 'Thema',
+ 'theme' => array(
+ '_' => 'Thema',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Het „%s” thema is niet meer beschikbaar. Kies een ander thema.',
'thumbnail' => array(
'label' => 'Miniatuur',
diff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.php
index 4d1e03786..4a3b483e7 100644
--- a/app/i18n/oc/conf.php
+++ b/app/i18n/oc/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Temps d’afichatge de las notificacions HTML5',
),
'show_nav_buttons' => 'Mostrar los botons de navigacion',
- 'theme' => 'Tèma',
+ 'theme' => array(
+ '_' => 'Tèma',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Lo tèma « %s » es pas pus disponible. Causissètz un autre tèma.',
'thumbnail' => array(
'label' => 'Vinheta',
diff --git a/app/i18n/pl/conf.php b/app/i18n/pl/conf.php
index f026fe128..8700a1c13 100644
--- a/app/i18n/pl/conf.php
+++ b/app/i18n/pl/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Czas wyświetlania powiadomienia HTML5',
),
'show_nav_buttons' => 'Pokaż przyciski nawigacyjne',
- 'theme' => 'Motyw',
+ 'theme' => array(
+ '_' => 'Motyw',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Motyw “%s” nie jest już dostępny. Wybierz inny motyw.',
'thumbnail' => array(
'label' => 'Miniaturka',
diff --git a/app/i18n/pt-br/conf.php b/app/i18n/pt-br/conf.php
index dc05a0fa0..f8ad55f14 100644
--- a/app/i18n/pt-br/conf.php
+++ b/app/i18n/pt-br/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Notificação em HTML5 de timeout',
),
'show_nav_buttons' => 'Mostrar botões de navegação',
- 'theme' => 'Tema',
+ 'theme' => array(
+ '_' => 'Tema',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'O tema “%s” não está mais disponível. Por favor escolha outro tema.',
'thumbnail' => array(
'label' => 'Miniatura',
diff --git a/app/i18n/ru/conf.php b/app/i18n/ru/conf.php
index 4d65a9dcb..2c5dda544 100644
--- a/app/i18n/ru/conf.php
+++ b/app/i18n/ru/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Таймаут уведомлений HTML5',
),
'show_nav_buttons' => 'Показать кнопки навигации',
- 'theme' => 'Тема',
+ 'theme' => array(
+ '_' => 'Тема',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Тема “%s” больше не доступна. Пожалуйста выберите другю тему.',
'thumbnail' => array(
'label' => 'Эскиз',
diff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.php
index ab68d07ca..d4714b506 100644
--- a/app/i18n/sk/conf.php
+++ b/app/i18n/sk/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'Limit HTML5 oznámenia',
),
'show_nav_buttons' => 'Zobraziť tlačidlá oznámenia',
- 'theme' => 'Vzhľad',
+ 'theme' => array(
+ '_' => 'Vzhľad',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => 'Vzhľad “%s” už nie je dostupný. Prosím, vyberte si iný vzhľad.',
'thumbnail' => array(
'label' => 'Miniatúra',
diff --git a/app/i18n/tr/conf.php b/app/i18n/tr/conf.php
index cb72d3973..41f658879 100644
--- a/app/i18n/tr/conf.php
+++ b/app/i18n/tr/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 bildirim zaman aşımı',
),
'show_nav_buttons' => 'Gezinti düğmelerini göster',
- 'theme' => 'Tema',
+ 'theme' => array(
+ '_' => 'Tema',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => '“%s” teması şuan uygun değilç Lütfen başka bir tema seçin.',
'thumbnail' => array(
'label' => 'Önizleme',
diff --git a/app/i18n/zh-cn/conf.php b/app/i18n/zh-cn/conf.php
index d558c025e..0be182cfb 100644
--- a/app/i18n/zh-cn/conf.php
+++ b/app/i18n/zh-cn/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 通知超时时间',
),
'show_nav_buttons' => '显示导航按钮',
- 'theme' => '主题',
+ 'theme' => array(
+ '_' => '主题',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => '“%s” 主题不再可用,请选择其他主题。',
'thumbnail' => array(
'label' => '缩略图',
diff --git a/app/i18n/zh-tw/conf.php b/app/i18n/zh-tw/conf.php
index 3001f64c5..34439c01b 100644
--- a/app/i18n/zh-tw/conf.php
+++ b/app/i18n/zh-tw/conf.php
@@ -49,7 +49,13 @@ return array(
'timeout' => 'HTML5 通知超時時間',
),
'show_nav_buttons' => '顯示導航按鈕',
- 'theme' => '主題',
+ 'theme' => array(
+ '_' => '主題',
+ 'deprecated' => array(
+ '_' => 'Deprecated', // TODO
+ 'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>', // TODO
+ ),
+ ),
'theme_not_available' => '“%s” 主題不再可用,請選擇其他主題。',
'thumbnail' => array(
'label' => '縮圖',
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index 8d23f6ef0..986d7dd17 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -71,8 +71,18 @@
<?php } ?>
</div>
<div class="properties">
- <div><?= sprintf('%s — %s %s', $theme['name'], _t('gen.short.by_author'), $theme['author']) ?></div>
- <div><?= $theme['description'] ?></div>
+ <div>
+ <?php if (!empty($theme['deprecated'])) { ?>
+ <span class="deprecated error"><?= _t('conf.display.theme.deprecated') ?>:</span>
+ <?php } ?>
+ <?= sprintf('%s — %s %s', $theme['name'], _t('gen.short.by_author'), $theme['author']) ?>
+ </div>
+ <div>
+ <?php if (!empty($theme['deprecated'])) { ?>
+ <span class="deprecated"><?= _t('conf.display.theme.deprecated.description') ?></span><br />
+ <?php } ?>
+ <?= $theme['description'] ?>
+ </div>
<div class="page-number"><?= sprintf('%d/%d', $i, $slides) ?></div>
</div>
</li>