fix locale and update sessionButton

parent 8a3946a2
......@@ -52,15 +52,15 @@ Item {
}
indicator {
visible: false
visible: true
}
contentItem: Text {
id: displayedItem
verticalAlignment: Text.AlignVCenter
text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")"
text: selectSession.currentText
color: config.SessionButtonTextColor
font.pointSize: root.font.pointSize * 0.8
font.family: root.font.family
......@@ -80,7 +80,7 @@ Item {
implicitHeight: contentItem.implicitHeight
width: sessionButton.width
y: parent.height - 1
y: parent.height + 20
x: -popupHandler.width/2 + displayedItem.width/2
padding: 10
......
......@@ -5,7 +5,7 @@ Author=fiersik
Website=https://gitlab.eterfund.ru/ximperlinux/sddm-theme-ximper
License=GPL-3.0
Type=sddm-theme
Version=1.0
Version=1.1
ConfigFile=theme.conf
MainScript=Main.qml
TranslationsDirectory=translations
......
......@@ -11,7 +11,7 @@ FontSize="12"
KeyboardSize="1.0"
RoundCorners="15"
Locale=""
#Locale=""
HourFormat="HH:mm"
DateFormat="dddd d MMMM"
......@@ -104,6 +104,5 @@ TranslateSuspend=""
TranslateHibernate=""
TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment