Properly fetch translation for remote wipe confirmation dialog

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/21950/head
Julius Härtl 2020-07-22 16:56:17 +07:00 committed by Morris Jobke
parent c842678f0a
commit cf3dd5b6bd
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 2 additions and 2 deletions

@ -45,8 +45,8 @@ import AuthTokenSetupDialogue from './AuthTokenSetupDialogue'
const confirm = () => {
return new Promise(resolve => {
OC.dialogs.confirm(
t('core', 'Do you really want to wipe your data from this device?'),
t('core', 'Confirm wipe'),
t('settings', 'Do you really want to wipe your data from this device?'),
t('settings', 'Confirm wipe'),
resolve,
true
)