Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Changed some localized strings

  • Loading branch information
mahmoud-adam85 authored and naira-cliqz committed Apr 8, 2019
1 parent bdf8bb3 commit 0f6b08bc99fcc973ab9a0c153b4d03ba257b6fc1
@@ -10,9 +10,16 @@ import UIKit

extension UIAlertController {
class func getRestoreTabsAlert() -> UIAlertController {

#if PAID
let message = NSLocalizedString("Looks like Lumen crashed previously. Would you like to restore your tabs?", tableName: "Lumen", comment: "Restore Tabs Prompt Description")
#else
let message = NSLocalizedString("Looks like Ghostery crashed previously. Would you like to restore your tabs?", tableName: "Ghostery", comment: "Restore Tabs Prompt Description")
#endif

return UIAlertController(
title: NSLocalizedString("Well, this is embarrassing.", tableName: "Cliqz", comment: "Restore Tabs Prompt Title"),
message: NSLocalizedString("Looks like Ghostery crashed previously. Would you like to restore your tabs?", tableName: "Cliqz", comment: "Restore Tabs Prompt Description"),
message: message,
preferredStyle: .alert
)
}
@@ -28,7 +28,7 @@ class WelcomeView: UIView {

lazy var descriptionLabel: UILabel = {
let textLabel = UILabel()
textLabel.text = NSLocalizedString("Ultimate protection online. Integrated VPN for protection on public Wi-Fi.", tableName: "Lumen", comment: "[Start Page] Welcome view description")
textLabel.text = NSLocalizedString("Ultimate protection online.\nIntegrated VPN for protection on public Wi-Fi.", tableName: "Lumen", comment: "[Start Page] Welcome view description")
textLabel.numberOfLines = 2
textLabel.adjustsFontSizeToFitWidth = true
textLabel.minimumScaleFactor = 0.5
@@ -57,7 +57,7 @@ class UILabelWithIcon: UIView {
class VPNInfoView: UIView {

let vpnInfoLabel1 = UILabelWithIcon(text: NSLocalizedString("Protection from hackers", tableName: "Lumen", comment: "[VPN] Protection from hackers"))
let vpnInfoLabel2 = UILabelWithIcon(text: NSLocalizedString("Video streaming from other countries", tableName: "Lumen", comment: "[VPN] Video streaming from other countries"))
let vpnInfoLabel2 = UILabelWithIcon(text: NSLocalizedString("Hide your location", tableName: "Lumen", comment: "[VPN] Hide your location"))


init() {
@@ -124,7 +124,7 @@ extension CliqzStrings {
}

public var vpnText: String {
return NSLocalizedString("Integrated VPN protects you on public Wi-Fi.", tableName: "Lumen", comment: "[Onboarding] VPN text")
return NSLocalizedString("Hide your location", tableName: "Lumen", comment: "[VPN] Hide your location")
}


@@ -23,7 +23,11 @@ class SendUsageDataTableViewController: ToggleSubSettingsTableViewController {
}

override func getSectionFooters() -> [String] {
return [NSLocalizedString("Help us improve your browsing experience. Ghostery collects strictly anonymous usage data. At no occasion is any personal data collected.", tableName: "Cliqz", comment: "[Settings -> Send Telemetry] Footer text")]
#if PAID
return [NSLocalizedString("Help us improve your browsing experience. Lumen collects strictly anonymous usage data. At no occasion is any personal data collected.", tableName: "Lumen", comment: "Restore Tabs Prompt Description")]
#else
return [NSLocalizedString("Help us improve your browsing experience. Ghostery collects strictly anonymous usage data. At no occasion is any personal data collected.", tableName: "Ghostery", comment: "Restore Tabs Prompt Description")]
#endif
}

override func saveToggles(isOn: Bool, atIndex: Int) {

0 comments on commit 0f6b08b

Please sign in to comment.