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

last review comments

This commit is contained in:
cvium 2019-01-14 22:52:33 +01:00
parent 0d6c45173b
commit 790cb3f32c
2 changed files with 5 additions and 10 deletions

View file

@ -61,16 +61,11 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
if (session.TranscodingInfo && session.TranscodingInfo.TranscodeReasons && session.TranscodingInfo.TranscodeReasons.length) { if (session.TranscodingInfo && session.TranscodingInfo.TranscodeReasons && session.TranscodingInfo.TranscodeReasons.length) {
text.push("<br/>"); text.push("<br/>");
text.push(globalize.translate("sharedcomponents#LabelReasonForTranscoding")); text.push(globalize.translate("sharedcomponents#LabelReasonForTranscoding"));
showTranscodeReasons = true; session.TranscodingInfo.TranscodeReasons.forEach(function (transcodeReason) {
} text.push(globalize.translate("sharedcomponents#" + transcodeReason));
}
if (showTranscodeReasons) {
session.TranscodingInfo.TranscodeReasons.forEach(function (t__e) {
text.push(globalize.translate("sharedcomponents#" + t__e));
}); });
} }
}
alert({ alert({
text: text.join("<br/>"), text: text.join("<br/>"),
title: title title: title

View file

@ -21,7 +21,7 @@ define(["loading", "libraryMenu", "globalize", "cardStyle", "emby-linkbutton", "
} }
function getHeaderText(category) { function getHeaderText(category) {
category.replace(" ", "").replace(" ", ""); category = category.replace(" ", "");
if ("Channel" === category) { if ("Channel" === category) {
category = "Channels"; category = "Channels";