mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user