UI string update

This commit is contained in:
True Zhuanjia
2026-02-28 10:44:49 +08:00
parent d76f404a4c
commit 77b0ef55c9
5 changed files with 113 additions and 66 deletions
+12 -12
View File
@@ -1155,7 +1155,7 @@
<stackView verifyAmbiguity="off" opaque="NO" contentMode="scaleToFill" ambiguous="YES" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="zuF-a5-GOI">
<rect key="frame" x="3145" y="31" width="380" height="56.5"/>
<subviews>
<label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pencil Tick" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qat-gL-qiL">
<label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Stroke Type" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qat-gL-qiL">
<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"/>
@@ -1164,8 +1164,8 @@
<segmentedControl verifyAmbiguity="off" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="bVv-CW-kN8">
<rect key="frame" x="0.0" y="25.5" width="380" height="32"/>
<segments>
<segment title="Off"/>
<segment title="Manual (240Hz)"/>
<segment title="Regular"/>
<segment title="High Density"/>
</segments>
<color key="tintColor" red="0.6716768742" green="0.61711704730000005" blue="0.99902987480000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="selectedSegmentTintColor" systemColor="linkColor"/>
@@ -1257,16 +1257,16 @@
</constraints>
</stackView>
<stackView verifyAmbiguity="off" opaque="NO" contentMode="scaleToFill" ambiguous="YES" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="jLJ-Eo-Zi6">
<rect key="frame" x="3145" y="348" width="358.5" height="31"/>
<rect key="frame" x="3145" y="348" width="375" height="31"/>
<subviews>
<label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pencil Pauses Native Touch" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.64999997615814209" adjustsLetterSpacingToFitWidth="YES" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hZw-pC-Qxm" userLabel="uiLabel">
<rect key="frame" x="0.0" y="0.0" width="208.5" height="31"/>
<label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Drawing Pauses Native Touch" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.64999997615814209" adjustsLetterSpacingToFitWidth="YES" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hZw-pC-Qxm" userLabel="uiLabel">
<rect key="frame" x="0.0" y="0.0" width="225" height="31"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pjf-Vi-3wE">
<rect key="frame" x="228.5" y="0.0" width="132" height="31"/>
<rect key="frame" x="245" y="0.0" width="132" height="31"/>
<constraints>
<constraint firstAttribute="width" constant="130" id="jfj-nX-rgt"/>
</constraints>
@@ -1277,16 +1277,16 @@
</constraints>
</stackView>
<stackView verifyAmbiguity="off" opaque="NO" contentMode="scaleToFill" ambiguous="YES" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="dUF-l9-xIV">
<rect key="frame" x="3145" y="387" width="362.5" height="31"/>
<rect key="frame" x="3145" y="387" width="388" height="31"/>
<subviews>
<label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Disable Pencil Slide Gesture" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.64999997615814209" adjustsLetterSpacingToFitWidth="YES" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="w3d-5s-dH3" userLabel="uiLabel">
<rect key="frame" x="0.0" y="0.0" width="212.5" height="31"/>
<label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Disable Slide Gesture for Pencil" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.64999997615814209" adjustsLetterSpacingToFitWidth="YES" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="w3d-5s-dH3" userLabel="uiLabel">
<rect key="frame" x="0.0" y="0.0" width="238" height="31"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lcb-Iq-B5C">
<rect key="frame" x="232.5" y="0.0" width="132" height="31"/>
<rect key="frame" x="258" y="0.0" width="132" height="31"/>
<constraints>
<constraint firstAttribute="width" constant="130" id="jKz-Uj-wgO"/>
</constraints>
@@ -2101,7 +2101,7 @@
<rect key="frame" x="0.0" y="25.5" width="380" height="32"/>
<segments>
<segment title="Disabled"/>
<segment title="Pencil"/>
<segment title="Stylus"/>
<segment title="Mouse"/>
<segment title="Both"/>
</segments>
+34 -11
View File
@@ -2798,6 +2798,29 @@
}
}
},
"Drawing" : {
"extractionState" : "manual",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "绘画"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "繪畫"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "繪畫"
}
}
}
},
"Drift Correction" : {
"extractionState" : "manual",
"localizations" : {
@@ -4090,25 +4113,25 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "When “both” is selected, you’ll get flickering cursor on host.\nThis is not a Pencil Pro Pack function."
"value" : "When “both” is selected, you’ll get flickering cursor on host.\nThis is not a Drawing Toolkit function."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "当选择“同时悬停”时,PC端的光标将会闪烁。\n此功能是Pencil基础功能的一部分,不属于Pencil Pro Pack。 "
"state" : "needs_review",
"value" : "当选择“同时悬停”时,PC端的光标将会闪烁。\n此功能是Pencil基础功能的一部分,不属于Drawing Toolkit。 "
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "當選擇「同時懸停」時,PC 端的游標將會閃爍。\n此功能為 Pencil 基礎功能的一部分,不屬於 Pencil Pro Pack。"
"state" : "needs_review",
"value" : "當選擇「同時懸停」時,PC 端的游標將會閃爍。\n此功能為 Pencil 基礎功能的一部分,不屬於 Drawing Toolkit。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "當選擇「同時懸停」時,PC 端的游標將會閃爍。\n此功能為 Pencil 基礎功能的一部分,不屬於 Pencil Pro Pack。"
"state" : "needs_review",
"value" : "當選擇「同時懸停」時,PC 端的游標將會閃爍。\n此功能為 Pencil 基礎功能的一部分,不屬於 Drawing Toolkit。"
}
}
}
@@ -5926,25 +5949,25 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pencil Tick allows high frequency pencil touch events passed through to the host."
"value" : "Allows high density stroke passed through to the host."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "笔触 Tick 允许将高密度笔触事件透传至PC端。"
"value" : "允许将高密度笔迹透传至PC端。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆觸 Tick 允許將高頻率筆觸事件透傳至 PC 端。"
"value" : "允許將高密度筆跡透傳至 PC 端。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆觸 Tick 允許將高頻率筆觸事件透傳至 PC 端。"
"value" : "允許將高密度筆跡透傳至 PC 端。"
}
}
}
+1 -1
View File
@@ -57,7 +57,7 @@ import StoreKit
func productName() -> String {
switch self {
case .PencilProPack:
return SwiftLocalizationHelper.localizedString(forKey: "Pencil Pro Pack")
return SwiftLocalizationHelper.localizedString(forKey: "Drawing Toolkit")
default:
return ""
}
@@ -879,7 +879,7 @@ BOOL isCustomResolution(int resolutionSelected) {
if([GenericUtils isIPad] && loadPencilSection){
MenuSectionView* pencilSection = [[MenuSectionView alloc] init];
pencilSection.delegate = self;
pencilSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Pencil"];
pencilSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Drawing"];
pencilSection.identifier = @"SettingsSectionPencil";
if (@available(iOS 13.0, *)) {
[pencilSection setSectionWithIcon:[UIImage systemImageNamed:@"pencil.and.outline"] size:19 weight:UIImageSymbolWeightHeavy];
+65 -41
View File
@@ -1310,19 +1310,19 @@
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "笔压曲线"
"value" : "压力曲线"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆壓曲線"
"value" : "壓力曲線"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆壓曲線"
"value" : "壓力曲線"
}
}
}
@@ -1688,61 +1688,61 @@
}
},
"bVv-CW-kN8.segmentTitles[0]" : {
"comment" : "Class = \"UISegmentedControl\"; bVv-CW-kN8.segmentTitles[0] = \"Off\"; ObjectID = \"bVv-CW-kN8\";",
"comment" : "Class = \"UISegmentedControl\"; bVv-CW-kN8.segmentTitles[0] = \"Regular\"; ObjectID = \"bVv-CW-kN8\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Off"
"value" : "Regular"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "关闭"
"value" : "常规"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "關閉"
"value" : "常規"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "關閉"
"value" : "常規"
}
}
}
},
"bVv-CW-kN8.segmentTitles[1]" : {
"comment" : "Class = \"UISegmentedControl\"; bVv-CW-kN8.segmentTitles[1] = \"Manual (240Hz)\"; ObjectID = \"bVv-CW-kN8\";",
"comment" : "Class = \"UISegmentedControl\"; bVv-CW-kN8.segmentTitles[1] = \"High Density\"; ObjectID = \"bVv-CW-kN8\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Manual (240Hz)"
"value" : "High Density"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "手动 (240Hz)"
"state" : "translated",
"value" : "高密度"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "手動 (240Hz)"
"state" : "translated",
"value" : "高密度"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "手動 (240Hz)"
"state" : "translated",
"value" : "高密度"
}
}
}
@@ -1789,20 +1789,20 @@
},
"zh-Hans" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "捏笔快捷键"
"state" : "translated",
"value" : "捏合快捷键"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "捏筆快速鍵"
"value" : "捏合快速鍵"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "捏筆快速鍵"
"value" : "捏合快速鍵"
}
}
}
@@ -2371,6 +2371,29 @@
}
}
},
"Drawing Toolkit" : {
"extractionState" : "manual",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "[绘画进阶套件]"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "「繪畫進階套件」"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "「繪畫進階套件」"
}
}
}
},
"EFR-Ee-KiK.text" : {
"comment" : "Class = \"UILabel\"; text = \"Roll → Left Stick\"; ObjectID = \"EFR-Ee-KiK\";",
"extractionState" : "extracted_with_value",
@@ -3134,31 +3157,31 @@
}
},
"hZw-pC-Qxm.text" : {
"comment" : "Class = \"UILabel\"; text = \"Pencil Pauses Native Touch\"; ObjectID = \"hZw-pC-Qxm\";",
"comment" : "Class = \"UILabel\"; text = \"Drawing Pauses Native Touch\"; ObjectID = \"hZw-pC-Qxm\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pencil Pauses Native Touch"
"value" : "Drawing Pauses Native Touch"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "使用笔时暂停多点触控"
"value" : "绘画时暂停多点触控"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "使用筆時暫停多點觸控"
"value" : "繪畫時暫停多點觸控"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "使用筆時暫停多點觸控"
"value" : "繪畫時暫停多點觸控"
}
}
}
@@ -4805,34 +4828,35 @@
"value" : "關閉懸停"
}
}
}
},
"shouldTranslate" : false
},
"Qat-gL-qiL.text" : {
"comment" : "Class = \"UILabel\"; text = \"Pencil Tick\"; ObjectID = \"Qat-gL-qiL\";",
"comment" : "Class = \"UILabel\"; text = \"Stroke Type\"; ObjectID = \"Qat-gL-qiL\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pencil Tick"
"value" : "Stroke Type"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "笔触Tick"
"value" : "笔迹模式"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆觸Tick"
"value" : "筆跡模式"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆觸Tick"
"value" : "筆跡模式"
}
}
}
@@ -5354,31 +5378,31 @@
}
},
"t12-bo-icS.segmentTitles[1]" : {
"comment" : "Class = \"UISegmentedControl\"; t12-bo-icS.segmentTitles[1] = \"Pencil\"; ObjectID = \"t12-bo-icS\";",
"comment" : "Class = \"UISegmentedControl\"; t12-bo-icS.segmentTitles[1] = \"Stylus\"; ObjectID = \"t12-bo-icS\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Pencil"
"value" : "Stylus"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pencil"
"value" : "手写笔"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pencil"
"value" : "手寫筆"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pencil"
"value" : "手寫筆"
}
}
}
@@ -5690,31 +5714,31 @@
}
},
"w3d-5s-dH3.text" : {
"comment" : "Class = \"UILabel\"; text = \"Disable Pencil Slide Gesture\"; ObjectID = \"w3d-5s-dH3\";",
"comment" : "Class = \"UILabel\"; text = \"Disable Slide Gesture for Pencil\"; ObjectID = \"w3d-5s-dH3\";",
"extractionState" : "extracted_with_value",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "Disable Pencil Slide Gesture"
"value" : "Disable Slide Gesture for Pencil"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "关闭 Pencil 滑动手势"
"value" : "关闭手写笔滑动手势"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "關閉 Pencil 滑動手勢"
"value" : "關閉手寫筆滑動手勢"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "關閉 Pencil 滑動手勢"
"value" : "關閉手寫筆滑動手勢"
}
}
}