diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-22 04:07:13 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-22 04:07:13 +0000 |
| commit | c11ed17e579ce4ccaea0d218d92f96bef21b50c8 (patch) | |
| tree | 8009840e6f1d5263196c64da97056a79f86d6be4 /macosx/plugins/DFSound/macsrc | |
| parent | 13c384c0ea3d6a9633ce15c500d3108aa6c63a2b (diff) | |
| download | pcsxr-c11ed17e579ce4ccaea0d218d92f96bef21b50c8.tar.gz | |
Localizing the Named Sliders in the SPU plug-in.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72527 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFSound/macsrc')
| -rw-r--r-- | macosx/plugins/DFSound/macsrc/PluginController.m | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m index 07446a20..25c55c74 100644 --- a/macosx/plugins/DFSound/macsrc/PluginController.m +++ b/macosx/plugins/DFSound/macsrc/PluginController.m @@ -183,26 +183,27 @@ void ReadConfig(void) - (void)awakeFromNib { - //TODO: localize these, probably in their own table + NSBundle *mainBundle = [NSBundle bundleForClass:[self class]]; + [interpolValue setStrings:[NSArray arrayWithObjects: - @"(No Interpolation)", - @"(Simple Interpolation)", - @"(Gaussian Interpolation)", - @"(Cubic Interpolation)", + [mainBundle localizedStringForKey:@"(No Interpolation)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Simple Interpolation)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Gaussian Interpolation)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Cubic Interpolation)" value:nil table:nil], nil]]; [reverbValue setStrings:[NSArray arrayWithObjects: - @"(No Reverb)", - @"(Simple Reverb)", - @"(PSX Reverb)", + [mainBundle localizedStringForKey:@"(No Reverb)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Simple Reverb)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(PSX Reverb)" value:nil table:nil], nil]]; [volumeValue setStrings:[NSArray arrayWithObjects: - @"(Muted)", - @"(Low)", - @"(Medium)", - @"(Loud)", - @"(Loudest)", + [mainBundle localizedStringForKey:@"(Muted)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Low)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Medium)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Loud)" value:nil table:nil], + [mainBundle localizedStringForKey:@"(Loudest)" value:nil table:nil], nil]]; } |
