Update:i18n translation strings for Read more/less #2914

This commit is contained in:
advplyr 2024-05-03 17:12:49 -05:00
parent bf3db1dae0
commit 724e06e9d2
27 changed files with 55 additions and 5 deletions

View file

@ -19,7 +19,7 @@
<p v-if="author.description" class="text-white text-opacity-60 uppercase text-xs mb-2">{{ $strings.LabelDescription }}</p>
<p ref="description" id="author-description" class="text-white max-w-3xl text-base whitespace-pre-wrap" :class="{ 'show-full': showFullDescription }">{{ author.description }}</p>
<button v-if="isDescriptionClamped" class="py-0.5 flex items-center text-slate-300 hover:text-white" @click="showFullDescription = !showFullDescription">
{{ showFullDescription ? 'Read less' : 'Read more' }} <span class="material-icons text-xl pl-1">{{ showFullDescription ? 'expand_less' : 'expand_more' }}</span>
{{ showFullDescription ? $strings.ButtonReadLess : $strings.ButtonReadMore }} <span class="material-icons text-xl pl-1">{{ showFullDescription ? 'expand_less' : 'expand_more' }}</span>
</button>
</div>
</div>
@ -140,4 +140,4 @@ export default {
-webkit-line-clamp: unset;
max-height: 999rem;
}
</style>
</style>