mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Yeah, this isn't backwards compatible with older code that uses Sparkle Few notes: * Mostly everything from *.pch has been moved out for saner dependency tracking * 10.7 compatibility has been removed out so I don't import Cocoa when I don't have to * sharedUpdaters/SUUpdater singletons has been removed out so updaters can actually be deallocated properly (and since singletons are generally horrible idea anyway) * SUUpdater doesn't have UI/cocoa/bindings/menu validation code. Its new initializer method takes a user driver (perhaps in the future I'll create another class that "binds" the UI and core)
17 lines
508 B
Objective-C
17 lines
508 B
Objective-C
//
|
|
// SULocalizations.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 2/28/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#ifndef SULocalizations_h
|
|
#define SULocalizations_h
|
|
|
|
#import "SUConstants.h"
|
|
|
|
#define SULocalizedString(key, comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", (NSBundle *__nonnull)([NSBundle bundleWithIdentifier:SUBundleIdentifier] ? [NSBundle bundleWithIdentifier:SUBundleIdentifier] : [NSBundle mainBundle]), comment)
|
|
|
|
#endif /* SULocalizations_h */
|