From 82fbb0fa8aa165fcdde220205ae9434b29ec3a31 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 16 Jul 2009 14:04:19 +0000 Subject: =?UTF-8?q?=E2=80=A2=C2=A0fixed:=20Custom=20Query's=20gear=20menu?= =?UTF-8?q?=20item=20"Comment=20Line"=20will=20change=20its=20title=20to?= =?UTF-8?q?=20"Comment=20Selection"=20if=20a=20selection=20is=20given?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CustomQuery.m | 3 +++ 1 file changed, 3 insertions(+) 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")]; } } -- cgit v1.2.3