summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-03-03 18:10:12 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-03-03 18:10:12 +0000
commit655115f51bf9a30a3950f44196f32bde40743e94 (patch)
tree2f1b87d0f38268272739f543d9aa644e82de7d13
parent9c1a5a9c319901c17e040ef154b77c74e7c3f7ff (diff)
downloadpcsxr-655115f51bf9a30a3950f44196f32bde40743e94.tar.gz
OS X: Adding a Chinese localizable strings file to the DFSound plug-ins.
Messing with the link order. Messing with the DFSound’s xib constraints. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89251 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--macosx/Pcsxr.xcodeproj/project.pbxproj22
-rw-r--r--macosx/plugins/DFSound/Resorces/Shared/Base.lproj/NetSfPeopsSpuPluginMain.xib43
-rw-r--r--macosx/plugins/DFSound/Resorces/Shared/zh-Hans.lproj/Localizable.strings34
3 files changed, 69 insertions, 30 deletions
diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj
index 383b3d3c..d4a22744 100644
--- a/macosx/Pcsxr.xcodeproj/project.pbxproj
+++ b/macosx/Pcsxr.xcodeproj/project.pbxproj
@@ -184,6 +184,8 @@
559DACEE146C72FF00C5DF71 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 559DACEC146C72FF00C5DF71 /* Localizable.strings */; };
55A90220147D7C380037E18F /* PcsxrMemCardController.m in Sources */ = {isa = PBXBuildFile; fileRef = 55A9021F147D7C380037E18F /* PcsxrMemCardController.m */; };
55A90229147D89380037E18F /* PcsxrMemoryObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 55A90228147D89380037E18F /* PcsxrMemoryObject.m */; };
+ 55B13FBD18C4F9CC00ACD9AC /* SPUPluginController.h in Headers */ = {isa = PBXBuildFile; fileRef = 551A755317868BEC0052D185 /* SPUPluginController.h */; };
+ 55B13FBE18C4F9D800ACD9AC /* NamedSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = 551A754F17868BEC0052D185 /* NamedSlider.h */; };
55BBA693149455E1003B2CEC /* PcsxrMemCardHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 55BBA692149455E1003B2CEC /* PcsxrMemCardHandler.m */; };
55BBA69614945628003B2CEC /* PcsxrPluginHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 55BBA69514945628003B2CEC /* PcsxrPluginHandler.m */; };
55BBA69914953887003B2CEC /* PcsxrDiscHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 55BBA69814953887003B2CEC /* PcsxrDiscHandler.m */; };
@@ -707,6 +709,7 @@
55A9021F147D7C380037E18F /* PcsxrMemCardController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PcsxrMemCardController.m; sourceTree = "<group>"; usesTabs = 1; };
55A90227147D89380037E18F /* PcsxrMemoryObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = PcsxrMemoryObject.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
55A90228147D89380037E18F /* PcsxrMemoryObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = PcsxrMemoryObject.m; sourceTree = "<group>"; usesTabs = 1; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ 55B13FBF18C4FAC600ACD9AC /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
55BBA690149454DE003B2CEC /* PcsxrFileHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PcsxrFileHandle.h; sourceTree = "<group>"; };
55BBA691149455E1003B2CEC /* PcsxrMemCardHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PcsxrMemCardHandler.h; sourceTree = "<group>"; };
55BBA692149455E1003B2CEC /* PcsxrMemCardHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PcsxrMemCardHandler.m; sourceTree = "<group>"; usesTabs = 1; };
@@ -848,10 +851,10 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 551A76891786919F0052D185 /* Cocoa.framework in Frameworks */,
+ 550FFAEF17CEE37D0003A2F3 /* CoreFoundation.framework in Frameworks */,
551A77E71786A4DD0052D185 /* Carbon.framework in Frameworks */,
+ 551A76891786919F0052D185 /* Cocoa.framework in Frameworks */,
554FD70C17C6A1F10056CF66 /* SDL2.framework in Frameworks */,
- 550FFAEF17CEE37D0003A2F3 /* CoreFoundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -859,10 +862,10 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 55E15994184564D4007983CB /* GLKit.framework in Frameworks */,
- 551A76D3178695D10052D185 /* GLUT.framework in Frameworks */,
551A76D4178695D20052D185 /* OpenGL.framework in Frameworks */,
551A76B7178693FF0052D185 /* Cocoa.framework in Frameworks */,
+ 55E15994184564D4007983CB /* GLKit.framework in Frameworks */,
+ 551A76D3178695D10052D185 /* GLUT.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -870,9 +873,9 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 554FD70917C6A13E0056CF66 /* SDL2.framework in Frameworks */,
- 551A76F6178697D70052D185 /* libSPUSharedCode.dylib in Frameworks */,
551A76DD178696BD0052D185 /* Cocoa.framework in Frameworks */,
+ 551A76F6178697D70052D185 /* libSPUSharedCode.dylib in Frameworks */,
+ 554FD70917C6A13E0056CF66 /* SDL2.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -888,9 +891,9 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 551A7715178698C60052D185 /* libSPUSharedCode.dylib in Frameworks */,
551A7724178699250052D185 /* OpenAL.framework in Frameworks */,
551A7716178698C60052D185 /* Cocoa.framework in Frameworks */,
+ 551A7715178698C60052D185 /* libSPUSharedCode.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -898,9 +901,9 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 551A775117869C3C0052D185 /* OpenGL.framework in Frameworks */,
551A774A17869C280052D185 /* Cocoa.framework in Frameworks */,
551A775017869C3C0052D185 /* GLUT.framework in Frameworks */,
- 551A775117869C3C0052D185 /* OpenGL.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1667,6 +1670,8 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
+ 55B13FBD18C4F9CC00ACD9AC /* SPUPluginController.h in Headers */,
+ 55B13FBE18C4F9D800ACD9AC /* NamedSlider.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -2615,6 +2620,7 @@
551A756317868BEC0052D185 /* English */,
5598AAF517D2D54A0024F71D /* fr */,
55707E9518123580007CC5D0 /* hu */,
+ 55B13FBF18C4FAC600ACD9AC /* zh-Hans */,
);
name = Localizable.strings;
sourceTree = "<group>";
diff --git a/macosx/plugins/DFSound/Resorces/Shared/Base.lproj/NetSfPeopsSpuPluginMain.xib b/macosx/plugins/DFSound/Resorces/Shared/Base.lproj/NetSfPeopsSpuPluginMain.xib
index 0cb30b6b..760b0920 100644
--- a/macosx/plugins/DFSound/Resorces/Shared/Base.lproj/NetSfPeopsSpuPluginMain.xib
+++ b/macosx/plugins/DFSound/Resorces/Shared/Base.lproj/NetSfPeopsSpuPluginMain.xib
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13B42" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13C64" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment defaultVersion="1080" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="4514"/>
@@ -37,10 +37,9 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="11">
- <rect key="frame" x="14" y="77" width="94" height="17"/>
+ <rect key="frame" x="14" y="77" width="95" height="17"/>
<autoresizingMask key="autoresizingMask"/>
<constraints>
- <constraint firstAttribute="width" constant="90" id="157"/>
<constraint firstAttribute="height" constant="17" id="191"/>
</constraints>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Reverb:" id="80">
@@ -50,11 +49,8 @@
</textFieldCell>
</textField>
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="12" customClass="NamedSlider">
- <rect key="frame" x="127" y="75" width="144" height="26"/>
+ <rect key="frame" x="113" y="75" width="165" height="26"/>
<autoresizingMask key="autoresizingMask"/>
- <constraints>
- <constraint firstAttribute="width" constant="140" id="122"/>
- </constraints>
<sliderCell key="cell" continuous="YES" alignment="left" maxValue="2" doubleValue="1" tickMarkPosition="above" numberOfTickMarks="3" allowsTickMarkValuesOnly="YES" sliderType="linear" id="81">
<font key="font" size="12" name="Helvetica"/>
</sliderCell>
@@ -64,7 +60,7 @@
</connections>
</slider>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="15">
- <rect key="frame" x="14" y="45" width="94" height="17"/>
+ <rect key="frame" x="14" y="45" width="95" height="17"/>
<autoresizingMask key="autoresizingMask"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="227"/>
@@ -76,7 +72,7 @@
</textFieldCell>
</textField>
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="16" customClass="NamedSlider">
- <rect key="frame" x="127" y="43" width="144" height="26"/>
+ <rect key="frame" x="113" y="43" width="165" height="26"/>
<autoresizingMask key="autoresizingMask"/>
<sliderCell key="cell" continuous="YES" alignment="left" maxValue="3" doubleValue="1" tickMarkPosition="above" numberOfTickMarks="4" allowsTickMarkValuesOnly="YES" sliderType="linear" id="83">
<font key="font" size="12" name="Helvetica"/>
@@ -86,7 +82,7 @@
</connections>
</slider>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="17">
- <rect key="frame" x="275" y="77" width="131" height="17"/>
+ <rect key="frame" x="282" y="77" width="131" height="14"/>
<autoresizingMask key="autoresizingMask"/>
<constraints>
<constraint firstAttribute="width" constant="127" id="129"/>
@@ -98,9 +94,9 @@
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="18">
- <rect key="frame" x="275" y="45" width="131" height="17"/>
+ <rect key="frame" x="282" y="45" width="131" height="14"/>
<autoresizingMask key="autoresizingMask"/>
- <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="(Simple Interpolation)" id="85">
+ <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="(Simple Interpolation)" id="85">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
@@ -119,7 +115,7 @@
</textFieldCell>
</textField>
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="70" customClass="NamedSlider">
- <rect key="frame" x="127" y="11" width="144" height="26"/>
+ <rect key="frame" x="113" y="11" width="165" height="26"/>
<autoresizingMask key="autoresizingMask"/>
<sliderCell key="cell" continuous="YES" alignment="left" maxValue="4" doubleValue="3" tickMarkPosition="above" numberOfTickMarks="5" allowsTickMarkValuesOnly="YES" sliderType="linear" id="87">
<font key="font" size="12" name="Helvetica"/>
@@ -130,7 +126,7 @@
</connections>
</slider>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="71">
- <rect key="frame" x="275" y="17" width="131" height="17"/>
+ <rect key="frame" x="282" y="17" width="131" height="17"/>
<autoresizingMask key="autoresizingMask"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="224"/>
@@ -150,7 +146,6 @@
<constraint firstItem="71" firstAttribute="leading" secondItem="70" secondAttribute="trailing" constant="8" symbolic="YES" id="136"/>
<constraint firstItem="12" firstAttribute="baseline" secondItem="11" secondAttribute="baseline" id="137"/>
<constraint firstItem="16" firstAttribute="baseline" secondItem="15" secondAttribute="baseline" id="140"/>
- <constraint firstItem="12" firstAttribute="leading" secondItem="9" secondAttribute="leading" constant="128" id="141"/>
<constraint firstItem="71" firstAttribute="trailing" secondItem="18" secondAttribute="trailing" id="147"/>
<constraint firstItem="11" firstAttribute="leading" secondItem="15" secondAttribute="leading" id="148"/>
<constraint firstItem="11" firstAttribute="leading" secondItem="9" secondAttribute="leading" constant="15" id="149"/>
@@ -163,13 +158,17 @@
<constraint firstItem="18" firstAttribute="leading" secondItem="70" secondAttribute="trailing" constant="8" symbolic="YES" id="181"/>
<constraint firstItem="69" firstAttribute="leading" secondItem="9" secondAttribute="leading" constant="16" id="183"/>
<constraint firstItem="17" firstAttribute="baseline" secondItem="12" secondAttribute="baseline" id="186"/>
- <constraint firstItem="17" firstAttribute="top" secondItem="11" secondAttribute="top" id="193"/>
<constraint firstItem="18" firstAttribute="baseline" secondItem="16" secondAttribute="baseline" id="222"/>
<constraint firstItem="70" firstAttribute="centerY" secondItem="69" secondAttribute="centerY" id="225"/>
- <constraint firstItem="15" firstAttribute="top" secondItem="18" secondAttribute="top" id="226"/>
<constraint firstItem="71" firstAttribute="baseline" secondItem="69" secondAttribute="baseline" id="229"/>
+ <constraint firstAttribute="trailing" secondItem="17" secondAttribute="trailing" constant="16" id="4PI-sI-ZI5"/>
+ <constraint firstAttribute="trailing" secondItem="71" secondAttribute="trailing" constant="16" id="Iuy-7Z-phs"/>
+ <constraint firstItem="12" firstAttribute="leading" secondItem="11" secondAttribute="trailing" constant="8" symbolic="YES" id="LUl-Av-C6I"/>
<constraint firstItem="12" firstAttribute="top" secondItem="9" secondAttribute="top" constant="32" id="NZC-Zb-1uZ"/>
+ <constraint firstItem="16" firstAttribute="leading" secondItem="15" secondAttribute="trailing" constant="8" symbolic="YES" id="aQ1-fn-lLW"/>
<constraint firstAttribute="bottom" secondItem="70" secondAttribute="bottom" constant="11" id="fHY-VB-0ck"/>
+ <constraint firstAttribute="trailing" secondItem="18" secondAttribute="trailing" constant="16" id="hc0-PA-irQ"/>
+ <constraint firstItem="70" firstAttribute="leading" secondItem="69" secondAttribute="trailing" constant="8" symbolic="YES" id="iUw-bE-QEs"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@@ -204,21 +203,21 @@
<constraints>
<constraint firstItem="233" firstAttribute="leading" secondItem="19" secondAttribute="leading" constant="16" id="240"/>
<constraint firstItem="233" firstAttribute="top" secondItem="19" secondAttribute="top" constant="25" id="247"/>
- <constraint firstAttribute="trailing" secondItem="233" secondAttribute="trailing" constant="16" id="685-id-VwW"/>
+ <constraint firstAttribute="centerX" secondItem="233" secondAttribute="centerX" id="QuQ-ob-MDG"/>
<constraint firstAttribute="bottom" secondItem="233" secondAttribute="bottom" constant="53" id="s0x-In-827"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</box>
<box title="Misc" translatesAutoresizingMaskIntoConstraints="NO" id="24">
- <rect key="frame" x="17" y="57" width="221" height="100"/>
+ <rect key="frame" x="17" y="57" width="215" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView">
- <rect key="frame" x="2" y="2" width="217" height="83"/>
+ <rect key="frame" x="2" y="2" width="211" height="83"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<matrix verticalHuggingPriority="750" mode="highlight" allowsEmptySelection="NO" autosizesCells="NO" translatesAutoresizingMaskIntoConstraints="NO" id="196">
- <rect key="frame" x="17" y="13" width="189" height="60"/>
+ <rect key="frame" x="11" y="13" width="189" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<size key="cellSize" width="189" height="18"/>
@@ -248,8 +247,8 @@
</view>
<constraints>
<constraint firstItem="196" firstAttribute="top" secondItem="24" secondAttribute="top" constant="25" id="206"/>
- <constraint firstItem="196" firstAttribute="leading" secondItem="24" secondAttribute="leading" constant="16" id="207"/>
<constraint firstAttribute="bottom" secondItem="196" secondAttribute="bottom" constant="11" id="PEg-kx-UCc"/>
+ <constraint firstAttribute="centerX" secondItem="196" secondAttribute="centerX" id="YYi-LI-lqX"/>
<constraint firstAttribute="trailing" secondItem="196" secondAttribute="trailing" constant="10" id="keZ-Mg-22z"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
diff --git a/macosx/plugins/DFSound/Resorces/Shared/zh-Hans.lproj/Localizable.strings b/macosx/plugins/DFSound/Resorces/Shared/zh-Hans.lproj/Localizable.strings
new file mode 100644
index 00000000..5bd7beeb
--- /dev/null
+++ b/macosx/plugins/DFSound/Resorces/Shared/zh-Hans.lproj/Localizable.strings
@@ -0,0 +1,34 @@
+/*
+ Localizable.strings
+ PeopsSPU
+
+ Created by C.W. Betts on 11/16/11.
+ Copyright 2011 __MyCompanyName__. All rights reserved.
+ */
+//Commented out strings are those that need to be translated
+
+//"SDL Sound" = "SDL Sound";
+//"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";
+
+/*Unknown/not found value */
+//"(Unknown)" = "(Unknown)";
+
+/* Interpolation Values */
+"(No Interpolation)" = "(No Interpolation)";
+"(Simple Interpolation)" = "(简易增益)";
+"(Gaussian Interpolation)" = "(Gaussian Interpolation)";
+"(Cubic Interpolation)" = "(Cubic Interpolation)";
+
+/* Reverb Values */
+"(No Reverb)" = "(No Reverb)";
+"(Simple Reverb)" = "(简易混响)";
+"(PSX Reverb)" = "(PSX Reverb)";
+
+/* Volume Values */
+"(Muted)" = "(Muted)";
+"(Low)" = "(Low)";
+"(Medium)" = "(Medium)";
+"(Loud)" = "(高音)";
+"(Loudest)" = "(Loudest)";