chore: Clarify and fix some strings (#91)

* chore: Clarify and fix some strings

* Capitalize proper noun

* revert lowercasing of "Username" in titles & patch name

* feat: apply code review suggestions

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
This commit is contained in:
KobeW50
2024-10-14 05:03:15 -04:00
committed by GitHub
parent 959c35726c
commit 373e6e69a4
4 changed files with 12 additions and 12 deletions

View File

@ -10,7 +10,7 @@ import app.revanced.util.patch.BaseBytecodePatch
@Suppress("unused") @Suppress("unused")
object ReturnYouTubeUsernamePatch : BaseBytecodePatch( object ReturnYouTubeUsernamePatch : BaseBytecodePatch(
name = "Return YouTube Username", name = "Return YouTube Username",
description = "Adds option to replace YouTube Handle with Username in comments using YouTube Data API v3.", description = "Adds an option to replace YouTube handles with usernames in comments using YouTube Data API v3.",
dependencies = setOf( dependencies = setOf(
BaseReturnYouTubeUsernamePatch::class, BaseReturnYouTubeUsernamePatch::class,
SettingsPatch::class, SettingsPatch::class,

View File

@ -9,7 +9,7 @@ import app.revanced.util.patch.BaseBytecodePatch
@Suppress("unused") @Suppress("unused")
object ReturnYouTubeUsernamePatch : BaseBytecodePatch( object ReturnYouTubeUsernamePatch : BaseBytecodePatch(
name = "Return YouTube Username", name = "Return YouTube Username",
description = "Adds option to replace YouTube Handle with Username in comments using YouTube Data API v3.", description = "Adds an option to replace YouTube handles with usernames in comments using YouTube Data API v3.",
dependencies = setOf( dependencies = setOf(
BaseReturnYouTubeUsernamePatch::class, BaseReturnYouTubeUsernamePatch::class,
SettingsPatch::class, SettingsPatch::class,

View File

@ -322,13 +322,13 @@ Some features may not work properly in the old player layout."</string>
<string name="revanced_preference_screen_return_youtube_username_title">Return YouTube Username</string> <string name="revanced_preference_screen_return_youtube_username_title">Return YouTube Username</string>
<string name="revanced_return_youtube_username_enabled_title">Enable Return YouTube Username</string> <string name="revanced_return_youtube_username_enabled_title">Enable Return YouTube Username</string>
<string name="revanced_return_youtube_username_enabled_summary">Show Username instead of Handle in comments.</string> <string name="revanced_return_youtube_username_enabled_summary">Replaces handles with usernames in comments.</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_title">YouTube Data API key</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_title">YouTube Data API key</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_summary">The developer key for using the YouTube Data API v3.</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_summary">The developer key for using the YouTube Data API v3.</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_about_title">About YouTube Data API key</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_about_title">About YouTube Data API key</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_about_summary">"YouTube Data API v3 Developer Key is required to replace Handle with Username. <string name="revanced_return_youtube_username_youtube_data_api_v3_about_summary">"A YouTube Data API v3 Developer Key is required to replace handles with usernames.
The daily quota for API keys on the free plan is 10,000, and 1 quota is used to replace Handle with Username for 1 comment. The daily quota for API keys on the free plan is 10,000, and 1 quota is used to replace a handle with a username for 1 comment.
Click to see how to issue a API key."</string> Click to see how to issue a API key."</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_dialog_title">Issue YouTube Data API v3 developer key</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_dialog_title">Issue YouTube Data API v3 developer key</string>

View File

@ -388,8 +388,8 @@ If later turned off, it is recommended to clear the app data to prevent UI bugs.
<string name="revanced_spoof_app_version_target_entry_18_17_43">18.17.43 - Restore old player flyout panel</string> <string name="revanced_spoof_app_version_target_entry_18_17_43">18.17.43 - Restore old player flyout panel</string>
<string name="revanced_spoof_app_version_target_entry_18_33_40">18.33.40 - Restore old Shorts action bar</string> <string name="revanced_spoof_app_version_target_entry_18_33_40">18.33.40 - Restore old Shorts action bar</string>
<string name="revanced_spoof_app_version_target_entry_18_38_45">18.38.45 - Restore old default video quality behavior</string> <string name="revanced_spoof_app_version_target_entry_18_38_45">18.38.45 - Restore old default video quality behavior</string>
<string name="revanced_spoof_app_version_target_entry_18_48_39">18.48.39 - Disables views and likes from being updated in real time</string> <string name="revanced_spoof_app_version_target_entry_18_48_39">18.48.39 - Disable views and likes from being updated in real time</string>
<string name="revanced_spoof_app_version_target_entry_19_13_37">19.13.37 - Restores old style Rolling number animations</string> <string name="revanced_spoof_app_version_target_entry_19_13_37">19.13.37 - Restore old style Rolling number animations</string>
<!-- PreferenceScreen: General, PreferenceCategory: General, PreferenceScreen: Account menu --> <!-- PreferenceScreen: General, PreferenceCategory: General, PreferenceScreen: Account menu -->
<string name="revanced_preference_screen_account_menu_title">Account menu</string> <string name="revanced_preference_screen_account_menu_title">Account menu</string>
@ -629,7 +629,7 @@ You tab → View channel → Menu → Settings"</string>
<string name="revanced_hide_youtube_doodles_summary_off">YouTube Doodles are shown.</string> <string name="revanced_hide_youtube_doodles_summary_off">YouTube Doodles are shown.</string>
<string name="revanced_hide_youtube_doodles_user_dialog_message">"YouTube Doodles show up a few days each year. <string name="revanced_hide_youtube_doodles_user_dialog_message">"YouTube Doodles show up a few days each year.
If a YouTube Doodle is currently showing in your region and this hide setting is on, then the filter bar below the search bar will also be hidden."</string> If a YouTube Doodle is currently showing in your region and this setting is on, the filter bar below the search bar will also be hidden."</string>
<string name="revanced_replace_toolbar_create_button_title">Replace Create button</string> <string name="revanced_replace_toolbar_create_button_title">Replace Create button</string>
<string name="revanced_replace_toolbar_create_button_summary">Replaces the Create button with the Settings button.</string> <string name="revanced_replace_toolbar_create_button_summary">Replaces the Create button with the Settings button.</string>
@ -1081,7 +1081,7 @@ Tap and hold to undo."</string>
<string name="revanced_disable_seekbar_chapters_summary_off">Chapters are enabled in the seekbar.</string> <string name="revanced_disable_seekbar_chapters_summary_off">Chapters are enabled in the seekbar.</string>
<string name="revanced_hide_seekbar_chapter_label_title">Hide seekbar chapter labels</string> <string name="revanced_hide_seekbar_chapter_label_title">Hide seekbar chapter labels</string>
<string name="revanced_hide_seekbar_chapter_label_summary_on">Chapter labels next to the timestamp are hidden.</string> <string name="revanced_hide_seekbar_chapter_label_summary_on">Chapter labels next to the timestamp are hidden.</string>
<string name="revanced_hide_seekbar_chapter_label_summary_off">Chapter labels next to the timestamp are hidden.</string> <string name="revanced_hide_seekbar_chapter_label_summary_off">Chapter labels next to the timestamp are shown.</string>
<string name="revanced_hide_time_stamp_title">Hide timestamp</string> <string name="revanced_hide_time_stamp_title">Hide timestamp</string>
<string name="revanced_hide_time_stamp_summary_on">Timestamp is hidden.</string> <string name="revanced_hide_time_stamp_summary_on">Timestamp is hidden.</string>
<string name="revanced_hide_time_stamp_summary_off">Timestamp is shown.</string> <string name="revanced_hide_time_stamp_summary_off">Timestamp is shown.</string>
@ -1460,7 +1460,7 @@ Limitation: Dislikes may not appear if the user is not logged in or in incognito
<string name="revanced_ryd_dislike_percentage_title">Dislikes as percentage</string> <string name="revanced_ryd_dislike_percentage_title">Dislikes as percentage</string>
<string name="revanced_ryd_dislike_percentage_summary_on">Dislikes shown as a percentage.</string> <string name="revanced_ryd_dislike_percentage_summary_on">Dislikes shown as a percentage.</string>
<string name="revanced_ryd_dislike_percentage_summary_off">Dislikes shown as a number.</string> <string name="revanced_ryd_dislike_percentage_summary_off">Dislikes shown as a number.</string>
<string name="revanced_ryd_compact_layout_title">Compact like button</string> <string name="revanced_ryd_compact_layout_title">Compact Like button</string>
<string name="revanced_ryd_compact_layout_summary_on">Like button styled for minimum width.</string> <string name="revanced_ryd_compact_layout_summary_on">Like button styled for minimum width.</string>
<string name="revanced_ryd_compact_layout_summary_off">Like button styled for best appearance.</string> <string name="revanced_ryd_compact_layout_summary_off">Like button styled for best appearance.</string>
<string name="revanced_ryd_estimated_like_title">Show estimated likes</string> <string name="revanced_ryd_estimated_like_title">Show estimated likes</string>
@ -1492,9 +1492,9 @@ Limitation: Dislikes may not appear if the user is not logged in or in incognito
<string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_title">YouTube Data API key</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_title">YouTube Data API key</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_summary">The developer key for using the YouTube Data API v3.</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_developer_key_summary">The developer key for using the YouTube Data API v3.</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_about_title">About YouTube Data API key</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_about_title">About YouTube Data API key</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_about_summary">"YouTube Data API v3 Developer Key is required to replace Handle with Username. <string name="revanced_return_youtube_username_youtube_data_api_v3_about_summary">"A YouTube Data API v3 Developer Key is required to replace handles with usernames.
The daily quota for API keys on the free plan is 10,000, and 1 quota is used to replace Handle with Username for 1 comment. The daily quota for API keys on the free plan is 10,000, and 1 quota is used to replace a handle with a username for 1 comment.
Click to see how to issue a API key."</string> Click to see how to issue a API key."</string>
<string name="revanced_return_youtube_username_youtube_data_api_v3_dialog_title">Issue YouTube Data API v3 developer key</string> <string name="revanced_return_youtube_username_youtube_data_api_v3_dialog_title">Issue YouTube Data API v3 developer key</string>