diff options
author | rowanbeentje <rowan@beent.je> | 2011-04-14 00:23:22 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-04-14 00:23:22 +0000 |
commit | ad7328e56541556d23f527303deddaefd4253ef2 (patch) | |
tree | 344dbe7ac1780cfa81952be0cdb34ef20ca7f7bd /Source/SPFieldMapperController.m | |
parent | 0ce916eb0583ec6b062786f91bee0133906671ce (diff) | |
download | sequelpro-ad7328e56541556d23f527303deddaefd4253ef2.tar.gz sequelpro-ad7328e56541556d23f527303deddaefd4253ef2.tar.bz2 sequelpro-ad7328e56541556d23f527303deddaefd4253ef2.zip |
Make some minor changes after reviewing r3271:
- Fix a few encoding issues
- Recode a few [NSApp keyWindow] uses back to [SPDatabaseDocument parentWindow] following discussion; possibly for later refactoring into use of an error method
Diffstat (limited to 'Source/SPFieldMapperController.m')
-rw-r--r-- | Source/SPFieldMapperController.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/SPFieldMapperController.m b/Source/SPFieldMapperController.m index d42916a1..6ff712b3 100644 --- a/Source/SPFieldMapperController.m +++ b/Source/SPFieldMapperController.m @@ -4,7 +4,7 @@ // SPFieldMapperController.m // sequel-pro // -// Created by Hans-J√∂rg Bibiko on February 01, 2010 +// Created by Hans-Jörg Bibiko on February 01, 2010 // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -82,7 +82,7 @@ static NSString *SPTableViewSqlColumnID = @"sql"; doImport = [NSNumber numberWithInteger:0]; doNotImport = [NSNumber numberWithInteger:1]; isEqual = [NSNumber numberWithInteger:2]; - doImportString = @"‚Äï"; + doImportString = @"―"; doNotImportString = @" "; isEqualString = @"="; newTableMode = NO; @@ -256,8 +256,8 @@ static NSString *SPTableViewSqlColumnID = @"sql"; NSInteger i; for(i=0; i<numberOfImportColumns; i++) { - [fieldMappingGlobalValues addObject:@"‚Ķ"]; - [fieldMappingGlobalValuesSQLMarked addObject:@"‚Ķ"]; + [fieldMappingGlobalValues addObject:@"…"]; + [fieldMappingGlobalValuesSQLMarked addObject:@"…"]; } } @@ -558,7 +558,7 @@ static NSString *SPTableViewSqlColumnID = @"sql"; if([column objectForKey:@"length"]) [type appendFormat:@"(%@)", [column objectForKey:@"length"]]; if([column objectForKey:@"values"]) - [type appendFormat:@"(%@)", [[column objectForKey:@"values"] componentsJoinedByString:@"¬¶"]]; + [type appendFormat:@"(%@)", [[column objectForKey:@"values"] componentsJoinedByString:@"¦"]]; if([column objectForKey:@"isprimarykey"]) { [type appendFormat:@",%@",@"PRIMARY"]; @@ -1823,7 +1823,7 @@ static NSString *SPTableViewSqlColumnID = @"sql"; if([[self selectedImportMethod] isEqualToString:@"UPDATE"]) [c addItemWithTitle:NSLocalizedString(@"Match Field", @"match field menu item")]; [m addItem:[NSMenuItem separatorItem]]; - NSMenuItem *menuItem = [m addItemWithTitle:NSLocalizedString(@"Add Value or Expression‚Ķ", @"add global value or expression menu item") action:@selector(addGlobalSourceVariable:) keyEquivalent:@"g"]; + NSMenuItem *menuItem = [m addItemWithTitle:NSLocalizedString(@"Add Value or Expression…", @"add global value or expression menu item") action:@selector(addGlobalSourceVariable:) keyEquivalent:@"g"]; [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; [c addItemWithTitle:[NSString stringWithFormat:@"DEFAULT: %@", [fieldMappingTableDefaultValues objectAtIndex:rowIndex]]]; [[m itemAtIndex:[c numberOfItems]-1] setEnabled:NO]; |