Revision: 29470
http://sourceforge.net/p/bibdesk/svn/29470
Author: hofman
Date: 2025-08-25 16:00:18 +0000 (Mon, 25 Aug 2025)
Log Message:
-----------
Don't use Unicode escape for command key in localized string. Remove unused
variables.
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
trunk/bibdesk/BDSKTextImportController.m
trunk/bibdesk/de.lproj/Localizable.strings
trunk/bibdesk/en.lproj/Localizable.strings
trunk/bibdesk/fr.lproj/Localizable.strings
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2025-08-25 15:33:18 UTC (rev 29469)
+++ trunk/bibdesk/BDSKEditor.m 2025-08-25 16:00:18 UTC (rev 29470)
@@ -448,7 +448,6 @@
NSTextView *textView = (NSTextView *)firstResponder;
NSTextField *textField = nil;
NSInteger editedRow = -1;
- NSError *err = nil;
if ([textView isFieldEditor]) {
firstResponder = (NSResponder *)[textView delegate];
if ([firstResponder isKindOfClass:[NSTextField class]])
Modified: trunk/bibdesk/BDSKTextImportController.m
===================================================================
--- trunk/bibdesk/BDSKTextImportController.m 2025-08-25 15:33:18 UTC (rev
29469)
+++ trunk/bibdesk/BDSKTextImportController.m 2025-08-25 16:00:18 UTC (rev
29470)
@@ -587,7 +587,7 @@
}
- (void)setTemporaryTypeSelectStatusMessage:(BOOL)shouldSet {
- NSString *message = NSLocalizedString(@"Press \u2318= to select a field to
set the selection in.", @"Status message");
+ NSString *message = [NSString stringWithFormat:NSLocalizedString(@"Press
%@= to select a field to set the selection in.", @"Status message"), [NSString
commandKeyIndicatorString]];
if (shouldSet)
[statusLine setStringValue:message];
else if ([[statusLine stringValue] isEqualToString:message])
@@ -688,7 +688,6 @@
NSString *pbString = nil;
NSAttributedString *pbAttrString = nil;
- NSData *pbData;
if([pbType isEqualToString:NSRTFPboardType] || [pbType
isEqualToString:NSRTFDPboardType]){
pbAttrString = [[pb readObjectsForClasses:@[[NSAttributedString
class]] options:@{}] firstObject];
@@ -699,7 +698,6 @@
if(pbURL){
[self showWebViewWithURL:pbURL];
}else{
- NSRange r = NSMakeRange(0,[[sourceTextView string] length]);
[[sourceTextView textStorage]
setAttributedString:pbAttrString];
}
Modified: trunk/bibdesk/de.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/en.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/fr.lproj/Localizable.strings
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit