Commit Graph

3752 Commits

Author SHA1 Message Date
Rex_sa 15685d9be1
Translated using Weblate (Arabic)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2022-10-01 10:21:48 +02:00
Grzegorz Wójcicki 649ba96994
Translated using Weblate (Polish)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2022-10-01 01:27:07 +02:00
Ihor Hordiichuk 5879cb071a
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-09-30 22:20:31 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc 240511dabb
Create dependabot.yml (#2640)
* Create dependabot.yml

* labels
2022-09-30 14:30:18 +02:00
Massimo Pissarello a9bb627cce
Translated using Weblate (Italian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-30 10:18:57 +02:00
ovari 124aa6295d
Translated using Weblate (Hungarian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2022-09-30 07:21:37 +02:00
Oğuz Ersen 3c8fe190bb
Translated using Weblate (Turkish)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2022-09-30 07:21:37 +02:00
Allan Nordhøy 856b92c97f
Translated using Weblate (Norwegian Bokmål)
Currently translated at 81.9% (516 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2022-09-30 07:21:36 +02:00
Eric c9a111c226
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-09-30 07:21:35 +02:00
Hosted Weblate 947ba241af
Merge branch 'origin/development' into Weblate. 2022-09-30 04:29:56 +02:00
Jeff Huang 573a4b1c53
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (626 of 626 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-09-30 04:29:56 +02:00
Aiz 6ddbce2e02
Add setting to disable automatic fetching of subscription feed (#2632)
* Add setting to disable automatic fetching of subscriptions

* rename from load to fetch. fix profile switch auto fetching

* add message for when auto fetch is disabled

* add strings to locale file

* Use a switch column grid for the subscription settings

This matches the layout other settings components

* remove import of now unused ft-flex-box component

* add variable to track if an attempt to fetch has been made.

used so the disable automatic fetch message doesn't block the
empty channels message.

* reduce distance between switches by adding compact=true

* edit tooltip wording
2022-09-29 22:29:47 -04:00
absidue 964f29439d
Only download fitting lefthook binary instead of all of them (#2639) 2022-09-30 10:05:22 +08:00
ovari ddcfa5367f
Translated using Weblate (Hungarian)
Currently translated at 100.0% (626 of 626 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2022-09-30 03:23:31 +02:00
Eric 8fd269d735
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (626 of 626 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-09-30 03:23:30 +02:00
Allan Nordhøy f737dc2656
Translated using Weblate (Norwegian Bokmål)
Currently translated at 81.4% (510 of 626 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2022-09-30 01:24:10 +02:00
Ihor Hordiichuk 341ba0442d
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (626 of 626 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-09-30 00:20:30 +02:00
PikachuEXE 21371eec1a
* Update search in new window function to also copy original query text to new window search input (#2637) 2022-09-29 21:22:28 +00:00
Hosted Weblate b62e5b65fa
Merge branch 'origin/development' into Weblate. 2022-09-29 22:02:04 +02:00
이정희 36b62a1fe9
Translated using Weblate (Korean)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ko/
2022-09-29 22:02:03 +02:00
absidue bc886af726
Implement chapters (#2224)
* Implement chapters

* Generate chapters locally for the Invidious API backend

* Performance improvements

* More performance improvements

* Improve chapters appearance and add compact mode for Invidious

* Update UI while seeking instead of afterwards

* Invidious extract chapters with range timestamps properly and duplicate chapters

* Minor code improvement

* Add accessibility labels and keyboard navigation

* Add chapter markers

* Fix missing newline at the bottom of ft-video-player.css

* Fix marker placement
2022-09-29 20:01:54 +00:00
gallegonovato 1e62ba9d30
Translated using Weblate (Spanish)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-29 20:17:58 +02:00
absidue 206094aecd
Create video player buttons without jquery (#2636) 2022-09-29 13:15:30 +00:00
Emma f0deb78e6f
Hiding "Disable smooth scroll" option in web (#2638)
* Hiding "smooth-scroll" setting when not electron

- This feature requires the restart of electron and
doesn't work in web builds.

* Removing this comment

- A safeguard was added
- This function won't be called unless IS_ELECTRON is true
2022-09-29 12:24:10 +00:00
ovari fbc0bff055
Translated using Weblate (Hungarian)
Currently translated at 97.2% (605 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2022-09-29 13:20:04 +02:00
Eric 95a74f5133
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-09-29 13:20:02 +02:00
ovari e0c3f47c6c
Translated using Weblate (Hungarian)
Currently translated at 92.4% (575 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2022-09-29 08:19:40 +02:00
Massimo Pissarello a84f9c466b
Translated using Weblate (Italian)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-29 08:19:38 +02:00
Jeff Huang 40eea46808
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-09-29 08:19:38 +02:00
absidue 850ed6502c
Fix package.json getting embedded in the release builds (#2635) 2022-09-28 20:55:33 -04:00
Ihor Hordiichuk 6ce8c2c48d
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-09-29 01:17:55 +02:00
Milo Ivir 81159ccdb6
Translated using Weblate (Croatian)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2022-09-29 01:17:54 +02:00
Sveinn í Felli 0c641412c3
Translated using Weblate (Icelandic)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2022-09-28 22:19:30 +02:00
Fjuro 7c008feafc
Translated using Weblate (Czech)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-09-28 22:19:29 +02:00
Oğuz Ersen 69a4cb068a
Translated using Weblate (Turkish)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2022-09-28 22:19:28 +02:00
Massimo Pissarello c892ca1c05
Translated using Weblate (Italian)
Currently translated at 100.0% (622 of 622 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-28 22:19:28 +02:00
absidue e094fc504f
Fix broken urdu language (#2633) 2022-09-28 13:57:11 -04:00
Emma e2686dfe24
Fixing issue instance list not falling back (#2626)
- Expanded the fall-back to catch edge
cases where the instance list returns a
completely valid response of [] (an other-
wise useless response which doesn't throw
an error).
2022-09-27 22:05:12 +02:00
absidue c3f8a3561b
Replace jquery in ft-icon-button with vue functionality (#2617)
* Replace jquery in ft-icon-button with vue functionality

* Rename hide method to hideDropdown

* Fix typo in comment

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Fix menu reappearing too soon

* Fix share menu buttons not triggering

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
2022-09-27 08:16:56 -04:00
Aiz 498ae77ade
Improve styling of premiere date box (#2611)
* use 5px border radius instead of 5%

a 5% border radius will create an oval shape when height and width differ.
this doesn't look good.
5px radius looks better and is used in other places

* offset premiereDate by 12px from bottom left

Increases the offset a tiny amount and adds a left offset aswell.
This looks better than when it was previously only offset from the bottom.
I used 12px because it's what youtube uses.

* use flexbox to align items additional positioning with margins

vertically centes premiere icon and text with by making their parent a flexbox

sets a min width for the text instead of using a set width for the premiereDate

* change font size and weight of timestamp text

* remove uneeded line height styling

line height 1.2 did not affect anything

* fix indentation

* Update src/renderer/views/Watch/Watch.sass

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

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2022-09-27 07:19:35 +08:00
Aiz 618aaa9f95
update PULL_REQUEST_TEMPLATE.md (#2624) 2022-09-26 22:45:21 +02:00
absidue 6d1b0a63b6
Fix empty description box showing for the Invidious API (#2614)
* Fix empty description box showing for the Invidious API

* Add comment about HTML parsing
2022-09-26 20:36:41 +00:00
absidue 9de1a5e4dc
Small build config cleanup (#2621) 2022-09-26 16:17:04 -04:00
Aiz 148db553f5
Remove disable CORS Line. issue is fixed upstream (#2623)
issue was fixed in https://github.com/electron/electron/pull/25463

it will now be disabled when with webSecurity: false
2022-09-26 16:16:38 -04:00
absidue fa8d423bc6
Fix some development code not getting optimised out (#2605) 2022-09-26 16:15:13 -04:00
absidue 8e72e7fe5f
Replace jquery in top-nav component (#2620) 2022-09-26 16:14:21 -04:00
absidue c1a78d878e
Use native addEventListener instead of jquery's .on (#2612) 2022-09-25 08:44:16 +08:00
absidue facbbf6acf
Replace jquery $.param with native URLSearchParams (#2613) 2022-09-24 19:39:27 -04:00
Aiz c9c522a2b1
Use Intl.RelativeTimeFormat() for premiere upcoming time left (#2610)
* Improve premiere timestamp

Removes the unesseccary parts of the timestamp, year and seconds.

displays month as long name (eg., March)

* fix linting... forgot to add the file again before commit.

* get and use current locale set in freetube

this fixes issues where os locale and freetube locale don't match

* use 'default' when no locale is set in freetube.

this defaults to system locale

* use i18n to get locale and format date with intl

* format date with intl.datetimeformat

forgot to add file again after changes...

* use intl relative time format to format upcomingTimeLeft

* rename timeUnitI18nKey to just timeUnit

It's no longer used as a key and is no longer partial
2022-09-24 23:23:45 +00:00
absidue ac4cc4a611
Compress and lazy load locales (#2603)
* Compress and lazy load locales

* Remove index.html when loading the locales on the web

* Fix locale output path for web build
2022-09-24 11:06:50 -04:00