aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPIndexesController.m
diff options
context:
space:
mode:
authorMarius Ursache <bamse16@yahoo.com>2013-11-09 23:22:06 +1100
committerMarius Ursache <bamse16@yahoo.com>2013-11-09 23:22:06 +1100
commita80262df96d4b5140cc4a2f7ec5d19bc727d9000 (patch)
tree5804f95c60655f89d96d493596440893a17deaf1 /Source/SPIndexesController.m
parentea11cc2178b3d8fb7f9e0952bb9dce1eaddbe8ea (diff)
downloadsequelpro-a80262df96d4b5140cc4a2f7ec5d19bc727d9000.tar.gz
sequelpro-a80262df96d4b5140cc4a2f7ec5d19bc727d9000.tar.bz2
sequelpro-a80262df96d4b5140cc4a2f7ec5d19bc727d9000.zip
Cleaned up Format string is not a string literal (potentially insecure) errors
Diffstat (limited to 'Source/SPIndexesController.m')
-rw-r--r--Source/SPIndexesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPIndexesController.m b/Source/SPIndexesController.m
index 08c1cdef..8fa65a1d 100644
--- a/Source/SPIndexesController.m
+++ b/Source/SPIndexesController.m
@@ -292,7 +292,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
defaultButton:NSLocalizedString(@"Delete", @"delete button")
alternateButton:NSLocalizedString(@"Cancel", @"cancel button")
otherButton:nil
- informativeTextWithFormat:hasForeignKey ? [NSString stringWithFormat:NSLocalizedString(@"The foreign key relationship '%@' has a dependency on this index. This relationship must be removed before the index can be deleted.\n\nAre you sure you want to continue to delete the relationship and the index? This action cannot be undone.", @"delete index and foreign key informative message"), constraintName] : [NSString stringWithFormat:NSLocalizedString(@"Are you sure you want to delete the index '%@'? This action cannot be undone.", @"delete index informative message"), keyName]];
+ informativeTextWithFormat:hasForeignKey ? NSLocalizedString(@"The foreign key relationship '%@' has a dependency on this index. This relationship must be removed before the index can be deleted.\n\nAre you sure you want to continue to delete the relationship and the index? This action cannot be undone.", @"delete index and foreign key informative message"), constraintName : NSLocalizedString(@"Are you sure you want to delete the index '%@'? This action cannot be undone.", @"delete index informative message"), keyName];
[alert setAlertStyle:NSCriticalAlertStyle];