adium 5449:90248ee3467f: Change preview panel text when no chat ...
commits at adium.im
commits at adium.im
Fri Apr 26 02:25:25 UTC 2013
details: http://hg.adium.im/adium/rev/90248ee3467f
revision: 5449:90248ee3467f
branch: adium-1.6
author: Alexandre COLLIGNON <alexandre at collign.net>
date: Tue Sep 11 12:24:11 2012 +0200
Change preview panel text when no chat transcript can be found. Fixes #16155
r=wix
diffs (18 lines):
diff -r 92e6c1d9864c -r 90248ee3467f Source/AILogViewerWindowController.m
--- a/Source/AILogViewerWindowController.m Thu Apr 25 21:07:47 2013 -0400
+++ b/Source/AILogViewerWindowController.m Tue Sep 11 12:24:11 2012 +0200
@@ -726,11 +726,13 @@
[displayOperation autorelease];
displayOperation = nil;
currentMatch = -1;
- [self _displayLogText:[NSAttributedString stringWithString:@"Loading..."]];
+ [self _displayLogText:[NSAttributedString stringWithString:AILocalizedString(@"Loading...", @"Displayed when loading a chat transcript")]];
if (logArray) {
displayOperation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(_displayLogs:) object:logArray];
[[[self class] sharedLogViewerQueue] addOperation:displayOperation];
+ } else {
+ [self _displayLogText:[NSAttributedString stringWithString:AILocalizedString(@"No chat transcript found", nil)]];
}
}
More information about the commits
mailing list