Fix code-snippets translations
This commit is contained in:
parent
3b2d5b616c
commit
f2b6c4a879
@ -251,7 +251,7 @@ export default {
|
||||
this.codeSnippets = []
|
||||
}
|
||||
})
|
||||
.catch(this.toastErrorHandler(this.$t('notification:settings.codeSnippet.fetch.error')))
|
||||
.catch(this.toastErrorHandler(this.$t('notification:settings.code-snippet.fetch.error')))
|
||||
.finally(() => {
|
||||
this.decLoader()
|
||||
})
|
||||
@ -263,12 +263,12 @@ export default {
|
||||
.then(() => {
|
||||
this.animateSuccess('codeSnippet')
|
||||
if (action === 'delete') {
|
||||
this.toastSuccess(this.$t('notification:settings.codeSnippet.delete.success'))
|
||||
this.toastSuccess(this.$t('notification:settings.code-snippet.delete.success'))
|
||||
} else {
|
||||
this.toastSuccess(this.$t('notification:settings.codeSnippet.update.success'))
|
||||
this.toastSuccess(this.$t('notification:settings.code-snippet.update.success'))
|
||||
}
|
||||
})
|
||||
.catch(this.toastErrorHandler(this.$t('notification:settings.codeSnippet.update.error')))
|
||||
.catch(this.toastErrorHandler(this.$t('notification:settings.code-snippet.update.error')))
|
||||
.finally(() => {
|
||||
this.codeSnippet.processing = false
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user