Simplify preferences title
This commit is contained in:
parent
af937eaedc
commit
33e6b110ae
|
@ -136,15 +136,13 @@ internal enum L10n {
|
|||
}
|
||||
}
|
||||
internal enum Preferences {
|
||||
/// %@ Preferences
|
||||
internal static func title(_ p1: Any) -> String {
|
||||
return L10n.tr("App", "preferences.title", String(describing: p1))
|
||||
}
|
||||
/// Preferences
|
||||
internal static let title = L10n.tr("App", "preferences.title")
|
||||
internal enum Cells {
|
||||
internal enum ConfirmQuit {
|
||||
/// Confirm quit
|
||||
internal static let caption = L10n.tr("App", "preferences.cells.confirm_quit.caption")
|
||||
/// Check to skip quit confirmation alert.
|
||||
/// Check to present a quit confirmation alert.
|
||||
internal static let footer = L10n.tr("App", "preferences.cells.confirm_quit.footer")
|
||||
}
|
||||
internal enum LaunchesOnLogin {
|
||||
|
|
|
@ -45,7 +45,7 @@ class WindowManager: NSObject {
|
|||
// preferences = presentWindowController(
|
||||
// StoryboardScene.Preferences.initialScene.instantiate(),
|
||||
// existing: preferences,
|
||||
// title: L10n.App.Preferences.title(GroupConstants.App.name)
|
||||
// title: L10n.App.Preferences.title
|
||||
// )
|
||||
// return preferences
|
||||
// }
|
||||
|
|
|
@ -32,7 +32,7 @@ class PreferencesViewController: NSViewController {
|
|||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
title = L10n.App.Preferences.title(GroupConstants.App.name)
|
||||
title = L10n.App.Preferences.title
|
||||
let labels = [
|
||||
L10n.App.Preferences.Sections.General.header,
|
||||
L10n.Core.Service.Sections.Diagnostics.header
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
"network_settings.dns.cells.domains.title" = "Domains";
|
||||
"network_settings.proxy.cells.bypass_domains.title" = "Bypass domains";
|
||||
|
||||
"preferences.title" = "%@ Preferences";
|
||||
"preferences.title" = "Preferences";
|
||||
"preferences.sections.general.header" = "General";
|
||||
"preferences.cells.launches_on_login.caption" = "Launch on login";
|
||||
"preferences.cells.launches_on_login.footer" = "Check to automatically launch the app on boot or login.";
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
"network_settings.dns.cells.addresses.title" = "Server";
|
||||
"network_settings.proxy.cells.bypass_domains.title" = "Dominii ignorati";
|
||||
|
||||
"preferences.title" = "Preferenze %@";
|
||||
"preferences.title" = "Preferenze";
|
||||
"preferences.sections.general.header" = "Generale";
|
||||
"preferences.cells.launches_on_login.caption" = "Apri al login";
|
||||
"preferences.cells.launches_on_login.footer" = "Seleziona per aprire automaticamente l'app all'avvio o al login.";
|
||||
|
|
Loading…
Reference in New Issue