Commit Graph

7305 Commits

Author SHA1 Message Date
dependabot[bot]
626f022202
Bump electron from 32.1.2 to 32.2.0 (#5864)
Bumps [electron](https://github.com/electron/electron) from 32.1.2 to 32.2.0.
- [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/v32.1.2...v32.2.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 16:23:43 +02:00
Sveinn í Felli
7d0340c409
Translated using Weblate (Icelandic)
Currently translated at 99.2% (881 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2024-10-14 12:15:55 +02:00
Yosefario Dev
d2e212d49a
Translated using Weblate (Russian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2024-10-14 12:15:54 +02:00
Yaron Shahrabani
6443cdbdae
Translated using Weblate (Hebrew)
Currently translated at 99.8% (887 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2024-10-14 09:16:21 +02:00
Jeff Huang
9554a0a293
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2024-10-14 07:14:20 +02:00
Massimo Pissarello
5730e9319f
Translated using Weblate (Italian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-10-14 04:15:41 +02:00
大王叫我来巡山
0528852473
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-10-14 04:15:40 +02:00
NEXI
dc4c56a3b6
Translated using Weblate (Serbian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-10-13 22:16:27 +02:00
Fjuro
1527f2b70b
Translated using Weblate (Czech)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-10-13 20:16:20 +02:00
Riki Shinozaki
ab59b40389
Translated using Weblate (Japanese)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2024-10-13 20:16:19 +02:00
befag74614
7db25b8e74
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-10-13 16:15:38 +00:00
Rusi Dimitrov
ddb5f9b931
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2024-10-13 16:12:33 +02:00
Yaron Shahrabani
a1250f255b
Translated using Weblate (Hebrew)
Currently translated at 98.9% (879 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2024-10-13 13:16:22 +02:00
gallegonovato
a9f2512d2b
Translated using Weblate (Spanish)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2024-10-13 13:16:21 +02:00
summoner001
9d7e1b6216
Translated using Weblate (Hungarian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-10-13 09:15:49 +00:00
Oğuz Ersen
11ba6c87f4
Translated using Weblate (Turkish)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-10-13 09:15:48 +00:00
Markus Gaugg
4e9d1432da
Translated using Weblate (German)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2024-10-13 09:15:47 +00:00
Oğuz Ersen
be9a931bb3
Translated using Weblate (Turkish)
Currently translated at 98.3% (873 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-10-13 09:20:08 +02:00
Jason
98df210806
Settings menu & UX improvements (#5029)
* Implement settings section sorting

* Make IS_ELECTRON property used directly

* Implement settings menu with icons

* Implement short labels and fallback to longer label when translation doesn't exist

* Implement dynamic scroll-based underlining of active section

* Ensure General Settings is always first, ignoring sorting

Solving the problem of preventing 'jumping around' when changing locales with alphabetical sorting is hard. This problem is easily solved by stickying general settings to the top of the list unconditionally. This is in line with ChunkyProgrammer's initial assessment of how to improve the settings order in https://github.com/FreeTubeApp/FreeTube/issues/1739, albeit not also moving Theme Settings to the top for the time being. The rationale from a functional level is that General Settings is a hub. Even when you change languages, change sort order, or what have you, General Settings is right at the top. I don't imagine we need to update the label of the setting, as I think this relationship is quite intuitive.

* Styling & documentation improvements; remove problematized Hot Pink link underline removal experiment

* Implement bare minimum mobile styling

* Increase link padding

* Fix underline to be equal on both sides

* Update to have first section active by default

* Make constant for 'active' class name

* Replace proxy icon with more fitting one

* Move shortTitle logic

* Update scrolling logic to not use anchor links

* Implement mobile view for Settings Menu

* Replace rounded corners and move section titles to the interior

* Update font sizes and breakpoints to work for all supported devices & languages

* Update as per review comments

* Make class-specific constants declared in file

* Update settings menu link sizing to be dynamic to better accommodate mobile/tablet devices

* Focus active menu on mobile close

* Replace shortTitle with title, & replace EN-US labels with shorter forms

* Update menu font size for mobile devices

* Focus section heading on navigating to it in desktop view

---------

Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>
2024-10-13 09:16:00 +02:00
Priit Jõerüüt
70a1be141f
Translated using Weblate (Estonian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2024-10-12 22:16:17 +00:00
befag74614
738c67e913
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-10-12 17:15:38 +02:00
summoner001
bc80ec2961
Translated using Weblate (Hungarian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-10-12 10:15:37 +02:00
Cloud Esp
f8d2655440
Translated using Weblate (French)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-10-12 06:15:41 +02:00
大王叫我来巡山
c2b51dbd17
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-10-12 06:15:40 +02:00
NEXI
cbd41abf75
Translated using Weblate (Serbian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-10-12 04:16:32 +02:00
Massimo Pissarello
87d53f00ea
Translated using Weblate (Italian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-10-12 04:16:31 +02:00
J. Lavoie
a88b441ba9
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-10-12 00:21:10 +00:00
J. Lavoie
0e8df87716
Translated using Weblate (French)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-10-12 00:21:08 +00:00
Fjuro
c2e9e8d832
Translated using Weblate (Czech)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-10-11 20:16:43 +00:00
Rusi Dimitrov
9d71db93b1
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2024-10-11 20:16:37 +00:00
Massimo Pissarello
39ae2ee874
Translated using Weblate (Italian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-10-11 20:16:33 +00:00
Oğuz Ersen
9b4f2db518
Translated using Weblate (Turkish)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-10-11 18:15:51 +00:00
Markus Gaugg
ee6b92b18e
Translated using Weblate (German)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2024-10-11 18:15:50 +00:00
gallegonovato
ef05334995
Translated using Weblate (Spanish)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2024-10-11 16:16:05 +00:00
Thomas Dickson
89b32de713
Add Playlist Sort By Video Duration (#5627)
* feat: bring up to date to fix merge issues

* feat: declare alreadyShownNotice property

* refactor: change VideoLength to VideoDuration

* refactor: update translations to also use duration

* refactor: update SORT_BY_VALUES to also use duration

* refactor: deduplicate repeated code into seperate function

* feat: if the duration is missing, try and grab it from the history cache

* fix: if the lengthSeconds is a string, treat it as zero (fix for RSS)

* refactor: make checking the duration of a video use the same helper function everywhere

* fix/refactor: make sure toast only shows when a item is missing a duration/use a foreach loop to check the videos in a playlist

* feat: apply suggestions from code review

Co-authored-by: PikachuEXE <git@pikachuexe.net>

* fix: make lint test pass

* feat: apply suggestions from code review (use a single loop instead)

Co-authored-by: PikachuEXE <git@pikachuexe.net>

* fix: make lint test pass for single-loop

* fix: check for present video duration in history (with small refactoring)

* fix: if fallback value gotten from history, still mark as missing duration

---------

Co-authored-by: PikachuEXE <git@pikachuexe.net>
2024-10-11 16:55:34 +02:00
Priit Jõerüüt
bd1e4e2d7c
Translated using Weblate (Estonian)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2024-10-11 14:15:37 +02:00
Massimo Pissarello
6c6ea236ce
Translated using Weblate (Italian)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-10-11 08:38:27 +02:00
Cloud Esp
e71f07cf7c
Translated using Weblate (French)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-10-11 02:18:36 +00:00
大王叫我来巡山
123a4bfa97
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-10-11 02:41:15 +02:00
NEXI
3a4320dd5f
Translated using Weblate (Serbian)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-10-10 23:16:22 +00:00
NEXI
944764f9f9
Translated using Weblate (Serbian)
Currently translated at 99.7% (882 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-10-10 23:15:48 +02:00
Grzegorz Wójcicki
be79c7afbd
Translated using Weblate (Polish)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2024-10-10 23:15:47 +02:00
Fjuro
d3ed9e9be9
Translated using Weblate (Czech)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-10-10 21:42:21 +02:00
PikachuEXE
126df9a3a4
Update playlist import to only add duplicate playlist items sometimes (#5783)
* $ Use early return within `#forEach`

* * Update playlist import to only add duplicate playlist items sometimes

Either when existing playlist or incoming playlist has duplicate items

* ~ Update comment

* Update src/renderer/components/data-settings/data-settings.js
2024-10-10 14:17:35 -04:00
ChunkyProgrammer
64d73f4abb
Add configurations for linting scripts and add global ignores (#5843)
* Add configurations for linting scripts and add global ignores

* optimize eslint ignore patterns

* remove `node_modules` since it's already ignored by default

* implement code suggestions

Co-Authored-By: PikachuEXE <1018543+PikachuEXE@users.noreply.github.com>

---------

Co-authored-by: PikachuEXE <1018543+PikachuEXE@users.noreply.github.com>
2024-10-10 19:54:07 +02:00
99 efi
b9214a0a17
Translated using Weblate (Hungarian)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-10-10 19:16:27 +02:00
Oğuz Ersen
af3e85a70e
Translated using Weblate (Turkish)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-10-10 19:16:26 +02:00
gallegonovato
3446bc2032
Translated using Weblate (Spanish)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2024-10-10 17:16:30 +02:00
Gabriel Camargo
409cfd8453
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-10-10 17:16:29 +02:00
Markus Gaugg
bdba800d65
Translated using Weblate (German)
Currently translated at 100.0% (884 of 884 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2024-10-10 17:16:28 +02:00