Commit Graph

418 Commits

Author SHA1 Message Date
bopol 9f9b53c067 remove unecessary «few» and «many» for plural string in english 2020-02-20 18:55:22 +01:00
bopol 54f71c623a use plural string for dynamic_seek_duration_description 2020-02-17 10:12:08 +01:00
B0pol 09d36a5dbc
Merge branch 'dev' into localisation 2020-02-17 09:27:03 +01:00
Tobias Groza fbcee61e04
Apply suggestions from code review
Co-Authored-By: Stypox <stypox@pm.me>
2020-02-16 22:41:56 +01:00
Stypox 3b57135a6e
Merge branch 'dev' into patch-10 2020-02-16 21:58:44 +01:00
bopol 5b541cc9fb resolve merge conflicts 2020-02-15 14:53:05 +01:00
bopol f089cd027e 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
Tobias Groza 67af05e504
Use "Report error" instead of "Report Error"
Co-Authored-By: Stypox <stypox@pm.me>
2020-02-14 19:12:59 +01:00
Allan Nordhøy a75deb6ba2 Reverted changes 2020-02-09 16:29:51 +01:00
Allan Nordhøy 85acc53d40
Spelling: Video thumbnail shown 2020-02-07 18:06:09 +01:00
Allan Nordhøy f319e3e75a
Spelling: Treat the NewPipe makers to something you like 2020-02-07 18:01:45 +01:00
Allan Nordhøy 3abc660eb3
Spelling: Install the fresh NewPipe version. 2020-02-07 17:57:38 +01:00
Allan Nordhøy 4c13dda1f9
Spelling: Could not establish secure connection 2020-02-07 17:55:37 +01:00
Allan Nordhøy 294c35b2fb
Spelling: the settings
Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
2020-02-07 17:51:14 +01:00
Stypox f95d51b307
Merge branch 'dev' of github.com:TeamNewPipe/NewPipe into recaptcha 2020-02-01 18:27:00 +01:00
Stypox 0cc890a1d1
Move "Done" button and make it theme conpliant in ReCaptcha 2020-02-01 18:24:16 +01:00
Stypox 61d102dc75
Change recaptcha string names to match style 2020-02-01 18:24:16 +01:00
bopol c5e6bb58bc Merge remote-tracking branch 'upstream/dev' into dev
merging dev
2020-02-01 15:11:01 +01:00
bopol edc9d47da7 app language: refactoring
renamed NewPipe's language into App language, and same for all the
concerning thing (keys, comments…)

we now call assureCorrectAppLanguage(CONTEXT) in activities needing it
instead of changeAppLanguage(getAppLocale(CONTEXT), RESOURCES)
changeAppLanguage becomes private.
2020-01-29 21:21:00 +01:00
Harshal Lele e1145f16f2 ask for display over other apps permission in settings 2020-01-25 22:30:49 +05:30
bopol 105981b2eb made system translatable + renamed it to system's language 2020-01-14 19:11:46 +01:00
B0pol 382e69273e
Merge branch 'dev' into dev 2020-01-14 11:11:45 +01:00
TobiGr 3d93ecd6ec Use Integer value directly for formatted string
a
2020-01-13 20:25:32 +01:00
Kamil Szczęk 2c8222fd55 Style corrected 2020-01-11 15:19:24 +01:00
Kamil Szczęk d071891b2a Add a snackbar to allow user to undo file deletion 2020-01-11 15:09:01 +01:00
Kamil Szczęk 986acc5fc5 Reorder buttons in clear downloads dialog 2020-01-11 15:09:01 +01:00
Kamil Szczęk e4295fb3fa Use a dialog option instead of a checkbox 2020-01-11 15:09:01 +01:00
Kamil Szczęk 707e4f7167 Add option to remove downloaded files when clearing finished downloads 2020-01-11 15:09:01 +01:00
B0pol e0a39efa2b
Merge branch 'dev' into dev 2020-01-09 10:07:22 +01:00
bopol 3ad0e313ca changed the way to change language, now is «NewPipe's language» selector 2020-01-09 09:40:05 +01:00
Allan Nordhøy bca547ce44
\'Storage Access Framework\' 2020-01-09 04:38:47 +01:00
Allan Nordhøy 6bc697f926
Continue ending playback queue 2020-01-09 04:36:39 +01:00
Allan Nordhøy 694013c9df
Spelling: Language reworked 2 2020-01-08 21:55:17 +01:00
Allan Nordhøy d316bbad44
Select your favorite
Co-Authored-By: Stypox <stypox@pm.me>
2020-01-08 18:22:17 +01:00
Allan Nordhøy e2e0a9bfa2
Spelling: Could not, PeerTube, HTTPS, URL 2020-01-08 17:51:35 +01:00
k1rakishou 0395dc6e9e Add a setting for the lock screen thumbnail feature 2020-01-02 15:00:31 +01:00
yausername 2b4190d85d
made instance list url non translatable 2019-12-31 20:10:51 +05:30
Xiang Rong Lin 17146c2c13 Rename adjustable seek duration setting
Change from "Seek duration" to "Fast-forward/-rewind seek duration"
2019-12-13 07:14:17 +01:00
Xiang Rong Lin 550364906d Add new preference for seek duration.
Add new ListPreference under settings/ video & audio for the duration of a seek.
With options for 5, 10, 15, 20, 25, 30 seconds.
2019-12-13 07:14:17 +01:00
TobiGr 13306b5c1b Merge remote-tracking branch 'Weblate/dev' into dev 2019-12-12 20:58:22 +01:00
Peter Hindes d8e6a5cb33
Merge branch 'dev' into dev 2019-12-10 09:59:12 -07:00
Peter Hindes 054279d553
Update app/src/main/res/values/strings.xml
Co-Authored-By: Stypox <stypox@pm.me>
2019-12-10 09:37:57 -07:00
yausername a0151f2a68
more grammar fix 2019-12-10 12:36:56 +05:30
yausername fd5f4d9840
merged upstream/dev 2019-12-10 01:37:33 +05:30
Peter Hindes 98d7e6bcc6
Merge branch 'dev' into dev 2019-12-09 09:13:18 -07:00
Peter Hindes ef69625cd2
Merge branch 'dev' into dev 2019-12-06 08:57:43 -07:00
yausername d2a59ecc62
grammar fix 2019-12-05 05:11:05 +05:30
yausername 0c40a45075
use plurals 2019-12-03 02:08:59 +05:30
yausername 890d1cb50b
update extractor, kiosk names and icons 2019-12-03 01:50:23 +05:30
kapodamy e6d9d8e26d 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