Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #7776: YT auto quality copy and default setting update. (#7777)
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub authored Jul 25, 2023
1 parent 4b0087d commit 1621dcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Brave/Frontend/ClientPreferences.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extension Preferences {
/// Controls whether or not media should continue playing in the background
static let mediaAutoBackgrounding = Option<Bool>(key: "general.media-auto-backgrounding", default: false)
/// Controls whether or not youtube videos should play with the highest quality by default
static let youtubeHighQuality = Option<String>(key: "general.youtube-high-quality", default: "off")
static let youtubeHighQuality = Option<String>(key: "general.youtube-high-quality", default: "wifi")
/// Controls whether or not to show the last visited bookmarks folder
static let showLastVisitedBookmarksFolder = Option<Bool>(key: "general.bookmarks-show-last-visited-bookmarks-folder", default: true)

Expand Down
6 changes: 3 additions & 3 deletions Sources/BraveStrings/BraveStrings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ extension Strings {
"settings.highestQualityPlaybackDetail",
tableName: "BraveShared",
bundle: .module,
value: "Allows desktop-quality resolution",
value: "Allows high-quality resolution",
comment: "Detail text for the navigation link to quality settings view"
)

Expand Down Expand Up @@ -1100,8 +1100,8 @@ extension Strings {
public static let youtubeMediaQuality = NSLocalizedString("YoutubeMediaQuality", tableName: "BraveShared", bundle: .module, value: "Enable High-Quality Youtube Videos", comment: "Setting to enable high quality youtube videos")
public static let youtubeMediaQualityDetails = NSLocalizedString("YoutubeMediaQualityDetails", tableName: "BraveShared", bundle: .module, value: "Enabling this experimental feature will playback video at the maximum quality available and will use additional data.", comment: "Description of setting to enable high quality youtube videos")
public static let youtubeMediaQualityOff = NSLocalizedString("YoutubeMediaQualityOff", tableName: "BraveShared", bundle: .module, value: "Off", comment: "Setting that disables highest quality video playback")
public static let youtubeMediaQualityWifi = NSLocalizedString("YoutubeMediaQualityWifi", tableName: "BraveShared", bundle: .module, value: "Only while using wi-fi", comment: "Setting that enables high quality playback on wifi only")
public static let youtubeMediaQualityOn = NSLocalizedString("YoutubeMediaQualityOn", tableName: "BraveShared", bundle: .module, value: "Always on", comment: "Setting that enables high quality playback always")
public static let youtubeMediaQualityWifi = NSLocalizedString("YoutubeMediaQualityWifi", tableName: "BraveShared", bundle: .module, value: "Allow over Wi-Fi", comment: "Setting that enables high quality playback on wifi only")
public static let youtubeMediaQualityOn = NSLocalizedString("YoutubeMediaQualityOn", tableName: "BraveShared", bundle: .module, value: "On", comment: "Setting that enables high quality playback always")
public static let showTabsBar = NSLocalizedString("ShowTabsBar", tableName: "BraveShared", bundle: .module, value: "Tabs Bar", comment: "Setting to show/hide the tabs bar")
public static let privateBrowsingOnly = NSLocalizedString("PrivateBrowsingOnly", tableName: "BraveShared", bundle: .module, value: "Private Browsing Only", comment: "Setting to keep app in private mode")
public static let shieldsDefaults = NSLocalizedString("ShieldsDefaults", tableName: "BraveShared", bundle: .module, value: "Brave Shields Global Defaults", comment: "Section title for adbblock, tracking protection, HTTPS-E, and cookies")
Expand Down

0 comments on commit 1621dcf

Please sign in to comment.