mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 21:07:14 +00:00
1 parent
35650227cf
commit
e79494c43c
5 files changed
+20
-21
No files matched your search
@@ -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