fix: edit Podcast.php to clarify the followers are Fediverse followers

This commit is contained in:
kloo kloo 2025-10-13 12:34:47 +00:00 committed by Yassine Doghri
commit 950d42c838
5 changed files with 7 additions and 7 deletions

View file

@ -17,9 +17,9 @@ return [
'no_episode' => 'No episode found!',
'follow' => 'Follow',
'followTitle' => 'Follow {actorDisplayName} on the fediverse!',
'followers' => '{numberOfFollowers, plural,
one {# follower}
other {# followers}
'fediverseFollowers' => '{numberOfFollowers, plural,
one {# Fediverse follower}
other {# Fediverse followers}
}',
'posts' => '{numberOfPosts, plural,
one {# post}

View file

@ -25,7 +25,7 @@
<img class="w-8 h-8 rounded-full" src="<?= $episode->podcast->cover->tiny_url ?>" alt="<?= esc($episode->podcast->title) ?>" loading="lazy" />
<div class="flex flex-col overflow-hidden">
<span class="text-sm font-semibold leading-none truncate"><?= esc($episode->podcast->title) ?></span>
<span class="text-xs"><?= lang('Podcast.followers', [
<span class="text-xs"><?= lang('Podcast.fediverseFollowers', [
'numberOfFollowers' => $podcast->actor->followers_count,
]) ?></span>
</div>

View file

@ -25,7 +25,7 @@
<img class="w-8 h-8 rounded-full" src="<?= $episode->podcast->cover->tiny_url ?>" alt="<?= esc($episode->podcast->title) ?>" loading="lazy" />
<div class="flex flex-col overflow-hidden">
<span class="text-sm font-semibold leading-none truncate"><?= esc($episode->podcast->title) ?></span>
<span class="text-xs"><?= lang('Podcast.followers', [
<span class="text-xs"><?= lang('Podcast.fediverseFollowers', [
'numberOfFollowers' => $podcast->actor->followers_count,
]) ?></span>
</div>

View file

@ -22,7 +22,7 @@
<h1 class="text-lg font-bold leading-none line-clamp-2 md:leading-none md:text-2xl font-display"><?= esc($podcast->title) ?><span class="ml-1 font-sans text-base font-normal">@<?= esc($podcast->handle) ?></span></h1>
<div class="">
<?= explicit_badge($podcast->parental_advisory === 'explicit', 'mr-1') ?>
<span class="text-xs"><?= lang('Podcast.followers', [
<span class="text-xs"><?= lang('Podcast.fediverseFollowers', [
'numberOfFollowers' => $podcast->actor->followers_count,
]) ?></span>
</div>

View file

@ -58,7 +58,7 @@
<div class="text-lg font-bold leading-none line-clamp-2 md:leading-none md:text-2xl font-display"><?= esc($podcast->title) ?><span class="ml-1 font-sans text-base font-normal">@<?= esc($podcast->handle) ?></span></div>
<div>
<?= explicit_badge($podcast->parental_advisory === 'explicit', 'mr-1') ?>
<span class="text-xs"><?= lang('Podcast.followers', [
<span class="text-xs"><?= lang('Podcast.fediverseFollowers', [
'numberOfFollowers' => $podcast->actor->followers_count,
]) ?></span>
</div>