From 1fc851e8105d35aecebdc7bb4c955396c6c265cb Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 19 Nov 2017 18:19:12 -0500 Subject: about:preferences: Fix label and option capitalization Comply with GNOME's and other HIGs. --- (limited to 'src') diff --git a/src/schemes/about/preferences.c b/src/schemes/about/preferences.c index 518ec6f..ef47c89 100644 --- a/src/schemes/about/preferences.c +++ b/src/schemes/about/preferences.c @@ -56,44 +56,44 @@ gen_page_general(MqConfig *config) return mq_html_container("div", NULL, mq_html_h3("Web Browsing"), GEN_SLCT("tabs.new", - "New Tab Page", - "home", "Home Page", - "blank", "Blank Page"), + "New tab page", + "home", "Home page", + "blank", "Blank page"), GEN_STR ("tabs.home", - "Home Page"), + "Home page"), GEN_BOOL("tabs.background", - "Open New Tabs in the Background"), + "Open new tabs in the background"), GEN_BOOL("tabs.warn-on-close", - "Warn When Closing Multiple Tabs or Windows"), + "Warn when closing multiple tabs or windows"), mq_html_h3("Navigation and Accessibility"), GEN_BOOL("navigation.smooth-scrolling", - "Enable Smooth Scrolling"), + "Enable smooth scrolling"), GEN_BOOL("navigation.tabbing", - "Enable Tabbing Navigation (Cycling Focus by Tab Key)"), + "Enable tabbing navigation (cycling focus by tab key)"), GEN_BOOL("navigation.caret", - "Enable Caret (Text Cursor) Navigation"), + "Enable caret (text cursor) navigation"), GEN_BOOL("navigation.spatial", - "Enable Spatial Navigation Between Elements By Arrow " - "Keys"), + "Enable spatial navigation between elements by arrow " + "keys"), mq_html_h3("Spell Checking"), GEN_BOOL("spell.enable", - "Enable Spell Checking"), + "Enable spell checking"), GEN_STRL("spell.langs", - "Spell Checking Languages"), + "Spell checking languages"), mq_html_h3("Miscellaneous"), GEN_BOOL("display.textarea.resize.enable", - "Enable Resizable Text Areas"), + "Enable resizable text areas"), GEN_BOOL("devtools.enable", - "Enable Developer Tools"), + "Enable developer tools"), mq_html_h3("Compatibility"), GEN_STR ("compatibility.user-agent", - "User Agent Identity"), + "User agent identity"), GEN_BOOL("compatibility.quirks", - "Enable Site-Specific Quirks"), + "Enable site-specific quirks"), NULL); } @@ -103,37 +103,37 @@ gen_page_display(MqConfig *config) return mq_html_container("div", NULL, mq_html_h3("Fonts"), GEN_STR ("font.family.default", - "Default Font Family"), + "Default font family"), GEN_STR ("font.family.monospace", - "Default Monospace Font Family"), + "Default monospace font family"), GEN_STR ("font.family.serif", - "Default Serif Font Family"), + "Default serif font family"), GEN_STR ("font.family.sans-serif", - "Default Sans-serif Font Family"), + "Default sans-serif font family"), GEN_STR ("font.family.cursive", - "Cursive Font Family"), + "Cursive font family"), GEN_STR ("font.family.fantasy", - "Fantasy Font Family"), + "Fantasy font family"), GEN_STR ("font.family.pictograph", - "Pictograph Font Family"), + "Pictograph font family"), GEN_INT ("font.size.default", - "Default Font Size", 5, 1, 72), + "Default font size", 5, 1, 72), GEN_INT ("font.size.monospace-default", - "Default Monospace Font Size", 5, 1, 72), + "Default monospace font size", 5, 1, 72), GEN_INT ("font.size.minimum", - "Minimum Font Size", 0, 1, 72), + "Minimum font size", 0, 1, 72), mq_html_h3("Languages"), GEN_STRL("intl.accept-languages", - "Preferred Web Site Languages"), + "Preferred Web site languages"), GEN_STR ("intl.default-charset", - "Default Character Set"), + "Default character set"), mq_html_h3("Zoom"), GEN_DBL ("zoom.default", - "Default Zoom Level", 0.00, 0.10, 10.00), + "Default zoom level", 0.00, 0.10, 10.00), GEN_BOOL("zoom.text-only", - "Zoom Text Only"), + "Zoom text only"), NULL); } @@ -143,50 +143,50 @@ gen_page_permissions(MqConfig *config) return mq_html_container("div", NULL, mq_html_h3("General"), GEN_BOOL("permissions.images.auto-load", - "Automatically Load Images"), + "Automatically load images"), GEN_BOOL("permissions.images.favicons.override", - "Always Load Icons Irrespective of Automatic Image " + "Always load icons irrespective of automatic image " "Loading"), GEN_BOOL("permissions.java.enable", "Enable Java"), GEN_BOOL("permissions.javascript.enable", "Enable JavaScript"), GEN_BOOL("permissions.plugins.enable", - "Enable Plugins"), + "Enable plugins"), mq_html_h3("JavaScript"), GEN_BOOL("permissions.javascript.open-windows", - "Enable JavaScript to Open Windows"), + "Enable JavaScript to open windows"), GEN_BOOL("permissions.javascript.fullscreen", - "Enable JavaScript to Display Elements Fullscreen"), + "Enable JavaScript to display elements fullscreen"), GEN_BOOL("permissions.javascript.modal-dialogs", - "Enable JavaScript to Show Modal Dialogs"), + "Enable JavaScript to show modal dialogs"), GEN_BOOL("permissions.javascript.clipboard", - "Enable JavaScript to Access the Clipboard"), + "Enable JavaScript to access the clipboard"), mq_html_h3("Data Storage"), GEN_BOOL("permissions.javascript.database", - "Enable Web Database"), + "Enable Web database"), GEN_BOOL("permissions.javascript.storage", - "Enable Web Storage"), + "Enable Web storage"), GEN_BOOL("permissions.appcache", - "Enable Application Cache"), + "Enable application cache"), mq_html_h3("Graphics and Multimedia"), GEN_BOOL("canvas.acceleration.enable", - "Enable Hardware-Accelerated 2-D Canvas Drawing"), + "Enable hardware-accelerated 2-D canvas drawing"), GEN_BOOL("permissions.javascript.webgl", - "Enable JavaScript WebGL 3-D Graphics Rendering"), + "Enable JavaScript WebGL 3-D graphics rendering"), GEN_BOOL("permissions.javascript.audio", - "Enable JavaScript to Process and Synthesize Audio"), + "Enable JavaScript to process and synthesize audio"), GEN_BOOL("media.autoplay", - "Enable Automatic Media Playback and Loading"), + "Enable automatic media playback and loading"), GEN_BOOL("media.force-fullscreen", - "Force Media to Play Fullscreen"), + "Force media to play fullscreen"), GEN_BOOL("permissions.javascript.mediastream.enable", - "Enable JavaScript to Access Audio and Video Devices"), + "Enable JavaScript to access audio and video devices"), GEN_BOOL("permissions.javascript.mediasource.enable", - "Enable JavaScript to Generate Media Streams"), + "Enable JavaScript to generate media streams"), NULL); } @@ -196,29 +196,29 @@ gen_page_sec_and_priv(MqConfig *config) return mq_html_container("div", NULL, mq_html_h3("History"), GEN_BOOL("privacy.private-browsing.enabled", - "Enable Private Prowsing (Disables History, Cache, and " - "Form Auto-Filling)"), + "Enable private prowsing (disables history, cache, and " + "form auto-filling)"), GEN_BOOL("privacy.remember.history", - "Remember Browsing History"), + "Remember browsing history"), GEN_BOOL("privacy.remember.downloads", - "Remember Download History"), + "Remember download history"), mq_html_h3("Cookies"), GEN_SLCT("cookies.accept", - "Accept Cookies", + "Accept cookies", "always", "Always", "never", "Never", - "no-third-party", "No Third-Party"), + "no-third-party", "No third-party"), mq_html_h3("Security"), GEN_BOOL("security.xss-auditor.enable", - "Attempt to Detect and Block Cross-Site Scripting " - "Attacks"), + "Attempt to detect and block cross-site scripting " + "attacks"), mq_html_h3("Network"), GEN_BOOL("dns.prefetch.enable", - "Prefetch Domain Name Resolutions for Better " - "Performance"), + "Prefetch domain name resolutions for better " + "performance"), NULL); } -- cgit v0.9.1