Merge branch '828-title-encoding' into 'develop'

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

Closes #828

See merge request funkwhale/funkwhale!764
This commit is contained in:
Eliot Berriot 2019-05-14 09:46:12 +02:00
commit f9a7b453d4
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>