diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-07-16 14:04:19 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-07-16 14:04:19 +0000 |
commit | 82fbb0fa8aa165fcdde220205ae9434b29ec3a31 (patch) | |
tree | 623a07cf7561599314c1d939b6e0a4a09b4996fe /Source/CustomQuery.m | |
parent | 01fd0bed61eaa3ea3be6c5992bfe749aec090f9c (diff) | |
download | sequelpro-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
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r-- | Source/CustomQuery.m | 3 |
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")]; } } |