minor fixes

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