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

feat(YouTube/Settings): Remove quotations from proper nouns #56

Merged
merged 17 commits into from
Jun 22, 2024
Merged

feat(YouTube/Settings): Remove quotations from proper nouns #56

merged 17 commits into from
Jun 22, 2024

Conversation

KobeW50
Copy link
Collaborator

@KobeW50 KobeW50 commented Jun 19, 2024

Closes inotia00/ReVanced_Extended#2131

inotia00's TODO (after PR is merged?):

  • Update string name for revanced_hide_subscriptions_channel_section to revanced_hide_subscriptions_carousel

  • Update string name for revanced_return_shorts_channel_name to revanced_replace_channel_handle

@KobeW50

This comment has been minimized.

@KobeW50 KobeW50 requested a review from inotia00 June 19, 2024 03:50
@ILoveOpenSourceApplications

This comment has been minimized.

@KobeW50

This comment has been minimized.

@ILoveOpenSourceApplications

And in description, instead of section everything is called sections. Similarly, rename podcast section to Explore the podcast section, capitalize first word of Chapters and Transcript sections. And change suggestions sections description to Featured places, Games and Music sections are hidden/shown.

Also @KobeW50, can you look into this comment, this comment and maybe this comment?

@ILoveOpenSourceApplications

This comment has been minimized.

@inotia00

This comment was marked as resolved.

@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 19, 2024

... And change suggestions sections description to Featured places, Games and Music sections are hidden/shown.

Should the setting title be renamed to Hide attributes sections?

Also @KobeW50, can you look into this comment, this comment and maybe this comment?

I'll implement the first one and the second part of the second one. For the 3rd one, I don't know how to reorder the settings (and I don't have the patience to).

@ILoveOpenSourceApplications

This comment was marked as resolved.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@ILoveOpenSourceApplications

Options with disable should also have similar descriptions like enable. Currently, Disable ambient mode description is 'Disables ambient mode` whereas it should've been Ambient mode is enabled and Ambient mode is disabled when toggled off and on respectively. Multiple such corrections are required here and there.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@KobeW50

This comment was marked as resolved.

@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 19, 2024

Options with disable should also have similar descriptions like enable. Currently, Disable ambient mode description is 'Disables ambient mode` whereas it should've been Ambient mode is enabled and Ambient mode is disabled when toggled off and on respectively. Multiple such corrections are required here and there.

Unfortunately, I don't have time to do this atm. I only opened this PR bec I knew fixing the proper nouns would be quick and simple. Please open a PR or issue for this.

@inotia00
Copy link
Owner

Maybe Hide subscriptions carousel? @inotia00 what do u think?

Yeap looks good

Also, I need to update the revanced_pref.xml if the string name (and setting name) is changed?

It is ideal to do so, but if so, it also requires updates on integrations and crowdin (because there is a change in the setting key)

I will manually change this part after the PR is merged later

@KobeW50

This comment was marked as resolved.

@inotia00

This comment was marked as resolved.

@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 20, 2024

I think this is ready.

Some notes:

  1. This suggestion was not fully resolved, because there are still other examples of this issue outside the Ambient mode settings.

  2. I messed up inotia00's commit where he added a string for when Disable ambient mode is On and Off. (IDK how GH works 🤷). I think I corrected my error in my most recent commit. In my recent commit, I also added a string for when Disable ambient mode in fullscreen is On and Off. IDK if there are now integrations and crowdin chores to do.

  3. I added a small checklist for inotia00 to do in the description of this PR. Edit it as you see fit.

@ILoveOpenSourceApplications

This comment has been minimized.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 20, 2024

the on toggle Ambient mode is disabled for fullscreen as well.

It's better to specify "only". Lots of dynamic descriptions aren't pure opposites for the on/off positions.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 20, 2024

Doesn't it already specify fullscreen, so is only actually required? Given there are only two places ambient mode is currently available.

True. But descriptions are meant to simplify things for users, and here "only" makes it explicit without making the sentence lengthy.

Also, "only" is useful because it implies that the Disable ambient mode will disable all ambient mode.

The string also had "only" before this PR so I think it should be kept.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@inotia00
Copy link
Owner

Also @inotia00, does toggling on Hide Comments section hide it in home feed as well or not?

When I checked integrations...
The first setting only hides the comments section in the player, the second setting only hides the comments section in the home feed

@inotia00
Copy link
Owner

inotia00 commented Jun 21, 2024

Btw, I'm not sure whether "Ambient mode" is considered a noun. When checking https://support.google.com/youtube/answer/12827017, they have written it in running letters. So it may not need a capital A, which is why I canceled my initial statement.

Edit: Mainly because other options from the video flyout menu isn't capitalized. An example being "playback speed".

Tbh I think it is more appropriate to treat Ambient mode as a proper noun

I have never seen the word Ambient mode used by any other platform other than Google's platform (Android, YouTube, YouTube TV)

@inotia00 inotia00 changed the title Remove quotations from proper nouns feat(YouTube/Settings): Remove quotations from proper nouns Jun 21, 2024
@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 21, 2024

Also, "only" is useful because it implies that the Disable ambient mode will disable all ambient mode.
The string also had "only" before this PR so I think it should be kept.

Now here's an example. Here also "only in home feed." could be used. But it isn't necessary as there's only one home feed. The case is same here. There's only one fullscreen (whether portrait/landscape as the toggle affects both), it isn't necessary to specify "only in fullscreen" here either.

Screenshot_20240620_235355_YouTube

For that case, it is more obvious that the comments section under the video player is entirely separate from the comments section in the feed. In fact, even the Hide comments section toggle doesn't hide the comments section in the feed. So adding "only" doesn't serve any benefit.

But for ambient mode, it is reasonable for users to think that ambient mode in fullscreen is highly correlated to ambient mode below the player. The fact that the Disable ambient mode toggle disables ambient mode in both places is evidence of this correlation. So "only" is used to explicitly separate them.

@ILoveOpenSourceApplications

This comment was marked as resolved.

@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 21, 2024

sigh whatever you say :)

It's arbitrary at the end of the day.

@inotia00
Copy link
Owner

Is it okay to merge?

@inotia00
Copy link
Owner

I have to release a new patch, so I'll merge the changes so far

@inotia00 inotia00 merged commit 14e1747 into inotia00:dev Jun 22, 2024
@KobeW50
Copy link
Collaborator Author

KobeW50 commented Jun 23, 2024

Sorry, i wasn't able to respond. Yeah, there aren't any more changes to be made regarding this PR

@KobeW50 KobeW50 deleted the proper-nouns branch July 28, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants