Show a toot has been edited

This commit is contained in:
Nick Colley 2023-01-21 14:50:26 +00:00
parent cb77ca7302
commit 4882c38485
6 changed files with 19 additions and 5 deletions

View File

@ -613,5 +613,7 @@ export default {
showingOfflineContent: 'Anforderung übers Internet fehlgeschlagen. Zeige Offline-Inhalte an.',
youAreOffline: 'Du scheinst keine Verbindung zum Internet zu haben. Du kanst weiterhin Tröts lesen, solange Du offline bist.',
// Snackbar UI
updateAvailable: 'Update der App verfügbar'
updateAvailable: 'Update der App verfügbar',
// Details
statusEdited: 'Edited'
}

View File

@ -693,5 +693,7 @@ export default {
statusesThread: 'Statuses: thread',
statusesAccountTimeline: 'Statuses: account timeline',
statusesList: 'Statuses: list',
notificationsOnInstance: 'Notifications on {instance}'
notificationsOnInstance: 'Notifications on {instance}',
// Details
statusEdited: 'Edited'
}

View File

@ -694,5 +694,7 @@ export default {
statusesThread: 'Estados: hilo',
statusesAccountTimeline: 'Estado: cronología de cuenta',
statusesList: 'Estado: lista',
notificationsOnInstance: 'Notificaciones en {instance}'
notificationsOnInstance: 'Notificaciones en {instance}',
// Details
statusEdited: 'Edited'
}

View File

@ -623,5 +623,7 @@ export default {
showingOfflineContent: "Requête d'internet impossible. Contenu hors de connexion affiché.",
youAreOffline: 'Il semble que vous êtes hors de connextion. Vous pouvez toujours lire les pouets dans cet état.',
// Snackbar UI
updateAvailable: 'Mise à jour disponible.'
updateAvailable: 'Mise à jour disponible.',
// Details
statusEdited: 'Edited'
}

View File

@ -685,5 +685,7 @@ export default {
statusesThread: 'Записи: треды',
statusesAccountTimeline: 'Записи: лента аккаунта',
statusesList: 'Записи: список',
notificationsOnInstance: 'Уведомления на {instance}'
notificationsOnInstance: 'Уведомления на {instance}',
// Details
statusEdited: 'Edited'
}

View File

@ -7,6 +7,9 @@
<time datetime={createdAtDate} title={absoluteFormattedDate}>
{displayAbsoluteFormattedDate}
</time>
{#if editedAt}
&nbsp;&ndash;&nbsp;{intl.statusEdited}
{/if}
</ExternalLink>
{#if applicationName}
{#if applicationWebsite}
@ -155,6 +158,7 @@
overrideNumFavs: undefined
}),
computed: {
editedAt: ({ originalStatus }) => originalStatus.edited_at,
originalStatusId: ({ originalStatus }) => originalStatus.id,
application: ({ originalStatus }) => originalStatus.application,
applicationName: ({ application }) => (application && application.name),