Fix #828: an encoding issue with instance name on about page

This commit is contained in:
Eliot Berriot 2019-05-14 09:43:19 +02:00
parent ca41499c7d
commit cfecde4221
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Fixed an encoding issue with instance name on about page (#828)

View File

@ -3,9 +3,9 @@
<section class="ui vertical center aligned stripe segment">
<div class="ui text container">
<h1 class="ui huge header">
<translate translate-context="Content/About/Title/Short, Noun" v-if="instance.name.value" :translate-params="{instance: instance.name.value}">
<span v-translate="{instance: instance.name.value}" translate-context="Content/About/Title/Short, Noun" v-if="instance.name.value" :translate-params="{instance: instance.name.value}">
About %{ instance }
</translate>
</span>
<translate translate-context="Content/About/Title" v-else>About this instance</translate>
</h1>
<stats></stats>