Commit 860e4207 authored by Jose Blaya's avatar Jose Blaya
Browse files

Fix bug with camel case key in Strings file

parent 9ab7fb4c
......@@ -452,8 +452,6 @@ internal enum L10n {
internal static let description = L10n.tr("Localizable", "settings.hotspothelper.description")
/// VPN WiFi Protection
internal static let title = L10n.tr("Localizable", "settings.hotspothelper.title")
/// Trusted networks
internal static let trustedNetworks = L10n.tr("Localizable", "settings.hotspothelper.trustedNetworks")
internal enum All {
/// VPN WiFi Protection will activate on all networks, including trusted networks.
internal static let description = L10n.tr("Localizable", "settings.hotspothelper.all.description")
......@@ -497,16 +495,18 @@ internal enum L10n {
}
}
}
internal enum TrustedNetworks {
/// PIA won't automatically connect on these networks.
internal static let message = L10n.tr("Localizable", "settings.trustedNetworks.message")
internal enum Sections {
/// Available networks
internal static let available = L10n.tr("Localizable", "settings.trustedNetworks.sections.available")
/// Current network
internal static let current = L10n.tr("Localizable", "settings.trustedNetworks.sections.current")
/// Trusted networks
internal static let trusted = L10n.tr("Localizable", "settings.trustedNetworks.sections.trusted")
internal enum Trusted {
internal enum Networks {
/// PIA won't automatically connect on these networks.
internal static let message = L10n.tr("Localizable", "settings.trusted.networks.message")
internal enum Sections {
/// Available networks
internal static let available = L10n.tr("Localizable", "settings.trusted.networks.sections.available")
/// Current network
internal static let current = L10n.tr("Localizable", "settings.trusted.networks.sections.current")
/// Trusted networks
internal static let trusted = L10n.tr("Localizable", "settings.trusted.networks.sections.trusted")
}
}
}
}
......
......@@ -105,11 +105,11 @@ extension TrustedNetworksViewController: UITableViewDelegate, UITableViewDataSou
case .useVpnWifiProtection:
return L10n.Settings.Hotspothelper.title.uppercased()
case .current:
return L10n.Settings.TrustedNetworks.Sections.current.uppercased()
return L10n.Settings.Trusted.Networks.Sections.current.uppercased()
case .available:
return L10n.Settings.TrustedNetworks.Sections.available.uppercased()
return L10n.Settings.Trusted.Networks.Sections.available.uppercased()
case .trusted:
return L10n.Settings.TrustedNetworks.Sections.trusted.uppercased()
return L10n.Settings.Trusted.Networks.Sections.trusted.uppercased()
default:
return nil
}
......@@ -120,7 +120,7 @@ extension TrustedNetworksViewController: UITableViewDelegate, UITableViewDataSou
case .useVpnWifiProtection:
return L10n.Settings.Hotspothelper.Enable.description
case .trusted:
return L10n.Settings.TrustedNetworks.message
return L10n.Settings.Trusted.Networks.message
case .autoConnectAllNetworksSettings:
return L10n.Settings.Hotspothelper.All.description
case .available:
......
......@@ -206,13 +206,12 @@
"settings.hotspothelper.enable.description" = "VPN WiFi Protection automatically enables the VPN when connecting to untrusted networks.";
"settings.hotspothelper.all.title" = "Protect all networks";
"settings.hotspothelper.all.description" = "VPN WiFi Protection will activate on all networks, including trusted networks.";
"settings.hotspothelper.trustedNetworks" = "Trusted networks";
"settings.hotspothelper.available.help" = "To populate this list go to iOS Settings > WiFi.";
"settings.hotspothelper.available.add.help" = "Tap + to add to Trusted networks.";
"settings.trustedNetworks.sections.current" = "Current network";
"settings.trustedNetworks.sections.available" = "Available networks";
"settings.trustedNetworks.sections.trusted" = "Trusted networks";
"settings.trustedNetworks.message" = "PIA won't automatically connect on these networks.";
"settings.trusted.networks.sections.current" = "Current network";
"settings.trusted.networks.sections.available" = "Available networks";
"settings.trusted.networks.sections.trusted" = "Trusted networks";
"settings.trusted.networks.message" = "PIA won't automatically connect on these networks.";
"hotspothelper.display.name" = "🔒 Activate VPN WiFi Protection in PIA Settings to secure this connection.";
"hotspothelper.display.protected.name" = "🔒 PIA VPN WiFi Protection Enabled - We got your back.";
"settings.hotspothelper.cellular.title" = "Trust cellular networks";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment