From 1dc3636e085a05ce6d5396f08199a3c2512ca779 Mon Sep 17 00:00:00 2001 From: Fjuro Date: Mon, 20 May 2024 14:00:45 +0000 Subject: [PATCH 01/21] Translated using Weblate (Czech) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/ --- static/locales/cs.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/cs.yaml b/static/locales/cs.yaml index fee470ac1ff3..2af7673540ca 100644 --- a/static/locales/cs.yaml +++ b/static/locales/cs.yaml @@ -175,6 +175,10 @@ User Playlists: This playlist is now used for quick bookmark: Tento playlist bude nyní použit pro rychlé uložení Quick bookmark disabled: Rychlé uložení vypnuto + This playlist is already being used for quick bookmark.: Tento playlist je již + používán pro rychlou záložku. + Playlist {playlistName} is the new quick bookmark playlist.: Playlist {playlistName} + je nový playlist rychlé záložky. Search for Videos: Hledat videa Are you sure you want to delete this playlist? This cannot be undone: Opravdu chcete odstranit tento playlist? Tato akce je nevratná. @@ -220,6 +224,9 @@ User Playlists: Disable Quick Bookmark: Vypnout rychlé uložení Enable Quick Bookmark With This Playlist: Zapnout u tohoto playlistu rychlé uložení Playlists with Matching Videos: Playlisty s odpovídajícími videi + Quick Bookmark Enabled: Rychlá záložka zapnuta + Cannot delete the quick bookmark target playlist.: Nemůžete odstranit cílový playlist + rychlé záložky. History: # On History Page History: 'Historie' From 7d87d1dd6b0b3cffd9a4fe83aa055acd0aa4de80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 16:55:50 +0000 Subject: [PATCH 02/21] Bump electron-context-menu from 3.6.1 to 4.0.0 (#5079) Bumps [electron-context-menu](https://github.com/sindresorhus/electron-context-menu) from 3.6.1 to 4.0.0. - [Release notes](https://github.com/sindresorhus/electron-context-menu/releases) - [Commits](https://github.com/sindresorhus/electron-context-menu/compare/v3.6.1...v4.0.0) --- updated-dependencies: - dependency-name: electron-context-menu dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 116 ++++++++++++++++++++++++++++++++++----------------- 2 files changed, 79 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 66d86664297d..087fd0d90964 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@seald-io/nedb": "^4.0.4", "@silvermine/videojs-quality-selector": "^1.3.1", "autolinker": "^4.0.0", - "electron-context-menu": "^3.6.1", + "electron-context-menu": "^4.0.0", "lodash.debounce": "^4.0.8", "marked": "^12.0.2", "path-browserify": "^1.0.1", diff --git a/yarn.lock b/yarn.lock index d209ad9cf49d..331f1de52658 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2243,7 +2243,7 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" -ansi-styles@^6.1.0: +ansi-styles@^6.0.0, ansi-styles@^6.1.0: version "6.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== @@ -2848,6 +2848,14 @@ cli-truncate@^2.1.0: slice-ansi "^3.0.0" string-width "^4.2.0" +cli-truncate@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-4.0.0.tgz#6cc28a2924fee9e25ce91e973db56c7066e6172a" + integrity sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA== + dependencies: + slice-ansi "^5.0.0" + string-width "^7.0.0" + cliui@^8.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" @@ -3571,28 +3579,28 @@ electron-builder@^24.13.3: simple-update-notifier "2.0.0" yargs "^17.6.2" -electron-context-menu@^3.6.1: - version "3.6.1" - resolved "https://registry.yarnpkg.com/electron-context-menu/-/electron-context-menu-3.6.1.tgz#42f117e15309687b22283e6f8f7a0d95a19afe84" - integrity sha512-lcpO6tzzKUROeirhzBjdBWNqayEThmdW+2I2s6H6QMrwqTVyT3EK47jW3Nxm60KTxl5/bWfEoIruoUNn57/QkQ== +electron-context-menu@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/electron-context-menu/-/electron-context-menu-4.0.0.tgz#1e46dcf3f8ce775b9332798a6a58f423f4a572d5" + integrity sha512-eUVj+Z2dNqWi7K2sBZMkODk5kVT08vWWE/uxMTedon5gl1cn05OIG883yYq7GuP6QKJqJGv3mbnGIKEuk3NTXQ== dependencies: - cli-truncate "^2.1.0" - electron-dl "^3.2.1" - electron-is-dev "^2.0.0" + cli-truncate "^4.0.0" + electron-dl "^4.0.0" + electron-is-dev "^3.0.1" -electron-dl@^3.2.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/electron-dl/-/electron-dl-3.3.1.tgz#14164595bebcc636c671eb791b2a3265003f76c4" - integrity sha512-kmcSYZyHVEHHHFKlZWW58GiCmu2NSu3Rdwnl3+/fr/ftQYHJULVf1QkrCBPFE2bp/Ly113Za7c8wJZs1nBy04A== +electron-dl@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/electron-dl/-/electron-dl-4.0.0.tgz#413929460cb6bf91257378d262e904787d10e03d" + integrity sha512-USiB9816d2JzKv0LiSbreRfTg5lDk3lWh0vlx/gugCO92ZIJkHVH0UM18EHvKeadErP6Xn4yiTphWzYfbA2Ong== dependencies: ext-name "^5.0.0" - pupa "^2.0.1" - unused-filename "^2.1.0" + pupa "^3.1.0" + unused-filename "^4.0.1" -electron-is-dev@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/electron-is-dev/-/electron-is-dev-2.0.0.tgz#833487a069b8dad21425c67a19847d9064ab19bd" - integrity sha512-3X99K852Yoqu9AcW50qz3ibYBWY79/pBhlMCab8ToEWS48R0T9tyxRiQhwylE7zQdXrMnx2JKqUJyMPmt5FBqA== +electron-is-dev@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/electron-is-dev/-/electron-is-dev-3.0.1.tgz#1cbc79b1dd046787903acd357efdfab6549dc17a" + integrity sha512-8TjjAh8Ec51hUi3o4TaU0mD3GMTOESi866oRNavj9A3IQJ7pmv+MJVmdZBFGw4GFT36X7bkqnuDNYvkQgvyI8Q== electron-publish@24.13.1: version "24.13.1" @@ -3631,6 +3639,11 @@ emoji-regex@^10.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.2.1.tgz#a41c330d957191efd3d9dfe6e1e8e1e9ab048b3f" integrity sha512-97g6QgOk8zlDRdgq1WxwgTMgEWGVAQvB5Fdpgc1MkNy56la5SKP9GsMXKDOdqwn90/41a8yPwIGk1Y6WVbeMQA== +emoji-regex@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23" + integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -3847,10 +3860,10 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-goat@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" - integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q== +escape-goat@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-4.0.0.tgz#9424820331b510b0666b98f7873fe11ac4aa8081" + integrity sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg== escape-html@~1.0.3: version "1.0.3" @@ -3867,6 +3880,11 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== +escape-string-regexp@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" + integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== + eslint-compat-utils@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/eslint-compat-utils/-/eslint-compat-utils-0.1.2.tgz#f45e3b5ced4c746c127cf724fb074cd4e730d653" @@ -4578,6 +4596,11 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-east-asian-width@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz#5e6ebd9baee6fb8b7b6bd505221065f0cd91f64e" + integrity sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA== + get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" @@ -5323,6 +5346,11 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== +is-fullwidth-code-point@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" + integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== + is-function@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08" @@ -6181,11 +6209,6 @@ mkdirp@^1.0.3: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -modify-filename@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/modify-filename/-/modify-filename-1.1.0.tgz#9a2dec83806fbb2d975f22beec859ca26b393aa1" - integrity sha1-mi3sg4Bvuy2XXyK+7IWcoms5OqE= - mpd-parser@0.22.1, mpd-parser@^0.22.1: version "0.22.1" resolved "https://registry.yarnpkg.com/mpd-parser/-/mpd-parser-0.22.1.tgz#bc2bf7d3e56368e4b0121035b055675401871521" @@ -7094,12 +7117,12 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -pupa@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62" - integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A== +pupa@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/pupa/-/pupa-3.1.0.tgz#f15610274376bbcc70c9a3aa8b505ea23f41c579" + integrity sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug== dependencies: - escape-goat "^2.0.0" + escape-goat "^4.0.0" qs@6.11.0: version "6.11.0" @@ -7798,6 +7821,14 @@ slice-ansi@^4.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" +slice-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" + integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== + dependencies: + ansi-styles "^6.0.0" + is-fullwidth-code-point "^4.0.0" + smart-buffer@^4.0.2: version "4.2.0" resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" @@ -7946,6 +7977,15 @@ string-width@^5.0.1, string-width@^5.1.2: emoji-regex "^9.2.2" strip-ansi "^7.0.1" +string-width@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.1.0.tgz#d994252935224729ea3719c49f7206dc9c46550a" + integrity sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw== + dependencies: + emoji-regex "^10.3.0" + get-east-asian-width "^1.0.0" + strip-ansi "^7.1.0" + string.prototype.padend@^3.0.0: version "3.1.3" resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz#997a6de12c92c7cb34dc8a201a6c53d9bd88a5f1" @@ -8549,13 +8589,13 @@ untildify@^4.0.0: resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== -unused-filename@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unused-filename/-/unused-filename-2.1.0.tgz#33719c4e8d9644f32d2dec1bc8525c6aaeb4ba51" - integrity sha512-BMiNwJbuWmqCpAM1FqxCTD7lXF97AvfQC8Kr/DIeA6VtvhJaMDupZ82+inbjl5yVP44PcxOuCSxye1QMS0wZyg== +unused-filename@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/unused-filename/-/unused-filename-4.0.1.tgz#3e7285db0f3ec94fb2b089dd220a3b269b226914" + integrity sha512-ZX6U1J04K1FoSUeoX1OicAhw4d0aro2qo+L8RhJkiGTNtBNkd/Fi1Wxoc9HzcVu6HfOzm0si/N15JjxFmD1z6A== dependencies: - modify-filename "^1.1.0" - path-exists "^4.0.0" + escape-string-regexp "^5.0.0" + path-exists "^5.0.0" update-browserslist-db@^1.0.13: version "1.0.13" From 668b7e294de6012d3db64d30d5eb6366a9cc2b7e Mon Sep 17 00:00:00 2001 From: Milan Date: Mon, 20 May 2024 16:39:35 +0000 Subject: [PATCH 03/21] Translated using Weblate (Slovak) Currently translated at 62.2% (527 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sk/ --- static/locales/sk.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/static/locales/sk.yaml b/static/locales/sk.yaml index 3fc5c2e47cf6..2c03d2c6ceb8 100644 --- a/static/locales/sk.yaml +++ b/static/locales/sk.yaml @@ -1,7 +1,6 @@ # Currently on Subscriptions, Playlists, and History 'This part of the app is not ready yet. Come back later when progress has been made.': >- - Táto časť aplikácie ešte nie je dokončená. Vráťte sa neskôr keď na nej spravíme - pokrok. + Táto časť aplikácie ešte nie je dokončená. Vráťte sa neskôr. # Webkit Menu Bar File: 'Súbor' @@ -674,10 +673,10 @@ Tooltips: využívajú menej dát. Zvukové formáty sú iba zvukové streamy. Proxy Videos Through Invidious: Namiesto priameho pripojenia k YouTube sa pripojí k Invidious, aby poskytoval videá. Prepíše preferenciu API. - Force Local Backend for Legacy Formats: Funguje, iba ak je predvoleným nastavením - rozhranie Invidious API. Ak je povolené, miestne API sa spustí a bude používať - pôvodné formáty, ktoré vráti, namiesto tých, ktoré vráti Invidious. Pomáha, - keď sa videá vrátené Invidious neprehrajú z dôvodu obmedzení krajín. + Force Local Backend for Legacy Formats: Funguje, iba ak je predvolené rozhranie + Invidious API. Ak je zapnuté, miestne API sa spustí a bude používať pôvodné + formáty, namiesto tých, ktoré vráti Invidious. Pomáha, keď sa videá vrátené + Invidious neprehrávajú kvôli obmedzeniam krajiny. Scroll Playback Rate Over Video Player: Keď je kurzor nad videom, stlačte a podržte kláves Control (kláves Command na Macu) a posúvaním kolieska myši dopredu alebo dozadu ovládajte rýchlosť prehrávania. Stlačte a podržte kláves Control (kláves From cb21fae48f6fa22ccb2fc404380663c42d4402bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuz=20Ersen?= Date: Mon, 20 May 2024 16:36:10 +0000 Subject: [PATCH 04/21] Translated using Weblate (Turkish) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/ --- static/locales/tr.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/static/locales/tr.yaml b/static/locales/tr.yaml index 63629c305191..214ad2c87533 100644 --- a/static/locales/tr.yaml +++ b/static/locales/tr.yaml @@ -177,6 +177,10 @@ User Playlists: kullanımına geri dönüldü This playlist is now used for quick bookmark: Bu oynatma listesi artık hızlı yer imi için kullanılıyor + Playlist {playlistName} is the new quick bookmark playlist.: '{playlistName} + oynatma listesi yeni hızlı yer imi oynatma listesi.' + This playlist is already being used for quick bookmark.: Bu oynatma listesi + zaten hızlı yer imi için kullanılıyor. Search for Videos: Video Ara AddVideoPrompt: Select a playlist to add your N videos to: Videonuzu eklemek için bir oynatma @@ -219,10 +223,13 @@ User Playlists: Remove Watched Videos: İzlenen Videoları Kaldır Add to Favorites: '{playlistName} oynatma listesine ekle' Remove from Favorites: '{playlistName} oynatma listesinden kaldır' - Enable Quick Bookmark With This Playlist: Bu Oynatma Listesiyle Hızlı Yer İşaretini + Enable Quick Bookmark With This Playlist: Bu Oynatma Listesiyle Hızlı Yer İmini Etkinleştir Disable Quick Bookmark: Hızlı Yer İşaretini Devre Dışı Bırak Playlists with Matching Videos: Eşleşen Videoları İçeren Oynatma Listeleri + Quick Bookmark Enabled: Hızlı Yer İmi Etkin + Cannot delete the quick bookmark target playlist.: Hızlı yer imi hedef oynatma listesi + silinemiyor. History: # On History Page History: 'Geçmiş' From 7e568ad38754444af6a476f8eb593509dbdab5b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 20:34:49 +0000 Subject: [PATCH 05/21] Bump electron from 30.0.3 to 30.0.6 (#5137) Bumps [electron](https://github.com/electron/electron) from 30.0.3 to 30.0.6. - [Release notes](https://github.com/electron/electron/releases) - [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md) - [Commits](https://github.com/electron/electron/compare/v30.0.3...v30.0.6) --- updated-dependencies: - dependency-name: electron dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 39 ++++++++++++++++++++++++++++++++------- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 087fd0d90964..6d9f57b88bf0 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "copy-webpack-plugin": "^12.0.2", "css-loader": "^7.1.1", "css-minimizer-webpack-plugin": "^7.0.0", - "electron": "^30.0.3", + "electron": "^30.0.6", "electron-builder": "^24.13.3", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", diff --git a/yarn.lock b/yarn.lock index 331f1de52658..c006f57413bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3625,10 +3625,10 @@ electron-to-chromium@^1.4.668: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.715.tgz#bb16bcf2a3537962fccfa746b5c98c5f7404ff46" integrity sha512-XzWNH4ZSa9BwVUQSDorPWAUQ5WGuYz7zJUNpNif40zFCiCl20t8zgylmreNmn26h5kiyw2lg7RfTmeMBsDklqg== -electron@^30.0.3: - version "30.0.3" - resolved "https://registry.yarnpkg.com/electron/-/electron-30.0.3.tgz#7c25ddb12ba89fd117991d010f1b274b1bafcb73" - integrity sha512-h+suwx6e0fnv/9wi0/cmCMtG+4LrPzJZa+3DEEpxcPcP+pcWnBI70t8QspxgMNIh2wzXLMD9XVqrLkEbiBAInw== +electron@^30.0.6: + version "30.0.6" + resolved "https://registry.yarnpkg.com/electron/-/electron-30.0.6.tgz#9ddea5f68396ecca88ad7c2c466a30fc9c16144b" + integrity sha512-PkhEPFdpYcTzjAO3gMHZ+map7g2+xCrMDedo/L1i0ir2BRXvAB93IkTJX497U6Srb/09r2cFt+k20VPNVCdw3Q== dependencies: "@electron/get" "^2.0.0" "@types/node" "^20.9.0" @@ -7959,7 +7959,16 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -8054,7 +8063,14 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -9036,7 +9052,16 @@ wildcard@^2.0.0: resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== From 678cf1706c98b693d83874279753aaa91c235ff2 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Tue, 21 May 2024 01:18:46 +0200 Subject: [PATCH 06/21] Fix vue-devtools getting bundled into production builds (#5139) --- src/main/index.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index dd2a65667a91..90da8cbdfd08 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -543,7 +543,11 @@ function runApp() { await createWindow() if (process.env.NODE_ENV === 'development') { - installDevTools() + try { + require('vue-devtools').install() + } catch (err) { + console.error(err) + } } if (isDebug) { @@ -592,16 +596,6 @@ function runApp() { } } - async function installDevTools() { - try { - /* eslint-disable */ - require('vue-devtools').install() - /* eslint-enable */ - } catch (err) { - console.error(err) - } - } - async function createWindow( { replaceMainWindow = true, From eefe7e19f14f4cd05af096ffdb1ef35f5d3a12de Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Tue, 21 May 2024 14:06:27 +0200 Subject: [PATCH 07/21] Fix gap next to banner when Hide Side Bar Labels is enabled (#5120) --- .../components/ft-refresh-widget/ft-refresh-widget.css | 8 +++++++- .../components/ft-refresh-widget/ft-refresh-widget.js | 4 ++++ .../components/ft-refresh-widget/ft-refresh-widget.vue | 3 ++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.css b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.css index f707eef4ee36..a2637ea1abe9 100644 --- a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.css +++ b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.css @@ -24,6 +24,10 @@ inline-size: calc(100% - 200px); } +.floatingRefreshSection.hideLabelsSideBar { + inline-size: calc(100% - 60px); +} + .lastRefreshTimestamp { margin-block: 0; text-align: center; @@ -31,7 +35,9 @@ } @media only screen and (width <= 680px) { - .floatingRefreshSection, .floatingRefreshSection.sideNavOpen { + .floatingRefreshSection, + .floatingRefreshSection.sideNavOpen, + .floatingRefreshSection.hideLabelsSideBar { inline-size: 100%; border-inline-start: none; } diff --git a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js index cfcfc48125da..a7f5a420702f 100644 --- a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js +++ b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js @@ -25,6 +25,10 @@ export default defineComponent({ computed: { isSideNavOpen: function () { return this.$store.getters.getIsSideNavOpen + }, + + hideLabelsSideBar: function () { + return this.$store.getters.getHideLabelsSideBar } }, methods: { diff --git a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue index 81f916b34d45..5a914b257991 100644 --- a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue +++ b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue @@ -2,7 +2,8 @@

Date: Tue, 21 May 2024 06:06:08 +0000 Subject: [PATCH 08/21] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/ --- static/locales/zh-CN.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/locales/zh-CN.yaml b/static/locales/zh-CN.yaml index d797807744ca..98232540f8cb 100644 --- a/static/locales/zh-CN.yaml +++ b/static/locales/zh-CN.yaml @@ -149,6 +149,9 @@ User Playlists: 进行快速添加书签操作 This playlist is now used for quick bookmark instead of {oldPlaylistName}. Click here to undo: 此播放列表现用于快速添加书签,而非 {oldPlaylistName}。单击此处撤销 + This playlist is already being used for quick bookmark.: 此播放列表已被用于快速书签。 + Playlist {playlistName} is the new quick bookmark playlist.: 播放列表 {playlistName} + 是新的快速书签播放列表。 Search for Videos: 搜索视频 Are you sure you want to delete this playlist? This cannot be undone: 你确定要删除此播放列表吗?此操作无法撤销。 Sort By: @@ -188,6 +191,8 @@ User Playlists: Remove from Favorites: 从播放列表 {playlistName} 删除 Disable Quick Bookmark: 停用快速添加书签 Playlists with Matching Videos: 有匹配视频的播放列表 + Quick Bookmark Enabled: 启用了快速书签 + Cannot delete the quick bookmark target playlist.: 无法删除快速书签目标播放列表。 History: # On History Page History: '历史记录' From 1659bc4d334c57e58ac1c1ff34d25ffd32a05bd7 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Tue, 21 May 2024 02:57:22 +0000 Subject: [PATCH 09/21] Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/ --- static/locales/zh-TW.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/locales/zh-TW.yaml b/static/locales/zh-TW.yaml index 3ebd97ecc6c0..0678bc755538 100644 --- a/static/locales/zh-TW.yaml +++ b/static/locales/zh-TW.yaml @@ -157,6 +157,9 @@ User Playlists: {oldPlaylistName}。點擊此處撤銷 Reverted to use {oldPlaylistName} for quick bookmark: 恢復為使用 {oldPlaylistName} 進行快速書籤 + This playlist is already being used for quick bookmark.: 此播放清單已用於快速書籤。 + Playlist {playlistName} is the new quick bookmark playlist.: 播放清單 {playlistName} + 是新的快速書籤播放清單。 Search for Videos: 搜尋影片 AddVideoPrompt: Select a playlist to add your N videos to: 選擇要新增影片的播放清單 | 選擇播放清單以將您的 {videoCount} @@ -188,6 +191,8 @@ User Playlists: Enable Quick Bookmark With This Playlist: 啟用此播放清單的快速書籤 Disable Quick Bookmark: 停用快速書籤 Playlists with Matching Videos: 包含相符影片的播放清單 + Quick Bookmark Enabled: 已啟用快速書籤 + Cannot delete the quick bookmark target playlist.: 無法刪除快速書籤目標播放清單。 History: # On History Page History: '觀看紀錄' From b0fce5976198702ce026d745cb246e994301b199 Mon Sep 17 00:00:00 2001 From: Dragibus Noir Date: Tue, 21 May 2024 02:30:02 +0000 Subject: [PATCH 10/21] Translated using Weblate (French) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/ --- static/locales/fr-FR.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/fr-FR.yaml b/static/locales/fr-FR.yaml index 437ea40fa89d..7e12290145a4 100644 --- a/static/locales/fr-FR.yaml +++ b/static/locales/fr-FR.yaml @@ -181,6 +181,10 @@ User Playlists: de {oldPlaylistName}. Cliquez ici pour annuler Reverted to use {oldPlaylistName} for quick bookmark: Reprise de {oldPlaylistName} pour un marque-page rapide + This playlist is already being used for quick bookmark.: Cette liste de lecture + est déjà utilisée comme signet rapide. + Playlist {playlistName} is the new quick bookmark playlist.: La liste de lecture + {playlistName} est la nouvelle liste de lecture des signets rapides. Search for Videos: Rechercher des vidéos Are you sure you want to delete this playlist? This cannot be undone: Êtes-vous sûr(e) de vouloir supprimer cette liste de lecture ? Cette opération ne peut être @@ -230,6 +234,9 @@ User Playlists: liste de lecture Disable Quick Bookmark: Désactiver le marque-page rapide Playlists with Matching Videos: Listes de lecture avec des vidéos correspondantes + Quick Bookmark Enabled: Signet rapide activé + Cannot delete the quick bookmark target playlist.: Impossible de supprimer la liste + de lecture cible des signets rapides. History: # On History Page History: 'Historique' From 51d1189f737f8b79a76f9f785d737bae7f7ec48c Mon Sep 17 00:00:00 2001 From: Jose Delvani Date: Tue, 21 May 2024 04:31:40 +0000 Subject: [PATCH 11/21] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/ --- static/locales/pt-BR.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/pt-BR.yaml b/static/locales/pt-BR.yaml index 197bed28713f..3004bd8d0db6 100644 --- a/static/locales/pt-BR.yaml +++ b/static/locales/pt-BR.yaml @@ -195,6 +195,10 @@ User Playlists: vídeo Playlist has been updated.: Playlist atualizada. Video has been removed: Vídeo removido + This playlist is already being used for quick bookmark.: Esta playlist já está + sendo usada em "Favoritos Rápidos". + Playlist {playlistName} is the new quick bookmark playlist.: Playlist {playlistName} + é a nova playlist de "Favoritos Rápidos". Search for Videos: Pesquisar vídeos AddVideoPrompt: Toast: @@ -215,6 +219,9 @@ User Playlists: não pode ser desfeito. Remove Watched Videos: Remove vídeos assistidos Playlists with Matching Videos: Playlists com vídeos correspondentes + Quick Bookmark Enabled: Favoritos Rápidos ativado + Cannot delete the quick bookmark target playlist.: Não é possível excluir a playlist + de destino em "Favoritos Rápidos". History: # On History Page History: 'Histórico' From 73b2247539fbfedbf5da6d364a52f16069b120a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20W=C3=B3jcicki?= Date: Mon, 20 May 2024 19:45:45 +0000 Subject: [PATCH 12/21] Translated using Weblate (Polish) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/ --- static/locales/pl.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/pl.yaml b/static/locales/pl.yaml index 73e9727cf539..2cb3b520ca5f 100644 --- a/static/locales/pl.yaml +++ b/static/locales/pl.yaml @@ -174,6 +174,10 @@ User Playlists: ta playlista, zamiast „{oldPlaylistName}”, będzie używana dla funkcji Szybkiej Zakładki . Kliknij tutaj, by cofnąć zmianę Quick bookmark disabled: Wyłączono Szybką Zakładkę + Playlist {playlistName} is the new quick bookmark playlist.: Playlista „{playlistName}” + jest od teraz playlistą używaną dla funkcji Szybkiej Zakładki. + This playlist is already being used for quick bookmark.: Ta playlista jest już + używana dla funkcji Szybkiej Zakładki. Search for Videos: Szukaj filmów Are you sure you want to delete this playlist? This cannot be undone: Czy na pewno chcesz usunąć tę playlistę? Nie można cofnąć tej czynności. @@ -218,6 +222,9 @@ User Playlists: Disable Quick Bookmark: Wyłącz Szybką Zakładkę Enable Quick Bookmark With This Playlist: Włącz Szybką Zakładkę z tą playlistą Playlists with Matching Videos: Playlisty z pasującymi filmami + Quick Bookmark Enabled: Włączono Szybką Zakładkę + Cannot delete the quick bookmark target playlist.: Nie można usunąć playlisty wskazanej + dla Szybkiej Zakładki. History: # On History Page History: 'Historia' From 99fc0e473456f18529aa768fa24760dd7f2041b0 Mon Sep 17 00:00:00 2001 From: Massimo Pissarello Date: Tue, 21 May 2024 04:40:16 +0000 Subject: [PATCH 13/21] Translated using Weblate (Italian) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/ --- static/locales/it.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/it.yaml b/static/locales/it.yaml index e2f69e855b35..ac036126c65d 100644 --- a/static/locales/it.yaml +++ b/static/locales/it.yaml @@ -175,6 +175,10 @@ User Playlists: This playlist is now used for quick bookmark instead of {oldPlaylistName}. Click here to undo: Questa playlist è ora usata per i segnalibri rapidi al posto di {oldPlaylistName}. Fai clic qui per annullare + This playlist is already being used for quick bookmark.: Questa playlist è già + utilizzata per i segnalibri rapidi. + Playlist {playlistName} is the new quick bookmark playlist.: La playlist {playlistName} + è la nuova playlist con segnalibri rapidi. Search for Videos: Cerca video Are you sure you want to delete this playlist? This cannot be undone: Sei sicuro di voler eliminare questa playlist? Questa operazione non può essere annullata. @@ -220,6 +224,9 @@ User Playlists: Enable Quick Bookmark With This Playlist: Abilita segnalibro rapido con questa playlist Disable Quick Bookmark: Disabilita segnalibro rapido Playlists with Matching Videos: Playlist con video corrispondenti + Cannot delete the quick bookmark target playlist.: Impossibile eliminare la playlist + di destinazione dei segnalibri rapidi. + Quick Bookmark Enabled: Segnalibri rapidi abilitati History: # On History Page History: 'Cronologia' From 7413a1226a4a1e00ba414e40baee2d8d725abb6b Mon Sep 17 00:00:00 2001 From: gallegonovato Date: Tue, 21 May 2024 11:08:14 +0000 Subject: [PATCH 14/21] Translated using Weblate (Spanish) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/ --- static/locales/es.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/es.yaml b/static/locales/es.yaml index 2573259777f5..6534d0e3ea9e 100644 --- a/static/locales/es.yaml +++ b/static/locales/es.yaml @@ -173,6 +173,10 @@ User Playlists: Haga clic aquí para deshacer Reverted to use {oldPlaylistName} for quick bookmark: Revertido para usar {oldPlaylistName} para un marcador rápido + This playlist is already being used for quick bookmark.: Esta lista de reproducción + ya se utiliza como marcador rápido. + Playlist {playlistName} is the new quick bookmark playlist.: L lista de reproducción + {playlistName} es la nueva lista de reproducción de marcadores rápidos. Search for Videos: Buscar vídeos Are you sure you want to delete this playlist? This cannot be undone: ¿Estás seguro de que quieres borrar esta lista de reproducción? Esto no se puede deshacer. @@ -220,6 +224,9 @@ User Playlists: de reproducción Disable Quick Bookmark: Desactivar el marcador rápido Playlists with Matching Videos: Listas de reproducción con vídeos relacionados + Quick Bookmark Enabled: Marcador rápido habilitado + Cannot delete the quick bookmark target playlist.: No se puede eliminar la lista + de reproducción de destino de marcadores rápidos. History: # On History Page History: 'Historial' From b2d6ef6042344453146812fe7ac9d3f155af3057 Mon Sep 17 00:00:00 2001 From: Rusi Dimitrov Date: Mon, 20 May 2024 19:49:12 +0000 Subject: [PATCH 15/21] Translated using Weblate (Bulgarian) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/ --- static/locales/bg.yaml | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/static/locales/bg.yaml b/static/locales/bg.yaml index 92d9eef2d5fe..fd161e13cdc5 100644 --- a/static/locales/bg.yaml +++ b/static/locales/bg.yaml @@ -32,7 +32,7 @@ Forward: 'Напред' # Global # Anything shared among components / views should be put here Global: - Videos: 'видеа' + Videos: 'Видеа' Shorts: Кратки видеа Live: На живо Community: Общност @@ -167,6 +167,10 @@ User Playlists: This playlist is protected and cannot be removed.: Този плейлист е защитен и не може да бъде премахнат. This playlist does not exist: Този плейлист не съществува + This playlist is already being used for quick bookmark.: Този плейлист вече + се използва за бързи отметки. + Playlist {playlistName} is the new quick bookmark playlist.: Плейлиста {playlistName} + е новият списък за бързи отметки. Search for Videos: Търсене за видеа CreatePlaylistPrompt: Toast: @@ -222,6 +226,9 @@ User Playlists: Remove from Favorites: Премахване от {playlistName} Move Video Down: Преместване надолу Playlists with Matching Videos: Плейлисти със съвпадащи видеа + Quick Bookmark Enabled: Бързите отметки са активирани + Cannot delete the quick bookmark target playlist.: Не може да се изтрие целевия + списък за плейлисти с бързи отметки. History: # On History Page History: 'История' @@ -336,14 +343,14 @@ Settings: Catppuccin Mocha Lavender: Catppuccin Mocha Лавандула Catppuccin Mocha Blue: Catppuccin Mocha Синьо Catppuccin Mocha Green: Catppuccin Mocha Зелено - Solarized Yellow: Solarized жълта - Solarized Orange: Solarized оранжева - Solarized Red: Solarized червена - Solarized Magenta: Solarized пурпурна - Solarized Violet: Solarized виолетова - Solarized Blue: Solarized синя - Solarized Cyan: Solarized синьо-зелена - Solarized Green: Solarized зелена + Solarized Yellow: Solarized Жълто + Solarized Orange: Solarized Оранжево + Solarized Red: Solarized Червено + Solarized Magenta: Solarized Пурпурно + Solarized Violet: Solarized Виолетово + Solarized Blue: Solarized Синьо + Solarized Cyan: Solarized Синьозелено + Solarized Green: Solarized Зелено Secondary Color Theme: 'Вторична цветова тема' #* Main Color Theme UI Scale: Мащаб на интерфейса @@ -988,8 +995,8 @@ Playlist: #& Views Playlist: Плейлист Sort By: - DateAddedNewest: Първо последно добавени - DateAddedOldest: Първо най-рано добавени + DateAddedNewest: Първо най-новите + DateAddedOldest: Първо най-старите Sort By: Подреждане по AuthorAscending: Автор (A-Z) AuthorDescending: Автор (Z-A) @@ -1032,10 +1039,10 @@ Comments: Show Comments: 'Показване на коментари' Hide Comments: 'Скриване на коментарите' # Context: View 10 Replies, View 1 Reply - View: 'Изглед' + View: 'Показване на' Hide: 'Скриване' - Replies: 'Отговори' - Reply: 'Отговаряне' + Replies: 'Отговора' + Reply: 'Отговор' There are no comments available for this video: 'Към това видео няма коментари' Load More Comments: 'Зареждане на още коментари' No more comments available: Не са налични повече коментари @@ -1222,7 +1229,7 @@ Close Banner: Затваряне на банер Search character limit: Заявката за търсене е над лимита от {searchCharacterLimit} символа Feed: - Feed Last Updated: '{feedName} последната актуализация на емисията: {date}' + Feed Last Updated: 'Последна актуализация на емисията {feedName}: {date}' Refresh Feed: Обновяване на {subscriptionName} Yes, Delete: Да, изтрий Yes, Restart: Да, рестартирай From 911f24edfe656758afe0a1d355e3ab08202312f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Priit=20J=C3=B5er=C3=BC=C3=BCt?= Date: Mon, 20 May 2024 18:07:11 +0000 Subject: [PATCH 16/21] Translated using Weblate (Estonian) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/ --- static/locales/et.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/et.yaml b/static/locales/et.yaml index e55396b46c4d..fdb04b621a62 100644 --- a/static/locales/et.yaml +++ b/static/locales/et.yaml @@ -190,6 +190,10 @@ User Playlists: Quick bookmark disabled: Kiirjärjehoidjad ei ole kasutusel Reverted to use {oldPlaylistName} for quick bookmark: Võtsime {oldPlaylistName} uuesti kasutusele kiirjärjehoidjate jaoks + Playlist {playlistName} is the new quick bookmark playlist.: Esitusloend {playlistName} + on uus kiirjärjehoidjate esitusloend. + This playlist is already being used for quick bookmark.: See esitusloend juba + on kasutusel kiirjärjehoidjate jaoks. Search for Videos: Otsi videoid Are you sure you want to delete this playlist? This cannot be undone: Kas sa oled kindel, et soovid selle esitusloendi kustutada? Seda tegevust ei saa tagasi pöörata. @@ -219,6 +223,9 @@ User Playlists: Enable Quick Bookmark With This Playlist: Võimalda kiirjärjehoidjate kasutamist selle esitusloendiga Playlists with Matching Videos: Sobivate videotega esitusloendid + Quick Bookmark Enabled: Kasuta kiirjärjehoidjaid + Cannot delete the quick bookmark target playlist.: Ei saa kustutada esitusloendit, + mis on kasutusel kiirjärjehoidjate jaoks. History: # On History Page History: 'Ajalugu' From 08add0817d3e16f2d907f60f83788d06ed393b18 Mon Sep 17 00:00:00 2001 From: NEXI Date: Tue, 21 May 2024 00:11:02 +0000 Subject: [PATCH 17/21] Translated using Weblate (Serbian) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/ --- static/locales/sr.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/locales/sr.yaml b/static/locales/sr.yaml index 63a42056e844..b342ac3f0579 100644 --- a/static/locales/sr.yaml +++ b/static/locales/sr.yaml @@ -179,6 +179,10 @@ User Playlists: Кликните овде да поништите Reverted to use {oldPlaylistName} for quick bookmark: Враћено на коришћење „{oldPlaylistName}“ за брзо обележавање + This playlist is already being used for quick bookmark.: Ова плејлиста се већ + користи за брзо обележавање. + Playlist {playlistName} is the new quick bookmark playlist.: Плејлиста {playlistName} + је нова плејлиста за брзо обележавање. Search for Videos: Претрага видео снимака Are you sure you want to delete this playlist? This cannot be undone: Желите ли заиста да избришете ову плејлисту? Ово се не може поништити. @@ -224,6 +228,9 @@ User Playlists: Add to Favorites: Додај на плејлисту „{playlistName}“ Remove from Favorites: Уклони са плејлисте „{playlistName}“ Playlists with Matching Videos: Плејлисте с подударајућим видео снимцима + Cannot delete the quick bookmark target playlist.: Није могуће избрисати циљну плејлисту + за брзо обележавање. + Quick Bookmark Enabled: Брзо обележавање омогућено History: # On History Page History: 'Историја' From 11a61d20ce80403e600cfc4e1bae7a4642eb0b4a Mon Sep 17 00:00:00 2001 From: Massimo Pissarello Date: Tue, 21 May 2024 13:07:40 +0000 Subject: [PATCH 18/21] Translated using Weblate (Italian) Currently translated at 100.0% (847 of 847 strings) Translation: FreeTube/Translations Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/ --- static/locales/it.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/locales/it.yaml b/static/locales/it.yaml index ac036126c65d..6fd35936ff09 100644 --- a/static/locales/it.yaml +++ b/static/locales/it.yaml @@ -223,10 +223,10 @@ User Playlists: Remove from Favorites: Rimuovi da {playlistName} Enable Quick Bookmark With This Playlist: Abilita segnalibro rapido con questa playlist Disable Quick Bookmark: Disabilita segnalibro rapido - Playlists with Matching Videos: Playlist con video corrispondenti + Playlists with Matching Videos: Playlist con video correlati Cannot delete the quick bookmark target playlist.: Impossibile eliminare la playlist di destinazione dei segnalibri rapidi. - Quick Bookmark Enabled: Segnalibri rapidi abilitati + Quick Bookmark Enabled: Segnalibro rapido abilitato History: # On History Page History: 'Cronologia' From 5b83e751b4a6207876b9671f1ef54699aab4a463 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 22 May 2024 06:07:27 +0800 Subject: [PATCH 19/21] ^ Update GH action eps1lon/actions-label-merge-conflict (#5034) --- .github/workflows/conflicts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conflicts.yml b/.github/workflows/conflicts.yml index cceb14d31c46..b65794cbb164 100644 --- a/.github/workflows/conflicts.yml +++ b/.github/workflows/conflicts.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: check if prs are dirty - uses: eps1lon/actions-label-merge-conflict@releases/2.x + uses: eps1lon/actions-label-merge-conflict@v3 with: dirtyLabel: "PR: merge conflicts / rebase needed" removeOnDirtyLabel: "PR: waiting for review" From c4f58dfe5f9aa0baad8a983c5d1e9686709cce1c Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Wed, 22 May 2024 09:08:20 +0200 Subject: [PATCH 20/21] Add custom webpack loader to remove unused mimetypes from mime-db (#5148) * Add custom webpack loader to remove unused mimetypes from mime-db * Update _scripts/mime-db-shrinking-loader.js Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com> --------- Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com> --- _scripts/mime-db-shrinking-loader.js | 26 ++++++++++++++++++++++++++ _scripts/webpack.main.config.js | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 _scripts/mime-db-shrinking-loader.js diff --git a/_scripts/mime-db-shrinking-loader.js b/_scripts/mime-db-shrinking-loader.js new file mode 100644 index 000000000000..547858c648ed --- /dev/null +++ b/_scripts/mime-db-shrinking-loader.js @@ -0,0 +1,26 @@ +/** + * electron-context-menu only needs mime-db for its save as feature. + * As we only activate save image and save as image features, we can remove all other mimetypes, + * as they will never get used. + * Which results in quite a significant reduction in file size. + * @param {string} source + */ +module.exports = function (source) { + const original = JSON.parse(source) + + const reduced = {} + + for (const mimeType of Object.keys(original)) { + if (mimeType.startsWith('image/') && original[mimeType].extensions && + (!mimeType.startsWith('image/x-') || mimeType === 'image/x-icon' || mimeType === 'image/x-ms-bmp') && + (!mimeType.startsWith('image/vnd.') || mimeType === 'image/vnd.microsoft.icon')) { + + // Only the extensions field is needed, see: https://github.com/kevva/ext-list/blob/v2.2.2/index.js + reduced[mimeType] = { + extensions: original[mimeType].extensions + } + } + } + + return JSON.stringify(reduced) +} diff --git a/_scripts/webpack.main.config.js b/_scripts/webpack.main.config.js index 0358f79196ae..1bb102105840 100644 --- a/_scripts/webpack.main.config.js +++ b/_scripts/webpack.main.config.js @@ -19,6 +19,10 @@ const config = { use: 'babel-loader', exclude: /node_modules/, }, + { + resource: path.resolve(__dirname, '../node_modules/mime-db/db.json'), + use: path.join(__dirname, 'mime-db-shrinking-loader.js') + } ], }, // webpack defaults to only optimising the production builds, so having this here is fine From 8a82abe1cfcbb14d8fa0f871c0c99b51ffeeeb3d Mon Sep 17 00:00:00 2001 From: Jason <84899178+jasonhenriquez@users.noreply.github.com> Date: Wed, 22 May 2024 08:43:35 +0000 Subject: [PATCH 21/21] User playlists as grid (#4949) * Implement user playlist grid view * Update to use listType setting for user playlist display type * Implement styling fixes & adjustments * Update ft-refresh-widget to use fixed-top-bar mixin * Fix mixin * Disable quick bookmark button on Quick Bookmark playlist * Fix isLoading artifact * Implement missing Edit Mode properties for grid view * Make playlist title fixed height * Standardize gap between top bar and bottom section using CSS variables & calc() * Make effectiveListType computed property * Force list view on playlists for mobile devices * Update to adjust height properly when playlist only has one item, not just zero * Move is-side-nav-open and fixed-top-bar mixins to new partial file * Add height threshold for forcing list view on playlist route * Make user playlist grid top section sticky, not fixed --- src/constants.js | 8 + src/renderer/App.js | 8 + src/renderer/App.vue | 4 +- .../ft-element-list/ft-element-list.js | 46 +++++ .../ft-element-list/ft-element-list.vue | 11 ++ .../ft-list-lazy-wrapper.js | 45 ++++- .../ft-list-lazy-wrapper.vue | 11 ++ .../components/ft-list-video/ft-list-video.js | 4 + .../ft-list-video/ft-list-video.vue | 11 +- .../ft-refresh-widget/ft-refresh-widget.js | 9 - ...resh-widget.css => ft-refresh-widget.scss} | 17 +- .../ft-refresh-widget/ft-refresh-widget.vue | 6 +- .../components/playlist-info/playlist-info.js | 4 + .../playlist-info/playlist-info.scss | 49 ++++++ .../playlist-info/playlist-info.vue | 165 +++++++++--------- src/renderer/components/top-nav/top-nav.js | 8 +- src/renderer/scss-partials/_utils.scss | 46 +++++ src/renderer/themes.css | 8 + src/renderer/views/Playlist/Playlist.js | 16 ++ src/renderer/views/Playlist/Playlist.scss | 121 +++++++++---- src/renderer/views/Playlist/Playlist.vue | 86 ++++++--- 21 files changed, 501 insertions(+), 182 deletions(-) rename src/renderer/components/ft-refresh-widget/{ft-refresh-widget.css => ft-refresh-widget.scss} (73%) create mode 100644 src/renderer/scss-partials/_utils.scss diff --git a/src/constants.js b/src/constants.js index bd888eb24ce9..8eb0089b512e 100644 --- a/src/constants.js +++ b/src/constants.js @@ -77,6 +77,12 @@ const SyncEvents = { // Utils const MAIN_PROFILE_ID = 'allChannels' +// Width threshold in px at which we switch to using a more heavily altered view for mobile users +const MOBILE_WIDTH_THRESHOLD = 680 + +// Height threshold in px at which we switch to using a more heavily altered playlist view for mobile users +const PLAYLIST_HEIGHT_FORCE_LIST_THRESHOLD = 500 + // YouTube search character limit is 100 characters const SEARCH_CHAR_LIMIT = 100 @@ -85,5 +91,7 @@ export { DBActions, SyncEvents, MAIN_PROFILE_ID, + MOBILE_WIDTH_THRESHOLD, + PLAYLIST_HEIGHT_FORCE_LIST_THRESHOLD, SEARCH_CHAR_LIMIT } diff --git a/src/renderer/App.js b/src/renderer/App.js index 68d30084e1bb..bda2bad5686d 100644 --- a/src/renderer/App.js +++ b/src/renderer/App.js @@ -105,6 +105,14 @@ export default defineComponent({ return this.$store.getters.getBaseTheme }, + isSideNavOpen: function () { + return this.$store.getters.getIsSideNavOpen + }, + + hideLabelsSideBar: function () { + return this.$store.getters.getHideLabelsSideBar + }, + mainColor: function () { return this.$store.getters.getMainColor }, diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 5ba049345ace..fb54f9311033 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -5,7 +5,9 @@ class="app" :class="{ hideOutlines: outlinesHidden, - isLocaleRightToLeft: isLocaleRightToLeft + isLocaleRightToLeft: isLocaleRightToLeft, + isSideNavOpen: isSideNavOpen, + hideLabelsSideBar: hideLabelsSideBar && !isSideNavOpen }" > diff --git a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js index 32a4012373b9..f94037ef774b 100644 --- a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js +++ b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.js @@ -52,7 +52,40 @@ export default defineComponent({ required: false, default: '', }, + playlistId: { + type: String, + default: null + }, + playlistType: { + type: String, + default: null + }, + playlistItemId: { + type: String, + default: null + }, + alwaysShowAddToPlaylistButton: { + type: Boolean, + default: false, + }, + quickBookmarkButtonEnabled: { + type: Boolean, + default: true, + }, + canMoveVideoUp: { + type: Boolean, + default: false, + }, + canMoveVideoDown: { + type: Boolean, + default: false, + }, + canRemoveFromPlaylist: { + type: Boolean, + default: false, + }, }, + emits: ['move-video-down', 'move-video-up', 'remove-from-playlist'], data: function () { return { visible: this.firstScreen @@ -160,7 +193,17 @@ export default defineComponent({ methods: { onVisibilityChanged: function (visible) { this.visible = visible - } + }, + moveVideoUp: function() { + this.$emit('move-video-up') + }, + moveVideoDown: function() { + this.$emit('move-video-down') + }, + + removeFromPlaylist: function() { + this.$emit('remove-from-playlist') + }, } }) diff --git a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue index c5f734c93769..df93ed245667 100644 --- a/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue +++ b/src/renderer/components/ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue @@ -17,7 +17,18 @@ v-if="finalDataType === 'video' || finalDataType === 'shortVideo'" :appearance="appearance" :data="data" + :playlist-id="playlistId" + :playlist-type="playlistType" + :playlist-item-id="playlistItemId" :show-video-with-last-viewed-playlist="showVideoWithLastViewedPlaylist" + :always-show-add-to-playlist-button="alwaysShowAddToPlaylistButton" + :quick-bookmark-button-enabled="quickBookmarkButtonEnabled" + :can-move-video-up="canMoveVideoUp" + :can-move-video-down="canMoveVideoDown" + :can-remove-from-playlist="canRemoveFromPlaylist" + @move-video-up="moveVideoUp" + @move-video-down="moveVideoDown" + @remove-from-playlist="removeFromPlaylist" />

