Rename 'Results' and 'Submissions' to consistent 'Responses' including icon

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2020-04-25 00:31:03 +02:00 committed by Jonas Rittershofer
parent ab3fff47c2
commit 502809ddad
3 changed files with 11 additions and 8 deletions

View file

@ -38,9 +38,9 @@
</ActionLink>
<ActionRouter :close-after-click="true"
:exact="true"
icon="icon-forms"
icon="icon-comment"
:to="{ name: 'results', params: { hash: form.hash } }">
{{ t('forms', 'Show results') }}
{{ t('forms', 'Responses') }}
</ActionRouter>
<!-- <ActionRouter :close-after-click="true"
:exact="true"

View file

@ -37,8 +37,8 @@
<!-- Show results & sidebar button -->
<TopBar>
<button @click="showResults">
<span class="icon-forms" role="img" />
{{ t('forms', 'Show results') }}
<span class="icon-comment" role="img" />
{{ t('forms', 'Responses') }}
</button>
<button v-tooltip="t('forms', 'Toggle settings')"
:aria-label="t('forms', 'Toggle settings')"

View file

@ -25,7 +25,7 @@
<template>
<AppContent v-if="loadingResults">
<EmptyContent icon="icon-loading">
{{ t('forms', 'Loading results') }}
{{ t('forms', 'Loading responses …') }}
</EmptyContent>
</AppContent>
@ -38,7 +38,7 @@
</TopBar>
<header v-if="!noSubmissions">
<h2>{{ t('forms', 'Results of {title}', { title: form.title }) }}</h2>
<h2>{{ t('forms', 'Responses for {title}', { title: form.title }) }}</h2>
<div v-for="sum in stats" :key="sum">
{{ sum }}
</div>
@ -46,8 +46,11 @@
<!-- No submissions -->
<section v-if="noSubmissions">
<EmptyContent>
{{ t('forms', 'There are no submissions to this form.') }}
<EmptyContent icon="icon-comment">
{{ t('forms', 'No responses yet') }}
<template #desc>
{{ t('forms', 'Results of submitted forms will show up here') }}
</template>
<!-- Button to copy Share-Link? -->
</EmptyContent>
</section>