Commit Graph

94 Commits

Author SHA1 Message Date
absidue f7206ec7e8
Use blob URLs for storyboards instead of writing them to the file system (#4891) 2024-04-08 09:31:20 +08:00
ChunkyProgrammer d8387b76d7
Add i18n-eslint-plugin (#4763)
* add i18n-eslint-plugin

* remove `FreeTube` `Invidious` and `YouTube` from locale files as those shouldn't be translated

* Remove testing code

* Uncomment code

* use separate getColorTranslations function

* make suggested changes

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

* Add back blank line between import & export

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: PikachuEXE <git@pikachuexe.net>
2024-04-07 14:58:15 +00:00
J. Lavoie 32990cf4ba
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (819 of 819 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-03-15 14:02:10 +01:00
Richard-EnglishUK d1bb2f9dc2
Translated using Weblate (English (United Kingdom))
Currently translated at 96.6% (789 of 816 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-02-27 18:16:40 +01:00
ChunkyProgrammer 6cbe6b5e9d
Fix some translation issues (#4674)
* fix some locale issues

* change local API to Local API

* update translation keys to `Falling back to Local API`

* fix translation key for local api in js files
2024-02-16 22:20:22 +01:00
J. Lavoie 625b2ee73d
Translated using Weblate (English (United Kingdom))
Currently translated at 96.6% (788 of 815 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-02-08 01:01:55 +01:00
J. Lavoie a19db8555d
Translated using Weblate (English (United Kingdom))
Currently translated at 96.2% (777 of 807 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-01-21 19:01:54 +01:00
trostboot 40ff63abbb
Add toggle to suppress sending additional args to external players (#4515)
* Add toggle to supress sending additional args to ext. players

* Reverse ignoreArgs conditional logic

* Disable custom arg input if args are disabled

* Keep custom arguments, rename option accordingly
2024-01-12 23:06:52 -05:00
J. Lavoie 1b9c6f7b67
Translated using Weblate (English (United Kingdom))
Currently translated at 97.4% (774 of 794 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-01-12 23:06:26 +01:00
J. Lavoie 466fb39ee6
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (726 of 726 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-11-16 20:05:26 +01:00
J. Lavoie ac9697f506
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (722 of 722 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-11-05 07:34:37 +01:00
ChunkyProgrammer 97bed36977
Translated using Weblate (English (United Kingdom))
Currently translated at 97.7% (706 of 722 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-10-18 04:15:21 +00:00
ChunkyProgrammer 47ef3e5746
Subscriptions: Add community tab (#3973)
* Add subscription community tab

* fix up community tab

* simplify if statement

* use global.community for all references to community

* dont show community when useRss is set

* check visibleTabs for showing the community tab

* fix caching, decrease datalimit for community, add missing translations

* L: Hide shared posts, IV: Don't show errors for empty community tab

* add links to related issues
2023-09-23 00:19:50 +00:00
ChunkyProgrammer 67bdf718c0
Fix localization of counts (#4011)
* Fix localization of counts

* Apply suggestions from code review

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

* Remove unused locale resources

---------

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2023-09-12 19:38:36 +02:00
J. Lavoie 5d24629a6d
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (704 of 704 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-07-26 02:05:43 +02:00
Preston b9eb2a76fb
Add Tabs to subscriptions page for live streams and shorts (#3725)
* Add Tabs to subscriptions page for live streams and shorts

* Fix naming issue with fetching live streams via Invidious RSS

* Remove console log

* Better error handling and better live stream sorting

* Fix linter issues

* Change videos RSS feed. Make live stream call more efficient.

* Store last used tab in memory. Return to last used tab on mount

* Fix live sorting. Reorganize tabs and check for currentTab via created instead of mounted

* Fix linting issue

* Start Global locales object, add distraction free checks for subscriptions tab

* Start Global locales object for all locales

* Cleanup and reduce duplicate code

* Undo original distraction free settings change

* Fix missing change in previous commit

* Add distraction free settings to hide tabs

* Improve accessibility

* Make app-wide hide live streams setting override hide subscriptions live

* Fix incorrect all tabs disabled message

* Fix arrow key navigation

* Create shared UI component for the subscription tabs

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-07-21 07:33:34 -04:00
PikachuEXE 325b36ea01
Update recommended video section to use hide videos from channel preference (#3749)
* * Update recommended video section to use hide videos from channel preference

* * Update setting tooltip text

* Update `or` to `and`

* * Update most popular view to use hide videos from channel preference
2023-07-12 20:09:28 -04:00
absidue 939352347d
Add a script to update the region/geolocation files (#3701)
* Add a script to update the region/geolocation files

* Update tooltip now that we only list supported geolocations

* Add language sensitive sorting
2023-07-01 10:08:09 -04:00
Andi Chandler 8f7c9278a7
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (687 of 687 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-05-30 13:30:08 +02:00
J. Lavoie fb105d02fb
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (683 of 683 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-05-30 00:49:15 +02:00
Yaron Shahrabani c4f6033dee
Update Channel age restricted key (#3237)
* Update Channel.js

Typo fixed

* Fix channel age-restricted key in all files

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-04-10 08:08:55 -04:00
PikachuEXE 454534adb7
Fix some translation entries sometimes not used when rendered (#3337)
* * Update all translation keys with 2 spaces to have 1 space only

Avoid not being translated when rendering

* - Remove unused translation entry
2023-04-08 22:50:52 +00:00
Andi Chandler 1f81a5dc5a
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (674 of 674 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-03-27 21:38:56 +02:00
Andi Chandler bc6b517cc1
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (673 of 673 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-03-19 01:46:12 +01:00
J. Lavoie e9630627d9
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (671 of 671 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-03-07 00:42:30 +01:00
Andi Chandler 2e5b1d381c
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (671 of 671 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-03-05 00:44:17 +01:00
J. Lavoie 6507d5a2c2
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-03-01 16:38:25 +01:00
J. Lavoie e3c9a5dd14
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-02-05 02:45:51 +01:00
absidue b6892afb26
Use share menu on playlist page (#3121)
* Use share menu on playlist page

* Add support for playlist embed links

* Fix share button tooltip
2023-02-01 15:38:27 -05:00
Andi Chandler f8aa6e90df
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (662 of 662 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-01-27 00:47:36 +01:00
ChunkyProgrammer c1462dc3d1
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (659 of 659 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-01-12 15:50:26 +01:00
J. Lavoie 75046777e9
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (657 of 657 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-12-27 11:51:06 +01:00
J. Lavoie b53cee61e1
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (651 of 651 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-12-19 22:50:26 +01:00
Andi Chandler da7946e79f
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (639 of 639 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-11-27 21:47:48 +01:00
M. Ian Graham 207d72a9c2
Add setting: Distraction Free Settings → Hide Upcoming Premieres (#2853) 2022-11-24 13:31:53 +01:00
Alhuin 3d473d90ef
#1414 share channels (#2859)
* #1414: Add share button ton Channel view
- Update src/renderer/components/ft-share-button to handle Channels
- Update english locale entries for 'Share channel'

* #1414: Add share button ton Channel view
- update youtubeShareURL() in src/renderer/components/ft-share-button

* #1414: Add share button ton Channel view
- implemented the new button in src/renderer/views/Channel

* #1414: Add share button ton Channel view
- renamed mediaType to shareTargetType in ft-share-button.js
- switched logic from !isChannel to isVideo in ft-share-button.vue

* #1414: Add share button ton Channel view
- renamed target type in ft-share-button.vue
- updated implementation in Channel.vue
2022-11-14 12:10:47 +01:00
Emma f8ff0e1249
Add setting to toggle `Enter fullscreen on rotate` (#2808)
It defaults to `false`. This should prevent users with
multiple displays from running into issues when they
drag the window from a portrait display to a landscape
display too quickly.
2022-11-04 09:11:22 +08:00
J. Lavoie 1ef2a56991
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (635 of 635 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-10-30 06:07:25 +01:00
J. Lavoie 64679ca1ce
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (634 of 634 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-10-25 23:05:12 +02:00
J. Lavoie 26e40c51e7
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-10-18 01:57:10 +02:00
absidue c0f98eeafe
Use named parameters instead of $ and % in localised strings (#2685)
* Use named parameters instead of $ and % in localised strings

* Fix URL warning again

* Update placeholders in most locales

* Let the translators fix the problematic RTL strings

* Fix the missing quotes in some of the YAML files
2022-10-13 11:51:15 +00:00
J. Lavoie 7b7c9990f5
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-09-08 15:22:21 +02:00
Malik 141860376d
#2463: Change formats button title from "Video" to "Media" (#2537) 2022-09-05 09:07:48 +00:00
My Random Thoughts f153dfbb2a
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-08-24 13:18:57 +02:00
J. Lavoie 9b6991e745
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (602 of 602 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-07-19 02:16:43 +02:00
J. Lavoie ed5d54f84d
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (582 of 582 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-06-08 00:18:45 +02:00
J. Lavoie 39d77e99a3
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (579 of 579 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-06-04 01:19:52 +02:00
J. Lavoie 80d828ec8d
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (578 of 578 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-05-30 21:19:14 +02:00
J. Lavoie 41088818fe
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (558 of 558 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-05-15 02:18:09 +02:00
vallode 3dcea52b75
System theme preference (#1800)
* Add system preference to theme-settings

* Add watching logic to check for dark theme settings

* Add en system theme translation

* Add explicit darkTheme option to browserWindow

* Remove unnecessary themeSource line

* Fix lint errors

* Move to using main process messaging for theme change

* Add system dataset selectors for themes

* Fix lint errors

* Change system theme to system default

* Use system default for deciding background color of newWindow

* Add baseTheme to state persistance

* Use baseTheme on browserWindow creation

* Fix lint errors

* Improve window background logic

* Catch settingsDb errors

* Remove dark flash on light themes

* Fix lint issues

* Fix system default sync on multiple windows

* Load database on each new window

* Fix lint errors

* Update compatibility for shared electron storage

* Remove unused console log

* Revert unnecessary changes

* Fix window maximize white flash

* Fix handleBaseTheme usage

* Use data-system-theme instead of data-theme

* Revert window maximize changes

* Fix theme flash on new window open
2022-05-11 10:30:40 -04:00