diff --git a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js index a7f5a420702f..f73e7585ab3e 100644 --- a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js +++ b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.js @@ -22,15 +22,6 @@ export default defineComponent({ } }, emits: ['click'], - computed: { - isSideNavOpen: function () { - return this.$store.getters.getIsSideNavOpen - }, - - hideLabelsSideBar: function () { - return this.$store.getters.getHideLabelsSideBar - } - }, methods: { click: function() { this.$emit('click') diff --git a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.css b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.scss similarity index 73% rename from src/renderer/components/ft-refresh-widget/ft-refresh-widget.css rename to src/renderer/components/ft-refresh-widget/ft-refresh-widget.scss index a2637ea1abe9..c77a2b5155ac 100644 --- a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.css +++ b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.scss @@ -1,9 +1,9 @@ +@use '../../scss-partials/utils'; + .floatingRefreshSection { - position: fixed; - inset-block-start: 60px; - inset-inline-end: 0; + @include utils.fixed-top-bar; + box-sizing: border-box; - inline-size: calc(100% - 80px); padding-block: 5px; padding-inline: 10px; box-shadow: 0 2px 1px 0 var(--primary-shadow-color); @@ -13,21 +13,12 @@ align-items: center; gap: 5px; justify-content: flex-end; - z-index: 3; } .floatingRefreshSection:has(.lastRefreshTimestamp + .refreshButton) { justify-content: space-between; } -.floatingRefreshSection.sideNavOpen { - inline-size: calc(100% - 200px); -} - -.floatingRefreshSection.hideLabelsSideBar { - inline-size: calc(100% - 60px); -} - .lastRefreshTimestamp { margin-block: 0; text-align: center; diff --git a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue index 5a914b257991..822471156691 100644 --- a/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue +++ b/src/renderer/components/ft-refresh-widget/ft-refresh-widget.vue @@ -1,10 +1,6 @@