From b8671e0269648ced67c00ed51befff3952b1dd15 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 13 Aug 2023 18:52:19 +0530 Subject: [PATCH] Added a visibility indicator --- package.json | 16 +++---- src/routes/WatchVideo.vue | 1 + src/translations/bn-IN.json | 3 ++ src/translations/en.json | 3 ++ yarn.lock | 94 ++++++++++++++++++------------------- 5 files changed, 62 insertions(+), 55 deletions(-) diff --git a/package.json b/package.json index 4582fcf..54eb95f 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "@fontsource-variable/baloo-da-2": "^5.0.5", - "@fontsource-variable/noto-naskh-arabic": "^5.0.5", - "@fontsource/material-icons-round": "^5.0.5", + "@fontsource-variable/baloo-da-2": "^5.0.8", + "@fontsource-variable/noto-naskh-arabic": "^5.0.8", + "@fontsource/material-icons-round": "^5.0.7", "@formatjs/intl-localematcher": "^0.4.0", "@mdi/js": "^7.2.96", "@mojee/file-utils": "https://cf-ipfs.com/ipfs/QmYEtpbjQqWYJDbcoixZvcccXkRFKBcTuRw5aa3hb8BWt8?filename=js-file-utils.tgz", @@ -37,12 +37,12 @@ "vue-json-viewer": "^2.2.22", "vue-meta": "^2.4.0", "vue-router": "^3.6.5", - "vuetify": "^2.7.0", + "vuetify": "^2.7.1", "vuex": "^3.6.2", "xml-js": "^1.6.11" }, "devDependencies": { - "@babel/eslint-parser": "^7.22.9", + "@babel/eslint-parser": "^7.22.10", "@vue/cli-plugin-babel": "~5.0.8", "@vue/cli-plugin-eslint": "~5.0.8", "@vue/cli-plugin-pwa": "~5.0.8", @@ -51,15 +51,15 @@ "@vue/cli-service": "~5.0.8", "@vue/eslint-config-standard": "^8.0.1", "buffer": "^6.0.3", - "eslint": "^8.46.0", + "eslint": "^8.47.0", "eslint-config-mojee-vue": "https://cf-ipfs.com/ipfs/QmTTauFj8yy8brQQ6gghe2wYCVzkT3tensqLnWDy7oieno?filename=eslint-config-mojee-vue-0.0.2.tar.gz", "eslint-plugin-import": "^2.28.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-standard": "^5.0.0", - "eslint-plugin-vue": "^9.16.1", + "eslint-plugin-vue": "^9.17.0", "lint-staged": "^13.2.3", - "sass": "~1.64.2", + "sass": "~1.65.1", "stream-browserify": "^3.0.0", "vue-cli-plugin-vuetify": "~2.5.8", "vue-template-compiler": "^2.7.14", diff --git a/src/routes/WatchVideo.vue b/src/routes/WatchVideo.vue index 82894f7..4a423c6 100644 --- a/src/routes/WatchVideo.vue +++ b/src/routes/WatchVideo.vue @@ -40,6 +40,7 @@ {{ $t('misc.lastWatchedTill', { t: lastWatchDurationH }) }} + • {{ $t('visibilities.' + video.visibility) }} diff --git a/src/translations/bn-IN.json b/src/translations/bn-IN.json index 7966ede..319ef53 100644 --- a/src/translations/bn-IN.json +++ b/src/translations/bn-IN.json @@ -8,6 +8,9 @@ "history": "দেখার ইতিহাস", "playlists": "videoএর তালিকা" }, + "visibilities": { + "unlisted": "অপ্রচারিত" + }, "counts": { "subscribers": "কেউ এই channel এর সদস্যতা নায়নি | একজন মাত্র এই channel এর সদস্যতা নিয়েছেন | {n} জন সদস্যতা নিয়েছেন", "videos": "কোনো video নেই | একটি video | {n}টি video প্রকাশন করা হয়েছে", diff --git a/src/translations/en.json b/src/translations/en.json index b50bed7..6df6215 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -8,6 +8,9 @@ "history": "Watch History", "playlists": "Playlists" }, + "visibilities": { + "unlisted": "Unlisted" + }, "counts": { "subscribers": "No subscribers | One subscriber | {n} subscribers", "videos": "No videos | One Video | {n} Videos", diff --git a/yarn.lock b/yarn.lock index 02ad8a4..404dd3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -66,10 +66,10 @@ json5 "^2.2.1" semver "^6.3.0" -"@babel/eslint-parser@^7.22.9": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.22.9.tgz#75f8aa978d1e76c87cc6f26c1ea16ae58804d390" - integrity sha512-xdMkt39/nviO/4vpVdrEYPwXCsYIXSSAr6mC7WQsNIlGnuxKyKE7GZjalcnbSWiC4OXGNNN3UQPeHfjSC6sTDA== +"@babel/eslint-parser@^7.22.10": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.22.10.tgz#bfdf3d1b32ad573fe7c1c3447e0b485e3a41fd09" + integrity sha512-0J8DNPRXQRLeR9rPaUMM3fA+RbixjnVLe/MRMYCkp3hzgsSuxCHQ8NN8xQG1wIHKJ4a1DTROTvFJdW+B5/eOsg== dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" @@ -983,10 +983,10 @@ resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.6.2.tgz#1816b5f6948029c5eaacb0703b850ee0cb37d8f8" integrity sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw== -"@eslint/eslintrc@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.1.tgz#18d635e24ad35f7276e8a49d135c7d3ca6a46f93" - integrity sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA== +"@eslint/eslintrc@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" + integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -998,25 +998,25 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@^8.46.0": - version "8.46.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.46.0.tgz#3f7802972e8b6fe3f88ed1aabc74ec596c456db6" - integrity sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA== +"@eslint/js@^8.47.0": + version "8.47.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.47.0.tgz#5478fdf443ff8158f9de171c704ae45308696c7d" + integrity sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og== -"@fontsource-variable/baloo-da-2@^5.0.5": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@fontsource-variable/baloo-da-2/-/baloo-da-2-5.0.5.tgz#934a8e5295daa0ebb3bad7277935841879046d3c" - integrity sha512-ktmR/xRe37ELJBPsqgVIlkTRhM2e4LbUvENZKnqxMKZ1b3N/RH+OnW7/yfGUerSeZIlrK8j1AthGwVMjkawEmA== +"@fontsource-variable/baloo-da-2@^5.0.8": + version "5.0.8" + resolved "https://registry.yarnpkg.com/@fontsource-variable/baloo-da-2/-/baloo-da-2-5.0.8.tgz#d9d67ebdc89775d0b86dd66a7ac1ba39a59ea1cf" + integrity sha512-dqnC4FlaR81Ov7b4D4HTQSrSxx6yUcahTXNJBjgeYqkDA6FwDwBNYrZtSewXeLMTi7md1ILooeu/3bKGkVgwIQ== -"@fontsource-variable/noto-naskh-arabic@^5.0.5": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@fontsource-variable/noto-naskh-arabic/-/noto-naskh-arabic-5.0.5.tgz#872b19e39d303221c1e6e45b4aeed2b4bcfd3b13" - integrity sha512-q1eBZcBiVvCrYmEUQcr9uvVtNYvvmgnbLN1p7T+x0M25FfF8QbwY3KvXc7g9wtDjDp0M3tzfao6DwyYWO8JB+w== +"@fontsource-variable/noto-naskh-arabic@^5.0.8": + version "5.0.8" + resolved "https://registry.yarnpkg.com/@fontsource-variable/noto-naskh-arabic/-/noto-naskh-arabic-5.0.8.tgz#67378b8632943c78ac9327415ee2ece2cd8a0ca7" + integrity sha512-ff0GSs5/XIuenhW9R2lDDFtw/SigXr9Xd7nL6/dzxJGW8dukv9XKbnFAKS9agdxC5qwg+xN9ch78/WrD6sUJGg== -"@fontsource/material-icons-round@^5.0.5": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@fontsource/material-icons-round/-/material-icons-round-5.0.5.tgz#843b024a86512b3f76ee094864e4b65302f7ee8d" - integrity sha512-H8HF4tO3xjJ9Z4vyBVn+RpG7lOtwyS1IGQ3t+OqyekuQ9jbuO7flb8WRDgPj4VUl8/oL04HNCTQfXmii1iGo2w== +"@fontsource/material-icons-round@^5.0.7": + version "5.0.7" + resolved "https://registry.yarnpkg.com/@fontsource/material-icons-round/-/material-icons-round-5.0.7.tgz#a65f8c8dfdc53c5d0f7dfc4cf10234393b009ee8" + integrity sha512-Zgy+i7h9GykCdIe8dt+hKqEoEQrxgPAOsx+/hlCVBEnnH3xuTNddA6KQ1ZFDJ41WLXfpxZnJw4Y8DdChLVZVJA== "@formatjs/ecma402-abstract@1.17.0": version "1.17.0" @@ -3767,10 +3767,10 @@ eslint-plugin-standard@^5.0.0: resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-5.0.0.tgz#c43f6925d669f177db46f095ea30be95476b1ee4" integrity sha512-eSIXPc9wBM4BrniMzJRBm2uoVuXz2EPa+NXPk2+itrVt+r5SbKFERx/IgrK/HmfjddyKVz2f+j+7gBRvu19xLg== -eslint-plugin-vue@^9.16.1: - version "9.16.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.16.1.tgz#3508d9279d797b40889db76da2fd26524e9144e6" - integrity sha512-2FtnTqazA6aYONfDuOZTk0QzwhAwi7Z4+uJ7+GHeGxcKapjqWlDsRWDenvyG/utyOfAS5bVRmAG3cEWiYEz2bA== +eslint-plugin-vue@^9.17.0: + version "9.17.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.17.0.tgz#4501547373f246547083482838b4c8f4b28e5932" + integrity sha512-r7Bp79pxQk9I5XDP0k2dpUC7Ots3OSWgvGZNu3BxmKK6Zg7NgVtcOB6OCna5Kb9oQwJPl5hq183WD0SY5tZtIQ== dependencies: "@eslint-community/eslint-utils" "^4.4.0" natural-compare "^1.4.0" @@ -3833,10 +3833,10 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== -eslint-visitor-keys@^3.4.2: - version "3.4.2" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz#8c2095440eca8c933bedcadf16fefa44dbe9ba5f" - integrity sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw== +eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== eslint-webpack-plugin@^3.1.0: version "3.2.0" @@ -3849,15 +3849,15 @@ eslint-webpack-plugin@^3.1.0: normalize-path "^3.0.0" schema-utils "^4.0.0" -eslint@^8.46.0: - version "8.46.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.46.0.tgz#a06a0ff6974e53e643acc42d1dcf2e7f797b3552" - integrity sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg== +eslint@^8.47.0: + version "8.47.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.47.0.tgz#c95f9b935463fb4fad7005e626c7621052e90806" + integrity sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.1" - "@eslint/js" "^8.46.0" + "@eslint/eslintrc" "^2.1.2" + "@eslint/js" "^8.47.0" "@humanwhocodes/config-array" "^0.11.10" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" @@ -3868,7 +3868,7 @@ eslint@^8.46.0: doctrine "^3.0.0" escape-string-regexp "^4.0.0" eslint-scope "^7.2.2" - eslint-visitor-keys "^3.4.2" + eslint-visitor-keys "^3.4.3" espree "^9.6.1" esquery "^1.4.2" esutils "^2.0.2" @@ -7012,10 +7012,10 @@ sass-loader@^10: schema-utils "^3.0.0" semver "^7.3.2" -sass@~1.64.2: - version "1.64.2" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.64.2.tgz#0d9805ad6acf31c59c3acc725fcfb91b7fcc6909" - integrity sha512-TnDlfc+CRnUAgLO9D8cQLFu/GIjJIzJCGkE7o4ekIGQOH7T3GetiRR/PsTWJUHhkzcSPrARkPI+gNWn5alCzDg== +sass@~1.65.1: + version "1.65.1" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.65.1.tgz#8f283b0c26335a88246a448d22e1342ba2ea1432" + integrity sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0" @@ -8133,10 +8133,10 @@ vuetify-loader@^1.9.2: file-loader "^6.2.0" loader-utils "^2.0.0" -vuetify@^2.7.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-2.7.0.tgz#a2c999da30072a62a2d577f0aafd996b276cc149" - integrity sha512-eDb+lbtB9e+FRbOPIIyXwgwgc2M6gvhHkhSgggzM0hmKh1XM34YStZbM865viH0AfpxGZIOsRcs0S+OtdyOB+Q== +vuetify@^2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-2.7.1.tgz#49fc4d460ecfb51ed40d5befff779ceabf4f5a03" + integrity sha512-DVFmRsDtYrITw9yuGLwpFWngFYzEgk0KwloDCIV3+vhZw+NBFJOSzdbttbYmOwtqvQlhDxUyIRQolrRbSFAKlg== vuex@^3.6.2: version "3.6.2"