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

@ -76,8 +76,8 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
case 'ServerUpdateNeeded':
require(['alert'], function (alert) {
alert({
text: globalize.translate('sharedcomponents#ServerUpdateNeeded', 'https://github.com/jellyfin/jellyfin'),
html: globalize.translate('sharedcomponents#ServerUpdateNeeded', '<a href="https://github.com/jellyfin/jellyfin">https://github.com/jellyfin/jellyfin</a>')
text: globalize.translate('ServerUpdateNeeded', 'https://github.com/jellyfin/jellyfin'),
html: globalize.translate('ServerUpdateNeeded', '<a href="https://github.com/jellyfin/jellyfin">https://github.com/jellyfin/jellyfin</a>')
}).then(function () {
appRouter.showSelectServer();
});
@ -231,7 +231,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
// Bounce to the login screen, but not if a password entry fails, obviously
if (!isCurrentAllowed) {
showForcedLogoutMessage(globalize.translate('sharedcomponents#AccessRestrictedTryAgainLater'));
showForcedLogoutMessage(globalize.translate('AccessRestrictedTryAgainLater'));
appRouter.showLocalLogin(apiClient.serverId());
}