mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-14 11:21:24 +00:00
committed by
Ludovic Marcotte
parent
d82f05de75
commit
4e68ec9d52
@@ -82,7 +82,9 @@
|
||||
- (NSString *) localeCode
|
||||
{
|
||||
// WARNING : NSLocaleCode is not defined in <Foundation/NSUserDefaults.h>
|
||||
return [locale objectForKey: @"NSLocaleCode"];
|
||||
// Region subtag must be separated by a dash
|
||||
NSString *s = [locale objectForKey: @"NSLocaleCode"];
|
||||
return [s stringByReplacingOccurrencesOfString: @"_" withString: @"-"];
|
||||
}
|
||||
|
||||
- (NSArray *) monthMenuItems
|
||||
|
||||
Reference in New Issue
Block a user