Revision: 29946
http://sourceforge.net/p/bibdesk/svn/29946
Author: hofman
Date: 2026-01-15 17:52:40 +0000 (Thu, 15 Jan 2026)
Log Message:
-----------
tool tips for add/remove buttons in search bar
Modified Paths:
--------------
trunk/bibdesk/BDSKButtonBar.m
trunk/bibdesk/de.lproj/Localizable.strings
trunk/bibdesk/en.lproj/Localizable.strings
trunk/bibdesk/fr.lproj/Localizable.strings
Modified: trunk/bibdesk/BDSKButtonBar.m
===================================================================
--- trunk/bibdesk/BDSKButtonBar.m 2026-01-15 17:21:18 UTC (rev 29945)
+++ trunk/bibdesk/BDSKButtonBar.m 2026-01-15 17:52:40 UTC (rev 29946)
@@ -241,8 +241,10 @@
NSButton *previousButton = nil;
BOOL wantsOverflowButton = NO;
if ([self hasAddButton]) {
- if (addButton == nil)
+ if (addButton == nil) {
addButton = [self newButtonWithImageName:NSImageNameAddTemplate];
+ [addButton setToolTip:NSLocalizedString(@"Add a search field",
@"Tool tip meessage")];
+ }
origin.x = NSMaxX(bounds) - NSWidth([addButton frame]) - BUTTON_MARGIN;
origin.y = floor(0.5 * (NSHeight(bounds) - NSHeight([addButton
frame])));
[addButton setFrameOrigin:origin];
@@ -253,8 +255,10 @@
[addButton removeFromSuperview];
}
if ([self hasRemoveButton]) {
- if (removeButton == nil)
+ if (removeButton == nil) {
removeButton = [self
newButtonWithImageName:NSImageNameRemoveTemplate];
+ [removeButton setToolTip:NSLocalizedString(@"Remove a search
field", @"Tool tip meessage")];
+ }
if ([self hasAddButton])
origin.x -= NSWidth([removeButton frame]) + BUTTON_SEPARATION;
else
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