aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/delete_button/delete_button.js2
-rw-r--r--src/components/user_profile/user_profile.vue2
-rw-r--r--src/i18n/messages.js16
3 files changed, 15 insertions, 5 deletions
diff --git a/src/components/delete_button/delete_button.js b/src/components/delete_button/delete_button.js
index 77da1b87..f2920666 100644
--- a/src/components/delete_button/delete_button.js
+++ b/src/components/delete_button/delete_button.js
@@ -10,7 +10,7 @@ const DeleteButton = {
},
computed: {
currentUser () { return this.$store.state.users.currentUser },
- canDelete () { return this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id }
+ canDelete () { return this.currentUser && this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id }
}
}
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index ec90b8b0..359abfef 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -3,7 +3,7 @@
<div v-if="user" class="user-profile panel panel-default base00-background">
<user-card-content :user="user" :switcher="true"></user-card-content>
</div>
- <Timeline :title="'User Timeline'" v-bind:timeline="timeline" v-bind:timeline-name="'user'" :user-id="userId"/>
+ <Timeline :title="$t('user_profile.timeline_title')" :timeline="timeline" :timeline-name="'user'" :user-id="userId"/>
</div>
</template>
diff --git a/src/i18n/messages.js b/src/i18n/messages.js
index 48708539..abf64607 100644
--- a/src/i18n/messages.js
+++ b/src/i18n/messages.js
@@ -20,7 +20,8 @@ const de = {
muted: 'Stummgeschaltet',
followers: 'Folgende',
followees: 'Folgt',
- per_day: 'pro Tag'
+ per_day: 'pro Tag',
+ remote_follow: 'Remote Follow'
},
timeline: {
show_new: 'Zeige Neuere',
@@ -53,9 +54,9 @@ const de = {
filtering: 'Filter',
filtering_explanation: 'Alle Beiträge die diese Wörter enthalten werden ausgeblendet. Ein Wort pro Zeile.',
attachments: 'Anhänge',
- hide_attachments_in_tl: 'Anhänge in der Timeline ausblenden',
+ hide_attachments_in_tl: 'Anhänge in der Zeitleiste ausblenden',
hide_attachments_in_convo: 'Anhänge in Unterhaltungen ausblenden',
- nsfw_clickthrough: 'Aktiviere ausblendbares Overlay für als NSFW markierte Anhänge',
+ nsfw_clickthrough: 'Aktiviere ausblendbares Overlay für Anhänge, die als NSFW markiert sind',
autoload: 'Aktiviere automatisches Laden von älteren Beiträgen beim scrollen',
streaming: 'Aktiviere automatisches Laden (Streaming) von neuen Beiträgen',
reply_link_preview: 'Aktiviere reply-link Vorschau bei Maus-Hover',
@@ -94,6 +95,9 @@ const de = {
general: {
submit: 'Absenden',
apply: 'Anwenden'
+ },
+ user_profile: {
+ timeline_title: 'Beiträge'
}
}
@@ -284,6 +288,9 @@ const en = {
general: {
submit: 'Submit',
apply: 'Apply'
+ },
+ user_profile: {
+ timeline_title: 'User Timeline'
}
}
@@ -1137,6 +1144,9 @@ const ru = {
general: {
submit: 'Отправить',
apply: 'Применить'
+ },
+ user_profile: {
+ timeline_title: 'Лента пользователя'
}
}