Commit 1fbf8317 authored by Davide De Rosa's avatar Davide De Rosa
Browse files

Add footer to reset section

Resets the settings above, Content Blocker sits below.
parent a7bf3d9d
......@@ -591,6 +591,9 @@ extension SettingsViewController: UITableViewDataSource, UITableViewDelegate {
}
return footer.joined(separator: "\n\n")
case .reset:
return L10n.Settings.Reset.footer
case .contentBlocker:
return L10n.Settings.ContentBlocker.footer
......
......@@ -415,6 +415,8 @@ enum L10n {
}
enum Reset {
/// This will reset all of the above settings to default.
static let footer = L10n.tr("Localizable", "settings.reset.footer")
/// RESET
static let title = L10n.tr("Localizable", "settings.reset.title")
......
......@@ -133,6 +133,7 @@
"settings.reset.defaults.confirm.title" = "Reset settings";
"settings.reset.defaults.confirm.message" = "This will bring the app back to default. You will lose all changes you have made.";
"settings.reset.defaults.confirm.button" = "Reset";
"settings.reset.footer" = "This will reset all of the above settings to default.";
// CONTENT BLOCKER
......
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