mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update translations
This commit is contained in:
parent
bbe70b8d3b
commit
44ec93d16d
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
define(["apphost"],function(appHost){"use strict";function getDisplayName(item,options){if(!item)throw new Error("null item passed into getDisplayName");options=options||{},"Timer"===item.Type&&(item=item.ProgramInfo||item);var name=("Program"!==item.Type&&"Recording"!==item.Type||!item.IsSeries&&!item.EpisodeTitle?item.Name:item.EpisodeTitle)||"";if("TvChannel"===item.Type)return item.Number?item.Number+" "+name:name;if("Episode"===item.Type&&0===item.ParentIndexNumber)name=Globalize.translate("sharedcomponents#ValueSpecialEpisodeName",name);else if(("Episode"===item.Type||"Program"===item.Type)&&null!=item.IndexNumber&&null!=item.ParentIndexNumber&&options.includeIndexNumber!==!1){var displayIndexNumber=item.IndexNumber,number=displayIndexNumber;options.includeParentInfo!==!1&&(number="S"+item.ParentIndexNumber+", E"+number),item.IndexNumberEnd&&(displayIndexNumber=item.IndexNumberEnd,number+="-"+displayIndexNumber),number&&(name=name?number+" - "+name:number)}return name}function supportsAddingToCollection(item){if("Timer"===item.Type||"SeriesTimer"===item.Type)return!1;var invalidTypes=["Person","Genre","MusicGenre","Studio","GameGenre","BoxSet","Playlist","UserView","CollectionFolder","Audio","TvChannel","Program","MusicAlbum","Timer"];return("Recording"!==item.Type||"Completed"===item.Status)&&(!item.CollectionType&&invalidTypes.indexOf(item.Type)===-1&&"Photo"!==item.MediaType)}function supportsAddingToPlaylist(item){return"Program"!==item.Type&&("TvChannel"!==item.Type&&("Timer"!==item.Type&&("SeriesTimer"!==item.Type&&(("Recording"!==item.Type||"Completed"===item.Status)&&(item.MediaType||item.IsFolder||"Genre"===item.Type||"MusicGenre"===item.Type||"MusicArtist"===item.Type)))))}function canEdit(user,item){var itemType=item.Type;return"UserRootFolder"!==itemType&&"UserView"!==itemType&&("Program"!==itemType&&(("Recording"!==item.Type||"Completed"===item.Status)&&user.Policy.IsAdministrator))}function isLocalItem(item){return!(!item||!item.Id||0!==item.Id.indexOf("local"))}return{getDisplayName:getDisplayName,supportsAddingToCollection:supportsAddingToCollection,supportsAddingToPlaylist:supportsAddingToPlaylist,isLocalItem:isLocalItem,canIdentify:function(user,itemType){return!("Movie"!==itemType&&"Trailer"!==itemType&&"Series"!==itemType&&"Game"!==itemType&&"BoxSet"!==itemType&&"Person"!==itemType&&"Book"!==itemType&&"MusicAlbum"!==itemType&&"MusicArtist"!==itemType||!user.Policy.IsAdministrator)},canEdit:canEdit,canEditImages:function(user,item){var itemType=item.Type;return"UserView"===itemType?!!user.Policy.IsAdministrator:("Recording"!==item.Type||"Completed"===item.Status)&&("Timer"!==itemType&&"SeriesTimer"!==itemType&&canEdit(user,item))},canSync:function(user,item){return!(user&&!user.Policy.EnableSync)&&item.SupportsSync},canShare:function(user,item){return"Program"!==item.Type&&("TvChannel"!==item.Type&&("Timer"!==item.Type&&("SeriesTimer"!==item.Type&&(("Recording"!==item.Type||"Completed"===item.Status)&&(user.Policy.EnablePublicSharing&&appHost.supports("sharing"))))))},enableDateAddedDisplay:function(item){return!item.IsFolder&&item.MediaType&&"Program"!==item.Type&&"TvChannel"!==item.Type&&"Trailer"!==item.Type}}});
|
||||
define(["apphost"],function(appHost){"use strict";function getDisplayName(item,options){if(!item)throw new Error("null item passed into getDisplayName");options=options||{},"Timer"===item.Type&&(item=item.ProgramInfo||item);var name=("Program"!==item.Type&&"Recording"!==item.Type||!item.IsSeries&&!item.EpisodeTitle?item.Name:item.EpisodeTitle)||"";if("TvChannel"===item.Type)return item.Number?item.Number+" "+name:name;if("Episode"===item.Type&&0===item.ParentIndexNumber)name=Globalize.translate("sharedcomponents#ValueSpecialEpisodeName",name);else if(("Episode"===item.Type||"Program"===item.Type)&&null!=item.IndexNumber&&null!=item.ParentIndexNumber&&options.includeIndexNumber!==!1){var displayIndexNumber=item.IndexNumber,number=displayIndexNumber;options.includeParentInfo!==!1&&(number="S"+item.ParentIndexNumber+", E"+number),item.IndexNumberEnd&&(displayIndexNumber=item.IndexNumberEnd,number+="-"+displayIndexNumber),number&&(name=name?number+" - "+name:number)}return name}function supportsAddingToCollection(item){if("Timer"===item.Type||"SeriesTimer"===item.Type)return!1;var invalidTypes=["Person","Genre","MusicGenre","Studio","GameGenre","BoxSet","Playlist","UserView","CollectionFolder","Audio","TvChannel","Program","MusicAlbum","Timer"];return("Recording"!==item.Type||"Completed"===item.Status)&&(!item.CollectionType&&invalidTypes.indexOf(item.Type)===-1&&"Photo"!==item.MediaType)}function supportsAddingToPlaylist(item){return"Program"!==item.Type&&("TvChannel"!==item.Type&&("Timer"!==item.Type&&("SeriesTimer"!==item.Type&&(("Recording"!==item.Type||"Completed"===item.Status)&&(item.MediaType||item.IsFolder||"Genre"===item.Type||"MusicGenre"===item.Type||"MusicArtist"===item.Type)))))}function canEdit(user,item){var itemType=item.Type;return"UserRootFolder"!==itemType&&"UserView"!==itemType&&("Program"!==itemType&&(("Recording"!==item.Type||"Completed"===item.Status)&&user.Policy.IsAdministrator))}function isLocalItem(item){return!(!item||!item.Id||0!==item.Id.indexOf("local"))}return{getDisplayName:getDisplayName,supportsAddingToCollection:supportsAddingToCollection,supportsAddingToPlaylist:supportsAddingToPlaylist,isLocalItem:isLocalItem,canIdentify:function(user,itemType){return!("Movie"!==itemType&&"Trailer"!==itemType&&"Series"!==itemType&&"Game"!==itemType&&"BoxSet"!==itemType&&"Person"!==itemType&&"Book"!==itemType&&"MusicAlbum"!==itemType&&"MusicArtist"!==itemType||!user.Policy.IsAdministrator)},canEdit:canEdit,canEditImages:function(user,item){var itemType=item.Type;return"UserView"===itemType?!!user.Policy.IsAdministrator:("Recording"!==item.Type||"Completed"===item.Status)&&("Timer"!==itemType&&"SeriesTimer"!==itemType&&canEdit(user,item))},canSync:function(user,item){return!(user&&!user.Policy.EnableContentDownloading)&&item.SupportsSync},canShare:function(user,item){return"Program"!==item.Type&&("TvChannel"!==item.Type&&("Timer"!==item.Type&&("SeriesTimer"!==item.Type&&(("Recording"!==item.Type||"Completed"===item.Status)&&(user.Policy.EnablePublicSharing&&appHost.supports("sharing"))))))},enableDateAddedDisplay:function(item){return!item.IsFolder&&item.MediaType&&"Program"!==item.Type&&"TvChannel"!==item.Type&&"Trailer"!==item.Type}}});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "\u00cdtem desat.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sincronitza a un altre dispositiu",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Pros\u00edm, zadejte n\u00e1zev nebo extern\u00ed Id.",
|
||||
"MessageItemSaved": "Polo\u017eka ulo\u017eena.",
|
||||
"SearchResults": "V\u00fdsledky vyhled\u00e1v\u00e1n\u00ed",
|
||||
"SyncToOtherDevice": "Synchronizovat na dal\u0161\u00ed za\u0159\u00edzen\u00ed",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Zp\u0159\u00edstupnit offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} je restartov\u00e1n.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} je vyp\u00edn\u00e1n.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Indtast venligst et navn eller eksternt Id.",
|
||||
"MessageItemSaved": "Element gemt.",
|
||||
"SearchResults": "S\u00f8geresultater",
|
||||
"SyncToOtherDevice": "Synk til anden enhed",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "G\u00f8r tilg\u00e6ngelig offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} genstarter.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} lukker ned.",
|
||||
|
@ -48,7 +48,7 @@
|
||||
"HeaderOfflineDownloads": "Offline Medien",
|
||||
"HeaderOfflineDownloadsDescription": "Lade Medien auf deine Ger\u00e4te herunter um sie einfach offline zu nutzen.",
|
||||
"CloudSyncFeatureDescription": "Synchronisiere deine Medien in die Cloud f\u00fcr ein Backup, eine Archivierung und Konvertierung.",
|
||||
"DvrFeatureDescription": "Schedule individual Live TV recordings, series recordings, and more with Emby DVR.",
|
||||
"DvrFeatureDescription": "Plane individuelle Aufnahmen von Live-TV, Serien und mehr mit Emby DVR.",
|
||||
"ButtonCancelSyncJob": "Download abbrechen",
|
||||
"CancelSyncJobConfirmation": "Der Abbruch der Synchronisation wird bereits heruntergeladene Medien bei der n\u00e4chsten Synchronisation vom Ger\u00e4t l\u00f6schen. M\u00f6chtest du wirklich fortfahren?",
|
||||
"CinemaModeFeatureDescription": "Der Cinema Mode bringt das richtige Kinogef\u00fchl mit Trailern und eigenen Intros vor dem Hauptfilm.",
|
||||
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Bitte gib einen Namen oder eine externe Id an.",
|
||||
"MessageItemSaved": "Element gespeichert",
|
||||
"SearchResults": "Suchergebnisse",
|
||||
"SyncToOtherDevice": "Mit einem anderen Ger\u00e4t synchronisieren",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Offline verf\u00fcgbar machen",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} startet neu.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} f\u00e4hrt herunter.",
|
||||
@ -430,7 +430,7 @@
|
||||
"HeaderLibraryFolders": "Bibliotheksverzeichnisse",
|
||||
"HeaderLandingScreens": "Einstiegsbildschirme",
|
||||
"LandingScreensHelp": "W\u00e4hle den Standard-Einstiegsbildschirm bei Klick auf eine Bibliothek.",
|
||||
"HeaderTermsOfPurchase": "Terms of Purchase",
|
||||
"PrivacyPolicy": "Privacy policy",
|
||||
"TermsOfUse": "Terms of use"
|
||||
"HeaderTermsOfPurchase": "Bestellungsbedingungen",
|
||||
"PrivacyPolicy": "Datenschutzbestimmungen",
|
||||
"TermsOfUse": "Nutzungsbedingungen"
|
||||
}
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external ID.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Por favor introduzca un nombre o id externo.",
|
||||
"MessageItemSaved": "\u00cdtem guardado.",
|
||||
"SearchResults": "Resultados de la b\u00fasqueda",
|
||||
"SyncToOtherDevice": "Sincronizar a otro dispositivo",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Hacer disponible sin conexi\u00f3n",
|
||||
"ServerNameIsRestarting": "El Servidor Emby - {0} se esta reiniciando.",
|
||||
"ServerNameIsShuttingDown": "El Servidor Emby - {0} se esta apagando.",
|
||||
@ -431,6 +431,6 @@
|
||||
"HeaderLandingScreens": "Pantallas de Llegada",
|
||||
"LandingScreensHelp": "Seleccione la pantalla de llegada por defecto al dar clic sobre una biblioteca.",
|
||||
"HeaderTermsOfPurchase": "T\u00e9rminos de Compra",
|
||||
"PrivacyPolicy": "Privacy policy",
|
||||
"TermsOfUse": "Terms of use"
|
||||
"PrivacyPolicy": "Pol\u00edtica de privacidad",
|
||||
"TermsOfUse": "T\u00e9rminos de uso"
|
||||
}
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Introduzca un nombre o un identificador externo.",
|
||||
"MessageItemSaved": "Elemento grabado.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Veuillez saisir un nom ou un identifiant externe.",
|
||||
"MessageItemSaved": "Item sauvegard\u00e9.",
|
||||
"SearchResults": "R\u00e9sultats de la recherche",
|
||||
"SyncToOtherDevice": "Sync vers un autre appareil",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Rendre disponible hors connexion",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} est red\u00e9marr\u00e9.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} est arr\u00eater.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "\u05d4\u05d6\u05df \u05e9\u05dd \u05d0\u05d5 \u05de\u05d6\u05d4\u05d4 \u05d7\u05d9\u05e6\u05d5\u05e0\u05d9.",
|
||||
"MessageItemSaved": "\u05d4\u05e4\u05e8\u05d9\u05d8 \u05e0\u05e9\u05de\u05e8.",
|
||||
"SearchResults": "\u05ea\u05d5\u05e6\u05d0\u05d5\u05ea \u05d7\u05d9\u05e4\u05d5\u05e9",
|
||||
"SyncToOtherDevice": "\u05e1\u05e0\u05db\u05e8\u05df \u05dc\u05de\u05db\u05e9\u05d9\u05e8 \u05d0\u05d7\u05e8",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "\u05d4\u05e4\u05d5\u05da \u05dc\u05d6\u05de\u05d9\u05df \u05d1\u05de\u05e6\u05d1 \u05dc\u05d0 \u05de\u05e7\u05d5\u05d5\u05df",
|
||||
"ServerNameIsRestarting": "\u05e9\u05e8\u05ea Emby - {0} \u05de\u05d5\u05e4\u05e2\u05dc \u05de\u05d7\u05d3\u05e9.",
|
||||
"ServerNameIsShuttingDown": "\u05e9\u05e8\u05ea Emby - {0} \u05e0\u05db\u05d1\u05d4.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Unesite naziv ili vanjski Id.",
|
||||
"MessageItemSaved": "Stavka je snimljena.",
|
||||
"SearchResults": "Rezultati pretra\u017eivanja",
|
||||
"SyncToOtherDevice": "Sinkronizacija na druge ure\u0111aje",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Dostupno izvanmre\u017eno",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} se ponovo pokre\u0107e.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} se gasi.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} \u00fajraindul.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Per favore inserisci un nome o un id esterno.",
|
||||
"MessageItemSaved": "Elemento salvato.",
|
||||
"SearchResults": "Risultati della Ricerca",
|
||||
"SyncToOtherDevice": "Invia ad un altro dispositivo",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Rendi disponibile offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} si sta riavviando.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} si sta arrestando.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "\u0410\u0442\u044b\u043d \u043d\u0435\u043c\u0435\u0441\u0435 \u0441\u044b\u0440\u0442\u049b\u044b ID \u0435\u043d\u0433\u0456\u0437\u0456\u04a3\u0456\u0437.",
|
||||
"MessageItemSaved": "\u0422\u0430\u0440\u043c\u0430\u049b \u0441\u0430\u049b\u0442\u0430\u043b\u0434\u044b.",
|
||||
"SearchResults": "\u0406\u0437\u0434\u0435\u0443 \u043d\u04d9\u0442\u0438\u0436\u0435\u043b\u0435\u0440\u0456",
|
||||
"SyncToOtherDevice": "\u0411\u0430\u0441\u049b\u0430 \u049b\u04b1\u0440\u044b\u043b\u0493\u044b\u043c\u0435\u043d \u04af\u043d\u0434\u0435\u0441\u0442\u0456\u0440\u0443",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "\u0414\u0435\u0440\u0431\u0435\u0441 \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0435\u0442\u0443",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} \u049b\u0430\u0439\u0442\u0430 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0443\u0434\u0430.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} \u0436\u04b1\u043c\u044b\u0441\u044b\u043d \u0430\u044f\u049b\u0442\u0430\u0443\u0434\u0430.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "\ud56d\ubaa9\uc774 \uc800\uc7a5\ub418\uc5c8\uc2b5\ub2c8\ub2e4.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "\u012eveskite vard\u0105 arba i\u0161orin\u012f ID.",
|
||||
"MessageItemSaved": "Elementas i\u0161saugotas.",
|
||||
"SearchResults": "Paie\u0161kos rezultatai",
|
||||
"SyncToOtherDevice": "Sinchronizuoti \u012f kit\u0105 \u012frengin\u012f",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "\u012egalinti \u017ei\u016br\u0117jim\u0105 neprisijungus",
|
||||
"ServerNameIsRestarting": "Emby Serveris - {0} leid\u017eiamas i\u0161 naujo.",
|
||||
"ServerNameIsShuttingDown": "Emby Serveris - {0} i\u0161sijungia.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Vennligst skriv ett navn eller en ekstern id.",
|
||||
"MessageItemSaved": "Element lagret.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Voer een naam of een externe Id in",
|
||||
"MessageItemSaved": "Item opgeslagen.",
|
||||
"SearchResults": "Zoekresultaten",
|
||||
"SyncToOtherDevice": "Synchroniseren met een ander apparaat",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Maak offline beschikbaar",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is opnieuw aan het opstarten.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is aan het afsluiten.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Prosz\u0119 wprowad\u017a nazw\u0119 lub zewn\u0119trzne Id.",
|
||||
"MessageItemSaved": "Obiekt zapisany.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Por favor, digite um nome ou Id externo.",
|
||||
"MessageItemSaved": "Item salvo.",
|
||||
"SearchResults": "Resultados da Busca",
|
||||
"SyncToOtherDevice": "Sincronizar para outro dispositivo",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Disponibilizar Offline",
|
||||
"ServerNameIsRestarting": "Servidor Emby - {0} est\u00e1 reiniciando.",
|
||||
"ServerNameIsShuttingDown": "Servidor Emby - {0} est\u00e1 desligando.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Por favor, digite um nome ou Id externo.",
|
||||
"MessageItemSaved": "Item salvo.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 ID.",
|
||||
"MessageItemSaved": "\u042d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d.",
|
||||
"SearchResults": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430",
|
||||
"SyncToOtherDevice": "\u0421\u0438\u043d\u0445\u0440\u043e \u0441 \u0434\u0440. \u0443\u0441\u0442\u0440-\u043e\u043c",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Ange ett namn eller externt id.",
|
||||
"MessageItemSaved": "Objektet har sparats.",
|
||||
"SearchResults": "S\u00f6kresultat",
|
||||
"SyncToOtherDevice": "Synka till annan enhet",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "G\u00f6r tillg\u00e4nglig offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} startas om.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} st\u00e4ngs ner.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "\u8bf7\u8f93\u5165\u4e00\u4e2a\u540d\u79f0\u6216\u4e00\u4e2a\u5916\u90e8ID\u3002",
|
||||
"MessageItemSaved": "\u9879\u76ee\u5df2\u4fdd\u5b58\u3002",
|
||||
"SearchResults": "\u641c\u7d22\u7ed3\u679c",
|
||||
"SyncToOtherDevice": "\u540c\u6b65\u5230\u5176\u4ed6\u8bbe\u5907",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} \u91cd\u542f\u4e2d\u3002",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
@ -258,7 +258,7 @@
|
||||
"PleaseEnterNameOrId": "Please enter a name or an external Id.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"SearchResults": "Search Results",
|
||||
"SyncToOtherDevice": "Sync to other device",
|
||||
"DownloadToOtherDevice": "Download to other device",
|
||||
"MakeAvailableOffline": "Make available offline",
|
||||
"ServerNameIsRestarting": "Emby Server - {0} is restarting.",
|
||||
"ServerNameIsShuttingDown": "Emby Server - {0} is shutting down.",
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -99,15 +99,4 @@
|
||||
</div>
|
||||
<div is="emby-itemscontainer" id="items" class="itemsContainer padded-left padded-right vertical-wrap"></div>
|
||||
</div>
|
||||
<div class="pageTabContent" id="foldersTab" data-index="6">
|
||||
<div style="text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;padding:0 .5em 1em;">
|
||||
<div class="paging"></div>
|
||||
</div>
|
||||
|
||||
<div is="emby-itemscontainer" class="itemsContainer padded-left padded-right vertical-wrap">
|
||||
</div>
|
||||
<div style="text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;padding:.7em .5em;">
|
||||
<div class="paging"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
define(["events","libraryBrowser","imageLoader","cardBuilder","loading"],function(events,libraryBrowser,imageLoader,cardBuilder,loading){"use strict";return function(view,params,tabContent){function getPageData(context){var key=getSavedQueryKey(context),pageData=data[key];return pageData||(pageData=data[key]={query:{SortBy:"SortName",SortOrder:"Ascending",Fields:"PrimaryImageAspectRatio,SortName",StartIndex:0,ImageTypeLimit:1,EnableImageTypes:"Primary,Backdrop,Banner,Thumb",Limit:LibraryBrowser.getDefaultPageSize()},view:libraryBrowser.getSavedView(key)||"Poster"},pageData.query.ParentId=params.topParentId,libraryBrowser.loadSavedQueryValues(key,pageData.query)),pageData}function getQuery(context){return getPageData(context).query}function getSavedQueryKey(context){return context.savedQueryKey||(context.savedQueryKey=libraryBrowser.getSavedQueryKey("folders")),context.savedQueryKey}function reloadItems(page){loading.show();var query=getQuery(page);ApiClient.getItems(Dashboard.getCurrentUserId(),query).then(function(result){function onNextPageClick(){query.StartIndex+=query.Limit,reloadItems(tabContent)}function onPreviousPageClick(){query.StartIndex-=query.Limit,reloadItems(tabContent)}window.scrollTo(0,0);var i,length,pagingHtml=LibraryBrowser.getQueryPagingHtml({startIndex:query.StartIndex,limit:query.Limit,totalRecordCount:result.TotalRecordCount,showLimit:!1,updatePageSizeSetting:!1,addLayoutButton:!1,sortButton:!1,filterButton:!1}),html=cardBuilder.getCardsHtml({items:result.Items,shape:"square",context:"folders",showTitle:!0,showParentTitle:!0,lazy:!0,centerText:!0,overlayPlayButton:!0}),elems=tabContent.querySelectorAll(".paging");for(i=0,length=elems.length;i<length;i++)elems[i].innerHTML=pagingHtml;for(elems=tabContent.querySelectorAll(".btnNextPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onNextPageClick);for(elems=tabContent.querySelectorAll(".btnPreviousPage"),i=0,length=elems.length;i<length;i++)elems[i].addEventListener("click",onPreviousPageClick);var itemsContainer=tabContent.querySelector(".itemsContainer");itemsContainer.innerHTML=html,imageLoader.lazyChildren(itemsContainer),libraryBrowser.saveQueryValues(getSavedQueryKey(page),query),loading.hide()})}var self=this,data={};self.getCurrentViewStyle=function(){return getPageData(tabContent).view},self.renderTab=function(){reloadItems(tabContent)},self.destroy=function(){}}});
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
define(["jQuery","loading","fnchecked"],function($,loading){"use strict";function loadUser(page,user){currentUser=user,user.Policy.IsDisabled?$(".disabledUserBanner",page).show():$(".disabledUserBanner",page).hide(),"Guest"==user.ConnectLinkType?($("#fldConnectInfo",page).hide(),$("#txtUserName",page).prop("disabled","disabled")):($("#txtUserName",page).prop("disabled","").removeAttr("disabled"),$("#fldConnectInfo",page).show()),$(".lnkEditUserPreferences",page).attr("href","mypreferencesmenu.html?userId="+user.Id),LibraryMenu.setTitle(user.Name),$("#txtUserName",page).val(user.Name),$("#txtConnectUserName",page).val(currentUser.ConnectUserName),$("#chkIsAdmin",page).checked(user.Policy.IsAdministrator),$("#chkDisabled",page).checked(user.Policy.IsDisabled),$("#chkIsHidden",page).checked(user.Policy.IsHidden),$("#chkRemoteControlSharedDevices",page).checked(user.Policy.EnableSharedDeviceControl),$("#chkEnableRemoteControlOtherUsers",page).checked(user.Policy.EnableRemoteControlOfOtherUsers),$("#chkEnableDownloading",page).checked(user.Policy.EnableContentDownloading),$("#chkManageLiveTv",page).checked(user.Policy.EnableLiveTvManagement),$("#chkEnableLiveTvAccess",page).checked(user.Policy.EnableLiveTvAccess),$("#chkEnableContentDeletion",page).checked(user.Policy.EnableContentDeletion),$("#chkDisableUserPreferences",page).checked(!user.Policy.EnableUserPreferenceAccess),$("#chkEnableMediaPlayback",page).checked(user.Policy.EnableMediaPlayback),$("#chkEnableAudioPlaybackTranscoding",page).checked(user.Policy.EnableAudioPlaybackTranscoding),$("#chkEnableVideoPlaybackTranscoding",page).checked(user.Policy.EnableVideoPlaybackTranscoding),$("#chkEnableVideoPlaybackRemuxing",page).checked(user.Policy.EnablePlaybackRemuxing),$("#chkEnableSync",page).checked(user.Policy.EnableSync),$("#chkEnableSyncTranscoding",page).checked(user.Policy.EnableSyncTranscoding),$("#chkEnableSharing",page).checked(user.Policy.EnablePublicSharing),loading.hide()}function onSaveComplete(page,user){loading.hide();var currentConnectUsername=currentUser.ConnectUserName||"",enteredConnectUsername=$("#txtConnectUserName",page).val();currentConnectUsername==enteredConnectUsername?require(["toast"],function(toast){toast(Globalize.translate("SettingsSaved"))}):require(["connectHelper"],function(connectHelper){connectHelper.updateUserLink(ApiClient,user,$("#txtConnectUserName",page).val()).then(function(){loadData(page)})})}function saveUser(user,page){user.Name=$("#txtUserName",page).val(),user.Policy.IsAdministrator=$("#chkIsAdmin",page).checked(),user.Policy.IsHidden=$("#chkIsHidden",page).checked(),user.Policy.IsDisabled=$("#chkDisabled",page).checked(),user.Policy.EnableRemoteControlOfOtherUsers=$("#chkEnableRemoteControlOtherUsers",page).checked(),user.Policy.EnableLiveTvManagement=$("#chkManageLiveTv",page).checked(),user.Policy.EnableLiveTvAccess=$("#chkEnableLiveTvAccess",page).checked(),user.Policy.EnableContentDeletion=$("#chkEnableContentDeletion",page).checked(),user.Policy.EnableUserPreferenceAccess=!$("#chkDisableUserPreferences",page).checked(),user.Policy.EnableSharedDeviceControl=$("#chkRemoteControlSharedDevices",page).checked(),user.Policy.EnableMediaPlayback=$("#chkEnableMediaPlayback",page).checked(),user.Policy.EnableAudioPlaybackTranscoding=$("#chkEnableAudioPlaybackTranscoding",page).checked(),user.Policy.EnableVideoPlaybackTranscoding=$("#chkEnableVideoPlaybackTranscoding",page).checked(),user.Policy.EnablePlaybackRemuxing=$("#chkEnableVideoPlaybackRemuxing",page).checked(),user.Policy.EnableContentDownloading=$("#chkEnableDownloading",page).checked(),user.Policy.EnableSync=$("#chkEnableSync",page).checked(),user.Policy.EnableSyncTranscoding=$("#chkEnableSyncTranscoding",page).checked(),user.Policy.EnablePublicSharing=$("#chkEnableSharing",page).checked(),ApiClient.updateUser(user).then(function(){ApiClient.updateUserPolicy(user.Id,user.Policy).then(function(){onSaveComplete(page,user)})})}function onSubmit(){var page=$(this).parents(".page");return loading.show(),getUser().then(function(result){saveUser(result,page)}),!1}function getUser(){var userId=getParameterByName("userId");return ApiClient.getUser(userId)}function loadData(page){loading.show(),getUser().then(function(user){loadUser(page,user)})}var currentUser;$(document).on("pageinit","#editUserPage",function(){$(".editUserProfileForm").off("submit",onSubmit).on("submit",onSubmit),this.querySelector(".sharingHelp").innerHTML=Globalize.translate("OptionAllowLinkSharingHelp",30)}).on("pagebeforeshow","#editUserPage",function(){var page=this;loadData(page)})});
|
||||
define(["jQuery","loading","fnchecked"],function($,loading){"use strict";function loadUser(page,user){currentUser=user,user.Policy.IsDisabled?$(".disabledUserBanner",page).show():$(".disabledUserBanner",page).hide(),"Guest"==user.ConnectLinkType?($("#fldConnectInfo",page).hide(),$("#txtUserName",page).prop("disabled","disabled")):($("#txtUserName",page).prop("disabled","").removeAttr("disabled"),$("#fldConnectInfo",page).show()),$(".lnkEditUserPreferences",page).attr("href","mypreferencesmenu.html?userId="+user.Id),LibraryMenu.setTitle(user.Name),$("#txtUserName",page).val(user.Name),$("#txtConnectUserName",page).val(currentUser.ConnectUserName),$("#chkIsAdmin",page).checked(user.Policy.IsAdministrator),$("#chkDisabled",page).checked(user.Policy.IsDisabled),$("#chkIsHidden",page).checked(user.Policy.IsHidden),$("#chkRemoteControlSharedDevices",page).checked(user.Policy.EnableSharedDeviceControl),$("#chkEnableRemoteControlOtherUsers",page).checked(user.Policy.EnableRemoteControlOfOtherUsers),$("#chkEnableDownloading",page).checked(user.Policy.EnableContentDownloading),$("#chkManageLiveTv",page).checked(user.Policy.EnableLiveTvManagement),$("#chkEnableLiveTvAccess",page).checked(user.Policy.EnableLiveTvAccess),$("#chkEnableContentDeletion",page).checked(user.Policy.EnableContentDeletion),$("#chkDisableUserPreferences",page).checked(!user.Policy.EnableUserPreferenceAccess),$("#chkEnableMediaPlayback",page).checked(user.Policy.EnableMediaPlayback),$("#chkEnableAudioPlaybackTranscoding",page).checked(user.Policy.EnableAudioPlaybackTranscoding),$("#chkEnableVideoPlaybackTranscoding",page).checked(user.Policy.EnableVideoPlaybackTranscoding),$("#chkEnableVideoPlaybackRemuxing",page).checked(user.Policy.EnablePlaybackRemuxing),$("#chkEnableSyncTranscoding",page).checked(user.Policy.EnableSyncTranscoding),$("#chkEnableSharing",page).checked(user.Policy.EnablePublicSharing),loading.hide()}function onSaveComplete(page,user){loading.hide();var currentConnectUsername=currentUser.ConnectUserName||"",enteredConnectUsername=$("#txtConnectUserName",page).val();currentConnectUsername==enteredConnectUsername?require(["toast"],function(toast){toast(Globalize.translate("SettingsSaved"))}):require(["connectHelper"],function(connectHelper){connectHelper.updateUserLink(ApiClient,user,$("#txtConnectUserName",page).val()).then(function(){loadData(page)})})}function saveUser(user,page){user.Name=$("#txtUserName",page).val(),user.Policy.IsAdministrator=$("#chkIsAdmin",page).checked(),user.Policy.IsHidden=$("#chkIsHidden",page).checked(),user.Policy.IsDisabled=$("#chkDisabled",page).checked(),user.Policy.EnableRemoteControlOfOtherUsers=$("#chkEnableRemoteControlOtherUsers",page).checked(),user.Policy.EnableLiveTvManagement=$("#chkManageLiveTv",page).checked(),user.Policy.EnableLiveTvAccess=$("#chkEnableLiveTvAccess",page).checked(),user.Policy.EnableContentDeletion=$("#chkEnableContentDeletion",page).checked(),user.Policy.EnableUserPreferenceAccess=!$("#chkDisableUserPreferences",page).checked(),user.Policy.EnableSharedDeviceControl=$("#chkRemoteControlSharedDevices",page).checked(),user.Policy.EnableMediaPlayback=$("#chkEnableMediaPlayback",page).checked(),user.Policy.EnableAudioPlaybackTranscoding=$("#chkEnableAudioPlaybackTranscoding",page).checked(),user.Policy.EnableVideoPlaybackTranscoding=$("#chkEnableVideoPlaybackTranscoding",page).checked(),user.Policy.EnablePlaybackRemuxing=$("#chkEnableVideoPlaybackRemuxing",page).checked(),user.Policy.EnableContentDownloading=$("#chkEnableDownloading",page).checked(),user.Policy.EnableSyncTranscoding=$("#chkEnableSyncTranscoding",page).checked(),user.Policy.EnablePublicSharing=$("#chkEnableSharing",page).checked(),ApiClient.updateUser(user).then(function(){ApiClient.updateUserPolicy(user.Id,user.Policy).then(function(){onSaveComplete(page,user)})})}function onSubmit(){var page=$(this).parents(".page");return loading.show(),getUser().then(function(result){saveUser(result,page)}),!1}function getUser(){var userId=getParameterByName("userId");return ApiClient.getUser(userId)}function loadData(page){loading.show(),getUser().then(function(user){loadUser(page,user)})}var currentUser;$(document).on("pageinit","#editUserPage",function(){$(".editUserProfileForm").off("submit",onSubmit).on("submit",onSubmit),this.querySelector(".sharingHelp").innerHTML=Globalize.translate("OptionAllowLinkSharingHelp",30)}).on("pagebeforeshow","#editUserPage",function(){var page=this;loadData(page)})});
|
@ -1106,7 +1106,7 @@
|
||||
"OptionEnableTranscodingThrottle": "Enable throttling",
|
||||
"OptionEnableTranscodingThrottleHelp": "Throttling will automatically adjust transcoding speed in order to minimize server cpu utilization during playback.",
|
||||
"LabelUploadSpeedLimit": "Upload speed limit (Mbps):",
|
||||
"OptionAllowSyncTranscoding": "Allow syncing that requires transcoding",
|
||||
"OptionAllowSyncTranscoding": "Allow downloading that requires transcoding",
|
||||
"HeaderPlayback": "Media Playback",
|
||||
"OptionAllowAudioPlaybackTranscoding": "Allow audio playback that requires transcoding",
|
||||
"OptionAllowVideoPlaybackTranscoding": "Allow video playback that requires transcoding",
|
||||
@ -1975,5 +1975,6 @@
|
||||
"Never": "Never",
|
||||
"EveryNDays": "Every {0} days",
|
||||
"HeaderNewDevices": "New Devices",
|
||||
"HeaderOnNow": "On Now"
|
||||
"HeaderOnNow": "On Now",
|
||||
"Downloading": "Downloading"
|
||||
}
|
||||
|
@ -53,10 +53,6 @@
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableContentDeletion" />
|
||||
<span>${OptionAllowDeleteLibraryContent}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableDownloading" />
|
||||
<span>${OptionAllowContentDownloading}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableLiveTvAccess" />
|
||||
<span>${OptionAllowBrowsingLiveTv}</span>
|
||||
@ -108,11 +104,11 @@
|
||||
</div>
|
||||
<div>
|
||||
<br />
|
||||
<h3 class="checkboxListLabel">${HeaderSync}</h3>
|
||||
<h3 class="checkboxListLabel">${Downloading}</h3>
|
||||
<div class="checkboxList paperList" style="padding:.5em 1em;">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableSync" />
|
||||
<span>${OptionAllowSyncContent}</span>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableDownloading" />
|
||||
<span>${OptionAllowContentDownloading}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableSyncTranscoding" />
|
||||
|
Loading…
Reference in New Issue
Block a user