From 4c490c15bb6642ad0b2aaddf08d8af25de99b4b0 Mon Sep 17 00:00:00 2001 From: Yassine Doghri <yassine@doghri.fr> Date: Thu, 21 Apr 2022 12:53:47 +0000 Subject: [PATCH] fix: overwrite common lang function to escape returned string closes #196, fixes #198 --- app/Common.php | 38 +++++ app/Entities/Credit.php | 6 + app/Helpers/components_helper.php | 4 +- app/Language/ar/Podcast.php | 18 +- app/Language/br/Podcast.php | 154 +++++++++--------- app/Language/de/Podcast.php | 18 +- app/Language/el/Podcast.php | 18 +- app/Language/en/Podcast.php | 18 +- app/Language/es/Podcast.php | 18 +- app/Language/fr/Podcast.php | 18 +- app/Language/id/Podcast.php | 18 +- app/Language/it/Podcast.php | 18 +- app/Language/nl/Podcast.php | 18 +- app/Language/nn-NO/Podcast.php | 18 +- app/Language/oc/Podcast.php | 18 +- app/Language/pl/Podcast.php | 24 +-- app/Language/pt-BR/Podcast.php | 18 +- app/Language/pt/Podcast.php | 18 +- app/Language/ru/Podcast.php | 34 ++-- app/Language/sv/Podcast.php | 18 +- app/Models/CategoryModel.php | 9 +- modules/Admin/Language/ar/Episode.php | 2 +- modules/Admin/Language/ar/Podcast.php | 8 +- modules/Admin/Language/ar/PodcastImport.php | 2 +- modules/Admin/Language/br/Episode.php | 2 +- modules/Admin/Language/br/Podcast.php | 8 +- modules/Admin/Language/br/PodcastImport.php | 2 +- modules/Admin/Language/de/Episode.php | 2 +- modules/Admin/Language/de/Podcast.php | 8 +- modules/Admin/Language/de/PodcastImport.php | 2 +- modules/Admin/Language/el/Episode.php | 2 +- modules/Admin/Language/el/Podcast.php | 8 +- modules/Admin/Language/el/PodcastImport.php | 2 +- modules/Admin/Language/en/Episode.php | 2 +- modules/Admin/Language/en/Podcast.php | 8 +- modules/Admin/Language/en/PodcastImport.php | 2 +- modules/Admin/Language/es/Episode.php | 2 +- modules/Admin/Language/es/Podcast.php | 8 +- modules/Admin/Language/es/PodcastImport.php | 2 +- modules/Admin/Language/fr/Episode.php | 2 +- modules/Admin/Language/fr/Podcast.php | 8 +- modules/Admin/Language/fr/PodcastImport.php | 2 +- modules/Admin/Language/id/Episode.php | 2 +- modules/Admin/Language/id/Podcast.php | 8 +- modules/Admin/Language/id/PodcastImport.php | 2 +- modules/Admin/Language/it/Episode.php | 2 +- modules/Admin/Language/it/Podcast.php | 8 +- modules/Admin/Language/it/PodcastImport.php | 2 +- modules/Admin/Language/nl/Episode.php | 2 +- modules/Admin/Language/nl/Podcast.php | 8 +- modules/Admin/Language/nl/PodcastImport.php | 2 +- modules/Admin/Language/nn-NO/Episode.php | 2 +- modules/Admin/Language/nn-NO/Podcast.php | 8 +- .../Admin/Language/nn-NO/PodcastImport.php | 2 +- modules/Admin/Language/oc/Episode.php | 2 +- modules/Admin/Language/oc/Podcast.php | 8 +- modules/Admin/Language/oc/PodcastImport.php | 2 +- modules/Admin/Language/pl/Episode.php | 2 +- modules/Admin/Language/pl/Podcast.php | 10 +- modules/Admin/Language/pl/PodcastImport.php | 2 +- modules/Admin/Language/pt-BR/Episode.php | 2 +- modules/Admin/Language/pt-BR/Podcast.php | 8 +- .../Admin/Language/pt-BR/PodcastImport.php | 2 +- modules/Admin/Language/pt/Episode.php | 2 +- modules/Admin/Language/pt/Podcast.php | 8 +- modules/Admin/Language/pt/PodcastImport.php | 2 +- modules/Admin/Language/ru/Episode.php | 2 +- modules/Admin/Language/ru/Podcast.php | 8 +- modules/Admin/Language/ru/PodcastImport.php | 2 +- modules/Admin/Language/sv/Episode.php | 2 +- modules/Admin/Language/sv/Podcast.php | 8 +- modules/Admin/Language/sv/PodcastImport.php | 2 +- .../Entities/AnalyticsPodcastsByCountry.php | 3 + .../Entities/AnalyticsPodcastsByRegion.php | 3 + themes/cp_admin/_partials/_nav_aside.php | 2 +- themes/cp_app/home.php | 2 +- themes/cp_app/pages/_layout.php | 2 +- themes/cp_app/pages/map.php | 2 +- themes/cp_app/podcast/_partials/sidebar.php | 2 +- themes/cp_app/podcast/follow.php | 2 +- themes/cp_app/post/remote_action.php | 2 +- themes/cp_auth/_layout.php | 2 +- themes/cp_install/_layout.php | 2 +- 83 files changed, 403 insertions(+), 348 deletions(-) diff --git a/app/Common.php b/app/Common.php index edbf59bdc2..55272c481d 100644 --- a/app/Common.php +++ b/app/Common.php @@ -3,6 +3,7 @@ declare(strict_types=1); use App\Libraries\View; +use Config\Services; use ViewThemes\Theme; /** @@ -44,3 +45,40 @@ if (! function_exists('view')) { ->render($name, $options, $saveData); } } + +if (! function_exists('lang')) { + /** + * A convenience method to translate a string or array of them and format the result with the intl extension's + * MessageFormatter. + * + * Overwritten to include an escape parameter (escaped by default). + * + * @param array<int|string, string> $args + * + * @return string|string[] + */ + function lang(string $line, array $args = [], ?string $locale = null, bool $escape = true): string | array + { + $language = Services::language(); + + // Get active locale + $activeLocale = $language->getLocale(); + + if ($locale && $locale !== $activeLocale) { + $language->setLocale($locale); + } + + $line = $language->getLine($line, $args); + if (! $locale) { + return $escape ? esc($line) : $line; + } + + if ($locale === $activeLocale) { + return $escape ? esc($line) : $line; + } + + // Reset to active locale + $language->setLocale($activeLocale); + return $escape ? esc($line) : $line; + } +} diff --git a/app/Entities/Credit.php b/app/Entities/Credit.php index 358578b634..dc12349da8 100644 --- a/app/Entities/Credit.php +++ b/app/Entities/Credit.php @@ -92,6 +92,9 @@ class Credit extends Entity return $this->episode; } + /** + * @noRector ReturnTypeDeclarationRector + */ public function getGroupLabel(): string { if ($this->person_group === null) { @@ -101,6 +104,9 @@ class Credit extends Entity return lang("PersonsTaxonomy.persons.{$this->person_group}.label"); } + /** + * @noRector ReturnTypeDeclarationRector + */ public function getRoleLabel(): string { if ($this->person_group === '') { diff --git a/app/Helpers/components_helper.php b/app/Helpers/components_helper.php index 0c27ab9aa8..067b4dfbac 100644 --- a/app/Helpers/components_helper.php +++ b/app/Helpers/components_helper.php @@ -340,10 +340,10 @@ if (! function_exists('category_label')) { { $categoryLabel = ''; if ($category->parent_id !== null) { - $categoryLabel .= lang('Podcast.category_options.' . $category->parent->code) . ' › '; + $categoryLabel .= lang('Podcast.category_options.' . $category->parent->code, [], null, false) . ' › '; } - return $categoryLabel . lang('Podcast.category_options.' . $category->code); + return $categoryLabel . lang('Podcast.category_options.' . $category->code, [], null, false); } } diff --git a/app/Language/ar/Podcast.php b/app/Language/ar/Podcast.php index 081d1167e2..4ba5bf636b 100644 --- a/app/Language/ar/Podcast.php +++ b/app/Language/ar/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'متابعة', 'followTitle' => 'تابع {actorDisplayName} على الÙديÙرس!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'النشاط', 'episodes' => 'الØلقات', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'الإØصائيات', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'الراعي', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Language/br/Podcast.php b/app/Language/br/Podcast.php index f6b5f5307c..e5f9008199 100644 --- a/app/Language/br/Podcast.php +++ b/app/Language/br/Podcast.php @@ -19,47 +19,47 @@ return [ 'followTitle' => 'Heuliañ {actorDisplayName} war ar c\'hevrebed!', 'followers' => '{numberOfFollowers, plural, 0 {heulier·ez ebet} - one {<span class="font-semibold">#</span> heulier·ez} - other {<span class="font-semibold">#</span> heulier·ez} + one {# heulier·ez} + other {# heulier·ez} }', 'posts' => '{numberOfPosts, plural, 0 {kemennadenn ebet} - 1 {<span class="font-semibold">#</span> gemennadenn} - 2 {<span class="font-semibold">#</span> gemennadenn} - 3 {<span class="font-semibold">#</span> c\'hemennadenn} - 4 {<span class="font-semibold">#</span> c\'hemennadenn} - 9 {<span class="font-semibold">#</span> c\'hemennadenn} - 21 {<span class="font-semibold">#</span> gemennadenn} - 22 {<span class="font-semibold">#</span> gemennadenn} - 23 {<span class="font-semibold">#</span> c\'hemennadenn} - 24 {<span class="font-semibold">#</span> c\'hemennadenn} - 29 {<span class="font-semibold">#</span> c\'hemennadenn} - 31 {<span class="font-semibold">#</span> gemennadenn} - 32 {<span class="font-semibold">#</span> gemennadenn} - 33 {<span class="font-semibold">#</span> c\'hemennadenn} - 34 {<span class="font-semibold">#</span> c\'hemennadenn} - 39 {<span class="font-semibold">#</span> c\'hemennadenn} - 41 {<span class="font-semibold">#</span> gemennadenn} - 42 {<span class="font-semibold">#</span> gemennadenn} - 43 {<span class="font-semibold">#</span> c\'hemennadenn} - 44 {<span class="font-semibold">#</span> c\'hemennadenn} - 49 {<span class="font-semibold">#</span> c\'hemennadenn} - 51 {<span class="font-semibold">#</span> gemennadenn} - 52 {<span class="font-semibold">#</span> gemennadenn} - 53 {<span class="font-semibold">#</span> c\'hemennadenn} - 54 {<span class="font-semibold">#</span> c\'hemennadenn} - 59 {<span class="font-semibold">#</span> c\'hemennadenn} - 61 {<span class="font-semibold">#</span> gemennadenn} - 62 {<span class="font-semibold">#</span> gemennadenn} - 63 {<span class="font-semibold">#</span> c\'hemennadenn} - 64 {<span class="font-semibold">#</span> c\'hemennadenn} - 69 {<span class="font-semibold">#</span> c\'hemennadenn} - 81 {<span class="font-semibold">#</span> gemennadenn} - 82 {<span class="font-semibold">#</span> gemennadenn} - 83 {<span class="font-semibold">#</span> c\'hemennadenn} - 84 {<span class="font-semibold">#</span> c\'hemennadenn} - 89 {<span class="font-semibold">#</span> c\'hemennadenn} - other {<span class="font-semibold">#</span> kemennadenn} + 1 {# gemennadenn} + 2 {# gemennadenn} + 3 {# c\'hemennadenn} + 4 {# c\'hemennadenn} + 9 {# c\'hemennadenn} + 21 {# gemennadenn} + 22 {# gemennadenn} + 23 {# c\'hemennadenn} + 24 {# c\'hemennadenn} + 29 {# c\'hemennadenn} + 31 {# gemennadenn} + 32 {# gemennadenn} + 33 {# c\'hemennadenn} + 34 {# c\'hemennadenn} + 39 {# c\'hemennadenn} + 41 {# gemennadenn} + 42 {# gemennadenn} + 43 {# c\'hemennadenn} + 44 {# c\'hemennadenn} + 49 {# c\'hemennadenn} + 51 {# gemennadenn} + 52 {# gemennadenn} + 53 {# c\'hemennadenn} + 54 {# c\'hemennadenn} + 59 {# c\'hemennadenn} + 61 {# gemennadenn} + 62 {# gemennadenn} + 63 {# c\'hemennadenn} + 64 {# c\'hemennadenn} + 69 {# c\'hemennadenn} + 81 {# gemennadenn} + 82 {# gemennadenn} + 83 {# c\'hemennadenn} + 84 {# c\'hemennadenn} + 89 {# c\'hemennadenn} + other {# kemennadenn} }', 'activity' => 'Oberiantiz', 'episodes' => 'Rannoù', @@ -69,49 +69,49 @@ return [ 'title' => 'Stadegoù', 'number_of_seasons' => '{0, plural, 0 {koulzad ebet} - 1 {<span class="font-semibold">#</span> c\'houlzad} - 2 {<span class="font-semibold">#</span> goulzad} - 3 {<span class="font-semibold">#</span> c\'houlzad} - 4 {<span class="font-semibold">#</span> c\'houlzad} - 9 {<span class="font-semibold">#</span> c\'houlzad} - 21 {<span class="font-semibold">#</span> c\'houlzad} - 22 {<span class="font-semibold">#</span> goulzad} - 23 {<span class="font-semibold">#</span> c\'houlzad} - 24 {<span class="font-semibold">#</span> c\'houlzad} - 29 {<span class="font-semibold">#</span> c\'houlzad} - 31 {<span class="font-semibold">#</span> c\'houlzad} - 32 {<span class="font-semibold">#</span> goulzad} - 33 {<span class="font-semibold">#</span> c\'houlzad} - 34 {<span class="font-semibold">#</span> c\'houlzad} - 39 {<span class="font-semibold">#</span> c\'houlzad} - 41 {<span class="font-semibold">#</span> c\'houlzad} - 42 {<span class="font-semibold">#</span> goulzad} - 43 {<span class="font-semibold">#</span> c\'houlzad} - 44 {<span class="font-semibold">#</span> c\'houlzad} - 49 {<span class="font-semibold">#</span> c\'houlzad} - 51 {<span class="font-semibold">#</span> c\'houlzad} - 52 {<span class="font-semibold">#</span> goulzad} - 53 {<span class="font-semibold">#</span> c\'houlzad} - 54 {<span class="font-semibold">#</span> c\'houlzad} - 59 {<span class="font-semibold">#</span> c\'houlzad} - 61 {<span class="font-semibold">#</span> c\'houlzad} - 62 {<span class="font-semibold">#</span> goulzad} - 63 {<span class="font-semibold">#</span> c\'houlzad} - 64 {<span class="font-semibold">#</span> c\'houlzad} - 69 {<span class="font-semibold">#</span> c\'houlzad} - 81 {<span class="font-semibold">#</span> c\'houlzad} - 82 {<span class="font-semibold">#</span> goulzad} - 83 {<span class="font-semibold">#</span> c\'houlzad} - 84 {<span class="font-semibold">#</span> c\'houlzad} - 89 {<span class="font-semibold">#</span> c\'houlzad} - other {<span class="font-semibold">#</span> koulzad} + 1 {# c\'houlzad} + 2 {# goulzad} + 3 {# c\'houlzad} + 4 {# c\'houlzad} + 9 {# c\'houlzad} + 21 {# c\'houlzad} + 22 {# goulzad} + 23 {# c\'houlzad} + 24 {# c\'houlzad} + 29 {# c\'houlzad} + 31 {# c\'houlzad} + 32 {# goulzad} + 33 {# c\'houlzad} + 34 {# c\'houlzad} + 39 {# c\'houlzad} + 41 {# c\'houlzad} + 42 {# goulzad} + 43 {# c\'houlzad} + 44 {# c\'houlzad} + 49 {# c\'houlzad} + 51 {# c\'houlzad} + 52 {# goulzad} + 53 {# c\'houlzad} + 54 {# c\'houlzad} + 59 {# c\'houlzad} + 61 {# c\'houlzad} + 62 {# goulzad} + 63 {# c\'houlzad} + 64 {# c\'houlzad} + 69 {# c\'houlzad} + 81 {# c\'houlzad} + 82 {# goulzad} + 83 {# c\'houlzad} + 84 {# c\'houlzad} + 89 {# c\'houlzad} + other {# koulzad} }', 'number_of_episodes' => '{0, plural, 0 {rann ebet} - one {<span class="font-semibold">#</span> rann} - other {<span class="font-semibold">#</span> rann} + one {# rann} + other {# rann} }', - 'first_published_at' => 'Embannet eo bet ar rann gentañ d\'an/d\'ar<span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Embannet eo bet ar rann gentañ d\'an/d\'ar{0, date, medium}', ], 'sponsor' => 'Harpit', 'funding_links' => 'Liammoù evit arc\'hantaouiñ {podcastTitle}', diff --git a/app/Language/de/Podcast.php b/app/Language/de/Podcast.php index 1bed38cf6e..e822f3b1b6 100644 --- a/app/Language/de/Podcast.php +++ b/app/Language/de/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Folgen', 'followTitle' => 'Folge {actorDisplayName} im Fediversum', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> Follower} - other {<span class="font-semibold">#</span> Follower} + one {# Follower} + other {# Follower} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> Beitrag} - other {<span class="font-semibold">#</span> Beiträge} + one {# Beitrag} + other {# Beiträge} }', 'activity' => 'Aktivitäten', 'episodes' => 'Folgen', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Statistiken', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> Staffel} - other {<span class="font-semibold">#</span> Staffeln} + one {# Staffel} + other {# Staffeln} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> Folge} - other {<span class="font-semibold">#</span> Folgen} + one {# Folge} + other {# Folgen} }', - 'first_published_at' => 'Erste Folge veröffentlicht am <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Erste Folge veröffentlicht am {0, date, medium}', ], 'sponsor' => 'Unterstützer', 'funding_links' => 'Links zur Finanzierung von {podcastTitle}', diff --git a/app/Language/el/Podcast.php b/app/Language/el/Podcast.php index 36a8477000..2d35d0e0ed 100644 --- a/app/Language/el/Podcast.php +++ b/app/Language/el/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Ακολουθήστε', 'followTitle' => 'Ακολουθήστε το {actorDisplayName} στο fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> ακόλουθος} - other {<span class="font-semibold">#</span> ακόλουθοι} + one {# ακόλουθος} + other {# ακόλουθοι} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> δημοσίευση} - other {<span class="font-semibold">#</span> δημοσιεÏσεις} + one {# δημοσίευση} + other {# δημοσιεÏσεις} }', 'activity' => 'ΔÏαστηÏιότητα', 'episodes' => 'Επεισόδια', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Στατιστικά', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> σεζόν} - other {<span class="font-semibold">#</span> σεζόνς} + one {# σεζόν} + other {# σεζόνς} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> επισόδειο} - other {<span class="font-semibold">#</span> επισόδεια} + one {# επισόδειο} + other {# επισόδεια} }', - 'first_published_at' => 'Το Ï€Ïώτο επεισόδιο δημοσιεÏθηκε στις <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Το Ï€Ïώτο επεισόδιο δημοσιεÏθηκε στις {0, date, medium}', ], 'sponsor' => 'ΧοÏηγός', 'funding_links' => 'ΣÏνδεσμοι χÏηματοδότησης για το {podcastTitle}', diff --git a/app/Language/en/Podcast.php b/app/Language/en/Podcast.php index d69cd86daf..9b1e749aa1 100644 --- a/app/Language/en/Podcast.php +++ b/app/Language/en/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Follow', 'followTitle' => 'Follow {actorDisplayName} on the fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Stats', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Language/es/Podcast.php b/app/Language/es/Podcast.php index 4ed77cbfca..f876c86d01 100644 --- a/app/Language/es/Podcast.php +++ b/app/Language/es/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Seguir', 'followTitle' => '¡Sigue a {actorDisplayName} en el fediverso!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> seguidor} - other {<span class="font-semibold">#</span> seguidores} + one {# seguidor} + other {# seguidores} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> publicación} - other {<span class="font-semibold">#</span> publicaciones} + one {# publicación} + other {# publicaciones} }', 'activity' => 'Actividad', 'episodes' => 'Episodios', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'EstadÃsticas', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> temporada} - other {<span class="font-semibold">#</span> temporadas} + one {# temporada} + other {# temporadas} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episodio} - other {<span class="font-semibold">#</span> episodios} + one {# episodio} + other {# episodios} }', - 'first_published_at' => 'Primer episodio publicado en <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Primer episodio publicado en {0, date, medium}', ], 'sponsor' => 'Patrocinador', 'funding_links' => 'Enlaces de financiación para {podcastTitle}', diff --git a/app/Language/fr/Podcast.php b/app/Language/fr/Podcast.php index 4cbfff6c6f..3241e6c746 100644 --- a/app/Language/fr/Podcast.php +++ b/app/Language/fr/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Suivre', 'followTitle' => 'Suivez {actorDisplayName} sur le fédiverse !', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> abonné·e} - other {<span class="font-semibold">#</span> abonné·e·s} + one {# abonné·e} + other {# abonné·e·s} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> publication} - other {<span class="font-semibold">#</span> publications} + one {# publication} + other {# publications} }', 'activity' => 'Activité', 'episodes' => 'Épisodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Statistiques', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> saison} - other {<span class="font-semibold">#</span> saisons} + one {# saison} + other {# saisons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> épisode} - other {<span class="font-semibold">#</span> épisodes} + one {# épisode} + other {# épisodes} }', - 'first_published_at' => 'Premier épisode publié le <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Premier épisode publié le {0, date, medium}', ], 'sponsor' => 'Soutenez-nous', 'funding_links' => 'Liens de financement pour {podcastTitle}', diff --git a/app/Language/id/Podcast.php b/app/Language/id/Podcast.php index d69cd86daf..9b1e749aa1 100644 --- a/app/Language/id/Podcast.php +++ b/app/Language/id/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Follow', 'followTitle' => 'Follow {actorDisplayName} on the fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Stats', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Language/it/Podcast.php b/app/Language/it/Podcast.php index d69cd86daf..9b1e749aa1 100644 --- a/app/Language/it/Podcast.php +++ b/app/Language/it/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Follow', 'followTitle' => 'Follow {actorDisplayName} on the fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Stats', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Language/nl/Podcast.php b/app/Language/nl/Podcast.php index 9eaa2fd4d5..edd796611f 100644 --- a/app/Language/nl/Podcast.php +++ b/app/Language/nl/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Abonneer', 'followTitle' => 'Abonneer op {actorDisplayName} via de fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> abonnee} - other {<span class="font-semibold">#</span> abonnees} + one {# abonnee} + other {# abonnees} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> bericht} - other {<span class="font-semibold">#</span> berichten} + one {# bericht} + other {# berichten} }', 'activity' => 'Activiteit', 'episodes' => 'Afleveringen', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Statistieken', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> seizoen} - other {<span class="font-semibold">#</span> seizoenen} + one {# seizoen} + other {# seizoenen} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> aflevering} - other {<span class="font-semibold">#</span> afleveringen} + one {# aflevering} + other {# afleveringen} }', - 'first_published_at' => 'Eerste aflevering gepubliceerd op <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Eerste aflevering gepubliceerd op {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Financiering links voor {podcastTitle}', diff --git a/app/Language/nn-NO/Podcast.php b/app/Language/nn-NO/Podcast.php index a3f834ecfc..654b98e6d8 100644 --- a/app/Language/nn-NO/Podcast.php +++ b/app/Language/nn-NO/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Fylg', 'followTitle' => 'Fylg {actorDisplayName} pÃ¥ fødiverset!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> fylgjar} - other {<span class="font-semibold">#</span> fylgjarar} + one {# fylgjar} + other {# fylgjarar} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> innlegg} - other {<span class="font-semibold">#</span> innlegg} + one {# innlegg} + other {# innlegg} }', 'activity' => 'Aktivitet', 'episodes' => 'Episodar', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Statistikk', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> sesong} - other {<span class="font-semibold">#</span> sesongar} + one {# sesong} + other {# sesongar} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodar} + one {# episode} + other {# episodar} }', - 'first_published_at' => 'Den fyrste episoden vart lagt ut <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Den fyrste episoden vart lagt ut {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Finansieringslenker for {podcastTitle}', diff --git a/app/Language/oc/Podcast.php b/app/Language/oc/Podcast.php index d69cd86daf..9b1e749aa1 100644 --- a/app/Language/oc/Podcast.php +++ b/app/Language/oc/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Follow', 'followTitle' => 'Follow {actorDisplayName} on the fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Stats', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Language/pl/Podcast.php b/app/Language/pl/Podcast.php index 89603d9187..af95b8701d 100644 --- a/app/Language/pl/Podcast.php +++ b/app/Language/pl/Podcast.php @@ -18,13 +18,13 @@ return [ 'follow' => 'Obserwuj', 'followTitle' => 'Obserwuj {actorDisplayName} na fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> obserwujÄ…cy} - other {<span class="font-semibold">#</span> obserwujÄ…cych} + one {# obserwujÄ…cy} + other {# obserwujÄ…cych} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> wpis} - few {<span class="font-semibold">#</span> wpisy} - other {<span class="font-semibold">#</span> wpisów} + one {# wpis} + few {# wpisy} + other {# wpisów} }', 'activity' => 'Aktywność', 'episodes' => 'Odcinki', @@ -33,16 +33,16 @@ return [ 'stats' => [ 'title' => 'Statystyki', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> sezon} - few{<span class="font-semibold">#</span> sezony} - other {<span class="font-semibold">#</span> sezonów} + one {# sezon} + few{# sezony} + other {# sezonów} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> odcinek} - few {<span class="font-semibold">#</span> odcinki} - other {<span class="font-semibold">#</span> odcinków} + one {# odcinek} + few {# odcinki} + other {# odcinków} }', - 'first_published_at' => 'Pierwszy odcinek opublikowany <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Pierwszy odcinek opublikowany {0, date, medium}', ], 'sponsor' => 'Sponsoruj', 'funding_links' => 'Linki finansowania dla {podcastTitle}', diff --git a/app/Language/pt-BR/Podcast.php b/app/Language/pt-BR/Podcast.php index 277b10eba3..78a63e381c 100644 --- a/app/Language/pt-BR/Podcast.php +++ b/app/Language/pt-BR/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Seguir', 'followTitle' => 'Siga {actorDisplayName} no fediverso!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> seguidor} - other {<span class="font-semibold">#</span> seguidores} + one {# seguidor} + other {# seguidores} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> publicação} - other {<span class="font-semibold">#</span> publicações} + one {# publicação} + other {# publicações} }', 'activity' => 'Atividade', 'episodes' => 'Episódios', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'EstatÃsticas', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> temporada} - other {<span class="font-semibold">#</span> temporadas} + one {# temporada} + other {# temporadas} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episódio} - other {<span class="font-semibold">#</span> episódios} + one {# episódio} + other {# episódios} }', - 'first_published_at' => 'Primeiro episódio publicado em <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Primeiro episódio publicado em {0, date, medium}', ], 'sponsor' => 'Patrocinador', 'funding_links' => 'Links de financiamento para {podcastTitle}', diff --git a/app/Language/pt/Podcast.php b/app/Language/pt/Podcast.php index d69cd86daf..9b1e749aa1 100644 --- a/app/Language/pt/Podcast.php +++ b/app/Language/pt/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Follow', 'followTitle' => 'Follow {actorDisplayName} on the fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Stats', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Language/ru/Podcast.php b/app/Language/ru/Podcast.php index c57232527a..fec19e7414 100644 --- a/app/Language/ru/Podcast.php +++ b/app/Language/ru/Podcast.php @@ -18,16 +18,16 @@ return [ 'follow' => 'ПодпиÑатьÑÑ', 'followTitle' => 'ПодпишитеÑÑŒ на {actorDisplayName} в федивёрÑе!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> подпиÑчик} - few {<span class="font-semibold">#</span> подпиÑчики} - many {<span class="font-semibold">#</span> подпиÑчики} - other {<span class="font-semibold">#</span> подпиÑчики} + one {# подпиÑчик} + few {# подпиÑчики} + many {# подпиÑчики} + other {# подпиÑчики} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> поÑÑ‚} - few {<span class="font-semibold">#</span> поÑтов} - many {<span class="font-semibold">#</span> поÑтов} - other {<span class="font-semibold">#</span> поÑтов} + one {# поÑÑ‚} + few {# поÑтов} + many {# поÑтов} + other {# поÑтов} }', 'activity' => 'ÐктивноÑÑ‚ÑŒ', 'episodes' => 'ВыпуÑки', @@ -36,18 +36,18 @@ return [ 'stats' => [ 'title' => 'СтатиÑтика', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> Ñезон} - few {<span class="font-semibold">#</span> Ñезоны} - many {<span class="font-semibold">#</span> Ñезоны} - other {<span class="font-semibold">#</span> Ñезоны} + one {# Ñезон} + few {# Ñезоны} + many {# Ñезоны} + other {# Ñезоны} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> Ñпизод} - few {<span class="font-semibold">#</span> Ñпизодов} - many {<span class="font-semibold">#</span> Ñпизодов} - other {<span class="font-semibold">#</span> Ñпизодов} + one {# Ñпизод} + few {# Ñпизодов} + many {# Ñпизодов} + other {# Ñпизодов} }', - 'first_published_at' => 'Первый Ñпизод опубликован <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'Первый Ñпизод опубликован {0, date, medium}', ], 'sponsor' => 'СпонÑор', 'funding_links' => 'СÑылки на финанÑирование Ð´Ð»Ñ {podcastTitle}', diff --git a/app/Language/sv/Podcast.php b/app/Language/sv/Podcast.php index d69cd86daf..9b1e749aa1 100644 --- a/app/Language/sv/Podcast.php +++ b/app/Language/sv/Podcast.php @@ -18,12 +18,12 @@ return [ 'follow' => 'Follow', 'followTitle' => 'Follow {actorDisplayName} on the fediverse!', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', @@ -32,14 +32,14 @@ return [ 'stats' => [ 'title' => 'Stats', 'number_of_seasons' => '{0, plural, - one {<span class="font-semibold">#</span> season} - other {<span class="font-semibold">#</span> seasons} + one {# season} + other {# seasons} }', 'number_of_episodes' => '{0, plural, - one {<span class="font-semibold">#</span> episode} - other {<span class="font-semibold">#</span> episodes} + one {# episode} + other {# episodes} }', - 'first_published_at' => 'First episode published on <span class="font-semibold">{0, date, medium}</span>', + 'first_published_at' => 'First episode published on {0, date, medium}', ], 'sponsor' => 'Sponsor', 'funding_links' => 'Funding links for {podcastTitle}', diff --git a/app/Models/CategoryModel.php b/app/Models/CategoryModel.php index 1e6b553928..4e4e3fa768 100644 --- a/app/Models/CategoryModel.php +++ b/app/Models/CategoryModel.php @@ -67,10 +67,15 @@ class CategoryModel extends Model function (array $result, Category $category): array { $result[$category->id] = ''; if ($category->parent !== null) { - $result[$category->id] = lang('Podcast.category_options.' . $category->parent->code) . ' › '; + $result[$category->id] = lang( + 'Podcast.category_options.' . $category->parent->code, + [], + null, + false + ) . ' › '; } - $result[$category->id] .= lang('Podcast.category_options.' . $category->code); + $result[$category->id] .= lang('Podcast.category_options.' . $category->code, [], null, false); return $result; }, [], diff --git a/modules/Admin/Language/ar/Episode.php b/modules/Admin/Language/ar/Episode.php index ff5a70a1f8..e53b4885ee 100644 --- a/modules/Admin/Language/ar/Episode.php +++ b/modules/Admin/Language/ar/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'ملÙات إضاÙية', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/ar/Podcast.php b/modules/Admin/Language/ar/Podcast.php index f0aadbb531..b83e2065a3 100644 --- a/modules/Admin/Language/ar/Podcast.php +++ b/modules/Admin/Language/ar/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'الØلقات', diff --git a/modules/Admin/Language/ar/PodcastImport.php b/modules/Admin/Language/ar/PodcastImport.php index 27a7f39fcd..cccbaa65a6 100644 --- a/modules/Admin/Language/ar/PodcastImport.php +++ b/modules/Admin/Language/ar/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/br/Episode.php b/modules/Admin/Language/br/Episode.php index bb303cf5e3..946106f3ae 100644 --- a/modules/Admin/Language/br/Episode.php +++ b/modules/Admin/Language/br/Episode.php @@ -90,7 +90,7 @@ return [ 'Emañ ouzhpennet an destenn-mañ e dibenn an holl rannoù. Ul lec\'h mat eo evit lakaat liammoù ho rouedadoù sokial da skouer.', 'additional_files_section_title' => 'Restroù ouzhpenn', 'additional_files_section_subtitle' => - 'Ar restroù-mañ a c\'hell bezañ implijet gant savennoù all evit aesaat an traoù d\'ho selaouerien·ezed.<br />Sellit ouzh {podcastNamespaceLink} evit muioc\'h a ditouroù.', + 'Ar restroù-mañ a c\'hell bezañ implijet gant savennoù all evit aesaat an traoù d\'ho selaouerien·ezed. Sellit ouzh {podcastNamespaceLink} evit muioc\'h a ditouroù.', 'location_section_title' => 'Lec\'h', 'location_section_subtitle' => 'Eus peseurt lec\'h ez eus kaoz er rann-mañ?', 'location_name' => 'Anv pe chomlec\'h al lec\'h', diff --git a/modules/Admin/Language/br/Podcast.php b/modules/Admin/Language/br/Podcast.php index 89caae8541..9eddb6a5dc 100644 --- a/modules/Admin/Language/br/Podcast.php +++ b/modules/Admin/Language/br/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/br/PodcastImport.php b/modules/Admin/Language/br/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/br/PodcastImport.php +++ b/modules/Admin/Language/br/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/de/Episode.php b/modules/Admin/Language/de/Episode.php index 5a27f1d40a..aec9f687fa 100644 --- a/modules/Admin/Language/de/Episode.php +++ b/modules/Admin/Language/de/Episode.php @@ -89,7 +89,7 @@ return [ 'Dieser Text wird am Ende jeder Episodenbeschreibung hinzugefügt, es ist ein guter Ort, um zum Beispiel Ihre sozialen Links einzufügen.', 'additional_files_section_title' => 'Zusätzliche Dateien', 'additional_files_section_subtitle' => - 'Diese Filter können von anderen Platformen genutzt werden, um eine bessere Nutzererfahrung bieten zu können.<br />Weitere Informationen sind unter {podcastNamespaceLink} zu finden.', + 'Diese Filter können von anderen Platformen genutzt werden, um eine bessere Nutzererfahrung bieten zu können. Weitere Informationen sind unter {podcastNamespaceLink} zu finden.', 'location_section_title' => 'Standort', 'location_section_subtitle' => 'Ãœber welchen Ort handelt diese Folge?', 'location_name' => 'Standortname oder Adresse', diff --git a/modules/Admin/Language/de/Podcast.php b/modules/Admin/Language/de/Podcast.php index 8601bbd731..be9d11d33e 100644 --- a/modules/Admin/Language/de/Podcast.php +++ b/modules/Admin/Language/de/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'Keine Folge gefunden!', 'follow' => 'Folgen', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> Follower} - other {<span class="font-semibold">#</span> Follower} + one {# Follower} + other {# Follower} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> Beitrag} - other {<span class="font-semibold">#</span> Beiträge} + one {# Beitrag} + other {# Beiträge} }', 'activity' => 'Aktivitäten', 'episodes' => 'Folgen', diff --git a/modules/Admin/Language/de/PodcastImport.php b/modules/Admin/Language/de/PodcastImport.php index c44dd1a2c9..affc41ed4a 100644 --- a/modules/Admin/Language/de/PodcastImport.php +++ b/modules/Admin/Language/de/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'Dieses Verfahren kann lange dauern.<br/>Da die aktuelle Version keinen Fortschritt anzeigt, während sie läuft, werden Sie keine Aktuallisierung mehr sehen, bis sie fertig ist.<br/>Im Falle eines Timeout-Fehlers erhöhen Sie den `max_execution_time` Wert.', + 'Dieses Verfahren kann lange dauern. Da die aktuelle Version keinen Fortschritt anzeigt, während sie läuft, werden Sie keine Aktuallisierung mehr sehen, bis sie fertig ist. Im Falle eines Timeout-Fehlers erhöhen Sie den `max_execution_time` Wert.', 'old_podcast_section_title' => 'Der zu importierende Podcast', 'old_podcast_section_subtitle' => 'Stellen Sie sicher, dass Sie die Rechte für diesen Podcast besitzen, bevor Sie ihn importieren. Vervielfältigung und Ausstrahlung eines Podcasts ohne die entsprechenden Rechte sind Piraterie und strafbar.', diff --git a/modules/Admin/Language/el/Episode.php b/modules/Admin/Language/el/Episode.php index a675fcf70f..0ae908e51d 100644 --- a/modules/Admin/Language/el/Episode.php +++ b/modules/Admin/Language/el/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/el/Podcast.php b/modules/Admin/Language/el/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/el/Podcast.php +++ b/modules/Admin/Language/el/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/el/PodcastImport.php b/modules/Admin/Language/el/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/el/PodcastImport.php +++ b/modules/Admin/Language/el/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/en/Episode.php b/modules/Admin/Language/en/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/en/Episode.php +++ b/modules/Admin/Language/en/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/en/Podcast.php b/modules/Admin/Language/en/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/en/Podcast.php +++ b/modules/Admin/Language/en/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/en/PodcastImport.php b/modules/Admin/Language/en/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/en/PodcastImport.php +++ b/modules/Admin/Language/en/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/es/Episode.php b/modules/Admin/Language/es/Episode.php index 8d161b45fb..ed370585e5 100644 --- a/modules/Admin/Language/es/Episode.php +++ b/modules/Admin/Language/es/Episode.php @@ -89,7 +89,7 @@ return [ 'Este texto se añade al final de cada descripción de episodios, es un buen lugar para introducir sus enlaces sociales, por ejemplo.', 'additional_files_section_title' => 'Archivos adicionales', 'additional_files_section_subtitle' => - 'Estos archivos pueden ser usados por otras plataformas para proporcionar una mejor experiencia a tu audiencia.<br />Ver el {podcastNamespaceLink} para más información.', + 'Estos archivos pueden ser usados por otras plataformas para proporcionar una mejor experiencia a tu audiencia. Ver el {podcastNamespaceLink} para más información.', 'location_section_title' => 'Ubicación', 'location_section_subtitle' => '¿De qué lugar trata este episodio?', 'location_name' => 'Nombre o dirección de ubicación', diff --git a/modules/Admin/Language/es/Podcast.php b/modules/Admin/Language/es/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/es/Podcast.php +++ b/modules/Admin/Language/es/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/es/PodcastImport.php b/modules/Admin/Language/es/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/es/PodcastImport.php +++ b/modules/Admin/Language/es/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/fr/Episode.php b/modules/Admin/Language/fr/Episode.php index 6d60191d69..ee1ba07ad8 100644 --- a/modules/Admin/Language/fr/Episode.php +++ b/modules/Admin/Language/fr/Episode.php @@ -89,7 +89,7 @@ return [ 'Ce texte est ajouté à la fin de chaque description d’épisode, c’est un bon endroit pour placer vos liens sociaux par exemple.', 'additional_files_section_title' => 'Fichiers additionels', 'additional_files_section_subtitle' => - 'Ces fichiers pourront être utilisées par d’autres plate-formes pour procurer une meilleure expérience à vos auditeurs.<br />Consulter le {podcastNamespaceLink} pour plus d’informations.', + 'Ces fichiers pourront être utilisées par d’autres plate-formes pour procurer une meilleure expérience à vos auditeurs. Consulter le {podcastNamespaceLink} pour plus d’informations.', 'location_section_title' => 'Localisation', 'location_section_subtitle' => 'De quel lieu cet épisode parle-t-il ?', 'location_name' => 'Nom ou adresse du lieu', diff --git a/modules/Admin/Language/fr/Podcast.php b/modules/Admin/Language/fr/Podcast.php index 3d00e59e66..db374b4ef3 100644 --- a/modules/Admin/Language/fr/Podcast.php +++ b/modules/Admin/Language/fr/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'Aucun épisode trouvé !', 'follow' => 'Suivre', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> abonné·e} - other {<span class="font-semibold">#</span> abonné·e·s} + one {# abonné·e} + other {# abonné·e·s} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> publication} - other {<span class="font-semibold">#</span> publications} + one {# publication} + other {# publications} }', 'activity' => 'Activité', 'episodes' => 'Épisodes', diff --git a/modules/Admin/Language/fr/PodcastImport.php b/modules/Admin/Language/fr/PodcastImport.php index 71991c5c02..45d52548b0 100644 --- a/modules/Admin/Language/fr/PodcastImport.php +++ b/modules/Admin/Language/fr/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'Cette procédure peut prendre du temps.<br/>Dans la mesure où la version actuelle ne montre aucune progression durant l’exécution, vous ne pourrez voir aucun changement avant la fin.<br/>En cas d’erreur de timeout, augmentez la valeur de `max_execution_time`.', + 'Cette procédure peut prendre du temps. Dans la mesure où la version actuelle ne montre aucune progression durant l’exécution, vous ne pourrez voir aucun changement avant la fin. En cas d’erreur de timeout, augmentez la valeur de `max_execution_time`.', 'old_podcast_section_title' => 'Le podcast à importer', 'old_podcast_section_subtitle' => 'Assurez-vous d’être détenteur des droits du podcast avant de l’importer. Copier et diffuser un podcast sans en détenir les droits est assimilable à de la contrefaçon et est passible de poursuites.', diff --git a/modules/Admin/Language/id/Episode.php b/modules/Admin/Language/id/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/id/Episode.php +++ b/modules/Admin/Language/id/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/id/Podcast.php b/modules/Admin/Language/id/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/id/Podcast.php +++ b/modules/Admin/Language/id/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/id/PodcastImport.php b/modules/Admin/Language/id/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/id/PodcastImport.php +++ b/modules/Admin/Language/id/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/it/Episode.php b/modules/Admin/Language/it/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/it/Episode.php +++ b/modules/Admin/Language/it/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/it/Podcast.php b/modules/Admin/Language/it/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/it/Podcast.php +++ b/modules/Admin/Language/it/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/it/PodcastImport.php b/modules/Admin/Language/it/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/it/PodcastImport.php +++ b/modules/Admin/Language/it/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/nl/Episode.php b/modules/Admin/Language/nl/Episode.php index 08b6a9b92a..0fc11e3201 100644 --- a/modules/Admin/Language/nl/Episode.php +++ b/modules/Admin/Language/nl/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/nl/Podcast.php b/modules/Admin/Language/nl/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/nl/Podcast.php +++ b/modules/Admin/Language/nl/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/nl/PodcastImport.php b/modules/Admin/Language/nl/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/nl/PodcastImport.php +++ b/modules/Admin/Language/nl/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/nn-NO/Episode.php b/modules/Admin/Language/nn-NO/Episode.php index b585c3dca5..fa998be714 100644 --- a/modules/Admin/Language/nn-NO/Episode.php +++ b/modules/Admin/Language/nn-NO/Episode.php @@ -89,7 +89,7 @@ return [ 'Denne teksten ligg pÃ¥ slutten av kvar episodeskildring, og er ein god stad Ã¥ ha lenker til td. sosiale nettverk.', 'additional_files_section_title' => 'Fleire filer', 'additional_files_section_subtitle' => - 'Desse filene kan brukast av andre plattformer for Ã¥ gje publikum ei betre oppleving.<br />SjÃ¥ {podcastNamespaceLink} for meir informasjon.', + 'Desse filene kan brukast av andre plattformer for Ã¥ gje publikum ei betre oppleving. SjÃ¥ {podcastNamespaceLink} for meir informasjon.', 'location_section_title' => 'Stad', 'location_section_subtitle' => 'Kva stad handlar denne episoden om?', 'location_name' => 'Stadnamn eller adresse', diff --git a/modules/Admin/Language/nn-NO/Podcast.php b/modules/Admin/Language/nn-NO/Podcast.php index 1e5eb58ac8..236ad1ab3a 100644 --- a/modules/Admin/Language/nn-NO/Podcast.php +++ b/modules/Admin/Language/nn-NO/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'Fann ingen episode!', 'follow' => 'Fylg', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> fylgjar} - other {<span class="font-semibold">#</span> fylgjarar} + one {# fylgjar} + other {# fylgjarar} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> innlegg} - other {<span class="font-semibold">#</span> innlegg} + one {# innlegg} + other {# innlegg} }', 'activity' => 'Aktivitet', 'episodes' => 'Episodar', diff --git a/modules/Admin/Language/nn-NO/PodcastImport.php b/modules/Admin/Language/nn-NO/PodcastImport.php index 9fb36b11c2..9a27842a45 100644 --- a/modules/Admin/Language/nn-NO/PodcastImport.php +++ b/modules/Admin/Language/nn-NO/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'Dette kan ta lang tid.<br/>Denne versjonen syner ikkje framgangen medan importen gÃ¥r, sÃ¥ du vil ikkje sjÃ¥ noko før han er ferdig.<br/>Viss du fÃ¥r feil med tidsavbrot, aukar du `max_execution_time`-verdien.', + 'Dette kan ta lang tid. Denne versjonen syner ikkje framgangen medan importen gÃ¥r, sÃ¥ du vil ikkje sjÃ¥ noko før han er ferdig. Viss du fÃ¥r feil med tidsavbrot, aukar du `max_execution_time`-verdien.', 'old_podcast_section_title' => 'Podkast Ã¥ importera', 'old_podcast_section_subtitle' => 'Syt for at du har rettane til podkasten før du importerer han. Ã… kopiera og kringkasta ein podkast utan løyve er ulovleg og straffbart.', diff --git a/modules/Admin/Language/oc/Episode.php b/modules/Admin/Language/oc/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/oc/Episode.php +++ b/modules/Admin/Language/oc/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/oc/Podcast.php b/modules/Admin/Language/oc/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/oc/Podcast.php +++ b/modules/Admin/Language/oc/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/oc/PodcastImport.php b/modules/Admin/Language/oc/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/oc/PodcastImport.php +++ b/modules/Admin/Language/oc/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/pl/Episode.php b/modules/Admin/Language/pl/Episode.php index 8fe14c9e79..c69567219b 100644 --- a/modules/Admin/Language/pl/Episode.php +++ b/modules/Admin/Language/pl/Episode.php @@ -90,7 +90,7 @@ return [ 'Ten tekst jest dodawany na koÅ„cu każdego opisu odcinka; jest to dobre miejsce do wpisania np. linków spoÅ‚ecznoÅ›ciowych.', 'additional_files_section_title' => 'Dodatkowe pliki', 'additional_files_section_subtitle' => - 'Pliki te mogÄ… być używane przez inne platformy, aby zapewnić lepsze wrażenia odbiorcom.<br />WiÄ™cej informacji znajdziesz w {podcastNamespaceLink}.', + 'Pliki te mogÄ… być używane przez inne platformy, aby zapewnić lepsze wrażenia odbiorcom. WiÄ™cej informacji znajdziesz w {podcastNamespaceLink}.', 'location_section_title' => 'Lokalizacja', 'location_section_subtitle' => 'O jakim miejscu jest ten odcinek?', 'location_name' => 'Nazwa lub adres lokalizacji', diff --git a/modules/Admin/Language/pl/Podcast.php b/modules/Admin/Language/pl/Podcast.php index 5db437584a..88b05f4290 100644 --- a/modules/Admin/Language/pl/Podcast.php +++ b/modules/Admin/Language/pl/Podcast.php @@ -227,13 +227,13 @@ return [ 'no_episode' => 'Nie znaleziono odcinków!', 'follow' => 'Obserwuj', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> obserwujÄ…cy} - other {<span class="font-semibold">#</span> obserwujÄ…cych} + one {# obserwujÄ…cy} + other {# obserwujÄ…cych} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> wpis} - few {<span class="font-semibold">#</span> wpisy} - other {<span class="font-semibold">#</span> wpisów} + one {# wpis} + few {# wpisy} + other {# wpisów} }', 'activity' => 'Aktywność', 'episodes' => 'Odcinki', diff --git a/modules/Admin/Language/pl/PodcastImport.php b/modules/Admin/Language/pl/PodcastImport.php index 468d844760..eeceb4fd16 100644 --- a/modules/Admin/Language/pl/PodcastImport.php +++ b/modules/Admin/Language/pl/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'Ta procedura może zająć dużo czasu.<br/>Ponieważ bieżąca wersja nie pokazuje żadnego postÄ™pu podczas dziaÅ‚ania, nie zobaczysz żadnych aktualizacji dopóki nie zostanie wykonana.<br/>W przypadku bÅ‚Ä™du przekroczenia limitu czasu, zwiÄ™ksz wartość `max_execution_time`.', + 'Ta procedura może zająć dużo czasu. Ponieważ bieżąca wersja nie pokazuje żadnego postÄ™pu podczas dziaÅ‚ania, nie zobaczysz żadnych aktualizacji dopóki nie zostanie wykonana. W przypadku bÅ‚Ä™du przekroczenia limitu czasu, zwiÄ™ksz wartość `max_execution_time`.', 'old_podcast_section_title' => 'Podcast do zaimportowania', 'old_podcast_section_subtitle' => 'Upewnij siÄ™, że masz prawa do tego podcastu zanim go zaimportujesz. Kopiowanie i nadawanie podcastu bez odpowiednich praw jest piractwem i podlega Å›ciganiu.', diff --git a/modules/Admin/Language/pt-BR/Episode.php b/modules/Admin/Language/pt-BR/Episode.php index a874baa2f6..d02778a26c 100644 --- a/modules/Admin/Language/pt-BR/Episode.php +++ b/modules/Admin/Language/pt-BR/Episode.php @@ -89,7 +89,7 @@ return [ 'Este texto é adicionado no final de cada descrição de episódio, é um bom lugar para inserir seus links sociais por exemplo.', 'additional_files_section_title' => 'Arquivos adicionais', 'additional_files_section_subtitle' => - 'Estes arquivos podem ser usados por outras plataformas para fornecer uma melhor experiência ao seu público.<br />Veja {podcastNamespaceLink} para mais informações.', + 'Estes arquivos podem ser usados por outras plataformas para fornecer uma melhor experiência ao seu público. Veja {podcastNamespaceLink} para mais informações.', 'location_section_title' => 'Localização', 'location_section_subtitle' => 'Sobre que lugar é este episódio?', 'location_name' => 'Nome ou endereço da localização', diff --git a/modules/Admin/Language/pt-BR/Podcast.php b/modules/Admin/Language/pt-BR/Podcast.php index fe164b9680..99e5f98c49 100644 --- a/modules/Admin/Language/pt-BR/Podcast.php +++ b/modules/Admin/Language/pt-BR/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'Nenhum episódio encontrado!', 'follow' => 'Seguir', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> seguidor} - other {<span class="font-semibold">#</span> seguidores} + one {# seguidor} + other {# seguidores} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> publicação} - other {<span class="font-semibold">#</span> publicações} + one {# publicação} + other {# publicações} }', 'activity' => 'Atividade', 'episodes' => 'Episódios', diff --git a/modules/Admin/Language/pt-BR/PodcastImport.php b/modules/Admin/Language/pt-BR/PodcastImport.php index a4aceeaa3e..f1d59e2b7a 100644 --- a/modules/Admin/Language/pt-BR/PodcastImport.php +++ b/modules/Admin/Language/pt-BR/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'Este procedimento pode levar muito tempo.<br/>Como a versão atual não mostra nenhum progresso enquanto é executada, você não verá nada atualizado até que seja finalizado.<br/>Em caso de erro de tempo limite, aumente o valor de `max_execution_time`.', + 'Este procedimento pode levar muito tempo. Como a versão atual não mostra nenhum progresso enquanto é executada, você não verá nada atualizado até que seja finalizado. Em caso de erro de tempo limite, aumente o valor de `max_execution_time`.', 'old_podcast_section_title' => 'O podcast para importar', 'old_podcast_section_subtitle' => 'Certifique-se de possuir os direitos para esse podcast antes de importá-lo. Copiar e transmitir um podcast sem os direitos adequados é uma pirataria e corre o risco de ser processado.', diff --git a/modules/Admin/Language/pt/Episode.php b/modules/Admin/Language/pt/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/pt/Episode.php +++ b/modules/Admin/Language/pt/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/pt/Podcast.php b/modules/Admin/Language/pt/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/pt/Podcast.php +++ b/modules/Admin/Language/pt/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/pt/PodcastImport.php b/modules/Admin/Language/pt/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/pt/PodcastImport.php +++ b/modules/Admin/Language/pt/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/ru/Episode.php b/modules/Admin/Language/ru/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/ru/Episode.php +++ b/modules/Admin/Language/ru/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/ru/Podcast.php b/modules/Admin/Language/ru/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/ru/Podcast.php +++ b/modules/Admin/Language/ru/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/ru/PodcastImport.php b/modules/Admin/Language/ru/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/ru/PodcastImport.php +++ b/modules/Admin/Language/ru/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Admin/Language/sv/Episode.php b/modules/Admin/Language/sv/Episode.php index 054a23c3b0..82ed40dc75 100644 --- a/modules/Admin/Language/sv/Episode.php +++ b/modules/Admin/Language/sv/Episode.php @@ -89,7 +89,7 @@ return [ 'This text is added at the end of each episode description, it is a good place to input your social links for example.', 'additional_files_section_title' => 'Additional files', 'additional_files_section_subtitle' => - 'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.', + 'These files may be used by other platforms to provide better experience to your audience. See the {podcastNamespaceLink} for more information.', 'location_section_title' => 'Location', 'location_section_subtitle' => 'What place is this episode about?', 'location_name' => 'Location name or address', diff --git a/modules/Admin/Language/sv/Podcast.php b/modules/Admin/Language/sv/Podcast.php index d9d0d11b03..67335c104f 100644 --- a/modules/Admin/Language/sv/Podcast.php +++ b/modules/Admin/Language/sv/Podcast.php @@ -227,12 +227,12 @@ return [ 'no_episode' => 'No episode found!', 'follow' => 'Follow', 'followers' => '{numberOfFollowers, plural, - one {<span class="font-semibold">#</span> follower} - other {<span class="font-semibold">#</span> followers} + one {# follower} + other {# followers} }', 'posts' => '{numberOfPosts, plural, - one {<span class="font-semibold">#</span> post} - other {<span class="font-semibold">#</span> posts} + one {# post} + other {# posts} }', 'activity' => 'Activity', 'episodes' => 'Episodes', diff --git a/modules/Admin/Language/sv/PodcastImport.php b/modules/Admin/Language/sv/PodcastImport.php index e9cfc1c4ce..7c3ef67d1f 100644 --- a/modules/Admin/Language/sv/PodcastImport.php +++ b/modules/Admin/Language/sv/PodcastImport.php @@ -10,7 +10,7 @@ declare(strict_types=1); return [ 'warning' => - 'This procedure may take a long time.<br/>As the current version does not show any progress while it runs, you will not see anything updated until it is done.<br/>In case of timeout error, increase `max_execution_time` value.', + 'This procedure may take a long time. As the current version does not show any progress while it runs, you will not see anything updated until it is done. In case of timeout error, increase `max_execution_time` value.', 'old_podcast_section_title' => 'The podcast to import', 'old_podcast_section_subtitle' => 'Make sure you own the rights for this podcast before importing it. Copying and broadcasting a podcast without the proper rights is piracy and is liable to prosecution.', diff --git a/modules/Analytics/Entities/AnalyticsPodcastsByCountry.php b/modules/Analytics/Entities/AnalyticsPodcastsByCountry.php index 60f9883d60..30b9dfb576 100644 --- a/modules/Analytics/Entities/AnalyticsPodcastsByCountry.php +++ b/modules/Analytics/Entities/AnalyticsPodcastsByCountry.php @@ -39,6 +39,9 @@ class AnalyticsPodcastsByCountry extends Entity 'hits' => 'integer', ]; + /** + * @noRector ReturnTypeDeclarationRector + */ public function getLabels(): string { return lang('Countries.' . $this->attributes['labels']); diff --git a/modules/Analytics/Entities/AnalyticsPodcastsByRegion.php b/modules/Analytics/Entities/AnalyticsPodcastsByRegion.php index d359890e0a..5de71693d6 100644 --- a/modules/Analytics/Entities/AnalyticsPodcastsByRegion.php +++ b/modules/Analytics/Entities/AnalyticsPodcastsByRegion.php @@ -44,6 +44,9 @@ class AnalyticsPodcastsByRegion extends Entity 'hits' => 'integer', ]; + /** + * @noRector ReturnTypeDeclarationRector + */ public function getCountryCode(): string { return lang('Countries.' . $this->attributes['country_code']); diff --git a/themes/cp_admin/_partials/_nav_aside.php b/themes/cp_admin/_partials/_nav_aside.php index 442207e78b..2730b01e6f 100644 --- a/themes/cp_admin/_partials/_nav_aside.php +++ b/themes/cp_admin/_partials/_nav_aside.php @@ -12,6 +12,6 @@ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a> ' . CP_VERSION, - ]) ?> + ], null, false) ?> </footer> </aside> \ No newline at end of file diff --git a/themes/cp_app/home.php b/themes/cp_app/home.php index eeebcb9c1e..13fed8fefd 100644 --- a/themes/cp_app/home.php +++ b/themes/cp_app/home.php @@ -100,6 +100,6 @@ <small><?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?></small> + ], null, false) ?></small> </footer> </body> diff --git a/themes/cp_app/pages/_layout.php b/themes/cp_app/pages/_layout.php index ecdb5bcc6f..f0eb353f38 100644 --- a/themes/cp_app/pages/_layout.php +++ b/themes/cp_app/pages/_layout.php @@ -56,6 +56,6 @@ <small><?= lang('Common.powered_by', [ 'castopod' => '<a class="underline hover:no-underline focus:ring-accent" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod</a>', - ]) ?></small> + ], null, false) ?></small> </footer> </body> diff --git a/themes/cp_app/pages/map.php b/themes/cp_app/pages/map.php index 44a933ef8b..8f61b83ab8 100644 --- a/themes/cp_app/pages/map.php +++ b/themes/cp_app/pages/map.php @@ -59,6 +59,6 @@ <small><?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?></small> + ], null, false) ?></small> </footer> </body> diff --git a/themes/cp_app/podcast/_partials/sidebar.php b/themes/cp_app/podcast/_partials/sidebar.php index 81ac1e4546..0f178ba241 100644 --- a/themes/cp_app/podcast/_partials/sidebar.php +++ b/themes/cp_app/podcast/_partials/sidebar.php @@ -66,7 +66,7 @@ <p><?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold text-skin-muted hover:underline focus:ring-accent" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?></p> + ], null, false) ?></p> </div> </footer> </div> diff --git a/themes/cp_app/podcast/follow.php b/themes/cp_app/podcast/follow.php index 5b6fa1ba0a..142f20f296 100644 --- a/themes/cp_app/podcast/follow.php +++ b/themes/cp_app/podcast/follow.php @@ -70,6 +70,6 @@ <?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?> + ], null, false) ?> </footer> </body> diff --git a/themes/cp_app/post/remote_action.php b/themes/cp_app/post/remote_action.php index 26747cb761..bcc84db61e 100644 --- a/themes/cp_app/post/remote_action.php +++ b/themes/cp_app/post/remote_action.php @@ -61,6 +61,6 @@ <?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?> + ], null, false) ?> </footer> </body> diff --git a/themes/cp_auth/_layout.php b/themes/cp_auth/_layout.php index 0767cd0202..7cbee61671 100644 --- a/themes/cp_auth/_layout.php +++ b/themes/cp_auth/_layout.php @@ -34,6 +34,6 @@ <small class="py-4 text-center border-t border-subtle"><?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?></small> + ], null, false) ?></small> </footer> </body> diff --git a/themes/cp_install/_layout.php b/themes/cp_install/_layout.php index c5b919aad6..0e72bbdb75 100644 --- a/themes/cp_install/_layout.php +++ b/themes/cp_install/_layout.php @@ -30,6 +30,6 @@ <small><?= lang('Common.powered_by', [ 'castopod' => '<a class="inline-flex font-semibold hover:underline focus:ring-accent" href="https://castopod.org" target="_blank" rel="noreferrer noopener">Castopod' . icon('castopod', 'ml-1 text-lg', 'social') . '</a>', - ]) ?></small> + ], null, false) ?></small> </footer> </body> -- GitLab