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

update components

This commit is contained in:
Luke Pulverenti 2016-07-28 14:39:41 -04:00
parent 3b16c9d466
commit a6c9cc632b
48 changed files with 232 additions and 60 deletions

View file

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.1.67", "version": "1.1.68",
"_release": "1.1.67", "_release": "1.1.68",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.1.67", "tag": "1.1.68",
"commit": "8ec36ba7ff5e96e562a87df7cdba7dfaa6087521" "commit": "e70a2bf8680faf2b1f7ae59bf8fd97d7f969fc28"
}, },
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git", "_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "^1.1.51", "_target": "^1.1.51",

View file

@ -1249,9 +1249,9 @@
return; return;
} }
require(['connectservice', 'cryptojs-md5'], function (connectservice) { require(['cryptojs-md5'], function () {
var md5 = getConnectPasswordHash(connectservice, password); var md5 = getConnectPasswordHash(password);
ajax({ ajax({
type: "POST", type: "POST",
@ -1284,7 +1284,12 @@
}); });
}; };
self.signupForConnect = function (email, username, password, passwordConfirm) { self.signupForConnect = function (options) {
var email = options.email;
var username = options.username;
var password = options.password;
var passwordConfirm = options.passwordConfirm;
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
@ -1309,9 +1314,9 @@
return; return;
} }
require(['connectservice', 'cryptojs-md5'], function (connectservice) { require(['cryptojs-md5'], function () {
var md5 = getConnectPasswordHash(connectservice, password); var md5 = getConnectPasswordHash(password);
ajax({ ajax({
type: "POST", type: "POST",
@ -1348,9 +1353,25 @@
}); });
}; };
function getConnectPasswordHash(connectService, password) { function cleanConnectPassword(password) {
password = connectService.cleanPassword(password); password = password || '';
password = replaceAll(password, "&", "&");
password = replaceAll(password, "/", "\");
password = replaceAll(password, "!", "!");
password = replaceAll(password, "$", "$");
password = replaceAll(password, "\"", """);
password = replaceAll(password, "<", "&lt;");
password = replaceAll(password, ">", "&gt;");
password = replaceAll(password, "'", "&#39;");
return password;
}
function getConnectPasswordHash(password) {
password = cleanConnectPassword(password);
return CryptoJS.MD5(password).toString(); return CryptoJS.MD5(password).toString();
} }

View file

@ -1,26 +0,0 @@
define([], function () {
function replaceAll(str, find, replace) {
return str.split(find).join(replace);
}
return {
cleanPassword: function (password) {
password = password || '';
password = replaceAll(password, "&", "&amp;");
password = replaceAll(password, "/", "&#092;");
password = replaceAll(password, "!", "&#33;");
password = replaceAll(password, "$", "&#036;");
password = replaceAll(password, "\"", "&quot;");
password = replaceAll(password, "<", "&lt;");
password = replaceAll(password, ">", "&gt;");
password = replaceAll(password, "'", "&#39;");
return password;
}
};
});

View file

@ -14,12 +14,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.4.125", "version": "1.4.126",
"_release": "1.4.125", "_release": "1.4.126",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.4.125", "tag": "1.4.126",
"commit": "e99688474bb825e89e3c569a9a9785fc6b951a60" "commit": "1b55a0a69665c97be4bb2d60e03940615f73c7fd"
}, },
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0", "_target": "^1.2.0",

View file

@ -144,22 +144,22 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
}; };
if (status == 'completed') { if (status == 'completed') {
notification.title = globalize.translate('LabelPackageInstallCompleted').replace('{0}', installation.Name + ' ' + installation.Version); notification.title = globalize.translate('sharedcomponents#PackageInstallCompleted').replace('{0}', installation.Name + ' ' + installation.Version);
notification.vibrate = true; notification.vibrate = true;
} }
else if (status == 'cancelled') { else if (status == 'cancelled') {
notification.title = globalize.translate('LabelPackageInstallCancelled').replace('{0}', installation.Name + ' ' + installation.Version); notification.title = globalize.translate('sharedcomponents#PackageInstallCancelled').replace('{0}', installation.Name + ' ' + installation.Version);
} }
else if (status == 'failed') { else if (status == 'failed') {
notification.title = globalize.translate('LabelPackageInstallFailed').replace('{0}', installation.Name + ' ' + installation.Version); notification.title = globalize.translate('sharedcomponents#PackageInstallFailed').replace('{0}', installation.Name + ' ' + installation.Version);
notification.vibrate = true; notification.vibrate = true;
} }
else if (status == 'progress') { else if (status == 'progress') {
notification.title = globalize.translate('LabelInstallingPackage').replace('{0}', installation.Name + ' ' + installation.Version); notification.title = globalize.translate('sharedcomponents#InstallingPackage').replace('{0}', installation.Name + ' ' + installation.Version);
//notification.actions = //notification.actions =
//[ //[
// { action: 'cancel', title: globalize.translate('ButtonCancel')/*, icon: 'https://example/like.png'*/ } // { action: 'cancel', title: globalize.translate('sharedcomponents#ButtonCancel')/*, icon: 'https://example/like.png'*/ }
//]; //];
} }

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "\u0414\u043e\u0431\u0430\u0432\u0438", "Add": "\u0414\u043e\u0431\u0430\u0432\u0438",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Afegeix", "Add": "Afegeix",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "P\u0159idat", "Add": "P\u0159idat",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Del", "Share": "Del",
"Add": "Tilf\u00f8j", "Add": "Tilf\u00f8j",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Teilen", "Share": "Teilen",
"Add": "Hinzuf\u00fcgen", "Add": "Hinzuf\u00fcgen",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "\u03a0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c3\u03b5", "Add": "\u03a0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c3\u03b5",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -223,6 +223,10 @@
"GuestStar": "Guest star", "GuestStar": "Guest star",
"Producer": "Producer", "Producer": "Producer",
"Writer": "Writer", "Writer": "Writer",
"InstallingPackage": "Installing {0}",
"PackageInstallCompleted": "{0} installation completed.",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"MessageItemSaved": "Item saved." "MessageItemSaved": "Item saved."
} }

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Especial - {0}", "ValueSpecialEpisodeName": "Especial - {0}",
"Share": "Compartir", "Share": "Compartir",
"Add": "Agregar", "Add": "Agregar",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Compartir", "Share": "Compartir",
"Add": "A\u00f1adir", "Add": "A\u00f1adir",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Sp\u00e9cial - {0}", "ValueSpecialEpisodeName": "Sp\u00e9cial - {0}",
"Share": "Partager", "Share": "Partager",
"Add": "Ajouter", "Add": "Ajouter",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "\u05d4\u05d5\u05e1\u05e3", "Add": "\u05d4\u05d5\u05e1\u05e3",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Dodaj", "Add": "Dodaj",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Hozz\u00e1ad", "Add": "Hozz\u00e1ad",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Aggiungi", "Add": "Aggiungi",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "\u0410\u0440\u043d\u0430\u0439\u044b - {0}", "ValueSpecialEpisodeName": "\u0410\u0440\u043d\u0430\u0439\u044b - {0}",
"Share": "\u041e\u0440\u0442\u0430\u049b\u0442\u0430\u0441\u0443", "Share": "\u041e\u0440\u0442\u0430\u049b\u0442\u0430\u0441\u0443",
"Add": "\u04ae\u0441\u0442\u0435\u0443", "Add": "\u04ae\u0441\u0442\u0435\u0443",
@ -129,7 +133,7 @@
"HeaderConfirmRecordingCancellation": "\u0416\u0430\u0437\u0431\u0430 \u0431\u043e\u043b\u0434\u044b\u0440\u043c\u0430\u0443\u0434\u044b \u0440\u0430\u0441\u0442\u0430\u0443", "HeaderConfirmRecordingCancellation": "\u0416\u0430\u0437\u0431\u0430 \u0431\u043e\u043b\u0434\u044b\u0440\u043c\u0430\u0443\u0434\u044b \u0440\u0430\u0441\u0442\u0430\u0443",
"MessageConfirmRecordingCancellation": "\u0428\u044b\u043d\u044b\u043c\u0435\u043d \u043e\u0441\u044b \u0436\u0430\u0437\u0431\u0430\u043d\u044b \u0431\u043e\u043b\u0434\u044b\u0440\u043c\u0430\u0443 \u049b\u0430\u0436\u0435\u0442 \u043f\u0435?", "MessageConfirmRecordingCancellation": "\u0428\u044b\u043d\u044b\u043c\u0435\u043d \u043e\u0441\u044b \u0436\u0430\u0437\u0431\u0430\u043d\u044b \u0431\u043e\u043b\u0434\u044b\u0440\u043c\u0430\u0443 \u049b\u0430\u0436\u0435\u0442 \u043f\u0435?",
"Error": "\u049a\u0430\u0442\u0435", "Error": "\u049a\u0430\u0442\u0435",
"VoiceInput": "Voice Input", "VoiceInput": "\u0414\u0430\u0443\u044b\u0441\u0442\u044b\u049b \u0435\u043d\u0433\u0456\u0437\u0443",
"LabelContentType": "\u041c\u0430\u0437\u043c\u04b1\u043d \u0442\u04af\u0440\u0456:", "LabelContentType": "\u041c\u0430\u0437\u043c\u04b1\u043d \u0442\u04af\u0440\u0456:",
"LabelPath": "\u0416\u043e\u043b\u044b:", "LabelPath": "\u0416\u043e\u043b\u044b:",
"LabelTitle": "\u0410\u0442\u0430\u0443\u044b:", "LabelTitle": "\u0410\u0442\u0430\u0443\u044b:",
@ -209,14 +213,14 @@
"Images": "\u0421\u0443\u0440\u0435\u0442\u0442\u0435\u0440", "Images": "\u0421\u0443\u0440\u0435\u0442\u0442\u0435\u0440",
"Keywords": "\u041a\u0456\u043b\u0442 \u0441\u04e9\u0437\u0434\u0435\u0440", "Keywords": "\u041a\u0456\u043b\u0442 \u0441\u04e9\u0437\u0434\u0435\u0440",
"Runtime": "\u04b0\u0437\u0430\u049b\u0442\u044b\u0493\u044b", "Runtime": "\u04b0\u0437\u0430\u049b\u0442\u044b\u0493\u044b",
"ProductionLocations": "Production locations", "ProductionLocations": "\u04e8\u043d\u0434\u0456\u0440\u0443 \u043e\u0440\u044b\u043d\u0434\u0430\u0440\u044b",
"BirthLocation": "Birth location", "BirthLocation": "\u0422\u0443\u0493\u0430\u043d \u043e\u0440\u043d\u044b",
"ParentalRating": "\u0416\u0430\u0441\u0442\u0430\u0441 \u0441\u0430\u043d\u0430\u0442\u044b", "ParentalRating": "\u0416\u0430\u0441\u0442\u0430\u0441 \u0441\u0430\u043d\u0430\u0442\u044b",
"Name": "\u0410\u0442\u044b", "Name": "\u0410\u0442\u044b",
"Overview": "\u0416\u0430\u043b\u043f\u044b \u0448\u043e\u043b\u0443", "Overview": "\u0416\u0430\u043b\u043f\u044b \u0448\u043e\u043b\u0443",
"LabelType": "\u0422\u04af\u0440\u0456:", "LabelType": "\u0422\u04af\u0440\u0456:",
"LabelPersonRole": "\u0420\u04e9\u043b\u0456:", "LabelPersonRole": "\u0420\u04e9\u043b\u0456:",
"LabelPersonRoleHelp": "Example: Ice cream truck driver", "LabelPersonRoleHelp": "\u041c\u044b\u0441\u0430\u043b: \u0411\u0430\u043b\u043c\u04b1\u0437\u0434\u0430\u049b \u0444\u0443\u0440\u0433\u043e\u043d\u044b\u043d\u044b\u04a3 \u0436\u04af\u0440\u0433\u0456\u0437\u0443\u0448\u0456\u0441\u0456",
"Actor": "\u0410\u043a\u0442\u0435\u0440", "Actor": "\u0410\u043a\u0442\u0435\u0440",
"Composer": "\u041a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440", "Composer": "\u041a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440",
"Director": "\u0420\u0435\u0436\u0438\u0441\u0441\u0435\u0440", "Director": "\u0420\u0435\u0436\u0438\u0441\u0441\u0435\u0440",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "\ucd94\uac00", "Add": "\ucd94\uac00",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Spesial - {0}", "ValueSpecialEpisodeName": "Spesial - {0}",
"Share": "Del", "Share": "Del",
"Add": "Legg til", "Add": "Legg til",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installatie voltooid.",
"InstallingPackage": "Installeren van {0}",
"PackageInstallFailed": "{0} installatie is mislukt.",
"PackageInstallCancelled": "{0} installatie geannuleerd.",
"ValueSpecialEpisodeName": "Speciaal - {0}", "ValueSpecialEpisodeName": "Speciaal - {0}",
"Share": "Delen", "Share": "Delen",
"Add": "Toevoegen", "Add": "Toevoegen",
@ -121,7 +125,7 @@
"Trailer": "Trailer", "Trailer": "Trailer",
"MarkPlayed": "Markeren als Afgespeeld", "MarkPlayed": "Markeren als Afgespeeld",
"MarkUnplayed": "Markeren als Niet Afgespeeld", "MarkUnplayed": "Markeren als Niet Afgespeeld",
"GroupVersions": "Groepeer Versies", "GroupVersions": "Versies groeperen",
"PleaseSelectTwoItems": "Selecteer ten minste twee items.", "PleaseSelectTwoItems": "Selecteer ten minste twee items.",
"TheSelectedItemsWillBeGrouped": "De geselecteerde videos worden in 1 item gegroepeerd. Emby apps zullen automatisch de juiste versie selecteren op basis van het apparaat en netwerk prestaties. Weet u zeker dat u door wilt gaan?", "TheSelectedItemsWillBeGrouped": "De geselecteerde videos worden in 1 item gegroepeerd. Emby apps zullen automatisch de juiste versie selecteren op basis van het apparaat en netwerk prestaties. Weet u zeker dat u door wilt gaan?",
"TryMultiSelect": "Probeer multi-select", "TryMultiSelect": "Probeer multi-select",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Dodaj", "Add": "Dodaj",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "Instala\u00e7\u00e3o completa de {0}",
"InstallingPackage": "Instalando {0}",
"PackageInstallFailed": "Falha na instala\u00e7\u00e3o de {0}.",
"PackageInstallCancelled": "Instala\u00e7\u00e3o cancelada de {0}.",
"ValueSpecialEpisodeName": "Especial - {0}", "ValueSpecialEpisodeName": "Especial - {0}",
"Share": "Compartilhar", "Share": "Compartilhar",
"Add": "Adicionar", "Add": "Adicionar",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Especial - {0}", "ValueSpecialEpisodeName": "Especial - {0}",
"Share": "Partilhar", "Share": "Partilhar",
"Add": "Adicionar", "Add": "Adicionar",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "\u0421\u043f\u0435\u0446\u044d\u043f\u0438\u0437\u043e\u0434 - {0}", "ValueSpecialEpisodeName": "\u0421\u043f\u0435\u0446\u044d\u043f\u0438\u0437\u043e\u0434 - {0}",
"Share": "\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f", "Share": "\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",
"Add": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c", "Add": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c",
@ -129,7 +133,7 @@
"HeaderConfirmRecordingCancellation": "\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442\u043c\u0435\u043d\u044b \u0437\u0430\u043f\u0438\u0441\u0438", "HeaderConfirmRecordingCancellation": "\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442\u043c\u0435\u043d\u044b \u0437\u0430\u043f\u0438\u0441\u0438",
"MessageConfirmRecordingCancellation": "\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c?", "MessageConfirmRecordingCancellation": "\u0412\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c?",
"Error": "\u041e\u0448\u0438\u0431\u043a\u0430", "Error": "\u041e\u0448\u0438\u0431\u043a\u0430",
"VoiceInput": "Voice Input", "VoiceInput": "\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u0432\u0432\u043e\u0434",
"LabelContentType": "\u0422\u0438\u043f \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f:", "LabelContentType": "\u0422\u0438\u043f \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f:",
"LabelPath": "\u041f\u0443\u0442\u044c:", "LabelPath": "\u041f\u0443\u0442\u044c:",
"LabelTitle": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435:", "LabelTitle": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435:",
@ -209,14 +213,14 @@
"Images": "\u0420\u0438\u0441\u0443\u043d\u043a\u0438", "Images": "\u0420\u0438\u0441\u0443\u043d\u043a\u0438",
"Keywords": "\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430", "Keywords": "\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430",
"Runtime": "\u0414\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c", "Runtime": "\u0414\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c",
"ProductionLocations": "Production locations", "ProductionLocations": "\u041c\u0435\u0441\u0442\u0430 \u0441\u044a\u0451\u043c\u043e\u043a",
"BirthLocation": "Birth location", "BirthLocation": "\u041c\u0435\u0441\u0442\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f",
"ParentalRating": "\u0412\u043e\u0437\u0440. \u043a\u0430\u0442.", "ParentalRating": "\u0412\u043e\u0437\u0440. \u043a\u0430\u0442.",
"Name": "\u0418\u043c\u044f", "Name": "\u0418\u043c\u044f",
"Overview": "\u041e\u0431\u0437\u043e\u0440", "Overview": "\u041e\u0431\u0437\u043e\u0440",
"LabelType": "\u0422\u0438\u043f:", "LabelType": "\u0422\u0438\u043f:",
"LabelPersonRole": "\u0420\u043e\u043b\u044c:", "LabelPersonRole": "\u0420\u043e\u043b\u044c:",
"LabelPersonRoleHelp": "Example: Ice cream truck driver", "LabelPersonRoleHelp": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0412\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u0444\u0443\u0440\u0433\u043e\u043d\u0430 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u0449\u0438\u043a\u0430",
"Actor": "\u0410\u043a\u0442\u0451\u0440", "Actor": "\u0410\u043a\u0442\u0451\u0440",
"Composer": "\u041a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440", "Composer": "\u041a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440",
"Director": "\u0420\u0435\u0436\u0438\u0441\u0441\u0451\u0440", "Director": "\u0420\u0435\u0436\u0438\u0441\u0441\u0451\u0440",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Specialavsnitt - {0}", "ValueSpecialEpisodeName": "Specialavsnitt - {0}",
"Share": "Dela", "Share": "Dela",
"Add": "L\u00e4gg till", "Add": "L\u00e4gg till",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Ekle", "Add": "Ekle",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Add", "Add": "Add",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "Th\u00eam", "Add": "Th\u00eam",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "\u6dfb\u52a0", "Add": "\u6dfb\u52a0",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "Share", "Share": "Share",
"Add": "\u65b0\u589e", "Add": "\u65b0\u589e",

View file

@ -1,4 +1,8 @@
{ {
"PackageInstallCompleted": "{0} installation completed.",
"InstallingPackage": "Installing {0}",
"PackageInstallFailed": "{0} installation failed.",
"PackageInstallCancelled": "{0} installation cancelled.",
"ValueSpecialEpisodeName": "Special - {0}", "ValueSpecialEpisodeName": "Special - {0}",
"Share": "\u5206\u4eab", "Share": "\u5206\u4eab",
"Add": "\u6dfb\u52a0", "Add": "\u6dfb\u52a0",

View file

@ -96,7 +96,7 @@
<input is="emby-input" type="password" id="txtSignupPasswordConfirm" required="required" label="${LabelPasswordConfirm}" autocomplete="off" /> <input is="emby-input" type="password" id="txtSignupPasswordConfirm" required="required" label="${LabelPasswordConfirm}" autocomplete="off" />
</div> </div>
<div class="g-recaptcha" id="recaptchaWidget" data-sitekey="6Le2LAgTAAAAAK06Wvttt_yUnbISTy6q3Azqp9po" data-theme="dark"></div> <div class="recaptchaContainer"></div>
<br /> <br />
<button is="emby-button" type="submit" class="raised accent block"> <button is="emby-button" type="submit" class="raised accent block">

View file

@ -139,10 +139,10 @@
} }
function supportInAppSignup() { function supportInAppSignup() {
return AppInfo.isNativeApp;
return AppInfo.isNativeApp || window.location.href.toLowerCase().indexOf('https') == 0; return AppInfo.isNativeApp || window.location.href.toLowerCase().indexOf('https') == 0;
} }
var greWidgetId;
function initSignup(page) { function initSignup(page) {
if (!supportInAppSignup()) { if (!supportInAppSignup()) {
@ -153,8 +153,16 @@
return; return;
} }
require(['https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit'], function () { require(['https://www.google.com/recaptcha/api.js?render=explicit'], function () {
setTimeout(function () {
var recaptchaContainer = page.querySelector('.recaptchaContainer');
greWidgetId = grecaptcha.render(recaptchaContainer, {
'sitekey': '6Le2LAgTAAAAAK06Wvttt_yUnbISTy6q3Azqp9po',
'theme': 'dark'
});
}, 100);
}); });
} }
@ -214,7 +222,17 @@
var page = view; var page = view;
ConnectionManager.signupForConnect(page.querySelector('#txtSignupEmail', page).value, page.querySelector('#txtSignupUsername', page).value, page.querySelector('#txtSignupPassword', page).value, page.querySelector('#txtSignupPasswordConfirm', page).value).then(function () { var greResponse = greWidgetId ? grecaptcha.getResponse(greWidgetId) : null;
ConnectionManager.signupForConnect({
email: page.querySelector('#txtSignupEmail', page).value,
username: page.querySelector('#txtSignupUsername', page).value,
password: page.querySelector('#txtSignupPassword', page).value,
passwordConfirm: page.querySelector('#txtSignupPasswordConfirm', page).value,
grecaptcha: greResponse
}).then(function () {
Dashboard.alert({ Dashboard.alert({
message: Globalize.translate('MessageThankYouForConnectSignUp'), message: Globalize.translate('MessageThankYouForConnectSignUp'),

View file

@ -1347,7 +1347,6 @@ var AppInfo = {};
browser: embyWebComponentsBowerPath + "/browser", browser: embyWebComponentsBowerPath + "/browser",
inputManager: embyWebComponentsBowerPath + "/inputmanager", inputManager: embyWebComponentsBowerPath + "/inputmanager",
qualityoptions: embyWebComponentsBowerPath + "/qualityoptions", qualityoptions: embyWebComponentsBowerPath + "/qualityoptions",
connectservice: apiClientBowerPath + '/connectservice',
hammer: bowerPath + "/hammerjs/hammer.min", hammer: bowerPath + "/hammerjs/hammer.min",
pageJs: embyWebComponentsBowerPath + '/page.js/page', pageJs: embyWebComponentsBowerPath + '/page.js/page',
focusManager: embyWebComponentsBowerPath + "/focusmanager", focusManager: embyWebComponentsBowerPath + "/focusmanager",