TSK-517: show 'Last Modified' instead of 'Date' for attachments (#2696)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-03-01 16:22:25 +05:00 committed by GitHub
parent 1d97d0c689
commit 5a1c8004ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export class TAttachment extends TAttachedDoc implements Attachment {
@Prop(TypeString(), attachment.string.Type)
type!: string
@Prop(TypeTimestamp(), attachment.string.Date)
@Prop(TypeTimestamp(), attachment.string.LastModified)
lastModified!: number
@Prop(TypeString(), attachment.string.Description)

View File

@ -35,6 +35,7 @@ export default mergeIds(attachmentId, attachment, {
Type: '' as IntlString,
Photo: '' as IntlString,
Date: '' as IntlString,
LastModified: '' as IntlString,
SavedAttachments: '' as IntlString,
Description: '' as IntlString,
PinAttachment: '' as IntlString,

View File

@ -14,6 +14,7 @@
"Size": "Size",
"Photo": "Photo",
"Date": "Date",
"LastModified": "Last Modified",
"Name": "Name",
"FileBrowser": "File browser",
"FileBrowserFileCounter": "{results, plural, =1 {# result} other {# results}}",

View File

@ -14,6 +14,7 @@
"Size": "Размер",
"Photo": "Фотография",
"Date": "Дата",
"LastModified": "Последнее изменение",
"Name": "Название",
"FileBrowser": "Браузер файлов",
"FileBrowserFileCounter": "{results, plural, =1 {# результат} =2 {# результата} =3 {# результата} =4 {# результата} other {# результатов}}",