diff --git a/Services/CompositorService.qml b/Services/CompositorService.qml index 2b93588b..ddec1de9 100644 --- a/Services/CompositorService.qml +++ b/Services/CompositorService.qml @@ -29,7 +29,6 @@ Singleton { property bool _hasRefreshedOnce: false property var _coordCache: ({}) - readonly property bool _qtDpiOverridden: Quickshell.env("QT_WAYLAND_FORCE_DPI") !== "" property int _refreshCount: 0 property real _refreshWindowStart: 0 readonly property int _maxRefreshesPerSecond: 3 @@ -37,7 +36,7 @@ Singleton { function getScreenScale(screen) { if (!screen) return 1 - if (_qtDpiOverridden) { + if (Quickshell.env("QT_WAYLAND_FORCE_DPI")) { return screen.devicePixelRatio || 1 } diff --git a/translations/poexports/ja.json b/translations/poexports/ja.json index 43ab8c0f..781ed1b6 100644 --- a/translations/poexports/ja.json +++ b/translations/poexports/ja.json @@ -1065,7 +1065,7 @@ "Manual Show/Hide": "手動で表示/非表示" }, "Margin": { - "Margin": "" + "Margin": "マージン" }, "Marker Supply Empty": { "Marker Supply Empty": "マーカー供給量がない" diff --git a/translations/poexports/zh_CN.json b/translations/poexports/zh_CN.json index 0e36a10b..f2860b1b 100644 --- a/translations/poexports/zh_CN.json +++ b/translations/poexports/zh_CN.json @@ -1065,7 +1065,7 @@ "Manual Show/Hide": "手动显示/隐藏" }, "Margin": { - "Margin": "" + "Margin": "边距" }, "Marker Supply Empty": { "Marker Supply Empty": "打印耗材已用尽"