Merge pull request #22035 from nextcloud/backport/21950/stable18

[stable18]  Properly fetch translation for remote wipe confirmation dialog
This commit is contained in:
Greta 2020-07-29 14:19:47 +02:00 committed by GitHub
commit 149f3db88d
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

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