Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix casing in some copy items in Preferences and Main Menu #2070

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

ayoy
Copy link
Collaborator

@ayoy ayoy commented Jan 16, 2024

Task/Issue URL: https://app.asana.com/0/1177771139624306/1206074055876149/f

Description:
Update copy casing for Home Button mode, Bookmarks Bar appearance and session restoration settings.

Steps to test this PR:
(Consult Asana task for copy details)

  1. Check Main Menu -> View -> Home Button options and verify that the copy uses Title Case.
  2. Check Main Menu -> Bookmarks -> Bookmarks Bar options and verify that the copy uses Title Case.
  3. Check Main Menu -> History -> Reopen All Windows from Last Session and verify that the copy uses Title Case.
  4. Check Settings -> General -> Home Button options and verify that the copy uses Sentence case.
  5. Check Settings -> Appearance -> Bookmarks Bar options and verify that the copy uses Sentence case.
  6. Check Settings -> General -> On Startup and verify that the copy uses Sentence case.

Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Copy link
Collaborator

@SabrinaTardio SabrinaTardio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a comment but more of a personal preference

@@ -135,14 +135,14 @@ struct UserText {
static let mainMenuViewHome = NSLocalizedString("Home", comment: "Main Menu View item")
static let mainMenuHomeButton = NSLocalizedString("Home Button", comment: "Main Menu > View > Home Button item")

static func mainMenuHomeButton(for position: HomeButtonPosition) -> String {
static func mainMenuHomeButtonMode(for position: HomeButtonPosition) -> String {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally feels a bit weird to have logic here even if minimal…

@ayoy ayoy merged commit 0a1a4b4 into main Jan 17, 2024
15 checks passed
@ayoy ayoy deleted the dominik/settings-fix-casing branch January 17, 2024 09:13
samsymons added a commit that referenced this pull request Jan 18, 2024
* main:
  Bump BrowserServicesKit Version (#2063)
  Bump autoconsent to 9.1.0 (#2067)
  Fix casing in some copy items in Preferences and Main Menu (#2070)
  Fix vertical alignment of privacy feed shield icon (#2069)
  Fix giving focus to webView when it's loaded in BrowserTabViewController (#2073)
  Increase polling interval for captcha solver (#2071)
  Add a link to help page in location permission popup (#2017)
  Add bookmark popover in SwiftUI (#2036)
  Better detection of AMP pages (#2001)
  UI adjustments for improved VPN user control (#2043)
  Don't override drop operation if source view is webView (#2058)
  Bump version to 1.71.0 (104)
  Set marketing version to 1.71.0
  Update embedded files
samsymons added a commit that referenced this pull request Jan 19, 2024
* main:
  Fix Gatekeeper dialog for binaries downloaded by the browser (#2068)
  Display "Copy Email Address" context menu action for email links (#2076)
  add pixels for sync flows (#2056)
  Sign up with Apple bug fix (#2083)
  Improve DBP onboarding experience for FE devs (#2082)
  Prompt for Primary Password for FF Key3.db logins (#2066)
  Throw error on import database mapping error (#2065)
  Bump BrowserServicesKit Version (#2063)
  Bump autoconsent to 9.1.0 (#2067)
  Fix casing in some copy items in Preferences and Main Menu (#2070)
  Fix vertical alignment of privacy feed shield icon (#2069)
  Fix giving focus to webView when it's loaded in BrowserTabViewController (#2073)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants