translations

This commit is contained in:
ItsLemmy
2025-10-12 16:16:46 -04:00
parent 9f54822e4c
commit 7e4c7a1efd
14 changed files with 211 additions and 76 deletions
+8 -8
View File
@@ -34,14 +34,12 @@ Singleton {
property int radiusS: Math.round(12 * Settings.data.general.radiusRatio)
property int radiusM: Math.round(16 * Settings.data.general.radiusRatio)
property int radiusL: Math.round(20 * Settings.data.general.radiusRatio)
//screen Radii
property int screenRadius: Math.round(20 * Settings.data.general.screenRadiusRatio)
// Border
property int borderS: 1
property int borderM: 2
property int borderL: 3
property int borderS: Math.round(1 * uiScaleRatio)
property int borderM: Math.round(2 * uiScaleRatio)
property int borderL: Math.round(3 * uiScaleRatio)
// Margins (for margins and spacing)
property int marginXXS: Math.round(2 * uiScaleRatio)
@@ -51,8 +49,6 @@ Singleton {
property int marginL: Math.round(13 * uiScaleRatio)
property int marginXL: Math.round(18 * uiScaleRatio)
property real uiScaleRatio: 1.2
// Opacity
property real opacityNone: 0.0
property real opacityLight: 0.25
@@ -72,10 +68,12 @@ Singleton {
property int tooltipDelayLong: 1200
property int pillDelay: 500
// Settings widgets base size
// Widgets base size
property real baseWidgetSize: 33
property real sliderWidth: 200
property real uiScaleRatio: Settings.data.general.scaleRatio
// Bar Dimensions
property real barHeight: {
switch (Settings.data.bar.density) {
@@ -86,6 +84,7 @@ Singleton {
case "comfortable":
return (Settings.data.bar.position === "left" || Settings.data.bar.position === "right") ? 39 : 37
default:
case "default":
return (Settings.data.bar.position === "left" || Settings.data.bar.position === "right") ? 33 : 31
}
@@ -99,6 +98,7 @@ Singleton {
case "comfortable":
return barHeight * 0.73
default:
case "default":
return barHeight * 0.82
}