Skip to content

Commit

Permalink
Copy updates as per ship review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
amddg44 committed Apr 3, 2024
1 parent b86f78d commit 84c6a16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Widgets/UserText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct UserText {
comment: "Description of search passwords widget in widget gallery")

static let passwords = NSLocalizedString("widget.passwords",
value: "Search\nPasswords",
value: "Search Passwords",
comment: "Text in passwords widget")

static let lockScreenSearchTitle = NSLocalizedString(
Expand Down Expand Up @@ -118,7 +118,7 @@ struct UserText {

static let lockScreenPasswordsDescription = NSLocalizedString(
"lock.screen.widget.passwords.description",
value: "Instantly access your passwords with a tap.",
value: "Quickly search your saved DuckDuckGo passwords.",
comment: "Description shown to the user when adding the Search Passwords lock screen widget")

}
3 changes: 2 additions & 1 deletion Widgets/WidgetViews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ struct PasswordsWidgetView: View {
.fill(Color(designSystemColor: .surface))
.accessibilityLabel(Text(UserText.passwords))

VStack(alignment: .center, spacing: 14) {
VStack(alignment: .center, spacing: 6) {

Image("WidgetPasswordIllustration")
.frame(width: 96, height: 72)
Expand All @@ -268,6 +268,7 @@ struct PasswordsWidgetView: View {
.daxSubheadRegular()
.foregroundColor(Color(designSystemColor: .textPrimary))
.multilineTextAlignment(.center)
.padding(.horizontal, 8)

}
.accessibilityHidden(true)
Expand Down
4 changes: 2 additions & 2 deletions Widgets/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"lock.screen.widget.fire.title" = "Fire Button";

/* Description shown to the user when adding the Search Passwords lock screen widget */
"lock.screen.widget.passwords.description" = "Instantly access your passwords with a tap.";
"lock.screen.widget.passwords.description" = "Quickly search your saved DuckDuckGo passwords.";

/* Title shown to the user when adding the Search Passwords lock screen widget */
"lock.screen.widget.passwords.title" = "Search Passwords";
Expand Down Expand Up @@ -59,7 +59,7 @@
"widget.no.favorites.message" = "Quickly visit your favorite sites.";

/* Text in passwords widget */
"widget.passwords" = "Search\nPasswords";
"widget.passwords" = "Search Passwords";

/* Placeholder text in search field on the search and favorites widget */
"widget.search.duckduckgo" = "Search DuckDuckGo";
Expand Down

0 comments on commit 84c6a16

Please sign in to comment.