Skip to content

Commit a236657

Browse files
committed
Updated stat labels to support i18n
1 parent 99b5040 commit a236657

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/MyStore/PeriodDataViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,11 @@ private extension PeriodDataViewController {
214214
borderView.backgroundColor = StyleManager.wooGreyBorder
215215

216216
// Titles
217+
visitorsTitle.text = NSLocalizedString("Visitors", comment: "Visitors stat label on dashboard - should be plural.")
217218
visitorsTitle.applyFootnoteStyle()
219+
ordersTitle.text = NSLocalizedString("Orders", comment: "Orders stat label on dashboard - should be plural.")
218220
ordersTitle.applyFootnoteStyle()
221+
revenueTitle.text = NSLocalizedString("Revenue", comment: "Revenue stat label on dashboard.")
219222
revenueTitle.applyFootnoteStyle()
220223

221224
// Data

0 commit comments

Comments
 (0)