From f7777f6d15f22cec9478270dcbc931f540e0547e Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 28 Sep 2019 01:29:24 +0300 Subject: [PATCH] Add translations to report component --- src/lang/en.js | 13 ++++++++++++- src/views/reports/components/Report.vue | 16 ++++++++-------- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/lang/en.js b/src/lang/en.js index f2c6c137..276f6a45 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -268,13 +268,24 @@ export default { resolve: 'Resolve', reopen: 'Reopen', close: 'Close', + resolveAll: 'Resolve all', + reopenAll: 'Reopen all', + closeAll: 'Close all', addSensitive: 'Add Sensitive flag', removeSensitive: 'Remove Sensitive flag', public: 'Make status public', private: 'Make status private', unlisted: 'Make status unlisted', sensitive: 'Sensitive', - deleteStatus: 'Delete status' + deleteStatus: 'Delete status', + reportOn: 'Report on', + reportsOn: 'Reports on', + id: 'ID', + account: 'Account', + actor: 'Actor', + actors: 'Actors', + content: 'Content', + reportedStatus: 'Reported status' }, reportsFilter: { inputPlaceholder: 'Select filter', diff --git a/src/views/reports/components/Report.vue b/src/views/reports/components/Report.vue index 819b21de..574f36d6 100644 --- a/src/views/reports/components/Report.vue +++ b/src/views/reports/components/Report.vue @@ -3,8 +3,8 @@
-

Report on {{ report.account.display_name }}

-
ID: {{ report.id }}
+

{{ $t('reports.reportOn') }} {{ report.account.display_name }}

+
{{ $t('reports.id') }}: {{ report.id }}
{{ capitalizeFirstLetter(report.state) }} @@ -21,30 +21,30 @@
- Account: + {{ $t('reports.account') }}: avatar
- Content: - {{ report.content }} + {{ $t('reports.content') }}: + {{ report.content }}
- Actor: + {{ $t('reports.actor') }}: avatar