Commit Graph

2207 Commits

Author SHA1 Message Date
Aiz
c784841b22
Display time remaining until video goes live (#2501)
* display time left until video premiers:

* video premiere display time left with time units

Displays time left in seconds, minutes, hours, and days.

This depends on how much time is left.

* premiere time left, display time in singular if needed

also simplified the big if block

* premiere time left, display time unit in lowercase

* Add Starting Soon string to locale file

* apply fixes reported by linter

* premiere time left, add suggested changes

Better temp variable scoping, flatten nested code, rename temp variables, use string intepolation

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

* replace tabs with spaces

tabs where used in some places in the suggested code

* display time left, remove "starting soon" string

Since upcomingTimeStamp will be null when the time has passed the scheduled timestamp
it doesn't make sense to use something that will rarely be displayed.
e.g. a user has to click on the video with less than a second remaing until it goes live for it to be displayed

it would also be displayed as "Premieres in Starting soon" which doesn't make sense

* display 'less than a minute' instead of exactly how many seconds remain

Looks better and works for values less than 0

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-09-05 23:45:45 +02:00
Malik
141860376d
#2463: Change formats button title from "Video" to "Media" (#2537) 2022-09-05 09:07:48 +00:00
gallegonovato
e6a134ab46
Translated using Weblate (Spanish)
Currently translated at 94.3% (583 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-04 19:16:27 +02:00
Темак
67ec849f41
Translated using Weblate (Russian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-08-31 19:22:50 +02:00
SC
c77da63d0a
Translated using Weblate (Portuguese)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2022-08-25 19:19:27 +02:00
Hugel
cf313c5624
Translated using Weblate (Filipino)
Currently translated at 9.7% (60 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fil/
2022-08-25 10:16:55 +02: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
Темак
708711b65f
Translated using Weblate (Russian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-08-22 01:20:06 +02:00
Lukas
b89d2c8393
Translated using Weblate (Alemannic)
Currently translated at 5.1% (32 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/gsw/
2022-08-21 16:06:02 +02:00
Lukas
c545d25684
Translated using Weblate (German)
Currently translated at 99.6% (616 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-08-21 16:06:01 +02:00
Lukas
7900ec3d4f
Added translation using Weblate (Alemannic) 2022-08-21 15:36:40 +02:00
Massimo Pissarello
bc3aaa4536
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-20 07:21:25 +02:00
Chance Ducharme
70481b4880
Translated using Weblate (French)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2022-08-18 13:19:53 +02:00
Massimo Pissarello
617bd8af32
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-18 10:17:05 +02:00
Riccardo Cazzin
e22e39c384
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-17 18:14:55 +02:00
Kyotaro Iijima
3fb378a2be
Translated using Weblate (Japanese)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2022-08-13 23:20:35 +02:00
Темак
6ccc2b975f
Translated using Weblate (Russian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-08-12 12:16:54 +02:00
Hin Weisner
5aa109dfa2
Translated using Weblate (Spanish)
Currently translated at 93.6% (579 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-08-12 02:21:26 +02:00
Milo Ivir
5bdcd1920b
Translated using Weblate (Croatian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2022-08-11 23:19:28 +02:00
Grzegorz Wójcicki
8830fb2577
Translated using Weblate (Polish)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2022-08-11 21:19:32 +02:00
Sveinn í Felli
d499c2b97a
Translated using Weblate (Icelandic)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2022-08-11 18:16:30 +02:00
Егор Ермаков
786b5bb1fe
Translated using Weblate (Russian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-08-11 18:16:29 +02:00
Fjuro
b9ab9219f4
Translated using Weblate (Czech)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-08-11 09:20:01 +02:00
Yaron Shahrabani
6ea54cc905
Translated using Weblate (Hebrew)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2022-08-11 09:20:00 +02:00
Oğuz Ersen
93fcd11374
Translated using Weblate (Turkish)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2022-08-11 09:19:59 +02:00
Rex_sa
0d71825f34
Translated using Weblate (Arabic)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2022-08-11 09:19:59 +02:00
Massimo Pissarello
c1fa7294ab
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

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

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-08-11 05:20:15 +02:00
Ihor Hordiichuk
35039b11f9
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-08-11 03:20:35 +02:00
Eric
89abe0e194
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-08-11 03:20:35 +02:00
9ekaitz
f8eff0e422
External player choice 'None' translated in Settings (#2075)
* External player choice 'None' translated in Settings

* requested fix related to Vue i18n import

* suggested changes using translation key and fallback to player name
2022-08-10 17:52:31 -04:00
Shaban Mamedov
197abb21d5
Translated using Weblate (Georgian)
Currently translated at 27.5% (170 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ka/
2022-08-10 17:06:22 +02:00
Shaban Mamedov
0e8a25c001
Translated using Weblate (Georgian)
Currently translated at 18.9% (117 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ka/
2022-08-10 14:19:41 +02:00
Shaban Mamedov
58bf84dd14
Added translation using Weblate (Georgian) 2022-08-10 11:08:02 +02:00
nrem
34eea7f308
Translated using Weblate (Hungarian)
Currently translated at 84.6% (522 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2022-08-09 20:17:09 +02:00
Steffen Möller
72ae67043f
Translated using Weblate (German)
Currently translated at 99.6% (615 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-08-09 04:17:00 +02:00
Henri
08425c824a
Translated using Weblate (Estonian)
Currently translated at 99.6% (615 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2022-08-06 14:14:22 +02:00
SC
a42cff071b
Translated using Weblate (Portuguese)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2022-08-05 18:20:35 +02:00
CaelusV
21d1cb93ca
Translated using Weblate (Swedish)
Currently translated at 87.3% (539 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2022-08-03 14:18:54 +02:00
CaelusV
17d3fab747
Translated using Weblate (Danish)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/da/
2022-08-03 14:18:53 +02:00
Massimo Pissarello
48b57a4caf
Translated using Weblate (Italian)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-03 04:20:46 +02:00
J. Lavoie
f9870f431c
Translated using Weblate (Italian)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-03 01:19:08 +02:00
J. Lavoie
458e4a09e4
Translated using Weblate (French)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2022-08-03 01:19:08 +02:00
J. Lavoie
5365d58894
Translated using Weblate (German)
Currently translated at 97.4% (601 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-08-03 01:19:07 +02:00
Peter Dave Hello
e131e71ecb
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-08-02 21:17:08 +02:00
howexek414@logodez.com
d5f71ad859
Translated using Weblate (Swedish)
Currently translated at 87.0% (537 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2022-08-02 17:20:05 +02:00
CaelusV
2c37895e26
Translated using Weblate (Danish)
Currently translated at 84.4% (521 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/da/
2022-08-02 17:20:04 +02:00
CaelusV
5412f99883
Translated using Weblate (Danish)
Currently translated at 83.1% (513 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/da/
2022-08-02 13:15:35 +02:00
LINUX-SAUNA
42b7afffcb
Translated using Weblate (Finnish)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2022-08-01 17:17:55 +02:00
Vik
8d02c9442d
Translated using Weblate (Russian)
Currently translated at 100.0% (617 of 617 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-08-01 15:20:27 +02:00