Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed up localization stuff for new strings and restored compatibilit…

…y with the make localizable-strings task.
  • Loading branch information...
commit 482be20c1f1a8e90565a5d573956185b0039c208 1 parent daaccd1
andym authored
6 Makefile
View
@@ -1,7 +1,7 @@
.PHONY: all localizable-strings
localizable-strings:
- rm English.lproj/Sparkle.strings || TRUE
- genstrings -o English.lproj -s SULocalizedString *.m *.h
- mv English.lproj/Localizable.strings English.lproj/Sparkle.strings
+ rm en.lproj/Sparkle.strings || TRUE
+ genstrings -o en.lproj -s SULocalizedString *.m *.h
+ mv en.lproj/Localizable.strings en.lproj/Sparkle.strings
3  SUUtilities.h
View
@@ -7,6 +7,7 @@
//
#import <Cocoa/Cocoa.h>
+#define SULocalizedString(key,comment) [SUUtilities localizedStringForKey:key withComment:comment]
@class SUUpdater, SUBundleDefaults;
@interface SUUtilities : NSObject {
@@ -34,4 +35,4 @@
NSComparisonResult SUStandardVersionComparison(NSString * versionA, NSString * versionB);
// If running make localizable-strings for genstrings, ignore the error on this line.
-NSString *SULocalizedString(NSString *key, NSString *comment);
+//NSString *SULocalizedString(NSString *key, NSString *comment);
4 SUUtilities.m
View
@@ -127,10 +127,6 @@ - (BOOL)isRunningFromDiskImage
@end
-NSString *SULocalizedString(NSString *key, NSString *comment) {
- return [SUUtilities localizedStringForKey:key withComment:comment];
-}
-
enum {
kNumberType,
kStringType,
BIN  en.lproj/Sparkle.strings
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.