use super::structs::*; use crate::queries; pub fn get_scenario() -> Scenario { Scenario::new( "preferences", vec![ FileSource::new("toolkit", "toolkit/{locale}/", vec!["en-US", "pl"]), FileSource::new("browser", "browser/{locale}/", vec!["en-US", "pl"]), ], vec![ "en-US", ], vec![ "branding/brand.ftl", "browser/branding/brandings.ftl", "browser/branding/sync-brand.ftl", "browser/browser.ftl", "browser/preferences/preferences.ftl", "browser/preferences/fonts.ftl", "toolkit/featuregates/features.ftl", "browser/preferences/addEngine.ftl", "browser/preferences/blocklists.ftl", "browser/preferences/clearSiteData.ftl", "browser/preferences/colors.ftl", "browser/preferences/connection.ftl", "browser/preferences/languages.ftl", "browser/preferences/permissions.ftl", "browser/preferences/selectBookmark.ftl", "browser/preferences/siteDataSettings.ftl", "browser/aboutDialog.ftl", "browser/sanitize.ftl", "toolkit/updates/history.ftl", "security/certificates/deviceManager.ftl", "security/certificates/certManager.ftl", ], queries![ ("pref-page-title", "Preferences"), ("category-list", L10nMessage::new(None, Some(vec![L10nAttribute::new("aria-label", "Categories")]))), ("category-general", L10nMessage::new(None, Some(vec![L10nAttribute::new("tooltiptext", "General")]))), ("pane-general-title", "General"), ("category-home", L10nMessage::new(None, Some(vec![L10nAttribute::new("tooltiptext", "Home")]))), ("pane-home-title", "Home"), ("category-search", L10nMessage::new(None, Some(vec![L10nAttribute::new("tooltiptext", "Search")]))), ("pane-search-title", "Search"), ("category-privacy", L10nMessage::new(None, Some(vec![L10nAttribute::new("tooltiptext", "Privacy & Security")]))), ("pane-privacy-title", "Privacy & Security"), ("category-sync2", L10nMessage::new(None, Some(vec![L10nAttribute::new("tooltiptext", "Sync")]))), ("pane-sync-title2", "Sync"), ("category-experimental", L10nMessage::new(None, Some(vec![L10nAttribute::new("tooltiptext", "Nightly Experiments")]))), ("pane-experimental-title", "Nightly Experiments"), ("addons-button-label", "Extensions & Themes"), ("help-button-label", "Nightly Support"), ("focus-search", L10nMessage::new(None, Some(vec![L10nAttribute::new("key", "f")]))), ("managed-notice", "Your browser is being managed by your organization."), ("search-input-box", L10nMessage::new(None, Some(vec![L10nAttribute::new("style", "width: 15.4em"), L10nAttribute::new("placeholder", "Find in Preferences")]))), ("search-results-header", "Search Results"), ("search-results-empty-message", "Sorry! There are no results in Preferences for “”."), ("search-results-help-link", "Need help? Visit Nightly Support"), ("containers-back-button", L10nMessage::new(None, Some(vec![L10nAttribute::new("aria-label", "Back to Preferences")]))), ("containers-header", "Container Tabs"), ("containers-add-button", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Add New Container"), L10nAttribute::new("accesskey", "A")]))), ("containers-new-tab-check", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Select a container for each new tab"), L10nAttribute::new("accesskey", "S")]))), ("close-button", L10nMessage::new(None, Some(vec![L10nAttribute::new("aria-label", "Close")]))), ("pane-general-title", "General"), ("startup-header", "Startup"), ("startup-restore-previous-session", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Restore previous session"), L10nAttribute::new("accesskey", "s")]))), ("startup-restore-warn-on-quit", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Warn you when quitting the browser")]))), ("always-check-default", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Always check if Nightly is your default browser"), L10nAttribute::new("accesskey", "y")]))), ("is-not-default", "Nightly is not your default browser"), ("set-as-my-default-browser", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Make Default…"), L10nAttribute::new("accesskey", "D")]))), ("is-default", "Nightly is currently your default browser"), ("tabs-group-header", "Tabs"), ("ctrl-tab-recently-used-order", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Ctrl+Tab cycles through tabs in recently used order"), L10nAttribute::new("accesskey", "T")]))), ("open-new-link-as-tabs", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Open links in tabs instead of new windows"), L10nAttribute::new("accesskey", "w")]))), ("warn-on-close-multiple-tabs", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Warn you when closing multiple tabs"), L10nAttribute::new("accesskey", "m")]))), ("warn-on-open-many-tabs", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Warn you when opening multiple tabs might slow down Nightly"), L10nAttribute::new("accesskey", "d")]))), ("switch-links-to-new-tabs", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "When you open a link in a new tab, switch to it immediately"), L10nAttribute::new("accesskey", "h")]))), ("disable-extension", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Disable Extension")]))), ("browser-containers-enabled", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Enable Container Tabs"), L10nAttribute::new("accesskey", "n")]))), ("browser-containers-learn-more", "Learn more"), ("browser-containers-settings", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Settings…"), L10nAttribute::new("accesskey", "i")]))), ("language-and-appearance-header", "Language and Appearance"), ("fonts-and-colors-header", "Fonts and Colors"), ("default-font", L10nMessage::new(Some("Default font"), Some(vec![L10nAttribute::new("accesskey", "D")]))), ("default-font-size", L10nMessage::new(Some("Size"), Some(vec![L10nAttribute::new("accesskey", "S")]))), ("advanced-fonts", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Advanced…"), L10nAttribute::new("accesskey", "A")]))), ("colors-settings", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Colors…"), L10nAttribute::new("accesskey", "C")]))), ("preferences-zoom-header", "Zoom"), ("preferences-default-zoom", L10nMessage::new(Some("Default zoom"), Some(vec![L10nAttribute::new("accesskey", "z")]))), ("preferences-zoom-text-only", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Zoom text only"), L10nAttribute::new("accesskey", "t")]))), ("language-header", "Language"), ("choose-browser-language-description", "Choose the languages used to display menus, messages, and notifications from Nightly."), ("manage-browser-languages-button", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Set Alternatives…"), L10nAttribute::new("accesskey", "l")]))), ("choose-language-description", "Choose your preferred language for displaying pages"), ("choose-button", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Choose…"), L10nAttribute::new("accesskey", "o")]))), (L10nKey::new("use-system-locale", Some(vec![L10nArgument::new("localeName", "und")])), L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Use your operating system settings for “und” to format dates, times, numbers, and measurements.")]))), ("translate-web-pages", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Translate web content"), L10nAttribute::new("accesskey", "T")]))), ("translate-attribution", "Translations by "), ("translate-exceptions", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Exceptions…"), L10nAttribute::new("accesskey", "x")]))), ("check-user-spelling", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Check your spelling as you type"), L10nAttribute::new("accesskey", "t")]))), ("files-and-applications-title", "Files and Applications"), ("download-header", "Downloads"), ("download-save-to", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Save files to"), L10nAttribute::new("accesskey", "v")]))), ("download-choose-folder", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Browse…"), L10nAttribute::new("accesskey", "o")]))), ("download-always-ask-where", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Always ask you where to save files"), L10nAttribute::new("accesskey", "A")]))), ("applications-header", "Applications"), ("applications-description", "Choose how Nightly handles the files you download from the web or the applications you use while browsing."), ("applications-filter", L10nMessage::new(None, Some(vec![L10nAttribute::new("placeholder", "Search file types or applications")]))), ("applications-type-column", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Content Type"), L10nAttribute::new("accesskey", "T")]))), ("applications-action-column", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Action"), L10nAttribute::new("accesskey", "A")]))), ("drm-content-header", "Digital Rights Management (DRM) Content"), ("play-drm-content", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Play DRM-controlled content"), L10nAttribute::new("accesskey", "P")]))), ("play-drm-content-learn-more", "Learn more"), ("update-application-title", "Nightly Updates"), ("update-application-title", "Nightly Updates"), ("update-application-description", "Keep Nightly up to date for the best performance, stability, and security."), ("update-history", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Show Update History…"), L10nAttribute::new("accesskey", "p")]))), ("update-checkForUpdatesButton", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Check for updates"), L10nAttribute::new("accesskey", "C")]))), ("update-updateButton", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Restart to Update Nightly"), L10nAttribute::new("accesskey", "R")]))), ("update-checkingForUpdates", "Checking for updates…"), ("update-checkForUpdatesButton", L10nMessage::new(None, Some(vec![L10nAttribute::new("label", "Check for updates"), L10nAttribute::new("accesskey", "C")]))), ("update-downloading", "Downloading update —