refactor: Strings

closes #29
This commit is contained in:
OxrxL 2022-06-30 13:32:08 +02:00 committed by GitHub
parent aecafc5380
commit 7a9c61b71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 319 additions and 236 deletions

View File

@ -147,9 +147,9 @@ public class Whitelist {
boolean success = updateWhitelist(whitelistType, channels, context);
String friendlyName = whitelistType.getFriendlyName();
if (success) {
Toast.makeText(context, str("vanced_whitelisting_removed", channelName, friendlyName), Toast.LENGTH_SHORT).show();
Toast.makeText(context, str("revanced_whitelisting_removed", channelName, friendlyName), Toast.LENGTH_SHORT).show();
} else {
Toast.makeText(context, str("vanced_whitelisting_remove_failed", channelName, friendlyName), Toast.LENGTH_SHORT).show();
Toast.makeText(context, str("revanced_whitelisting_remove_failed", channelName, friendlyName), Toast.LENGTH_SHORT).show();
}
}

View File

@ -5,8 +5,8 @@ import static app.revanced.integrations.sponsorblock.StringRef.str;
import app.revanced.integrations.utils.SharedPrefHelper;
public enum WhitelistType {
ADS(SharedPrefHelper.SharedPrefNames.YOUTUBE, "vanced_whitelist_ads_enabled"),
SPONSORBLOCK(SharedPrefHelper.SharedPrefNames.SPONSOR_BLOCK, "vanced_whitelist_sb_enabled");
ADS(SharedPrefHelper.SharedPrefNames.YOUTUBE, "revanced_whitelist_ads_enabled"),
SPONSORBLOCK(SharedPrefHelper.SharedPrefNames.SPONSOR_BLOCK, "revanced_whitelist_sb_enabled");
private final String friendlyName;
private final String preferencesName;
@ -14,7 +14,7 @@ public enum WhitelistType {
private final SharedPrefHelper.SharedPrefNames name;
WhitelistType(SharedPrefHelper.SharedPrefNames name, String preferenceEnabledName) {
this.friendlyName = str("vanced_whitelisting_" + name().toLowerCase());
this.friendlyName = str("revanced_whitelisting_" + name().toLowerCase());
this.name = name;
this.preferencesName = "whitelist_" + name();
this.preferenceEnabledName = preferenceEnabledName;

View File

@ -58,17 +58,17 @@ public class WhitelistRequester {
runOnMainThread(() -> {
if (success) {
buttonIcon.setEnabled(whitelistType != WhitelistType.SPONSORBLOCK);
Toast.makeText(context, str("vanced_whitelisting_added", author, whitelistTypeName), Toast.LENGTH_SHORT).show();
Toast.makeText(context, str("revanced_whitelisting_added", author, whitelistTypeName), Toast.LENGTH_SHORT).show();
} else {
buttonIcon.setEnabled(whitelistType == WhitelistType.SPONSORBLOCK);
Toast.makeText(context, str("vanced_whitelisting_add_failed", author, whitelistTypeName), Toast.LENGTH_SHORT).show();
Toast.makeText(context, str("revanced_whitelisting_add_failed", author, whitelistTypeName), Toast.LENGTH_SHORT).show();
}
view.setEnabled(true);
});
} else {
LogHelper.debug("WhitelistRequester", "player fetch response was " + responseCode);
runOnMainThread(() -> {
Toast.makeText(context, str("vanced_whitelisting_fetch_failed", responseCode), Toast.LENGTH_SHORT).show();
Toast.makeText(context, str("revanced_whitelisting_fetch_failed", responseCode), Toast.LENGTH_SHORT).show();
buttonIcon.setEnabled(true);
view.setEnabled(true);
});

View File

@ -44,25 +44,25 @@ public class Dialogs {
} else {
builder = new AlertDialog.Builder(activity);
}
builder.setTitle(str("vanced_ryd"));
builder.setTitle(str("revanced_ryd"));
builder.setIcon(ReVancedUtils.getIdentifier("reel_dislike_icon", "drawable"));
builder.setCancelable(false);
builder.setMessage(str("vanced_ryd_firstrun"));
builder.setPositiveButton(str("vanced_enable"),
builder.setMessage(str("revanced_ryd_firstrun"));
builder.setPositiveButton(str("revanced_enable"),
(dialog, id) -> {
SharedPrefHelper.saveBoolean(context, SharedPrefHelper.SharedPrefNames.RYD, PREFERENCES_KEY_RYD_HINT_SHOWN, true);
SharedPrefHelper.saveBoolean(context, SharedPrefHelper.SharedPrefNames.RYD, PREFERENCES_KEY_RYD_ENABLED, true);
dialog.dismiss();
});
builder.setNegativeButton(str("vanced_disable"),
builder.setNegativeButton(str("revanced_disable"),
(dialog, id) -> {
SharedPrefHelper.saveBoolean(context, SharedPrefHelper.SharedPrefNames.RYD, PREFERENCES_KEY_RYD_HINT_SHOWN, true);
SharedPrefHelper.saveBoolean(context, SharedPrefHelper.SharedPrefNames.RYD, PREFERENCES_KEY_RYD_ENABLED, false);
dialog.dismiss();
});
builder.setNeutralButton(str("vanced_learnmore"), null);
builder.setNeutralButton(str("revanced_learnmore"), null);
AlertDialog dialog = builder.create();
dialog.show();

View File

@ -60,7 +60,7 @@ public class Settings {
}
public static void setOldLayout(SharedPreferences sharedPreferences, String config, long timeStamp) {
if (!SettingsEnum.OLD_LAYOUT_XFILE_ENABLED_BOOLEAN.getBoolean()) {
if (!SettingsEnum.OLD_LAYOUT_ENABLED_BOOLEAN.getBoolean()) {
sharedPreferences.edit().putString("com.google.android.libraries.youtube.innertube.cold_config_group", config).putLong("com.google.android.libraries.youtube.innertube.cold_stored_timestamp", timeStamp).apply();
LogHelper.debug("Settings", "setOldLayout: true");
return;

View File

@ -8,10 +8,10 @@ import app.revanced.integrations.utils.SharedPrefHelper;
public enum SettingsEnum {
DEBUG_BOOLEAN("debug_xfile_enabled", false),
DEBUG_BOOLEAN("debug_revanced_enabled", false),
MANUFACTURER_OVERRIDE_STRING("override_manufacturer", null),
MODEL_OVERRIDE_STRING("override_model", null),
CODEC_OVERRIDE_BOOLEAN("override_resolution_xfile_enabled", true),
CODEC_OVERRIDE_BOOLEAN("revanced_vp9_enabled", true),
PREFERRED_RESOLUTION_WIFI_INTEGER("pref_video_quality_wifi", -2),
PREFERRED_RESOLUTION_MOBILE_INTEGER("pref_video_quality_mobile", -2),
PREFERRED_VIDEO_SPEED_FLOAT("pref_video_speed", -2.0f),
@ -22,12 +22,12 @@ public enum SettingsEnum {
REEL_BUTTON_SHOWN_BOOLEAN("reel_button_enabled", false),
SHORTS_BUTTON_SHOWN_BOOLEAN("shorts_button_enabled", false),
CAST_BUTTON_SHOWN_BOOLEAN("cast_button_enabled", false),
CREATE_BUTTON_SHOWN_BOOLEAN("xfile_create_button_enabled", false),
CREATE_BUTTON_SHOWN_BOOLEAN("revanced_create_button_enabled", false),
SUGGESTIONS_SHOWN_BOOLEAN("info_card_suggestions_enabled", false),
INFO_CARDS_SHOWN_BOOLEAN("info_cards_enabled", false),
BRANDING_SHOWN_BOOLEAN("branding_watermark_enabled", false),
USE_TABLET_MINIPLAYER_BOOLEAN("tablet_miniplayer", false),
USE_NEW_ACTIONBAR_BOOLEAN("xfile_new_actionbar", false),
USE_NEW_ACTIONBAR_BOOLEAN("revanced_new_actionbar", false),
USE_DARK_THEME_BOOLEAN("app_theme_dark", false),
USE_HDR_BRIGHTNESS_BOOLEAN("pref_hdr_autobrightness", true),
ENABLE_SWIPE_BRIGHTNESS_BOOLEAN("pref_xfenster_brightness", true),
@ -39,7 +39,7 @@ public enum SettingsEnum {
PLAYBACK_MAX_BUFFER_INTEGER("pref_buffer_for_playback_ms", 2500),
MAX_PLAYBACK_BUFFER_AFTER_REBUFFER_INTEGER("pref_buffer_for_playback_after_rebuffer_ms", 5000),
OLD_STYLE_QUALITY_SETTINGS_BOOLEAN("old_style_quality_settings", true),
TAP_SEEKING_ENABLED_BOOLEAN("xfile_enable_tap_seeking", true),
TAP_SEEKING_ENABLED_BOOLEAN("revanced_enable_tap_seeking", true),
;
private final String path;

View File

@ -38,8 +38,8 @@ public class RYDSettingsFragment extends PreferenceFragment {
preference.setKey(PREFERENCES_KEY_RYD_ENABLED);
preference.setDefaultValue(false);
preference.setChecked(SharedPrefHelper.getBoolean(context, SharedPrefHelper.SharedPrefNames.RYD, PREFERENCES_KEY_RYD_ENABLED));
preference.setTitle(str("vanced_ryd_title"));
preference.setSummary(str("vanced_ryd_summary"));
preference.setTitle(str("revanced_ryd_title"));
preference.setSummary(str("revanced_ryd_summary"));
preference.setOnPreferenceChangeListener((pref, newValue) -> {
final boolean value = (Boolean) newValue;
ReturnYouTubeDislikes.onEnabledChange(value);
@ -71,8 +71,8 @@ public class RYDSettingsFragment extends PreferenceFragment {
{
Preference preference = new Preference(context);
screen.addPreference(preference);
preference.setTitle(str("vanced_ryd_attribution_title"));
preference.setSummary(str("vanced_ryd_attribution_summary"));
preference.setTitle(str("revanced_ryd_attribution_title"));
preference.setSummary(str("revanced_ryd_attribution_summary"));
preference.setOnPreferenceClickListener(pref -> {
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("https://returnyoutubedislike.com"));

View File

@ -205,7 +205,7 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
SwipeGestureListener.TOP_PADDING = val;
SettingsEnum.SWIPE_PADDING_TOP_INTEGER.setValue(val);
}
} else if ("vanced_ryd_enabled".equals(str) && ReVancedUtils.getContext() != null && settingsInitialized) {
} else if ("revanced_ryd_enabled".equals(str) && ReVancedUtils.getContext() != null && settingsInitialized) {
rebootDialog(ReVancedSettingsFragment.this.getActivity());
} else if (str.equals("pref_auto_repeat_button")) {
AutoRepeatLinks();
@ -224,7 +224,7 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
super.onCreate(bundle);
getPreferenceManager().setSharedPreferencesName("youtube");
try {
int identifier = getResources().getIdentifier("xfile_prefs", "xml", getPackageName());
int identifier = getResources().getIdentifier("revanced_prefs", "xml", getPackageName());
addPreferencesFromResource(identifier);
String stringByName = ReVancedUtils.getStringByName(getActivity(), "quality_auto");
@ -237,11 +237,11 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
} else {
this.videoSpeedEntries[4] = stringByName2;
}
this.minimizedVideoEntries[1] = ReVancedUtils.getStringByName(getActivity(), "xfile_miniplayer_style_video");
this.minimizedVideoEntries[2] = ReVancedUtils.getStringByName(getActivity(), "xfile_miniplayer_style_video_controls");
this.minimizedVideoEntries[1] = ReVancedUtils.getStringByName(getActivity(), "revanced_miniplayer_style_video");
this.minimizedVideoEntries[2] = ReVancedUtils.getStringByName(getActivity(), "revanced_miniplayer_style_video_controls");
SharedPreferences sharedPreferences = getPreferenceManager().getSharedPreferences();
this.sharedPreferences = sharedPreferences;
this.settingsInitialized = sharedPreferences.getBoolean("xfile_initialized", false);
this.settingsInitialized = sharedPreferences.getBoolean("revanced_initialized", false);
this.sharedPreferences.registerOnSharedPreferenceChangeListener(this.listener);
this.Registered = true;
this.codecPreferenceScreen = (PreferenceScreen) getPreferenceScreen().findPreference("codec_override");
@ -252,7 +252,7 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
this.bufferSettingsPreferenceScreen = (PreferenceScreen) getPreferenceScreen().findPreference("buffer_screen");
this.miscsPreferenceScreen = (PreferenceScreen) getPreferenceScreen().findPreference("misc_screen");
this.xSwipeControlPreferenceScreen = (PreferenceScreen) getPreferenceScreen().findPreference("xfenster_screen");
this.vp9Override = (SwitchPreference) this.codecPreferenceScreen.findPreference("vp9_xfile_enabled");
this.vp9Override = (SwitchPreference) this.codecPreferenceScreen.findPreference("revanced_vp9_enabled");
this.manufacturerOverride = (EditTextPreference) this.codecPreferenceScreen.findPreference("override_manufacturer");
this.modelOverride = (EditTextPreference) this.codecPreferenceScreen.findPreference("override_model");
this.codecDefault = this.codecPreferenceScreen.findPreference("pref_default_override");
@ -303,10 +303,10 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
}
this.sharedPreferences.edit().putBoolean("xfile_initialized", true);
this.sharedPreferences.edit().putBoolean("revanced_initialized", true);
this.settingsInitialized = true;
} catch (Throwable th) {
LogHelper.printException("XSettingsFragment", "Unable to retrieve resourceId for xfile_prefs", th);
LogHelper.printException("ReVancedSettingsFragment", "Unable to retrieve resourceId for revanced_prefs", th);
}
}

View File

@ -36,10 +36,10 @@ public class XSettingActivity extends Activity {
trySetTitle(getIdentifier("sb_settings", "string"));
getFragmentManager().beginTransaction().replace(getIdentifier("xsettings_fragments", "id"), new SponsorBlockSettingsFragment()).commit();
} else if (dataString.equalsIgnoreCase("ryd_settings")) {
trySetTitle(getIdentifier("vanced_ryd_settings_title", "string"));
trySetTitle(getIdentifier("revanced_ryd_settings_title", "string"));
getFragmentManager().beginTransaction().replace(getIdentifier("xsettings_fragments", "id"), new RYDSettingsFragment()).commit();
} else {
trySetTitle(getIdentifier("xfile_settings", "string"));
trySetTitle(getIdentifier("revanced_settings", "string"));
getFragmentManager().beginTransaction().replace(getIdentifier("xsettings_fragments", "id"), new ReVancedSettingsFragment()).commit();
}
context = getApplicationContext();

View File

@ -26,7 +26,7 @@ public class AdButton extends SlimButton {
}
private void initialize() {
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("vanced_yt_ad_button", "drawable"));
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("revanced_yt_ad_button", "drawable"));
this.button_text.setText(str("action_ads"));
changeEnabled(Whitelist.shouldShowAds());
}

View File

@ -17,7 +17,7 @@ public class CopyButton extends SlimButton {
}
private void initialize() {
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("vanced_yt_copy_icon", "drawable"));
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("revanced_yt_copy_icon", "drawable"));
this.button_text.setText(str("action_copy"));
}

View File

@ -17,7 +17,7 @@ public class CopyWithTimestamp extends SlimButton {
}
private void initialize() {
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("vanced_yt_copy_icon_with_time", "drawable"));
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("revanced_yt_copy_icon_with_time", "drawable"));
this.button_text.setText(str("action_tcopy"));
}

View File

@ -24,7 +24,7 @@ public class SBBrowserButton extends SlimButton {
}
private void initialize() {
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("vanced_sb_browser", "drawable"));
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("revanced_sb_browser", "drawable"));
this.button_text.setText(str("action_browser"));
}

View File

@ -26,7 +26,7 @@ public class SBWhitelistButton extends SlimButton {
}
private void initialize() {
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("vanced_yt_sb_button", "drawable"));
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("revanced_yt_sb_button", "drawable"));
this.button_text.setText(str("action_segments"));
changeEnabled(Whitelist.isChannelSBWhitelisted());
}

View File

@ -15,7 +15,7 @@ public class SponsorBlockVoting extends SlimButton {
}
private void initialize() {
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("vanced_sb_voting", "drawable"));
this.button_icon.setImageResource(ReVancedUtils.getIdentifier("revanced_sb_voting", "drawable"));
this.button_text.setText("SB Voting");
}

View File

@ -19,7 +19,7 @@ public class BrightnessSeekBar {
public int Progress;
private boolean enabled;
Handler handler;
private final String mBrightnessKey = "xfile_brightness_value";
private final String mBrightnessKey = "revanced_brightness_value";
Context mContext;
TextView mTextView;
ViewGroup mViewGroup;
@ -30,7 +30,7 @@ public class BrightnessSeekBar {
this.mContext = context;
float systemBrightness = android.provider.Settings.System.getFloat(this.mContext.getContentResolver(), "screen_brightness", -1.0f);
int _systemBrightness = (int) ((systemBrightness / 255.0f) * 100.0f);
this.Progress = SharedPrefHelper.getInt(this.mContext, SharedPrefHelper.SharedPrefNames.YOUTUBE, "xfile_brightness_value", Integer.valueOf(_systemBrightness)).intValue();
this.Progress = SharedPrefHelper.getInt(this.mContext, SharedPrefHelper.SharedPrefNames.YOUTUBE, "revanced_brightness_value", Integer.valueOf(_systemBrightness)).intValue();
this.Max = 100;
this.mTextView = new TextView(context);
this.mTextView.setTextSize(24.0f);
@ -111,7 +111,7 @@ public class BrightnessSeekBar {
public void disable() {
this.enabled = false;
SharedPrefHelper.saveInt(this.mContext, SharedPrefHelper.SharedPrefNames.YOUTUBE,"xfile_brightness_value", Integer.valueOf(this.Progress));
SharedPrefHelper.saveInt(this.mContext, SharedPrefHelper.SharedPrefNames.YOUTUBE,"revanced_brightness_value", Integer.valueOf(this.Progress));
disableBrightness();
LogHelper.debug("XDebug", "Brightness swipe disabled");
}
@ -120,7 +120,7 @@ public class BrightnessSeekBar {
this.enabled = true;
float systemBrightness = android.provider.Settings.System.getFloat(this.mContext.getContentResolver(), "screen_brightness", -1.0f);
int _systemBrightness = (int) ((systemBrightness / 255.0f) * 100.0f);
int brightness = SharedPrefHelper.getInt(this.mContext, SharedPrefHelper.SharedPrefNames.YOUTUBE,"xfile_brightness_value", Integer.valueOf(_systemBrightness)).intValue();
int brightness = SharedPrefHelper.getInt(this.mContext, SharedPrefHelper.SharedPrefNames.YOUTUBE,"revanced_brightness_value", Integer.valueOf(_systemBrightness)).intValue();
if (brightness < 0) {
brightness = 0;
} else if (brightness > 100) {

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="vanced_button_location_entries">
<item>@string/vanced_button_location_entry_none</item>
<item>@string/vanced_button_location_entry_player</item>
<item>@string/vanced_button_location_entry_buttoncontainer</item>
<item>@string/vanced_button_location_entry_both</item>
<string-array name="revanced_button_location_entries">
<item>@string/revanced_button_location_entry_none</item>
<item>@string/revanced_button_location_entry_player</item>
<item>@string/revanced_button_location_entry_buttoncontainer</item>
<item>@string/revanced_button_location_entry_both</item>
</string-array>
<string-array name="vanced_button_location_entry_values">
<string-array name="revanced_button_location_entry_values">
<item>NONE</item>
<item>PLAYER</item>
<item>BUTTON_CONTAINER</item>

View File

@ -1,128 +1,118 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="xfile_about_summary">"
- xfileFIN (Mods, Theming, Support)
- Laura (Theming, Support)
- ZaneZam (Publishing, Support)
- KevinX8 (Overlord, Support)"</string>
<string name="xfile_about_title">About</string>
<string name="xfile_auto_repeat_button_summary_off">"Doesn't show auto repeat button in the player overlay. Use the toggle below to control auto repeat"</string>
<string name="xfile_auto_repeat_button_summary_on">Auto repeat button is shown in the player overlay</string>
<string name="xfile_auto_repeat_button_title">Auto repeat button</string>
<string name="xfile_auto_repeat_summary_off">Auto repeat is off</string>
<string name="xfile_auto_repeat_summary_on">Auto repeat is on</string>
<string name="xfile_auto_repeat_title">Auto repeat</string>
<string name="xfile_branding_watermark_summary_off">Video watermark is hidden</string>
<string name="xfile_branding_watermark_summary_on">Video watermark is shown</string>
<string name="xfile_branding_watermark_title">Video watermark</string>
<string name="xfile_buffer_summary">ExoPlayer v2 has to be enabled for buffer settings</string>
<string name="xfile_buffer_title">Buffer settings</string>
<string name="xfile_cast_button_summary_off">Cast button is hidden</string>
<string name="xfile_cast_button_summary_on">Cast button is shown</string>
<string name="xfile_cast_button_title">Cast button</string>
<string name="xfile_codec_override_title">Codec override</string>
<string name="xfile_current_override_manufacturer">Override manufacturer</string>
<string name="xfile_current_override_model">Override model</string>
<string name="xfile_debug_summary_off">Extra debug logging is disabled</string>
<string name="xfile_debug_summary_on">Extra debug logging is enabled</string>
<string name="xfile_debug_title">Debug mode</string>
<string name="xfile_default_codec_summary">Tap to set your device\'s default codec</string>
<string name="xfile_default_codec_title">Default codec</string>
<string name="xfile_discord_summary">Tap to join Vanced on Discord</string>
<string name="xfile_discord_title">Discord Server</string>
<string name="xfile_exoplayerv2_warning_summary">ExoPlayer v2 is experimental. DO NOT report errors that occur when ExoPlayer v2 is enabled</string>
<string name="xfile_exoplayerv2_warning_title">Warning</string>
<string name="xfile_hardware_hdr_summary">Tap to enable hardware HDR</string>
<string name="xfile_hardware_hdr_title" translatable="false">Samsung Galaxy S8+</string>
<string name="xfile_hdr_full_brightness_summary_off">Video brightness will follow your device\'s brightness on HDR landscape videos</string>
<string name="xfile_hdr_full_brightness_summary_on">Video brightness is set to max on HDR landscape videos</string>
<string name="xfile_hdr_full_brightness_title">HDR Max brightness</string>
<string name="xfile_hiddenmenu_needed">taps needed to enable hidden settings</string>
<string name="xfile_hiddenmenu_open">No need, hidden settings are already enabled</string>
<string name="xfile_hiddenmenu_opened">Hidden settings have been enabled</string>
<string name="xfile_info_cards_summary_off">Info cards are hidden</string>
<string name="xfile_info_cards_summary_on">Info cards are shown</string>
<string name="xfile_info_cards_title">Info cards</string>
<string name="xfile_layout_settings_title">Layout settings</string>
<string name="xfile_maximum_buffer_summary">"The maximum duration of media that the player will attempt to buffer (in milliseconds)
<string name="revanced_about_summary">"
- xfileFIN (First creator)
- oSumAtrIX (Mods, Patcher, Support)
- TheJeterLP (Integrations)
- bogadana (Mods, Support)
- Sculas (Manager, Patcher)
- baiorett (Manager)"</string>
<string name="revanced_about_title">About</string>
<string name="revanced_auto_repeat_button_summary_off">"Doesn't show auto-repeat button in the player overlay. Use the toggle below to control auto-repeat"</string>
<string name="revanced_auto_repeat_button_summary_on">Auto-repeat button is shown in the player overlay</string>
<string name="revanced_auto_repeat_button_title">Auto-repeat button</string>
<string name="revanced_auto_repeat_summary_off">Auto-repeat is off</string>
<string name="revanced_auto_repeat_summary_on">Auto-repeat is on</string>
<string name="revanced_auto_repeat_title">Auto-repeat</string>
<string name="revanced_branding_watermark_summary_off">Video watermark is hidden</string>
<string name="revanced_branding_watermark_summary_on">Video watermark is shown</string>
<string name="revanced_branding_watermark_title">Video watermark</string>
<string name="revanced_buffer_title">Buffer settings</string>
<string name="revanced_cast_button_summary_off">Cast button is hidden</string>
<string name="revanced_cast_button_summary_on">Cast button is shown</string>
<string name="revanced_cast_button_title">Cast button</string>
<string name="revanced_codec_override_title">Codec override</string>
<string name="revanced_current_override_manufacturer">Manufacturer override</string>
<string name="revanced_current_override_model">Model override</string>
<string name="revanced_debug_summary_off">Extra debug logging is disabled</string>
<string name="revanced_debug_summary_on">Extra Debug logging is enabled</string>
<string name="revanced_debug_title">Debug mode</string>
<string name="revanced_default_codec_summary">Tap to set your device\'s default codec</string>
<string name="revanced_default_codec_title">Default codec</string>
<string name="revanced_discord_summary">Tap to join ReVanced on Discord</string>
<string name="revanced_discord_title">Discord server</string>
<string name="revanced_hardware_hdr_summary">Tap to enable hardware HDR</string>
<string name="revanced_hardware_hdr_title" translatable="false">Samsung Galaxy S8+</string>
<string name="revanced_hdr_full_brightness_summary_off">Video brightness will follow your device\'s brightness on HDR landscape videos</string>
<string name="revanced_hdr_full_brightness_summary_on">Video brightness is set to max on HDR landscape videos</string>
<string name="revanced_hdr_full_brightness_title">HDR max brightness</string>
<string name="revanced_info_cards_summary_off">Info cards are hidden</string>
<string name="revanced_info_cards_summary_on">Info cards are shown</string>
<string name="revanced_info_cards_title">Info cards</string>
<string name="revanced_layout_settings_title">Layout settings</string>
<string name="revanced_maximum_buffer_summary">"The maximum duration of media that the player will attempt to buffer (in milliseconds)
Default: 120000"</string>
<string name="xfile_maximum_buffer_title">Maximum buffer</string>
<string name="xfile_minimized_video_type_summary">Select the preferred minimized video type</string>
<string name="xfile_minimized_video_type_title">Minimized video type</string>
<string name="xfile_miniplayer_style_video">Video only</string>
<string name="xfile_miniplayer_style_video_controls">Video with media controls</string>
<string name="xfile_misc_title">Misc</string>
<string name="xfile_override_resolution_summary_off">Video resolution is following your device screen resolution</string>
<string name="xfile_override_resolution_summary_on">Video resolution is being overridden to max</string>
<string name="xfile_override_resolution_title">Max resolution</string>
<string name="xfile_playback_start_summary">"The duration of media that must be buffered for playback to start or resume following a user action such as seeking (in milliseconds)
<string name="revanced_maximum_buffer_title">Maximum buffer</string>
<string name="revanced_misc_title">Misc.</string>
<string name="revanced_override_resolution_summary_off">Video resolution is following your device screen resolution</string>
<string name="revanced_override_resolution_summary_on">Video resolution is being overridden to max</string>
<string name="revanced_override_resolution_title">Max resolution</string>
<string name="revanced_playback_start_summary">"The duration of media that must be buffered for playback to start or resume following a user action such as seeking (in milliseconds)
Default: 2500"</string>
<string name="xfile_playback_start_title">Playback start</string>
<string name="xfile_preferred_video_quality_mobile_summary">Select preferred video resolution on Cellular Network</string>
<string name="xfile_preferred_video_quality_mobile_title">Preferred video quality Cellular</string>
<string name="xfile_preferred_video_quality_wifi_summary">Select preferred video resolution on Wi-Fi Network</string>
<string name="xfile_preferred_video_quality_wifi_title">Preferred video quality Wi-Fi</string>
<string name="xfile_preferred_video_speed_summary">Select preferred video speed</string>
<string name="xfile_preferred_video_speed_title">Preferred video speed</string>
<string name="xfile_rebuffer_summary">"The duration of media that must be buffered for playback to resume after a rebuffer (in milliseconds). A rebuffer is defined to be caused by buffer depletion rather than a user action
<string name="revanced_playback_start_title">Playback start</string>
<string name="revanced_preferred_video_quality_mobile_summary">Select preferred video resolution on Cellular Network</string>
<string name="revanced_preferred_video_quality_mobile_title">Preferred video quality Cellular</string>
<string name="revanced_preferred_video_quality_wifi_summary">Select preferred video resolution on Wi-Fi Network</string>
<string name="revanced_preferred_video_quality_wifi_title">Preferred video quality Wi-Fi</string>
<string name="revanced_preferred_video_speed_summary">Select preferred video speed</string>
<string name="revanced_preferred_video_speed_title">Preferred video speed</string>
<string name="revanced_rebuffer_summary">"The duration of media that must be buffered for playback to resume after a rebuffer (in milliseconds). A rebuffer is defined to be caused by buffer depletion rather than a user action
Default: 5000"</string>
<string name="xfile_rebuffer_title">Rebuffer</string>
<string name="xfile_settings">Vanced settings</string>
<string name="xfile_software_hdr_summary">Tap to enable software HDR</string>
<string name="xfile_software_hdr_title" translatable="false">Google Pixel XL</string>
<string name="xfile_suggestion_summary_off">End screens are hidden</string>
<string name="xfile_suggestion_summary_on">End screens are shown</string>
<string name="xfile_suggestion_title">End screens</string>
<string name="xfile_support_summary">Support links</string>
<string name="xfile_support_title">Support</string>
<string name="xfile_video_settings_title">Video settings</string>
<string name="xfile_vp9_summary">Tap to force usage of the VP9 codec</string>
<string name="xfile_vp9_summary_off">VP9 codec not forced</string>
<string name="xfile_vp9_summary_on">VP9 codec is enabled by default for supported devices, disable if you encounter stuttering/slowness in videos</string>
<string name="xfile_vp9_title">VP9 codec</string>
<string name="xfile_xda_summary">Tap to open the XDA post</string>
<string name="xfile_xda_title">XDA thread</string>
<string name="xfile_new_actionbar_title">Wide search bar</string>
<string name="xfile_new_actionbar_summary_off">Search bar style is defined by the app</string>
<string name="xfile_new_actionbar_summary_on">Forcing wide search bar</string>
<string name="xfile_zoom_to_fit_vertical_title">Dynamic player</string>
<string name="xfile_zoom_to_fit_vertical_summary_off">Dynamic player is defined automatically</string>
<string name="xfile_zoom_to_fit_vertical_summary_on">Dynamic player is forced on square and vertical videos</string>
<string name="xfile_about_theme_summary">New official theme toggle is in the General settings. This theme toggle is \"Developer\" toggle</string>
<string name="xfile_about_theme_title">Theme info</string>
<string name="xfile_accessibility_seek_buttons_summary_off">Accessibility controls aren\'t displayed in the player</string>
<string name="xfile_accessibility_seek_buttons_summary_on">Accessibility controls are displayed in the player</string>
<string name="xfile_accessibility_seek_buttons_title">Accessibility player</string>
<string name="xfile_auto_captions_summary_off">Captions aren\'t enabled automatically at 0% volume </string>
<string name="xfile_auto_captions_summary_on">Captions are enabled automatically at 0% volume</string>
<string name="xfile_auto_captions_title">Auto captions</string>
<string name="xfile_swipe_padding_top_summary">Amount of pixels excluded from swiping at the top of the display to prevent swipe controls when dragging down notifications</string>
<string name="xfile_swipe_padding_top_title">Swipe padding</string>
<string name="xfile_swipe_threshold_summary">Amount of pixels you have to swipe until detecting starts to prevent unintended swiping</string>
<string name="xfile_swipe_threshold_title">Swipe threshold</string>
<string name="xfile_xfenster_brightness_summary_off">Swipe controls for brightness are disabled</string>
<string name="xfile_xfenster_brightness_summary_on">Swipe controls for brightness are enabled</string>
<string name="xfile_xfenster_brightness_title">Swipe controls for Brightness</string>
<string name="xfile_xfenster_screen_summary">Swipe controls for Brightness and Volume</string>
<string name="xfile_xfenster_title">Swipe controls</string>
<string name="xfile_xfenster_volume_summary_off">Swipe controls for volume are disabled</string>
<string name="xfile_xfenster_volume_summary_on">Swipe controls for volume are enabled</string>
<string name="xfile_xfenster_volume_title">Swipe controls for Volume</string>
<string name="xfile_website_summary">Tap to open our website</string>
<string name="xfile_website_title">Vanced website</string>
<string name="xfile_home_ads_summary_off">Home ads are hidden</string>
<string name="xfile_home_ads_summary_on">Home ads are shown</string>
<string name="xfile_home_ads_title">Home ads (Experimental)</string>
<string name="xfile_reel_summary_off">Stories are hidden</string>
<string name="xfile_reel_summary_on">Stories are shown</string>
<string name="xfile_reel_title">YouTube stories (Experimental)</string>
<string name="xfile_ad_settings_title">Ad settings</string>
<string name="xfile_credit_summary">Credits for people who have contributed</string>
<string name="xfile_credit_title">Credits</string>
<string name="souramoo_summary">Home ads removing enhancement and showed other kinds of debugging methods</string>
<string name="revanced_rebuffer_title">Rebuffer</string>
<string name="revanced_settings">Vanced settings</string>
<string name="revanced_software_hdr_summary">Tap to enable software HDR</string>
<string name="revanced_software_hdr_title" translatable="false">Google Pixel XL</string>
<string name="revanced_suggestion_summary_off">End screens are hidden</string>
<string name="revanced_suggestion_summary_on">End screens are shown</string>
<string name="revanced_suggestion_title">End screens</string>
<string name="revanced_support_summary">Support links</string>
<string name="revanced_support_title">Support</string>
<string name="revanced_video_settings_title">Video settings</string>
<string name="revanced_vp9_summary">Tap to force usage of the VP9 codec</string>
<string name="revanced_vp9_summary_off">VP9 codec not forced</string>
<string name="revanced_vp9_summary_on">VP9 codec is enabled by default for supported devices, disable if you encounter stuttering/slowness in videos</string>
<string name="revanced_vp9_title">VP9 codec</string>
<string name="revanced_new_actionbar_title">Wide search bar</string>
<string name="revanced_new_actionbar_summary_off">Search bar style is defined by the app</string>
<string name="revanced_new_actionbar_summary_on">Forcing wide search bar</string>
<string name="revanced_zoom_to_fit_vertical_title">Dynamic player</string>
<string name="revanced_zoom_to_fit_vertical_summary_off">Dynamic player is defined automatically</string>
<string name="revanced_zoom_to_fit_vertical_summary_on">Dynamic player is forced on square and vertical videos</string>
<string name="revanced_about_theme_summary">New official theme toggle is in the General settings. This theme toggle is \"Developer\" toggle</string>
<string name="revanced_about_theme_title">Theme info</string>
<string name="revanced_accessibility_seek_buttons_summary_off">Accessibility controls aren\'t displayed in the player</string>
<string name="revanced_accessibility_seek_buttons_summary_on">Accessibility controls are displayed in the player</string>
<string name="revanced_accessibility_seek_buttons_title">Accessibility player</string>
<string name="revanced_auto_captions_summary_off">Captions aren\'t enabled automatically at 0% volume </string>
<string name="revanced_auto_captions_summary_on">Captions are enabled automatically at 0% volume</string>
<string name="revanced_auto_captions_title">Auto captions</string>
<string name="revanced_swipe_padding_top_summary">Amount of pixels excluded from swiping at the top of the display to prevent swipe controls when dragging down notifications</string>
<string name="revanced_swipe_padding_top_title">Swipe padding</string>
<string name="revanced_swipe_threshold_summary">Amount of pixels you have to swipe until detecting starts to prevent unintended swiping</string>
<string name="revanced_swipe_threshold_title">Swipe threshold</string>
<string name="revanced_xfenster_brightness_summary_off">Swipe controls for brightness are disabled</string>
<string name="revanced_xfenster_brightness_summary_on">Swipe controls for brightness are enabled</string>
<string name="revanced_xfenster_brightness_title">Swipe controls for Brightness</string>
<string name="revanced_xfenster_screen_summary">Swipe controls for Brightness and Volume</string>
<string name="revanced_xfenster_title">Swipe controls</string>
<string name="revanced_xfenster_volume_summary_off">Swipe controls for volume are disabled</string>
<string name="revanced_xfenster_volume_summary_on">Swipe controls for volume are enabled</string>
<string name="revanced_xfenster_volume_title">Swipe controls for Volume</string>
<string name="revanced_website_summary">Tap to open our website</string>
<string name="revanced_website_title">Vanced website</string>
<string name="revanced_home_ads_summary_off">Home ADS are hidden</string>
<string name="revanced_home_ads_summary_on">Home ADS are shown</string>
<string name="revanced_home_ads_title">Home ADS (Experimental)</string>
<string name="revanced_reel_summary_off">Stories are hidden</string>
<string name="revanced_reel_summary_on">Stories are shown</string>
<string name="revanced_reel_title">YouTube stories (Experimental)</string>
<string name="revanced_ad_settings_title">AD settings</string>
<string name="revanced_credit_summary">Credits for people who have contributed</string>
<string name="revanced_credit_title">Credits</string>
<string name="souramoo_summary">Home ADS removing enhancement and showed other kinds of debugging methods</string>
<string name="souramoo_title" translatable="false">souramoo</string>
<string name="bawm_summary">SponsorBlock implementation</string>
<string name="bawm_title" translatable="false">JakubWeg</string>
@ -130,14 +120,11 @@
<string name="cane_title" translatable="false">cane</string>
<string name="oizaro_summary">Bug fixing/helping out</string>
<string name="oizaro_title" translatable="false">Oizaro</string>
<string name="xfile_comments_location_summary_off">Comments are shown at the top (new place)</string>
<string name="xfile_comments_location_summary_on">Comments are shown at the bottom (old place). This feature can break things. For example swipe features will not work</string>
<string name="xfile_comments_location_title">Comments location (Alpha)</string>
<string name="xfile_tablet_miniplayer_summary_off">Tablet miniplayer is not being used</string>
<string name="xfile_tablet_miniplayer_summary_on">Tablet miniplayer is being used</string>
<string name="xfile_tablet_miniplayer_title">Tablet miniplayer</string>
<string name="vanced_translators_title">Vanced translators</string>
<string name="vanced_translators_summary">Link to Crowdin where you can contribute by translating Vanced to your language</string>
<string name="revanced_tablet_miniplayer_summary_off">Tablet miniplayer is not being used</string>
<string name="revanced_tablet_miniplayer_summary_on">Tablet miniplayer is being used</string>
<string name="revanced_tablet_miniplayer_title">Tablet miniplayer</string>
<string name="revanced_translators_title">ReVanced translators</string>
<string name="revanced_translators_summary">Link to Crowdin where you can contribute by translating ReVanced to your language</string>
<string name="enable_sb">Enable SponsorBlock</string>
<string name="enable_sb_sum">SponsorBlock is a crowd-sourced system for skipping annoying parts in YouTube videos</string>
@ -277,44 +264,39 @@
<string name="sb_summary">Uses the sponsor.ajay.app API</string>
<string name="microg_notification_settings">Notification settings</string>
<string name="microg_notification_settings_summary">"1. Google device registration and Google Cloud Messaging need to be enabled for notifications.
2. Vanced needs to be shown as registered under GCM.
3. Current State in GCM must not be Disconnected.
4. GCM -> Advanced (three dots top right) and switch Wi-Fi ping interval back and forth once to connect."</string>
<string name="microg_notification_settings_summary">"1. Google device registration and Cloud Messaging need to be enabled for notifications.
2. ReVanced needs to be shown as registered under Cloud Messaging.
3. Current State in Cloud Messaging must be Connected."</string>
<string name="microg_settings">MicroG settings</string>
<string name="vanced_settings">Vanced settings</string>
<string name="revanced_settings">ReVanced settings</string>
<string name="xfile_seekbar_tapping">Tapping on seek bar</string>
<string name="xfile_seekbar_tapping_off">Tapping on seek bar (video progress bar) is disabled</string>
<string name="xfile_seekbar_tapping_on">Tapping on seek bar (video progress bar) is enabled</string>
<string name="revanced_seekbar_tapping">Seekbar Tapping</string>
<string name="revanced_seekbar_tapping_off">Seekbar Tapping (video progress bar) is disabled</string>
<string name="revanced_seekbar_tapping_on">Seekbar Tapping (video progress bar) is enabled</string>
<string name="pref_subtitles_scale_normal">Normal</string>
<string name="xfile_exoplayer_v2">ExoPlayer V2</string>
<string name="xfile_exoplayer_v2_off">ExoPlayer V2 is disabled (ExoPlayer V1 is being used)</string>
<string name="xfile_exoplayer_v2_on">ExoPlayer V2 is enabled (Default). ExoPlayer V1 might have a better performance</string>
<string name="litho_shorts_shelf">Shorts Shelf</string>
<string name="litho_shorts_shelf_off">Shorts Shelf removal is turned off</string>
<string name="litho_shorts_shelf_on">Shorts Shelf removal is turned on</string>
<string name="litho_shorts_shelf">Shorts shelf</string>
<string name="litho_shorts_shelf_off">Shorts shelf removal is turned off</string>
<string name="litho_shorts_shelf_on">Shorts shelf removal is turned on</string>
<string name="revanced_create_button_summary_off">Create Button has default visibility</string>
<string name="revanced_create_button_summary_on">Create Button is forcefully disabled</string>
<string name="revanced_create_button_title">Create Button</string>
<string name="xfile_create_button_summary_off">Create button has default visibility</string>
<string name="xfile_create_button_summary_on">Create button is forcefully disabled</string>
<string name="xfile_create_button_title">Create button</string>
<string name="litho_community_guidelines">Community Guidelines</string>
<string name="litho_community_guidelines_off">Community Guidelines removal is turned off</string>
<string name="litho_community_guidelines_on">Community Guidelines removal is turned on</string>
<string name="litho_community_guidelines">Community guidelines</string>
<string name="litho_community_guidelines_off">Community guidelines removal is turned off</string>
<string name="litho_community_guidelines_on">Community guidelines removal is turned on</string>
<string name="revanced_copy_video_url_summary_off">Copy Link Button is hidden from the player overlay</string>
<string name="revanced_copy_video_url_summary_on">Copy Link Button is shown in the player overlay</string>
<string name="revanced_copy_video_url_timestamp_summary_off">Copy Link Button With Timestamp is hidden from the player overlay</string>
<string name="revanced_copy_video_url_timestamp_summary_on">Copy Link Button With Timestamp is shown in the player overlay</string>
<string name="revanced_copy_video_url_timestamp_title">Copy Link Button With Timestamp</string>
<string name="revanced_copy_video_url_title">Copy Link Button</string>
<string name="xfile_copy_video_url_summary_off">Button to copy link is hidden from the player overlay</string>
<string name="xfile_copy_video_url_summary_on">Button to copy link is shown in the player overlay</string>
<string name="xfile_copy_video_url_timestamp_summary_off">Button to copy link with timestamp is hidden from the player overlay</string>
<string name="xfile_copy_video_url_timestamp_summary_on">Button to copy link with timestamp is shown in the player overlay</string>
<string name="xfile_copy_video_url_timestamp_title">Copy link (with timestamp)</string>
<string name="xfile_copy_video_url_title">Copy link</string>
<string name="xfile_old_style_quality_settings_title">Quality settings style</string>
<string name="xfile_old_style_quality_settings_summary_off">Using default style video quality settings</string>
<string name="xfile_old_style_quality_settings_summary_on">Using old style video quality settings</string>
<string name="revanced_old_style_quality_settings_title">Quality Settings style</string>
<string name="revanced_old_style_quality_settings_summary_off">Using default style video quality settings</string>
<string name="revanced_old_style_quality_settings_summary_on">Using old style video quality settings</string>
<string name="general_time_without_sb">Show time without segments</string>
<string name="general_time_without_sb_sum">This time appears in brackets next to the current time. This shows the total video duration minus any segments.</string>
@ -348,7 +330,7 @@
<string name="action_copy">Copy link</string>
<string name="action_tcopy">Timestamp</string>
<string name="action_ads">Ads</string>
<string name="action_ads">ADS</string>
<string name="action_segments">Segments</string>
<string name="action_browser">SB Browser</string>
@ -356,37 +338,37 @@
<string name="api_url_reset">API URL reset</string>
<string name="api_url_invalid">Provided API URL is invalid</string>
<string name="vanced_video_ad_settings_title">Video ad settings</string>
<string name="vanced_videoadwhitelisting_title">Video ad whitelisting</string>
<string name="vanced_videoadwhitelisting_summary_off">Video ad whitelisting is turned off</string>
<string name="vanced_videoadwhitelisting_summary_on">Video ad whitelisting is turned on. Use the Ads button under the player to whitelist a channel</string>
<string name="vanced_whitelisting_ads">Ads</string>
<string name="vanced_whitelisting_sponsorblock">SponsorBlock</string>
<string name="vanced_whitelisting_added" formatted="false">Channel %s was added to the %s whitelist</string>
<string name="vanced_whitelisting_removed" formatted="false">Channel %s was removed from the %s whitelist</string>
<string name="vanced_whitelisting_add_failed" formatted="false">Failed to add channel %s to the %s whitelist</string>
<string name="vanced_whitelisting_remove_failed" formatted="false">Failed to remove channel %s from the %s whitelist</string>
<string name="vanced_whitelisting_fetch_failed" formatted="false">Failed to retrieve channel details, received code %d</string>
<string name="vanced_button_location_entry_none">Hidden</string>
<string name="vanced_button_location_entry_player">In player</string>
<string name="vanced_button_location_entry_buttoncontainer">Under player (ALPHA)</string>
<string name="vanced_button_location_entry_both">Both</string>
<string name="vanced_ryd_settings_title">Return YouTube Dislike settings</string>
<string name="vanced_ryd_settings_summary">Uses the RYD API</string>
<string name="vanced_ryd_title">Enable RYD (ALPHA)</string>
<string name="vanced_ryd_summary">Switch this on to see the dislike counts again</string>
<string name="vanced_ryd_attribution_title">Return YouTube Dislike Integration</string>
<string name="vanced_ryd_attribution_summary">This integration uses the RYD API from https://returnyoutubedislike.com. Tap to learn more</string>
<string name="revanced_video_ad_settings_title">Video ad settings</string>
<string name="revanced_videoadwhitelisting_title">Video ad whitelisting</string>
<string name="revanced_videoadwhitelisting_summary_off">Video ad whitelisting is turned off</string>
<string name="revanced_videoadwhitelisting_summary_on">Video ad whitelisting is turned on. Use the ADS button under the player to whitelist a channel</string>
<string name="revanced_whitelisting_ads">ADS</string>
<string name="revanced_whitelisting_sponsorblock">SponsorBlock</string>
<string name="revanced_whitelisting_added" formatted="false">Channel %s was added to the %s whitelist</string>
<string name="revanced_whitelisting_removed" formatted="false">Channel %s was removed from the %s whitelist</string>
<string name="revanced_whitelisting_add_failed" formatted="false">Failed to add channel %s to the %s whitelist</string>
<string name="revanced_whitelisting_remove_failed" formatted="false">Failed to remove channel %s from the %s whitelist</string>
<string name="revanced_whitelisting_fetch_failed" formatted="false">Failed to retrieve channel details, received code %d</string>
<string name="revanced_button_location_entry_none">Hidden</string>
<string name="revanced_button_location_entry_player">In player</string>
<string name="revanced_button_location_entry_buttoncontainer">Under player</string>
<string name="revanced_button_location_entry_both">Both</string>
<string name="revanced_ryd_settings_title">Return YouTube Dislike settings</string>
<string name="revanced_ryd_settings_summary">Uses the RYD API</string>
<string name="revanced_ryd_title">Enable RYD</string>
<string name="revanced_ryd_summary">Switch this on to see the dislike counts again</string>
<string name="revanced_ryd_attribution_title">Return YouTube Dislike Integration</string>
<string name="revanced_ryd_attribution_summary">This integration uses the RYD API from https://returnyoutubedislike.com. Tap to learn more</string>
<string name="xfile_xfenster_tablet_title">Tablet style</string>
<string name="xfile_xfenster_tablet_summary_on">Tablet style is turned on. For example suggested videos are only partially working</string>
<string name="xfile_xfenster_tablet_summary_off">Tablet style is turned off</string>
<string name="revanced_xfenster_tablet_title">Tablet style</string>
<string name="revanced_xfenster_tablet_summary_on">Tablet style is turned on. For example suggested videos are only partially working</string>
<string name="revanced_xfenster_tablet_summary_off">Tablet style is turned off</string>
<string name="vanced_ryd">Return YouTube Dislike</string>
<string name="vanced_ryd_firstrun">Want to enable Return YouTube Dislikes to see dislikes again? Your likes/dislikes will be sent to RYD API (anonymously) after enabling RYD integration. You can enable/disable this in the settings at any time.</string>
<string name="vanced_sb">SponsorBlock</string>
<string name="vanced_sb_firstrun">Are you aware of the SponsorBlock integration in Vanced? With it you can skip sponsored segments in the videos. You can enable/disable this in the settings at any time.</string>
<string name="vanced_learnmore">Learn more</string>
<string name="vanced_disable">Disable</string>
<string name="vanced_enable">Enable</string>
<string name="revanced_ryd">Return YouTube Dislike</string>
<string name="revanced_ryd_firstrun">Want to enable Return YouTube Dislikes to see dislikes again? Your likes/dislikes will be sent to RYD API (anonymously) after enabling RYD integration. You can enable/disable this in the settings at any time.</string>
<string name="revanced_sb">SponsorBlock</string>
<string name="revanced_sb_firstrun">Are you aware of the SponsorBlock integration in Vanced? With it you can skip sponsored segments in the videos. You can enable/disable this in the settings at any time.</string>
<string name="revanced_learnmore">Learn more</string>
<string name="revanced_disable">Disable</string>
<string name="revanced_enable">Enable</string>
</resources>

View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:yt="http://schemas.android.com/apk/res-auto">
<PreferenceCategory android:title="@string/microg_settings">
<PreferenceScreen android:title="@string/microg_notification_settings" android:summary="@string/microg_notification_settings_summary">
<intent android:targetPackage="com.mgoogle.android.gms" android:targetClass="org.microg.gms.ui.SettingsActivity" />
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory android:title="@string/revanced_settings" />
<PreferenceScreen android:title="@string/revanced_codec_override_title" android:key="codec_override">
<SwitchPreference android:title="@string/revanced_vp9_title" android:key="revanced_vp9_enabled" android:defaultValue="true" android:summaryOn="@string/revanced_vp9_summary_on" android:summaryOff="@string/revanced_vp9_summary_off" />
<Preference android:persistent="false" android:title="@string/revanced_default_codec_title" android:selectable="true" android:key="pref_default_override" android:summary="@string/revanced_default_codec_summary" />
<Preference android:persistent="false" android:title="@string/revanced_vp9_title" android:selectable="true" android:key="pref_vp9_override" android:summary="@string/revanced_vp9_summary" />
<Preference android:persistent="false" android:title="@string/revanced_hardware_hdr_title" android:selectable="true" android:key="pref_hdrhardware_override" android:summary="@string/revanced_hardware_hdr_summary" />
<Preference android:persistent="false" android:title="@string/revanced_software_hdr_title" android:selectable="true" android:key="pref_hdrsoftware_override" android:summary="@string/revanced_software_hdr_summary" />
<EditTextPreference android:singleLine="true" android:title="@string/revanced_current_override_manufacturer" android:key="override_manufacturer" />
<EditTextPreference android:singleLine="true" android:title="@string/revanced_current_override_model" android:key="override_model" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_video_settings_title" android:key="video_settings">
<SwitchPreference android:title="@string/revanced_old_style_quality_settings_title" android:key="old_style_quality_settings" android:defaultValue="true" android:summaryOn="@string/revanced_old_style_quality_settings_summary_on" android:summaryOff="@string/revanced_old_style_quality_settings_summary_off" />
<SwitchPreference android:title="@string/revanced_override_resolution_title" android:key="override_resolution_revanced_enabled" android:defaultValue="false" android:summaryOn="@string/revanced_override_resolution_summary_on" android:summaryOff="@string/revanced_override_resolution_summary_off" />
<ListPreference android:title="@string/revanced_preferred_video_quality_wifi_title" android:key="pref_preferred_video_quality_wifi" android:summary="@string/revanced_preferred_video_quality_wifi_summary" />
<ListPreference android:title="@string/revanced_preferred_video_quality_mobile_title" android:key="pref_preferred_video_quality_mobile" android:summary="@string/revanced_preferred_video_quality_mobile_summary" />
<ListPreference android:title="@string/revanced_preferred_video_speed_title" android:key="pref_preferred_video_speed" android:summary="@string/revanced_preferred_video_speed_summary" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_video_ad_settings_title" android:key="video_ad_settings">
<SwitchPreference android:title="@string/revanced_videoadwhitelisting_title" android:key="revanced_whitelist_ads_enabled" android:defaultValue="false" android:summaryOn="@string/revanced_videoadwhitelisting_summary_on" android:summaryOff="@string/revanced_videoadwhitelisting_summary_off" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_ad_settings_title" android:key="ad_settings">
<SwitchPreference android:title="@string/revanced_home_ads_title" android:key="home_ads_enabled" android:defaultValue="false" android:summaryOn="@string/revanced_home_ads_summary_on" android:summaryOff="@string/revanced_home_ads_summary_off" />
<SwitchPreference android:title="@string/litho_general_ad_removal" android:key="experimental_ad_removal" android:defaultValue="true" android:summaryOn="@string/litho_general_ad_removal_on" android:summaryOff="@string/litho_general_ad_removal_off" />
<SwitchPreference android:title="@string/litho_merchandise" android:key="experimental_merchandise" android:defaultValue="false" android:summaryOn="@string/litho_merchandise_on" android:summaryOff="@string/litho_merchandise_off" />
<SwitchPreference android:title="@string/litho_community_posts" android:key="experimental_community_posts" android:defaultValue="false" android:summaryOn="@string/litho_community_posts_on" android:summaryOff="@string/litho_community_posts_off" />
<SwitchPreference android:title="@string/litho_movie_upsell" android:key="experimental_movie_upsell" android:defaultValue="false" android:summaryOn="@string/litho_movie_upsell_on" android:summaryOff="@string/litho_movie_upsell_off" />
<SwitchPreference android:title="@string/litho_compact_banner" android:key="experimental_compact_banner" android:defaultValue="false" android:summaryOn="@string/litho_compact_banner_on" android:summaryOff="@string/litho_compact_banner_off" />
<SwitchPreference android:title="@string/litho_comments" android:key="experimental_comments" android:defaultValue="false" android:summaryOn="@string/litho_comments_on" android:summaryOff="@string/litho_comments_off" />
<SwitchPreference android:title="@string/litho_compact_movie" android:key="experimental_compact_movie" android:defaultValue="false" android:summaryOn="@string/litho_compact_movie_on" android:summaryOff="@string/litho_compact_movie_off" />
<SwitchPreference android:title="@string/litho_horizontal_movie_shelf" android:key="experimental_horizontal_movie_shelf" android:defaultValue="false" android:summaryOn="@string/litho_horizontal_movie_shelf_on" android:summaryOff="@string/litho_horizontal_movie_shelf_off" />
<SwitchPreference android:title="@string/litho_in_feed_survey" android:key="experimental_in_feed_survey" android:defaultValue="false" android:summaryOn="@string/litho_in_feed_survey_on" android:summaryOff="@string/litho_in_feed_survey_off" />
<SwitchPreference android:title="@string/litho_shorts_shelf" android:key="experimental_shorts_shelf" android:defaultValue="false" android:summaryOn="@string/litho_shorts_shelf_on" android:summaryOff="@string/litho_shorts_shelf_off" />
<SwitchPreference android:title="@string/litho_community_guidelines" android:key="experimental_community_guidelines" android:defaultValue="false" android:summaryOn="@string/litho_community_guidelines_on" android:summaryOff="@string/litho_community_guidelines_off" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_layout_settings_title" android:key="layout_settings">
<SwitchPreference android:title="@string/revanced_reel_title" android:key="reel_enabled" android:defaultValue="true" android:summaryOn="@string/revanced_reel_summary_on" android:summaryOff="@string/revanced_reel_summary_off" />
<SwitchPreference android:title="@string/revanced_suggestion_title" android:key="info_cards_enabled" android:defaultValue="true" android:summaryOn="@string/revanced_suggestion_summary_on" android:summaryOff="@string/revanced_suggestion_summary_off" />
<SwitchPreference android:title="@string/revanced_info_cards_title" android:key="info_card_suggestions_enabled" android:defaultValue="true" android:summaryOn="@string/revanced_info_cards_summary_on" android:summaryOff="@string/revanced_info_cards_summary_off" />
<SwitchPreference android:title="@string/revanced_branding_watermark_title" android:key="branding_watermark_enabled" android:defaultValue="true" android:summaryOn="@string/revanced_branding_watermark_summary_on" android:summaryOff="@string/revanced_branding_watermark_summary_off" />
<SwitchPreference android:title="@string/revanced_cast_button_title" android:key="cast_button_enabled" android:defaultValue="true" android:summaryOn="@string/revanced_cast_button_summary_on" android:summaryOff="@string/revanced_cast_button_summary_off" />
<SwitchPreference android:title="@string/revanced_tablet_miniplayer_title" android:key="tablet_miniplayer" android:defaultValue="false" android:summaryOn="@string/revanced_tablet_miniplayer_summary_on" android:summaryOff="@string/revanced_tablet_miniplayer_summary_off" />
<SwitchPreference android:title="@string/revanced_create_button_title" android:key="revanced_create_button_hidden" android:defaultValue="false" android:summaryOn="@string/revanced_create_button_summary_on" android:summaryOff="@string/revanced_create_button_summary_off" />
<SwitchPreference android:title="@string/revanced_new_actionbar_title" android:key="revanced_new_actionbar" android:defaultValue="false" android:summaryOn="@string/revanced_new_actionbar_summary_on" android:summaryOff="@string/revanced_new_actionbar_summary_off" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_misc_title" android:key="misc_screen">
<SwitchPreference android:title="@string/revanced_auto_repeat_button_title" android:key="pref_auto_repeat_button" android:defaultValue="false" android:summaryOn="@string/revanced_auto_repeat_button_summary_on" android:summaryOff="@string/revanced_auto_repeat_button_summary_off" />
<SwitchPreference android:title="@string/revanced_auto_repeat_title" android:key="pref_auto_repeat" android:defaultValue="false" android:summaryOn="@string/revanced_auto_repeat_summary_on" android:summaryOff="@string/revanced_auto_repeat_summary_off" />
<ListPreference android:entries="@array/revanced_button_location_entries" android:title="@string/revanced_copy_video_url_timestamp_title" android:key="pref_copy_video_url_timestamp_button_list" android:entryValues="@array/revanced_button_location_entry_values" />
<ListPreference android:entries="@array/revanced_button_location_entries" android:title="@string/revanced_copy_video_url_title" android:key="pref_copy_video_url_button_list" android:entryValues="@array/revanced_button_location_entry_values" />
<SwitchPreference android:title="@string/revanced_hdr_full_brightness_title" android:key="pref_hdr_autobrightness" android:defaultValue="true" android:summaryOn="@string/revanced_hdr_full_brightness_summary_on" android:summaryOff="@string/revanced_hdr_full_brightness_summary_off" />
<SwitchPreference android:title="@string/revanced_seekbar_tapping" android:key="revanced_enable_tap_seeking" android:defaultValue="false" android:summaryOn="@string/revanced_seekbar_tapping_on" android:summaryOff="@string/revanced_seekbar_tapping_off" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_xfenster_title" android:key="xfenster_screen" android:summary="@string/revanced_xfenster_screen_summary">
<SwitchPreference android:title="@string/revanced_xfenster_brightness_title" android:key="pref_xfenster_brightness" android:defaultValue="false" android:summaryOn="@string/revanced_xfenster_brightness_summary_on" android:summaryOff="@string/revanced_xfenster_brightness_summary_off" />
<SwitchPreference android:title="@string/revanced_xfenster_volume_title" android:key="pref_xfenster_volume" android:defaultValue="false" android:summaryOn="@string/revanced_xfenster_volume_summary_on" android:summaryOff="@string/revanced_xfenster_volume_summary_off" />
<SwitchPreference android:title="@string/revanced_xfenster_tablet_title" android:key="pref_xfenster_tablet" android:defaultValue="false" android:summaryOn="@string/revanced_xfenster_tablet_summary_on" android:summaryOff="@string/revanced_xfenster_tablet_summary_off" />
<EditTextPreference android:numeric="integer" android:title="@string/revanced_swipe_threshold_title" android:key="pref_xfenster_swipe_threshold" android:summary="@string/revanced_swipe_threshold_summary" android:defaultValue="0" />
<EditTextPreference android:numeric="integer" android:title="@string/revanced_swipe_padding_top_title" android:key="pref_xfenster_swipe_padding_top" android:summary="@string/revanced_swipe_padding_top_summary" android:defaultValue="20" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_buffer_title" android:key="buffer_screen">
<EditTextPreference android:numeric="integer" android:title="@string/revanced_maximum_buffer_title" android:key="pref_max_buffer_ms" android:summary="@string/revanced_maximum_buffer_summary" android:defaultValue="120000" />
<EditTextPreference android:numeric="integer" android:title="@string/revanced_playback_start_title" android:key="pref_buffer_for_playback_ms" android:summary="@string/revanced_playback_start_summary" android:defaultValue="2500" />
<EditTextPreference android:numeric="integer" android:title="@string/revanced_rebuffer_title" android:key="pref_buffer_for_playback_after_rebuffer_ms" android:summary="@string/revanced_rebuffer_summary" android:defaultValue="5000" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_support_title" android:key="support_screen" android:summary="@string/revanced_support_summary">
<Preference android:title="@string/revanced_discord_title" android:summary="@string/revanced_discord_summary">
<intent android:action="android.intent.action.VIEW" android:data="https://discord.gg/rF2YcEjcrT" />
</Preference>
<Preference android:title="@string/revanced_website_title" android:summary="@string/revanced_website_summary">
<intent android:action="android.intent.action.VIEW" android:data="https://github.com/revanced" />
</Preference>
</PreferenceScreen>
<PreferenceScreen android:title="@string/revanced_credit_title" android:key="credits_screen" android:summary="@string/revanced_credit_summary">
<Preference android:title="@string/souramoo_title" android:summary="@string/souramoo_summary" />
<Preference android:title="@string/bawm_title" android:summary="@string/bawm_summary" />
<Preference android:title="@string/cane_title" android:summary="@string/cane_summary" />
<Preference android:title="@string/oizaro_title" android:summary="@string/oizaro_summary" />
<Preference android:title="@string/revanced_translators_title" android:summary="@string/revanced_translators_summary">
<intent android:action="android.intent.action.VIEW" android:data="https://crowdin.com/project/vanced" />
</Preference>
</PreferenceScreen>
<SwitchPreference android:title="@string/revanced_debug_title" android:key="debug_revanced_enabled" android:defaultValue="false" android:summaryOn="@string/revanced_debug_summary_on" android:summaryOff="@string/revanced_debug_summary_off" />
<Preference android:persistent="false" android:title="@string/revanced_about_title" android:selectable="true" android:key="pref_about_field" android:summary="@string/revanced_about_summary" />
</PreferenceScreen>

View File

@ -0,0 +1,9 @@
<Preference android:title="@string/revanced_ryd_settings_title" android:summary="@string/revanced_ryd_settings_summary">
<intent android:targetPackage="com.revanced.android.youtube" android:data="ryd_settings" android:targetClass="app.revanced.integrations.settingsmenu.XSettingActivity" />
</Preference>
<Preference android:title="@string/sb_settings" android:summary="@string/sb_summary">
<intent android:targetPackage="com.revanced.android.youtube" android:data="sponsorblock_settings" android:targetClass="app.revanced.integrations.settingsmenu.XSettingActivity" />
</Preference>
<Preference android:title="@string/revanced_settings">
<intent android:targetPackage="com.revanced.android.youtube" android:data="revanced_settings" android:targetClass="app.revanced.integrations.settingsmenu.XSettingActivity" />
</Preference>