Properly fetch translation for remote wipe confirmation dialog
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
73132b56d4
commit
7e08cb757b
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue