Commit Graph

5424 Commits

Author SHA1 Message Date
Yaron Shahrabani
1c016bb02c
Translated using Weblate (Hebrew)
Currently translated at 100.0% (720 of 720 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2023-09-11 08:57:06 +02:00
Yaron Shahrabani
ca8b3226e9
Translated using Weblate (Hebrew)
Currently translated at 100.0% (720 of 720 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2023-09-11 06:53:38 +02:00
Eric
0961d5a4e9
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (719 of 720 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-09-11 01:53:16 +02:00
Benjababe
8c07ef3521
Add subscribed icon to comments (#4007)
* add subscribed icon to comments

* update subscribed img src

* update subscribed icon css

* add author id to local api comments

* update subscribe icon on theme change

* add subscription icon to comment replies

* Update src/renderer/components/watch-video-comments/watch-video-comments.css

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-09-11 07:14:18 +08:00
Sveinn í Felli
c96f8c58c9
Translated using Weblate (Icelandic)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2023-09-10 15:19:49 +02:00
Fjuro
a64cff4c01
Translated using Weblate (Czech)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-09-10 15:19:48 +02:00
Rusi Dimitrov
9dfbeee099
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2023-09-10 15:19:47 +02:00
Grzegorz Wójcicki
b682fc292a
Translated using Weblate (Polish)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2023-09-10 15:19:47 +02:00
Rex_sa
10816b6ddf
Translated using Weblate (Arabic)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2023-09-10 11:24:20 +02:00
Retrial
1210554668
Translated using Weblate (Greek)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/el/
2023-09-10 04:12:18 +02:00
Massimo Pissarello
c01201adfa
Translated using Weblate (Italian)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2023-09-10 04:12:17 +02:00
Eric
eb394046b6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-09-10 04:12:16 +02:00
ovari
2a64488281
Translated using Weblate (Hungarian)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2023-09-10 02:11:13 +02:00
Carlos Luiz
81942b2beb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2023-09-10 02:11:12 +02:00
Ihor Hordiichuk
90b323e7cc
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2023-09-10 00:18:41 +02:00
gallegonovato
a65df4d15c
Translated using Weblate (Spanish)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-09-10 00:18:40 +02:00
Yaron Shahrabani
cf83de2081
Translated using Weblate (Hebrew)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2023-09-09 21:15:12 +02:00
Oğuz Ersen
4d2d0cc64c
Translated using Weblate (Turkish)
Currently translated at 100.0% (719 of 719 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2023-09-09 21:15:11 +02:00
ChunkyProgrammer
c7025b648c
Search: Add hashtags to results (#3780)
* Add hashtags to search results

* add global count , implement changes from code review

Co-Authored-By: absidue <48293849+absidue@users.noreply.github.com>

* use h3 for title of hashtag element

* implement suggestions from code review

* use hashtag.text, move url update logic

* encodeURI for hashtag url

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-09-09 18:32:59 +02:00
Jason
6f2a535212
Implement right-to-left interface (#3970)
* Replace margin-left with margin-inline-start

* Replace margin-right with margin-inline-end

* Replace padding-left with padding-inline-start

* Replace padding-right with padding-inline-end

* Replace padding-top & padding-bottom with padding-block; continue replacing  padding-left and padding-right with padding-inline-start and padding-inline-end

* Add updated rtl-compatible margins to ft-slider and fix indentation

* Replace margin-top & margin-bottom with margin-block; continue replacing margin-left and margin-right with margin-inline-start and margin-inline-end

* Continue replacing with margin-block and margin-inline

* Replace left and right with inset-inline-start and inset-inline-end

This commit also changes border-left to border-inline-start, and border-right to border-inline-end.

* Replace margin-bottom, top, and bottom with margin-block-end, inset-block-start, and inset-block-end

This commit also replaces border-top and border-bottom with border-block-start and border-block-end.

* Replace text-align left and right with text-align start and end

* Fix syntax error with inset-block-end

* Implement dynamic float: left/right based on direction ltr/rtl

* Implement dynamic navigation arrow placement based on direction ltr/rtl

To the fullest of my understanding, it is expected for the left navigation in rtl-supporting browsers to be for forward navigation, and the right one to be for backward navigation.

* Add direction to body based on preferred language

* Implement horizontal directionality coefficient to fix translate working in wrong x-direction for rtl languages

* Add explicit text-align: start in places to ensure rtl version is correctly aligned

* Add text-align: start to places where it is not inferred to enable proper rtl text orientation

* Fix search bar magnifying glass being too far right issue

* Move body.dir-setting logic to setLocale to fix dir not setting correctly on page reload

* Change .switchColumn to have align-items: start instead of justify-items: start

I have validated this for all settings tabs; the justify-content: start did nothing in any language, left-to-right or right-to-left. Replacing it with align-items: start aligned all menu switch items by their switches, not by their labels. This makes for a much more uniform settings section for trl languages.

* Fix emergent bug in which history icons are temporarily disabled on changing language to one with different directionality

Given that which icon is displayed for which history arrow is now dynamic based on the user's directionality, changing of the icon resets the font-awesome-icon state and thus re-adds the base disabled class to both arrows. This means that changing your language to one that has a different directionality was falsely setting the arrows to their disabled state (until the route is changed, after which the history icons will be fully back to normal). This commmit refactors the history icon setting logic to use class binding to two booleans in the top-nav component's data rather than adding and removing the disabled classes directly to the arrow elements' classLists, thus cleaning up the implementation and fixing the bug.

* Add Kurdish to rtl languages list & add li items to be right-aligned on rtl languages

* Force FreeTube logo to be ordered left-to-right for 'brand consistency'

* Add styling flipping font-awesome icons for rtl languages except for exclusion list

* Update isRightAligned with additional languages, and use it instead of locale value from store

Kudos to absidue for pointing out this existing function for representing this, and that it grabs directly from the i18n object. This means that FreeTube will display the proper rtl interface if one is the user's system language, where it did not before.

* Update isRightAligned property name to more clearly reflect rtl purpose

* Simplify left/right arrow display logic

Leverage the icons being flipped rather than manually setting the classes to their opposites when the directionality is RTL.

* Replace justify-self: left & justify-self: right with justify-self; start and justify-self: end

* Remove misguided attempt to emulate directionality-agnosticism with rightAligned class

* Explicitly center FreeTube version on About page

* Replace pre-existing identation issue

* Replace margin-left with margin-inline-start

* Replace margin-right with margin-inline-end

* Replace padding-left with padding-inline-start

* Replace padding-right with padding-inline-end

* Replace padding-top & padding-bottom with padding-block; continue replacing  padding-left and padding-right with padding-inline-start and padding-inline-end

* Add updated rtl-compatible margins to ft-slider and fix indentation

* Replace margin-top & margin-bottom with margin-block; continue replacing margin-left and margin-right with margin-inline-start and margin-inline-end

* Continue replacing with margin-block and margin-inline

* Replace left and right with inset-inline-start and inset-inline-end

This commit also changes border-left to border-inline-start, and border-right to border-inline-end.

* Replace margin-bottom, top, and bottom with margin-block-end, inset-block-start, and inset-block-end

This commit also replaces border-top and border-bottom with border-block-start and border-block-end.

* Replace text-align left and right with text-align start and end

* Fix syntax error with inset-block-end

* Implement dynamic float: left/right based on direction ltr/rtl

* Implement dynamic navigation arrow placement based on direction ltr/rtl

To the fullest of my understanding, it is expected for the left navigation in rtl-supporting browsers to be for forward navigation, and the right one to be for backward navigation.

* Add direction to body based on preferred language

* Implement horizontal directionality coefficient to fix translate working in wrong x-direction for rtl languages

* Add explicit text-align: start in places to ensure rtl version is correctly aligned

* Add text-align: start to places where it is not inferred to enable proper rtl text orientation

* Fix search bar magnifying glass being too far right issue

* Move body.dir-setting logic to setLocale to fix dir not setting correctly on page reload

* Change .switchColumn to have align-items: start instead of justify-items: start

I have validated this for all settings tabs; the justify-content: start did nothing in any language, left-to-right or right-to-left. Replacing it with align-items: start aligned all menu switch items by their switches, not by their labels. This makes for a much more uniform settings section for trl languages.

* Fix emergent bug in which history icons are temporarily disabled on changing language to one with different directionality

Given that which icon is displayed for which history arrow is now dynamic based on the user's directionality, changing of the icon resets the font-awesome-icon state and thus re-adds the base disabled class to both arrows. This means that changing your language to one that has a different directionality was falsely setting the arrows to their disabled state (until the route is changed, after which the history icons will be fully back to normal). This commmit refactors the history icon setting logic to use class binding to two booleans in the top-nav component's data rather than adding and removing the disabled classes directly to the arrow elements' classLists, thus cleaning up the implementation and fixing the bug.

* Add Kurdish to rtl languages list & add li items to be right-aligned on rtl languages

* Force FreeTube logo to be ordered left-to-right for 'brand consistency'

* Add styling flipping font-awesome icons for rtl languages except for exclusion list

* Update isRightAligned with additional languages, and use it instead of locale value from store

Kudos to absidue for pointing out this existing function for representing this, and that it grabs directly from the i18n object. This means that FreeTube will display the proper rtl interface if one is the user's system language, where it did not before.

* Update isRightAligned property name to more clearly reflect rtl purpose

* Simplify left/right arrow display logic

Leverage the icons being flipped rather than manually setting the classes to their opposites when the directionality is RTL.

* Replace justify-self: left & justify-self: right with justify-self; start and justify-self: end

* Remove misguided attempt to emulate directionality-agnosticism with rightAligned class

* Explicitly center FreeTube version on About page

* Fix question mark reversing logic for Arabic, Hebrew, Persian, and Urdu

* Fix minor indentation issue

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Remove unused function

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Update src/renderer/components/ft-slider/ft-slider.css

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2023-09-09 18:29:26 +02:00
Philip Goto
24ee3289fe
Translated using Weblate (Dutch)
Currently translated at 98.4% (706 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nl/
2023-09-09 11:55:57 +02:00
ovari
68dd15baff
Translated using Weblate (Hungarian)
Currently translated at 99.7% (715 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2023-09-09 05:16:08 +02:00
ChunkyProgrammer
1533e9ec90
Enable Persian language (#4010) 2023-09-08 23:37:16 +00:00
Ettore Atalan
6a6f37e286
Translated using Weblate (German)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2023-09-08 18:57:55 +02:00
dependabot[bot]
754afef419
Bump electron from 22.3.18 to 22.3.21 (#4008)
Bumps [electron](https://github.com/electron/electron) from 22.3.18 to 22.3.21.
- [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/v22.3.18...v22.3.21)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 11:42:46 -04:00
gallegonovato
edd4e1cc63
Translated using Weblate (Spanish)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-09-08 15:56:46 +02:00
Dragibus Noir
110e68f073
Translated using Weblate (French)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2023-09-08 15:56:45 +02:00
Sveinn í Felli
906d776e24
Translated using Weblate (Icelandic)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2023-09-08 11:56:59 +02:00
dependabot[bot]
8539e6e403
Bump the eslint group with 1 update (#4001)
Bumps the eslint group with 1 update: [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier).

- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.2.1...v5.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  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>
2023-09-08 11:07:21 +02:00
Massimo Pissarello
b482dc89a5
Translated using Weblate (Italian)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2023-09-08 06:57:47 +02:00
Rusi Dimitrov
fb575e563b
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2023-09-08 00:59:31 +02:00
Rex_sa
87f83cfdaf
Translated using Weblate (Arabic)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2023-09-08 00:59:30 +02:00
Kyotaro Iijima
b453909441
Translated using Weblate (Japanese)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2023-09-08 00:59:29 +02:00
Rusi Dimitrov
f60f262c20
Translated using Weblate (Bulgarian)
Currently translated at 99.0% (710 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2023-09-07 21:56:47 +02:00
Fjuro
fe332eeb9b
Translated using Weblate (Czech)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-09-07 20:59:40 +02:00
Fjuro
508c2de20e
Translated using Weblate (Czech)
Currently translated at 99.7% (715 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-09-07 19:58:01 +02:00
Oğuz Ersen
b9dcb9615d
Translated using Weblate (Turkish)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2023-09-07 19:58:00 +02:00
Ihor Hordiichuk
3807ae618e
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2023-09-07 15:22:54 +02:00
Carlos Luiz
feb6ae6f94
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2023-09-07 15:22:53 +02:00
Jeff Huang
51eb5790cb
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2023-09-07 09:55:40 +02:00
Sameer Sharma
81b8523a57
Update Snap Information (#4006)
New store name + manifest location updated.
2023-09-07 15:18:05 +08:00
Yaron Shahrabani
e9cad44714
Translated using Weblate (Hebrew)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2023-09-07 07:55:37 +02:00
bittin1ddc447d824349b2
4485e70125
Translated using Weblate (Swedish)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2023-09-07 07:55:36 +02:00
Retrial
33f415f8ef
Translated using Weblate (Greek)
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/el/
2023-09-07 07:55:35 +02:00
Eric
704e34418f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (717 of 717 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-09-07 07:55:34 +02:00
absidue
e832f22c6f
Default theatre mode no sidebar (#3981)
* Revert "! Fix watch page layout when theatre mode enabled and sidebar "hidden" (#3931)"

This reverts commit 621cc27938.

* Fix the watch page layout when the sidebar is hidden and theatre mode mode is enabled by default

* Do not use theatre mode while loading
2023-09-06 23:43:27 -04:00
Benjababe
15437347b4
Add button to pause playlist after current video (#3938)
* Rounded playlist buttons to circles

* Add pause button for playlists

* reverted en_GB changes
2023-09-07 09:28:21 +08:00
Retrial
35d3cce799
Translated using Weblate (Greek)
Currently translated at 100.0% (714 of 714 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/el/
2023-09-06 21:58:48 +02:00
EditaNEmilis
02d5d01877
Translated using Weblate (Lithuanian)
Currently translated at 92.1% (658 of 714 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/lt/
2023-09-06 20:01:44 +02:00
Luna Jernberg
1c8553cc11
Translated using Weblate (Swedish)
Currently translated at 100.0% (714 of 714 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2023-09-06 17:53:16 +02:00