From e1902e054cd4df609e62965cc11ce629bf3954f6 Mon Sep 17 00:00:00 2001 From: Csaba Date: Wed, 1 Jun 2022 05:01:33 +0000 Subject: [PATCH 01/13] Translated using Weblate (Hungarian) Currently translated at 100.0% (125 of 125 strings) Translation: Jellyfin/Jellyfin Roku Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-roku/hu/ --- locale/hu/translations.ts | 42 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/locale/hu/translations.ts b/locale/hu/translations.ts index 6a5b1e6b..666def09 100644 --- a/locale/hu/translations.ts +++ b/locale/hu/translations.ts @@ -3267,7 +3267,7 @@ elemeket Sajátosságok Press 'OK' to Close - Press 'OK' to Close + Nyomd meg az „OK” gombot a bezáráshoz @@ -3391,5 +3391,45 @@ elemeket Save Credentials? Hitelesítő adatok mentése? + + %1 of %2 + %1 a 2% -ból + Item position and count. %1 = current item. %2 = total number of items + + + Go to episode + Ugrás az epizódra + Continue Watching Popup Menu - Navigate to the Episode Detail Page + + + Go to season + Ugrás az évadra + Continue Watching Popup Menu - Navigate to the Season Page + + + Go to series + Ugrás a sorozatra + Continue Watching Popup Menu - Navigate to the Series Detail Page + + + Set Watched + Megnézve + Button Text - When pressed, marks item as Warched + + + Set Favorite + Kedvenc hozzáadása + Button Text - When pressed, sets item as Favorite + + + Show item count in the library, and index of selected item. + Elemszám megjelenítése a könyvtárban. + Description for option in Setting Screen + + + Item Count + Elemek száma + UI -> Media Grid -> Item Count in user setting screen. + From 3247a54a56f29b727f972b826ca672454137ab0a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 1 Jun 2022 18:55:23 +0000 Subject: [PATCH 02/13] chore(deps): pin dependencies --- package-lock.json | 274 +++++++++++++++++++++++----------------------- package.json | 6 +- 2 files changed, 137 insertions(+), 143 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9bb92757..64db34d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,9 +12,9 @@ "brighterscript-formatter": "^1.6.8" }, "devDependencies": { - "@rokucommunity/bslint": "^0.7.1", - "brighterscript": "^0.51.2", - "rooibos-cli": "^1.4.0" + "@rokucommunity/bslint": "0.7.1", + "brighterscript": "0.51.2", + "rooibos-cli": "1.4.0" } }, "node_modules/@nodelib/fs.scandir": { @@ -81,6 +81,44 @@ "node": ">=8" } }, + "node_modules/@rokucommunity/bslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@rokucommunity/bslint/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/@rokucommunity/bslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, "node_modules/@rokucommunity/bslint/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", @@ -88,9 +126,9 @@ "dev": true }, "node_modules/@rokucommunity/bslint/node_modules/fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "dependencies": { "graceful-fs": "^4.2.0", @@ -101,7 +139,7 @@ "node": ">=12" } }, - "node_modules/@rokucommunity/bslint/node_modules/fs-extra/node_modules/jsonfile": { + "node_modules/@rokucommunity/bslint/node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", @@ -113,7 +151,19 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/@rokucommunity/bslint/node_modules/fs-extra/node_modules/universalify": { + "node_modules/@rokucommunity/bslint/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@rokucommunity/bslint/node_modules/universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", @@ -122,18 +172,6 @@ "node": ">= 10.0.0" } }, - "node_modules/@rokucommunity/bslint/node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@rokucommunity/bslint/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -148,32 +186,11 @@ "node": ">=8" } }, - "node_modules/@rokucommunity/bslint/node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@rokucommunity/bslint/node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } + "node_modules/@rokucommunity/bslint/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true }, "node_modules/@rokucommunity/bslint/node_modules/yargs": { "version": "15.4.1", @@ -197,24 +214,7 @@ "node": ">=8" } }, - "node_modules/@rokucommunity/bslint/node_modules/yargs/node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/@rokucommunity/bslint/node_modules/yargs/node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true - }, - "node_modules/@rokucommunity/bslint/node_modules/yargs/node_modules/yargs-parser": { + "node_modules/@rokucommunity/bslint/node_modules/yargs-parser": { "version": "18.1.3", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", @@ -1213,7 +1213,7 @@ "node_modules/brighterscript/node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "engines": { "node": ">=0.10.0" @@ -5885,6 +5885,35 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", @@ -5892,43 +5921,41 @@ "dev": true }, "fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" - }, - "dependencies": { - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" } }, "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "requires": { - "ansi-regex": "^5.0.0" + "ansi-regex": "^5.0.1" } }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -5938,28 +5965,14 @@ "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - } } }, + "y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, "yargs": { "version": "15.4.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", @@ -5977,35 +5990,16 @@ "which-module": "^2.0.0", "y18n": "^4.0.0", "yargs-parser": "^18.1.2" - }, - "dependencies": { - "cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } + } + }, + "yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" } } } @@ -6615,7 +6609,7 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true }, "is-glob": { diff --git a/package.json b/package.json index 82aadf49..d5d58d5f 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "test": "tests" }, "devDependencies": { - "@rokucommunity/bslint": "^0.7.1", - "brighterscript": "^0.51.2", - "rooibos-cli": "^1.4.0" + "@rokucommunity/bslint": "0.7.1", + "brighterscript": "0.51.2", + "rooibos-cli": "1.4.0" }, "scripts": { "validate": "npx bsc --copy-to-staging=false --create-package=false", From 60dd0202db0f8c4c26c467692e4c4b95478ce00d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 1 Jun 2022 19:49:46 +0000 Subject: [PATCH 03/13] chore(deps): update dependency brighterscript to v0.51.4 --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 64db34d3..8a2ccffe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@rokucommunity/bslint": "0.7.1", - "brighterscript": "0.51.2", + "brighterscript": "0.51.4", "rooibos-cli": "1.4.0" } }, @@ -760,9 +760,9 @@ } }, "node_modules/brighterscript": { - "version": "0.51.2", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.51.2.tgz", - "integrity": "sha512-UbXAX56vLASPn+uF3y/Bp5NsI1Nb9zzSIxiMnKhxKpMhE0ItM242vTZL5tSL8q78UfRiJmrjYEP/Slndm4u33Q==", + "version": "0.51.4", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.51.4.tgz", + "integrity": "sha512-/mxXy+fU8HM6u3B0lO8mBsgucTXgVz3dyeaVHwvF0N0MS36Q1CQWI4KliLQ8ko1uVP6Csax9ZOGCJF8hW0GcGg==", "dev": true, "dependencies": { "@rokucommunity/bslib": "^0.1.1", @@ -6471,9 +6471,9 @@ } }, "brighterscript": { - "version": "0.51.2", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.51.2.tgz", - "integrity": "sha512-UbXAX56vLASPn+uF3y/Bp5NsI1Nb9zzSIxiMnKhxKpMhE0ItM242vTZL5tSL8q78UfRiJmrjYEP/Slndm4u33Q==", + "version": "0.51.4", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.51.4.tgz", + "integrity": "sha512-/mxXy+fU8HM6u3B0lO8mBsgucTXgVz3dyeaVHwvF0N0MS36Q1CQWI4KliLQ8ko1uVP6Csax9ZOGCJF8hW0GcGg==", "dev": true, "requires": { "@rokucommunity/bslib": "^0.1.1", diff --git a/package.json b/package.json index d5d58d5f..342ce708 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "devDependencies": { "@rokucommunity/bslint": "0.7.1", - "brighterscript": "0.51.2", + "brighterscript": "0.51.4", "rooibos-cli": "1.4.0" }, "scripts": { From 72f53da6563cebb8fe1823099e4c28897ebebf76 Mon Sep 17 00:00:00 2001 From: Jimi Date: Sun, 29 May 2022 14:00:38 -0600 Subject: [PATCH 04/13] Add Quick Connect. --- .../{ConfigScene.brs => LoginScene.brs} | 17 +++-- .../{ConfigScene.xml => LoginScene.xml} | 13 +++- components/quickConnect/QuickConnect.brs | 13 ++++ components/quickConnect/QuickConnect.xml | 12 ++++ .../quickConnect/QuickConnectDialog.brs | 68 +++++++++++++++++++ .../quickConnect/QuickConnectDialog.xml | 15 ++++ locale/en_US/translations.ts | 16 +++++ source/ShowScenes.brs | 23 ++++++- source/api/userauth.brs | 46 +++++++++++++ 9 files changed, 215 insertions(+), 8 deletions(-) rename components/config/{ConfigScene.brs => LoginScene.brs} (60%) rename components/config/{ConfigScene.xml => LoginScene.xml} (67%) create mode 100644 components/quickConnect/QuickConnect.brs create mode 100644 components/quickConnect/QuickConnect.xml create mode 100644 components/quickConnect/QuickConnectDialog.brs create mode 100644 components/quickConnect/QuickConnectDialog.xml diff --git a/components/config/ConfigScene.brs b/components/config/LoginScene.brs similarity index 60% rename from components/config/ConfigScene.brs rename to components/config/LoginScene.brs index 678e60d4..00951229 100644 --- a/components/config/ConfigScene.brs +++ b/components/config/LoginScene.brs @@ -9,25 +9,32 @@ function onKeyEvent(key as string, press as boolean) as boolean list = m.top.findNode("configOptions") checkbox = m.top.findNode("onOff") - button = m.top.findNode("submit") + submit = m.top.findNode("submit") + quickConnect = m.top.findNode("quickConnect") if key = "back" m.top.backPressed = true - else if key = "down" and checkbox.focusedChild = invalid and button.focusedChild = invalid + else if key = "down" and checkbox.focusedChild = invalid and submit.focusedChild = invalid limit = list.content.getChildren(-1, 0).count() - 1 if limit = list.itemFocused checkbox.setFocus(true) return true end if - else if key = "down" and button.focusedChild = invalid - button.setFocus(true) + else if key = "down" and submit.focusedChild = invalid + submit.setFocus(true) return true - else if key = "up" and button.focusedChild <> invalid + else if key = "up" and submit.focusedChild <> invalid or quickConnect.focusedChild <> invalid checkbox.setFocus(true) return true else if key = "up" and checkbox.focusedChild <> invalid list.setFocus(true) return true + else if key = "right" and submit.focusedChild <> invalid + quickConnect.setFocus(true) + return true + else if key = "left" and quickConnect.focusedChild <> invalid + submit.setFocus(true) + return true end if return false end function diff --git a/components/config/ConfigScene.xml b/components/config/LoginScene.xml similarity index 67% rename from components/config/ConfigScene.xml rename to components/config/LoginScene.xml index dbe25b5a..15dad11f 100644 --- a/components/config/ConfigScene.xml +++ b/components/config/LoginScene.xml @@ -1,5 +1,5 @@ - +