aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_reminders
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2024-04-03 04:24:22 -0700
committerGitHub <noreply@github.com>2024-04-03 04:24:22 -0700
commite655e52ca0a60d5f45cd5d92054231b94ef012b6 (patch)
treefa44a62400300b0ea5843b3f42fc36f212aef43f /apps/files_reminders
parentbe17be68f0f82c891565b41db73f2465f90bcecd (diff)
parent7ab0f4511132e85593a440e3b2e740ec0efb3e1c (diff)
downloadnextcloud-server-e655e52ca0a60d5f45cd5d92054231b94ef012b6.tar.gz
nextcloud-server-e655e52ca0a60d5f45cd5d92054231b94ef012b6.zip
Merge pull request #44599 from nextcloud/backport/43589/stable28
[stable28] fix(files_reminders): Fix translations
Diffstat (limited to 'apps/files_reminders')
-rw-r--r--apps/files_reminders/src/actions/clearReminderAction.ts4
-rw-r--r--apps/files_reminders/src/actions/setReminderCustomAction.ts2
-rw-r--r--apps/files_reminders/src/actions/setReminderMenuAction.ts2
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,