1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update itemMediaInfo.js

This commit is contained in:
WWWesten 2021-11-02 18:48:39 +05:00 committed by GitHub
parent 4bdc6f914d
commit cabc406970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ import template from './itemMediaInfo.template.html';
html += `<h2 class="mediaInfoStreamType">${displayType}</h2>`;
const attributes = [];
if (stream.DisplayTitle) {
attributes.push(createAttribute('Title', stream.DisplayTitle));
attributes.push(createAttribute(globalize.translate('MediaInfoTitle'), stream.DisplayTitle));
}
if (stream.Language && stream.Type !== 'Video') {
attributes.push(createAttribute(globalize.translate('MediaInfoLanguage'), stream.Language));