Merge pull request #21950 from nextcloud/bugfix/noid/wipe-translation

Properly fetch translation for remote wipe confirmation dialog
This commit is contained in:
Roeland Jago Douma 2020-07-22 21:10:28 +02:00 committed by GitHub
commit 686f369d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -45,8 +45,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
) )