aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorPreferencePane.m
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2011-05-10 15:44:29 +0000
committerdmoagx <post@wickenrode.com>2011-05-10 15:44:29 +0000
commitd3943164cdba8b528413942e3b01ffc67e64436f (patch)
treed9e5e5b3750ac006751695c1a19cf6fba8943df1 /Source/SPEditorPreferencePane.m
parent5914260a1ca2db3da190fde077145756ba169bf4 (diff)
downloadsequelpro-d3943164cdba8b528413942e3b01ffc67e64436f.tar.gz
sequelpro-d3943164cdba8b528413942e3b01ffc67e64436f.tar.bz2
sequelpro-d3943164cdba8b528413942e3b01ffc67e64436f.zip
* Fixes most parts of #1006 (Translation of file names)
* Update strings files
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r--Source/SPEditorPreferencePane.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m
index 51ffacf6..08e91936 100644
--- a/Source/SPEditorPreferencePane.m
+++ b/Source/SPEditorPreferencePane.m
@@ -37,7 +37,7 @@ static NSString *SPDefaultColorSchemeName = @"Default";
static NSString *SPDefaultColorSchemeNameLC = @"default";
static NSString *SPCustomColorSchemeName = @"User-defined";
static NSString *SPCustomColorSchemeNameLC = @"user-defined";
-static NSString *SPDefaultExportColourSchemeName = @"MyTheme";
+#define SP_EXPORT_COLOR_SCHEME_NAME_STRING NSLocalizedString(@"MyTheme",@"Preferences : Themes : Initial filename for 'Export'")
@interface SPEditorPreferencePane (PrivateAPI)
@@ -136,7 +136,7 @@ static NSString *SPDefaultExportColourSchemeName = @"MyTheme";
[panel setCanCreateDirectories:YES];
[panel beginSheetForDirectory:nil
- file:[SPDefaultExportColourSchemeName stringByAppendingPathExtension:SPColorThemeFileExtension]
+ file:[SP_EXPORT_COLOR_SCHEME_NAME_STRING stringByAppendingPathExtension:SPColorThemeFileExtension]
modalForWindow:[[self view] window]
modalDelegate:self
didEndSelector:@selector(panelDidEnd:returnCode:contextInfo:)