Merge pull request #21950 from nextcloud/bugfix/noid/wipe-translation
Properly fetch translation for remote wipe confirmation dialog
This commit is contained in:
commit
686f369d66
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue