diff --git a/src/components/accessschedule/accessschedule.js b/src/components/accessschedule/accessschedule.js
index 3e900051f3..1c433e8b43 100644
--- a/src/components/accessschedule/accessschedule.js
+++ b/src/components/accessschedule/accessschedule.js
@@ -60,7 +60,7 @@ define(["dialogHelper", "datetime", "emby-select", "paper-icon-button-light", "f
});
dlg.classList.add("formDialog");
var html = "";
- html += Globalize.translateDocument(template);
+ html += globalize.translateDocument(template);
dlg.innerHTML = html;
populateHours(dlg);
loadSchedule(dlg, options.schedule);
diff --git a/src/components/directorybrowser/directorybrowser.js b/src/components/directorybrowser/directorybrowser.js
index ccbb9b3718..430c97d5fe 100644
--- a/src/components/directorybrowser/directorybrowser.js
+++ b/src/components/directorybrowser/directorybrowser.js
@@ -89,7 +89,7 @@ define(['loading', 'dialogHelper', 'dom', 'listViewStyle', 'emby-input', 'paper-
var instruction = options.instruction ? options.instruction + "
" : "";
html += '
" + Globalize.translate("ValueContainer").replace("{0}", profile.Container || allText) + "
"; + html += "" + globalize.translate("ValueContainer").replace("{0}", profile.Container || allText) + "
"; if ("Video" == profile.Type) { - html += "" + Globalize.translate("ValueVideoCodec").replace("{0}", profile.VideoCodec || allText) + "
"; - html += "" + Globalize.translate("ValueAudioCodec").replace("{0}", profile.AudioCodec || allText) + "
"; + html += "" + globalize.translate("ValueVideoCodec").replace("{0}", profile.VideoCodec || allText) + "
"; + html += "" + globalize.translate("ValueAudioCodec").replace("{0}", profile.AudioCodec || allText) + "
"; } else { if ("Audio" == profile.Type) { - html += "" + Globalize.translate("ValueCodec").replace("{0}", profile.AudioCodec || allText) + "
"; + html += "" + globalize.translate("ValueCodec").replace("{0}", profile.AudioCodec || allText) + "
"; } } @@ -319,14 +319,14 @@ define(["jQuery", "loading", "fnchecked", "emby-select", "emby-button", "emby-in html += "Protocol: " + (profile.Protocol || "Http") + "
"; - html += "" + Globalize.translate("ValueContainer").replace("{0}", profile.Container || allText) + "
"; + html += "" + globalize.translate("ValueContainer").replace("{0}", profile.Container || allText) + "
"; if ("Video" == profile.Type) { - html += "" + Globalize.translate("ValueVideoCodec").replace("{0}", profile.VideoCodec || allText) + "
"; - html += "" + Globalize.translate("ValueAudioCodec").replace("{0}", profile.AudioCodec || allText) + "
"; + html += "" + globalize.translate("ValueVideoCodec").replace("{0}", profile.VideoCodec || allText) + "
"; + html += "" + globalize.translate("ValueAudioCodec").replace("{0}", profile.AudioCodec || allText) + "
"; } else { if ("Audio" == profile.Type) { - html += "" + Globalize.translate("ValueCodec").replace("{0}", profile.AudioCodec || allText) + "
"; + html += "" + globalize.translate("ValueCodec").replace("{0}", profile.AudioCodec || allText) + "
"; } } @@ -404,11 +404,11 @@ define(["jQuery", "loading", "fnchecked", "emby-select", "emby-button", "emby-in html += "" + Globalize.translate("ValueContainer").replace("{0}", profile.Container || allText) + "
"; + html += "" + globalize.translate("ValueContainer").replace("{0}", profile.Container || allText) + "
"; if (profile.Conditions && profile.Conditions.length) { html += ""; - html += Globalize.translate("ValueConditions").replace("{0}", profile.Conditions.map(function (c) { + html += globalize.translate("ValueConditions").replace("{0}", profile.Conditions.map(function (c) { return c.Property; }).join(", ")); html += "
"; @@ -476,11 +476,11 @@ define(["jQuery", "loading", "fnchecked", "emby-select", "emby-button", "emby-in html += "