rename table header translations

This commit is contained in:
Alina Beck 2019-12-03 12:25:19 +03:00
parent 21a3ff4bc8
commit febabf9303
3 changed files with 134 additions and 142 deletions

View File

@ -15,23 +15,15 @@
<thead class="ds-table-col ds-table-head-col"> <thead class="ds-table-col ds-table-head-col">
<tr valign="top"> <tr valign="top">
<th></th> <th></th>
<th> <th>{{ $t('moderation.reports.content') }}</th>
{{ $t('moderation.reports.contentRowHeadline') }} <th>{{ $t('moderation.reports.author') }}</th>
</th> <th>{{ $t('moderation.reports.status') }}</th>
<th> <th>{{ $t('moderation.reports.decision') }}</th>
{{ $t('moderation.reports.authorRowHeadline') }}
</th>
<th>
{{ $t('moderation.reports.typeRowHeadline') }}
</th>
<th>
{{ $t('moderation.reports.decisionRowHeadline') }}
</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<template v-for="report in reports"> <template v-for="report in reports">
<tr :key="report.resource.id" valign="top" :data-test="report.resource.__typename"> <tr :key="'1-' + report.resource.id" valign="top" :data-test="report.resource.__typename">
<td class="ds-table-col"> <td class="ds-table-col">
<ds-text color="soft"> <ds-text color="soft">
<base-icon <base-icon
@ -137,7 +129,7 @@
</ds-button> </ds-button>
</td> </td>
</tr> </tr>
<tr> <tr :key="'2-' + report.resource.id">
<td></td> <td></td>
<td> <td>
<counter-icon icon="flag" :count="report.filed.length"> <counter-icon icon="flag" :count="report.filed.length">
@ -147,7 +139,7 @@
</counter-icon> </counter-icon>
</td> </td>
</tr> </tr>
<tr> <tr :key="'3-' + report.resource.id">
<td class="ds-table-col filed-table" colspan="4"> <td class="ds-table-col filed-table" colspan="4">
<ds-space margin-bottom="base" /> <ds-space margin-bottom="base" />
<filed-table :filed="report.filed" v-if="showFiledReports" /> <filed-table :filed="report.filed" v-if="showFiledReports" />

View File

@ -316,10 +316,10 @@
"reports": { "reports": {
"empty": "Glückwunsch, es gibt nichts zu moderieren.", "empty": "Glückwunsch, es gibt nichts zu moderieren.",
"name": "Meldungen", "name": "Meldungen",
"typeRowHeadline": "Aktueller Status", "status": "Aktueller Status",
"contentRowHeadline": "Inhalt", "content": "Inhalt",
"authorRowHeadline": "Autor", "author": "Autor",
"decisionRowHeadline": "Entscheidung", "decision": "Entscheidung",
"enabled": "Entsperrt", "enabled": "Entsperrt",
"disabled": "Gesperrt", "disabled": "Gesperrt",
"decided": "Entschieden", "decided": "Entschieden",

View File

@ -482,10 +482,10 @@
"reports": { "reports": {
"empty": "Congratulations, nothing to moderate.", "empty": "Congratulations, nothing to moderate.",
"name": "Reports", "name": "Reports",
"typeRowHeadline": "Current status", "status": "Current status",
"contentRowHeadline": "Content", "content": "Content",
"authorRowHeadline": "Author", "author": "Author",
"decisionRowHeadline": "Decision", "decision": "Decision",
"enabled": "Enabled", "enabled": "Enabled",
"disabled": "Disabled", "disabled": "Disabled",
"decided": "Decided", "decided": "Decided",