-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple localization fixes #3098
Conversation
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I am happy that the duration seek items are create dynamically now. It is not the cleanest solution, but one which is save to not crash 👍
app/src/main/java/org/schabi/newpipe/settings/VideoAudioSettingsFragment.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked through the changes and they seem good! Almost ready for merge, thanks :-D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TobiGr may I merge this?
I need to remove the extractor version change first. And this could be merged before the extractor pr, I just used this to test at the same time, but they are not dependent. Edit: removed the extractor commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
if somehow your module name isn't app, it will create a module-name.iml file, and isn't needed
Co-Authored-By: Stypox <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
I will merge this in the evening @mauriciocolli ;-)
@TobiGr I am not able to merge, I cannot dismiss @mauriciocolli's review even though the changes he requested have been addressed |
@Stypox Done. |
Hello,
I fixed all the remaining translation related issues on NewPipe, except #2124 (someone with Weblate rigths have to do it).
Changelog
Added a « sytem default » option to content language and country language selector (#1132) 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) (#2894)
This is a workaround fix, I opened an issue on prettytime library repo.
ocpsoft/prettytime#182
Fixed russian plurals (#1588)
other was used instead of many for videos and subscribers
Fixed seek_duration english only (#3025)
Fixed views / spectators counts possibly in the wrong language (Bugfix)
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 (Bugfix)
(because it was videos, but there already was a plural string named videos, in Weblate)
Subscriber count is always giving the short count (Improvement)
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…