LockScreen: add right padding to status indicators & date format update

Capitalize the first letter of the formatted date string.
This commit is contained in:
notiant
2026-01-14 00:38:03 +01:00
committed by GitHub
parent ef99ad51a2
commit e17bb387ab
+8 -1
View File
@@ -483,12 +483,15 @@ Loader {
"en": "dddd, MMMM d",
"es": "dddd, d 'de' MMMM",
"fr": "dddd d MMMM",
"hu": "dddd, MMMM d.",
"ja": "yyyy年M月d日 dddd",
"ku": "dddd, dê MMMM",
"nl": "dddd d MMMM",
"pt": "dddd, d 'de' MMMM",
"zh": "yyyy年M月d日 dddd"
};
return I18n.locale.toString(Time.now, formats[lang] || "dddd, d MMMM");
var dateString = I18n.locale.toString(Time.now, formats[lang] || "dddd, d MMMM");
return dateString.charAt(0).toUpperCase() + dateString.slice(1);
}
pointSize: Style.fontSizeXL
color: Color.mOnSurfaceVariant
@@ -1031,6 +1034,10 @@ Loader {
}
}
}
Item {
Layout.preferredWidth: Style.marginM
}
}
// Password input