diff --git a/src/app/xtream/vod-details/vod-details.component.html b/src/app/xtream/vod-details/vod-details.component.html index 11fbb533c..24e851bf0 100644 --- a/src/app/xtream/vod-details/vod-details.component.html +++ b/src/app/xtream/vod-details/vod-details.component.html @@ -23,27 +23,27 @@ {{ item.info.description }}
-
Actors:
+
{{ 'XTREAM.ACTORS' | translate }}:
{{ item.info.actors }}
@@ -52,7 +52,7 @@ color="accent" (click)="playClicked.emit(item)" > - Play  @@ -69,7 +70,8 @@ color="accent" (click)="toggleFavorite()" > - starRemove from favorites + star + {{ 'PORTALS.REMOVE_FROM_FAVORITES' | translate }}
diff --git a/src/app/xtream/vod-details/vod-details.component.ts b/src/app/xtream/vod-details/vod-details.component.ts index 0369304e6..c38cd8380 100644 --- a/src/app/xtream/vod-details/vod-details.component.ts +++ b/src/app/xtream/vod-details/vod-details.component.ts @@ -10,6 +10,7 @@ import { import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { ActivatedRoute } from '@angular/router'; +import { TranslateModule } from '@ngx-translate/core'; import { XtreamVodDetails } from '../../../../shared/xtream-vod-details.interface'; import { PlaylistsService } from '../../services/playlists.service'; @@ -18,7 +19,7 @@ import { PlaylistsService } from '../../services/playlists.service'; templateUrl: './vod-details.component.html', styleUrls: ['../detail-view.scss'], standalone: true, - imports: [MatButtonModule, NgIf, MatIconModule], + imports: [MatButtonModule, NgIf, MatIconModule, TranslateModule], }) export class VodDetailsComponent implements OnInit { @Input({ required: true }) item: XtreamVodDetails; diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 4ca9fadd5..75636eb96 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -227,6 +227,8 @@ }, "PORTALS": { "ALL_CATEGORIES": "All categories", - "MY_FAVORITES": "My favorites" + "MY_FAVORITES": "My favorites", + "ADD_TO_FAVORITES": "Add to favorites", + "REMOVE_FROM_FAVORITES": "Remove from favorites" } }