Change l10n directory

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
pull/30761/head
Valdnet 2022-01-19 14:46:40 +07:00 committed by John Molakvoæ (Rebase PR Action)
parent 2aa56dc416
commit ae8085fbf8
1 changed files with 5 additions and 5 deletions

@ -99,7 +99,7 @@ export default {
.then(tap(data => this.tokens.push(data.deviceToken)))
.catch(err => {
console.error.bind('could not create app password', err)
OC.Notification.showTemporary(t('core', 'Error while creating device token'))
OC.Notification.showTemporary(t('settings', 'Error while creating device token'))
throw err
})
},
@ -113,7 +113,7 @@ export default {
.then(tap(() => console.debug('app token scope updated')))
.catch(err => {
console.error.bind('could not update app token scope', err)
OC.Notification.showTemporary(t('core', 'Error while updating device token scope'))
OC.Notification.showTemporary(t('settings', 'Error while updating device token scope'))
// Restore
token.scope[scope] = oldVal
@ -131,7 +131,7 @@ export default {
.then(tap(() => console.debug('app token name updated')))
.catch(err => {
console.error.bind('could not update app token name', err)
OC.Notification.showTemporary(t('core', 'Error while updating device token name'))
OC.Notification.showTemporary(t('settings', 'Error while updating device token name'))
// Restore
token.name = oldName
@ -152,7 +152,7 @@ export default {
.then(tap(() => console.debug('app token deleted')))
.catch(err => {
console.error.bind('could not delete app token', err)
OC.Notification.showTemporary(t('core', 'Error while deleting the token'))
OC.Notification.showTemporary(t('settings', 'Error while deleting the token'))
// Restore
// eslint-disable-next-line vue/no-mutating-props
@ -175,7 +175,7 @@ export default {
token.type = 2
} catch (err) {
console.error('could not wipe app token', err)
OC.Notification.showTemporary(t('core', 'Error while wiping the device with the token'))
OC.Notification.showTemporary(t('settings', 'Error while wiping the device with the token'))
}
},
},