1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

Fix couple missing translations

This commit is contained in:
Ash Keel 2022-01-14 20:17:13 +01:00
parent 43d7de8700
commit 6dce6a50ac
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E
2 changed files with 4 additions and 4 deletions

View file

@ -151,8 +151,8 @@ function CommandItem({
<AlertContent
variation="danger"
title={t('pages.botcommands.remove-command-title', { name })}
description="This cannot be undone"
actionText="Delete"
description={t('form-actions.warning-delete')}
actionText={t('form-actions.delete')}
actionButtonProps={{ variation: 'danger' }}
showCancel={true}
onAction={() => (onDelete ? onDelete() : null)}

View file

@ -160,8 +160,8 @@ function TimerItem({
<AlertContent
variation="danger"
title={t('pages.bottimers.remove-timer-title', { name })}
description="This cannot be undone"
actionText="Delete"
description={t('form-actions.warning-delete')}
actionText={t('form-actions.delete')}
actionButtonProps={{ variation: 'danger' }}
showCancel={true}
onAction={() => (onDelete ? onDelete() : null)}