diff --git a/Base.lproj/GeneralPrefsViewController.xib b/Base.lproj/GeneralPrefsViewController.xib index 7aa44ce..ce4257e 100755 --- a/Base.lproj/GeneralPrefsViewController.xib +++ b/Base.lproj/GeneralPrefsViewController.xib @@ -24,19 +24,19 @@ - + - - + + - + @@ -44,17 +44,17 @@ - + @@ -76,7 +76,7 @@ - + @@ -84,7 +84,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -140,7 +140,7 @@ - + @@ -148,7 +148,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -167,7 +167,7 @@ - + @@ -178,26 +178,38 @@ - + + - + + + @@ -225,6 +237,7 @@ + @@ -236,7 +249,7 @@ - + diff --git a/Classes/AppDelegate.swift b/Classes/AppDelegate.swift index 779b16d..60c333c 100644 --- a/Classes/AppDelegate.swift +++ b/Classes/AppDelegate.swift @@ -224,7 +224,9 @@ final class AppDelegate: NSObject, NSApplicationDelegate { } func applicationShouldOpenUntitledFile(_ sender: NSApplication) -> Bool { - documentController.openDocument(self) + if Prefs.showOpenPanelAtLaunch { + documentController.openDocument(self) + } return false } diff --git a/Classes/Prefs.swift b/Classes/Prefs.swift index e87a9cd..7ac7ae9 100644 --- a/Classes/Prefs.swift +++ b/Classes/Prefs.swift @@ -73,7 +73,7 @@ struct StoredCodable : Registable { enum Prefs { static func register() { - ud.register(defaults: [_crashOnException, _saveFormat, _organizeAlternateGroups, _defaultSaveFormat, + ud.register(defaults: [_crashOnException, _showOpenPanelAtLaunch, _saveFormat, _organizeAlternateGroups, _defaultSaveFormat, _organizeAlternateGroups, _inferMediaCharacteristics, _audioMixdown, _audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts, _audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition, @@ -83,6 +83,9 @@ enum Prefs { @Stored(key: "NSApplicationCrashOnException", defaultValue: true) private static var crashOnException: Bool + @Stored(key: "SBShowOpenPanelAtLaunch", defaultValue: true) + static var showOpenPanelAtLaunch: Bool + @Stored(key: "SBIgnoreDonationAlert", defaultValue: false) static var suppressDonationAlert: Bool diff --git a/it.lproj/GeneralPrefsViewController.strings b/it.lproj/GeneralPrefsViewController.strings index 3ab1ee1..ab00eb6 100644 --- a/it.lproj/GeneralPrefsViewController.strings +++ b/it.lproj/GeneralPrefsViewController.strings @@ -1,6 +1,9 @@ /* Class = "NSTextFieldCell"; title = "Middle"; ObjectID = "2o1-dB-mt1"; */ "2o1-dB-mt1.title" = "Metà"; +/* Class = "NSButtonCell"; title = "Automatically check for update daily"; ObjectID = "2Pf-pq-4IX"; */ +"2Pf-pq-4IX.title" = "Controlla automaticamente per aggiornamenti ogni giorno"; + /* Class = "NSTextFieldCell"; title = "Beginning"; ObjectID = "3Vs-qA-7Z6"; */ "3Vs-qA-7Z6.title" = "Inizio"; @@ -13,14 +16,14 @@ /* Class = "NSButtonCell"; title = "Remember Size"; ObjectID = "86"; */ "86.title" = "Ricorda dimensione"; -/* Class = "NSButtonCell"; title = "Automatically check daily"; ObjectID = "87"; */ -"87.title" = "Controlla automaticamente ogni giorno"; +/* Class = "NSButtonCell"; title = "Show open panel"; ObjectID = "87"; */ +"87.title" = "Mostra il pannello di apertura"; /* Class = "NSTextFieldCell"; title = "Window:"; ObjectID = "88"; */ "88.title" = "Finestra:"; -/* Class = "NSTextFieldCell"; title = "Check for update:"; ObjectID = "89"; */ -"89.title" = "Ricerca aggiornamenti:"; +/* Class = "NSTextFieldCell"; title = "At Launch:"; ObjectID = "89"; */ +"89.title" = "All'avvio:"; /* Class = "NSButtonCell"; title = "Clear recent searches"; ObjectID = "134"; */ "134.title" = "Cancella ricerche recenti"; diff --git a/it.lproj/InfoPlist.strings b/it.lproj/InfoPlist.strings index a92500a..633e76c 100644 --- a/it.lproj/InfoPlist.strings +++ b/it.lproj/InfoPlist.strings @@ -1,5 +1,5 @@ /* Privacy - AppleEvents Sending Usage Description */ -"NSAppleEventsUsageDescription" = "Subler ha bisogno dell'autorizzazione per aggiungere i filmati ad iTunes"; +"NSAppleEventsUsageDescription" = "Subler ha bisogno dell'autorizzazione per aggiungere i filmati ad iTunes o a TV"; /* (No Comment) */ "SRT Subtitles" = "Sottotitoli SRT"; diff --git a/it.lproj/QueueOptions.strings b/it.lproj/QueueOptions.strings index 68e880d..fdd5a3f 100644 --- a/it.lproj/QueueOptions.strings +++ b/it.lproj/QueueOptions.strings @@ -31,9 +31,6 @@ /* Class = "CocoaBindingsConnection"; ibShadowedNotApplicablePlaceholder = "None"; ObjectID = "4rl-TJ-0yZ"; */ "4rl-TJ-0yZ.ibShadowedNotApplicablePlaceholder" = "Nessuno"; -/* Class = "NSMenuItem"; title = "Square"; ObjectID = "7zv-RG-1w4"; */ -"7zv-RG-1w4.title" = "Square"; - /* Class = "NSButton"; ibShadowedToolTip = "Clear existing metadata"; ObjectID = "9GN-f6-r2j"; */ "9GN-f6-r2j.ibShadowedToolTip" = "Cancella metadata esistenti"; @@ -97,9 +94,6 @@ /* Class = "NSTextFieldCell"; title = "Language:"; ObjectID = "GBM-Sa-9GJ"; */ "GBM-Sa-9GJ.title" = "Lingua:"; -/* Class = "NSMenuItem"; title = "iTunes"; ObjectID = "GXR-5u-c8a"; */ -"GXR-5u-c8a.title" = "iTunes"; - /* Class = "NSButtonCell"; title = "Fetch Metadata"; ObjectID = "h5x-un-6cJ"; */ "h5x-un-6cJ.title" = "Trova metadata";