ui string fixes
This commit is contained in:
1 parent
5c5507b02f
commit
515360166c
2 files changed
+6
-6
No files matched your search
@@ -10872,25 +10872,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Slide threshold: %.1f" : {
|
"Slide threshold: %.1f " : {
|
||||||
"extractionState" : "manual",
|
"extractionState" : "manual",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"zh-Hans" : {
|
"zh-Hans" : {
|
||||||
"stringUnit" : {
|
"stringUnit" : {
|
||||||
"state" : "translated",
|
"state" : "translated",
|
||||||
"value" : "滑动阈值: %.2f"
|
"value" : "滑动阈值: %.1f"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"zh-Hant" : {
|
"zh-Hant" : {
|
||||||
"stringUnit" : {
|
"stringUnit" : {
|
||||||
"state" : "translated",
|
"state" : "translated",
|
||||||
"value" : "滑動閾值: %.2f"
|
"value" : "滑動閾值: %.1f"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"zh-HK" : {
|
"zh-HK" : {
|
||||||
"stringUnit" : {
|
"stringUnit" : {
|
||||||
"state" : "translated",
|
"state" : "translated",
|
||||||
"value" : "滑動閾值: %.2f"
|
"value" : "滑動閾值: %.1f"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -810,7 +810,7 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg
|
|||||||
slideThresholdSlider.minimumValue = Float(widgetView.slideThresholdMin)
|
slideThresholdSlider.minimumValue = Float(widgetView.slideThresholdMin)
|
||||||
slideThresholdSlider.maximumValue = Float(widgetView.slideThresholdMax)
|
slideThresholdSlider.maximumValue = Float(widgetView.slideThresholdMax)
|
||||||
slideThresholdSlider.value = Float(widgetView.slideThreshold)
|
slideThresholdSlider.value = Float(widgetView.slideThreshold)
|
||||||
slideThresholdLabel.text = LocalizationHelper.localizedString(forKey: " Slide threshold: %.1f ", widgetView.slideThreshold)
|
slideThresholdLabel.text = LocalizationHelper.localizedString(forKey: "Slide threshold: %.1f ", widgetView.slideThreshold)
|
||||||
autoFitLabel(slideThresholdLabel)
|
autoFitLabel(slideThresholdLabel)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2088,7 +2088,7 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg
|
|||||||
}
|
}
|
||||||
|
|
||||||
@objc private func slideThresholdSliderMoved(_ sender: UISlider) {
|
@objc private func slideThresholdSliderMoved(_ sender: UISlider) {
|
||||||
slideThresholdLabel.text = LocalizationHelper.localizedString(forKey: "Slide threshold: %.1f", sender.value)
|
slideThresholdLabel.text = LocalizationHelper.localizedString(forKey: "Slide threshold: %.1f ", sender.value)
|
||||||
selectedWidgetView?.slideThreshold = CGFloat(sender.value)
|
selectedWidgetView?.slideThreshold = CGFloat(sender.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user