Commit Graph

7189 Commits

Author SHA1 Message Date
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
ChunkyProgrammer
c02d64798d
IV: Display video tags in search results (#5590)
* Display video tags for Invidious

* change isVR to isVr

* remove unused label
2024-10-10 15:20:18 +02:00
absidue
e1a3b44828
Update regions (#5847) 2024-10-10 15:13:11 +02:00
ChunkyProgrammer
cc7b64aa48
Translated using Weblate (Belarusian)
Currently translated at 100.0% (879 of 879 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/be/
2024-10-09 22:37:28 +02:00
Aliaksandr Truš
3b4d88dca6
Translated using Weblate (Belarusian)
Currently translated at 100.0% (879 of 879 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/be/
2024-10-08 18:16:27 +02:00
Aliaksandr Truš
71520c84fa
Translated using Weblate (Belarusian)
Currently translated at 100.0% (879 of 879 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/be/
2024-10-08 11:16:26 +02:00
Aliaksandr Trush
a861ee7821
Enable Belarusian locale (#5841) 2024-10-08 07:32:33 +02:00
Yosefario Dev
80c418a3be
Translated using Weblate (Russian)
Currently translated at 100.0% (879 of 879 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2024-10-07 18:16:25 +02:00
Riki Shinozaki
e756854fa6
Translated using Weblate (Japanese)
Currently translated at 100.0% (879 of 879 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2024-10-07 18:16:24 +02:00
Jacopo De Gattis
7745a78891
fix cmd+m shortcut to minimize the window on macos and not mute the video (FreeTubeApp#5828) (#5829) 2024-10-07 18:01:52 +02:00
PikachuEXE
04bce3d3aa
Update dependabot.yml to add new eslint packages into the eslint group (#5837) 2024-10-07 18:01:00 +02:00
dependabot[bot]
1034c5a926
Bump the babel group with 4 updates (#5831)
Bumps the babel group with 4 updates: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser), [@babel/plugin-transform-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env).


Updates `@babel/core` from 7.25.2 to 7.25.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/packages/babel-core)

Updates `@babel/eslint-parser` from 7.25.1 to 7.25.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/eslint/babel-eslint-parser)

Updates `@babel/plugin-transform-class-properties` from 7.25.4 to 7.25.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/packages/babel-plugin-transform-class-properties)

Updates `@babel/preset-env` from 7.25.4 to 7.25.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel
- dependency-name: "@babel/plugin-transform-class-properties"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 18:00:46 +02:00
dependabot[bot]
3762b7faa8
Bump globals from 15.9.0 to 15.10.0 (#5835)
Bumps [globals](https://github.com/sindresorhus/globals) from 15.9.0 to 15.10.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.9.0...v15.10.0)

---
updated-dependencies:
- dependency-name: globals
  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-07 17:59:18 +02:00
dependabot[bot]
562cfbd962
Bump lefthook from 1.7.17 to 1.7.18 (#5836)
Bumps [lefthook](https://github.com/evilmartians/lefthook) from 1.7.17 to 1.7.18.
- [Release notes](https://github.com/evilmartians/lefthook/releases)
- [Changelog](https://github.com/evilmartians/lefthook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evilmartians/lefthook/compare/v1.7.17...v1.7.18)

---
updated-dependencies:
- dependency-name: lefthook
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 18:58:09 +08:00
dependabot[bot]
2e640eeccf
Bump the eslint group with 2 updates (#5832)
Bumps the eslint group with 2 updates: [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) and [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn).


Updates `eslint-plugin-import` from 2.30.0 to 2.31.0
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.30.0...v2.31.0)

Updates `eslint-plugin-unicorn` from 55.0.0 to 56.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 06:54:45 -04:00
dependabot[bot]
bee62fa69c
Bump @eslint/js from 9.11.1 to 9.12.0 (#5833)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.11.1 to 9.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.12.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  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-07 06:54:20 -04:00
dependabot[bot]
9f3495cf9f
Bump @eslint/compat from 1.1.1 to 1.2.0 (#5834)
Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.1.1...compat-v1.2.0)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  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-07 06:53:34 -04:00