aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_reporting_modal
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-03-20 12:51:43 -0400
committertaehoon <th.dev91@gmail.com>2019-05-03 11:40:05 -0400
commitd115d98a1b0be846bddd1d24d7bd2c60a7d965ec (patch)
tree19768cc35fd3bff34547eb8a63fb07cc440241ba /src/components/user_reporting_modal
parent471085f0f36e91daa74938e34ad738a86849894a (diff)
add translations
Diffstat (limited to 'src/components/user_reporting_modal')
-rw-r--r--src/components/user_reporting_modal/user_reporting_modal.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/user_reporting_modal/user_reporting_modal.vue b/src/components/user_reporting_modal/user_reporting_modal.vue
index eae97900..6ad4de17 100644
--- a/src/components/user_reporting_modal/user_reporting_modal.vue
+++ b/src/components/user_reporting_modal/user_reporting_modal.vue
@@ -1,27 +1,27 @@
<template>
<div class="modal-view" @click="closeModal" v-if="isOpen">
<div class="user-reporting-panel panel" @click.stop="">
- <div class="panel-heading">Reporting {{user.screen_name}}</div>
+ <div class="panel-heading">{{$t('user_reporting.title', [user.screen_name])}}</div>
<div class="panel-body">
<div class="user-reporting-panel-left">
<div>
- <p>The report will be sent to your instance moderators. You can provide an explanation of why you are reporting this account below:</p>
+ <p>{{$t('user_reporting.add_comment_description')}}</p>
<textarea
v-model="comment"
class="form-control"
- placeholder="Additional comments"
+ :placeholder="$t('user_reporting.additional_comments')"
rows="1"
@input="resize"
/>
</div>
<div v-if="!user.is_local">
- <p>The account is from another server. Send an anonymized copy of the report there as well?</p>
- <Checkbox v-model="forward">Forward to {{remoteInstance}}</Checkbox>
+ <p>{{$t('user_reporting.forward_description')}}</p>
+ <Checkbox v-model="forward">{{$t('user_reporting.forward_to', [remoteInstance])}}</Checkbox>
</div>
<div>
- <button class="btn btn-default" @click="reportUser" :disabled="processing">Submit</button>
+ <button class="btn btn-default" @click="reportUser" :disabled="processing">{{$t('user_reporting.submit')}}</button>
<div class="alert error" v-if="error">
- An error occured processing your request
+ {{$t('user_reporting.generic_error')}}
</div>
</div>
</div>