From 74fecc54e89b77dba2f4845a2b57dad36a7933b0 Mon Sep 17 00:00:00 2001 From: Daniel Jilg Date: Thu, 4 Jul 2019 17:31:01 +0200 Subject: [PATCH] =?UTF-8?q?Circumvent=20erroneous=20localization=20by=20no?= =?UTF-8?q?t=20localizing=20the=20string=20=E2=80=9CPause=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cliqz/Privacy/UI/ControlCenter/OverviewViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cliqz/Privacy/UI/ControlCenter/OverviewViewController.swift b/Cliqz/Privacy/UI/ControlCenter/OverviewViewController.swift index a28315280..8017405ba 100644 --- a/Cliqz/Privacy/UI/ControlCenter/OverviewViewController.swift +++ b/Cliqz/Privacy/UI/ControlCenter/OverviewViewController.swift @@ -836,7 +836,8 @@ class OverviewViewController: UIViewController { self.restrictSiteButton.setTitle(restrictTitle, for: .normal) self.restrictSiteButton.addTarget(self, action: #selector(restrictSitePressed), for: .touchUpInside) - let pauseGhostery = NSLocalizedString("Pause Ghostery", tableName: "Cliqz", comment: "[ControlCenter -> Overview] Pause Ghostery button title") + // Forcing the string instead of using LocalizedString because the L10n system is playing charades + let pauseGhostery = "Pause" self.pauseGhosteryButton.setTitle(pauseGhostery, for: .normal) self.pauseGhosteryButton.addTarget(self, action: #selector(pauseGhosteryPressed), for: .touchUpInside) self.pauseGhosteryButton.titleLabel?.font = UIFont.systemFont(ofSize: 14, weight: UIFont.Weight.medium)