1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 03:53:23 +02:00

misc: add some labels

Change-Id: I6fd4d8e9fece56582cef96abfa4734aacdd5a88c
This commit is contained in:
Sébastien Blin 2022-08-01 11:27:33 -04:00
parent a5d930b3f7
commit 0dd518bfe9
3 changed files with 9 additions and 4 deletions

View file

@ -750,6 +750,7 @@ Item {
//TipBox
property string customize: qsTr("Customize")
property string tips: qsTr("Tips")
property string dismiss: qsTr("Dismiss")
property string customizeText: qsTr("Add a picture and a nickname to complete your profile")
property string customizationDescription: qsTr("This profile is only shared with this account’s contacts")
property string customizationDescription2: qsTr("Your profile is only shared with your contacts")

View file

@ -94,13 +94,15 @@ Rectangle {
PushButton {
id: btnEdit
imageColor: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
normalColor: JamiTheme.transparentColor
Layout.topMargin: JamiTheme.pushButtonMargin
hoverEnabled: false
preferredSize : 30
imageContainerWidth: JamiTheme.pushButtonSize
imageContainerHeight: JamiTheme.pushButtonSize
Layout.topMargin: JamiTheme.pushButtonMargin
imageColor: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
normalColor: JamiTheme.transparentColor
hoveredColor: JamiTheme.transparentColor
visible: editable && CurrentAccount.registeredName === ""
border.color: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
@ -117,6 +119,7 @@ Rectangle {
}
source: JamiResources.round_edit_24dp_svg
toolTipText: JamiStrings.chooseUsername
onClicked: {
if (!root.editing) {

View file

@ -211,6 +211,7 @@ Item {
imageColor: Qt.rgba(0, 86/255, 153/255, 1)
normalColor: "transparent"
toolTipText: JamiStrings.dismiss
source: JamiResources.round_close_24dp_svg