hacky english month and day names while using system locale
This commit is contained in:
@@ -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
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,44 @@
|
|||||||
|
[32m INFO[0m: Launching config: "/home/zach/GitProjects/z-bar-qt/shell.qml"
|
||||||
|
[32m INFO[0m: Shell ID: "bd36f3a4d7a2d3b0ea8e340a90ef2957" Path ID "bd36f3a4d7a2d3b0ea8e340a90ef2957"
|
||||||
|
[32m INFO[0m: Saving logs to "/run/user/1000/quickshell/by-id/q8iu14khqgt/log.qslog"
|
||||||
|
[32m INFO[0m: QML tooling support enabled
|
||||||
|
[33m WARN[97m scene[0m: 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.
|
||||||
|
[33m WARN[97m scene[0m: 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.
|
||||||
|
[33m WARN[97m scene[0m: 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.
|
||||||
|
[33m WARN[97m scene[0m: QML Connections at @Modules/Polkit/Polkit.qml[30:3]: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[18:-1]: TypeError: Cannot read property 'y' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[17:-1]: TypeError: Cannot read property 'x' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[16:-1]: TypeError: Cannot read property 'width' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[15:-1]: TypeError: Cannot read property 'height' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[18:-1]: TypeError: Cannot read property 'y' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[17:-1]: TypeError: Cannot read property 'x' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[16:-1]: TypeError: Cannot read property 'width' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[15:-1]: TypeError: Cannot read property 'height' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[18:-1]: TypeError: Cannot read property 'y' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[17:-1]: TypeError: Cannot read property 'x' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[16:-1]: TypeError: Cannot read property 'width' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Wallpaper/WallBackground.qml[15:-1]: TypeError: Cannot read property 'height' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Polkit/Polkit.qml[134:8]: Unable to assign [undefined] to QString
|
||||||
|
[33m WARN[97m scene[0m: @Modules/Polkit/Polkit.qml[172:8]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: @Drawers/Windows.qml[21:2]: Unable to assign [undefined] to bool
|
||||||
|
[33m WARN[97m scene[0m: QML IpcHandler at @Drawers/Windows.qml[135:2]: Handler was registered but will not be used because another handler is registered for target visibilities
|
||||||
|
[33m WARN[97m scene[0m: QML IpcHandler at @Drawers/Windows.qml[135:2]: Handler was registered but will not be used because another handler is registered for target visibilities
|
||||||
|
[32m INFO[0m: Configuration Loaded
|
||||||
|
[33m WARN[97m quickshell.service.sni.watcher[0m: Ignoring invalid StatusNotifierItem registration of :1.1291/StatusNotifierItem to watcher
|
||||||
|
[33m WARN[97m scene[0m: @Helpers/Brightness.qml[192:-1]: TypeError: Cannot call method 'split' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Helpers/Brightness.qml[192:-1]: TypeError: Cannot call method 'split' of undefined
|
||||||
|
[33m WARN[97m scene[0m: @Helpers/Brightness.qml[192:-1]: TypeError: Cannot call method 'split' of undefined
|
||||||
|
[33m WARN[97m quickshell.dbus.objectmanager[0m: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "")
|
||||||
|
[34m DEBUG[97m qml[0m: top height: 38 left width: 4 right width: 4 bottom height: 4
|
||||||
|
[34m DEBUG[97m qml[0m: top height: 38 left width: 4 right width: 4 bottom height: 4
|
||||||
|
[34m DEBUG[97m qml[0m: top height: 38 left width: 4 right width: 4 bottom height: 4
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user