diff options
author | rowanbeentje <rowan@beent.je> | 2013-04-01 00:25:00 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-04-01 00:25:00 +0000 |
commit | 6820099de060cbede59f43867a62be5eb424ae4c (patch) | |
tree | 7b192a546f1dafc5f5f3ad1e91e1a870085125c4 /Source/SPCustomQuery.m | |
parent | cca030a98637bec8e8a731efb7ad15b3f458b115 (diff) | |
download | sequelpro-6820099de060cbede59f43867a62be5eb424ae4c.tar.gz sequelpro-6820099de060cbede59f43867a62be5eb424ae4c.tar.bz2 sequelpro-6820099de060cbede59f43867a62be5eb424ae4c.zip |
- Alter the SPComboPopupButton to ignore clicks started in the left-hand part of the button but ended in the right-hand part of the button
- Change the button to use "Run All" instead of "Run All Queries" to avoid localisation issues
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 26f66831..083c676e 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -1384,7 +1384,6 @@ */ - (void)updateQueryInteractionInterface { - NSString *runAllTitle = NSLocalizedString(@"Run All Queries", @"Run All button and menu item title"); // By default, the interface uses Run Query/Run Selection as the primary interface, // but the user can switch this. @@ -1393,11 +1392,11 @@ // Update the links as appropriate if (primaryActionIsRunAll) { runPrimaryActionButtonAsSelection = nil; - [runPrimaryActionButton setTitle:runAllTitle]; - [runPrimaryActionMenuItem setTitle:runAllTitle]; + [runPrimaryActionButton setTitle:NSLocalizedString(@"Run All", @"run all button")]; + [runPrimaryActionMenuItem setTitle:NSLocalizedString(@"Run All Queries", @"Run All menu item title")]; } else { runPrimaryActionButtonAsSelection = runPrimaryActionButton; - [runSecondaryActionMenuItem setTitle:runAllTitle]; + [runSecondaryActionMenuItem setTitle:NSLocalizedString(@"Run All Queries", @"Run All menu item title")]; } // Update the Run Current/Previous/Selection menu item (and button if appropriate) |