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

use shared globalize

This commit is contained in:
Luke Pulverenti 2016-03-05 13:51:19 -05:00
parent 3aefabc66b
commit ec65069323
29 changed files with 390 additions and 274 deletions

View file

@ -193,7 +193,7 @@
var html = '';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);

View file

@ -521,7 +521,7 @@
dlg.classList.add('formDialog');
dlg.classList.add('filterDialog');
dlg.innerHTML = Globalize.translateDocument(template);
dlg.innerHTML = Globalize.translateHtml(template);
setVisibility(dlg, options);
document.body.appendChild(dlg);

View file

@ -106,7 +106,7 @@
var html = '';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);

View file

@ -289,7 +289,7 @@
html += '</h2>';
html += '<div class="editorContent">';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
html += '</div>';
dlg.innerHTML = html;

View file

@ -262,7 +262,7 @@
html += '</h2>';
html += '<div class="editorContent">';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
html += '</div>';
dlg.innerHTML = html;

View file

@ -154,7 +154,7 @@
html += '</h2>';
html += '<div class="editorContent">';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
html += '</div>';
dlg.innerHTML = html;

View file

@ -295,7 +295,7 @@
dlg.classList.add('background-theme-b');
var html = '';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);
@ -361,7 +361,7 @@
dlg.classList.add('background-theme-a');
var html = '';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);

View file

@ -215,7 +215,7 @@
html += '</h2>';
html += '<div class="editorContent" style="max-width:800px;margin:auto;">';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
html += '</div>';
dlg.innerHTML = html;

View file

@ -169,7 +169,7 @@
html += '</h2>';
html += '<div class="editorContent" style="max-width:800px;margin:auto;">';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
html += '</div>';
dlg.innerHTML = html;

View file

@ -1232,7 +1232,7 @@
var html = '';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);
@ -1267,7 +1267,7 @@
var template = this.response;
elem.innerHTML = Globalize.translateDocument(template);
elem.innerHTML = Globalize.translateHtml(template);
elem.querySelector('.btnCancel').classList.add('hide');

View file

@ -23,7 +23,7 @@
var html = '';
var submitted = false;
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);

View file

@ -346,7 +346,7 @@
var html = '';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
dlg.innerHTML = html;
document.body.appendChild(dlg);

View file

@ -370,7 +370,7 @@
html += '</div>';
html += '<div class="editorContent">';
html += Globalize.translateDocument(template);
html += Globalize.translateHtml(template);
html += '</div>';
dlg.innerHTML = html;

View file

@ -476,7 +476,7 @@
var template = this.response;
var tabContent = options.element;
tabContent.innerHTML = Globalize.translateDocument(template);
tabContent.innerHTML = Globalize.translateHtml(template);
tabContent.querySelector('.programGrid').addEventListener('scroll', function (e) {