Merge pull request #16 from semaphore-social/edit
Show a toot has been edited
This commit is contained in:
commit
de8f9c3e34
|
@ -613,5 +613,7 @@ export default {
|
||||||
showingOfflineContent: 'Anforderung übers Internet fehlgeschlagen. Zeige Offline-Inhalte an.',
|
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.',
|
youAreOffline: 'Du scheinst keine Verbindung zum Internet zu haben. Du kanst weiterhin Tröts lesen, solange Du offline bist.',
|
||||||
// Snackbar UI
|
// Snackbar UI
|
||||||
updateAvailable: 'Update der App verfügbar'
|
updateAvailable: 'Update der App verfügbar',
|
||||||
|
// Details
|
||||||
|
statusEdited: 'Edited'
|
||||||
}
|
}
|
||||||
|
|
|
@ -693,5 +693,7 @@ export default {
|
||||||
statusesThread: 'Statuses: thread',
|
statusesThread: 'Statuses: thread',
|
||||||
statusesAccountTimeline: 'Statuses: account timeline',
|
statusesAccountTimeline: 'Statuses: account timeline',
|
||||||
statusesList: 'Statuses: list',
|
statusesList: 'Statuses: list',
|
||||||
notificationsOnInstance: 'Notifications on {instance}'
|
notificationsOnInstance: 'Notifications on {instance}',
|
||||||
|
// Details
|
||||||
|
statusEdited: 'Edited'
|
||||||
}
|
}
|
||||||
|
|
|
@ -694,5 +694,7 @@ export default {
|
||||||
statusesThread: 'Estados: hilo',
|
statusesThread: 'Estados: hilo',
|
||||||
statusesAccountTimeline: 'Estado: cronología de cuenta',
|
statusesAccountTimeline: 'Estado: cronología de cuenta',
|
||||||
statusesList: 'Estado: lista',
|
statusesList: 'Estado: lista',
|
||||||
notificationsOnInstance: 'Notificaciones en {instance}'
|
notificationsOnInstance: 'Notificaciones en {instance}',
|
||||||
|
// Details
|
||||||
|
statusEdited: 'Edited'
|
||||||
}
|
}
|
||||||
|
|
|
@ -623,5 +623,7 @@ export default {
|
||||||
showingOfflineContent: "Requête d'internet impossible. Contenu hors de connexion affiché.",
|
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.',
|
youAreOffline: 'Il semble que vous êtes hors de connextion. Vous pouvez toujours lire les pouets dans cet état.',
|
||||||
// Snackbar UI
|
// Snackbar UI
|
||||||
updateAvailable: 'Mise à jour disponible.'
|
updateAvailable: 'Mise à jour disponible.',
|
||||||
|
// Details
|
||||||
|
statusEdited: 'Edited'
|
||||||
}
|
}
|
||||||
|
|
|
@ -685,5 +685,7 @@ export default {
|
||||||
statusesThread: 'Записи: треды',
|
statusesThread: 'Записи: треды',
|
||||||
statusesAccountTimeline: 'Записи: лента аккаунта',
|
statusesAccountTimeline: 'Записи: лента аккаунта',
|
||||||
statusesList: 'Записи: список',
|
statusesList: 'Записи: список',
|
||||||
notificationsOnInstance: 'Уведомления на {instance}'
|
notificationsOnInstance: 'Уведомления на {instance}',
|
||||||
|
// Details
|
||||||
|
statusEdited: 'Edited'
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
<time datetime={createdAtDate} title={absoluteFormattedDate}>
|
<time datetime={createdAtDate} title={absoluteFormattedDate}>
|
||||||
{displayAbsoluteFormattedDate}
|
{displayAbsoluteFormattedDate}
|
||||||
</time>
|
</time>
|
||||||
|
{#if editedAt}
|
||||||
|
– {intl.statusEdited}
|
||||||
|
{/if}
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
{#if applicationName}
|
{#if applicationName}
|
||||||
{#if applicationWebsite}
|
{#if applicationWebsite}
|
||||||
|
@ -155,6 +158,7 @@
|
||||||
overrideNumFavs: undefined
|
overrideNumFavs: undefined
|
||||||
}),
|
}),
|
||||||
computed: {
|
computed: {
|
||||||
|
editedAt: ({ originalStatus }) => originalStatus.edited_at,
|
||||||
originalStatusId: ({ originalStatus }) => originalStatus.id,
|
originalStatusId: ({ originalStatus }) => originalStatus.id,
|
||||||
application: ({ originalStatus }) => originalStatus.application,
|
application: ({ originalStatus }) => originalStatus.application,
|
||||||
applicationName: ({ application }) => (application && application.name),
|
applicationName: ({ application }) => (application && application.name),
|
||||||
|
|
Loading…
Reference in New Issue