From 4fa148d860a9676df16da8ed45559ce88a3c072a Mon Sep 17 00:00:00 2001 From: Christopher Brind Date: Wed, 26 Jul 2023 20:39:49 +0100 Subject: [PATCH] fix copy --- DuckDuckGo/Common/Localizables/UserText.swift | 3 ++- DuckDuckGo/Preferences/View/PreferencesAppearanceView.swift | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DuckDuckGo/Common/Localizables/UserText.swift b/DuckDuckGo/Common/Localizables/UserText.swift index 2b612c8be7..9acfe17beb 100644 --- a/DuckDuckGo/Common/Localizables/UserText.swift +++ b/DuckDuckGo/Common/Localizables/UserText.swift @@ -607,7 +607,8 @@ struct UserText { static let clearDataTodayHeader = NSLocalizedString("history.menu.clear.data.today.question", value: "Clear history for today \nand close all tabs?", comment: "Alert with the confirmation to clear all data") static let clearDataTodayDescription = NSLocalizedString("history.menu.clear.data.today.description", value: "Cookies and other data for sites visited today will also be cleared unless the site is Fireproof. History from other days will not be cleared.", comment: "Description in the alert with the confirmation to clear browsing history") - static let showBookmarksBar = NSLocalizedString("bookmarks.bar.show", value: "Bookmarks Bar", comment: "Menu item and preference item for showing the bookmarks bar") + static let showBookmarksBar = NSLocalizedString("bookmarks.bar.show", value: "Bookmarks Bar", comment: "Menu item for showing the bookmarks bar") + static let showBookmarksBarPreference = NSLocalizedString("bookmarks.bar.show", value: "Show Bookmarks Bar", comment: "Preference item for showing the bookmarks bar") static let showBookmarksBarAlways = NSLocalizedString("bookmarks.bar.show.always", value: "Always Show", comment: "Preference for always showing the bookmarks bar") static let showBookmarksBarNewTabOnly = NSLocalizedString("bookmarks.bar.show.new-tab-only", value: "Only Show on New Tab", comment: "Preference for only showing the bookmarks bar on new tab") static let showBookmarksBarNever = NSLocalizedString("bookmarks.bar.show.never", value: "Never Show", comment: "Preference for never showing the bookmarks bar on new tab") diff --git a/DuckDuckGo/Preferences/View/PreferencesAppearanceView.swift b/DuckDuckGo/Preferences/View/PreferencesAppearanceView.swift index a274450a17..6036cee820 100644 --- a/DuckDuckGo/Preferences/View/PreferencesAppearanceView.swift +++ b/DuckDuckGo/Preferences/View/PreferencesAppearanceView.swift @@ -117,7 +117,7 @@ extension Preferences { PreferencePaneSection { TextMenuItemHeader(text: "Bookmarks Bar") HStack { - ToggleMenuItem(title: UserText.showBookmarksBar, isOn: $model.showBookmarksBar) + ToggleMenuItem(title: UserText.showBookmarksBarPreference, isOn: $model.showBookmarksBar) NSPopUpButtonView(selection: $model.bookmarksBarAppearance) { let button = NSPopUpButton() button.setContentHuggingPriority(.defaultHigh, for: .horizontal)