Commit Graph

3748 Commits

Author SHA1 Message Date
Aiz e90b9f4706
Improve premiere timestamp to be easier to read (#2559)
* 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...

* display year if current year is less than year of premiere date
2022-09-22 08:49:59 +08:00
absidue 061a7c8db1
Replace jquery getJSON and get with native fetch (#2591)
* Replace jquery getJSON and get with native fetch

* Remove unnecessary console.log
2022-09-21 07:05:03 +00:00
Emma 25d954f990
Cleaning up calls to the Clipboard API (#2597)
* Added a copyToClipboard function to utils

This should make it easier to handle errors which
result from the clipboard API (which are more likely
in web builds). This should also make it easier to handle
copying to clipboard in cordova builds by abstracting the
platform specific code out of the views and moving it
all into one function.

* Moved the $t function out of utils

* Removing locale snippets I was using and am not now

* Added function comment to copyToClipboard

* Adding some missing references

* Adding an additional check

* Re-reviewing my changes, I found a mistake

* Update src/renderer/store/modules/utils.js

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

* Update static/locales/en-US.yaml

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

* Reverting the language back to what it was previously

* Switching to using i18n.t()

instead of handling the translations myself.
Also, it looks like eslint removed a tab.

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
2022-09-21 15:00:21 +08:00
Emma b722435a88
Calling updateVisibleDataList on inputData update (#2601) 2022-09-21 08:01:00 +02:00
Emma c4722c9533
Implementing downloadMedia in web environments (#2602) 2022-09-21 08:00:34 +02:00
Mohd Arsh Ali 60166eb6b2
Urdu lang (#2509)
* added support for urdu-lang

* re-edit

* re-edit

* re-edit changes
2022-09-20 14:31:38 +00:00
Aiz 7f6834d8f6
set height of watch page grid with auto in dual-column-template (#2588)
this ensures the page doesn't keep scrolling forever if live chat is enabled and recommended videos is disabled
2022-09-20 14:31:25 +00:00
Fjuro 3875d144fb
Translated using Weblate (Czech)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-09-20 15:21:46 +02:00
PikachuEXE d8de7fe06f
* Implement last window's fullscreen state (#2495) 2022-09-20 08:49:45 -04:00
Mihail 8db6b8104f
Translated using Weblate (Romanian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2022-09-19 21:22:13 +02:00
Mozart Michael 8309505637
Translated using Weblate (Romanian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2022-09-19 21:22:12 +02:00
SC 6c31dd9ffe
Translated using Weblate (Portuguese)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2022-09-19 21:22:12 +02:00
absidue 77c26638e1
Fully replace electron-debug with our own implementation (#2585) 2022-09-19 09:36:40 -04:00
absidue 76a9e5c3c4
Fix the localised description containing broken URLs (#2572)
* Fix the localised description containing broken URLs

* Fix hashtag handling in title and description
2022-09-19 08:49:30 -04:00
ChunkyProgrammer 8fa182e246
Properly localize numbers (#2557)
* localize numbers properly

* Remove tostring

Co-authored-by: Aiz <66974576+Aiz0@users.noreply.github.com>

Co-authored-by: Aiz <66974576+Aiz0@users.noreply.github.com>
2022-09-19 20:14:53 +08:00
nts boiuekjv d9ab06d243
Translated using Weblate (Japanese)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2022-09-19 12:18:25 +02:00
taivlam c201a31aeb
Add MPR to Unofficial Downloads (#2592)
* Add MPR to Unofficial Downloads

* Add MPR link to Unofficial Downloads section
* Would resolve issue #2130

* Add MPR to Auto Label Issue

* Add MPR to Bug Report
2022-09-19 08:01:20 +02:00
Massimo Pissarello 50222db65a
Translated using Weblate (Italian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-18 11:15:54 +02:00
The Cats 5c3d1ef17b
Translated using Weblate (Spanish)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 20:18:22 +02:00
gallegonovato b6557e3694
Translated using Weblate (Spanish)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:25:55 +02:00
The Cats ff47a47ef3
Translated using Weblate (Spanish)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:25:55 +02:00
The Cats 45a1dfe3fb
Translated using Weblate (Spanish)
Currently translated at 99.8% (619 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:25:39 +02:00
gallegonovato b807e16b72
Translated using Weblate (Spanish)
Currently translated at 99.8% (619 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:25:39 +02:00
gallegonovato 3b33af7711
Translated using Weblate (Spanish)
Currently translated at 99.6% (618 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:25:10 +02:00
The Cats 415a66df95
Translated using Weblate (Spanish)
Currently translated at 99.6% (618 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:25:10 +02:00
The Cats 622b349532
Translated using Weblate (Spanish)
Currently translated at 99.5% (617 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:24:55 +02:00
gallegonovato 40c75d8e43
Translated using Weblate (Spanish)
Currently translated at 99.5% (617 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:24:54 +02:00
The Cats 7f1121043b
Translated using Weblate (Spanish)
Currently translated at 98.2% (609 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:20:10 +02:00
gallegonovato 53765a123f
Translated using Weblate (Spanish)
Currently translated at 98.2% (609 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 18:20:10 +02:00
gallegonovato 4e52a577bf
Translated using Weblate (Spanish)
Currently translated at 96.9% (601 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-17 17:17:42 +02:00
Emma 386b9c586b
Fixing an undefined function reference (#2586) 2022-09-17 14:43:11 +00:00
absidue f2d2827e0f
Fix some web issues and cleanup (#2582) 2022-09-17 08:19:31 +00:00
Dragibus Noir 84b683089d
Translated using Weblate (French)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2022-09-16 21:16:48 +02:00
The Cats c67452f63c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2022-09-16 18:19:18 +02:00
ChunkyProgrammer d1a50a4e52
update vue2 to latest (#2554)
* update vue2 to latest

* remove vue-template-compiler, update loader & router

* use :deep instead of v-deep

* fix yarn.lock
2022-09-16 14:49:27 +00:00
gallegonovato 891045ad4e
Translated using Weblate (Spanish)
Currently translated at 96.7% (600 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-15 15:20:02 +02:00
PikachuEXE 7ed47749f7
^ Update electron 20.x (#2577) 2022-09-15 11:46:42 +02:00
absidue 62829b736a
Electron variable at build time instead of at runtime (#2574) 2022-09-15 08:59:09 +00:00
absidue bbd1dba867
Remove node-loader as we don't have any binary/native node modules (#2576) 2022-09-15 08:52:46 +08:00
Fjuro b8afaf9852
Translated using Weblate (Czech)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-09-14 21:16:33 +02:00
ChunkyProgrammer f241eb9ee8
update yt-tending-scraper (#2575) 2022-09-13 14:13:40 +00:00
Malik c1ff6587ad
#2512: Update search suggestions on input (#2567)
* #2512: Update visible data list on input

* #2512: Remove excessive visible data list update on input
2022-09-13 04:18:05 +00:00
absidue a69cbd3b55
Optimise CSS and JSON files (#2569) 2022-09-13 09:28:36 +08:00
ChunkyProgrammer 426b71f7bc
use slim linter (#2573) 2022-09-13 09:09:56 +08:00
gallegonovato 45e1daa51f
Translated using Weblate (Spanish)
Currently translated at 96.7% (600 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-12 23:17:33 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc d8e6470fa9
Create super-linter.yml (#2562) 2022-09-11 20:43:57 -04:00
absidue 97e3813182
Update css-loader and switch to webpack 5's asset modules (#2566) 2022-09-11 20:34:58 -04:00
Kauã Azevedo 7bcbeacd9b
Translated using Weblate (Spanish)
Currently translated at 96.6% (599 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-12 00:24:19 +02:00
Kauã Azevedo f1970347e6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (619 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2022-09-12 00:24:18 +02:00
absidue 036abdc96b
Remove unused ft-intersection-observer component (#2563) 2022-09-11 14:29:27 -04:00