Skip to content

Commit

Permalink
Add missing periods to empty state messages
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Jan 22, 2025
1 parent 02e27aa commit 72593f3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private extension BlazeCampaignListView {
static let create = NSLocalizedString("Create", comment: "Title of the button to create a new campaign on the Blaze campaign list view")
static let emptyStateTitle = NSLocalizedString("No campaigns yet", comment: "Title of the empty state of the Blaze campaign list view")
static let emptyStateMessage = NSLocalizedString(
"Drive more sales to your store with Blaze",
"Drive more sales to your store with Blaze.",
comment: "Subtitle of the empty state of the Blaze campaign list view"
)
static let done = NSLocalizedString("Done", comment: "Button to dismiss the Blaze campaign detail view")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ extension BlazeTargetLocationPickerViewModel {
enum Localization {
static let searchViewHintMessage = NSLocalizedString(
"blazeTargetLocationPickerViewModel.searchViewHintMessage",
value: "Start typing country, state or city to see available options",
value: "Start typing country, state or city to see available options.",
comment: "Hint message to enter search query on the target location picker for campaign creation"
)
static let longerQuery = NSLocalizedString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ extension CustomFieldsListHostingController {
static let emptyStateDescription = NSLocalizedString(
"customFieldsListHostingController.emptyStateDescription",
value: "Custom fields are optional metadata to display extra information or customize "
+ "your store's shopping experience",
+ "your store's shopping experience.",
comment: "Message when the list is empty."
)
static let emptyStateButton = NSLocalizedString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private extension CustomersListView {
value: "No customers yet",
comment: "Title when there are no customers to show in the Customers list screen.")
static let emptyStateMessage = NSLocalizedString("customerList.emptyStateMessage",
value: "Create an order to start gathering customer insights",
value: "Create an order to start gathering customer insights.",
comment: "Message when there are no customers to show in the Customers list screen.")
static let searchPlaceholder = NSLocalizedString("customersList.searchPlaceholder",
value: "Search for customers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ private extension DashboardView {

static let subtitle = NSLocalizedString(
"dashboardView.shareStoreCard.subtitle",
value: "Use email or social media to spread the word about your store",
value: "Use email or social media to spread the word about your store.",
comment: "Subtitle of the Share Your Store card"
)

Expand Down
2 changes: 1 addition & 1 deletion WooCommerce/Classes/ViewRelated/Inbox/Inbox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private extension Inbox {
static let title = NSLocalizedString("Inbox", comment: "Title for the screen that shows inbox notes.")
static let emptyStateTitle = NSLocalizedString("Congrats, you’ve read everything!",
comment: "Title displayed if there are no inbox notes in the inbox screen.")
static let emptyStateMessage = NSLocalizedString("Come back soon for more tips and insights on growing your store",
static let emptyStateMessage = NSLocalizedString("Come back soon for more tips and insights on growing your store.",
comment: "Message displayed if there are no inbox notes to display in the inbox screen.")
static let dismissAllNotes = NSLocalizedString("Dismiss All",
comment: "Dismiss All button in Inbox Notes for dismissing all the notes.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ private extension OrderListViewController {
enum Localization {
static let allOrdersEmptyStateMessage = NSLocalizedString("Waiting for your first order",
comment: "The message shown in the Orders → All Orders tab if the list is empty.")
static let allOrdersEmptyStateDetail = NSLocalizedString("Explore how you can increase your store sales",
static let allOrdersEmptyStateDetail = NSLocalizedString("Explore how you can increase your store sales.",
comment: "The detailed message shown in the Orders → All Orders tab if the list is empty.")
static let learnMore = NSLocalizedString("Learn more", comment: "Title of button shown in the Orders → All Orders tab if the list is empty.")
static let createTestOrderDetail = NSLocalizedString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ private extension ProductVariationsViewController {
enum Localization {
static let emptyStateTitle = NSLocalizedString("Create your first variation",
comment: "Title on the variations list screen when there are no variations")
static let emptyStateSubtitle = NSLocalizedString("To add a variation, you'll need to set its attributes (ie \"Color\", \"Size\") first",
static let emptyStateSubtitle = NSLocalizedString("To add a variation, you'll need to set its attributes (ie \"Color\", \"Size\") first.",
comment: "Subtitle on the variations list screen when there are no variations and attributes")
static let addAttributesAction = NSLocalizedString("Add Attributes",
comment: "Title on empty state button when the product has no attributes and variations")
Expand Down

0 comments on commit 72593f3

Please sign in to comment.