Merge pull request #22036 from nextcloud/backport/21950/stable19

[stable19] Properly fetch translation for remote wipe confirmation dialog
This commit is contained in:
Morris Jobke 2020-07-29 14:22:17 +02:00 committed by GitHub
commit 98365780ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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