fix: iphone storyboard and add more translations

This commit is contained in:
Acaki
2025-08-14 23:35:53 +08:00
parent 69ed345191
commit 73316ab5b8
3 changed files with 252 additions and 24 deletions
+78 -24
View File
@@ -677,12 +677,12 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView opaque="NO" clearsContextBeforeDrawing="NO" alpha="0.5" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="kTH-ez-aKD">
<rect key="frame" x="80" y="112" width="692" height="261"/>
<rect key="frame" x="80" y="64" width="692" height="309"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tableView>
<navigationBar alpha="0.69999999999999996" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zsA-6X-Qc5">
<rect key="frame" x="80" y="112" width="692" height="44"/>
<rect key="frame" x="80" y="64" width="692" height="44"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="R90-2b-UrU"/>
</constraints>
@@ -890,24 +890,7 @@
</subviews>
</stackView>
<stackView verifyAmbiguity="off" opaque="NO" contentMode="scaleToFill" ambiguous="YES" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="l8f-LT-K1a" userLabel="framepacing Stack">
<rect key="frame" x="15" y="1712" width="380" height="56.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Frame Pacing Preference" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GQm-O3-z8H">
<rect key="frame" x="0.0" y="0.0" width="380" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.93902439019999995" green="0.9625305918" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="F2F-TK-tyR" userLabel="External Display Mode">
<rect key="frame" x="0.0" y="25.5" width="380" height="32"/>
<segments>
<segment title="Lowest Latency"/>
<segment title="Smoothest Video"/>
</segments>
<color key="tintColor" red="0.6716768742" green="0.61711704730000005" blue="0.99902987480000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="selectedSegmentTintColor" systemColor="linkColor"/>
</segmentedControl>
</subviews>
<rect key="frame" x="15" y="1712" width="380" height="31"/>
<constraints>
<constraint firstAttribute="width" constant="380" id="TgX-3w-rzS"/>
</constraints>
@@ -1643,6 +1626,65 @@
</switch>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="20" id="1Sh-ai-CrI" userLabel="multiControllerStack">
<rect key="frame" x="273" y="1704" width="280" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" ambiguous="YES" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="9r0-OX-NYn" userLabel="performanceGraphs Stack">
<rect key="frame" x="437" y="1743" width="380" height="186.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Performance Graphs - Opacity: 50%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LVq-7c-3zg" userLabel="Performance Graphs">
<rect key="frame" x="0.0" y="0.0" width="380" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.93902439019999995" green="0.9625305918" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Mst-TU-HT2" userLabel="performanceGraphSwitch">
<rect key="frame" x="0.0" y="40.5" width="382" height="31"/>
<constraints>
<constraint firstAttribute="width" constant="130" id="dTT-ki-b68"/>
</constraints>
</switch>
<stepper opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="50" maximumValue="100" stepValue="10" translatesAutoresizingMaskIntoConstraints="NO" id="TIF-tB-E8s">
<rect key="frame" x="0.0" y="91.5" width="380" height="32"/>
</stepper>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Ff-AF-K42" userLabel="Performance Graphs Caption">
<rect key="frame" x="0.0" y="143.5" width="380" height="43"/>
<color key="tintColor" red="0.81533776120000001" green="0.85979419950000002" blue="0.91372549020000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<string key="text">Displays frametime and buffer health metrics. Adjust the opacity if they obscure parts of the screen. Swipe up/down with two fingers to show or hide all stats.</string>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" systemColor="secondarySystemGroupedBackgroundColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="width" constant="380" id="HMd-xt-94L"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" ambiguous="YES" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="IHx-FO-ctr" userLabel="frameQueueSize Stack">
<rect key="frame" x="437" y="1973" width="380" height="89.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Frames to Buffer" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r8X-jt-JfH">
<rect key="frame" x="0.0" y="0.0" width="380" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="2" minValue="1" maxValue="5" minimumValueImage="1.square" catalog="system" maximumValueImage="5.square" translatesAutoresizingMaskIntoConstraints="NO" id="thv-JE-onX" userLabel="Frame Queue Size Selector">
<rect key="frame" x="-2" y="25.5" width="384" height="31"/>
</slider>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="The recommended value is 2. 1 frame provides the lowest latency, but may require an Ethernet connection." lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ttV-kY-jCi" userLabel="Frame Queue Size Caption">
<rect key="frame" x="0.0" y="60.5" width="380" height="29"/>
<color key="tintColor" red="0.81533776120000001" green="0.85979419950000002" blue="0.91372549020000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" systemColor="secondarySystemGroupedBackgroundColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="width" constant="380" id="A4I-UV-heD"/>
</constraints>
</stackView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</view>
@@ -1664,12 +1706,18 @@
<outlet property="customResolutionSwitch" destination="kRO-HO-zKO" id="ZUP-Yd-QDY"/>
<outlet property="emulatedControllerTypeSelector" destination="q6v-Jb-ysy" id="o1B-2n-vOR"/>
<outlet property="emulatedControllerTypeStack" destination="XoT-d0-QUQ" id="dGV-0G-xF9"/>
<outlet property="enableGraphsLabel" destination="LVq-7c-3zg" id="ua8-FE-HOI"/>
<outlet property="enableGraphsSwitch" destination="Mst-TU-HT2" id="Qpv-pU-8dE"/>
<outlet property="enableOswForNativeTouchSwitch" destination="MaZ-Wu-LNS" id="sYj-e8-eKn"/>
<outlet property="enableOswSwitchStack" destination="ULn-2e-7se" id="0BI-1o-JMp"/>
<outlet property="externalDisplayModeSelector" destination="Tue-Qh-8zP" id="YCO-TO-Dda"/>
<outlet property="externalDisplayModeStack" destination="1Q7-WA-wrj" id="KLk-cJ-fa3"/>
<outlet property="fpsStack" destination="aMv-7Q-yYg" id="JxU-wq-2Za"/>
<outlet property="frameQueueSizeLabel" destination="r8X-jt-JfH" id="Tr9-eb-bIx"/>
<outlet property="frameQueueSizeSlider" destination="thv-JE-onX" id="gKD-6c-5tw"/>
<outlet property="frameQueueSizeStack" destination="IHx-FO-ctr" id="gob-Ea-Avh"/>
<outlet property="framerateSelector" destination="dAN-Gy-Eg7" id="tMv-Va-PhO"/>
<outlet property="graphOpacityStepper" destination="TIF-tB-E8s" id="qIa-PX-8PS"/>
<outlet property="gyroModeSelector" destination="PIo-LV-9Gt" id="6Mc-5v-dmJ"/>
<outlet property="gyroModeStack" destination="5Ep-SA-IBh" id="2qw-Sb-8O6"/>
<outlet property="gyroSensitivitySlider" destination="mHC-z4-AWQ" id="GHN-po-QYw"/>
@@ -1690,6 +1738,7 @@
<outlet property="onscreenControllerLabel" destination="5uF-E5-hpX" id="Ntz-sT-O6S"/>
<outlet property="optimizeGamesStack" destination="Col-Dm-lwT" id="ng3-CV-HLd"/>
<outlet property="optimizeGamesSwitch" destination="zGD-yR-gUS" id="Gji-vK-txl"/>
<outlet property="performanceGraphStack" destination="9r0-OX-NYn" id="wQE-tW-wtN"/>
<outlet property="pipStack" destination="hvN-TZ-ziV" id="6oL-0b-Bto"/>
<outlet property="pipSwitch" destination="mgR-dj-4gu" id="b8b-7E-wrq"/>
<outlet property="pointerVelocityDividerStack" destination="Jp2-5v-Zr0" id="0mB-RI-df8"/>
@@ -1738,6 +1787,8 @@
</scene>
</scenes>
<resources>
<image name="1.square" catalog="system" width="128" height="114"/>
<image name="5.square" catalog="system" width="128" height="114"/>
<image name="ChevronCompactUp" width="35" height="10"/>
<image name="arrow.left.square.fill" catalog="system" width="128" height="114"/>
<image name="arrow.uturn.backward" catalog="system" width="128" height="113"/>
@@ -1747,16 +1798,19 @@
<image name="trash.fill" catalog="system" width="117" height="128"/>
<image name="tray.full.fill" catalog="system" width="128" height="88"/>
<systemColor name="linkColor">
<color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="secondarySystemGroupedBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
<systemColor name="systemBrownColor">
<color red="0.63529411764705879" green="0.51764705882352946" blue="0.36862745098039218" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.63529411759999999" green="0.51764705879999995" blue="0.36862745099999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemGray2Color">
<color red="0.68235294117647061" green="0.68235294117647061" blue="0.69803921568627447" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.68235294120000001" green="0.68235294120000001" blue="0.69803921570000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemTealColor">
<color red="0.18823529411764706" green="0.69019607843137254" blue="0.7803921568627451" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.18823529410000001" green="0.69019607839999997" blue="0.78039215689999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
</resources>
</document>
+54
View File
@@ -982,6 +982,24 @@
"state" : "new",
"value" : "Performance Graphs - Opacity: 50%"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "性能图表 - 不透明度:50%"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "效能圖表 - 不透明度:50%"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "效能圖表 - 不透明度:50%"
}
}
}
},
@@ -1342,6 +1360,24 @@
"state" : "new",
"value" : "Displays frametime and buffer health metrics. Adjust the opacity if they obscure parts of the screen. Swipe up/down with two fingers to show or hide all stats."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "显示帧时间和缓冲健康指标。如果遮挡屏幕部分内容,请调整透明度。用两指上下滑动以显示或隐藏所有统计信息。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "顯示影格時間與緩衝健康指標。如遮擋螢幕部分內容,請調整透明度。用兩指上下滑動以顯示或隱藏所有統計資訊。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "顯示影格時間與緩衝健康指標。如遮擋螢幕部分內容,請調整透明度。用兩指上下滑動以顯示或隱藏所有統計資訊。"
}
}
}
},
@@ -3370,6 +3406,24 @@
"state" : "new",
"value" : "The recommended value is 2. 1 frame provides the lowest latency, but may require an Ethernet connection."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "建议值为2。1帧提供最低延迟,但可能需要以太网连接。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "建議值為2。1影格提供最低延遲,但可能需要乙太網路連線。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "建議值為2。1影格提供最低延遲,但可能需要乙太網路連線。"
}
}
}
},
+120
View File
@@ -91,6 +91,36 @@
}
}
},
"3Ff-AF-K42.text" : {
"comment" : "Class = \"UILabel\"; text = \"Displays frametime and buffer health metrics. Adjust the opacity if they obscure parts of the screen. Swipe up/down with two fingers to show or hide all stats.\"; ObjectID = \"3Ff-AF-K42\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Displays frametime and buffer health metrics. Adjust the opacity if they obscure parts of the screen. Swipe up/down with two fingers to show or hide all stats."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "显示帧时间和缓冲健康指标。如果遮挡屏幕部分内容,请调整透明度。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "顯示影格時間與緩衝健康指標。如遮擋螢幕部分內容,請調整透明度。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "顯示影格時間與緩衝健康指標。如遮擋螢幕部分內容,請調整透明度。"
}
}
}
},
"3Hh-2q-gas.text" : {
"comment" : "Class = \"UILabel\"; text = \"Preferred Codec\"; ObjectID = \"3Hh-2q-gas\";",
"extractionState" : "extracted_with_value",
@@ -1765,6 +1795,36 @@
}
}
},
"LVq-7c-3zg.text" : {
"comment" : "Class = \"UILabel\"; text = \"Performance Graphs - Opacity: 50%\"; ObjectID = \"LVq-7c-3zg\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Performance Graphs - Opacity: 50%"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "性能图表 - 不透明度:50%"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "效能圖表 - 不透明度:50%"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "效能圖表 - 不透明度:50%"
}
}
}
},
"lwy-Nu-hQj.text" : {
"comment" : "Class = \"UILabel\"; text = \"External Display Mode\"; ObjectID = \"lwy-Nu-hQj\";",
"extractionState" : "extracted_with_value",
@@ -2623,6 +2683,36 @@
}
}
},
"r8X-jt-JfH.text" : {
"comment" : "Class = \"UILabel\"; text = \"Frames to Buffer\"; ObjectID = \"r8X-jt-JfH\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Frames to Buffer"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "缓冲帧数"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "緩衝影格數"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "緩衝影格數"
}
}
}
},
"R9C-JW-nkF.text" : {
"comment" : "Class = \"UILabel\"; text = \"test\"; ObjectID = \"R9C-JW-nkF\";",
"extractionState" : "extracted_with_value",
@@ -2923,6 +3013,36 @@
}
}
},
"ttV-kY-jCi.text" : {
"comment" : "Class = \"UILabel\"; text = \"The recommended value is 2. 1 frame provides the lowest latency, but may require an Ethernet connection.\"; ObjectID = \"ttV-kY-jCi\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "The recommended value is 2. 1 frame provides the lowest latency, but may require an Ethernet connection."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "建议值为2。1帧提供最低延迟,但可能需要以太网连接。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "建議值為2。1影格提供最低延遲,但可能需要乙太網路連線。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "建議值為2。1影格提供最低延遲,但可能需要乙太網路連線。"
}
}
}
},
"Tue-Qh-8zP.segmentTitles[0]" : {
"comment" : "Class = \"UISegmentedControl\"; Tue-Qh-8zP.segmentTitles[0] = \"Stage Manager\"; ObjectID = \"Tue-Qh-8zP\";",
"extractionState" : "extracted_with_value",