File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export function translateSponsorBlockCategory(category) {
104
104
case 'outro' :
105
105
return i18n . t ( 'Video.Sponsor Block category.outro' )
106
106
case 'recap' :
107
- return this . $ t( 'Video.Sponsor Block category.recap' )
107
+ return i18n . t ( 'Video.Sponsor Block category.recap' )
108
108
case 'selfpromo' :
109
109
return i18n . t ( 'Video.Sponsor Block category.self-promotion' )
110
110
case 'interaction' :
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ export default defineComponent({
328
328
329
329
if ( this . id === '@@@' ) {
330
330
this . showShareMenu = false
331
- this . setErrorMessage ( this . $i18n . t ( 'Channel.This channel does not exist' ) )
331
+ this . setErrorMessage ( this . $t ( 'Channel.This channel does not exist' ) )
332
332
return
333
333
}
334
334
@@ -427,7 +427,7 @@ export default defineComponent({
427
427
428
428
if ( this . id === '@@@' ) {
429
429
this . showShareMenu = false
430
- this . setErrorMessage ( this . $i18n . t ( 'Channel.This channel does not exist' ) )
430
+ this . setErrorMessage ( this . $t ( 'Channel.This channel does not exist' ) )
431
431
return
432
432
}
433
433
Original file line number Diff line number Diff line change @@ -1497,7 +1497,7 @@ export default defineComponent({
1497
1497
let translationName , translationCode
1498
1498
// otherwise just fallback to the FreeTube display language and hope that YouTube will be able to handle it
1499
1499
if ( ! translationLanguage ) {
1500
- translationName = this . $i18n . t ( 'Locale Name' )
1500
+ translationName = this . $t ( 'Locale Name' )
1501
1501
translationCode = userLanguages . values ( ) . next ( )
1502
1502
} else {
1503
1503
translationName = translationLanguage . language_name . text
You can’t perform that action at this time.
0 commit comments