mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
Fixed a translation bug in MessageListView
Monotone-Parent: 4b5ba0c0b794837c553c64a3c5e55717bd636b7b Monotone-Revision: a1a0f6f62f6d3e023e2fadcfe803aad3abadef82 Monotone-Author: crobert@inverse.ca Monotone-Date: 2008-10-08T18:38:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#import <SOGoUI/UIxComponent.h>
|
||||
|
||||
@class NSDictionary;
|
||||
@class EOQualifier;
|
||||
@class SOGoDateFormatter;
|
||||
|
||||
@@ -37,6 +38,7 @@
|
||||
SOGoDateFormatter *dateFormatter;
|
||||
NSTimeZone *userTimeZone;
|
||||
int folderType;
|
||||
NSDictionary *currentColumn;
|
||||
}
|
||||
|
||||
- (NSString *) defaultSortKey;
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
ASSIGN (dateFormatter, [user dateFormatterInContext: context]);
|
||||
ASSIGN (userTimeZone, [user timeZone]);
|
||||
folderType = 0;
|
||||
currentColumn = nil;
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -81,6 +82,7 @@
|
||||
[message release];
|
||||
[dateFormatter release];
|
||||
[userTimeZone release];
|
||||
[currentColumn release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@@ -735,6 +737,11 @@
|
||||
return columnsMetaData;
|
||||
}
|
||||
|
||||
- (NSString *) columnTitle
|
||||
{
|
||||
return [self labelForKey: [currentColumn objectForKey: @"value"]];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/* UIxMailListView */
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<var:if condition="currentColumn.value" const:value="Invisible" const:negate="YES">
|
||||
<var:if condition="currentColumn.value" const:value="Attachment" const:negate="YES">
|
||||
<var:if condition="currentColumn.value" const:value="Unread" const:negate="YES">
|
||||
<var:string var:value="currentColumn.value" />
|
||||
<var:string var:value="columnTitle" />
|
||||
</var:if>
|
||||
</var:if>
|
||||
</var:if>
|
||||
|
||||
Reference in New Issue
Block a user