refactor: add missing translation

This commit is contained in:
4gray committed 2023-01-23 23:55:03 +01:00
1 parent 7520687bcc
commit 885572b179
2 files changed
+4 -3

No files matched your search

@@ -8,7 +8,7 @@ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
<img src="./assets/icons/icon-tv-256.png" width="128" /><br />
<h2 mat-dialog-title>{{ 'ABOUT.TITLE' | translate }}</h2>
<p>{{ 'ABOUT.DESCRIPTION' | translate }}</p>
<p>Version: {{ appVersion }}</p>
<p>{{ 'ABOUT.VERSION' | translate }}: {{ appVersion }}</p>
<p>
<a
href="https://github.com/4gray/iptvnator"
@@ -56,5 +56,5 @@ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
],
})
export class AboutDialogComponent {
constructor(@Inject(MAT_DIALOG_DATA) private appVersion: string) {}
constructor(@Inject(MAT_DIALOG_DATA) public appVersion: string) {}
}
+2 -1
View File
@@ -147,6 +147,7 @@
},
"ABOUT": {
"TITLE": "About IPTVnator",
"DESCRIPTION": "Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more."
"DESCRIPTION": "Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more.",
"VERSION": "Version"
}
}