diff --git a/src/renderer/helpers/player/utils.js b/src/renderer/helpers/player/utils.js index 9aeb4509486ef..59134b998d7c7 100644 --- a/src/renderer/helpers/player/utils.js +++ b/src/renderer/helpers/player/utils.js @@ -104,7 +104,7 @@ export function translateSponsorBlockCategory(category) { case 'outro': return i18n.t('Video.Sponsor Block category.outro') case 'recap': - return this.$t('Video.Sponsor Block category.recap') + return i18n.t('Video.Sponsor Block category.recap') case 'selfpromo': return i18n.t('Video.Sponsor Block category.self-promotion') case 'interaction': diff --git a/src/renderer/views/Channel/Channel.js b/src/renderer/views/Channel/Channel.js index 8116dbb705fe6..453beae69f301 100644 --- a/src/renderer/views/Channel/Channel.js +++ b/src/renderer/views/Channel/Channel.js @@ -328,7 +328,7 @@ export default defineComponent({ if (this.id === '@@@') { this.showShareMenu = false - this.setErrorMessage(this.$i18n.t('Channel.This channel does not exist')) + this.setErrorMessage(this.$t('Channel.This channel does not exist')) return } @@ -427,7 +427,7 @@ export default defineComponent({ if (this.id === '@@@') { this.showShareMenu = false - this.setErrorMessage(this.$i18n.t('Channel.This channel does not exist')) + this.setErrorMessage(this.$t('Channel.This channel does not exist')) return } diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index b5edb524224a9..f25e22cd92de0 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -1497,7 +1497,7 @@ export default defineComponent({ let translationName, translationCode // otherwise just fallback to the FreeTube display language and hope that YouTube will be able to handle it if (!translationLanguage) { - translationName = this.$i18n.t('Locale Name') + translationName = this.$t('Locale Name') translationCode = userLanguages.values().next() } else { translationName = translationLanguage.language_name.text