Add descriptive footer to Siri section
This commit is contained in:
parent
03c8e43ce7
commit
c0be33dacc
|
@ -56,6 +56,7 @@ class OrganizerViewController: UITableViewController, TableModelHost {
|
||||||
model.setFooter(L10n.Organizer.Sections.Hosts.footer, for: .hosts)
|
model.setFooter(L10n.Organizer.Sections.Hosts.footer, for: .hosts)
|
||||||
if #available(iOS 12, *) {
|
if #available(iOS 12, *) {
|
||||||
model.setHeader(L10n.Organizer.Sections.Siri.header, for: .siri)
|
model.setHeader(L10n.Organizer.Sections.Siri.header, for: .siri)
|
||||||
|
model.setFooter(L10n.Organizer.Sections.Siri.footer, for: .siri)
|
||||||
model.set([.siriShortcuts], in: .siri)
|
model.set([.siriShortcuts], in: .siri)
|
||||||
}
|
}
|
||||||
model.set([.openAbout], in: .about)
|
model.set([.openAbout], in: .about)
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
"organizer.sections.hosts.header" = "Hosts";
|
"organizer.sections.hosts.header" = "Hosts";
|
||||||
"organizer.sections.hosts.footer" = "Import hosts from raw .ovpn configuration files.";
|
"organizer.sections.hosts.footer" = "Import hosts from raw .ovpn configuration files.";
|
||||||
"organizer.sections.siri.header" = "Siri";
|
"organizer.sections.siri.header" = "Siri";
|
||||||
|
"organizer.sections.siri.footer" = "Get help from Siri to speed up your most common interactions with the app.";
|
||||||
"organizer.cells.profile.value.current" = "In use";
|
"organizer.cells.profile.value.current" = "In use";
|
||||||
"organizer.cells.add_provider.caption" = "Add new network";
|
"organizer.cells.add_provider.caption" = "Add new network";
|
||||||
"organizer.cells.add_host.caption" = "Add new host";
|
"organizer.cells.add_host.caption" = "Add new host";
|
||||||
|
|
|
@ -383,6 +383,8 @@ public enum L10n {
|
||||||
public static let header = L10n.tr("Localizable", "organizer.sections.providers.header")
|
public static let header = L10n.tr("Localizable", "organizer.sections.providers.header")
|
||||||
}
|
}
|
||||||
public enum Siri {
|
public enum Siri {
|
||||||
|
/// Get help from Siri to speed up your most common interactions with the app.
|
||||||
|
public static let footer = L10n.tr("Localizable", "organizer.sections.siri.footer")
|
||||||
/// Siri
|
/// Siri
|
||||||
public static let header = L10n.tr("Localizable", "organizer.sections.siri.header")
|
public static let header = L10n.tr("Localizable", "organizer.sections.siri.header")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue