Part of Mantis 3319

Monotone-Parent: f937b6e53d17591dc176dff07b8c090e39c4f6ca
Monotone-Revision: fb103a10a9193093e53b3259aed36bc0c4b4dccb

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-14T13:52:24
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-09-14 13:52:24 +00:00
parent e45813c593
commit c64f1fdd87
2 changed files with 16 additions and 4 deletions
+9 -2
View File
@@ -209,8 +209,15 @@ static NSString *siteFavicon = nil;
- (NSString *) commonLocalizableStrings
{
return [NSString stringWithFormat: @"var clabels = %@;",
[self _stringsForFramework: nil]];
NSString *rc;
if (isPopup)
rc = @"";
else
rc = [NSString stringWithFormat: @"var clabels = %@;",
[self _stringsForFramework: nil]];
return rc;
}
- (NSString *) productLocalizableStrings
+7 -2
View File
@@ -1696,12 +1696,17 @@ AIM = {
function label (title) {
var rc = title;
if (!logWindow) {
logWindow = window;
while (logWindow.opener)
logWindow = logWindow.opener;
}
if (labels[title]) {
rc = labels[title];
}
else if (clabels[title]) {
rc = clabels[title];
else if (logWindow.clabels[title]) {
rc = logWindow.clabels[title];
}
return rc;