Revision: 6371
http://skim-app.svn.sourceforge.net/skim-app/?rev=6371&view=rev
Author: hofman
Date: 2010-03-25 00:39:47 +0000 (Thu, 25 Mar 2010)
Log Message:
-----------
localize stringValue of cell only for NSTextFieldCell, because that's the only
one that has a non-trivial one, at least as supported by IB
Modified Paths:
--------------
trunk/SKLocalization.m
Modified: trunk/SKLocalization.m
===================================================================
--- trunk/SKLocalization.m 2010-03-25 00:16:06 UTC (rev 6370)
+++ trunk/SKLocalization.m 2010-03-25 00:39:47 UTC (rev 6371)
@@ -74,16 +74,6 @@
@end
-...@implementation NSCell (SKLocalization)
-
-- (void)localizeStringsFromTable:(NSString *)table {
- if ([self type] == NSTextCellType)
- localizeStringForObjectFromTable(self, STRINGVALUE_KEY, table);
-}
-
-...@end
-
-
@implementation NSButtonCell (SKLocalization)
- (void)localizeStringsFromTable:(NSString *)table {
@@ -129,6 +119,7 @@
- (void)localizeStringsFromTable:(NSString *)table {
[super localizeStringsFromTable:table];
+ localizeStringForObjectFromTable(self, STRINGVALUE_KEY, table);
localizeStringForObjectFromTable(self, PLACEHOLDERSTRING_KEY, table);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit