From a236657dbb0c9a3827a5f9b24ba8c07cf048c7ae Mon Sep 17 00:00:00 2001 From: Matt Bumgardner Date: Thu, 20 Dec 2018 17:02:00 -0600 Subject: [PATCH] Updated stat labels to support i18n --- .../Dashboard/MyStore/PeriodDataViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WooCommerce/Classes/ViewRelated/Dashboard/MyStore/PeriodDataViewController.swift b/WooCommerce/Classes/ViewRelated/Dashboard/MyStore/PeriodDataViewController.swift index 6c79ef2eefa..ca65202ccd3 100644 --- a/WooCommerce/Classes/ViewRelated/Dashboard/MyStore/PeriodDataViewController.swift +++ b/WooCommerce/Classes/ViewRelated/Dashboard/MyStore/PeriodDataViewController.swift @@ -214,8 +214,11 @@ private extension PeriodDataViewController { borderView.backgroundColor = StyleManager.wooGreyBorder // Titles + visitorsTitle.text = NSLocalizedString("Visitors", comment: "Visitors stat label on dashboard - should be plural.") visitorsTitle.applyFootnoteStyle() + ordersTitle.text = NSLocalizedString("Orders", comment: "Orders stat label on dashboard - should be plural.") ordersTitle.applyFootnoteStyle() + revenueTitle.text = NSLocalizedString("Revenue", comment: "Revenue stat label on dashboard.") revenueTitle.applyFootnoteStyle() // Data