mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 23:34:22 -04:00
Merge pull request #44599 from nextcloud/backport/43589/stable28
[stable28] fix(files_reminders): Fix translations
This commit is contained in:
commit
e655e52ca0
5 changed files with 7 additions and 7 deletions
|
|
@ -33,12 +33,12 @@ import { getVerboseDateString } from '../shared/utils.ts'
|
|||
export const action = new FileAction({
|
||||
id: 'clear-reminder',
|
||||
|
||||
displayName: () => t('files', 'Clear reminder'),
|
||||
displayName: () => t('files_reminders', 'Clear reminder'),
|
||||
|
||||
title: (nodes: Node[]) => {
|
||||
const node = nodes.at(0)!
|
||||
const dueDate = new Date(node.attributes['reminder-due-date'])
|
||||
return `${t('files', 'Clear reminder')} – ${getVerboseDateString(dueDate)}`
|
||||
return `${t('files_reminders', 'Clear reminder')} – ${getVerboseDateString(dueDate)}`
|
||||
},
|
||||
|
||||
iconSvgInline: () => AlarmOffSvg,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import { pickCustomDate } from '../services/customPicker'
|
|||
|
||||
export const action = new FileAction({
|
||||
id: 'set-reminder-custom',
|
||||
displayName: () => t('files', 'Set custom reminder'),
|
||||
displayName: () => t('files_reminders', 'Set custom reminder'),
|
||||
title: () => t('files_reminders', 'Set reminder at custom date & time'),
|
||||
iconSvgInline: () => CalendarClockSvg,
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export const SET_REMINDER_MENU_ID = 'set-reminder-menu'
|
|||
|
||||
export const action = new FileAction({
|
||||
id: SET_REMINDER_MENU_ID,
|
||||
displayName: () => t('files', 'Set reminder'),
|
||||
displayName: () => t('files_reminders', 'Set reminder'),
|
||||
iconSvgInline: () => AlarmSvg,
|
||||
|
||||
enabled: () => true,
|
||||
|
|
|
|||
4
dist/files_reminders-init.js
vendored
4
dist/files_reminders-init.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_reminders-init.js.map
vendored
2
dist/files_reminders-init.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue