Skip to content

Commit 098f49a

Browse files
committed
Update nslocalizedStrings w reverse dns IDs
1 parent 2215870 commit 098f49a

File tree

1 file changed

+40
-15
lines changed

1 file changed

+40
-15
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Creation/Taxes/NewTaxRateSelectorView.swift

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -203,21 +203,46 @@ extension NewTaxRateSelectorView {
203203
static let fixedBottomPanelVerticalSpace: CGFloat = 4
204204
}
205205
enum Localization {
206-
static let navigationTitle = NSLocalizedString("Set Tax Rate", comment: "Navigation title for the tax rate selector")
207-
static let cancelButton = NSLocalizedString("Cancel", comment: "Cancel button title for the tax rate selector")
208-
static let infoText = NSLocalizedString("This will change the customer’s address to the location of the tax rate you select.",
209-
comment: "Explanatory text for the tax rate selector")
210-
static let taxRatesSectionTitle = NSLocalizedString("Select a tax rate", comment: "Title for the tax rate selector section")
211-
static let editTaxRatesInWpAdminButtonTitle = NSLocalizedString("Edit tax rates in admin",
212-
comment: "Title of the button that prompts the user to edit tax rates in the web")
213-
static let emptyStateTitle = NSLocalizedString("We couldn’t find any tax rates", comment: "Title for the empty state on the Tax Rates selector screen")
214-
static let emptyStateDescription = NSLocalizedString("Add tax rates in admin. Only tax rates with location information will be shown here.",
215-
comment: "Description for the empty state on the Tax Rates selector screen")
216-
static let listFooterResultsSectionTitle = NSLocalizedString("Can’t find the rate you’re looking for?",
217-
comment: "Text to prompt the user to edit tax rates in the web")
218-
static let fixedBottomPanelBody = NSLocalizedString("Add this rate to all created orders", comment: "Body for the action to store selected tax rate")
219-
static let fixedBottomPanelFootnote = NSLocalizedString("This will not affect online orders",
220-
comment: "Footnote for the action to store selected tax rate")
206+
static let navigationTitle = NSLocalizedString(
207+
"newTaxRateSelectorView.navigationTitle",
208+
value:"Set Tax Rate",
209+
comment: "Navigation title for the tax rate selector")
210+
static let cancelButton = NSLocalizedString(
211+
"newTaxRateSelectorView.cancelButton",
212+
value: "Cancel",
213+
comment: "Cancel button title for the tax rate selector")
214+
static let infoText = NSLocalizedString(
215+
"newTaxRateSelectorView.infoText",
216+
value: "This will change the customer’s address to the location of the tax rate you select.",
217+
comment: "Explanatory text for the tax rate selector")
218+
static let taxRatesSectionTitle = NSLocalizedString(
219+
"newTaxRateSelectorView.taxRatesSectionTitle",
220+
value: "Select a tax rate",
221+
comment: "Title for the tax rate selector section")
222+
static let editTaxRatesInWpAdminButtonTitle = NSLocalizedString(
223+
"newTaxRateSelectorView.editTaxRatesInWpAdminButtonTitle",
224+
value: "Edit tax rates in admin",
225+
comment: "Title of the button that prompts the user to edit tax rates in the web")
226+
static let emptyStateTitle = NSLocalizedString(
227+
"newTaxRateSelectorView.emptyStateTitle",
228+
value: "We couldn’t find any tax rates",
229+
comment: "Title for the empty state on the Tax Rates selector screen")
230+
static let emptyStateDescription = NSLocalizedString(
231+
"newTaxRateSelectorView.emptyStateDescription",
232+
value: "Add tax rates in admin. Only tax rates with location information will be shown here.",
233+
comment: "Description for the empty state on the Tax Rates selector screen")
234+
static let listFooterResultsSectionTitle = NSLocalizedString(
235+
"newTaxRateSelectorView.listFooterResultsSectionTitle",
236+
value: "Can’t find the rate you’re looking for?",
237+
comment: "Text to prompt the user to edit tax rates in the web")
238+
static let fixedBottomPanelBody = NSLocalizedString(
239+
"newTaxRateSelectorView.taxRfixedBottomPanelBodyatesSectionTitle",
240+
value: "Add this rate to all created orders",
241+
comment: "Body for the action to store selected tax rate")
242+
static let fixedBottomPanelFootnote = NSLocalizedString(
243+
"newTaxRateSelectorView.fixedBottomPanelFootnote",
244+
value: "This will not affect online orders",
245+
comment: "Footnote for the action to store selected tax rate")
221246
}
222247
}
223248

0 commit comments

Comments
 (0)