aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2011-03-20 00:25:03 +0000
committerdmoagx <post@wickenrode.com>2011-03-20 00:25:03 +0000
commit2c92f47bf1cd1e24cc464a79c5c3da564f4471f8 (patch)
tree9852b91f8f6381189c6687e3a3e1a6b7fcd8bc72
parent2e74c19d188d2b9b17baed375a2250ee0abc53f5 (diff)
downloadsequelpro-2c92f47bf1cd1e24cc464a79c5c3da564f4471f8.tar.gz
sequelpro-2c92f47bf1cd1e24cc464a79c5c3da564f4471f8.tar.bz2
sequelpro-2c92f47bf1cd1e24cc464a79c5c3da564f4471f8.zip
* Fix two untranslatable strings #1006
-rw-r--r--Source/SPContentFilterManager.m2
-rw-r--r--Source/SPQueryController.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index edbed353..97c0b5d6 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -78,7 +78,7 @@
// Add global group row to contentFilters
[contentFilters addObject:[NSDictionary dictionaryWithObjectsAndKeys:
- @"Global", @"MenuLabel",
+ NSLocalizedString(@"Global",@"Content Filter Manager : Filter Entry List: 'Global' Header"), @"MenuLabel",
@"", @"headerOfFileURL",
@"", @"Clause",
@"", @"ConjunctionLabel",
diff --git a/Source/SPQueryController.m b/Source/SPQueryController.m
index 721c27e9..346be3d6 100644
--- a/Source/SPQueryController.m
+++ b/Source/SPQueryController.m
@@ -529,7 +529,7 @@ static SPQueryController *sharedQueryController = nil;
{
// Register a new untiled document and return its URL
if(fileURL == nil) {
- NSURL *new = [NSURL URLWithString:[[NSString stringWithFormat:@"Untitled %ld", (unsigned long)untitledDocumentCounter] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
+ NSURL *new = [NSURL URLWithString:[[NSString stringWithFormat:NSLocalizedString(@"Untitled %ld",@"Title of a new Sequel Pro Document"), (unsigned long)untitledDocumentCounter] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
untitledDocumentCounter++;
if(![favoritesContainer objectForKey:[new absoluteString]]) {