mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix notifications query
This commit is contained in:
parent
bdefc042ed
commit
18966acf72
9 changed files with 85 additions and 79 deletions
|
@ -14,12 +14,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.186",
|
||||
"_release": "1.4.186",
|
||||
"version": "1.4.187",
|
||||
"_release": "1.4.187",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.186",
|
||||
"commit": "58f6ba7c53f72e861456632e6c278b6d9da2bf9b"
|
||||
"tag": "1.4.187",
|
||||
"commit": "37c5f8dc92395863496f97caabc402f21fb2df12"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.1",
|
||||
|
|
|
@ -71,18 +71,24 @@ define([], function () {
|
|||
}
|
||||
|
||||
var windowSize;
|
||||
function resetWindowSize() {
|
||||
windowSize = {
|
||||
innerHeight: window.innerHeight,
|
||||
innerWidth: window.innerWidth
|
||||
};
|
||||
var windowSizeEventsBound;
|
||||
function clearWindowSize() {
|
||||
console.log('clearWindowSize');
|
||||
windowSize = null;
|
||||
}
|
||||
|
||||
function getWindowSize() {
|
||||
if (!windowSize) {
|
||||
resetWindowSize();
|
||||
addEventListenerWithOptions(window, "orientationchange", resetWindowSize, { passive: true });
|
||||
addEventListenerWithOptions(window, 'resize', resetWindowSize, { passive: true });
|
||||
windowSize = {
|
||||
innerHeight: window.innerHeight,
|
||||
innerWidth: window.innerWidth
|
||||
};
|
||||
|
||||
if (!windowSizeEventsBound) {
|
||||
windowSizeEventsBound = true;
|
||||
addEventListenerWithOptions(window, "orientationchange", clearWindowSize, { passive: true });
|
||||
addEventListenerWithOptions(window, 'resize', clearWindowSize, { passive: true });
|
||||
}
|
||||
}
|
||||
|
||||
return windowSize;
|
||||
|
|
|
@ -128,7 +128,7 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
|
|||
|
||||
Recursive: true,
|
||||
Limit: 3,
|
||||
IsFolder: false,
|
||||
Filters: "IsNotFolder",
|
||||
SortBy: "DateCreated",
|
||||
SortOrder: "Descending",
|
||||
Ids: newItems.join(',')
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"SyncJobCreated": "Sync job created.",
|
||||
"LabelSyncTo": "Sync to:",
|
||||
"LabelSyncJobName": "Sync job name:",
|
||||
"LabelSyncNoTargetsHelp": "It looks like you don't currently have any apps that support sync.",
|
||||
"LabelQuality": "Quality:",
|
||||
"LearnMore": "Learn more",
|
||||
"DownloadScheduled": "Download scheduled",
|
||||
"LabelBitrateMbps": "Bitrate (Mbps):",
|
||||
"LabelProfile": "Profile:",
|
||||
"SyncUnwatchedVideosOnly": "Sync unwatched videos only",
|
||||
"AutomaticallySyncNewContent": "Automatically sync new content",
|
||||
"PleaseSelectDeviceToSyncTo": "Please select a device to sync to.",
|
||||
"LabelItemLimit": "Item limit:",
|
||||
"SyncUnwatchedVideosOnlyHelp": "Only unwatched videos will be synced, and videos will be removed from the device as they are watched.",
|
||||
"LabelItemLimitHelp": "Optional. Set a limit to the number of items that will be synced.",
|
||||
"AutomaticallySyncNewContentHelp": "New content added to this folder will be automatically synced to the device.",
|
||||
"SyncJobCreated": "Trabajo de sincronizaci\u00f3n creado.",
|
||||
"LabelSyncTo": "Sincronizar con:",
|
||||
"LabelSyncJobName": "Nombre del trabajo de sinc:",
|
||||
"LabelSyncNoTargetsHelp": "Parece que actualmente no cuentas con ninguna app que soporte sinc.",
|
||||
"LabelQuality": "Calidad:",
|
||||
"LearnMore": "Aprenda m\u00e1s",
|
||||
"DownloadScheduled": "Descarga programada",
|
||||
"LabelBitrateMbps": "Tasa de bits (Mbps):",
|
||||
"LabelProfile": "Perf\u00edl:",
|
||||
"SyncUnwatchedVideosOnly": "Sincronizar \u00fanicamente videos no vistos",
|
||||
"AutomaticallySyncNewContent": "Sincronizar autom\u00e1ticamente nuevos contenidos",
|
||||
"PleaseSelectDeviceToSyncTo": "Por favor seleccione un dispositivo con el que desea sincronizar.",
|
||||
"LabelItemLimit": "L\u00edmite de \u00cdtems:",
|
||||
"SyncUnwatchedVideosOnlyHelp": "Solamente los videos a\u00fan no vistos ser\u00e1n sincronizados, se eliminar\u00e1n los videos del dispositivo conforme \u00e9stos sean vistos.",
|
||||
"LabelItemLimitHelp": "Opcional. Establece un l\u00edmite en el n\u00famero de \u00edtems que ser\u00e1n sincronizados.",
|
||||
"AutomaticallySyncNewContentHelp": "El nuevo contenido agregado a esta carpeta sera sincronizado autom\u00e1ticamente al dispositivo.",
|
||||
"ValueSpecialEpisodeName": "Especial - {0}",
|
||||
"Share": "Compartir",
|
||||
"Add": "Agregar",
|
||||
|
@ -40,7 +40,7 @@
|
|||
"ButtonOk": "Ok",
|
||||
"ButtonCancel": "Cancelar",
|
||||
"ButtonGotIt": "Hecho",
|
||||
"ButtonRestart": "Restart",
|
||||
"ButtonRestart": "Reiniciar",
|
||||
"RecordingCancelled": "Grabaci\u00f3n cancelada.",
|
||||
"RecordingScheduled": "Grabaci\u00f3n programada.",
|
||||
"SeriesRecordingScheduled": "Grabaci\u00f3n de series programadas.",
|
||||
|
@ -264,11 +264,11 @@
|
|||
"PleaseEnterNameOrId": "Por favor introduzca un nombre o un Id. externo.",
|
||||
"MessageItemSaved": "\u00cdtem guardado.",
|
||||
"SearchResults": "Resultados de la b\u00fasqueda",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
"HeaderDeleteItems": "Delete Items",
|
||||
"ConfirmDeleteItems": "Deleting these items will delete them from both the file system and your media library. Are you sure you wish to continue?",
|
||||
"PleaseRestartServerName": "Please restart Emby Server - {0}."
|
||||
"SyncToOtherDevice": "Sincronizar a otro dispositivo",
|
||||
"MakeAvailableOffline": "Hacer disponible desconectado",
|
||||
"ServerNameIsRestarting": "El Servidor Emby - {0} se esta reiniciando.",
|
||||
"ServerNameIsShuttingDown": "El Servidor Emby - {0} se esta apagando.",
|
||||
"HeaderDeleteItems": "Borrar items",
|
||||
"ConfirmDeleteItems": "Al borrar estos items ser\u00e1n eliminados tanto del sistema de archivos como de la librer\u00eda de medios. \u00bfEsta seguro que desea continuar?",
|
||||
"PleaseRestartServerName": "Por favor reinicie el Servidor Emby - {0}."
|
||||
}
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"SyncJobCreated": "Sync job created.",
|
||||
"LabelSyncTo": "Sync to:",
|
||||
"LabelSyncJobName": "Sync job name:",
|
||||
"LabelSyncNoTargetsHelp": "It looks like you don't currently have any apps that support sync.",
|
||||
"LabelQuality": "Quality:",
|
||||
"LearnMore": "Learn more",
|
||||
"DownloadScheduled": "Download scheduled",
|
||||
"LabelBitrateMbps": "Bitrate (Mbps):",
|
||||
"LabelProfile": "Profile:",
|
||||
"SyncUnwatchedVideosOnly": "Sync unwatched videos only",
|
||||
"AutomaticallySyncNewContent": "Automatically sync new content",
|
||||
"PleaseSelectDeviceToSyncTo": "Please select a device to sync to.",
|
||||
"LabelItemLimit": "Item limit:",
|
||||
"SyncUnwatchedVideosOnlyHelp": "Only unwatched videos will be synced, and videos will be removed from the device as they are watched.",
|
||||
"LabelItemLimitHelp": "Optional. Set a limit to the number of items that will be synced.",
|
||||
"AutomaticallySyncNewContentHelp": "New content added to this folder will be automatically synced to the device.",
|
||||
"SyncJobCreated": "\u04ae\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0443 \u0436\u04b1\u043c\u044b\u0441\u044b \u0436\u0430\u0441\u0430\u043b\u0434\u044b.",
|
||||
"LabelSyncTo": "\u041e\u0441\u044b\u043c\u0435\u043d \u04af\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0443:",
|
||||
"LabelSyncJobName": "\u04ae\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0443 \u0436\u04b1\u043c\u044b\u0441\u044b\u043d\u044b\u04a3 \u0430\u0442\u044b:",
|
||||
"LabelSyncNoTargetsHelp": "\u04ae\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0443\u0434\u0456 \u049b\u043e\u043b\u0434\u0430\u0439\u0442\u044b\u043d \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430 \u0442\u0430\u0431\u044b\u043b\u043c\u0430\u0434\u044b.",
|
||||
"LabelQuality": "\u0421\u0430\u043f\u0430\u0441\u044b:",
|
||||
"LearnMore": "\u041a\u04e9\u0431\u0456\u0440\u0435\u043a \u0431\u0456\u043b\u0443",
|
||||
"DownloadScheduled": "\u0416\u04af\u043a\u0442\u0435\u0443 \u0436\u043e\u0441\u043f\u0430\u0440\u043b\u0430\u0493\u0430\u043d",
|
||||
"LabelBitrateMbps": "\u049a\u0430\u0440\u049b\u044b\u043d\u044b (\u041c\u0431\u0438\u0442\/\u0441):",
|
||||
"LabelProfile": "\u041f\u0440\u043e\u0444\u0430\u0439\u043b:",
|
||||
"SyncUnwatchedVideosOnly": "\u049a\u0430\u0440\u0430\u043b\u043c\u0430\u0493\u0430\u043d \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u0440\u0434\u0456 \u04af\u043d\u0434-\u0456\u0440\u0443",
|
||||
"AutomaticallySyncNewContent": "\u0416\u0430\u04a3\u0430 \u043c\u0430\u0437\u043c\u04b1\u043d\u0434\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0442\u044b \u0442\u04af\u0440\u0434\u0435 \u04af\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0443",
|
||||
"PleaseSelectDeviceToSyncTo": "\u04ae\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0456\u043b\u0435\u0442\u0456\u043d \u049b\u04b1\u0440\u044b\u043b\u0493\u044b\u043d\u044b \u0442\u0430\u04a3\u0434\u0430\u04a3\u044b\u0437.",
|
||||
"LabelItemLimit": "\u0422\u0430\u0440\u043c\u0430\u049b\u0442\u0430\u0440 \u0448\u0435\u0433\u0456:",
|
||||
"SyncUnwatchedVideosOnlyHelp": "\u0422\u0435\u043a \u049b\u0430\u043d\u0430 \u049b\u0430\u0440\u0430\u043b\u043c\u0430\u0493\u0430\u043d \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u0440 \u04af\u043d\u0434-\u0434\u0456, \u049b\u0430\u0440\u0430\u043b\u0493\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u049b\u04b1\u0440-\u0434\u0430\u043d \u0430\u043b\u0430\u0441\u0442\u0430\u043b\u0430\u0434\u044b.",
|
||||
"LabelItemLimitHelp": "\u041c\u0456\u043d\u0434\u0435\u0442\u0442\u0456 \u0435\u043c\u0435\u0441: \u04ae\u043d\u0434-\u0442\u0456\u043d \u0442\u0430\u0440\u043c\u0430\u049b\u0442\u0430\u0440 \u0441\u0430\u043d\u044b \u0448\u0435\u0433\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u044b\u04a3\u044b\u0437.",
|
||||
"AutomaticallySyncNewContentHelp": "\u041e\u0441\u044b \u049b\u0430\u043b\u0442\u0430\u0493\u0430 \u049b\u043e\u0441\u044b\u043b\u0493\u0430\u043d \u0436\u0430\u04a3\u0430 \u043c\u0430\u0437\u043c\u04b1\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0442\u044b \u0442\u04af\u0440\u0434\u0435 \u049b\u04b1\u0440-\u043c\u0435\u043d \u04af\u043d\u0434-\u0434\u0456.",
|
||||
"ValueSpecialEpisodeName": "\u0410\u0440\u043d\u0430\u0439\u044b - {0}",
|
||||
"Share": "\u041e\u0440\u0442\u0430\u049b\u0442\u0430\u0441\u0443",
|
||||
"Add": "\u04ae\u0441\u0442\u0435\u0443",
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"SyncJobCreated": "Sync job created.",
|
||||
"LabelSyncTo": "Sync to:",
|
||||
"LabelSyncJobName": "Sync job name:",
|
||||
"LabelSyncNoTargetsHelp": "It looks like you don't currently have any apps that support sync.",
|
||||
"LabelQuality": "Quality:",
|
||||
"LearnMore": "Learn more",
|
||||
"DownloadScheduled": "Download scheduled",
|
||||
"LabelBitrateMbps": "Bitrate (Mbps):",
|
||||
"LabelProfile": "Profile:",
|
||||
"SyncUnwatchedVideosOnly": "Sync unwatched videos only",
|
||||
"AutomaticallySyncNewContent": "Automatically sync new content",
|
||||
"PleaseSelectDeviceToSyncTo": "Please select a device to sync to.",
|
||||
"LabelItemLimit": "Item limit:",
|
||||
"SyncUnwatchedVideosOnlyHelp": "Only unwatched videos will be synced, and videos will be removed from the device as they are watched.",
|
||||
"LabelItemLimitHelp": "Optional. Set a limit to the number of items that will be synced.",
|
||||
"AutomaticallySyncNewContentHelp": "New content added to this folder will be automatically synced to the device.",
|
||||
"SyncJobCreated": "\u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u043e.",
|
||||
"LabelSyncTo": "\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0441:",
|
||||
"LabelSyncJobName": "\u0418\u043c\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441\u0438\u043d\u0445\u0440-\u0438\u0438:",
|
||||
"LabelSyncNoTargetsHelp": "\u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e, \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e.",
|
||||
"LabelQuality": "\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e:",
|
||||
"LearnMore": "\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...",
|
||||
"DownloadScheduled": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0430",
|
||||
"LabelBitrateMbps": "\u041f\u043e\u0442\u043e\u043a\u043e\u0432\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u041c\u0431\u0438\u0442\/\u0441:",
|
||||
"LabelProfile": "\u041f\u0440\u043e\u0444\u0438\u043b\u044c:",
|
||||
"SyncUnwatchedVideosOnly": "\u0421\u0438\u043d\u0445\u0440-\u0442\u044c \u043d\u0435\u043f\u0440\u043e\u0441\u043c-\u044b\u0435 \u0432\u0438\u0434\u0435\u043e",
|
||||
"AutomaticallySyncNewContent": "\u0421\u0438\u043d\u0445\u0440-\u0442\u044c \u043d\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435",
|
||||
"PleaseSelectDeviceToSyncTo": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438.",
|
||||
"LabelItemLimit": "\u041f\u0440\u0435\u0434\u0435\u043b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432:",
|
||||
"SyncUnwatchedVideosOnlyHelp": "\u0421\u0438\u043d\u0445\u0440-\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u043c-\u044b\u0435 \u0432\u0438\u0434\u0435\u043e, \u0430 \u043f\u0440\u043e\u0441\u043c-\u044b\u0435 \u0438\u0437\u044b\u043c\u0430\u044e\u0442\u0441\u044f \u0441 \u0443\u0441\u0442\u0440-\u0432\u0430.",
|
||||
"LabelItemLimitHelp": "\u041d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e. \u041f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u0438\u043d\u0445\u0440-\u0435\u043c\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.",
|
||||
"AutomaticallySyncNewContentHelp": "\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0435 \u0432 \u044d\u0442\u0443 \u043f\u0430\u043f\u043a\u0443, \u0430\u0432\u0442\u043e-\u043a\u0438 \u0441\u0438\u043d\u0445\u0440-\u0442\u0441\u044f \u0441 \u0443\u0441\u0442\u0440-\u043e\u043c.",
|
||||
"ValueSpecialEpisodeName": "\u0421\u043f\u0435\u0446\u044d\u043f\u0438\u0437\u043e\u0434 - {0}",
|
||||
"Share": "\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",
|
||||
"Add": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c",
|
||||
|
|
|
@ -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.10",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.10",
|
||||
"commit": "f4e146da4982ff96bb25db85290c09e8de4ec734"
|
||||
},
|
||||
"_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"
|
||||
}
|
|
@ -27,14 +27,14 @@
|
|||
},
|
||||
"main": "iron-meta.html",
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/PolymerElements/iron-meta",
|
||||
"homepage": "https://github.com/polymerelements/iron-meta",
|
||||
"_release": "1.1.2",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.1.2",
|
||||
"commit": "bae96531b63ea6d4ce982f5592248aea849c0f5a"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/iron-meta.git",
|
||||
"_source": "git://github.com/polymerelements/iron-meta.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "PolymerElements/iron-meta"
|
||||
"_originalSource": "polymerelements/iron-meta"
|
||||
}
|
|
@ -32,14 +32,14 @@
|
|||
"iron-component-page": "polymerElements/iron-component-page#^1.1.6"
|
||||
},
|
||||
"private": true,
|
||||
"homepage": "https://github.com/Polymer/polymer",
|
||||
"homepage": "https://github.com/polymer/polymer",
|
||||
"_release": "1.6.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.6.1",
|
||||
"commit": "1f197d9d7874b1e5808b2a5c26f34446a7d912fc"
|
||||
},
|
||||
"_source": "git://github.com/Polymer/polymer.git",
|
||||
"_target": "^1.2.0",
|
||||
"_originalSource": "Polymer/polymer"
|
||||
"_source": "git://github.com/polymer/polymer.git",
|
||||
"_target": "^1.1.0",
|
||||
"_originalSource": "polymer/polymer"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue