Commit graph

418 commits

Author SHA1 Message Date
bopol
2ff75f7fae remove unecessary «few» and «many» for plural string in english 2020-02-20 18:55:22 +01:00
bopol
ce38410f54 use plural string for dynamic_seek_duration_description 2020-02-17 10:12:08 +01:00
B0pol
28100a9311 Merge branch 'dev' into localisation 2020-02-17 09:27:03 +01:00
Tobias Groza
7964758b03 Apply suggestions from code review
Co-Authored-By: Stypox <stypox@pm.me>
2020-02-16 22:41:56 +01:00
Stypox
fb58bc72e7 Merge branch 'dev' into patch-10 2020-02-16 21:58:44 +01:00
bopol
55fbeb7e28 resolve merge conflicts 2020-02-15 14:53:05 +01:00
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
Tobias Groza
4f0117ffbb 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
3de20a7fc5 Reverted changes 2020-02-09 16:29:51 +01:00
Allan Nordhøy
f08f2aa884 Spelling: Video thumbnail shown 2020-02-07 18:06:09 +01:00
Allan Nordhøy
a087f1710d Spelling: Treat the NewPipe makers to something you like 2020-02-07 18:01:45 +01:00
Allan Nordhøy
7951cd0b67 Spelling: Install the fresh NewPipe version. 2020-02-07 17:57:38 +01:00
Allan Nordhøy
2221e8971e Spelling: Could not establish secure connection 2020-02-07 17:55:37 +01:00
Allan Nordhøy
9e2206ae25 Spelling: the settings
Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
2020-02-07 17:51:14 +01:00
Stypox
8ed77bbb17 Merge branch 'dev' of github.com:TeamNewPipe/NewPipe into recaptcha 2020-02-01 18:27:00 +01:00
Stypox
f41d13e559 Move "Done" button and make it theme conpliant in ReCaptcha 2020-02-01 18:24:16 +01:00
Stypox
827f0498a1 Change recaptcha string names to match style 2020-02-01 18:24:16 +01:00
bopol
649e188b67 Merge remote-tracking branch 'upstream/dev' into dev
merging dev
2020-02-01 15:11:01 +01:00
bopol
eaed951dbd 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
a8d4964be9 ask for display over other apps permission in settings 2020-01-25 22:30:49 +05:30
bopol
10bf24aebc made system translatable + renamed it to system's language 2020-01-14 19:11:46 +01:00
B0pol
c5e2a1c142 Merge branch 'dev' into dev 2020-01-14 11:11:45 +01:00
TobiGr
30c9d97d1a Use Integer value directly for formatted string
a
2020-01-13 20:25:32 +01:00
Kamil Szczęk
4b8d5fbc26 Style corrected 2020-01-11 15:19:24 +01:00
Kamil Szczęk
0a95c7cec3 Add a snackbar to allow user to undo file deletion 2020-01-11 15:09:01 +01:00
Kamil Szczęk
ac10e09acb Reorder buttons in clear downloads dialog 2020-01-11 15:09:01 +01:00
Kamil Szczęk
9f05049e03 Use a dialog option instead of a checkbox 2020-01-11 15:09:01 +01:00
Kamil Szczęk
7bd3f1bec4 Add option to remove downloaded files when clearing finished downloads 2020-01-11 15:09:01 +01:00
B0pol
bc0564fa07 Merge branch 'dev' into dev 2020-01-09 10:07:22 +01:00
bopol
af690618d4 changed the way to change language, now is «NewPipe's language» selector 2020-01-09 09:40:05 +01:00
Allan Nordhøy
238005ef00 \'Storage Access Framework\' 2020-01-09 04:38:47 +01:00
Allan Nordhøy
d75b6130f4 Continue ending playback queue 2020-01-09 04:36:39 +01:00
Allan Nordhøy
2c9bcb963d Spelling: Language reworked 2 2020-01-08 21:55:17 +01:00
Allan Nordhøy
953de0b921 Select your favorite
Co-Authored-By: Stypox <stypox@pm.me>
2020-01-08 18:22:17 +01:00
Allan Nordhøy
2cac84520b Spelling: Could not, PeerTube, HTTPS, URL 2020-01-08 17:51:35 +01:00
k1rakishou
aa10bbcede Add a setting for the lock screen thumbnail feature 2020-01-02 15:00:31 +01:00
yausername
e9196eb852 made instance list url non translatable 2019-12-31 20:10:51 +05:30
Xiang Rong Lin
f9f5f49b59 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
00737ab0f2 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
443db9e024 Merge remote-tracking branch 'Weblate/dev' into dev 2019-12-12 20:58:22 +01:00
Peter Hindes
1663f18a34 Merge branch 'dev' into dev 2019-12-10 09:59:12 -07:00
Peter Hindes
c679b31736 Update app/src/main/res/values/strings.xml
Co-Authored-By: Stypox <stypox@pm.me>
2019-12-10 09:37:57 -07:00
yausername
12596ea62c more grammar fix 2019-12-10 12:36:56 +05:30
yausername
7547dd59b3 merged upstream/dev 2019-12-10 01:37:33 +05:30
Peter Hindes
7c53290c95 Merge branch 'dev' into dev 2019-12-09 09:13:18 -07:00
Peter Hindes
a17caf50e3 Merge branch 'dev' into dev 2019-12-06 08:57:43 -07:00
yausername
7f835029fc grammar fix 2019-12-05 05:11:05 +05:30
yausername
f290dcf123 use plurals 2019-12-03 02:08:59 +05:30
yausername
d41ae244c1 update extractor, kiosk names and icons 2019-12-03 01:50:23 +05:30
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