diff --git a/app/extensions/brave/locales/en-US/preferences.properties b/app/extensions/brave/locales/en-US/preferences.properties index 51b732d7e3e..7fbefa029f4 100644 --- a/app/extensions/brave/locales/en-US/preferences.properties +++ b/app/extensions/brave/locales/en-US/preferences.properties @@ -36,33 +36,31 @@ hintsTitle=Helpful hints hint0=The Bravery panel allows you turn HTTPS Everywhere on or off. HTTPS Everywhere automatically rewrites your HTTP traffic to HTTPS for supported sites to keep you more secure. hint1=Brave will always auto-update for you, but you can check for an update on demand in the menu. hint2=The File menu allows you to create a New Session Tab. Session tabs are like any other tab but they run in a different user profile. This allows you to login to the same sites multiple times with the same browser. -prefAsideTitle=Browser Settings sendUsFeedback=Send us feedback... loveToHear=We'd love to hear from you. -startsWith=Brave starts with: -startsWithOptionLastTime=Show my windows / tabs from last time -startsWithOptionHomePage=Show my home page -startsWithOptionNewTabPage=Show the new tab page -myHomepage=My homepage is: +startsWith=Brave starts with +startsWithOptionLastTime=my windows / tabs from last time +startsWithOptionHomePage=my home page +startsWithOptionNewTabPage=the new tab page +myHomepage=My homepage is defaultSearchEngine=Default search engine: switchToNewTabs=Switch to new tabs immediately paintTabs=Show tabs in page theme color -tabsPerTabPage=Tabs per tab page: +tabsPerTabPage=Number of tabs per tab set: showTabPreviews=Show tab previews on hover -suggestionTypes=When using the location bar, suggest: -history=History -bookmarks=Bookmarks -openedTabs=Open tabs -offerSearchSuggestions=Use a prediction service to help complete searches and URLs typed in the address bar. +showHistoryMatches=Show history matches +showBookmarkMatches=Show bookmark matches +showOpenedTabMatches=Show opened tab matches +offerSearchSuggestions=Offer search suggestions doNotTrack=Send a 'Do Not Track' header with browsing requests (requires browser restart) blockCanvasFingerprinting=Block HTML canvas, WebGL, and AudioContext fingerprinting (may break some websites) advancedPrivacySettings=Advanced Privacy Settings: -braveryDefaults=Bravery Defaults: +braveryDefaults=Bravery Defaults blockAttackSites=Block reported attack sites (not available yet) -passwordSettings=Password Settings: +passwordManager=Password Manager searchSettings=Search Settings -suggestionTypes=Search Bar Options -pluginSettings=Plugin settings: +locationBarSettings=Location Bar Settings +pluginSettings=Plugin Settings usePasswordManager=Use Brave's password manager useOnePassword=Use 1Password (requires 1Password Application) useDashlane=Use Dashlane (requires Dashlane Application) @@ -72,13 +70,13 @@ enableFlash=Enable Adobe Flash support (requires browser restart) enableFlashSubtext=Flash support is experimental and requires Pepper Flash to be installed from enableFlashSubtextLinux=Flash support is experimental and requires the pepperflashplugin-nonfree package. managePasswords=Manage passwords... -sitePermissions=Saved site permissions +sitePermissions=Saved Site Permissions selectedLanguage=Language: bookmarkToolbarSettings=Bookmarks bar: bookmarkToolbar=Always show the bookmarks bar bookmarkToolbarShowFavicon=Favicons bookmarkToolbarShowOnlyFavicon=Show only favicon -contentRenderingOptions=Content Rendering Options: +contentSettings=Content Settings useHardwareAcceleration=Use hardware acceleration when available (requires browser restart) defaultZoomLevel=Default zoom level en-US=English (U.S.) @@ -135,13 +133,24 @@ flashAllowOnce=Allow once flashAllowAlways=Allow until {{time}} alwaysAllow=Always allow alwaysDeny=Always deny -appearanceSettings=Appearance settings: +appearanceSettings=Appearance Settings autoHideMenuBar=Hide the menu bar by default disableTitleMode=Disable auto title bar loveToHear=We'd love to hear from you. tabsSettings=Tabs Settings showTabPreviews=Show tab previews on hover offerSearchSuggestions=Use a prediction service to help complete searches and URLs typed in the address bar. +doNotTrackTitle=Do Not Track doNotTrack=Send a 'Do Not Track' header with browsing requests (requires browser restart) useHardwareAcceleration=Use hardware acceleration when available (requires browser restart) braveStaysUpdated=Brave always stays updated. +generalSettings=General Settings +privateData=Private Data +privateDataMessage=Clear the following data types when I close Brave +browsingHistory=Browsing history +downloadHistory=Download history +cachedImagesAndFiles=Cached images and files +allSiteCookies=All site cookies +passwordsAndForms=Passwords and Forms +tabSettings=Tab Settings +bokmarksBarSettings=Bookmarks Bar Settings diff --git a/docs/state.md b/docs/state.md index d759e71cc1f..38424815255 100644 --- a/docs/state.md +++ b/docs/state.md @@ -153,6 +153,12 @@ AppStore 'bookmarks.toolbar.showOnlyFavicon': boolean, // true if only favicons should be shown on the bookmarks toolbar 'general.language': string, // The language code to use for localization and spell check or null to use the system default 'advanced.hardware-acceleration-enabled': boolean, // false if hardware acceleration should be explicitly disabled + 'advanced.default-zoom-level': number, // the default zoom level for sites that have no specific setting + 'advanced.pdfjs-enabled': boolean, // Whether or not to render PDF documents in the browser + 'shutdown.clear-history': boolean, // true to clear history on shutdown + 'shutdown.clear-downloads': boolean, // true to clear downloads on shutdown + 'shutdown.clear-cache': boolean, // true to clear cache on shutdown + 'shutdown.all-site-cookies': boolean, // true to clear all site cookies on shutdown }], dictionary: { locale: string, // en_US, en, or any other locale string diff --git a/js/about/preferences.js b/js/about/preferences.js index b5b82f020d1..0e6e61f266a 100644 --- a/js/about/preferences.js +++ b/js/about/preferences.js @@ -76,7 +76,7 @@ const changeSetting = (cb, key, e) => { class SettingsList extends ImmutableComponent { render () { - return
+ return
{ this.props.dataL10nId ?
@@ -120,13 +120,8 @@ class GeneralTab extends ImmutableComponent { }) const defaultLanguage = this.props.languageCodes.find((lang) => lang.includes(navigator.language)) || 'en-US' return +
- - - + {languageOptions} + + - +
+ - + - +
+ { isDarwin ? null : @@ -161,6 +164,7 @@ class GeneralTab extends ImmutableComponent { class SearchTab extends ImmutableComponent { render () { return
+
- { - // Sorry, Brad says he hates primes :'( - [6, 8, 10, 20].map((x) => - ) - } - - - - - - + return
+
+ + + + + + + + +
} } @@ -238,7 +246,7 @@ class SitePermissionsPage extends React.Component { render () { return this.isPermissionsNonEmpty() ?
-
+
    { Object.keys(permissionNames).map((name) => @@ -322,7 +330,8 @@ class ShieldsTab extends ImmutableComponent { } render () { return
    - +
    + -
    +