From 9c8ba940ee76281963d197fe79a79a02fd2812f9 Mon Sep 17 00:00:00 2001 From: dmoagx Date: Tue, 21 Jun 2011 17:21:36 +0000 Subject: * Make "Default" in new Table Sheet translatable (fixes part of #1006) --- Source/SPTablesList.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m index be9e54d7..d2d9f494 100644 --- a/Source/SPTablesList.m +++ b/Source/SPTablesList.m @@ -340,7 +340,7 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable"; NSArray *engines = [databaseDataInstance getDatabaseStorageEngines]; // Add default menu item - [tableTypeButton addItemWithTitle:@"Default"]; + [tableTypeButton addItemWithTitle:NSLocalizedString(@"Default",@"New Table Sheet : Table Engine Dropdown : Default")]; [[tableTypeButton menu] addItem:[NSMenuItem separatorItem]]; for (NSDictionary *engine in engines) @@ -350,7 +350,7 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable"; // Populate the table encoding popup button with a default menu item [tableEncodingButton removeAllItems]; - [tableEncodingButton addItemWithTitle:@"Default"]; + [tableEncodingButton addItemWithTitle:NSLocalizedString(@"Default",@"New Table Sheet : Table Encoding Dropdown : Default")]; // Retrieve the server-supported encodings and add them to the menu NSArray *encodings = [databaseDataInstance getDatabaseCharacterSetEncodings]; -- cgit v1.2.3