hacky english month and day names while using system locale
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 17s
Python / test (pull_request) Successful in 29s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m8s

This commit is contained in:
2026-06-17 11:59:29 +02:00
parent c0b62dfb6c
commit b034400df9
4 changed files with 32030 additions and 7 deletions
+3 -2
View File
@@ -220,7 +220,7 @@ CustomMouseArea {
color: (model.day === 0) ? DynamicColors.palette.m3tertiary : DynamicColors.palette.m3onSurface color: (model.day === 0) ? DynamicColors.palette.m3tertiary : DynamicColors.palette.m3onSurface
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
text: model.shortName text: Qt.locale("en_US").standaloneDayName(model.day, Locale.ShortFormat)
} }
} }
@@ -247,9 +247,10 @@ CustomMouseArea {
id: internalGrid id: internalGrid
anchors.fill: parent anchors.fill: parent
locale: Qt.locale() locale: daysRow.locale
month: internalGridContainer.month month: internalGridContainer.month
spacing: 3 spacing: 3
title: `${Qt.locale("en_US").standaloneMonthName(month, Locale.LongFormat)} ${year}`
year: internalGridContainer.year year: internalGridContainer.year
delegate: Item { delegate: Item {
+31978
View File
File diff suppressed because it is too large Load Diff
+44
View File
@@ -0,0 +1,44 @@
 INFO: Launching config: "/home/zach/GitProjects/z-bar-qt/shell.qml"
 INFO: Shell ID: "bd36f3a4d7a2d3b0ea8e340a90ef2957" Path ID "bd36f3a4d7a2d3b0ea8e340a90ef2957"
 INFO: Saving logs to "/run/user/1000/quickshell/by-id/q8iu14khqgt/log.qslog"
 INFO: QML tooling support enabled
 WARN scene: QML Connections at @Drawers/Interactions.qml[177:2]: Detected function "onUtilitiesChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
 WARN scene: QML Connections at @Drawers/Interactions.qml[177:2]: Detected function "onUtilitiesChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
 WARN scene: QML Connections at @Drawers/Interactions.qml[177:2]: Detected function "onUtilitiesChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
 WARN scene: QML Connections at @Modules/Polkit/Polkit.qml[30:3]: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
 WARN scene: @Modules/Wallpaper/WallBackground.qml[18:-1]: TypeError: Cannot read property 'y' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[17:-1]: TypeError: Cannot read property 'x' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[16:-1]: TypeError: Cannot read property 'width' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[15:-1]: TypeError: Cannot read property 'height' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[18:-1]: TypeError: Cannot read property 'y' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[17:-1]: TypeError: Cannot read property 'x' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[16:-1]: TypeError: Cannot read property 'width' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[15:-1]: TypeError: Cannot read property 'height' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[18:-1]: TypeError: Cannot read property 'y' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[17:-1]: TypeError: Cannot read property 'x' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[16:-1]: TypeError: Cannot read property 'width' of undefined
 WARN scene: @Modules/Wallpaper/WallBackground.qml[15:-1]: TypeError: Cannot read property 'height' of undefined
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Modules/Polkit/Polkit.qml[134:8]: Unable to assign [undefined] to QString
 WARN scene: @Modules/Polkit/Polkit.qml[172:8]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
 WARN scene: QML IpcHandler at @Drawers/Windows.qml[135:2]: Handler was registered but will not be used because another handler is registered for target visibilities
 WARN scene: QML IpcHandler at @Drawers/Windows.qml[135:2]: Handler was registered but will not be used because another handler is registered for target visibilities
 INFO: Configuration Loaded
 WARN quickshell.service.sni.watcher: Ignoring invalid StatusNotifierItem registration of :1.1291/StatusNotifierItem to watcher
 WARN scene: @Helpers/Brightness.qml[192:-1]: TypeError: Cannot call method 'split' of undefined
 WARN scene: @Helpers/Brightness.qml[192:-1]: TypeError: Cannot call method 'split' of undefined
 WARN scene: @Helpers/Brightness.qml[192:-1]: TypeError: Cannot call method 'split' of undefined
 WARN quickshell.dbus.objectmanager: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "")
 DEBUG qml: top height: 38 left width: 4 right width: 4 bottom height: 4
 DEBUG qml: top height: 38 left width: 4 right width: 4 bottom height: 4
 DEBUG qml: top height: 38 left width: 4 right width: 4 bottom height: 4
+5 -5
View File
@@ -1,9 +1,9 @@
//@ pragma UseQApplication //@ pragma UseQApplication
//@ pragma Env QSG_RENDER_LOOP=threaded //@ pragma DefaultEnv QSG_RENDER_LOOP=threaded
// @ pragma Env QSG_RHI_BACKEND=vulkan // @ pragma DefaultEnv QSG_RHI_BACKEND=vulkan
//@ pragma Env QSG_NO_VSYNC=1 //@ pragma DefaultEnv QSG_NO_VSYNC=1
//@ pragma Env QS_NO_RELOAD_POPUP=1 //@ pragma DefaultEnv QS_NO_RELOAD_POPUP=1
//@ pragma Env QT_SCALE_FACTOR_ROUNDING_POLICY=Round //@ pragma DefaultEnv QT_SCALE_FACTOR_ROUNDING_POLICY=Round
//@ pragma DefaultEnv QT_QUICK_FLICKABLE_WHEEL_DECELERATION=10000 //@ pragma DefaultEnv QT_QUICK_FLICKABLE_WHEEL_DECELERATION=10000
//@ pragma DropExpensiveFonts //@ pragma DropExpensiveFonts
import Quickshell import Quickshell