From 2c92f47bf1cd1e24cc464a79c5c3da564f4471f8 Mon Sep 17 00:00:00 2001 From: dmoagx Date: Sun, 20 Mar 2011 00:25:03 +0000 Subject: * Fix two untranslatable strings #1006 --- Source/SPContentFilterManager.m | 2 +- Source/SPQueryController.m | 2 +- 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]]) { -- cgit v1.2.3