Skip to content
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

Merged
merged 11 commits into from
Feb 21, 2020
Merged

Multiple localization fixes #3098

merged 11 commits into from
Feb 21, 2020

Conversation

B0pol
Copy link
Member

@B0pol B0pol commented Feb 15, 2020

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…

Fixes #3025, fixes #2894, fixes #1588, fixes #1132.

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
@TobiGr TobiGr added bug Issue is related to a bug localisation / translation Everything that has to do with translations or Weblate labels Feb 15, 2020
@TobiGr TobiGr added this to the 0.18.4 milestone Feb 15, 2020
Copy link
Contributor

@TobiGr TobiGr left a 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 👍

Copy link
Member

@Stypox Stypox left a 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

Stypox
Stypox previously approved these changes Feb 16, 2020
Copy link
Member

@Stypox Stypox left a 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?

@B0pol
Copy link
Member Author

B0pol commented Feb 16, 2020

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

@B0pol B0pol closed this Feb 16, 2020
@B0pol B0pol reopened this Feb 16, 2020
TobiGr
TobiGr previously approved these changes Feb 16, 2020
Copy link
Contributor

@TobiGr TobiGr left a 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
app/.gitignore Outdated Show resolved Hide resolved
@Stypox Stypox mentioned this pull request Feb 19, 2020
1 task
@Stypox Stypox mentioned this pull request Feb 19, 2020
4 tasks
@TobiGr TobiGr mentioned this pull request Feb 20, 2020
@TobiGr TobiGr modified the milestones: 0.18.4, 0.18.5 Feb 20, 2020
@TobiGr TobiGr requested a review from Stypox February 20, 2020 19:40
Copy link
Member

@Stypox Stypox left a 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 ;-)

@Stypox
Copy link
Member

Stypox commented Feb 21, 2020

@TobiGr I am not able to merge, I cannot dismiss @mauriciocolli's review even though the changes he requested have been addressed

@TobiGr TobiGr merged commit 3b8a55f into TeamNewPipe:dev Feb 21, 2020
@TobiGr
Copy link
Contributor

TobiGr commented Feb 21, 2020

@Stypox Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug localisation / translation Everything that has to do with translations or Weblate
Projects
None yet
4 participants