minor fixes

This commit is contained in:
True Zhuanjia committed 2026-05-13 17:25:35 +08:00
1 parent c08bb232cd
commit ef3fca754f
3 files changed
+23 -11

No files matched your search

+3 -3
View File
@@ -588,9 +588,9 @@ import ObjectiveC.runtime
} }
} }
if self.widgetType == .button { if self.widgetType == .button {
if self.isFolder { if self.isFolder || self.isFunctionalButton {
self.widthFactor = 1.17 self.widthFactor = GenericUtils.isIPhone() ? 0.88 : 1.17
self.heightFactor = 0.77 self.heightFactor = GenericUtils.isIPhone() ? 0.56 : 0.77
} }
} }
+19 -7
View File
@@ -811,21 +811,27 @@
"=Folder" : { "=Folder" : {
"extractionState" : "manual", "extractionState" : "manual",
"localizations" : { "localizations" : {
"zh-Hans" : { "en" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "Folder"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "控件夹" "value" : "控件夹"
} }
}, },
"zh-Hant" : { "zh-Hant" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "needs_review",
"value" : "控制項夾" "value" : "控制項夾"
} }
}, },
"zh-HK" : { "zh-HK" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "needs_review",
"value" : "控制項夾" "value" : "控制項夾"
} }
} }
@@ -1704,21 +1710,27 @@
"=squat" : { "=squat" : {
"extractionState" : "manual", "extractionState" : "manual",
"localizations" : { "localizations" : {
"zh-Hans" : { "en" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "translated",
"value" : "Squat"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "蹲下" "value" : "蹲下"
} }
}, },
"zh-Hant" : { "zh-Hant" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "needs_review",
"value" : "蹲下" "value" : "蹲下"
} }
}, },
"zh-HK" : { "zh-HK" : {
"stringUnit" : { "stringUnit" : {
"state" : "translated", "state" : "needs_review",
"value" : "蹲下" "value" : "蹲下"
} }
} }
@@ -2738,7 +2750,7 @@
}, },
"zh-Hans" : { "zh-Hans" : {
"stringUnit" : { "stringUnit" : {
"state" : "needs_review", "state" : "translated",
"value" : "边界透明度: %.2f" "value" : "边界透明度: %.2f"
} }
}, },
@@ -2226,7 +2226,7 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg
AlertControllerUtil.showAlert( AlertControllerUtil.showAlert(
in: self, in: self,
title: LocalizationHelper.localizedString(forKey: "Tips"), title: LocalizationHelper.localizedString(forKey: "Tips"),
message: "\n\(LocalizationHelper.localizedString(forKey: "bulkEditTip"))", message: LocalizationHelper.localizedString(forKey: "bulkEditTip"),
withCancel: false, withCancel: false,
buttonTitle: LocalizationHelper.localizedString(forKey: "Got it!"), buttonTitle: LocalizationHelper.localizedString(forKey: "Got it!"),
countdown: 0, countdown: 0,