diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-02-14 17:05:38 -0800 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-03-08 03:46:55 -0800 |
commit | 107805b9c7ae287077e60f07ea94a2f329db6f1e (patch) | |
tree | 64c3ef2c391ac8ef45fb4cf5f93c3ace9e5d3fa4 /apps | |
parent | e309802d3210d0c3a1a65ea4671f5e7b38812846 (diff) | |
download | nextcloud-server-107805b9c7ae287077e60f07ea94a2f329db6f1e.tar.gz nextcloud-server-107805b9c7ae287077e60f07ea94a2f329db6f1e.zip |
fix(files_reminders): Fix translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_reminders/src/actions/clearReminderAction.ts b/apps/files_reminders/src/actions/clearReminderAction.ts index 6f6d792750d..b8d1d55a5fb 100644 --- a/apps/files_reminders/src/actions/clearReminderAction.ts +++ b/apps/files_reminders/src/actions/clearReminderAction.ts @@ -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, diff --git a/apps/files_reminders/src/actions/setReminderCustomAction.ts b/apps/files_reminders/src/actions/setReminderCustomAction.ts index efcf70dc311..2130adbb12d 100644 --- a/apps/files_reminders/src/actions/setReminderCustomAction.ts +++ b/apps/files_reminders/src/actions/setReminderCustomAction.ts @@ -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, diff --git a/apps/files_reminders/src/actions/setReminderMenuAction.ts b/apps/files_reminders/src/actions/setReminderMenuAction.ts index 11810413db1..20a4e89d2e9 100644 --- a/apps/files_reminders/src/actions/setReminderMenuAction.ts +++ b/apps/files_reminders/src/actions/setReminderMenuAction.ts @@ -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, |