aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-16 14:04:19 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-16 14:04:19 +0000
commit82fbb0fa8aa165fcdde220205ae9434b29ec3a31 (patch)
tree623a07cf7561599314c1d939b6e0a4a09b4996fe
parent01fd0bed61eaa3ea3be6c5992bfe749aec090f9c (diff)
downloadsequelpro-82fbb0fa8aa165fcdde220205ae9434b29ec3a31.tar.gz
sequelpro-82fbb0fa8aa165fcdde220205ae9434b29ec3a31.tar.bz2
sequelpro-82fbb0fa8aa165fcdde220205ae9434b29ec3a31.zip
• fixed: Custom Query's gear menu item "Comment Line" will change its title to "Comment Selection" if a selection is given
-rw-r--r--Source/CustomQuery.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index afd24e8d..e59f82e2 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1754,12 +1754,15 @@
[runSelectionButton setEnabled:NO];
[runSelectionMenuItem setEnabled:NO];
}
+ [commentLineOrSelectionMenuItem setTitle:NSLocalizedString(@"Comment Line", @"Title of action menu item to comment line")];
+
// For selection ranges, enable the button.
} else {
[runSelectionButton setTitle:NSLocalizedString(@"Run Selection", @"Title of button to run selected text in custom query view")];
[runSelectionButton setEnabled:YES];
[runSelectionMenuItem setTitle:NSLocalizedString(@"Run Selected Text", @"Title of action menu item to run selected text in custom query view")];
[runSelectionMenuItem setEnabled:YES];
+ [commentLineOrSelectionMenuItem setTitle:NSLocalizedString(@"Comment Selection", @"Title of action menu item to comment selection")];
}
}