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 | |
| 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')
| -rw-r--r-- | macosx/plugins/DFSound/English.lproj/Localizable.strings | 18 | ||||
| -rw-r--r-- | macosx/plugins/DFSound/macsrc/PluginController.m | 27 |
2 files changed, 32 insertions, 13 deletions
diff --git a/macosx/plugins/DFSound/English.lproj/Localizable.strings b/macosx/plugins/DFSound/English.lproj/Localizable.strings index fe252941..cc95ea1d 100644 --- a/macosx/plugins/DFSound/English.lproj/Localizable.strings +++ b/macosx/plugins/DFSound/English.lproj/Localizable.strings @@ -10,3 +10,21 @@ "OpenAL Sound" = "OpenAL Sound"; "Mac OS X Sound" = "Mac OS X Sound"; "P.E.Op.S. Sound Driver V1.7\nCoded by Pete Bernert and the P.E.Op.S. team\n" = "P.E.Op.S. Sound Driver V1.7\nCoded by Pete Bernert and the P.E.Op.S. team\n"; + +/* Interpolation Values */ +"(No Interpolation)" = "(No Interpolation)"; +"(Simple Interpolation)" = "(Simple Interpolation)"; +"(Gaussian Interpolation)" = "(Gaussian Interpolation)"; +"(Cubic Interpolation)" = "(Cubic Interpolation)"; + +/* Reverb Values */ +"(No Reverb)" = "(No Reverb)"; +"(Simple Reverb)" = "(Simple Reverb)"; +"(PSX Reverb)" = "(PSX Reverb)"; + +/* Volume Values */ +"(Muted)" = "(Muted)"; +"(Low)" = "(Low)"; +"(Medium)" = "(Medium)"; +"(Loud)" = "(Loud)"; +"(Loudest)" = "(Loudest)"; 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]]; } |
