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

remove module reference from method calls

This commit is contained in:
dkanada 2019-02-03 02:41:16 +09:00
parent e2d975de09
commit 6ffae6cbe0
55 changed files with 434 additions and 434 deletions

View file

@ -117,7 +117,7 @@ define(['appSettings', 'events', 'browser', 'loading', 'playbackManager', 'appRo
loading.hide();
var menuOptions = {
title: globalize.translate('sharedcomponents#HeaderPlayOn'),
title: globalize.translate('HeaderPlayOn'),
items: menuItems,
positionTo: button,
@ -163,18 +163,18 @@ define(['appSettings', 'events', 'browser', 'loading', 'playbackManager', 'appRo
var menuItems = [];
menuItems.push({
name: globalize.translate('sharedcomponents#Yes'),
name: globalize.translate('Yes'),
id: 'yes'
});
menuItems.push({
name: globalize.translate('sharedcomponents#No'),
name: globalize.translate('No'),
id: 'no'
});
dialog({
buttons: menuItems,
//positionTo: positionTo,
text: globalize.translate('sharedcomponents#ConfirmEndPlayerSession', currentDeviceName)
text: globalize.translate('ConfirmEndPlayerSession', currentDeviceName)
}).then(function (id) {
switch (id) {
@ -231,7 +231,7 @@ define(['appSettings', 'events', 'browser', 'loading', 'playbackManager', 'appRo
html += '<label class="checkboxContainer">';
var checkedHtml = playbackManager.enableDisplayMirroring() ? ' checked' : '';
html += '<input type="checkbox" is="emby-checkbox" class="chkMirror"' + checkedHtml + '/>';
html += '<span>' + globalize.translate('sharedcomponents#EnableDisplayMirroring') + '</span>';
html += '<span>' + globalize.translate('EnableDisplayMirroring') + '</span>';
html += '</label>';
}
@ -239,9 +239,9 @@ define(['appSettings', 'events', 'browser', 'loading', 'playbackManager', 'appRo
html += '<div style="margin-top:1em;display:flex;justify-content: flex-end;">';
html += '<button is="emby-button" type="button" class="button-flat btnRemoteControl promptDialogButton">' + globalize.translate('sharedcomponents#HeaderRemoteControl') + '</button>';
html += '<button is="emby-button" type="button" class="button-flat btnDisconnect promptDialogButton ">' + globalize.translate('sharedcomponents#Disconnect') + '</button>';
html += '<button is="emby-button" type="button" class="button-flat btnCancel promptDialogButton">' + globalize.translate('sharedcomponents#ButtonCancel') + '</button>';
html += '<button is="emby-button" type="button" class="button-flat btnRemoteControl promptDialogButton">' + globalize.translate('HeaderRemoteControl') + '</button>';
html += '<button is="emby-button" type="button" class="button-flat btnDisconnect promptDialogButton ">' + globalize.translate('Disconnect') + '</button>';
html += '<button is="emby-button" type="button" class="button-flat btnCancel promptDialogButton">' + globalize.translate('ButtonCancel') + '</button>';
html += '</div>';
html += '</div>';