mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Monotone-Parent: 725d535111b7fe50c90895c30ba8ecabba82cf23
Monotone-Revision: 98bcfb2e58c94bafa6dad3b3ecdee7fca7e439e1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-15T20:56:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -386,10 +386,10 @@ static BOOL uixDebugEnabled = NO;
|
||||
|
||||
/* labels */
|
||||
|
||||
- (NSString *)labelForKey:(NSString *)_str {
|
||||
- (NSString *) labelForKey: (NSString *)_str
|
||||
{
|
||||
WOResourceManager *rm;
|
||||
NSArray *languages;
|
||||
NSString *label;
|
||||
NSString *lKey, *lTable, *lVal;
|
||||
NSRange r;
|
||||
|
||||
@@ -433,12 +433,10 @@ static BOOL uixDebugEnabled = NO;
|
||||
#endif
|
||||
|
||||
/* lookup string */
|
||||
|
||||
|
||||
label = [rm stringForKey:lKey inTableNamed:lTable withDefaultValue:lVal
|
||||
languages:languages];
|
||||
|
||||
return label;
|
||||
return [rm stringForKey: lKey
|
||||
inTableNamed: lTable
|
||||
withDefaultValue: lVal
|
||||
languages: languages];
|
||||
}
|
||||
|
||||
- (NSString *)localizedNameForDayOfWeek:(unsigned)_dayOfWeek {
|
||||
|
||||
Reference in New Issue
Block a user