mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
@@ -79,20 +79,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString *) localeCode
|
||||
{
|
||||
// WARNING : NSLocaleCode is not defined in <Foundation/NSUserDefaults.h>
|
||||
// Region subtag must be separated by a dash
|
||||
NSMutableString *s = [NSMutableString stringWithString: [locale objectForKey: @"NSLocaleCode"]];
|
||||
|
||||
[s replaceOccurrencesOfString: @"_"
|
||||
withString: @"-"
|
||||
options: 0
|
||||
range: NSMakeRange(0, [s length])];
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
- (NSArray *) monthMenuItems
|
||||
{
|
||||
static NSMutableArray *monthMenuItems = nil;
|
||||
|
||||
Reference in New Issue
Block a user