-
-
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
Improve age restriction and yt restricted content strings #4354
Conversation
@Stypox Not a fan of "<string name="show_age_restricted_content_summary>", I'll read up on what is actually "age restricted". Right now it explains where it shouldn't. |
@comradekingu thank you |
@Stypox It doesn't make sense to have a universal age restriction setting. It should be per-service. |
@opusforlife2 well, if someone just wants to protect their kid from viewing age restricted videos, he would do that with all services at once, wouldn't him? When would it be the case that the user hides only age restricted videos of some services? |
Because different services (companies) would have different definitions and thresholds of what constitutes as 'not suitable for children'. A person might want to enable age restriction for one service but not find any need to do it for another. On a conceptual level, age restriction is a content filter that is implemented on the service side, not in Newpipe. Hence it should be controllable on a per-service level. |
Imho the strings @Stypox has now are fine. @opusforlife2: If we even agree that we want that, not in this PR. |
Of course. |
@opusforlife2 @comradekingu I don't think we have to aim for shortness. Descriptiveness is the most important thing here, and in my humble opinion all of the proposed alternatives miss some point 😅 |
The problem is not the length. The sentence is a run-on sentence. It should be broken into two sentences. Let's try that now. "Show 18+ content. May be unsuitable for children." |
What about: |
How about this? The main setting title says "Show age restricted content", so just make the description "May be unsuitable for children." |
What happens if the string is translated (old version) but not updated? Will it produce an error with |
@B0pol We need to remove all translations of this string to ensure there is no crash. No matter if we put it into this release or the next one. |
Then I would delay this change to another PR, there is no reason to delete, thus untranslate this string for this update. |
You mean another release. 🤭 |
Both |
Wut. Why another PR and not this PR in another release? |
I tested this and it won't |
4f32676
to
84694a8
Compare
@comradekingu I implemented your suggestions, thank you! @TobiGr please approve again ;-) |
🙏 thanks for this! I had enabled restricted because of lacking description and videos weren't loading anymore and didn't have a clue why... |
What is it?
Description of the changes in your PR
This PR changes the titles for "Show age restricted content" and "Enable YouTube's Restricted Mode" and adds a summary to them, since they have been confused by many users lately. In order to reduce redundancy in translations, I also changed the restricted-video-error string to include a
%1$s
instead of the duplicate "Show age restricted content" string. If the latter change causes prolems with translation syncing I can revert it. @wb9688 @opusforlife2 @comradekingu what do you think of these strings?Testing apk
I also tested whether the latter change cause problems with languages different than English, where
%1$s
is not there yet, but it isn't creating problems.app-debug.zip
Agreement