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:
C Robert
2008-10-08 18:38:03 +00:00
parent 2e96324ecd
commit 6ab5cfa937
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -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;
+7
View File
@@ -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 */
+1 -1
View File
@@ -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>