summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFSound/macsrc/PluginController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/PluginController.m')
-rwxr-xr-xmacosx/plugins/DFSound/macsrc/PluginController.m10
1 files changed, 2 insertions, 8 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m
index 49cd371b..fa6fbc97 100755
--- a/macosx/plugins/DFSound/macsrc/PluginController.m
+++ b/macosx/plugins/DFSound/macsrc/PluginController.m
@@ -216,11 +216,5 @@ void ReadConfig(void)
@end
-char* PLUGLOC(char *toloc)
-{
- NSBundle *mainBundle = [NSBundle bundleForClass:[PluginController class]];
- NSString *origString = nil, *transString = nil;
- origString = @(toloc);
- transString = [mainBundle localizedStringForKey:origString value:@"" table:nil];
- return (char*)[transString UTF8String];
-}
+#import "OSXPlugLocalization.h"
+PLUGLOCIMP([PluginController class]);