Commit graph

274 commits

Author SHA1 Message Date
bopol
9020ba6280 Multiple localization fixes
With the extractor PR, fixes title & description shown in the wrong language.
Fixed views / spectators counts possibly in the wrong language
Fixed live spectators not showing full count on detail page
Fixed LIVE shown on players, it shows translated instead

Fixed Videos string in search / three dots not available in Weblate
(because it was videos, but there already was a plural string named videos, in Weblate)

Subscriber count is always giving the short count.
We can't get exact number since this YouTube update: https://support.google.com/youtube/thread/6543166
But only short count (B, M, k), so showing full number, eg for 1.9M: 1,900,000, is wrong because the number could be 1,923,490 or 1,897,789…

Added a « sytem default » option to content language and country language selector.
It's the one selected by default (not en-GB anymore then), and correspond to the
language of the system / country of the system
By system I mean phone, tablet, TV…

Fixed russian showing - before time ago (eg 19hrs ago)
This is a workaround fix, I opened an issue on prettytime library repo.

Fixed russian plurals:
other was used instead of many for videos and subscribers

Fixed seek_duration english only
2020-02-15 12:40:23 +01:00
Stypox
8ed77bbb17 Merge branch 'dev' of github.com:TeamNewPipe/NewPipe into recaptcha 2020-02-01 18:27:00 +01:00
Stypox
827f0498a1 Change recaptcha string names to match style 2020-02-01 18:24:16 +01:00
Igor Nedoboy
a92027536e Translated using Weblate (Russian)
Currently translated at 100.0% (527 of 527 strings)
2020-01-28 12:49:24 +01:00
Igor Nedoboy
99c8d31d81 Translated using Weblate (Russian)
Currently translated at 100.0% (527 of 527 strings)
2020-01-19 20:41:04 +01:00
Igor Nedoboy
b6ce2d79a1 Translated using Weblate (Russian)
Currently translated at 100.0% (527 of 527 strings)
2020-01-16 20:57:01 +01:00
Igor Nedoboy
145e4255b6 Translated using Weblate (Russian)
Currently translated at 100.0% (527 of 527 strings)
2020-01-15 20:36:09 +01:00
Igor Nedoboy
9c194a9900 Translated using Weblate (Russian)
Currently translated at 100.0% (525 of 525 strings)
2020-01-09 02:51:05 +01:00
Igor Nedoboy
f0d20a2113 Translated using Weblate (Russian)
Currently translated at 100.0% (522 of 522 strings)
2020-01-01 19:12:01 +01:00
Igor Nedoboy
e7d3873d06 Translated using Weblate (Russian)
Currently translated at 100.0% (522 of 522 strings)
2019-12-31 19:01:25 +01:00
Igor Nedoboy
20ee36e570 Translated using Weblate (Russian)
Currently translated at 100.0% (522 of 522 strings)
2019-12-29 23:20:25 +01:00
Igor Nedoboy
6ad79defba Translated using Weblate (Russian)
Currently translated at 100.0% (508 of 508 strings)
2019-12-29 13:59:01 +01:00
TobiGr
11025a75bf Rename default_kiosk_page_sumatry to default_kiosk_page_summary
Remove duplicates
2019-12-12 21:25:31 +01:00
TobiGr
443db9e024 Merge remote-tracking branch 'Weblate/dev' into dev 2019-12-12 20:58:22 +01:00
kapodamy
fc4a892f45 code cleanup
* migrate few annotations to androidx
* mission recovery: better error handling (except StreamExtractor.getErrorMessage() method always returns an error)
* post-processing: more detailed progress

[file specific changes]

DownloadMission.java
* remove redundant/boilerplate code (again)
* make few variables volatile
* better file "length" approximation
* use "done" variable to count the amount of bytes downloaded (simplify percent calc in UI code)

Postprocessing.java
* if case of error use "ERROR_POSTPROCESSING" instead of "ERROR_UNKNOWN_EXCEPTION"
* simplify source stream init

DownloadManager.java
* move all "service message sending" code to DownloadMission
* remove not implemented method "notifyUserPendingDownloads()" also his unused strings

DownloadManagerService.java
* use START_STICKY instead of START_NOT_STICKY
* simplify addMissionEventListener()/removeMissionEventListener() methods (always are called from the main thread)

Deleter.java
* better method definition

MissionAdapter.java
* better method definition
* code cleanup
* the UI is now refreshed every 750ms
* simplify download progress calculation
* indicates if the download is actually recovering
* smooth download speed measure
* show estimated remain time

MainFragment.java:
* check if viewPager is null (issued by "Apply changes" feature of Android Studio)
2019-11-26 10:46:31 -03:00
kapodamy
2484698e8b long-term downloads resume
* recovery infrastructure
* bump serialVersionUID of DownloadMission
* misc cleanup in DownloadMission.java
* remove unused/redundant from strings.xml
2019-11-26 10:46:26 -03:00
Igor Nedoboy
d930b32d9a Translated using Weblate (Russian)
Currently translated at 100.0% (508 of 508 strings)
2019-11-24 01:56:56 +01:00
Igor Nedoboy
9fd27707ae Translated using Weblate (Russian)
Currently translated at 100.0% (508 of 508 strings)
2019-11-24 01:50:24 +01:00
Igor Nedoboy
eda5d7cde6 Translated using Weblate (Russian)
Currently translated at 100.0% (508 of 508 strings)
2019-11-23 20:19:02 +01:00
Igor Nedoboy
ed55009f73 Translated using Weblate (Russian)
Currently translated at 100.0% (508 of 508 strings)
2019-11-23 06:19:01 +01:00
Александр
2bc4ce74ea Translated using Weblate (Russian)
Currently translated at 99.8% (507 of 508 strings)
2019-11-19 21:58:34 +01:00
Igor Nedoboy
ded1b356a1 Translated using Weblate (Russian)
Currently translated at 100.0% (501 of 501 strings)
2019-11-08 23:18:51 +01:00
Igor Nedoboy
8b2294b6d8 Translated using Weblate (Russian)
Currently translated at 100.0% (501 of 501 strings)
2019-11-05 21:47:34 +01:00
Igor Nedoboy
774621902f Translated using Weblate (Russian)
Currently translated at 100.0% (501 of 501 strings)
2019-11-05 13:15:15 +01:00
Igor Nedoboy
0de4c13f49 Translated using Weblate (Russian)
Currently translated at 100.0% (501 of 501 strings)
2019-11-05 09:07:26 +01:00
Igor Nedoboy
a0f24e84fd Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-11-04 17:52:00 +01:00
Igor Nedoboy
c8196380c3 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-11-02 15:17:36 +01:00
Igor Nedoboy
ea10da27a6 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-29 22:27:46 +01:00
Igor Nedoboy
dbc4270f76 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-29 22:08:55 +01:00
Igor Nedoboy
afa6674002 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-22 03:31:04 +02:00
Igor Nedoboy
887fde7bfe Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-19 00:23:12 +02:00
Igor Nedoboy
27a3d49b6e Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-19 00:11:46 +02:00
Igor Nedoboy
4c6caea060 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-19 00:07:21 +02:00
Igor Nedoboy
23d0baa847 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-12 07:08:12 +02:00
Igor Nedoboy
49843309c2 Translated using Weblate (Russian)
Currently translated at 100.0% (478 of 478 strings)
2019-10-11 16:00:18 +02:00
winqooq
b5c1cc4842 Translated using Weblate (Russian)
Currently translated at 100.0% (477 of 477 strings)
2019-09-28 16:55:48 +02:00
Igor Nedoboy
6e5d2f3042 Translated using Weblate (Russian)
Currently translated at 100.0% (477 of 477 strings)
2019-09-25 14:14:35 +02:00
Igor Nedoboy
5cb53f0ead Translated using Weblate (Russian)
Currently translated at 100.0% (477 of 477 strings)
2019-09-14 21:23:54 +02:00
Igor Nedoboy
3832505efb Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-07 03:24:22 +02:00
dimqua
0b1117cfbc Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 19:39:06 +02:00
Igor Nedoboy
7c77c549c8 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 19:39:06 +02:00
Andrey mm
288ce0d064 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 19:36:10 +02:00
Igor Nedoboy
1662cd5b31 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 19:36:02 +02:00
Igor Nedoboy
c17fa13200 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 13:38:44 +02:00
Igor Nedoboy
98404d8963 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 13:33:29 +02:00
Igor Nedoboy
8bb909dc24 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 13:21:31 +02:00
Igor Nedoboy
0e133c2134 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 00:34:08 +02:00
Igor Nedoboy
4c5a282d43 Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-02 00:23:24 +02:00
Igor Nedoboy
2e57229b1c Translated using Weblate (Russian)
Currently translated at 100.0% (476 of 476 strings)
2019-09-01 23:43:36 +02:00
Igor Nedoboy
4f1ae6e02a Translated using Weblate (Russian)
Currently translated at 100.0% (473 of 473 strings)
2019-08-29 21:23:33 +02:00