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

Merge pull request #3128 from WWWesten/master

Add missing localization key for Media Info
This commit is contained in:
Bill Thornton 2021-11-02 10:47:52 -04:00 committed by GitHub
commit 1f0aabed3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -1005,6 +1005,7 @@
"MediaInfoSampleRate": "Sample rate", "MediaInfoSampleRate": "Sample rate",
"MediaInfoSize": "Size", "MediaInfoSize": "Size",
"MediaInfoTimestamp": "Timestamp", "MediaInfoTimestamp": "Timestamp",
"MediaInfoTitle": "Title",
"MediaInfoVideoRange": "Video range", "MediaInfoVideoRange": "Video range",
"MediaIsBeingConverted": "The media is being converted into a format that is compatible with the device that is playing the media.", "MediaIsBeingConverted": "The media is being converted into a format that is compatible with the device that is playing the media.",
"Menu": "Menu", "Menu": "Menu",