diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e395d9d..d79ec185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Settings › Advanced: the switch "Show all icons while macOS hides one right of the arrow" is now "Pause hiding while macOS shows Now Playing, Focus and similar items", with a note that Hidden Bar hides nothing while one of them shows. Same stored setting, same behavior ([#446](https://github.com/dwarvesf/hidden/issues/446)). ### Fixed +- Switching from the App Store version on macOS 27 (direct build) loses nothing: settings import even when the App Store copy is running at launch, "Open Hidden Bar at login" stays on and opens the new copy (after Import or "Not now"), a failed move of the App Store copy to the Trash says so, and an older direct version (1.8 to 1.12) still running gets "Quit and Switch" instead of a silent quit. The status card says "a temporary folder" instead of a random folder name, and the README, the manual and the macOS 27 notice say to remove the App Store copy before `brew install --cask hiddenbar`. The migration alerts and the macOS 27 notice are now localized. - macOS 27 (direct build): clicking the clock while the bar is collapsed opens Notification Center again when a notification is still on screen. A notification that stays up across a collapse (such as macOS's "App Background Activity" at login) uses the same window as the panel, so Hidden Bar took it for an open panel and ignored the click. Hidden Bar now checks that the panel itself is open (it has Edit Widgets) before treating a click as one that closes it. - macOS 14 and later: "Use the full menu bar on expanding" now takes focus. Hidden Bar became a regular app but never the active one, so the front app's menus kept the bar and the option did nothing, in full screen too. It now takes the active state from the front app, and collapsing hands focus back ([#142](https://github.com/dwarvesf/hidden/issues/142)). - Test runs no longer read or write Hidden Bar's real preferences or act on the installed app. A test host uses its own preferences suite, and skips the "Move to Applications" offer, the App Store migration prompts, Sparkle and the saved arrow positions, so a test run cannot trash or move the installed copy. diff --git a/HiddenBarTests/AutoStartTests.swift b/HiddenBarTests/AutoStartTests.swift index 8b7992d3..8d7f8624 100644 --- a/HiddenBarTests/AutoStartTests.swift +++ b/HiddenBarTests/AutoStartTests.swift @@ -249,6 +249,33 @@ final class LegacyLoginItemTests: XCTestCase { } } +final class AutoStartTakeOverTests: XCTestCase { + // Given a login item already enabled, held by the App Store copy with the same bundle id + // When the direct build takes it over after the import + // Then it unregisters and registers again, so the item opens this copy + func test_takeOverReregistersAnEnabledItem() { + let service = RecordingLoginItem(status: .enabled) + XCTAssertTrue(AutoStart.applyUnlessTesting(enabled: true, takingOver: true, service: service, touchLoginItems: true)) + XCTAssertEqual(service.calls, ["unregister", "register"]) + XCTAssertEqual(service.status, .enabled) + } + + func test_takeOverOfNoItemOnlyRegisters() { + let service = RecordingLoginItem(status: .notRegistered) + XCTAssertTrue(AutoStart.takeOver(service: service)) + XCTAssertEqual(service.calls, ["register"]) + } + + // Given "Open at login" off after the import + // When applying it with takingOver + // Then it only unregisters, as a plain apply does + func test_takeOverIsOnlyForOn() { + let service = RecordingLoginItem(status: .enabled) + XCTAssertTrue(AutoStart.applyUnlessTesting(enabled: false, takingOver: true, service: service, touchLoginItems: true)) + XCTAssertEqual(service.calls, ["unregister"]) + } +} + // Records call order; register lands enabled and unregister notRegistered unless stubbed to throw. private final class RecordingLoginItem: LoginItemServing { struct StubbedError: Error {} diff --git a/HiddenBarTests/MacOS27NoticeTests.swift b/HiddenBarTests/MacOS27NoticeTests.swift index 075e2292..287760ec 100644 --- a/HiddenBarTests/MacOS27NoticeTests.swift +++ b/HiddenBarTests/MacOS27NoticeTests.swift @@ -78,6 +78,8 @@ final class MacOS27NoticeTests: XCTestCase { let command = try XCTUnwrap(fields.first { $0.stringValue == MacOS27Notice.brewCommand }) XCTAssertTrue(command.isSelectable) XCTAssertFalse(command.isEditable) + XCTAssertNotNil(fields.first { $0.stringValue == MacOS27Notice.brewFirstStep.localized }, + "Homebrew refuses while the App Store copy is in /Applications; the notice says to remove it first") XCTAssertGreaterThan(stack.frame.height, 0) } } diff --git a/HiddenBarTests/SettingsModelTests.swift b/HiddenBarTests/SettingsModelTests.swift index 63b27f1a..a1c07378 100644 --- a/HiddenBarTests/SettingsModelTests.swift +++ b/HiddenBarTests/SettingsModelTests.swift @@ -64,6 +64,24 @@ final class SettingsModelTests: XCTestCase { XCTAssertTrue([SettingsStatus.needsAccessibility, .outsideApplications, .appStoreOnMacOS27].allSatisfy(\.isWarning)) } + // Given Hidden Bar opened from a translocated or temporary path + // When the status card names the folder it runs from + // Then it says "a temporary folder", not the random folder name ("d.") + func test_statusCard_namesATemporaryFolderPlainly() { + let temporary = ["/private/var/folders/ab/xyz/T/AppTranslocation/1234-ABCD/d/Hidden Bar.app", + "/var/folders/ab/xyz/T/Hidden Bar.app", + "/private/tmp/x/Hidden Bar.app", + "/tmp/Hidden Bar.app"] + for path in temporary { + XCTAssertTrue(RunningFolder.isTemporary(URL(fileURLWithPath: path)), path) + XCTAssertEqual(RunningFolder.displayName(of: URL(fileURLWithPath: path), displayName: { _ in "d." }), + "a temporary folder".localized, path) + } + let downloads = URL(fileURLWithPath: "/Users/x/Downloads/Hidden Bar.app") + XCTAssertFalse(RunningFolder.isTemporary(downloads)) + XCTAssertEqual(RunningFolder.displayName(of: downloads, displayName: { $0 == "/Users/x/Downloads" ? "Downloads" : "?" }), "Downloads") + } + // MARK: preview edge func test_previewBoundary_followsTheEngine() { diff --git a/HiddenTests/AppStoreMigrationTests.swift b/HiddenTests/AppStoreMigrationTests.swift index 40e312ba..ba2a60b7 100644 --- a/HiddenTests/AppStoreMigrationTests.swift +++ b/HiddenTests/AppStoreMigrationTests.swift @@ -144,6 +144,70 @@ final class AppStoreMigrationTests: XCTestCase { registeredDefaults: registered, alreadyAnswered: false)) } + // Given the App Store copy running at launch, so the direct build collapses before the offer + // When the first collapse wrote the separator state and the pinned-sections table + // Then those writes do not count as the direct build's own settings, and the import is still offered + func test_keysTheDirectBuildWritesAtLaunchDoNotBlockTheImport() { + let launchWrites: [String: Any] = [UserDefaults.Key.areSeparatorsHidden: true, + UserDefaultsPinnedSections.key: ["com.example.app": 1]] + XCTAssertTrue(AppStoreSettingsImport.shouldOffer(containerValues: ["isAutoHide": false], directValues: launchWrites, + registeredDefaults: registered, alreadyAnswered: false)) + var chosen = launchWrites + chosen["hoverToExpand"] = true + XCTAssertFalse(AppStoreSettingsImport.shouldOffer(containerValues: ["isAutoHide": false], directValues: chosen, + registeredDefaults: registered, alreadyAnswered: false), + "a setting the user changed in this build still wins") + } + + // Given the direct build's settings captured at launch + // When something is written to its domain afterwards (an alert held the launch while the bar collapsed) + // Then the import decision reads the launch values + func test_importDecisionReadsTheSettingsAsLaunchFoundThem() throws { + _ = try writeContainerPlist(["isAutoHide": false, "isAutoStart": true]) + let migration = AppStoreMigration(environment: .init(home: root, bundleURL: downloadsApp, bundleIdentifier: bundleID, + defaults: defaults, registeredDefaults: registered)) + migration.captureLaunchState() + defaults.set(true, forKey: UserDefaults.Key.alwaysHiddenSectionEnabled) + XCTAssertTrue(migration.wouldOfferImport) + MigrationOfferLedger(defaults: defaults).recordAnswer(MigrationOfferLedger.importKey) + XCTAssertFalse(migration.wouldOfferImport, "answered once, never again") + } + + // MARK: open at login across the switch + + // Given the App Store build opened at login and the import offer is still to come + // When the direct build sets up its login item at launch + // Then it leaves the item alone instead of applying its own unset "off" + func test_loginItemIsLeftAloneWhileTheImportIsPending() { + XCTAssertFalse(LaunchLoginItem.shouldApply(importOfferPending: true, containerOpensAtLogin: true, directAutoStart: false)) + XCTAssertTrue(LaunchLoginItem.shouldApply(importOfferPending: false, containerOpensAtLogin: true, directAutoStart: false), + "once answered, this build's setting applies") + XCTAssertTrue(LaunchLoginItem.shouldApply(importOfferPending: true, containerOpensAtLogin: false, directAutoStart: false)) + XCTAssertTrue(LaunchLoginItem.shouldApply(importOfferPending: true, containerOpensAtLogin: true, directAutoStart: true)) + XCTAssertTrue(AppStoreSettingsImport.opensAtLogin(["isAutoStart": true])) + XCTAssertFalse(AppStoreSettingsImport.opensAtLogin(["isAutoStart": false])) + XCTAssertFalse(AppStoreSettingsImport.opensAtLogin(nil)) + } + + // Given the App Store build opened at login + // When the user answers "Not now" to the import, and Hidden Bar launches again + // Then "Open at login" stays on in this build, and nothing else is copied + func test_notNowKeepsOpenAtLogin() { + let written = AppStoreSettingsImport.applyDecline(["isAutoStart": true, "isAutoHide": false, "arrowStyle": "chevron"], to: defaults) + XCTAssertEqual(written, [UserDefaults.Key.isAutoStart]) + XCTAssertTrue(defaults.bool(forKey: UserDefaults.Key.isAutoStart)) + XCTAssertEqual(defaults.persistentDomain(forName: suiteName).map { Set($0.keys) }, [UserDefaults.Key.isAutoStart]) + // The next launch: the offer is answered, so this build's value applies, and it is on. + XCTAssertTrue(LaunchLoginItem.shouldApply(importOfferPending: false, containerOpensAtLogin: true, + directAutoStart: defaults.bool(forKey: UserDefaults.Key.isAutoStart))) + XCTAssertTrue(defaults.bool(forKey: UserDefaults.Key.isAutoStart)) + + let off = UserDefaults(suiteName: suiteName + ".off")! + defer { off.removePersistentDomain(forName: suiteName + ".off") } + XCTAssertEqual(AppStoreSettingsImport.applyDecline(["isAutoStart": false, "isAutoHide": false], to: off), []) + XCTAssertNil(off.persistentDomain(forName: suiteName + ".off")?[UserDefaults.Key.isAutoStart]) + } + func testOfferIsShownOnlyOnceAfterAnyAnswer() { let ledger = MigrationOfferLedger(defaults: defaults) XCTAssertFalse(ledger.isAnswered(MigrationOfferLedger.importKey)) @@ -284,6 +348,39 @@ final class AppStoreMigrationTests: XCTestCase { countsOtherPaths: false, countsAppStoreCopies: true), .quitInFavorOf(43)) } + // Given an older direct copy (1.8 to 1.12) running from another folder + // When this newer copy opens + // Then it offers "Quit and Switch" instead of quitting silently + func test_olderDirectCopyIsOfferedAQuit() { + let older = OtherRunningCopy.Instance(pid: 42, bundleURL: URL(fileURLWithPath: "/Applications/Hidden Bar.app"), + isAppStoreBuild: false, version: "1.12") + XCTAssertEqual(OtherRunningCopy.decide(others: [older], runningBundle: downloadsApp, runningVersion: "1.13.0"), + .offerToReplaceOlderCopy(42)) + let v18 = OtherRunningCopy.Instance(pid: 43, bundleURL: URL(fileURLWithPath: "/Applications/Hidden Bar.app"), + isAppStoreBuild: false, version: "1.8") + XCTAssertEqual(OtherRunningCopy.decide(others: [v18], runningBundle: downloadsApp, runningVersion: "1.13.0"), + .offerToReplaceOlderCopy(43)) + } + + // Given another direct copy that is not older, or whose version is unknown, or a relaunch of this same copy + // When this copy opens + // Then it brings that copy forward and quits, as before + func test_directCopyNotOlderStillWinsSilently() { + func copy(_ version: String?, _ path: String = "/Applications/Hidden Bar.app") -> OtherRunningCopy.Instance { + .init(pid: 42, bundleURL: URL(fileURLWithPath: path), isAppStoreBuild: false, version: version) + } + XCTAssertEqual(OtherRunningCopy.decide(others: [copy("1.13.0")], runningBundle: downloadsApp, runningVersion: "1.13.0"), .quitInFavorOf(42)) + XCTAssertEqual(OtherRunningCopy.decide(others: [copy("1.14")], runningBundle: downloadsApp, runningVersion: "1.13.0"), .quitInFavorOf(42)) + XCTAssertEqual(OtherRunningCopy.decide(others: [copy(nil)], runningBundle: downloadsApp, runningVersion: "1.13.0"), .quitInFavorOf(42)) + XCTAssertEqual(OtherRunningCopy.decide(others: [copy("1.12", downloadsApp.path)], runningBundle: downloadsApp, runningVersion: "1.13.0"), + .quitInFavorOf(42), "a relaunch of the same bundle path") + XCTAssertTrue(OtherRunningCopy.isOlder("1.9", than: "1.13.0")) + XCTAssertTrue(OtherRunningCopy.isOlder("1.12.3", than: "1.13")) + XCTAssertFalse(OtherRunningCopy.isOlder("1.13.0", than: "1.13.0")) + XCTAssertFalse(OtherRunningCopy.isOlder(nil, than: "1.13.0")) + XCTAssertFalse(OtherRunningCopy.isOlder("1.12", than: nil)) + } + // Given an import from the App Store build // When its settings are applied // Then the pinned-sections notice goes out too, as the engine and the catalog listen to it, not to prefsChanged @@ -292,6 +389,63 @@ final class AppStoreMigrationTests: XCTestCase { XCTAssertTrue(AppDelegate.importedPreferenceNotifications.contains(.prefsChanged)) } + // Given the migration alerts and the status card's button + // When looking in every Localizable.strings the app ships + // Then each locale carries them with the same placeholders, so none shows a raw key or drops a path + func test_everyLocale_carriesTheMigrationStrings() { + let keys = [ + "Hidden Bar from the App Store is running. Quit it and switch to this version?", + "Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise.", + "Hidden Bar %@ is running. Quit it and switch to this version?", + "Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise.", + "Quit and Switch", + "Cancel", + "Import your settings from the App Store version?", + "Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up.", + "Import", + "Not now", + "Move the App Store copy to the Trash?", + "The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later.", + "Move to Trash", + "Hidden Bar could not move the App Store copy to the Trash", + "Drag it to the Trash in Finder instead:\n%@", + "The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there.", + "This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there.", + "Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there.", + "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch.", + "Move Hidden Bar to the Applications folder?", + "Move to Applications", + "Hidden Bar can hide icons only from /Applications", + "OK", + "a temporary folder", + "Hidden Bar cannot hide icons on macOS 27", + "macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27.", + "Open github.com/consolelabs/hidden", + "Close", + "Don't show again", + "Hidden Bar on macOS 27", + "macOS 27: get the working version...", + "Or install it with Homebrew:", + "Quit this App Store version and move it to the Trash first. Homebrew does not install over it.", + ] + let localizations = Bundle.main.localizations.filter { $0 != "Base" } + XCTAssertGreaterThan(localizations.count, 5) + for locale in localizations { + guard let path = Bundle.main.path(forResource: "Localizable", ofType: "strings", inDirectory: nil, forLocalization: locale), + let table = NSDictionary(contentsOfFile: path) as? [String: String] else { + XCTFail("no Localizable.strings for \(locale)") + continue + } + for key in keys { + guard let value = table[key] else { XCTFail("\(locale) is missing \"\(key)\""); continue } + for token in ["%@", "\n"] { + XCTAssertEqual(value.components(separatedBy: token).count, key.components(separatedBy: token).count, + "\(locale) \"\(key)\" changes the \(token) count") + } + } + } + } + // Given a build that does not use the native engine // When the app registers its shortcuts // Then the palette and presentation shortcuts are not registered; with the native engine they are diff --git a/README.md b/README.md index a844b1dd..4918df04 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ The Hidden Bar is notarized before distributed out side App Store. It's safe to brew install --cask hiddenbar ``` +Coming from the App Store version? Quit it and move `/Applications/Hidden Bar.app` to the Trash first: Homebrew does not install over it. Your settings stay; the new version offers to import them on first launch. + #### Manual download - [Download latest version](https://github.com/consolelabs/hidden/releases/latest) diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 38f97e4a..74eb43ad 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -56,6 +56,18 @@ section is enabled. - Native hiding blocks Notification Center, so clicking the clock while the bar is collapsed expands it, opens Notification Center, and collapses it again when the panel closes, unless you expand or collapse it yourself meanwhile. - Native hiding also hides the menu-bar capsule that names the app using the microphone or camera (the orange or green indicator); the dot in the screen corner still shows. So while any app uses the microphone or a camera, Hidden Bar stops hiding and shows the whole bar, and hides again when that stops. The arrow keeps its collapsed look meanwhile. Screen recording is not covered: macOS offers no public way to detect it. +### Switching from the App Store version + +The App Store version cannot hide icons on macOS 27; the direct build can. To switch: + +1. Quit the App Store version and move `/Applications/Hidden Bar.app` to the Trash. Homebrew refuses to install while it is there, and only the copy in `/Applications` can hide icons on macOS 27. +2. Install the direct build: `brew install --cask hiddenbar`, or download it from [GitHub Releases](https://github.com/consolelabs/hidden/releases/latest) and drag it into Applications. +3. Open it. On first launch it offers, once each: + - **Quit and Switch** if the App Store version (or an older direct version, 1.8 to 1.12) is still running. + - **Import your settings**: the App Store version keeps its settings in its own container. Import copies every Hidden Bar setting, including "Open Hidden Bar at login", which then opens this copy. "Not now" starts with default settings but keeps "Open Hidden Bar at login" as it was. + - **Move the App Store copy to the Trash**, if it is still installed. When macOS refuses (an App Store install can belong to the system), Hidden Bar says so and names the path to drag to the Trash in Finder. + - **Move to Applications**, when it runs from Downloads or a temporary folder. + ## Settings window Tabs in a centered control at the top (Cmd+1 to Cmd+5). A status card at the top of General says whether Hidden Bar is working, and if not, what to do (grant Accessibility, move to Applications, or that the App Store build cannot hide on macOS 27). The "Your menu bar" preview draws the edge the running engine uses: the arrow on the macOS 27 direct build, the "|" separator otherwise. diff --git a/docs/verification/appstore-migration/01-appstore-copy-login-on-settings-changed.png b/docs/verification/appstore-migration/01-appstore-copy-login-on-settings-changed.png new file mode 100644 index 00000000..0dd40000 Binary files /dev/null and b/docs/verification/appstore-migration/01-appstore-copy-login-on-settings-changed.png differ diff --git a/docs/verification/appstore-migration/02-direct-switch-offer.png b/docs/verification/appstore-migration/02-direct-switch-offer.png new file mode 100644 index 00000000..0b2c34af Binary files /dev/null and b/docs/verification/appstore-migration/02-direct-switch-offer.png differ diff --git a/docs/verification/appstore-migration/03-import-offered-after-collapse.png b/docs/verification/appstore-migration/03-import-offered-after-collapse.png new file mode 100644 index 00000000..d2ff3581 Binary files /dev/null and b/docs/verification/appstore-migration/03-import-offered-after-collapse.png differ diff --git a/docs/verification/appstore-migration/04-trash-offer-after-import.png b/docs/verification/appstore-migration/04-trash-offer-after-import.png new file mode 100644 index 00000000..7b7e484b Binary files /dev/null and b/docs/verification/appstore-migration/04-trash-offer-after-import.png differ diff --git a/docs/verification/appstore-migration/05-trash-failed-error.png b/docs/verification/appstore-migration/05-trash-failed-error.png new file mode 100644 index 00000000..17ae0ddf Binary files /dev/null and b/docs/verification/appstore-migration/05-trash-failed-error.png differ diff --git a/docs/verification/appstore-migration/06-settings-imported-login-on.png b/docs/verification/appstore-migration/06-settings-imported-login-on.png new file mode 100644 index 00000000..78215ffa Binary files /dev/null and b/docs/verification/appstore-migration/06-settings-imported-login-on.png differ diff --git a/docs/verification/appstore-migration/07-relaunched-from-applications.png b/docs/verification/appstore-migration/07-relaunched-from-applications.png new file mode 100644 index 00000000..30eb8108 Binary files /dev/null and b/docs/verification/appstore-migration/07-relaunched-from-applications.png differ diff --git a/docs/verification/appstore-migration/08-started-at-login-after-reboot.png b/docs/verification/appstore-migration/08-started-at-login-after-reboot.png new file mode 100644 index 00000000..d0f0687e Binary files /dev/null and b/docs/verification/appstore-migration/08-started-at-login-after-reboot.png differ diff --git a/docs/verification/appstore-migration/09-older-direct-switch-offer.png b/docs/verification/appstore-migration/09-older-direct-switch-offer.png new file mode 100644 index 00000000..f81b99ca Binary files /dev/null and b/docs/verification/appstore-migration/09-older-direct-switch-offer.png differ diff --git a/docs/verification/appstore-migration/10-status-card-temporary-folder.png b/docs/verification/appstore-migration/10-status-card-temporary-folder.png new file mode 100644 index 00000000..a3419544 Binary files /dev/null and b/docs/verification/appstore-migration/10-status-card-temporary-folder.png differ diff --git a/hidden/AppDelegate.swift b/hidden/AppDelegate.swift index f57d0cc3..e313e14a 100644 --- a/hidden/AppDelegate.swift +++ b/hidden/AppDelegate.swift @@ -23,6 +23,11 @@ class AppDelegate: NSObject, NSApplicationDelegate{ #if DEBUG if SettingsSnapshot.runIfRequested() { return } #endif + #if HIDDENBAR_NATIVE_VISIBILITY + // Before the first collapse writes the separator state and the pinned + // table, which would read as settings of this build's own. + AppStoreMigration.shared.captureLaunchState() + #endif guard ensureSingleInstance() else { return } #if HIDDENBAR_NATIVE_VISIBILITY // Pinned sections (beta) fill the Settings tab the native engine has. @@ -54,7 +59,8 @@ class AppDelegate: NSObject, NSApplicationDelegate{ /// Settings imported from the App Store build were written straight to /// UserDefaults; apply the ones with side effects and tell the UI. private func applyImportedPreferences() { - Util.setUpAutoStart(isAutoStart: Preferences.isAutoStart) + // The App Store copy may still hold the login item; point it at this copy. + Util.setUpAutoStart(isAutoStart: Preferences.isAutoStart, takingOver: true) hotKeys.reload() for name in Self.importedPreferenceNotifications { NotificationCenter.default.post(name: name, object: nil) @@ -106,6 +112,12 @@ class AppDelegate: NSObject, NSApplicationDelegate{ func setupAutoStartApp() { LegacyLoginItem.migrateUnlessTesting(autoStart: Preferences.isAutoStart) + #if HIDDENBAR_NATIVE_VISIBILITY + guard AppStoreMigration.shared.appliesLoginItemAtLaunch(directAutoStart: Preferences.isAutoStart) else { + NSLog("AutoStart: login item left alone until the App Store import is answered") + return + } + #endif Util.setUpAutoStart(isAutoStart: Preferences.isAutoStart) } diff --git a/hidden/Common/AutoStart.swift b/hidden/Common/AutoStart.swift index 858bdf90..97d75025 100644 --- a/hidden/Common/AutoStart.swift +++ b/hidden/Common/AutoStart.swift @@ -124,6 +124,7 @@ enum AutoStart { @discardableResult static func applyUnlessTesting( enabled: Bool, + takingOver: Bool = false, service: LoginItemServing = SMAppService.mainApp, touchLoginItems: Bool = shouldTouchLoginItems() ) -> Bool { @@ -131,7 +132,20 @@ enum AutoStart { NSLog("AutoStart: skipped (test or Debug build), login items untouched") return true } - return apply(enabled: enabled, service: service) + return enabled && takingOver ? takeOver(service: service) : apply(enabled: enabled, service: service) + } + + // Another copy with this bundle id (the App Store build) may hold the login + // item, and register() on an item already enabled leaves it pointing there. + // Unregister first, so the item opens this copy. + @discardableResult + static func takeOver(service: LoginItemServing = SMAppService.mainApp) -> Bool { + if service.status != .notRegistered { + do { try service.unregister() } catch { NSLog("AutoStart: take-over unregister failed: \(error.localizedDescription)") } + } + do { try service.register() } catch { NSLog("AutoStart: take-over register failed: \(error.localizedDescription)") } + NSLog("AutoStart: took over, status = \(service.status.rawValue)") + return service.status == .enabled } // Returns whether the system ended up in the desired state. A throw is one diff --git a/hidden/Common/Util.swift b/hidden/Common/Util.swift index 65fe2bf5..349066dd 100644 --- a/hidden/Common/Util.swift +++ b/hidden/Common/Util.swift @@ -13,10 +13,10 @@ import Foundation class Util { @discardableResult - static func setUpAutoStart(isAutoStart: Bool) -> Bool { + static func setUpAutoStart(isAutoStart: Bool, takingOver: Bool = false) -> Bool { // SMAppService (macOS 13+) registers the main app itself as a login item; // no helper app, no distributed-notification kill dance. - return AutoStart.applyUnlessTesting(enabled: isAutoStart) + return AutoStart.applyUnlessTesting(enabled: isAutoStart, takingOver: takingOver) } static func showPrefWindow() { diff --git a/hidden/Features/AppStoreMigration/AppStoreMigration.swift b/hidden/Features/AppStoreMigration/AppStoreMigration.swift index e1e63709..f9dcdfe9 100644 --- a/hidden/Features/AppStoreMigration/AppStoreMigration.swift +++ b/hidden/Features/AppStoreMigration/AppStoreMigration.swift @@ -66,6 +66,11 @@ enum AppStoreSettingsImport { UserDefaults.Key.rightClickAction: .string, ] + /// Importable keys the direct build writes by itself on its first collapse: + /// the separator state, and the pinned-sections table the macOS 27 engine + /// fills from where icons sit. They say nothing about what the user chose. + static let keysWrittenAtLaunch: Set = [UserDefaults.Key.areSeparatorsHidden, UserDefaultsPinnedSections.key] + static func containerPreferencesURL(home: URL, bundleIdentifier: String) -> URL { home.appendingPathComponent("Library/Containers/\(bundleIdentifier)/Data/Library/Preferences/\(bundleIdentifier).plist") } @@ -110,7 +115,23 @@ enum AppStoreSettingsImport { alreadyAnswered: Bool) -> Bool { guard !alreadyAnswered, let containerValues else { return false } guard !customizedKeys(in: containerValues, registeredDefaults: registeredDefaults).isEmpty else { return false } - return customizedKeys(in: directValues, registeredDefaults: registeredDefaults).isEmpty + let chosenByUser = directValues.filter { !keysWrittenAtLaunch.contains($0.key) } + return customizedKeys(in: chosenByUser, registeredDefaults: registeredDefaults).isEmpty + } + + /// The App Store build had "Open at login" on. + static func opensAtLogin(_ containerValues: [String: Any]?) -> Bool { + (containerValues?[UserDefaults.Key.isAutoStart] as? NSNumber)?.boolValue ?? false + } + + /// "Not now" still keeps "Open at login": the login item is the system's, + /// and leaving this build's unset "off" in place would remove it without a + /// word. Returns the keys written. + @discardableResult + static func applyDecline(_ containerValues: [String: Any], to defaults: UserDefaults) -> [String] { + guard opensAtLogin(containerValues) else { return [] } + defaults.set(true, forKey: UserDefaults.Key.isAutoStart) + return [UserDefaults.Key.isAutoStart] } /// Copies the importable values; returns the keys written. @@ -122,6 +143,16 @@ enum AppStoreSettingsImport { } } +/// Whether launch applies this build's "Open at login" to the system. +enum LaunchLoginItem { + /// While the import offer is still to come and the App Store build opened + /// at login, this build's unset "off" would unregister the App Store copy's + /// login item before the user answers; leave it alone until then. + static func shouldApply(importOfferPending: Bool, containerOpensAtLogin: Bool, directAutoStart: Bool) -> Bool { + !(importOfferPending && containerOpensAtLogin && !directAutoStart) + } +} + /// Finds App Store copies of this app other than the one running. enum AppStoreCopyFinder { static func isAppStoreBuild(_ bundleURL: URL, fileManager: FileManager = .default) -> Bool { @@ -133,6 +164,11 @@ enum AppStoreCopyFinder { return info?["CFBundleIdentifier"] as? String } + static func shortVersion(of bundleURL: URL) -> String? { + let info = AppStoreSettingsImport.readPlist(at: bundleURL.appendingPathComponent("Contents/Info.plist")) + return info?["CFBundleShortVersionString"] as? String + } + /// The usual install spots, checked in addition to what Launch Services knows. static func wellKnownCandidates(home: URL, appName: String) -> [URL] { [URL(fileURLWithPath: "/Applications/\(appName).app"), @@ -173,6 +209,8 @@ enum OtherRunningCopy { let pid: pid_t let bundleURL: URL? let isAppStoreBuild: Bool + /// CFBundleShortVersionString of the copy on disk, when readable. + var version: String? = nil } enum Decision: Equatable { @@ -181,12 +219,20 @@ enum OtherRunningCopy { case quitInFavorOf(pid_t) /// The App Store copy: ask before quitting it and taking over. case offerToReplaceAppStoreCopy(pid_t) + /// An older direct copy (1.8 to 1.12) at another path: the same offer. + case offerToReplaceOlderCopy(pid_t) + } + + /// True when `version` is older than `running`, compared numerically. + static func isOlder(_ version: String?, than running: String?) -> Bool { + guard let version, let running else { return false } + return version.compare(running, options: .numeric) == .orderedAscending } /// `others` are running apps with this bundle id, this process excluded. /// Debug builds pass `countsOtherPaths: false` so a dev build runs next to /// the installed copy, and `countsAppStoreCopies` to test the offer. - static func decide(others: [Instance], runningBundle: URL, + static func decide(others: [Instance], runningBundle: URL, runningVersion: String? = nil, countsOtherPaths: Bool = true, countsAppStoreCopies: Bool = true) -> Decision { let running = runningBundle.resolvingSymlinksInPath().standardizedFileURL.path func isSamePath(_ instance: Instance) -> Bool { @@ -196,8 +242,12 @@ enum OtherRunningCopy { if isSamePath(instance) { return true } return instance.isAppStoreBuild ? countsAppStoreCopies : countsOtherPaths } - if let direct = counted.first(where: { !$0.isAppStoreBuild || isSamePath($0) }) { - return .quitInFavorOf(direct.pid) + let direct = counted.filter { !$0.isAppStoreBuild || isSamePath($0) } + if let current = direct.first(where: { isSamePath($0) || !isOlder($0.version, than: runningVersion) }) { + return .quitInFavorOf(current.pid) + } + if let older = direct.first { + return .offerToReplaceOlderCopy(older.pid) } if let appStore = counted.first { return .offerToReplaceAppStoreCopy(appStore.pid) @@ -310,13 +360,15 @@ final class AppStoreMigration { isAppStoreBuild: bundle.map { AppStoreCopyFinder.isAppStoreBuild($0, fileManager: environment.fileManager) || AppStoreCopyFinder.hasAppStoreSignature($0) - } ?? false) + } ?? false, + version: bundle.flatMap(AppStoreCopyFinder.shortVersion(of:))) } + let runningVersion = AppStoreCopyFinder.shortVersion(of: environment.bundleURL) #if DEBUG - let decision = OtherRunningCopy.decide(others: others, runningBundle: environment.bundleURL, + let decision = OtherRunningCopy.decide(others: others, runningBundle: environment.bundleURL, runningVersion: runningVersion, countsOtherPaths: false, countsAppStoreCopies: Self.isEnabled) #else - let decision = OtherRunningCopy.decide(others: others, runningBundle: environment.bundleURL) + let decision = OtherRunningCopy.decide(others: others, runningBundle: environment.bundleURL, runningVersion: runningVersion) #endif NSLog("AppStoreMigration: other running copy decision \(decision)") @@ -327,24 +379,36 @@ final class AppStoreMigration { quit(inFavorOf: apps.first { $0.processIdentifier == pid }) return false case .offerToReplaceAppStoreCopy(let pid): - let appStoreCopy = apps.first { $0.processIdentifier == pid } - let alert = NSAlert() - alert.alertStyle = .informational - alert.messageText = "Hidden Bar from the App Store is running. Quit it and switch to this version?".localized - alert.informativeText = "Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise.".localized - alert.addButton(withTitle: "Quit and Switch".localized) - alert.addButton(withTitle: "Cancel".localized) - guard run(alert, id: "switch") == .alertFirstButtonReturn, let appStoreCopy else { - quit(inFavorOf: appStoreCopy) - return false - } - guard Self.terminate(appStoreCopy) else { - NSLog("AppStoreMigration: the App Store copy did not quit") - quit(inFavorOf: appStoreCopy) - return false - } - return true + return offerSwitch(from: apps.first { $0.processIdentifier == pid }, + message: "Hidden Bar from the App Store is running. Quit it and switch to this version?".localized, + info: "Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise.".localized) + case .offerToReplaceOlderCopy(let pid): + let older = apps.first { $0.processIdentifier == pid } + let version = others.first { $0.pid == pid }?.version ?? "" + return offerSwitch(from: older, + message: String(format: "Hidden Bar %@ is running. Quit it and switch to this version?".localized, version), + info: "Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise.".localized) + } + } + + /// "Quit and Switch": quits the other copy and keeps this one running. + private func offerSwitch(from other: NSRunningApplication?, message: String, info: String) -> Bool { + let alert = NSAlert() + alert.alertStyle = .informational + alert.messageText = message + alert.informativeText = info + alert.addButton(withTitle: "Quit and Switch".localized) + alert.addButton(withTitle: "Cancel".localized) + guard run(alert, id: "switch") == .alertFirstButtonReturn, let other else { + quit(inFavorOf: other) + return false } + guard Self.terminate(other) else { + NSLog("AppStoreMigration: the other copy did not quit") + quit(inFavorOf: other) + return false + } + return true } private func quit(inFavorOf app: NSRunningApplication?) { @@ -380,15 +444,35 @@ final class AppStoreMigration { environment.defaults.dictionaryRepresentation() } - /// Returns true when settings were imported. + /// This build's settings as launch found them, before the first collapse + /// writes anything; the import decision reads these. + private var launchDirectValues: [String: Any]? + + /// Called first thing at launch, before any alert or collapse. + func captureLaunchState() { + launchDirectValues = directValues + } + + /// The import offer will show at this launch, unless this build is a test host. + var wouldOfferImport: Bool { + AppStoreSettingsImport.shouldOffer(containerValues: containerValues, + directValues: launchDirectValues ?? directValues, + registeredDefaults: environment.registeredDefaults, + alreadyAnswered: ledger.isAnswered(MigrationOfferLedger.importKey)) + } + + /// `setupAutoStartApp` asks this before applying "Open at login". + func appliesLoginItemAtLaunch(directAutoStart: Bool) -> Bool { + guard Self.isEnabled else { return true } + return LaunchLoginItem.shouldApply(importOfferPending: wouldOfferImport, + containerOpensAtLogin: AppStoreSettingsImport.opensAtLogin(containerValues), + directAutoStart: directAutoStart) + } + + /// Returns true when settings were written, imported or kept on "Not now". @discardableResult func offerImportIfNeeded() -> Bool { - let container = containerValues - guard AppStoreSettingsImport.shouldOffer(containerValues: container, - directValues: directValues, - registeredDefaults: environment.registeredDefaults, - alreadyAnswered: ledger.isAnswered(MigrationOfferLedger.importKey)), - let container else { return false } + guard wouldOfferImport, let container = containerValues else { return false } let alert = NSAlert() alert.alertStyle = .informational @@ -404,7 +488,7 @@ final class AppStoreMigration { return true case .alertSecondButtonReturn: ledger.recordAnswer(MigrationOfferLedger.importKey) - return false + return !AppStoreSettingsImport.applyDecline(container, to: environment.defaults).isEmpty default: return false } @@ -439,9 +523,14 @@ final class AppStoreMigration { switch run(alert, id: "trash") { case .alertFirstButtonReturn: ledger.recordAnswer(MigrationOfferLedger.trashKey) - NSWorkspace.shared.recycle(copies) { _, error in - if let error { NSLog("AppStoreMigration: recycle failed: \(error.localizedDescription)") } - DispatchQueue.main.async(execute: next) + NSWorkspace.shared.recycle(copies) { [self] _, error in + DispatchQueue.main.async { [self] in + if let error { + NSLog("AppStoreMigration: recycle failed: \(error.localizedDescription)") + explainTrashFailure(error, copies: copies) + } + next() + } } case .alertSecondButtonReturn: ledger.recordAnswer(MigrationOfferLedger.trashKey) @@ -451,6 +540,18 @@ final class AppStoreMigration { } } + /// The answer is already recorded, so this is the only time the user hears + /// that the App Store copy is still there. + private func explainTrashFailure(_ error: Error, copies: [URL]) { + let alert = NSAlert() + alert.alertStyle = .warning + alert.messageText = "Hidden Bar could not move the App Store copy to the Trash".localized + alert.informativeText = error.localizedDescription + "\n\n" + + String(format: "Drag it to the Trash in Finder instead:\n%@".localized, copies.map(\.path).joined(separator: "\n")) + alert.addButton(withTitle: "OK".localized) + run(alert, id: "trashfailed") + } + // MARK: Move into /Applications var movePlan: MoveToApplications.Plan { movePlan(ignoringAnswer: false) } @@ -569,7 +670,7 @@ final class AppStoreMigration { #if DEBUG /// Test hook: launch with `-debugAnswerAlerts "switch=first,move=second"`. - /// Each named alert (switch, import, trash, move, explain, error) gets that + /// Each named alert (switch, import, trash, trashfailed, move, explain, error) gets that /// answer after 3 seconds, time for a screenshot; any alert not named is /// aborted, which records nothing and moves nothing. private static let debugAnswers: [String: String]? = AppDefaults.store.string(forKey: "debugAnswerAlerts").map { diff --git a/hidden/Features/MacOS27Notice/MacOS27Notice.swift b/hidden/Features/MacOS27Notice/MacOS27Notice.swift index c88f56c1..61addca2 100644 --- a/hidden/Features/MacOS27Notice/MacOS27Notice.swift +++ b/hidden/Features/MacOS27Notice/MacOS27Notice.swift @@ -55,6 +55,7 @@ final class MacOS27Notice: NSObject { static let shared = MacOS27Notice() static let pageURL = URL(string: "https://github.com/consolelabs/hidden")! static let brewCommand = "brew install --cask hiddenbar" + static let brewFirstStep = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it." #if DEBUG /// Launch with `-forceMacOS27Notice YES` to take the macOS 27 path on any @@ -141,7 +142,11 @@ final class MacOS27Notice: NSObject { let command = NSTextField(labelWithString: brewCommand) command.font = .monospacedSystemFont(ofSize: NSFont.systemFontSize, weight: .regular) command.isSelectable = true - let stack = NSStackView(views: [label, command]) + // Homebrew refuses while this copy sits in /Applications. + let first = NSTextField(wrappingLabelWithString: brewFirstStep.localized) + first.font = .systemFont(ofSize: NSFont.smallSystemFontSize) + first.preferredMaxLayoutWidth = 300 + let stack = NSStackView(views: [label, command, first]) stack.orientation = .vertical stack.alignment = .leading stack.spacing = 4 diff --git a/hidden/Features/Preferences/PreferencesViewController.swift b/hidden/Features/Preferences/PreferencesViewController.swift index cf64d38d..8c99a90c 100644 --- a/hidden/Features/Preferences/PreferencesViewController.swift +++ b/hidden/Features/Preferences/PreferencesViewController.swift @@ -218,7 +218,7 @@ class PreferencesViewController: SettingsPaneController { private func refreshStatus() { let status = context.status - let folder = FileManager.default.displayName(atPath: Bundle.main.bundleURL.deletingLastPathComponent().path) + let folder = RunningFolder.displayName(of: Bundle.main.bundleURL) statusCard.configure(status, shortcut: Preferences.globalKey?.description, runningFolder: folder) let alwaysHidden = context.previewAlwaysHidden ?? Preferences.alwaysHiddenSectionEnabled diff --git a/hidden/Features/Settings/SettingsModel.swift b/hidden/Features/Settings/SettingsModel.swift index a4013b88..05281532 100644 --- a/hidden/Features/Settings/SettingsModel.swift +++ b/hidden/Features/Settings/SettingsModel.swift @@ -79,6 +79,22 @@ enum SettingsStatus: Equatable { var isWarning: Bool { self != .working } } +/// The folder the status card names when Hidden Bar runs outside /Applications. +enum RunningFolder { + /// Gatekeeper's translocation and the system temp folders have random + /// names ("d.", "T"); the card says "a temporary folder" for those. + static func isTemporary(_ bundleURL: URL) -> Bool { + let path = bundleURL.standardizedFileURL.path + return path.contains("/AppTranslocation/") + || ["/private/var/folders/", "/var/folders/", "/private/tmp/", "/tmp/"].contains { path.hasPrefix($0) } + } + + static func displayName(of bundleURL: URL, + displayName: (String) -> String = { FileManager.default.displayName(atPath: $0) }) -> String { + isTemporary(bundleURL) ? "a temporary folder".localized : displayName(bundleURL.deletingLastPathComponent().path) + } +} + /// What marks the edge between hidden and shown icons in the preview strip. enum PreviewBoundary: Equatable { /// macOS 27 direct build: the arrow itself. diff --git a/hidden/ar.lproj/Localizable.strings b/hidden/ar.lproj/Localizable.strings index 77d6ec62..270eaccc 100644 --- a/hidden/ar.lproj/Localizable.strings +++ b/hidden/ar.lproj/Localizable.strings @@ -262,3 +262,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "يعمل Hidden Bar من App Store. هل تريد إنهاءه والتبديل إلى هذا الإصدار؟"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "يعمل Hidden Bar %@. هل تريد إنهاءه والتبديل إلى هذا الإصدار؟"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise."; +"Quit and Switch" = "إنهاء والتبديل"; +"Cancel" = "إلغاء"; +"Import your settings from the App Store version?" = "هل تريد استيراد إعداداتك من إصدار App Store؟"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up."; +"Import" = "استيراد"; +"Not now" = "ليس الآن"; +"Move the App Store copy to the Trash?" = "هل تريد نقل نسخة App Store إلى سلة المحذوفات؟"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "إصدار App Store من Hidden Bar لا يزال مثبتًا:\n%@\nيمكنك استعادته من سلة المحذوفات لاحقًا."; +"Move to Trash" = "نقل إلى سلة المحذوفات"; +"Hidden Bar could not move the App Store copy to the Trash" = "تعذّر على Hidden Bar نقل نسخة App Store إلى سلة المحذوفات"; +"Drag it to the Trash in Finder instead:\n%@" = "اسحبها بدلًا من ذلك إلى سلة المحذوفات في Finder:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "لا يمكن لهذا الحساب إضافة تطبيقات إلى /Applications. اطلب من مسؤول سحب Hidden Bar إلى /Applications ثم افتحه من هناك."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch."; +"Move Hidden Bar to the Applications folder?" = "هل تريد نقل Hidden Bar إلى مجلد التطبيقات؟"; +"Move to Applications" = "نقل إلى التطبيقات"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar can hide icons only from /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "لا يمكن لـ Hidden Bar إخفاء الأيقونات على macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27."; +"Open github.com/consolelabs/hidden" = "فتح github.com/consolelabs/hidden"; +"Don't show again" = "عدم الإظهار مرة أخرى"; +"Hidden Bar on macOS 27" = "Hidden Bar على macOS 27"; +"macOS 27: get the working version..." = "macOS 27: get the working version..."; +"Or install it with Homebrew:" = "أو ثبّته باستخدام Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it."; diff --git a/hidden/de.lproj/Localizable.strings b/hidden/de.lproj/Localizable.strings index ac14dd01..55124e02 100644 --- a/hidden/de.lproj/Localizable.strings +++ b/hidden/de.lproj/Localizable.strings @@ -261,3 +261,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar aus dem App Store läuft gerade. Beenden und zu dieser Version wechseln?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Hidden Bar kann nur einmal gleichzeitig laufen. Die App-Store-Version bleibt installiert, bis du etwas anderes wählst."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ läuft gerade. Beenden und zu dieser Version wechseln?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Hidden Bar kann nur einmal gleichzeitig laufen. Die ältere Version bleibt, wo sie ist, bis du etwas anderes wählst."; +"Quit and Switch" = "Beenden und wechseln"; +"Cancel" = "Abbrechen"; +"Import your settings from the App Store version?" = "Einstellungen aus der App-Store-Version importieren?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar aus dem App Store speichert seine Einstellungen an einem anderen Ort. Importiere sie, damit diese Version so startet, wie du sie eingerichtet hast."; +"Import" = "Importieren"; +"Not now" = "Nicht jetzt"; +"Move the App Store copy to the Trash?" = "Die App-Store-Kopie in den Papierkorb legen?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "Die App-Store-Version von Hidden Bar ist noch installiert:\n%@\nDu kannst sie später aus dem Papierkorb wiederherstellen."; +"Move to Trash" = "In den Papierkorb legen"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar konnte die App-Store-Kopie nicht in den Papierkorb legen"; +"Drag it to the Trash in Finder instead:\n%@" = "Ziehe sie stattdessen im Finder in den Papierkorb:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "Die App-Store-Kopie befindet sich in /Applications. Beende Hidden Bar, lege /Applications/Hidden Bar.app in den Papierkorb, ziehe diese Kopie in den Ordner „Programme“ und öffne sie dann von dort."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Dieses Konto kann keine Apps zu /Applications hinzufügen. Bitte einen Administrator, Hidden Bar in /Applications zu ziehen, und öffne die App dann von dort."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar läuft außerhalb des Ordners „Programme“. Die bereits dort vorhandene Kopie wird in den Papierkorb gelegt, danach startet Hidden Bar von dort neu."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar läuft außerhalb des Ordners „Programme“. Bewege die App dorthin, damit sie auch nach dem Leeren von „Downloads“ weiter funktioniert, und starte sie dann neu."; +"Move Hidden Bar to the Applications folder?" = "Hidden Bar in den Ordner „Programme“ bewegen?"; +"Move to Applications" = "In „Programme“ bewegen"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar kann Symbole nur aus /Applications ausblenden"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar kann unter macOS 27 keine Symbole ausblenden"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 erlaubt App-Store-Apps nicht mehr, Symbole in der Menüleiste auszublenden. Hidden Bar von github.com/consolelabs/hidden (kostenlos, Open Source) funktioniert unter macOS 27."; +"Open github.com/consolelabs/hidden" = "github.com/consolelabs/hidden öffnen"; +"Don't show again" = "Nicht erneut zeigen"; +"Hidden Bar on macOS 27" = "Hidden Bar unter macOS 27"; +"macOS 27: get the working version..." = "macOS 27: Funktionierende Version laden..."; +"Or install it with Homebrew:" = "Oder installiere sie mit Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Beende zuerst diese App-Store-Version und lege sie in den Papierkorb. Homebrew installiert nicht darüber."; diff --git a/hidden/en.lproj/Localizable.strings b/hidden/en.lproj/Localizable.strings index 56655926..d6a437b2 100644 --- a/hidden/en.lproj/Localizable.strings +++ b/hidden/en.lproj/Localizable.strings @@ -298,3 +298,9 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ is running. Quit it and switch to this version?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise."; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar could not move the App Store copy to the Trash"; +"Drag it to the Trash in Finder instead:\n%@" = "Drag it to the Trash in Finder instead:\n%@"; +"a temporary folder" = "a temporary folder"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it."; diff --git a/hidden/fr.lproj/Localizable.strings b/hidden/fr.lproj/Localizable.strings index c399c677..830b928c 100644 --- a/hidden/fr.lproj/Localizable.strings +++ b/hidden/fr.lproj/Localizable.strings @@ -263,3 +263,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar de l’App Store est en cours d’exécution. Le quitter et passer à cette version ?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Une seule instance de Hidden Bar peut être ouverte à la fois. La version de l’App Store reste installée tant que vous n’en décidez pas autrement."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ est en cours d’exécution. Le quitter et passer à cette version ?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Une seule instance de Hidden Bar peut être ouverte à la fois. L’ancienne version reste où elle est tant que vous n’en décidez pas autrement."; +"Quit and Switch" = "Quitter et basculer"; +"Cancel" = "Annuler"; +"Import your settings from the App Store version?" = "Importer vos réglages depuis la version de l’App Store ?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar de l’App Store conserve ses réglages à un autre endroit. Importez-les pour que cette version démarre avec votre configuration."; +"Import" = "Importer"; +"Not now" = "Pas maintenant"; +"Move the App Store copy to the Trash?" = "Placer la copie de l’App Store dans la Corbeille ?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "La version de l’App Store de Hidden Bar est toujours installée :\n%@\nVous pourrez la restaurer depuis la Corbeille plus tard."; +"Move to Trash" = "Placer dans la Corbeille"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar n’a pas pu placer la copie de l’App Store dans la Corbeille"; +"Drag it to the Trash in Finder instead:\n%@" = "Faites-la plutôt glisser vers la Corbeille dans le Finder :\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "La copie de l’App Store se trouve dans /Applications. Quittez Hidden Bar, placez /Applications/Hidden Bar.app dans la Corbeille, faites glisser cette copie dans Applications, puis ouvrez-la depuis cet emplacement."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Ce compte ne peut pas ajouter d’apps dans /Applications. Demandez à un administrateur de faire glisser Hidden Bar dans /Applications, puis ouvrez-la depuis cet emplacement."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar est ouverte hors du dossier Applications. La copie déjà présente dans Applications est placée dans la Corbeille, puis Hidden Bar se relance depuis cet emplacement."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar est ouverte hors du dossier Applications. Déplacez-la dans ce dossier pour qu’elle continue de fonctionner après avoir vidé Téléchargements, puis relancez-la."; +"Move Hidden Bar to the Applications folder?" = "Déplacer Hidden Bar dans le dossier Applications ?"; +"Move to Applications" = "Déplacer vers Applications"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar ne peut masquer les icônes que depuis /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar ne peut pas masquer les icônes sous macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 n’autorise plus les apps de l’App Store à masquer les icônes de la barre des menus. Hidden Bar depuis github.com/consolelabs/hidden (gratuit, open source) fonctionne sous macOS 27."; +"Open github.com/consolelabs/hidden" = "Ouvrir github.com/consolelabs/hidden"; +"Don't show again" = "Ne plus afficher"; +"Hidden Bar on macOS 27" = "Hidden Bar sous macOS 27"; +"macOS 27: get the working version..." = "macOS 27 : obtenir la version compatible..."; +"Or install it with Homebrew:" = "Ou installez-la avec Homebrew :"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quittez d’abord cette version de l’App Store et placez-la dans la Corbeille. Homebrew ne s’installe pas par-dessus."; diff --git a/hidden/hr.lproj/Localizable.strings b/hidden/hr.lproj/Localizable.strings index 96aba4ed..3e41575a 100644 --- a/hidden/hr.lproj/Localizable.strings +++ b/hidden/hr.lproj/Localizable.strings @@ -261,3 +261,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar from the App Store is running. Quit it and switch to this version?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ je pokrenut. Zatvoriti ga i prijeći na ovu verziju?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise."; +"Quit and Switch" = "Zatvori i prebaci"; +"Cancel" = "Odustani"; +"Import your settings from the App Store version?" = "Import your settings from the App Store version?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up."; +"Import" = "Uvezi"; +"Not now" = "Ne sada"; +"Move the App Store copy to the Trash?" = "Premjestiti App Store kopiju u smeće?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later."; +"Move to Trash" = "Premjesti u smeće"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar could not move the App Store copy to the Trash"; +"Drag it to the Trash in Finder instead:\n%@" = "Umjesto toga povuci je u smeće u Finderu:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "App Store kopija nalazi se u /Applications. Zatvori Hidden Bar, premjesti /Applications/Hidden Bar.app u smeće, povuci ovu kopiju u mapu Aplikacije, a zatim je otvori odande."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Ovaj račun ne može dodavati aplikacije u /Applications. Zamoli administratora da povuče Hidden Bar u /Applications, a zatim ga otvori odande."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch."; +"Move Hidden Bar to the Applications folder?" = "Premjestiti Hidden Bar u mapu Aplikacije?"; +"Move to Applications" = "Premjesti u Aplikacije"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar može sakriti ikone samo iz /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar ne može sakriti ikone na macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27."; +"Open github.com/consolelabs/hidden" = "Otvori github.com/consolelabs/hidden"; +"Don't show again" = "Ne prikazuj ponovno"; +"Hidden Bar on macOS 27" = "Hidden Bar na macOS 27"; +"macOS 27: get the working version..." = "macOS 27: preuzmi verziju koja radi..."; +"Or install it with Homebrew:" = "Or install it with Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it."; diff --git a/hidden/it.lproj/Localizable.strings b/hidden/it.lproj/Localizable.strings index 5cefbc85..40e2891f 100644 --- a/hidden/it.lproj/Localizable.strings +++ b/hidden/it.lproj/Localizable.strings @@ -263,3 +263,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "È in esecuzione Hidden Bar dell’App Store. Vuoi chiuderla e passare a questa versione?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Può essere aperta una sola copia di Hidden Bar alla volta. La versione dell’App Store resta installata finché non decidi diversamente."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "È in esecuzione Hidden Bar %@. Vuoi chiuderla e passare a questa versione?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Può essere aperta una sola copia di Hidden Bar alla volta. La versione precedente resta dov’è finché non decidi diversamente."; +"Quit and Switch" = "Chiudi e passa"; +"Cancel" = "Annulla"; +"Import your settings from the App Store version?" = "Vuoi importare le impostazioni dalla versione dell’App Store?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar dell’App Store conserva le impostazioni in un’altra posizione. Importale così questa versione parte con la tua configurazione."; +"Import" = "Importa"; +"Not now" = "Non ora"; +"Move the App Store copy to the Trash?" = "Vuoi spostare la copia dell’App Store nel Cestino?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "La versione dell’App Store di Hidden Bar è ancora installata:\n%@\nPuoi ripristinarla più tardi dal Cestino."; +"Move to Trash" = "Sposta nel Cestino"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar non è riuscita a spostare la copia dell’App Store nel Cestino"; +"Drag it to the Trash in Finder instead:\n%@" = "Trascinala invece nel Cestino dal Finder:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "La copia dell’App Store è in /Applications. Chiudi Hidden Bar, sposta /Applications/Hidden Bar.app nel Cestino, trascina questa copia in Applicazioni e aprila da lì."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Questo account non può aggiungere app a /Applications. Chiedi a un amministratore di trascinare Hidden Bar in /Applications, poi aprila da lì."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar è in esecuzione da fuori della cartella Applicazioni. La copia già presente in Applicazioni viene spostata nel Cestino, poi Hidden Bar si riapre da lì."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar è in esecuzione da fuori della cartella Applicazioni. Spostala lì affinché continui a funzionare dopo aver svuotato Download, poi riaprila."; +"Move Hidden Bar to the Applications folder?" = "Vuoi spostare Hidden Bar nella cartella Applicazioni?"; +"Move to Applications" = "Sposta in Applicazioni"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar può nascondere le icone solo da /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar non può nascondere le icone su macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 non permette più alle app dell’App Store di nascondere le icone nella barra dei menu. Hidden Bar da github.com/consolelabs/hidden (gratuita, open source) funziona su macOS 27."; +"Open github.com/consolelabs/hidden" = "Apri github.com/consolelabs/hidden"; +"Don't show again" = "Non mostrare più"; +"Hidden Bar on macOS 27" = "Hidden Bar su macOS 27"; +"macOS 27: get the working version..." = "macOS 27: scarica la versione funzionante..."; +"Or install it with Homebrew:" = "Oppure installala con Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Prima chiudi questa versione dell’App Store e spostala nel Cestino. Homebrew non si installa sopra di essa."; diff --git a/hidden/ja.lproj/Localizable.strings b/hidden/ja.lproj/Localizable.strings index 780be8a7..ba67088a 100644 --- a/hidden/ja.lproj/Localizable.strings +++ b/hidden/ja.lproj/Localizable.strings @@ -260,3 +260,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "App Store 版の Hidden Bar が実行中です。終了してこのバージョンに切り替えますか?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Hidden Bar は同時に 1 つしか実行できません。ほかを選ぶまで、App Store 版はインストールされたままです。"; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ が実行中です。終了してこのバージョンに切り替えますか?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Hidden Bar は同時に 1 つしか実行できません。ほかを選ぶまで、古いバージョンはそのままの場所に残ります。"; +"Quit and Switch" = "終了して切り替える"; +"Cancel" = "キャンセル"; +"Import your settings from the App Store version?" = "App Store 版から設定を読み込みますか?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "App Store 版の Hidden Bar は設定を別の場所に保存しています。このバージョンを設定済みの状態で起動するには、読み込んでください。"; +"Import" = "読み込む"; +"Not now" = "今はしない"; +"Move the App Store copy to the Trash?" = "App Store 版のコピーをゴミ箱に入れますか?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "App Store 版の Hidden Bar はまだインストールされています:\n%@\n後でゴミ箱から元に戻せます。"; +"Move to Trash" = "ゴミ箱に入れる"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar は App Store 版のコピーをゴミ箱に入れられませんでした"; +"Drag it to the Trash in Finder instead:\n%@" = "代わりに Finder でゴミ箱にドラッグしてください:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "App Store 版のコピーは /Applications にあります。Hidden Bar を終了し、/Applications/Hidden Bar.app をゴミ箱に入れ、このコピーを「アプリケーション」フォルダにドラッグしてから、そこで開いてください。"; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "このアカウントでは /Applications にアプリを追加できません。管理者に Hidden Bar を /Applications にドラッグしてもらい、そこから開いてください。"; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar は「アプリケーション」フォルダの外から実行されています。「アプリケーション」にすでにあるコピーはゴミ箱に入り、そこから Hidden Bar が再起動します。"; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar は「アプリケーション」フォルダの外から実行されています。「ダウンロード」を空にしても動作し続けるよう、「アプリケーション」に移動してから再起動してください。"; +"Move Hidden Bar to the Applications folder?" = "Hidden Bar を「アプリケーション」フォルダに移動しますか?"; +"Move to Applications" = "「アプリケーション」に移動"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar がアイコンを非表示にできるのは /Applications からのみです"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "macOS 27 では Hidden Bar でアイコンを非表示にできません"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 では、App Store 版アプリがメニューバーのアイコンを非表示にすることはできなくなりました。github.com/consolelabs/hidden の Hidden Bar (無料のオープンソース) は macOS 27 で動作します。"; +"Open github.com/consolelabs/hidden" = "github.com/consolelabs/hidden を開く"; +"Don't show again" = "今後は表示しない"; +"Hidden Bar on macOS 27" = "macOS 27 での Hidden Bar"; +"macOS 27: get the working version..." = "macOS 27: get the working version..."; +"Or install it with Homebrew:" = "または Homebrew でインストール:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "先にこの App Store 版を終了し、ゴミ箱に入れてください。Homebrew では上書きインストールできません。"; diff --git a/hidden/pl.lproj/Localizable.strings b/hidden/pl.lproj/Localizable.strings index dd643e41..d05e760a 100644 --- a/hidden/pl.lproj/Localizable.strings +++ b/hidden/pl.lproj/Localizable.strings @@ -261,3 +261,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar z App Store jest uruchomiony. Zakończyć go i przełączyć na tę wersję?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Naraz może działać tylko jeden Hidden Bar. Wersja z App Store pozostaje zainstalowana, dopóki nie zdecydujesz inaczej."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ jest uruchomiony. Zakończyć go i przełączyć na tę wersję?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Naraz może działać tylko jeden Hidden Bar. Starsza wersja pozostaje na swoim miejscu, dopóki nie zdecydujesz inaczej."; +"Quit and Switch" = "Zakończ i przełącz"; +"Cancel" = "Anuluj"; +"Import your settings from the App Store version?" = "Zaimportować ustawienia z wersji z App Store?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up."; +"Import" = "Importuj"; +"Not now" = "Nie teraz"; +"Move the App Store copy to the Trash?" = "Przenieść kopię z App Store do kosza?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "Wersja Hidden Bar z App Store jest nadal zainstalowana:\n%@\nMożesz ją później przywrócić z kosza."; +"Move to Trash" = "Przenieś do kosza"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar nie mógł przenieść kopii z App Store do kosza"; +"Drag it to the Trash in Finder instead:\n%@" = "Zamiast tego przeciągnij ją do kosza w Finderze:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "Kopia z App Store znajduje się w /Applications. Zakończ Hidden Bar, przenieś /Applications/Hidden Bar.app do kosza, przeciągnij tę kopię do folderu Programy, a następnie otwórz ją stamtąd."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "To konto nie może dodawać aplikacji do /Applications. Poproś administratora o przeciągnięcie Hidden Bar do /Applications, a następnie otwórz go stamtąd."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch."; +"Move Hidden Bar to the Applications folder?" = "Przenieść Hidden Bar do folderu Programy?"; +"Move to Applications" = "Move to Applications"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar może ukrywać ikony tylko z folderu /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar nie może ukrywać ikon w macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 nie pozwala już aplikacjom z App Store ukrywać ikon na pasku menu. Hidden Bar z github.com/consolelabs/hidden (bezpłatny, open source) działa w macOS 27."; +"Open github.com/consolelabs/hidden" = "Otwórz github.com/consolelabs/hidden"; +"Don't show again" = "Nie pokazuj ponownie"; +"Hidden Bar on macOS 27" = "Hidden Bar w macOS 27"; +"macOS 27: get the working version..." = "macOS 27: pobierz działającą wersję..."; +"Or install it with Homebrew:" = "Lub zainstaluj przez Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it."; diff --git a/hidden/tr.lproj/Localizable.strings b/hidden/tr.lproj/Localizable.strings index 875c02a3..2af86dd8 100644 --- a/hidden/tr.lproj/Localizable.strings +++ b/hidden/tr.lproj/Localizable.strings @@ -262,3 +262,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar from the App Store is running. Quit it and switch to this version?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Aynı anda yalnızca bir Hidden Bar çalışabilir. Siz aksini seçene kadar App Store sürümü yüklü kalır."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ çalışıyor. Çıkıp bu sürüme geçilsin mi?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Aynı anda yalnızca bir Hidden Bar çalışabilir. Siz aksini seçene kadar eski sürüm olduğu yerde kalır."; +"Quit and Switch" = "Çık ve Geç"; +"Cancel" = "Vazgeç"; +"Import your settings from the App Store version?" = "Ayarlarınız App Store sürümünden içe aktarılsın mı?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "App Store’daki Hidden Bar ayarlarını ayrı bir yerde tutar. Bu sürümün sizin kurduğunuz gibi başlaması için bunları içe aktarın."; +"Import" = "İçe Aktar"; +"Not now" = "Şimdi Değil"; +"Move the App Store copy to the Trash?" = "App Store kopyası Çöp Sepeti’ne taşınsın mı?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "Hidden Bar’ın App Store sürümü hâlâ yüklü:\n%@\nDaha sonra Çöp Sepeti’nden geri yükleyebilirsiniz."; +"Move to Trash" = "Çöp Sepeti’ne Taşı"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar, App Store kopyasını Çöp Sepeti’ne taşıyamadı"; +"Drag it to the Trash in Finder instead:\n%@" = "Bunun yerine Finder’da Çöp Sepeti’ne sürükleyin:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "App Store kopyası /Applications içinde. Hidden Bar’dan çıkın, /Applications/Hidden Bar.app dosyasını Çöp Sepeti’ne taşıyın, bu kopyayı Uygulamalar klasörüne sürükleyin, sonra oradan açın."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Bu hesap /Applications klasörüne uygulama ekleyemiyor. Bir yöneticiden Hidden Bar’ı /Applications klasörüne sürüklemesini isteyin, sonra oradan açın."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch."; +"Move Hidden Bar to the Applications folder?" = "Hidden Bar Uygulamalar klasörüne taşınsın mı?"; +"Move to Applications" = "Uygulamalar’a Taşı"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar simgeleri yalnızca /Applications içinden gizleyebilir"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar macOS 27’de simgeleri gizleyemiyor"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27."; +"Open github.com/consolelabs/hidden" = "github.com/consolelabs/hidden adresini aç"; +"Don't show again" = "Bir Daha Gösterme"; +"Hidden Bar on macOS 27" = "macOS 27’de Hidden Bar"; +"macOS 27: get the working version..." = "macOS 27: çalışan sürümü edinin..."; +"Or install it with Homebrew:" = "Veya Homebrew ile yükleyin:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it."; diff --git a/hidden/uk.lproj/Localizable.strings b/hidden/uk.lproj/Localizable.strings index f7b44755..f2c2b8d3 100644 --- a/hidden/uk.lproj/Localizable.strings +++ b/hidden/uk.lproj/Localizable.strings @@ -261,3 +261,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar from the App Store is running. Quit it and switch to this version?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ запущено. Вийти з нього й перейти на цю версію?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Одночасно може працювати лише один Hidden Bar. Старіша версія залишається на місці, доки ви не вирішите інакше."; +"Quit and Switch" = "Вийти й перейти"; +"Cancel" = "Скасувати"; +"Import your settings from the App Store version?" = "Імпортувати налаштування з версії з App Store?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up."; +"Import" = "Імпортувати"; +"Not now" = "Не зараз"; +"Move the App Store copy to the Trash?" = "Перемістити копію з App Store до Смітника?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "Версія Hidden Bar з App Store усе ще встановлена:\n%@\nПізніше її можна відновити зі Смітника."; +"Move to Trash" = "Перемістити до Смітника"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar не вдалося перемістити копію з App Store до Смітника"; +"Drag it to the Trash in Finder instead:\n%@" = "Натомість перетягніть її до Смітника у Finder:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Цей обліковий запис не може додавати програми до /Applications. Попросіть адміністратора перетягнути Hidden Bar до /Applications, а потім відкрийте його звідти."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch."; +"Move Hidden Bar to the Applications folder?" = "Перемістити Hidden Bar до папки «Програми»?"; +"Move to Applications" = "Move to Applications"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar може приховувати піктограми лише з /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar не може приховувати піктограми в macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27."; +"Open github.com/consolelabs/hidden" = "Відкрити github.com/consolelabs/hidden"; +"Don't show again" = "Більше не показувати"; +"Hidden Bar on macOS 27" = "Hidden Bar у macOS 27"; +"macOS 27: get the working version..." = "macOS 27: отримати робочу версію..."; +"Or install it with Homebrew:" = "Або встановіть через Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Quit this App Store version and move it to the Trash first. Homebrew does not install over it."; diff --git a/hidden/vi.lproj/Localizable.strings b/hidden/vi.lproj/Localizable.strings index 5d14e209..119e8215 100644 --- a/hidden/vi.lproj/Localizable.strings +++ b/hidden/vi.lproj/Localizable.strings @@ -261,3 +261,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "Hidden Bar từ App Store đang chạy. Thoát nó và chuyển sang phiên bản này?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "Chỉ một Hidden Bar có thể chạy tại một thời điểm. Phiên bản App Store vẫn được cài đặt cho đến khi bạn chọn khác."; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ đang chạy. Thoát nó và chuyển sang phiên bản này?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "Chỉ một Hidden Bar có thể chạy tại một thời điểm. Phiên bản cũ hơn vẫn giữ nguyên vị trí cho đến khi bạn chọn khác."; +"Quit and Switch" = "Thoát và chuyển"; +"Cancel" = "Hủy"; +"Import your settings from the App Store version?" = "Nhập cài đặt từ phiên bản App Store?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "Hidden Bar từ App Store lưu cài đặt ở một nơi riêng. Hãy nhập chúng để phiên bản này khởi động đúng như bạn đã thiết lập."; +"Import" = "Nhập"; +"Not now" = "Không phải bây giờ"; +"Move the App Store copy to the Trash?" = "Chuyển bản sao App Store vào Thùng rác?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "Phiên bản App Store của Hidden Bar vẫn còn được cài đặt:\n%@\nBạn có thể khôi phục nó từ Thùng rác sau."; +"Move to Trash" = "Chuyển vào Thùng rác"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar không thể chuyển bản sao App Store vào Thùng rác"; +"Drag it to the Trash in Finder instead:\n%@" = "Hãy kéo nó vào Thùng rác trong Finder:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "Bản sao App Store nằm trong /Applications. Hãy thoát Hidden Bar, chuyển /Applications/Hidden Bar.app vào Thùng rác, kéo bản sao này vào thư mục Ứng dụng, rồi mở nó từ đó."; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "Tài khoản này không thể thêm ứng dụng vào /Applications. Hãy nhờ quản trị viên kéo Hidden Bar vào /Applications, rồi mở nó từ đó."; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar đang chạy từ bên ngoài thư mục Ứng dụng. Bản sao đã có trong Ứng dụng sẽ được chuyển vào Thùng rác, sau đó Hidden Bar khởi chạy lại từ đó."; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch."; +"Move Hidden Bar to the Applications folder?" = "Chuyển Hidden Bar vào thư mục Ứng dụng?"; +"Move to Applications" = "Chuyển vào Ứng dụng"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar chỉ có thể ẩn biểu tượng khi chạy từ /Applications"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar không thể ẩn biểu tượng trên macOS 27"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 không còn cho phép ứng dụng App Store ẩn biểu tượng trên thanh menu. Hidden Bar từ github.com/consolelabs/hidden (miễn phí, mã nguồn mở) hoạt động trên macOS 27."; +"Open github.com/consolelabs/hidden" = "Mở github.com/consolelabs/hidden"; +"Don't show again" = "Không hiển thị lại"; +"Hidden Bar on macOS 27" = "Hidden Bar trên macOS 27"; +"macOS 27: get the working version..." = "macOS 27: tải phiên bản hoạt động được..."; +"Or install it with Homebrew:" = "Hoặc cài bằng Homebrew:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "Hãy thoát phiên bản App Store này và chuyển nó vào Thùng rác trước. Homebrew không cài đè lên nó."; diff --git a/hidden/zh-Hans.lproj/Localizable.strings b/hidden/zh-Hans.lproj/Localizable.strings index c3f24405..642d8a6b 100644 --- a/hidden/zh-Hans.lproj/Localizable.strings +++ b/hidden/zh-Hans.lproj/Localizable.strings @@ -263,3 +263,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "App Store 版 Hidden Bar 正在运行。要退出它并切换到此版本吗?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "同一时间只能运行一个 Hidden Bar。在您另作选择之前,App Store 版会保持安装。"; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ 正在运行。要退出它并切换到此版本吗?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "同一时间只能运行一个 Hidden Bar。在您另作选择之前,旧版本会保留在原处。"; +"Quit and Switch" = "退出并切换"; +"Cancel" = "取消"; +"Import your settings from the App Store version?" = "要从 App Store 版导入您的设置吗?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "App Store 版 Hidden Bar 将设置保存在另一个位置。导入后,此版本将以您设置好的方式启动。"; +"Import" = "导入"; +"Not now" = "暂不"; +"Move the App Store copy to the Trash?" = "要将 App Store 版副本移到废纸篓吗?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "App Store 版 Hidden Bar 仍然安装着:\n%@\n您之后可以从废纸篓中将其恢复。"; +"Move to Trash" = "移到废纸篓"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar 无法将 App Store 版副本移到废纸篓"; +"Drag it to the Trash in Finder instead:\n%@" = "请改为在 Finder 中将其拖到废纸篓:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "App Store 版副本位于 /Applications。请退出 Hidden Bar,将 /Applications/Hidden Bar.app 移到废纸篓,把此副本拖到“应用程序”文件夹,然后从那里打开。"; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "此账户无法向 /Applications 添加 App。请让管理员将 Hidden Bar 拖到 /Applications,然后从那里打开。"; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar 正在“应用程序”文件夹之外运行。“应用程序”中已有的副本会被移到废纸篓,然后 Hidden Bar 将从那里重新启动。"; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar 正在“应用程序”文件夹之外运行。请将其移到“应用程序”,这样清空“下载”后它仍能正常使用,然后重新启动。"; +"Move Hidden Bar to the Applications folder?" = "要将 Hidden Bar 移到“应用程序”文件夹吗?"; +"Move to Applications" = "移到“应用程序”"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar 只能在 /Applications 中隐藏图标"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar 无法在 macOS 27 上隐藏图标"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 不再允许 App Store 应用隐藏菜单栏图标。github.com/consolelabs/hidden 上的 Hidden Bar(免费、开源)可在 macOS 27 上使用。"; +"Open github.com/consolelabs/hidden" = "打开 github.com/consolelabs/hidden"; +"Don't show again" = "不再显示"; +"Hidden Bar on macOS 27" = "macOS 27 上的 Hidden Bar"; +"macOS 27: get the working version..." = "macOS 27:获取可用版本..."; +"Or install it with Homebrew:" = "或使用 Homebrew 安装:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "请先退出此 App Store 版并将其移到废纸篓。Homebrew 不能覆盖安装。"; diff --git a/hidden/zh-Hant.lproj/Localizable.strings b/hidden/zh-Hant.lproj/Localizable.strings index 21ce582c..6d5d14aa 100644 --- a/hidden/zh-Hant.lproj/Localizable.strings +++ b/hidden/zh-Hant.lproj/Localizable.strings @@ -269,3 +269,34 @@ Steps to view always hidden icons: "Show menu" = "Show menu"; "Show always-hidden icons" = "Show always-hidden icons"; "Option-right-click the arrow to open the menu." = "Option-right-click the arrow to open the menu."; +"Hidden Bar from the App Store is running. Quit it and switch to this version?" = "App Store 版的 Hidden Bar 正在執行。要結束它並切換到此版本嗎?"; +"Only one Hidden Bar can run at a time. The App Store version stays installed until you choose otherwise." = "同一時間只能執行一個 Hidden Bar。在您另作選擇之前,App Store 版會保持安裝。"; +"Hidden Bar %@ is running. Quit it and switch to this version?" = "Hidden Bar %@ 正在執行。要結束它並切換到此版本嗎?"; +"Only one Hidden Bar can run at a time. The older version stays where it is until you choose otherwise." = "同一時間只能執行一個 Hidden Bar。在您另作選擇之前,舊版本會保留在原處。"; +"Quit and Switch" = "結束並切換"; +"Cancel" = "取消"; +"Import your settings from the App Store version?" = "要從 App Store 版輸入您的設定嗎?"; +"Hidden Bar from the App Store keeps its settings in a separate place. Import them so this version starts the way you set it up." = "App Store 版的 Hidden Bar 會將設定儲存在另一個位置。輸入後,此版本會以您設定好的方式啟動。"; +"Import" = "匯入"; +"Not now" = "現在不要"; +"Move the App Store copy to the Trash?" = "要將 App Store 版拷貝移到垃圾桶嗎?"; +"The App Store version of Hidden Bar is still installed:\n%@\nYou can restore it from the Trash later." = "App Store 版的 Hidden Bar 仍然安裝著:\n%@\n您稍後可以從垃圾桶將其放回。"; +"Move to Trash" = "移到垃圾桶"; +"Hidden Bar could not move the App Store copy to the Trash" = "Hidden Bar 無法將 App Store 版拷貝移到垃圾桶"; +"Drag it to the Trash in Finder instead:\n%@" = "請改在 Finder 中將其拖到垃圾桶:\n%@"; +"The App Store copy is in /Applications. Quit Hidden Bar, move /Applications/Hidden Bar.app to the Trash, drag this copy into Applications, then open it from there." = "App Store 版拷貝位於 /Applications。請結束 Hidden Bar,將 /Applications/Hidden Bar.app 移到垃圾桶,把此拷貝拖到「應用程式」檔案夾,然後從那裡打開。"; +"This account can't add apps to /Applications. Ask an administrator to drag Hidden Bar into /Applications, then open it from there." = "此帳號無法將 App 加入 /Applications。請讓管理員將 Hidden Bar 拖到 /Applications,然後從那裡打開。"; +"Hidden Bar is running from outside Applications. The copy already in Applications goes to the Trash, then Hidden Bar relaunches from there." = "Hidden Bar 正在「應用程式」檔案夾之外執行。「應用程式」中已有的拷貝會被移到垃圾桶,然後 Hidden Bar 會從那裡重新啟動。"; +"Hidden Bar is running from outside Applications. Move it there so it keeps working after you empty Downloads, then relaunch." = "Hidden Bar 正在「應用程式」檔案夾之外執行。請將它移到「應用程式」,這樣清空「下載項目」後仍能正常使用,然後重新啟動。"; +"Move Hidden Bar to the Applications folder?" = "要將 Hidden Bar 移到「應用程式」檔案夾嗎?"; +"Move to Applications" = "移到「應用程式」"; +"Hidden Bar can hide icons only from /Applications" = "Hidden Bar 只能在 /Applications 中隱藏圖示"; +"a temporary folder" = "a temporary folder"; +"Hidden Bar cannot hide icons on macOS 27" = "Hidden Bar 無法在 macOS 27 上隱藏圖示"; +"macOS 27 no longer lets App Store apps hide menu-bar icons. Hidden Bar from github.com/consolelabs/hidden (free, open source) works on macOS 27." = "macOS 27 不再允許 App Store 的 App 隱藏選單列圖示。github.com/consolelabs/hidden 上的 Hidden Bar(免費、開放原始碼)可在 macOS 27 上使用。"; +"Open github.com/consolelabs/hidden" = "打開 github.com/consolelabs/hidden"; +"Don't show again" = "不再顯示"; +"Hidden Bar on macOS 27" = "macOS 27 上的 Hidden Bar"; +"macOS 27: get the working version..." = "macOS 27:取得可用版本..."; +"Or install it with Homebrew:" = "或使用 Homebrew 安裝:"; +"Quit this App Store version and move it to the Trash first. Homebrew does not install over it." = "請先結束此 App Store 版並將其移到垃圾桶。Homebrew 無法覆蓋安裝。";