https://bugs.kde.org/show_bug.cgi?id=390330

--- Comment #5 from Ahmad El-Gazzaz <ahmadelgaz...@gmail.com> ---
(In reply to Chris Holland from comment #3)
> You should be able to modify this locally, then restart plasmashell, or wait
> for a patch.
> /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/DaysCalendar.qml


I tried to edit the file as you suggested the widgets failed.
The line I changed was 315. The commented line is the original and the one I
edit is below
//                 text:
Qt.locale(Qt.locale().uiLanguages[0]).dayName(calendarBackend.firstDayOfWeek +
index, Locale.ShortFormat)
                text:
Qt.locale(Qt.locale().uiLanguages[0]).dayName(calendarBackend.firstDayOfWeek +
index) % 7, Locale.ShortFormat)

And this is the result I got from the widgets.


Error loading QML file:
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/main.qml:54:34:
Type CalendarView unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/CalendarView.qml:352:9:
Type PlasmaCalendar.MonthView unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/MonthView.qml:222:22:
Type DaysCalendar unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/calendar/DaysCalendar.qml:316:132:
Expected token `,'


__________________________________________

(In reply to Chris Holland from comment #4)
> I don't think *any* Locale uses a first day of the week other than Sunday or
> Monday, which is why this bug is only noticed when we hardcode the QML.

Just change the locale to Egypt [مصر - العربية (ar_EG)] and many countries in
the region and the start of the week will be Saturday.

Changing the local from systemsettings will results in too many changes across
KDE that I do not want. Since I can no longer change every minor detail in the
Regional settings I had to edit files directly to achieve what I want.

https://postimg.cc/image/6h3dl5pm9/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to