diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index d72c483c28..3d19e09ee3 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.1.22", - "_release": "1.1.22", + "version": "1.1.23", + "_release": "1.1.23", "_resolution": { "type": "version", - "tag": "1.1.22", - "commit": "e24e9e35b215c2982601535ccb2496c962dfc1a9" + "tag": "1.1.23", + "commit": "56056e9019d793eea2ce4011bea382c562d2593f" }, "_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_target": "~1.1.5", diff --git a/dashboard-ui/bower_components/emby-webcomponents/globalize.js b/dashboard-ui/bower_components/emby-webcomponents/globalize.js index b1a7c03657..e632f93382 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/globalize.js +++ b/dashboard-ui/bower_components/emby-webcomponents/globalize.js @@ -238,6 +238,7 @@ define(['connectionManager', 'userSettings', 'events'], function (connectionMana return { getString: translate, translate: translate, + translateDocument: translateHtml, translateHtml: translateHtml, loadStrings: loadTranslations, defaultModule: defaultModule diff --git a/dashboard-ui/bower_components/iron-icon/.bower.json b/dashboard-ui/bower_components/iron-icon/.bower.json index f0167baf13..9784e3a3b7 100644 --- a/dashboard-ui/bower_components/iron-icon/.bower.json +++ b/dashboard-ui/bower_components/iron-icon/.bower.json @@ -32,14 +32,14 @@ "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-icon", + "homepage": "https://github.com/PolymerElements/iron-icon", "_release": "1.0.8", "_resolution": { "type": "version", "tag": "v1.0.8", "commit": "f36b38928849ef3853db727faa8c9ef104d611eb" }, - "_source": "git://github.com/polymerelements/iron-icon.git", + "_source": "git://github.com/PolymerElements/iron-icon.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-icon" + "_originalSource": "PolymerElements/iron-icon" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index 11e925acef..fedc85052e 100644 --- a/dashboard-ui/bower_components/iron-selector/.bower.json +++ b/dashboard-ui/bower_components/iron-selector/.bower.json @@ -36,7 +36,7 @@ "tag": "v1.2.4", "commit": "1ee4e2e11a9e5118320987d93fc2c03ae9a489f4" }, - "_source": "git://github.com/polymerelements/iron-selector.git", + "_source": "git://github.com/PolymerElements/iron-selector.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-selector" + "_originalSource": "PolymerElements/iron-selector" } \ No newline at end of file diff --git a/dashboard-ui/components/fileorganizer/fileorganizer.js b/dashboard-ui/components/fileorganizer/fileorganizer.js index 7667150f31..f8fc32351e 100644 --- a/dashboard-ui/components/fileorganizer/fileorganizer.js +++ b/dashboard-ui/components/fileorganizer/fileorganizer.js @@ -193,7 +193,7 @@ var html = ''; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); diff --git a/dashboard-ui/components/filterdialog/filterdialog.js b/dashboard-ui/components/filterdialog/filterdialog.js index 3c1d3f33be..0baf5dbc12 100644 --- a/dashboard-ui/components/filterdialog/filterdialog.js +++ b/dashboard-ui/components/filterdialog/filterdialog.js @@ -521,7 +521,7 @@ dlg.classList.add('formDialog'); dlg.classList.add('filterDialog'); - dlg.innerHTML = Globalize.translateHtml(template); + dlg.innerHTML = Globalize.translateDocument(template); setVisibility(dlg, options); document.body.appendChild(dlg); diff --git a/dashboard-ui/components/guestinviter/guestinviter.js b/dashboard-ui/components/guestinviter/guestinviter.js index 84bf3c708d..e3c2014e4b 100644 --- a/dashboard-ui/components/guestinviter/guestinviter.js +++ b/dashboard-ui/components/guestinviter/guestinviter.js @@ -106,7 +106,7 @@ var html = ''; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); diff --git a/dashboard-ui/components/imagedownloader/imagedownloader.js b/dashboard-ui/components/imagedownloader/imagedownloader.js index d6f5650f69..5b115347cc 100644 --- a/dashboard-ui/components/imagedownloader/imagedownloader.js +++ b/dashboard-ui/components/imagedownloader/imagedownloader.js @@ -289,7 +289,7 @@ html += ''; html += '
'; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); html += '
'; dlg.innerHTML = html; diff --git a/dashboard-ui/components/imageeditor/imageeditor.js b/dashboard-ui/components/imageeditor/imageeditor.js index 4823e6251d..d708e0ba8d 100644 --- a/dashboard-ui/components/imageeditor/imageeditor.js +++ b/dashboard-ui/components/imageeditor/imageeditor.js @@ -262,7 +262,7 @@ html += ''; html += '
'; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); html += '
'; dlg.innerHTML = html; diff --git a/dashboard-ui/components/imageuploader/imageuploader.js b/dashboard-ui/components/imageuploader/imageuploader.js index f45ab2c1e7..8c1f5b0a53 100644 --- a/dashboard-ui/components/imageuploader/imageuploader.js +++ b/dashboard-ui/components/imageuploader/imageuploader.js @@ -154,7 +154,7 @@ html += ''; html += '
'; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); html += '
'; dlg.innerHTML = html; diff --git a/dashboard-ui/components/itemidentifier/itemidentifier.js b/dashboard-ui/components/itemidentifier/itemidentifier.js index 3c46e12d2e..28c15d2cde 100644 --- a/dashboard-ui/components/itemidentifier/itemidentifier.js +++ b/dashboard-ui/components/itemidentifier/itemidentifier.js @@ -295,7 +295,7 @@ dlg.classList.add('background-theme-b'); var html = ''; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); @@ -361,7 +361,7 @@ dlg.classList.add('background-theme-a'); var html = ''; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); diff --git a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js index 78c8571616..37b396b24b 100644 --- a/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js +++ b/dashboard-ui/components/medialibrarycreator/medialibrarycreator.js @@ -215,7 +215,7 @@ html += ''; html += '
'; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); html += '
'; dlg.innerHTML = html; diff --git a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js index 9b75696eb9..237061340e 100644 --- a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js +++ b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js @@ -169,7 +169,7 @@ html += ''; html += '
'; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); html += '
'; dlg.innerHTML = html; diff --git a/dashboard-ui/components/metadataeditor/metadataeditor.js b/dashboard-ui/components/metadataeditor/metadataeditor.js index 1ed6d4eaff..a6415e8d40 100644 --- a/dashboard-ui/components/metadataeditor/metadataeditor.js +++ b/dashboard-ui/components/metadataeditor/metadataeditor.js @@ -1232,7 +1232,7 @@ var html = ''; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); @@ -1267,7 +1267,7 @@ var template = this.response; - elem.innerHTML = Globalize.translateHtml(template); + elem.innerHTML = Globalize.translateDocument(template); elem.querySelector('.btnCancel').classList.add('hide'); diff --git a/dashboard-ui/components/metadataeditor/personeditor.js b/dashboard-ui/components/metadataeditor/personeditor.js index bba52e65a5..6e20fa4209 100644 --- a/dashboard-ui/components/metadataeditor/personeditor.js +++ b/dashboard-ui/components/metadataeditor/personeditor.js @@ -23,7 +23,7 @@ var html = ''; var submitted = false; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); diff --git a/dashboard-ui/components/recordingcreator/recordingcreator.js b/dashboard-ui/components/recordingcreator/recordingcreator.js index dacf4e04df..f0a2051ba6 100644 --- a/dashboard-ui/components/recordingcreator/recordingcreator.js +++ b/dashboard-ui/components/recordingcreator/recordingcreator.js @@ -346,7 +346,7 @@ var html = ''; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); dlg.innerHTML = html; document.body.appendChild(dlg); diff --git a/dashboard-ui/components/subtitleeditor/subtitleeditor.js b/dashboard-ui/components/subtitleeditor/subtitleeditor.js index 1139cf3ab1..6ad914a2a6 100644 --- a/dashboard-ui/components/subtitleeditor/subtitleeditor.js +++ b/dashboard-ui/components/subtitleeditor/subtitleeditor.js @@ -370,7 +370,7 @@ html += ''; html += '
'; - html += Globalize.translateHtml(template); + html += Globalize.translateDocument(template); html += '
'; dlg.innerHTML = html; diff --git a/dashboard-ui/components/tvguide/tvguide.js b/dashboard-ui/components/tvguide/tvguide.js index 644454e1f4..0bfd2fe335 100644 --- a/dashboard-ui/components/tvguide/tvguide.js +++ b/dashboard-ui/components/tvguide/tvguide.js @@ -476,7 +476,7 @@ var template = this.response; var tabContent = options.element; - tabContent.innerHTML = Globalize.translateHtml(template); + tabContent.innerHTML = Globalize.translateDocument(template); tabContent.querySelector('.programGrid').addEventListener('scroll', function (e) { diff --git a/dashboard-ui/scripts/livetvguideprovider.js b/dashboard-ui/scripts/livetvguideprovider.js index c9ba459a8f..26710ab12d 100644 --- a/dashboard-ui/scripts/livetvguideprovider.js +++ b/dashboard-ui/scripts/livetvguideprovider.js @@ -22,7 +22,7 @@ var html = this.response; var elem = page.querySelector('.providerTemplate'); - elem.innerHTML = Globalize.translateHtml(html); + elem.innerHTML = Globalize.translateDocument(html); $(elem).trigger('create'); init(page, type, providerId); diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 37bc6c8acf..0feb563c5d 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -33,7 +33,7 @@ var Dashboard = { html = html.substring(0, lastIndex) + html.substring(lastIndex + 3); } - return Globalize.translateHtml(html, 'core'); + return Globalize.translateDocument(html, 'core'); }, isConnectMode: function () { @@ -2145,7 +2145,7 @@ var AppInfo = {}; } function onGlobalizeInit() { - document.title = Globalize.translateHtml(document.title, 'core'); + document.title = Globalize.translateDocument(document.title, 'core'); var mainDrawerPanelContent = document.querySelector('.mainDrawerPanelContent'); @@ -2180,7 +2180,7 @@ var AppInfo = {}; MediaPlayer.init(); // Don't like having to use jQuery here, but it takes care of making sure that embedded script executes - $(mainDrawerPanelContent).html(Globalize.translateHtml(newHtml, 'core')); + $(mainDrawerPanelContent).html(Globalize.translateDocument(newHtml, 'core')); onAppReady(); }); return; diff --git a/dashboard-ui/scripts/wizardlivetvguide.js b/dashboard-ui/scripts/wizardlivetvguide.js index 9277c9f182..c9609e0440 100644 --- a/dashboard-ui/scripts/wizardlivetvguide.js +++ b/dashboard-ui/scripts/wizardlivetvguide.js @@ -49,7 +49,7 @@ }).then(function (html) { var elem = page.querySelector('.providerTemplate'); - elem.innerHTML = Globalize.translateHtml(html); + elem.innerHTML = Globalize.translateDocument(html); init(page, type); });